Commit | Line | Data |
---|---|---|
2a546367 YQ |
1 | 2014-12-16 Yao Qi <yao@codesourcery.com> |
2 | ||
3 | * linux-tdep.c (linux_infcall_mmap): Replace ARG_MAX with | |
4 | ARG_LAST. | |
5 | ||
c9657e70 SM |
6 | 2014-12-15 Simon Marchi <simon.marchi@ericsson.com> |
7 | ||
8 | * inferior.c (find_inferior_ptid): New function. | |
9 | * inferior.h (find_inferior_ptid): New declaration. | |
10 | * ada-tasks.c (ada_get_task_number): Use find_inferior_ptid. | |
11 | * corelow.c (core_pid_to_str): Same. | |
12 | * darwin-nat.c (darwin_resume): Same. | |
13 | * infrun.c (fetch_inferior_event): Same. | |
14 | (get_inferior_stop_soon): Same. | |
15 | (handle_inferior_event): Same. | |
16 | (handle_signal_stop): Same. | |
17 | * linux-nat.c (resume_lwp): Same. | |
18 | (stop_wait_callback): Same. | |
19 | * mi/mi-interp.c (mi_new_thread): Same. | |
20 | (mi_thread_exit): Same. | |
21 | * proc-service.c (ps_pglobal_lookup): Same. | |
22 | * record-btrace.c (record_btrace_step_thread): Same. | |
23 | * remote-sim.c (gdbsim_close_inferior): Same. | |
24 | (gdbsim_resume): Same. | |
25 | (gdbsim_stop): Same. | |
26 | * sol2-tdep.c (sol2_core_pid_to_str): Same. | |
27 | * target.c (memory_xfer_partial_1): Same. | |
28 | (default_thread_address_space): Same. | |
29 | * thread.c (thread_change_ptid): Same. | |
30 | (switch_to_thread): Same. | |
31 | (do_restore_current_thread_cleanup): Same. | |
32 | ||
38bcc89d SM |
33 | 2014-12-15 Simon Marchi <simon.marchi@ericsson.com> |
34 | ||
35 | * defs.h (gdb_readline): Constify argument. | |
36 | (gdb_readline_wrapper): Same. | |
37 | (command_line_input): Same. | |
38 | (deprecated_readline_hook): Same. | |
39 | * top.c (deprecated_readline_hook): Same. | |
40 | (gdb_readline): Same. | |
41 | (gdb_readline_wrapper): Same. | |
42 | (command_line_input): Constify argument. Pass prompt_arg to called | |
43 | functions instead of local_prompt, overwriting prompt_arg if necessary. | |
44 | * event-top.h (display_gdb_prompt): Constify argument. | |
45 | * event-top.c (display_gdb_prompt): Same. | |
46 | * python/py-gdb-readline.c (gdbpy_readline_wrapper): Constify argument | |
47 | if building with Python 3.4 and up. | |
48 | ||
89ed8ea1 SM |
49 | 2014-12-15 Simon Marchi <simon.marchi@ericsson.com> |
50 | ||
51 | * python/lib/gdb/prompt.py (_prompt_pwd): Use os.getcwd() instead of | |
52 | os.getcwdu(). | |
53 | ||
aacd3e8c CU |
54 | 2014-12-15 Catalin Udma <catalin.udma@freescale.com> |
55 | ||
56 | PR gdb/15684 | |
57 | * memattr.c (mem_info_command): Remove "unsigned long" casts. | |
58 | ||
dc4d6886 DE |
59 | 2014-12-13 Doug Evans <xdje42@gmail.com> |
60 | ||
61 | * utils.c (make_hex_string): Fix off-by-one error. | |
62 | ||
c1b5a1a6 JB |
63 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> |
64 | ||
65 | * ada-lang.h (ada_ensure_varsize_limit): Declare. | |
66 | * ada-lang.c (check_size): Remove advance declaration. | |
67 | (ada_ensure_varsize_limit): Renames check_size. | |
68 | Replace calls to check_size by calls to ada_ensure_varsize_limit | |
69 | throughout. | |
70 | * ada-valprint.c (ada_val_print_ref): Add call to | |
71 | ada_ensure_varsize_limit. Add comment explaining why. | |
72 | ||
3c46a02f JB |
73 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> |
74 | ||
75 | * utils.c (make_hex_string): Replace use of sprintf by use of | |
76 | xsnprintf. | |
77 | ||
8e8347b8 JB |
78 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> |
79 | ||
80 | * compile/compile-object-load.c (link_callbacks_multiple_definition) | |
81 | (link_callbacks_warning, link_callbacks_einfo): Remove trailing | |
82 | newline at end of warning message. | |
83 | ||
f93b65a0 JB |
84 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> |
85 | ||
86 | * acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Add support for | |
87 | new "EXTRA-ARGS" parameter. | |
88 | * configure.ac: If large-file support is disabled in GDB, | |
89 | pass --disable-largefile to ACX_CONFIGURE_DIR call for "gnulib". | |
90 | * configure: Regenerate. | |
91 | ||
5537b577 JK |
92 | 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
93 | ||
94 | PR symtab/17642 | |
95 | * gdbtypes.c (resolve_dynamic_type_internal): Apply check_typedef to | |
96 | TYPE if not TYPE_CODE_TYPEDEF. | |
97 | ||
e0782980 JB |
98 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> |
99 | ||
100 | PR backtrace/16215: | |
101 | * dwarf2-frame.c (dwarf2_frame_cfa): Remove the restriction | |
102 | the frame unwinder must either be the dwarf2_frame_unwind | |
103 | or the dwarf2_tailcall_frame_unwind. Verify that this_frame's | |
104 | stack_addr is valid before calling get_frame_base. Throw | |
105 | an error if not valid. | |
106 | ||
ae6a105d DE |
107 | 2014-12-12 Doug Evans <xdje42@gmail.com> |
108 | ||
109 | * valops.c (value_maybe_namespace_elt): Remove unnecessary test of | |
110 | result != NULL. | |
111 | ||
59da4d04 DE |
112 | 2014-12-12 Doug Evans <xdje42@gmail.com> |
113 | ||
114 | * cp-support.h (cp_is_in_anonymous): Renamed from cp_is_anonymous. | |
115 | All callers updated. Rename arg "namespace" to "symbol_name". | |
116 | ||
83827540 DE |
117 | 2014-12-12 Doug Evans <xdje42@gmail.com> |
118 | ||
119 | * psymtab.c (psym_map_symtabs_matching_filename): Renamed from | |
120 | partial_map_symtabs_matching_filename. All uses updated. | |
121 | (psym_find_pc_sect_compunit_symtab): Renamed from | |
122 | find_pc_sect_compunit_symtab_from_partial. All uses updated. | |
123 | Add function comment. | |
124 | (psym_lookup_symbol): Renamed from lookup_symbol_aux_psymtabs. | |
125 | All uses updated. Add function comment. | |
126 | (psym_relocate): Renamed from relocate_psymtabs. All uses updated. | |
127 | Add function comment. | |
128 | (psym_find_last_source_symtab): Renamed from | |
129 | find_last_source_symtab_from_partial. All uses updated. | |
130 | Add function comment. | |
131 | (psym_forget_cached_source_info): Renamed from | |
132 | forget_cached_source_info_partial. All uses updated. | |
133 | Add function comment. | |
134 | (psym_print_stats): Renamed from print_psymtab_stats_for_objfile. | |
135 | All uses updated. Add function comment. | |
136 | (psym_dump): Renamed from dump_psymtabs_for_objfile. All uses | |
137 | updated. Add function comment. | |
138 | (psym_expand_symtabs_for_function): Renamed from | |
139 | read_symtabs_for_function. All uses updated. Update function comment. | |
140 | (psym_expand_all_symtabs): Renamed from expand_partial_symbol_tables. | |
141 | All uses updated. Add function comment. | |
142 | (psym_expand_symtabs_with_fullname): Renamed from | |
143 | read_psymtabs_with_fullname. All uses updated. Add function comment. | |
144 | (psym_map_symbol_filenames): Renamed from map_symbol_filenames_psymtab. | |
145 | All uses updated. Add function comment. | |
146 | (psym_map_matching_symbols): Renamed from map_matching_symbols_psymtab. | |
147 | All uses updated. | |
148 | (psym_expand_symtabs_matching): Renamed from | |
149 | expand_symtabs_matching_via_partial. All uses updated. | |
150 | Add function comment. | |
151 | (psym_has_symbols): Renamed from objfile_has_psyms. All uses updated. | |
152 | Add function comment. | |
153 | ||
bb2ec1b3 TT |
154 | 2014-12-12 Phil Muldoon <pmuldoon@redhat.com> |
155 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
156 | Tom Tromey <tromey@redhat.com> | |
157 | ||
158 | * NEWS: Update. | |
159 | * symtab.h (struct symbol_computed_ops) <generate_c_location>: New | |
160 | field. | |
161 | * p-lang.c (pascal_language_defn): Update. | |
162 | * opencl-lang.c (opencl_language_defn): Update. | |
163 | * objc-lang.c (objc_language_defn): Update. | |
164 | * m2-lang.c (m2_language_defn): Update. | |
165 | * language.h (struct language_defn) <la_get_compile_instance, | |
166 | la_compute_program>: New fields. | |
167 | * language.c (unknown_language_defn, auto_language_defn) | |
168 | (local_language_defn): Update. | |
169 | * jv-lang.c (java_language_defn): Update. | |
170 | * go-lang.c (go_language_defn): Update. | |
171 | * f-lang.c (f_language_defn): Update. | |
172 | * dwarf2loc.h (dwarf2_compile_property_to_c): Declare. | |
173 | * dwarf2loc.c (dwarf2_compile_property_to_c) | |
174 | (locexpr_generate_c_location, loclist_generate_c_location): New | |
175 | functions. | |
176 | (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Update. | |
177 | * defs.h (enum compile_i_scope_types): New. | |
178 | (enum command_control_type) <compile_control>: New constant. | |
179 | (struct command_line) <control_u>: New field. | |
180 | * d-lang.c (d_language_defn): Update. | |
181 | * compile/compile.c: New file. | |
182 | * compile/compile-c-support.c: New file. | |
183 | * compile/compile-c-symbols.c: New file. | |
184 | * compile/compile-c-types.c: New file. | |
185 | * compile/compile.h: New file. | |
186 | * compile/compile-internal.h: New file. | |
187 | * compile/compile-loc2c.c: New file. | |
188 | * compile/compile-object-load.c: New file. | |
189 | * compile/compile-object-load.h: New file. | |
190 | * compile/compile-object-run.c: New file. | |
191 | * compile/compile-object-run.h: New file. | |
192 | * cli/cli-script.c (multi_line_command_p, print_command_lines) | |
193 | (execute_control_command, process_next_line) | |
194 | (recurse_read_control_structure): Handle compile_control. | |
195 | * c-lang.h (c_get_compile_context, c_compute_program): Declare. | |
196 | * c-lang.c (c_language_defn, cplus_language_defn) | |
197 | (asm_language_defn, minimal_language_defn): Update. | |
198 | * ada-lang.c (ada_language_defn): Update. | |
199 | * Makefile.in (SUBDIR_GCC_COMPILE_OBS, SUBDIR_GCC_COMPILE_SRCS): | |
200 | New variables. | |
201 | (SFILES): Add SUBDIR_GCC_COMPILE_SRCS. | |
202 | (HFILES_NO_SRCDIR): Add compile.h. | |
203 | (COMMON_OBS): Add SUBDIR_GCC_COMPILE_OBS. | |
204 | (INIT_FILES): Add SUBDIR_GCC_COMPILE_SRCS. | |
205 | (compile.o, compile-c-types.o, compile-c-symbols.o) | |
206 | (compile-object-load.o, compile-object-run.o, compile-loc2c.o) | |
207 | (compile-c-support.o): New targets. | |
208 | ||
a2658feb JK |
209 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
210 | ||
211 | * s390-linux-tdep.c (s390_gcc_target_options): New function. | |
212 | (s390_gdbarch_init): Add it to gdbarch. | |
213 | ||
3bc3cebe JK |
214 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
215 | ||
216 | * linux-tdep.c: Include objfiles.h and infcall.h. | |
217 | (GDB_MMAP_MAP_PRIVATE, GDB_MMAP_MAP_ANONYMOUS, linux_infcall_mmap): New | |
218 | function. | |
219 | (linux_init_abi): Add linux_infcall_mmap to gdbarch. | |
220 | ||
d064d1be JK |
221 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
222 | ||
223 | * dwarf2loc.h (dwarf2_reg_to_regnum_or_error): Declare. | |
224 | * dwarf2loc.c (dwarf2_reg_to_regnum_or_error): Rename from | |
225 | translate_register. Now public. | |
226 | (dwarf2_compile_expr_to_ax): Update. | |
227 | ||
af945b75 TT |
228 | 2014-12-12 Tom Tromey <tromey@redhat.com> |
229 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
230 | ||
231 | * dwarf2loc.c (dwarf_expr_frame_base_1): Remove declaration. | |
232 | (dwarf_expr_frame_base): Update caller. | |
233 | (dwarf_expr_frame_base_1): Rename to ... | |
234 | (func_get_frame_base_dwarf_block): ... this and make it public. | |
235 | (dwarf2_compile_expr_to_ax, locexpr_describe_location_piece): Update | |
236 | callers. | |
237 | * dwarf2loc.h (func_get_frame_base_dwarf_block): New declaration. | |
238 | ||
a8fd5589 TT |
239 | 2014-12-12 Tom Tromey <tromey@redhat.com> |
240 | ||
241 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_call_frame_cfa>: | |
242 | Update. | |
243 | * dwarf2-frame.c (dwarf2_fetch_cfa_info): New function, based on | |
244 | dwarf2_compile_cfa_to_ax. | |
245 | (dwarf2_compile_cfa_to_ax): Remove. | |
246 | * dwarf2-frame.h (dwarf2_fetch_cfa_info): Declare. | |
247 | (dwarf2_compile_cfa_to_ax): Remove. | |
248 | ||
ed12ef62 JK |
249 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
250 | ||
251 | * infcall.h (call_function_by_hand_dummy): Declare. | |
252 | * infcall.c (call_function_by_hand): Use | |
253 | call_function_by_hand_dummy. | |
254 | (call_function_by_hand_dummy): Rename from call_function_by_hand. | |
255 | Add arguments. Register a destructor. | |
256 | ||
ac04f72b TT |
257 | 2014-12-12 Tom Tromey <tromey@redhat.com> |
258 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
259 | ||
260 | * osabi.h (osabi_triplet_regexp): Declare. | |
261 | * osabi.c (struct osabi_names): New. | |
262 | (gdb_osabi_names): Change type to struct osabi_names. Update | |
263 | values. | |
264 | (gdbarch_osabi_name): Update. | |
265 | (osabi_triplet_regexp): New function. | |
266 | (osabi_from_tdesc_string, _initialize_gdb_osabi): Update. | |
267 | * i386-tdep.c (i386_gnu_triplet_regexp): New method. | |
268 | (i386_elf_init_abi, i386_go32_init_abi, i386_gdbarch_init): Call | |
269 | set_gdbarch_gnu_triplet_regexp. | |
270 | * gdbarch.sh (gnu_triplet_regexp): New method. | |
271 | * gdbarch.c, gdbarch.h: Rebuild. | |
272 | * arch-utils.h (default_gnu_triplet_regexp): Declare. | |
273 | * arch-utils.c (default_gnu_triplet_regexp): New function. | |
274 | ||
f208eee0 JK |
275 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
276 | ||
277 | * arch-utils.c (default_infcall_mmap) | |
278 | (default_gcc_target_options): New functions. | |
279 | * arch-utils.h (GDB_MMAP_PROT_READ, GDB_MMAP_PROT_WRITE) | |
280 | (GDB_MMAP_PROT_EXEC): Define. | |
281 | (default_infcall_mmap, default_gcc_target_options): Declare. | |
282 | * gdbarch.h: Rebuild. | |
283 | * gdbarch.c: Rebuild. | |
284 | * gdbarch.sh (infcall_mmap, gcc_target_options): New methods. | |
285 | ||
233a8fb3 JK |
286 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
287 | ||
288 | * dummy-frame.c (struct dummy_frame) <dtor, dtor_data>: New | |
289 | fields. | |
290 | (pop_dummy_frame): Call the destructor if it exists. | |
291 | (register_dummy_frame_dtor, find_dummy_frame_dtor): New | |
292 | functions. | |
293 | * dummy-frame.h (dummy_frame_dtor_ftype): New typedef. | |
294 | (register_dummy_frame_dtor, find_dummy_frame_dtor): Declare. | |
295 | ||
f1660027 TT |
296 | 2014-12-12 Tom Tromey <tromey@redhat.com> |
297 | ||
298 | * gdbtypes.h (make_unqualified_type): Declare. | |
299 | * gdbtypes.c (make_unqualified_type): New function. | |
300 | ||
de571fc5 TT |
301 | 2014-12-12 Tom Tromey <tromey@redhat.com> |
302 | ||
303 | * ui-file.h (ui_file_write_for_put): Declare. | |
304 | * ui-file.c (ui_file_write_for_put): New function. | |
305 | * mi/mi-out.c (do_write): Remove. | |
306 | (mi_out_put): Use ui_file_write_for_put. | |
307 | ||
6dddd6a5 DE |
308 | 2014-12-12 Doug Evans <dje@google.com> |
309 | ||
310 | * NEWS: Mention gdb.lookup_objfile. | |
311 | * python/python.c (GdbMethods): Add lookup_objfile. | |
312 | * python/python-internal.h (gdbpy_lookup_objfile): Declare. | |
313 | * python/py-objfile.c: #include "symtab.h". | |
314 | (objfpy_build_id_ok, objfpy_build_id_matches): New functions. | |
315 | (objfpy_lookup_objfile_by_name): New function. | |
316 | (objfpy_lookup_objfile_by_build_id): New function. | |
317 | (gdbpy_lookup_objfile): New function. | |
318 | ||
f161c171 MR |
319 | 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com> |
320 | ||
321 | * mips-tdep.h (MSYMBOL_TARGET_FLAG_MIPS16): New macro. | |
322 | (MSYMBOL_TARGET_FLAG_MICROMIPS): Likewise. | |
323 | * mips-tdep.c (mips_elf_make_msymbol_special): Use the new | |
324 | macros. | |
325 | (msymbol_is_mips, msymbol_is_mips16, msymbol_is_micromips): | |
326 | Likewise. | |
327 | ||
71c24708 AA |
328 | 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com> |
329 | ||
330 | * completer.c: Include "target.h", "reggroups.h", and | |
331 | "user-regs.h". | |
332 | (reg_or_group_completer): New. | |
333 | * completer.h (reg_or_group_completer): Declare. | |
334 | * infcmd.c (_initialize_infcmd): Set reg_or_group_completer for | |
335 | the "info registers" and "info all-registers" commands and the | |
336 | dbx-mode "lr" command. | |
337 | ||
f5b95c01 AA |
338 | 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com> |
339 | ||
340 | * user-regs.c: Include "arch-utils.h", "command.h", and | |
341 | "cli/cli-cmds.h". | |
342 | (maintenance_print_user_registers): New. | |
343 | (_initialize_user_regs): Register new "maint print user-registers" | |
344 | subcommand. | |
345 | * NEWS: Mention new GDB command "maint print user-registers". | |
346 | ||
3e29f34a MR |
347 | 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com> |
348 | Maciej W. Rozycki <macro@mips.com> | |
349 | Pedro Alves <pedro@codesourcery.com> | |
350 | ||
351 | * gdbarch.sh (elf_make_msymbol_special): Change type to `F', | |
352 | remove `predefault' and `invalid_p' initializers. | |
353 | (make_symbol_special): New architecture method. | |
354 | (adjust_dwarf2_addr, adjust_dwarf2_line): Likewise. | |
355 | (objfile, symbol): New declarations. | |
356 | * arch-utils.h (default_elf_make_msymbol_special): Remove | |
357 | prototype. | |
358 | (default_make_symbol_special): New prototype. | |
359 | (default_adjust_dwarf2_addr): Likewise. | |
360 | (default_adjust_dwarf2_line): Likewise. | |
361 | * mips-tdep.h (mips_unmake_compact_addr): New prototype. | |
362 | * arch-utils.c (default_elf_make_msymbol_special): Remove | |
363 | function. | |
364 | (default_make_symbol_special): New function. | |
365 | (default_adjust_dwarf2_addr): Likewise. | |
366 | (default_adjust_dwarf2_line): Likewise. | |
367 | * dwarf2-frame.c (decode_frame_entry_1): Call | |
368 | `gdbarch_adjust_dwarf2_addr'. | |
369 | * dwarf2loc.c (dwarf2_find_location_expression): Likewise. | |
370 | * dwarf2read.c (create_addrmap_from_index): Likewise. | |
371 | (process_psymtab_comp_unit_reader): Likewise. | |
372 | (add_partial_symbol): Likewise. | |
373 | (add_partial_subprogram): Likewise. | |
374 | (process_full_comp_unit): Likewise. | |
375 | (read_file_scope): Likewise. | |
376 | (read_func_scope): Likewise. Call `gdbarch_make_symbol_special'. | |
377 | (read_lexical_block_scope): Call `gdbarch_adjust_dwarf2_addr'. | |
378 | (read_call_site_scope): Likewise. | |
379 | (dwarf2_ranges_read): Likewise. | |
380 | (dwarf2_record_block_ranges): Likewise. | |
381 | (read_attribute_value): Likewise. | |
382 | (dwarf_decode_lines_1): Call `gdbarch_adjust_dwarf2_line'. | |
383 | (new_symbol_full): Call `gdbarch_adjust_dwarf2_addr'. | |
384 | * elfread.c (elf_symtab_read): Don't call | |
385 | `gdbarch_elf_make_msymbol_special' if unset. | |
386 | * mips-linux-tdep.c (micromips_linux_sigframe_validate): Strip | |
387 | the ISA bit from the PC. | |
388 | * mips-tdep.c (mips_unmake_compact_addr): New function. | |
389 | (mips_elf_make_msymbol_special): Set the ISA bit in the symbol's | |
390 | address appropriately. | |
391 | (mips_make_symbol_special): New function. | |
392 | (mips_pc_is_mips): Set the ISA bit before symbol lookup. | |
393 | (mips_pc_is_mips16): Likewise. | |
394 | (mips_pc_is_micromips): Likewise. | |
395 | (mips_pc_isa): Likewise. | |
396 | (mips_adjust_dwarf2_addr): New function. | |
397 | (mips_adjust_dwarf2_line): Likewise. | |
398 | (mips_read_pc, mips_unwind_pc): Keep the ISA bit. | |
399 | (mips_addr_bits_remove): Likewise. | |
400 | (mips_skip_trampoline_code): Likewise. | |
401 | (mips_write_pc): Don't set the ISA bit. | |
402 | (mips_eabi_push_dummy_call): Likewise. | |
403 | (mips_o64_push_dummy_call): Likewise. | |
404 | (mips_gdbarch_init): Install `mips_make_symbol_special', | |
405 | `mips_adjust_dwarf2_addr' and `mips_adjust_dwarf2_line' gdbarch | |
406 | handlers. | |
407 | * solib.c (gdb_bfd_lookup_symbol_from_symtab): Get | |
408 | target-specific symbol address adjustments. | |
409 | * gdbarch.h: Regenerate. | |
410 | * gdbarch.c: Regenerate. | |
411 | ||
21daaaaf YQ |
412 | 2014-12-12 Yao Qi <yao@codesourcery.com> |
413 | ||
414 | PR tdep/14261 | |
415 | * arm-tdep.c (arm_skip_prologue): Remove unused local variable | |
416 | 'skip_pc'. Remove code skipping prologue instructions, use | |
417 | arm_analyze_prologue instead. | |
418 | (arm_analyze_prologue): Stop the scanning for unrecognized | |
419 | instruction when skipping prologue. | |
420 | ||
f303bc3e YQ |
421 | 2014-12-12 Yao Qi <yao@codesourcery.com> |
422 | ||
423 | * arm-tdep.c (arm_instruction_restores_sp): New function. | |
424 | (arm_analyze_prologue): Call arm_instruction_restores_sp. | |
425 | (arm_in_function_epilogue_p): Move code to | |
426 | arm_instruction_restores_sp. | |
427 | ||
05a6c3c8 DE |
428 | 2014-12-11 Doug Evans <xdje42@gmail.com> |
429 | ||
430 | * cp-namespace.c (cp_lookup_nested_symbol): Fix comments. | |
431 | ||
fe2a438d DE |
432 | 2014-12-11 Doug Evans <xdje42@gmail.com> |
433 | ||
434 | * symtab.c (lookup_symbol_in_objfile_symtabs): Delete forward decl. | |
435 | (symbol *lookup_symbol_via_quick_fns): Ditto. | |
436 | (lookup_symbol_in_objfile): Add forward decl. | |
437 | (lookup_global_symbol_from_objfile): Simplify, call | |
438 | lookup_symbol_in_objfile. | |
439 | ||
540feddf DE |
440 | 2014-12-11 Doug Evans <xdje42@gmail.com> |
441 | ||
442 | * symtab.c (domain_name) <MODULE_DOMAIN>: Add missing case. | |
443 | ||
fc126975 SM |
444 | 2014-12-10 Simon Marchi <simon.marchi@ericsson.com> |
445 | ||
446 | PR breakpoints/17012 | |
447 | * breakpoint.c (remove_breakpoints_pid): Skip removing breakpoint if | |
448 | it is marked as persistent. | |
449 | ||
56286edf DE |
450 | 2014-12-10 Doug Evans <xdje42@gmail.com> |
451 | ||
452 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Move definition, | |
453 | closer to its subroutines. | |
454 | ||
34ef8452 DE |
455 | 2014-12-10 Doug Evans <xdje42@gmail.com> |
456 | ||
457 | * cp-namespace.c (lookup_symbol_file): Move next to only caller. | |
458 | ||
9a80057a DE |
459 | 2014-12-10 Doug Evans <xdje42@gmail.com> |
460 | ||
461 | * cp-namespace.c (cp_lookup_symbol_imports): Make static. | |
462 | * cp-support.c (cp_lookup_symbol_imports): Delete. | |
463 | ||
1abf3a14 SM |
464 | 2014-12-10 Simon Marchi <simon.marchi@ericsson.com> |
465 | ||
466 | PR gdb/17627 | |
467 | * target.c (cleanup_restore_target_terminal): New function. | |
468 | (make_cleanup_restore_target_terminal): New function. | |
469 | * target.h (make_cleanup_restore_target_terminal): New declaration. | |
470 | * mi/mi-interp.c (mi_thread_exit): Use the new cleanup. | |
471 | ||
d4d1e336 DE |
472 | 2014-12-08 Doug Evans <dje@google.com> |
473 | ||
474 | * python/py-objfile.c (objfpy_get_owner): Increment refcount of result. | |
475 | ||
a0be3e44 DE |
476 | 2014-12-08 Doug Evans <dje@google.com> |
477 | ||
478 | * NEWS: Mention gdb.Objfile.owner. | |
479 | * python/py-objfile.c (objfpy_get_owner): New function. | |
480 | (objfile_getset): Add "owner". | |
481 | ||
6c1c7be3 JK |
482 | 2014-12-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
483 | ||
484 | * symtab.c (lookup_symbol_in_objfile_symtabs): New declaration. | |
485 | (lookup_global_symbol_from_objfile): Call it. | |
486 | ||
efad9b6a JK |
487 | 2014-12-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
488 | ||
489 | Remove const from struct objfile *. | |
490 | * solib-darwin.c, solib-spu.c, solib-svr4.c, solib.c, solist.h, | |
491 | symtab.c, symtab.h: In these files. | |
492 | ||
069bb7ec AF |
493 | 2014-12-05 Andreas From <andreas.from@ericsson.com> |
494 | ||
495 | * MAINTAINERS (Write After Approval): Add "Andreas From" | |
496 | ||
642a8d80 DE |
497 | 2014-12-05 Doug Evans <xdje42@gmail.com> |
498 | ||
499 | Revert: | |
500 | PR symtab/17602 | |
501 | * linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp. | |
502 | ||
86e4ed39 DE |
503 | 2014-12-04 Doug Evans <dje@google.com> |
504 | ||
505 | * NEWS: Mention gdb.Objfile.add_separate_debug_file. | |
506 | * python/py-objfile.c (objfpy_add_separate_debug_file): New function. | |
507 | (objfile_getset): Add "add_separate_debug_file". | |
508 | ||
7c50a931 DE |
509 | 2014-12-04 Doug Evans <dje@google.com> |
510 | ||
511 | * NEWS: Mention gdb.Objfile.build_id. | |
512 | * build-id.c (build_id_bfd_get): Make non-static. | |
513 | * build-id.h (build_id_bfd_get): Add declaration. | |
514 | * python/py-objfile.c: #include "build-id.h", "elf-bfd.h". | |
515 | (OBJFPY_REQUIRE_VALID): New macro. | |
516 | (objfpy_get_build_id): New function. | |
517 | (objfile_getset): Add "build_id". | |
518 | * utils.c (make_hex_string): New function. | |
519 | * utils.h (make_hex_string): Add declaration. | |
520 | ||
ba715d7f JK |
521 | 2014-12-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
522 | ||
523 | * block.c (block_lookup_symbol_primary): New function. | |
524 | * block.h (block_lookup_symbol_primary): New declaration. | |
525 | * symtab.c (lookup_symbol_in_objfile_symtabs): Assert BLOCK_INDEX. | |
526 | Call block_lookup_symbol_primary. | |
527 | ||
858339f2 MR |
528 | 2014-12-03 Maciej W. Rozycki <macro@codesourcery.com> |
529 | ||
530 | * tramp-frame.h (tramp_frame): Add `validate' member. | |
531 | * tramp-frame.c (tramp_frame_start): Validate trampoline before | |
532 | scanning. | |
533 | * mips-linux-tdep.c (MICROMIPS_INST_LI_V0): New macro. | |
534 | (MICROMIPS_INST_POOL32A, MICROMIPS_INST_SYSCALL): Likewise. | |
535 | (mips_linux_o32_sigframe): Initialize `validate' member. | |
536 | (mips_linux_o32_rt_sigframe): Likewise. | |
537 | (mips_linux_n32_rt_sigframe): Likewise. | |
538 | (mips_linux_n64_rt_sigframe): Likewise. | |
539 | (micromips_linux_o32_sigframe): New variable. | |
540 | (micromips_linux_o32_rt_sigframe): Likewise. | |
541 | (micromips_linux_n32_rt_sigframe): Likewise. | |
542 | (micromips_linux_n64_rt_sigframe): Likewise. | |
543 | (mips_linux_o32_sigframe_init): Handle microMIPS trampolines. | |
544 | (mips_linux_n32n64_sigframe_init): Likewise. | |
545 | (mips_linux_sigframe_validate): New function. | |
546 | (micromips_linux_sigframe_validate): Likewise. | |
547 | (mips_linux_init_abi): Install microMIPS trampoline unwinders. | |
548 | ||
ff1eb2b5 UW |
549 | 2014-12-03 Ulrich Weigand <uweigand@de.ibm.com> |
550 | ||
551 | * config/sparc/sol2.mh (NATDEPFILES): Remove core-regset.o. | |
552 | * sparc-sol2-tdep.c: Include "regset.h". | |
553 | (sparc32_sol2_supply_core_gregset): New function. | |
554 | (sparc32_sol2_collect_core_gregset): Likewise. | |
555 | (sparc32_sol2_supply_core_fpregset): Likewise. | |
556 | (sparc32_sol2_collect_core_fpregset): Likewise. | |
557 | (sparc32_sol2_gregset, sparc32_sol2_fpregset): New variables. | |
558 | (sparc32_sol2_init_abi): Set tdep->gregset/sizeof_gregset and | |
559 | tdep->fpregset/sizeof_fpregset. | |
560 | * sparc64-sol2-tdep.c: Include "regset.h". | |
561 | (sparc64_sol2_supply_core_gregset): New function. | |
562 | (sparc64_sol2_collect_core_gregset): Likewise. | |
563 | (sparc64_sol2_supply_core_fpregset): Likewise. | |
564 | (sparc64_sol2_collect_core_fpregset): Likewise. | |
565 | (sparc64_sol2_gregset, sparc64_sol2_fpregset): New variables. | |
566 | (sparc64_sol2_init_abi): Set tdep->gregset/sizeof_gregset and | |
567 | tdep->fpregset/sizeof_fpregset. | |
568 | ||
75783939 SM |
569 | 2014-12-03 Simon Marchi <simon.marchi@ericsson.com> |
570 | ||
571 | * common/cleanups.c (make_cleanup_dtor): Use typedef for dtor | |
572 | type. | |
573 | ||
7c5fdd25 DE |
574 | 2014-12-02 Doug Evans <dje@google.com> |
575 | ||
576 | * symtab.c (symbol_init_cplus_specific): Delete. | |
577 | (symbol_set_demangled_name): Remove special c++ support. | |
578 | (symbol_get_demangled_name, symbol_set_language): Ditto. | |
579 | * symtab.h (struct cplus_specific): Delete. | |
580 | (struct general_symbol_info) <language_specific>: Remove | |
581 | cplus_specific. | |
582 | ||
29f0c3b7 DE |
583 | 2014-12-02 Doug Evans <dje@google.com> |
584 | ||
585 | PR symtab/17602 | |
586 | * linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp. | |
587 | ||
72998fb3 DE |
588 | 2014-12-02 Doug Evans <dje@google.com> |
589 | ||
590 | PR symtab/17591 | |
591 | * dwarf2read.c (find_slot_in_mapped_hash): Use cp_remove_params | |
592 | to strip parameters. | |
593 | ||
422b9917 DE |
594 | 2014-12-02 Doug Evans <dje@google.com> |
595 | ||
596 | * dwarf2read.c (peek_die_abbrev): Improve error message text. | |
597 | ||
47c6ee49 DE |
598 | 2014-12-02 Doug Evans <dje@google.com> |
599 | ||
600 | * valops.c (do_search_struct_field): Remove remnant of Chill support. | |
601 | Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e | |
602 | ||
5da3ffc9 SM |
603 | 2014-12-02 Simon Marchi <simon.marchi@ericsson.com> |
604 | ||
605 | * common/cleanups.c (make_cleanup_dtor): Fix comment typo. | |
606 | ||
162078c8 NB |
607 | 2014-12-02 Nick Bull <nicholaspbull@gmail.com> |
608 | ||
609 | * NEWS: Mention new Python events. | |
610 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-infevents.o. | |
611 | (SUBDIR_PYTHON_SRCS): Add py-infevents.c. | |
612 | (py-infevents.o): New rule. | |
613 | * doc/observer.texi (inferior_call_pre, inferior_call_post) | |
614 | (memory_changed, register_changed): New observers. | |
615 | * infcall.c (call_function_by_hand): Notify observer before and | |
616 | after inferior call. | |
617 | * python/py-event.h (inferior_call_kind): New enum. | |
618 | (emit_inferior_call_event): New prototype. | |
619 | (emit_register_changed_event): New prototype. | |
620 | (emit_memory_changed_event): New prototype. | |
621 | * python/py-events.h (events_object): New registries | |
622 | inferior_call, memory_changed and register_changed. | |
623 | * python/py-evts.c (gdbpy_initialize_py_events): Add the | |
624 | inferior_call, memory_changed and register_changed registries. | |
625 | * python/py-infevents.c: New. | |
626 | * python/py-inferior.c (python_on_inferior_call_pre) | |
627 | (python_on_inferior_call_post, python_on_register_change) | |
628 | (python_on_memory_change): New functions. | |
629 | (gdbpy_initialize_inferior): Attach python handler to new | |
630 | observers. | |
631 | * python/py-infthread.c(gdbpy_create_ptid_object): New. | |
632 | (thpy_get_ptid) Use gdbpy_create_ptid_object. | |
633 | * python/python-internal.h: | |
634 | (gdbpy_create_ptid_object) | |
635 | (gdbpy_initialize_inferior_call_pre_event) | |
636 | (gdbpy_initialize_inferior_call_post_event) | |
637 | (gdbpy_initialize_register_changed_event) | |
638 | (gdbpy_initialize_memory_changed_event): New prototypes. | |
639 | * python/python.c (_initialize_python): Initialize new events. | |
640 | * valops.c (value_assign): Notify register_changed observer. | |
641 | ||
007baf27 DE |
642 | 2014-12-02 Doug Evans <dje@google.com> |
643 | ||
644 | * python/py-infthread.c: Whitespace fixes. | |
645 | ||
d5552aab AA |
646 | 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com> |
647 | ||
648 | * features/Makefile (s390-te-linux64-expedite): Replace | |
649 | non-existant r14 and r15 by r14l and r15l, respectively. | |
650 | * regformats/s390-te-linux64.dat: Regenerate. | |
651 | ||
30b5e341 SM |
652 | 2014-12-01 Simon Marchi <simon.marchi@ericsson.com> |
653 | ||
654 | * objfiles.c (allocate_objfile): Remove duplicate comment. | |
655 | ||
ac3d87c0 UW |
656 | 2014-12-01 Ulrich Weigand <uweigand@de.ibm.com> |
657 | ||
658 | * config/i386/i386gnu.mh (NATDEPFILES): Remove core-regset.o. | |
659 | * i386gnu-nat.c: Do not include <sys/procfs.h> or "gregset.h". | |
660 | (CREG_OFFSET, creg_offset, CREG_ADDR): Remove. | |
661 | (supply_gregset, supply_fpregset): Remove. | |
662 | * i386gnu-tdep.c (i386gnu_gregset_reg_offset): New variable. | |
663 | (i386gnu_init_abi): Set tdep->gregset_reg_offset, gregset_num_regs, | |
664 | and sizeof_gregset. | |
665 | ||
f10c5b19 JK |
666 | 2014-11-30 Jan Kratochvil <jan.kratochvil@redhat.com> |
667 | ||
668 | Add add-auto-load-scripts-directory. | |
669 | * NEWS (Changes since GDB 7.8): Add add-auto-load-scripts-directory. | |
670 | * auto-load.c (add_auto_load_dir): New function. | |
671 | (_initialize_auto_load): Install it. | |
672 | ||
f0d4ba1f MG |
673 | 2014-11-30 Martin Galvan <martin.galvan@tallertechnologies.com> (tiny patch, obvious) |
674 | ||
675 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
676 | * frame.c (frame_id_eq): Fix the check for FID_STACK_INVALID. | |
677 | ||
18ac6ffc SC |
678 | 2014-11-29 Siva Chandra Reddy <sivachandra@google.com> |
679 | ||
680 | * eval.c (evaluate_subexp): Check that the thread stack temporaries | |
681 | are not already enabled before enabling them. | |
682 | ||
4072f920 YQ |
683 | 2014-11-29 Yao Qi <yao@codesourcery.com> |
684 | ||
685 | * arm-tdep.c (arm_analyze_prologue): Move local variables | |
686 | 'framereg' and 'framesize' to inner block. Move code to | |
687 | inner block too. | |
688 | ||
6c659fc2 SC |
689 | 2014-11-28 Siva Chandra Reddy <sivachandra@google.com> |
690 | ||
691 | * eval.c: Include gdbthread.h. | |
692 | (evaluate_subexp): Enable thread stack temporaries before | |
693 | evaluating a complete expression and clean them up after the | |
694 | evaluation is complete. | |
695 | * gdbthread.h: Include common/vec.h. | |
696 | (value_ptr): New typedef. | |
697 | (VEC (value_ptr)): New vector type. | |
698 | (value_vec): New typedef. | |
699 | (struct thread_info): Add new fields stack_temporaries_enabled | |
700 | and stack_temporaries. | |
701 | (enable_thread_stack_temporaries) | |
702 | (thread_stack_temporaries_enabled_p, push_thread_stack_temporary) | |
703 | (get_last_thread_stack_temporary) | |
704 | (value_in_thread_stack_temporaries): Declare. | |
705 | * gdbtypes.c (class_or_union_p): New function. | |
706 | * gdbtypes.h (class_or_union_p): Declare. | |
707 | * infcall.c (call_function_by_hand): Store return values of class | |
708 | type as temporaries on stack. | |
709 | * thread.c (enable_thread_stack_temporaries): New function. | |
710 | (thread_stack_temporaries_enabled_p, push_thread_stack_temporary) | |
711 | (get_last_thread_stack_temporary): Likewise. | |
712 | (value_in_thread_stack_temporaries): Likewise. | |
713 | * value.c (value_force_lval): New function. | |
714 | * value.h (value_force_lval): Declare. | |
715 | ||
f7ca3fcf PM |
716 | 2014-11-28 Pierre Muller <muller@sourceware.org> |
717 | ||
718 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
719 | * amd64-tdep.c (amd64_dwarf_regmap array): Add missing MMX | |
720 | registers. | |
721 | ||
b2859a9a UW |
722 | 2014-11-28 Ulrich Weigand <uweigand@de.ibm.com> |
723 | ||
724 | * config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o. | |
725 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
726 | * config/sparc/linux64.mh (NATDEPFILES): Likewise. | |
727 | * m68klinux-nat.c (fetch_core_registers): Remove. | |
728 | (linux_elf_core_fns): Remove. | |
729 | (_initialize_m68k_linux_nat): Do not call deprecated_add_core_fns. | |
730 | ||
0fa9473f JB |
731 | 2014-11-28 Joel Brobecker <brobecker@adacore.com> |
732 | ||
733 | * utils.c (gdb_realpath): Rework comment about handling on | |
734 | Windows. | |
735 | ||
6a29c58e YQ |
736 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
737 | ||
738 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
739 | rename. | |
740 | * gnulib/aclocal.m4: Re-generated. | |
741 | * gnulib/config.in: Re-generated. | |
742 | * gnulib/configure: Re-generated. | |
743 | * gnulib/import/Makefile.am: Re-generated. | |
744 | * gnulib/import/Makefile.in: Re-generated. | |
745 | * gnulib/import/m4/gnulib-cache.m4: Re-generated. | |
746 | * gnulib/import/m4/gnulib-comp.m4: Re-generated. | |
747 | * import/basename-lgpl.c: New file. | |
748 | * import/dirname-lgpl.c: New file. | |
749 | * import/dirname.h: New file. | |
750 | * import/m4/dirname.m4: New file. | |
751 | * import/m4/malloc.m4: New file. | |
752 | * import/m4/rename.m4: New file. | |
753 | * import/m4/rmdir.m4: New file. | |
754 | * import/m4/stdio_h.m4: New file. | |
755 | * import/malloc.c: New file. | |
756 | * import/rename.c: New file. | |
757 | * import/rmdir.c: New file. | |
758 | * import/same-inode.h: New file. | |
759 | * import/stdio.c: New file. | |
760 | * import/stdio.in.h: New file. | |
761 | * import/stripslash.c: New file. | |
762 | ||
abbffc89 YQ |
763 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
764 | ||
765 | * configure.ac (AC_CHECK_FUNCS): Remove canonicalize_file_name | |
766 | and realpath. | |
767 | * config.in: Re-generated. | |
768 | * configure: Re-generated. | |
769 | * utils.c (gdb_realpath): Remove code calling realpath, | |
770 | canonicalize_file_name and pathconf. | |
771 | [!_WIN32]: Call canonicalize_file_name. | |
772 | ||
98399780 YQ |
773 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
774 | ||
775 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
776 | canonicalize-lgpl. | |
777 | * aclocal.m4: Re-generated. | |
778 | * config.in: Re-generated. | |
779 | * configure: Re-generated. | |
780 | * import/Makefile.am: Re-generated. | |
781 | * import/Makefile.in: Re-generated. | |
782 | * import/m4/gnulib-cache.m4: Re-generated. | |
783 | * import/m4/gnulib-comp.m4: Re-generated. | |
784 | * import/canonicalize-lgpl.c: New file. | |
785 | * import/extra/snippet/_Noreturn.h: New file. | |
786 | * import/m4/canonicalize.m4: New file. | |
787 | * import/m4/double-slash-root.m4: New file. | |
788 | * import/m4/eealloc.m4: New file. | |
789 | * import/m4/malloca.m4: New file. | |
790 | * import/m4/nocrash.m4: New file. | |
791 | * import/m4/stdlib_h.m4: New file. | |
792 | * import/malloca.c: New file. | |
793 | * import/malloca.h: New file. | |
794 | * import/malloca.valgrind: New file. | |
795 | ||
3332aaf2 YQ |
796 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
797 | ||
798 | * configure.ac (AC_CHECK_FUNCS): Remove lstat. | |
799 | * config.in, configure: Regenerate. | |
800 | * symfile.c (find_separate_debug_file_by_debuglink): Remove | |
801 | code checking HAVE_LSTAT is defined. | |
802 | ||
f45c62c4 YQ |
803 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
804 | ||
805 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
806 | lstat. | |
807 | * gnulib/aclocal.m4: Re-generated. | |
808 | * gnulib/config.in: Re-generated. | |
809 | * gnulib/configure: Re-generated. | |
810 | * gnulib/import/Makefile.am: Re-generated. | |
811 | * gnulib/import/Makefile.in: Re-generated. | |
812 | * gnulib/import/m4/gnulib-cache.m4: Re-generated. | |
813 | * gnulib/import/m4/gnulib-comp.m4: Re-generated. | |
814 | * gnulib/import/lstat.c: New file. | |
815 | * gnulib/import/m4/lstat.m4: New file. | |
816 | ||
bdca27a2 YQ |
817 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
818 | ||
819 | * configure.ac (AC_CHECK_FUNCS): Remove readlink. | |
820 | * config.in, configure: Re-generate. | |
821 | * inf-child.c (inf_child_fileio_readlink): Don't check | |
822 | HAVE_READLINK is defined. | |
823 | ||
2196f55f YQ |
824 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
825 | ||
826 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add readlink. | |
827 | * gnulib/aclocal.m4: Re-generated. | |
828 | * gnulib/config.in: Likewise. | |
829 | * gnulib/configure: Likewise. | |
830 | * gnulib/import/Makefile.am: Likewise. | |
831 | * gnulib/import/Makefile.in: Likewise. | |
832 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
833 | * gnulib/import/m4/gnulib-comp.m4: Likewise. | |
834 | * gnulib/import/dosname.h: New file | |
835 | * gnulib/import/m4/largefile.m4: New file. | |
836 | * gnulib/import/m4/readlink.m4: New file. | |
837 | * gnulib/import/m4/stat.m4: New file. | |
838 | * gnulib/import/readlink.c: New file. | |
839 | * gnulib/import/stat.c: New file. | |
840 | ||
7014e923 | 841 | 2014-11-26 Mark Wielaard <mjw@redhat.com> |
0cfd832f MW |
842 | |
843 | * dwarf2read.c (set_cu_language): Recognize DW_LANG_C11, | |
844 | DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14. | |
845 | ||
aa489395 SL |
846 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> |
847 | ||
848 | * nios2-tdep.c (nios2_analyze_prologue): Replace restriction | |
849 | that there can be only one stack adjustment in the prologue | |
850 | with tests to detect specific disallowed stack adjustments. | |
851 | ||
7f1659b5 SL |
852 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> |
853 | ||
854 | * nios2-tdep.c (nios2_in_epilogue_p): Handle multiple stack | |
855 | adjustments. | |
856 | ||
d53c26c7 SL |
857 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> |
858 | ||
859 | * nios2-tdep.c (nios2_fetch_insn): Move up in file. Disassemble | |
860 | the instruction as well as reading it from memory. | |
861 | (nios2_match_add): New. | |
862 | (nios2_match_sub): New. | |
863 | (nios2_match_addi): New. | |
864 | (nios2_match_orhi): New. | |
865 | (nios2_match_stw): New. | |
866 | (nios2_match_ldw): New. | |
867 | (nios2_match_rdctl): New. | |
868 | (enum branch_condition): New. | |
869 | (nios2_match_branch): New. | |
870 | (nios2_match_jmpi): New. | |
871 | (nios2_match_calli): New. | |
872 | (nios2_match_jmpr): New. | |
873 | (nios2_match_callr): New. | |
874 | (nios2_match_break): New. | |
875 | (nios2_match_trap): New. | |
876 | (nios2_in_epilogue_p): Rewrite to use new functions. | |
877 | (nios2_analyze_prologue): Likewise. | |
878 | (nios2_skip_prologue): Delete unused local limit_pc. | |
879 | (nios2_breakpoint_from_pc): Make R1-specific encodings explicit. | |
880 | (nios2_get_next_pc): Rewrite to use new functions. | |
881 | ||
cac9b138 JK |
882 | 2014-11-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
883 | ||
884 | * gdbtypes.c (resolve_dynamic_type_internal): Reindent the code. | |
885 | ||
a441dfbc ST |
886 | 2014-11-24 Samuel Thibault <samuel.thibault@ens-lyon.org> |
887 | ||
888 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
889 | * gdb/gnu-nat.c (inf_validate_procinfo): Multiply the number of | |
890 | elements pi_len by the size of the elements before calling | |
891 | vm_deallocate. | |
892 | (inf_validate_task_sc): Likewise, and properly deallocate the | |
893 | noise array. | |
894 | ||
4c9e8482 DE |
895 | 2014-11-23 Doug Evans <xdje42@gmail.com> |
896 | ||
897 | * gdbtypes.c (print_args): Renamed from print_arg_types. Print arg | |
898 | number and name if present. All callers updated. | |
899 | (dump_fn_fieldlists): Fix indentation of args. | |
900 | ||
15ee0bbd PP |
901 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
902 | ||
903 | * MAINTAINERS (Write After Approval): Add myself. | |
904 | ||
e8af5d7a JB |
905 | 2014-11-23 Joel Brobecker <brobecker@adacore.com> |
906 | ||
907 | * breakpoint.c (bp_loc_is_permanent): Return 0 if LOC corresponds | |
908 | to a bp_call_dummy breakpoint type. | |
909 | ||
a344fc09 PP |
910 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
911 | ||
912 | * tui/tui-win.c (tui_initialize_win): Specify SA_RESTART when | |
913 | registering the signal handler. | |
914 | ||
d64e57fa PP |
915 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
916 | ||
917 | * event-top.h (call_stdin_event_handler_again_p): Declare. | |
918 | * event-top.c (call_stdin_event_handler_again_p): Define. | |
919 | (stdin_event_handler): Use it. | |
920 | * tui/tui-io.c (tui_getc): Prepare to call the stdin event | |
921 | handler again if there is pending input following a | |
922 | start sequence. | |
923 | ||
6f9d33d8 PP |
924 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
925 | ||
926 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
927 | * linux-fork.c (checkpoint_command): Print index of new | |
928 | checkpoint in response message. | |
929 | ||
88db67ef YQ |
930 | 2014-11-23 Yao Qi <yao@codesourcery.com> |
931 | ||
932 | * valprint.c (read_string): Move local variables 'found_nul', | |
933 | 'chunksize' and 'limit' to inner scope. Update comments. | |
934 | ||
01465b56 DE |
935 | 2014-11-22 Doug Evans <xdje42@gmail.com> |
936 | ||
937 | * symtab.c (lookup_symbol_in_objfile_from_linkage_name): Improve | |
938 | function comment. | |
939 | (search_symbols): Fix comments and whitespace. | |
940 | ||
07a1c2c3 DE |
941 | 2014-11-22 Doug Evans <xdje42@gmail.com> |
942 | ||
943 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment. | |
944 | ||
b2a919a8 DE |
945 | 2014-11-21 Doug Evans <dje@google.com> |
946 | ||
947 | * psymtab.c (psymtab_search_name): Fix whitespace. | |
948 | ||
278289d5 YQ |
949 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
950 | ||
951 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
952 | errno. | |
953 | * gnulib/import/Makefile.am: Re-generated. | |
954 | * gnulib/import/Makefile.in: Likewise. | |
955 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
956 | ||
e01e2baa YQ |
957 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
958 | ||
959 | * gdb_wchar.h: Include wchar.h and wctype.h. | |
960 | [HAVE_ICONV && HAVE_BTOWC]: Don't check HAVE_WCHAR_T and don't | |
961 | include wchar.h and wctype.h. | |
962 | Don't check HAVE_WCHAR_H. | |
963 | ||
f0c00af8 YQ |
964 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
965 | ||
966 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add wchar | |
967 | and wctype-h. | |
968 | * gnulib/import/Makefile.am: Re-generated. | |
969 | * gnulib/import/Makefile.in: Likewise. | |
970 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
971 | ||
0cae13bb YQ |
972 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
973 | ||
974 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
975 | memchr. | |
976 | * gnulib/import/Makefile.am: Re-generated. | |
977 | * gnulib/import/Makefile.in: Likewise. | |
978 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
979 | ||
9c232dda YQ |
980 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
981 | ||
982 | * common/common-defs.h: Include alloca.h | |
983 | * configure.ac: Don't invoke AC_FUNC_ALLOCA. | |
984 | * configure: Re-generated. | |
985 | * defs.h: Remove code handling alloca. | |
986 | * utils.c (gdb_realpath): Don't check HAVE_ALLOCA is defined | |
987 | or not. | |
988 | ||
00d7f58f YQ |
989 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
990 | ||
991 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULE): Add | |
992 | alloca. | |
993 | * gnulib/import/Makefile.am: Re-generated. | |
994 | * gnulib/import/Makefile.in: Likewise.. | |
995 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
996 | ||
6068ad5d YQ |
997 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
998 | ||
999 | * gnulib/update-gnulib.sh: Make IMPORTED_GNULIB_MODULES in | |
1000 | alphabetical order. | |
1001 | ||
45e44d27 JB |
1002 | 2014-11-21 Joel Brobecker <brobecker@adacore.com> |
1003 | ||
1004 | * gdbtypes.c (create_range_type): Unset RESULT_TYPE's | |
1005 | flag_unsigned if HIGH_BOUND is constant and negative. | |
1006 | ||
7e7cbeb3 SDJ |
1007 | 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com> |
1008 | ||
1009 | PR breakpoints/10737 | |
1010 | * xml-syscall.c (set_xml_syscall_file_name): Remove "const" | |
1011 | modifier from "struct gdbarch" when compiling without Expat (XML) | |
1012 | support. | |
1013 | (get_syscall_by_number): Likewise. | |
1014 | (get_syscall_by_name): Likewise. | |
1015 | (get_syscall_names): Likewise. | |
1016 | ||
458c8db8 SDJ |
1017 | 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com> |
1018 | ||
1019 | PR breakpoints/10737 | |
1020 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): Adjust call to | |
1021 | set_xml_syscall_file_name to provide gdbarch. | |
1022 | * arm-linux-tdep.c (arm_linux_init_abi): Likewise. | |
1023 | * bfin-linux-tdep.c (bfin_linux_init_abi): Likewise. | |
1024 | * breakpoint.c (print_it_catch_syscall): Adjust call to | |
1025 | get_syscall_by_number to provide gdbarch. | |
1026 | (print_one_catch_syscall): Likewise. | |
1027 | (print_mention_catch_syscall): Likewise. | |
1028 | (print_recreate_catch_syscall): Likewise. | |
1029 | (catch_syscall_split_args): Adjust calls to get_syscall_by_number | |
1030 | and get_syscall_by_name to provide gdbarch. | |
1031 | (catch_syscall_completer): Adjust call to get_syscall_names to | |
1032 | provide gdbarch. | |
1033 | * gdbarch.c: Regenerate. | |
1034 | * gdbarch.h: Likewise. | |
1035 | * gdbarch.sh: Forward declare "struct syscalls_info". | |
1036 | (xml_syscall_file): New variable. | |
1037 | (syscalls_info): Likewise. | |
1038 | * i386-linux-tdep.c (i386_linux_init_abi): Adjust call to | |
1039 | set_xml_syscall_file_name to provide gdbarch. | |
1040 | * mips-linux-tdep.c (mips_linux_init_abi): Likewise. | |
1041 | * ppc-linux-tdep.c (ppc_linux_init_abi): Likewise. | |
1042 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
1043 | * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise. | |
1044 | * sparc64-linux-tdep.c (sparc64_linux_init_abi): Likewise. | |
1045 | * xml-syscall.c: Include gdbarch.h. | |
1046 | (set_xml_syscall_file_name): Accept gdbarch parameter. | |
1047 | (get_syscall_by_number): Likewise. | |
1048 | (get_syscall_by_name): Likewise. | |
1049 | (get_syscall_names): Likewise. | |
1050 | (my_gdb_datadir): Delete global variable. | |
1051 | (struct syscalls_info) <my_gdb_datadir>: New variable. | |
1052 | (struct syscalls_info) <sysinfo>: Rename variable to | |
1053 | "syscalls_info". | |
1054 | (sysinfo): Delete global variable. | |
1055 | (have_initialized_sysinfo): Likewise. | |
1056 | (xml_syscall_file): Likewise. | |
1057 | (sysinfo_free_syscalls_desc): Rename to... | |
1058 | (syscalls_info_free_syscalls_desc): ... this. | |
1059 | (free_syscalls_info): Rename "sysinfo" to "syscalls_info". Adjust | |
1060 | code to the new layout of "struct syscalls_info". | |
1061 | (make_cleanup_free_syscalls_info): Rename parameter "sysinfo" to | |
1062 | "syscalls_info". | |
1063 | (syscall_create_syscall_desc): Likewise. | |
1064 | (syscall_start_syscall): Likewise. | |
1065 | (syscall_parse_xml): Likewise. | |
1066 | (xml_init_syscalls_info): Likewise. Drop "const" from return value. | |
1067 | (init_sysinfo): Rename to... | |
1068 | (init_syscalls_info): ...this. Add gdbarch as a parameter. | |
1069 | Adjust function to deal with gdbarch. | |
1070 | (xml_get_syscall_number): Delete parameter sysinfo. Accept | |
1071 | gdbarch as a parameter. Adjust code. | |
1072 | (xml_get_syscall_name): Likewise. | |
1073 | (xml_list_of_syscalls): Likewise. | |
1074 | (set_xml_syscall_file_name): Accept gdbarch as parameter. | |
1075 | (get_syscall_by_number): Likewise. | |
1076 | (get_syscall_by_name): Likewise. | |
1077 | (get_syscall_names): Likewise. | |
1078 | * xml-syscall.h (set_xml_syscall_file_name): Likewise. | |
1079 | (get_syscall_by_number): Likewise. | |
1080 | (get_syscall_by_name): Likewise. | |
1081 | (get_syscall_names): Likewise. | |
1082 | ||
43f3e411 DE |
1083 | 2014-11-20 Doug Evans <xdje42@gmail.com> |
1084 | ||
1085 | Split struct symtab into two: struct symtab and compunit_symtab. | |
1086 | * amd64-tdep.c (amd64_skip_xmm_prologue): Fetch producer from compunit. | |
1087 | * block.c (blockvector_for_pc_sect): Change "struct symtab *" argument | |
1088 | to "struct compunit_symtab *". All callers updated. | |
1089 | (set_block_compunit_symtab): Renamed from set_block_symtab. Change | |
1090 | "struct symtab *" argument to "struct compunit_symtab *". | |
1091 | All callers updated. | |
1092 | (get_block_compunit_symtab): Renamed from get_block_symtab. Change | |
1093 | result to "struct compunit_symtab *". All callers updated. | |
1094 | (find_iterator_compunit_symtab): Renamed from find_iterator_symtab. | |
1095 | Change result to "struct compunit_symtab *". All callers updated. | |
1096 | * block.h (struct global_block) <compunit_symtab>: Renamed from symtab. | |
1097 | hange type to "struct compunit_symtab *". All uses updated. | |
1098 | (struct block_iterator) <d.compunit_symtab>: Renamed from "d.symtab". | |
1099 | Change type to "struct compunit_symtab *". All uses updated. | |
1100 | * buildsym.c (struct buildsym_compunit): New struct. | |
1101 | (subfiles, buildsym_compdir, buildsym_objfile, main_subfile): Delete. | |
1102 | (buildsym_compunit): New static global. | |
1103 | (finish_block_internal): Update to fetch objfile from | |
1104 | buildsym_compunit. | |
1105 | (make_blockvector): Delete objfile argument. | |
1106 | (start_subfile): Rewrite to use buildsym_compunit. Don't initialize | |
1107 | debugformat, producer. | |
1108 | (start_buildsym_compunit): New function. | |
1109 | (free_buildsym_compunit): Renamed from free_subfiles_list. | |
1110 | All callers updated. | |
1111 | (patch_subfile_names): Rewrite to use buildsym_compunit. | |
1112 | (get_compunit_symtab): New function. | |
1113 | (get_macro_table): Delete argument comp_dir. All callers updated. | |
1114 | (start_symtab): Change result to "struct compunit_symtab *". | |
1115 | All callers updated. Create the subfile of the main source file. | |
1116 | (watch_main_source_file_lossage): Rewrite to use buildsym_compunit. | |
1117 | (reset_symtab_globals): Update. | |
1118 | (end_symtab_get_static_block): Update to use buildsym_compunit. | |
1119 | (end_symtab_without_blockvector): Rewrite. | |
1120 | (end_symtab_with_blockvector): Change result to | |
1121 | "struct compunit_symtab *". All callers updated. | |
1122 | Update to use buildsym_compunit. Don't set symtab->dirname, | |
1123 | instead set it in the compunit. | |
1124 | Explicitly make sure main symtab is first in its list. | |
1125 | Set debugformat, producer, blockvector, block_line_section, and | |
1126 | macrotable in the compunit. | |
1127 | (end_symtab_from_static_block): Change result to | |
1128 | "struct compunit_symtab *". All callers updated. | |
1129 | (end_symtab, end_expandable_symtab): Ditto. | |
1130 | (set_missing_symtab): Change symtab argument to | |
1131 | "struct compunit_symtab *". All callers updated. | |
1132 | (augment_type_symtab): Ditto. | |
1133 | (record_debugformat): Update to use buildsym_compunit. | |
1134 | (record_producer): Update to use buildsym_compunit. | |
1135 | * buildsym.h (struct subfile) <dirname>: Delete. | |
1136 | <producer, debugformat>: Delete. | |
1137 | <buildsym_compunit>: New member. | |
1138 | (get_compunit_symtab): Declare. | |
1139 | * dwarf2read.c (struct type_unit_group) <compunit_symtab>: Renamed | |
1140 | from primary_symtab. Change type to "struct compunit_symtab *". | |
1141 | All uses updated. | |
1142 | (dwarf2_start_symtab): Change result to "struct compunit_symtab *". | |
1143 | All callers updated. | |
1144 | (dwarf_decode_macros): Delete comp_dir argument. All callers updated. | |
1145 | (struct dwarf2_per_cu_quick_data) <compunit_symtab>: Renamed from | |
1146 | symtab. Change type to "struct compunit_symtab *". All uses updated. | |
1147 | (dw2_instantiate_symtab): Change result to "struct compunit_symtab *". | |
1148 | All callers updated. | |
1149 | (dw2_find_last_source_symtab): Ditto. | |
1150 | (dw2_lookup_symbol): Ditto. | |
1151 | (recursively_find_pc_sect_compunit_symtab): Renamed from | |
1152 | recursively_find_pc_sect_symtab. Change result to | |
1153 | "struct compunit_symtab *". All callers updated. | |
1154 | (dw2_find_pc_sect_compunit_symtab): Renamed from | |
1155 | dw2_find_pc_sect_symtab. Change result to | |
1156 | "struct compunit_symtab *". All callers updated. | |
1157 | (get_compunit_symtab): Renamed from get_symtab. Change result to | |
1158 | "struct compunit_symtab *". All callers updated. | |
1159 | (recursively_compute_inclusions): Change type of immediate_parent | |
1160 | argument to "struct compunit_symtab *". All callers updated. | |
1161 | (compute_compunit_symtab_includes): Renamed from | |
1162 | compute_symtab_includes. All callers updated. Rewrite to compute | |
1163 | includes of compunit_symtabs and not symtabs. | |
1164 | (process_full_comp_unit): Update to work with struct compunit_symtab. | |
1165 | (process_full_type_unit): Ditto. | |
1166 | (dwarf_decode_lines_1): Delete argument comp_dir. All callers updated. | |
1167 | (dwarf_decode_lines): Remove special case handling of main subfile. | |
1168 | (macro_start_file): Delete argument comp_dir. All callers updated. | |
1169 | (dwarf_decode_macro_bytes): Ditto. | |
1170 | * guile/scm-block.c (bkscm_print_block_syms_progress_smob): Update to | |
1171 | use struct compunit_symtab. | |
1172 | * i386-tdep.c (i386_skip_prologue): Fetch producer from compunit. | |
1173 | * jit.c (finalize_symtab): Build compunit_symtab. | |
1174 | * jv-lang.c (get_java_class_symtab): Change result to | |
1175 | "struct compunit_symtab *". All callers updated. | |
1176 | * macroscope.c (sal_macro_scope): Fetch macro table from compunit. | |
1177 | * macrotab.c (struct macro_table) <compunit_symtab>: Renamed from | |
1178 | comp_dir. Change type to "struct compunit_symtab *". | |
1179 | All uses updated. | |
1180 | (new_macro_table): Change comp_dir argument to cust, | |
1181 | "struct compunit_symtab *". All callers updated. | |
1182 | * maint.c (struct cmd_stats) <nr_compunit_symtabs>: Renamed from | |
1183 | nr_primary_symtabs. All uses updated. | |
1184 | (count_symtabs_and_blocks): Update to handle compunits. | |
1185 | (report_command_stats): Update output, "primary symtabs" renamed to | |
1186 | "compunits". | |
1187 | * mdebugread.c (new_symtab): Change result to | |
1188 | "struct compunit_symtab *". All callers updated. | |
1189 | (parse_procedure): Change type of search_symtab argument to | |
1190 | "struct compunit_symtab *". All callers updated. | |
1191 | * objfiles.c (objfile_relocate1): Loop over blockvectors in a | |
1192 | separate loop. | |
1193 | * objfiles.h (struct objfile) <compunit_symtabs>: Renamed from | |
1194 | symtabs. Change type to "struct compunit_symtab *". All uses updated. | |
1195 | (ALL_OBJFILE_FILETABS): Renamed from ALL_OBJFILE_SYMTABS. | |
1196 | All uses updated. | |
1197 | (ALL_OBJFILE_COMPUNITS): Renamed from ALL_OBJFILE_PRIMARY_SYMTABS. | |
1198 | All uses updated. | |
1199 | (ALL_FILETABS): Renamed from ALL_SYMTABS. All uses updated. | |
1200 | (ALL_COMPUNITS): Renamed from ALL_PRIMARY_SYMTABS. All uses updated. | |
1201 | * psympriv.h (struct partial_symtab) <compunit_symtab>: Renamed from | |
1202 | symtab. Change type to "struct compunit_symtab *". All uses updated. | |
1203 | * psymtab.c (psymtab_to_symtab): Change result type to | |
1204 | "struct compunit_symtab *". All callers updated. | |
1205 | (find_pc_sect_compunit_symtab_from_partial): Renamed from | |
1206 | find_pc_sect_symtab_from_partial. Change result type to | |
1207 | "struct compunit_symtab *". All callers updated. | |
1208 | (lookup_symbol_aux_psymtabs): Change result type to | |
1209 | "struct compunit_symtab *". All callers updated. | |
1210 | (find_last_source_symtab_from_partial): Ditto. | |
1211 | * python/py-symtab.c (stpy_get_producer): Fetch producer from compunit. | |
1212 | * source.c (forget_cached_source_info_for_objfile): Fetch debugformat | |
1213 | and macro_table from compunit. | |
1214 | * symfile-debug.c (debug_qf_find_last_source_symtab): Change result | |
1215 | type to "struct compunit_symtab *". All callers updated. | |
1216 | (debug_qf_lookup_symbol): Ditto. | |
1217 | (debug_qf_find_pc_sect_compunit_symtab): Renamed from | |
1218 | debug_qf_find_pc_sect_symtab, change result type to | |
1219 | "struct compunit_symtab *". All callers updated. | |
1220 | * symfile.c (allocate_symtab): Delete objfile argument. | |
1221 | New argument cust. | |
1222 | (allocate_compunit_symtab): New function. | |
1223 | (add_compunit_symtab_to_objfile): New function. | |
1224 | * symfile.h (struct quick_symbol_functions) <lookup_symbol>: | |
1225 | Change result type to "struct compunit_symtab *". All uses updated. | |
1226 | <find_pc_sect_compunit_symtab>: Renamed from find_pc_sect_symtab. | |
1227 | Change result type to "struct compunit_symtab *". All uses updated. | |
1228 | * symmisc.c (print_objfile_statistics): Compute blockvector count in | |
1229 | separate loop. | |
1230 | (dump_symtab_1): Update test for primary source symtab. | |
1231 | (maintenance_info_symtabs): Update to handle compunit symtabs. | |
1232 | (maintenance_check_symtabs): Ditto. | |
1233 | * symtab.c (set_primary_symtab): Delete. | |
1234 | (compunit_primary_filetab): New function. | |
1235 | (compunit_language): New function. | |
1236 | (iterate_over_some_symtabs): Change type of arguments "first", | |
1237 | "after_last" to "struct compunit_symtab *". All callers updated. | |
1238 | Update to loop over symtabs in each compunit. | |
1239 | (error_in_psymtab_expansion): Rename symtab argument to cust, | |
1240 | and change type to "struct compunit_symtab *". All callers updated. | |
1241 | (find_pc_sect_compunit_symtab): Renamed from find_pc_sect_symtab. | |
1242 | Change result type to "struct compunit_symtab *". All callers updated. | |
1243 | (find_pc_compunit_symtab): Renamed from find_pc_symtab. | |
1244 | Change result type to "struct compunit_symtab *". All callers updated. | |
1245 | (find_pc_sect_line): Only loop over symtabs within selected compunit | |
1246 | instead of all symtabs in the objfile. | |
1247 | * symtab.h (struct symtab) <blockvector>: Moved to compunit_symtab. | |
1248 | <compunit_symtab> New member. | |
1249 | <block_line_section>: Moved to compunit_symtab. | |
1250 | <locations_valid>: Ditto. | |
1251 | <epilogue_unwind_valid>: Ditto. | |
1252 | <macro_table>: Ditto. | |
1253 | <dirname>: Ditto. | |
1254 | <debugformat>: Ditto. | |
1255 | <producer>: Ditto. | |
1256 | <objfile>: Ditto. | |
1257 | <call_site_htab>: Ditto. | |
1258 | <includes>: Ditto. | |
1259 | <user>: Ditto. | |
1260 | <primary>: Delete | |
1261 | (SYMTAB_COMPUNIT): New macro. | |
1262 | (SYMTAB_BLOCKVECTOR): Update definition. | |
1263 | (SYMTAB_OBJFILE): Update definition. | |
1264 | (SYMTAB_DIRNAME): Update definition. | |
1265 | (struct compunit_symtab): New type. Common members among all source | |
1266 | symtabs within a compilation unit moved here. All uses updated. | |
1267 | (COMPUNIT_OBJFILE): New macro. | |
1268 | (COMPUNIT_FILETABS): New macro. | |
1269 | (COMPUNIT_DEBUGFORMAT): New macro. | |
1270 | (COMPUNIT_PRODUCER): New macro. | |
1271 | (COMPUNIT_DIRNAME): New macro. | |
1272 | (COMPUNIT_BLOCKVECTOR): New macro. | |
1273 | (COMPUNIT_BLOCK_LINE_SECTION): New macro. | |
1274 | (COMPUNIT_LOCATIONS_VALID): New macro. | |
1275 | (COMPUNIT_EPILOGUE_UNWIND_VALID): New macro. | |
1276 | (COMPUNIT_CALL_SITE_HTAB): New macro. | |
1277 | (COMPUNIT_MACRO_TABLE): New macro. | |
1278 | (ALL_COMPUNIT_FILETABS): New macro. | |
1279 | (compunit_symtab_ptr): New typedef. | |
1280 | (DEF_VEC_P (compunit_symtab_ptr)): New vector type. | |
1281 | ||
005e2509 JB |
1282 | 2014-11-20 Joel Brobecker <brobecker@adacore.com> |
1283 | ||
1284 | * ada-lang.c (ada_is_redundant_range_encoding): Return 0 | |
1285 | if the TYPE_CODE of range_type's base type does not match | |
1286 | the TYPE_CODE of encoding_type's base type. | |
1287 | ||
2b0f535a JB |
1288 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> |
1289 | ||
1290 | * ada-lang.c (ada_unqualified_name): Return DECODED_NAME if | |
1291 | it starts with '<'. | |
1292 | ||
8908fca5 JB |
1293 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> |
1294 | ||
1295 | * ada-lang.c (ada_is_redundant_range_encoding): New function. | |
1296 | (ada_is_redundant_index_type_desc): New function. | |
1297 | (to_fixed_array_type): Ignore parallel XA type if redundant. | |
1298 | ||
4a46959e JB |
1299 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> |
1300 | ||
1301 | * ada-lang.c (constrained_packed_array_type): Set the length | |
1302 | of the return array as if both bounds where zero if that | |
1303 | returned array's index type is dynamic. | |
1304 | ||
2acf986b YQ |
1305 | 2014-11-19 Yao Qi <yao@codesourcery.com> |
1306 | ||
1307 | * config/i386/go32.mh (CC): Remove. | |
1308 | ||
439247b6 DE |
1309 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1310 | ||
1311 | * symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses | |
1312 | updated. | |
1313 | ||
4d663531 DE |
1314 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1315 | ||
1316 | * buildsym.c (buildsym_objfile): New static global. | |
1317 | (buildsym_comp_dir): New static global. | |
1318 | (finish_block_internal): Delete arg objfile. All callers updated. | |
1319 | (finish_block): Delete arg objfile. All callers updated. | |
1320 | (start_subfile): Delete arg dirname. All callers updated. | |
1321 | (patch_subfile_names): Update buildsym_comp_dir. | |
1322 | (get_macro_table): Delete arg objfile. All callers updated. | |
1323 | (start_symtab): New arg objfile. All callers updated. | |
1324 | Rename arg dirname to comp_dir. | |
1325 | (reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir. | |
1326 | (end_symtab_get_static_block): Delete arg objfile. All callers | |
1327 | updated. | |
1328 | (end_symtab_without_blockvector): Ditto. | |
1329 | (end_symtab_with_blockvector): Ditto. | |
1330 | (end_symtab_from_static_block): Ditto. | |
1331 | (end_symtab): Ditto. | |
1332 | (end_expandable_symtab): Ditto. | |
1333 | (augment_type_symtab): Ditto. | |
1334 | * coffread.c (coff_start_symtab): New arg objfile. All callers | |
1335 | updated. | |
1336 | ||
8435453b DE |
1337 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1338 | ||
1339 | * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses | |
1340 | updated. | |
1341 | ||
ee6f8984 DE |
1342 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1343 | ||
1344 | * symtab.h (SYMTAB_DIRNAME): New macro. All uses of member | |
1345 | symtab.dirname updated to use it. | |
1346 | ||
eb822aa6 DE |
1347 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1348 | ||
1349 | * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member | |
1350 | symtab.objfile updated to use it. | |
1351 | ||
98387a29 DE |
1352 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1353 | ||
1354 | * buildsym.c (watch_main_source_file_lossage): Fix memory leak. | |
1355 | ||
aff08958 DE |
1356 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1357 | ||
1358 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use | |
1359 | SYMBOL_OBJFILE. | |
1360 | * findvar.c (default_read_var_value): Ditto. | |
1361 | * jv-lang.c (add_class_symtab_symbol): Ditto. | |
1362 | * parse.c (operator_check_standard): Ditto. | |
1363 | * printcmd.c (address_info): Ditto. | |
1364 | * symtab.c (fixup_symbol_section): Ditto. | |
1365 | (skip_prologue_sal): Ditto. | |
1366 | * tracepoint.c (scope_info): Ditto. | |
1367 | * valops.c (find_function_in_inferior): Ditto. | |
1368 | * guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto. | |
1369 | * python/py-symbol.c (set_symbol): Ditto. | |
1370 | ||
7bab9b58 DE |
1371 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1372 | ||
1373 | * buildsym.c (main_subfile): New static global. | |
1374 | (free_subfiles_list): New function. | |
1375 | (start_symtab): Set main_subfile. | |
1376 | (restart_symtab): Replace init of subfiles, current_subfile with | |
1377 | call to free_subfiles_list. | |
1378 | (watch_main_source_file_lossage): Use main_subfile. | |
1379 | (reset_symtab_globals): Replace init of current_subfile with call | |
1380 | to free_subfiles_list. | |
1381 | (end_symtab_without_blockvector, end_symtab_with_blockvector): New | |
1382 | functions, split out from ... | |
1383 | (end_symtab_from_static_block): ... here. Rewrite to call them. | |
1384 | ||
f194fefb DE |
1385 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1386 | ||
1387 | The result of symtab expansion is always a primary symtab. | |
1388 | * dwarf2read.c (dw2_instantiate_symtab): Add assert. | |
1389 | (dw2_lookup_symbol): Remove unnecessary test for primary symbol table. | |
1390 | * psymtab.c (lookup_symbol_aux_psymtabs): Ditto. | |
1391 | (psymtab_to_symtab): Add comment and assert. | |
1392 | (map_matching_symbols_psymtab): Remove unnecessary test for | |
1393 | non-primary symtab. | |
1394 | ||
34248c3a DE |
1395 | 2014-11-15 Doug Evans <xdje42@gmail.com> |
1396 | ||
1397 | PR symtab/17559 | |
1398 | * symtab.c (find_pc_line_symtab): New function. | |
1399 | * symtab.h (find_pc_line_symtab): Declare. | |
1400 | * disasm.c (gdb_disassembly): Call find_pc_line_symtab instead of | |
1401 | find_pc_symtab. | |
1402 | * tui/tui-disasm.c (tui_set_disassem_content): Ditto. | |
1403 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Ditto. | |
1404 | * tui/tui-source.c (tui_vertical_source_scroll): Ditto. | |
1405 | * tui/tui-win.c (make_visible_with_new_height): Ditto. | |
1406 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Ditto. | |
1407 | (tui_display_main): Call find_pc_line_symtab instead of find_pc_line. | |
1408 | ||
2097ae25 DE |
1409 | 2014-11-15 Doug Evans <xdje42@gmail.com> |
1410 | ||
1411 | * symtab.c (expand_symtab_containing_pc): Renamed from | |
1412 | find_pc_sect_symtab_via_partial. All callers updated. | |
1413 | ||
1ada499f YQ |
1414 | 2014-11-15 Yao Qi <yao@codesourcery.com> |
1415 | ||
1416 | * go32-nat.c (go32_create_inferior): Add missing parenthesis. | |
1417 | ||
355e2102 JB |
1418 | 2014-11-14 Joel Brobecker <brobecker@adacore.com> |
1419 | ||
1420 | * common/common-defs.h: Move <stdarg.h> #include ahead of | |
1421 | <stdio.h> #include. | |
1422 | ||
83030110 PA |
1423 | 2014-11-14 Pedro Alves <palves@redhat.com> |
1424 | ||
1425 | * charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define. | |
1426 | [!PHONY_ICONV] (gdb_iconv): New function. | |
1427 | [!PHONY_ICONV] (iconv): Redefine to gdb_iconv. | |
1428 | ||
a8719064 DE |
1429 | 2014-11-13 Doug Evans <dje@google.com> |
1430 | ||
1431 | PR symtab/17591 | |
1432 | * dwarf2read.c (find_slot_in_mapped_hash): Handle | |
1433 | "(anonymous namespace)". | |
1434 | ||
60f7655a DE |
1435 | 2014-11-13 Doug Evans <dje@google.com> |
1436 | ||
1437 | * dwarf2read.c (update_enumeration_type_from_children): Avoid | |
1438 | infinite loop. | |
1439 | ||
5784b3ca JK |
1440 | 2014-11-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
1441 | ||
1442 | * NEWS (maint set target-async): Fix typo. | |
1443 | ||
6218dc4b PA |
1444 | 2014-11-12 Pedro Alves <palves@redhat.com> |
1445 | ||
1446 | * infrun.c (enum infwait_states, infwait_state): Delete. | |
1447 | ||
af48d08f PA |
1448 | 2014-11-12 Pedro Alves <palves@redhat.com> |
1449 | ||
1450 | * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag. | |
1451 | Rewrite stepping over a permanent breakpoint. | |
1452 | (thread_still_needs_step_over, proceed): Don't set | |
1453 | stepping_over_breakpoint for permanent breakpoints. | |
1454 | (handle_signal_stop): Don't clear stepped_breakpoint. Also pull | |
1455 | single-step breakpoints out of the target on hardware step | |
1456 | targets. | |
1457 | (process_event_stop_test): If stepping a permanent breakpoint | |
1458 | doesn't hit the step-resume breakpoint, delete the step-resume | |
1459 | breakpoint. | |
1460 | (switch_back_to_stepped_thread): Also check if the stepped thread | |
1461 | has advanced already on hardware step targets. | |
1462 | (currently_stepping): Return true if the thread stepped a | |
1463 | breakpoint. | |
1464 | ||
1a853c52 PA |
1465 | 2014-11-12 Pedro Alves <palves@redhat.com> |
1466 | ||
1467 | Mark locations as permanent, not the whole breakpoint. | |
1468 | * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust. | |
1469 | (mark_breakpoints_out): Don't mark permanent breakpoints as | |
1470 | uninserted. | |
1471 | (breakpoint_init_inferior): Use mark_breakpoints_out. | |
1472 | (breakpoint_here_p): Adjust. | |
1473 | (bpstat_stop_status, describe_other_breakpoints): Remove handling | |
1474 | of permanent breakpoints. | |
1475 | (make_breakpoint_permanent): Mark each location as permanent, | |
1476 | instead of marking the breakpoint. | |
1477 | (add_location_to_breakpoint): If the location is permanent, mark | |
1478 | it as such, and as inserted. | |
1479 | (init_breakpoint_sal): Don't make the breakpoint permanent here. | |
1480 | (bp_location_compare, update_global_location_list): Adjust. | |
1481 | (update_breakpoint_locations): Don't make the breakpoint permanent | |
1482 | here. | |
1483 | (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent | |
1484 | breakpoints. | |
1485 | * breakpoint.h (enum enable_state) <bp_permanent>: Delete field. | |
1486 | (struct bp_location) <permanent>: New field. | |
1487 | * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove | |
1488 | reference to bp_permanent. | |
1489 | ||
ae9bb220 PA |
1490 | 2014-11-12 Pedro Alves <palves@redhat.com> |
1491 | ||
1492 | * arch-utils.c (default_skip_permanent_breakpoint): New function. | |
1493 | * arch-utils.h (default_skip_permanent_breakpoint): New | |
1494 | declaration. | |
1495 | * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function. | |
1496 | Install default_skip_permanent_breakpoint as default method. | |
1497 | * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function. | |
1498 | (i386_gdbarch_init): Don't install it. | |
1499 | * infrun.c (resume): Assume there's always a | |
1500 | gdbarch_skip_permanent_breakpoint implementation. | |
1501 | * gdbarch.h, gdbarch.c: Regenerate. | |
1502 | ||
015de688 DC |
1503 | 2014-11-11 Daniel Colascione <dancol@dancol.org> |
1504 | ||
1505 | Warn about cross-PID-namespace debugging. | |
1506 | * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype. | |
1507 | * nat/linux-procfs.c (linux_proc_pid_get_ns): New function. | |
1508 | * linux-thread-db.c (check_pid_namespace_match): New function. | |
1509 | (thread_db_inferior_created): Call it. | |
1510 | ||
26a84859 DE |
1511 | 2014-11-10 Doug Evans <xdje42@gmail.com> |
1512 | ||
1513 | * symmisc.c (print_objfile_statistics): Remove trailing whitespace. | |
1514 | (maintenance_info_symtabs, maintenance_check_symtabs): Ditto. | |
1515 | ||
712a2e6d DE |
1516 | 2014-11-10 Doug Evans <xdje42@gmail.com> |
1517 | ||
1518 | * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS. | |
1519 | ||
af3768e9 DE |
1520 | 2014-11-10 Doug Evans <xdje42@gmail.com> |
1521 | ||
1522 | PR symtab/17564 | |
1523 | * symtab.c (lookup_symbol_in_all_objfiles): Delete. | |
1524 | (lookup_static_symbol): Move definition to new location and rewrite. | |
1525 | (lookup_symbol_in_objfile): New function. | |
1526 | (lookup_symbol_global_iterator_cb): Call it. | |
1527 | ||
b1f28d99 UW |
1528 | 2014-11-10 Ulrich Weigand <uweigand@de.ibm.com> |
1529 | ||
1530 | * eval.c (evaluate_subexp_standard): Work around GCC bug 63748. | |
1531 | ||
b7a084be PA |
1532 | 2014-11-07 Pedro Alves <palves@redhat.com> |
1533 | ||
1534 | * infrun.c (process_event_stop_test) <subroutine check>: Don't | |
1535 | check if we did a "nexti" inside a prologue. | |
1536 | * symtab.c (in_prologue): Delete function. | |
1537 | * symtab.h (in_prologue): Delete declaration. | |
1538 | ||
67be31e5 DE |
1539 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1540 | ||
1541 | * symtab.h (lookup_global_symbol): Improve function comment. | |
1542 | ||
08724ab7 DE |
1543 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1544 | ||
1545 | * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global. | |
1546 | All callers updated. | |
1547 | * symtab.h (lookup_global_symbol): Update decl. | |
1548 | (lookup_static_symbol): Move decl to better location. | |
1549 | ||
d9060ba6 DE |
1550 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1551 | ||
1552 | * symtab.c (basic_lookup_symbol_nonlocal): Add comment. | |
1553 | ||
74016e12 DE |
1554 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1555 | ||
1556 | * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local. | |
1557 | All callers updated. | |
1558 | (lookup_symbol_in_all_objfiles): Renamed from | |
1559 | lookup_symbol_aux_symtabs. All callers updated. | |
1560 | (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick. | |
1561 | All callers updated. | |
1562 | (lookup_symbol_in_objfile_symtabs): Renamed from | |
1563 | lookup_symbol_aux_objfile. All callers updated. | |
1564 | ||
d1a2d36d DE |
1565 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1566 | ||
1567 | * symtab.c (lookup_symbol_in_block): Renamed from | |
1568 | lookup_symbol_aux_block. All callers updated. | |
1569 | ||
24d864bb DE |
1570 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1571 | ||
1572 | * symtab.c (lookup_static_symbol): Renamed from | |
1573 | lookup_static_symbol_aux. All callers updated. | |
1574 | (lookup_symbol_in_static_block): Renamed from lookup_symbol_static. | |
1575 | All callers updated. | |
1576 | ||
358d6ab3 DE |
1577 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1578 | ||
1579 | * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro. | |
1580 | * block.c (block_lookup_symbol): Use it. | |
1581 | * cp-support.c (make_symbol_overload_list_block): Use it. | |
1582 | * symtab.c (iterate_over_symbols): Use it. | |
1583 | ||
16b2eaa1 DE |
1584 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1585 | ||
1586 | * symtab.c (lookup_block_symbol): Moved to ... | |
1587 | * block.c (block_lookup_symbol): ... here and renamed. | |
1588 | All callers updated. | |
1589 | * block.h (block_lookup_symbol): Declare. | |
1590 | * symtab.h (lookup_block_symbol): Delete. | |
1591 | ||
2dd2cd1c DE |
1592 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1593 | ||
1594 | * ada-lang.c (ada_make_symbol_completion_list): Use | |
1595 | ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS. | |
1596 | * symtab.c (lookup_objfile_from_block): Ditto. | |
1597 | ||
d4c58915 DE |
1598 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1599 | ||
1600 | * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use | |
1601 | TYPE_CODE_STRUCT. | |
1602 | ||
9c1877ea DE |
1603 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1604 | ||
1605 | * objfiles.c (get_objfile_arch): Constify. | |
1606 | * objfiles.h (get_objfile_arch): Update prototype. | |
1607 | * solib.c (solib_global_lookup): Fetch arch from objfile, | |
1608 | not target_gdbarch. | |
1609 | ||
426a4079 SL |
1610 | 2014-11-06 Sandra Loosemore <sandra@codesourcery.com> |
1611 | ||
1612 | * nios2-tdep.c (wild_insn): Delete. | |
1613 | (profiler_insn, irqentry_insn): Delete. | |
1614 | (nios2_match_sequence): Delete. | |
1615 | (nios2_analyze_prologue): Update comments. Remove matching | |
1616 | of obsolete profiler_insn and irqentry_insn sequences. | |
1617 | ||
ee11262d AM |
1618 | 2014-11-05 Alan Modra <amodra@gmail.com> |
1619 | ||
1620 | * charset.c (convert_between_encodings): Shrink obstack using | |
1621 | obstack_blank_fast. | |
1622 | * minsyms.c (install_minimal_symbols): Likewise. | |
1ae1b8cc AM |
1623 | * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free |
1624 | to char* before doing pointer arithmetic. | |
ee11262d | 1625 | |
c87e6d00 SM |
1626 | 2014-11-04 Simon Marchi <simon.marchi@ericsson.com> |
1627 | ||
1628 | * tui/tui.c (tui_enable): Pass stdout and stdin to newterm. | |
1629 | ||
441ef17f PA |
1630 | 2014-11-04 Pedro Alves <palves@redhat.com> |
1631 | ||
1632 | * breakpoint.c (breakpoint_thread_match): Delete function. | |
1633 | * breakpoint.h (breakpoint_thread_match): Delete declaration. | |
1634 | ||
e0f52461 SC |
1635 | 2014-11-03 Siva Chandra Reddy <sivachandra@google.com> |
1636 | ||
1637 | PR c++/17494 | |
1638 | * eval.c (evaluate_subexp_standard): Evaluate the "object" and | |
1639 | the method args also under EVAL_SKIP when evaluating method | |
1640 | calls under EVAL_SKIP. | |
1641 | ||
a0b4d890 YQ |
1642 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> |
1643 | ||
1644 | * dwarf2loc.c (read_pieced_value): Do big endian | |
1645 | processing only if gdb_regnum is not -1. | |
1646 | (write_pieced_value): Ditto. | |
1647 | ||
1648 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> | |
1649 | ||
1650 | * arm-linux-tdep.c (arm_linux_init_abi): Use | |
1651 | info.byte_order_for_code to choose endianity of breakpoint | |
1652 | instructions snippets. | |
1653 | ||
1654 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> | |
1655 | ||
1656 | * arm-tdep.c (extract_arm_insn): Use | |
1657 | gdbarch_byte_order_for_code to read arm instruction. | |
1658 | ||
e82149ff DE |
1659 | 2014-11-02 Doug Evans <xdje42@gmail.com> |
1660 | ||
1661 | * mdebugread.c (parse_procedure): Delete unnecessary forward decl. | |
1662 | ||
d7ee84f1 DE |
1663 | 2014-11-02 Doug Evans <xdje42@gmail.com> |
1664 | ||
1665 | * xcoffread.c (process_linenos): Delete unnecessary zeroing of | |
1666 | main_subfile before returning. | |
1667 | ||
4f072d17 DE |
1668 | 2014-10-31 Doug Evans <xdje42@gmail.com> |
1669 | ||
1670 | * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused. | |
1671 | (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto. | |
1672 | ||
8301c89e DE |
1673 | 2014-10-31 Doug Evans <xdje42@gmail.com> |
1674 | ||
1675 | * valops.c (value_cast_pointers): Fix whitespace. | |
1676 | (typecmp, search_struct_method, value_struct_elt, find_oload_champ): | |
1677 | Ditto. | |
1678 | ||
02be9a71 DE |
1679 | 2014-10-30 Doug Evans <dje@google.com> |
1680 | ||
1681 | * NEWS: Mention ability add attributes to gdb.Objfile and | |
1682 | gdb.Progspace objects. | |
1683 | * python/py-objfile.c (objfile_object): New member dict. | |
1684 | (objfpy_dealloc): Py_XDECREF dict. | |
1685 | (objfpy_initialize): Initialize dict. | |
1686 | (objfile_getset): Add __dict__. | |
1687 | (objfile_object_type): Set tp_dictoffset member. | |
1688 | * python/py-progspace.c (progspace_object): New member dict. | |
1689 | (pspy_dealloc): Py_XDECREF dict. | |
1690 | (pspy_initialize): Initialize dict. | |
1691 | (pspace_getset): Add __dict__. | |
1692 | (pspace_object_type): Set tp_dictoffset member. | |
1693 | ||
6427bef6 YQ |
1694 | 2014-10-30 Yao Qi <yao@codesourcery.com> |
1695 | ||
1696 | * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't | |
1697 | replace '\\' with '\\\\'. | |
1698 | ||
f60325be JB |
1699 | 2014-10-29 Joel Brobecker <brobecker@adacore.com> |
1700 | ||
1701 | GDB 7.8.1 released. | |
1702 | ||
ab917dfb PA |
1703 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1704 | ||
1705 | PR gdb/17408 | |
1706 | * infrun.c (switch_back_to_stepped_thread): Use currently_stepping | |
1707 | instead of assuming a thread with a stepping range is always | |
1708 | stepping. | |
1709 | ||
d3d4baed PA |
1710 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1711 | ||
1712 | PR python/17372 | |
1713 | * event-top.c (change_line_handler): Call | |
1714 | gdb_rl_callback_handler_remove instead of | |
1715 | rl_callback_handler_remove. | |
1716 | (callback_handler_installed): New global. | |
1717 | (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install) | |
1718 | (gdb_rl_callback_handler_reinstall): New functions. | |
1719 | (display_gdb_prompt): Call gdb_rl_callback_handler_remove and | |
1720 | gdb_rl_callback_handler_install instead of | |
1721 | rl_callback_handler_remove and rl_callback_handler_install. | |
1722 | (gdb_disable_readline): Call gdb_rl_callback_handler_remove | |
1723 | instead of rl_callback_handler_remove. | |
1724 | * event-top.h (gdb_rl_callback_handler_remove) | |
1725 | (gdb_rl_callback_handler_install) | |
1726 | (gdb_rl_callback_handler_reinstall): New declarations. | |
1727 | * infrun.c (reinstall_readline_callback_handler_cleanup): New | |
1728 | cleanup function. | |
1729 | (fetch_inferior_event): Install it. | |
1730 | * top.c (gdb_readline_wrapper_line) Call | |
1731 | gdb_rl_callback_handler_remove instead of | |
1732 | rl_callback_handler_remove. | |
1733 | (gdb_readline_wrapper_cleanup): Don't call | |
1734 | rl_callback_handler_install. | |
1735 | ||
6e5d7f39 PA |
1736 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1737 | ||
1738 | * event-top.c (command_line_handler): Clear the first byte of | |
1739 | linebuffer, when it is first allocated. | |
1740 | ||
551cb6a5 PA |
1741 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1742 | ||
1743 | * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in | |
1744 | TRY_CATCH. | |
1745 | ||
1e1e619b PA |
1746 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1747 | ||
1748 | PR tui/16138 | |
1749 | PR tui/17519 | |
1750 | * tui/tui-interp.c (tui_is_toplevel): Delete global. | |
1751 | (tui_allowed_p): Delete function. | |
1752 | * tui/tui.c: Include "interps.h". | |
1753 | (tui_enable): Don't use tui_allowed_p. Error out here with | |
1754 | detailed error messages if the TUI is the top level interpreter, | |
1755 | or if output is not a terminal. Use newterm instead of initscr, | |
1756 | and error out if initializing the terminal fails. Also error out if | |
1757 | the terminal doesn't support cursor addressing. | |
1758 | * tui/tui.h (tui_allowed_p): Delete declaration. | |
1759 | ||
6041179a JB |
1760 | 2014-10-29 Joel Brobecker <brobecker@adacore.com> |
1761 | ||
1762 | * arm-tdep.c (arm_skip_stack_protector): Return early if | |
1763 | address loaded by first "ldr" instruction does not have | |
1764 | a corresponding minimal symbol. Update comment. | |
1765 | ||
6ae274b7 YQ |
1766 | 2014-10-29 Yao Qi <yao@codesourcery.com> |
1767 | ||
1768 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the | |
1769 | loaded address correctly of ldr instruction. | |
1770 | ||
7f5ef605 PA |
1771 | 2014-10-28 Pedro Alves <palves@redhat.com> |
1772 | ||
1773 | PR gdb/12623 | |
1774 | * gdbthread.h (struct thread_info) <stepped_breakpoint>: New | |
1775 | field. | |
1776 | * infrun.c (resume) <stepping breakpoint instruction>: Set the | |
1777 | thread's stepped_breakpoint field. Skip if reverse debugging. | |
1778 | Add comment. | |
1779 | (init_thread_stepping_state, handle_signal_stop): Clear the | |
1780 | thread's stepped_breakpoint field. | |
1781 | ||
7d1a114c PA |
1782 | 2014-10-27 Pedro Alves <palves@redhat.com> |
1783 | ||
1784 | * remote.c (remote_thread_alive): New, factored out from ... | |
1785 | (remote_thread_alive): ... this. | |
1786 | (remote_update_thread_list): Bail out before deleting threads if | |
1787 | the target returned an empty list, and, the current thread has a | |
1788 | magic/fake ptid. | |
1789 | ||
e5f8a7cc PA |
1790 | 2014-10-27 Pedro Alves <palves@redhat.com> |
1791 | ||
1792 | * infrun.c (handle_signal_stop): Also skip handlers when a random | |
1793 | signal arrives while handling a "stepi" or a "nexti". Set the | |
1794 | thread's 'step_after_step_resume_breakpoint' flag. | |
1795 | ||
71e396f9 LM |
1796 | 2014-10-27 Luis Machado <lgustavo@codesourcery.com> |
1797 | ||
1798 | * arm-tdep.c (INSN_S_L_BIT_NUM): Document. | |
1799 | (arm_record_ld_st_imm_offset): Reimplement to cover all | |
1800 | load/store cases for ARM opcode 010. | |
1801 | (arm_record_ld_st_multiple): Reimplement to cover all | |
1802 | load/store cases for ARM opcode 100. | |
1803 | ||
3aee438b DE |
1804 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1805 | ||
1806 | * symtab.c (lookup_symbol_aux_local): Fix typo in comment. | |
1807 | ||
f88cb4b6 DE |
1808 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1809 | ||
1810 | * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename | |
1811 | parameter "kind" to "block_index". | |
1812 | * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to | |
1813 | "block_index". | |
1814 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto. | |
1815 | ||
a023a30f DE |
1816 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1817 | ||
1818 | * block.h (ALL_BLOCK_SYMBOLS): Fix comment. | |
1819 | ||
4c35218e DE |
1820 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1821 | ||
1822 | * block.c (allocate_block): Use OBSTACK_ZALLOC instead of | |
1823 | obstack_alloc. | |
1824 | ||
f08e8df3 DE |
1825 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1826 | ||
1827 | * parser-defs.h (block_found): Move decl from here ... | |
1828 | * symtab.h (block_found): ... to here. | |
1829 | ||
cf901d3b DE |
1830 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1831 | ||
1832 | * symtab.h (struct field_of_this_result): Fix typo in comment. | |
1833 | (lookup_symbol_in_language): Move function comment here. | |
1834 | (lookup_symbol): Improve function comment. | |
1835 | (basic_lookup_symbol_nonlocal): Ditto. | |
1836 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
1837 | (lookup_symbol_aux_block): Ditto. | |
1838 | (lookup_language_this): Add function comment. | |
1839 | (lookup_static_symbol_aux): Explicitly mark as extern. Improve | |
1840 | function comment. | |
1841 | (lookup_block_symbol): Improve function comment. | |
1842 | (lookup_struct): Fix capitalization in function comment. | |
1843 | (lookup_transparent_type): Add function comment. | |
1844 | (lookup_global_symbol_from_objfile): Explicitly mark as extern. | |
1845 | Improve function comment. | |
1846 | (lookup_objfile_from_block): Add function comment. | |
1847 | * symtab.c (lookup_symbol_in_language): Update function comment. | |
1848 | (lookup_symbol, lookup_language_this): Ditto. | |
1849 | (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto. | |
1850 | (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto. | |
1851 | (basic_lookup_symbol_nonlocal): Ditto. | |
1852 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
1853 | (lookup_transparent_type, lookup_block_symbol): Ditto. | |
1854 | ||
ff6c39cf DE |
1855 | 2014-10-25 Doug Evans <xdje42@gmail.com> |
1856 | ||
1857 | * symtab.c (types_info): Delete forward decl. | |
1858 | (functions_info, variables_info, sources_info): Ditto. | |
1859 | (_initialize_symtab): Rewrite forward decl to use | |
1860 | initialize_file_ftype. | |
1861 | ||
ec201f0c DE |
1862 | 2014-10-25 Doug Evans <xdje42@gmail.com> |
1863 | ||
1864 | * symtab.c (lookup_symbol_aux_quick): Set block_found upon success. | |
1865 | ||
ca040673 DE |
1866 | 2014-10-25 Doug Evans <xdje42@gmail.com> |
1867 | ||
1868 | * dwarf2read.c (process_structure_scope): Remove second (nested) copy | |
1869 | of local var child_die. | |
1870 | ||
6f259a23 DB |
1871 | 2014-10-24 Don Breazeal <donb@codesourcery.com> |
1872 | ||
1873 | * infrun.c (follow_fork_inferior): Update fork message printing | |
1874 | to use target_terminal_ours_for_output instead of | |
1875 | target_terminal_ours, to use _() for all format strings, to print | |
1876 | "vfork" instead of "fork" for vforks, and to add a detach message. | |
1877 | (handle_vfork_child_exec_or_exit): Update message printing to use | |
1878 | target_terminal_ours_for_output instead of target_terminal_ours, to | |
1879 | use _() for all format strings, and to fix some formatting. | |
1880 | ||
09dd9a69 PA |
1881 | 2014-10-24 Pedro Alves <palves@redhat.com> |
1882 | ||
1883 | * Makefile.in (ALLDEPFILES): Remove vax-nat.c. | |
1884 | * NEWS (Removed targets): Add VAX BSD and VAX Ultrix. | |
1885 | * config/vax/vax.mh: Delete. | |
1886 | * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the | |
1887 | obsolete configurations section. | |
1888 | * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix. | |
1889 | * vax-nat.c: Delete file. | |
1890 | ||
5ab806de PA |
1891 | 2014-10-24 Pedro Alves <palves@redhat.com> |
1892 | ||
1893 | * NEWS (Removed targets): Add OS/arch column. | |
1894 | ||
3433cfa5 SC |
1895 | 2014-10-24 Siva Chandra Reddy <sivachandra@google.com> |
1896 | ||
1897 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE | |
1898 | on the arg type of a constructor only if it is of reference type. | |
1899 | ||
96ba4233 SL |
1900 | 2014-10-23 Sandra Loosemore <sandra@codesourcery.com> |
1901 | ||
1902 | * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field | |
1903 | accessors and constants from nios2 opcodes update. | |
1904 | (nios2_get_next_pc): Likewise. | |
1905 | ||
28153fd3 DE |
1906 | 2014-10-19 Doug Evans <xdje42@gmail.com> |
1907 | ||
1908 | * gdbthread.h (set_running): Fix comment. | |
1909 | (set_executing, finish_thread_state): Fix comment. | |
1910 | ||
fc9b8e47 DE |
1911 | 2014-10-18 Doug Evans <xdje42@gmail.com> |
1912 | ||
1913 | * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static. | |
1914 | ||
4ffbba72 DE |
1915 | 2014-10-17 Doug Evans <dje@google.com> |
1916 | ||
1917 | * NEWS: Mention new event gdb.clear_objfiles. | |
1918 | * python/py-event.h (emit_clear_objfiles_event): Clear | |
1919 | * python/py-events.h (events_object): New member clear_objfiles. | |
1920 | * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles | |
1921 | event. | |
1922 | * python/py-inferior.c (python_new_objfile): If objfile is NULL, | |
1923 | emit clear_objfiles event. | |
1924 | * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New | |
1925 | function. | |
1926 | (emit_clear_objfiles_event): New function. | |
1927 | (clear_objfiles): New event. | |
1928 | * python/python-internal.h (gdbpy_initialize_clear_objfiles_event): | |
1929 | Declare. | |
1930 | * python/python.c (_initialize_python): Call | |
1931 | gdbpy_initialize_clear_objfiles_event. | |
1932 | ||
d096d8c1 DE |
1933 | 2014-10-17 Doug Evans <dje@google.com> |
1934 | ||
1935 | * NEWS: Mention new gdb.Objfile.progspace attribute. | |
1936 | * python/py-objfile.c (objfpy_get_progspace): New function. | |
1937 | (objfile_getset): New entry for "progspace". | |
1938 | ||
6c4486e6 PA |
1939 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1940 | ||
1941 | PR gdb/17471 | |
1942 | * infcmd.c (strip_bg_char): Change prototype and rewrite. Now | |
1943 | returns a copy of the input. | |
1944 | (run_command_1, continue_command, step_1, jump_command) | |
1945 | (signal_command, until_command, advance_command, finish_command) | |
1946 | (attach_command): Adjust and install a cleanup to free the | |
1947 | stripped args. | |
1948 | ||
0ff33695 PA |
1949 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1950 | ||
1951 | PR gdb/17300 | |
1952 | * infcmd.c (continue_1): If continuing all threads in the | |
1953 | foreground, make sure the inferior's terminal settings are put in | |
1954 | effect. | |
1955 | ||
6fdebc3d PA |
1956 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1957 | ||
1958 | PR gdb/17472 | |
1959 | * annotate.c (annotate_breakpoints_invalid): Use | |
1960 | target_terminal_our_for_output instead of target_terminal_ours. | |
1961 | Give back the terminal to the target. | |
1962 | (annotate_frames_invalid): Likewise. | |
1963 | ||
5842f62a PA |
1964 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1965 | ||
1966 | * target.c (enum terminal_state): New enum. | |
1967 | (terminal_state): New global. | |
1968 | (target_terminal_init): New function. | |
1969 | (target_terminal_inferior): Skip if inferior already owns the | |
1970 | terminal. | |
1971 | (target_terminal_ours, target_terminal_ours_for_output): New | |
1972 | functions. | |
1973 | * target.h (target_terminal_init): Convert to function prototype. | |
1974 | (target_terminal_ours_for_output): Convert to function prototype | |
1975 | and tweak comment. | |
1976 | (target_terminal_ours): Convert to function prototype and tweak | |
1977 | comment. | |
1978 | * windows-nat.c (do_initial_windows_stuff): Call | |
1979 | target_terminal_init instead of child_terminal_init_with_pgrp. | |
1980 | ||
32a8097b PA |
1981 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1982 | ||
1983 | * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o. | |
1984 | (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h. | |
1985 | (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and | |
1986 | solib-osf.c. | |
1987 | * NEWS: Mention that support for alpha*-*-osf* has been removed. | |
1988 | * ada-lang.h [__alpha__ && __osf__] | |
1989 | (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete. | |
1990 | * alpha-nat.c, alpha-osf1-tdep.c: Delete files. | |
1991 | * alpha-tdep.c (alpha_gdbarch_init): Remove reference to | |
1992 | GDB_OSABI_OSF1. | |
1993 | * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete | |
1994 | files. | |
1995 | * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh) | |
1996 | (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete. | |
1997 | * configure: Regenerate. | |
1998 | * configure.ac: Remove references to osf. | |
1999 | * configure.host: Handle alpha*-*-osf* in the obsolete hosts | |
2000 | section. Remove all other references to osf. | |
2001 | * configure.tgt: Add alpha*-*-osf* to the obsolete targets section. | |
2002 | Remove all other references to osf. | |
2003 | * dec-thread.c: Delete file. | |
2004 | * defs.h (GDB_OSABI_OSF1): Delete. | |
2005 | * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally | |
2006 | defined. | |
2007 | * osabi.c (gdb_osabi_names): Delete "OSF/1". | |
2008 | * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]: | |
2009 | Delete code. | |
2010 | (unconditionally_kill_inferior) | |
2011 | [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code. | |
2012 | * solib-osf.c: Delete file. | |
2013 | ||
80134cf5 PA |
2014 | 2014-10-17 Pedro Alves <palves@redhat.com> |
2015 | ||
2016 | * remote.c (clear_threads_listing_context): Move higher up, out of | |
2017 | the HAVE_LIBEXPAT guard. | |
2018 | ||
89c7137f TG |
2019 | 2014-10-16 Tristan Gingold <gingold@adacore.com> |
2020 | ||
2021 | * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers) | |
2022 | (i386_darwin_store_inferior_registers): Sanitize gs and fs values | |
2023 | on amd64. | |
2024 | ||
44ee4a52 PA |
2025 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2026 | ||
2027 | * dec-thread.c (dec_thread_count_gdb_threads) | |
2028 | (dec_thread_add_gdb_thread): Delete. | |
2029 | (dec_thread_update_thread_list): Delete. | |
2030 | (dec_thread_find_new_threads): Rename to ... | |
2031 | (dec_thread_update_thread_list): ... this. Delete GDB-size | |
2032 | threads that are no longer found in dec_thread_list. | |
2033 | (resync_thread_list): Delete. | |
2034 | (dec_thread_wait): Call dec_thread_update_thread_list instead of | |
2035 | resync_thread_list. | |
2036 | ||
ab970af1 PA |
2037 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2038 | ||
2039 | * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro. | |
2040 | * remote.c (remote_update_thread_list): Skip calling prune_threads | |
2041 | if any thread listing method is supported, and instead walk over | |
2042 | the set of remote threads listed, deleting those that are not | |
2043 | found in GDB's thread list. | |
2044 | ||
e8032dde PA |
2045 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2046 | ||
2047 | * ada-tasks.c (print_ada_task_info, task_command_1): Adjust. | |
2048 | * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ... | |
2049 | (bsd_uthread_update_thread_list): ... this. Call prune_threads. | |
2050 | (bsd_uthread_target): Adjust. | |
2051 | * corelow.c (core_open): Adjust. | |
2052 | * dec-thread.c (dec_thread_find_new_threads): Update comment. | |
2053 | (dec_thread_update_thread_list): New function. | |
2054 | (init_dec_thread_ops): Adjust. | |
2055 | * gdbthread.h (prune_threads): New declaration. | |
2056 | * linux-thread-db.c (thread_db_find_new_threads): Rename to ... | |
2057 | (thread_db_update_thread_list): ... this. Call prune_threads. | |
2058 | (init_thread_db_ops): Adjust. | |
2059 | * nto-procfs.c (procfs_find_new_threads): Rename to ... | |
2060 | (procfs_update_thread_list): ... this. Call prune_threads. | |
2061 | (procfs_attach, procfs_create_inferior, init_procfs_targets): | |
2062 | Adjust. | |
2063 | * obsd-nat.c (obsd_find_new_threads): Rename to ... | |
2064 | (obsd_update_thread_list): ... this. Call prune_threads. | |
2065 | (obsd_add_target): Adjust. | |
2066 | * procfs.c (procfs_target): Adjust. | |
2067 | (procfs_notice_thread): Update comment. | |
2068 | (procfs_find_new_threads): Rename to ... | |
2069 | (procfs_update_thread_list): ... this. Call prune_threads. | |
2070 | * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update | |
2071 | comment. | |
2072 | (ravenscar_wait): Adjust. | |
2073 | (ravenscar_find_new_threads): Rename to ... | |
2074 | (ravenscar_update_thread_list): ... this. Call prune_threads. | |
2075 | (init_ravenscar_thread_ops): Adjust. | |
2076 | * record-btrace.c (record_btrace_find_new_threads): Rename to ... | |
2077 | (record_btrace_update_thread_list): ... this. Adjust comment. | |
2078 | (init_record_btrace_ops): Adjust. | |
2079 | * remote.c (remote_threads_info): Rename to ... | |
2080 | (remote_update_thread_list): ... this. Call prune_threads. | |
2081 | (remote_start_remote, extended_remote_attach_1, init_remote_ops): | |
2082 | Adjust. | |
2083 | * sol-thread.c (check_for_thread_db): Adjust. | |
2084 | (sol_find_new_threads_callback): Rename to ... | |
2085 | (sol_update_thread_list_callback): ... this. | |
2086 | (sol_find_new_threads): Rename to ... | |
2087 | (sol_update_thread_list): ... this. Call prune_threads. Adjust. | |
2088 | (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust. | |
2089 | * target-delegates.c: Regenerate. | |
2090 | * target.c (target_find_new_threads): Rename to ... | |
2091 | (target_update_thread_list): ... this. | |
2092 | * target.h (struct target_ops): Rename to_find_new_threads field | |
2093 | to to_update_thread_list. | |
2094 | (target_find_new_threads): Rename to ... | |
2095 | (target_update_thread_list): ... this. | |
2096 | * thread.c (prune_threads): Make extern. | |
2097 | (update_thread_list): Adjust. | |
2098 | ||
6dc54d91 PA |
2099 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2100 | ||
2101 | * remote.c (remote_get_threadlist, remote_threadlist_iterator): | |
2102 | Add describing comment. Return -1 if the qL packet is not | |
2103 | supported. | |
2104 | (struct thread_item, thread_item_t): Move higher up in | |
2105 | the file. Add comments. | |
2106 | (struct threads_parsing_context): Move higher up in | |
2107 | the file, add comments, and remote to ... | |
2108 | (struct threads_listing_context): ... this. | |
2109 | (remote_newthread_step): Don't add the thread to GDB's thread | |
2110 | database here. Instead push it to the thread_listing_context | |
2111 | list. | |
2112 | (remote_find_new_threads): Rename to ... | |
2113 | (remote_get_threads_with_ql): ... this. Add target_ops and | |
2114 | targets_listing_context parameters. Pass down context. | |
2115 | (start_thread): Adjust. | |
2116 | (clear_threads_parsing_context): Rename to ... | |
2117 | (clear_threads_listing_context): ... this. | |
2118 | (remote_get_threads_with_qxfer): New, with parts salvaged from old | |
2119 | remote_threads_info. | |
2120 | (remote_get_threads_with_qthreadinfo): Ditto. | |
2121 | (remote_threads_info): Reimplement. | |
2122 | ||
36728e82 PA |
2123 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2124 | ||
2125 | * infrun.c (resume): Don't force displaced-stepping for all | |
2126 | single-steps on software single-stepping archs. | |
2127 | ||
34b7e8a6 PA |
2128 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2129 | ||
2130 | * breakpoint.c (single_step_breakpoints): Delete global. | |
2131 | (insert_single_step_breakpoint): Adjust to store the breakpoint | |
2132 | pointer in the current thread. | |
2133 | (single_step_breakpoints_inserted, remove_single_step_breakpoints) | |
2134 | (cancel_single_step_breakpoints): Delete functions. | |
2135 | (breakpoint_has_location_inserted_here): Make extern. | |
2136 | (single_step_breakpoint_inserted_here_p): Adjust to walk the | |
2137 | breakpoint list. | |
2138 | * breakpoint.h (breakpoint_has_location_inserted_here): New | |
2139 | declaration. | |
2140 | (single_step_breakpoints_inserted, remove_single_step_breakpoints) | |
2141 | (cancel_single_step_breakpoints): Remove declarations. | |
2142 | * gdbthread.h (struct thread_control_state) | |
2143 | <single_step_breakpoints>: New field. | |
2144 | (delete_single_step_breakpoints) | |
2145 | (thread_has_single_step_breakpoints_set) | |
2146 | (thread_has_single_step_breakpoint_here): New declarations. | |
2147 | * infrun.c (follow_exec): Also clear the single-step breakpoints. | |
2148 | (singlestep_breakpoints_inserted_p, singlestep_ptid) | |
2149 | (singlestep_pc): Delete globals. | |
2150 | (infrun_thread_ptid_changed): Remove references to removed | |
2151 | globals. | |
2152 | (resume_cleanups): Delete the current thread's single-step | |
2153 | breakpoints. | |
2154 | (maybe_software_singlestep): Remove references to removed globals. | |
2155 | (resume): Adjust to use thread_has_single_step_breakpoints_set and | |
2156 | delete_single_step_breakpoints. | |
2157 | (init_wait_for_inferior): Remove references to removed globals. | |
2158 | (delete_thread_infrun_breakpoints): Delete the thread's | |
2159 | single-step breakpoints too. | |
2160 | (delete_just_stopped_threads_infrun_breakpoints): Don't delete | |
2161 | single-step breakpoints here. | |
2162 | (delete_stopped_threads_single_step_breakpoints): New function. | |
2163 | (adjust_pc_after_break): Adjust to use | |
2164 | thread_has_single_step_breakpoints_set. | |
2165 | (handle_inferior_event): Remove references to removed globals. | |
2166 | Use delete_stopped_threads_single_step_breakpoints. | |
2167 | (handle_signal_stop): Adjust to per-thread single-step | |
2168 | breakpoints. Swap test order to do cheaper tests first. | |
2169 | (switch_back_to_stepped_thread): Extend debug output. Remove | |
2170 | references to removed globals. | |
2171 | * record-full.c (record_full_wait_1): Adjust to per-thread | |
2172 | single-step breakpoints. | |
2173 | * thread.c (delete_single_step_breakpoints) | |
2174 | (thread_has_single_step_breakpoints_set) | |
2175 | (thread_has_single_step_breakpoint_here): New functions. | |
2176 | (clear_thread_inferior_resources): Also delete the thread's | |
2177 | single-step breakpoints. | |
2178 | ||
5b834a0a PA |
2179 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2180 | ||
2181 | * thread.c (delete_thread_breakpoint): New function. | |
2182 | (delete_step_resume_breakpoint) | |
2183 | (delete_exception_resume_breakpoint): Use it. | |
2184 | (delete_at_next_stop): New function. | |
2185 | (clear_thread_inferior_resources): Use delete_at_next_stop. | |
2186 | ||
a1fd2fa5 PA |
2187 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2188 | ||
2189 | * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ... | |
2190 | (breakpoint_inserted_here_p): ... here. Remove special case for | |
2191 | software single-step breakpoints. | |
2192 | (find_non_raw_software_breakpoint_inserted_here): Inline ... | |
2193 | (software_breakpoint_inserted_here_p): ... here. Remove special | |
2194 | case for software single-step breakpoints. | |
2195 | (bp_target_info_copy_insertion_state) | |
2196 | (deprecated_insert_raw_breakpoint) | |
2197 | (deprecated_remove_raw_breakpoint): Delete functions. | |
2198 | * breakpoint.h (deprecated_insert_raw_breakpoint) | |
2199 | (deprecated_remove_raw_breakpoint): Remove declarations. | |
2200 | ||
7c16b83e PA |
2201 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2202 | ||
2203 | PR breakpoints/9649 | |
2204 | * breakpoint.c (single_step_breakpoints, single_step_gdbarch): | |
2205 | Delete array globals. | |
2206 | (single_step_breakpoints): New global. | |
2207 | (breakpoint_xfer_memory): Remove special handling for single-step | |
2208 | breakpoints. | |
2209 | (update_breakpoints_after_exec): Delete bp_single_step | |
2210 | breakpoints. | |
2211 | (detach_breakpoints): Remove special handling for single-step | |
2212 | breakpoints. | |
2213 | (breakpoint_init_inferior): Delete bp_single_step breakpoints. | |
2214 | (bpstat_stop_status): Add comment. | |
2215 | (bpstat_what, bptype_string, print_one_breakpoint_location) | |
2216 | (adjust_breakpoint_address, init_bp_location): Handle | |
2217 | bp_single_step. | |
2218 | (new_single_step_breakpoint): New function. | |
2219 | (set_momentary_breakpoint, bkpt_remove_location): Remove special | |
2220 | handling for single-step breakpoints. | |
2221 | (insert_single_step_breakpoint, single_step_breakpoints_inserted) | |
2222 | (remove_single_step_breakpoints, cancel_single_step_breakpoints): | |
2223 | Rewrite. | |
2224 | (detach_single_step_breakpoints, find_single_step_breakpoint): | |
2225 | Delete functions. | |
2226 | (breakpoint_has_location_inserted_here): New function. | |
2227 | (single_step_breakpoint_inserted_here_p): Rewrite. | |
2228 | * breakpoint.h: Remove FIXME. | |
2229 | (enum bptype) <bp_single_step>: New enum value. | |
2230 | (insert_single_step_breakpoint): Update comment. | |
2231 | * infrun.c (resume_cleanups) | |
2232 | (delete_step_thread_step_resume_breakpoint): Remove single-step | |
2233 | breakpoints. | |
2234 | (fetch_inferior_event): Install a cleanup that removes infrun | |
2235 | breakpoints. | |
2236 | (switch_back_to_stepped_thread) <expect thread advanced also>: | |
2237 | Clear step-over info. | |
2238 | ||
0cbcdb96 PA |
2239 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2240 | ||
2241 | * infrun.c (delete_step_resume_breakpoint_callback): Delete. | |
2242 | (delete_thread_infrun_breakpoints): New function, with parts | |
2243 | salvaged from delete_step_resume_breakpoint_callback. | |
2244 | (delete_step_thread_step_resume_breakpoint): Delete. | |
2245 | (for_each_just_stopped_thread_callback_func): New typedef. | |
2246 | (for_each_just_stopped_thread): New function. | |
2247 | (delete_just_stopped_threads_infrun_breakpoints): New function. | |
2248 | (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ... | |
2249 | (delete_just_stopped_threads_infrun_breakpoints_cleanup): | |
2250 | ... this. Adjust. | |
2251 | (wait_for_inferior, fetch_inferior_event): Adjust to renames. | |
2252 | ||
963f9c80 PA |
2253 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2254 | ||
2255 | * breakpoint.c (should_be_inserted): Don't insert watchpoints if | |
2256 | trying to step past a non-steppable watchpoint. | |
2257 | * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New | |
2258 | field. | |
2259 | * infrun.c (struct step_over_info): Add new field | |
2260 | 'nonsteppable_watchpoint_p' and adjust comments. | |
2261 | (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter. | |
2262 | Adjust. | |
2263 | (clear_step_over_info): Clear nonsteppable_watchpoint_p as well. | |
2264 | (stepping_past_nonsteppable_watchpoint): New function. | |
2265 | (step_over_info_valid_p): Also return true if stepping past a | |
2266 | nonsteppable watchpoint. | |
2267 | (proceed): Adjust call to set_step_over_info. Remove reference to | |
2268 | init_infwait_state. | |
2269 | (init_wait_for_inferior): Remove reference to init_infwait_state. | |
2270 | (waiton_ptid): Delete global. | |
2271 | (struct execution_control_state) | |
2272 | <stepped_after_stopped_by_watchpoint>: Delete field. | |
2273 | (wait_for_inferior, fetch_inferior_event): Always pass | |
2274 | minus_one_ptid to target_wait. | |
2275 | (init_thread_stepping_state): Clear 'stepping_over_watchpoint' | |
2276 | field. | |
2277 | (init_infwait_state): Delete function. | |
2278 | (handle_inferior_event): Remove infwait_state handling. | |
2279 | (handle_signal_stop) <watchpoints handling>: Adjust after | |
2280 | stepped_after_stopped_by_watchpoint removal. Don't remove | |
2281 | breakpoints here nor set infwait_state. Set the thread's | |
2282 | stepping_over_watchpoint flag, and call keep_going instead. | |
2283 | (keep_going): Handle stepping_over_watchpoint. Adjust | |
2284 | set_step_over_info calls. | |
2285 | * infrun.h (stepping_past_nonsteppable_watchpoint): Declare | |
2286 | function. | |
2287 | ||
6cc83d2a PA |
2288 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2289 | ||
2290 | * infrun.c (step_over_info_valid_p): New function. | |
2291 | (resume): Use step_over_info_valid_p instead of checking the | |
2292 | threads's trap_expected flag. | |
2293 | ||
6979730b DE |
2294 | 2014-10-15 Doug Evans <dje@google.com> |
2295 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
2296 | ||
2297 | PR python/17364 | |
2298 | * python/lib/gdb/__init__.py (packages): Add "printer". | |
2299 | * python/lib/gdb/command/bound_registers.py: Moved to ... | |
2300 | * python/lib/gdb/printer/bound_registers.py: ... here. | |
2301 | Add printer to global set of builtin printers. Rename printer from | |
2302 | "bound" to "mpx_bound128". | |
2303 | * python/lib/gdb/printing.py (_builtin_pretty_printers): New global, | |
2304 | registered as global "builtin" printer. | |
2305 | (add_builtin_pretty_printer): New function. | |
2306 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add | |
2307 | gdb/printer/__init__.py. | |
2308 | ||
35a49624 IB |
2309 | 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org> |
2310 | ||
2311 | * Makefile.in (SFILES): Remove d-support.c. | |
2312 | (COMMON_OBS): Remove d-support.o. | |
2313 | * d-lang.h (d_parse_symbol): Remove declaration. | |
2314 | * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols. | |
2315 | * d-support.c: Remove file. | |
2316 | ||
8fa0c4f8 AA |
2317 | 2014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2318 | ||
2319 | * gdb/infrun.c (process_event_stop_test): Apply | |
2320 | gdbarch_addr_bits_remove to longjmp resume address. | |
2321 | ||
3666da81 PA |
2322 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2323 | ||
2324 | * regformats/microblaze.dat: Delete file. | |
2325 | ||
449aa9df AKA |
2326 | 2014-10-15 Ajit Agarwal <ajitkum@xilinx.com> |
2327 | ||
2328 | * features/Makefile (microblaze-expedite): Replace pc with rpc. | |
2329 | * regformats/microblaze-with-stack-protect.dat: Regenerate. | |
2330 | ||
ebb8ece2 SC |
2331 | 2014-10-15 Siva Chandra Reddy <sivachandra@google.com> |
2332 | ||
2333 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes | |
2334 | as non-trivial. | |
2335 | ||
82c48ac7 SC |
2336 | 2014-10-15 Siva Chandra Reddy <sivachandra@google.com> |
2337 | ||
2338 | PR c++/13403 | |
2339 | PR c++/15154 | |
2340 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors | |
2341 | with qualified args. | |
2342 | ||
c40cc657 JB |
2343 | 2014-10-14 Joel Brobecker <brobecker@adacore.com> |
2344 | ||
2345 | * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling | |
2346 | of the case where the second operand is a pointer. | |
2347 | <BINOP_SUB>: Likewise. | |
2348 | ||
0ea5cda8 SDJ |
2349 | 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com> |
2350 | ||
2351 | * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore | |
2352 | only if it is not NULL. | |
2353 | (bkpt_probe_remove_location): Likewise, for clear_semaphore. | |
2354 | * probe.h (struct probe_ops) <set_semaphore>: Update comment. | |
2355 | (struct probe_ops) <clear_semaphore>: Likewise. | |
2356 | * tracepoint.c (start_tracing): Call set_semaphore only if it is | |
2357 | not NULL. | |
2358 | (stop_tracing): Likewise, for clear_semaphore. | |
2359 | ||
f7088df3 SDJ |
2360 | 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com> |
2361 | ||
2362 | * stap-probe.c (stap_parse_argument): Initialize expout explicitly | |
2363 | using language_c, instead of current_language. | |
2364 | ||
4e1bbde0 DE |
2365 | 2014-10-13 Doug Evans <dje@google.com> |
2366 | ||
6ff5a0f6 | 2367 | * python/py-objfile.c (objfpy_initialize): New function. |
4e1bbde0 | 2368 | (objfpy_new, objfile_to_objfile_object): Call it. |
6ff5a0f6 | 2369 | * python/py-progspace.c (pspy_initialize): New function. |
4e1bbde0 DE |
2370 | (pspy_new, pspace_to_pspace_object): Call it. |
2371 | ||
c780cc2f JK |
2372 | 2014-10-13 Miroslav Franc <mfranc@redhat.com> |
2373 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
2374 | ||
2375 | Fix "save breakpoints" for "catch" command. | |
2376 | * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing | |
2377 | newline. | |
2378 | ||
99894e11 JK |
2379 | 2014-10-12 Miroslav Franc <mfranc@redhat.com> |
2380 | ||
2381 | Fix "save breakpoints" for "disable $bpnum" command. | |
2382 | * breakpoint.c (save_breakpoints): Add $bpnum for disable. | |
2383 | ||
3831839c PA |
2384 | 2014-10-10 Pedro Alves <palves@redhat.com> |
2385 | ||
2386 | * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o. | |
2387 | (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c. | |
2388 | (HFILES_NO_SRCDIR): Remove solib-irix.h. | |
2389 | * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6* | |
2390 | and been removed. | |
2391 | * config/mips/irix5.mh, config/mips/irix6.mh: Delete files. | |
2392 | * configure.ac: Remove references to IRIX. | |
2393 | * configure.host: Add *-*-irix* to the obsolete hosts section. | |
2394 | Remove all other references to irix. | |
2395 | * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h: | |
2396 | Delete files. | |
2397 | ||
cc3afae2 AKA |
2398 | 2014-10-10 Ajit Agarwal <ajitkum@xilinx.com> |
2399 | ||
2400 | * microblaze-tdep.c (microblaze_gdbarch_init): If the description | |
2401 | isn't valid, release the tdesc arch data and return NULL. | |
2402 | ||
cdfa0b0a PA |
2403 | 2014-10-10 Pedro Alves <palves@redhat.com> |
2404 | ||
2405 | * linux-tdep.c: Include observer.h. | |
2406 | (linux_inferior_data): New global. | |
2407 | (struct linux_info): New structure. | |
2408 | (invalidate_linux_cache_inf, linux_inferior_data_cleanup) | |
2409 | (get_linux_inferior_data): New functions. | |
2410 | (linux_vsyscall_range): Rename to ... | |
2411 | (linux_vsyscall_range_raw): ... this. | |
2412 | (linux_vsyscall_range): New function; handles caching. | |
2413 | (_initialize_linux_tdep): Register linux_inferior_data. Install | |
2414 | inferior_exit and inferior_appeared observers. | |
2415 | ||
8b9a549d PA |
2416 | 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
2417 | Pedro Alves <palves@redhat.com> | |
2418 | ||
2419 | PR symtab/14466 | |
2420 | * solib-svr4.c (svr4_read_so_list): Rename to ... | |
2421 | (svr4_current_sos_1): ... this and change the function comment. | |
2422 | (svr4_current_sos): New function. | |
2423 | ||
3437254d PA |
2424 | 2014-10-10 Pedro Alves <palves@redhat.com> |
2425 | ||
2426 | * arch-utils.c (default_vsyscall_range): New function. | |
2427 | * arch-utils.h (default_vsyscall_range): New declaration. | |
2428 | * gdbarch.sh (vsyscall_range): New hook. | |
2429 | * gdbarch.h, gdbarch.c: Regenerate. | |
2430 | * linux-tdep.c (linux_vsyscall_range): New function. | |
2431 | (linux_init_abi): Install linux_vsyscall_range as | |
2432 | vsyscall_range gdbarch hook. | |
2433 | * memrange.c (address_in_mem_range): New function. | |
2434 | * memrange.h (address_in_mem_range): New declaration. | |
2435 | * symfile-mem.c (find_vdso_size): Delete function. | |
2436 | (add_vsyscall_page): Use gdbarch_vsyscall_range. | |
2437 | ||
31cc0b80 PA |
2438 | 2014-10-10 Pedro Alves <palves@redhat.com> |
2439 | ||
2440 | * infrun.c (normal_stop): Fix typo in comment. | |
2441 | ||
3e3286a2 SDJ |
2442 | 2014-10-09 Sergio Durigan Junior <sergiodj@redhat.com> |
2443 | ||
2444 | PR tdep/9390 | |
2445 | * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible | |
2446 | typo when using logical AND to determine instruction type. | |
2447 | ||
fcbdedf8 YQ |
2448 | 2014-10-09 Yao Qi <yao@codesourcery.com> |
2449 | ||
2450 | * infrun.c (handle_signal_stop): Remove local variable | |
2451 | 'printed'. | |
2452 | ||
db984616 SS |
2453 | 2014-10-08 Stan Shebs <stan@codesourcery.com> |
2454 | ||
2455 | * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi. | |
2456 | ||
3ba37e6c GB |
2457 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
2458 | ||
2459 | * fbsd-tdep.c: Do not include string.h or gdb_assert.h. | |
2460 | ||
a442d071 GB |
2461 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
2462 | ||
2463 | * common/common-defs.h: Include common-exceptions.h. | |
2464 | * exceptions.h: Do not include common-exceptions.h. | |
2465 | ||
6f1947e8 GB |
2466 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
2467 | ||
2468 | * common/common-defs.h: Include cleanups.h. | |
2469 | * common/common-exceptions.c: Do not include cleanups.h. | |
2470 | * utils.h: Likewise. | |
2471 | ||
c765fdb9 GB |
2472 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
2473 | ||
2474 | * ada-lang.c: Do not include exceptions.h. | |
2475 | * ada-valprint.c: Likewise. | |
2476 | * amd64-tdep.c: Likewise. | |
2477 | * auto-load.c: Likewise. | |
2478 | * block.c: Likewise. | |
2479 | * break-catch-throw.c: Likewise. | |
2480 | * breakpoint.c: Likewise. | |
2481 | * btrace.c: Likewise. | |
2482 | * c-lang.c: Likewise. | |
2483 | * cli/cli-cmds.c: Likewise. | |
2484 | * cli/cli-interp.c: Likewise. | |
2485 | * cli/cli-script.c: Likewise. | |
2486 | * completer.c: Likewise. | |
2487 | * corefile.c: Likewise. | |
2488 | * corelow.c: Likewise. | |
2489 | * cp-abi.c: Likewise. | |
2490 | * cp-support.c: Likewise. | |
2491 | * cp-valprint.c: Likewise. | |
2492 | * darwin-nat.c: Likewise. | |
2493 | * dwarf2-frame-tailcall.c: Likewise. | |
2494 | * dwarf2-frame.c: Likewise. | |
2495 | * dwarf2loc.c: Likewise. | |
2496 | * dwarf2read.c: Likewise. | |
2497 | * eval.c: Likewise. | |
2498 | * event-loop.c: Likewise. | |
2499 | * event-top.c: Likewise. | |
2500 | * f-valprint.c: Likewise. | |
2501 | * frame-unwind.c: Likewise. | |
2502 | * frame.c: Likewise. | |
2503 | * gdbtypes.c: Likewise. | |
2504 | * gnu-v2-abi.c: Likewise. | |
2505 | * gnu-v3-abi.c: Likewise. | |
2506 | * guile/scm-auto-load.c: Likewise. | |
2507 | * guile/scm-breakpoint.c: Likewise. | |
2508 | * guile/scm-cmd.c: Likewise. | |
2509 | * guile/scm-frame.c: Likewise. | |
2510 | * guile/scm-lazy-string.c: Likewise. | |
2511 | * guile/scm-param.c: Likewise. | |
2512 | * guile/scm-symbol.c: Likewise. | |
2513 | * guile/scm-type.c: Likewise. | |
2514 | * hppa-hpux-tdep.c: Likewise. | |
2515 | * i386-tdep.c: Likewise. | |
2516 | * inf-loop.c: Likewise. | |
2517 | * infcall.c: Likewise. | |
2518 | * infcmd.c: Likewise. | |
2519 | * infrun.c: Likewise. | |
2520 | * interps.c: Likewise. | |
2521 | * interps.h: Likewise. | |
2522 | * jit.c: Likewise. | |
2523 | * linespec.c: Likewise. | |
2524 | * linux-nat.c: Likewise. | |
2525 | * linux-thread-db.c: Likewise. | |
2526 | * m32r-rom.c: Likewise. | |
2527 | * main.c: Likewise. | |
2528 | * memory-map.c: Likewise. | |
2529 | * mi/mi-cmd-break.c: Likewise. | |
2530 | * mi/mi-cmd-stack.c: Likewise. | |
2531 | * mi/mi-interp.c: Likewise. | |
2532 | * mi/mi-main.c: Likewise. | |
2533 | * monitor.c: Likewise. | |
2534 | * nto-procfs.c: Likewise. | |
2535 | * objc-lang.c: Likewise. | |
2536 | * p-valprint.c: Likewise. | |
2537 | * parse.c: Likewise. | |
2538 | * ppc-linux-tdep.c: Likewise. | |
2539 | * printcmd.c: Likewise. | |
2540 | * probe.c: Likewise. | |
2541 | * python/py-auto-load.c: Likewise. | |
2542 | * python/py-breakpoint.c: Likewise. | |
2543 | * python/py-cmd.c: Likewise. | |
2544 | * python/py-finishbreakpoint.c: Likewise. | |
2545 | * python/py-frame.c: Likewise. | |
2546 | * python/py-framefilter.c: Likewise. | |
2547 | * python/py-function.c: Likewise. | |
2548 | * python/py-gdb-readline.c: Likewise. | |
2549 | * python/py-inferior.c: Likewise. | |
2550 | * python/py-infthread.c: Likewise. | |
2551 | * python/py-lazy-string.c: Likewise. | |
2552 | * python/py-linetable.c: Likewise. | |
2553 | * python/py-param.c: Likewise. | |
2554 | * python/py-prettyprint.c: Likewise. | |
2555 | * python/py-symbol.c: Likewise. | |
2556 | * python/py-type.c: Likewise. | |
2557 | * python/py-value.c: Likewise. | |
2558 | * python/python-internal.h: Likewise. | |
2559 | * python/python.c: Likewise. | |
2560 | * record-btrace.c: Likewise. | |
2561 | * record-full.c: Likewise. | |
2562 | * regcache.c: Likewise. | |
2563 | * remote-fileio.c: Likewise. | |
2564 | * remote-mips.c: Likewise. | |
2565 | * remote.c: Likewise. | |
2566 | * rs6000-aix-tdep.c: Likewise. | |
2567 | * rs6000-nat.c: Likewise. | |
2568 | * skip.c: Likewise. | |
2569 | * solib-darwin.c: Likewise. | |
2570 | * solib-dsbt.c: Likewise. | |
2571 | * solib-frv.c: Likewise. | |
2572 | * solib-ia64-hpux.c: Likewise. | |
2573 | * solib-spu.c: Likewise. | |
2574 | * solib-svr4.c: Likewise. | |
2575 | * solib.c: Likewise. | |
2576 | * spu-tdep.c: Likewise. | |
2577 | * stack.c: Likewise. | |
2578 | * stap-probe.c: Likewise. | |
2579 | * symfile-mem.c: Likewise. | |
2580 | * symmisc.c: Likewise. | |
2581 | * target.c: Likewise. | |
2582 | * thread.c: Likewise. | |
2583 | * top.c: Likewise. | |
2584 | * tracepoint.c: Likewise. | |
2585 | * tui/tui-interp.c: Likewise. | |
2586 | * typeprint.c: Likewise. | |
2587 | * utils.c: Likewise. | |
2588 | * valarith.c: Likewise. | |
2589 | * valops.c: Likewise. | |
2590 | * valprint.c: Likewise. | |
2591 | * value.c: Likewise. | |
2592 | * varobj.c: Likewise. | |
2593 | * windows-nat.c: Likewise. | |
2594 | * xml-support.c: Likewise. | |
2595 | ||
484933d1 MR |
2596 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
2597 | ||
2598 | * mips-tdep.c (add_offset_16): Rewrite to implement what the | |
2599 | name implies. | |
2600 | (extended_mips16_next_pc): Update accordingly. | |
2601 | ||
ab50adb6 MR |
2602 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
2603 | ||
2604 | * mips-tdep.c (mips16_instruction_is_compact_branch): New | |
2605 | function. | |
2606 | (micromips_instruction_is_compact_branch): Likewise. | |
2607 | (mips16_scan_prologue): Terminate scanning upon seeing a branch | |
2608 | or a compact jump, reaching a jump delay slot, or seeing a | |
2609 | second non-prologue instruction. | |
2610 | (micromips_scan_prologue): Also terminate scanning upon seeing a | |
2611 | compact branch or jump, or reaching a branch or jump delay slot. | |
2612 | (mips32_scan_prologue): Terminate scanning upon reaching a branch | |
2613 | or jump delay slot, or seeing a second non-prologue instruction. | |
2614 | (mips32_instruction_has_delay_slot): Retain instruction | |
2615 | examination code only, update arguments accordingly and move | |
2616 | instruction fetch pieces to... | |
2617 | (mips32_insn_at_pc_has_delay_slot): ... this new function. | |
2618 | (micromips_instruction_has_delay_slot): Likewise and to... | |
2619 | (micromips_insn_at_pc_has_delay_slot): ... this new function. | |
2620 | (mips16_instruction_has_delay_slot): Likewise and to... | |
2621 | (mips16_insn_at_pc_has_delay_slot): ... this new function. | |
2622 | (mips_single_step_through_delay): Update accordingly. | |
2623 | (mips_adjust_breakpoint_address): Likewise. | |
2624 | ||
ae790652 MR |
2625 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
2626 | ||
2627 | * mips-tdep.c (micromips_instruction_has_delay_slot): When | |
2628 | !mustbe32 also return 1 for 32-bit instructions. | |
2629 | (mips16_instruction_has_delay_slot): Likewise. Add an | |
2630 | explanatory comment. | |
2631 | ||
9b807e7b MR |
2632 | 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com> |
2633 | ||
2634 | * elfread.c (elf_symtab_read): Also mark solib trampoline minimal | |
2635 | symbols special. | |
2636 | ||
0d5ed153 MR |
2637 | 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com> |
2638 | ||
2639 | * breakpoint.h (bp_target_info): Add `reqstd_address' member, | |
2640 | update comments. | |
2641 | * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address' | |
2642 | for the breakpoint's address. Don't preinitialize `placed_size'. | |
2643 | (insert_bp_location): Set `reqstd_address' rather than | |
2644 | `placed_address'. | |
2645 | (bp_target_info_copy_insertion_state): Also copy `placed_address'. | |
2646 | (bkpt_insert_location): Use `reqstd_address' for the breakpoint's | |
2647 | address. | |
2648 | (bkpt_remove_location): Likewise. | |
2649 | (deprecated_insert_raw_breakpoint): Likewise. | |
2650 | (deprecated_remove_raw_breakpoint): Likewise. | |
2651 | (find_single_step_breakpoint): Likewise. | |
2652 | * mem-break.c (default_memory_insert_breakpoint): Use | |
2653 | `reqstd_address' for the breakpoint's address. Don't set | |
2654 | `placed_address' or `placed_size' if breakpoint contents couldn't | |
2655 | have been determined. | |
2656 | * remote.c (remote_insert_breakpoint): Use `reqstd_address' for | |
2657 | the breakpoint's address. | |
2658 | (remote_insert_hw_breakpoint): Likewise. Don't set | |
2659 | `placed_address' or `placed_size' if breakpoint couldn't have been | |
2660 | set. | |
2661 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use | |
2662 | `reqstd_address' for the breakpoint's address. | |
2663 | * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise. | |
2664 | * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise. | |
2665 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise. | |
2666 | * microblaze-linux-tdep.c | |
2667 | (microblaze_linux_memory_remove_breakpoint): Likewise. | |
2668 | * monitor.c (monitor_insert_breakpoint): Likewise. | |
2669 | * nto-procfs.c (procfs_insert_breakpoint): Likewise. | |
2670 | (procfs_insert_hw_breakpoint): Likewise. | |
2671 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise. | |
2672 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
2673 | * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise. | |
2674 | * remote-mips.c (mips_insert_breakpoint): Likewise. | |
2675 | * x86-nat.c (x86_insert_hw_breakpoint): Likewise. | |
2676 | ||
3e871532 LM |
2677 | 2014-10-03 Luis Machado <lgustavo@codesourcery.com> |
2678 | ||
2679 | * valops.c (value_assign): Check for bit field assignments | |
2680 | before calling architecture-specific register value | |
2681 | conversion functions. | |
2682 | ||
ec48dc8b PM |
2683 | 2014-10-03 Pierre Muller <muller@sourceware.org> |
2684 | ||
2685 | * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM. | |
2686 | ||
b57bacec PA |
2687 | 2014-10-02 Pedro Alves <palves@redhat.com> |
2688 | ||
2689 | * breakpoint.c (breakpoints_should_be_inserted_now): Use | |
2690 | threads_are_executing. | |
2691 | * breakpoint.h (breakpoints_should_be_inserted_now): Add | |
2692 | describing comment. | |
2693 | * gdbthread.h (threads_are_executing): Declare. | |
2694 | (handle_signal_stop) <random signals>: Don't print about the | |
2695 | signal here if stopping. | |
2696 | (end_stepping_range): Don't notify observers here. | |
2697 | (normal_stop): Update the thread list. If stopped by a random | |
2698 | signal or a stepping range ended, notify observers. | |
2699 | * thread.c (threads_executing): New global. | |
2700 | (init_thread_list): Clear 'threads_executing'. | |
2701 | (set_executing): Set or clear 'threads_executing'. | |
2702 | (threads_are_executing): New function. | |
2703 | (update_threads_executing): New function. | |
2704 | (update_thread_list): Use it. | |
2705 | ||
13fd3ff3 PA |
2706 | 2014-10-02 Pedro Alves <palves@redhat.com> |
2707 | ||
2708 | PR breakpoints/17431 | |
2709 | * breakpoint.c (update_breakpoints_after_exec): Don't create | |
2710 | overlay, longjmp, std terminate nor exception breakpoints here. | |
2711 | ||
32990ada PA |
2712 | 2014-10-02 Pedro Alves <palves@redhat.com> |
2713 | ||
2714 | * gdbthread.h (any_thread_of_process, any_live_thread_of_process): | |
2715 | Adjust comments. | |
2716 | * inferior.c (find_inferior_for_program_space): Give preference to | |
2717 | the current inferior. | |
2718 | * inferior.h (find_inferior_for_program_space): Update comment. | |
2719 | * progspace.c (switch_to_program_space_and_thread): Prefer the | |
2720 | current inferior if it's bound to the program space requested. If | |
2721 | the inferior found doesn't have a PID yet, don't bother looking up | |
2722 | a thread. | |
2723 | * progspace.h (switch_to_program_space_and_thread): Adjust | |
2724 | comment. | |
2725 | * thread.c (any_thread_of_process, any_live_thread_of_process): | |
2726 | Give preference to the current thread. | |
2727 | ||
0fec99e8 PA |
2728 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2729 | ||
2730 | * breakpoint.c (insert_bp_location): Error out if inserting a | |
2731 | software breakpoint at a read-only address. | |
2732 | * target.c (memory_xfer_check_region): New function, factored out | |
2733 | from ... | |
2734 | (memory_xfer_partial_1): ... this. Make the 'reg_len' local a | |
2735 | ULONGEST. | |
2736 | (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access | |
2737 | against the memory region attributes. | |
2738 | ||
2ddf4301 SM |
2739 | 2014-10-01 Simon Marchi <simon.marchi@ericsson.com> |
2740 | ||
2741 | * NEWS: Announce new exit-code field in -list-thread-groups | |
2742 | output. | |
2743 | * inferior.c (exit_inferior_1): Don't clear exit code. | |
2744 | (inferior_appeared): Clear exit code. | |
2745 | * mi/mi-main.c (print_one_inferior): Add printing of the exit | |
2746 | code. | |
2747 | ||
5fdeec1d PA |
2748 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2749 | ||
2750 | * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS | |
2751 | GENERATED" along with emacs/vi read-only markers. | |
2752 | * regformats/aarch64.dat: Regenerate. | |
2753 | * regformats/arm-with-iwmmxt.dat: Regenerate. | |
2754 | * regformats/arm-with-neon.dat: Regenerate. | |
2755 | * regformats/arm-with-vfpv2.dat: Regenerate. | |
2756 | * regformats/arm-with-vfpv3.dat: Regenerate. | |
2757 | * regformats/i386/amd64-avx-linux.dat: Regenerate. | |
2758 | * regformats/i386/amd64-avx.dat: Regenerate. | |
2759 | * regformats/i386/amd64-avx512-linux.dat: Regenerate. | |
2760 | * regformats/i386/amd64-avx512.dat: Regenerate. | |
2761 | * regformats/i386/amd64-linux.dat: Regenerate. | |
2762 | * regformats/i386/amd64-mpx-linux.dat: Regenerate. | |
2763 | * regformats/i386/amd64-mpx.dat: Regenerate. | |
2764 | * regformats/i386/amd64.dat: Regenerate. | |
2765 | * regformats/i386/i386-avx-linux.dat: Regenerate. | |
2766 | * regformats/i386/i386-avx.dat: Regenerate. | |
2767 | * regformats/i386/i386-avx512-linux.dat: Regenerate. | |
2768 | * regformats/i386/i386-avx512.dat: Regenerate. | |
2769 | * regformats/i386/i386-linux.dat: Regenerate. | |
2770 | * regformats/i386/i386-mmx-linux.dat: Regenerate. | |
2771 | * regformats/i386/i386-mmx.dat: Regenerate. | |
2772 | * regformats/i386/i386-mpx-linux.dat: Regenerate. | |
2773 | * regformats/i386/i386-mpx.dat: Regenerate. | |
2774 | * regformats/i386/i386.dat: Regenerate. | |
2775 | * regformats/i386/x32-avx-linux.dat: Regenerate. | |
2776 | * regformats/i386/x32-avx.dat: Regenerate. | |
2777 | * regformats/i386/x32-avx512-linux.dat: Regenerate. | |
2778 | * regformats/i386/x32-avx512.dat: Regenerate. | |
2779 | * regformats/i386/x32-linux.dat: Regenerate. | |
2780 | * regformats/i386/x32.dat: Regenerate. | |
2781 | * regformats/microblaze-with-stack-protect.dat: Regenerate. | |
2782 | * regformats/mips-dsp-linux.dat: Regenerate. | |
2783 | * regformats/mips-linux.dat: Regenerate. | |
2784 | * regformats/mips64-dsp-linux.dat: Regenerate. | |
2785 | * regformats/mips64-linux.dat: Regenerate. | |
2786 | * regformats/nios2-linux.dat: Regenerate. | |
2787 | * regformats/rs6000/powerpc-32.dat: Regenerate. | |
2788 | * regformats/rs6000/powerpc-32l.dat: Regenerate. | |
2789 | * regformats/rs6000/powerpc-64l.dat: Regenerate. | |
2790 | * regformats/rs6000/powerpc-altivec32l.dat: Regenerate. | |
2791 | * regformats/rs6000/powerpc-altivec64l.dat: Regenerate. | |
2792 | * regformats/rs6000/powerpc-cell32l.dat: Regenerate. | |
2793 | * regformats/rs6000/powerpc-cell64l.dat: Regenerate. | |
2794 | * regformats/rs6000/powerpc-e500l.dat: Regenerate. | |
2795 | * regformats/rs6000/powerpc-vsx32l.dat: Regenerate. | |
2796 | * regformats/rs6000/powerpc-vsx64l.dat: Regenerate. | |
2797 | * regformats/s390-linux32.dat: Regenerate. | |
2798 | * regformats/s390-linux32v1.dat: Regenerate. | |
2799 | * regformats/s390-linux32v2.dat: Regenerate. | |
2800 | * regformats/s390-linux64.dat: Regenerate. | |
2801 | * regformats/s390-linux64v1.dat: Regenerate. | |
2802 | * regformats/s390-linux64v2.dat: Regenerate. | |
2803 | * regformats/s390-te-linux64.dat: Regenerate. | |
2804 | * regformats/s390x-linux64.dat: Regenerate. | |
2805 | * regformats/s390x-linux64v1.dat: Regenerate. | |
2806 | * regformats/s390x-linux64v2.dat: Regenerate. | |
2807 | * regformats/s390x-te-linux64.dat: Regenerate. | |
2808 | * regformats/tic6x-c62x-linux.dat: Regenerate. | |
2809 | * regformats/tic6x-c62x.dat: Regenerate. | |
2810 | * regformats/tic6x-c64x-linux.dat: Regenerate. | |
2811 | * regformats/tic6x-c64x.dat: Regenerate. | |
2812 | * regformats/tic6x-c64xp-linux.dat: Regenerate. | |
2813 | * regformats/tic6x-c64xp.dat: Regenerate. | |
2814 | ||
db74e4ba PA |
2815 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2816 | ||
2817 | * features/Makefile: Update comments. | |
2818 | (XMLTOC): List all xml files we build C files from. | |
2819 | (clean-cfiles): New rule. | |
2820 | ||
d63f2f84 PA |
2821 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2822 | ||
2823 | * features/i386/amd64-avx512-linux.c: Regenerate. | |
2824 | * features/i386/amd64-avx512.c: Regenerate. | |
2825 | * features/i386/x32-avx512-linux.c: Regenerate. | |
2826 | * features/i386/x32-avx512.c: Regenerate. | |
2827 | ||
20ad026d PA |
2828 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2829 | ||
2830 | * features/Makefile (WHICH): Remove arm-with-m, | |
2831 | arm-with-m-fpa-layout and arm-with-m-vfp-d16. | |
2832 | ||
acc9fe45 PA |
2833 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2834 | ||
2835 | * features/Makefile (clean): New rule. | |
2836 | ||
e001e535 PA |
2837 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2838 | ||
2839 | * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h) | |
2840 | (zmm14h): Add missing end quotes. | |
2841 | ||
bdc14417 PA |
2842 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2843 | ||
2844 | * features/aarch64-core.xml (cpsr): Change back to 32-bit. | |
2845 | * features/aarch64.c: Regenerate. | |
2846 | ||
d83ad864 DB |
2847 | 2014-09-30 Don Breazeal <donb@codesourcery.com> |
2848 | ||
2849 | * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent | |
2850 | code so as to work with follow_fork_inferior. | |
2851 | * inf-ttrace.c (inf_ttrace_follow_fork): Ditto. | |
2852 | (inf_ttrace_create_inferior): Remove reference to | |
2853 | inf_ttrace_vfork_ppid. | |
2854 | (inf_ttrace_attach): Ditto. | |
2855 | (inf_ttrace_detach): Ditto. | |
2856 | (inf_ttrace_kill): Use current_inferior instead of | |
2857 | inf_ttrace_vfork_ppid. | |
2858 | (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report | |
2859 | TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the | |
2860 | inferior away from the parent. | |
2861 | * infrun.c (follow_fork): Call follow_fork_inferior instead of | |
2862 | target_follow_fork. | |
2863 | (follow_fork_inferior): New function. | |
2864 | (follow_inferior_reset_breakpoints): Make function static. | |
2865 | * infrun.h (follow_inferior_reset_breakpoints): Remove declaration. | |
2866 | * linux-nat.c (linux_child_follow_fork): Move target-independent | |
2867 | code to infrun.c:follow_fork_inferior. | |
2868 | ||
29082443 AA |
2869 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2870 | ||
2871 | * gdbarch.sh (regset_from_core_section): Remove gdbarch method. | |
2872 | * gdbarch.c: Regenerate. | |
2873 | * gdbarch.h: Likewise. | |
2874 | * corelow.c (sniff_core_bfd): Drop presence check for deleted | |
2875 | gdbarch method 'regset_from_core_section'. | |
2876 | (get_core_register_section): Remove handling for the case that | |
2877 | regset == NULL and regset_from_core_section is defined. | |
2878 | (get_core_registers): Drop check for deleted method. | |
2879 | * procfs.c (procfs_do_thread_registers): Adjust comment. | |
2880 | ||
f968fe80 AA |
2881 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2882 | ||
2883 | * linux-nat.c (linux_nat_collect_thread_registers): Remove. | |
2884 | (linux_nat_make_corefile_notes): Remove. | |
2885 | (linux_target_install_ops): Do not set target method | |
2886 | 'make_corefile_notes'. | |
2887 | * linux-tdep.c (struct linux_corefile_thread_data)<collect>: | |
2888 | Remove field. | |
2889 | (linux_corefile_thread_callback): Instead of args->collect, call | |
2890 | linux_collect_thread_registers. | |
2891 | (linux_make_corefile_notes): Remove 'collect' parameter. Return | |
2892 | NULL unless there is a regset iterator. | |
2893 | (linux_make_corefile_notes_1): Remove. | |
2894 | (linux_init_abi): Replace reference to linux_make_corefile_notes_1 | |
2895 | by linux_make_corefile_notes. | |
2896 | * linux-tdep.h (linux_make_corefile_notes): Remove prototype. | |
2897 | ||
174ad59a AA |
2898 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2899 | ||
2900 | * fbsd-nat.c (find_signalled_thread, find_stop_signal) | |
2901 | (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes): | |
2902 | Remove. | |
2903 | * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype. | |
2904 | ||
97094034 AA |
2905 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2906 | ||
2907 | * xtensa-tdep.c (xtensa_regset_from_core_section): Remove. | |
2908 | (xtensa_iterate_over_regset_sections): New. | |
2909 | (xtensa_gdbarch_init): Adjust gdbarch initialization. | |
2910 | ||
f73d3ce7 AA |
2911 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2912 | ||
2913 | * vax-tdep.c (vax_regset_from_core_section): Remove. | |
2914 | (vax_iterate_over_regset_sections): New. | |
2915 | (vax_gdbarch_init): Adjust gdbarch initialization. | |
2916 | ||
cb24567a AA |
2917 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2918 | ||
2919 | * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro. | |
2920 | (tilegx_regset_from_core_section): Remove. | |
2921 | (tilegx_iterate_over_regset_sections): New. | |
2922 | (tilegx_linux_init_abi): Adjust gdbarch initialization. | |
2923 | ||
e5139de8 AA |
2924 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2925 | ||
2926 | * sparc-tdep.c (sparc_regset_from_core_section): Remove. | |
2927 | (sparc_iterate_over_regset_sections): New. | |
2928 | (sparc32_gdbarch_init): Adjust gdbarch initialization. | |
2929 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD | |
2930 | targets. | |
2931 | * sparc64fbsd-tdep.c (fbsd-tdep.h): Include. | |
2932 | (sparc64fbsd_init_abi): Call fbsd_init_abi. | |
2933 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set | |
2934 | target method 'make_corefile_notes'. | |
2935 | ||
c6d41a6f AA |
2936 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2937 | ||
2938 | * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields | |
2939 | 'sizeof_gregset' and 'sizeof_fpregset'. | |
2940 | * sh-tdep.c (sh_regset_from_core_section): Remove. | |
2941 | (sh_iterate_over_regset_sections): New. | |
2942 | (sh_gdbarch_init): Adjust gdbarch initialization. | |
2943 | * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and | |
2944 | sizeof_fpregset. | |
2945 | * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field | |
2946 | 'sizeof_gregset'. | |
2947 | ||
9845a0b5 AA |
2948 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2949 | ||
2950 | * score-tdep.c (score7_linux_regset_from_core_section): Remove. | |
2951 | (score7_linux_iterate_over_regset_sections): New. | |
2952 | (score_gdbarch_init): Adjust gdbarch initialization. | |
2953 | ||
23ea9aeb AA |
2954 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2955 | ||
2956 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC | |
2957 | FreeBSD targets. | |
2958 | * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target | |
2959 | method 'make_corefile_notes'. | |
2960 | * ppcfbsd-tdep.c (fbsd-tdep.h): Include. | |
2961 | (ppcfbsd_regset_from_core_section): Remove. | |
2962 | (ppcfbsd_iterate_over_regset_sections): New. | |
2963 | (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch | |
2964 | initialization. | |
2965 | * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove. | |
2966 | (ppcnbsd_iterate_over_regset_sections): New. | |
2967 | (ppcnbsd_init_abi): Adjust. | |
2968 | * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove. | |
2969 | (ppcobsd_iterate_over_regset_sections): New. | |
2970 | (ppcobsd_init_abi): Adjust. | |
2971 | * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove. | |
2972 | (rs6000_aix_iterate_over_regset_sections): New. | |
2973 | (rs6000_aix_init_osabi): Adjust. | |
2974 | ||
c5b8d704 AA |
2975 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2976 | ||
2977 | * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro. | |
2978 | (nios2_regset_from_core_section): Remove. | |
2979 | (nios2_iterate_over_regset_sections): New. | |
2980 | (nios2_linux_init_abi): Adjust gdbarch initialization. | |
2981 | ||
3636e608 AA |
2982 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2983 | ||
2984 | * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove. | |
2985 | (am33_iterate_over_regset_sections): New. | |
2986 | (am33_linux_init_osabi): Adjust gdbarch initialization. | |
2987 | ||
d4036235 AA |
2988 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2989 | ||
2990 | * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove. | |
2991 | (mips_linux_iterate_over_regset_sections): New. | |
2992 | (mips_linux_init_abi): Adjust gdbarch initialization. | |
2993 | * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove. | |
2994 | (mips64obsd_iterate_over_regset_sections): New. | |
2995 | (mips64obsd_init_abi): Adjust. | |
2996 | * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove. | |
2997 | (mipsnbsd_iterate_over_regset_sections): New. | |
2998 | (mipsnbsd_init_abi): Adjust. | |
2999 | ||
b61ddd6e AA |
3000 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3001 | ||
3002 | * m88k-tdep.c (m88k_regset_from_core_section): Remove. | |
3003 | (m88k_iterate_over_regset_sections): New. | |
3004 | (m88k_gdbarch_init): Adjust gdbarch initialization. | |
3005 | ||
55a2906a AA |
3006 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3007 | ||
3008 | * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove. | |
3009 | (ia64_linux_iterate_over_regset_sections): New. | |
3010 | (ia64_linux_init_abi): Adjust gdbarch initialization. | |
3011 | ||
022c98ab AA |
3012 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3013 | ||
3014 | * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove. | |
3015 | (m68kbsd_iterate_over_regset_sections): New. | |
3016 | (m68kbsd_init_abi): Adjust gdbarch initialization. | |
3017 | * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove. | |
3018 | (m68k_linux_iterate_over_regset_sections): New. | |
3019 | (m68k_linux_init_abi): Adjust gdbarch initialization. | |
3020 | ||
5fac247f AA |
3021 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3022 | ||
3023 | * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro. | |
3024 | (m32r_linux_regset_from_core_section): Remove. | |
3025 | (m32r_linux_iterate_over_regset_sections): New. | |
3026 | (m32r_linux_init_abi): Adjust gdbarch initialization. | |
3027 | ||
490496c3 AA |
3028 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3029 | ||
3030 | * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove. | |
3031 | (amd64obsd_iterate_over_regset_sections): New. | |
3032 | (amd64obsd_core_init_abi): Adjust gdbarch initialization. | |
3033 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
3034 | Remove. | |
3035 | (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop | |
3036 | regset_from_core_section initialization. | |
3037 | * i386-tdep.c (i386_regset_from_core_section): Remove. | |
3038 | (i386_iterate_over_regset_sections): New. | |
3039 | (i386_gdbarch_init): Adjust gdbarch initialization. | |
3040 | * i386-tdep.h (i386_regset_from_core_section): Remove prototype. | |
3041 | (i386_iterate_over_regset_sections): New prototype. | |
3042 | * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): | |
3043 | Remove. | |
3044 | (i386obsd_aout_iterate_over_regset_sections): New. | |
3045 | (i386obsd_aout_init_abi): Adjust gdbarch initialization. | |
3046 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD | |
3047 | targets. | |
3048 | * amd64fbsd-tdep.c (fbsd-tdep.h): Include. | |
3049 | (amd64fbsd_init_abi): Call fbsd_init_abi. | |
3050 | * i386fbsd-tdep.c (fbsd-tdep.h): Include. | |
3051 | (i386fbsd4_init_abi): Call fbsd_init_abi. | |
3052 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set | |
3053 | target method 'make_corefile_notes'. | |
3054 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise. | |
3055 | ||
50c5eb53 AA |
3056 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3057 | ||
3058 | * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove. | |
3059 | (hppa_hpux_iterate_over_regset_sections): New. | |
3060 | (hppa_hpux_init_abi): Adjust gdbarch initialization. | |
3061 | * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove. | |
3062 | (hppa_linux_iterate_over_regset_sections): New. | |
3063 | (hppa_linux_init_abi): Adjust. | |
3064 | * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove. | |
3065 | (hppanbsd_iterate_over_regset_sections): New. | |
3066 | (hppanbsd_init_abi): Adjust. | |
3067 | * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove. | |
3068 | (hppaobsd_iterate_over_regset_sections): New. | |
3069 | (hppaobsd_init_abi): Adjust. | |
3070 | ||
66afae4f AA |
3071 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3072 | ||
3073 | * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove. | |
3074 | (frv_linux_iterate_over_regset_sections): New. | |
3075 | (frv_linux_init_abi): Adjust gdbarch initialization. | |
3076 | ||
ed09174e AA |
3077 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3078 | ||
3079 | * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype. | |
3080 | (armbsd_iterate_over_regset_sections): New prototype. | |
3081 | * armbsd-tdep.c (armbsd_regset_from_core_section): Remove. | |
3082 | (armbsd_iterate_over_regset_sections): New. | |
3083 | * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch | |
3084 | initialization. | |
3085 | ||
dff2166e AA |
3086 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3087 | ||
3088 | * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove. | |
3089 | (alpha_linux_iterate_over_regset_sections): New. | |
3090 | (alpha_linux_init_abi): Adjust gdbarch initialization. | |
3091 | * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove | |
3092 | prototype. | |
3093 | (alphanbsd_iterate_over_regset_sections): New prototype. | |
3094 | ||
4108500a AA |
3095 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3096 | ||
3097 | * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section): | |
3098 | Remove. | |
3099 | (aarch64_linux_iterate_over_regset_sections): New. | |
3100 | (aarch64_linux_init_abi): Adjust gdbarch initialization. | |
3101 | ||
a904c024 AA |
3102 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3103 | ||
3104 | * fbsd-tdep.c: New file. | |
3105 | * fbsd-tdep.h: New file. | |
3106 | * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o. | |
3107 | (HFILES_NO_SRCDIR): Add fbsd-tdep.h. | |
3108 | (ALLDEPFILES): Add fbsd-tdep.c. | |
3109 | ||
8f0435f7 AA |
3110 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3111 | ||
3112 | * gdbarch.sh (iterate_over_regset_sections_cb): Add regset | |
3113 | parameter. | |
3114 | * gdbarch.h: Regenerate. | |
3115 | * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset | |
3116 | iterator. | |
3117 | (get_core_register_section): Add parameter 'regset' and use it, if | |
3118 | set. Add parameter 'min_size' and verify the bfd section size | |
3119 | against it. | |
3120 | (get_core_registers_cb): Add parameter 'regset' and pass it to | |
3121 | get_core_register section. For the "standard" register sections | |
3122 | ".reg" and ".reg2", set an appropriate default for human_name. | |
3123 | (get_core_registers): Don't abort when the gdbarch has an iterator | |
3124 | but no regset_from_core_section. Add NULL/0 for parameters | |
3125 | 'regset'/'min_size' in calls to get_core_register_section. | |
3126 | * linux-tdep.c (linux_collect_regset_section_cb): Add parameter | |
3127 | 'regset' and use it instead of calling the | |
3128 | regset_from_core_section gdbarch method. | |
3129 | * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'. | |
3130 | * i386-tdep.c (i386_supply_xstateregset) | |
3131 | (i386_collect_xstateregset, i386_xstateregset): Moved to | |
3132 | i386-linux-tdep.c. | |
3133 | (i386_regset_from_core_section): Drop handling for .reg-xfp and | |
3134 | .reg-xstate. | |
3135 | (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic | |
3136 | core file support only if the regset iterator hasn't been set. | |
3137 | * i386-linux-tdep.c (i386_linux_supply_xstateregset) | |
3138 | (i386_linux_collect_xstateregset, i386_linux_xstateregset): New. | |
3139 | Moved from i386-tdep.c and renamed to *_linux*. | |
3140 | (i386_linux_iterate_over_regset_sections): Add regset parameter to | |
3141 | each callback invocation. Allow any .reg-xstate size when reading | |
3142 | from a core file. | |
3143 | * amd64-tdep.c (amd64_supply_xstateregset) | |
3144 | (amd64_collect_xstateregset, amd64_xstateregset): Moved to | |
3145 | amd64-linux-tdep.c. | |
3146 | (amd64_regset_from_core_section): Remove. | |
3147 | (amd64_init_abi): Set new tdep field 'fpregset'. No longer | |
3148 | install an amd64-specific regset_from_core_section gdbarch method. | |
3149 | * amd64-linux-tdep.c (amd64_linux_supply_xstateregset) | |
3150 | (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New. | |
3151 | Moved from amd64-tdep.c and renamed to *_linux*. | |
3152 | (amd64_linux_iterate_over_regset_sections): Add regset parameter | |
3153 | to each callback invocation. Allow any .reg-xstate size when | |
3154 | reading from a core file. | |
3155 | * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove. | |
3156 | (arm_linux_iterate_over_regset_sections): Add regset parameter to | |
3157 | each callback invocation. | |
3158 | (arm_linux_init_abi): No longer set the regset_from_core_section | |
3159 | gdbarch method. | |
3160 | * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove. | |
3161 | (ppc_linux_iterate_over_regset_sections): Add regset parameter to | |
3162 | each callback invocation. | |
3163 | (ppc_linux_init_abi): No longer set the regset_from_core_section | |
3164 | gdbarch method. | |
3165 | * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields | |
3166 | gregset, sizeof_gregset, fpregset, and sizeof_fpregset. | |
3167 | (s390_regset_from_core_section): Remove. | |
3168 | (s390_iterate_over_regset_sections): Add regset parameter to each | |
3169 | callback invocation. | |
3170 | (s390_gdbarch_init): No longer set the regset_from_core_section | |
3171 | gdbarch method. Drop initialization of deleted tdep fields. | |
3172 | ||
5aa82d05 AA |
3173 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3174 | ||
3175 | * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove. | |
3176 | (amd64_linux_iterate_over_regset_sections): New. | |
3177 | (amd64_linux_init_abi_common): Don't install the regset section | |
3178 | list, but the new iterator in gdbarch. | |
3179 | * arm-linux-tdep.c (arm_linux_fpa_regset_sections) | |
3180 | (arm_linux_vfp_regset_sections): Remove. Move combined logic... | |
3181 | (arm_linux_iterate_over_regset_sections): ...here. New function. | |
3182 | (arm_linux_init_abi): Set iterator instead of section list. | |
3183 | * corelow.c (get_core_registers_cb): New function, logic moved | |
3184 | from... | |
3185 | (get_core_registers): ...loop body here. Use new iterator method | |
3186 | instead of walking through the regset section list. | |
3187 | * gdbarch.sh: Remove 'core_regset_sections'. New method | |
3188 | 'iterate_over_regset_sections'. New typedef | |
3189 | 'iterate_over_regset_sections_cb'. | |
3190 | * gdbarch.c: Regenerate. | |
3191 | * gdbarch.h: Likewise. | |
3192 | * i386-linux-tdep.c (i386_linux_regset_sections) | |
3193 | (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections): | |
3194 | Remove. | |
3195 | (i386_linux_iterate_over_regset_sections): New. | |
3196 | (i386_linux_init_abi): Don't choose a regset section list, but | |
3197 | install new iterator in gdbarch. | |
3198 | * linux-tdep.c (struct linux_collect_regset_section_cb_data): New. | |
3199 | (linux_collect_regset_section_cb): New function, logic moved | |
3200 | from... | |
3201 | (linux_collect_thread_registers): ...loop body here. Use iterator | |
3202 | method instead of walking through list. | |
3203 | (linux_make_corefile_notes_1): Check for presence of iterator | |
3204 | method instead of regset section list. | |
3205 | * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections) | |
3206 | (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections) | |
3207 | (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections) | |
3208 | (ppc64_linux_fp_regset_sections): Remove. Move combined logic... | |
3209 | (ppc_linux_iterate_over_regset_sections): ...here. New function. | |
3210 | (ppc_linux_init_abi): Don't choose from above regset section | |
3211 | lists, but install new iterator in gdbarch. | |
3212 | * regset.h (struct core_regset_section): Remove. | |
3213 | * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields | |
3214 | have_linux_v1, have_linux_v2, and have_tdb. | |
3215 | (s390_linux32_regset_sections, s390_linux32v1_regset_sections) | |
3216 | (s390_linux32v2_regset_sections, s390_linux64_regset_sections) | |
3217 | (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections) | |
3218 | (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections) | |
3219 | (s390x_linux64v2_regset_sections): Remove. Move combined logic... | |
3220 | (s390_iterate_over_regset_sections): ...here. New function. Use | |
3221 | new tdep fields. | |
3222 | (s390_gdbarch_init): Set new tdep fields. Don't choose from above | |
3223 | regset section lists, but install new iterator. | |
3224 | ||
2eca4a8d JK |
3225 | 2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
3226 | ||
3227 | * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd". | |
3228 | ||
a73c2b56 SM |
3229 | 2014-09-26 Simon Marchi <simon.marchi@ericsson.com> |
3230 | ||
3231 | * progspace.c (print_program_space): Don't prune program spaces | |
3232 | before printing them. | |
3233 | ||
03d46957 PA |
3234 | 2014-09-25 Pedro Alves <palves@redhat.com> |
3235 | ||
3236 | * infrun.c (user_visible_resume_ptid): Don't check | |
3237 | singlestep_breakpoints_inserted_p. | |
3238 | ||
e558d7c1 PA |
3239 | 2014-09-25 Pedro Alves <palves@redhat.com> |
3240 | ||
3241 | * breakpoint.c (should_be_inserted): Add debug output. | |
3242 | ||
7f89fd65 PA |
3243 | 2014-09-25 Pedro Alves <palves@redhat.com> |
3244 | ||
3245 | * infrun.c (stepping_past_instruction_at) | |
3246 | (clear_exit_convenience_vars): Point at infrun.h instead of | |
3247 | inferior.h. | |
3248 | (handle_signal_stop): Fix typo. | |
3249 | ||
b7576e5c YQ |
3250 | 2014-09-24 Yao Qi <yao@codesourcery.com> |
3251 | ||
3252 | * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the | |
3253 | bitmask. | |
3254 | ||
9a6cf368 GB |
3255 | 2014-09-22 Gary Benson <gbenson@redhat.com> |
3256 | ||
3257 | * target.c (target_stop): Updated comment. | |
3258 | ||
03f4463b GB |
3259 | 2014-09-22 Gary Benson <gbenson@redhat.com> |
3260 | ||
3261 | * target/target.h (target_stop_ptid): Renamed as... | |
3262 | (target_stop_and_wait): New function. Updated comment. | |
3263 | All uses updated. | |
3264 | (target_continue_ptid): Renamed as... | |
3265 | (target_continue_no_signal): New function. Updated comment. | |
3266 | All uses updated. | |
3267 | ||
a25a5a45 PA |
3268 | 2014-09-22 Pedro Alves <palves@redhat.com> |
3269 | ||
3270 | * NEWS: Mention merge of "breakpoint always-inserted" modes "off" | |
3271 | and "auto" merged. | |
3272 | * breakpoint.c (enum ugll_insert_mode): New enum. | |
3273 | (always_inserted_mode): Now a plain boolean. | |
3274 | (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO. | |
3275 | (breakpoints_always_inserted_mode): Delete. | |
3276 | (breakpoints_should_be_inserted_now): New function. | |
3277 | (insert_breakpoints): Pass UGLL_INSERT to | |
3278 | update_global_location_list instead of calling | |
3279 | insert_breakpoint_locations manually. | |
3280 | (create_solib_event_breakpoint_1): New, factored out from ... | |
3281 | (create_solib_event_breakpoint): ... this. | |
3282 | (create_and_insert_solib_event_breakpoint): Use | |
3283 | create_solib_event_breakpoint_1 instead of calling | |
3284 | insert_breakpoint_locations manually. | |
3285 | (update_global_location_list): Change parameter type from boolean | |
3286 | to enum ugll_insert_mode. All callers adjusted. Adjust to use | |
3287 | breakpoints_should_be_inserted_now and handle UGLL_INSERT. | |
3288 | (update_global_location_list_nothrow): Change parameter type from | |
3289 | boolean to enum ugll_insert_mode. | |
3290 | (_initialize_breakpoint): "breakpoint always-inserted" option is | |
3291 | now a boolean command. Update help text. | |
3292 | * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration. | |
3293 | (breakpoints_should_be_inserted_now): New declaration. | |
3294 | * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: | |
3295 | Remove breakpoints_always_inserted_mode check. | |
3296 | (normal_stop): Adjust to use breakpoints_should_be_inserted_now. | |
3297 | * remote.c (remote_start_remote): Likewise. | |
3298 | ||
04086b45 PA |
3299 | 2014-09-22 Pedro Alves <palves@redhat.com> |
3300 | ||
3301 | * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT. | |
3302 | (insert_breakpoints): Don't call insert_breakpoint_locations here. | |
3303 | Instead, pass UGLL_INSERT to update_global_location_list. | |
3304 | (update_global_location_list): Change parameter type from boolean | |
3305 | to enum ugll_insert_mode. All callers adjusted. Adjust to use | |
3306 | breakpoints_should_be_inserted_now and handle UGLL_INSERT. | |
3307 | (create_solib_event_breakpoint_1): New, factored out from ... | |
3308 | (create_solib_event_breakpoint): ... this. | |
3309 | (create_and_insert_solib_event_breakpoint): Use | |
3310 | create_solib_event_breakpoint_1 instead of calling | |
3311 | insert_breakpoint_locations manually. | |
3312 | (update_global_location_list): Handle UGLL_INSERT. | |
3313 | ||
44702360 PA |
3314 | 2014-09-22 Pedro Alves <palves@redhat.com> |
3315 | ||
3316 | * breakpoint.c (enum ugll_insert_mode): New enum. | |
3317 | (update_global_location_list) | |
3318 | (update_global_location_list_nothrow): Change parameter type from | |
3319 | boolean to enum ugll_insert_mode. All callers adjusted. | |
3320 | ||
93c6145a JB |
3321 | 2014-09-19 Joel Brobecker <brobecker@adacore.com> |
3322 | ||
3323 | * MAINTAINERS: Add Sergio Durigan Junior as maintainer of | |
3324 | SystemTap support in GDB. | |
3325 | ||
89a5711c DB |
3326 | 2014-09-19 Don Breazeal <donb@codesourcery.com> |
3327 | ||
3328 | * linux-nat.c (linux_handle_extended_wait): Call | |
3329 | linux_ptrace_get_extended_event. | |
3330 | (wait_lwp): Call linux_is_extended_waitstatus. | |
3331 | (linux_nat_filter_event): Call linux_ptrace_get_extended_event | |
3332 | and linux_is_extended_waitstatus. | |
3333 | * nat/linux-ptrace.c (linux_test_for_tracefork): Call | |
3334 | linux_ptrace_get_extended_event. | |
3335 | (linux_ptrace_get_extended_event): New function. | |
3336 | (linux_is_extended_waitstatus): New function. | |
3337 | * nat/linux-ptrace.h (linux_ptrace_get_extended_event) | |
3338 | (linux_is_extended_waitstatus): New declarations. | |
3339 | ||
c3b7b696 YQ |
3340 | 2014-09-19 Yao Qi <yao@codesourcery.com> |
3341 | ||
3342 | * dwarf2read.c (dwarf_decode_lines): Update declaration. | |
3343 | (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update | |
3344 | comments. Callers update. | |
3345 | (dwarf_decode_lines): Likewise. | |
3346 | (dwarf_decode_lines_1): Add argument 'lowpc'. Update | |
3347 | comments. Skip the line table if 'lowpc' is greater than | |
3348 | 'address'. Don't check | |
3349 | dwarf2_per_objfile->has_section_at_zero. | |
3350 | ||
2b4fd423 DE |
3351 | 2014-09-18 Doug Evans <dje@google.com> |
3352 | ||
3353 | * NEWS: Mention new "producer" attribute of gdb.Symtab. | |
3354 | * python/py-symtab.c (stpy_get_producer): New function. | |
3355 | (symtab_object_getset): Add "producer" attribute. | |
3356 | ||
5e43d467 UW |
3357 | 2014-09-17 Ulrich Weigand <uweigand@de.ibm.com> |
3358 | ||
3359 | PR gdb/17384 | |
3360 | * corefile.c (struct captured_read_memory_integer_arguments): Remove. | |
3361 | (do_captured_read_memory_integer): Remove. | |
3362 | (safe_read_memory_integer): Use target_read_memory directly instead | |
3363 | of catching errors in do_captured_read_memory_integer. | |
3364 | ||
04e79979 MR |
3365 | 2014-09-16 Maciej W. Rozycki <macro@codesourcery.com> |
3366 | ||
3367 | * CONTRIBUTE (Coding Standards): For internals refer to wiki, | |
3368 | not gdb/doc. | |
3369 | ||
76aeec5b SDJ |
3370 | 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com> |
3371 | ||
3372 | * objc-lang.c (find_implementation_from_class): Remove dead code. | |
3373 | ||
2f693f9d SDJ |
3374 | 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com> |
3375 | ||
3376 | PR cli/7233 | |
3377 | * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by | |
3378 | "fprintf_unfiltered (gdb_stdlog...)". | |
3379 | ||
bb9d5f81 PP |
3380 | 2014-09-16 Patrick Palka <patrick@parcs.ath.cx> |
3381 | ||
3382 | PR breakpoints/12526 | |
3383 | * breakpoint.h (struct watchpoint): New fields val_bitpos and | |
3384 | val_bitsize. | |
3385 | * breakpoint.c (watch_command_1): Use these fields to retain | |
3386 | bitfield information. | |
3387 | (extract_bitfield_from_watchpoint_value): New function. | |
3388 | (watchpoint_check): Use it. | |
3389 | (update_watchpoint): Use it. Optimize the address and length of a | |
3390 | HW watchpoint pointing to a bitfield. | |
3391 | * value.h (unpack_value_bitfield): New prototype. | |
3392 | * value.c (unpack_value_bitfield): Make extern. | |
3393 | ||
05db5edd ST |
3394 | 2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org> |
3395 | ||
3396 | * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and | |
3397 | x86-dregs.o. | |
3398 | * gnu-nat.c (inf_threads): New function. | |
3399 | * gnu-nat.h (inf_threads_ftype): New typedef. | |
3400 | (inf_threads): New declaration. | |
3401 | * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h". | |
3402 | [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set) | |
3403 | (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control) | |
3404 | (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr) | |
3405 | (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status) | |
3406 | (i386_gnu_dr_get_control): New functions. | |
3407 | (reg_addr): New structure. | |
3408 | (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware | |
3409 | i386 debugging register hooks. | |
3410 | * NEWS: Mention this. | |
3411 | ||
5a578da5 OJ |
3412 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
3413 | ||
3414 | * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for | |
3415 | vector data transfer instructions. | |
3416 | (arm_record_coproc_data_proc): Updated. | |
3417 | ||
f20f80dd OJ |
3418 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
3419 | ||
3420 | * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with | |
3421 | arm_record_exreg_ld_st_insn. | |
3422 | (arm_record_exreg_ld_st_insn): Add record handler for ex-register | |
3423 | load/store insns. | |
3424 | ||
851f26ae OJ |
3425 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
3426 | ||
3427 | * arm-tdep.c (arm_record_coproc_data_proc): Updated. | |
3428 | (arm_record_vfp_data_proc_insn): Added record handler for VFP data | |
3429 | processing instructions. | |
3430 | ||
1e1b6563 OJ |
3431 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
3432 | ||
3433 | * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler | |
3434 | for advance SIMD struct ld/st insn. | |
3435 | (thumb2_record_decode_insn_handler): Replace stub handler with | |
3436 | thumb2_record_asimd_struct_ld_st. | |
3437 | ||
60cc5e93 OJ |
3438 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
3439 | ||
3440 | * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs | |
3441 | for asimd, vfp and coprocessor insns. | |
3442 | (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp | |
3443 | and coprocessor insns. | |
3444 | (thumb2_record_coproc_insn): New function. | |
3445 | (thumb2_record_decode_insn_handler): Update coprocessor insns record | |
3446 | handlers. | |
3447 | (decode_insn): Install arm_record_asimd_vfp_coproc as handler for | |
3448 | opcode 110 insns. | |
3449 | ||
81219e53 DE |
3450 | 2014-09-13 Doug Evans <xdje42@gmail.com> |
3451 | ||
3452 | * NEWS: Mention new "queue-signal" command. | |
3453 | * infcmd.c (queue_signal_command): New function. | |
3454 | (_initialize_infcmd): Add new queue-signal command. | |
3455 | ||
d36bf488 DE |
3456 | 2014-09-13 Doug Evans <xdje42@gmail.com> |
3457 | ||
3458 | * linux-nat.c (wait_lwp): Add debugging printf. | |
3459 | (linux_nat_wait_1): Ditto. | |
3460 | ||
f37f681c PA |
3461 | 2014-09-12 Pedro Alves <palves@redhat.com> |
3462 | ||
3463 | * breakpoint.c (remove_solib_event_breakpoints_at_next_stop) | |
3464 | (create_and_insert_solib_event_breakpoint): New functions. | |
3465 | * breakpoint.h (create_and_insert_solib_event_breakpoint) | |
3466 | (remove_solib_event_breakpoints_at_next_stop): New declarations. | |
3467 | * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals. | |
3468 | (remove_dbx_link_breakpoint): Delete function. | |
3469 | (insert_dbx_link_bpt_in_file): Use | |
3470 | create_and_insert_solib_event_breakpoint instead of | |
3471 | deprecated_insert_raw_breakpoint. | |
3472 | (procfs_wait): Don't check whether we hit __dbx_link here. | |
3473 | (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint | |
3474 | here. | |
3475 | * solib-irix.c (base_breakpoint): Delete global. | |
3476 | (disable_break): Delete function. | |
3477 | (enable_break): Use create_solib_event_breakpoint | |
3478 | instead of deprecated_insert_raw_breakpoint. | |
3479 | (irix_solib_handle_event): New function. | |
3480 | (irix_solib_create_inferior_hook): Don't run the target or disable | |
3481 | the mapping-complete breakpoint here. | |
3482 | (_initialize_irix_solib): Install irix_solib_handle_event as | |
3483 | so_ops->handle_event hook. | |
3484 | ||
9d9bf2df EBM |
3485 | 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
3486 | Ulrich Weigand <uweigand@de.ibm.com> | |
3487 | ||
3488 | PR tdep/17379 | |
3489 | * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer | |
3490 | instead of read_memory_unsigned_integer. | |
3491 | ||
b006a80e GB |
3492 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
3493 | ||
3494 | * nat/linux-waitpid.c: Include common-defs.h. | |
3495 | [GDBSERVER]: Add FIXME comment. | |
3496 | [!GDBSERVER]: Don't include defs.h or signal.h. | |
3497 | (linux_debug) [!GDBSERVER]: Remove empty block. | |
3498 | ||
296b1496 GB |
3499 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
3500 | ||
3501 | * nat/x86-dregs.c: Include common-defs.h and break-common.h. | |
3502 | Don't include defs.h or server.h. | |
3503 | ||
53f81362 GB |
3504 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
3505 | ||
3506 | * nat/linux-btrace.c: Include common-defs.h. | |
3507 | Don't include defs.h, server.h or gdbthread.h. | |
3508 | * nat/linux-btrace.h (struct target_ops): New forward declaration. | |
3509 | ||
727605ca GB |
3510 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
3511 | ||
3512 | * common/agent.c: Include common-defs.h. | |
3513 | Don't include defs.h or server.h. | |
3514 | * common/buffer.c: Likewise. | |
3515 | * common/common-debug.c: Likewise. | |
3516 | * common/common-utils.c: Likewise. | |
3517 | * common/errors.c: Likewise. | |
3518 | * common/filestuff.c: Likewise. | |
3519 | * common/format.c: Likewise. | |
3520 | * common/gdb_vecs.c: Likewise. | |
3521 | * common/print-utils.c: Likewise. | |
3522 | * common/ptid.c: Likewise. | |
3523 | * common/rsp-low.c: Likewise. | |
3524 | * common/signals.c: Likewise. | |
3525 | * common/vec.c: Likewise. | |
3526 | * common/xml-utils.c: Likewise. | |
3527 | * nat/linux-osdata.c: Likewise. | |
3528 | * nat/linux-procfs.c: Likewise. | |
3529 | * nat/linux-ptrace.c: Likewise. | |
3530 | * nat/mips-linux-watch.c: Likewise. | |
3531 | * target/waitstatus.c: Likewise. | |
3532 | ||
361c8ade GB |
3533 | 2014-09-12 Tom Tromey <tromey@redhat.com> |
3534 | Gary Benson <gbenson@redhat.com> | |
3535 | ||
3536 | * common/common-regcache.h: New file. | |
3537 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h. | |
3538 | * regcache.h: Include common-regcache.h. | |
3539 | (regcache_read_pc): Don't declare. | |
3540 | * regcache.c (get_thread_regcache_for_ptid): New function. | |
3541 | * nat/linux-btrace.c: Don't include regcache.h. | |
3542 | Include common-regcache.h. | |
3543 | (perf_event_read_bts): Use get_thread_regcache_for_ptid. | |
3544 | ||
a01cbb49 TS |
3545 | 2014-09-11 Thomas Schwinge <thomas@codesourcery.com> |
3546 | ||
3547 | * regcache.h (struct regset): Declare. | |
3548 | ||
98880d46 PA |
3549 | 2014-09-11 Pedro Alves <palves@redhat.com> |
3550 | ||
3551 | PR gdb/17347 | |
3552 | * main.c: Include "infrun.h". | |
3553 | (catch_command_errors, catch_command_errors_const): Wait for the | |
3554 | foreground command to complete. | |
3555 | * top.c (maybe_wait_sync_command_done): New function, factored out | |
3556 | from ... | |
3557 | (maybe_wait_sync_command_done): ... here. | |
3558 | * top.h (maybe_wait_sync_command_done): New declaration. | |
3559 | ||
bd9269f7 GB |
3560 | 2014-09-11 Tom Tromey <tromey@redhat.com> |
3561 | Gary Benson <gbenson@redhat.com> | |
3562 | ||
3563 | * common/symbol.h: New file. | |
3564 | * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h. | |
3565 | * minsyms.c (find_minimal_symbol_address): New function. | |
3566 | * common/agent.c: Include common/symbol.h. | |
3567 | [!GDBSERVER]: Don't include objfiles.h. | |
3568 | (agent_look_up_symbols): Use find_minimal_symbol_address. | |
3569 | ||
f8c1d06b GB |
3570 | 2014-09-11 Gary Benson <gbenson@redhat.com> |
3571 | ||
3572 | * target/target.h (target_stop_ptid, target_continue_ptid): | |
3573 | Declare. | |
3574 | * target.c (target_stop_ptid, target_continue_ptid): New | |
3575 | functions. | |
3576 | * common/agent.c [!GDBSERVER]: Don't include infrun.h. | |
3577 | (agent_run_command): Always use target_stop_ptid and | |
3578 | target_continue_ptid. | |
3579 | ||
721ec300 GB |
3580 | 2014-09-11 Tom Tromey <tromey@redhat.com> |
3581 | Gary Benson <gbenson@redhat.com> | |
3582 | ||
3583 | * target/target.h: New file. | |
3584 | * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h. | |
3585 | * target.h: Include target/target.h. | |
3586 | (target_read_memory, target_write_memory): Don't declare. | |
3587 | * target.c (target_read_uint32): New function. | |
3588 | * common/agent.c: Include target/target.h. | |
3589 | [!GDBSERVER]: Don't include target.h. | |
3590 | (helper_thread_id): Type changed to uint32_t. | |
3591 | (agent_get_helper_thread_id): Use target_read_uint32. | |
3592 | (agent_run_command): Always use target_read_memory and | |
3593 | target_write_memory. | |
3594 | (agent_capability): Type changed to uint32_t. | |
3595 | (agent_capability_check): Use target_read_uint32. | |
3596 | ||
c5e92cca GB |
3597 | 2014-09-11 Gary Benson <gbenson@redhat.com> |
3598 | ||
3599 | * common/common-debug.h (show_debug_regs): Declare. | |
3600 | * common/common-debug.c (show_debug_regs): Define. | |
3601 | * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace | |
3602 | all uses with show_debug_regs. Replace all uses that considered | |
3603 | debug_hw_points as a multi-value integer with straight boolean | |
3604 | uses. | |
3605 | * x86-nat.c (debug_hw_points): Don't define. Replace all uses | |
3606 | with show_debug_regs. | |
3607 | * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace | |
3608 | all uses with show_debug_regs. | |
3609 | * mips-linux-nat.c (maint_show_dr): Don't define. Replace all | |
3610 | uses with show_debug_regs. | |
3611 | ||
eeef931a UW |
3612 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
3613 | ||
3614 | * findvar.c (address_from_register): Handle targets requiring | |
3615 | a special conversion routine even for plain pointer types. | |
3616 | ||
8efa9855 UW |
3617 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
3618 | ||
3619 | * rs6000-nat.c (exec_one_dummy_insn): Remove. | |
3620 | (store_register): Do not call exec_one_dummy_insn. | |
3621 | ||
eb479039 JB |
3622 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
3623 | ||
3624 | * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR, | |
3625 | dereference it first. Use value_enclosing_type instead of | |
3626 | value_type. | |
3627 | (ada_array_length): Likewise. | |
3628 | ||
deede10c JB |
3629 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
3630 | ||
3631 | * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type". | |
3632 | Adjust function implementation and documentation accordingly. | |
3633 | (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if | |
3634 | NOSIDE is EVAL_AVOID_SIDE_EFFECTS. | |
3635 | Update call to ada_value_ptr_subscript. | |
3636 | ||
7828a5f5 JB |
3637 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
3638 | ||
3639 | * ada-valprint.c (ada_value_print): Use VAL's enclosing type | |
3640 | instead of VAL's type. | |
3641 | ||
35782f14 JB |
3642 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
3643 | ||
3644 | * amd64-linux-nat.c: Add <sys/uio.h> #include. | |
3645 | ||
d342a0da DE |
3646 | 2014-09-09 Doug Evans <xdje42@gmail.com> |
3647 | ||
3648 | PR guile/17367 | |
3649 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as | |
3650 | last parameter to pkg-config, not first. | |
3651 | * configure.ac: Pass --with-guile provided pkg-config path to | |
3652 | GDB_GUILE_PROGRAM_NAMES. | |
3653 | * configure: Regenerate. | |
3654 | ||
b4a3d263 GKB |
3655 | 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be> |
3656 | ||
3657 | * MAINTAINERS (Write After Approval): Add "Gabriel Krisman | |
3658 | Bertazi". | |
3659 | ||
6e466374 MR |
3660 | 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com> |
3661 | ||
3662 | * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections): | |
3663 | Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from | |
3664 | the list of sections determining GDB_OSABI_IRIX. | |
3665 | ||
a1ada89a JH |
3666 | 2014-09-09 James Hogan <james.hogan@imgtec.com> |
3667 | ||
3668 | * MAINTAINERS (Write After Approval): Add "James Hogan". | |
3669 | ||
86db008d JH |
3670 | 2014-09-09 James Hogan <james.hogan@imgtec.com> |
3671 | ||
3672 | * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration. | |
3673 | ||
72fde3df JB |
3674 | 2014-09-09 Joel Brobecker <brobecker@adacore.com> |
3675 | ||
3676 | * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include. | |
3677 | ||
92d8d229 DE |
3678 | 2014-09-08 Doug Evans <xdje42@gmail.com> |
3679 | ||
3680 | PR 17247 | |
3681 | * guile.c: #include <signal.h>. | |
3682 | (_initialize_guile): Block SIGCHLD while initializing Guile. | |
3683 | ||
3684 | Replaces the following, which is reverted. | |
3685 | ||
3686 | 2014-07-26 Doug Evans <xdje42@gmail.com> | |
3687 | ||
3688 | PR 17185 | |
3689 | * configure.ac: Add check for header gc/gc.h. | |
3690 | Add check for function setenv. | |
3691 | * configure: Regenerate. | |
3692 | * config.in: Regenerate. | |
3693 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
3694 | ||
d81412aa DE |
3695 | 2014-09-08 Doug Evans <xdje42@gmail.com> |
3696 | ||
3697 | * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number | |
3698 | with named constant. Fix style of pointer comparison. | |
3699 | * python/py-cmd.c (gdbpy_parse_command_name): Ditto. | |
3700 | ||
a9f116cb GKB |
3701 | 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be> |
3702 | ||
3703 | PR gdb/17035 | |
3704 | * cli/cli-cmds.c (show_user): Use cli_user_command_p to | |
3705 | decide whether we display the command on "show user". | |
3706 | * cli/cli-script.c (show_user_1): Only verify cmdlines after | |
3707 | printing command name. | |
3708 | * cli/cli-decode.h (cli_user_command_p): Declare new function. | |
3709 | * cli/cli-decode.c (cli_user_command_p): Create helper function | |
3710 | to verify whether cmd_list_element is a user-defined command. | |
3711 | ||
c75bd3a2 JK |
3712 | 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
3713 | ||
3714 | PR python/17355 | |
3715 | * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL. | |
3716 | Fix goto out of TRY_CATCH. | |
3717 | ||
faa42425 | 3718 | 2014-09-06 Doug Evans <xdje42@gmail.com> |
1a52a81c | 3719 | Tom Tromey <tromey@redhat.com> |
faa42425 DE |
3720 | |
3721 | PR 15276 | |
3722 | * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is, | |
3723 | $_any_caller_matches. | |
3724 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py. | |
3725 | * python/lib/gdb/function/caller_is.py: New file. | |
3726 | ||
0d41ba00 DE |
3727 | 2014-09-06 Doug Evans <xdje42@gmail.com> |
3728 | ||
3729 | * infcmd.c (program_info): Fix typo. | |
3730 | ||
474ca4f6 SDJ |
3731 | 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com> |
3732 | ||
3733 | PR gdb/17235 | |
3734 | * stap-probe.c (stap_parse_single_operand): Delete unused variable | |
3735 | 'number'. New variable 'has_digit'. Rewrite code to deal with | |
3736 | subexpressions on SDT probes. | |
3737 | ||
ebf13736 PA |
3738 | 2014-09-04 Pedro Alves <palves@redhat.com> |
3739 | ||
3740 | * c-exp.y (parse_number): Skip handling base-switching prefixes if | |
3741 | the input is only one character long. | |
3742 | ||
eb0b0463 SDJ |
3743 | 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com> |
3744 | ||
3745 | PR fortran/17237 | |
3746 | * f-valprint.c (f_val_print): Specify the correct print option to | |
3747 | use when printing integer values. | |
3748 | ||
5ee44bfa GB |
3749 | 2014-09-04 Gary Benson <gbenson@redhat.com> |
3750 | ||
3751 | * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set): | |
3752 | Remove code to cope with LWPs wrapped as PIDs. | |
3753 | Add assertions to ensure no wrapped LWPs are passed. | |
3754 | ||
4875ffdb PA |
3755 | 2014-09-04 Pedro Alves <palves@redhat.com> |
3756 | ||
3757 | * value.c (value_ranges_copy_adjusted): New function, factored out | |
3758 | from ... | |
3759 | (value_contents_copy_raw): ... here. | |
3760 | (unpack_value_bits_as_long_1): Rename back to ... | |
3761 | (unpack_bits_as_long): ... this. Remove 'original_value' and | |
3762 | 'result' parameters. Change return type to LONGEST. | |
3763 | (unpack_value_bits_as_long): Delete. | |
3764 | (unpack_value_field_as_long_1): Delete. | |
3765 | (unpack_value_field_as_long, unpack_field_as_long): Reimplement. | |
3766 | (unpack_value_bitfield): New function. | |
3767 | (value_field_bitfield): Reimplement using unpack_value_bitfield. | |
3768 | (value_fetch_lazy): Use unpack_value_bitfield. | |
3769 | * value.h (unpack_value_bits_as_long): Delete declaration. | |
3770 | ||
5f3b99cf SS |
3771 | 2014-09-03 Sasha Smundak <asmundak@google.com> |
3772 | ||
3773 | * python/py-frame.c (frapy_read_register): New function. | |
3774 | ||
ac740bc7 JH |
3775 | 2014-09-03 James Hogan <james.hogan@imgtec.com> |
3776 | ||
3777 | * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0 | |
3778 | prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call. | |
3779 | ||
7d793aa9 SDJ |
3780 | 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com> |
3781 | ||
3782 | PR python/16699 | |
3783 | * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New | |
3784 | function. | |
3785 | (add_cmd): Set "completer_handle_brkchars" to NULL. | |
3786 | * cli/cli-decode.h (struct cmd_list_element) | |
3787 | <completer_handle_brkchars>: New field. | |
3788 | * command.h (completer_ftype_void): New typedef. | |
3789 | (set_cmd_completer_handle_brkchars): New prototype. | |
3790 | * completer.c (set_gdb_completion_word_break_characters): New | |
3791 | function. | |
3792 | (complete_line_internal): Call "completer_handle_brkchars" | |
3793 | callback from command. | |
3794 | * completer.h: Include "command.h". | |
3795 | (set_gdb_completion_word_break_characters): New prototype. | |
3796 | * python/py-cmd.c (cmdpy_completer_helper): New function. | |
3797 | (cmdpy_completer_handle_brkchars): New function. | |
3798 | (cmdpy_completer): Adjust to use cmdpy_completer_helper. | |
3799 | (cmdpy_init): Set completer_handle_brkchars to | |
3800 | cmdpy_completer_handle_brkchars. | |
3801 | ||
97ea6506 GB |
3802 | 2014-09-03 Gary Benson <gbenson@redhat.com> |
3803 | ||
3804 | * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as... | |
3805 | (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated. | |
3806 | Loop conditions changed to equivalent form. | |
3807 | (struct x86_debug_reg_state): Updated dr_ref_count comment. | |
3808 | * x86-linux-nat.c (x86_linux_prepare_to_resume): Use | |
3809 | ALL_DEBUG_ADDRESS_REGISTERS. | |
3810 | ||
d1437815 JB |
3811 | 2014-09-03 Joel Brobecker <brobecker@adacore.com> |
3812 | ||
3813 | * dwarf2loc.h (dwarf2_evaluate_property): Minor function | |
3814 | description fix. | |
3815 | ||
9b94fcf1 DE |
3816 | 2014-09-02 Doug Evans <dje@google.com> |
3817 | ||
3818 | * typeprint.c (find_global_typedef): Fix comment. | |
3819 | ||
df7e5265 GB |
3820 | 2014-09-02 Gary Benson <gbenson@redhat.com> |
3821 | ||
3822 | * i386-nat.h: Renamed as... | |
3823 | * x86-nat.h: New file. All type, function and variable name | |
3824 | prefixes changed from "i386_" to "x86_". All references updated. | |
3825 | * i386-nat.c: Renamed as... | |
3826 | * x86-nat.c: New file. All type, function and variable name | |
3827 | prefixes changed from "i386_" to "x86_". All references updated. | |
3828 | * common/i386-xstate.h: Renamed as... | |
3829 | * common/x86-xstate.h: New file. All type, function and variable | |
3830 | name prefixes changed from "i386_" to "x86_". All references | |
3831 | updated. | |
3832 | * nat/i386-cpuid.h: Renamed as... | |
3833 | * nat/x86-cpuid.h: New file. All type, function and variable name | |
3834 | prefixes changed from "i386_" to "x86_". All references updated. | |
3835 | * nat/i386-gcc-cpuid.h: Renamed as... | |
3836 | * nat/x86-gcc-cpuid.h: New file. All type, function and variable | |
3837 | name prefixes changed from "i386_" to "x86_". All references | |
3838 | updated. | |
3839 | * nat/i386-dregs.h: Renamed as... | |
3840 | * nat/x86-dregs.h: New file. All type, function and variable name | |
3841 | prefixes changed from "i386_" to "x86_". All references updated. | |
3842 | * nat/i386-dregs.c: Renamed as... | |
3843 | * nat/x86-dregs.c: New file. All type, function and variable name | |
3844 | prefixes changed from "i386_" to "x86_". All references updated. | |
3845 | ||
1c3569d4 MR |
3846 | 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com> |
3847 | ||
3848 | * varobj.c (_initialize_varobj): Move to the end of file. | |
3849 | ||
ff55e1b5 GB |
3850 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3851 | ||
3852 | * common/common-exceptions.h: New file. | |
3853 | * common/common-exceptions.c: Likewise. | |
3854 | * Makefile.in (SFILES): Add common/common-exceptions.c. | |
3855 | (HFILES_NO_SRCDIR): Add common/common-exceptions.h. | |
3856 | (COMMON_OBS): Add common-exceptions.o. | |
3857 | (common-exceptions.o): New rule. | |
3858 | * exceptions.h (common-exceptions.h): Include. | |
3859 | (gdb_setjmp.h): Do not include. | |
3860 | (return_reason): Moved to common-exceptions.h. | |
3861 | (enum return_reason): Likewise. | |
3862 | (RETURN_MASK): Likewise. | |
3863 | (typedef return_mask): Likewise. | |
3864 | (enum errors): Likewise. | |
3865 | (struct gdb_exception): Likewise. | |
3866 | (exceptions_state_mc_init): Likewise. | |
3867 | (exceptions_state_mc_action_iter): Likewise. | |
3868 | (exceptions_state_mc_action_iter_1): Likewise. | |
3869 | (TRY_CATCH): Likewise. | |
3870 | (throw_exception): Likewise. | |
3871 | (throw_verror): Likewise. | |
3872 | (throw_vquit): Likewise. | |
3873 | (throw_error): Likewise. | |
3874 | (throw_quit): Likewise. | |
3875 | * exceptions.c (enum catcher_state): Moved to common-exceptions.c. | |
3876 | (enum catcher_action): Likewise. | |
3877 | (struct catcher): Likewise. | |
3878 | (current_catcher): Likewise. | |
3879 | (catcher_list_size): Likewise. | |
3880 | (exceptions_state_mc_init): Likewise. | |
3881 | (catcher_pop): Likewise. | |
3882 | (exceptions_state_mc): Likewise. | |
3883 | (exceptions_state_mc_action_iter): Likewise. | |
3884 | (exceptions_state_mc_action_iter_1): Likewise. | |
3885 | (throw_exception): Likewise. | |
3886 | (exception_messages): Likewise. | |
3887 | (exception_messages_size): Likewise. | |
3888 | (throw_it): Likewise. | |
3889 | (throw_verror): Likewise. | |
3890 | (throw_vquit): Likewise. | |
3891 | (throw_error): Likewise. | |
3892 | (throw_quit): Likewise. | |
3893 | (prepare_to_throw_exception): New function. | |
3894 | ||
e9bcb658 GB |
3895 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3896 | ||
3897 | * common/gdb_setjmp.h: New file. | |
3898 | * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h. | |
3899 | * configure.ac: Move sigsetjmp check... | |
3900 | * common/common.m4: ...here. | |
3901 | * configure: Regenerate. | |
3902 | * cp-support.c (SIGJMP_BUF): Delete. | |
3903 | (SIGSETJMP): Likewise. | |
3904 | (SIGLONGJMP): Likewise. | |
3905 | * exceptions.h (gdb_setjmp.h): Include. | |
3906 | (setjmp.h): Do not include. | |
3907 | (EXCEPTIONS_SIGJMP_BUF): Delete. | |
3908 | (EXCEPTIONS_SIGSETJMP): Likewise. | |
3909 | (EXCEPTIONS_SIGLONGJMP): Likewise. | |
3910 | Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros | |
3911 | from gdb_setjmp.h. | |
3912 | * exceptions.c: Likewise. | |
3913 | ||
e3180625 GB |
3914 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3915 | ||
3916 | * cleanups.h: Moved to... | |
3917 | * common/cleanups.h: New file. | |
3918 | * cleanups.c: Moved to... | |
3919 | * common/cleanups.c: New file. Include common-defs.h and | |
3920 | cleanups.h. Do not include defs.h. | |
3921 | * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c. | |
3922 | (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h. | |
3923 | (cleanups.o): New rule. | |
3924 | ||
e3d6ba5d GB |
3925 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3926 | ||
3927 | * common/errors.h (internal_warning): New declaration. | |
3928 | (internal_vwarning): Likewise. | |
3929 | * common/errors.c (internal_warning): New function. | |
3930 | * utils.h (internal_warning): Don't declare. | |
3931 | (internal_vwarning): Likewise. | |
3932 | * utils.c (internal_warning): Removed. | |
3933 | ||
075c7033 GB |
3934 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3935 | ||
3936 | * main.c (captured_main): Use warning during startup. | |
3937 | Prefix startup warning messages with command name. | |
3938 | ||
91b35fd0 GB |
3939 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3940 | ||
3941 | * main.c (captured_main): Handle usage errors with error. | |
3942 | ||
b1ec390e GB |
3943 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3944 | ||
3945 | * go32-nat.c (go32_create_inferior): Replace a fprintf/ | |
3946 | exit pair with a call to error. Wrap the message with _(). | |
3947 | ||
fd0ef3dd GB |
3948 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3949 | ||
3950 | * main.c (captured_main): Replace a fprintf/exit | |
3951 | pair with a call to error. Wrap the message with _(). | |
3952 | ||
e0e6bcab GB |
3953 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3954 | ||
3955 | * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit | |
3956 | pairs with calls to error. Wrap the message with _(). | |
3957 | ||
0d2f5c07 GB |
3958 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3959 | ||
3960 | * utils.c (vwarning): Protect calls to target_terminal_ours | |
3961 | and wrap_here. | |
3962 | ||
5df43998 GB |
3963 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3964 | ||
3965 | * exceptions.c (print_flush): Protect calls to | |
3966 | target_terminal_ours and wrap_here. | |
3967 | ||
2437fd32 GB |
3968 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3969 | ||
3970 | * utils.h (filtered_printing_initialized): New declaration. | |
3971 | * utils.c (abort_with_message): New function. | |
3972 | (internal_vproblem): Use abort_with_message for first level | |
3973 | recursive internal problems, and if gdb_stderr is not set up. | |
3974 | Protect calls to target_terminal_ours, begin_line and query. | |
3975 | ||
f1f58506 DE |
3976 | 2014-08-28 Doug Evans <dje@google.com> |
3977 | ||
3978 | * symtab.c (in_prologue): Move definition to better spot. | |
3979 | (skip_prologue_using_sal): Ditto. | |
3980 | ||
aab2f208 DE |
3981 | 2014-08-28 Doug Evans <dje@google.com> |
3982 | ||
3983 | * symtab.c (find_function_start_sal): Move definition to better spot. | |
3984 | ||
6b65d1b6 YQ |
3985 | 2014-08-28 Yao Qi <yao@codesourcery.com> |
3986 | ||
3987 | * arm-tdep.c (thumb_in_function_epilogue_p): Don't set | |
3988 | found_stack_adjust in forward scan. Remove condition check | |
3989 | on found_stack_adjust which is always true. Indent the code. | |
3990 | ||
a1b34d15 YQ |
3991 | 2014-08-28 Yao Qi <yao@codesourcery.com> |
3992 | ||
3993 | * dwarf2read.c (dwarf_decode_lines): Update declaration. | |
3994 | (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO. | |
3995 | (dwarf_decode_lines): Remove argument | |
3996 | want_line_info. Remove condition check on want_line_info. | |
3997 | Callers update. | |
3998 | ||
d5962de5 DE |
3999 | 2014-08-27 Doug Evans <dje@google.com> |
4000 | ||
4001 | * dwarf2read.c (dwarf_record_line): Fix typo. | |
4002 | ||
9b139002 SDJ |
4003 | 2014-08-27 Patrick Palka <patrick@parcs.ath.cx> |
4004 | ||
4005 | * target.h (struct target_ops::to_terminal_save_ours): Remove | |
4006 | declaration. | |
4007 | (target_terminal_save_ours): Remove macro. | |
4008 | * target-delegates.c: Regenerate. | |
4009 | * inf-child.c (inf_child_target): Don't set the nonexistent | |
4010 | field to_terminal_save_ours. | |
4011 | * inferior.h (child_terminal_save_ours): Remove declaration. | |
4012 | * terminal.h (gdb_save_tty_state): New declaration. | |
4013 | * inflow.c (child_terminal_save_ours): Rename to ... | |
4014 | (gdb_save_tty_state): ... this. | |
4015 | * tui/tui.c: Include terminal.h. | |
4016 | (tui_enable): Use gdb_save_tty_state instead of | |
4017 | target_terminal_save_ours. | |
4018 | (tui_disable): Likewise. | |
4019 | ||
9debeba0 DE |
4020 | 2014-08-25 Doug Evans <dje@google.com> |
4021 | ||
4022 | * linux-nat.c (linux_nat_close): Don't pass NULL for "this". | |
4023 | Pass NULL instead of 0 for context pointer. | |
4024 | ||
428fc5fc YQ |
4025 | 2014-08-25 Yao Qi <yao@codesourcery.com> |
4026 | ||
4027 | * dwarf2read.c: Fix grammatical error. | |
4028 | ||
cdc07690 YQ |
4029 | 2014-08-24 Yao Qi <yao@codesourcery.com> |
4030 | ||
4031 | * dwarf2read.c (scan_partial_symbols): Update comments. | |
4032 | Rename argument 'need_pc' with 'set_addrmap'. | |
4033 | (add_partial_namespace): Rename argument 'need_pc' with | |
4034 | 'set_addrmap'. | |
4035 | (add_partial_module): Likewise. | |
4036 | (add_partial_subprogram): Likewise. Update comments. | |
4037 | (dwarf2_name): Fix typo. | |
4038 | ||
a05a36a5 DE |
4039 | 2014-08-22 Doug Evans <dje@google.com> |
4040 | ||
4041 | PR 17276 | |
4042 | * dwarf2read.c (dwarf_record_line_p): New function. | |
4043 | (dwarf_decode_lines_1): Ignore subsequent line number entries | |
4044 | for the same line if any entry had a non-zero discriminator. | |
4045 | ||
252a6764 DE |
4046 | 2014-08-22 Doug Evans <dje@google.com> |
4047 | ||
4048 | * buildsym.h (record_line_ftype): New typedef. | |
4049 | (record_line): Use it. | |
4050 | * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions. | |
4051 | (dwarf_decode_lines_1): Call them. | |
4052 | ||
510db052 YQ |
4053 | 2014-08-22 Yao Qi <yao@codesourcery.com> |
4054 | ||
4055 | * ctf.c (CTF_FILE_MIN_SIZE): Remove. | |
4056 | (ctf_end): Remove code. | |
4057 | ||
22fd09ae JK |
4058 | 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
4059 | ||
4060 | * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED. | |
4061 | (linux_make_corefile_notes): call update_thread_list, protected against | |
4062 | exceptions. | |
4063 | ||
656e8868 PA |
4064 | 2014-08-21 Pedro Alves <palves@redhat.com> |
4065 | ||
4066 | * infcmd.c (attach_command): Remove comment. | |
4067 | ||
de589d04 WN |
4068 | 2014-08-21 Bin Cheng <bin.cheng@arm.com> |
4069 | ||
4070 | * aarch64-linux-nat.c (dr_changed_t): Change the type from | |
4071 | unsigned LONGEST to ULONGEST. | |
4072 | ||
2a31c623 PA |
4073 | 2014-08-20 Pedro Alves <palves@redhat.com> |
4074 | ||
4075 | * Makefile.in (check-read1): New rule. | |
4076 | ||
d36430db JB |
4077 | 2014-08-20 Joel Brobecker <brobecker@adacore.com> |
4078 | ||
4079 | * value.c (value_from_contents_and_address): Strip resolved_type's | |
4080 | typedef layers before checking its TYPE_DATA_LOCATION. | |
4081 | ||
000339af PA |
4082 | 2014-08-20 Pedro Alves <palves@redhat.com> |
4083 | ||
4084 | * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall. | |
4085 | ||
5f52445b YQ |
4086 | 2014-08-20 Yao Qi <yao@codesourcery.com> |
4087 | ||
4088 | * amd64-tdep.c (amd64_classify): Add a blank line after the | |
4089 | example. Move "*/" to a new line. | |
4090 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise. | |
4091 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise. | |
4092 | * dwarf2read.c (psymtab_include_file_name): Likewise. | |
4093 | ||
9a0dc9e3 PA |
4094 | 2014-08-19 Andrew Burgess <aburgess@broadcom.com> |
4095 | Pedro Alves <palves@redhat.com> | |
4096 | ||
4097 | PR symtab/14604 | |
4098 | PR symtab/14605 | |
4099 | * ada-lang.c (coerce_unspec_val_to_type): Use | |
4100 | value_contents_copy_raw. | |
4101 | * ada-valprint.c (val_print_packed_array_elements): Adjust. | |
4102 | * c-valprint.c (c_val_print): Use value_bits_any_optimized_out. | |
4103 | * cp-valprint.c (cp_print_value_fields): Let the common printing | |
4104 | code handle optimized out values. | |
4105 | (cp_print_value_fields_rtti): Use value_bits_any_optimized_out. | |
4106 | * d-valprint.c (dynamic_array_type): Use | |
4107 | value_bits_any_optimized_out. | |
4108 | * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and | |
4109 | check_any_valid fields. | |
4110 | (check_pieced_value_bits): Delete and inline ... | |
4111 | (check_pieced_synthetic_pointer): ... here. | |
4112 | (check_pieced_value_validity): Delete. | |
4113 | (check_pieced_value_invalid): Delete. | |
4114 | (pieced_value_funcs): Remove check_validity and check_any_valid | |
4115 | fields. | |
4116 | (read_pieced_value): Use mark_value_bits_optimized_out. | |
4117 | (write_pieced_value): Switch to use | |
4118 | mark_value_bytes_optimized_out. | |
4119 | (dwarf2_evaluate_loc_desc_full): Copy the value contents instead | |
4120 | of assuming the whole value is optimized out. | |
4121 | * findvar.c (read_frame_register_value): Remove special handling | |
4122 | of optimized out registers. | |
4123 | (value_from_register): Use mark_value_bytes_optimized_out. | |
4124 | * frame-unwind.c (frame_unwind_got_optimized): Use | |
4125 | mark_value_bytes_optimized_out. | |
4126 | * jv-valprint.c (java_value_print): Adjust. | |
4127 | (java_print_value_fields): Let the common printing code handle | |
4128 | optimized out values. | |
4129 | * mips-tdep.c (mips_print_register): Remove special handling of | |
4130 | optimized out registers. | |
4131 | * opencl-lang.c (lval_func_check_validity): Delete. | |
4132 | (lval_func_check_any_valid): Delete. | |
4133 | (opencl_value_funcs): Remove check_validity and check_any_valid | |
4134 | fields. | |
4135 | * p-valprint.c (pascal_object_print_value_fields): Let the common | |
4136 | printing code handle optimized out values. | |
4137 | * stack.c (read_frame_arg): Remove special handling of optimized | |
4138 | out values. Fetch both VAL and ENTRYVAL before comparing | |
4139 | contents. Adjust to value_available_contents_eq rename. | |
4140 | * valprint.c (valprint_check_validity) | |
4141 | (val_print_scalar_formatted): Use value_bits_any_optimized_out. | |
4142 | (val_print_array_elements): Adjust. | |
4143 | * value.c (struct value) <optimized_out>: Now a VEC(range_s). | |
4144 | (value_bits_any_optimized_out): New function. | |
4145 | (value_entirely_covered_by_range_vector): New function, factored | |
4146 | out from value_entirely_unavailable. | |
4147 | (value_entirely_unavailable): Reimplement. | |
4148 | (value_entirely_optimized_out): New function. | |
4149 | (insert_into_bit_range_vector): New function, factored out from | |
4150 | mark_value_bits_unavailable. | |
4151 | (mark_value_bits_unavailable): Reimplement. | |
4152 | (struct ranges_and_idx): New struct. | |
4153 | (find_first_range_overlap_and_match): New function, factored out | |
4154 | from value_available_contents_bits_eq. | |
4155 | (value_available_contents_bits_eq): Rename to ... | |
4156 | (value_contents_bits_eq): ... this. Check both unavailable | |
4157 | contents and optimized out contents. | |
4158 | (value_available_contents_eq): Rename to ... | |
4159 | (value_contents_eq): ... this. | |
4160 | (allocate_value_lazy): Remove reference to the old optimized_out | |
4161 | boolean. | |
4162 | (allocate_optimized_out_value): Use | |
4163 | mark_value_bytes_optimized_out. | |
4164 | (require_not_optimized_out): Adjust to check whether the | |
4165 | optimized_out vec is empty. | |
4166 | (ranges_copy_adjusted): New function, factored out from | |
4167 | value_contents_copy_raw. | |
4168 | (value_contents_copy_raw): Also copy the optimized out ranges. | |
4169 | Assert the destination ranges aren't optimized out. | |
4170 | (value_contents_copy): Update comment, remove call to | |
4171 | require_not_optimized_out. | |
4172 | (value_contents_equal): Adjust to check whether the optimized_out | |
4173 | vec is empty. | |
4174 | (set_value_optimized_out, value_optimized_out_const): Delete. | |
4175 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
4176 | New functions. | |
4177 | (value_entirely_optimized_out, value_bits_valid): Delete. | |
4178 | (value_copy): Take a VEC copy of the 'optimized_out' field. | |
4179 | (value_primitive_field): Remove special handling of optimized out. | |
4180 | (value_fetch_lazy): Assert that lazy values have no unavailable | |
4181 | regions. Use value_bits_any_optimized_out. Remove some special | |
4182 | handling for optimized out values. | |
4183 | * value.h: Add intro comment about <optimized out> and | |
4184 | <unavailable>. | |
4185 | (struct lval_funcs): Remove check_validity and check_any_valid | |
4186 | fields. | |
4187 | (set_value_optimized_out, value_optimized_out_const): Remove. | |
4188 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
4189 | New declarations. | |
4190 | (value_bits_any_optimized_out): New declaration. | |
4191 | (value_bits_valid): Delete declaration. | |
4192 | (value_available_contents_eq): Rename to ... | |
4193 | (value_contents_eq): ... this, and extend comments. | |
4194 | ||
6694c411 JK |
4195 | 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
4196 | ||
4197 | Fix -fsanitize=address on unreadable inferior strings. | |
4198 | * valprint.c (val_print_string): Fix access before BUFFER. | |
4199 | ||
89a1c21a SM |
4200 | 2014-08-19 Simon Marchi <simon.marchi@ericsson.com> |
4201 | ||
4202 | * target.c (target_struct_size): Remove. | |
4203 | (target_struct_allocsize): Remove. | |
4204 | (DEFAULT_ALLOCSIZE): Remove. | |
4205 | (target_ops_p): New typedef. | |
4206 | (DEF_VEC_P (target_ops_p)): New vector type. | |
4207 | (target_structs): Change type to VEC (target_ops_p). | |
4208 | (add_target_with_completer): Replace "push" code by VEC_safe_push. | |
4209 | (find_default_run_target): Rewrite for loop following changes to | |
4210 | target_structs. | |
4211 | ||
cb417230 JB |
4212 | 2014-08-19 Joel Brobecker <brobecker@adacore.com> |
4213 | ||
4214 | * value.c (value_from_pointer): Remove use of resolve_dynamic_type. | |
4215 | Adjust code accordingly. Adjust function description comment. | |
4216 | ||
817e0957 YQ |
4217 | 2014-08-19 Yao Qi <yao@codesourcery.com> |
4218 | ||
4219 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex | |
4220 | types. | |
4221 | ||
2974be62 AM |
4222 | 2014-08-19 Alan Modra <amodra@gmail.com> |
4223 | ||
4224 | * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl. | |
4225 | * config.in: Regenerate. | |
4226 | * configure: Regenerate. | |
4227 | ||
34abf635 GB |
4228 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
4229 | Gary Benson <gbenson@redhat.com> | |
4230 | ||
4231 | * common/common-debug.h: New file. | |
4232 | * common/common-debug.c: Likewise. | |
4233 | * debug.c: Likewise. | |
4234 | * Makefile.in (SFILES): Add common/common-debug.c. | |
4235 | (HFILES_NO_SRCDIR): Add common/common-debug.h. | |
4236 | (COMMON_OBS): Add common-debug.o and debug.o. | |
4237 | (common-debug.o): New rule. | |
4238 | * common/common-defs.h: Include common-debug.h. | |
4239 | * common/agent.c (debug_agent_printf): New function. | |
4240 | (DEBUG_AGENT): Redefine. | |
4241 | * nat/i386-dregs.c (debug_printf): Undefine. | |
4242 | ||
f6e94d78 GB |
4243 | 2014-08-19 Gary Benson <gbenson@redhat.com> |
4244 | ||
4245 | * common/common-defs.h: Include print-utils.h. | |
4246 | * utils.h: Do not include print-utils.h. | |
4247 | ||
9239eeab GB |
4248 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
4249 | Gary Benson <gbenson@redhat.com> | |
4250 | ||
4251 | * common/common-types.h: New file. | |
4252 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h. | |
4253 | * common/common-defs.h: Include common-types.h. | |
4254 | * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST) | |
4255 | (ULONGEST): Remove. | |
4256 | ||
ef87c8bb GB |
4257 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
4258 | Gary Benson <gbenson@redhat.com> | |
4259 | ||
4260 | * common/errors.h: New file. | |
4261 | * common/errors.c: Likewise. | |
4262 | * Makefile.in (SFILES): Add common/errors.c. | |
4263 | (HFILES_NO_SRCDIR): Add common/errors.h. | |
4264 | (COMMON_OBS): Add errors.o. | |
4265 | (errors.o): New rule. | |
4266 | * common/common-defs.h: Include errors.h. | |
4267 | * utils.h (perror_with_name, error, verror, warning, vwarning): | |
4268 | Don't declare. | |
4269 | * common/common-utils.h: (malloc_failure, internal_error): | |
4270 | Likewise. | |
4271 | ||
196a707b GB |
4272 | 2014-08-19 Gary Benson <gbenson@redhat.com> |
4273 | ||
4274 | * utils.c (internal_vproblem): Always print the message. | |
4275 | ||
ded4fc8f DE |
4276 | 2014-08-18 Doug Evans <dje@google.com> |
4277 | ||
4278 | * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall. | |
4279 | ||
950c97d8 JB |
4280 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
4281 | ||
4282 | * ada-typeprint.c (type_is_full_subrange_of_target_type): | |
4283 | Return 0 if TYPE is dynamic. | |
4284 | (print_range): Add handling of dynamic ranges. | |
4285 | ||
3cdcd0ce JB |
4286 | 2014-08-18 Keven Boell <keven.boell@intel.com> |
4287 | Joel Brobecker <brobecker@adacore.com> | |
4288 | ||
4289 | * gdbtypes.h (struct main_type): Add field "data_location". | |
4290 | (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON) | |
4291 | (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros. | |
4292 | * gdbtypes.c (is_dynamic_type): Return 1 if the type has | |
4293 | a dynamic data location. | |
4294 | (resolve_dynamic_type): Add DW_AT_data_location handling. | |
4295 | (copy_recursive, copy_type): Copy the data_location information | |
4296 | when present. | |
4297 | * dwarf2read.c (set_die_type): Add DW_AT_data_location handling. | |
4298 | * value.c (value_from_contents_and_address): Add | |
4299 | DW_AT_data_location handling. | |
4300 | ||
08412b07 JB |
4301 | 2014-08-18 Keven Boell <keven.boell@intel.com> |
4302 | Joel Brobecker <brobecker@adacore.com> | |
4303 | ||
4304 | * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment | |
4305 | field "get_object_address". | |
4306 | * dwarf2expr.c (execute_stack_op): Add handling for | |
4307 | DW_OP_push_object_address. | |
4308 | * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field. | |
4309 | * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address". | |
4310 | (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address. | |
4311 | (dwarf_expr_get_obj_addr): New function. | |
4312 | (dwarf_expr_ctx_funcs): Add get_object_address field. | |
4313 | (dwarf2_evaluate_loc_desc_full): Set baton.obj_address. | |
4314 | (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it. | |
4315 | (dwarf2_evaluate_property): Add parameter "address". Use it. | |
4316 | (needs_get_obj_addr): New function. | |
4317 | (needs_frame_ctx_funcs): Add get_object_address field. | |
4318 | (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling. | |
4319 | * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it. | |
4320 | (resolve_dynamic_array): Likewise. | |
4321 | ||
84754697 JB |
4322 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
4323 | ||
4324 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: | |
4325 | When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically | |
4326 | fixed value for records and unions for which some GNAT encodings | |
4327 | are present. | |
4328 | ||
da5c522f JB |
4329 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
4330 | ||
4331 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code | |
4332 | rewrite to avoid "else if" and "else" constructs. Should be | |
4333 | a no-op in practice. | |
4334 | ||
0d72a7c3 JB |
4335 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
4336 | ||
4337 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation | |
4338 | of lexical block. | |
4339 | ||
e66d4446 SC |
4340 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
4341 | ||
4342 | PR c++/17132 | |
4343 | * eval.c: Update all calls to find_overload_match. | |
4344 | * valarith.c: Likewise. | |
4345 | (value_user_defined_cpp_op, value_user_defined_op): New | |
4346 | argument NOSIDE. Update all callers. | |
4347 | * valops.c (find_overload_match): New argument NOSIDE. | |
4348 | * value.h (find_overload_match): Update signature. | |
4349 | ||
940df408 SC |
4350 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
4351 | ||
4352 | * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the | |
4353 | 'items' methods instead of 'iteritems' method on dictionaries. | |
4354 | ||
699ca60a DE |
4355 | 2014-08-15 Doug Evans <dje@google.com> |
4356 | ||
4357 | * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode | |
4358 | closer to use. | |
4359 | ||
37780ee5 DE |
4360 | 2014-08-15 Doug Evans <dje@google.com> |
4361 | ||
4362 | * dwarf2read.c (dwarf_decode_lines_1): Add comment. | |
4363 | ||
0ad93d4f DE |
4364 | 2014-08-15 Doug Evans <dje@google.com> |
4365 | ||
4366 | * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused. | |
4367 | ||
20d8c372 DE |
4368 | 2014-08-15 Doug Evans <dje@google.com> |
4369 | ||
4370 | * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block, | |
4371 | unused. | |
4372 | ||
cb039ba4 EZ |
4373 | 2014-08-15 Eli Zaretskii <eliz@gnu.org> |
4374 | ||
4375 | * dcache.h: Include target.h, to avoid compile time warnings. | |
4376 | ||
eb7a547a JB |
4377 | 2014-08-15 Joel Brobecker <brobecker@adacore.com> |
4378 | ||
4379 | * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct | |
4380 | frame_info" partial declaration. | |
4381 | * gdbarch.h: Regenerate. | |
4382 | ||
783cecc8 YQ |
4383 | 2014-08-15 Yao Qi <yao@codesourcery.com> |
4384 | ||
4385 | * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'. | |
4386 | Add parameter 'decode_for_pst_p'. Callers update. | |
4387 | ||
65c749e7 YQ |
4388 | 2014-08-13 Yao Qi <yao@codesourcery.com> |
4389 | ||
4390 | PR build/17104 | |
4391 | * configure.ac: Use local variable 'pos'. | |
4392 | * configure: Regenerated. | |
4393 | ||
d769e349 DE |
4394 | 2014-08-11 Doug Evans <dje@google.com> |
4395 | ||
4396 | * solib.c (solib_read_symbols): Delete "Loaded symbols for ..." | |
4397 | message, it is redundant with "Reading symbols from ..." message. | |
4398 | ||
24f1235e DE |
4399 | 2014-08-10 Doug Evans <xdje42@gmail.com> |
4400 | ||
4401 | * linux-nat.c (linux_nat_thread_address_space): Delete dead code. | |
4402 | ||
dcd2e6ef YQ |
4403 | 2014-08-09 Yao Qi <yao@codesourcery.com> |
4404 | ||
4405 | PR remote/9053 | |
4406 | * remote.c (remote_xfer_partial): Remove dead code. | |
4407 | ||
070bdf0b AA |
4408 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4409 | ||
4410 | * ia64-linux-tdep.c: Include "regset.h". | |
4411 | (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps. | |
4412 | (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros. | |
4413 | (ia64_linux_supply_fpregset): New function. | |
4414 | (ia64_linux_gregset, ia64_linux_fpregset): New regsets. | |
4415 | (ia64_linux_regset_from_core_section): New function. | |
4416 | (ia64_linux_init_abi): Set regset_from_core_section gdbarch | |
4417 | method. | |
4418 | ||
08f9f542 AA |
4419 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4420 | ||
4421 | * m68klinux-tdep.c: Include "regset.h". | |
4422 | (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps. | |
4423 | (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros. | |
4424 | (m68k_linux_gregset, m68k_linux_fpregset): New regsets. | |
4425 | (m68k_linux_regset_from_core_section): New function. | |
4426 | (m68k_linux_init_abi): Set regset_from_core_section gdbarch | |
4427 | method. | |
4428 | ||
8f1cee41 AA |
4429 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4430 | ||
4431 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete | |
4432 | function. Move logic to... | |
4433 | (tilegx_linux_regmap): ... this new register map. | |
4434 | (tilegx_linux_regset): Refer to register map, replace supply | |
4435 | method by regcache_supply_regset, and add collect method. | |
4436 | * tilegx-tdep.h (enum tilegx_regnum): New enum value | |
4437 | TILEGX_FIRST_EASY_REGNUM. | |
4438 | ||
c5741217 AA |
4439 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4440 | ||
4441 | * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub | |
4442 | that calls regcache_supply_regset and handles the EPC register | |
4443 | separately. Move main logic to... | |
4444 | (score7_linux_gregmap): ... this new register map. | |
4445 | (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros. | |
4446 | (score7_linux_gregset): Refer to register map. Add collect method. | |
4447 | (score7_linux_regset_from_core_section): Replace | |
4448 | sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET. | |
4449 | * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM. | |
4450 | (struct regset): Delete unused forward declaraction. | |
4451 | (struct pt_regs): Delete structure definition. | |
4452 | (elf_gregset_t): Delete typedef. | |
4453 | ||
81580573 AA |
4454 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4455 | ||
4456 | * nios2-linux-tdep.c (nios2_collect_gregset): New function. | |
4457 | (nios2_core_regset): Add collect method. | |
4458 | ||
ba199d7d AA |
4459 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4460 | ||
4461 | * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make | |
4462 | platform-independent and don't write to read-only input buffer. | |
4463 | (m32r_linux_collect_gregset): New function. | |
4464 | (m32r_linux_gregset): Add collect method. | |
4465 | ||
0006a9da AA |
4466 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4467 | ||
4468 | * hppa-linux-tdep.c (greg_map): Rename to... | |
4469 | (hppa_linux_gregmap): ... this. Also convert to | |
4470 | regcache_map_entry format. | |
4471 | (hppa_linux_supply_regset): Delete function. | |
4472 | (hppa_linux_supply_fpregset): Delete function. Move logic to... | |
4473 | (hppa_linux_fpregmap): ... this new register map. | |
4474 | (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate | |
4475 | register map, replace supply method by regcache_supply_regset, and | |
4476 | add collect method regcache_collect_regset. | |
4477 | ||
901e1b23 AA |
4478 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4479 | ||
4480 | * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR) | |
4481 | (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0) | |
4482 | (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR) | |
4483 | (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP) | |
4484 | (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros. | |
4485 | (frv_linux_gregmap, frv_linux_fpregmap): New register maps. | |
4486 | (frv_linux_supply_gregset): Replace main logic by call to | |
4487 | regcache_supply_regset, but keep clearing gr32-gr63. | |
4488 | (frv_linux_supply_fpregset): Delete function. | |
4489 | (frv_linux_gregset): Refer to appropriate register map and add | |
4490 | regcache_collect_regset as the collect method. | |
4491 | (frv_linux_fpregset): Likewise. Also exchange the supply method | |
4492 | by regcache_supply_regset. | |
4493 | ||
1d6e7555 AA |
4494 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4495 | ||
4496 | * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic | |
4497 | by call to alpha_supply_int_regs. | |
4498 | (alpha_linux_collect_gregset): New function. | |
4499 | (alpha_linux_supply_fpregset): Replace logic by call to | |
4500 | alpha_supply_fp_regs. | |
4501 | (alpha_linux_collect_fpregset): New function. | |
4502 | (alpha_linux_gregset, alpha_linux_fpregset): Add collect method. | |
4503 | ||
d4d793bf AA |
4504 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4505 | ||
4506 | * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic | |
4507 | by call to regcache_collect_regset. | |
4508 | (supply_gregset, supply_fpregset): Call regcache_supply_regset | |
4509 | instead of aarch64_linux_supply_gregset/_fpregset. | |
4510 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET) | |
4511 | (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to | |
4512 | header file instead. | |
4513 | (aarch64_linux_supply_gregset, supply_gregset_from_core) | |
4514 | (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete | |
4515 | functions. Move logic to ... | |
4516 | (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new | |
4517 | register maps. | |
4518 | (aarch64_linux_gregset, aarch64_linux_fpregset): Make global, | |
4519 | refer to new register maps, replace *_regset_from_core by | |
4520 | regcache_supply_regset, and also use regcache_collect_regset. | |
4521 | * aarch64-linux-tdep.h: Include "regset.h". | |
4522 | (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset): | |
4523 | Delete prototypes. | |
4524 | (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New | |
4525 | macros, moved from C source file. | |
4526 | (aarch64_linux_gregset, aarch64_linux_fpregset): New global | |
4527 | variable declarations. | |
4528 | ||
99b7da5d AA |
4529 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4530 | ||
4531 | * s390-linux-nat.c: Include "regset.h". | |
4532 | (regmap_gregset): Delete macro. | |
4533 | (s390_64_regmap_gregset): New register map for | |
4534 | regcache_supply/_collect_regset. | |
4535 | (s390_64_gregset): New regset. | |
4536 | (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros. | |
4537 | (regmap_fpregset): Delete macro. | |
4538 | (s390_native_supply, s390_native_collect): Delete functions. | |
4539 | (supply_gregset, fill_gregset): Replace s390-specific regmap | |
4540 | handling by a call to regcache_supply/_collect_regset. | |
4541 | (supply_fpregset, fill_fpregset): Call regcache_supply/ | |
4542 | _collect_regset instead of s390_native_supply/_collect. | |
4543 | (fetch_regset, store_regset): Likewise. Also change the last | |
4544 | parameter to a regset instead of a regmap. | |
4545 | (s390_linux_fetch_inferior_registers) | |
4546 | (390_linux_store_inferior_registers): Adjust last parameter in | |
4547 | calls to fetch_regset and store_regset. | |
4548 | * s390-linux-tdep.c (s390_regmap_gregset): Rename to... | |
4549 | (s390_gregmap): ... this. Also make static const and convert to | |
4550 | regcache_map_entry format. | |
4551 | (s390x_regmap_gregset): Delete. | |
4552 | (s390_regmap_fpregset): Rename to... | |
4553 | (s390_fpregmap): ... this. Make static const and convert to | |
4554 | regcache_map_entry format. | |
4555 | (s390_regmap_upper, s390_regmap_last_break) | |
4556 | (s390x_regmap_last_break, s390_regmap_system_call) | |
4557 | (s390_regmap_tdb): Likewise. | |
4558 | (s390_supply_regset, s390_collect_regset): Remove functions. | |
4559 | (s390_supply_tdb_regset): Call regcache_supply_regset instead of | |
4560 | s390_supply_regset. | |
4561 | (s390_gregset, s390_fpregset, s390_upper_regset) | |
4562 | (s390_last_break_regset, s390x_last_break_regset) | |
4563 | (s390_system_call_regset, s390_tdb_regset): Make global and | |
4564 | replace s390_supply/_collect_regset by regcache_supply/ | |
4565 | _collect_regset. | |
4566 | (s390x_gregset): Delete. | |
4567 | (s390_gdbarch_init): Replace s390x_gregset by s390_gregset. | |
4568 | * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset) | |
4569 | (s390_regmap_fpregset, s390_regmap_last_break) | |
4570 | (s390x_regmap_last_break, s390_regmap_system_call) | |
4571 | (s390_regmap_tdb): Delete global variable declarations. | |
4572 | (s390_gregset, s390_fpregset, s390_last_break_regset) | |
4573 | (s390x_last_break_regset, s390_system_call_regset) | |
4574 | (s390_tdb_regset): New global variable declarations. | |
4575 | ||
0b309272 AA |
4576 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4577 | ||
4578 | * regcache.c: Include "regset.h". | |
4579 | (regcache_transfer_regset): New local function. | |
4580 | (regcache_supply_regset, regcache_collect_regset): New functions. | |
4581 | * regcache.h (struct regcache_map_entry): New structure. | |
4582 | (REGCACHE_MAP_SKIP): New enum value. | |
4583 | (regcache_supply_regset, regcache_collect_regset): New prototypes. | |
4584 | ||
7fefa8d7 AA |
4585 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4586 | ||
4587 | * regset.h (struct regset): Rename 'descr' field to 'regmap'. | |
4588 | * ppc-linux-tdep.c (ppc_linux_supply_gregset) | |
4589 | (ppc_linux_collect_gregset ): Likewise. | |
4590 | * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset) | |
4591 | (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset) | |
4592 | (ppc_collect_vrregset): Likewise. | |
4593 | * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset): | |
4594 | Likewise. | |
4595 | ||
96c4f946 YQ |
4596 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
4597 | ||
4598 | * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF. | |
4599 | * remote-m32r-sdi.c (m32r_xfer_memory): Likewise. | |
4600 | * remote.c (remote_read_bytes): Likewise. | |
4601 | ||
fffbe6a8 YQ |
4602 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
4603 | ||
4604 | * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments. | |
4605 | ||
5ee8a82c YQ |
4606 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
4607 | ||
4608 | PR remote/17230 | |
4609 | * remote-mips.c (mips_xfer_memory): Set *xfered_len and return | |
4610 | TARGET_XFER_OK instead of 0. | |
4611 | ||
bb974a24 GB |
4612 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4613 | ||
4614 | * common/common-defs.h: Include errno.h. | |
4615 | * defs.h: Do not include errno.h. | |
4616 | * ada-typeprint.c: Likewise. | |
4617 | * c-typeprint.c: Likewise. | |
4618 | * core-regset.c: Likewise. | |
4619 | * corefile.c: Likewise. | |
4620 | * corelow.c: Likewise. | |
4621 | * event-loop.c: Likewise. | |
4622 | * f-typeprint.c: Likewise. | |
4623 | * gnu-nat.c: Likewise. | |
4624 | * go32-nat.c: Likewise. | |
4625 | * i386gnu-nat.c: Likewise. | |
4626 | * m2-typeprint.c: Likewise. | |
4627 | * nat/linux-btrace.c: Likewise. | |
4628 | * p-typeprint.c: Likewise. | |
4629 | * procfs.c: Likewise. | |
4630 | * remote-sim.c: Likewise. | |
4631 | * rs6000-nat.c: Likewise. | |
4632 | * target.c: Likewise. | |
4633 | * typeprint.c: Likewise. | |
4634 | * ui-file.c: Likewise. | |
4635 | * valops.c: Likewise. | |
4636 | * valprint.c: Likewise. | |
4637 | ||
6d3d12eb GB |
4638 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4639 | ||
4640 | * common/common-defs.h: Include string.h. | |
4641 | * aarch64-tdep.c: Do not include string.h. | |
4642 | * ada-exp.y: Likewise. | |
4643 | * ada-lang.c: Likewise. | |
4644 | * ada-lex.l: Likewise. | |
4645 | * ada-typeprint.c: Likewise. | |
4646 | * ada-valprint.c: Likewise. | |
4647 | * aix-thread.c: Likewise. | |
4648 | * alpha-linux-tdep.c: Likewise. | |
4649 | * alpha-mdebug-tdep.c: Likewise. | |
4650 | * alpha-nat.c: Likewise. | |
4651 | * alpha-osf1-tdep.c: Likewise. | |
4652 | * alpha-tdep.c: Likewise. | |
4653 | * alphanbsd-tdep.c: Likewise. | |
4654 | * amd64-dicos-tdep.c: Likewise. | |
4655 | * amd64-linux-tdep.c: Likewise. | |
4656 | * amd64-nat.c: Likewise. | |
4657 | * amd64-sol2-tdep.c: Likewise. | |
4658 | * amd64fbsd-tdep.c: Likewise. | |
4659 | * amd64obsd-tdep.c: Likewise. | |
4660 | * arch-utils.c: Likewise. | |
4661 | * arm-linux-nat.c: Likewise. | |
4662 | * arm-linux-tdep.c: Likewise. | |
4663 | * arm-tdep.c: Likewise. | |
4664 | * arm-wince-tdep.c: Likewise. | |
4665 | * armbsd-tdep.c: Likewise. | |
4666 | * armnbsd-nat.c: Likewise. | |
4667 | * armnbsd-tdep.c: Likewise. | |
4668 | * armobsd-tdep.c: Likewise. | |
4669 | * avr-tdep.c: Likewise. | |
4670 | * ax-gdb.c: Likewise. | |
4671 | * ax-general.c: Likewise. | |
4672 | * bcache.c: Likewise. | |
4673 | * bfin-tdep.c: Likewise. | |
4674 | * breakpoint.c: Likewise. | |
4675 | * build-id.c: Likewise. | |
4676 | * buildsym.c: Likewise. | |
4677 | * c-exp.y: Likewise. | |
4678 | * c-lang.c: Likewise. | |
4679 | * c-typeprint.c: Likewise. | |
4680 | * c-valprint.c: Likewise. | |
4681 | * charset.c: Likewise. | |
4682 | * cli-out.c: Likewise. | |
4683 | * cli/cli-cmds.c: Likewise. | |
4684 | * cli/cli-decode.c: Likewise. | |
4685 | * cli/cli-dump.c: Likewise. | |
4686 | * cli/cli-interp.c: Likewise. | |
4687 | * cli/cli-logging.c: Likewise. | |
4688 | * cli/cli-script.c: Likewise. | |
4689 | * cli/cli-setshow.c: Likewise. | |
4690 | * cli/cli-utils.c: Likewise. | |
4691 | * coffread.c: Likewise. | |
4692 | * common/agent.c: Likewise. | |
4693 | * common/buffer.c: Likewise. | |
4694 | * common/buffer.h: Likewise. | |
4695 | * common/common-utils.c: Likewise. | |
4696 | * common/filestuff.c: Likewise. | |
4697 | * common/filestuff.c: Likewise. | |
4698 | * common/format.c: Likewise. | |
4699 | * common/print-utils.c: Likewise. | |
4700 | * common/rsp-low.c: Likewise. | |
4701 | * common/signals.c: Likewise. | |
4702 | * common/vec.h: Likewise. | |
4703 | * common/xml-utils.c: Likewise. | |
4704 | * core-regset.c: Likewise. | |
4705 | * corefile.c: Likewise. | |
4706 | * corelow.c: Likewise. | |
4707 | * cp-abi.c: Likewise. | |
4708 | * cp-name-parser.y: Likewise. | |
4709 | * cp-support.c: Likewise. | |
4710 | * cp-valprint.c: Likewise. | |
4711 | * cris-tdep.c: Likewise. | |
4712 | * d-exp.y: Likewise. | |
4713 | * darwin-nat.c: Likewise. | |
4714 | * dbxread.c: Likewise. | |
4715 | * dcache.c: Likewise. | |
4716 | * demangle.c: Likewise. | |
4717 | * dicos-tdep.c: Likewise. | |
4718 | * disasm.c: Likewise. | |
4719 | * doublest.c: Likewise. | |
4720 | * dsrec.c: Likewise. | |
4721 | * dummy-frame.c: Likewise. | |
4722 | * dwarf2-frame.c: Likewise. | |
4723 | * dwarf2loc.c: Likewise. | |
4724 | * dwarf2read.c: Likewise. | |
4725 | * elfread.c: Likewise. | |
4726 | * environ.c: Likewise. | |
4727 | * eval.c: Likewise. | |
4728 | * event-loop.c: Likewise. | |
4729 | * exceptions.c: Likewise. | |
4730 | * exec.c: Likewise. | |
4731 | * expprint.c: Likewise. | |
4732 | * f-exp.y: Likewise. | |
4733 | * f-lang.c: Likewise. | |
4734 | * f-typeprint.c: Likewise. | |
4735 | * f-valprint.c: Likewise. | |
4736 | * fbsd-nat.c: Likewise. | |
4737 | * findcmd.c: Likewise. | |
4738 | * findvar.c: Likewise. | |
4739 | * fork-child.c: Likewise. | |
4740 | * frame.c: Likewise. | |
4741 | * frv-linux-tdep.c: Likewise. | |
4742 | * frv-tdep.c: Likewise. | |
4743 | * gdb.c: Likewise. | |
4744 | * gdb_bfd.c: Likewise. | |
4745 | * gdbarch.c: Likewise. | |
4746 | * gdbarch.sh: Likewise. | |
4747 | * gdbtypes.c: Likewise. | |
4748 | * gnu-nat.c: Likewise. | |
4749 | * gnu-v2-abi.c: Likewise. | |
4750 | * gnu-v3-abi.c: Likewise. | |
4751 | * go-exp.y: Likewise. | |
4752 | * go-lang.c: Likewise. | |
4753 | * go32-nat.c: Likewise. | |
4754 | * guile/guile.c: Likewise. | |
4755 | * guile/scm-auto-load.c: Likewise. | |
4756 | * hppa-hpux-tdep.c: Likewise. | |
4757 | * hppa-linux-nat.c: Likewise. | |
4758 | * hppanbsd-tdep.c: Likewise. | |
4759 | * hppaobsd-tdep.c: Likewise. | |
4760 | * i386-cygwin-tdep.c: Likewise. | |
4761 | * i386-dicos-tdep.c: Likewise. | |
4762 | * i386-linux-tdep.c: Likewise. | |
4763 | * i386-nto-tdep.c: Likewise. | |
4764 | * i386-sol2-tdep.c: Likewise. | |
4765 | * i386-tdep.c: Likewise. | |
4766 | * i386bsd-tdep.c: Likewise. | |
4767 | * i386gnu-nat.c: Likewise. | |
4768 | * i386nbsd-tdep.c: Likewise. | |
4769 | * i386obsd-tdep.c: Likewise. | |
4770 | * i387-tdep.c: Likewise. | |
4771 | * ia64-libunwind-tdep.c: Likewise. | |
4772 | * ia64-linux-nat.c: Likewise. | |
4773 | * inf-child.c: Likewise. | |
4774 | * inf-ptrace.c: Likewise. | |
4775 | * inf-ttrace.c: Likewise. | |
4776 | * infcall.c: Likewise. | |
4777 | * infcmd.c: Likewise. | |
4778 | * inflow.c: Likewise. | |
4779 | * infrun.c: Likewise. | |
4780 | * interps.c: Likewise. | |
4781 | * iq2000-tdep.c: Likewise. | |
4782 | * irix5-nat.c: Likewise. | |
4783 | * jv-exp.y: Likewise. | |
4784 | * jv-lang.c: Likewise. | |
4785 | * jv-typeprint.c: Likewise. | |
4786 | * jv-valprint.c: Likewise. | |
4787 | * language.c: Likewise. | |
4788 | * linux-fork.c: Likewise. | |
4789 | * linux-nat.c: Likewise. | |
4790 | * lm32-tdep.c: Likewise. | |
4791 | * m2-exp.y: Likewise. | |
4792 | * m2-typeprint.c: Likewise. | |
4793 | * m32c-tdep.c: Likewise. | |
4794 | * m32r-linux-nat.c: Likewise. | |
4795 | * m32r-linux-tdep.c: Likewise. | |
4796 | * m32r-rom.c: Likewise. | |
4797 | * m32r-tdep.c: Likewise. | |
4798 | * m68hc11-tdep.c: Likewise. | |
4799 | * m68k-tdep.c: Likewise. | |
4800 | * m68kbsd-tdep.c: Likewise. | |
4801 | * m68klinux-nat.c: Likewise. | |
4802 | * m68klinux-tdep.c: Likewise. | |
4803 | * m88k-tdep.c: Likewise. | |
4804 | * machoread.c: Likewise. | |
4805 | * macrocmd.c: Likewise. | |
4806 | * main.c: Likewise. | |
4807 | * mdebugread.c: Likewise. | |
4808 | * mem-break.c: Likewise. | |
4809 | * memattr.c: Likewise. | |
4810 | * memory-map.c: Likewise. | |
4811 | * mep-tdep.c: Likewise. | |
4812 | * mi/mi-cmd-break.c: Likewise. | |
4813 | * mi/mi-cmd-disas.c: Likewise. | |
4814 | * mi/mi-cmd-env.c: Likewise. | |
4815 | * mi/mi-cmd-stack.c: Likewise. | |
4816 | * mi/mi-cmd-var.c: Likewise. | |
4817 | * mi/mi-cmds.c: Likewise. | |
4818 | * mi/mi-console.c: Likewise. | |
4819 | * mi/mi-getopt.c: Likewise. | |
4820 | * mi/mi-interp.c: Likewise. | |
4821 | * mi/mi-main.c: Likewise. | |
4822 | * mi/mi-parse.c: Likewise. | |
4823 | * microblaze-rom.c: Likewise. | |
4824 | * microblaze-tdep.c: Likewise. | |
4825 | * mingw-hdep.c: Likewise. | |
4826 | * minidebug.c: Likewise. | |
4827 | * minsyms.c: Likewise. | |
4828 | * mips-irix-tdep.c: Likewise. | |
4829 | * mips-linux-tdep.c: Likewise. | |
4830 | * mips-tdep.c: Likewise. | |
4831 | * mips64obsd-tdep.c: Likewise. | |
4832 | * mipsnbsd-tdep.c: Likewise. | |
4833 | * mipsread.c: Likewise. | |
4834 | * mn10300-linux-tdep.c: Likewise. | |
4835 | * mn10300-tdep.c: Likewise. | |
4836 | * monitor.c: Likewise. | |
4837 | * moxie-tdep.c: Likewise. | |
4838 | * mt-tdep.c: Likewise. | |
4839 | * nat/linux-btrace.c: Likewise. | |
4840 | * nat/linux-osdata.c: Likewise. | |
4841 | * nat/linux-procfs.c: Likewise. | |
4842 | * nat/linux-ptrace.c: Likewise. | |
4843 | * nat/linux-waitpid.c: Likewise. | |
4844 | * nbsd-tdep.c: Likewise. | |
4845 | * nios2-linux-tdep.c: Likewise. | |
4846 | * nto-procfs.c: Likewise. | |
4847 | * nto-tdep.c: Likewise. | |
4848 | * objc-lang.c: Likewise. | |
4849 | * objfiles.c: Likewise. | |
4850 | * opencl-lang.c: Likewise. | |
4851 | * osabi.c: Likewise. | |
4852 | * osdata.c: Likewise. | |
4853 | * p-exp.y: Likewise. | |
4854 | * p-lang.c: Likewise. | |
4855 | * p-typeprint.c: Likewise. | |
4856 | * parse.c: Likewise. | |
4857 | * posix-hdep.c: Likewise. | |
4858 | * ppc-linux-nat.c: Likewise. | |
4859 | * ppc-sysv-tdep.c: Likewise. | |
4860 | * ppcfbsd-tdep.c: Likewise. | |
4861 | * ppcnbsd-tdep.c: Likewise. | |
4862 | * ppcobsd-tdep.c: Likewise. | |
4863 | * printcmd.c: Likewise. | |
4864 | * procfs.c: Likewise. | |
4865 | * prologue-value.c: Likewise. | |
4866 | * python/py-auto-load.c: Likewise. | |
4867 | * python/py-gdb-readline.c: Likewise. | |
4868 | * ravenscar-thread.c: Likewise. | |
4869 | * regcache.c: Likewise. | |
4870 | * registry.c: Likewise. | |
4871 | * remote-fileio.c: Likewise. | |
4872 | * remote-m32r-sdi.c: Likewise. | |
4873 | * remote-mips.c: Likewise. | |
4874 | * remote-notif.c: Likewise. | |
4875 | * remote-sim.c: Likewise. | |
4876 | * remote.c: Likewise. | |
4877 | * reverse.c: Likewise. | |
4878 | * rs6000-aix-tdep.c: Likewise. | |
4879 | * ser-base.c: Likewise. | |
4880 | * ser-go32.c: Likewise. | |
4881 | * ser-mingw.c: Likewise. | |
4882 | * ser-pipe.c: Likewise. | |
4883 | * ser-tcp.c: Likewise. | |
4884 | * ser-unix.c: Likewise. | |
4885 | * serial.c: Likewise. | |
4886 | * sh-tdep.c: Likewise. | |
4887 | * sh64-tdep.c: Likewise. | |
4888 | * shnbsd-tdep.c: Likewise. | |
4889 | * skip.c: Likewise. | |
4890 | * sol-thread.c: Likewise. | |
4891 | * solib-dsbt.c: Likewise. | |
4892 | * solib-frv.c: Likewise. | |
4893 | * solib-osf.c: Likewise. | |
4894 | * solib-som.c: Likewise. | |
4895 | * solib-spu.c: Likewise. | |
4896 | * solib-target.c: Likewise. | |
4897 | * solib.c: Likewise. | |
4898 | * somread.c: Likewise. | |
4899 | * source.c: Likewise. | |
4900 | * sparc-nat.c: Likewise. | |
4901 | * sparc-sol2-tdep.c: Likewise. | |
4902 | * sparc-tdep.c: Likewise. | |
4903 | * sparc64-tdep.c: Likewise. | |
4904 | * sparc64fbsd-tdep.c: Likewise. | |
4905 | * sparc64nbsd-tdep.c: Likewise. | |
4906 | * sparcnbsd-tdep.c: Likewise. | |
4907 | * spu-linux-nat.c: Likewise. | |
4908 | * spu-multiarch.c: Likewise. | |
4909 | * spu-tdep.c: Likewise. | |
4910 | * stabsread.c: Likewise. | |
4911 | * stack.c: Likewise. | |
4912 | * std-regs.c: Likewise. | |
4913 | * symfile.c: Likewise. | |
4914 | * symmisc.c: Likewise. | |
4915 | * symtab.c: Likewise. | |
4916 | * target.c: Likewise. | |
4917 | * thread.c: Likewise. | |
4918 | * tilegx-linux-nat.c: Likewise. | |
4919 | * tilegx-tdep.c: Likewise. | |
4920 | * top.c: Likewise. | |
4921 | * tracepoint.c: Likewise. | |
4922 | * tui/tui-command.c: Likewise. | |
4923 | * tui/tui-data.c: Likewise. | |
4924 | * tui/tui-disasm.c: Likewise. | |
4925 | * tui/tui-file.c: Likewise. | |
4926 | * tui/tui-layout.c: Likewise. | |
4927 | * tui/tui-out.c: Likewise. | |
4928 | * tui/tui-regs.c: Likewise. | |
4929 | * tui/tui-source.c: Likewise. | |
4930 | * tui/tui-stack.c: Likewise. | |
4931 | * tui/tui-win.c: Likewise. | |
4932 | * tui/tui-windata.c: Likewise. | |
4933 | * tui/tui-winsource.c: Likewise. | |
4934 | * typeprint.c: Likewise. | |
4935 | * ui-file.c: Likewise. | |
4936 | * ui-out.c: Likewise. | |
4937 | * user-regs.c: Likewise. | |
4938 | * utils.c: Likewise. | |
4939 | * v850-tdep.c: Likewise. | |
4940 | * valarith.c: Likewise. | |
4941 | * valops.c: Likewise. | |
4942 | * valprint.c: Likewise. | |
4943 | * value.c: Likewise. | |
4944 | * varobj.c: Likewise. | |
4945 | * vax-tdep.c: Likewise. | |
4946 | * vaxnbsd-tdep.c: Likewise. | |
4947 | * vaxobsd-tdep.c: Likewise. | |
4948 | * windows-nat.c: Likewise. | |
4949 | * xcoffread.c: Likewise. | |
4950 | * xml-support.c: Likewise. | |
4951 | * xstormy16-tdep.c: Likewise. | |
4952 | * xtensa-linux-nat.c: Likewise. | |
4953 | ||
dccbb609 GB |
4954 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4955 | ||
4956 | * common/common-defs.h: Include gdb_assert.h. | |
4957 | * aarch64-tdep.c: Do not include gdb_assert.h. | |
4958 | * addrmap.c: Likewise. | |
4959 | * aix-thread.c: Likewise. | |
4960 | * alpha-linux-tdep.c: Likewise. | |
4961 | * alpha-mdebug-tdep.c: Likewise. | |
4962 | * alphanbsd-tdep.c: Likewise. | |
4963 | * amd64-nat.c: Likewise. | |
4964 | * amd64-tdep.c: Likewise. | |
4965 | * amd64bsd-nat.c: Likewise. | |
4966 | * amd64fbsd-nat.c: Likewise. | |
4967 | * amd64fbsd-tdep.c: Likewise. | |
4968 | * amd64nbsd-nat.c: Likewise. | |
4969 | * amd64nbsd-tdep.c: Likewise. | |
4970 | * amd64obsd-nat.c: Likewise. | |
4971 | * amd64obsd-tdep.c: Likewise. | |
4972 | * arch-utils.c: Likewise. | |
4973 | * arm-tdep.c: Likewise. | |
4974 | * armbsd-tdep.c: Likewise. | |
4975 | * auxv.c: Likewise. | |
4976 | * bcache.c: Likewise. | |
4977 | * bfin-tdep.c: Likewise. | |
4978 | * blockframe.c: Likewise. | |
4979 | * breakpoint.c: Likewise. | |
4980 | * bsd-kvm.c: Likewise. | |
4981 | * bsd-uthread.c: Likewise. | |
4982 | * buildsym.c: Likewise. | |
4983 | * c-exp.y: Likewise. | |
4984 | * c-lang.c: Likewise. | |
4985 | * charset.c: Likewise. | |
4986 | * cleanups.c: Likewise. | |
4987 | * cli-out.c: Likewise. | |
4988 | * cli/cli-decode.c: Likewise. | |
4989 | * cli/cli-dump.c: Likewise. | |
4990 | * cli/cli-logging.c: Likewise. | |
4991 | * cli/cli-script.c: Likewise. | |
4992 | * cli/cli-utils.c: Likewise. | |
4993 | * coffread.c: Likewise. | |
4994 | * common/common-utils.c: Likewise. | |
4995 | * common/queue.h: Likewise. | |
4996 | * common/signals.c: Likewise. | |
4997 | * common/vec.h: Likewise. | |
4998 | * complaints.c: Likewise. | |
4999 | * completer.c: Likewise. | |
5000 | * corelow.c: Likewise. | |
5001 | * cp-abi.c: Likewise. | |
5002 | * cp-name-parser.y: Likewise. | |
5003 | * cp-namespace.c: Likewise. | |
5004 | * cp-support.c: Likewise. | |
5005 | * cris-tdep.c: Likewise. | |
5006 | * dbxread.c: Likewise. | |
5007 | * dictionary.c: Likewise. | |
5008 | * doublest.c: Likewise. | |
5009 | * dsrec.c: Likewise. | |
5010 | * dummy-frame.c: Likewise. | |
5011 | * dwarf2-frame-tailcall.c: Likewise. | |
5012 | * dwarf2-frame.c: Likewise. | |
5013 | * dwarf2expr.c: Likewise. | |
5014 | * dwarf2loc.c: Likewise. | |
5015 | * dwarf2read.c: Likewise. | |
5016 | * eval.c: Likewise. | |
5017 | * event-loop.c: Likewise. | |
5018 | * exceptions.c: Likewise. | |
5019 | * expprint.c: Likewise. | |
5020 | * f-valprint.c: Likewise. | |
5021 | * fbsd-nat.c: Likewise. | |
5022 | * findvar.c: Likewise. | |
5023 | * frame-unwind.c: Likewise. | |
5024 | * frame.c: Likewise. | |
5025 | * frv-tdep.c: Likewise. | |
5026 | * gcore.c: Likewise. | |
5027 | * gdb-dlfcn.c: Likewise. | |
5028 | * gdb_bfd.c: Likewise. | |
5029 | * gdbarch.c: Likewise. | |
5030 | * gdbarch.sh: Likewise. | |
5031 | * gdbtypes.c: Likewise. | |
5032 | * gnu-nat.c: Likewise. | |
5033 | * gnu-v3-abi.c: Likewise. | |
5034 | * go-lang.c: Likewise. | |
5035 | * guile/scm-exception.c: Likewise. | |
5036 | * guile/scm-gsmob.c: Likewise. | |
5037 | * guile/scm-lazy-string.c: Likewise. | |
5038 | * guile/scm-math.c: Likewise. | |
5039 | * guile/scm-pretty-print.c: Likewise. | |
5040 | * guile/scm-safe-call.c: Likewise. | |
5041 | * guile/scm-utils.c: Likewise. | |
5042 | * guile/scm-value.c: Likewise. | |
5043 | * h8300-tdep.c: Likewise. | |
5044 | * hppa-hpux-nat.c: Likewise. | |
5045 | * hppa-tdep.c: Likewise. | |
5046 | * hppanbsd-tdep.c: Likewise. | |
5047 | * hppaobsd-tdep.c: Likewise. | |
5048 | * i386-darwin-nat.c: Likewise. | |
5049 | * i386-darwin-tdep.c: Likewise. | |
5050 | * i386-nto-tdep.c: Likewise. | |
5051 | * i386-tdep.c: Likewise. | |
5052 | * i386bsd-nat.c: Likewise. | |
5053 | * i386fbsd-tdep.c: Likewise. | |
5054 | * i386gnu-nat.c: Likewise. | |
5055 | * i386nbsd-tdep.c: Likewise. | |
5056 | * i386obsd-tdep.c: Likewise. | |
5057 | * i387-tdep.c: Likewise. | |
5058 | * ia64-libunwind-tdep.c: Likewise. | |
5059 | * ia64-tdep.c: Likewise. | |
5060 | * inf-ptrace.c: Likewise. | |
5061 | * inf-ttrace.c: Likewise. | |
5062 | * infcall.c: Likewise. | |
5063 | * infcmd.c: Likewise. | |
5064 | * infrun.c: Likewise. | |
5065 | * inline-frame.c: Likewise. | |
5066 | * interps.c: Likewise. | |
5067 | * jv-lang.c: Likewise. | |
5068 | * jv-typeprint.c: Likewise. | |
5069 | * linux-fork.c: Likewise. | |
5070 | * linux-nat.c: Likewise. | |
5071 | * linux-thread-db.c: Likewise. | |
5072 | * m32c-tdep.c: Likewise. | |
5073 | * m32r-linux-nat.c: Likewise. | |
5074 | * m32r-tdep.c: Likewise. | |
5075 | * m68k-tdep.c: Likewise. | |
5076 | * m68kbsd-nat.c: Likewise. | |
5077 | * m68kbsd-tdep.c: Likewise. | |
5078 | * m88k-tdep.c: Likewise. | |
5079 | * machoread.c: Likewise. | |
5080 | * macroexp.c: Likewise. | |
5081 | * macrotab.c: Likewise. | |
5082 | * maint.c: Likewise. | |
5083 | * mdebugread.c: Likewise. | |
5084 | * memory-map.c: Likewise. | |
5085 | * mep-tdep.c: Likewise. | |
5086 | * mi/mi-common.c: Likewise. | |
5087 | * microblaze-tdep.c: Likewise. | |
5088 | * mingw-hdep.c: Likewise. | |
5089 | * mips-linux-nat.c: Likewise. | |
5090 | * mips-linux-tdep.c: Likewise. | |
5091 | * mips-tdep.c: Likewise. | |
5092 | * mips64obsd-tdep.c: Likewise. | |
5093 | * mipsnbsd-tdep.c: Likewise. | |
5094 | * mn10300-linux-tdep.c: Likewise. | |
5095 | * mn10300-tdep.c: Likewise. | |
5096 | * moxie-tdep.c: Likewise. | |
5097 | * mt-tdep.c: Likewise. | |
5098 | * nat/linux-btrace.c: Likewise. | |
5099 | * nat/linux-osdata.c: Likewise. | |
5100 | * nat/linux-ptrace.c: Likewise. | |
5101 | * nat/mips-linux-watch.c: Likewise. | |
5102 | * nios2-linux-tdep.c: Likewise. | |
5103 | * nios2-tdep.c: Likewise. | |
5104 | * objc-lang.c: Likewise. | |
5105 | * objfiles.c: Likewise. | |
5106 | * obsd-nat.c: Likewise. | |
5107 | * opencl-lang.c: Likewise. | |
5108 | * osabi.c: Likewise. | |
5109 | * parse.c: Likewise. | |
5110 | * ppc-linux-nat.c: Likewise. | |
5111 | * ppc-sysv-tdep.c: Likewise. | |
5112 | * ppcfbsd-nat.c: Likewise. | |
5113 | * ppcfbsd-tdep.c: Likewise. | |
5114 | * ppcnbsd-nat.c: Likewise. | |
5115 | * ppcnbsd-tdep.c: Likewise. | |
5116 | * ppcobsd-nat.c: Likewise. | |
5117 | * ppcobsd-tdep.c: Likewise. | |
5118 | * printcmd.c: Likewise. | |
5119 | * procfs.c: Likewise. | |
5120 | * prologue-value.c: Likewise. | |
5121 | * psymtab.c: Likewise. | |
5122 | * python/py-lazy-string.c: Likewise. | |
5123 | * python/py-value.c: Likewise. | |
5124 | * regcache.c: Likewise. | |
5125 | * reggroups.c: Likewise. | |
5126 | * registry.c: Likewise. | |
5127 | * remote-sim.c: Likewise. | |
5128 | * remote.c: Likewise. | |
5129 | * rs6000-aix-tdep.c: Likewise. | |
5130 | * rs6000-tdep.c: Likewise. | |
5131 | * s390-linux-tdep.c: Likewise. | |
5132 | * score-tdep.c: Likewise. | |
5133 | * ser-base.c: Likewise. | |
5134 | * ser-mingw.c: Likewise. | |
5135 | * sh-tdep.c: Likewise. | |
5136 | * sh64-tdep.c: Likewise. | |
5137 | * solib-darwin.c: Likewise. | |
5138 | * solib-spu.c: Likewise. | |
5139 | * solib-svr4.c: Likewise. | |
5140 | * source.c: Likewise. | |
5141 | * sparc-nat.c: Likewise. | |
5142 | * sparc-sol2-tdep.c: Likewise. | |
5143 | * sparc-tdep.c: Likewise. | |
5144 | * sparc64-sol2-tdep.c: Likewise. | |
5145 | * sparc64-tdep.c: Likewise. | |
5146 | * sparc64fbsd-tdep.c: Likewise. | |
5147 | * sparc64nbsd-tdep.c: Likewise. | |
5148 | * sparc64obsd-tdep.c: Likewise. | |
5149 | * sparcnbsd-tdep.c: Likewise. | |
5150 | * sparcobsd-tdep.c: Likewise. | |
5151 | * spu-multiarch.c: Likewise. | |
5152 | * spu-tdep.c: Likewise. | |
5153 | * stabsread.c: Likewise. | |
5154 | * stack.c: Likewise. | |
5155 | * symfile.c: Likewise. | |
5156 | * symtab.c: Likewise. | |
5157 | * target-descriptions.c: Likewise. | |
5158 | * target-memory.c: Likewise. | |
5159 | * target.c: Likewise. | |
5160 | * tic6x-linux-tdep.c: Likewise. | |
5161 | * tic6x-tdep.c: Likewise. | |
5162 | * tilegx-linux-nat.c: Likewise. | |
5163 | * tilegx-tdep.c: Likewise. | |
5164 | * top.c: Likewise. | |
5165 | * tramp-frame.c: Likewise. | |
5166 | * tui/tui-out.c: Likewise. | |
5167 | * tui/tui-winsource.c: Likewise. | |
5168 | * ui-out.c: Likewise. | |
5169 | * user-regs.c: Likewise. | |
5170 | * utils.c: Likewise. | |
5171 | * v850-tdep.c: Likewise. | |
5172 | * valops.c: Likewise. | |
5173 | * value.c: Likewise. | |
5174 | * varobj.c: Likewise. | |
5175 | * vax-nat.c: Likewise. | |
5176 | * xml-syscall.c: Likewise. | |
5177 | * xml-tdesc.c: Likewise. | |
5178 | * xstormy16-tdep.c: Likewise. | |
5179 | * xtensa-linux-nat.c: Likewise. | |
5180 | * xtensa-tdep.c: Likewise. | |
5181 | ||
e76df0d0 GB |
5182 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5183 | ||
5184 | * common/common-defs.h: Include common-utils.h. | |
5185 | * defs.h: Do not include common-utils.h. | |
5186 | * common/gdb_assert.h: Likewise. | |
5187 | * darwin-nat.h: Likewise. | |
5188 | * nat/linux-btrace.c: Likewise. | |
5189 | * target/waitstatus.h: Likewise. | |
5190 | ||
4cb9c816 GB |
5191 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5192 | ||
5193 | * common/common-defs.h: Include ptid.h. | |
5194 | * defs.h: Do not include ptid.h. | |
5195 | * inferior.h: Likewise. | |
5196 | * infrun.h: Likewise. | |
5197 | * nat/linux-btrace.h: Likewise. | |
5198 | * nat/linux-osdata.h: Likewise. | |
5199 | * target/waitstatus.h: Likewise. | |
5200 | ||
3995eeee GB |
5201 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5202 | ||
5203 | * common/common-defs.h: Include gdb_locale.h. | |
5204 | * defs.h: Do not include gdb_locale.h. | |
5205 | ||
cb9f1a9b GB |
5206 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5207 | ||
5208 | * common/common-defs.h: Include gdb/signals.h. | |
5209 | * defs.h: Do not include gdb/signals.h. | |
5210 | ||
a5fceff8 GB |
5211 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5212 | ||
5213 | * common/common-defs.h: Include pathmax.h. | |
5214 | * defs.h: Do not include pathmax.h. | |
5215 | ||
b9391142 GB |
5216 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5217 | ||
5218 | * common/common-defs.h: Include libiberty.h. | |
5219 | * defs.h: Do not include libiberty.h. | |
5220 | * common/queue.h: Likewise. | |
5221 | * cp-name-parser.y: Likewise. | |
5222 | * mi/mi-cmd-catch.c: Likewise. | |
5223 | * python/python.c: Likewise. | |
5224 | ||
0e443c87 GB |
5225 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5226 | ||
5227 | * common/common-defs.h: Include ansidecl.h. | |
5228 | * defs.h: Do not include ansidecl.h. | |
5229 | * common/buffer.h: Likewise. | |
5230 | * common/common-utils.h: Likewise. | |
5231 | ||
8ebb3f56 GB |
5232 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5233 | ||
5234 | * common/common-defs.h: Include stddef.h. | |
5235 | * defs.h: Do not include stddef.h. | |
5236 | * common/common-utils.h: Likewise. | |
5237 | * amd64fbsd-nat.c: Likewise. | |
5238 | * bcache.c: Likewise. | |
5239 | * charset.c: Likewise. | |
5240 | * common/buffer.h: Likewise. | |
5241 | * common/vec.h: Likewise. | |
5242 | * i386bsd-nat.c: Likewise. | |
5243 | * nat/linux-btrace.h: Likewise. | |
5244 | * ppcfbsd-nat.c: Likewise. | |
5245 | * ppcnbsd-tdep.h: Likewise. | |
5246 | * ppcobsd-nat.c: Likewise. | |
5247 | * ppcobsd-tdep.h: Likewise. | |
5248 | * python/py-gdb-readline.c: Likewise. | |
5249 | ||
8980bdf6 GB |
5250 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5251 | ||
5252 | * common/common-defs.h: Include stdarg.h. | |
5253 | * defs.h: Do not include stdarg.h. | |
5254 | * ada-lang.c: Likewise. | |
5255 | * common/common-utils.h: Likewise. | |
5256 | * guile/scm-string.c: Likewise. | |
5257 | * guile/scm-utils.c: Likewise. | |
5258 | * m32c-tdep.c: Likewise. | |
5259 | ||
d7096f71 GB |
5260 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5261 | ||
5262 | * common/common-defs.h: Include stdlib.h. | |
5263 | * defs.h: Do not include stdlib.h. | |
5264 | * addrmap.c: Likewise. | |
5265 | * bcache.c: Likewise. | |
5266 | * common/buffer.c: Likewise. | |
5267 | * common/common-utils.c: Likewise. | |
5268 | * cp-name-parser.y: Likewise. | |
5269 | * go32-nat.c: Likewise. | |
5270 | * mn10300-linux-tdep.c: Likewise. | |
5271 | * nat/linux-osdata.c: Likewise. | |
5272 | * tui/tui.c: Likewise. | |
5273 | * windows-nat.c: Likewise. | |
5274 | ||
d02f550d GB |
5275 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5276 | ||
5277 | * common/common-defs.h: Include stdio.h. | |
5278 | * defs.h: Do not include stdio.h. | |
5279 | * ada-lang.c: Likewise. | |
5280 | * common/buffer.c: Likewise. | |
5281 | * common/common-utils.c: Likewise. | |
5282 | * cp-name-parser.y: Likewise. | |
5283 | * gnu-nat.c: Likewise. | |
5284 | * go32-nat.c: Likewise. | |
5285 | * i386gnu-nat.c: Likewise. | |
5286 | * proc-api.c: Likewise. | |
5287 | * proc-events.c: Likewise. | |
5288 | * proc-flags.c: Likewise. | |
5289 | * proc-why.c: Likewise. | |
5290 | * python/python-internal.h: Likewise. | |
5291 | * target-memory.c: Likewise. | |
5292 | * tui/tui-io.c: Likewise. | |
5293 | * tui/tui.c: Likewise. | |
5294 | ||
b6d7a4bf SM |
5295 | 2014-08-06 Simon Marchi <simon.marchi@ericsson.com> |
5296 | ||
5297 | * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables. | |
5298 | (scan_dyntag_auxv): Same. | |
5299 | ||
af19829b YQ |
5300 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
5301 | ||
5302 | * amd64-linux-nat.c: Remove duplicated include | |
5303 | "x86-linux-nat.h". | |
5304 | * i386-linux-nat.c: Likewise. | |
5305 | ||
8e07a239 YQ |
5306 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
5307 | ||
5308 | * dwarf2read.c (dwarf_decode_lines_1): Replace "Special | |
5309 | operand" with "Special opcode" in comments. | |
5310 | ||
7bfe8241 GB |
5311 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
5312 | ||
5313 | * interps.c (initialize_interps): Remove prototype. | |
5314 | (interpreter_initialized): Remove static global. | |
5315 | (interp_add): Do not call initialize_interps. | |
5316 | (initialize_interps): Remove function. | |
5317 | ||
d6c95504 GB |
5318 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
5319 | ||
5320 | * utils.c (vwarning): Remove spurious va_end. | |
5321 | ||
241fd515 AM |
5322 | 2014-08-05 Alan Modra <amodra@gmail.com> |
5323 | ||
5324 | * charset.c (convert_between_encodings): Cast result of obstack_base. | |
5325 | * cp-valprint.c (cp_print_value_fields): Use size_t locals. | |
5326 | * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t. | |
5327 | (read_unwind_info): Use size_t for some locals. | |
5328 | * jit.c (finalize_symtab): Likewise. | |
5329 | * utils.c (hashtab_obstack_allocate): Likewise. | |
5330 | * symmisc.c (print_objfile_statistics): Update format strings. | |
5331 | ||
dc304a94 JK |
5332 | 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
5333 | ||
5334 | * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ... | |
5335 | (Changes in GDB 7.8): ... here. | |
5336 | ||
3cecbbbe TT |
5337 | 2014-08-04 Tom Tromey <tromey@redhat.com> |
5338 | ||
5339 | * target.c (set_targetdebug): New function. | |
5340 | (initialize_targets): Pass set_targetdebug when creating "set | |
5341 | debug target". | |
5342 | ||
6908c509 JB |
5343 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
5344 | ||
5345 | * gdbtypes.c (resolve_dynamic_struct): Do not generate an error | |
5346 | if detecting a variable-sized field that is not the last field. | |
5347 | Fix struct type length computation. | |
5348 | ||
53e8f97d JB |
5349 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
5350 | ||
5351 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
5352 | Add debug trace. | |
5353 | ||
e068c55d JB |
5354 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
5355 | ||
5356 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
5357 | Remove "+ 8" offset in computation of CHAIN_VMA. | |
5358 | ||
4d4ca2a1 DE |
5359 | 2014-07-31 Doug Evans <dje@google.com> |
5360 | ||
5361 | * inflow.c (child_terminal_inferior): Add comment. | |
5362 | (child_terminal_ours_for_output): Add comment. | |
5363 | (child_terminal_ours): Add comment. | |
5364 | * linux-nat.c (linux_nat_terminal_inferior): Add comment. | |
5365 | (linux_nat_terminal_ours): Add comment. | |
5366 | ||
462f517e GB |
5367 | 2014-07-31 Gary Benson <gbenson@redhat.com> |
5368 | ||
5369 | * common/btrace-common.h: Do not include defs.h or server.h. | |
5370 | * nat/mips-linux-watch.h: Likewise. | |
5371 | * gdb-dlfcn.h: Do not include defs.h. | |
5372 | * tracefile.h: Likewise. | |
5373 | ||
74228e77 RM |
5374 | 2014-07-30 Roland McGrath <mcgrathr@google.com> |
5375 | ||
5376 | * remote-sim.c (gdbsim_open): Apply constification to forward decl. | |
5377 | ||
014f9477 TT |
5378 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
5379 | ||
5380 | * bsd-kvm.c (bsd_kvm_open): Constify. | |
5381 | * corelow.c (core_open): Constify. | |
5382 | * ctf.c (ctf_open): Constify. | |
5383 | * dbug-rom.c (dbug_open): Constify. | |
5384 | * exec.c (exec_open): Constify. | |
5385 | * m32r-rom.c (m32r_open, mon2000_open): Constify. | |
5386 | * microblaze-rom.c (picobug_open): Constify. | |
5387 | * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open): | |
5388 | Constify. | |
5389 | * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify. | |
5390 | * record-btrace.c (record_btrace_open): Constify. | |
5391 | * record-full.c (record_full_core_open_1, record_full_open_1) | |
5392 | (record_full_open): Constify. | |
5393 | * remote-m32r-sdi.c (m32r_open): Constify. | |
5394 | * remote-mips.c (common_open, mips_open, pmon_open, ddb_open) | |
5395 | (rockhopper_open, lsi_open): Constify. | |
5396 | * remote-sim.c (gdbsim_open): Constify. | |
5397 | * remote.c (remote_open, extended_remote_open, remote_open_1): | |
5398 | Constify. | |
5399 | * target.h (struct target_ops) <to_open>: Make "arg" const. | |
5400 | * tracefile-tfile.c (tfile_open): Constify. | |
5401 | ||
e799154c TT |
5402 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
5403 | ||
5404 | * breakpoint.c (map_breakpoint_numbers): Update. | |
5405 | * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update. | |
5406 | (get_number_const): New function. | |
5407 | (get_number): Rewrite using get_number_const. | |
5408 | (init_number_or_range): Make "string" const. | |
5409 | (number_is_in_list): Make "list" const. | |
5410 | * cli/cli-utils.h (get_number_const): Declare. | |
5411 | (struct get_number_or_range_state) <string, end_ptr>: Now const. | |
5412 | (init_number_or_range, number_is_in_list): Update. | |
5413 | * printcmd.c (map_display_numbers): Update. | |
5414 | * value.c (value_from_history_ref): Constify. | |
5415 | * value.h (value_from_history_ref): Update. | |
5416 | ||
5f08566b TT |
5417 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
5418 | ||
5419 | * corefile.c (hook_type, call_extra_exec_file_hooks) | |
5420 | (specify_exec_file_hook): Constify. | |
5421 | * exec.c (exec_file_attach): Make "filename" const. | |
5422 | * gdbcore.h (deprecated_exec_file_display_hook) | |
5423 | (specify_exec_file_hook, exec_file_attach): Constify. | |
5424 | * main.c (captured_main): Use catch_command_errors_const. | |
5425 | ||
8981c758 TT |
5426 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
5427 | ||
5428 | * target.c (open_target): New function. | |
5429 | (add_target_with_completer, add_deprecated_target_alias): Use | |
5430 | set_cmd_sfunc, set_cmd_context. | |
5431 | (debug_to_open): Remove. | |
5432 | (setup_target_debug): Update. | |
5433 | ||
a1c7835a YQ |
5434 | 2014-07-30 Yao Qi <yao@codesourcery.com> |
5435 | ||
5436 | * parser-defs.h (struct exp_descriptor) <operator_check>: Update | |
5437 | comments. | |
5438 | * parse.c (exp_iterate): Update comments. | |
5439 | ||
976411d6 GB |
5440 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
5441 | ||
5442 | * common/common-defs.h: New file. | |
5443 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h. | |
5444 | * defs.h: Include common-defs.h. | |
5445 | Do not include config.h or build-gnulib/config.h. | |
5446 | ||
5d4848a4 GB |
5447 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
5448 | ||
5449 | * common/common-utils.h: Do not include config.h. | |
5450 | * nat/linux-btrace.h: Likewise. | |
5451 | ||
d41f6d8e GB |
5452 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
5453 | ||
5454 | * btrace.c: Include defs.h. | |
5455 | * common/ptid.c: Include defs.h or server.h as appropriate. | |
5456 | * nat/mips-linux-watch.c: Likewise. | |
5457 | ||
84202f9c TT |
5458 | 2014-07-29 Tom Tromey <tromey@redhat.com> |
5459 | ||
5460 | * target.c (target_is_pushed): Simplify. | |
5461 | ||
2530441c JB |
5462 | 2014-07-29 Joel Brobecker <brobecker@adacore.com> |
5463 | ||
5464 | GDB 7.8 released. | |
5465 | ||
7e09a223 YQ |
5466 | 2014-07-29 Yao Qi <yao@codesourcery.com> |
5467 | ||
5468 | PR gdb/17206 | |
5469 | * infcmd.c (until_next_command): Set step_range_end to PC + 1. | |
5470 | ||
7ebdbe92 DE |
5471 | 2014-07-28 Doug Evans <xdje42@gmail.com> |
5472 | ||
5473 | PR guile/17203 | |
5474 | * guile/scm-param.c (pascm_parameter_defined_p): New function. | |
5475 | (gdbscm_register_parameter_x): Call it. Raise error for pre-existing | |
5476 | parameters. | |
5477 | ||
f347ffc9 WN |
5478 | 2014-07-28 Will Newton <will.newton@linaro.org> |
5479 | ||
5480 | * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define. | |
5481 | (THUMB2_SET_R7_SIGRETURN2): Likewise. | |
5482 | (THUMB2_SET_R7_RT_SIGRETURN1): Likewise. | |
5483 | (THUMB2_SET_R7_RT_SIGRETURN2): Likewise. | |
5484 | (THUMB2_EABI_SYSCALL): Likewise. | |
5485 | (thumb2_eabi_linux_sigreturn_tramp_frame): Create new | |
5486 | struct tramp_frame. | |
5487 | (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise. | |
5488 | (arm_linux_init_abi): Add Thumb2 tramp frame unwinders. | |
5489 | ||
37c5f1f7 DE |
5490 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
5491 | ||
5492 | * guile/scm-param.c (pascm_print_param_smob): Fix output. | |
5493 | ||
0c3abbc7 DE |
5494 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
5495 | ||
5496 | * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment. | |
5497 | ||
e76c5d17 DE |
5498 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
5499 | Doug Evans <xdje42@gmail.com> | |
5500 | ||
5501 | PR guile/17146 | |
5502 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro. | |
5503 | (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros. | |
5504 | * configure.ac: Try to use guild to compile an scm file, if it fails | |
5505 | then disable guile support. | |
5506 | * configure: Regenerate. | |
5507 | * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from | |
5508 | GUILE_FILE_LIST. | |
5509 | (GUILE_COMPILED_FILES): New variable. | |
5510 | (GUILE_FILES) Update. | |
5511 | (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables. | |
5512 | (stamp-guile): Compile scm files. | |
5513 | * guile/guile.c (boot_guile_support): New function. | |
5514 | (standard_throw_args_p): New function. | |
5515 | (print_standard_throw_error, print_throw_error): New functions. | |
5516 | (handle_boot_error): New function. | |
5517 | (initialize_scheme_side): Rewrite to call boot_guile_support. | |
5518 | * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go. | |
5519 | * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function. | |
5520 | ||
186fcde0 DE |
5521 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
5522 | Doug Evans <xdje42@gmail.com> | |
5523 | ||
5524 | PR guile/17146 | |
5525 | * data-directory/Makefile.in (GUILE_FILES): Add support.scm. | |
5526 | * guile/lib/gdb/support.scm: New file. | |
5527 | * guile/guile.c (gdbscm_init_module_name): Change to "gdb". | |
5528 | * guile/lib/gdb.scm: Load gdb/init.scm as an include file. | |
5529 | All uses updated. | |
5530 | * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm. | |
5531 | All uses updated. | |
5532 | (%assert-type): Ditto, and renamed to assert-type. | |
5533 | (%exception-print-style): Delete. | |
5534 | ||
4df42755 DE |
5535 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
5536 | ||
5537 | PR build/17105 | |
5538 | * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE. | |
5539 | * configure: Regenerate. | |
5540 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from | |
5541 | PYTHON_FILES. | |
5542 | (PYTHON_FILES): New variable. | |
5543 | (GUILE_FILE_LIST): Renamed from GUILE_FILES. | |
5544 | (GUILE_FILES): New variable. | |
5545 | (stamp-python, install-python, uninstall-python): Handle empty | |
5546 | file list. | |
5547 | (stamp-guile, install-guile, uninstall-guile): Ditto. | |
5548 | ||
ee7333ae DE |
5549 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
5550 | ||
5551 | PR guile/17177 | |
5552 | * guile/lib/gdb.scm (pretty-printers): Export. | |
5553 | (set-pretty-printers!): Export. | |
5554 | * guile/lib/gdb/printing.scm (gdb module): Update. | |
5555 | (prepend-pretty-printer!, append-pretty-printer!): Update. | |
5556 | * guile/scm-pretty-print.c (pretty_printer_list_name): Delete. | |
5557 | (pretty_printer_list_var): Delete. | |
5558 | (pretty_printer_list): New static global. | |
5559 | (gdbscm_pretty_printers): New function. | |
5560 | (gdbscm_set_pretty_printers_x): New function. | |
5561 | (ppscm_find_pretty_printer_from_gdb): Update. | |
5562 | (pretty_printer_functions): Add pretty-printers, set-pretty-printers!. | |
5563 | (gdbscm_initialize_pretty_printers): Update. | |
5564 | ||
74edf516 DE |
5565 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
5566 | ||
5567 | PR 17185 | |
5568 | * configure.ac: Add check for header gc/gc.h. | |
5569 | Add check for function setenv. | |
5570 | * configure: Regenerate. | |
5571 | * config.in: Regenerate. | |
5572 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
5573 | ||
d54398a7 MR |
5574 | 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com> |
5575 | ||
5576 | * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA | |
5577 | variation in gdbarch matching. | |
5578 | ||
ab16fce8 TT |
5579 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
5580 | ||
5581 | * exec.c (using_exec_ops): Remove. | |
5582 | (exec_close_1): Update. Remove extraneous block, reindent. | |
5583 | (add_target_sections): Use target_is_pushed. | |
5584 | ||
88056fbb PA |
5585 | 2014-07-25 Pedro Alves <palves@redhat.com> |
5586 | ||
5587 | * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status. | |
5588 | * monitor.c (monitor_create_inferior): Likewise. | |
5589 | * remote-m32r-sdi.c (m32r_create_inferior): Likewise. | |
5590 | * remote-sim.c (gdbsim_create_inferior): Likewise. | |
5591 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
5592 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
5593 | * windows-nat.c (do_initial_windows_stuff): Likewise. | |
5594 | ||
70509625 PA |
5595 | 2014-07-25 Pedro Alves <palves@redhat.com> |
5596 | ||
5597 | * NEWS: Mention signal passing and "signal" command changes. | |
5598 | * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend | |
5599 | comment. | |
5600 | * breakpoint.c (until_break_command): Adjust clear_proceed_status | |
5601 | call. | |
5602 | * infcall.c (run_inferior_call): Adjust clear_proceed_status call. | |
5603 | * infcmd.c (proceed_thread_callback, continue_1, step_once) | |
5604 | (jump_command): Adjust clear_proceed_status call. | |
5605 | (signal_command): Warn if other thread that are resumed have | |
5606 | signals that will be delivered. Adjust clear_proceed_status call. | |
5607 | (until_next_command, finish_command) | |
5608 | (proceed_after_attach_callback, attach_command_post_wait) | |
5609 | (attach_command): Adjust clear_proceed_status call. | |
5610 | * infrun.c (proceed_after_vfork_done): Likewise. | |
5611 | (proceed_after_attach_callback): Adjust comment. | |
5612 | (clear_proceed_status_thread): Clear stop_signal if not in pass | |
5613 | state. | |
5614 | (clear_proceed_status_callback): Delete. | |
5615 | (clear_proceed_status): New 'step' parameter. Only clear the | |
5616 | proceed status of threads the command being prepared is about to | |
5617 | resume. | |
5618 | (proceed): If passed in an explicit signal, override stop_signal | |
5619 | with it. Don't pass the last stop signal to the thread we're | |
5620 | resuming. | |
5621 | (init_wait_for_inferior): Adjust clear_proceed_status call. | |
5622 | (switch_back_to_stepped_thread): Clear the signal if it should not | |
5623 | be passed. | |
5624 | * infrun.h (clear_proceed_status): New 'step' parameter. | |
5625 | (user_visible_resume_ptid): Add comment. | |
5626 | * linux-nat.c (linux_nat_resume_callback): Don't check whether the | |
5627 | signal is in pass state. | |
5628 | * remote.c (append_pending_thread_resumptions): Likewise. | |
5629 | * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call. | |
5630 | ||
d8be2939 TT |
5631 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
5632 | ||
5633 | * target.h (target_stopped_data_address) | |
5634 | (target_watchpoint_addr_within_range): Use "->", not ".". Fix | |
5635 | parentheses. | |
5636 | ||
7d0d9d2b PL |
5637 | 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com> |
5638 | ||
5639 | * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the | |
5640 | comments. | |
5641 | (avr_pointer_to_address): Likewise. | |
5642 | ||
e9e7f724 TT |
5643 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5644 | ||
5645 | * monitor.c (compile_pattern): Update. | |
5646 | * target.h (struct target_ops) <to_shortname, to_longname, | |
5647 | to_doc>: Now const. | |
5648 | ||
1947513d TT |
5649 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5650 | ||
5651 | * cli/cli-decode.c (add_cmd, add_prefix_cmd) | |
5652 | (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info) | |
5653 | (add_info_alias, add_com): Make "doc" const. | |
5654 | (print_doc_line): Make "str" const. | |
5655 | (delete_cmd): Update. | |
5656 | * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const. | |
5657 | (print_doc_line): Update. | |
5658 | * cli/cli-script.c (document_command): Update. | |
5659 | * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
5660 | (add_com, add_info, add_info_alias): Update. | |
5661 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
5662 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
5663 | ||
64e61d29 TT |
5664 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5665 | ||
5666 | * cli/cli-decode.c (print_help_for_command): Make "prefix" const. | |
5667 | (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list) | |
5668 | (help_cmd_list): Constify. | |
5669 | (lookup_cmd): Update. | |
5670 | * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now | |
5671 | const. | |
5672 | (help_cmd_list, apropos_cmd): Update. | |
5673 | * cli/cli-script.c (show_user): Update. | |
5674 | * cli/cli-setshow.c (cmd_show_list): Make "prefix" const. | |
5675 | * cli/cli-setshow.h (cmd_show_list): Update. | |
5676 | * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list) | |
5677 | (cmd_show_list): Update. | |
5678 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
5679 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
5680 | ||
429e55ea TT |
5681 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5682 | ||
5683 | * cli/cli-decode.c (deprecate_cmd): Make "replacement" const. | |
5684 | * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now | |
5685 | const. | |
5686 | * command.h (deprecate_cmd): Update. | |
5687 | * maint.c (maintenance_do_deprecate): Add casts. | |
5688 | ||
64669f3b TT |
5689 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5690 | ||
5691 | * cli/cli-decode.c (help_cmd): Make parameter "const". | |
5692 | * cli/cli-decode.h (help_cmd): Update. | |
5693 | ||
d3d3328b TT |
5694 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5695 | ||
5696 | * stack.c (up_silently_base, down_silently_base): Make argument | |
5697 | const. | |
5698 | ||
414842dc TT |
5699 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5700 | ||
5701 | * solib.c (solib_add): Make "pattern" const. | |
5702 | * solib.h (solib_add): Update. | |
5703 | ||
baa336ce TT |
5704 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5705 | ||
5706 | * remote.c (remote_serial_open, print_packet, putpkt) | |
5707 | (putpkt_binary): Constify. | |
5708 | * remote.h (putpkt): Update. | |
5709 | ||
5a19e2d0 TT |
5710 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5711 | ||
5712 | * monitor.c (monitor_open): Make "args" const. | |
5713 | * monitor.h (monitor_open): Update. | |
5714 | ||
fc4baa5e TT |
5715 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5716 | ||
5717 | * maint.c (match_bfd_flags): Make "string" const. | |
5718 | (print_bfd_section_info): Remove casts. | |
5719 | (print_objfile_section_info): Make "string" const. | |
5720 | ||
0d5f0dbe TT |
5721 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5722 | ||
5723 | * inf-child.c (inf_child_open_target): Make "arg" const. | |
5724 | * inf-child.h (inf_child_open_target): Update. | |
5725 | ||
41c77899 TT |
5726 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5727 | ||
5728 | * environ.c (unset_in_environ): Make "var" const. | |
5729 | * environ.h (unset_in_environ): Update. | |
5730 | ||
93db0d79 TT |
5731 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5732 | ||
5733 | * cli/cli-dump.c (scan_expression_with_cleanup): Return const. | |
5734 | Make "cmd" const. | |
5735 | (scan_filename_with_cleanup): Likewise. | |
5736 | (dump_memory_to_file, dump_value_to_file, restore_binary_file): | |
5737 | Make arguments const. | |
5738 | (restore_command): Update. | |
5739 | ||
36d6eb95 PA |
5740 | 2014-07-24 Pedro Alves <palves@redhat.com> |
5741 | ||
5742 | * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt. | |
5743 | ||
8009206a TT |
5744 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5745 | Gary Benson <gbenson@redhat.com> | |
5746 | ||
5747 | * nat/linux-ptrace.c (additional_flags): New global. | |
5748 | (linux_test_for_tracesysgood, linux_test_for_tracefork): Use | |
5749 | additional_flags; don't check GDBSERVER. | |
5750 | (linux_ptrace_set_additional_flags): New function. | |
5751 | * nat/linux-ptrace.h (linux_ptrace_set_additional_flags): | |
5752 | Declare. | |
5753 | * linux-nat.c (_initialize_linux_nat): Call | |
5754 | linux_ptrace_set_additional_flags. | |
5755 | ||
a7068b60 TT |
5756 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5757 | ||
5758 | * make-target-delegates (munge_type, write_debugmethod): New | |
5759 | functions. | |
5760 | (debug_names): New global. | |
5761 | ($TARGET_DEBUG_PRINTER): New global. | |
5762 | (write_function_header): Strip TARGET_DEBUG_PRINTER from the type | |
5763 | name. | |
5764 | Write debug methods. Generate init_debug_target. | |
5765 | * target-debug.h: New file. | |
5766 | * target-delegates.c: Rebuild. | |
5767 | * target.c: Include target-debug.h. | |
5768 | (debug_target): Hoist definition. | |
5769 | (target_kill, target_get_section_table, target_memory_map) | |
5770 | (target_flash_erase, target_flash_done, target_detach) | |
5771 | (target_disconnect, target_wait, target_resume) | |
5772 | (target_pass_signals, target_program_signals, target_follow_fork) | |
5773 | (target_mourn_inferior, target_search_memory) | |
5774 | (target_thread_address_space, target_close) | |
5775 | (target_find_new_threads, target_core_of_thread) | |
5776 | (target_verify_memory, target_insert_mask_watchpoint) | |
5777 | (target_remove_mask_watchpoint): Remove targetdebug code. | |
5778 | (debug_to_post_attach, debug_to_prepare_to_store) | |
5779 | (debug_to_files_info, debug_to_insert_breakpoint) | |
5780 | (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint) | |
5781 | (debug_to_region_ok_for_hw_watchpoint) | |
5782 | (debug_to_can_accel_watchpoint_condition) | |
5783 | (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address) | |
5784 | (debug_to_watchpoint_addr_within_range) | |
5785 | (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint) | |
5786 | (debug_to_insert_watchpoint, debug_to_remove_watchpoint) | |
5787 | (debug_to_terminal_init, debug_to_terminal_inferior) | |
5788 | (debug_to_terminal_ours_for_output, debug_to_terminal_ours) | |
5789 | (debug_to_terminal_save_ours, debug_to_terminal_info) | |
5790 | (debug_to_load, debug_to_post_startup_inferior) | |
5791 | (debug_to_insert_fork_catchpoint) | |
5792 | (debug_to_remove_fork_catchpoint) | |
5793 | (debug_to_insert_vfork_catchpoint) | |
5794 | (debug_to_remove_vfork_catchpoint) | |
5795 | (debug_to_insert_exec_catchpoint) | |
5796 | (debug_to_remove_exec_catchpoint, debug_to_has_exited) | |
5797 | (debug_to_can_run, debug_to_thread_architecture, debug_to_stop) | |
5798 | (debug_to_rcmd, debug_to_pid_to_exec_file): Remove. | |
5799 | (setup_target_debug): Call init_debug_target. | |
5800 | * target.h (TARGET_DEBUG_PRINTER): New macro. | |
5801 | (struct target_ops) <to_resume, to_wait, to_pass_signals, | |
5802 | to_program_signals>: Use TARGET_DEBUG_PRINTER. | |
5803 | ||
2c51604d GB |
5804 | 2014-07-24 Gary Benson <gbenson@redhat.com> |
5805 | ||
5806 | * exceptions.h (throw_vfatal): Renamed to... | |
5807 | (throw_vquit): New declaration. | |
5808 | (throw_quit): Likewise. | |
5809 | * exceptions.c (throw_vfatal): Renamed to... | |
5810 | (throw_vquit): New function. | |
5811 | (throw_quit): Likewise. | |
5812 | (throw_error): Call throw_verror rather than throw_it. | |
5813 | * utils.h (vfatal): Removed. | |
5814 | (fatal): Likewise. | |
5815 | * utils.c (vfatal): Removed. | |
5816 | (fatal): Likewise. | |
5817 | (internal_verror): Replaced call to fatal with call to throw_quit. | |
5818 | (quit): Replaced calls to fatal with calls to throw_quit. | |
5819 | ||
34211963 ME |
5820 | 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com> |
5821 | ||
5822 | * microblaze-tdep.c (microblaze_fetch_instruction): Use of | |
5823 | target_read_code. | |
5824 | ||
a52b4d3e ME |
5825 | 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com> |
5826 | ||
5827 | * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether | |
5828 | less than zero in conditional expression. | |
5829 | ||
a8bdc56b TT |
5830 | 2014-07-23 Tom Tromey <tromey@redhat.com> |
5831 | ||
5832 | * make-target-delegates ($ARGS_PART): Match trailing close paren. | |
5833 | ($INTRO_PART): Don't match whitespace. | |
5834 | ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and | |
5835 | argument matching. | |
5836 | ($METHOD): Add $METHOD_TRAILER. | |
5837 | (trim): Rewrite. | |
5838 | (scan_target_h): New sub. | |
5839 | Change main loop not to collect state. | |
5840 | * target-delegates.c: Rebuild. | |
5841 | ||
91b52240 GB |
5842 | 2014-07-23 Gary Benson <gbenson@redhat.com> |
5843 | ||
5844 | * cp-support.c (gdb_demangle): Fix build on systems without | |
5845 | sigaltstack. | |
5846 | ||
45326f6f JK |
5847 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
5848 | ||
5849 | * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address | |
5850 | for reference entry value target data value. | |
5851 | ||
e214cf6c JK |
5852 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
5853 | ||
5854 | * stack.c (read_frame_arg): Verify value_optimized_out before calling | |
5855 | value_available_contents_eq. | |
5856 | ||
bddbbedd PA |
5857 | 2014-07-22 Pedro Alves <palves@redhat.com> |
5858 | ||
5859 | * value.c (allocate_optimized_out_value): Don't mark value as | |
5860 | non-lazy. | |
5861 | ||
45c71484 JW |
5862 | 2014-07-22 Jiong Wang <jiong.wang@arm.com> |
5863 | ||
5864 | * MAINTAINERS (Write After Approval): Update my email address. | |
5865 | ||
9597b22a DE |
5866 | 2014-07-20 Doug Evans <dje@google.com> |
5867 | ||
5868 | PR server/17147 | |
5869 | * remote.c (putpkt_binary): Add text to error message. | |
5870 | ||
91101fe5 YQ |
5871 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5872 | ||
5873 | * eval.c: Remove "Chill" from comments. | |
5874 | * gdbtypes.h: Likewise. | |
5875 | * symtab.h: Likewise. | |
5876 | ||
c9402c95 YQ |
5877 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5878 | ||
5879 | * std-operator.def: Update comments to TERNOP_SLICE. | |
5880 | ||
ae8fddda YQ |
5881 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5882 | ||
5883 | * std-operator.def: Remove BINOP_RANGE. | |
5884 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
5885 | * expprint.c (dump_subexp_body_standard): Likewise. | |
5886 | * eval.c (init_array_element): Remove dead code. | |
5887 | (evaluate_subexp_standard): Likewise. | |
5888 | ||
9c816640 YQ |
5889 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5890 | ||
5891 | * std-operator.def: Remove BINOP_IN. | |
5892 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
5893 | * eval.c (evaluate_subexp_standard): Likewise. | |
5894 | * expprint.c (dump_subexp_body_standard): Likewise. | |
5895 | ||
164224e9 ME |
5896 | 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com> |
5897 | ||
5898 | * microblaze-tdep.c (microblaze_register_names): Add | |
5899 | the rshr and rslr register names. | |
5900 | (microblaze_gdbarch_init): Use of tdesc_has_registers. | |
5901 | Use of tdesc_find_feature. Use of tdesc_data_alloc. | |
5902 | Use of tdesc_numbered_register. Use of | |
5903 | microblaze_register_g_packet_guesses. Use of | |
5904 | tdesc_use_registers. Use of set_gdbarch_register_type. | |
5905 | (microblaze_register_g_packet_guesses): New. | |
5906 | * microblaze-tdep.h (microblaze_reg_num): Add | |
5907 | field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM | |
5908 | MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS. | |
5909 | (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS. | |
5910 | * features/microblaze-core.xml: New file. | |
5911 | * features/microblaze-stack-protect.xml: New file. | |
5912 | * features/microblaze-with-stack-protect.c: New file. | |
5913 | * features/microblaze-with-stack-protect.xml: New file. | |
5914 | * features/microblaze.xml: New file. | |
5915 | * features/microblaze.c: New file. | |
5916 | * features/Makefile (microblaze-with-stack-protect): Add | |
5917 | microblaze-with-stack-protect microblaze and microblaze-expedite. | |
5918 | * regformats/microblaze-with-stack-protect.dat: New file. | |
5919 | * regformats/microblaze.dat: New file. | |
5920 | * doc/gdb.texinfo (MicroBlaze Features): Added. | |
5921 | ||
e8b2341c TT |
5922 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5923 | ||
5924 | * exec.c (exec_ops): Now static. | |
5925 | * exec.h (exec_ops): Don't declare. | |
5926 | ||
44e89118 TT |
5927 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5928 | ||
5929 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self" | |
5930 | to find_target_beneath. | |
5931 | * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to | |
5932 | find_target_beneath. | |
5933 | (ravenscar_mourn_inferior): Pass "self" to find_target_beneath. | |
5934 | ||
b0ed115f TT |
5935 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5936 | ||
5937 | PR gdb/17130: | |
5938 | * utils.c (quit): Use target_supports_terminal_ours. | |
5939 | * target.h (target_supports_terminal_ours): Declare. | |
5940 | * target.c (target_supports_delete_record): Don't check | |
5941 | to_delete_record against NULL. | |
5942 | (target_supports_terminal_ours): New function. | |
5943 | ||
e75fdfca TT |
5944 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5945 | ||
5946 | PR gdb/17130: | |
5947 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint) | |
5948 | (spu_fetch_registers, spu_store_registers, spu_xfer_partial) | |
5949 | (spu_search_memory, spu_mourn_inferior): Simplify delegation. | |
5950 | * linux-thread-db.c (thread_db_pid_to_str): Always delegate. | |
5951 | * windows-nat.c (windows_xfer_partial): Always delegate. | |
5952 | * record-btrace.c (record_btrace_xfer_partial): Simplify | |
5953 | delegation. | |
5954 | (record_btrace_fetch_registers, record_btrace_store_registers) | |
5955 | (record_btrace_prepare_to_store, record_btrace_resume) | |
5956 | (record_btrace_wait, record_btrace_find_new_threads) | |
5957 | (record_btrace_thread_alive): Likewise. | |
5958 | * procfs.c (procfs_xfer_partial): Always delegate. | |
5959 | * corelow.c (core_xfer_partial): Always delegate. | |
5960 | * sol-thread.c (sol_find_new_threads): Simplify delegation. | |
5961 | ||
83814951 TT |
5962 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5963 | ||
5964 | * exec.c (exec_make_note_section): Move earlier. | |
5965 | ||
b8b8facf DE |
5966 | 2014-07-17 Doug Evans <dje@google.com> |
5967 | ||
74b49205 | 5968 | PR gdb/17170 |
b8b8facf DE |
5969 | * maint.c (count_symtabs_and_blocks): Handle NULL |
5970 | current_program_space. | |
5971 | (report_command_stats): Check global enabled flag in addition to | |
5972 | recorded enabled flag. | |
5973 | (make_command_stats_cleanup): Handle msg_type == 0, startup. | |
5974 | ||
69ff6be5 PA |
5975 | 2014-07-16 Pedro Alves <palves@redhat.com> |
5976 | ||
5977 | * linux-nat.c (kill_callback): Use kill_lwp, not kill. | |
5978 | ||
252db1b5 TT |
5979 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
5980 | ||
5981 | * target.h (struct target_ops) <to_delete_record>: Reformat | |
5982 | comment. | |
5983 | ||
a432721e TT |
5984 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
5985 | ||
5986 | * target-delegates.c: Rebuild. | |
5987 | ||
487d9753 PL |
5988 | 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com> |
5989 | ||
5990 | * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro. | |
5991 | (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise. | |
5992 | (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH. | |
5993 | (avr_pointer_to_address): Likewise. | |
5994 | (avr_address_class_type_flags): New function. | |
5995 | (avr_address_class_type_flags_to_name): Likewise. | |
5996 | (avr_address_class_name_to_type_flags): Likewise. | |
5997 | (avr_gdbarch_init): Set address_class_type_flags, | |
5998 | address_class_type_flags_to_name and | |
5999 | address_class_name_to_type_flags. | |
6000 | ||
57745c90 PA |
6001 | 2014-07-15 Pedro Alves <palves@redhat.com> |
6002 | ||
6003 | * linux-nat.c (kill_callback): Save errno and work with saved | |
6004 | copy. | |
6005 | ||
2d40be18 SM |
6006 | 2014-07-15 Simon Marchi <simon.marchi@ericsson.com> |
6007 | ||
6008 | * expprint.c (dump_subexp_body_standard): Handle OP_STRING. | |
6009 | ||
572f6555 EBM |
6010 | 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
6011 | ||
6012 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware | |
6013 | breakpoint support correctly. | |
6014 | ||
cc1c52ad PA |
6015 | 2014-07-14 Pedro Alves <palves@redhat.com> |
6016 | ||
6017 | * utils.c (prompt_for_continue): Call target_terminal_ours. | |
6018 | ||
1e973570 PA |
6019 | 2014-07-14 Pedro Alves <palves@redhat.com> |
6020 | ||
6021 | * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of | |
6022 | catch_errors. Don't re-enable stdin or notify observers where, | |
6023 | and rethrow error. | |
6024 | (fetch_inferior_event_wrapper): Delete. | |
6025 | ||
93d6eb10 PA |
6026 | 2014-07-14 Pedro Alves <palves@redhat.com> |
6027 | ||
6028 | PR gdb/17072 | |
6029 | * top.c: Include "inf-loop.h". | |
6030 | (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New | |
6031 | field. | |
6032 | (gdb_readline_wrapper_cleanup): Make the target async again, if it | |
6033 | was async before. | |
6034 | (gdb_readline_wrapper): Store whether the target is async, and | |
6035 | make it sync. | |
6036 | ||
0017922d PA |
6037 | 2014-07-14 Pedro Alves <palves@redhat.com> |
6038 | ||
6039 | PR gdb/17072 | |
6040 | * top.c (gdb_readline_wrapper_line): Tweak comment. | |
6041 | (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall | |
6042 | the input handler callback. | |
6043 | ||
94696ad3 PA |
6044 | 2014-07-14 Pedro Alves <palves@redhat.com> |
6045 | ||
6046 | PR gdb/17072 | |
6047 | * main.c: Include event-top.h. | |
6048 | (handle_command_errors): New function. | |
6049 | (catch_command_errors, catch_command_errors_const): Use it. | |
6050 | ||
9d1e69a2 PA |
6051 | 2014-07-14 Pedro Alves <palves@redhat.com> |
6052 | ||
6053 | * exceptions.c (catch_command_errors, catch_command_errors_const): | |
6054 | Moved to main.c. | |
6055 | * exceptions.h (catch_command_errors_ftype) | |
6056 | (catch_command_errors_const_ftype): Moved to main.c. | |
6057 | (catch_command_errors, catch_command_errors_const): Delete | |
6058 | declarations. | |
6059 | * main.c (catch_command_errors_ftype) | |
6060 | (catch_command_errors_const_ftype): Moved here from exceptions.h. | |
6061 | (catch_command_errors, catch_command_errors_const)): Moved here | |
6062 | from exceptions.c and make static. | |
6063 | ||
feefc97b PA |
6064 | 2014-07-14 Pedro Alves <palves@redhat.com> |
6065 | ||
6066 | * exceptions.c (print_any_exception): Delete. | |
6067 | (catch_exceptions_with_msg): Use exception_print instead of | |
6068 | print_any_exception. | |
6069 | (catch_errors): Use exception_fprintf instead of | |
6070 | print_any_exception. | |
6071 | (catch_command_errors, catch_command_errors_const): Use | |
6072 | exception_print instead of print_any_exception. | |
6073 | ||
c933f875 PA |
6074 | 2014-07-14 Pedro Alves <palves@redhat.com> |
6075 | ||
6076 | * infcall.c (run_inferior_call): Set 'sync_execution' while | |
6077 | running the inferior call. | |
6078 | ||
feb6f816 PA |
6079 | 2014-07-14 Pedro Alves <palves@redhat.com> |
6080 | ||
6081 | * value.c (value_contents_equal): Delete function. | |
6082 | * value.h (value_contents_equal): Delete declaration. | |
6083 | ||
d98b7a16 TT |
6084 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
6085 | ||
6086 | PR exp/17106: | |
6087 | * gdbtypes.c (is_dynamic_type_internal): New function, from | |
6088 | is_dynamic_type. | |
6089 | (is_dynamic_type): Rewrite. | |
6090 | (resolve_dynamic_union): Use resolve_dynamic_type_internal. | |
6091 | (resolve_dynamic_struct): Likewise. | |
6092 | (resolve_dynamic_type_internal): New function, from | |
6093 | resolve_dynamic_type. | |
6094 | (resolve_dynamic_type): Rewrite. | |
6095 | ||
548740d6 TT |
6096 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
6097 | ||
6098 | * target.c (target_require_runnable): Also check record_stratum. | |
6099 | Update comment. | |
6100 | ||
808f7ab1 YQ |
6101 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
6102 | ||
6103 | * arm-tdep.c (thumb_analyze_prologue): Break the loop if | |
6104 | thumb_instruction_restores_sp return true. | |
6105 | ||
540314bd YQ |
6106 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
6107 | ||
6108 | * arm-tdep.c (thumb_instruction_restores_sp): New function. | |
6109 | (thumb_in_function_epilogue_p): Call | |
6110 | thumb_instruction_restores_sp. | |
6111 | ||
1db01f22 YQ |
6112 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
6113 | ||
6114 | * arm-tdep.c (thumb_analyze_prologue): Don't match instruction | |
6115 | 'add sp, #imm'. | |
6116 | (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'. | |
6117 | ||
3116063b GB |
6118 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6119 | ||
6120 | * amd64-linux-nat.c (gdbcore.h): Remove include. | |
6121 | (regset.h): Likewise. | |
6122 | (nat/linux-btrace.h): Likewise. | |
6123 | (btrace.h): Likewise. | |
6124 | (gdb_assert.h): Likewise. | |
6125 | (string.h): Likewise. | |
6126 | (sys/uio.h): Likewise. | |
6127 | (sys/debugreg.h): Likewise. | |
6128 | (sys/syscall.h): Likewise. | |
6129 | (sys/procfs.h): Likewise. | |
6130 | (sys/user.h): Likewise. | |
6131 | (asm/ptrace.h): Likewise. | |
6132 | (i386-nat.h): Likewise. | |
6133 | * i386-linux-nat.c (i386-nat.h): Likewise. | |
6134 | (regset.h): Likewise. | |
6135 | (target.h): Likewise. | |
6136 | (linux-nat.h): Likewise. | |
6137 | (nat/linux-btrace.h): Likewise. | |
6138 | (btrace.h): Likewise. | |
6139 | (gdb_assert.h): Likewise. | |
6140 | (string.h): Likewise. | |
6141 | (sys/uio.h): Likewise. | |
6142 | (sys/user.h): Likewise. | |
6143 | (sys/procfs.h): Likewise. | |
6144 | (sys/reg.h): Likewise. | |
6145 | (sys/debugreg.h): Likewise. | |
6146 | (ORIG_EAX): Remove definition. | |
6147 | ||
040baaf6 GB |
6148 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6149 | ||
6150 | * i386-linux-nat.h: New file. | |
6151 | * x86-linux-nat.h: Likewise. | |
6152 | * x86-linux-nat.c: Likewise. | |
6153 | * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers. | |
6154 | * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o. | |
6155 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
6156 | * amd64-linux-nat.c (x86-linux-nat.h): New include. | |
6157 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
6158 | (PTRACE_SETREGSET): Likewise. | |
6159 | (arch_lwp_info): Now in x86-linux-nat.c. | |
6160 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
6161 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
6162 | (x86_linux_dr_set): Likewise. | |
6163 | (x86_linux_dr_get_addr): Likewise. | |
6164 | (x86_linux_dr_get_control): Likewise. | |
6165 | (x86_linux_dr_get_status): Likewise. | |
6166 | (update_debug_registers_callback): Likewise. | |
6167 | (x86_linux_dr_set_control): Likewise. | |
6168 | (x86_linux_dr_set_addr): Likewise. | |
6169 | (x86_linux_prepare_to_resume): Likewise. | |
6170 | (x86_linux_new_thread): Likewise. | |
6171 | (x86_linux_new_fork): Likewise. | |
6172 | (x86_linux_get_thread_area): Likewise. | |
6173 | (super_post_startup_inferior): Likewise. | |
6174 | (x86_linux_child_post_startup_inferior): Likewise. | |
6175 | (AMD64_LINUX_USER64_CS): Likewise. | |
6176 | (AMD64_LINUX_X32_DS): Likewise. | |
6177 | (x86_linux_read_description): Likewise. | |
6178 | (x86_linux_enable_btrace): Likewise. | |
6179 | (x86_linux_disable_btrace): Likewise. | |
6180 | (x86_linux_teardown_btrace): Likewise. | |
6181 | (x86_linux_read_btrace): Likewise. | |
6182 | (x86_linux_create_target): Likewise. | |
6183 | (x86_linux_add_target): Likewise. | |
6184 | * i386-linux-nat.c (x86-linux-nat.h): New include. | |
6185 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
6186 | (PTRACE_SETREGSET): Likewise. | |
6187 | (arch_lwp_info): Now in x86-linux-nat.c. | |
6188 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
6189 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
6190 | (x86_linux_dr_set): Likewise. | |
6191 | (x86_linux_dr_get_addr): Likewise. | |
6192 | (x86_linux_dr_get_control): Likewise. | |
6193 | (x86_linux_dr_get_status): Likewise. | |
6194 | (update_debug_registers_callback): Likewise. | |
6195 | (x86_linux_dr_set_control): Likewise. | |
6196 | (x86_linux_dr_set_addr): Likewise. | |
6197 | (x86_linux_prepare_to_resume): Likewise. | |
6198 | (x86_linux_new_thread): Likewise. | |
6199 | (x86_linux_new_fork): Likewise. | |
6200 | (x86_linux_get_thread_area): Likewise. | |
6201 | (super_post_startup_inferior): Likewise. | |
6202 | (x86_linux_child_post_startup_inferior): Likewise. | |
6203 | (AMD64_LINUX_USER64_CS): Likewise. | |
6204 | (AMD64_LINUX_X32_DS): Likewise. | |
6205 | (x86_linux_read_description): Likewise. | |
6206 | (x86_linux_enable_btrace): Likewise. | |
6207 | (x86_linux_disable_btrace): Likewise. | |
6208 | (x86_linux_teardown_btrace): Likewise. | |
6209 | (x86_linux_read_btrace): Likewise. | |
6210 | (x86_linux_create_target): Likewise. | |
6211 | (x86_linux_add_target): Likewise. | |
6212 | ||
1aa7e42c GB |
6213 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6214 | ||
6215 | * amd64-linux-nat.c: Comment and whitespace changes. | |
6216 | * i386-linux-nat.c: Comment and whitespace changes. | |
6217 | ||
c1e246a0 GB |
6218 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6219 | ||
6220 | * amd64-linux-nat.c (x86_linux_create_target): New function. | |
6221 | (x86_linux_add_target): Likewise. | |
6222 | (_initialize_amd64_linux_nat): Delegate to the above new functions. | |
6223 | * i386-linux-nat.c (x86_linux_create_target): New function. | |
6224 | (x86_linux_add_target): Likewise. | |
6225 | (_initialize_i386_linux_nat): Delegate to the above new functions. | |
6226 | ||
8c420b8d GB |
6227 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6228 | ||
6229 | * amd64-linux-nat.c (x86_linux_get_thread_area): New function. | |
6230 | (ps_get_thread_area): Delegate to the above in 32-bit mode. | |
6231 | * i386-linux-nat.c (x86_linux_get_thread_area): New function. | |
6232 | (ps_get_thread_area): Delegate to the above. | |
6233 | ||
cb1da100 GB |
6234 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6235 | ||
6236 | * amd64-linux-nat.c (amd64_linux_read_description): Renamed to | |
6237 | x86_linux_read_description. All uses updated. amd64-specific | |
6238 | code conditionalized. Conditionalized i386-specific code added. | |
6239 | Redundant cast removed. | |
6240 | * i386-linux-nat.c (i386_linux_read_description): Renamed to | |
6241 | x86_linux_read_description. All uses updated. i386-specific | |
6242 | code conditionalized. Conditionalized amd64-specific code added. | |
6243 | One sizeof replaced with the actual type it is describing. | |
6244 | ||
2acf3cd0 GB |
6245 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6246 | ||
6247 | * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to | |
6248 | x86_linux_dr_get. All uses updated. | |
6249 | (amd64_linux_dr_set): Renamed to | |
6250 | x86_linux_dr_set. All uses updated. | |
6251 | (amd64_linux_dr_get_addr): Renamed to | |
6252 | x86_linux_dr_get_addr. All uses updated. | |
6253 | (amd64_linux_dr_get_control): Renamed to | |
6254 | x86_linux_dr_get_control. All uses updated. | |
6255 | (amd64_linux_dr_get_status): Renamed to | |
6256 | x86_linux_dr_get_status. All uses updated. | |
6257 | (amd64_linux_dr_set_control): Renamed to | |
6258 | x86_linux_dr_set_control. All uses updated. | |
6259 | (amd64_linux_dr_set_addr): Renamed to | |
6260 | x86_linux_dr_set_addr. All uses updated. | |
6261 | (amd64_linux_prepare_to_resume): Renamed to | |
6262 | x86_linux_prepare_to_resume. All uses updated. | |
6263 | (amd64_linux_new_thread): Renamed to | |
6264 | x86_linux_new_thread. All uses updated. | |
6265 | (amd64_linux_new_fork): Renamed to | |
6266 | x86_linux_new_fork. All uses updated. | |
6267 | (amd64_linux_child_post_startup_inferior): Renamed to | |
6268 | x86_linux_child_post_startup_inferior. All uses updated. | |
6269 | (amd64_linux_enable_btrace): Renamed to | |
6270 | x86_linux_enable_btrace. All uses updated. | |
6271 | (amd64_linux_disable_btrace): Renamed to | |
6272 | x86_linux_disable_btrace. All uses updated. | |
6273 | (amd64_linux_teardown_btrace): Renamed to | |
6274 | x86_linux_teardown_btrace. All uses updated. | |
6275 | (amd64_linux_read_btrace): Renamed to | |
6276 | x86_linux_read_btrace. All uses updated. | |
6277 | * i386-linux-nat.c (i386_linux_dr_get): Renamed to | |
6278 | x86_linux_dr_get. All uses updated. | |
6279 | (i386_linux_dr_set): Renamed to | |
6280 | x86_linux_dr_set. All uses updated. | |
6281 | (i386_linux_dr_get_addr): Renamed to | |
6282 | x86_linux_dr_get_addr. All uses updated. | |
6283 | (i386_linux_dr_get_control): Renamed to | |
6284 | x86_linux_dr_get_control. All uses updated. | |
6285 | (i386_linux_dr_get_status): Renamed to | |
6286 | x86_linux_dr_get_status. All uses updated. | |
6287 | (i386_linux_dr_set_control): Renamed to | |
6288 | x86_linux_dr_set_control. All uses updated. | |
6289 | (i386_linux_dr_set_addr): Renamed to | |
6290 | x86_linux_dr_set_addr. All uses updated. | |
6291 | (i386_linux_prepare_to_resume): Renamed to | |
6292 | x86_linux_prepare_to_resume. All uses updated. | |
6293 | (i386_linux_new_thread): Renamed to | |
6294 | x86_linux_new_thread. All uses updated. | |
6295 | (i386_linux_new_fork): Renamed to | |
6296 | x86_linux_new_fork. All uses updated. | |
6297 | (i386_linux_child_post_startup_inferior): Renamed to | |
6298 | x86_linux_child_post_startup_inferior. All uses updated. | |
6299 | (i386_linux_enable_btrace): Renamed to | |
6300 | x86_linux_enable_btrace. All uses updated. | |
6301 | (i386_linux_disable_btrace): Renamed to | |
6302 | x86_linux_disable_btrace. All uses updated. | |
6303 | (i386_linux_teardown_btrace): Renamed to | |
6304 | x86_linux_teardown_btrace. All uses updated. | |
6305 | (i386_linux_read_btrace): Renamed to | |
6306 | x86_linux_read_btrace. All uses updated. | |
6307 | ||
b9c1d481 AS |
6308 | 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com> |
6309 | ||
6310 | * remote.c (extended_remote_post_attach): New function. | |
6311 | (init_extended_remote_ops): Install it as to_post_attach method. | |
6312 | ||
7180e04a PA |
6313 | 2014-07-09 Pedro Alves <palves@redhat.com> |
6314 | ||
6315 | * infcmd.c (attach_command_post_wait): Don't call | |
6316 | target_terminal_inferior here. | |
6317 | (attach_command): Call it here instead. | |
6318 | ||
9a9a7608 AB |
6319 | 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com> |
6320 | ||
6321 | * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent | |
6322 | field. | |
6323 | * c-varobj.c (c_is_path_expr_parent): New function, moved core | |
6324 | from varobj.c, with additional checks. | |
6325 | (c_varobj_ops): Fill in is_path_expr_parent field. | |
6326 | (cplus_varobj_ops): Fill in is_path_expr_parent field. | |
6327 | * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent | |
6328 | field. | |
6329 | * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj | |
6330 | ops method. | |
6331 | (varobj_default_is_path_expr_parent): New function. | |
6332 | * varobj.h (lang_varobj_ops): Add is_path_expr_parent field. | |
6333 | (varobj_default_is_path_expr_parent): Declare new function. | |
6334 | ||
1f267ae3 MM |
6335 | 2014-07-08 Markus Metzger <markus.t.metzger@intel.com> |
6336 | ||
6337 | * infcmd.c (finish_backward): Turn internal error into normal error. | |
6338 | ||
b2ee242b PA |
6339 | 2014-07-07 Pedro Alves <palves@redhat.com> |
6340 | ||
8a869bca | 6341 | PR gdb/17096 |
b2ee242b PA |
6342 | * remote.c (async_handle_remote_sigint) |
6343 | (async_handle_remote_sigint_twice): Call | |
6344 | gdb_call_async_signal_handler instead of | |
6345 | mark_async_signal_handler. | |
6346 | ||
38e229b2 TT |
6347 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
6348 | ||
6349 | * target-delegates.c: Rebuild. | |
6350 | * target.c (target_info_record): Remove. | |
6351 | * record.c (info_record_command): Unconditionally call | |
6352 | to_info_record. | |
6353 | * target.h (struct target_ops) <to_info_record>: Use | |
6354 | TARGET_DEFAULT_IGNORE. | |
6355 | (target_info_record): Remove. | |
6356 | ||
f0f9ff95 TT |
6357 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
6358 | ||
6359 | * target.h (struct target_ops) <to_get_thread_local_address>: Use | |
6360 | TARGET_DEFAULT_NORETURN. | |
6361 | * target.c (generic_tls_error): New function. | |
6362 | (target_translate_tls_address): Don't search target stack. | |
6363 | * target-delegates.c: Rebuild. | |
6364 | * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target | |
6365 | stack. | |
6366 | * linux-thread-db.c (thread_db_get_thread_local_address): | |
6367 | Unconditionally call beneath target. | |
6368 | ||
4a5be5ee MK |
6369 | 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com> |
6370 | ||
6371 | * cli/cli-logging.c (pop_output_files): Assign targerr to | |
6372 | gdb_stdtargerr. | |
6373 | ||
92c3b204 AB |
6374 | 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com> |
6375 | ||
6376 | * MAINTAINERS (Write After Approval): Update my email address. | |
6377 | ||
9b11e3a7 GB |
6378 | 2014-07-02 Gary Benson <gbenson@redhat.com> |
6379 | ||
6380 | * proc-service.c (ps_xfer_memory): Update comment. | |
6381 | (ps_pstop): Remove unused function. | |
6382 | (ps_pcontinue): Likewise. | |
6383 | (ps_lstop): Likewise. | |
6384 | (ps_lcontinue): Likewise. | |
6385 | (ps_lgetxregsize): Likewise. | |
6386 | (ps_lgetxregs): Likewise. | |
6387 | (ps_lsetxregs): Likewise. | |
6388 | (ps_plog): Likewise. | |
6389 | (ps_ptread): Likewise. | |
6390 | (ps_ptwrite): Likewise. | |
6391 | ||
cf363f18 MW |
6392 | 2014-07-01 Mark Wielaard <mjw@redhat.com> |
6393 | ||
6394 | * dwarf2read.c (add_array_cv_type): New function. | |
6395 | (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY. | |
6396 | (read_tag_volatile_type): Likewise. | |
6397 | ||
82ae6c8d TT |
6398 | 2014-07-01 Tom Tromey <tromey@redhat.com> |
6399 | ||
6400 | * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype. | |
6401 | * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype. | |
6402 | * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd) | |
6403 | (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype. | |
6404 | * command.h (cmd_cfunc_ftype): Move earlier. | |
6405 | (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq) | |
6406 | (add_com, add_info): Use cmd_cfunc_ftype. | |
6407 | ||
96142726 TT |
6408 | 2014-06-30 Tom Tromey <tromey@redhat.com> |
6409 | ||
6410 | * symtab.c (operator_chars): Make parameters and return type | |
6411 | const. | |
6412 | (file_matches): Make "files" const. | |
6413 | (struct search_symbols_data) <files>: Now const. | |
6414 | (search_symbols): Make "regexp" and "files" parameters const. | |
6415 | Update. | |
6416 | (symtab_symbol_info): Remove cast. | |
6417 | (rbreak_command): Update. | |
6418 | * symtab.h (search_symbols): Update. | |
6419 | ||
b67a2c6f YQ |
6420 | 2014-06-27 Yao Qi <yao@codesourcery.com> |
6421 | ||
6422 | * breakpoint.c (check_longjmp_breakpoint_for_call_dummy): | |
6423 | Change parameter type to 'struct thread_info *'. Caller | |
6424 | updated. | |
6425 | * breakpoint.h (check_longjmp_breakpoint_for_call_dummy): | |
6426 | Update declaration. | |
6427 | * dummy-frame.c (struct dummy_frame_id): New. | |
6428 | (dummy_frame_id_eq): New function. | |
6429 | (struct dummy_frame) <id>: Change its type to 'struct | |
6430 | dummy_frame_id'. | |
6431 | (dummy_frame_push): Add parameter ptid and save it in | |
6432 | dummy_frame_id. | |
6433 | (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of | |
6434 | inferior_ptid. | |
6435 | (pop_dummy_frame): Assert that the ptid of dummy_frame equals | |
6436 | to inferior_ptid. | |
6437 | (lookup_dummy_frame): Change parameter type to 'struct | |
6438 | dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq | |
6439 | instead of frame_id_eq. | |
6440 | (dummy_frame_pop): Add parameter ptid. Callers updated. | |
6441 | Update comments. Compose dummy_frame_id and pass it to | |
6442 | lookup_dummy_frame. | |
6443 | (dummy_frame_discard): Add parameter ptid. | |
6444 | (dummy_frame_sniffer): Compose dummy_frame_id and call | |
6445 | dummy_frame_id_eq instead of frame_id_eq. | |
6446 | (fprint_dummy_frames): Print ptid. | |
6447 | * dummy-frame.h: Remove comments. | |
6448 | (dummy_frame_push): Add ptid in declaration. | |
6449 | (dummy_frame_pop, dummy_frame_discard): Likewise. | |
6450 | ||
5b10184c TT |
6451 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
6452 | ||
6453 | * cli/cli-cmds.c (error_no_arg): Make "why" const. | |
6454 | * command.h (error_no_arg): Update. | |
6455 | ||
06900326 TT |
6456 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
6457 | ||
6458 | * cli/cli-setshow.c (do_set_command): Make "arg" const. | |
6459 | (do_show_command): Make "arg" const. | |
6460 | * cli/cli-setshow.h (do_set_command, do_show_command): Update. | |
6461 | ||
c2bcbb1d TT |
6462 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
6463 | ||
6464 | * record-full.c (record_full_get_bookmark): Make "args" const. | |
6465 | (record_full_goto_bookmark): Make "raw_bookmark" const. | |
6466 | * record.c (record_goto): New function. | |
6467 | (cmd_record_goto): Use it. Now static. | |
6468 | * record.h (record_goto): Declare. | |
6469 | (cmd_record_goto): Remove declaration. | |
6470 | * target-delegates.c: Rebuild. | |
6471 | * target.h (struct target_ops) <to_get_bookmark, | |
6472 | to_goto_bookmark>: Make parameter const. | |
6473 | ||
9cbe5fff TT |
6474 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
6475 | ||
6476 | * defs.h (generic_load): Update. | |
6477 | * m32r-rom.c (m32r_load_gen): Make "filename" const. | |
6478 | * monitor.c (monitor_load): Make "args" const. | |
6479 | * remote-m32r-sdi.c (m32r_load): Make "args" const. | |
6480 | * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args" | |
6481 | const. | |
6482 | (mips_load): Make "file" const. | |
6483 | * remote-sim.c (gdbsim_load): Make "args" const. | |
6484 | * remote.c (remote_load): Make "name" const. | |
6485 | * symfile.c (generic_load): Make "args" const. | |
6486 | * target-delegates.c: Rebuild. | |
6487 | * target.c (target_load): Make "arg" const. | |
6488 | (debug_to_load): Make "args" const. | |
6489 | * target.h (struct target_ops) <to_load>: Make parameter const. | |
6490 | (target_load): Update. | |
6491 | ||
34a68019 TT |
6492 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
6493 | ||
6494 | PR symtab/16902: | |
6495 | * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name) | |
6496 | (dwarf2_physname, read_partial_die) | |
6497 | (guess_partial_die_structure_name, fixup_partial_die) | |
6498 | (guess_full_die_structure_name, anonymous_struct_prefix) | |
6499 | (dwarf2_name): Use per-BFD obstack. | |
6500 | ||
efc889c1 YQ |
6501 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
6502 | ||
6503 | * dummy-frame.c (dummy_frame_sniffer): Move local variables | |
6504 | dummyframe and this_id into inner block below. | |
6505 | ||
4395285e YQ |
6506 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
6507 | ||
6508 | * infrun.c (_initialize_infrun): Replace "signal_program[0]" | |
6509 | with "signal_pass[0]" in the initialization of signal_pass. | |
6510 | ||
aef92902 MM |
6511 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
6512 | ||
6513 | * record-btrace.c (record_btrace_generating_corefile) | |
6514 | (record_btrace_prepare_to_generate_core) | |
6515 | (record_btrace_done_generating_core): New. | |
6516 | (record_btrace_xfer_partial, record_btrace_fetch_registers) | |
6517 | (record_btrace_store_registers, record_btrace_prepare_to_store): | |
6518 | Forward request when generating a core file. | |
6519 | (record_btrace_open): Set record_btrace_generating_corefile to zero. | |
6520 | (init_record_btrace_ops): Set to_prepare_to_generate_core and | |
6521 | to_done_generating_core. | |
6522 | ||
5fff78c4 MM |
6523 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
6524 | ||
6525 | * target.h (target_ops) <to_prepare_to_generate_core> | |
6526 | <to_done_generating_core>: New. | |
6527 | (target_prepare_to_generate_core, target_done_generating_core): New. | |
6528 | * target.c (target_prepare_to_generate_core) | |
6529 | (target_done_generating_core): New. | |
6530 | * target-delegates.c: Regenerate. | |
6531 | * gcore.c: (write_gcore_file): Rename to ... | |
6532 | (write_gcore_file_1): ...this. | |
6533 | (write_gcore_file): Call target_prepare_to_generate_core | |
6534 | and target_done_generating_core. | |
6535 | ||
1d1f1ccb MM |
6536 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
6537 | ||
6538 | * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call. | |
6539 | * gcore.c (write_gcore_file): Free memory returned from | |
6540 | make_corefile_notes. | |
6541 | * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call. | |
6542 | * procfs.c (procfs_make_note_section): Remove make_cleanup call. | |
6543 | ||
3343ef86 YQ |
6544 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
6545 | ||
6546 | * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New. | |
6547 | (arm_linux_init_abi): Set skip_trampoline_code with | |
6548 | gdbarch_skip_trampoline_code instead of | |
6549 | find_solib_trampoline_target. | |
6550 | ||
18d18ac8 YQ |
6551 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
6552 | ||
6553 | * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if | |
6554 | arm_skip_bx_reg returns non-zero. | |
6555 | ||
80d8d390 YQ |
6556 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
6557 | ||
6558 | * arm-tdep.c (arm_skip_bx_reg): New function. | |
6559 | (arm_skip_stub): Call arm_skip_bx_reg. | |
6560 | ||
6a18a01c DB |
6561 | 2014-06-23 Don Breazeal <donb@codesourcery.com> |
6562 | ||
6563 | * MAINTAINERS: Add myself as write-after-approval maintainer. | |
6564 | ||
8e9db26e PA |
6565 | 2014-06-23 Pedro Alves <palves@redhat.com> |
6566 | ||
6567 | * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear | |
6568 | DR_CONTROL before setting DR0..DR3. | |
6569 | * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise. | |
6570 | * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all | |
6571 | bits of DR_CONTROL related to the debug register slot being | |
6572 | disabled. If all slots are vacant, clear local slowdown as well, | |
6573 | and assert DR_CONTROL is 0. | |
6574 | ||
70afc5b7 SC |
6575 | 2014-06-23 Siva Chandra Reddy <sivachandra@google.com> |
6576 | ||
6577 | * python/lib/gdb/command/xmethods.py | |
6578 | (get_method_matchers_in_loci): Lookup xmethod matchers in the | |
6579 | current progspace only if the string "progspace" matches LOCUS_RE. | |
6580 | ||
840ed64d JK |
6581 | 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
6582 | ||
6583 | Fix --with-system-readline with readline-6.3 patch 5. | |
6584 | * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function) | |
6585 | (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t | |
6586 | types. | |
6587 | ||
26f2dc30 TT |
6588 | 2014-06-20 Tom Tromey <tromey@redhat.com> |
6589 | ||
6590 | * dwarf2read.c (dw2_get_real_path): Use correct type in | |
6591 | OBSTACK_CALLOC. | |
6592 | * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result. | |
6593 | ||
125f8a3d GB |
6594 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
6595 | ||
6596 | * common/gdb_thread_db.h: Moved to nat. All includes updated. | |
6597 | * common/glibc_thread_db.h: Likewise. | |
6598 | * common/i386-cpuid.h: Likewise. | |
6599 | * common/i386-gcc-cpuid.h: Likewise. | |
6600 | * common/linux-btrace.h: Likewise. | |
6601 | * common/linux-osdata.h: Likewise. | |
6602 | * common/linux-procfs.h: Likewise. | |
6603 | * common/linux-ptrace.h: Likewise. | |
6604 | * common/mips-linux-watch.h: Likewise. | |
6605 | * common/linux-btrace.c: Moved to nat. | |
6606 | * common/linux-osdata.c: Likewise. | |
6607 | * common/linux-procfs.c: Likewise. | |
6608 | * common/linux-ptrace.c: Likewise. | |
6609 | * common/mips-linux-watch.c: Likewise. | |
6610 | * nat/gdb_thread_db.h: Moved from common. | |
6611 | * nat/glibc_thread_db.h: Likewise. | |
6612 | * nat/i386-cpuid.h: Likewise. | |
6613 | * nat/i386-gcc-cpuid.h: Likewise. | |
6614 | * nat/linux-btrace.c: Likewise. | |
6615 | * nat/linux-btrace.h: Likewise. | |
6616 | * nat/linux-osdata.c: Likewise. | |
6617 | * nat/linux-osdata.h: Likewise. | |
6618 | * nat/linux-procfs.c: Likewise. | |
6619 | * nat/linux-procfs.h: Likewise. | |
6620 | * nat/linux-ptrace.c: Likewise. | |
6621 | * nat/linux-ptrace.h: Likewise. | |
6622 | * nat/mips-linux-watch.c: Likewise. | |
6623 | * nat/mips-linux-watch.h: Likewise. | |
6624 | * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations. | |
6625 | (object file files): Reordered. | |
6626 | * gdb/copyright.py (EXCLUDE_LIST): Reflect new location | |
6627 | of glibc_thread_db.h. | |
6628 | ||
42995dbd GB |
6629 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
6630 | ||
6631 | * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c. | |
6632 | (i386_dr_low_type): Moved to nat/i386-dregs.h. | |
6633 | (i386_dr_low): Likewise. | |
6634 | (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c. | |
6635 | (i386_dr_low_set_addr): Likewise. | |
6636 | (i386_dr_low_get_addr): Likewise. | |
6637 | (i386_dr_low_can_set_control): Likewise. | |
6638 | (i386_dr_low_set_control): Likewise. | |
6639 | (i386_dr_low_get_control): Likewise. | |
6640 | (i386_dr_low_get_status): Likewise. | |
6641 | (i386_get_debug_register_length): Likewise. | |
6642 | * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h. | |
6643 | (i386_dr_low): Likewise. | |
6644 | * nat/i386-dregs.c (i386-low.h): Remove include. | |
6645 | (i386-nat.h): Likewise. | |
6646 | (nat/i386-dregs.h): New include. | |
6647 | (i386_dr_low_can_set_addr): Moved from i386-nat.h. | |
6648 | (i386_dr_low_set_addr): Likewise. | |
6649 | (i386_dr_low_get_addr): Likewise. | |
6650 | (i386_dr_low_can_set_control): Likewise. | |
6651 | (i386_dr_low_set_control): Likewise. | |
6652 | (i386_dr_low_get_control): Likewise. | |
6653 | (i386_dr_low_get_status): Likewise. | |
6654 | (i386_get_debug_register_length): Likewise. | |
6655 | (debug_hw_points): Likewise. | |
6656 | ||
3ed9baed IB |
6657 | 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org> |
6658 | ||
6659 | * Makefile.in (SFILES): Add d-exp.y. | |
6660 | (YYFILES): Add d-exp.c. | |
6661 | (YYOBJ): Add d-exp.o. | |
6662 | (local-maintainer-clean): Delete d-exp.c. | |
6663 | * d-exp.y: New file. | |
6664 | * d-lang.h (d_parse): New declaration. | |
6665 | (d_error): New declaration. | |
6666 | * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP. | |
6667 | Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other | |
6668 | PREC_ORDER operators. | |
6669 | (d_language_defn): Use d_parse, d_error instead of c_parse, c_error. | |
6670 | ||
78c164b0 YQ |
6671 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
6672 | ||
6673 | * gdbthread.h (any_running): Remove the declaration. | |
6674 | * thread.c (any_running): Remove. | |
6675 | ||
f6e29b6e YQ |
6676 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
6677 | ||
6678 | * gdbthread.h (struct thread_info) <state>: Change its type to | |
6679 | 'enum thread_state'. Update comments. | |
6680 | ||
034f788c PA |
6681 | 2014-06-19 Pedro Alves <palves@redhat.com> |
6682 | ||
6683 | * gdbthread.h (ALL_THREADS): Delete. | |
6684 | (ALL_NON_EXITED_THREADS): New macro. | |
6685 | * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS | |
6686 | instead of ALL_THREADS. | |
6687 | * infrun.c (find_thread_needs_step_over) | |
6688 | (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS | |
6689 | instead of ALL_THREADS. | |
6690 | * record-btrace.c (record_btrace_open) | |
6691 | (record_btrace_stop_recording, record_btrace_close) | |
6692 | (record_btrace_is_replaying, record_btrace_resume) | |
6693 | (record_btrace_find_thread_to_move, record_btrace_wait): Likewise. | |
6694 | * remote.c (append_pending_thread_resumptions): Likewise. | |
6695 | * thread.c (thread_apply_all_command): Likewise. | |
6696 | ||
46e33252 GB |
6697 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6698 | ||
6699 | * i386-nat.c (i386_stopped_by_watchpoint): | |
6700 | Use i386_dr_stopped_by_watchpoint. | |
6701 | (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint. | |
6702 | (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint. | |
6703 | ||
3a8ee006 GB |
6704 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6705 | ||
6706 | * nat/i386-dregs.c: New file. | |
6707 | * Makefile.in (i386-dregs.o): New rule. | |
6708 | * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o. | |
6709 | * config/i386/cygwin64.mh (NATDEPFILES): Likewise. | |
6710 | * config/i386/darwin.mh (NATDEPFILES): Likewise. | |
6711 | * config/i386/fbsd.mh (NATDEPFILES): Likewise. | |
6712 | * config/i386/fbsd64.mh (NATDEPFILES): Likewise. | |
6713 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
6714 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
6715 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
6716 | * config/i386/mingw.mh (NATDEPFILES): Likewise. | |
6717 | * config/i386/mingw64.mh (NATDEPFILES): Likewise. | |
6718 | * i386-nat.h (debug_hw_points): New declaration. | |
6719 | * i386-nat.c (breakpoint.h): Remove include. | |
6720 | (command.h): Likewise. | |
6721 | (target.h): Likewise. | |
6722 | (gdb_assert.h): Likewise. | |
6723 | (debug_hw_points): Made nonstatic. | |
6724 | (debug_printf): Now in i386-dregs.c. | |
6725 | (TARGET_HAS_DR_LEN_8): Likewise. | |
6726 | (DR_CONTROL_SHIFT): Likewise. | |
6727 | (DR_CONTROL_SIZE): Likewise. | |
6728 | (DR_RW_EXECUTE): Likewise. | |
6729 | (DR_RW_WRITE): Likewise. | |
6730 | (DR_RW_READ): Likewise. | |
6731 | (DR_RW_IORW): Likewise. | |
6732 | (DR_LEN_1): Likewise. | |
6733 | (DR_LEN_2): Likewise. | |
6734 | (DR_LEN_4): Likewise. | |
6735 | (DR_LEN_8): Likewise. | |
6736 | (DR_LOCAL_ENABLE_SHIFT): Likewise. | |
6737 | (DR_GLOBAL_ENABLE_SHIFT): Likewise. | |
6738 | (DR_ENABLE_SIZE): Likewise. | |
6739 | (DR_LOCAL_SLOWDOWN): Likewise. | |
6740 | (DR_GLOBAL_SLOWDOWN): Likewise. | |
6741 | (DR_CONTROL_RESERVED): Likewise. | |
6742 | (I386_DR_CONTROL_MASK): Likewise. | |
6743 | (I386_DR_VACANT): Likewise. | |
6744 | (I386_DR_LOCAL_ENABLE): Likewise. | |
6745 | (I386_DR_GLOBAL_ENABLE): Likewise. | |
6746 | (I386_DR_DISABLE): Likewise. | |
6747 | (I386_DR_SET_RW_LEN): Likewise. | |
6748 | (I386_DR_GET_RW_LEN): Likewise. | |
6749 | (I386_DR_WATCH_HIT): Likewise. | |
6750 | (i386_wp_op_t): Likewise. | |
6751 | (i386_show_dr): Likewise. | |
6752 | (i386_length_and_rw_bits): Likewise. | |
6753 | (i386_insert_aligned_watchpoint): Likewise. | |
6754 | (i386_remove_aligned_watchpoint): Likewise. | |
6755 | (i386_handle_nonaligned_watchpoint): Likewise. | |
6756 | (i386_update_inferior_debug_regs): Likewise. | |
6757 | (i386_insert_watchpoint): Use i386_dr_insert_watchpoint. | |
6758 | (i386_remove_watchpoint): Use i386_dr_remove_watchpoint. | |
6759 | (i386_region_ok_for_watchpoint): | |
6760 | Use i386_dr_region_ok_for_watchpoint. | |
6761 | (i386_stopped_data_address): Use i386_dr_stopped_data_address. | |
6762 | ||
322a8e06 GB |
6763 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6764 | ||
6765 | * i386-nat.c (i386_insert_hw_breakpoint): Use | |
6766 | i386_insert_watchpoint. | |
6767 | (i386_remove_hw_breakpoint): Use i386_remove_watchpoint. | |
6768 | ||
8f26655c GB |
6769 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6770 | ||
6771 | * i386-nat.c (i386_dr_show): Renamed to | |
6772 | i386_show_dr and made static. All uses updated. | |
6773 | (i386_dr_length_and_rw_bits): Renamed to | |
6774 | i386_length_and_rw_bits and made static. | |
6775 | All uses updated. | |
6776 | (i386_dr_insert_aligned_watchpoint): Renamed to | |
6777 | i386_insert_aligned_watchpoint and made static. | |
6778 | All uses updated. | |
6779 | (i386_dr_remove_aligned_watchpoint): Renamed to | |
6780 | i386_remove_aligned_watchpoint and made static. | |
6781 | All uses updated. | |
6782 | (i386_dr_update_inferior_debug_regs): Renamed to | |
6783 | i386_update_inferior_debug_regs and made static. | |
6784 | All uses updated. | |
6785 | * nat/i386-dregs.h (i386_dr_show): Removed. | |
6786 | (i386_dr_length_and_rw_bits): Likewise. | |
6787 | (i386_dr_insert_aligned_watchpoint): Likewise. | |
6788 | (i386_dr_remove_aligned_watchpoint): Likewise. | |
6789 | (i386_dr_update_inferior_debug_regs): Likewise. | |
6790 | ||
992c7d70 GB |
6791 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6792 | ||
6793 | * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check. | |
6794 | * configure: Regenerate. | |
6795 | * config.in: Likewise. | |
6796 | * main.c (signal.h): New include. | |
6797 | (setup_alternate_signal_stack): New function. | |
6798 | (captured_main): Call the above. | |
6799 | * cp-support.c (signal.h): New include. | |
6800 | (catch_demangler_crashes): New flag. | |
6801 | (SIGJMP_BUF): New define. | |
6802 | (SIGSETJMP): Likewise. | |
6803 | (SIGLONGJMP): Likewise. | |
6804 | (gdb_demangle_jmp_buf): New static global. | |
6805 | (gdb_demangle_attempt_core_dump): Likewise. | |
6806 | (gdb_demangle_signal_handler): New function. | |
6807 | (gdb_demangle): If catch_demangler_crashes is set, install the | |
6808 | above signal handler before calling bfd_demangle, and restore | |
6809 | the original signal handler afterwards. Display the offending | |
6810 | symbol and call demangler_warning the first time a segmentation | |
6811 | fault is caught. | |
6812 | (_initialize_cp_support): New maint set/show command. | |
6813 | ||
eae7090b GB |
6814 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6815 | ||
6816 | * utils.h (resource_limit_kind): New enum. | |
6817 | (can_dump_core): New declaration. | |
6818 | (warn_cant_dump_core): Likewise. | |
6819 | (dump_core): Likewise. | |
6820 | * utils.c (dump_core): Made nonstatic. Added new | |
6821 | parameter "limit_kind". | |
6822 | (can_dump_core): Made nonstatic. Moved printing code to... | |
6823 | (warn_cant_dump_core): New function. | |
6824 | (can_dump_core_warn): Likewise. | |
6825 | (internal_vproblem): Replace calls to can_dump_core with | |
6826 | calls to can_dump_core_warn. Supply new argument to each. | |
6827 | ||
57fcfb1b GB |
6828 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6829 | ||
6830 | * utils.h (demangler_vwarning): New declaration. | |
6831 | (demangler_warning): Likewise. | |
6832 | * utils.c (struct internal_problem) | |
6833 | <user_settable_should_quit>: New field. | |
6834 | <user_settable_should_dump_core>: Likewise | |
6835 | (internal_error_problem): Add values for above new fields. | |
6836 | (internal_warning_problem): Likewise. | |
6837 | (demangler_warning_problem): New static global. | |
6838 | (demangler_vwarning): New function. | |
6839 | (demangler_warning): Likewise. | |
6840 | (add_internal_problem_command): Selectively add commands. | |
6841 | (_initialize_utils): New internal problem command. | |
6842 | * maint.c (maintenance_demangler_warning): New function. | |
6843 | (_initialize_maint_cmds): New command. | |
6844 | ||
17a40b44 TT |
6845 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6846 | ||
6847 | * f-valprint.c (info_common_command_for_block): Update. | |
6848 | * symtab.h (struct general_symbol_info) <common_block>: Now | |
6849 | const. | |
6850 | ||
346d1dfe TT |
6851 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6852 | ||
6853 | * symtab.h (struct symtab) <blockvector>: Now const. | |
6854 | * ada-lang.c (ada_add_global_exceptions): Update. | |
6855 | * buildsym.c (augment_type_symtab): Update. | |
6856 | * dwarf2read.c (dw2_lookup_symbol): Update. | |
6857 | * jit.c (finalize_symtab): Update. | |
6858 | * jv-lang.c (add_class_symtab_symbol): Update. | |
6859 | * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab): | |
6860 | Update. | |
6861 | * objfiles.c (objfile_relocate1): Update. | |
6862 | * psymtab.c (lookup_symbol_aux_psymtabs) | |
6863 | (maintenance_check_psymtabs): Update. | |
6864 | * python/py-symtab.c (stpy_global_block, stpy_static_block): | |
6865 | Update. | |
6866 | * spu-tdep.c (spu_catch_start): Update. | |
6867 | * symmisc.c (dump_symtab_1): Update. | |
6868 | * symtab.c (lookup_global_symbol_from_objfile) | |
6869 | (lookup_symbol_aux_objfile, lookup_symbol_aux_quick) | |
6870 | (basic_lookup_transparent_type_quick) | |
6871 | (basic_lookup_transparent_type, find_pc_sect_symtab) | |
6872 | (find_pc_sect_line, search_symbols): Update. | |
6873 | * block.c (find_block_in_blockvector): Make "bl" const. | |
6874 | (blockvector_for_pc_sect, blockvector_for_pc): Make return type | |
6875 | const. | |
6876 | (blockvector_contains_pc): Make "bv" const. | |
6877 | (block_for_pc_sect): Update. | |
6878 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
6879 | (blockvector_contains_pc): Update. | |
6880 | * breakpoint.c (resolve_sal_pc): Update. | |
6881 | * inline-frame.c (block_starting_point_at): Update. | |
6882 | ||
1834676b TT |
6883 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6884 | ||
6885 | * completer.c (complete_line): Make "line_buffer" const. | |
6886 | * completer.h (complete_line): Update. | |
6887 | ||
ac1a991b TT |
6888 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6889 | ||
6890 | * symtab.c (add_macro_name): Remove unneeded cast. | |
6891 | ||
5bc98e52 TT |
6892 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6893 | ||
6894 | * cli/cli-setshow.h (parse_cli_boolean_value): Update. | |
6895 | * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const. | |
6896 | ||
8236def8 TT |
6897 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6898 | ||
6899 | * probe.c (info_probes_for_ops): Make "arg" const. | |
6900 | * probe.h (info_probes_for_ops): Update. | |
6901 | ||
3977b71f TT |
6902 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6903 | ||
6904 | * varobj.c (varobj_create): Update. | |
6905 | * valops.c (value_of_this): Update. | |
6906 | * tracepoint.c (add_local_symbols, scope_info): Update. | |
6907 | * symtab.h (struct general_symbol_info) <block>: Now const. | |
6908 | * symtab.c (skip_prologue_sal) | |
6909 | (default_make_symbol_completion_list_break_on) | |
6910 | (skip_prologue_using_sal): Update. | |
6911 | * stack.h (iterate_over_block_locals) | |
6912 | (iterate_over_block_local_vars): Update. | |
6913 | * stack.c (print_frame_args): Update. | |
6914 | (iterate_over_block_locals, iterate_over_block_local_vars): Make | |
6915 | parameter const. | |
6916 | (get_selected_block): Make return type const. | |
6917 | * python/py-frame.c (frapy_block): Update. | |
6918 | * python/py-block.c (gdbpy_block_for_pc): Update. | |
6919 | * p-exp.y (%union) <bval>: Now const. | |
6920 | * mi/mi-cmd-stack.c (list_args_or_locals): Update. | |
6921 | * mdebugread.c (mylookup_symbol, parse_procedure): Update. | |
6922 | * m2-exp.y (%union) <bval>: Now const. | |
6923 | * linespec.c (get_current_search_block): Make return type const. | |
6924 | (create_sals_line_offset, find_label_symbols): Update. | |
6925 | * inline-frame.c (inline_frame_sniffer, skip_inline_frames): | |
6926 | Update. | |
6927 | (block_starting_point_at): Make "block" const. | |
6928 | * infrun.c (insert_exception_resume_breakpoint): Make "b" const. | |
6929 | (check_exception_resume): Update. | |
6930 | * guile/scm-frame.c (gdbscm_frame_block): Update. | |
6931 | * guile/scm-block.c (gdbscm_lookup_block): Update. | |
6932 | * frame.h (get_frame_block): Update. | |
6933 | (get_selected_block): Make return type const. | |
6934 | * frame.c (frame_id_inner): Update. | |
6935 | * f-valprint.c (info_common_command_for_block) | |
6936 | (info_common_command): Update. | |
6937 | * dwarf2loc.c (dwarf2_find_location_expression) | |
6938 | (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax) | |
6939 | (locexpr_describe_location_piece): Update. | |
6940 | * c-exp.y (%union) <bval>: Now const. | |
6941 | * breakpoint.c (resolve_sal_pc): Update. | |
6942 | * blockframe.c (get_frame_block):Make return type const. | |
6943 | (get_pc_function_start, get_frame_function, find_pc_sect_function) | |
6944 | (block_innermost_frame): Update. | |
6945 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
6946 | (block_for_pc, block_for_pc_sect): Update. | |
6947 | * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make | |
6948 | 'pblock' const. | |
6949 | (block_for_pc_sect, block_for_pc): Make return type const. | |
6950 | * ax-gdb.c (gen_expr): Update. | |
6951 | * alpha-mdebug-tdep.c (find_proc_desc): Update. | |
6952 | * ada-lang.c (ada_read_renaming_var_value): Make 'block' const. | |
6953 | (ada_make_symbol_completion_list, ada_add_exceptions_from_frame) | |
6954 | (ada_read_var_value): Update. | |
6955 | * ada-exp.y (struct name_info) <block>: Now const. | |
6956 | (%union): Likewise. | |
6957 | (block_lookup): Constify. | |
6958 | ||
b9228891 GB |
6959 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6960 | ||
6961 | * nat/i386-dregs.h: New file. | |
6962 | * Makefile.in (HFILES_NO_SRCDIR): Add the above. | |
6963 | * i386-nat.h (i386-dregs.h): New include. | |
6964 | (DR_FIRSTADDR): Now in i386-dregs.h. | |
6965 | (DR_LASTADDR): Likewise. | |
6966 | (DR_NADDR): Likewise. | |
6967 | (DR_STATUS): Likewise. | |
6968 | (DR_CONTROL): Likewise. | |
6969 | (i386_debug_reg_state): Likewise. | |
6970 | * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise. | |
6971 | ||
a1aa2221 LM |
6972 | 2014-06-18 Don Breazeal <donb@codesourcery.com> |
6973 | ||
6974 | * breakpoint.c (set_longjmp_breakpoint): Call | |
6975 | momentary_breakpoint_from_master with additional argument. | |
6976 | (set_longjmp_breakpoint_for_call_dummy): Call | |
6977 | momentary_breakpoint_from_master with additional argument. | |
6978 | (set_std_terminate_breakpoint): Call | |
6979 | momentary_breakpoint_from_master with additional argument. | |
6980 | (momentary_breakpoint_from_master): Add argument to function | |
6981 | definition and use it to initialize structure member flag. | |
74228e77 | 6982 | (clone_momentary_breakpoint): Call |
a1aa2221 LM |
6983 | momentary_breakpoint_from_master with additional argument. |
6984 | * infrun.c (follow_inferior_reset_breakpoints): Clear structure | |
6985 | member flags set in momentary_breakpoint_from_master. | |
6986 | ||
4be83cc2 GB |
6987 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6988 | ||
6989 | * i386-nat.c (i386_show_dr): Renamed to | |
6990 | i386_dr_show and made nonstatic. All uses updated. | |
6991 | (i386_length_and_rw_bits): Renamed to | |
6992 | i386_dr_length_and_rw_bits and made nonstatic. | |
6993 | All uses updated. | |
6994 | (i386_insert_aligned_watchpoint): Renamed to | |
6995 | i386_dr_insert_aligned_watchpoint and made nonstatic. | |
6996 | All uses updated. | |
6997 | (i386_remove_aligned_watchpoint): Renamed to | |
6998 | i386_dr_remove_aligned_watchpoint and made nonstatic. | |
6999 | All uses updated. | |
7000 | (i386_update_inferior_debug_regs): Renamed to | |
7001 | i386_dr_update_inferior_debug_regs and made nonstatic. | |
7002 | All uses updated. | |
7003 | ||
131aa0d4 GB |
7004 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
7005 | ||
7006 | * i386-nat.c (i386_dr_low_can_set_addr): New macro. | |
7007 | (i386_dr_low_can_set_control): Likewise. | |
7008 | (i386_dr_low_set_addr): Likewise. | |
7009 | (i386_dr_low_set_control): Likewise. | |
7010 | (i386_dr_low_get_addr): Likewise. | |
7011 | (i386_dr_low_get_status): Likewise. | |
7012 | (i386_dr_low_get_control): Likewise. | |
7013 | (i386_insert_aligned_watchpoint): Use new macros. | |
7014 | (i386_update_inferior_debug_regs): Likewise. | |
7015 | (i386_stopped_data_address): Likewise. | |
7016 | ||
d9305f7f GB |
7017 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
7018 | ||
7019 | * i386-nat.c (i386_update_inferior_debug_regs) <state>: | |
7020 | New parameter. All uses updated. | |
7021 | ||
ea008da4 GB |
7022 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
7023 | ||
7024 | * i386-nat.c (maint_show_dr): Renamed to debug_hw_points. | |
7025 | All uses updated. | |
7026 | ||
1b6d4134 GB |
7027 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
7028 | ||
7029 | * i386-nat.c (debug_printf): New macro. | |
7030 | (i386_get_debug_register_length): Likewise. | |
7031 | (TARGET_HAS_DR_LEN_8): Use above macro. | |
7032 | (i386_show_dr): Use debug_printf instead of puts_unfiltered | |
7033 | and printf_unfiltered. Use phex to format values. | |
7034 | ||
9b4550ef GB |
7035 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
7036 | ||
7037 | * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>: | |
7038 | Make const. | |
7039 | ||
6e62758f GB |
7040 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
7041 | ||
7042 | * i386-nat.c: Comment changes. | |
7043 | ||
51c79e94 GB |
7044 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
7045 | ||
7046 | * i386-nat.c (I386_DR_WATCH_MASK): Remove macro. | |
7047 | ||
3e11889a GB |
7048 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
7049 | ||
7050 | * i386-nat.c (i386_length_and_rw_bits): Remove prototype. | |
7051 | (i386_insert_aligned_watchpoint): Likewise. | |
7052 | (i386_remove_aligned_watchpoint): Likewise. | |
7053 | (i386_handle_nonaligned_watchpoint): Likewise. | |
7054 | ||
fc6e2f03 GB |
7055 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
7056 | ||
7057 | * i386-nat.c: Whitespace changes. | |
7058 | ||
2afe7d50 SB |
7059 | 2014-06-17 Samuel Bronson <naesten@gmail.com> |
7060 | ||
7061 | * MAINTAINERS: Update Roland McGrath's email address. | |
7062 | Thanks to Sergio Durigan Junior for pointing out that he left | |
6a83deea | 7063 | Red Hat a while ago, and giving me a current address. |
2afe7d50 | 7064 | |
3bca49ee TT |
7065 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
7066 | ||
7067 | * utils.h (savestring): Remove declaration. | |
7068 | ||
6e366df1 TT |
7069 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
7070 | ||
7071 | * remote.c (extended_remote_run): Use make_cleanup_freeargv. | |
7072 | ||
6be47f0c KS |
7073 | 2014-06-16 Keith Seitz <keiths@redhat.com> |
7074 | ||
7075 | PR mi/15863 | |
7076 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt | |
7077 | to update the varobj if inferior_ptid is null_ptid. | |
7078 | ||
7bc112c1 TT |
7079 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
7080 | ||
7081 | * target.h (struct target_ops) <to_info_proc>: Make parameter | |
7082 | const. | |
7083 | (target_info_proc): Update. | |
7084 | * target.c (target_info_proc): Make "args" const. | |
7085 | * procfs.c (procfs_info_proc): Update. | |
7086 | * linux-tdep.c (linux_info_proc): Update. | |
7087 | (linux_core_info_proc_mappings): Make "args" const. | |
7088 | (linux_core_info_proc): Update. | |
7089 | * gdbarch.sh (info_proc, core_info_proc): Make "args" const. | |
7090 | * gdbarch.c: Rebuild. | |
7091 | * gdbarch.h: Rebuild. | |
7092 | * corelow.c (core_info_proc): Update. | |
7093 | ||
fee354ee TT |
7094 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
7095 | ||
7096 | * target.h (struct target_ops) <to_disconnect>: Make parameter | |
7097 | const. | |
7098 | (target_disconnect): Update. | |
7099 | * target.c (target_disconnect): Make "args" const. | |
7100 | * target-delegates.c: Rebuild. | |
7101 | * remote.c (remote_disconnect): Update. | |
7102 | * record.h (record_disconnect): Update. | |
7103 | * record.c (record_disconnect): Update. | |
7104 | * inf-child.c (inf_child_disconnect): Update. | |
7105 | ||
a30bf1f1 TT |
7106 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
7107 | ||
7108 | * target.h (struct target_ops) <to_rcmd>: Make "command" const. | |
7109 | * target.c (debug_to_rcmd, default_rcmd): Update. | |
7110 | * target-delegates.c: Rebuild. | |
7111 | * remote.c (remote_rcmd): Update. | |
7112 | * monitor.c (monitor_rcmd): Update. | |
7113 | ||
d03de421 PA |
7114 | 2014-06-16 Pedro Alves <palves@redhat.com> |
7115 | ||
7116 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust. | |
7117 | (disable_breakpoints_in_freed_objfile): Skip objfiles that don't | |
7118 | have OBJF_SHARED set. | |
7119 | * objfiles.c (userloaded_objfile_contains_address_p): Rename to... | |
7120 | (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED | |
7121 | instead of OBJF_USERLOADED. | |
7122 | * objfiles.h (OBJF_SHARED): Update comment. | |
7123 | (userloaded_objfile_contains_address_p): Rename to ... | |
7124 | (shared_objfile_contains_address_p): ... this, and update | |
7125 | comments. | |
7126 | * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the | |
7127 | new objfile. | |
7128 | (remove_symbol_file_command): Skip objfiles that don't have | |
7129 | OBJF_SHARED set. | |
7130 | ||
99f4262f TT |
7131 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
7132 | ||
7133 | * minsyms.h (prim_record_minimal_symbol) | |
7134 | (prim_record_minimal_symbol_and_info): Update comments. | |
7135 | ||
97d66cc6 EZ |
7136 | 2014-06-14 Eli Zaretskii <eliz@gnu.org> |
7137 | ||
7138 | * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile | |
7139 | or --without-guile, according to how GDB was built. | |
7140 | ||
635c7e8a TT |
7141 | 2014-06-13 Tom Tromey <tromey@redhat.com> |
7142 | ||
7143 | * cp-support.c (maint_cplus_command): Pass all_commands, not -1, | |
7144 | to help_list. | |
7145 | * guile/guile.c (info_guile_command): Pass all_commands, not -1, | |
7146 | to help_list. | |
7147 | * tui/tui-win.c (tui_command): Pass all_commands, not -1, to | |
7148 | help_list. | |
7149 | * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to | |
7150 | help_list.Pass all_commands, not -1, to help_list. | |
7151 | * cli/cli-dump.c (dump_command, append_command) | |
7152 | (srec_dump_command, ihex_dump_command, tekhex_dump_command) | |
7153 | (binary_dump_command, binary_append_command): Pass all_commands, | |
7154 | not -1, to help_list. | |
7155 | * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not | |
7156 | -1, to help_list. | |
7157 | * valprint.c (set_print, set_print_raw): Pass all_commands, not | |
7158 | -1, to help_list. | |
7159 | * typeprint.c (set_print_type): Pass all_commands, not -1, to | |
7160 | help_list. | |
7161 | * top.c (set_history): Pass all_commands, not -1, to help_list. | |
7162 | * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass | |
7163 | all_commands, not -1, to help_list. | |
7164 | * symfile.c (overlay_command): Pass all_commands, not -1, to | |
7165 | help_list. | |
7166 | * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to | |
7167 | help_list. | |
7168 | * serial.c (serial_set_cmd): Pass all_commands, not -1, to | |
7169 | help_list. | |
7170 | * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not | |
7171 | -1, to help_list. | |
7172 | * remote.c (remote_command, set_remote_cmd): Pass all_commands, | |
7173 | not -1, to help_list. | |
7174 | * ravenscar-thread.c (set_ravenscar_command): Pass all_commands, | |
7175 | not -1, to help_list. | |
7176 | * maint.c (maintenance_command, maintenance_info_command) | |
7177 | (maintenance_print_command, maintenance_set_cmd): Pass | |
7178 | all_commands, not -1, to help_list. | |
7179 | * macrocmd.c (macro_command): Pass all_commands, not -1, to | |
7180 | help_list. | |
7181 | * language.c (set_check): Pass all_commands, not -1, to help_list. | |
7182 | * infcmd.c (unset_command): Pass all_commands, not -1, to | |
7183 | help_list. | |
7184 | * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to | |
7185 | help_list. | |
7186 | * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to | |
7187 | help_list. | |
7188 | * dcache.c (set_dcache_command): Pass all_commands, not -1, to | |
7189 | help_list. | |
7190 | * breakpoint.c (save_command): Pass all_commands, not -1, to | |
7191 | help_list. | |
7192 | * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass | |
7193 | all_commands, not -1, to help_list. | |
7194 | ||
b94ade42 PL |
7195 | 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com> |
7196 | ||
7197 | * regcache.c (struct register_to_invalidate): New structure. | |
7198 | (do_register_invalidate, make_cleanup_regcache_invalidate): New | |
7199 | functions. | |
7200 | (regcache_raw_write): Call make_cleanup_regcache_invalidate. | |
7201 | ||
31f628ae YQ |
7202 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
7203 | ||
7204 | * varobj.c (varobj_get_num_children): Call | |
7205 | varobj_is_dynamic_p. | |
7206 | (varobj_list_children): Likewise. | |
7207 | (varobj_update): Likewise. Update comments. | |
7208 | ||
cde5ef40 YQ |
7209 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
7210 | ||
7211 | * varobj.c (varobj_pretty_printed_p): Rename to ... | |
7212 | (varobj_is_dynamic_p): ... this. New function. | |
7213 | * varobj.h (varobj_pretty_printed_p): Remove declaration. | |
7214 | (varobj_is_dynamic_p): Declare. | |
7215 | * mi/mi-cmd-var.c (print_varobj): All callers updated. | |
7216 | (mi_print_value_p, varobj_update_one): Likewise. | |
7217 | ||
576ea091 YQ |
7218 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
7219 | Yao Qi <yao@codesourcery.com> | |
7220 | ||
7221 | * varobj.c: Remove "#if HAVE_PYTHON" and "#endif". | |
7222 | (varobj_get_iterator): Wrap up code for pretty-printer by | |
7223 | "#if HAVE_PYTHON" and "#endif". | |
7224 | (update_dynamic_varobj_children): Likewise. | |
7225 | ||
827f100c YQ |
7226 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
7227 | Yao Qi <yao@codesourcery.com> | |
7228 | ||
7229 | * python/py-varobj.c (py_varobj_iter_next): Return NULL if | |
7230 | gdb_python_initialized is false. Move some code from varobj.c. | |
7231 | * varobj-iter.h (struct varobj_item): Moved from varobj.c. | |
7232 | * varobj.c: Move "varobj-iter.h" inclusion earlier. | |
7233 | (struct varobj_item): Moved to varobj-iter.h". | |
7234 | (varobj_clear_saved_item): New function. | |
7235 | (update_dynamic_varobj_children): Move python-related code to | |
7236 | py-varobj.c. | |
7237 | (free_variable): Call varobj_clear_saved_item and | |
7238 | varobj_iter_delete. | |
7239 | ||
e5250216 YQ |
7240 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
7241 | Yao Qi <yao@codesourcery.com> | |
7242 | ||
7243 | * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o". | |
7244 | (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c". | |
7245 | (HFILES_NO_SRCDIR): Add "varobj-iter.h". | |
7246 | (py-varobj.o): New rule. | |
7247 | * python/py-varobj.c: New file. | |
7248 | * python/python-internal.h (py_varobj_get_iterator): Declare. | |
7249 | * varobj-iter.h: New file. | |
7250 | * varobj.c: Include "varobj-iter.h" | |
7251 | (struct varobj) <child_iter>: Change its type from "PyObject *" | |
7252 | to "struct varobj_iter *". | |
7253 | <saved_item>: Likewise. | |
7254 | [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern. | |
7255 | [HAVE_PYTHON] (varobj_get_iterator): New function. | |
7256 | (update_dynamic_varobj_children) [HAVE_PYTHON]: Move | |
7257 | python-specific code to python/py-varobj.c. | |
7258 | (install_visualizer): Call varobj_iter_delete instead of | |
7259 | Py_XDECREF. | |
7260 | * varobj.h (varobj_ensure_python_env): Declare. | |
7261 | ||
5a2e0d6e YQ |
7262 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
7263 | ||
7264 | * varobj.c (struct varobj_item): New structure. | |
7265 | (create_child_with_value): Update declaration. | |
7266 | (varobj_add_child): Replace arguments 'name' and 'value' with | |
7267 | 'item'. All callers updated. | |
7268 | (install_dynamic_child): Likewise. | |
7269 | (update_dynamic_varobj_children): Likewise. | |
7270 | (varobj_add_child): Likewise. | |
7271 | (create_child_with_value): Likewise. | |
7272 | ||
919b9a93 JB |
7273 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
7274 | ||
7275 | * NEWS: Create a new section for the next release branch. | |
7276 | Rename the section of the current branch, now that it has | |
7277 | been cut. | |
7278 | ||
71a55bdf JB |
7279 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
7280 | ||
7281 | GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2): | |
7282 | * version.in: Bump version to 7.8.50.DATE-cvs. | |
7283 | ||
364fe1f7 PA |
7284 | 2014-06-11 Pedro Alves <palves@redhat.com> |
7285 | ||
7286 | PR remote/17028 | |
7287 | * ser-mingw.c (net_windows_socket_check_pending): New function. | |
7288 | (net_windows_select_thread): Ignore spurious wakeups. Use | |
7289 | net_windows_socket_check_pending. | |
7290 | (net_windows_wait_handle): Check for pending events with | |
7291 | ioctlsocket, through net_windows_socket_check_pending, instead of | |
7292 | checking the socket's event. | |
7293 | ||
5a6c7709 SC |
7294 | 2014-06-10 Siva Chandra Reddy <sivachandra@google.com> |
7295 | ||
7296 | * python/python-internal.h (gdb_PyObject_GetAttrString) | |
7297 | (gdb_PyObject_HasAttrString): New inline function definitions. | |
7298 | * py-value.c (get_field_flag): Remove the now unnecessary cast to | |
7299 | char * of the second argument to PyObject_GetAttrString. | |
74228e77 | 7300 | |
0e58ee40 JB |
7301 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
7302 | ||
7303 | * serial.c (serial_write): Fix index of character to be printed | |
7304 | in call to serial_logchar when serial debug traces are enabled. | |
7305 | ||
d190df30 JB |
7306 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
7307 | ||
7308 | * gdbtypes (resolve_dynamic_range): Add function description. | |
7309 | ||
b4b01d36 PA |
7310 | 2014-06-09 Pedro Alves <palves@redhat.com> |
7311 | ||
7312 | * linux-nat.c (linux_child_follow_fork): Initialize status with | |
7313 | W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from | |
7314 | inner block. Only pass the signal to PTRACE_DETACH if in pass | |
7315 | state. | |
7316 | ||
3657956b GB |
7317 | 2014-06-09 Gary Benson <gbenson@redhat.com> |
7318 | ||
7319 | * common/signals.c (gdb_signal_from_host): Reorder to separate | |
7320 | the always-available ANSI-standard signals from the signals that | |
7321 | require checking. | |
7322 | (do_gdb_signal_to_host): Likewise. | |
7323 | * proc-events.c (signal_table): Likewise. | |
7324 | ||
c077881a HZ |
7325 | 2014-06-08 Hui Zhu <hui@codesourcery.com> |
7326 | ||
7327 | * common/linux-ptrace.c (linux_disable_event_reporting): New | |
7328 | function. | |
7329 | * common/linux-ptrace.h (linux_disable_event_reporting): New | |
7330 | declaration. | |
7331 | * linux-nat.c (linux_child_follow_fork): Do a single step before | |
7332 | detach. | |
7333 | ||
4186eb54 KS |
7334 | 2014-06-07 Keith Seitz <keiths@redhat.com> |
7335 | ||
7336 | Revert: | |
7337 | PR c++/16253 | |
7338 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
7339 | from symbol_matches_domain in symtab.c. All local callers | |
7340 | of symbol_matches_domain updated. | |
7341 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
7342 | search STRUCT_DOMAIN. | |
7343 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
7344 | independently. standard_lookup will do that automatically. | |
7345 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
7346 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
7347 | (cp_lookup_symbol_in_namespace): Likewise. | |
7348 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
7349 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
7350 | may return a STRUCT_DOMAIN match. | |
7351 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
7352 | * cp-support.c: Include language.h. | |
7353 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
7354 | VAR_DOMAIN. | |
7355 | * psymtab.c (match_partial_symbol): Compare the requested | |
7356 | domain with the symbol's domain directly. | |
7357 | (lookup_partial_symbol): Likewise. | |
7358 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
7359 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
7360 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
7361 | appropriate languages. | |
7362 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
7363 | and moved to ada-lang.c | |
7364 | (lookup_block_symbol): Explain that this function only returns | |
7365 | symbol matching the requested DOMAIN. | |
7366 | Compare the requested domain with the symbol's domain directly. | |
7367 | (iterate_over_symbols): Compare the requested domain with the | |
7368 | symbol's domain directly. | |
7369 | * symtab.h (symbol_matches_domain): Remove. | |
7370 | ||
25326a28 | 7371 | 2014-06-06 Doug Evans <xdje42@gmail.com> |
d2929fdc DE |
7372 | |
7373 | * guile/guile-internal.h (gdbscm_guile_major_version): Declare. | |
7374 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare. | |
7375 | (gdbscm_guile_version_is_at_least): Declare. | |
7376 | (gdbscm_scm_string_to_int): Declare. | |
7377 | * guile/guile.c (gdbscm_guile_major_version): New global. | |
7378 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals. | |
7379 | (guile_datadir): New static global. | |
7380 | (gdbscm_guile_data_directory): New function. | |
7381 | (initialize_scheme_side): Update. | |
7382 | (misc_guile_functions): Add guile-data-directory. | |
7383 | (initialize_gdb_module): Fetch guile version number. | |
7384 | * guile/lib/gdb.scm: Remove call to add-to-load-path. | |
7385 | * guile/lib/gdb/init.scm (%initialize!): Ditto. | |
7386 | * guile/lib/gdb/boot.scm: Use guile-data-directory. | |
7387 | * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix | |
7388 | comments. | |
7389 | * guile/scm-string.c (gdbscm_scm_string_to_int): New function. | |
7390 | * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function. | |
7391 | * guile/scm-value.c (gdbscm_value_to_string): Only call | |
7392 | scm_port_conversion_strategy if Guile version >= 2.0.6. | |
7393 | ||
0a770bb2 | 7394 | 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com> |
7395 | ||
7396 | * main.c (print_gdb_help): Add -q and --silent. | |
7397 | ||
73ba372c GB |
7398 | 2014-06-06 Gary Benson <gbenson@redhat.com> |
7399 | ||
7400 | * common/signals.c: Remove preprocessor conditionals for | |
7401 | always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, | |
7402 | SIGSEGV and SIGTERM. | |
7403 | * proc-events.c: Likewise. | |
7404 | ||
c33b2f12 MM |
7405 | 2014-06-06 Markus Metzger <markus.t.metzger@intel.com> |
7406 | ||
7407 | * symfile.c (symfile_free_objfile): Remove restriction to | |
7408 | OBJF_USERLOADED. | |
7409 | * symfile-mem.c (symbol_file_add_from_memory): Call | |
7410 | add_target_sections_of_objfile. | |
7411 | ||
fb934770 LC |
7412 | 2014-06-05 Ludovic Courtès <ludo@gnu.org> |
7413 | ||
7414 | * guile/scm-value.c (gdbscm_history_append_x): Use | |
7415 | 'vlscm_get_value_smob_arg_unsafe' instead of | |
7416 | 'vlscm_scm_to_value'. | |
7417 | ||
6ef284bd SM |
7418 | 2014-06-05 Simon Marchi <simon.marchi@ericsson.com> |
7419 | ||
7420 | PR mi/15806 | |
7421 | * utils.c (printchar): Don't escape at all if quoter is NUL. | |
7422 | Update function documentation to clarify effect of parameter | |
7423 | QUOTER. | |
7424 | * remote.c (escape_buffer): Pass '\\' as the quoter to | |
7425 | fputstrn_unfiltered. | |
7426 | * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to | |
7427 | generate the output. | |
7428 | (mi_solib_unloaded): Same. | |
7429 | ||
270c9937 JB |
7430 | 2014-06-05 Joel Brobecker <brobecker@adacore.com> |
7431 | ||
7432 | * development.sh: Delete. | |
7433 | * Makefile.in (config.status): Adjust dependency on development.sh. | |
7434 | * configure.ac: Adjust development.sh source call. | |
7435 | * configure: Regenerate. | |
7436 | ||
16f691fb DE |
7437 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
7438 | ||
7439 | * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members | |
7440 | is_scheme_bkpt, spec. | |
7441 | (bpscm_make_breakpoint_smob): Initialize new members. | |
7442 | (gdbscm_create_breakpoint_x): Split into two ... | |
7443 | (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions. | |
7444 | (bpscm_breakpoint_deleted): Reset breakpoint number and stop function. | |
7445 | (scheme_function breakpoint_functions): Update. | |
7446 | * guile/lib/gdb.scm: Delete create-breakpoint!. Rename | |
7447 | breakpoint-delete! to delete-breakpoint!. Add make-breakpoint, | |
7448 | register-breakpoint!. | |
7449 | ||
ef7cab6b JB |
7450 | 2014-06-04 Joel Brobecker <brobecker@adacorer.com> |
7451 | ||
7452 | PR server/17023 | |
7453 | * mem-break.c (z_type_supported): Return zero if | |
7454 | THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL. | |
7455 | ||
012370f6 TT |
7456 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
7457 | ||
7458 | * ada-lang.c (ada_template_to_fixed_record_type_1): Use | |
7459 | value_from_contents_and_address_unresolved. | |
7460 | (ada_template_to_fixed_record_type_1): Likewise. | |
7461 | (ada_which_variant_applies): Likewise. | |
7462 | * value.h (value_from_contents_and_address_unresolved): Declare. | |
7463 | * value.c (value_from_contents_and_address_unresolved): New | |
7464 | function. | |
7465 | * gdbtypes.c (is_dynamic_type, resolve_dynamic_type) | |
7466 | <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases. | |
7467 | (resolve_dynamic_struct, resolve_dynamic_union): New functions. | |
7468 | ||
92e2a17f TT |
7469 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
7470 | ||
7471 | * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s. | |
7472 | ||
c0939df1 TT |
7473 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
7474 | ||
7475 | * procfs.c (procfs_attach): Make "args" const. | |
7476 | * windows-nat.c (windows_attach): Make "args" const. | |
7477 | * nto-procfs.c (procfs_attach): Make "args" const. | |
7478 | * inf-ttrace.c (inf_ttrace_attach): Make "args" const. | |
7479 | * go32-nat.c (go32_attach): Make "args" const. | |
7480 | * gnu-nat.c (gnu_attach): Make "args" const. | |
7481 | * darwin-nat.c (darwin_attach): Make "args" const. | |
7482 | * inf-ptrace.c (inf_ptrace_attach): Make "args" const. | |
7483 | * linux-nat.c (linux_nat_attach): Make "args" const. | |
7484 | * remote.c (extended_remote_attach_1, extended_remote_attach): | |
7485 | Make "args" const. | |
7486 | * target.h (struct target_ops) <to_attach>: Make "args" const. | |
7487 | (find_default_attach): Likewise. | |
7488 | * utils.c (parse_pid_to_attach): Make "args" const. | |
7489 | * utils.h (parse_pid_to_attach): Update. | |
7490 | ||
8eaff7cd TT |
7491 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
7492 | ||
7493 | * target-delegates.c: Rebuild. | |
7494 | * target.c (default_thread_address_space): New function. | |
7495 | (target_thread_address_space): Simplify. | |
7496 | * target.h (struct target_ops) <to_thread_address_space>: Add | |
7497 | TARGET_DEFAULT_FUNC. | |
7498 | ||
1913f160 DE |
7499 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
7500 | ||
7501 | * guile/scm-type.c (type_smob): Remove duplicate typedef. | |
7502 | ||
70ad5bff MM |
7503 | 2014-06-04 Markus Metzger <markus.t.metzger@intel.com> |
7504 | ||
7505 | * record-btrace.c: Include event-loop.h and inf-loop.h. | |
7506 | (record_btrace_resume_exec_dir) | |
7507 | (record_btrace_async_inferior_event_handler) | |
7508 | (record_btrace_handle_async_inferior_event): New. | |
7509 | (record_btrace_open): Create async event handler. | |
7510 | (record_btrace_close): Delete async event handler. | |
7511 | (record_btrace_resume): Set record_btrace_resume_exec_dir, | |
7512 | Mark async event handler. | |
7513 | (record_btrace_execution_direction): New. | |
7514 | (init_record_btrace_ops): Initialize to_execution_direction. | |
7515 | ||
b6210538 DE |
7516 | 2014-06-03 Doug Evans <xdje42@gmail.com> |
7517 | ||
7518 | * guile/scm-param.c (pascm_make_param_smob): Add ARI comment. | |
7519 | (gdbscm_make_parameter): Ditto. | |
7520 | ||
a5b1fd27 DE |
7521 | 2014-06-03 Doug Evans <dje@google.com> |
7522 | ||
7523 | * exec.c (exec_close_1): Call clear_section_table instead of | |
7524 | resize_section_table. | |
7525 | (clear_section_table): New function. | |
7526 | (resize_section_table): Make static. Rename arg num_added to | |
7527 | adjustment. | |
7528 | * exec.h (clear_section_table): Declare. | |
7529 | (resize_section_table): Delete. | |
7530 | * progspace.c (release_program_space): Call clear_section_table | |
7531 | instead of resize_section_table. | |
7532 | ||
0c6e92a5 SC |
7533 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
7534 | ||
7535 | * NEWS (Python Scripting): Add entry about the new xmethods | |
7536 | feature. | |
7537 | ||
883964a7 SC |
7538 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
7539 | ||
7540 | * python/py-xmethods.c: New file. | |
7541 | * python/py-objfile.c (objfile_object): New field 'xmethods'. | |
7542 | (objfpy_dealloc): XDECREF on the new xmethods field. | |
7543 | (objfpy_new, objfile_to_objfile_object): Initialize xmethods | |
7544 | field. | |
7545 | (objfpy_get_xmethods): New function. | |
7546 | (objfile_getset): New entry 'xmethods'. | |
7547 | * python/py-progspace.c (pspace_object): New field 'xmethods'. | |
7548 | (pspy_dealloc): XDECREF on the new xmethods field. | |
7549 | (pspy_new, pspace_to_pspace_object): Initialize xmethods | |
7550 | field. | |
7551 | (pspy_get_xmethods): New function. | |
7552 | (pspace_getset): New entry 'xmethods'. | |
7553 | * python/python-internal.h: Add declarations for new functions. | |
7554 | * python/python.c (_initialize_python): Invoke | |
7555 | gdbpy_initialize_xmethods. | |
7556 | * python/lib/gdb/__init__.py (xmethods): New | |
7557 | attribute. | |
7558 | * python/lib/gdb/xmethod.py: New file. | |
7559 | * python/lib/gdb/command/xmethods.py: New file. | |
7560 | ||
58992dc5 SC |
7561 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
7562 | ||
7563 | * eval.c (evaluate_subexp_standard): Call the xmethod if the | |
7564 | best match method returned by find_overload_match is an xmethod. | |
7565 | * valarith.c (value_x_binop, value_x_unop): Call the xmethod if | |
7566 | the best matching operator returned by find_overload_match is an | |
7567 | xmethod. | |
7568 | * valops.c: #include "extension.h". | |
7569 | (find_method_list): Add "fn_list" and "xm_worker_vec" arguments. | |
7570 | Return void. The list of matching source methods is returned in | |
7571 | "fn_list" and a vector of matching debug method workers is | |
7572 | returned in "xm_worker_vec". Update all callers. | |
7573 | (value_find_oload_method_list): Likewise. | |
7574 | (find_oload_champ): Add "xm_worker_vec" parameter. If it is | |
7575 | non-NULL, then the index of the best matching method in this | |
7576 | vector is returned. Update all callers. | |
7577 | (find_overload_match): Include xmethods while performing overload | |
7578 | resolution. | |
7579 | ||
e81e7f5e SC |
7580 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
7581 | ||
7582 | * defs.h (enum lval_type): New enumerator "lval_xcallable". | |
7583 | * extension-priv.h (struct extension_language_ops): Add the | |
7584 | xmethod interface. | |
7585 | * extension.c (new_xmethod_worker, clone_xmethod_worker, | |
7586 | get_matching_xmethod_workers, get_xmethod_argtypes, | |
7587 | invoke_xmethod, free_xmethod_worker, | |
7588 | free_xmethod_worker_vec): New functions. | |
7589 | * extension.h: #include "common/vec.h". | |
7590 | New function declarations. | |
7591 | (struct xmethod_worker): New struct. | |
7592 | (VEC (xmethod_worker_ptr)): New vector type. | |
7593 | (xmethod_worker_ptr): New typedef. | |
7594 | (xmethod_worker_vec): Likewise. | |
7595 | * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of | |
7596 | builtin_type. | |
7597 | * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD. | |
7598 | (struct builtin_type): New field "xmethod". | |
7599 | * valarith.c (value_ptradd): Assert that the value argument is not | |
7600 | lval_xcallable. | |
7601 | * valops.c (value_must_coerce_to_target): Return 0 for | |
7602 | lval_xcallable values. | |
7603 | * value.c (struct value): New field XM_WORKER in the field | |
7604 | LOCATION. | |
7605 | (value_address, value_raw_address): Return 0 for lval_xcallable | |
7606 | values. | |
7607 | (set_value_address): Assert that the value is not an | |
7608 | lval_xcallable. | |
7609 | (value_free): Free the associated xmethod worker when freeing | |
7610 | lval_xcallable values. | |
7611 | (set_value_component_location): Assert that the WHOLE value is not | |
7612 | lval_xcallable. | |
7613 | (value_of_xmethod, call_xmethod): New functions. | |
7614 | * value.h: Declare "struct xmethod_worker". | |
7615 | Declare new functions value_of_xmethod, call_xmethod. | |
7616 | ||
ef370185 JB |
7617 | 2014-06-03 Joel Brobecker <brobecker@adacore.com> |
7618 | Pedro Alves <palves@redhat.com> | |
7619 | ||
7620 | PR breakpoints/17000 | |
7621 | * breakpoint.c (find_non_raw_software_breakpoint_inserted_here): | |
7622 | New function, extracted from software_breakpoint_inserted_here_p. | |
7623 | (software_breakpoint_inserted_here_p): Replace factored out code | |
7624 | by call to find_non_raw_software_breakpoint_inserted_here. | |
7625 | (bp_target_info_copy_insertion_state): New function. | |
7626 | (bkpt_insert_location): Handle the case of a single-step | |
7627 | breakpoint already inserted at the same address. | |
7628 | (bkpt_remove_location): Handle the case of a single-step | |
7629 | breakpoint still inserted at the same address. | |
7630 | (deprecated_insert_raw_breakpoint): Handle the case of non-raw | |
7631 | breakpoint already inserted at the same address. | |
7632 | (deprecated_remove_raw_breakpoint): Handle the case of a | |
7633 | non-raw breakpoint still inserted at the same address. | |
7634 | (find_single_step_breakpoint): New function, extracted from | |
7635 | single_step_breakpoint_inserted_here_p. | |
7636 | (find_single_step_breakpoint): New function, | |
7637 | factored out from single_step_breakpoint_inserted_here_p. | |
7638 | (single_step_breakpoint_inserted_here_p): Reimplement. | |
7639 | ||
1e2ccb61 BM |
7640 | 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch) |
7641 | ||
7642 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
7643 | * source.c (show_substitute_path_command): Fix display of matching | |
7644 | substitution rules. | |
7645 | ||
d3448d85 GB |
7646 | 2014-06-03 Gary Benson <gbenson@redhat.com> |
7647 | ||
7648 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle. | |
7649 | ||
06eb1586 DE |
7650 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
7651 | ||
7652 | Add parameter support for Guile. | |
7653 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o. | |
7654 | (SUBDIR_GUILE_SRCS): Add scm-param.c. | |
7655 | (scm-param.o): New rule. | |
7656 | * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare. | |
7657 | (gdbscm_misc_error): Declare. | |
7658 | (gdbscm_canonicalize_command_name): Declare. | |
7659 | (gdbscm_scm_to_host_string): Declare. | |
7660 | (gdbscm_scm_from_host_string): Declare. | |
7661 | (gdbscm_initialize_parameters): Declare. | |
7662 | * guile/guile.c (initialize_gdb_module): Call | |
7663 | gdbscm_initialize_parameters. | |
7664 | * guile/lib/gdb.scm: Export parameter symbols. | |
7665 | * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from | |
7666 | cmdscm_canonicalize_name and made public. All callers updated. | |
7667 | * guile/scm-exception.c (gdbscm_misc_error): New function. | |
7668 | * guile/scm-param.c: New file. | |
7669 | * guile/scm-string.c (gdbscm_scm_to_string): Add comments. | |
7670 | (gdbscm_scm_to_host_string): New function. | |
7671 | (gdbscm_scm_from_host_string): New function. | |
7672 | * scm-utils.c (gdbscm_gc_dup_argv): New function. | |
7673 | ||
e698b8c4 DE |
7674 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
7675 | ||
7676 | Add command support for Guile. | |
7677 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o. | |
7678 | (SUBDIR_GUILE_SRCS): Add scm-cmd.c. | |
7679 | (scm-cmd.o): New rule. | |
7680 | * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare. | |
7681 | (gdbscm_user_error_p): Declare. | |
7682 | (gdbscm_parse_command_name): Declare. | |
7683 | (gdbscm_valid_command_class_p): Declare. | |
7684 | (gdbscm_initialize_commands): Declare. | |
7685 | * guile/guile.c (initialize_gdb_module): Call | |
7686 | gdbscm_initialize_commands. | |
7687 | * guile/lib/gdb.scm: Export command symbols. | |
7688 | * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error. | |
7689 | (throw-user-error): New function. | |
7690 | * guile/scm-cmd.c: New file. | |
7691 | * guile/scm-exception.c (user_error_symbol): New static global. | |
7692 | (gdbscm_user_error_p): New function. | |
7693 | (gdbscm_initialize_exceptions): Set user_error_symbol. | |
7694 | * scm-utils.c (gdbscm_gc_xstrdup): New function. | |
7695 | ||
fb1f94b0 PM |
7696 | 2014-06-02 Phil Muldoon <pmuldoon@redhat.com> |
7697 | ||
7698 | * top.c (command_loop): Handle comments here... | |
7699 | (command_line_input): ... not here. | |
7700 | ||
ded03782 DE |
7701 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
7702 | ||
7703 | Add progspace support for Guile. | |
7704 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o. | |
7705 | (SUBDIR_GUILE_SRCS): Add scm-progspace.c. | |
7706 | (scm-progspace.o): New rule. | |
7707 | * guile/guile-internal.h (pspace_smob): New typedef. | |
7708 | (psscm_pspace_smob_pretty_printers): Declare. | |
7709 | (psscm_pspace_smob_from_pspace): Declare. | |
7710 | (psscm_scm_from_pspace): Declare. | |
7711 | * guile/guile.c (initialize_gdb_module): Call | |
7712 | gdbscm_initialize_pspaces. | |
7713 | * guile/lib/gdb.scm: Export progspace symbols. | |
7714 | * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace | |
7715 | support. | |
7716 | (append-pretty-printer!): Ditto. | |
7717 | * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace): | |
7718 | Implement. | |
7719 | * guile/scm-progspace.c: New file. | |
7720 | ||
397998fc AM |
7721 | 2014-06-03 Alan Modra <amodra@gmail.com> |
7722 | ||
7723 | * ppc64-tdep.c (ppc64_standard_linkage8): New. | |
7724 | (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion. | |
7725 | ||
6aa5f3a6 DE |
7726 | 2014-06-02 Doug Evans <dje@google.com> |
7727 | ||
7728 | Add support for skeletonless type units. | |
7729 | * dwarf2read.c (struct dwarf2_per_objfile): New member | |
7730 | n_allocated_type_units. | |
7731 | (struct dwarf2_per_objfile) <tu_stats>: New member | |
7732 | nr_all_type_units_reallocs. | |
7733 | (create_signatured_type_table_from_index): Initialize | |
7734 | n_allocated_type_units | |
7735 | (create_all_type_units): Ditto. | |
7736 | (add_type_unit): Move up in file. New arg slot. | |
7737 | All callers updated. Increase space for all_type_units more | |
7738 | efficiently. | |
7739 | (fill_in_sig_entry_from_dwo_entry): Handle psymtabs. | |
7740 | (lookup_dwo_signatured_type): Handle skeletonless TUs. | |
7741 | (lookup_dwp_signatured_type): Ditto. | |
7742 | (init_tu_and_read_dwo_dies): New arg use_existing_cu. | |
7743 | All callers updated. | |
7744 | (build_type_psymtabs_1): Leave type_unit_groups as | |
7745 | NULL if no TUs present. | |
7746 | (print_tu_stats): New function. | |
7747 | (process_skeletonless_type_unit): New function. | |
7748 | (process_dwo_file_for_skeletonless_type_units): New | |
7749 | function. | |
7750 | (process_skeletonless_type_units): New function. | |
7751 | (dwarf2_build_psymtabs_hard): Handle skeletonless TUs. | |
7752 | Call print tu_stats if debugging enabled. | |
7753 | ||
41fac0cf PA |
7754 | 2014-06-02 Pedro Alves <palves@redhat.com> |
7755 | ||
7756 | * breakpoint.c (build_target_command_list): Don't build a command | |
7757 | list if we have any duplicate location that isn't a dprintf. | |
7758 | ||
cd1608cc PA |
7759 | 2014-06-02 Pedro Alves <palves@redhat.com> |
7760 | ||
7761 | * breakpoint.c (dprintf_breakpoint_hit): New function. | |
7762 | (initialize_breakpoint_ops): Install it as dprintf's | |
7763 | breakpoint_hit method. | |
7764 | ||
486ef3b9 JB |
7765 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
7766 | ||
7767 | * source.c (substitute_path_rule_matches): Simplify using | |
7768 | filename_ncmp instead of FILENAME_CMP. | |
7769 | ||
230cd560 JB |
7770 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
7771 | ||
7772 | * source.c (substitute_path_rule_matches): Remove trailing spaces. | |
7773 | ||
16954d5d LC |
7774 | 2014-06-01 Ludovic Courtès <ludo@gnu.org> |
7775 | ||
7776 | * configure.ac: When Guile is available, check for the | |
7777 | availability of 'scm_new_smob'. | |
7778 | * configure, config.h.in: Regenerate. | |
7779 | * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New | |
7780 | function. | |
7781 | ||
53e8a631 AB |
7782 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
7783 | ||
7784 | * frame.c (struct frame_info): Add stop_string field. | |
7785 | (get_prev_frame_always_1): Renamed from get_prev_frame_always. | |
7786 | (get_prev_frame_always): Old content moved into | |
7787 | get_prev_frame_always_1. Call get_prev_frame_always_1 inside | |
7788 | TRY_CATCH, handle MEMORY_ERROR exceptions. | |
7789 | (frame_stop_reason_string): New function definition. | |
7790 | * frame.h (unwind_stop_reason_to_string): Extend comment to | |
7791 | mention frame_stop_reason_string. | |
7792 | (frame_stop_reason_string): New function declaration. | |
7793 | * stack.c (frame_info): Switch to frame_stop_reason_string. | |
7794 | (backtrace_command_1): Switch to frame_stop_reason_string. | |
7795 | * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR. | |
7796 | (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR. | |
7797 | * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list. | |
7798 | ||
70e38b8e AB |
7799 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
7800 | ||
7801 | * frame.c (frame_stop_reason_string): Rename to ... | |
7802 | (unwind_stop_reason_to_string): this. | |
7803 | * frame.h (frame_stop_reason_string): Rename to ... | |
7804 | (unwind_stop_reason_to_string): this. | |
7805 | * stack.c (frame_info): Update call to frame_stop_reason_string. | |
7806 | (backtrace_command_1): Likewise. | |
7807 | * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise. | |
7808 | * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise. | |
7809 | ||
938f0e2f AB |
7810 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
7811 | ||
7812 | * frame.c (remove_prev_frame): New function. | |
7813 | (get_prev_frame_if_no_cycle): Create / discard cleanup using | |
7814 | remove_prev_frame. | |
7815 | ||
a09dd441 PA |
7816 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7817 | ||
7818 | * infrun.c (resume): Rename local 'hw_step' to 'entry_step' | |
7819 | and make it const. When a single-step decays to a continue, | |
7820 | clear 'step', not 'hw_step'. Pass whether the caller wanted | |
7821 | to step to user_visible_resume_ptid, not what we ask the | |
7822 | target to do. | |
7823 | ||
bdc36728 PA |
7824 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7825 | ||
7826 | * infrun.c (process_event_stop_test, handle_step_into_function) | |
7827 | (handle_step_into_function_backward): Adjust. | |
7828 | Don't set the even thread's stop_step and call stop_waiting before | |
7829 | calling end_stepping_range. Instead do that ... | |
7830 | (end_stepping_range): ... here. Take an ecs pointer parameter. | |
7831 | ||
22bcd14b PA |
7832 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7833 | ||
7834 | * infrun.c (stop_stepping): Rename to ... | |
7835 | (stop_waiting): ... this. | |
7836 | (proceed): Update comment. | |
7837 | (process_event_stop_test, handle_inferior_event) | |
7838 | (handle_signal_stop, handle_step_into_function) | |
7839 | (handle_step_into_function_backward): Update. | |
7840 | ||
4ae57c05 PA |
7841 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7842 | ||
7843 | * infcall.c (run_inferior_call): Don't check whether the current | |
7844 | thread is running after the proceed call. | |
7845 | ||
329ea579 PA |
7846 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7847 | Tom Tromey <tromey@redhat.com> | |
7848 | ||
7849 | * NEWS: Mention "maint set target-async", "set mi-async", and that | |
7850 | background execution commands are now always available. | |
7851 | * target.h (target_async_permitted): Update comment. | |
7852 | * target.c (target_async_permitted, target_async_permitted_1): | |
7853 | Default to 1. | |
7854 | (set_target_async_command): Rename to ... | |
7855 | (maint_set_target_async_command): ... this. | |
7856 | (show_target_async_command): Rename to ... | |
7857 | (maint_show_target_async_command): ... this. | |
7858 | (_initialize_target): Adjust. | |
7859 | * infcmd.c (prepare_execution_command): Make extern. | |
7860 | * inferior.h (prepare_execution_command): Declare. | |
7861 | * infrun.c (set_observer_mode): Leave target async alone. | |
7862 | * mi/mi-interp.c (mi_interpreter_init): Install | |
7863 | mi_on_sync_execution_done as sync_execution_done observer. | |
7864 | (mi_on_sync_execution_done): New function. | |
7865 | (mi_execute_command_input_handler): Don't print the prompt if we | |
7866 | just started a synchronous command with an async target. | |
7867 | (mi_on_resume): Check sync_execution before printing prompt. | |
7868 | * mi/mi-main.h (mi_async_p): Declare. | |
7869 | * mi/mi-main.c: Include gdbcmd.h. | |
7870 | (mi_async_p): New function. | |
7871 | (mi_async, mi_async_1): New globals. | |
7872 | (set_mi_async_command, show_mi_async_command, mi_async): New | |
7873 | functions. | |
7874 | (exec_continue): Call prepare_execution_command. | |
7875 | (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features) | |
7876 | (mi_execute_async_cli_command): Use mi_async_p. | |
7877 | (_initialize_mi_main): Install "set mi-async". Make | |
7878 | "target-async" a deprecated alias. | |
7879 | ||
92bcb5f9 PA |
7880 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7881 | ||
7882 | * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete. | |
7883 | (_initialize_cli_interp): Adjust. | |
7884 | * event-loop.c: Include "observer.h". | |
7885 | (start_event_loop): Notify 'command_error' observers instead of | |
7886 | calling display_gdb_prompt. Remove FIXME comment. | |
7887 | * event-top.c (display_gdb_prompt): Remove call into the | |
7888 | interpreters. | |
7889 | * inf-loop.c: Include "observer.h". | |
7890 | (inferior_event_handler): Notify 'command_error' observers instead | |
7891 | of calling display_gdb_prompt. | |
7892 | * infrun.c (fetch_inferior_event): Notify 'sync_execution_done' | |
7893 | observers instead of calling display_gdb_prompt. | |
7894 | * interps.c (interp_set): Don't call display_gdb_prompt. | |
7895 | (current_interp_display_prompt_p): Delete. | |
7896 | * interps.h (interp_prompt_p): Delete declaration. | |
7897 | (interp_prompt_p_ftype): Delete. | |
7898 | (struct interp_procs) <prompt_proc_p>: Delete field. | |
7899 | (current_interp_display_prompt_p): Delete declaration. | |
7900 | * mi-interp.c (mi_interpreter_prompt_p): Delete. | |
7901 | (_initialize_mi_interp): Adjust. | |
7902 | * tui-interp.c (tui_init): Install 'sync_execution_done' and | |
7903 | 'command_error' observers. | |
7904 | (tui_on_sync_execution_done, tui_on_command_error): New | |
7905 | functions. | |
7906 | (tui_display_prompt_p): Delete. | |
7907 | (_initialize_tui_interp): Adjust. | |
7908 | ||
fd664c91 PA |
7909 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7910 | ||
7911 | PR gdb/13860 | |
7912 | * cli/cli-interp.c: Include infrun.h and observer.h. | |
7913 | (cli_uiout, cli_interp): New globals. | |
7914 | (cli_on_signal_received, cli_on_end_stepping_range) | |
7915 | (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New | |
7916 | functions. | |
7917 | (cli_interpreter_init): Install them as 'end_stepping_range', | |
7918 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
7919 | observers. | |
7920 | (_initialize_cli_interp): Remove cli_interp local. | |
7921 | * infrun.c (handle_inferior_event): Call the several stop reason | |
7922 | observers instead of printing the stop reason directly. | |
7923 | (end_stepping_range): New function. | |
7924 | (print_end_stepping_range_reason, print_signal_exited_reason) | |
7925 | (print_exited_reason, print_signal_received_reason) | |
7926 | (print_no_history_reason): Make static, and add an uiout | |
7927 | parameter. Print to that instead of to CURRENT_UIOUT. | |
7928 | * infrun.h (print_end_stepping_range_reason) | |
7929 | (print_signal_exited_reason, print_exited_reason) | |
7930 | (print_signal_received_reason print_no_history_reason): New | |
7931 | declarations. | |
7932 | * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to | |
7933 | 'mi_uiout'. | |
7934 | <cli_uiout>: New field. | |
7935 | * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new | |
7936 | uiout for CLI output. Install 'signal_received', | |
7937 | 'end_stepping_range', 'signal_exited', 'exited' and 'no_history' | |
7938 | observers. | |
7939 | (find_mi_interpreter, mi_interp_data, mi_on_signal_received) | |
7940 | (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited) | |
7941 | (mi_on_no_history): New functions. | |
7942 | (ui_out_free_cleanup): Delete function. | |
7943 | (mi_on_normal_stop): Don't allocate a new uiout for CLI output, | |
7944 | instead use the one already stored in the MI interpreter data. | |
7945 | (mi_ui_out): Adjust. | |
7946 | * tui/tui-interp.c: Include infrun.h and observer.h. | |
7947 | (tui_interp): New global. | |
7948 | (tui_on_signal_received, tui_on_end_stepping_range) | |
7949 | (tui_on_signal_exited, tui_on_exited) | |
7950 | (tui_on_no_history): New functions. | |
7951 | (tui_init): Install them as 'end_stepping_range', | |
7952 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
7953 | observers. | |
7954 | (_initialize_tui_interp): Delete tui_interp local. | |
7955 | ||
8817a6f2 PA |
7956 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7957 | ||
7958 | PR gdb/15713 | |
7959 | * linux-nat.c (linux_nat_resume_callback): Rename the second | |
7960 | parameter to 'except'. Skip LP if it points to EXCEPT. | |
7961 | (linux_nat_resume): Don't mark the event lwp as not stopped | |
7962 | before resuming sibling lwps. Instead ask | |
7963 | linux_nat_resume_callback to skip the event lwp. Mark it as not | |
7964 | stopped after actually resuming it. | |
7965 | (linux_handle_syscall_trap): Mark the lwp as not stopped after | |
7966 | resuming it. | |
7967 | (wait_lwp): Mark the lwp as stopped here. | |
7968 | (stop_wait_callback): Mark the lwp as not stopped right after | |
7969 | resuming it. Don't mark lwps as stopped here. | |
7970 | (linux_nat_filter_event): Mark the lwp as stopped earlier. | |
7971 | (linux_nat_wait_1): Don't mark dead lwps as stopped here. | |
7972 | ||
251bde03 PA |
7973 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7974 | ||
7975 | PR PR15693 | |
7976 | * infrun.c (resume): Determine how much to resume depending on | |
7977 | whether the caller wanted a step, not whether we can hardware step | |
7978 | the target. Mark all threads that we intend to run as running, | |
7979 | unless we're calling an inferior function. | |
7980 | (normal_stop): If the thread is running an infcall, don't finish | |
7981 | thread state. | |
7982 | * target.c (target_resume): Don't mark threads as running here. | |
7983 | ||
7f3c0343 JB |
7984 | 2014-05-28 Joel Brobecker <brobecker@adacore.com> |
7985 | ||
7986 | * serial.c (_initialize_serial): Remove support for | |
7987 | the "set remotebaud" and "show remotebaud" commands. | |
7988 | * NEWS: Add entry documenting the removal of that command. | |
7989 | ||
ee34b3f9 YQ |
7990 | 2014-05-28 Yao Qi <yao@codesourcery.com> |
7991 | ||
7992 | * charset.c: Fix typo in comments. | |
7993 | ||
add6c04d GB |
7994 | 2014-05-27 Gary Benson <gbenson@redhat.com> |
7995 | ||
7996 | * utils.c (internal_vproblem): Prompt for a bug report. | |
7997 | ||
92c48fc5 AW |
7998 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
7999 | ||
8000 | * guile/scm-arch.c (arscm_mark_arch_smob): | |
8001 | * guile/scm-block.c (bkscm_mark_block_smob) | |
8002 | (bkscm_mark_block_syms_progress_smob): | |
8003 | * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob): | |
8004 | * guile/scm-exception.c (exscm_mark_exception_smob): | |
8005 | * guile/scm-frame.c (frscm_mark_frame_smob): | |
8006 | * guile/scm-iterator.c (itscm_mark_iterator_smob): | |
8007 | * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob): | |
8008 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): | |
8009 | * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob) | |
8010 | (ppscm_mark_pretty_printer_worker_smob): | |
8011 | * guile/scm-symbol.c (syscm_mark_symbol_smob): | |
8012 | * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob): | |
8013 | * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob): | |
8014 | * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary | |
8015 | mark functions. | |
8016 | * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free | |
8017 | function. | |
8018 | ||
b2715b27 AW |
8019 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
8020 | Doug Evans <xdje42@gmail.com> | |
8021 | ||
8022 | * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with | |
8023 | empty_base_class. All uses updated. | |
8024 | (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob) | |
8025 | (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions. | |
8026 | Adapt all callers. | |
8027 | * guile/scm-gsmob.c (gdbscm_mark_gsmob) | |
8028 | (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove. | |
8029 | (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x) | |
8030 | (gdbscm_gsmob_has_property_p, add_property_name) | |
8031 | (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions. | |
8032 | * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property) | |
8033 | (gdb-object-has-property?, gdb-object-properties): Remove. | |
8034 | (gdb-object-kind): Renamed from gsmob-kind. | |
8035 | ||
214ab2da AW |
8036 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
8037 | ||
8038 | * configure.ac (try_guile_versions): Allow building with guile 2.2. | |
8039 | * configure: Regenerate. | |
8040 | ||
589fdceb MM |
8041 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
8042 | ||
8043 | * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections. | |
8044 | ||
67b5c0c1 MM |
8045 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
8046 | ||
8047 | * record-btrace.c (record_btrace_allow_memory_access): Remove. | |
8048 | (replay_memory_access_read_only, replay_memory_access_read_write) | |
8049 | (replay_memory_access_types, replay_memory_access) | |
8050 | (set_record_btrace_cmdlist, show_record_btrace_cmdlist) | |
8051 | (cmd_set_record_btrace, cmd_show_record_btrace) | |
8052 | (cmd_show_replay_memory_access): New. | |
8053 | (record_btrace_xfer_partial, record_btrace_insert_breakpoint) | |
8054 | (record_btrace_remove_breakpoint): Replace | |
8055 | record_btrace_allow_memory_access with replay_memory_access. | |
8056 | (_initialize_record_btrace): Add commands. | |
8057 | * NEWS: Announce it. | |
8058 | ||
036cd381 RR |
8059 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
8060 | ||
8061 | * aarch64-linux-nat.c (asm/ptrace.h): Include. | |
8062 | ||
c77c1e42 RR |
8063 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
8064 | ||
8065 | * MAINTAINERS (Write After Approval): Move self back from | |
8066 | paper trail. | |
8067 | ||
45741a9c PA |
8068 | 2014-05-22 Pedro Alves <palves@redhat.com> |
8069 | ||
8070 | * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events) | |
8071 | (sync_execution, sched_multi, step_stop_if_no_debug, non_stop) | |
8072 | (disable_randomization, enum exec_direction_kind) | |
8073 | (execution_direction, stop_registers, start_remote) | |
8074 | (clear_proceed_status, proceed, resume, user_visible_resume_ptid) | |
8075 | (wait_for_inferior, normal_stop, get_last_target_status) | |
8076 | (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior) | |
8077 | (insert_step_resume_breakpoint_at_sal) | |
8078 | (follow_inferior_reset_breakpoints, stepping_past_instruction_at) | |
8079 | (set_step_info, print_stop_event, signal_stop_state) | |
8080 | (signal_print_state, signal_pass_state, signal_stop_update) | |
8081 | (signal_print_update, signal_pass_update) | |
8082 | (update_signals_program_target, clear_exit_convenience_vars) | |
8083 | (displaced_step_dump_bytes, update_observer_mode) | |
8084 | (signal_catch_update, gdb_signal_from_command): Move | |
8085 | declarations ... | |
8086 | * infrun.h: ... to this new file. | |
8087 | * amd64-tdep.c: Include infrun.h. | |
8088 | * annotate.c: Include infrun.h. | |
8089 | * arch-utils.c: Include infrun.h. | |
8090 | * arm-linux-tdep.c: Include infrun.h. | |
8091 | * arm-tdep.c: Include infrun.h. | |
8092 | * break-catch-sig.c: Include infrun.h. | |
8093 | * breakpoint.c: Include infrun.h. | |
8094 | * common/agent.c: Include infrun.h instead of inferior.h. | |
8095 | * corelow.c: Include infrun.h. | |
8096 | * event-top.c: Include infrun.h. | |
8097 | * go32-nat.c: Include infrun.h. | |
8098 | * i386-tdep.c: Include infrun.h. | |
8099 | * inf-loop.c: Include infrun.h. | |
8100 | * infcall.c: Include infrun.h. | |
8101 | * infcmd.c: Include infrun.h. | |
8102 | * infrun.c: Include infrun.h. | |
8103 | * linux-fork.c: Include infrun.h. | |
8104 | * linux-nat.c: Include infrun.h. | |
8105 | * linux-thread-db.c: Include infrun.h. | |
8106 | * monitor.c: Include infrun.h. | |
8107 | * nto-tdep.c: Include infrun.h. | |
8108 | * procfs.c: Include infrun.h. | |
8109 | * record-btrace.c: Include infrun.h. | |
8110 | * record-full.c: Include infrun.h. | |
8111 | * remote-m32r-sdi.c: Include infrun.h. | |
8112 | * remote-mips.c: Include infrun.h. | |
8113 | * remote-notif.c: Include infrun.h. | |
8114 | * remote-sim.c: Include infrun.h. | |
8115 | * remote.c: Include infrun.h. | |
8116 | * reverse.c: Include infrun.h. | |
8117 | * rs6000-tdep.c: Include infrun.h. | |
8118 | * s390-linux-tdep.c: Include infrun.h. | |
8119 | * solib-irix.c: Include infrun.h. | |
8120 | * solib-osf.c: Include infrun.h. | |
8121 | * solib-svr4.c: Include infrun.h. | |
8122 | * target.c: Include infrun.h. | |
8123 | * top.c: Include infrun.h. | |
8124 | * windows-nat.c: Include infrun.h. | |
8125 | * mi/mi-interp.c: Include infrun.h. | |
8126 | * mi/mi-main.c: Include infrun.h. | |
8127 | * python/py-threadevent.c: Include infrun.h. | |
8128 | ||
98eb56a4 PA |
8129 | 2014-05-22 Pedro Alves <palves@redhat.com> |
8130 | ||
8131 | * infrun.c (handle_inferior_event): Store the exit code for | |
8132 | --return-child-result here, instead of ... | |
8133 | (print_exited_reason): ... here. | |
8134 | ||
17b2616c PA |
8135 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8136 | ||
8137 | PR gdb/13860 | |
8138 | * gdbthread.h (struct thread_control_state): New field | |
8139 | `command_interp'. | |
8140 | * infrun.c (follow_fork): Copy the new thread control field to the | |
8141 | child fork thread. | |
8142 | (clear_proceed_status_thread): Clear the new thread control field. | |
8143 | (proceed): Set the new thread control field. | |
8144 | * interps.h (command_interp): Declare. | |
8145 | * interps.c (command_interpreter): New global. | |
8146 | (command_interp): New function. | |
8147 | (interp_exec): Set `command_interpreter' while here. | |
8148 | * cli-out.c (cli_uiout_dtor): New function. | |
8149 | (cli_ui_out_impl): Install it. | |
8150 | * mi/mi-interp.c: Include cli-out.h. | |
8151 | (mi_cmd_interpreter_exec): Add comment. | |
8152 | (restore_current_uiout_cleanup): New function. | |
8153 | (ui_out_free_cleanup): New function. | |
8154 | (mi_on_normal_stop): If finishing an execution command started by | |
8155 | a CLI command, or any kind of breakpoint-like event triggered, | |
8156 | print the stop event to the output (CLI) stream. | |
8157 | * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler. | |
8158 | ||
5166082f PA |
8159 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8160 | ||
8161 | * cli/cli-cmds.c (list_command): Handle the first "list" after the | |
8162 | current source line having changed. | |
8163 | * frame.h (set_current_sal_from_frame): Remove 'center' parameter. | |
8164 | * infrun.c (normal_stop): Adjust call to | |
8165 | set_current_sal_from_frame. | |
8166 | * source.c (clear_lines_listed_range): New function. | |
8167 | (set_current_source_symtab_and_line, identify_source_line): Clear | |
8168 | the lines listed range. | |
8169 | (line_info): Handle the first "info line" after the current source | |
8170 | line having changed. | |
8171 | * stack.c (print_stack_frame): Remove center handling. | |
8172 | (set_current_sal_from_frame): Remove 'center' parameter. Don't | |
8173 | center sal.line. | |
8174 | ||
c1ee2fb3 PA |
8175 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8176 | ||
8177 | * inf-child.c (inf_child_mourn_inferior): New function. | |
8178 | * inf-child.h (inf_child_mourn_inferior): New declaration. | |
8179 | * darwin-nat.c (darwin_mourn_inferior): Use | |
8180 | inf_child_mourn_inferior. | |
8181 | * gnu-nat.c (gnu_mourn_inferior): Likewise. | |
8182 | * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise. | |
8183 | * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise. | |
8184 | * nto-procfs.c (procfs_mourn_inferior): Likewise. | |
8185 | * windows-nat.c (windows_mourn_inferior): Likewise. | |
8186 | ||
5c6d4fb2 DE |
8187 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
8188 | ||
250748cb | 8189 | * guile/scm-breakpoint.c (breakpoint_functions): Fix typo. |
5c6d4fb2 | 8190 | |
4a2722c5 DE |
8191 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
8192 | ||
17292b30 | 8193 | * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void. |
4a2722c5 DE |
8194 | (gdbscm_out_of_range_error): Ditto. |
8195 | (gdbscm_memory_error): Ditto. | |
250748cb DE |
8196 | * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete. |
8197 | * guile/guile-internal.h (gdbscm_invalid_object_error): Update. | |
4a2722c5 DE |
8198 | (gdbscm_out_of_range_error): Update. |
8199 | (gdbscm_memory_error): Update. | |
8200 | (gdbscm_scm_to_target_string_unsafe): Delete. | |
8201 | ||
6a3cb8e8 PA |
8202 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8203 | ||
8204 | * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New | |
8205 | globals. | |
8206 | (inf_child_open_target): New function. | |
8207 | (inf_child_open): Use inf_child_open_target to push the target | |
8208 | instead of erroring out. | |
8209 | (inf_child_disconnect, inf_child_close) | |
8210 | (inf_child_maybe_unpush_target): New functions. | |
8211 | (inf_child_target): Install inf_child_disconnect and | |
8212 | inf_child_close. Store a pointer to the returned object. | |
8213 | * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New | |
8214 | declarations. | |
8215 | * target.c (auto_connect_native_target): New global. | |
8216 | (show_default_run_target): New function. | |
8217 | (find_default_run_target): Return NULL if automatically connecting | |
8218 | to the native target is disabled. | |
8219 | (_initialize_target): Install set/show auto-connect-native-target. | |
8220 | * NEWS: Mention "set auto-connect-native-target", and "target | |
8221 | native". | |
8222 | * linux-nat.c (super_close): New global. | |
8223 | (linux_nat_close): Call super_close. | |
8224 | (linux_nat_add_target): Store a pointer to the base class's | |
8225 | to_close method. | |
8226 | * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use | |
8227 | inf_child_maybe_unpush. | |
8228 | * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is | |
8229 | already pushed. | |
8230 | (inf_ttrace_mourn_inferior): Only unpush the target after mourning | |
8231 | the inferior. Use inf_child_maybe_unpush_target. | |
8232 | (inf_ttrace_attach): Don't push the target if it is already | |
8233 | pushed. | |
8234 | (inf_ttrace_detach): Use inf_child_maybe_unpush_target. | |
8235 | * darwin-nat.c (darwin_mourn_inferior): Only unpush the target | |
8236 | after mourning the inferior. Use inf_child_maybe_unpush_target. | |
8237 | (darwin_attach_pid): Don't push the target if it is already | |
8238 | pushed. | |
8239 | * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after | |
8240 | mourning the inferior. Use inf_child_maybe_unpush_target. | |
8241 | (gnu_detach): Use inf_child_maybe_unpush_target. | |
8242 | * go32-nat.c (go32_create_inferior): Don't push the target if it | |
8243 | is already pushed. | |
8244 | (go32_mourn_inferior): Use inf_child_maybe_unpush_target. | |
8245 | * nto-procfs.c (procfs_is_nto_target): Adjust comment. | |
8246 | (procfs_open): Rename to ... | |
8247 | (procfs_open_1): ... this. Add target_ops parameter. Adjust | |
8248 | comments. Can target_preopen before changing node. Call | |
8249 | inf_child_open_target to push the target explicitly. | |
8250 | (procfs_attach): Don't push the target if it is already pushed. | |
8251 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
8252 | (procfs_create_inferior): Don't push the target if it is already | |
8253 | pushed. | |
8254 | (nto_native_ops): New global. | |
8255 | (procfs_open): Reimplement. | |
8256 | (procfs_native_open): New function. | |
8257 | (init_procfs_targets): Install procfs_native_open as to_open of | |
8258 | "target native". Store a pointer to the "native" target in | |
8259 | nto_native_ops. | |
8260 | * procfs.c (procfs_attach): Don't push the target if it is already | |
8261 | pushed. | |
8262 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
8263 | (procfs_mourn_inferior): Only unpush the target after mourning the | |
8264 | inferior. Use inf_child_maybe_unpush_target. | |
8265 | (procfs_init_inferior): Don't push the target if it is already | |
8266 | pushed. | |
8267 | * windows-nat.c (do_initial_windows_stuff): Don't push the target | |
8268 | if it is already pushed. | |
8269 | ||
930ee1b1 PA |
8270 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8271 | ||
8272 | * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child" | |
8273 | and "procfs" targets are now called "native" instead. | |
8274 | ||
1f5d1b13 PA |
8275 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8276 | ||
8277 | * go32-nat.c (go32_open): Delete. | |
8278 | (go32_target): Don't override the to_open method. | |
8279 | ||
132f8e03 PA |
8280 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8281 | ||
8282 | * nto-procfs.c (procfs_can_run): New function. | |
8283 | (nto_procfs_ops): New global. | |
8284 | (init_procfs_targets): New, based on procfs_target. Install | |
8285 | "target native" in addition to "target procfs". | |
8286 | (_initialize_procfs): Call init_procfs_targets instead of adding | |
8287 | the target here. | |
8288 | ||
03c136c3 PA |
8289 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8290 | ||
8291 | * windows-nat.c (windows_target): Don't override to_shortname, | |
8292 | to_longname or to_doc. | |
8293 | ||
a635d0f3 PA |
8294 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8295 | ||
8296 | * gnu-nat.c (gnu): Don't override to_shortname, to_longname or | |
8297 | to_doc. | |
8298 | ||
4f9b5133 PA |
8299 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8300 | ||
8301 | * darwin-nat.c (_initialize_darwin_inferior): Don't override | |
8302 | to_shortname, to_longname or to_doc. | |
8303 | ||
bc85afde PA |
8304 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8305 | ||
8306 | * go32-nat.c (go32_target): Don't override to_shortname, | |
8307 | to_longname or to_doc. | |
8308 | ||
4ebfc96e PA |
8309 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8310 | ||
8311 | * inf-child.c (inf_child_open): Remove mention of "child". | |
8312 | (inf_child_target): Rename target to "native" instead of "child". | |
8313 | ||
2648dfed AA |
8314 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8315 | ||
8316 | * Makefile.in (SFILES): Delete "regset.c". | |
8317 | (COMMON_OBS): Delete "regset.o". | |
8318 | * regset.c: Remove. | |
8319 | * regset.h (regset_alloc): Delete prototype. | |
8320 | ||
b13feb94 AA |
8321 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8322 | ||
8323 | * sparc-linux-tdep.c (sparc32_linux_gregset) | |
8324 | (sparc32_linux_fpregset): New static regset structures. | |
8325 | (sparc32_linux_init_abi): Drop dynamic regset allocations. | |
8326 | * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and | |
8327 | 'fpregset' fields. | |
8328 | * sparc64-linux-tdep.c: (sparc64_linux_gregset) | |
8329 | (sparc64_linux_fpregset): New static regset structures. | |
8330 | (sparc64_linux_init_abi): Drop dynamic regset allocations. | |
8331 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset): | |
8332 | New static regset structures. | |
8333 | (sparc64fbsd_init_abi): Drop dynamic regset allocations. | |
8334 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset): | |
8335 | New static regset structures. | |
8336 | (sparc64nbsd_init_abi): Drop dynamic regset allocations. | |
8337 | * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset): | |
8338 | New static regset structures. | |
8339 | (sparc64obsd_init_abi): Drop dynamic regset allocations. | |
8340 | * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset): | |
8341 | New static regset structures. | |
8342 | (sparc32nbsd_init_abi): Drop dynamic regset allocations. | |
8343 | ||
b4fd25c9 AA |
8344 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8345 | ||
8346 | * sparc-linux-nat.c (supply_gregset, supply_fpregset) | |
8347 | (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename | |
8348 | register maps ("regmaps") from "*regset" to "*regmap". Do this | |
8349 | for all regmap types and variables. | |
8350 | * sparc-linux-tdep.c (sparc32_linux_step_trap) | |
8351 | (sparc32_linux_supply_core_gregset) | |
8352 | (sparc32_linux_collect_core_gregset) | |
8353 | (sparc32_linux_supply_core_fpregset) | |
8354 | (sparc32_linux_collect_core_fpregset): Likewise. | |
8355 | * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to... | |
8356 | (sparc_gregmap, sparc_fpregmap): ... these. | |
8357 | (sparc_supply_gregset, sparc_collect_gregset) | |
8358 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
8359 | (sparc_fetch_inferior_registers, sparc_store_inferior_registers) | |
8360 | (_initialize_sparc_nat): Rename regmaps. | |
8361 | * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to... | |
8362 | (sparc_gregmap, sparc_fpregmap): ... these. | |
8363 | (sparc_supply_gregset, sparc_collect_gregset) | |
8364 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
8365 | * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset): | |
8366 | Rename macros to... | |
8367 | (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these. | |
8368 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset): | |
8369 | Likewise. | |
8370 | * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset): | |
8371 | Rename to... | |
8372 | (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these. | |
8373 | * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset) | |
8374 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename | |
8375 | regmaps. | |
8376 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
8377 | (sparc32_bsd_fpregset): Rename to... | |
8378 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
8379 | (sparc32_bsd_fpregmap): ... these. | |
8380 | * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset) | |
8381 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
8382 | (sparc32_bsd_fpregset, sparc32_sol2_gregset) | |
8383 | (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to... | |
8384 | (struct sparc_gregmap, struct sparc_fpregmap) | |
8385 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
8386 | (sparc32_bsd_fpregmap, sparc32_sol2_gregmap) | |
8387 | (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these. | |
8388 | (sparc32_supply_regset, sparc32_collect_gregset) | |
8389 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust | |
8390 | prototypes. | |
8391 | * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to... | |
8392 | (sparc64_linux_ptrace_gregmap): ... this. | |
8393 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset) | |
8394 | (_initialize_sparc64_linux_nat): Rename regmaps. | |
8395 | * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to... | |
8396 | (sparc64_linux_core_gregmap): ... this. | |
8397 | (sparc64_linux_supply_core_gregset) | |
8398 | (sparc64_linux_collect_core_gregset) | |
8399 | (sparc64_linux_supply_core_fpregset) | |
8400 | (sparc64_linux_collect_core_fpregset): Rename regmaps. | |
8401 | * sparc64-sol2-tdep.c (sparc64_sol2_gregset) | |
8402 | (sparc64_sol2_fpregset): Rename to... | |
8403 | (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these. | |
8404 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
8405 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename | |
8406 | regmaps. | |
8407 | * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset) | |
8408 | (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset) | |
8409 | (sparc64_bsd_fpregset): Rename to... | |
8410 | (struct sparc_gregmap, sparc64_sol2_gregmap) | |
8411 | (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap) | |
8412 | (sparc64_bsd_fpregmap): ... these. | |
8413 | (sparc64_supply_gregset, sparc64_collect_gregset) | |
8414 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust | |
8415 | prototypes. | |
8416 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps. | |
8417 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to... | |
8418 | (sparc64fbsd_gregmap): ... this. | |
8419 | (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset) | |
8420 | (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset): | |
8421 | Rename regmaps. | |
8422 | * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset) | |
8423 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
8424 | (sparc64nbsd_collect_fpregset): Likewise. | |
8425 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to... | |
8426 | (sparc64nbsd_gregmap): ... this. | |
8427 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename | |
8428 | regmaps. | |
8429 | * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise. | |
8430 | * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to... | |
8431 | (sparc64obsd_gregmap): ... this. | |
8432 | (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename | |
8433 | regmaps. | |
8434 | * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise. | |
8435 | * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to... | |
8436 | (sparc32nbsd_gregmap): ... this. | |
8437 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename | |
8438 | regmaps. | |
8439 | ||
8fea3224 AA |
8440 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8441 | ||
8442 | * score-tdep.c (score7_linux_gregset): New static regset | |
8443 | structure. | |
8444 | (score7_linux_regset_from_core_section): Remove dynamic regset | |
8445 | allocation. | |
8446 | (score_gdbarch_init): Drop allocation of tdep structure. | |
8447 | * score-tdep.h (struct gdbarch_tdep): Remove declaration. | |
8448 | ||
24534243 AA |
8449 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8450 | ||
8451 | * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static | |
8452 | regset structures. | |
8453 | (am33_regset_from_core_section): Remove dynamic regset | |
8454 | allocations. | |
8455 | ||
b7195f27 AA |
8456 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8457 | ||
8458 | * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset) | |
8459 | (mips_linux_fpregset, mips64_linux_fpregset): New static regset | |
8460 | structures. | |
8461 | (mips_linux_regset_from_core_section): Remove dynamic regset | |
8462 | allocations. | |
8463 | * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
8464 | 'gregset64', 'fpregset', and 'fpregset64'. | |
8465 | * mips-tdep.c (mips_gdbarch_init): Remove initialization of | |
8466 | deleted tdep fields. | |
8467 | ||
ecc37a5a AA |
8468 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8469 | ||
8470 | * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static | |
8471 | regset structures. | |
8472 | (amd64_regset_from_core_section): Remove dynamic regset | |
8473 | allocations. | |
8474 | * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset | |
8475 | structure. | |
8476 | (amd64obsd_regset_from_core_section): Remove dynamic regset | |
8477 | allocation. | |
8478 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
8479 | Likewise. | |
8480 | * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to | |
8481 | x86-common regset supply function. | |
8482 | * i386-tdep.c (i386_collect_gregset): Make static. | |
8483 | (i386_gregset): New global regset structure. | |
8484 | (i386_fpregset, i386_xstateregset): New static regset structures. | |
8485 | (i386_regset_from_core_section): Remove dynamic regset | |
8486 | allocations. | |
8487 | (i386_gdbarch_init): Remove initialization of tdep fields | |
8488 | 'gregset', 'fpregset', and 'xstateregset'. | |
8489 | * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
8490 | 'fpregset', and 'xstateregset'. | |
8491 | (i386_collect_gregset): Remove prototype. | |
8492 | (i386_gregset): New declaration. | |
8493 | * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset | |
8494 | structure. | |
8495 | (i386obsd_aout_regset_from_core_section): Remove dynamic regset | |
8496 | allocation. | |
8497 | ||
b7611c43 AA |
8498 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8499 | ||
8500 | * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset) | |
8501 | (arm_linux_vfpregset): New static regset structures. | |
8502 | (arm_linux_regset_from_core_section): Remove dynamic allocation of | |
8503 | regset structures. | |
8504 | * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset', | |
8505 | and 'vfpregset' fields. | |
8506 | ||
a069a2bd AA |
8507 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8508 | ||
8509 | * aarch64-linux-tdep.c (aarch64_linux_gregset) | |
8510 | (aarch64_linux_fpregset): New static regset structures. | |
8511 | (aarch64_linux_regset_from_core_section): Drop dynamic allocation | |
8512 | of regset structures. | |
8513 | * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and | |
8514 | 'fpregset' fields. | |
8515 | ||
09424cff AA |
8516 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8517 | ||
8518 | * regset.h (struct regset): Remove gdbarch field. | |
8519 | * regset.c (regset_alloc): Drop initialization of gdbarch field. | |
8520 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
8521 | * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset): | |
8522 | Likewise. | |
8523 | * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset) | |
8524 | (ppc32_linux_fpregset, ppc32_linux_vrregset) | |
8525 | (ppc32_linux_vsxregset): Likewise. | |
8526 | * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch | |
8527 | via the regcache instead of the regset. | |
8528 | * i386-tdep.c (i386_supply_gregset, i386_collect_gregset) | |
8529 | (i386_supply_fpregset, i386_collect_fpregset): Likewise. | |
8530 | * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise. | |
8531 | * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset): | |
8532 | Likewise. | |
8533 | ||
3ca7dae4 AA |
8534 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8535 | ||
8536 | * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset): | |
8537 | Constify structures. | |
8538 | * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset) | |
8539 | (alphanbsd_aout_gregset): Likewise. | |
8540 | * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise. | |
8541 | * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset): | |
8542 | Likewise. | |
8543 | * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise. | |
8544 | * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset): | |
8545 | Likewise. | |
8546 | * hppanbsd-tdep.c (hppanbsd_gregset): Likewise. | |
8547 | * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise. | |
8548 | * m32r-linux-tdep.c (m32r_linux_gregset): Likewise. | |
8549 | * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise. | |
8550 | * m88k-tdep.c (m88k_gregset): Likewise. | |
8551 | * mips64obsd-tdep.c (mips64obsd_gregset): Likewise. | |
8552 | * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise. | |
8553 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
8554 | * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise. | |
8555 | * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
8556 | * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
8557 | * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
8558 | * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
8559 | * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset): | |
8560 | Likewise. | |
8561 | * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise. | |
8562 | * sh-tdep.h (sh_corefile_gregset): Likewise. | |
8563 | * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise. | |
8564 | * vax-tdep.c (vax_gregset): Likewise. | |
8565 | ||
5876f503 JK |
8566 | 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
8567 | ||
8568 | Fix TLS access for -static -pthread. | |
8569 | * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p. | |
8570 | (try_thread_db_load_1): Initialize it. | |
8571 | (thread_db_get_thread_local_address): Call it if LM is zero. | |
8572 | * target.c (target_translate_tls_address): Remove LM_ADDR zero check. | |
8573 | * target.h (struct target_ops) (to_get_thread_local_address): Add | |
8574 | load_module_addr comment. | |
8575 | ||
0256a6ac PA |
8576 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8577 | ||
8578 | * dcache.c (dcache_read_memory_partial): If reading the cache line | |
8579 | fails, fallback to reading just the memory the caller wanted. | |
8580 | ||
227533ac DE |
8581 | 2014-05-20 Doug Evans <dje@google.com> |
8582 | ||
8583 | * python/py-progspace.c (py_free_pspace): Call target_gdbarch | |
8584 | instead of get_current_arch. | |
8585 | ||
936d2992 PA |
8586 | 2014-05-20 Pedro Alves <palves@redhat.com> |
8587 | ||
8588 | * NEWS: Mention that compare-sections now works with all targets. | |
8589 | ||
8590 | * remote.c (PACKET_qCRC): New enum value. | |
8591 | (remote_verify_memory): Don't send qCRC if the target has no | |
8592 | execution. Use packet_support/packet_ok. If the target doesn't | |
8593 | support the qCRC packet, fallback to a deep memory copy. | |
8594 | (compare_sections_command): Say "target image" instead of "remote | |
8595 | executable". | |
8596 | (_initialize_remote): Add PACKET_qCRC to the list of config | |
8597 | packets that have no associated command. Extend comment. | |
8598 | * target.c (simple_verify_memory, default_verify_memory): New | |
8599 | function. | |
8600 | * target.h (struct target_ops) <to_verify_memory>: Default to | |
8601 | default_verify_memory. | |
8602 | (simple_verify_memory): New declaration. | |
8603 | * target-delegates.c: Regenerate. | |
8604 | ||
e59fa00f MM |
8605 | 2014-05-20 Markus Metzger <markus.t.metzger@intel.com> |
8606 | ||
8607 | * record-btrace.c (record_btrace_step_thread): Check for empty history. | |
8608 | ||
f2205de0 HZ |
8609 | 2014-05-20 Hui Zhu <hui@codesourcery.com> |
8610 | Yao Qi <yao@codesourcery.com> | |
8611 | ||
8612 | PR backtrace/16558 | |
8613 | * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments | |
8614 | and change address of sp and pc. | |
8615 | ||
c4e54771 TT |
8616 | 2014-05-19 Tom Tromey <tromey@redhat.com> |
8617 | ||
8618 | * gdbtypes.c (rank_function): Use XNEWVEC. | |
8619 | * mi/mi-cmds.c (build_table): Use XCNEWVEC. | |
8620 | ||
73051182 DE |
8621 | 2014-05-19 Doug Evans <dje@google.com> |
8622 | ||
8623 | * dwarf2read.c (build_type_psymtabs_1): Renamed from | |
8624 | build_type_unit_groups and moved closer to only caller. Remove | |
8625 | arguments. All references updated. Remove outdated .gdb_index | |
8626 | comment. | |
8627 | (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with | |
8628 | build_type_psymtabs_1. | |
8629 | ||
8832e7e3 DE |
8630 | 2014-05-19 Doug Evans <dje@google.com> |
8631 | ||
8632 | * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members | |
8633 | n_type_unit_groups, all_type_unit_groups. All uses removed. | |
8634 | (get_type_unit_group, build_type_unit_groups): Delete forward decls. | |
8635 | (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated. | |
8636 | (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated. | |
8637 | (add_type_unit_group_to_table): Delete. | |
8638 | ||
cd8ae15e DE |
8639 | 2014-05-19 Doug Evans <dje@google.com> |
8640 | ||
8641 | * eval.c (evaluate_subexp_standard): Add some comments. | |
8642 | ||
08f4850b DE |
8643 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
8644 | ||
8645 | * progspace.c (remove_program_space): Delete, unused. | |
8646 | * progspace.h (remove_program_space): Ditto. | |
8647 | ||
bed8455c DE |
8648 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
8649 | ||
8650 | * inferior.c (prune_inferiors): Fix comment. | |
8651 | (remove_inferior_command): Call prune_program_spaces. | |
8652 | ||
8d551b02 DE |
8653 | 2014-05-16 Doug Evans <dje@google.com> |
8654 | ||
8655 | New command line option -D. | |
8656 | * NEWS: Mention it. | |
8657 | * main.c (set_gdb_data_directory): New function. | |
8658 | (captured_main): Recognize -D. Flag error for --data-directory "". | |
8659 | Call set_gdb_data_directory. | |
8660 | (print_gdb_help): Print --data-directory, -D. | |
8661 | * main.h (set_gdb_data_directory): Declare. | |
8662 | * top.c (staged_gdb_datadir): New static global. | |
8663 | (set_gdb_datadir): Call set_gdb_data_directory | |
8664 | (show_gdb_datadir): New function. | |
8665 | (init_main): Update init of data-directory parameter. | |
8666 | ||
18848e28 GF |
8667 | 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com> |
8668 | ||
8669 | Import the "dirfd" gnulib module. | |
8670 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd. | |
8671 | * gnulib/aclocal.m4: Update. | |
8672 | * gnulib/config.in: Update. | |
8673 | * gnulib/configure: Update. | |
8674 | * gnulib/import/Makefile.am: Update. | |
8675 | * gnulib/import/Makefile.in: Update. | |
8676 | * gnulib/import/dirfd.c: New. | |
8677 | * gnulib/import/m4/dirfd.m4: New. | |
8678 | * gnulib/import/m4/gnulib-cache.m4: Update. | |
8679 | * gnulib/import/m4/gnulib-comp.m4: Update. | |
8680 | ||
95c64f92 YQ |
8681 | 2014-05-16 Pierre Muller <muller@sourceware.org> |
8682 | Yao Qi <yao@codesourcery.com> | |
8683 | ||
8684 | * valprint.c (print_wchar): Move the code on checking whether | |
8685 | W is a printable wide char to the default branch of switch | |
8686 | statement below. Call wchar_printable instead of gdb_iswprint. | |
8687 | ||
cac395ea TM |
8688 | 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com> |
8689 | ||
19679eca | 8690 | * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for |
cac395ea TM |
8691 | ldr.w and ldrd instructions. |
8692 | ||
83655187 DE |
8693 | 2014-05-15 Doug Evans <dje@google.com> |
8694 | ||
8695 | * dwarf2read.c (read_structure_type): Delete outdated comments. | |
8696 | ||
dd756689 TT |
8697 | 2014-05-14 Tom Tromey <tromey@redhat.com> |
8698 | ||
8699 | * macrocmd.c (print_macro_definition): Reindent. | |
8700 | ||
75ddda77 DE |
8701 | 2014-05-13 Doug Evans <xdje42@gmail.com> |
8702 | ||
8703 | * python/py-cmd.c (cmdpy_completer): Add comment. | |
8704 | (completers): Make const. | |
8705 | ||
b0f16a3e SM |
8706 | 2014-05-13 Simon Marchi <simon.marchi@ericsson.com> |
8707 | ||
8708 | * infrun.c (resume): Remove should_resume (unused). Move up | |
8709 | declaration of resume_ptid. | |
8710 | ||
033c3379 TT |
8711 | 2014-05-13 Tom Tromey <tromey@redhat.com> |
8712 | ||
8713 | * language.h (unop_type_check): Remove. | |
8714 | (binop_type_check): Don't declare. | |
8715 | ||
9b44a3a5 AA |
8716 | 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com> |
8717 | ||
8718 | * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in | |
8719 | call to regcache_raw_collect. | |
8720 | ||
303a33fa SM |
8721 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
8722 | ||
8723 | * mi/mi-console.c (mi_console_raw_packet): Use the value from | |
8724 | mi_console->quote as the quoting character. | |
8725 | ||
196100a0 SM |
8726 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
8727 | ||
8728 | * MAINTAINERS (Write After Approval): Add "Simon Marchi". | |
8729 | ||
f989a1c8 TT |
8730 | 2014-04-29 Tom Tromey <tromey@redhat.com> |
8731 | ||
8732 | * varobj.c (_initialize_varobj): Rename to "set debug varobj" and | |
8733 | "show debug varobj". | |
8734 | ||
9404b58f KM |
8735 | 2014-05-07 Kyle McMartin <kyle@redhat.com> |
8736 | ||
8737 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
8738 | * aarch64-tdep.c (aarch64_software_single_step): New function. | |
8739 | (aarch64_gdbarch_init): Handle single stepping of atomic sequences | |
8740 | with aarch64_software_single_step. | |
8741 | ||
5e49ba57 JB |
8742 | 2014-05-05 Joel Brobecker <brobecker@adacore.com> |
8743 | ||
8744 | GDB 7.7.1 released. | |
8745 | ||
c888a17d KS |
8746 | 2014-05-05 Keith Seitz <keiths@redhat.com> |
8747 | ||
8748 | * linespec.c (linespec_parse_basic): Run cleanups if a convenience | |
8749 | variable or history value is successfully parsed. | |
8750 | ||
290a839c YQ |
8751 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
8752 | Pedro Alves <palves@redhat.com> | |
8753 | ||
8754 | * tracefile-tfile.c (tfile_xfer_partial): Record the lowest | |
8755 | address of blocks that intersects the requested range. Trim | |
8756 | LEN up to LOW_ADDR_AVAILABLE if read from executable read-only | |
8757 | sections. | |
8758 | * ctf.c (ctf_xfer_partial): Likewise. | |
8759 | ||
91256dc2 YQ |
8760 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
8761 | ||
8762 | * printcmd.c (display_command): Remove the check to | |
8763 | target_has_execution. | |
8764 | ||
07284463 MK |
8765 | 2014-05-03 Mark Kettenis <kettenis@gnu.org> |
8766 | ||
8767 | * ppcobsd-nat.c: Include "obsd-nat.h". | |
8768 | (_initialize_ppcobsd_nat): Call obsd_add_target instead of | |
8769 | add_target. | |
8770 | * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
8771 | ||
30a1e6cc SDJ |
8772 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
8773 | ||
8774 | * stap-probe.c (enum stap_arg_bitness): New enums to represent 8 | |
8775 | and 16-bit signed and unsigned arguments. Update comment. | |
8776 | (stap_parse_probe_arguments): Extend code to handle such | |
8777 | arguments. Use warning instead of complaint to notify about | |
8778 | unrecognized bitness. | |
8779 | ||
f33da99a SDJ |
8780 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
8781 | ||
8782 | PR breakpoints/16889 | |
8783 | * stap-probe.c (stap_parse_probe_arguments): Simplify | |
8784 | check for non-prefixed probes (i.e., probes whose | |
8785 | arguments do not start with "N@"). Always set the | |
8786 | argument type to a sane value. | |
8787 | ||
95cf3b38 DT |
8788 | 2014-05-01 David Taylor <dtaylor@emc.com> |
8789 | ||
8790 | * remote.c (compare_sections_command): Add -r option to compare | |
8791 | all loadable read-only sections. | |
8792 | ||
1cfdf534 SC |
8793 | 2014-04-30 Siva Chandra Reddy <sivachandra@google.com> |
8794 | ||
8795 | * dwarf2loc.c (dwarf2_locexpr_baton_eval, | |
8796 | dwarf2_evaluate_property): Remove unused CORE_ADDR argument. | |
8797 | Update all callers. | |
8798 | * dwarf2loc.h (dwarf2_evaluate_property): Update signature. | |
8799 | * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array): | |
8800 | Remove unused CORE_ADDR argument. Update all callers. | |
8801 | ||
ca4f7f8b PA |
8802 | 2014-04-29 Pedro Alves <palves@redhat.com> |
8803 | ||
8804 | * remote.c (struct packet_config) <detect>: Extend comment. | |
8805 | (add_packet_config_cmd): Don't set the config's detect or support | |
8806 | fields here. | |
8807 | (init_all_packet_configs): Also initialize the config's 'detect' | |
8808 | field. | |
8809 | (reset_all_packet_configs_support): New function. | |
8810 | (remote_open_1): Call reset_all_packet_configs_support instead of | |
8811 | init_all_packet_configs. | |
8812 | (_initialize_remote): Initialize all packet configs. Assert that | |
8813 | all packets have an associated command, except a few known | |
8814 | outliers. | |
8815 | ||
11c1ba78 JB |
8816 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8817 | ||
8818 | * dwarf2read.c (read_subrange_type): Handle dynamic | |
8819 | DW_AT_lower_bound attributes. | |
8820 | ||
8739bc53 JB |
8821 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8822 | ||
8823 | * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's | |
8824 | dynamic bounds before computing its upper bound. | |
8825 | (ada_discrete_type_low_bound): Same as above with the lower bound. | |
8826 | ||
6f8a3220 JB |
8827 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8828 | ||
8829 | * dwarf2read.c (is_dynamic_type): Return true for dynamic | |
8830 | range types. Adjust the array handling implementation to | |
8831 | take advantage of this change. | |
8832 | (resolve_dynamic_range): New function, mostly extracted from | |
8833 | resolve_dynamic_bounds. | |
8834 | (resolve_dynamic_array): New function, mostly extracted from | |
8835 | resolve_dynamic_bounds. | |
8836 | (resolve_dynamic_bounds): Delete. | |
8837 | (resolve_dynamic_type): Reimplement. Add handling of | |
8838 | TYPE_CODE_RANGE types. | |
8839 | ||
4d072ce4 JB |
8840 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8841 | ||
8842 | * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove | |
8843 | handling of parallel ___XA types. | |
8844 | ||
52865325 JB |
8845 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8846 | ||
8847 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove | |
8848 | unnecessary second call to static_unwrap_type. | |
8849 | ||
433e77fa HZ |
8850 | 2014-04-27 Hui Zhu <hui@codesourcery.com> |
8851 | ||
8852 | * stack.c (print_frame_info): Call do_gdb_disassembly with | |
8853 | DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME. | |
8854 | ||
b51a69ee DE |
8855 | 2014-04-26 Doug Evans <xdje42@gmail.com> |
8856 | ||
8857 | * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment. | |
8858 | ||
7ae1a6a6 PA |
8859 | 2014-04-25 Pedro Alves <palves@redhat.com> |
8860 | ||
8861 | PR server/16255 | |
8862 | * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ... | |
8863 | (linux_ptrace_attach_fail_reason): ... this. Remove "warning: " | |
8864 | and newline from built string. | |
8865 | * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ... | |
8866 | (linux_ptrace_attach_fail_reason): ... this. | |
8867 | * linux-nat.c (linux_nat_attach): Adjust to use | |
8868 | linux_ptrace_attach_fail_reason. | |
8869 | ||
4082afcc PA |
8870 | 2014-04-25 Pedro Alves <palves@redhat.com> |
8871 | ||
8872 | * remote.c (struct remote_state): Remove multi_process_aware, | |
8873 | non_stop_aware, cond_tracepoints, cond_breakpoints, | |
8874 | breakpoint_commands, fast_tracepoints, static_tracepoints, | |
8875 | install_in_trace, disconnected_tracing, | |
8876 | enable_disable_tracepoints, string_tracing, and | |
8877 | augmented_libraries_svr4_read fields. | |
8878 | (remote_multi_process_p): Move further below in the file. | |
8879 | (struct packet_config): Add comments. | |
8880 | (update_packet_config): Delete function. | |
8881 | (show_packet_config_cmd): Use packet_config_support. | |
8882 | (add_packet_config_cmd): Use NULL as set callback. | |
8883 | (packet_ok): "set remote foo-packet"-style commands no longer | |
8884 | change config->supported -- adjust. | |
8885 | (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints) | |
8886 | (PACKET_BreakpointCommands, PACKET_FastTracepoints) | |
8887 | (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments. | |
8888 | (PACKET_QNonStop, PACKET_multiprocess_feature) | |
8889 | (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature) | |
8890 | (PACKET_DisconnectedTracing_feature) | |
8891 | (PACKET_augmented_libraries_svr4_read_feature): New enum values. | |
8892 | (set_remote_protocol_packet_cmd): Delete function. | |
8893 | (packet_config_support, packet_support): New functions. | |
8894 | (set_remote_protocol_Z_packet_cmd): Don't call | |
8895 | update_packet_config. | |
8896 | (remote_query_attached, remote_pass_signals) | |
8897 | (remote_program_signals, remote_threads_info) | |
8898 | (remote_threads_extra_info, remote_start_remote): Use | |
8899 | packet_support. | |
8900 | (remote_start_remote): Use packet_config_support and | |
8901 | packet_support. | |
8902 | (init_all_packet_configs): Set all packets to unknown support, | |
8903 | instead of calling update_packet_config. | |
8904 | (remote_check_symbols): Use packet_support. | |
8905 | (remote_supported_packet): Unconditionally set the packet config's | |
8906 | support status. | |
8907 | (remote_multi_process_feature, remote_non_stop_feature) | |
8908 | (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature) | |
8909 | (remote_breakpoint_commands_feature) | |
8910 | (remote_fast_tracepoint_feature, remote_static_tracepoint_feature) | |
8911 | (remote_install_in_trace_feature) | |
8912 | (remote_disconnected_tracing_feature) | |
8913 | (remote_enable_disable_tracepoint_feature) | |
8914 | (remote_string_tracing_feature) | |
8915 | (remote_augmented_libraries_svr4_read_feature): Delete functions. | |
8916 | (remote_protocol_features): Adjust to use remote_supported_packet | |
8917 | for "augmented-libraries-svr4-read", "multiprocess", "QNonStop", | |
8918 | "ConditionalTracepoints", "ConditionalBreakpoints", | |
8919 | "BreakpointCommands", "FastTracepoints", "StaticTracepoints", | |
8920 | "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing", | |
8921 | "EnableDisableTracepoints", and "tracenz". | |
8922 | (remote_query_supported): Use packet_support. | |
8923 | (remote_open_1): Adjust. | |
8924 | (extended_remote_attach_1): Use packet_support. Switch on the | |
8925 | result of packet_ok instead of checking whether the packet ended | |
8926 | up disabled. | |
8927 | (remote_vcont_resume): Use packet_support. | |
8928 | (remote_resume, remote_stop_ns, fetch_register_using_p) | |
8929 | (remote_prepare_to_store, store_register_using_P) | |
8930 | (check_binary_download, remote_write_bytes): Use packet_support. | |
8931 | (remote_vkill): Use packet_support. Switch on the result of | |
8932 | packet_ok instead of checking whether the packet ended up | |
8933 | disabled. | |
8934 | (extended_remote_supports_disable_randomization): Use | |
8935 | packet_support. | |
8936 | (extended_remote_run): Switch on the result of packet_ok instead | |
8937 | of checking whether the packet ended up disabled. | |
8938 | (remote_insert_breakpoint, remote_remove_breakpoint) | |
8939 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
8940 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use | |
8941 | packet_support. | |
8942 | (remote_search_memory): Use packet_config_support. | |
8943 | (remote_get_thread_local_address, remote_get_tib_address) | |
8944 | (remote_hostio_send_command, remote_can_execute_reverse): Use | |
8945 | packet_support. | |
8946 | (remote_supports_cond_tracepoints) | |
8947 | (remote_supports_cond_breakpoints) | |
8948 | (remote_supports_fast_tracepoints) | |
8949 | (remote_supports_static_tracepoints) | |
8950 | (remote_supports_install_in_trace) | |
8951 | (remote_supports_enable_disable_tracepoint) | |
8952 | (remote_supports_string_tracing) | |
8953 | (remote_can_run_breakpoint_commands): Rewrite, checking whether | |
8954 | the packet config says the feature is enabled or disabled. | |
8955 | (remote_download_tracepoint, remote_trace_set_readonly_regions) | |
8956 | (remote_get_trace_status): Use packet_support. | |
8957 | (remote_set_disconnected_tracing): Adjust to check whether the | |
8958 | feature is enabled with packet_support. | |
8959 | (remote_set_trace_buffer_size, remote_use_agent) | |
8960 | (remote_can_use_agent, remote_supports_btrace): Use | |
8961 | packet_support. | |
8962 | (remote_enable_btrace, remote_disable_btrace, remote_read_btrace): | |
8963 | Use packet_config_support. | |
8964 | (remote_augmented_libraries_svr4_read): Rewrite, checking whether | |
8965 | the packet config says the feature is enabled or disabled. | |
8966 | (set_range_stepping): Use packet_support. | |
8967 | ||
bdb52a22 TT |
8968 | 2014-04-25 Tom Tromey <tromey@redhat.com> |
8969 | ||
8970 | * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's | |
8971 | argument. | |
8972 | ||
e9475ead SA |
8973 | 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com> |
8974 | ||
8975 | * NEWS: Mention support for C99 variable length arrays. | |
8976 | ||
82eacd52 JB |
8977 | 2014-04-24 Joel Brobecker <brobecker@adacore.com> |
8978 | ||
8979 | * ada-lang.c (standard_exc): Expand introductory comment. | |
8980 | ||
01f9f808 MS |
8981 | 2014-04-24 Michael Sturm <michael.sturm@mintel.com> |
8982 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
8983 | ||
8984 | * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add | |
8985 | AVX512 registers. | |
8986 | (amd64_linux_read_description): Add code to handle AVX512 xstate | |
8987 | mask and return respective tdesc. | |
8988 | * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c | |
8989 | and features/i386/x32-avx512-linux.c. | |
8990 | (amd64_linux_gregset_reg_offset): Add AVX512 registers. | |
8991 | (amd64_linux_core_read_description): Add code to handle AVX512 | |
8992 | xstate mask and return respective tdesc. | |
8993 | (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc. | |
8994 | * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum | |
8995 | calculation. | |
8996 | (AMD64_LINUX_NUM_REGS): Adjust to new number of registers. | |
8997 | (tdesc_amd64_avx512_linux): New prototype. | |
8998 | (tdesc_x32_avx512_linux): Likewise. | |
8999 | * amd64-tdep.c: Include features/i386/amd64-avx512.c and | |
9000 | features/i386/x32-avx512.c. | |
9001 | (amd64_ymm_avx512_names): New register names for pseudo | |
9002 | registers YMM16-31. | |
9003 | (amd64_ymmh_avx512_names): New register names for raw registers | |
9004 | YMMH16-31. | |
9005 | (amd64_k_names): New register names for K registers. | |
9006 | (amd64_zmmh_names): New register names for ZMM raw registers. | |
9007 | (amd64_zmm_names): New registers names for ZMM pseudo registers. | |
9008 | (amd64_xmm_avx512_names): New register names for XMM16-31 | |
9009 | registers. | |
9010 | (amd64_pseudo_register_name): Add code to return AVX512 pseudo | |
9011 | registers. | |
9012 | (amd64_init_abi): Add code to intitialize AVX512 tdep variables | |
9013 | if feature is present. | |
9014 | (_initialize_amd64_tdep): Call AVX512 tdesc initializers. | |
9015 | * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers. | |
9016 | (AMD64_NUM_REGS): Adjust to new number of registers. | |
9017 | * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of | |
9018 | registers supplied via XSTATE by AVX512 registers. | |
9019 | (i386_linux_read_description): Add case for AVX512. | |
9020 | * i386-linux-tdep.c: Include i386-avx512-linux.c. | |
9021 | (i386_linux_gregset_reg_offset): Add AVX512 registers. | |
9022 | (i386_linux_core_read_description): Add case for AVX512. | |
9023 | (i386_linux_init_abi): Install supported register note section | |
9024 | for AVX512. | |
9025 | (_initialize_i386_linux_tdep): Add call to tdesc init function for | |
9026 | AVX512. | |
9027 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of | |
9028 | registers to be number of zmm7h + 1. | |
9029 | (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers. | |
9030 | * i386-tdep.c: Include features/i386/i386-avx512.c. | |
9031 | (i386_zmm_names): Add ZMM pseudo register names array. | |
9032 | (i386_zmmh_names): Add ZMM raw register names array. | |
9033 | (i386_k_names): Add K raw register names array. | |
9034 | (num_lower_zmm_regs): Add constant for the number of lower ZMM | |
9035 | registers. AVX512 has 16 more ZMM registers than there are YMM | |
9036 | registers. | |
9037 | (i386_zmmh_regnum_p): Add function to look up register number of | |
9038 | ZMM raw registers. | |
9039 | (i386_zmm_regnum_p): Likewise for ZMM pseudo registers. | |
9040 | (i386_k_regnum_p): Likewise for K raw registers. | |
9041 | (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw | |
9042 | registers added by AVX512. | |
9043 | (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo | |
9044 | registers added by AVX512. | |
9045 | (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers | |
9046 | added by AVX512. | |
9047 | (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31. | |
9048 | (i386_pseudo_register_name): Add ZMM pseudo registers. | |
9049 | (i386_zmm_type): Construct and return vector registers type for ZMM | |
9050 | registers. | |
9051 | (i386_pseudo_register_type): Return appropriate type for YMM16-31, | |
9052 | ZMM0-31 pseudo registers and K registers. | |
9053 | (i386_pseudo_register_read_into_value): Add code to read K, ZMM | |
9054 | and YMM16-31 registers from register cache. | |
9055 | (i386_pseudo_register_write): Add code to write K, ZMM and | |
9056 | YMM16-31 registers. | |
9057 | (i386_register_reggroup_p): Add code to include/exclude AVX512 | |
9058 | registers in/from respective register groups. | |
9059 | (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512 | |
9060 | registers if feature is present in xcr0. | |
9061 | (i386_gdbarch_init): Add code to initialize AVX512 feature | |
9062 | variables in tdep structure, wire in pseudo registers and call | |
9063 | initialize_tdesc_i386_avx512. | |
9064 | * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related | |
9065 | variables. | |
9066 | (i386_regnum): Add AVX512 registers. | |
9067 | (I386_SSE_NUM_REGS): New define for number of SSE registers. | |
9068 | (I386_AVX_NUM_REGS): Likewise for AVX registers. | |
9069 | (I386_AVX512_NUM_REGS): Likewise for AVX512 registers. | |
9070 | (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are | |
9071 | 512 bits wide. | |
9072 | (i386_xmm_avx512_regnum_p): New prototype for register look up. | |
9073 | (i386_ymm_avx512_regnum_p): Likewise. | |
9074 | (i386_k_regnum_p): Likewise. | |
9075 | (i386_zmm_regnum_p): Likewise. | |
9076 | (i386_zmmh_regnum_p): Likewise. | |
9077 | * i387-tdep.c : Update year in copyright notice. | |
9078 | (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in | |
9079 | XSAVE buffer. | |
9080 | (XSAVE_YMM_AVX512_ADDR): New macro. | |
9081 | (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in | |
9082 | XSAVE buffer. | |
9083 | (XSAVE_XMM_AVX512_ADDR): New macro. | |
9084 | (xsave_avx512_k_offset): New table for K register offsets in | |
9085 | XSAVE buffer. | |
9086 | (XSAVE_AVX512_K_ADDR): New macro. | |
9087 | (xsave_avx512_zmm_h_offset): New table for ZMM register offsets | |
9088 | in XSAVE buffer. | |
9089 | (XSAVE_AVX512_ZMM_H_ADDR): New macro. | |
9090 | (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE | |
9091 | buffer. | |
9092 | (i387_collect_xsave): Add code to collect AVX512 registers from | |
9093 | XSAVE buffer. | |
9094 | * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number | |
9095 | of XMM16-31 registers. | |
9096 | (I387_NUM_K_REGS): New define for number of K registers. | |
9097 | (I387_K0_REGNUM): New define for K0 register number. | |
9098 | (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers. | |
9099 | (I387_ZMM0H_REGNUM): New define for ZMM0H register number. | |
9100 | (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31 | |
9101 | registers. | |
9102 | (I387_YMM16H_REGNUM): New define for YMM16H register number. | |
9103 | (I387_XMM16_REGNUM): New define for XMM16 register number. | |
9104 | (I387_YMM0_REGNUM): New define for YMM0 register number. | |
9105 | (I387_KEND_REGNUM): New define for last K register number. | |
9106 | (I387_ZMMENDH_REGNUM): New define for last ZMMH register number. | |
9107 | (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register | |
9108 | number. | |
9109 | (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register | |
9110 | number. | |
9111 | * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE | |
9112 | size. | |
9113 | * features/Makefile: Add AVX512 related files. | |
9114 | * features/i386/32bit-avx512.xml: New file. | |
9115 | * features/i386/64bit-avx512.xml: Likewise. | |
9116 | * features/i386/amd64-avx512-linux.c: Likewise. | |
9117 | * features/i386/amd64-avx512-linux.xml: Likewise. | |
9118 | * features/i386/amd64-avx512.c: Likewise. | |
9119 | * features/i386/amd64-avx512.xml: Likewise. | |
9120 | * features/i386/i386-avx512-linux.c: Likewise. | |
9121 | * features/i386/i386-avx512-linux.xml: Likewise. | |
9122 | * features/i386/i386-avx512.c: Likewise. | |
9123 | * features/i386/i386-avx512.xml: Likewise. | |
9124 | * features/i386/x32-avx512-linux.c: Likewise. | |
9125 | * features/i386/x32-avx512-linux.xml: Likewise. | |
9126 | * features/i386/x32-avx512.c: Likewise. | |
9127 | * features/i386/x32-avx512.xml: Likewise. | |
9128 | * regformats/i386/amd64-avx512-linux.dat: New file. | |
9129 | * regformats/i386/amd64-avx512.dat: Likewise. | |
9130 | * regformats/i386/i386-avx512-linux.dat: Likewise. | |
9131 | * regformats/i386/i386-avx512.dat: Likewise. | |
9132 | * regformats/i386/x32-avx512-linux.dat: Likewise. | |
9133 | * regformats/i386/x32-avx512.dat: Likewise. | |
9134 | * NEWS: Add note about new support for AVX512. | |
9135 | ||
9136 | ||
08351840 PA |
9137 | 2014-04-23 Pedro Alves <palves@redhat.com> |
9138 | ||
9139 | * breakpoint.c (insert_bp_location): Tolerate errors if the | |
9140 | breakpoint is set in a user-loaded objfile. | |
9141 | (remove_breakpoint_1): Likewise. Also tolerate errors if the | |
9142 | location is marked shlib_disabled. If the breakpoint is set in a | |
9143 | user-loaded objfile is a GDB-side memory breakpoint, validate it | |
9144 | before uninsertion. (disable_breakpoints_in_freed_objfile): Skip | |
9145 | non-OBJF_USERLOADED objfiles. Don't clear the location's inserted | |
9146 | flag. | |
9147 | * mem-break.c (memory_validate_breakpoint): New function. | |
9148 | * objfiles.c (userloaded_objfile_contains_address_p): New | |
9149 | function. | |
9150 | * objfiles.h (userloaded_objfile_contains_address_p): Declare. | |
9151 | * target.h (memory_validate_breakpoint): New declaration. | |
9152 | ||
076855f9 PA |
9153 | 2014-04-23 Pedro Alves <palves@redhat.com> |
9154 | ||
9155 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): If | |
9156 | the breakpoint is set in a shared library, only suppress | |
9157 | errors for software breakpoints, not hardware breakpoints. | |
9158 | ||
483805cf PA |
9159 | 2014-04-22 Pedro Alves <palves@redhat.com> |
9160 | ||
9161 | * infrun.c (schedlock_applies): New function, factored out from | |
9162 | find_thread_needs_step_over. | |
9163 | (find_thread_needs_step_over): Use it. | |
9164 | (switch_back_to_stepped_thread): Always clear trap_expected if the | |
9165 | step over is finished. Return early if scheduler locking applies. | |
9166 | Look for the stepping thread and a potential step-over thread with | |
9167 | a single loop. | |
9168 | (currently_stepping_or_nexting_callback): Delete. | |
9169 | ||
a75fef0e NC |
9170 | 2014-04-22 Nick Clifton <nickc@redhat.com> |
9171 | ||
9172 | * NEWS: Mention that ARM sim now supports tracing. | |
9173 | ||
48b6e87e YQ |
9174 | 2014-04-22 Yao Qi <yao@codesourcery.com> |
9175 | ||
9176 | * tracefile-tfile.c (tfile_fetch_registers): Move the bottom | |
9177 | to ... | |
9178 | * tracefile.c (tracefile_fetch_registers): ... it. New | |
9179 | function. | |
9180 | * tracefile.h (tracefile_fetch_registers): Declare. | |
9181 | * ctf.c (ctf_fetch_registers): Remove the bottom. Call | |
9182 | tracefile_fetch_registers. | |
9183 | ||
17617f2d EZ |
9184 | 2014-04-19 Eli Zaretskii <eliz@gnu.org> |
9185 | ||
9186 | PR gdb/14018 | |
9187 | * windows-nat.c (thread_rec): Don't display a warning when | |
9188 | SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread | |
9189 | fails for any reason, set th->suspended to -1, so that we don't | |
9190 | try to resume such a thread. Also, don't return NULL in these | |
9191 | cases, to avoid completely ruin the session due to "PC register is | |
9192 | not available" error. | |
9193 | (do_windows_fetch_inferior_registers): Check errors in | |
9194 | GetThreadContext call. | |
9195 | (windows_continue): Accept an additional argument KILLED; if not | |
9196 | zero, ignore errors in the SetThreadContext call, since the | |
9197 | inferior was killed and is shutting down. | |
9198 | (windows_resume, get_windows_debug_event) | |
9199 | (windows_create_inferior, windows_mourn_inferior) | |
9200 | (windows_kill_inferior): All callers of windows_continue changed | |
9201 | to adjust to its new calling sequence. | |
9202 | ||
5723a6fd YQ |
9203 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
9204 | ||
9205 | * ctf.c (ctf_open): Call post_create_inferior. | |
9206 | ||
614d5099 YQ |
9207 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
9208 | ||
9209 | * ctf.c (handle_id): New static variable. | |
9210 | (ctf_open_dir): Get handle_id from bt_context_add_trace return | |
9211 | value. Get the declaration of event "register" and get length | |
9212 | of field "contents". | |
9213 | ||
dac3e710 YQ |
9214 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
9215 | ||
9216 | * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp. | |
9217 | ||
2bca57ba SC |
9218 | 2014-04-18 Siva Chandra Reddy <sivachandra@google.com> |
9219 | ||
9220 | * valops.c (oload_method_static): Remove unnecessary argument | |
9221 | METHOD. Update all callers. | |
9222 | ||
51d48146 PA |
9223 | 2014-04-18 Pedro alves <palves@redhat.com> |
9224 | Tom Tromey <tromey@redhat.com> | |
9225 | ||
9226 | PR backtrace/15558 | |
9227 | * frame.c (get_prev_frame_1): Rename to ... | |
9228 | (get_prev_frame_always): ... this, and make extern. Adjust. | |
9229 | (skip_artificial_frames): Use get_prev_frame_always. | |
9230 | (frame_unwind_caller_id, frame_pop, get_prev_frame) | |
9231 | (get_frame_unwind_stop_reason): Adjust to rename. | |
9232 | * frame.h (get_prev_frame_always): Declare. | |
9233 | * inline-frame.c: Include frame.h. | |
9234 | (inline_frame_this_id): Use get_prev_frame_always. | |
9235 | ||
1bdad2e0 TG |
9236 | 2014-04-18 Tristan Gingold <gingold@adacore.com> |
9237 | ||
9238 | * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify | |
9239 | code by using bfd_mach_o_get_base_address. | |
9240 | ||
7ce16bd4 UW |
9241 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
9242 | ||
9243 | * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h". | |
9244 | (spu_ax_pseudo_register_collect): New function. | |
9245 | (spu_ax_pseudo_register_push_stack): Likewise. | |
9246 | (spu_dwarf_reg_to_regnum): Likewise. | |
9247 | (spu_gdbarch_init): Install them. Append DWARF unwinders. | |
9248 | ||
2ed3c037 UW |
9249 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
9250 | ||
9251 | * gdbarch.sh (value_from_register): Make class "m" instead of "f". | |
9252 | Replace FRAME argument with FRAME_ID. | |
9253 | * gdbarch.c, gdbarch.h: Regenerate. | |
9254 | * findvar.c (default_value_from_register): Add GDBARCH argument; | |
9255 | replace FRAME by FRAME_ID. No longer call get_frame_id. | |
9256 | (value_from_register): Update call to gdbarch_value_from_register. | |
9257 | * value.h (default_value_from_register): Update prototype. | |
9258 | * s390-linux-tdep.c (s390_value_from_register): Update interface | |
9259 | and call to default_value_from_register. | |
9260 | * spu-tdep.c (spu_value_from_register): Likewise. | |
9261 | ||
9262 | * findvar.c (address_from_register): Remove TYPE argument. | |
9263 | Do not call value_from_register; use gdbarch_value_from_register | |
9264 | with null_frame_id instead. | |
9265 | * value.h (address_from_register): Update prototype. | |
9266 | * dwarf2-frame.c (read_addr_from_reg): Use address_from_register. | |
9267 | * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for | |
9268 | address_from_register interface change. | |
9269 | ||
71e50e83 YQ |
9270 | 2014-04-17 Yao Qi <yao@codesourcery.com> |
9271 | ||
9272 | * gdbtypes.h: Update comments to link to types and macros' | |
9273 | definitions. | |
9274 | ||
7a23c549 SC |
9275 | 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> |
9276 | ||
9277 | * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS. | |
9278 | ||
22869d73 KS |
9279 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
9280 | ||
9281 | PR gdb/15827 | |
9282 | * dwarf2read.c (skip_one_die): Check that all relative-offset | |
9283 | sibling DIEs fall within range of the current reader's buffer. | |
9284 | (read_partial_die): Likewise. | |
9285 | ||
c4f87ca6 KS |
9286 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
9287 | ||
9288 | PR c++/16597 | |
9289 | * cp-namespace.c (lookup_symbol_file): If the type name of | |
9290 | `this' is NULL, return immediately. | |
9291 | ||
b50c8614 KS |
9292 | 2014-04-14 Keith Seitz <keiths@redhat.com> |
9293 | ||
9294 | PR c++/16253 | |
9295 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
9296 | from symbol_matches_domain in symtab.c. All local callers | |
9297 | of symbol_matches_domain updated. | |
9298 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
9299 | search STRUCT_DOMAIN. | |
9300 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
9301 | independently. standard_lookup will do that automatically. | |
9302 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
9303 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
9304 | (cp_lookup_symbol_in_namespace): Likewise. | |
9305 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
9306 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
9307 | may return a STRUCT_DOMAIN match. | |
9308 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
9309 | * cp-support.c: Include language.h. | |
9310 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
9311 | VAR_DOMAIN. | |
9312 | * psymtab.c (match_partial_symbol): Compare the requested | |
9313 | domain with the symbol's domain directly. | |
9314 | (lookup_partial_symbol): Likewise. | |
9315 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
9316 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
9317 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
9318 | appropriate languages. | |
9319 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
9320 | and moved to ada-lang.c | |
9321 | (lookup_block_symbol): Explain that this function only returns | |
9322 | symbol matching the requested DOMAIN. | |
9323 | Compare the requested domain with the symbol's domain directly. | |
9324 | (iterate_over_symbols): Compare the requested domain with the | |
9325 | symbol's domain directly. | |
9326 | * symtab.h (symbol_matches_domain): Remove. | |
9327 | ||
3d567982 TT |
9328 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
9329 | ||
9330 | PR c++/15246: | |
9331 | * c-exp.y (type_aggregate_p): New function. | |
9332 | (qualified_name, classify_inner_name): Use it. | |
9333 | * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS | |
9334 | and TYPE_TARGET_TYPE of an enum type. | |
9335 | * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on | |
9336 | an enum type. | |
9337 | (determine_prefix) <case DW_TAG_enumeration_type>: New case; | |
9338 | handle TYPE_DECLARED_CLASS. | |
9339 | * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum | |
9340 | types. | |
9341 | * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment. | |
9342 | * valops.c (enum_constant_from_type): New function. | |
9343 | (value_aggregate_elt): Use it. | |
9344 | * cp-namespace.c (cp_lookup_nested_symbol): Handle | |
9345 | TYPE_CODE_ENUM. | |
9346 | ||
c848d642 TT |
9347 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
9348 | ||
9349 | * valops.c (value_aggregate_elt, value_struct_elt_for_reference) | |
9350 | (value_namespace_elt, value_maybe_namespace_elt): Make "name" | |
9351 | const. | |
9352 | * value.h (value_aggregate_elt): Update. | |
9353 | ||
0626fc76 TT |
9354 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
9355 | ||
9356 | * dwarf2read.c (read_enumeration_type): Handle DW_AT_type. | |
9357 | ||
5ecaaa66 SA |
9358 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9359 | ||
9360 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
9361 | (evaluate_subexp_standard): Pass noside argument. | |
9362 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
9363 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
9364 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
9365 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
9366 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
9367 | ||
1612e0c0 SA |
9368 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9369 | ||
9370 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
9371 | points to a constant blob. | |
9372 | ||
c451ebe5 SA |
9373 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9374 | ||
9375 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
9376 | property and store it as the high bound and flag the range accordingly. | |
9377 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
9378 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
9379 | * gdbtypes.h (enum range_flags): New enum. | |
9380 | (struct range_bounds): Add flags member. | |
9381 | ||
1d42e4c4 SA |
9382 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9383 | ||
9384 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
9385 | check for not yet resolved high bound. If unresolved, print | |
9386 | "variable length" string to the console instead of random | |
9387 | length. | |
9388 | ||
9f1f738a SA |
9389 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9390 | ||
9391 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from | |
9392 | value. | |
9393 | (ada_template_to_fixed_record_type_1): Likewise. | |
9394 | (ada_to_fixed_type_1): Likewise. | |
9395 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
9396 | (cp_print_value): Likewise. | |
9397 | * d-valprint.c (dynamic_array_type): Likewise. | |
9398 | * findvar.c (address_of_variable): Likewise. | |
9399 | * jv-valprint.c (java_value_print): Likewise. | |
9400 | * valops.c (value_ind): Likewise. | |
9401 | * value.c (coerce_ref): Likewise. | |
9402 | ||
3c8452d4 SA |
9403 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9404 | ||
9405 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
9406 | value and retrieve the dynamic type size. | |
9407 | ||
4ad88275 SA |
9408 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9409 | ||
9410 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
9411 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
9412 | ||
80180f79 SA |
9413 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9414 | Joel Brobecker <brobecker@adacore.com> | |
9415 | ||
9416 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
9417 | (dwarf2_evaluate_property): New function. | |
9418 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
9419 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
9420 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
9421 | attribute. | |
9422 | * gdbtypes.c: Include dwarf2loc.h. | |
9423 | (is_dynamic_type): New function. | |
9424 | (resolve_dynamic_type): New function. | |
9425 | (resolve_dynamic_bounds): New function. | |
9426 | (get_type_length): New function. | |
9427 | (check_typedef): Use get_type_length to compute type length. | |
9428 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
9429 | (TYPE_LOW_BOUND_KIND): New macro. | |
9430 | (is_dynamic_type): New function prototype. | |
9431 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
9432 | to resolve dynamic properties of the type. Update comment. | |
9433 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
9434 | ||
a1556843 RH |
9435 | 2014-04-14 Richard Henderson <rth@redhat.com> |
9436 | ||
9437 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype. | |
9438 | ||
0be03e84 DE |
9439 | 2014-04-12 Siva Chandra Reddy <sivachandra@google.com> |
9440 | Doug Evans <xdje42@gmail.com> | |
9441 | ||
9442 | * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to | |
9443 | dereference TYPE_CODE_REF values. | |
9444 | ||
6b662e19 JB |
9445 | 2014-04-11 Joel Brobecker <brobecker@adacore.com> |
9446 | ||
9447 | Revert the following changes due to regressions: | |
9448 | ||
9449 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
9450 | (dwarf2_evaluate_property): New function. | |
9451 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
9452 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
9453 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
9454 | attribute. | |
9455 | * gdbtypes.c: Include dwarf2loc.h. | |
9456 | (is_dynamic_type): New function. | |
9457 | (resolve_dynamic_type): New function. | |
9458 | (resolve_dynamic_bounds): New function. | |
9459 | (get_type_length): New function. | |
9460 | (check_typedef): Use get_type_length to compute type length. | |
9461 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
9462 | (TYPE_LOW_BOUND_KIND): New macro. | |
9463 | (is_dynamic_type): New function prototype. | |
9464 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
9465 | to resolve dynamic properties of the type. Update comment. | |
9466 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
9467 | ||
9468 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
9469 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
9470 | ||
9471 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
9472 | value and retrieve the dynamic type size. | |
9473 | ||
9474 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
9475 | (ada_template_to_fixed_record_type_1): Likewise. | |
9476 | (ada_to_fixed_type_1): Likewise. | |
9477 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
9478 | (cp_print_value): Likewise. | |
9479 | * d-valprint.c (dynamic_array_type): Likewise. | |
9480 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
9481 | * findvar.c (address_of_variable): Likewise. | |
9482 | * jv-valprint.c (java_value_print): Likewise. | |
9483 | * valops.c (value_ind): Likewise. | |
9484 | * value.c (coerce_ref): Likewise. | |
9485 | ||
9486 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
9487 | check for not yet resolved high bound. If unresolved, print | |
9488 | "variable length" string to the console instead of random | |
9489 | length. | |
9490 | ||
9491 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
9492 | property and store it as the high bound and flag the range accordingly. | |
9493 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
9494 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
9495 | * gdbtypes.h (enum range_flags): New enum. | |
9496 | (struct range_bounds): Add flags member. | |
9497 | ||
9498 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
9499 | points to a constant blob. | |
9500 | ||
9501 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
9502 | (evaluate_subexp_standard): Pass noside argument. | |
9503 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
9504 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
9505 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
9506 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
9507 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
9508 | ||
245a5f0b KS |
9509 | 2014-04-11 Keith Seitz <keiths@redhat.com> |
9510 | ||
9511 | PR c++/16675 | |
9512 | * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types. | |
9513 | * eval.c (evaluate_subexp_for_sizeof): Refactor and handle | |
9514 | reference types. | |
9515 | ||
3bce8237 SA |
9516 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9517 | ||
9518 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
9519 | (evaluate_subexp_standard): Pass noside argument. | |
9520 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
9521 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
9522 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
9523 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
9524 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
9525 | ||
92b09522 SA |
9526 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9527 | ||
9528 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
9529 | points to a constant blob. | |
9530 | ||
e1969afb SA |
9531 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9532 | ||
9533 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
9534 | property and store it as the high bound and flag the range accordingly. | |
9535 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
9536 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
9537 | * gdbtypes.h (enum range_flags): New enum. | |
9538 | (struct range_bounds): Add flags member. | |
9539 | ||
b86138fb SA |
9540 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9541 | ||
9542 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
9543 | check for not yet resolved high bound. If unresolved, print | |
9544 | "variable length" string to the console instead of random | |
9545 | length. | |
9546 | ||
bcd629a4 SA |
9547 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9548 | ||
9549 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
9550 | (ada_template_to_fixed_record_type_1): Likewise. | |
9551 | (ada_to_fixed_type_1): Likewise. | |
9552 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
9553 | (cp_print_value): Likewise. | |
9554 | * d-valprint.c (dynamic_array_type): Likewise. | |
9555 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
9556 | * findvar.c (address_of_variable): Likewise. | |
9557 | * jv-valprint.c (java_value_print): Likewise. | |
9558 | * valops.c (value_ind): Likewise. | |
9559 | * value.c (coerce_ref): Likewise. | |
9560 | ||
04b19544 SA |
9561 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9562 | ||
9563 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
9564 | value and retrieve the dynamic type size. | |
9565 | ||
26cb189f SA |
9566 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9567 | ||
9568 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
9569 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
9570 | ||
37c1ab67 SA |
9571 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9572 | ||
9573 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
9574 | (dwarf2_evaluate_property): New function. | |
9575 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
9576 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
9577 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
9578 | attribute. | |
9579 | * gdbtypes.c: Include dwarf2loc.h. | |
9580 | (is_dynamic_type): New function. | |
9581 | (resolve_dynamic_type): New function. | |
9582 | (resolve_dynamic_bounds): New function. | |
9583 | (get_type_length): New function. | |
9584 | (check_typedef): Use get_type_length to compute type length. | |
9585 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
9586 | (TYPE_LOW_BOUND_KIND): New macro. | |
9587 | (is_dynamic_type): New function prototype. | |
9588 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
9589 | to resolve dynamic properties of the type. Update comment. | |
9590 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
9591 | ||
729efb13 SA |
9592 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9593 | ||
9594 | * dwarf2read.c (read_subrange_type): Use struct bound_prop for | |
9595 | declaring high/low bounds and change uses accordingly. Call | |
9596 | create_range_type instead of create_static_range_type. | |
9597 | * gdbtypes.c (create_range_type): New function. | |
9598 | (create_range_type): Convert bounds into struct bound_prop and pass | |
9599 | them to create_range_type. | |
9600 | * gdbtypes.h (struct bound_prop): New struct. | |
9601 | (create_range_type): New function prototype. | |
9602 | (struct range_bounds): Use struct bound_prop instead of LONGEST for | |
9603 | high/low bounds. Remove low_undefined/high_undefined and adapt all uses. | |
9604 | (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static | |
9605 | part of the bound. | |
9606 | * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED. | |
9607 | ||
0c9c3474 SA |
9608 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9609 | ||
9610 | * gdbtypes.c (create_static_range_type): Renamed from create_range_type. | |
9611 | * gdbtypes.h (create_static_range_type): Renamed from create_range_type. | |
9612 | * ada-lang.c: All uses of create_range_type updated. | |
9613 | * coffread.c: All uses of create_range_type updated. | |
9614 | * dwarf2read.c: All uses of create_range_type updated. | |
9615 | * f-exp.y: All uses of create_range_type updated. | |
9616 | * m2-valprint.c: All uses of create_range_type updated. | |
9617 | * mdebugread.c: All uses of create_range_type updated. | |
9618 | * stabsread.c: All uses of create_range_type updated. | |
9619 | * valops.c: All uses of create_range_type updated. | |
9620 | * valprint.c: All uses of create_range_type updated. | |
9621 | ||
9d497a19 PA |
9622 | 2014-04-10 Pedro Alves <palves@redhat.com> |
9623 | ||
9624 | * breakpoint.c (single_step_breakpoints) | |
9625 | (single_step_gdbarch): Move up in the file. | |
9626 | (one_breakpoint_xfer_memory): New function, factored out from ... | |
9627 | (breakpoint_xfer_memory): ... here. Also process single-step | |
9628 | breakpoints. | |
9629 | ||
15a9128a TG |
9630 | 2014-04-09 Tristan Gingold <gingold@adacore.com> |
9631 | ||
9632 | * darwin-nat.c (darwin_check_new_threads): Fix port leak, add | |
9633 | comments. | |
9634 | (darwin_decode_exception_message): Free port only after use. | |
9635 | ||
9c97a070 PL |
9636 | 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com> |
9637 | ||
9638 | * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment. | |
9639 | (avr_gdbarch_init): Add xmega architectures given by bfd_architecture | |
9640 | when setting the size of call_length. | |
9641 | ||
7af389b8 SC |
9642 | 2014-04-07 Siva Chandra Reddy <sivachandra@google.com> |
9643 | ||
9644 | * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to | |
9645 | dereference TYPE_CODE_REF values. | |
9646 | ||
86ad98c3 JB |
9647 | 2014-04-07 Joel Brobecker <brobecker@adacore.com> |
9648 | ||
9649 | * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at | |
9650 | end of warning message. | |
9651 | ||
b0aeadb3 DE |
9652 | 2014-04-03 Doug Evans <dje@google.com> |
9653 | ||
9654 | * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one | |
9655 | of stub_comp_unit_die, stub_comp_dir is non-NULL. | |
9656 | ||
5979d6b6 AM |
9657 | 2014-04-02 Alan Modra <amodra@gmail.com> |
9658 | ||
9659 | * symfile-mem.c (symbol_file_add_from_memory): Add size parameter. | |
9660 | Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers. | |
9661 | (struct symbol_file_add_from_memory_args): Add size field. | |
9662 | (find_vdso_size): New function. | |
9663 | (add_vsyscall_page): Attempt to find vdso size. | |
9664 | ||
0d60c288 DE |
9665 | 2014-04-01 Doug Evans <dje@google.com> |
9666 | ||
9667 | * dwarf2read.c (read_cutu_die_from_dwo): Improve comment. | |
9668 | ||
a41f2563 TG |
9669 | 2014-04-01 Tristan Gingold <gingold@adacore.com> |
9670 | ||
9671 | * darwin-nat.c (darwin_encode_reply): Add prototype. | |
9672 | (darwin_decode_exception_message): Reply to unknown inferiors. | |
9673 | (darwin_decode_message): Handle message by id. Ignore message | |
9674 | to unknown inferior. | |
9675 | (darwin_wait): Discard unknown messages, add debug trace. | |
9676 | ||
11a865c8 DE |
9677 | 2014-03-31 Doug Evans <dje@google.com> |
9678 | ||
9679 | * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local | |
9680 | comp_dir_string. | |
9681 | ||
770e7fc7 DE |
9682 | 2014-03-31 Doug Evans <dje@google.com> |
9683 | ||
9684 | New option "set print symbol-loading". | |
9685 | * NEWS: Mention it. | |
9686 | * solib.c (solib_read_symbols): Only print symbol loading messages | |
9687 | if requested. | |
9688 | (solib_add): If symbol loading is in "brief" mode, notify user | |
9689 | symbols are being loaded. | |
9690 | (reload_shared_libraries_1): Ditto. | |
9691 | * symfile.c (print_symbol_loading_off): New static global. | |
9692 | (print_symbol_loading_brief): New static global. | |
9693 | (print_symbol_loading_full): New static global. | |
9694 | (print_symbol_loading_enums): New static global. | |
9695 | (print_symbol_loading): New static global. | |
9696 | (print_symbol_loading_p): New function. | |
9697 | (symbol_file_add_with_addrs): Only print symbol loading messages | |
9698 | if requested. | |
9699 | (_initialize_symfile): Register "print symbol-loading" set/show | |
9700 | command. | |
9701 | * symfile.h (print_symbol_loading_p): Declare. | |
9702 | ||
c32c64b7 DE |
9703 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
9704 | ||
9705 | * infrun.c (set_last_target_status): New function. | |
9706 | (handle_inferior_event): Call it. | |
9707 | ||
7c0bc051 DE |
9708 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
9709 | ||
9710 | * inferior.h (enum stop_kind): Improve comment. | |
9711 | ||
8776cfe9 JB |
9712 | 2014-03-28 Joel Brobecker <brobecker@adacore.com> |
9713 | ||
9714 | * varobj.c (varobj_value_has_mutated): If NEW_VALUE is | |
9715 | a reference, strip the reference layer before calling | |
9716 | the lang_ops value_has_mutated callback. | |
9717 | ||
410a0ff2 SDJ |
9718 | 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com> |
9719 | ||
9720 | Remove some globals from our parser. | |
9721 | * language.c (unk_lang_parser): Add "struct parser_state" | |
9722 | argument. | |
9723 | * language.h (struct language_defn) <la_parser>: Likewise. | |
9724 | * parse.c (expout, expout_size, expout_ptr): Remove variables. | |
9725 | (initialize_expout): Add "struct parser_state" argument. | |
9726 | Rewrite function to use the parser state. | |
9727 | (reallocate_expout, write_exp_elt, write_exp_elt_opcode, | |
9728 | write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile, | |
9729 | write_exp_elt_longcst, write_exp_elt_dblcst, | |
9730 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
9731 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
9732 | write_exp_bitstring, write_exp_msymbol, mark_struct_expression, | |
9733 | write_dollar_variable): Likewise. | |
9734 | (parse_exp_in_context_1): Use parser state. | |
9735 | (insert_type_address_space): Add "struct parser_state" argument. | |
9736 | Use parser state. | |
9737 | (increase_expout_size): New function. | |
9738 | * parser-defs.h: Forward declare "struct language_defn" and | |
9739 | "struct parser_state". | |
9740 | (expout, expout_size, expout_ptr): Remove extern declarations. | |
9741 | (parse_gdbarch, parse_language): Rewrite macro declarations to | |
9742 | accept the parser state. | |
9743 | (struct parser_state): New struct. | |
9744 | (initialize_expout, reallocate_expout, write_exp_elt_opcode, | |
9745 | write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst, | |
9746 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
9747 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
9748 | write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile, | |
9749 | write_exp_msymbol, write_dollar_variable, | |
9750 | mark_struct_expression, insert_type_address_space): Add "struct | |
9751 | parser_state" argument. | |
9752 | (increase_expout_size): New function. | |
9753 | * utils.c (do_clear_parser_state): New function. | |
9754 | (make_cleanup_clear_parser_state): Likewise. | |
9755 | * utils.h (make_cleanup_clear_parser_state): New function | |
9756 | prototype. | |
9757 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): | |
9758 | Update calls to write_exp* in order to pass the parser state. | |
9759 | * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise. | |
9760 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise. | |
9761 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
9762 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise. | |
9763 | * stap-probe.c (stap_parse_register_operand): Likewise. | |
9764 | (stap_parse_single_operand): Likewise. | |
9765 | (stap_parse_argument_1): Likewise. | |
9766 | (stap_parse_argument): Use parser state. | |
9767 | * stap-probe.h: Include "parser-defs.h". | |
9768 | (struct stap_parse_info) <pstate>: New field. | |
9769 | * c-exp.y (parse_type): Rewrite to use parser state. | |
9770 | (yyparse): Redefine to c_parse_internal. | |
9771 | (pstate): New global variable. | |
9772 | (parse_number): Add "struct parser_state" argument. | |
9773 | (write_destructor_name): Likewise. | |
9774 | (type_exp): Update calls to write_exp* and similars in order to | |
9775 | use parser state. | |
9776 | (exp1, exp, variable, qualified_name, space_identifier, | |
9777 | typename, typebase): Likewise. | |
9778 | (write_destructor_name, parse_number, lex_one_token, | |
9779 | classify_name, classify_inner_name, c_parse): Add "struct | |
9780 | parser_state" argument. Update function to use parser state. | |
9781 | * c-lang.h: Forward declare "struct parser_state". | |
9782 | (c_parse): Add "struct parser_state" argument. | |
9783 | * ada-exp.y (parse_type): Rewrite macro to use parser state. | |
9784 | (yyparse): Redefine macro to ada_parse_internal. | |
9785 | (pstate): New variable. | |
9786 | (write_int, write_object_renaming, write_var_or_type, | |
9787 | write_name_assoc, write_exp_op_with_string, write_ambiguous_var, | |
9788 | type_int, type_long, type_long_long, type_float, type_double, | |
9789 | type_long_double, type_char, type_boolean, type_system_address): | |
9790 | Add "struct parser_state" argument. | |
9791 | (exp1, primary, simple_exp, relation, and_exp, and_then_exp, | |
9792 | or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix, | |
9793 | var_or_type, aggregate, aggregate_component_list, | |
9794 | positional_list, others, component_group, | |
9795 | component_associations): Update calls to write_exp* and similar | |
9796 | functions in order to use parser state. | |
9797 | (ada_parse, write_var_from_sym, write_int, | |
9798 | write_exp_op_with_string, write_object_renaming, | |
9799 | find_primitive_type, write_selectors, write_ambiguous_var, | |
9800 | write_var_or_type, write_name_assoc, type_int, type_long, | |
9801 | type_long_long, type_float, type_double, type_long_double, | |
9802 | type_char, type_boolean, type_system_address): Add "struct | |
9803 | parser_state" argument. Adjust function to use parser state. | |
9804 | * ada-lang.c (parse): Likewise. | |
9805 | * ada-lang.h: Forward declare "struct parser_state". | |
9806 | (ada_parse): Add "struct parser_state" argument. | |
9807 | * ada-lex.l (processInt, processReal): Likewise. Adjust all | |
9808 | calls to both functions. | |
9809 | * f-exp.y (parse_type, parse_f_type): Rewrite macros to use | |
9810 | parser state. | |
9811 | (yyparse): Redefine macro to f_parse_internal. | |
9812 | (pstate): New variable. | |
9813 | (parse_number): Add "struct parser_state" argument. | |
9814 | (type_exp, exp, subrange, typebase): Update calls to write_exp* | |
9815 | and similars in order to use parser state. | |
9816 | (parse_number): Adjust code to use parser state. | |
9817 | (yylex): Likewise. | |
9818 | (f_parse): New function. | |
9819 | * f-lang.h: Forward declare "struct parser_state". | |
9820 | (f_parse): Add "struct parser_state" argument. | |
9821 | * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use | |
9822 | parser state. | |
9823 | (yyparse): Redefine macro for java_parse_internal. | |
9824 | (pstate): New variable. | |
9825 | (push_expression_name, push_expression_name, insert_exp): Add | |
9826 | "struct parser_state" argument. | |
9827 | (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType, | |
9828 | FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess, | |
9829 | FuncStart, MethodInvocation, ArrayAccess, PostfixExpression, | |
9830 | PostIncrementExpression, PostDecrementExpression, | |
9831 | UnaryExpression, PreIncrementExpression, PreDecrementExpression, | |
9832 | UnaryExpressionNotPlusMinus, CastExpression, | |
9833 | MultiplicativeExpression, AdditiveExpression, ShiftExpression, | |
9834 | RelationalExpression, EqualityExpression, AndExpression, | |
9835 | ExclusiveOrExpression, InclusiveOrExpression, | |
9836 | ConditionalAndExpression, ConditionalOrExpression, | |
9837 | ConditionalExpression, Assignment, LeftHandSide): Update | |
9838 | calls to write_exp* and similars in order to use parser state. | |
9839 | (parse_number): Ajust code to use parser state. | |
9840 | (yylex): Likewise. | |
9841 | (java_parse): New function. | |
9842 | (push_variable): Add "struct parser_state" argument. Adjust | |
9843 | code to user parser state. | |
9844 | (push_fieldnames, push_qualified_expression_name, | |
9845 | push_expression_name, insert_exp): Likewise. | |
9846 | * jv-lang.h: Forward declare "struct parser_state". | |
9847 | (java_parse): Add "struct parser_state" argument. | |
9848 | * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use | |
9849 | parser state. | |
9850 | (yyparse): Redefine macro to m2_parse_internal. | |
9851 | (pstate): New variable. | |
9852 | (type_exp, exp, fblock, variable, type): Update calls to | |
9853 | write_exp* and similars to use parser state. | |
9854 | (yylex): Likewise. | |
9855 | (m2_parse): New function. | |
9856 | * m2-lang.h: Forward declare "struct parser_state". | |
9857 | (m2_parse): Add "struct parser_state" argument. | |
9858 | * objc-lang.c (end_msglist): Add "struct parser_state" argument. | |
9859 | * objc-lang.h: Forward declare "struct parser_state". | |
9860 | (end_msglist): Add "struct parser_state" argument. | |
9861 | * p-exp.y (parse_type): Rewrite macro to use parser state. | |
9862 | (yyparse): Redefine macro to pascal_parse_internal. | |
9863 | (pstate): New variable. | |
9864 | (parse_number): Add "struct parser_state" argument. | |
9865 | (type_exp, exp1, exp, qualified_name, variable): Update calls to | |
9866 | write_exp* and similars in order to use parser state. | |
9867 | (parse_number, yylex): Adjust code to use parser state. | |
9868 | (pascal_parse): New function. | |
9869 | * p-lang.h: Forward declare "struct parser_state". | |
9870 | (pascal_parse): Add "struct parser_state" argument. | |
9871 | * go-exp.y (parse_type): Rewrite macro to use parser state. | |
9872 | (yyparse): Redefine macro to go_parse_internal. | |
9873 | (pstate): New variable. | |
9874 | (parse_number): Add "struct parser_state" argument. | |
9875 | (type_exp, exp1, exp, variable, type): Update calls to | |
9876 | write_exp* and similars in order to use parser state. | |
9877 | (parse_number, lex_one_token, classify_name, yylex): Adjust code | |
9878 | to use parser state. | |
9879 | (go_parse): Likewise. | |
9880 | * go-lang.h: Forward declare "struct parser_state". | |
9881 | (go_parse): Add "struct parser_state" argument. | |
9882 | ||
342587c4 DE |
9883 | 2014-03-27 Doug Evans <dje@google.com> |
9884 | ||
9885 | * dwarf2read.c (read_str_index): Delete arg cu. All callers updated. | |
9886 | ||
33e80786 DE |
9887 | 2014-03-27 Doug Evans <dje@google.com> |
9888 | ||
9889 | * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments. | |
9890 | Remove argument abbrev_section. All callers updated. | |
9891 | ||
1dbab08b DE |
9892 | 2014-03-27 Doug Evans <dje@google.com> |
9893 | ||
9894 | * dwarf2read.c (struct dwarf2_cu): Improve comments for members | |
9895 | addr_base, ranges_base. | |
9896 | ||
318d3177 KS |
9897 | 2014-03-26 Keith Seitz <keiths@redhat.com> |
9898 | ||
9899 | * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for | |
9900 | types, not VAR_DOMAIN. | |
9901 | ||
1e54db15 SL |
9902 | 2014-03-25 Sandra Loosemore <sandra@codesourcery.com> |
9903 | ||
9904 | * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and | |
9905 | "ra" registers. | |
9906 | * features/nios2-linux.c: Regenerated. | |
9907 | * features/nios2.c: Regenerated. | |
9908 | ||
d3839ede PA |
9909 | 2014-03-25 Pedro Alves <palves@redhat.com> |
9910 | ||
9911 | * cli/cli-script.c (script_from_file): Force the interpreter to | |
9912 | sync mode. | |
9913 | ||
7588d2ec PL |
9914 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
9915 | ||
9916 | * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for | |
9917 | small stack allocation. | |
9918 | ||
a6290449 TG |
9919 | 2014-03-24 Tristan Gingold <gingold@adacore.com> |
9920 | ||
9921 | * darwin-nat.c (exc_server): Remove unused prototype. | |
9922 | (darwin_dump_message): Correctly display data on x86_64. | |
9923 | (darwin_encode_reply): Fix style. | |
9924 | Add comments and fix indentation. | |
9925 | ||
31ae9d24 | 9926 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
69fa4030 PL |
9927 | |
9928 | * MAINTAINERS (Write After Approval): Add "Pierre Langlois". | |
9929 | ||
6339bfc4 DE |
9930 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
9931 | ||
9932 | * infcmd.c: Whitespace fixes. | |
9933 | (interrupt_command): Merge two function comments into one. | |
9934 | ||
0a07590b DE |
9935 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
9936 | ||
9937 | * infcmd.c (interrupt_command): Renamed from interrupt_target_command. | |
9938 | All uses updated. | |
9939 | ||
b55fbac4 YQ |
9940 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
9941 | ||
9942 | * remote.c (target_read_live_memory): Remove. | |
9943 | (memory_xfer_live_readonly_partial): Rename it to | |
9944 | remote_xfer_live_readonly_partial. Remove argument 'object'. | |
9945 | All callers updated. Call remote_read_bytes_1 | |
9946 | instead of target_read_live_memory. | |
9947 | * tracepoint.c (set_traceframe_number): Remove. | |
9948 | (make_cleanup_restore_traceframe_number): Likewise . | |
9949 | * tracepoint.h (set_traceframe_number): Remove declaration. | |
9950 | (make_cleanup_restore_traceframe_number): Likewise. | |
9951 | ||
9217e74e YQ |
9952 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
9953 | ||
9954 | * remote.c (remote_read_bytes): Move code on reading from the | |
9955 | remote stub to ... | |
9956 | (remote_read_bytes_1): ... here. New function. | |
9957 | ||
8acf9577 YQ |
9958 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
9959 | ||
9960 | * ctf.c (ctf_xfer_partial): Check the return value of | |
9961 | exec_read_partial_read_only, if it is not TARGET_XFER_OK, | |
9962 | return TARGET_XFER_UNAVAILABLE. | |
9963 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
9964 | * target.c (target_read_live_memory): Move it to remote.c. | |
9965 | (memory_xfer_live_readonly_partial): Likewise. | |
9966 | (memory_xfer_partial_1): Move some code to remote_read_bytes. | |
9967 | * remote.c (target_read_live_memory): Moved from target.c. | |
9968 | (memory_xfer_live_readonly_partial): Likewise. | |
9969 | (remote_read_bytes): Factored out from | |
9970 | memory_xfer_partial_1. | |
9971 | ||
feef67ab DE |
9972 | 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com> |
9973 | ||
9974 | * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing | |
9975 | NULL pointer. | |
9976 | ||
b65dc60b PA |
9977 | 2014-03-21 Pedro Alves <palves@redhat.com> |
9978 | ||
9979 | * infrun.c (normal_stop): Extend comment. | |
9980 | ||
b4ab256d HZ |
9981 | 2014-03-21 Hui Zhu <hui@codesourcery.com> |
9982 | Pedro Alves <palves@redhat.com> | |
9983 | ||
9984 | * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to | |
9985 | static buffer. | |
9986 | * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto. | |
9987 | * linux-nat.c (linux_child_pid_to_exec_file): Ditto. | |
9988 | * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto. | |
9989 | ||
deba7593 MR |
9990 | 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com> |
9991 | ||
9992 | * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99 | |
9993 | `z' formatted output modifier. | |
9994 | ||
1bff71c3 SDJ |
9995 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
9996 | Sergio Durigan Junior <sergiodj@redhat.com> | |
9997 | ||
9998 | * probe.c (parse_probes): Turn assert into an ordinary error. | |
9999 | * break-catch-throw.c (re_set_exception_catchpoint): Ignore | |
10000 | exceptions when parsing probes. Rearrange the code for clarity. | |
10001 | ||
90e28950 TT |
10002 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
10003 | ||
10004 | PR gdb/14135 | |
10005 | * top.c (execute_command): Only dispatch events if the command | |
10006 | started the target. | |
10007 | ||
beb460e8 PA |
10008 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
10009 | ||
10010 | PR cli/15718 | |
10011 | * infcall.c: Include event-top.h. | |
10012 | (run_inferior_call): Call async_disable_stdin if needed. | |
10013 | ||
99619bea PA |
10014 | 2014-03-20 Pedro Alves <palves@redhat.com> |
10015 | ||
10016 | * infrun.c (prepare_to_proceed): Delete. | |
10017 | (thread_still_needs_step_over): New function. | |
10018 | (find_thread_needs_step_over): New function. | |
10019 | (proceed): If the current thread needs a step-over, set its | |
10020 | steping_over_breakpoint flag. Adjust to use | |
10021 | find_thread_needs_step_over instead of prepare_to_proceed. | |
10022 | (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and | |
10023 | BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a | |
10024 | breakpoint. | |
10025 | (switch_back_to_stepped_thread): Step over breakpoints of all | |
10026 | threads not the stepping thread, before switching back to the | |
10027 | stepping thread. | |
10028 | ||
2adfaa28 PA |
10029 | 2014-03-20 Pedro Alves <palves@redhat.com> |
10030 | ||
10031 | * breakpoint.c (single_step_breakpoint_inserted_here_p): Make | |
10032 | extern. | |
10033 | * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare. | |
10034 | * infrun.c (saved_singlestep_ptid) | |
10035 | (stepping_past_singlestep_breakpoint): Delete. | |
10036 | (resume): Remove stepping_past_singlestep_breakpoint handling. | |
10037 | (proceed): Store the prev_pc of the stepping thread too. | |
10038 | (init_wait_for_inferior): Adjust. Clear singlestep_ptid and | |
10039 | singlestep_pc. | |
10040 | (enum infwait_states): Delete infwait_thread_hop_state. | |
10041 | (struct execution_control_state) <hit_singlestep_breakpoint>: New | |
10042 | field. | |
10043 | (handle_inferior_event): Adjust. | |
10044 | (handle_signal_stop): Delete stepping_past_singlestep_breakpoint | |
10045 | handling and the thread-hop code. Before removing single-step | |
10046 | breakpoints, check whether the thread hit a single-step breakpoint | |
10047 | of another thread. If it did, the trap is not a random signal. | |
10048 | (switch_back_to_stepped_thread): If the event thread hit a | |
10049 | single-step breakpoint, unblock it before switching to the | |
10050 | stepping thread. Handle the case of the stepped thread having | |
10051 | advanced already. | |
10052 | (keep_going): Handle the case of the current thread moving past a | |
10053 | single-step breakpoint. | |
10054 | ||
31e77af2 PA |
10055 | 2014-03-20 Pedro Alves <palves@redhat.com> |
10056 | ||
10057 | PR breakpoints/7143 | |
10058 | * breakpoint.c (should_be_inserted): Don't insert breakpoints that | |
10059 | are being stepped over. | |
10060 | (breakpoint_address_match): Make extern. | |
10061 | * breakpoint.h (breakpoint_address_match): New declaration. | |
10062 | * inferior.h (stepping_past_instruction_at): New declaration. | |
10063 | * infrun.c (struct step_over_info): New type. | |
10064 | (step_over_info): New global. | |
10065 | (set_step_over_info, clear_step_over_info) | |
10066 | (stepping_past_instruction_at): New functions. | |
10067 | (handle_inferior_event): Clear the step-over info when | |
10068 | trap_expected is cleared. | |
10069 | (resume): Remove now stale comment. | |
10070 | (clear_proceed_status): Clear step-over info. | |
10071 | (proceed): Adjust step-over handling to set or clear the step-over | |
10072 | info instead of removing all breakpoints. | |
10073 | (handle_signal_stop): When setting up a thread-hop, don't remove | |
10074 | breakpoints here. | |
10075 | (stop_stepping): Clear step-over info. | |
10076 | (keep_going): Adjust step-over handling to set or clear step-over | |
10077 | info and then always inserting breakpoints, instead of removing | |
10078 | all breakpoints when stepping over one. | |
10079 | ||
b9f437de PA |
10080 | 2014-03-20 Pedro Alves <palves@redhat.com> |
10081 | ||
10082 | * infrun.c (previous_inferior_ptid): Adjust comment. | |
10083 | (deferred_step_ptid): Delete. | |
10084 | (infrun_thread_ptid_changed, prepare_to_proceed) | |
10085 | (init_wait_for_inferior): Adjust. | |
10086 | (handle_signal_stop): Delete deferred_step_ptid handling. | |
10087 | ||
06c868a8 JK |
10088 | 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
10089 | ||
10090 | PR gdb/15358 | |
10091 | * defs.h (sync_quit_force_run): New declaration. | |
10092 | (QUIT): Check also SYNC_QUIT_FORCE_RUN. | |
10093 | * event-top.c (async_sigterm_handler): New declaration. | |
10094 | (async_sigterm_token): New variable. | |
10095 | (async_init_signals): Create also async_sigterm_token. | |
10096 | (async_sigterm_handler): New function. | |
10097 | (sync_quit_force_run): New variable. | |
10098 | (handle_sigterm): Replace quit_force call by other calls. | |
10099 | * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN. | |
10100 | ||
dea80df0 MR |
10101 | 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com> |
10102 | ||
10103 | * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR | |
10104 | offset into SPE pseudo registers. | |
10105 | ||
0c7e1a46 PA |
10106 | 2014-03-18 Pedro Alves <palves@redhat.com> |
10107 | ||
10108 | PR gdb/13860 | |
10109 | * inferior.h (print_stop_event): Declare. | |
10110 | * infrun.c (print_stop_event): New, factored out from ... | |
10111 | (normal_stop): ... this. | |
10112 | * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead | |
10113 | of bpstat_print/print_stack_frame. | |
10114 | ||
9c1fcd01 TT |
10115 | 2014-03-17 Tom Tromey <tromey@redhat.com> |
10116 | ||
10117 | * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id. | |
10118 | ||
11aa919a PMR |
10119 | 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com> |
10120 | ||
10121 | * ada-lang.c (decode_constrained_packed_array): Perform a | |
10122 | minimal coercion for reference with coerce_ref instead of | |
10123 | ada_coerce_ref. | |
10124 | ||
d4ccb5e0 TG |
10125 | 2014-03-17 Tristan Gingold <gingold@adacore.com> |
10126 | ||
10127 | * solib-darwin.c (DYLD_VERSION_MAX): Increase value. | |
10128 | (darwin_solib_create_inferior_hook): Emit a warning if version | |
10129 | is unhandled. | |
10130 | ||
49840f2a UW |
10131 | 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com> |
10132 | ||
10133 | * python/py-value.c (get_field_flag): Cast flag_name argument to | |
10134 | PyObject_GetAttrString to support Python 2.4. | |
10135 | ||
ed4123e5 JK |
10136 | 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
10137 | ||
10138 | * MAINTAINERS (The Official FSF-appointed GDB Maintainers) | |
10139 | (Global Maintainers): Remove Jan Kratochvil. | |
10140 | ||
d6b64346 PA |
10141 | 2014-03-14 Pedro Alves <palves@redhat.com> |
10142 | ||
10143 | * inferior.h (terminal_ours_for_output): Rename to ... | |
10144 | (child_terminal_ours_for_output): ... this. | |
10145 | (terminal_save_ours): Rename to ... | |
10146 | (child_terminal_save_ours): ... this. | |
10147 | (terminal_ours): Rename to ... | |
10148 | (child_terminal_ours): ... this. | |
10149 | (terminal_inferior): Rename to ... | |
10150 | (child_terminal_inferior): ... this. | |
10151 | (terminal_init_inferior): Rename to ... | |
10152 | (child_terminal_init_inferior): ... this. | |
10153 | (terminal_init_inferior_with_pgrp): Rename to ... | |
10154 | (child_terminal_init_inferior_with_pgrp): ... this. | |
10155 | * inflow.c (terminal_init_inferior_with_pgrp): Rename to ... | |
10156 | (child_terminal_init_with_pgrp): ... this. | |
10157 | (terminal_save_ours): Rename to ... | |
10158 | (child_terminal_save_ours): ... this. | |
10159 | (terminal_init_inferior): Rename to ... | |
10160 | (child_terminal_init): ... this. Adjust. | |
10161 | (terminal_inferior): Rename to ... | |
10162 | (child_terminal_inferior): ... this. | |
10163 | (terminal_ours_for_output): Rename to ... | |
10164 | (child_terminal_ours_for_output): ... this. Adjust. | |
10165 | (terminal_ours): Rename to ... | |
10166 | (child_terminal_ours): ... this. | |
10167 | (terminal_ours_1): Rename to ... | |
10168 | (child_terminal_ours_1): ... this. Adjust. | |
10169 | * linux-nat.c (linux_nat_terminal_inferior): Adjust. | |
10170 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
10171 | * gnu-nat.c (gnu_terminal_init_inferior): Rename to ... | |
10172 | (gnu_terminal_init): ... this. Adjust. | |
10173 | (gnu_target): Adjust. | |
10174 | * inf-child.c (inf_child_target): Adjust. | |
10175 | ||
5a1e8c7a DE |
10176 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
10177 | ||
10178 | PR guile/16612 | |
10179 | * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its | |
10180 | new eq?-hashtab. | |
10181 | ||
350e1a76 DE |
10182 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
10183 | ||
10184 | * value.c (record_latest_value): Call release_value_or_incref | |
10185 | instead of release_value. | |
10186 | ||
a69900ae PA |
10187 | 2014-03-13 Pedro Alves <palves@redhat.com> |
10188 | ||
10189 | * procfs.c (procfs_target): Don't override to_shortname, | |
10190 | to_longname or to_doc. | |
10191 | ||
5db9f0bd PA |
10192 | 2014-03-13 Pedro Alves <palves@redhat.com> |
10193 | ||
10194 | * inf-child.c (inf_child_open, inf_child_target): Don't mention | |
10195 | Unix in user visible strings. | |
10196 | ||
5e3a2c38 SS |
10197 | 2014-03-12 Stan Shebs <stan@codesourcery.com> |
10198 | ||
10199 | * gdbtypes.h: Annotate comments for Doxygen, add a page | |
10200 | block comment with some general info. | |
10201 | ||
8bc2fe48 PA |
10202 | 2014-03-12 Pedro Alves <palves@redhat.com> |
10203 | ||
10204 | * infcmd.c (prepare_execution_command): New function, factored out | |
10205 | from several execution commands. | |
10206 | (run_command_1, continue_command, step_1, jump_command) | |
10207 | (signal_command, until_command, advance_command, finish_command) | |
10208 | (attach_command): Use prepare_execution_command. | |
10209 | ||
638c5f49 OJ |
10210 | 2014-03-12 Omair Javaid <omair.javaid@linaro.org> |
10211 | ||
10212 | * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated. | |
10213 | (MAX_BPTS): Define. | |
10214 | (MAX_WPTS): Define. | |
10215 | (struct arm_linux_thread_points): Removed. | |
10216 | (struct arm_linux_process_info): New. | |
10217 | (DEF_VEC_P (arm_linux_thread_points_p)): Removed. | |
10218 | (VEC(arm_linux_thread_points_p) *arm_threads): Removed. | |
10219 | (arm_linux_find_breakpoints_by_tid): Removed. | |
10220 | (struct arch_lwp_info): New. | |
10221 | (arm_linux_find_process_pid): New functions. | |
10222 | (arm_linux_add_process): New functions. | |
10223 | (arm_linux_process_info_get): New functions. | |
10224 | (arm_linux_forget_process): New function. | |
10225 | (arm_linux_get_debug_reg_state): New function. | |
10226 | (struct update_registers_data): New. | |
10227 | (update_registers_callback): New function. | |
10228 | (arm_linux_insert_hw_breakpoint1): Updated. | |
10229 | (arm_linux_remove_hw_breakpoint1): Updated. | |
10230 | (arm_linux_insert_hw_breakpoint): Updated. | |
10231 | (arm_linux_remove_hw_breakpoint): Updated. | |
10232 | (arm_linux_insert_watchpoint): Updated. | |
10233 | (arm_linux_remove_watchpoint): Updated. | |
10234 | (arm_linux_new_thread): Updated. | |
10235 | (arm_linux_prepare_to_resume): New function. | |
10236 | (arm_linux_new_fork): New function. | |
10237 | (_initialize_arm_linux_nat): Updated. | |
10238 | ||
6d03af93 PA |
10239 | 2014-03-12 Pedro Alves <palves@redhat.com> |
10240 | ||
10241 | * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS. | |
10242 | ||
b3ccfe11 TT |
10243 | 2014-03-12 Tom Tromey <tromey@redhat.com> |
10244 | ||
10245 | * inf-child.c (return_zero): New function. | |
10246 | (inf_child_target): Set to_can_async_p, to_supports_non_stop. | |
10247 | * aix-thread.c (aix_thread_inferior_created): New function. | |
10248 | (aix_thread_attach): Remove. | |
10249 | (init_aix_thread_ops): Don't set to_attach. | |
10250 | (_initialize_aix_thread): Register inferior_created observer. | |
10251 | * corelow.c (init_core_ops): Don't set to_attach or | |
10252 | to_create_inferior. | |
10253 | * exec.c (init_exec_ops): Don't set to_attach or | |
10254 | to_create_inferior. | |
10255 | * infcmd.c (run_command_1): Use find_run_target. Make direct | |
10256 | target calls. | |
10257 | (attach_command): Use find_attach_target. Make direct target | |
10258 | calls. | |
10259 | * record-btrace.c (init_record_btrace_ops): Don't set | |
10260 | to_create_inferior. | |
10261 | * record-full.c (record_full_can_async_p, record_full_is_async_p): | |
10262 | Remove. | |
10263 | (init_record_full_ops, init_record_full_core_ops): Update. Don't | |
10264 | set to_create_inferior. | |
10265 | * target.c (complete_target_initialization): Add assertion. | |
10266 | (target_create_inferior): Remove. | |
10267 | (find_default_attach, find_default_create_inferior): Remove. | |
10268 | (find_attach_target, find_run_target): New functions. | |
10269 | (find_default_is_async_p, find_default_can_async_p) | |
10270 | (target_supports_non_stop, target_attach): Remove. | |
10271 | (init_dummy_target): Don't set to_create_inferior or | |
10272 | to_supports_non_stop. | |
10273 | * target.h (struct target_ops) <to_attach>: Add comment. Remove | |
10274 | TARGET_DEFAULT_FUNC. | |
10275 | <to_create_inferior>: Add comment. | |
10276 | <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use | |
10277 | TARGET_DEFAULT_RETURN. | |
10278 | <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments. | |
10279 | (find_attach_target, find_run_target): Declare. | |
10280 | (target_create_inferior): Remove. | |
10281 | (target_has_execution_1): Update comment. | |
10282 | (target_supports_non_stop): Remove. | |
10283 | * target-delegates.c: Rebuild. | |
10284 | ||
91f83b02 PA |
10285 | 2014-03-12 Pedro Alves <palves@redhat.com> |
10286 | ||
10287 | * inf-child.h: Update comment to not mention Unix. | |
10288 | ||
f1aea813 PA |
10289 | 2014-03-12 Pedro Alves <palves@redhat.com> |
10290 | ||
10291 | * inf-child.c: Update top comment to not mention Unix. Add | |
10292 | generic comment describing how this target is meant to be used. | |
10293 | (inf_child_post_attach, inf_child_post_startup_inferior) | |
10294 | (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention | |
10295 | Unix in comment. | |
10296 | ||
ee8e9165 PA |
10297 | 2014-03-12 Pedro Alves <palves@redhat.com> |
10298 | ||
10299 | * nto-procfs.c: Include inf-child.h. | |
10300 | (procfs_ops): Delete global. | |
10301 | (procfs_can_run): Delete method. | |
10302 | (procfs_detach, procfs_mourn_inferior): Unpush the passed in | |
10303 | target pointer instead of referencing procfs_ops. | |
10304 | (procfs_prepare_to_store): Delete. | |
10305 | (init_procfs_ops): Delete function. | |
10306 | (procfs_target): New function, based on init_procfs_ops, but | |
10307 | inherit inf_child_target. | |
10308 | (_initialize_procfs): Use procfs_target. | |
10309 | ||
51a9c8c5 PA |
10310 | 2014-03-12 Pedro Alves <palves@redhat.com> |
10311 | ||
10312 | * windows-nat.c: Include inf-child.h. | |
10313 | (windows_ops): Delete global. | |
10314 | (windows_open, windows_prepare_to_store, windows_can_run): Delete | |
10315 | methods. | |
10316 | (init_windows_ops): Delete function. | |
10317 | (windows_target): New function, based on init_windows_ops, but | |
10318 | inherit inf_child_target. | |
10319 | (_initialize_windows_nat): Use windows_target. Install x86 | |
10320 | specific target methods here. | |
10321 | ||
c1966e26 DE |
10322 | 2014-03-10 Doug Evans <xdje42@gmail.com> |
10323 | ||
10324 | * guile/guile.c (call_initialize_gdb_module): New function. | |
10325 | (initialize_guile): Replace call to scm_init_guile with call to | |
10326 | scm_with_guile. | |
10327 | ||
023db19c JB |
10328 | 2014-03-10 Joel Brobecker <brobecker@adacore.com> |
10329 | ||
10330 | * ada-lang.c (ada_evaluate_subexp): Add missing space before '(' | |
10331 | in call to TYPE_CODE macro. | |
10332 | ||
5ec18f2b JG |
10333 | 2014-03-10 Jerome Guitton <guitton@adacore.com> |
10334 | ||
8668be63 JB |
10335 | * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>: |
10336 | Resolve tagged types to full view. | |
5ec18f2b | 10337 | |
7d03f2eb HZ |
10338 | 2014-03-10 Hui Zhu <hui@codesourcery.com> |
10339 | ||
10340 | * target.h (target_insert_breakpoint): Remove "hardware" from its | |
10341 | comments. | |
10342 | ||
c5164cbc DE |
10343 | 2014-03-07 Doug Evans <dje@google.com> |
10344 | ||
10345 | * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name. | |
10346 | ||
c4a3fee2 DE |
10347 | 2014-03-07 Doug Evans <dje@google.com> |
10348 | ||
10349 | * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment. | |
10350 | Remove unused local comp_dir_attr. Assert exactly one of | |
10351 | stub_comp_unit_die, stub_comp_dir is non-NULL. | |
10352 | ||
3156469c JB |
10353 | 2014-03-07 Joel Brobecker <brobecker@adacore.com> |
10354 | ||
10355 | * target.h (complete_target_initialization, add_target): | |
10356 | Add comment. | |
10357 | ||
c1a7b7c6 PA |
10358 | 2014-03-07 Pedro Alves <palves@redhat.com> |
10359 | ||
10360 | * go32-nat.c: Include inf-child.h. | |
10361 | (go32_ops): Delete global. | |
10362 | (go32_close, go32_detach, go32_prepare_to_store, go32_can_run): | |
10363 | Delete methods. | |
10364 | (go32_create_inferior): Push the passed in target pointer instead | |
10365 | of referencing go32_ops. | |
10366 | (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat. | |
10367 | (go32_target): New function, based on init_go32_ops, but inherit | |
10368 | inf_child_target. | |
10369 | (_initialize_go32_nat): Use go32_target. Move parts of | |
10370 | init_go32_ops here. | |
10371 | ||
d3c1a85f JB |
10372 | 2014-03-06 Joel Brobecker <brobecker@adacore.com> |
10373 | ||
10374 | * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h". | |
10375 | (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of | |
10376 | SYMBOL_VALUE_ADDRESS. | |
10377 | (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME. | |
10378 | ||
5fa1d40e YQ |
10379 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
10380 | ||
10381 | * breakpoint.c (get_tracepoint_by_number): Remove argument | |
10382 | optional_p. All callers updated. Adjust comments. Update | |
10383 | output message. | |
10384 | * breakpoint.h (get_tracepoint_by_number): Update declaration. | |
10385 | ||
0c13193f YQ |
10386 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
10387 | ||
10388 | * reverse.c (goto_bookmark_command): Add local 'p'. Emit error | |
10389 | early if get_number returns zero. Use 'p' instead of 'args'. | |
10390 | ||
2217da06 YQ |
10391 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
10392 | ||
10393 | * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of | |
10394 | message. | |
10395 | ||
cc3da688 YQ |
10396 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
10397 | ||
10398 | PR breakpoints/16508 | |
10399 | * tracepoint.c (check_trace_running): New function. | |
10400 | (trace_find_command): Move code to check_trace_running and | |
10401 | call check_trace_running. | |
10402 | (trace_find_pc_command): Likewise. | |
10403 | (trace_find_tracepoint_command): Likewise. | |
10404 | (trace_find_line_command): Likewise. | |
10405 | (trace_find_range_command): Likewise. | |
10406 | * tracepoint.h (check_trace_running): Likewise. | |
10407 | * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running. | |
10408 | ||
6a5f844b YQ |
10409 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
10410 | ||
10411 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
10412 | TARGET_DEFAULT_NORETURN (tcomplain ()). | |
10413 | * target-delegates.c: Regenerated. | |
10414 | ||
0f26cec1 PA |
10415 | 2014-03-05 Pedro Alves <palves@redhat.com> |
10416 | ||
10417 | PR gdb/16575 | |
10418 | * dcache.c (dcache_poke_byte): Constify ptr parameter. Return | |
10419 | void. Update comment. | |
10420 | (dcache_xfer_memory): Delete. | |
10421 | (dcache_read_memory_partial): New, based on the read bits of | |
10422 | dcache_xfer_memory. | |
10423 | (dcache_update): Add status parameter. Use ULONGEST for len, and | |
10424 | adjust. Discard cache lines if the reason for the update was | |
10425 | error. | |
10426 | * dcache.h (dcache_xfer_memory): Delete declaration. | |
10427 | (dcache_read_memory_partial): New declaration. | |
10428 | (dcache_update): Update prototype. | |
10429 | * target.c (raw_memory_xfer_partial): Update the dcache here. | |
10430 | (memory_xfer_partial_1): Don't handle dcache writes here. | |
10431 | ||
b2b255bd MF |
10432 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
10433 | ||
10434 | * remote-sim.c (gdbsim_load): Add const to prog. | |
10435 | ||
5d9cf8a4 TT |
10436 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
10437 | ||
10438 | * elfread.c (probe_key): Change to bfd_data. | |
10439 | (elf_get_probes, probe_key_free, _initialize_elfread): Probes are | |
10440 | now per-BFD, not per-objfile. | |
10441 | * stap-probe.c (stap_probe_destroy): Update comment. | |
10442 | (handle_stap_probe): Allocate on the per-BFD obstack. | |
10443 | ||
729662a5 TT |
10444 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
10445 | ||
10446 | * break-catch-throw.c (fetch_probe_arguments): Use bound probes. | |
10447 | * breakpoint.c (create_longjmp_master_breakpoint): Use | |
10448 | get_probe_address. | |
10449 | (add_location_to_breakpoint, bkpt_probe_insert_location) | |
10450 | (bkpt_probe_remove_location): Update. | |
10451 | * breakpoint.h (struct bp_location) <probe>: Now a bound_probe. | |
10452 | * elfread.c (elf_symfile_relocate_probe): Remove. | |
10453 | (elf_probe_fns): Update. | |
10454 | (insert_exception_resume_breakpoint): Change type of "probe" | |
10455 | parameter to bound_probe. | |
10456 | (check_exception_resume): Update. | |
10457 | * objfiles.c (objfile_relocate1): Don't relocate probes. | |
10458 | * probe.c (bound_probe_s): New typedef. | |
10459 | (parse_probes): Use get_probe_address. Set sal's objfile. | |
10460 | (find_probe_by_pc): Return a bound_probe. | |
10461 | (collect_probes): Return a VEC(bound_probe_s). | |
10462 | (compare_probes): Update. | |
10463 | (gen_ui_out_table_header_info): Change type of "probes" | |
10464 | parameter. Update. | |
10465 | (info_probes_for_ops): Update. | |
10466 | (get_probe_address): New function. | |
10467 | (probe_safe_evaluate_at_pc): Update. | |
10468 | * probe.h (struct probe_ops) <get_probe_address>: New field. | |
10469 | <set_semaphore, clear_semaphore>: Add objfile parameter. | |
10470 | (struct probe) <objfile>: Remove field. | |
10471 | <arch>: New field. | |
10472 | <address>: Update comment. | |
10473 | (struct bound_probe): New. | |
10474 | (find_probe_by_pc): Return a bound_probe. | |
10475 | (get_probe_address): Declare. | |
10476 | * solib-svr4.c (struct probe_and_action) <address>: New field. | |
10477 | (hash_probe_and_action, equal_probe_and_action): Update. | |
10478 | (register_solib_event_probe): Add address parameter. | |
10479 | (solib_event_probe_at): Update. | |
10480 | (svr4_create_probe_breakpoints): Add objfile parameter. Use | |
10481 | get_probe_address. | |
10482 | * stap-probe.c (struct stap_probe) <sem_addr>: Update comment. | |
10483 | (stap_get_probe_address): New function. | |
10484 | (stap_can_evaluate_probe_arguments, compute_probe_arg) | |
10485 | (compile_probe_arg): Update. | |
10486 | (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's | |
10487 | address. | |
10488 | (handle_stap_probe): Don't relocate the probe. | |
10489 | (stap_relocate): Remove. | |
10490 | (stap_gen_info_probes_table_values): Update. | |
10491 | (stap_probe_ops): Remove stap_relocate. | |
10492 | * symfile-debug.c (debug_sym_relocate_probe): Remove. | |
10493 | (debug_sym_probe_fns): Update. | |
10494 | * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove. | |
10495 | * symtab.c (init_sal): Use memset. | |
10496 | * symtab.h (struct symtab_and_line) <objfile>: New field. | |
10497 | * tracepoint.c (start_tracing, stop_tracing): Update. | |
10498 | ||
ff887920 TT |
10499 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
10500 | ||
10501 | * probe.h (parse_probes, find_probe_by_pc) | |
10502 | (find_probes_in_objfile): Fix comments. | |
10503 | ||
f0407826 DE |
10504 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
10505 | ||
10506 | * infrun.c (handle_signal_stop): Replace test for | |
10507 | TARGET_WAITKIND_STOPPED with an assert. | |
10508 | ||
35e6a711 DE |
10509 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
10510 | ||
10511 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment. | |
10512 | ||
667f9d0b DE |
10513 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
10514 | ||
10515 | * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko. | |
10516 | ||
dc92ace0 MK |
10517 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10518 | ||
10519 | * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>. | |
10520 | ||
a900370f MK |
10521 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10522 | ||
10523 | * i386obsd-nat.c: Include "obsd-nat.h". | |
10524 | (_initialize_i386obsd_nat): Call obsd_add_target instead of | |
10525 | add_target. | |
10526 | * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
10527 | ||
b72a7981 MK |
10528 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10529 | ||
10530 | * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'. | |
10531 | ||
96c70aba MK |
10532 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10533 | ||
10534 | * mips64obsd-nat.c: Include "obsd-nath". | |
10535 | (_initialize_mips64obsd_nat): Call obsd_add_target instead of | |
10536 | add_target | |
10537 | * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o. | |
10538 | ||
874a80af MK |
10539 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10540 | ||
8fd408f1 MK |
10541 | * amd64obsd-nat.c: Include "obsd-nat,h. |
10542 | (_initialize_amd64obsd_nat): Call obsd_add_target instead of | |
10543 | add_target. | |
874a80af MK |
10544 | * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o. |
10545 | ||
9cf95373 SC |
10546 | 2014-02-28 Siva Chandra Reddy <sivachandra@google.com> |
10547 | ||
10548 | * valops.c (find_oload_champ): Remove unneccesary argument METHOD. | |
10549 | (find_overload_match): Update call to find_oload_champ. | |
10550 | (find_oload_champ_namespace_loop): Likewise | |
10551 | ||
863e4da4 MK |
10552 | 2014-02-28 Mark Kettenis <kettenis@gnu.org> |
10553 | ||
025cac40 MK |
10554 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c. |
10555 | ||
1ed586ce MK |
10556 | * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64. |
10557 | * config/sparc/obsd64.mh: New file. | |
10558 | * sparc64obsd-nat.c: New file. | |
10559 | ||
863e4da4 MK |
10560 | * obsd-nat.h: New file. |
10561 | * obsd-nat.c: New file. | |
10562 | * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h. | |
10563 | (ALLDEPFILES): Add obsd-nat.c. | |
10564 | ||
89de4da4 TT |
10565 | 2014-02-28 Tom Tromey <tromey@redhat.com> |
10566 | ||
10567 | * cli-out.c (cli_ui_out_impl): Now const. Remove comment. | |
10568 | * cli-out.h (cli_ui_out_impl): Now const. | |
10569 | * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment. | |
10570 | * ui-out.c (struct ui_out) <impl>: Now const. | |
10571 | (default_ui_out_impl): Now const. | |
10572 | (ui_out_new): Make 'impl' parameter const. | |
10573 | * ui-out.h (ui_out_new): Update. | |
10574 | ||
c725e7b6 MK |
10575 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
10576 | ||
10577 | * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0. | |
10578 | ||
670b46b3 MK |
10579 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
10580 | ||
10581 | * sparc-nat.c (sparc_xfer_wcookie): Always use process ID. | |
10582 | ||
c91550fc JK |
10583 | 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
10584 | ||
10585 | Additional PR 8882 fix. | |
10586 | * solib-svr4.c (svr4_read_so_list): Change first to first_l_name. | |
10587 | ||
2fa0369e PA |
10588 | 2014-02-27 Pedro Alves <palves@redhat.com> |
10589 | ||
10590 | * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG | |
10591 | isn't set. | |
10592 | ||
d632a097 PA |
10593 | 2014-02-27 Pedro Alves <palves@redhat.com> |
10594 | ||
10595 | PR 12702 | |
10596 | * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c. | |
10597 | * nat/linux-waitpid.c: Include string.h. | |
10598 | (status_to_str): Moved here and made extern. | |
10599 | * nat/linux-waitpid.h (status_to_str): New declaration. | |
10600 | ||
2ebd5a35 HZ |
10601 | 2014-02-27 Hui Zhu <hui@codesourcery.com> |
10602 | ||
10603 | PR 12702 | |
10604 | * infrun.c (ptid_match): Move ... | |
10605 | * common/ptid.c (ptid_match): ... here. | |
10606 | * inferior.h (ptid_match): Move ... | |
10607 | * common/ptid.h (ptid_match): ... here. | |
10608 | ||
3cdd631f MK |
10609 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
10610 | ||
10611 | * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi. | |
10612 | * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to | |
10613 | gdb_target_obs. | |
10614 | ||
bee30a64 MK |
10615 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
10616 | ||
10617 | * obsd-tdep.c (obsd_auxv_parse): New function. | |
10618 | (obsd_init_abi): Set auxv_parse. | |
27a48a92 MK |
10619 | |
10620 | * gdbarch.sh (auxv_parse): New. | |
10621 | * gdbarch.h: Regenerated. | |
10622 | * gdbarch.c: Regenerated. | |
10623 | * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided. | |
10624 | ||
7a5a839f LC |
10625 | 2014-02-26 Ludovic Courtès <ludo@gnu.org> |
10626 | ||
10627 | * guile/scm-value.c (gdbscm_history_append_x): New function. | |
10628 | (value_functions): Add it. | |
10629 | ||
31aa7e4e JB |
10630 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
10631 | ||
10632 | * dwarf2read.c (attr_value_as_address): New function. | |
10633 | (dwarf2_find_base_address, read_call_site_scope): Use | |
10634 | attr_value_as_address in place of DW_ADDR. | |
10635 | (dwarf2_get_pc_bounds): Use attr_value_as_address to get | |
10636 | the low and high addresses. Slight rework of the handling | |
10637 | of the high pc being a constant form, and limit it to | |
10638 | DWARF verson 4 or higher. | |
10639 | (dwarf2_record_block_ranges): Likewise. | |
10640 | (read_partial_die): Likewise. | |
10641 | (new_symbol_full): Use attr_value_as_address in place of DW_ADDR. | |
10642 | ||
9b333ba3 TT |
10643 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10644 | ||
10645 | * exec.c (exec_file_attach): Hold a reference to exec_bfd. | |
10646 | ||
5f6cac40 TT |
10647 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10648 | ||
10649 | * elfread.c (elf_read_minimal_symbols): Return early if | |
10650 | minimal symbols have already been read. Add "ei" parameter. | |
10651 | (elf_symfile_read): Call elf_read_minimal_symbols earlier. | |
10652 | * minsyms.c (prim_record_minimal_symbol_full): Update. | |
10653 | * objfiles.h (struct objstats) <n_minsyms>: Move... | |
10654 | (struct objfile_per_bfd_storage) <n_minsyms>: ... here. | |
10655 | * symmisc.c (print_objfile_statistics): Update. | |
10656 | ||
2750ef27 TT |
10657 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10658 | ||
10659 | * elfread.c (elf_read_minimal_symbols): New function, from | |
10660 | elf_symfile_read. | |
10661 | (elf_symfile_read): Call it. | |
10662 | ||
34643a32 TT |
10663 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10664 | ||
10665 | * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols) | |
10666 | (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name) | |
10667 | (lookup_minimal_symbol_solib_trampoline) | |
10668 | (lookup_minimal_symbol_by_pc_section_1) | |
10669 | (lookup_minimal_symbol_and_objfile): Update. | |
10670 | (prim_record_minimal_symbol_full): Use the per-BFD obstack. | |
10671 | Don't allocate a minimal symbol if minsyms have already been read. | |
10672 | (build_minimal_symbol_hash_tables): Update. | |
10673 | (install_minimal_symbols): Do nothing if minsyms already read. | |
10674 | Use the per-BFD obstack. | |
10675 | (terminate_minimal_symbol_table): Use the per-BFD obstack. | |
10676 | * objfiles.c (allocate_objfile): Call | |
10677 | terminate_minimal_symbol_table later. | |
10678 | (have_minimal_symbols): Update. | |
10679 | * objfiles.h (struct objfile_per_bfd_storage) <msymbols, | |
10680 | minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>: | |
10681 | Move from struct objfile. | |
10682 | <minsyms_read>: New field. | |
10683 | (struct objfile) <msymbols, minimal_symbol_count, | |
10684 | msymbol_hash, msymbol_demangled_hash>: Move. | |
10685 | (ALL_OBJFILE_MSYMBOLS): Update. | |
10686 | * symfile.c (read_symbols): Set minsyms_read. | |
10687 | (reread_symbols): Update. | |
10688 | * symmisc.c (dump_objfile, dump_msymbols): Update. | |
10689 | ||
2273f0ac TT |
10690 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10691 | ||
10692 | * minsyms.c (msymbols_sort): Remove. | |
10693 | * minsyms.h (msymbols_sort): Remove. | |
10694 | * objfiles.c (objfile_relocate1): Don't relocate minsyms. | |
10695 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets. | |
10696 | * elfread.c (elf_symtab_read): Don't add section offsets. | |
10697 | * xcoffread.c (record_minimal_symbol): Don't add section offset | |
10698 | to minimal symbol address. | |
10699 | * somread.c (text_offset, data_offset): Remove. | |
10700 | (som_symtab_read): Don't add section offsets to minimal symbol | |
10701 | addresses. | |
10702 | * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms): | |
10703 | Don't add section offsets to minimal symbols. | |
10704 | * coffread.c (coff_symtab_read): Don't add section offsets | |
10705 | to minimal symbol addresses. | |
10706 | * machoread.c (macho_symtab_add_minsym): Don't add section offset | |
10707 | to minimal symbol addresses. | |
10708 | * mipsread.c (read_alphacoff_dynamic_symtab): Don't add | |
10709 | section offset to minimal symbol addresses. | |
10710 | * mdebugread.c (parse_partial_symbols): Don't add section | |
10711 | offset to minimal symbol addresses. | |
10712 | * dbxread.c (read_dbx_dynamic_symtab): Don't add section | |
10713 | offset to minimal symbol addresses. | |
10714 | ||
77e371c0 TT |
10715 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10716 | ||
10717 | * ada-lang.c (ada_main_name): Update. | |
10718 | (ada_add_standard_exceptions): Update. | |
10719 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
10720 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
10721 | * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update. | |
10722 | * auxv.c (ld_so_xfer_auxv): Update. | |
10723 | * avr-tdep.c (avr_scan_prologue): Update. | |
10724 | * ax-gdb.c (gen_var_ref): Update. | |
10725 | * blockframe.c (get_pc_function_start) | |
10726 | (find_pc_partial_function_gnu_ifunc): Update. | |
10727 | * breakpoint.c (create_overlay_event_breakpoint) | |
10728 | (create_longjmp_master_breakpoint) | |
10729 | (create_std_terminate_master_breakpoint) | |
10730 | (create_exception_master_breakpoint): Update. | |
10731 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
10732 | * c-valprint.c (c_val_print): Update. | |
10733 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
10734 | * common/agent.c (agent_look_up_symbols): Update. | |
10735 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
10736 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
10737 | * dwarf2read.c (dw2_find_pc_sect_symtab): Update. | |
10738 | * elfread.c (elf_gnu_ifunc_record_cache) | |
10739 | (elf_gnu_ifunc_resolve_by_got): Update. | |
10740 | * findvar.c (default_read_var_value): Update. | |
10741 | * frame.c (inside_main_func): Update. | |
10742 | * frv-tdep.c (frv_frame_this_id): Update. | |
10743 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
10744 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
10745 | Update. | |
10746 | * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence) | |
10747 | (hppa_hpux_find_dummy_bpaddr): Update. | |
10748 | * hppa-tdep.c (hppa_symbol_address): Update. | |
10749 | * infcmd.c (until_next_command): Update. | |
10750 | * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal): | |
10751 | Update. | |
10752 | * linespec.c (minsym_found, add_minsym): Update. | |
10753 | * linux-nat.c (get_signo): Update. | |
10754 | * linux-thread-db.c (inferior_has_bug): Update. | |
10755 | * m32c-tdep.c (m32c_return_value) | |
10756 | (m32c_m16c_address_to_pointer): Update. | |
10757 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
10758 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
10759 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
10760 | * maint.c (maintenance_translate_address): Update. | |
10761 | * minsyms.c (lookup_minimal_symbol_by_pc_name): Update. | |
10762 | (frob_address): New function. | |
10763 | (lookup_minimal_symbol_by_pc_section_1): Use raw addresses, | |
10764 | frob_address. Rename parameter to "pc_in". | |
10765 | (compare_minimal_symbols, compact_minimal_symbols): Use raw | |
10766 | addresses. | |
10767 | (find_solib_trampoline_target, minimal_symbol_upper_bound): | |
10768 | Update. | |
10769 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
10770 | * mips-tdep.c (mips_skip_pic_trampoline_code): Update. | |
10771 | * objc-lang.c (find_objc_msgsend): Update. | |
10772 | * objfiles.c (objfile_relocate1): Update. | |
10773 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
10774 | * p-valprint.c (pascal_val_print): Update. | |
10775 | * parse.c (write_exp_msymbol): Update. | |
10776 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup) | |
10777 | (ppc_elfv2_skip_entrypoint): Update. | |
10778 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
10779 | * printcmd.c (build_address_symbolic, msym_info) | |
10780 | (address_info): Update. | |
10781 | * proc-service.c (ps_pglobal_lookup): Update. | |
10782 | * psymtab.c (find_pc_sect_psymtab_closer) | |
10783 | (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): | |
10784 | Change msymbol parameter to bound_minimal_symbol. | |
10785 | * ravenscar-thread.c (get_running_thread_id): Update. | |
10786 | * remote.c (remote_check_symbols): Update. | |
10787 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw | |
10788 | address. | |
10789 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
10790 | * solib-dsbt.c (lm_base): Update. | |
10791 | * solib-frv.c (lm_base, main_got): Update. | |
10792 | * solib-irix.c (locate_base): Update. | |
10793 | * solib-som.c (som_solib_create_inferior_hook) | |
10794 | (link_map_start): Update. | |
10795 | * solib-spu.c (spu_enable_break, ocl_enable_break): Update. | |
10796 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
10797 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
10798 | (flush_ea_cache): Update. | |
10799 | * stabsread.c (define_symbol, scan_file_globals): Update. | |
10800 | * stack.c (find_frame_funname): Update. | |
10801 | * symfile-debug.c (debug_qf_expand_symtabs_matching) | |
10802 | (debug_qf_find_pc_sect_symtab): Update. | |
10803 | * symfile.c (simple_read_overlay_table) | |
10804 | (simple_overlay_update): Update. | |
10805 | * symfile.h (struct quick_symbol_functions) | |
10806 | <find_pc_sect_symtab>: Change type of msymbol to | |
10807 | bound_minimal_symbol. | |
10808 | * symmisc.c (dump_msymbols): Update. | |
10809 | * symtab.c (find_pc_sect_symtab_via_partial) | |
10810 | (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal) | |
10811 | (search_symbols, print_msymbol_info): Update. | |
10812 | * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro. | |
10813 | (MSYMBOL_VALUE_ADDRESS): Redefine. | |
10814 | (BMSYMBOL_VALUE_ADDRESS): New macro. | |
10815 | * tracepoint.c (scope_info): Update. | |
10816 | * tui/tui-disasm.c (tui_find_disassembly_address) | |
10817 | (tui_get_begin_asm_address): Update. | |
10818 | * valops.c (find_function_in_inferior): Update. | |
10819 | * value.c (value_static_field, value_fn_field): Update. | |
10820 | ||
3b7344d5 TT |
10821 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10822 | ||
10823 | * ada-lang.c (ada_update_initial_language): Update. | |
10824 | (ada_main_name, ada_has_this_exception_support): Update. | |
10825 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
10826 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
10827 | * arm-tdep.c (arm_skip_stub): Update. | |
10828 | * auxv.c (ld_so_xfer_auxv): Update. | |
10829 | * avr-tdep.c (avr_scan_prologue): Update. | |
10830 | * ax-gdb.c (gen_var_ref): Update. | |
10831 | * breakpoint.c (struct breakpoint_objfile_data) | |
10832 | <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change | |
10833 | type to bound_minimal_symbol. | |
10834 | (create_overlay_event_breakpoint) | |
10835 | (create_longjmp_master_breakpoint) | |
10836 | (create_std_terminate_master_breakpoint) | |
10837 | (create_exception_master_breakpoint): Update. | |
10838 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
10839 | * c-exp.y (classify_name): Update. | |
10840 | * coffread.c (coff_symfile_read): Update. | |
10841 | * common/agent.c (agent_look_up_symbols): Update. | |
10842 | * d-lang.c (d_main_name): Update. | |
10843 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
10844 | * dec-thread.c (enable_dec_thread): Update. | |
10845 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
10846 | * elfread.c (elf_gnu_ifunc_resolve_by_got): Update. | |
10847 | * eval.c (evaluate_subexp_standard): Update. | |
10848 | * findvar.c (struct minsym_lookup_data) <result>: Change type | |
10849 | to bound_minimal_symbol. | |
10850 | <objfile>: Remove. | |
10851 | (minsym_lookup_iterator_cb, default_read_var_value): Update. | |
10852 | * frame.c (inside_main_func): Update. | |
10853 | * frv-tdep.c (frv_frame_this_id): Update. | |
10854 | * gcore.c (call_target_sbrk): Update. | |
10855 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
10856 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
10857 | Update. | |
10858 | * go-lang.c (go_main_name): Update. | |
10859 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
10860 | (hppa_hpux_find_import_stub_for_addr): Update. | |
10861 | * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol): | |
10862 | Update. Change return type. | |
10863 | * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return | |
10864 | type. | |
10865 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
10866 | * linux-fork.c (inferior_call_waitpid, checkpoint_command): | |
10867 | Update. | |
10868 | * linux-nat.c (get_signo): Update. | |
10869 | * linux-thread-db.c (inferior_has_bug): Update | |
10870 | * m32c-tdep.c (m32c_return_value) | |
10871 | (m32c_m16c_address_to_pointer): Update. | |
10872 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
10873 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
10874 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
10875 | * minsyms.c (lookup_minimal_symbol_internal): Rename to | |
10876 | lookup_minimal_symbol. Change return type. | |
10877 | (lookup_minimal_symbol): Remove. | |
10878 | (lookup_bound_minimal_symbol): Update. | |
10879 | (lookup_minimal_symbol_text): Change return type. | |
10880 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
10881 | * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text) | |
10882 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
10883 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
10884 | * objc-lang.c (lookup_objc_class, lookup_child_selector) | |
10885 | (value_nsstring, find_imps): Update. | |
10886 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
10887 | * p-lang.c (pascal_main_name): Update. | |
10888 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update. | |
10889 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
10890 | * proc-service.c (ps_pglobal_lookup): Update. | |
10891 | * ravenscar-thread.c (get_running_thread_msymbol): Change | |
10892 | return type. | |
10893 | (has_ravenscar_runtime, get_running_thread_id): Update. | |
10894 | * remote.c (remote_check_symbols): Update. | |
10895 | * sol-thread.c (ps_pglobal_lookup): Update. | |
10896 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
10897 | * solib-dsbt.c (lm_base): Update. | |
10898 | * solib-frv.c (lm_base, frv_relocate_section_addresses): | |
10899 | Update. | |
10900 | * solib-irix.c (locate_base): Update. | |
10901 | * solib-som.c (som_solib_create_inferior_hook) | |
10902 | (som_solib_desire_dynamic_linker_symbols, link_map_start): | |
10903 | Update. | |
10904 | * solib-spu.c (spu_enable_break): Update. | |
10905 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
10906 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
10907 | (flush_ea_cache): Update. | |
10908 | * stabsread.c (define_symbol): Update. | |
10909 | * symfile.c (simple_read_overlay_table): Update. | |
10910 | * symtab.c (find_pc_sect_line): Update. | |
10911 | * tracepoint.c (scope_info): Update. | |
10912 | * tui-disasm.c (tui_get_begin_asm_address): Update. | |
10913 | * value.c (value_static_field): Update. | |
10914 | ||
40c1a007 TT |
10915 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10916 | ||
10917 | * minsyms.c (prim_record_minimal_symbol_full): Use | |
10918 | SET_MSYMBOL_VALUE_ADDRESS. | |
10919 | * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS. | |
10920 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use | |
10921 | SET_MSYMBOL_VALUE_ADDRESS. | |
10922 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue. | |
10923 | (SET_MSYMBOL_VALUE_ADDRESS): New macro. | |
10924 | ||
efd66ac6 TT |
10925 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10926 | ||
10927 | * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo. | |
10928 | (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES) | |
10929 | (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE) | |
10930 | (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME) | |
10931 | (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME) | |
10932 | (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME) | |
10933 | (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros. | |
10934 | * ada-lang.c (ada_main_name): Update. | |
10935 | (ada_lookup_simple_minsym): Update. | |
10936 | (ada_make_symbol_completion_list): Update. | |
10937 | (ada_add_standard_exceptions): Update. | |
10938 | * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update. | |
10939 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
10940 | * amd64-windows-tdep.c (amd64_skip_main_prologue): Update. | |
10941 | * arm-tdep.c (skip_prologue_function): Update. | |
10942 | (arm_skip_stack_protector, arm_skip_stub): Update. | |
10943 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update. | |
10944 | (arm_wince_skip_main_prologue): Update. | |
10945 | * auxv.c (ld_so_xfer_auxv): Update. | |
10946 | * avr-tdep.c (avr_scan_prologue): Update. | |
10947 | * ax-gdb.c (gen_var_ref): Update. | |
10948 | * block.c (call_site_for_pc): Update. | |
10949 | * blockframe.c (get_pc_function_start): Update. | |
10950 | (find_pc_partial_function_gnu_ifunc): Update. | |
10951 | * breakpoint.c (create_overlay_event_breakpoint): Update. | |
10952 | (create_longjmp_master_breakpoint): Update. | |
10953 | (create_std_terminate_master_breakpoint): Update. | |
10954 | (create_exception_master_breakpoint): Update. | |
10955 | (resolve_sal_pc): Update. | |
10956 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
10957 | * btrace.c (ftrace_print_function_name, ftrace_function_switched): | |
10958 | Update. | |
10959 | * c-valprint.c (c_val_print): Update. | |
10960 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
10961 | * coffread.c (coff_symfile_read): Update. | |
10962 | * common/agent.c (agent_look_up_symbols): Update. | |
10963 | * dbxread.c (find_stab_function_addr): Update. | |
10964 | (end_psymtab): Update. | |
10965 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
10966 | (func_verify_no_selftailcall): Update. | |
10967 | (tailcall_dump): Update. | |
10968 | (call_site_find_chain_1): Update. | |
10969 | (dwarf_expr_reg_to_entry_parameter): Update. | |
10970 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
10971 | (elf_gnu_ifunc_resolve_by_got): Update. | |
10972 | * f-valprint.c (info_common_command): Update. | |
10973 | * findvar.c (read_var_value): Update. | |
10974 | * frame.c (get_prev_frame_1): Update. | |
10975 | (inside_main_func): Update. | |
10976 | * frv-tdep.c (frv_skip_main_prologue): Update. | |
10977 | (frv_frame_this_id): Update. | |
10978 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
10979 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Update. | |
10980 | * gnu-v3-abi.c (gnuv3_rtti_type): Update. | |
10981 | (gnuv3_skip_trampoline): Update. | |
10982 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update. | |
10983 | (hppa64_hpux_in_solib_call_trampoline): Update. | |
10984 | (hppa_hpux_skip_trampoline_code): Update. | |
10985 | (hppa64_hpux_search_dummy_call_sequence): Update. | |
10986 | (hppa_hpux_find_import_stub_for_addr): Update. | |
10987 | (hppa_hpux_find_dummy_bpaddr): Update. | |
10988 | * hppa-tdep.c (hppa_symbol_address) | |
10989 | (hppa_lookup_stub_minimal_symbol): Update. | |
10990 | * i386-tdep.c (i386_skip_main_prologue): Update. | |
10991 | (i386_pe_skip_trampoline_code): Update. | |
10992 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
10993 | * infcall.c (get_function_name): Update. | |
10994 | * infcmd.c (until_next_command): Update. | |
10995 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
10996 | (jit_inferior_init): Update. | |
10997 | * linespec.c (minsym_found): Update. | |
10998 | (add_minsym): Update. | |
10999 | * linux-fork.c (info_checkpoints_command): Update. | |
11000 | * linux-nat.c (get_signo): Update. | |
11001 | * linux-thread-db.c (inferior_has_bug): Update. | |
11002 | * m32c-tdep.c (m32c_return_value): Update. | |
11003 | (m32c_m16c_address_to_pointer): Update. | |
11004 | (m32c_m16c_pointer_to_address): Update. | |
11005 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
11006 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
11007 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
11008 | * maint.c (maintenance_translate_address): Update. | |
11009 | * minsyms.c (add_minsym_to_hash_table): Update. | |
11010 | (add_minsym_to_demangled_hash_table): Update. | |
11011 | (msymbol_objfile): Update. | |
11012 | (lookup_minimal_symbol): Update. | |
11013 | (iterate_over_minimal_symbols): Update. | |
11014 | (lookup_minimal_symbol_text): Update. | |
11015 | (lookup_minimal_symbol_by_pc_name): Update. | |
11016 | (lookup_minimal_symbol_solib_trampoline): Update. | |
11017 | (lookup_minimal_symbol_by_pc_section_1): Update. | |
11018 | (lookup_minimal_symbol_and_objfile): Update. | |
11019 | (prim_record_minimal_symbol_full): Update. | |
11020 | (compare_minimal_symbols): Update. | |
11021 | (compact_minimal_symbols): Update. | |
11022 | (build_minimal_symbol_hash_tables): Update. | |
11023 | (install_minimal_symbols): Update. | |
11024 | (terminate_minimal_symbol_table): Update. | |
11025 | (find_solib_trampoline_target): Update. | |
11026 | (minimal_symbol_upper_bound): Update. | |
11027 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
11028 | * mips-tdep.c (mips_stub_frame_sniffer): Update. | |
11029 | (mips_skip_pic_trampoline_code): Update. | |
11030 | * msp430-tdep.c (msp430_skip_trampoline_code): Update. | |
11031 | * objc-lang.c (selectors_info): Update. | |
11032 | (classes_info): Update. | |
11033 | (find_methods): Update. | |
11034 | (find_imps): Update. | |
11035 | (find_objc_msgsend): Update. | |
11036 | * objfiles.c (objfile_relocate1): Update. | |
11037 | * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update. | |
11038 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
11039 | * p-valprint.c (pascal_val_print): Update. | |
11040 | * parse.c (write_exp_msymbol): Update. | |
11041 | * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code) | |
11042 | (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update. | |
11043 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
11044 | * printcmd.c (build_address_symbolic): Update. | |
11045 | (sym_info): Update. | |
11046 | (address_info): Update. | |
11047 | * proc-service.c (ps_pglobal_lookup): Update. | |
11048 | * psymtab.c (find_pc_sect_psymtab_closer): Update. | |
11049 | (find_pc_sect_psymtab): Update. | |
11050 | * python/py-framefilter.c (py_print_frame): Update. | |
11051 | * ravenscar-thread.c (get_running_thread_id): Update. | |
11052 | * record-btrace.c (btrace_call_history, btrace_get_bfun_name): | |
11053 | Update. | |
11054 | * remote.c (remote_check_symbols): Update. | |
11055 | * rs6000-tdep.c (rs6000_skip_main_prologue): Update. | |
11056 | (rs6000_skip_trampoline_code): Update. | |
11057 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Update. | |
11058 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
11059 | * solib-dsbt.c (lm_base): Update. | |
11060 | * solib-frv.c (lm_base): Update. | |
11061 | (main_got): Update. | |
11062 | * solib-irix.c (locate_base): Update. | |
11063 | * solib-som.c (som_solib_create_inferior_hook): Update. | |
11064 | (som_solib_desire_dynamic_linker_symbols): Update. | |
11065 | (link_map_start): Update. | |
11066 | * solib-spu.c (spu_enable_break): Update. | |
11067 | (ocl_enable_break): Update. | |
11068 | * solib-svr4.c (elf_locate_base): Update. | |
11069 | (enable_break): Update. | |
11070 | * spu-tdep.c (spu_get_overlay_table): Update. | |
11071 | (spu_catch_start): Update. | |
11072 | (flush_ea_cache): Update. | |
11073 | * stabsread.c (define_symbol): Update. | |
11074 | (scan_file_globals): Update. | |
11075 | * stack.c (find_frame_funname): Update. | |
11076 | (frame_info): Update. | |
11077 | * symfile.c (simple_read_overlay_table): Update. | |
11078 | (simple_overlay_update): Update. | |
11079 | * symmisc.c (dump_msymbols): Update. | |
11080 | * symtab.c (fixup_section): Update. | |
11081 | (find_pc_sect_line): Update. | |
11082 | (skip_prologue_sal): Update. | |
11083 | (search_symbols): Update. | |
11084 | (print_msymbol_info): Update. | |
11085 | (rbreak_command): Update. | |
11086 | (MCOMPLETION_LIST_ADD_SYMBOL): New macro. | |
11087 | (completion_list_objc_symbol): Update. | |
11088 | (default_make_symbol_completion_list_break_on): Update. | |
11089 | * tracepoint.c (scope_info): Update. | |
11090 | * tui/tui-disasm.c (tui_find_disassembly_address): Update. | |
11091 | (tui_get_begin_asm_address): Update. | |
11092 | * valops.c (find_function_in_inferior): Update. | |
11093 | * value.c (value_static_field): Update. | |
11094 | (value_fn_field): Update. | |
11095 | ||
50e65b17 TT |
11096 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
11097 | ||
11098 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Use | |
11099 | bound minimal symbols. Move code that knows about minsym | |
11100 | table layout... | |
11101 | * minsyms.c (minimal_symbol_upper_bound): ... here. New | |
11102 | function. | |
11103 | * minsyms.h (minimal_symbol_upper_bound): Declare. | |
11104 | * objc-lang.c (find_objc_msgsend): Use bound minimal symbols, | |
11105 | minimal_symbol_upper_bound. | |
11106 | ||
1b588015 JB |
11107 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
11108 | ||
11109 | * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter): | |
11110 | Use the type's name if its basic type does not have a tag. | |
11111 | ||
dbb9c2b1 JB |
11112 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
11113 | ||
11114 | * dwarf2read.c (read_subrange_type): Add comment. | |
11115 | ||
55426c9d JB |
11116 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
11117 | ||
11118 | * dwarf2read.c (update_enumeration_type_from_children): New | |
11119 | function, mostly extracted from process_structure_scope. | |
11120 | (read_enumeration_type): Call update_enumeration_type_from_children. | |
11121 | (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned | |
11122 | and flag_flag_enum fields. | |
11123 | ||
f2fce0ca PA |
11124 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11125 | ||
11126 | * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function. | |
11127 | (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as | |
11128 | to_xfer_partial method. | |
11129 | ||
7a44e40e PA |
11130 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11131 | ||
11132 | * target.c (complete_target_initialization): Don't install | |
11133 | default_xfer_partial as to_xfer_partial hook. | |
11134 | (nomemory): Delete. | |
11135 | (update_current_target): Don't INHERIT nor de_fault | |
11136 | deprecated_xfer_memory. Delete de_fault macro. | |
11137 | (default_xfer_partial, deprecated_debug_xfer_memory): Delete. | |
11138 | (setup_target_debug): Don't install a deprecated_xfer_memory hook. | |
11139 | * target.h (struct target_ops) <deprecated_xfer_memory>: Delete | |
11140 | field. | |
11141 | ||
bd265cd0 PA |
11142 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11143 | ||
11144 | * go32-nat.c (my_write_child): New function. | |
11145 | (go32_xfer_memory): Rewrite as to_xfer_partial helper. | |
11146 | (go32_xfer_partial): New function. | |
11147 | (init_go32_ops): Don't install a deprecated_xfer_memory hook. | |
11148 | Instead install a to_xfer_partial hook. | |
11149 | ||
9d46c4e5 PA |
11150 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11151 | ||
11152 | * nto-procfs.c (procfs_xfer_memory): Adjust interface as a | |
11153 | to_xfer_partial helper. Rewrite. | |
11154 | (procfs_xfer_partial): New function. | |
11155 | (init_procfs_ops): Don't install a deprecated_xfer_memory hook. | |
11156 | Install a to_xfer_partial hook. | |
11157 | ||
a1583b1f PA |
11158 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11159 | ||
11160 | * remote-m32r-sdi.c (send_data): Constify 'buf' parameter. | |
11161 | (m32r_xfer_memory): Adjust as a to_xfer_partial helper. | |
11162 | (m32r_xfer_partial): New function. | |
11163 | (init_m32r_ops): Don't install a deprecated_xfer_memory hook. | |
11164 | Install a to_xfer_partial hook. | |
11165 | ||
6df1b29f PA |
11166 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11167 | ||
11168 | * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial | |
11169 | helper. | |
11170 | (mips_xfer_partial): New function. | |
11171 | (_initialize_remote_mips): Don't install a deprecated_xfer_memory | |
11172 | hook. Install a to_xfer_partial hook. | |
11173 | ||
dc53a7ad JB |
11174 | 2014-02-26 Joel Brobecker <brobecker@adacore.com> |
11175 | ||
11176 | * gdbtypes.h (create_array_type_with_stride): Add declaration. | |
11177 | * gdbtypes.c (create_array_type_with_stride): New function, | |
11178 | renaming create_array_type, but with an added parameter | |
11179 | called "bit_stride". | |
11180 | (create_array_type): Re-implement using | |
11181 | create_array_type_with_stride. | |
11182 | * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride | |
11183 | and DW_AT_bit_stride attributes. | |
11184 | ||
12ab52e9 PA |
11185 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11186 | ||
11187 | * breakpoint.c (bpstat_check_breakpoint_conditions): Handle | |
11188 | task-specific breakpoints. | |
11189 | ||
d16461ae PA |
11190 | 2014-02-25 Pedro Alves <palves@redhat.com> |
11191 | ||
11192 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement | |
11193 | handling of object == TARGET_OBJECT_UNWIND_TABLE. | |
11194 | ||
a8b16220 SS |
11195 | 2014-02-25 Stan Shebs <stan@codesourcery.com> |
11196 | ||
11197 | * defs.h: Annotate comments for Doxygen. | |
11198 | ||
b9e795ee TT |
11199 | 2014-02-25 Tom Tromey <tromey@redhat.com> |
11200 | ||
11201 | * target.h (target_ignore): Don't declare. | |
11202 | * target.c (target_ignore): Remove. | |
11203 | ||
849c862e JK |
11204 | 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
11205 | ||
11206 | PR gdb/16626 | |
11207 | * auto-load.c (auto_load_objfile_script_1): Change filename to | |
11208 | debugfile. | |
11209 | ||
475109d8 JB |
11210 | 2014-02-25 Joel Brobecker <brobecker@adacore.com> |
11211 | ||
11212 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function | |
11213 | documentation. Adjust prototype to match the target_ops | |
11214 | to_xfer_partial method. Adjust implementation accordingly. | |
11215 | ||
e186c3bd HZ |
11216 | 2014-02-25 Hui Zhu <hui@codesourcery.com> |
11217 | ||
11218 | * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of | |
11219 | to_traceframe_info. | |
11220 | ||
6d451942 KB |
11221 | 2014-02-25 Kevin Buettner <kevinb@redhat.com> |
11222 | ||
041ab8b4 | 11223 | * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM) |
6d451942 KB |
11224 | (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM) |
11225 | (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM) | |
11226 | (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM) | |
11227 | (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM) | |
11228 | (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM) | |
11229 | (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM) | |
11230 | (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM): | |
11231 | New constants. | |
11232 | (rl78_register_type): Use a data pointer type for SP and | |
11233 | new pseudo registers mentioned above. Use a 16 bit integer | |
11234 | type for all other register pairs. | |
11235 | (rl78_register_name, rl78_g10_register_name): Update for | |
11236 | new pseudo registers. | |
11237 | (rl78_pseudo_register_read): Likewise. | |
11238 | (rl78_pseudo_register_write): Likewise. | |
11239 | (rl78_dwarf_reg_to_regnum): Return register numbers representing | |
11240 | to the newly added pseudo registers. | |
11241 | ||
eddf0bae DE |
11242 | 2014-02-24 Doug Evans <dje@google.com> |
11243 | ||
11244 | * value.c (record_latest_value): Fix comment. | |
11245 | * printcmd.c (print_command_1): Remove code to handle -1 return from | |
11246 | record_latest_value. | |
11247 | ||
e96027e0 PA |
11248 | 2014-02-24 Pedro Alves <palves@redhat.com> |
11249 | ||
11250 | * procfs.c (procfs_target): Don't install procfs_xfer_memory as | |
11251 | deprecated_xfer_memory hook. | |
11252 | (procfs_xfer_partial): Call procfs_xfer_memory instead | |
11253 | of the deprecated_xfer_memory target hook. | |
11254 | (procfs_xfer_memory): Adjust interface as a to_xfer_partial | |
11255 | helper. | |
11256 | ||
0837c976 YZ |
11257 | 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com> |
11258 | ||
11259 | * windows-nat.c (windows_xfer_shared_libraries): Return | |
11260 | TARGET_XFER_EOF if LEN is zero to fix an assert failure when | |
11261 | requested object is TARGET_OBJECT_LIBRARIES. | |
11262 | ||
bc113b4e YQ |
11263 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
11264 | ||
11265 | * target.h (enum target_xfer_status) | |
11266 | <TARGET_XFER_E_UNAVAILABLE>: Rename it to ... | |
11267 | <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2 | |
11268 | explicitly. New. | |
11269 | * corefile.c (memory_error_message): User updated. | |
11270 | * exec.c (section_table_read_available_memory): Likewise. | |
11271 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
11272 | * target.c (target_xfer_status_to_string): Likewise. | |
11273 | (raw_memory_xfer_partial): Likewise. | |
11274 | (memory_xfer_partial_1, target_xfer_partial): Likewise. | |
11275 | * valops.c (read_value_memory): Likewise. | |
11276 | * exec.h: Update comments. | |
11277 | ||
01cb8804 YQ |
11278 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
11279 | ||
11280 | * target.c (target_xfer_status_to_string): Rename argument err | |
11281 | to status. | |
11282 | * target.h (target_xfer_status_to_string): Update declaration. | |
11283 | Replace target_xfer_error_to_string with | |
11284 | target_xfer_status_to_string in comment. | |
11285 | ||
93063aa6 YQ |
11286 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
11287 | ||
11288 | * mips-linux-nat.c (super_close): Update its type. | |
11289 | (mips_linux_close): Pass 'self' to super_close. | |
11290 | ||
5c328c05 YQ |
11291 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
11292 | ||
11293 | * target.h (TARGET_XFER_STATUS_ERROR_P): Remove. | |
11294 | * corefile.c (read_memory): Adjusted. | |
11295 | * target.c (target_write_with_progress): Adjusted. | |
11296 | ||
f73023dd YQ |
11297 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11298 | ||
11299 | Revert two patches: | |
11300 | ||
11301 | 2013-10-25 Yao Qi <yao@codesourcery.com> | |
11302 | ||
11303 | * remote.c (remote_traceframe_info): Return early if | |
11304 | traceframe is not selected. | |
11305 | ||
11306 | 2013-07-19 Yao Qi <yao@codesourcery.com> | |
11307 | ||
11308 | * target.c (update_current_target): Change the default action | |
11309 | of 'to_traceframe_info' from tcomplain to return_zero. | |
11310 | * target.h (struct target_ops) <to_traceframe_info>: Add more | |
11311 | comments. | |
11312 | ||
5a2eb0ef YQ |
11313 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11314 | ||
11315 | * valops.c (read_value_memory): Rewrite it. Call | |
11316 | target_xfer_partial in a loop. | |
11317 | * exec.h (section_table_available_memory): Remove declaration. | |
11318 | Move comments to ... | |
11319 | * exec.c (section_table_available_memory): ... here. Make it | |
11320 | static. | |
11321 | ||
1ee79381 YQ |
11322 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11323 | ||
11324 | * exec.c (section_table_read_available_memory): New function. | |
11325 | * exec.h (section_table_read_available_memory): Declare. | |
11326 | * ctf.c (ctf_xfer_partial): Call | |
11327 | section_table_read_available_memory. | |
11328 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
11329 | ||
1ca49d37 YQ |
11330 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11331 | ||
11332 | * ctf.c (ctf_xfer_partial): Move code to ... | |
11333 | * exec.c (exec_read_partial_read_only): ... it. New function. | |
11334 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
11335 | * tracefile.c: Include "exec.h". | |
11336 | * exec.h (exec_read_partial_read_only): Declare. | |
11337 | ||
a283690e YQ |
11338 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11339 | ||
11340 | * tracefile-tfile.c (tfile_has_all_memory): Remove. | |
11341 | (tfile_has_memory): Remove. | |
11342 | (init_tfile_ops): Don't set fields to_has_all_memory and | |
11343 | to_has_memory of tfile_ops. | |
11344 | * tracefile.c (tracefile_has_all_memory): New function. | |
11345 | (tracefile_has_memory): New function. | |
11346 | (init_tracefile_ops): Initialize fields to_has_all_memory and | |
11347 | to_has_memory of 'ops'. | |
11348 | ||
12e03cd0 YQ |
11349 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11350 | ||
11351 | * ctf.c (ctf_has_stack, ctf_has_registers): Remove. | |
11352 | (ctf_thread_alive, ctf_get_trace_status): Remove. | |
11353 | (init_ctf_ops): Don't set some fields of ctf_ops. Call | |
11354 | init_tracefile_ops. | |
11355 | * tracefile-tfile.c (tfile_get_trace_status): Remove. | |
11356 | (tfile_has_stack, tfile_has_registers): Remove. | |
11357 | (tfile_thread_alive): Remove. | |
11358 | (init_tfile_ops): Don't set some fields of tfile_ops. Call | |
11359 | init_tracefile_ops. | |
11360 | * tracefile.c (tracefile_has_stack): New function. | |
11361 | (tracefile_has_registers): New function. | |
11362 | (tracefile_thread_alive): New function. | |
11363 | (tracefile_get_trace_status): New function. | |
11364 | (init_tracefile_ops): New function. | |
11365 | * tracefile.h (init_tracefile_ops): Declare. | |
11366 | ||
11395323 YQ |
11367 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11368 | ||
11369 | * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c. | |
11370 | (O_LARGEFILE): Likewise. | |
11371 | (tfile_ops): Likewise. | |
11372 | (TRACE_HEADER_SIZE): Likewise. | |
11373 | (trace_fd, trace_frames_offset, cur_offset): Likewise. | |
11374 | (cur_data_size): Likewise. | |
11375 | (tfile_read, tfile_open, tfile_interp_line): Likewise. | |
11376 | (tfile_close, tfile_files_info): Likewise. | |
11377 | (tfile_get_trace_status): Likewise. | |
11378 | (tfile_get_tracepoint_status): Likewise. | |
11379 | (tfile_get_traceframe_address): Likewise. | |
11380 | (tfile_trace_find, match_blocktype): Likewise. | |
11381 | (traceframe_walk_blocks, traceframe_find_block_type): Likewise. | |
11382 | (tfile_fetch_registers, tfile_xfer_partial): Likewise. | |
11383 | (tfile_get_trace_state_variable_value): Likewise. | |
11384 | (tfile_has_all_memory, tfile_has_memory): Likewise. | |
11385 | (tfile_has_stack, tfile_has_registers): Likewise. | |
11386 | (tfile_thread_alive, build_traceframe_info): Likewise. | |
11387 | (tfile_traceframe_info, init_tfile_ops): Likewise. | |
11388 | (_initialize_tracepoint): Don't call init_tfile_ops | |
11389 | and add_target_with_completer. | |
11390 | * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h, | |
11391 | exec.h, completer.h and filenames.h. | |
11392 | (_initialize_tracefile_tfile): New function. | |
11393 | ||
7951c4eb YQ |
11394 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11395 | ||
11396 | * Makefile.in (REMOTE_OBS): Append tracefile.o and | |
11397 | tracefile-tfile.o. | |
11398 | (HFILES_NO_SRCDIR): Add tracefile.h. | |
11399 | * ctf.c: Include "tracefile.h". | |
11400 | * tracefile.h: New file. | |
11401 | * tracefile.c: New file | |
11402 | * tracefile-tfile.c: New file. | |
11403 | * tracepoint.c: Include "tracefile.h". | |
11404 | (free_uploaded_tps, free_uploaded_tsvs): Remove declarations. | |
11405 | (stop_reason_names): Add const. | |
11406 | (trace_file_writer_xfree): Move it to tracefile.c. | |
11407 | (trace_save, trace_save_command, trace_save_tfile): Likewise. | |
11408 | (trace_save_ctf): Likewise. | |
11409 | (struct tfile_trace_file_writer): Move it to tracefile-tfile.c. | |
11410 | (tfile_target_save, tfile_dtor, tfile_start): Likewise. | |
11411 | (tfile_write_header, tfile_write_regblock_type): Likewise. | |
11412 | (tfile_write_status, tfile_write_uploaded_tsv): Likewise. | |
11413 | (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise. | |
11414 | (tfile_write_raw_data, tfile_end): Likewise. | |
11415 | (tfile_trace_file_writer_new): Likewise. | |
11416 | (free_uploaded_tp): Make it extern. | |
11417 | (free_uploaded_tsv): Make it extern. | |
11418 | (_initialize_tracepoint): Move code to register command 'tsave' | |
11419 | to tracefile.c. | |
11420 | * tracepoint.h (stop_reason_names): Declare. | |
11421 | (struct trace_frame_write_ops): Move it to tracefile.h. | |
11422 | (struct trace_file_write_ops): Likewise. | |
11423 | (struct trace_file_writer): Likewise. | |
11424 | (free_uploaded_tsvs, free_uploaded_tps): Declare. | |
11425 | ||
184cd072 JK |
11426 | 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
11427 | ||
11428 | PR gdb/16594 | |
11429 | * common/linux-osdata.c (linux_common_core_of_thread): Find the end of | |
11430 | process name. | |
11431 | (get_cores_used_by_process): New parameter num_cores, use it. | |
11432 | (linux_xfer_osdata_processes): Pass num_cores to it. | |
11433 | * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of | |
11434 | process name. | |
11435 | ||
c63528fc AK |
11436 | 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com> |
11437 | ||
11438 | * target.c (memory_xfer_partial): Fix length arg in call to | |
11439 | breakpoint_xfer_memory. | |
11440 | ||
d7b30f67 SDJ |
11441 | 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com> |
11442 | ||
11443 | PR tdep/16397 | |
11444 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a | |
11445 | number comes after the + or - signs. Adjust length of register | |
11446 | name to be extracted. | |
11447 | ||
8838afaf TT |
11448 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
11449 | ||
11450 | * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) | |
11451 | (ada_varobj_ops): Mark "extern". | |
11452 | ||
05227d14 TT |
11453 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
11454 | ||
11455 | * dbxread.c (read_dbx_symtab): Remove last_o_file_start. | |
11456 | ||
1254eefc DE |
11457 | 2014-02-20 Doug Evans <xdje42@gmail.com> |
11458 | ||
11459 | * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. | |
11460 | All callers updated. | |
11461 | (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm. | |
11462 | All callers updated. | |
11463 | * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update. | |
11464 | (gdbscm_fill_eqable_gsmob_ptr_slot): Update. | |
11465 | ||
adde2bff DE |
11466 | 2014-02-20 lin zuojian <manjian2006@gmail.com> |
11467 | Joel Brobecker <brobecker@adacore.com> | |
11468 | Doug Evans <xdje42@gmail.com> | |
11469 | ||
11470 | PR symtab/16581 | |
11471 | * dwarf2read.c (struct die_info): New member in_process. | |
11472 | (reset_die_in_process): New function. | |
11473 | (process_die): Set it at the start, reset when returning. | |
11474 | (inherit_abstract_dies): Only call process_die if origin_child_die | |
11475 | not already being processed. | |
11476 | ||
3be75f87 JB |
11477 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11478 | ||
11479 | * windows-nat.c (handle_unload_dll): Add function documentation. | |
11480 | (do_initial_windows_stuff): Add comment explaining why we wait | |
11481 | until after inferior initialization has finished before | |
11482 | processing all DLLs. | |
11483 | ||
47f7ffdb JB |
11484 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11485 | ||
11486 | * windows-nat.c (get_module_name): Delete. | |
11487 | (windows_get_exec_module_filename): New function, mostly | |
11488 | inspired from get_module_name. | |
11489 | (windows_pid_to_exec_file): Replace call to get_module_name | |
11490 | by call to windows_get_exec_module_filename. | |
11491 | ||
1cd9feab JB |
11492 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11493 | ||
11494 | * windows-nat.c (handle_load_dll): Rewrite this function's | |
11495 | introductory comment. Remove code using get_module_name | |
11496 | to get the DLL's name. | |
11497 | ||
ea39ad35 JB |
11498 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11499 | ||
11500 | * windows-nat.c (get_windows_debug_event): Ignore | |
11501 | LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT | |
11502 | if windows_initialization_done == 0. | |
11503 | (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. | |
11504 | Adjust implementation to always load all DLLs. | |
11505 | (do_initial_windows_stuff): Replace call to | |
11506 | windows_ensure_ntdll_loaded by call to windows_add_all_dlls. | |
11507 | ||
95060284 JB |
11508 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11509 | ||
11510 | * windows-nat.c (_initialize_windows_nat): Deprecate the | |
11511 | "dll-symbols" command. Turn the "add-shared-symbol-files" | |
11512 | and "assf" aliases into commands, and deprecate them as well. | |
11513 | * NEWS: Add entry explaining that "dll-symbols" and its two | |
11514 | aliases are now deprecated. | |
11515 | ||
8d4fdb12 JB |
11516 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11517 | ||
11518 | * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped | |
11519 | new-line in debug string. Remove trailing spaces. | |
11520 | ||
1b281443 SS |
11521 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
11522 | ||
11523 | * darwin-nat.c (darwin_xfer_partial): Fix return type. | |
11524 | ||
f7bd0f78 SC |
11525 | 2014-02-19 Siva Chandra Reddy <sivachandra@google.com> |
11526 | ||
11527 | * NEWS: Add entry for the new feature | |
11528 | * python/py-value.c (valpy_binop): Call value_x_binop for struct | |
11529 | and class values. | |
11530 | ||
399ebc3d SS |
11531 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
11532 | ||
11533 | * MAINTAINERS: List Yao Qi as nios2 maintainer. | |
11534 | ||
c658158d PA |
11535 | 2014-02-19 Pedro Alves <palves@redhat.com> |
11536 | ||
11537 | * common/ptid.h (struct ptid): Mention that process_stratum | |
11538 | targets should prefer ptid.lwp. | |
11539 | ||
ba348170 PA |
11540 | 2014-02-19 Pedro Alves <palves@redhat.com> |
11541 | ||
11542 | * remote.c (remote_thread_alive, write_ptid, read_ptid) | |
11543 | (read_ptid, remote_newthread_step, remote_threads_extra_info) | |
11544 | (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) | |
11545 | (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to | |
11546 | store remote thread ids rather than ptid.tid. | |
11547 | (_initialize_remote): Adjust. | |
11548 | ||
ac01945b TT |
11549 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11550 | ||
11551 | * target.c (target_get_unwinder): Rewrite. | |
11552 | (target_get_tailcall_unwinder): Rewrite. | |
11553 | * record-btrace.c (record_btrace_to_get_unwinder): New function. | |
11554 | (record_btrace_to_get_tailcall_unwinder): New function. | |
11555 | (init_record_btrace_ops): Update. | |
11556 | * target.h (struct target_ops) <to_get_unwinder, | |
11557 | to_get_tailcall_unwinder>: Now function pointers. Use | |
11558 | TARGET_DEFAULT_RETURN. | |
11559 | ||
8476dc92 TT |
11560 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11561 | ||
11562 | * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' | |
11563 | argument. | |
11564 | (init_procfs_ops): Correctly set to_remove_hw_breakpoint. | |
11565 | ||
c0eca49f TT |
11566 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11567 | ||
11568 | * record-btrace.c (record_btrace_decr_pc_after_break): Delegate | |
11569 | directly. | |
11570 | * target-delegates.c: Rebuild. | |
11571 | * target.h (struct target_ops) <to_decr_pc_after_break>: Use | |
11572 | TARGET_DEFAULT_FUNC. | |
11573 | * target.c (default_target_decr_pc_after_break): Rename from | |
11574 | forward_target_decr_pc_after_break. Simplify. | |
11575 | (target_decr_pc_after_break): Rely on delegation. | |
11576 | ||
596b6b39 TT |
11577 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11578 | ||
11579 | * target.c (update_current_target): Do not INHERIT to_doc or | |
11580 | to_magic. Do not de_fault to_open or to_close. | |
11581 | ||
b427c1bc TT |
11582 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11583 | ||
11584 | * gcore.h (objfile_find_memory_regions): Declare. | |
11585 | * gcore.c (objfile_find_memory_regions): No longer static. Add | |
11586 | "self" argument. | |
11587 | (_initialize_gcore): Don't call exec_set_find_memory_regions. | |
11588 | * exec.c: Include gcore.h. | |
11589 | (exec_set_find_memory_regions): Remove. | |
11590 | (exec_find_memory_regions): Remove. | |
11591 | (exec_do_find_memory_regions): Remove. | |
11592 | (init_exec_ops): Update. | |
11593 | * defs.h (exec_set_find_memory_regions): Remove. | |
11594 | ||
9b144037 TT |
11595 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11596 | ||
11597 | * target-delegates.c: Rebuild. | |
11598 | * target.h (struct target_ops) <to_extra_thread_info, | |
11599 | to_thread_name, to_pid_to_exec_file, to_get_section_table, | |
11600 | to_memory_map, to_read_description, to_traceframe_info>: Use NULL, | |
11601 | not 0, in TARGET_DEFAULT_RETURN. | |
11602 | ||
555bbdeb TT |
11603 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11604 | ||
11605 | * target.c (complete_target_initialization): Remove casts. Use | |
11606 | return_zero_has_execution. | |
11607 | (return_zero): Add "ignore" argument. | |
11608 | (return_zero_has_execution): New function. | |
11609 | (init_dummy_target): Remove casts. Use | |
11610 | return_zero_has_execution. | |
11611 | ||
be4ddd36 TT |
11612 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11613 | ||
11614 | * target.c (update_current_target): Update comments. Do not | |
11615 | INHERIT to_stratum. | |
11616 | ||
2117c711 TT |
11617 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11618 | ||
11619 | * arm-linux-nat.c (arm_linux_read_description): Delegate when | |
11620 | needed. | |
11621 | * corelow.c (core_read_description): Delegate when needed. | |
11622 | * remote.c (remote_read_description): Delegate when needed. | |
11623 | * target-delegates.c: Rebuild. | |
11624 | * target.c (target_read_description): Rewrite. | |
11625 | * target.h (struct target_ops) <to_read_description>: Update | |
11626 | comment. Use TARGET_DEFAULT_RETURN. | |
11627 | ||
e88ef65c TT |
11628 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11629 | ||
11630 | * target-delegates.c: Rebuild. | |
11631 | * target.c (update_current_target): Don't inherit or default | |
11632 | to_can_run. | |
11633 | (find_default_run_target): Check against delegate_can_run. | |
11634 | * target.h (struct target_ops) <to_can_run>: Use | |
11635 | TARGET_DEFAULT_RETURN. | |
11636 | ||
86a0854a TT |
11637 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11638 | ||
11639 | * target-delegates.c: Rebuild. | |
11640 | * target.c (target_disconnect): Unconditionally delegate. | |
11641 | * target.h (struct target_ops) <to_disconnect>: Use | |
11642 | TARGET_DEFAULT_NORETURN. | |
11643 | ||
ee97f592 TT |
11644 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11645 | ||
11646 | * record.c (record_stop): Unconditionally delegate. | |
11647 | * target-delegates.c: Rebuild. | |
11648 | * target.c (target_stop_recording): Unconditionally delegate. | |
11649 | * target.h (struct target_ops) <to_stop_recording>: Use | |
11650 | TARGET_DEFAULT_IGNORE. | |
11651 | ||
6dc7fcf4 TT |
11652 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11653 | ||
11654 | * target-delegates.c: Rebuild. | |
11655 | * target.c (target_enable_btrace): Unconditionally delegate. | |
11656 | * target.h (struct target_ops) <to_enable_btrace>: Use | |
11657 | TARGET_DEFAULT_NORETURN. | |
11658 | ||
eb5b20d4 TT |
11659 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11660 | ||
11661 | * target-delegates.c: Rebuild. | |
11662 | * target.c (target_read_btrace): Unconditionally delegate. | |
11663 | * target.h (struct target_ops) <to_read_btrace>: Use | |
11664 | TARGET_DEFAULT_NORETURN. | |
11665 | ||
9ace480d TT |
11666 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11667 | ||
11668 | * target-delegates.c: Rebuild. | |
11669 | * target.c (target_teardown_btrace): Unconditionally delegate. | |
11670 | * target.h (struct target_ops) <to_teardown_btrace>: Use | |
11671 | TARGET_DEFAULT_NORETURN. | |
11672 | ||
8dc292d3 TT |
11673 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11674 | ||
11675 | * target-delegates.c: Rebuild. | |
11676 | * target.c (target_disable_btrace): Unconditionally delegate. | |
11677 | * target.h (struct target_ops) <to_disable_btrace>: Use | |
11678 | TARGET_DEFAULT_NORETURN. | |
11679 | ||
58a5184e TT |
11680 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11681 | ||
11682 | * target-delegates.c: Rebuild. | |
11683 | * target.c (default_search_memory): New function. | |
11684 | (simple_search_memory): Update comment. | |
11685 | (target_search_memory): Unconditionally delegate. | |
11686 | * target.h (struct target_ops) <to_search_memory>: Use | |
11687 | TARGET_DEFAULT_FUNC. | |
11688 | ||
8de71aab TT |
11689 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11690 | ||
11691 | * auxv.c (default_auxv_parse): No longer static. | |
11692 | (target_auxv_parse): Unconditionally delegate. | |
11693 | * auxv.h (default_auxv_parse): Declare. | |
11694 | * target-delegates.c: Rebuild. | |
11695 | * target.c: Include auxv.h. | |
11696 | * target.h (struct target_ops) <to_auxv_parse>: Use | |
11697 | TARGET_DEFAULT_FUNC. | |
11698 | ||
6b2c5a57 TT |
11699 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11700 | ||
11701 | * target-delegates.c: Rebuild. | |
11702 | * target.c (target_memory_map): Unconditionally delegate. | |
11703 | * target.h (struct target_ops) <to_memory_map>: Use | |
11704 | TARGET_DEFAULT_RETURN. | |
11705 | ||
cbffc065 TT |
11706 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11707 | ||
11708 | * target-delegates.c: Rebuild. | |
11709 | * target.c (target_thread_alive): Unconditionally delegate. | |
11710 | * target.h (struct target_ops) <to_thread_alive>: Use | |
11711 | TARGET_DEFAULT_RETURN. | |
11712 | ||
f09e2107 TT |
11713 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11714 | ||
11715 | * target-delegates.c: Rebuild. | |
11716 | * target.c (target_save_record): Unconditionally delegate. | |
11717 | * target.h (struct target_ops) <to_save_record>: Use | |
11718 | TARGET_DEFAULT_NORETURN. | |
11719 | ||
07366925 TT |
11720 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11721 | ||
11722 | * target-delegates.c: Rebuild. | |
11723 | * target.c (target_delete_record): Unconditionally delegate. | |
11724 | * target.h (struct target_ops) <to_delete_record>: Use | |
11725 | TARGET_DEFAULT_NORETURN. | |
11726 | ||
dd2e9d25 TT |
11727 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11728 | ||
11729 | * target-delegates.c: Rebuild. | |
11730 | * target.c (target_record_is_replaying): Unconditionally | |
11731 | delegate. | |
11732 | * target.h (struct target_ops) <to_record_is_replaying>: Use | |
11733 | TARGET_DEFAULT_RETURN. | |
11734 | ||
671e76cc TT |
11735 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11736 | ||
11737 | * target-delegates.c: Rebuild. | |
11738 | * target.c (target_goto_record_begin): Unconditionally delegate. | |
11739 | * target.h (struct target_ops) <to_goto_record_begin>: Use | |
11740 | TARGET_DEFAULT_NORETURN. | |
11741 | ||
e9179bb3 TT |
11742 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11743 | ||
11744 | * target-delegates.c: Rebuild. | |
11745 | * target.c (target_goto_record_end): Unconditionally delegate. | |
11746 | * target.h (struct target_ops) <to_goto_record_end>: Use | |
11747 | TARGET_DEFAULT_NORETURN. | |
11748 | ||
05969c84 TT |
11749 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11750 | ||
11751 | * target-delegates.c: Rebuild. | |
11752 | * target.c (target_goto_record): Unconditionally delegate. | |
11753 | * target.h (struct target_ops) <to_goto_record>: Use | |
11754 | TARGET_DEFAULT_NORETURN. | |
11755 | ||
3679abfa TT |
11756 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11757 | ||
11758 | * target-delegates.c: Rebuild. | |
11759 | * target.c (target_insn_history): Unconditionally delegate. | |
11760 | * target.h (struct target_ops) <to_insn_history>: Use | |
11761 | TARGET_DEFAULT_NORETURN. | |
11762 | ||
8444ab58 TT |
11763 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11764 | ||
11765 | * target-delegates.c: Rebuild. | |
11766 | * target.c (target_insn_history_from): Unconditionally delegate. | |
11767 | * target.h (struct target_ops) <to_insn_history_from>: Use | |
11768 | TARGET_DEFAULT_NORETURN. | |
11769 | ||
c29302cc TT |
11770 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11771 | ||
11772 | * target-delegates.c: Rebuild. | |
11773 | * target.c (target_insn_history_range): Unconditionally delegate. | |
11774 | * target.h (struct target_ops) <to_insn_history_range>: Use | |
11775 | TARGET_DEFAULT_NORETURN. | |
11776 | ||
170049d4 TT |
11777 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11778 | ||
11779 | * target-delegates.c: Rebuild. | |
11780 | * target.c (target_call_history): Unconditionally delegate. | |
11781 | * target.h (struct target_ops) <to_call_history>: Use | |
11782 | TARGET_DEFAULT_NORETURN. | |
11783 | ||
16fc27d6 TT |
11784 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11785 | ||
11786 | * target-delegates.c: Rebuild. | |
11787 | * target.c (target_call_history_from): Unconditionally delegate. | |
11788 | * target.h (struct target_ops) <to_call_history_from>: Use | |
11789 | TARGET_DEFAULT_NORETURN. | |
11790 | ||
115d9817 TT |
11791 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11792 | ||
11793 | * target-delegates.c: Rebuild. | |
11794 | * target.c (target_call_history_range): Unconditionally delegate. | |
11795 | * target.h (struct target_ops) <to_call_history_range>: Use | |
11796 | TARGET_DEFAULT_NORETURN. | |
11797 | ||
eb276a6b TT |
11798 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11799 | ||
11800 | * target-delegates.c: Rebuild. | |
11801 | * target.c (target_verify_memory): Unconditionally delegate. | |
11802 | * target.h (struct target_ops) <to_verify_memory>: Use | |
11803 | TARGET_DEFAULT_NORETURN. | |
11804 | ||
9e538d0d TT |
11805 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11806 | ||
11807 | * target-delegates.c: Rebuild. | |
11808 | * target.c (target_core_of_thread): Unconditionally delegate. | |
11809 | * target.h (struct target_ops) <to_core_of_thread>: Use | |
11810 | TARGET_DEFAULT_RETURN. | |
11811 | ||
f6fb2925 TT |
11812 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11813 | ||
11814 | * target-delegates.c: Rebuild. | |
11815 | * target.c (target_flash_done): Unconditionally delegate. | |
11816 | * target.h (struct target_ops) <to_flash_done>: Use | |
11817 | TARGET_DEFAULT_NORETURN. | |
11818 | ||
e8a6c6ac TT |
11819 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11820 | ||
11821 | * target-delegates.c: Rebuild. | |
11822 | * target.c (target_flash_erase): Unconditionally delegate. | |
11823 | * target.h (struct target_ops) <to_flash_erase>: Use | |
11824 | TARGET_DEFAULT_NORETURN. | |
11825 | ||
7e35c012 TT |
11826 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11827 | ||
11828 | * target-delegates.c: Rebuild. | |
11829 | * target.c (target_get_section_table): Unconditionally delegate. | |
11830 | * target.h (struct target_ops) <to_get_section_table>: Use | |
11831 | TARGET_DEFAULT_RETURN. | |
11832 | ||
770234d3 TT |
11833 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11834 | ||
11835 | * target-delegates.c: Rebuild. | |
11836 | * target.c (target_pid_to_str): Unconditionally delegate. | |
11837 | (init_dummy_target): Don't initialize to_pid_to_str. | |
11838 | (default_pid_to_str): Rename from dummy_pid_to_str. | |
11839 | * target.h (struct target_ops) <to_pid_to_str>: Use | |
11840 | TARGET_DEFAULT_FUNC. | |
11841 | ||
09b0dc2b TT |
11842 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11843 | ||
11844 | * target-delegates.c: Rebuild. | |
11845 | * target.c (target_find_new_threads): Unconditionally delegate. | |
11846 | * target.h (struct target_ops) <to_find_new_threads>: Use | |
11847 | TARGET_DEFAULT_RETURN. | |
11848 | ||
7d4f8efa TT |
11849 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11850 | ||
11851 | * target-delegates.c: Rebuild. | |
11852 | * target.c (target_program_signals): Unconditionally delegate. | |
11853 | * target.h (struct target_ops) <to_program_signals>: Use | |
11854 | TARGET_DEFAULT_IGNORE. | |
11855 | ||
035cad7f TT |
11856 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11857 | ||
11858 | * target-delegates.c: Rebuild. | |
11859 | * target.c (target_pass_signals): Unconditionally delegate. | |
11860 | * target.h (struct target_ops) <to_pass_signals>: Use | |
11861 | TARGET_DEFAULT_IGNORE. | |
11862 | ||
8d657035 TT |
11863 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11864 | ||
11865 | * target-delegates.c: Rebuild. | |
11866 | * target.c (default_mourn_inferior): New function. | |
11867 | (target_mourn_inferior): Unconditionally delegate. | |
11868 | * target.h (struct target_ops) <to_mourn_inferior>: Use | |
11869 | TARGET_DEFAULT_FUNC. | |
11870 | ||
098dba18 TT |
11871 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11872 | ||
11873 | * target-delegates.c: Rebuild. | |
11874 | * target.c (default_follow_fork): New function. | |
11875 | (target_follow_fork): Unconditionally delegate. | |
11876 | * target.h (struct target_ops) <to_follow_fork>: Use | |
11877 | TARGET_DEFAULT_FUNC. | |
11878 | ||
423a4807 TT |
11879 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11880 | ||
11881 | * target-delegates.c: Rebuild. | |
11882 | * target.c (target_kill): Unconditionally delegate. | |
11883 | * target.h (struct target_ops) <to_kill>: Use | |
11884 | TARGET_DEFAULT_NORETURN. | |
11885 | ||
6c7e5e5c TT |
11886 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11887 | ||
11888 | * target-delegates.c: Rebuild. | |
11889 | * target.c (target_masked_watch_num_registers): Unconditionally | |
11890 | delegate. | |
11891 | * target.h (struct target_ops) <to_masked_watch_num_registers>: | |
11892 | Use TARGET_DEFAULT_RETURN. | |
11893 | ||
8b1c364c TT |
11894 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11895 | ||
11896 | * target-delegates.c: Rebuild. | |
11897 | * target.c (target_remove_mask_watchpoint): Unconditionally | |
11898 | delegate. | |
11899 | * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use | |
11900 | TARGET_DEFAULT_RETURN. | |
11901 | ||
cd4ae029 TT |
11902 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11903 | ||
11904 | * target-delegates.c: Rebuild. | |
11905 | * target.c (target_insert_mask_watchpoint): Unconditionally | |
11906 | delegate. | |
11907 | * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use | |
11908 | TARGET_DEFAULT_RETURN. | |
11909 | ||
a134316b TT |
11910 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11911 | ||
11912 | * target-delegates.c: Rebuild. | |
11913 | * target.c (target_ranged_break_num_registers): Unconditionally | |
11914 | delegate. | |
11915 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
11916 | Use TARGET_DEFAULT_RETURN. | |
11917 | ||
ad5989bd TT |
11918 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11919 | ||
11920 | * target-delegates.c: Rebuild. | |
11921 | * target.c (target_fetch_registers): Unconditionally delegate. | |
11922 | * target.h (struct target_ops) <to_fetch_registers>: Use | |
11923 | TARGET_DEFAULT_NORETURN. | |
11924 | ||
46ee7e8d TT |
11925 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11926 | ||
11927 | * target-delegates.c: Rebuild. | |
11928 | * target.c (update_current_target): Don't inherit or default | |
11929 | to_stop. | |
11930 | * target.h (struct target_ops) <to_stop>: Use | |
11931 | TARGET_DEFAULT_IGNORE. | |
11932 | ||
843f59ed TT |
11933 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11934 | ||
11935 | * target-delegates.c: Rebuild. | |
11936 | * target.c (update_current_target): Don't inherit or default | |
11937 | to_can_run_breakpoint_commands. | |
11938 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
11939 | Use TARGET_DEFAULT_RETURN. | |
11940 | ||
ccfde2a0 TT |
11941 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11942 | ||
11943 | * target-delegates.c: Rebuild. | |
11944 | * target.c (update_current_target): Don't inherit or default | |
11945 | to_supports_evaluation_of_breakpoint_conditions. | |
11946 | * target.h (struct target_ops) | |
11947 | <to_supports_evaluation_of_breakpoint_conditions>: Use | |
11948 | TARGET_DEFAULT_RETURN. | |
11949 | ||
0de91722 TT |
11950 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11951 | ||
11952 | * target-delegates.c: Rebuild. | |
11953 | * target.c (update_current_target): Don't inherit or default | |
11954 | to_augmented_libraries_svr4_read. | |
11955 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
11956 | Use TARGET_DEFAULT_RETURN. | |
11957 | ||
9a7d8b48 TT |
11958 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11959 | ||
11960 | * target-delegates.c: Rebuild. | |
11961 | * target.c (update_current_target): Don't inherit or default | |
11962 | to_can_use_agent. | |
11963 | * target.h (struct target_ops) <to_can_use_agent>: Use | |
11964 | TARGET_DEFAULT_RETURN. | |
11965 | ||
d9db5b21 TT |
11966 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11967 | ||
11968 | * target-delegates.c: Rebuild. | |
11969 | * target.c (update_current_target): Don't inherit or default | |
11970 | to_use_agent. | |
11971 | * target.h (struct target_ops) <to_use_agent>: Use | |
11972 | TARGET_DEFAULT_NORETURN. | |
11973 | ||
92155eeb TT |
11974 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11975 | ||
11976 | * target-delegates.c: Rebuild. | |
11977 | * target.c (update_current_target): Don't inherit or default | |
11978 | to_traceframe_info. | |
11979 | (return_null): Remove. | |
11980 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
11981 | TARGET_DEFAULT_RETURN. | |
11982 | ||
d6522a22 TT |
11983 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11984 | ||
11985 | * target-delegates.c: Rebuild. | |
11986 | * target.c (update_current_target): Don't inherit or default | |
11987 | to_static_tracepoint_markers_by_strid. | |
11988 | * target.h (struct target_ops) | |
11989 | <to_static_tracepoint_markers_by_strid>: Use | |
11990 | TARGET_DEFAULT_NORETURN. | |
11991 | ||
4c3e4425 TT |
11992 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11993 | ||
11994 | * target-delegates.c: Rebuild. | |
11995 | * target.c (update_current_target): Don't inherit or default | |
11996 | to_static_tracepoint_marker_at. | |
11997 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
11998 | Use TARGET_DEFAULT_RETURN. | |
11999 | ||
dcd6917f TT |
12000 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12001 | ||
12002 | * target-delegates.c: Rebuild. | |
12003 | * target.c (update_current_target): Don't inherit or default | |
12004 | to_set_permissions. | |
12005 | * target.h (struct target_ops) <to_set_permissions>: Use | |
12006 | TARGET_DEFAULT_IGNORE. | |
12007 | ||
22bcceee TT |
12008 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12009 | ||
12010 | * target-delegates.c: Rebuild. | |
12011 | * target.c (update_current_target): Don't inherit or default | |
12012 | to_get_tib_address. | |
12013 | * target.h (struct target_ops) <to_get_tib_address>: Use | |
12014 | TARGET_DEFAULT_NORETURN. | |
12015 | ||
8586ccaa TT |
12016 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12017 | ||
12018 | * target-delegates.c: Rebuild. | |
12019 | * target.c (update_current_target): Don't inherit or default | |
12020 | to_set_trace_notes. | |
12021 | * target.h (struct target_ops) <to_set_trace_notes>: Use | |
12022 | TARGET_DEFAULT_RETURN. | |
12023 | ||
91df8d1d TT |
12024 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12025 | ||
12026 | * target-delegates.c: Rebuild. | |
12027 | * target.c (update_current_target): Don't initialize | |
12028 | to_set_trace_buffer_size. | |
12029 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Use | |
12030 | TARGET_DEFAULT_IGNORE. | |
12031 | ||
8d526939 TT |
12032 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12033 | ||
12034 | * target-delegates.c: Rebuild. | |
12035 | * target.c (update_current_target): Don't inherit or default | |
12036 | to_set_circular_trace_buffer. | |
12037 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use | |
12038 | TARGET_DEFAULT_IGNORE. | |
12039 | ||
0bcfeddf TT |
12040 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12041 | ||
12042 | * target-delegates.c: Rebuild. | |
12043 | * target.c (update_current_target): Don't inherit or default | |
12044 | to_set_disconnected_tracing. | |
12045 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Use | |
12046 | TARGET_DEFAULT_IGNORE. | |
12047 | ||
9249843f TT |
12048 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12049 | ||
12050 | * target-delegates.c: Rebuild. | |
12051 | * target.c (update_current_target): Don't inherit or default | |
12052 | to_get_min_fast_tracepoint_insn_len. | |
12053 | (return_minus_one): Remove. | |
12054 | * target.h (struct target_ops) | |
12055 | <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN. | |
12056 | ||
ace92e7d TT |
12057 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12058 | ||
12059 | * target-delegates.c: Rebuild. | |
12060 | * target.c (update_current_target): Don't inherit or default | |
12061 | to_get_raw_trace_data. | |
12062 | * target.h (struct target_ops) <to_get_raw_trace_data>: Use | |
12063 | TARGET_DEFAULT_NORETURN. | |
12064 | ||
08120467 TT |
12065 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12066 | ||
12067 | * target-delegates.c: Rebuild. | |
12068 | * target.c (update_current_target): Don't inherit or default | |
12069 | to_upload_trace_state_variables. | |
12070 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
12071 | Use TARGET_DEFAULT_RETURN. | |
12072 | ||
1e949b00 TT |
12073 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12074 | ||
12075 | * target-delegates.c: Rebuild. | |
12076 | * target.c (update_current_target): Don't inherit or default | |
12077 | to_upload_tracepoints. | |
12078 | * target.h (struct target_ops) <to_upload_tracepoints>: Use | |
12079 | TARGET_DEFAULT_RETURN. | |
12080 | ||
a2e6c147 TT |
12081 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12082 | ||
12083 | * target-delegates.c: Rebuild. | |
12084 | * target.c (update_current_target): Don't inherit or default | |
12085 | to_save_trace_data. | |
12086 | * target.h (struct target_ops) <to_save_trace_data>: Use | |
12087 | TARGET_DEFAULT_NORETURN. | |
12088 | ||
959bcd0b TT |
12089 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12090 | ||
12091 | * target-delegates.c: Rebuild. | |
12092 | * target.c (update_current_target): Don't inherit or default | |
12093 | to_get_trace_state_variable_value. | |
12094 | * target.h (struct target_ops) | |
12095 | <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN. | |
12096 | ||
afc94e66 TT |
12097 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12098 | ||
12099 | * target-delegates.c: Rebuild. | |
12100 | * target.c (update_current_target): Don't inherit or default | |
12101 | to_trace_find. | |
12102 | * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN. | |
12103 | ||
e51c07ea TT |
12104 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12105 | ||
12106 | * target-delegates.c: Rebuild. | |
12107 | * target.c (update_current_target): Don't inherit or default | |
12108 | to_trace_stop. | |
12109 | * target.h (struct target_ops) <to_trace_stop>: Use | |
12110 | TARGET_DEFAULT_NORETURN. | |
12111 | ||
6fea14cd TT |
12112 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12113 | ||
12114 | * target-delegates.c: Rebuild. | |
12115 | * target.c (update_current_target): Don't inherit or default | |
12116 | to_get_tracepoint_status. | |
12117 | * target.h (struct target_ops) <to_get_tracepoint_status>: Use | |
12118 | TARGET_DEFAULT_NORETURN. | |
12119 | ||
4072d4ff TT |
12120 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12121 | ||
12122 | * target-delegates.c: Rebuild. | |
12123 | * target.c (update_current_target): Don't inherit or default | |
12124 | to_get_trace_status. | |
12125 | * target.h (struct target_ops) <to_get_trace_status>: Use | |
12126 | TARGET_DEFAULT_RETURN. | |
12127 | ||
25da2e80 TT |
12128 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12129 | ||
12130 | * target-delegates.c: Rebuild. | |
12131 | * target.c (update_current_target): Don't inherit or default | |
12132 | to_trace_start. | |
12133 | * target.h (struct target_ops) <to_trace_start>: Use | |
12134 | TARGET_DEFAULT_NORETURN. | |
12135 | ||
86dd181d TT |
12136 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12137 | ||
12138 | * target-delegates.c: Rebuild. | |
12139 | * target.c (update_current_target): Don't inherit or default | |
12140 | to_trace_set_readonly_regions. | |
12141 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
12142 | Use TARGET_DEFAULT_NORETURN. | |
12143 | ||
05c41993 TT |
12144 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12145 | ||
12146 | * target-delegates.c: Rebuild. | |
12147 | * target.c (update_current_target): Don't inherit or default | |
12148 | to_disable_tracepoint. | |
12149 | * target.h (struct target_ops) <to_disable_tracepoint>: Use | |
12150 | TARGET_DEFAULT_NORETURN. | |
12151 | ||
151f70f1 TT |
12152 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12153 | ||
12154 | * target-delegates.c: Rebuild. | |
12155 | * target.c (update_current_target): Don't inherit or default | |
12156 | to_enable_tracepoint. | |
12157 | * target.h (struct target_ops) <to_enable_tracepoint>: Use | |
12158 | TARGET_DEFAULT_NORETURN. | |
12159 | ||
94eb98b9 TT |
12160 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12161 | ||
12162 | * target-delegates.c: Rebuild. | |
12163 | * target.c (update_current_target): Don't inherit or default | |
12164 | to_download_trace_state_variable. | |
12165 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
12166 | Use TARGET_DEFAULT_NORETURN. | |
12167 | ||
719acc4a TT |
12168 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12169 | ||
12170 | * target-delegates.c: Rebuild. | |
12171 | * target.c (update_current_target): Don't inherit or default | |
12172 | to_can_download_tracepoint. | |
12173 | * target.h (struct target_ops) <to_can_download_tracepoint>: Use | |
12174 | TARGET_DEFAULT_RETURN. | |
12175 | ||
9a980a22 TT |
12176 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12177 | ||
12178 | * target-delegates.c: Rebuild. | |
12179 | * target.c (update_current_target): Don't inherit or default | |
12180 | to_download_tracepoint. | |
12181 | * target.h (struct target_ops) <to_download_tracepoint>: Use | |
12182 | TARGET_DEFAULT_NORETURN. | |
12183 | ||
5536135b TT |
12184 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12185 | ||
12186 | * target-delegates.c: Rebuild. | |
12187 | * target.c (update_current_target): Don't inherit or default | |
12188 | to_trace_init. | |
12189 | * target.h (struct target_ops) <to_trace_init>: Use | |
12190 | TARGET_DEFAULT_RETURN. | |
12191 | ||
9409d39e TT |
12192 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12193 | ||
12194 | * target-delegates.c: Rebuild. | |
12195 | * target.c (update_current_target): Don't inherit or default | |
12196 | to_supports_string_tracing. | |
12197 | * target.h (struct target_ops) <to_supports_string_tracing>: Use | |
12198 | TARGET_DEFAULT_RETURN. | |
12199 | ||
aab1b22d TT |
12200 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12201 | ||
12202 | * target-delegates.c: Rebuild. | |
12203 | * target.c (update_current_target): Don't inherit or default | |
12204 | to_supports_enable_disable_tracepoint. | |
12205 | * target.h (struct target_ops) | |
12206 | <to_supports_enable_disable_tracepoint>: Use | |
12207 | TARGET_DEFAULT_RETURN. | |
12208 | ||
a7304748 TT |
12209 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12210 | ||
12211 | * target-delegates.c: Rebuild. | |
12212 | * target.c (update_current_target): Don't inherit or default | |
12213 | to_supports_multi_process. | |
12214 | * target.h (struct target_ops) <to_supports_multi_process>: Use | |
12215 | TARGET_DEFAULT_RETURN. | |
12216 | ||
4229b31d 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_get_ada_task_ptid. | |
12222 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Use | |
12223 | TARGET_DEFAULT_FUNC. | |
12224 | ||
43eba180 TT |
12225 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12226 | ||
12227 | * target-delegates.c: Rebuild. | |
12228 | * target.c (update_current_target): Don't inherit or default | |
12229 | to_thread_architecture. | |
12230 | * target.h (struct target_ops) <to_thread_architecture>: Use | |
12231 | TARGET_DEFAULT_FUNC. | |
12232 | ||
fe31bf5b TT |
12233 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12234 | ||
12235 | * target-delegates.c: Rebuild. | |
12236 | * target.c (update_current_target): Don't inherit or default | |
12237 | to_execution_direction. | |
12238 | * target.h (struct target_ops) <to_execution_direction>: Use | |
12239 | TARGET_DEFAULT_FUNC. | |
12240 | ||
53e1cfc7 TT |
12241 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12242 | ||
12243 | * target-delegates.c: Rebuild. | |
12244 | * target.c (update_current_target): Don't inherit or default | |
12245 | to_can_execute_reverse. | |
12246 | * target.h (struct target_ops) <to_can_execute_reverse>: Use | |
12247 | TARGET_DEFAULT_RETURN. | |
12248 | (target_can_execute_reverse): Unconditionally delegate. | |
12249 | ||
9bb9d61d TT |
12250 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12251 | ||
12252 | * target-delegates.c: Rebuild. | |
12253 | * target.c (update_current_target): Don't inherit or default | |
12254 | to_goto_bookmark. | |
12255 | (dummy_goto_bookmark): Remove. | |
12256 | (init_dummy_target): Don't inherit or default to_goto_bookmark. | |
12257 | * target.h (struct target_ops) <to_goto_bookmark>: Use | |
12258 | TARGET_DEFAULT_NORETURN. | |
12259 | ||
3dbafbbb TT |
12260 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12261 | ||
12262 | * target-delegates.c: Rebuild. | |
12263 | * target.c (update_current_target): Don't inherit or default | |
12264 | to_get_bookmark. | |
12265 | (dummy_get_bookmark): Remove. | |
12266 | (init_dummy_target): Don't inherit or default to_get_bookmark. | |
12267 | * target.h (struct target_ops) <to_get_bookmark>: Use | |
12268 | TARGET_DEFAULT_NORETURN | |
12269 | ||
16f796b1 TT |
12270 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12271 | ||
12272 | * target-delegates.c: Rebuild. | |
12273 | * target.c (update_current_target): Don't inherit or default | |
12274 | to_make_corefile_notes. | |
12275 | (init_dummy_target): Don't initialize to_make_corefile_notes. | |
12276 | * target.h (struct target_ops) <to_make_corefile_notes>: Use | |
12277 | TARGET_DEFAULT_FUNC. | |
12278 | ||
0b5a2719 TT |
12279 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12280 | ||
12281 | * target-delegates.c: Rebuild. | |
12282 | * target.c (update_current_target): Don't inherit or default | |
12283 | to_find_memory_regions. | |
12284 | (init_dummy_target): Don't initialize to_find_memory_regions. | |
12285 | * target.h (struct target_ops) <to_find_memory_regions>: Use | |
12286 | TARGET_DEFAULT_FUNC. | |
12287 | ||
d9cb0195 TT |
12288 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12289 | ||
12290 | * target-delegates.c: Rebuild. | |
12291 | * target.c (update_current_target): Don't inherit or default | |
12292 | to_log_command. | |
12293 | * target.h (struct target_ops) <to_log_command>: Use | |
12294 | TARGET_DEFAULT_IGNORE. | |
12295 | (target_log_command): Unconditionally delegate. | |
12296 | ||
830ca330 TT |
12297 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12298 | ||
12299 | * target-delegates.c: Rebuild. | |
12300 | * target.c (update_current_target): Don't inherit or default | |
12301 | to_pid_to_exec_file. | |
12302 | * target.h (struct target_ops) <to_pid_to_exec_file>: Use | |
12303 | TARGET_DEFAULT_RETURN. | |
12304 | ||
825828fc TT |
12305 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12306 | ||
12307 | * target-delegates.c: Rebuild. | |
12308 | * target.c (update_current_target): Don't inherit or default | |
12309 | to_thread_name. | |
12310 | (target_thread_name): Unconditionally delegate. | |
12311 | * target.h (struct target_ops) <to_thread_name>: Use | |
12312 | TARGET_DEFAULT_RETURN. | |
12313 | ||
4a7e6dda TT |
12314 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12315 | ||
12316 | * target-delegates.c: Rebuild. | |
12317 | * target.c (update_current_target): Don't inherit or default | |
12318 | to_extra_thread_info. | |
12319 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
12320 | TARGET_DEFAULT_RETURN. | |
12321 | ||
0db88c1d TT |
12322 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12323 | ||
12324 | * target-delegates.c: Rebuild. | |
12325 | * target.c (update_current_target): Don't inherit or default | |
12326 | to_has_exited. | |
12327 | * target.h (struct target_ops) <to_has_exited>: Use | |
12328 | TARGET_DEFAULT_RETURN.. | |
12329 | ||
6a9fa051 TT |
12330 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12331 | ||
12332 | * target-delegates.c: Rebuild. | |
12333 | * target.c (update_current_target): Don't inherit or default | |
12334 | to_set_syscall_catchpoint. | |
12335 | (return_one): Remove. | |
12336 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
12337 | TARGET_DEFAULT_RETURN. | |
12338 | ||
62f64d7a TT |
12339 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12340 | ||
12341 | * target-delegates.c: Rebuild. | |
12342 | * target.c (update_current_target): Don't inherit or default | |
12343 | to_insert_exec_catchpoint. | |
12344 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
12345 | TARGET_DEFAULT_RETURN. | |
12346 | ||
cda0f38c TT |
12347 | 2014-01-08 Tom Tromey <tromey@redhat.com> |
12348 | ||
12349 | * target-delegates.c: Rebuild. | |
12350 | * target.c (update_current_target): Don't inherit or default | |
12351 | to_insert_exec_catchpoint. | |
12352 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
12353 | TARGET_DEFAULT_RETURN. | |
12354 | ||
95c3375e TT |
12355 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12356 | ||
12357 | * target-delegates.c: Rebuild. | |
12358 | * target.c (update_current_target): Don't inherit or default | |
12359 | to_remove_vfork_catchpoint. | |
12360 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
12361 | TARGET_DEFAULT_RETURN. | |
12362 | ||
7e18a8dc TT |
12363 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12364 | ||
12365 | * target-delegates.c: Rebuild. | |
12366 | * target.c (update_current_target): Don't inherit or default | |
12367 | to_insert_vfork_catchpoint. | |
12368 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
12369 | TARGET_DEFAULT_RETURN. | |
12370 | ||
e1a21fb7 TT |
12371 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12372 | ||
12373 | * target-delegates.c: Rebuild. | |
12374 | * target.c (update_current_target): Don't inherit or default | |
12375 | to_remove_fork_catchpoint. | |
12376 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
12377 | TARGET_DEFAULT_RETURN. | |
12378 | ||
5958ebeb TT |
12379 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12380 | ||
12381 | * target-delegates.c: Rebuild. | |
12382 | * target.c (update_current_target): Don't inherit or default | |
12383 | to_insert_fork_catchpoint. | |
12384 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
12385 | TARGET_DEFAULT_RETURN. | |
12386 | ||
340ba4bf TT |
12387 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12388 | ||
12389 | * target-delegates.c: Rebuild. | |
12390 | * target.c (update_current_target): Don't inherit or default | |
12391 | to_post_startup_inferior. | |
12392 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
12393 | TARGET_DEFAULT_IGNORE. | |
12394 | ||
7634da87 TT |
12395 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12396 | ||
12397 | * target-delegates.c: Rebuild. | |
12398 | * target.c (update_current_target): Don't inherit or default | |
12399 | to_load. | |
12400 | * target.h (struct target_ops) <to_load>: Use | |
12401 | TARGET_DEFAULT_NORETURN. | |
12402 | ||
e19e919f TT |
12403 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12404 | ||
12405 | * target-delegates.c: Rebuild. | |
12406 | * target.c (update_current_target): Don't inherit or default | |
12407 | to_terminal_info. | |
12408 | * target.h (struct target_ops) <to_terminal_info>: Use | |
12409 | TARGET_DEFAULT_FUNC. | |
12410 | ||
c6ea8f79 TT |
12411 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12412 | ||
12413 | * target-delegates.c: Rebuild. | |
12414 | * target.c (update_current_target): Don't inherit or default | |
12415 | to_terminal_save_ours. | |
12416 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
12417 | TARGET_DEFAULT_IGNORE. | |
12418 | ||
e4a733f1 TT |
12419 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12420 | ||
12421 | * target-delegates.c: Rebuild. | |
12422 | * target.c (update_current_target): Don't inherit or default | |
12423 | to_terminal_ours. | |
12424 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
12425 | TARGET_DEFAULT_IGNORE. | |
12426 | ||
74fcbef9 TT |
12427 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12428 | ||
12429 | * target-delegates.c: Rebuild. | |
12430 | * target.c (update_current_target): Don't inherit or default | |
12431 | to_terminal_ours_for_output. | |
12432 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
12433 | TARGET_DEFAULT_IGNORE. | |
12434 | ||
ddeaacc9 TT |
12435 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12436 | ||
12437 | * target-delegates.c: Rebuild. | |
12438 | * target.c (update_current_target): Don't inherit or default | |
12439 | to_terminal_inferior. | |
12440 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
12441 | TARGET_DEFAULT_IGNORE. | |
12442 | ||
0343661d TT |
12443 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12444 | ||
12445 | * target-delegates.c: Rebuild. | |
12446 | * target.c (update_current_target): Don't inherit or default | |
12447 | to_terminal_init. | |
12448 | * target.h (struct target_ops) <to_terminal_init>: Use | |
12449 | TARGET_DEFAULT_IGNORE. | |
12450 | ||
77cdffe9 TT |
12451 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12452 | ||
12453 | * target-delegates.c: Rebuild. | |
12454 | * target.c (update_current_target): Don't inherit or default | |
12455 | to_can_accel_watchpoint_condition. | |
12456 | * target.h (struct target_ops) | |
12457 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
12458 | ||
d03655e4 TT |
12459 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12460 | ||
12461 | * target-delegates.c: Rebuild. | |
12462 | * target.c (update_current_target): Don't inherit or default | |
12463 | to_region_ok_for_hw_watchpoint. | |
12464 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
12465 | Use TARGET_DEFAULT_FUNC. | |
12466 | ||
65f160a9 TT |
12467 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12468 | ||
12469 | * target-delegates.c: Rebuild. | |
12470 | * target.c (update_current_target): Don't inherit or default | |
12471 | to_watchpoint_addr_within_range. | |
12472 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
12473 | Use TARGET_DEFAULT_FUNC. | |
12474 | ||
61dd109f TT |
12475 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12476 | ||
12477 | * target-delegates.c: Rebuild. | |
12478 | * target.c (update_current_target): Don't inherit or default | |
12479 | to_remove_watchpoint. | |
12480 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
12481 | TARGET_DEFAULT_NORETURN. | |
12482 | ||
016facd4 TT |
12483 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12484 | ||
12485 | * target-delegates.c: Rebuild. | |
12486 | * target.c (update_current_target): Don't inherit or default | |
12487 | to_insert_watchpoint. | |
12488 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
12489 | TARGET_DEFAULT_RETURN. | |
12490 | ||
418dabac TT |
12491 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12492 | ||
12493 | * target-delegates.c: Rebuild. | |
12494 | * target.c (update_current_target): Don't inherit or default | |
12495 | to_remove_hw_breakpoint. | |
12496 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
12497 | TARGET_DEFAULT_RETURN. | |
12498 | ||
61b371f9 TT |
12499 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12500 | ||
12501 | * target-delegates.c: Rebuild. | |
12502 | * target.c (update_current_target): Don't inherit or default | |
12503 | to_insert_hw_breakpoint. | |
12504 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
12505 | TARGET_DEFAULT_RETURN. | |
12506 | ||
52b51d06 TT |
12507 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12508 | ||
12509 | * target-delegates.c: Rebuild. | |
12510 | * target.c (update_current_target): Don't inherit or default | |
12511 | to_can_use_hw_breakpoint. | |
12512 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
12513 | TARGET_DEFAULT_RETURN. | |
12514 | ||
f86e59b2 TT |
12515 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12516 | ||
12517 | * target-delegates.c: Rebuild. | |
12518 | * target.c (update_current_target): Don't inherit or default | |
12519 | to_files_info. | |
12520 | * target.h (struct target_ops) <to_files_info>: Use | |
12521 | TARGET_DEFAULT_IGNORE. | |
12522 | ||
6c628163 TT |
12523 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12524 | ||
12525 | * target-delegates.c: Rebuild. | |
12526 | * target.c (update_current_target): Don't inherit or default | |
12527 | to_store. | |
12528 | * target.h (struct target_ops) <to_store>: Use | |
12529 | TARGET_DEFAULT_NORETURN. | |
12530 | ||
bebd3233 TT |
12531 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12532 | ||
12533 | * target-delegates.c: Rebuild. | |
12534 | * target.c (update_current_target): Don't inherit or default | |
12535 | to_post_attach. | |
12536 | * target.h (struct target_ops) <to_post_attach>: Use | |
12537 | TARGET_DEFAULT_IGNORE. | |
12538 | ||
a53f3625 TT |
12539 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12540 | ||
12541 | * target-delegates.c: Rebuild. | |
12542 | * target.c (update_current_target): Don't inherit or default | |
12543 | to_rcmd. | |
12544 | (default_rcmd): New function. | |
12545 | (do_monitor_command): Unconditionally delegate. | |
12546 | * target.h (struct target_ops) <to_rmcd>: Use | |
12547 | TARGET_DEFAULT_FUNC. | |
12548 | ||
e9a29200 TT |
12549 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12550 | ||
12551 | * target-delegates.c: Rebuild. | |
12552 | * target.c (init_dummy_target): Don't initialize to_attach. | |
12553 | (target_attach): Unconditionally delegate. | |
12554 | * target.h (struct target_ops) <to_attach>: Use | |
12555 | TARGET_DEFAULT_FUNC. | |
12556 | ||
09da0d0a TT |
12557 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12558 | ||
12559 | * target-delegates.c: Rebuild. | |
12560 | * target.c (target_detach): Unconditionally delegate. | |
12561 | (init_dummy_target): Don't initialize to_detach. | |
12562 | * target.h (struct target_ops) <to_detach>: Use | |
12563 | TARGET_DEFAULT_IGNORE. | |
12564 | ||
5436ff03 TT |
12565 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12566 | ||
12567 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
12568 | Add argument. | |
12569 | (target_augmented_libraries_svr4_read): Add argument. | |
12570 | * target.c (update_current_target): Update. | |
12571 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
12572 | argument. | |
12573 | ||
f0d960ea TT |
12574 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12575 | ||
12576 | * target.h (struct target_ops) <to_call_history_range>: Add | |
12577 | argument. | |
12578 | * target.c (target_call_history_range): Add argument. | |
12579 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
12580 | argument. | |
12581 | (record_btrace_call_history_from): Update. | |
12582 | ||
ec0aea04 TT |
12583 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12584 | ||
12585 | * target.h (struct target_ops) <to_call_history_from>: Add | |
12586 | argument. | |
12587 | * target.c (target_call_history_from): Add argument. | |
12588 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
12589 | argument. | |
12590 | ||
5df2fcba TT |
12591 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12592 | ||
12593 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
12594 | * target.c (target_call_history): Add argument. | |
12595 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
12596 | argument. | |
12597 | ||
4e99c6b7 TT |
12598 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12599 | ||
12600 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
12601 | argument. | |
12602 | * target.c (target_insn_history_range): Add argument. | |
12603 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
12604 | argument. | |
12605 | (record_btrace_insn_history_from): Update. | |
12606 | ||
9abc3ff3 TT |
12607 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12608 | ||
12609 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
12610 | argument. | |
12611 | * target.c (target_insn_history_from): Add argument. | |
12612 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
12613 | argument. | |
12614 | ||
7a6c5609 TT |
12615 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12616 | ||
12617 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
12618 | * target.c (target_insn_history): Add argument. | |
12619 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
12620 | argument. | |
12621 | ||
606183ac TT |
12622 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12623 | ||
12624 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
12625 | * target.c (target_goto_record): Add argument. | |
12626 | * record-full.c (record_full_goto): Add 'self' argument. | |
12627 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
12628 | ||
307a1b91 TT |
12629 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12630 | ||
12631 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
12632 | * target.c (target_goto_record_end): Add argument. | |
12633 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
12634 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
12635 | ||
08475817 TT |
12636 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12637 | ||
12638 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
12639 | argument. | |
12640 | * target.c (target_goto_record_begin): Add argument. | |
12641 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
12642 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
12643 | argument. | |
12644 | ||
1c63c994 TT |
12645 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12646 | ||
12647 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
12648 | argument. | |
12649 | * target.c (target_record_is_replaying): Add argument. | |
12650 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
12651 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
12652 | argument. | |
12653 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
12654 | (record_btrace_prepare_to_store, record_btrace_resume) | |
12655 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
12656 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
12657 | Update. | |
12658 | ||
d1b55219 TT |
12659 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12660 | ||
12661 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
12662 | * target.c (target_delete_record): Add argument. | |
12663 | * record-full.c (record_full_delete): Add 'self' argument. | |
12664 | ||
1390f529 TT |
12665 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12666 | ||
12667 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
12668 | * target.c (target_save_record): Add argument. | |
12669 | * record-full.c (record_full_save): Add 'self' argument. | |
12670 | (record_full_save): Add 'self' argument. | |
12671 | ||
630d6a4a TT |
12672 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12673 | ||
12674 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
12675 | * target.c (target_info_record): Add argument. | |
12676 | * record.c (info_record_command): Add argument. | |
12677 | * record-full.c (record_full_info): Add 'self' argument. | |
12678 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
12679 | ||
c6cd7c02 TT |
12680 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12681 | ||
12682 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
12683 | * target.c (target_stop_recording): Add argument. | |
12684 | * record.c (record_stop): Add argument. | |
12685 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
12686 | argument. | |
12687 | ||
39c49f83 TT |
12688 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12689 | ||
12690 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
12691 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
12692 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
12693 | argument. | |
12694 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
12695 | (_initialize_amd64_linux_nat): Use it. | |
12696 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
12697 | (_initialize_i386_linux_nat): Use it. | |
12698 | ||
1777056d TT |
12699 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12700 | ||
12701 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
12702 | * target.c (target_teardown_btrace): Add argument. | |
12703 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
12704 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
12705 | argument. | |
12706 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
12707 | argument. | |
12708 | ||
25e95349 TT |
12709 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12710 | ||
12711 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
12712 | * target.c (target_disable_btrace): Add argument. | |
12713 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
12714 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
12715 | argument. | |
12716 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
12717 | argument. | |
12718 | ||
e3c49f88 TT |
12719 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12720 | ||
12721 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
12722 | * target.c (target_enable_btrace): Add argument. | |
12723 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
12724 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
12725 | argument. | |
12726 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
12727 | argument. | |
12728 | ||
fe38f897 TT |
12729 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12730 | ||
12731 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
12732 | (target_can_use_agent): Add argument. | |
12733 | * target.c (update_current_target): Update. | |
12734 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
12735 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
12736 | ||
2c152180 TT |
12737 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12738 | ||
12739 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
12740 | (target_use_agent): Add argument. | |
12741 | * target.c (update_current_target): Update. | |
12742 | * remote.c (remote_use_agent): Add 'self' argument. | |
12743 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
12744 | ||
a893e81f TT |
12745 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12746 | ||
12747 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
12748 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
12749 | (target_traceframe_info): Add argument. | |
12750 | * target.c (update_current_target): Update. | |
12751 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
12752 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
12753 | ||
c686c57f TT |
12754 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12755 | ||
12756 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
12757 | argument. | |
12758 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
12759 | 'self' argument. | |
12760 | * target.c (update_current_target): Update. | |
12761 | * remote.c (struct target_ops) | |
12762 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
12763 | * linux-nat.c (struct target_ops) | |
12764 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
12765 | ||
61fc905d TT |
12766 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12767 | ||
12768 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
12769 | Add argument. | |
12770 | (target_static_tracepoint_marker_at): Add argument. | |
12771 | * target.c (update_current_target): Update. | |
12772 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
12773 | argument. | |
12774 | ||
c378d69d TT |
12775 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12776 | ||
12777 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
12778 | (target_set_permissions): Add argument. | |
12779 | * target.c (update_current_target): Update. | |
12780 | * remote.c (remote_set_permissions): Add 'self' argument. | |
12781 | (remote_start_remote): Update. | |
12782 | ||
bd7ae0f5 TT |
12783 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12784 | ||
12785 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
12786 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
12787 | (target_get_tib_address): Add argument. | |
12788 | * target.c (update_current_target): Update. | |
12789 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
12790 | ||
d9e68a2c TT |
12791 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12792 | ||
12793 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
12794 | (target_set_trace_notes): Add argument. | |
12795 | * target.c (update_current_target): Update. | |
12796 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
12797 | ||
4da384be TT |
12798 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12799 | ||
12800 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
12801 | argument. | |
12802 | (target_set_trace_buffer_size): Add argument. | |
12803 | * target.c (update_current_target): Update. | |
12804 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
12805 | ||
736d5b1f TT |
12806 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12807 | ||
12808 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
12809 | argument. | |
12810 | (target_set_circular_trace_buffer): Add argument. | |
12811 | * target.c (update_current_target): Update. | |
12812 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
12813 | argument. | |
12814 | ||
37b25738 TT |
12815 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12816 | ||
12817 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
12818 | argument. | |
12819 | (target_set_disconnected_tracing): Add argument. | |
12820 | * target.c (update_current_target): Update. | |
12821 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
12822 | ||
0e67620a TT |
12823 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12824 | ||
12825 | * target.h (struct target_ops) | |
12826 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
12827 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
12828 | * target.c (update_current_target): Update. | |
12829 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
12830 | argument. | |
12831 | ||
88ee6f45 TT |
12832 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12833 | ||
12834 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
12835 | argument. | |
12836 | (target_get_raw_trace_data): Add argument. | |
12837 | * target.c (update_current_target): Update. | |
12838 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
12839 | ||
181e3713 TT |
12840 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12841 | ||
12842 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
12843 | Add argument. | |
12844 | (target_upload_trace_state_variables): Add argument. | |
12845 | * target.c (update_current_target): Update. | |
12846 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
12847 | argument. | |
12848 | (remote_start_remote): Update. | |
12849 | ||
ab6617cc TT |
12850 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12851 | ||
12852 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
12853 | argument. | |
12854 | (target_upload_tracepoints): Add argument. | |
12855 | * target.c (update_current_target): Update. | |
12856 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
12857 | (remote_start_remote): Update. | |
12858 | ||
dc3decaf TT |
12859 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12860 | ||
12861 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
12862 | (target_save_trace_data): Add argument. | |
12863 | * target.c (update_current_target): Update. | |
12864 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
12865 | ||
4011015b TT |
12866 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12867 | ||
12868 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
12869 | argument. | |
12870 | * target.h (struct target_ops) | |
12871 | <to_get_trace_state_variable_value>: Add argument. | |
12872 | (target_get_trace_state_variable_value): Add argument. | |
12873 | * target.c (update_current_target): Update. | |
12874 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
12875 | argument. | |
12876 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
12877 | ||
bd4c6793 TT |
12878 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12879 | ||
12880 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
12881 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
12882 | (target_trace_find): Add argument. | |
12883 | * target.c (update_current_target): Update. | |
12884 | * remote.c (remote_trace_find): Add 'self' argument. | |
12885 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
12886 | ||
74499f1b TT |
12887 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12888 | ||
12889 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
12890 | (target_trace_stop): Add argument. | |
12891 | * target.c (update_current_target): Update. | |
12892 | * remote.c (remote_trace_stop): Add 'self' argument. | |
12893 | ||
db90e85c TT |
12894 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12895 | ||
12896 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
12897 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
12898 | argument. | |
12899 | (target_get_tracepoint_status): Add argument. | |
12900 | * target.c (update_current_target): Update. | |
12901 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
12902 | ||
8bd200f1 TT |
12903 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12904 | ||
12905 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
12906 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
12907 | argument. | |
12908 | (target_get_trace_status): Add argument. | |
12909 | * target.c (update_current_target): Update. | |
12910 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
12911 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
12912 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
12913 | ||
e2d1aae3 TT |
12914 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12915 | ||
12916 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
12917 | (target_trace_start): Add argument. | |
12918 | * target.c (update_current_target): Update. | |
12919 | * remote.c (remote_trace_start): Add 'self' argument. | |
12920 | ||
583f9a86 TT |
12921 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12922 | ||
12923 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
12924 | Add argument. | |
12925 | (target_trace_set_readonly_regions): Add argument. | |
12926 | * target.c (update_current_target): Update. | |
12927 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
12928 | argument. | |
12929 | ||
780b049c TT |
12930 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12931 | ||
12932 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
12933 | argument. | |
12934 | (target_disable_tracepoint): Add argument. | |
12935 | * target.c (update_current_target): Update. | |
12936 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
12937 | ||
46670d57 TT |
12938 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12939 | ||
12940 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
12941 | argument. | |
12942 | (target_enable_tracepoint): Add argument. | |
12943 | * target.c (update_current_target): Update. | |
12944 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
12945 | ||
559d2b81 TT |
12946 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12947 | ||
12948 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
12949 | Add argument. | |
12950 | (target_download_trace_state_variable): Add argument. | |
12951 | * target.c (update_current_target): Update. | |
12952 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
12953 | argument. | |
12954 | ||
a52a8357 TT |
12955 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12956 | ||
12957 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
12958 | argument. | |
12959 | (target_can_download_tracepoint): Add argument. | |
12960 | * target.c (update_current_target): Update. | |
12961 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
12962 | ||
548f7808 TT |
12963 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12964 | ||
12965 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
12966 | argument. | |
12967 | (target_download_tracepoint): Add argument. | |
12968 | * target.c (update_current_target): Update. | |
12969 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
12970 | ||
ecae04e1 TT |
12971 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12972 | ||
12973 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
12974 | (target_trace_init): Add argument. | |
12975 | * target.c (update_current_target): Update. | |
12976 | * remote.c (remote_trace_init): Add 'self' argument. | |
12977 | ||
fab5aa7c TT |
12978 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12979 | ||
12980 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
12981 | * target.c (target_fileio_readlink): Add argument. | |
12982 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
12983 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
12984 | ||
dbbca37d TT |
12985 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12986 | ||
12987 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
12988 | * target.c (target_fileio_unlink): Add argument. | |
12989 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
12990 | (remote_file_delete): Update. | |
12991 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
12992 | ||
df39ea25 TT |
12993 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12994 | ||
12995 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
12996 | * target.c (target_fileio_close): Add argument. | |
12997 | * remote.c (remote_hostio_close): Add 'self' argument. | |
12998 | (remote_hostio_close_cleanup): Update. | |
12999 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
13000 | Update. | |
13001 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
13002 | ||
a3be983c TT |
13003 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13004 | ||
13005 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
13006 | * target.c (target_fileio_pread): Add argument. | |
13007 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
13008 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
13009 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
13010 | ||
0d866f62 TT |
13011 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13012 | ||
13013 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
13014 | * target.c (target_fileio_pwrite): Add argument. | |
13015 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
13016 | (remote_file_put): Update. | |
13017 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
13018 | ||
cd897586 TT |
13019 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13020 | ||
13021 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
13022 | * target.c (target_fileio_open): Add argument. | |
13023 | * remote.c (remote_hostio_open): Add 'self' argument. | |
13024 | (remote_bfd_iovec_open): Add 'self' argument. | |
13025 | (remote_file_put): Add 'self' argument. | |
13026 | (remote_file_get): Add 'self' argument. | |
13027 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
13028 | ||
78eff0ec TT |
13029 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13030 | ||
13031 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
13032 | Add argument. | |
13033 | (target_can_run_breakpoint_commands): Add argument. | |
13034 | * target.c (update_current_target): Update. | |
13035 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
13036 | argument. | |
13037 | (remote_insert_breakpoint): Add 'self' argument. | |
13038 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
13039 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
13040 | ||
efcc2da7 TT |
13041 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13042 | ||
13043 | * target.h (struct target_ops) | |
13044 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
13045 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
13046 | argument. | |
13047 | * target.c (update_current_target): Update. | |
13048 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
13049 | argument. | |
13050 | (remote_insert_breakpoint): Add 'self' argument. | |
13051 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
13052 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
13053 | ||
6de37a3a TT |
13054 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13055 | ||
13056 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
13057 | argument. | |
13058 | (target_supports_string_tracing): Add argument. | |
13059 | * target.c (update_current_target): Update. | |
13060 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
13061 | ||
2bfc0540 TT |
13062 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13063 | ||
13064 | * target.h (struct target_ops) | |
13065 | <to_supports_disable_randomization>: Add argument. | |
13066 | * target.c (find_default_supports_disable_randomization): Add | |
13067 | argument. | |
13068 | (target_supports_disable_randomization): Add argument. | |
13069 | (find_default_supports_disable_randomization): Add 'self' | |
13070 | argument. | |
13071 | * remote.c (extended_remote_supports_disable_randomization): Add | |
13072 | 'self' argument. | |
13073 | (remote_supports_disable_randomization): Add 'self' argument. | |
13074 | (extended_remote_create_inferior): Update. | |
13075 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
13076 | 'self' argument. | |
13077 | ||
7d178d6a TT |
13078 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13079 | ||
13080 | * target.h (struct target_ops) | |
13081 | <to_supports_enable_disable_tracepoint>: Add argument. | |
13082 | (target_supports_enable_disable_tracepoint): Add argument. | |
13083 | * target.c (update_current_target): Update. | |
13084 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
13085 | argument. | |
13086 | ||
86ce2668 TT |
13087 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13088 | ||
13089 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
13090 | argument. | |
13091 | (target_supports_multi_process): Add argument. | |
13092 | * target.c (update_current_target): Update. | |
13093 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
13094 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
13095 | argument. | |
13096 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
13097 | argument. | |
13098 | ||
4c612759 TT |
13099 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13100 | ||
13101 | * target.h (struct target_ops) <to_execution_direction>: Add | |
13102 | argument. | |
13103 | (target_execution_direction): Add argument. | |
13104 | * target.c (default_execution_direction): Add 'self' argument. | |
13105 | * record-full.c (record_full_execution_direction): Add 'self' | |
13106 | argument. | |
13107 | ||
19db3e69 TT |
13108 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13109 | ||
13110 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
13111 | argument. | |
13112 | (target_can_execute_reverse): Add argument. | |
13113 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
13114 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
13115 | argument. | |
13116 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
13117 | argument. | |
13118 | ||
1e6b91a4 TT |
13119 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13120 | ||
13121 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
13122 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
13123 | argument. | |
13124 | (target_get_ada_task_ptid): Add argument. | |
13125 | * target.c (update_current_target): Update. | |
13126 | (default_get_ada_task_ptid): Add 'self' argument. | |
13127 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
13128 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
13129 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
13130 | argument. | |
13131 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
13132 | argument. | |
13133 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
13134 | argument. | |
13135 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
13136 | argument. | |
13137 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
13138 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
13139 | argument. | |
13140 | ||
3c80fb48 TT |
13141 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13142 | ||
13143 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
13144 | (target_goto_bookmark): Add argument. | |
13145 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
13146 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
13147 | ||
dd0e2830 TT |
13148 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13149 | ||
13150 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
13151 | (target_get_bookmark): Add argument. | |
13152 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
13153 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
13154 | ||
fc6691b2 TT |
13155 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13156 | ||
13157 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
13158 | argument. | |
13159 | (target_make_corefile_notes): Add argument. | |
13160 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
13161 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
13162 | (procfs_make_note_section): Add 'self' argument. | |
13163 | (procfs_make_note_section): Add 'self' argument. | |
13164 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
13165 | argument. | |
13166 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
13167 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
13168 | * exec.c (exec_make_note_section): Add 'self' argument. | |
13169 | (exec_make_note_section): Add 'self' argument. | |
13170 | ||
2e73927c TT |
13171 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13172 | ||
13173 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
13174 | argument. | |
13175 | (target_find_memory_regions): Add argument. | |
13176 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
13177 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
13178 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
13179 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
13180 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
13181 | * exec. (exec_do_find_memory_regions): New global. | |
13182 | (exec_set_find_memory_regions): Rewrite. | |
13183 | (exec_find_memory_regions): New function. | |
13184 | (init_exec_ops): Use exec_find_memory_regions. | |
13185 | ||
2a9a2795 TT |
13186 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13187 | ||
13188 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
13189 | argument. | |
13190 | * target.c (find_default_supports_non_stop): Add argument. | |
13191 | (target_supports_non_stop): Add argument. | |
13192 | (find_default_supports_non_stop): Add 'self' argument. | |
13193 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
13194 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
13195 | ||
4ab76ea3 TT |
13196 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13197 | ||
13198 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
13199 | (target_log_command): Add argument. | |
13200 | * serial.h (serial_log_command): Add 'self' argument. | |
13201 | * serial.c (serial_log_command): Add 'self' argument. | |
13202 | ||
8dd27370 TT |
13203 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13204 | ||
13205 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
13206 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
13207 | argument. | |
13208 | (target_pid_to_exec_file): Add argument. | |
13209 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
13210 | (update_current_target): Update. | |
13211 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
13212 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
13213 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
13214 | (linux_handle_extended_wait): Update. | |
13215 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
13216 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
13217 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
13218 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
13219 | ||
1aac633b TT |
13220 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13221 | ||
13222 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
13223 | (target_rcmd): Add argument. | |
13224 | * target.c (debug_to_rcmd): Add argument. | |
13225 | (update_current_target, do_monitor_command): Update. | |
13226 | * remote.c (remote_rcmd): Add 'self' argument. | |
13227 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
13228 | ||
1eab8a48 TT |
13229 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13230 | ||
13231 | * windows-nat.c (windows_stop): Add 'self' argument. | |
13232 | * target.h (struct target_ops) <to_stop>: Add argument. | |
13233 | * target.c (target_stop): Add argument. | |
13234 | (debug_to_stop): Add argument. | |
13235 | (update_current_target): Update. | |
13236 | * remote.c (remote_stop): Add 'self' argument. | |
13237 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
13238 | (gdbsim_cntrl_c): Update. | |
13239 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
13240 | * procfs.c (procfs_stop): Add 'self' argument. | |
13241 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
13242 | * monitor.c (monitor_stop): Add 'self' argument. | |
13243 | (monitor_open): Update. | |
13244 | * linux-nat.c (linux_nat_stop): Add argument. | |
13245 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
13246 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
13247 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
13248 | ||
503a628d TT |
13249 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13250 | ||
13251 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
13252 | * target.c (target_thread_name): Add argument. | |
13253 | (update_current_target): Update. | |
13254 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
13255 | ||
c15906d8 TT |
13256 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13257 | ||
13258 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
13259 | argument. | |
13260 | (target_extra_thread_info): Add argument. | |
13261 | * target.c (update_current_target): Update. | |
13262 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
13263 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
13264 | argument. | |
13265 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
13266 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
13267 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
13268 | argument. | |
13269 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
13270 | argument. | |
13271 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
13272 | argument. | |
13273 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
13274 | argument. | |
13275 | ||
daf5e9b6 TT |
13276 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13277 | ||
13278 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
13279 | * target.c (target_program_signals): Add argument. | |
13280 | * remote.c (remote_program_signals): Add 'self' argument. | |
13281 | ||
94bedb42 TT |
13282 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13283 | ||
13284 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
13285 | * target.c (target_pass_signals): Add argument. | |
13286 | * remote.c (remote_pass_signals): Add 'self' argument. | |
13287 | (remote_start_remote): Update. | |
13288 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
13289 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
13290 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
13291 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
13292 | ||
da82bd6b TT |
13293 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13294 | ||
13295 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
13296 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
13297 | (target_can_run): Add argument. | |
13298 | * target.c (debug_to_can_run): Add argument. | |
13299 | (update_current_target): Update. | |
13300 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
13301 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
13302 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
13303 | ||
d796e1d6 TT |
13304 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13305 | ||
13306 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
13307 | (target_has_exited): Add argument. | |
13308 | * target.c (debug_to_has_exited): Add argument. | |
13309 | (update_current_target): Update. | |
13310 | ||
ff214e67 TT |
13311 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13312 | ||
13313 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
13314 | argument. | |
13315 | (target_set_syscall_catchpoint): Add argument. | |
13316 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
13317 | argument. | |
13318 | * target.c (update_current_target): Update. | |
13319 | ||
758e29d2 TT |
13320 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13321 | ||
13322 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
13323 | argument. | |
13324 | (target_remove_exec_catchpoint): Add argument. | |
13325 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
13326 | (update_current_target): Update. | |
13327 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
13328 | argument. | |
13329 | ||
ba025e51 TT |
13330 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13331 | ||
13332 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
13333 | argument. | |
13334 | (target_insert_exec_catchpoint): Add argument. | |
13335 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
13336 | (update_current_target): Update. | |
13337 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
13338 | argument. | |
13339 | ||
e98cf0cd TT |
13340 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13341 | ||
13342 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
13343 | argument. | |
13344 | (target_remove_vfork_catchpoint): Add argument. | |
13345 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
13346 | (update_current_target): Update. | |
13347 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
13348 | argument. | |
13349 | ||
3ecc7da0 TT |
13350 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13351 | ||
13352 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
13353 | argument. | |
13354 | (target_insert_vfork_catchpoint): Add argument. | |
13355 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
13356 | (update_current_target): Update. | |
13357 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
13358 | argument. | |
13359 | ||
973fc227 TT |
13360 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13361 | ||
13362 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
13363 | argument. | |
13364 | (target_remove_fork_catchpoint): Add argument. | |
13365 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
13366 | (update_current_target): Update. | |
13367 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
13368 | argument. | |
13369 | ||
a863b201 TT |
13370 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13371 | ||
13372 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
13373 | argument. | |
13374 | (target_insert_fork_catchpoint): Add argument. | |
13375 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
13376 | (update_current_target): Update. | |
13377 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
13378 | argument. | |
13379 | ||
2e97a79e TT |
13380 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13381 | ||
13382 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
13383 | argument. | |
13384 | (target_post_startup_inferior): Add argument. | |
13385 | * target.c (debug_to_post_startup_inferior): Add argument. | |
13386 | (update_current_target): Update. | |
13387 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
13388 | argument. | |
13389 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
13390 | argument. | |
13391 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
13392 | argument. | |
13393 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
13394 | argument. | |
13395 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
13396 | 'self' argument. | |
13397 | (super_post_startup_inferior): Likewise. | |
13398 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
13399 | 'self' argument. | |
13400 | (super_post_startup_inferior): Likewise. | |
13401 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
13402 | Add 'self' argument. | |
13403 | (super_post_startup_inferior): Likewise. | |
13404 | ||
71a9f134 TT |
13405 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13406 | ||
13407 | * target.h (struct target_ops) <to_load>: Add argument. | |
13408 | * target.c (target_load): Add argument. | |
13409 | (debug_to_load): Add argument. | |
13410 | (update_current_target): Update. | |
13411 | * remote.c (remote_load): Add 'self' argument. | |
13412 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
13413 | * remote-mips.c (mips_load): Add 'self' argument. | |
13414 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
13415 | * monitor.c (monitor_load): Add 'self' argument. | |
13416 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
13417 | ||
0a4f40a2 TT |
13418 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13419 | ||
13420 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
13421 | (target_terminal_info): Add argument. | |
13422 | * target.c (debug_to_terminal_info): Add argument. | |
13423 | (default_terminal_info): Likewise. | |
13424 | * inflow.c (child_terminal_info): Add 'self' argument. | |
13425 | * inferior.h (child_terminal_info): Add 'self' argument. | |
13426 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
13427 | ||
ae3bd431 TT |
13428 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13429 | ||
13430 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
13431 | argument. | |
13432 | (target_terminal_save_ours): Add argument. | |
13433 | * target.c (debug_to_terminal_save_ours): Add argument. | |
13434 | (update_current_target): Update. | |
13435 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
13436 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
13437 | ||
e3594fd1 TT |
13438 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13439 | ||
13440 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
13441 | (target_terminal_ours): Add argument. | |
13442 | * target.c (debug_to_terminal_ours): Add argument. | |
13443 | (update_current_target): Update. | |
13444 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
13445 | (remote_close): Update. | |
13446 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
13447 | * inflow.c (terminal_ours): Add 'self' argument. | |
13448 | * inferior.h (terminal_ours): Add 'self' argument. | |
13449 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
13450 | ||
2e1e1a19 TT |
13451 | 2014-02-19 Pedro Alves <palves@redhat.com> |
13452 | Tom Tromey <tromey@redhat.com> | |
13453 | ||
13454 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
13455 | argument. | |
13456 | (target_terminal_ours_for_output): Add argument. | |
13457 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
13458 | (update_current_target): Update. | |
13459 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
13460 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
13461 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
13462 | ||
d2f640d4 TT |
13463 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13464 | ||
13465 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
13466 | argument. | |
13467 | * target.c (target_terminal_inferior): Add argument. | |
13468 | (update_current_target): Update. | |
13469 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
13470 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
13471 | * inflow.c (terminal_inferior): Add 'self' argument. | |
13472 | * inferior.h (terminal_inferior): Add 'self' argument. | |
13473 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
13474 | (go32_terminal_inferior): Add 'self' argument. | |
13475 | ||
c42bf286 TT |
13476 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13477 | ||
13478 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
13479 | (target_terminal_init): Add argument. | |
13480 | * target.c (debug_to_terminal_init): Add argument. | |
13481 | (update_current_target): Update. | |
13482 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
13483 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
13484 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
13485 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
13486 | ||
c3a5ff89 TT |
13487 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13488 | ||
13489 | * target.h (struct target_ops) | |
13490 | <to_can_accel_watchpoint_condition>: Add argument. | |
13491 | (target_can_accel_watchpoint_condition): Add argument. | |
13492 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
13493 | argument. | |
13494 | (update_current_target): Update. | |
13495 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
13496 | 'self' argument. | |
13497 | ||
31568a15 TT |
13498 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13499 | ||
13500 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
13501 | Add argument. | |
13502 | (target_region_ok_for_hw_watchpoint): Add argument. | |
13503 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
13504 | (default_region_ok_for_hw_watchpoint): Add argument. | |
13505 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
13506 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
13507 | argument. | |
13508 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
13509 | argument. | |
13510 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
13511 | argument. | |
13512 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
13513 | 'self' argument. | |
13514 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
13515 | 'self' argument. | |
13516 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
13517 | 'self' argument. | |
13518 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
13519 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
13520 | 'self' argument. | |
13521 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
13522 | Add 'self' argument. | |
13523 | ||
7bb99c53 TT |
13524 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13525 | ||
13526 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
13527 | argument. | |
13528 | (target_insert_watchpoint): Add argument. | |
13529 | * target.c (debug_to_insert_watchpoint): Add argument. | |
13530 | (update_current_target): Update. | |
13531 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
13532 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
13533 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
13534 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
13535 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
13536 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
13537 | argument. | |
13538 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
13539 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
13540 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
13541 | argument. | |
13542 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
13543 | argument. | |
13544 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
13545 | argument. | |
13546 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
13547 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
13548 | argument. | |
13549 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
13550 | 'self' argument. | |
13551 | ||
11b5219a TT |
13552 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13553 | ||
13554 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
13555 | argument. | |
13556 | (target_remove_watchpoint): Add argument. | |
13557 | * target.c (debug_to_remove_watchpoint): Add argument. | |
13558 | (update_current_target): Update. | |
13559 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
13560 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
13561 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
13562 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
13563 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
13564 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
13565 | argument. | |
13566 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
13567 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
13568 | argument. | |
13569 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
13570 | argument. | |
13571 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
13572 | argument. | |
13573 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
13574 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
13575 | argument. | |
13576 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
13577 | 'self' argument. | |
13578 | ||
a64dc96c TT |
13579 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13580 | ||
13581 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
13582 | argument. | |
13583 | (target_remove_hw_breakpoint): Add argument. | |
13584 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
13585 | (update_current_target): Update. | |
13586 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
13587 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
13588 | argument. | |
13589 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
13590 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
13591 | argument. | |
13592 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
13593 | 'self' argument. | |
13594 | ||
23a26771 TT |
13595 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13596 | ||
13597 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
13598 | argument. | |
13599 | (target_insert_hw_breakpoint): Add argument. | |
13600 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
13601 | (update_current_target): Update. | |
13602 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
13603 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
13604 | argument. | |
13605 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
13606 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
13607 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
13608 | argument. | |
13609 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
13610 | 'self' argument. | |
13611 | ||
5461485a TT |
13612 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13613 | ||
13614 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
13615 | argument. | |
13616 | (target_can_use_hardware_watchpoint): Add argument. | |
13617 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
13618 | (update_current_target): Update. | |
13619 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
13620 | argument. | |
13621 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
13622 | argument. | |
13623 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
13624 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
13625 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
13626 | argument. | |
13627 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
13628 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
13629 | argument. | |
13630 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
13631 | argument. | |
13632 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
13633 | argument. | |
13634 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
13635 | argument. | |
13636 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
13637 | argument. | |
13638 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
13639 | argument. | |
13640 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
13641 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
13642 | argument. | |
13643 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
13644 | 'self' argument. | |
13645 | ||
f045800c TT |
13646 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13647 | ||
13648 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
13649 | (target_post_attach): Add argument. | |
13650 | * target.c (debug_to_post_attach): Add argument. | |
13651 | (update_current_target): Update. | |
13652 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
13653 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
13654 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
13655 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
13656 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
13657 | ||
de90e03d TT |
13658 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13659 | ||
13660 | * windows-nat.c (windows_close): Add 'self' argument. | |
13661 | * tracepoint.c (tfile_close): Add 'self' argument. | |
13662 | * target.h (struct target_ops) <to_close>: Add argument. | |
13663 | * target.c (target_close): Add argument. | |
13664 | (update_current_target): Update. | |
13665 | * remote.c (remote_close): Add 'self' argument. | |
13666 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
13667 | * remote-mips.c (mips_close): Add 'self' argument. | |
13668 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
13669 | * record-full.c (record_full_close): Add 'self' argument. | |
13670 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
13671 | * monitor.h (monitor_close): Add 'self' argument. | |
13672 | * monitor.c (monitor_close): Add 'self' argument. | |
13673 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
13674 | * linux-nat.c (linux_nat_close): Add argument. | |
13675 | * go32-nat.c (go32_close): Add 'self' argument. | |
13676 | * exec.c (exec_close_1): Add 'self' argument. | |
13677 | * ctf.c (ctf_close): Add 'self' argument. | |
13678 | * corelow.c (core_close): Add 'self' argument. | |
13679 | (core_close_cleanup): Update. | |
13680 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
13681 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
13682 | ||
9dd130a0 TT |
13683 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13684 | ||
13685 | * remote.c (remote_load): New function. | |
13686 | (init_remote_ops): Use it. | |
13687 | ||
46917d26 TT |
13688 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13689 | ||
13690 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
13691 | argument. | |
13692 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
13693 | * remote.c (remote_supports_btrace): Add "self" argument. | |
13694 | * target-delegates.c: Rebuild. | |
13695 | * target.c (target_supports_btrace): Remove. | |
13696 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
13697 | target_ops argument. | |
13698 | (target_supports_btrace): New define. | |
13699 | ||
6b84065d TT |
13700 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13701 | ||
13702 | * record-full.c (record_full_beneath_to_resume_ops) | |
13703 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
13704 | (record_full_beneath_to_wait) | |
13705 | (record_full_beneath_to_store_registers_ops) | |
13706 | (record_full_beneath_to_store_registers) | |
13707 | (record_full_beneath_to_xfer_partial_ops) | |
13708 | (record_full_beneath_to_xfer_partial) | |
13709 | (record_full_beneath_to_insert_breakpoint_ops) | |
13710 | (record_full_beneath_to_insert_breakpoint) | |
13711 | (record_full_beneath_to_remove_breakpoint_ops) | |
13712 | (record_full_beneath_to_remove_breakpoint) | |
13713 | (record_full_beneath_to_stopped_by_watchpoint) | |
13714 | (record_full_beneath_to_stopped_data_address) | |
13715 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
13716 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
13717 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
13718 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
13719 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
13720 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
13721 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
13722 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
13723 | (record_full_resume, record_full_wait_1) | |
13724 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
13725 | (record_full_store_registers, record_full_xfer_partial) | |
13726 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
13727 | (record_full_async, record_full_core_xfer_partial): Use target | |
13728 | delegation. | |
13729 | * target-delegates.c: Rebuild. | |
13730 | * target.c (current_xfer_partial): Remove. | |
13731 | (update_current_target): Do not INHERIT or de_fault | |
13732 | to_insert_breakpoint, to_remove_breakpoint, | |
13733 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
13734 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
13735 | (default_xfer_partial): Simplify. | |
13736 | (current_xfer_partial): Remove. | |
13737 | (target_wait, target_resume): Simplify. | |
13738 | (find_default_can_async_p, find_default_is_async_p): Update. | |
13739 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
13740 | to_xfer_partial, to_stopped_by_watchpoint, | |
13741 | to_stopped_data_address. | |
13742 | (target_store_registers): Simplify. | |
13743 | (forward_target_remove_breakpoint) | |
13744 | (forward_target_insert_breakpoint): Remove. | |
13745 | (target_remove_breakpoint, target_insert_breakpoint) | |
13746 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
13747 | * target.h (struct target_ops) <to_resume, to_wait, | |
13748 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
13749 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
13750 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
13751 | markup. | |
13752 | (forward_target_remove_breakpoint) | |
13753 | (forward_target_insert_breakpoint): Remove. | |
13754 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
13755 | directly. | |
13756 | (record_btrace_insert_breakpoint): Delegate directly. | |
13757 | ||
1101cb7b TT |
13758 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13759 | ||
13760 | PR build/7701: | |
13761 | * target-delegates.c: New file. | |
13762 | * target.c: Include target-delegates.c. | |
13763 | (init_dummy_target): Call install_dummy_methods. | |
13764 | (complete_target_initialization): Call install_delegators. | |
13765 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
13766 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
13767 | * make-target-delegates: New file. | |
13768 | ||
8b06beed TT |
13769 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13770 | ||
13771 | * record.c (find_record_target): Use find_target_at. | |
13772 | * target.c (find_target_at): New function. | |
13773 | * target.h (find_target_at): Declare. | |
13774 | ||
6a109b6b TT |
13775 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13776 | ||
13777 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
13778 | Add 'ops' argument. | |
13779 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
13780 | 'ops' argument. | |
13781 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
13782 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
13783 | 'ops' argument. | |
13784 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
13785 | argument. | |
13786 | * linux-nat.c (save_sigtrap): Update. | |
13787 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
13788 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
13789 | (linux_nat_close): Update. | |
13790 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
13791 | argument. | |
13792 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
13793 | argument. | |
13794 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
13795 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
13796 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
13797 | (tmp_to_async): Add 'ops' argument. | |
13798 | (record_full_stopped_by_watchpoint, record_full_async) | |
13799 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
13800 | argument. | |
13801 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
13802 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
13803 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
13804 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
13805 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
13806 | (remote_stopped_data_address): Update. | |
13807 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
13808 | * target.c (update_current_target) | |
13809 | (find_default_can_async_p, find_default_is_async_p): Update. | |
13810 | (init_dummy_target): Update. | |
13811 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
13812 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
13813 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
13814 | (target_can_async_p, target_is_async_p, target_async) | |
13815 | (target_stopped_by_watchpoint): Update. | |
13816 | ||
e095146b YQ |
13817 | 2014-02-19 Yao Qi <yao@codesourcery.com> |
13818 | ||
13819 | PR gdb/16220 | |
13820 | * gdbarch.sh: Remove startup_gdbarch. | |
13821 | * gdbarch.c: Regenerated. | |
13822 | * gdbarch.h: Likewise. | |
13823 | ||
bc3c6b36 KB |
13824 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> |
13825 | ||
13826 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
13827 | (rl78_return_value): Add g10 support. | |
13828 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
13829 | g10. | |
13830 | ||
98dc0167 | 13831 | 2014-02-17 Doug Evans <xdje42@gmail.com> |
f01c1940 DE |
13832 | |
13833 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
13834 | (SUBDIR_GUILE_SRCS): Ditto. | |
13835 | (scm-gsmob.o): Ditto. | |
13836 | ||
842c05cd YQ |
13837 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
13838 | ||
13839 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
13840 | ||
25c0bd04 YQ |
13841 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
13842 | ||
13843 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
13844 | mach_msg_type_number_t. | |
13845 | (gnu_write_inferior): Likewise. | |
13846 | ||
a9a758e3 YQ |
13847 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
13848 | ||
13849 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
13850 | in format string. | |
13851 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
13852 | (inf_validate_procs, inf_signal): Likewise. | |
13853 | (S_exception_raise_request): Likewise. | |
13854 | (do_mach_notify_dead_name): Likewise. | |
13855 | (steal_exc_port): Likewise. | |
13856 | (gnu_read_inferior): Change 'copy_count''s type to | |
13857 | mach_msg_type_number_t. | |
13858 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
13859 | format string. | |
13860 | ||
bae8023e TS |
13861 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> |
13862 | ||
c82f56d9 TS |
13863 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit |
13864 | flag. Adjust all users; in particular... | |
13865 | (gnu_wait): ..., don't decrement its value in here... | |
13866 | (gnu_create_inferior): ..., and instead set the flag in here, | |
13867 | around the startup_inferior call, and call that one with | |
13868 | START_INFERIOR_TRAPS_EXPECTED. | |
13869 | ||
3398af6a TS |
13870 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... |
13871 | (ILL_RPC): ... new macro. | |
13872 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
13873 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
13874 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
13875 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
13876 | functions with ILL_RPC macro. | |
13877 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
13878 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
13879 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
13880 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
13881 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
13882 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
13883 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
13884 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
13885 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
13886 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
13887 | (S_proc_get_code_reply): New stub functions, generated with | |
13888 | ILL_RPC macro. | |
13889 | ||
d47642c9 TS |
13890 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet |
13891 | collected the type check structures. | |
13892 | ||
bae8023e TS |
13893 | * reply_mig_hack.awk: Don't expect to see the auto keyword. |
13894 | ||
8a55ffb0 DE |
13895 | 2014-02-14 Doug Evans <dje@google.com> |
13896 | ||
13897 | * target.c (target_write_partial): Fix result type. | |
13898 | ||
c2853f3d JM |
13899 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> |
13900 | ||
13901 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
13902 | the proper offsets to access fpregset_t. | |
13903 | ||
ac61d2db SA |
13904 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> |
13905 | ||
13906 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
13907 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
13908 | * h8300-tdep.c (setmachinelist): Remove global. | |
13909 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
13910 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
13911 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
13912 | * ravenscar-thread.c (update_target_observer): Remove global. | |
13913 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
13914 | ||
9d2d0b8b TT |
13915 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13916 | ||
13917 | * common/rsp-low.c: Update comments. | |
13918 | * common/rsp-low.h: Update comments. | |
13919 | ||
a7191e8b TT |
13920 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13921 | ||
13922 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
13923 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
13924 | ||
ff0e980e TT |
13925 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13926 | ||
13927 | * common/rsp-low.h (unhexify): Don't declare. | |
13928 | * common/rsp-low.c (unhexify): Remove. | |
13929 | ||
e9371aff TT |
13930 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13931 | ||
13932 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
13933 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
13934 | ||
971dc0b8 TT |
13935 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13936 | ||
13937 | * common/rsp-low.h (hexify): Don't declare. | |
13938 | * common/rsp-low.c (hexify): Remove. | |
13939 | ||
0a822afb TT |
13940 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13941 | ||
13942 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
13943 | ||
9f1b45b0 TT |
13944 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13945 | ||
13946 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
13947 | * remote.c (extended_remote_run, remote_rcmd) | |
13948 | (remote_download_trace_state_variable, remote_save_trace_data) | |
13949 | (remote_set_trace_notes): Update. | |
13950 | * tracepoint.c (encode_source_string, tfile_write_status) | |
13951 | (tfile_write_uploaded_tsv): Update. | |
13952 | ||
9c3d6531 TT |
13953 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13954 | ||
13955 | * tracepoint.c: Include rsp-low.h. | |
13956 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
13957 | * remote.c: Include rsp-low.h. | |
13958 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
13959 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
13960 | (remote_unescape_input): Move to common/rsp-low.c. | |
13961 | * common/rsp-low.h: New file. | |
13962 | * common/rsp-low.c: New file. | |
13963 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
13964 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
13965 | (COMMON_OBS): Add rsp-low.o. | |
13966 | (rsp-low.o): New target. | |
13967 | ||
01fd3ea5 TT |
13968 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13969 | ||
13970 | * utils.h: Include print-utils.h. | |
13971 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
13972 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
13973 | (hex_string, hex_string_custom): Don't declare. | |
13974 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
13975 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
13976 | (hex_string_custom, int_string, core_addr_to_string) | |
13977 | (core_addr_to_string_nz, host_address_to_string): Move to | |
13978 | common/print-utils.c. | |
13979 | * common/print-utils.h: New file. | |
13980 | * common/print-utils.c: New file | |
13981 | * Makefile.in (SFILES): Add common/print-utils.c. | |
13982 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
13983 | (COMMON_OBS): Add print-utils.o. | |
13984 | (print-utils.o): New target. | |
13985 | ||
9fb50108 TT |
13986 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13987 | ||
13988 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
13989 | ||
0548b5db MK |
13990 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
13991 | ||
13992 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
13993 | ||
493443a4 MK |
13994 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
13995 | ||
13996 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
13997 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
13998 | bytes were transferred. | |
13999 | ||
706d0883 PA |
14000 | 2014-02-12 Pedro Alves <palves@redhat.com> |
14001 | Kevin Buettner <kevinb@redhat.com> | |
14002 | ||
14003 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
14004 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
14005 | ||
5caa2f0b PA |
14006 | 2014-02-12 Pedro Alves <palves@redhat.com> |
14007 | ||
14008 | * h8300-tdep.c (pseudo_from_raw_register) | |
14009 | (raw_from_pseudo_register): New functions. | |
14010 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
14011 | them. | |
14012 | ||
76fd5f74 PA |
14013 | 2014-02-12 Pedro Alves <palves@redhat.com> |
14014 | ||
14015 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
14016 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
14017 | gdbarch_register_sim_regno hook. | |
14018 | ||
8f008406 SA |
14019 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
14020 | ||
14021 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
14022 | ||
195abc10 SA |
14023 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
14024 | ||
14025 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
14026 | ||
93ffa5b9 MK |
14027 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
14028 | ||
14029 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
14030 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
14031 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
14032 | (obsd_init_abi): New functions. | |
14033 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
14034 | (i386obsd_init_abi): Call obsd_init_abi. | |
14035 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
14036 | (amd64obsd_init_abi): Call obsd_init_abi. | |
14037 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
14038 | obsd-tdep.c to gdb_target_obs. | |
14039 | ||
49caec94 JM |
14040 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> |
14041 | ||
14042 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
14043 | double float arguments to 16-byte in the argument slots. | |
14044 | ||
e1402065 DE |
14045 | 2014-02-11 Doug Evans <xdje42@gmail.com> |
14046 | ||
14047 | * configure.ac: Don't crash if pkg-config is not found and guile | |
14048 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
14049 | in guile checks. | |
14050 | * configure: Regenerate. | |
14051 | ||
edcc890f YQ |
14052 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
14053 | ||
14054 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
14055 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
14056 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
14057 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
14058 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
14059 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
14060 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
14061 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
14062 | ||
9b409511 YQ |
14063 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
14064 | ||
14065 | * target.h (enum target_xfer_error): Rename to ... | |
14066 | (enum target_xfer_status): ... it. New. All users updated. | |
14067 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
14068 | New. | |
14069 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
14070 | (target_xfer_error_to_string): Remove declaration. | |
14071 | (target_xfer_status_to_string): Declare. | |
14072 | (target_xfer_partial_ftype): Adjust it. | |
14073 | (struct target_ops) <to_xfer_partial>: Return | |
14074 | target_xfer_status. Add argument xfered_len. Update | |
14075 | comments. | |
14076 | * target.c (target_xfer_error_to_string): Rename to ... | |
14077 | (target_xfer_status_to_string): ... it. New. All callers | |
14078 | updated. | |
14079 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
14080 | instead of target_read. | |
14081 | (memory_xfer_live_readonly_partial): Return | |
14082 | target_xfer_status. Add argument xfered_len. | |
14083 | (raw_memory_xfer_partial): Likewise. | |
14084 | (memory_xfer_partial_1): Likewise. | |
14085 | (memory_xfer_partial): Likewise. | |
14086 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
14087 | properly. Update debug message. | |
14088 | (default_xfer_partial, current_xfer_partial): Likewise. | |
14089 | (target_write_partial): Likewise. | |
14090 | (target_read_partial): Likewise. All callers updated. | |
14091 | (read_whatever_is_readable): Likewise. | |
14092 | (target_write_with_progress): Likewise. | |
14093 | (target_read_alloc_1): Likewise. | |
14094 | ||
14095 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
14096 | * auxv.c (procfs_xfer_auxv): Likewise. | |
14097 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
14098 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
14099 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
14100 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
14101 | * corefile.c (read_memory): Adjust. | |
14102 | * corelow.c (core_xfer_partial): Likewise. | |
14103 | * ctf.c (ctf_xfer_partial): Likewise. | |
14104 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
14105 | updated. | |
14106 | (darwin_xfer_partial): Likewise. | |
14107 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
14108 | callers updated. | |
14109 | (exec_xfer_partial): Likewise. | |
14110 | * exec.h (section_table_xfer_memory_partial): Update | |
14111 | declaration. | |
14112 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
14113 | negative. | |
14114 | (gnu_xfer_partial): Likewise. | |
14115 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
14116 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
14117 | (ia64_hpux_xfer_solib_got): Likewise. | |
14118 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
14119 | type of 'partial_len' to ULONGEST. | |
14120 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
14121 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
14122 | (linux_nat_xfer_partial): Likewise. | |
14123 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
14124 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
14125 | * monitor.c (monitor_xfer_memory): Likewise. | |
14126 | (monitor_xfer_partial): Likewise. | |
14127 | * procfs.c (procfs_xfer_partial): Likewise. | |
14128 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
14129 | * record-full.c (record_full_xfer_partial): Likewise. | |
14130 | (record_full_core_xfer_partial): Likewise. | |
14131 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
14132 | (gdbsim_xfer_partial): Likewise. | |
14133 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
14134 | updated. | |
14135 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
14136 | callers updated. | |
14137 | (remote_flash_erase): Likewise. All callers updated. | |
14138 | (remote_write_qxfer): Likewise. All callers updated. | |
14139 | (remote_read_qxfer): Likewise. All callers updated. | |
14140 | (remote_xfer_partial): Likewise. | |
14141 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
14142 | (rs6000_xfer_shared_libraries): Likewise. | |
14143 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
14144 | (sol_thread_xfer_partial): Likewise. | |
14145 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
14146 | (sparc_xfer_partial): Likewise. | |
14147 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
14148 | updated. | |
14149 | (spu_xfer_partial): Likewise. | |
14150 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
14151 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
14152 | * windows-nat.c (windows_xfer_memory): Likewise. | |
14153 | (windows_xfer_shared_libraries): Likewise. | |
14154 | (windows_xfer_partial): Likewise. | |
14155 | * valprint.c: Replace 'target_xfer_error' with | |
14156 | 'target_xfer_status' in comments. | |
14157 | ||
a8e63083 JB |
14158 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) |
14159 | ||
14160 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
14161 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
14162 | ||
e86b67d3 JB |
14163 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> |
14164 | ||
14165 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
14166 | function parameters. | |
14167 | ||
4b7d1f7f WN |
14168 | 2014-02-10 Will Newton <will.newton@linaro.org> |
14169 | ||
14170 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
14171 | looking up .got.plt fails. | |
14172 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
14173 | on address passed to elf_gnu_ifunc_record_cache. | |
14174 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
14175 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
14176 | ||
961842b2 JM |
14177 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> |
14178 | ||
14179 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
14180 | (X_RETTURN): New macro. | |
14181 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
14182 | ||
14183 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
14184 | sparc_in_function_epilogue_p. | |
14185 | ||
3f03e7b1 GB |
14186 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
14187 | ||
14188 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
14189 | Rename name_matcher to symbol_matcher. | |
14190 | ||
96f861ef GB |
14191 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
14192 | ||
14193 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
14194 | Use expand_symtabs_file_matcher_ftype and | |
14195 | expand_symtabs_symbol_matcher_ftype. | |
14196 | ||
ee01b665 JB |
14197 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
14198 | ||
14199 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
14200 | (struct ada_symbol_cache): New. | |
14201 | (ada_free_symbol_cache): Forward declare. | |
14202 | (struct ada_pspace_data): New. | |
14203 | (ada_pspace_data_handle): New static global. | |
14204 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
14205 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
14206 | (cache_space, cache): Delete, now folded inside struct | |
14207 | ada_pspace_data. | |
14208 | (ada_get_symbol_cache): New function. | |
14209 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
14210 | implementation. | |
14211 | (_initialize_ada_language): Remove initialization of cache_space. | |
14212 | Move call to observer_attach_inferior_exit up, grouping it | |
14213 | with the other observer registrations inside this function. | |
14214 | Rename command to be more general. Add call to | |
14215 | register_program_space_data_with_cleanup. | |
14216 | ||
143adbbf JB |
14217 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
14218 | ||
14219 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
14220 | ada_new_objfile_observer. | |
14221 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
14222 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
14223 | and ada_tasks_normal_stop_observer. | |
14224 | ||
aa4fb036 JB |
14225 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
14226 | ||
14227 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
14228 | returned by the 'Length attribute to integer. | |
14229 | ||
9dee8cc6 JB |
14230 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
14231 | ||
14232 | * ada-lang.c (_initialize_ada_language): Initialize | |
14233 | cache_space obstack. | |
14234 | ||
3d9434b5 JB |
14235 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
14236 | ||
14237 | * ada-lang.c (HASH_SIZE): New macro. | |
14238 | (struct cache_entry): New type. | |
14239 | (cache_space, cache): New static globals. | |
14240 | (ada_clear_symbol_cache, find_entry): New functions. | |
14241 | (lookup_cached_symbol, cache_symbol): Implement. | |
14242 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
14243 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
14244 | and ada_free_objfile_observer. | |
14245 | ||
f0c5f9b2 JB |
14246 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
14247 | ||
14248 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
14249 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
14250 | struct block * parameter. | |
14251 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
14252 | Remove cast which is no longer necessary. | |
14253 | ||
ed3ef339 DE |
14254 | 2014-02-10 Doug Evans <xdje42@gmail.com> |
14255 | ||
14256 | Add Guile as an extension language. | |
14257 | * NEWS: Mention Guile scripting. | |
14258 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
14259 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
14260 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
14261 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
14262 | (CLIBS): Add GUILE_LIBS. | |
14263 | (install-guile): New rule. | |
14264 | (guile.o): New rule. | |
14265 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
14266 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
14267 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
14268 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
14269 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
14270 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
14271 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
14272 | * configure.ac: New option --with-guile. | |
14273 | * configure: Regenerate. | |
14274 | * config.in: Regenerate. | |
14275 | * auto-load.c: Remove #include "python/python.h". Add #include | |
14276 | "gdb/section-scripts.h". | |
14277 | (source_section_scripts): Handle Guile scripts. | |
14278 | (_initialize_auto_load): Add name of Guile objfile script to | |
14279 | scripts-directory help text. | |
14280 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
14281 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
14282 | (struct breakpoint): New member scm_bp_object. | |
14283 | * defs.h (enum command_control_type): New value guile_control. | |
14284 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
14285 | "extension.h". | |
14286 | (show_user): Update comment. | |
14287 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
14288 | text for max-user-call-depth. | |
14289 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
14290 | "extension.h". | |
14291 | (multi_line_command_p): Add guile_control. | |
14292 | (print_command_lines): Handle guile_control. | |
14293 | (execute_control_command, recurse_read_control_structure): Ditto. | |
14294 | (process_next_line): Recognize "guile" commands. | |
14295 | * disasm.c (gdb_disassemble_info): Make non-static. | |
14296 | * disasm.h: #include "dis-asm.h". | |
14297 | (struct gdbarch): Add forward decl. | |
14298 | (gdb_disassemble_info): Declare. | |
14299 | * extension.c: #include "guile/guile.h". | |
14300 | (extension_languages): Add guile. | |
14301 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
14302 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
14303 | * gdbtypes.c (get_unsigned_type_max): New function. | |
14304 | (get_signed_type_minmax): New function. | |
14305 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
14306 | (get_signed_type_minmax): Declare. | |
14307 | * guile/README: New file. | |
14308 | * guile/guile-internal.h: New file. | |
14309 | * guile/guile.c: New file. | |
14310 | * guile/guile.h: New file. | |
14311 | * guile/scm-arch.c: New file. | |
14312 | * guile/scm-auto-load.c: New file. | |
14313 | * guile/scm-block.c: New file. | |
14314 | * guile/scm-breakpoint.c: New file. | |
14315 | * guile/scm-disasm.c: New file. | |
14316 | * guile/scm-exception.c: New file. | |
14317 | * guile/scm-frame.c: New file. | |
14318 | * guile/scm-gsmob.c: New file. | |
14319 | * guile/scm-iterator.c: New file. | |
14320 | * guile/scm-lazy-string.c: New file. | |
14321 | * guile/scm-math.c: New file. | |
14322 | * guile/scm-objfile.c: New file. | |
14323 | * guile/scm-ports.c: New file. | |
14324 | * guile/scm-pretty-print.c: New file. | |
14325 | * guile/scm-safe-call.c: New file. | |
14326 | * guile/scm-string.c: New file. | |
14327 | * guile/scm-symbol.c: New file. | |
14328 | * guile/scm-symtab.c: New file. | |
14329 | * guile/scm-type.c: New file. | |
14330 | * guile/scm-utils.c: New file. | |
14331 | * guile/scm-value.c: New file. | |
14332 | * guile/lib/gdb.scm: New file. | |
14333 | * guile/lib/gdb/boot.scm: New file. | |
14334 | * guile/lib/gdb/experimental.scm: New file. | |
14335 | * guile/lib/gdb/init.scm: New file. | |
14336 | * guile/lib/gdb/iterator.scm: New file. | |
14337 | * guile/lib/gdb/printing.scm: New file. | |
14338 | * guile/lib/gdb/types.scm: New file. | |
14339 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
14340 | (VPATH): Add $(GUILE_SRCDIR). | |
14341 | (GUILE_DIR): New variable. | |
14342 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
14343 | (all): Add stamp-guile dependency. | |
14344 | (stamp-guile): New rule. | |
14345 | (clean-guile, install-guile, uninstall-guile): New rules. | |
14346 | (install-only): Add install-guile dependency. | |
14347 | (uninstall): Add uninstall-guile dependency. | |
14348 | (clean): Add clean-guile dependency. | |
14349 | ||
ac020ec5 DE |
14350 | 2014-02-09 Doug Evans <xdje42@gmail.com> |
14351 | ||
14352 | Revert this patch (which I approved, mea culpa). | |
14353 | ||
14354 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
14355 | ||
14356 | * Makefile.in (all-lib): Remove. | |
14357 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
14358 | ||
2a081c59 JK |
14359 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
14360 | ||
14361 | Fix Python stack corruption. | |
14362 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
14363 | gdb_py_longest. | |
14364 | ||
0a6bd22d MK |
14365 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> |
14366 | ||
14367 | * Makefile.in (all-lib): Remove. | |
14368 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
14369 | ||
1a860409 DE |
14370 | 2014-02-07 Doug Evans <dje@google.com> |
14371 | ||
14372 | * extension-priv.h (extension_language_script_ops): Add comment. | |
14373 | (extension_language_ops): Add comment. | |
caf5a491 | 14374 | (active_ext_lang_state): Fix typo in comment. |
1a860409 | 14375 | |
d137e6dc PA |
14376 | 2014-02-07 Pedro Alves <palves@redhat.com> |
14377 | ||
0dcb32c3 | 14378 | PR breakpoints/16292 |
d137e6dc PA |
14379 | * infrun.c (handle_signal_stop) <signal arrives while stepping |
14380 | over a breakpoint>: Switch back to the stepping thread. | |
14381 | ||
ce6d0892 YQ |
14382 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
14383 | ||
14384 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
14385 | ||
2ed4b548 YQ |
14386 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
14387 | ||
14388 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
14389 | (ld_so_xfer_auxv): Likewise. | |
14390 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
14391 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
14392 | * corelow.c (core_xfer_partial): Likewise. | |
14393 | * ctf.c (ctf_xfer_partial): Likewise. | |
14394 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
14395 | (darwin_xfer_partial): Likewise. | |
14396 | * exec.c (exec_xfer_partial): Likewise. | |
14397 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
14398 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
14399 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
14400 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
14401 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
14402 | (linux_proc_xfer_spu): Likewise. | |
14403 | * procfs.c (procfs_xfer_partial): Likewise. | |
14404 | * record-full.c (record_full_xfer_partial): Likewise. | |
14405 | (record_full_core_xfer_partial): Likewise. | |
14406 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
14407 | * remote.c (remote_write_qxfer): Likewise. | |
14408 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
14409 | (remote_xfer_partial): Likewise. | |
14410 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
14411 | (rs6000_xfer_shared_libraries): Likewise. | |
14412 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
14413 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
14414 | (spu_xfer_partial): Likewise. | |
14415 | * target.c (memory_xfer_partial_1): Likewise. | |
14416 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
14417 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
14418 | (windows_xfer_partial): Likewise. | |
14419 | ||
c09f20e4 YQ |
14420 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
14421 | ||
14422 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
14423 | comments. | |
14424 | (core_xfer_shared_libraries_aix): Likewise. | |
14425 | * gdbarch.c, gdbarch.h: Regenerated. | |
14426 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
14427 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
14428 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
14429 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
14430 | declaration. | |
14431 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
14432 | ||
8635b3bf YQ |
14433 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
14434 | ||
14435 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
14436 | 'exception' to throw_error. | |
14437 | ||
6dddc817 DE |
14438 | 2014-02-06 Doug Evans <xdje42@gmail.com> |
14439 | ||
14440 | * configure.ac (libpython checking): Remove all but python.o from | |
14441 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
14442 | * configure: Regenerate. | |
14443 | ||
14444 | * Makefile.in (SFILES): Add extension.c. | |
14445 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
14446 | (COMMON_OBS): Add extension.o. | |
14447 | * extension.h: New file. | |
14448 | * extension-priv.h: New file. | |
14449 | * extension.c: New file. | |
14450 | ||
14451 | * python/python-internal.h: #include "extension.h". | |
14452 | (gdbpy_auto_load_enabled): Declare. | |
14453 | (gdbpy_apply_val_pretty_printer): Declare. | |
14454 | (gdbpy_apply_frame_filter): Declare. | |
14455 | (gdbpy_preserve_values): Declare. | |
14456 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
14457 | (gdbpy_breakpoint_has_cond): Declare. | |
14458 | (void source_python_script_for_objfile): Delete. | |
14459 | * python/python.c: #include "extension-priv.h". | |
14460 | Delete inclusion of "observer.h". | |
14461 | (extension_language_python): Moved here and renamed from | |
14462 | script_language_python in py-auto-load.c. | |
14463 | Redefined to be of type extension_language_defn. | |
14464 | (python_extension_script_ops): New global. | |
14465 | (python_extension_ops): New global. | |
14466 | (struct python_env): New member previous_active. | |
14467 | (restore_python_env): Call restore_active_ext_lang. | |
14468 | (ensure_python_env): Call set_active_ext_lang. | |
14469 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
14470 | New arg extlang. | |
14471 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
14472 | New arg extlang. | |
14473 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
14474 | New arg extlang. | |
14475 | (gdbpy_eval_from_control_command): Renamed from | |
14476 | eval_python_from_control_command, made static. New arg extlang. | |
14477 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
14478 | New arg extlang. | |
14479 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
14480 | result to int. New arg extlang. | |
14481 | (gdbpy_source_objfile_script): Renamed from | |
14482 | source_python_script_for_objfile, made static. New arg extlang. | |
14483 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
14484 | static. New args extlang, extlang_printers. Change result type to | |
14485 | "void". | |
14486 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
14487 | static. New arg extlang. Rename arg printers to extlang_printers | |
14488 | and change type to ext_lang_type_printers *. | |
14489 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
14490 | static. Replace argument arg with extlang, extlang_printers. | |
14491 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
14492 | (!HAVE_PYTHON, source_python_script): Delete. | |
14493 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
14494 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
14495 | (!HAVE_PYTHON, start_type_printers): Delete. | |
14496 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
14497 | (!HAVE_PYTHON, free_type_printers): Delete. | |
14498 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
14499 | (finalize_python): Set/restore active extension language. | |
14500 | (gdbpy_finish_initialization) Renamed from | |
14501 | finish_python_initialization, made static. New arg extlang. | |
14502 | (gdbpy_initialized): New function. | |
14503 | * python/python.h: #include "extension.h". Delete #include | |
14504 | "value.h", "mi/mi-cmds.h". | |
14505 | (extension_language_python): Declare. | |
14506 | (GDBPY_AUTO_FILE_NAME): Delete. | |
14507 | (enum py_bt_status): Moved to extension.h and renamed to | |
14508 | ext_lang_bt_status. | |
14509 | (enum frame_filter_flags): Moved to extension.h. | |
14510 | (enum py_frame_args): Moved to extension.h and renamed to | |
14511 | ext_lang_frame_args. | |
14512 | (finish_python_initialization): Delete. | |
14513 | (eval_python_from_control_command): Delete. | |
14514 | (source_python_script): Delete. | |
14515 | (apply_val_pretty_printer): Delete. | |
14516 | (apply_frame_filter): Delete. | |
14517 | (preserve_python_values): Delete. | |
14518 | (gdbpy_script_language_defn): Delete. | |
14519 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
14520 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
14521 | ||
14522 | * auto-load.c: #include "extension.h". | |
14523 | (GDB_AUTO_FILE_NAME): Delete. | |
14524 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
14525 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
14526 | extension_language_gdb. | |
14527 | (source_gdb_script_for_objfile): Delete. | |
14528 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
14529 | (loaded_script): Change type of language member to | |
14530 | struct extension_language_defn *. | |
14531 | (init_loaded_scripts_info): Initialize | |
14532 | unsupported_script_warning_printed. | |
14533 | (maybe_add_script): Make static. Change type of language arg to | |
14534 | struct extension_language_defn *. | |
14535 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
14536 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
14537 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
14538 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
14539 | (source_section_scripts): Rewrite to use extension language API. | |
14540 | (load_auto_scripts_for_objfile): Rewrite to use | |
14541 | auto_load_scripts_for_objfile. | |
14542 | (collect_matching_scripts_data): Change type of language member to | |
14543 | struct extension_language_defn *. | |
14544 | (auto_load_info_scripts): Change type of language arg to | |
14545 | struct extension_language_defn *. | |
14546 | (unsupported_script_warning_print): New function. | |
14547 | (script_not_found_warning_print): Make static. | |
14548 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
14549 | help. | |
14550 | * auto-load.h (struct objfile): Add forward decl. | |
14551 | (struct script_language): Delete. | |
14552 | (struct auto_load_pspace_info): Add forward decl. | |
14553 | (struct extension_language_defn): Add forward decl. | |
14554 | (maybe_add_script): Delete. | |
14555 | (auto_load_objfile_script): Declare. | |
14556 | (script_not_found_warning_print): Delete. | |
14557 | (auto_load_info_scripts): Update prototype. | |
14558 | (auto_load_gdb_scripts_enabled): Declare. | |
14559 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
14560 | auto_load_python_scripts_enabled and made public. | |
14561 | (script_language_python): Delete, moved to python.c. | |
14562 | (gdbpy_script_language_defn): Delete. | |
14563 | (info_auto_load_python_scripts): Update to use | |
14564 | extension_language_python. | |
14565 | ||
14566 | * breakpoint.c (condition_command): Replace call to | |
14567 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
14568 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
14569 | with call to breakpoint_ext_lang_cond_says_stop. | |
14570 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
14571 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
14572 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
14573 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
14574 | New arg slang. | |
14575 | (local_setattro): Print name of extension language with existing | |
14576 | stop condition. | |
14577 | ||
14578 | * valprint.c (val_print, value_print): Update to call | |
14579 | apply_ext_lang_val_pretty_printer. | |
14580 | * cp-valprint.c (cp_print_value): Update call to | |
14581 | apply_ext_lang_val_pretty_printer. | |
14582 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
14583 | (gdbpy_apply_val_pretty_printer): Renamed from | |
14584 | apply_val_pretty_printer. New arg extlang. | |
14585 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
14586 | ||
14587 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
14588 | extension language API. | |
14589 | * cli/cli-script.c (execute_control_command): Update to call | |
14590 | eval_ext_lang_from_control_command. | |
14591 | ||
14592 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
14593 | enum ext_lang_bt_status values. Update call to | |
14594 | apply_ext_lang_frame_filter. | |
14595 | (mi_cmd_stack_list_locals): Ditto. | |
14596 | (mi_cmd_stack_list_args): Ditto. | |
14597 | (mi_cmd_stack_list_variables): Ditto. | |
14598 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
14599 | Add #include "extension.h". | |
14600 | (mi_cmd_list_features): Replace reference to python internal variable | |
14601 | gdb_python_initialized with call to ext_lang_initialized_p. | |
14602 | ||
14603 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
14604 | Update to use enum ext_lang_frame_args. Update to call | |
14605 | apply_ext_lang_frame_filter. | |
14606 | * python/py-framefilter.c (extract_sym): Update to use enum | |
14607 | ext_lang_bt_status. | |
14608 | (extract_value, py_print_type, py_print_value): Ditto. | |
14609 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
14610 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
14611 | (py_print_frame): Ditto. | |
14612 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
14613 | New arg extlang. Update to use enum ext_lang_bt_status. | |
14614 | ||
14615 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
14616 | finish_python_initialization. Replace with call to | |
14617 | finish_ext_lang_initialization. | |
14618 | ||
14619 | * typeprint.c (do_free_global_table): Update to call | |
14620 | free_ext_lang_type_printers. | |
14621 | (create_global_typedef_table): Update to call | |
14622 | start_ext_lang_type_printers. | |
14623 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
14624 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
14625 | (type_print_options): Change type of global_printers from "void *" | |
14626 | to "struct ext_lang_type_printers *". | |
14627 | ||
14628 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
14629 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
14630 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
14631 | New arg extlang. | |
14632 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
14633 | ||
14634 | * utils.c (quit_flag): Delete, moved to extension.c. | |
14635 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
14636 | extension.c. | |
14637 | ||
14638 | * eval.c: Delete #include "python/python.h". | |
14639 | * main.c: Delete #include "python/python.h". | |
14640 | ||
14641 | * defs.h: Update comment. | |
14642 | ||
6af79985 JB |
14643 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> |
14644 | ||
14645 | GDB 7.7 released. | |
14646 | ||
12c5175d MK |
14647 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> |
14648 | ||
14649 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
14650 | defined. | |
14651 | ||
8dc5b319 YQ |
14652 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
14653 | ||
14654 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
14655 | rs->buf. | |
14656 | (remote_program_signals): Likewise. | |
14657 | ||
de7b2893 YQ |
14658 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
14659 | ||
14660 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
14661 | (CTF_PID): A new macro. | |
14662 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
14663 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
14664 | (ctf_thread_alive): New function. | |
14665 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
14666 | ||
66d032ac YQ |
14667 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
14668 | ||
14669 | Revert this patch: | |
14670 | ||
14671 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
14672 | ||
14673 | * tracepoint.c (TFILE_PID): Remove. | |
14674 | (tfile_open): Don't add thread and inferior. | |
14675 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
14676 | exit_inferior_silent. | |
14677 | (tfile_thread_alive): Remove. | |
14678 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
14679 | tfile_ops. | |
14680 | ||
f4ccffad CE |
14681 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) |
14682 | ||
14683 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
14684 | if only symbol-file (not file) has been given. | |
14685 | ||
591a12a1 UW |
14686 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14687 | ||
14688 | * gdbarch.sh (skip_entrypoint): New callback. | |
14689 | * gdbarch.c, gdbarch.h: Regenerate. | |
14690 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
14691 | * infrun.c (fill_in_stop_func): Likewise. | |
14692 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
14693 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
14694 | (ppc_elfv2_skip_entrypoint): Likewise. | |
14695 | (ppc_linux_init_abi): Install them for ELFv2. | |
14696 | ||
cc0e89c5 UW |
14697 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14698 | ||
14699 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
14700 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
14701 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
14702 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
14703 | structures returned in GPRs. | |
14704 | ||
52f548e4 UW |
14705 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14706 | ||
14707 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
14708 | offset to the stack parameter list for the ELFv2 ABI. | |
14709 | ||
d4094b6a UW |
14710 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14711 | ||
14712 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
14713 | set_gdbarch_convert_from_func_ptr_addr and | |
14714 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
14715 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
14716 | function descriptors on ELFv1. | |
14717 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
14718 | set up r12 at function entry. | |
14719 | ||
cd453cd0 UW |
14720 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14721 | ||
14722 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
14723 | (struct gdbarch_tdep): New member elf_abi. | |
14724 | ||
14725 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
14726 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
14727 | ||
0ff3e01f UW |
14728 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14729 | ||
14730 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
14731 | within a register pair holding a DFP 128-bit value on little-endian. | |
14732 | (ppc64_sysv_abi_return_value_base): Likewise. | |
14733 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
14734 | (dfp_pseudo_register_write): Likewise. | |
14735 | ||
5b757e5d UW |
14736 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14737 | ||
14738 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
14739 | offset on little-endian when passing _Decimal32. | |
14740 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
14741 | ||
084ee545 UW |
14742 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14743 | ||
14744 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
14745 | of the overlapped FP register within the VSX register on little- | |
14746 | endian platforms. | |
14747 | (efpr_pseudo_register_write): Likewise. | |
14748 | ||
d63167af UW |
14749 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14750 | ||
14751 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
14752 | offset on little-endian when passing small structures. | |
14753 | ||
e765b44c UW |
14754 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14755 | ||
14756 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
14757 | (struct ppc64_sysv_argpos): New data structure. | |
14758 | (ppc64_sysv_abi_push_float): Remove. | |
14759 | (ppc64_sysv_abi_push_val): New function. | |
14760 | (ppc64_sysv_abi_push_integer): Likewise. | |
14761 | (ppc64_sysv_abi_push_freg): Likewise. | |
14762 | (ppc64_sysv_abi_push_vreg): Likewise. | |
14763 | (ppc64_sysv_abi_push_param): Likewise. | |
14764 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
14765 | (ppc64_sysv_abi_return_value_base): New function. | |
14766 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
14767 | ||
36c24d95 UW |
14768 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14769 | ||
14770 | * NEWS: Document new target powerpc64le-*-linux*. | |
14771 | ||
26fd9228 MK |
14772 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> |
14773 | ||
14774 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
14775 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
14776 | core dumps. | |
14777 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
14778 | register set used in ELF core dumps. Add floating-point register set. | |
14779 | ||
c5bb7362 KB |
14780 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> |
14781 | ||
74228e77 | 14782 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite |
c5bb7362 KB |
14783 | dwarf2_to_gdb[] table using symbolic constants. Adjust |
14784 | penultimate entry from number representing the PC register | |
14785 | to symbolic constant representing the MDR register. Add | |
14786 | constant for the PC register to the end of the table. | |
14787 | ||
af09351e MK |
14788 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
14789 | ||
14790 | * bsd-kvm.c: Include <sys/param.h> | |
14791 | ||
8507e05d MK |
14792 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
14793 | ||
14794 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
14795 | ||
ae56bfb8 JB |
14796 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> |
14797 | ||
14798 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
14799 | ||
718ee4dc UW |
14800 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
14801 | ||
14802 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
14803 | ||
401e27fd JM |
14804 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> |
14805 | ||
14806 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
14807 | the sigreturn register save area only if the syscall is | |
14808 | sigreturn. | |
14809 | ||
a7c88acd JB |
14810 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> |
14811 | ||
14812 | * valops.c (value_slice): Minor reformatting. | |
14813 | ||
fa0079ea UW |
14814 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> |
14815 | ||
14816 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
14817 | ||
c6044dd1 JB |
14818 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> |
14819 | ||
14820 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
14821 | New static globals. | |
14822 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
14823 | (ada_ignore_descriptive_types_p): New static global. | |
14824 | (find_parallel_type_by_descriptive_type): Return immediately | |
14825 | if ada_ignore_descriptive_types_p is set. | |
14826 | (_initialize_ada_language): Register new commands "maintenance | |
14827 | set ada", "maintenance show ada", "maintenance set ada | |
14828 | ignore-descriptive-types" and "maintenance show ada | |
14829 | ignore-descriptive-types". | |
14830 | * NEWS: Add entry for new "maint ada set/show | |
14831 | ignore-descriptive-types" commands. | |
14832 | ||
568e808b MM |
14833 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> |
14834 | ||
14835 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
14836 | for all threads. | |
14837 | ||
467d141b JB |
14838 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14839 | ||
14840 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
14841 | "ui-out.h". | |
14842 | ||
fb151210 JB |
14843 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14844 | ||
14845 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
14846 | New function. | |
14847 | (print_range): Add parameter bounds_prefered_p. If not set, | |
14848 | try printing range types using the name of their base type. | |
14849 | (print_range_type): Add parameter bounds_prefered_p. | |
14850 | Use it in call to print_range. | |
14851 | (print_array_type, ada_print_type): Update calls to print_range | |
14852 | and print_range_type. | |
14853 | ||
aba02109 JB |
14854 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14855 | ||
14856 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
14857 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
14858 | Remove declaration. | |
14859 | ||
e62e21fd JB |
14860 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14861 | ||
14862 | * ada-typeprint.c (print_range): Add missing empty line | |
14863 | after local declaration. | |
14864 | ||
859cf5d1 JB |
14865 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14866 | ||
14867 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
14868 | target type for as long as it is a TYPE_CODE_RANGE. | |
14869 | ||
25790f6f JB |
14870 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14871 | ||
14872 | * procfs.c (procfs_make_note_section): Remove assertion and | |
14873 | associated comment. | |
14874 | ||
6b6aa828 YQ |
14875 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
14876 | ||
14877 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
14878 | * corelow.c (get_core_siginfo): Likewise. | |
14879 | ||
5d6df423 YQ |
14880 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
14881 | ||
14882 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
14883 | ULONGEST. Don't check 'len' is negative. | |
14884 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
14885 | ||
83b645b8 TT |
14886 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
14887 | ||
14888 | PR python/16485: | |
14889 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
14890 | Handle exception from frame.block. | |
14891 | (FrameVars.fetch_frame_locals): Likewise. | |
14892 | ||
0740f8d8 TT |
14893 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
14894 | ||
14895 | PR python/16487: | |
14896 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
14897 | on a NULL pointer. Move "goto error" to correct place. | |
14898 | ||
21909fa1 TT |
14899 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
14900 | ||
14901 | PR python/16491: | |
14902 | * python/py-framefilter.c (apply_frame_filter): Call | |
14903 | ensure_python_env after computing gdbarch. | |
14904 | ||
17fde6d0 YQ |
14905 | 2014-01-23 Yao Qi <yao@codesourcery.com> |
14906 | ||
14907 | * target.c (raw_memory_xfer_partial): Change argument type | |
14908 | from void * to gdb_byte *. | |
14909 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
14910 | ||
87ce2a04 DE |
14911 | 2014-01-22 Doug Evans <dje@google.com> |
14912 | ||
14913 | New gdbserver option --debug-format=timestamp. | |
14914 | * NEWS: Mention it. | |
14915 | ||
237b092b AA |
14916 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> |
14917 | ||
14918 | * syscalls/s390x-linux.xml: New file. | |
14919 | * syscalls/s390-linux.xml: New file. | |
14920 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
14921 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
14922 | (op_svc): New enum value for SVC opcode. | |
14923 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
14924 | (s390_linux_get_syscall_number): New function. | |
14925 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
14926 | syscall xml file name. | |
14927 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
14928 | "s390-linux.xml" and "s390x-linux.xml". | |
14929 | * NEWS: Announce new feature. | |
14930 | ||
54bff650 BS |
14931 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> |
14932 | ||
14933 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
14934 | ||
14e361d7 PA |
14935 | 2014-01-22 Pedro Alves <palves@redhat.com> |
14936 | ||
14937 | * xtensa-config.c: Include defs.h. | |
14938 | ||
46bbb3ed JB |
14939 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
14940 | ||
14941 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
14942 | reference. | |
14943 | ||
3a80edfc JB |
14944 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
14945 | ||
14946 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
14947 | documentation a bit. | |
14948 | ||
4869db5e RM |
14949 | 2014-01-21 Roland McGrath <mcgrathr@google.com> |
14950 | ||
14951 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
14952 | * configure: Regenerate. | |
14953 | * aclocal.m4: Regenerate. | |
14954 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
14955 | New substituted variables. | |
14956 | (install-strip): New target. | |
14957 | (INSTALL_SCRIPT): New substituted variable. | |
14958 | (FLAGS_TO_PASS): Add it. | |
14959 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
14960 | $(INSTALL_PROGRAM) for gcore. | |
14961 | ||
9ea4267d TT |
14962 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
14963 | ||
14964 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
14965 | together. | |
14966 | ||
1f2bdf09 TT |
14967 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
14968 | ||
14969 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
14970 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
14971 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
14972 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
14973 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
14974 | (struct cmd_list_element) <flags>: Remove. | |
14975 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
14976 | doc_allocated>: New fields. | |
14977 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
14978 | bitfields. | |
14979 | * maint.c (maintenance_do_deprecate): Update. | |
14980 | * top.c (execute_command): Update. | |
14981 | ||
e671835b BS |
14982 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> |
14983 | ||
14984 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
14985 | ||
50367cd2 IB |
14986 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14987 | ||
14988 | * Makefile.in (SFILES): Add d-support.c. | |
14989 | (COMMON_OBS): Add d-support.o. | |
14990 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
14991 | d-support.c. | |
14992 | * d-lang.c (parse_call_convention) | |
14993 | (parse_attributes, parse_function_types) | |
14994 | (parse_function_args, parse_type, parse_identifier) | |
14995 | (call_convention_p, d_parse_symbol): Move functions to ... | |
14996 | * d-support.c: ... New file. | |
14997 | ||
ec9f644a IB |
14998 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14999 | ||
15000 | * d-lang.h (d_parse_symbol): Add declaration. | |
15001 | * d-lang.c (extract_identifiers) | |
15002 | (extract_type_info): Remove functions. | |
15003 | (parse_call_convention, parse_attributes) | |
15004 | (parse_function_types, parse_function_args) | |
15005 | (parse_type, parse_identifier, call_convention_p) | |
15006 | (d_parse_symbol): New functions. | |
15007 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
15008 | ||
94b1b47e IB |
15009 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
15010 | ||
15011 | * d-lang.h (struct builtin_d_type): New data type. | |
15012 | (builtin_d_type): Add declaration. | |
15013 | * d-lang.c (d_language_arch_info, build_d_types) | |
15014 | (builtin_d_type): New functions. | |
15015 | (enum d_primitive_types): New data type. | |
15016 | (d_language_defn): Change c_language_arch_info to | |
15017 | d_language_arch_info. | |
15018 | (d_type_data): New static variable. | |
15019 | (_initialize_d_language): Initialize d_type_data. | |
15020 | ||
63778547 IB |
15021 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
15022 | ||
15023 | * d-lang.h (d_main_name): Add declaration. | |
15024 | * d-lang.c (d_main_name): New function. | |
15025 | * symtab.c (find_main_name): Add call to d_main_name. | |
15026 | ||
3271ba66 IB |
15027 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
15028 | ||
15029 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
15030 | macro_expansion_no. | |
15031 | ||
d36b3012 IB |
15032 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
15033 | ||
15034 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
15035 | ||
c90a6fb7 SDJ |
15036 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> |
15037 | ||
15038 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
15039 | gdb_exception" declaration. | |
15040 | * remote.c (getpkt_or_notif_sane): Likewise. | |
15041 | ||
749234e5 DE |
15042 | 2014-01-17 Doug Evans <dje@google.com> |
15043 | ||
15044 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
15045 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
15046 | (delim_string_to_char_ptr_vec): New function. | |
15047 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
15048 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
15049 | ||
df049a58 DE |
15050 | 2014-01-17 Doug Evans <dje@google.com> |
15051 | ||
15052 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
15053 | and moved here ... | |
15054 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
15055 | #include "common-utils.h". | |
15056 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
15057 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
15058 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
15059 | (MACH_CHECK_ERROR): Update. | |
15060 | ||
69f97648 SM |
15061 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> |
15062 | ||
15063 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
15064 | comments. | |
15065 | * gdbarch.h: Regenerate. | |
15066 | ||
98b1cfdc TT |
15067 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
15068 | ||
15069 | * value.c (struct value) <regnum>: Move earlier. | |
15070 | ||
77a19445 TT |
15071 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
15072 | ||
15073 | * remote.c (extended_remote_create_inferior): Rename from | |
15074 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
15075 | old implementation. | |
15076 | ||
62261490 PA |
15077 | 2014-01-16 Pedro Alves <palves@redhat.com> |
15078 | ||
15079 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
15080 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
15081 | the backchain. | |
15082 | ||
4d65956b DE |
15083 | 2014-01-16 Doug Evans <dje@google.com> |
15084 | ||
15085 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
15086 | ||
52834460 MM |
15087 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15088 | ||
15089 | * btrace.h (btrace_thread_flag): New. | |
15090 | (struct btrace_thread_info) <flags>: New. | |
15091 | * record-btrace.c (record_btrace_resume_thread) | |
15092 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
15093 | (btrace_step_stopped, record_btrace_start_replaying) | |
15094 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
15095 | (record_btrace_find_resume_thread): New. | |
15096 | (record_btrace_resume, record_btrace_wait): Extend. | |
15097 | (record_btrace_can_execute_reverse): New. | |
15098 | (record_btrace_open): Fail in non-stop mode. | |
15099 | (record_btrace_set_replay): Split into this, ... | |
15100 | (record_btrace_stop_replaying): ... this, ... | |
15101 | (record_btrace_clear_histories): ... and this. | |
15102 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
15103 | * NEWS: Announce it. | |
15104 | ||
118e6252 MM |
15105 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15106 | ||
15107 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
15108 | (forward_target_decr_pc_after_break) | |
15109 | (target_decr_pc_after_break): New. | |
15110 | * target.c (forward_target_decr_pc_after_break) | |
15111 | (target_decr_pc_after_break): New. | |
15112 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
15113 | instead of gdbarch_decr_pc_after_break. | |
15114 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
15115 | instead of gdbarch_decr_pc_after_break. | |
15116 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
15117 | instead of gdbarch_decr_pc_after_break. | |
15118 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
15119 | instead of gdbarch_decr_pc_after_break. | |
15120 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
15121 | instead of gdbarch_decr_pc_after_break. | |
15122 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
15123 | instead of gdbarch_decr_pc_after_break. | |
15124 | ||
6e07b1d2 MM |
15125 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15126 | ||
15127 | * btrace.c: Include regcache.h. | |
15128 | (btrace_add_pc): New. | |
15129 | (btrace_enable): Call btrace_add_pc. | |
15130 | (btrace_is_empty): New. | |
15131 | * btrace.h (btrace_is_empty): New. | |
15132 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
15133 | btrace_is_empty. | |
15134 | ||
969c39fb MM |
15135 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15136 | ||
15137 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
15138 | Support delta reads. | |
15139 | (linux_disable_btrace): Change return type. | |
15140 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
15141 | and return type to allow error reporting. Update users. | |
15142 | (linux_disable_btrace): Change return type. Update users. | |
15143 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
15144 | New. | |
15145 | (btrace_error): New. | |
15146 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
15147 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
15148 | the current trace. | |
15149 | (btrace_stitch_trace, btrace_clear_history): New. | |
15150 | (btrace_fetch): Read delta trace, return if replaying. | |
15151 | (btrace_clear): Move clear history code to btrace_clear_history. | |
15152 | (parse_xml_btrace): Throw an error if parsing failed. | |
15153 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
15154 | and return type to allow error reporting. | |
15155 | (target_read_btrace): Change parameters and return type to allow | |
15156 | error reporting. | |
15157 | * target.c (target_read_btrace): Update. | |
15158 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
15159 | errors on. | |
15160 | * NEWS: Announce it. | |
15161 | ||
0b722aec MM |
15162 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15163 | ||
15164 | * record.h (record_btrace_frame_unwind) | |
15165 | (record_btrace_tailcall_frame_unwind): New declarations. | |
15166 | * dwarf2-frame: Include record.h | |
15167 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
15168 | * record-btrace.c: Include hashtab.h. | |
15169 | (btrace_get_bfun_name): New. | |
15170 | (btrace_call_history): Call btrace_get_bfun_name. | |
15171 | (struct btrace_frame_cache): New. | |
15172 | (bfcache): New. | |
15173 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
15174 | (btrace_get_frame_function): New. | |
15175 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
15176 | (record_btrace_frame_this_id): Compute own id. | |
15177 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
15178 | for all other registers. | |
15179 | (record_btrace_frame_sniffer): Detect btrace frames. | |
15180 | (record_btrace_tailcall_frame_sniffer): New. | |
15181 | (record_btrace_frame_dealloc_cache): New. | |
15182 | (record_btrace_frame_unwind): Add new functions. | |
15183 | (record_btrace_tailcall_frame_unwind): New. | |
15184 | (_initialize_record_btrace): Allocate cache. | |
15185 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
15186 | * NEWS: Announce it. | |
15187 | ||
066ce621 MM |
15188 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15189 | ||
15190 | * record-btrace.c (record_btrace_set_replay) | |
15191 | (record_btrace_goto_begin, record_btrace_goto_end) | |
15192 | (record_btrace_goto): New. | |
15193 | (init_record_btrace_ops): Initialize them. | |
15194 | * NEWS: Announce it. | |
15195 | ||
e2887aa3 MM |
15196 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15197 | ||
15198 | * record-btrace.c (record_btrace_find_new_threads) | |
15199 | (record_btrace_thread_alive): New. | |
15200 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
15201 | to_thread_alive. | |
15202 | ||
b2f4cfde MM |
15203 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15204 | ||
15205 | * record-btrace.c (record_btrace_resume): New. | |
15206 | (record_btrace_wait): New. | |
15207 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
15208 | ||
633785ff MM |
15209 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15210 | ||
15211 | * record-btrace.c (record_btrace_xfer_partial) | |
15212 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
15213 | (record_btrace_allow_memory_access): New. | |
15214 | (init_record_btrace_ops): Initialize new methods. | |
15215 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
15216 | that this memory is not available. | |
15217 | ||
3db08215 MM |
15218 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15219 | ||
15220 | * target.h (target_ops) <to_insert_breakpoint> | |
15221 | <to_remove_breakpoint>: Add target_ops parameter. | |
15222 | (forward_target_insert_breakpoint): New. | |
15223 | (forward_target_remove_breakpoint): New. | |
15224 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
15225 | Add target_ops parameter. | |
15226 | * target.c (target_insert_breakpoint): Split into this and ... | |
15227 | (forward_target_insert_breakpoint): ... this. | |
15228 | (target_remove_breakpoint): Split into this and ... | |
15229 | (forward_target_remove_breakpoint): ... this. | |
15230 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
15231 | Call forward_target_insert_breakpoint. | |
15232 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
15233 | Call forward_target_remove_breakpoint. | |
15234 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
15235 | and to_remove_breakpoint. | |
15236 | * corelow.c (ignore): Add target_ops parameter. | |
15237 | * exec.c (ignore): Add target_ops parameter. | |
15238 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
15239 | Add target_ops parameter. | |
15240 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
15241 | Add target_ops parameter. | |
15242 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
15243 | Add target_ops parameter. | |
15244 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
15245 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
15246 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
15247 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
15248 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
15249 | Update users. | |
15250 | (record_full_beneath_to_insert_breakpoint_ops) | |
15251 | (record_full_beneath_to_remove_breakpoint_ops) | |
15252 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
15253 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
15254 | tmp_to_remove_breakpoint_ops, | |
15255 | record_full_beneath_to_insert_breakpoint_ops, and | |
15256 | record_full_beneath_to_remove_breakpoint_ops. | |
15257 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
15258 | (m32r_remove_breakpoint): Add target_ops parameter. | |
15259 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
15260 | Add target_ops parameter. | |
15261 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
15262 | Add target_ops parameter. | |
15263 | ||
cecac1ab MM |
15264 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
15265 | Markus Metzger <markus.t.metzger@intel.com> | |
15266 | ||
15267 | * record-btrace.c: Include frame-unwind.h. | |
15268 | (record_btrace_frame_unwind_stop_reason) | |
15269 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
15270 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
15271 | New. | |
15272 | (init_record_btrace_ops): Install it. | |
15273 | ||
824344ca MM |
15274 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
15275 | ||
15276 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
15277 | get_prev_frame_1. | |
15278 | ||
32261e52 MM |
15279 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
15280 | ||
15281 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
15282 | earlier. | |
15283 | ||
ea001bdc MM |
15284 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
15285 | ||
15286 | * frame-unwind.c: Include target.h. | |
15287 | (frame_unwind_try_unwinder): New function with code from ... | |
15288 | (frame_unwind_find_by_frame): ... here. New variable | |
15289 | unwinder_from_target, call also target_get_unwinder) | |
15290 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
15291 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
15292 | * target.h (struct target_ops): New fields to_get_unwinder and | |
15293 | to_get_tailcall_unwinder. | |
15294 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
15295 | ||
1f3ef581 MM |
15296 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15297 | ||
15298 | * record-btrace.c (record_btrace_fetch_registers) | |
15299 | (record_btrace_store_registers) | |
15300 | (record_btrace_to_prepare_to_store): New. | |
15301 | (init_record_btrace_ops): Add the above. | |
15302 | ||
f32dbf8c MM |
15303 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
15304 | ||
15305 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
15306 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
15307 | argument. | |
15308 | (target_prepare_to_store): Add argument. | |
15309 | * target.c (debug_to_prepare_to_store): Add argument. | |
15310 | (update_current_target): Update. | |
15311 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
15312 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
15313 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
15314 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
15315 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
15316 | argument. | |
15317 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
15318 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
15319 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
15320 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
15321 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
15322 | ||
07bbe694 MM |
15323 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15324 | ||
15325 | * btrace.h (replay) <replay>: New. | |
15326 | (btrace_is_replaying): New. | |
15327 | * btrace.c (btrace_clear): Free replay iterator. | |
15328 | (btrace_is_replaying): New. | |
15329 | * record-btrace.c (record_btrace_is_replaying): New. | |
15330 | (record_btrace_info): Print insn number if replaying. | |
15331 | (record_btrace_insn_history): Start at replay position. | |
15332 | (record_btrace_call_history): Start at replay position. | |
15333 | (init_record_btrace_ops): Init to_record_is_replaying. | |
15334 | ||
0688d04e MM |
15335 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15336 | ||
15337 | * record-btrace.c (record_btrace_insn_history_range): Include | |
15338 | end. | |
15339 | (record_btrace_insn_history_from): Adjust range. | |
15340 | (record_btrace_call_history_range): Include | |
15341 | end. | |
15342 | (record_btrace_call_history_from): Adjust range. | |
15343 | * NEWS: Announce changes. | |
15344 | ||
8710b709 MM |
15345 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15346 | ||
15347 | * record.h (enum record_print_flag) | |
15348 | <record_print_indent_calls>: New. | |
15349 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
15350 | (_initialize_record): Document /c modifier. | |
15351 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
15352 | Reorder fields. Optionally indent the function name. Update | |
15353 | all users. | |
15354 | * NEWS: Announce changes. | |
15355 | ||
d0fa7535 MM |
15356 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15357 | ||
15358 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
15359 | ||
5de9129b MM |
15360 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15361 | ||
15362 | * btrace.c (ftrace_new_function): Start counting at one. | |
15363 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
15364 | and insns. | |
15365 | * NEWS: Announce it. | |
15366 | ||
7acbe133 MM |
15367 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15368 | ||
15369 | * record-btrace.c (btrace_call_history_insn_range): Print | |
15370 | insn range as [begin, end]. | |
15371 | ||
23a7fe75 MM |
15372 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15373 | ||
15374 | * btrace.h (struct btrace_func_link): New. | |
15375 | (enum btrace_function_flag): New. | |
15376 | (struct btrace_inst): Rename to ... | |
15377 | (struct btrace_insn): ...this. Update all users. | |
15378 | (struct btrace_func) <ibegin, iend>: Remove. | |
15379 | (struct btrace_func_link): New. | |
15380 | (struct btrace_func): Rename to ... | |
15381 | (struct btrace_function): ...this. Update all users. | |
15382 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
15383 | (number, level, flags>: New. | |
15384 | (struct btrace_insn_iterator): Rename to ... | |
15385 | (struct btrace_insn_history): ...this. | |
15386 | Update all users. | |
15387 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
15388 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
15389 | (struct btrace_target_info) <begin, end, level> | |
15390 | <insn_history, call_history>: New. | |
15391 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
15392 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
15393 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
15394 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
15395 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
15396 | (btrace_find_function_by_number, btrace_set_insn_history) | |
15397 | (btrace_set_call_history): New. | |
15398 | * btrace.c (btrace_init_insn_iterator) | |
15399 | (btrace_init_func_iterator, compute_itrace): Remove. | |
15400 | (ftrace_print_function_name, ftrace_print_filename) | |
15401 | (ftrace_skip_file): Change | |
15402 | parameter to const. | |
15403 | (ftrace_init_func): Remove. | |
15404 | (ftrace_debug): Use new btrace_function fields. | |
15405 | (ftrace_function_switched): Also consider gaining and | |
15406 | losing symbol information). | |
15407 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
15408 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
15409 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
15410 | New. | |
15411 | (ftrace_new_function): Move. Remove debug print. | |
15412 | (ftrace_update_lines, ftrace_update_insns): New. | |
15413 | (ftrace_update_function): Check for call, ret, and jump. | |
15414 | (compute_ftrace): Renamed to ... | |
15415 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
15416 | stack. | |
15417 | (btrace_fetch, btrace_clear): Updated. | |
15418 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
15419 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
15420 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
15421 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
15422 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
15423 | (btrace_find_function_by_number, btrace_set_insn_history) | |
15424 | (btrace_set_call_history): New. | |
15425 | * record-btrace.c (require_btrace): Use new btrace thread | |
15426 | info fields. | |
15427 | (record_btrace_info, btrace_insn_history) | |
15428 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
15429 | Use new btrace thread info fields and new iterator. | |
15430 | (btrace_func_history_src_line): Rename to ... | |
15431 | (btrace_call_history_src_line): ...this. Use new btrace | |
15432 | thread info fields. | |
15433 | (btrace_func_history): Rename to ... | |
15434 | (btrace_call_history): ...this. Use new btrace thread info | |
15435 | fields and new iterator. | |
15436 | (record_btrace_call_history, record_btrace_call_history_range): | |
15437 | Use new btrace thread info fields and new iterator. | |
15438 | ||
8372a7cb MM |
15439 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15440 | ||
15441 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
15442 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
15443 | ||
c2170eef MM |
15444 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15445 | ||
15446 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
15447 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
15448 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
15449 | to gdbarch. | |
15450 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
15451 | (i386_insn_is_jump, i386_jmp_p): New. | |
15452 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
15453 | insn_is_jump to gdbarch. | |
15454 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
15455 | * gdbarch.h: Regenerated. | |
15456 | * gdbarch.c: Regenerated. | |
15457 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
15458 | (default_insn_is_jump): New. | |
15459 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
15460 | (default_insn_is_jump): New. | |
15461 | ||
864089d2 MM |
15462 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15463 | ||
15464 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
15465 | Change to ... | |
15466 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
15467 | (btrace_read_type) <btrace_read_new>: Change to ... | |
15468 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
15469 | ||
ed9edfb5 MM |
15470 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15471 | ||
15472 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
15473 | previous iteration. | |
15474 | ||
fbcbc3fd DE |
15475 | 2014-01-15 Doug Evans <dje@google.com> |
15476 | ||
15477 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
15478 | uint32_t. | |
15479 | ||
3d548a53 TT |
15480 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15481 | ||
15482 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
15483 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
15484 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
15485 | (set_objfile_main_name): New function. | |
15486 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
15487 | language_of_main>: New fields. | |
15488 | (set_objfile_main_name): Declare. | |
15489 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
15490 | name and language. | |
15491 | (set_main_name): Now static. | |
15492 | (get_main_info): Add comment. | |
15493 | * symtab.h (set_main_name): Don't declare. | |
15494 | ||
32ac0d11 TT |
15495 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15496 | ||
15497 | * symtab.c (main_progspace_key): New global. | |
15498 | (struct main_info): New. | |
15499 | (name_of_main, language_of_main): Remove. | |
15500 | (get_main_info, main_info_cleanup): New function. | |
15501 | (set_main_name, main_name, main_language): Use get_main_info. | |
15502 | (_initialize_symtab): Initialize main_progspace_key. | |
15503 | ||
9e6c82ad TT |
15504 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15505 | ||
15506 | * dbxread.c (process_one_symbol): Update. | |
15507 | * dwarf2read.c (read_partial_die): Update. | |
15508 | * symfile.c (set_initial_language): Call main_language. | |
15509 | * symtab.c (language_of_main): Now static. | |
15510 | (set_main_name): Add 'lang' parameter. | |
15511 | (find_main_name): Update. | |
15512 | (main_language): New function. | |
15513 | (symtab_observer_executable_changed): Update. | |
15514 | * symtab.h (set_main_name): Update. | |
15515 | (language_of_main): Remove. | |
15516 | (main_language): Declare. | |
15517 | ||
6ef55de7 TT |
15518 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15519 | ||
15520 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
15521 | Update. | |
15522 | * objfiles.h (struct entry_point) <initialized>: New field. | |
15523 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
15524 | (struct objfile) <ei>: ...here. Remove. | |
15525 | * objfiles.c (entry_point_address_query): Update. | |
15526 | ||
53eddfa6 TT |
15527 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15528 | ||
15529 | * objfiles.c (entry_point_address_query): Relocate entry point | |
15530 | address. | |
15531 | (objfile_relocate1): Do not relocate entry point address. | |
15532 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
15533 | <the_bfd_section_index>: New field. | |
15534 | * symfile.c (init_entry_point_info): Find the entry point's | |
15535 | section. | |
15536 | ||
d56e56aa TT |
15537 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15538 | ||
15539 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
15540 | ||
33a97bbe OJ |
15541 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15542 | ||
15543 | * NEWS: Add note on improved process record-replay on | |
15544 | arm*-linux* targets. | |
15545 | ||
c6ec2b30 OJ |
15546 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15547 | ||
15548 | * arm-tdep.c (enum arm_record_result): New enum. | |
15549 | (arm_record_unsupported_insn): New function. | |
15550 | (arm_record_coproc_data_proc): Removed. | |
15551 | (thumb2_record_ld_st_multiple): New function. | |
15552 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
15553 | (thumb2_record_data_proc_sreg_mimm): New function. | |
15554 | (thumb2_record_ps_dest_generic): New function. | |
15555 | (thumb2_record_branch_misc_cntrl): New function. | |
15556 | (thumb2_record_str_single_data): New function. | |
15557 | (thumb2_record_ld_mem_hints): New function. | |
15558 | (thumb2_record_ld_word): New function. | |
15559 | (thumb2_record_lmul_lmla_div): New function. | |
15560 | (thumb2_record_decode_insn_handler): New function. | |
15561 | (decode_insn): Add thumb32 instruction handlers. | |
15562 | ||
97dfe206 OJ |
15563 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15564 | ||
15565 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
15566 | (struct arm_linux_record_tdep): Declare. | |
15567 | (arm_canonicalize_syscall): New function. | |
15568 | (arm_all_but_pc_registers_record): New function. | |
15569 | (arm_linux_syscall_record): New function. | |
15570 | (arm_linux_init_abi): Add syscall recording constructs. | |
15571 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
15572 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
15573 | decoding. | |
15574 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
15575 | <arm_syscall_record>: New field. | |
15576 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
15577 | gdb_target_obs. | |
15578 | ||
9904a494 OJ |
15579 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15580 | ||
15581 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
15582 | register for push instruction recording. | |
15583 | ||
f969241e OJ |
15584 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15585 | ||
15586 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
15587 | error while recording ldm, ldmia and pop instructions. | |
15588 | ||
bfbbec00 OJ |
15589 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15590 | ||
15591 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
15592 | ||
e40adcc9 PA |
15593 | 2014-01-15 Pedro Alves <palves@redhat.com> |
15594 | ||
15595 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
15596 | (go32_resume, go32_fetch_registers, store_register) | |
15597 | (go32_store_registers, go32_prepare_to_store) | |
15598 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
15599 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
15600 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
15601 | declarations. | |
15602 | ||
b0a16e66 TT |
15603 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15604 | ||
15605 | * target.h (async_callback_ftype): New typedef. | |
15606 | (struct target_ops) <to_async>: Use it. | |
15607 | ||
bf7105a4 JB |
15608 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
15609 | ||
15610 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
15611 | braces for single-statement if block. | |
15612 | ||
a8f35c2e JB |
15613 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
15614 | ||
15615 | * python/py-type.c (convert_field): Add missing empty line | |
15616 | after declarations. | |
15617 | ||
bb4142cf DE |
15618 | 2014-01-14 Doug Evans <dje@google.com> |
15619 | ||
15620 | * symfile.h (expand_symtabs_matching): Renamed from | |
15621 | expand_partial_symbol_names. Update prototype. | |
15622 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
15623 | * symfile.c (expand_symtabs_matching): Renamed from | |
15624 | expand_partial_symbol_names. New args file_matcher, kind. | |
15625 | Rename arg fun to symbol_matcher. | |
15626 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
15627 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
15628 | ada_expand_partial_symbol_name. | |
15629 | (ada_make_symbol_completion_list): Update to call | |
15630 | expand_symtabs_matching. | |
15631 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
15632 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
15633 | call map_symbol_filenames. | |
15634 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
15635 | (search_symbols): Call expand_symtabs_matching. | |
15636 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
15637 | (default_make_symbol_completion_list_break_on): Update to call | |
15638 | expand_symtabs_matching. | |
15639 | (make_source_files_completion_list): Update to call | |
15640 | map_symbol_filenames. | |
15641 | ||
206f2a57 DE |
15642 | 2014-01-14 Doug Evans <dje@google.com> |
15643 | ||
15644 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
15645 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
15646 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
15647 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
15648 | * symfile.c (expand_partial_symbol_names): Update to use | |
15649 | expand_symtabs_symbol_matcher_ftype. | |
15650 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
15651 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
15652 | Arg name_matcher renamed to symbol_matcher. | |
15653 | * psymtab.c (recursively_search_psymtabs): Update to use | |
15654 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
15655 | sym_matcher. | |
15656 | (expand_symtabs_matching_via_partial): Update to use | |
15657 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
15658 | Arg name_matcher renamed to symbol_matcher. | |
15659 | ||
540c2971 DE |
15660 | 2014-01-14 Doug Evans <dje@google.com> |
15661 | ||
15662 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
15663 | (map_partial_symbol_filenames): Ditto. | |
15664 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
15665 | (map_partial_symbol_filenames): Ditto. | |
15666 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
15667 | (map_partial_symbol_filenames): Ditto. | |
15668 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
15669 | (map_partial_symbol_filenames): Ditto. | |
15670 | * symtab.c: Delete #include "psymtab.h". | |
15671 | ||
8213266a PA |
15672 | 2014-01-14 Pedro Alves <palves@redhat.com> |
15673 | Tom Tromey <tromey@redhat.com> | |
15674 | ||
15675 | * infrun.c (use_displaced_stepping): Use find_record_target | |
15676 | instead of RECORD_IS_USED. | |
15677 | (adjust_pc_after_break): Use record_full_is_used instead of | |
15678 | RECORD_IS_USED. | |
15679 | * record-btrace.c (record_btrace_open): Call record_preopen | |
15680 | instead of checking RECORD_IS_USED. | |
15681 | * record-full.c (record_full_shortname) | |
15682 | (record_full_core_shortname): New globals. | |
15683 | (record_full_is_used): New function. | |
15684 | (find_full_open): Call record_preopen instead of checking | |
15685 | RECORD_IS_USED. | |
15686 | (init_record_full_ops): Set the target's shortname to | |
15687 | record_full_shortname. | |
15688 | (init_record_full_core_ops): Set the target's shortname to | |
15689 | record_full_core_shortname. | |
15690 | * record-full.h (record_full_is_used): Declare. | |
15691 | * record.c (find_record_target): Make extern. | |
15692 | (record_preopen): New function. | |
15693 | * record.h (RECORD_IS_USED): Delete macro. | |
15694 | (find_record_target, record_preopen): Declare functions. | |
15695 | ||
7ec1862d YQ |
15696 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
15697 | ||
15698 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
15699 | 'len''s type to ULONGEST. | |
15700 | (core_xfer_shared_libraries_aix): Likewise. | |
15701 | * gdbarch.c, gdbarch.h: Regenerated. | |
15702 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
15703 | Change type of 'len' to ULONGEST. | |
15704 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
15705 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
15706 | ||
dea80a27 YQ |
15707 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
15708 | ||
15709 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
15710 | type of 'len' to ULONGEST. | |
15711 | (linux_xfer_osdata_processgroups): Likewise. | |
15712 | (linux_xfer_osdata_threads): Likewise. | |
15713 | (linux_xfer_osdata_fds): Likewise. | |
15714 | (linux_xfer_osdata_isockets): Likewise. | |
15715 | (linux_xfer_osdata_shm): Likewise. | |
15716 | (linux_xfer_osdata_sem): Likewise. | |
15717 | (linux_xfer_osdata_msg): Likewise. | |
15718 | (linux_common_xfer_osdata): Likewise. | |
15719 | (struct osdata_type) <getter>: Likewise. | |
15720 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
15721 | the declaration. | |
15722 | ||
b55e14c7 YQ |
15723 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
15724 | ||
15725 | * target.h (target_xfer_partial_ftype): Update. | |
15726 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
15727 | ULONGEST. | |
15728 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
15729 | argument 'len' to ULONGEST. | |
15730 | * auxv.c (procfs_xfer_auxv): Likewise. | |
15731 | (ld_so_xfer_auxv): Likewise. | |
15732 | (memory_xfer_auxv): Likewise. | |
15733 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
15734 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
15735 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
15736 | * corelow.c (core_xfer_partial): Likewise. | |
15737 | * ctf.c (ctf_xfer_partial): Likewise. | |
15738 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
15739 | '%u'. | |
15740 | (darwin_read_dyld_info): Likewise. | |
15741 | (darwin_xfer_partial): Likewise. | |
15742 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
15743 | (exec_xfer_partial): Likewise. | |
15744 | * exec.h (section_table_xfer_memory_partial): Update | |
15745 | declaration. | |
15746 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
15747 | instead of plongest. | |
15748 | (gnu_xfer_partial): Likewise. | |
15749 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
15750 | (ia64_hpux_xfer_solib_got): Likewise. | |
15751 | (ia64_hpux_xfer_partial): Likewise. | |
15752 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
15753 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
15754 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
15755 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
15756 | (linux_nat_xfer_partial): Likewise. | |
15757 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
15758 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
15759 | * monitor.c (monitor_xfer_memory): Likewise. | |
15760 | (monitor_xfer_partial): Likewise. | |
15761 | * procfs.c (procfs_xfer_partial): Likewise. | |
15762 | * record-full.c (record_full_xfer_partial): Likewise. | |
15763 | (record_full_core_xfer_partial): Likewise. | |
15764 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
15765 | instead of plongest. | |
15766 | (gdbsim_xfer_partial): Likewise. | |
15767 | * remote.c (remote_xfer_partial): Likewise. | |
15768 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
15769 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
15770 | declaration. | |
15771 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
15772 | (rs6000_xfer_shared_libraries): Likewise. | |
15773 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
15774 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
15775 | (sparc_xfer_partial): Likewise. | |
15776 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
15777 | (spu_xfer_partial): Likewise. | |
15778 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
15779 | * target.c (target_read_live_memory): Likewise. | |
15780 | (memory_xfer_live_readonly_partial): Likewise. | |
15781 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
15782 | (target_xfer_partial, default_xfer_partial): Likewise. | |
15783 | (current_xfer_partial): Likewise. | |
15784 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
15785 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
15786 | pulongest instead of plongest. | |
15787 | (windows_xfer_partial): Likewise. | |
15788 | (windows_xfer_shared_libraries): Likewise. | |
15789 | ||
05804640 YQ |
15790 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
15791 | ||
15792 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
15793 | target_xfer_partial_ftype. | |
15794 | ||
b5b08fb4 SC |
15795 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> |
15796 | ||
15797 | PR python/15464 | |
15798 | PR python/16113 | |
15799 | * valops.c (value_struct_elt_bitpos): New function | |
15800 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
15801 | object to 'None' if the field name is an empty string (""). | |
15802 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
15803 | attribute to look for a field when 'name' is 'None'. | |
15804 | (get_field_type): New function | |
15805 | ||
13aaf454 DE |
15806 | 2014-01-13 Doug Evans <dje@google.com> |
15807 | ||
15808 | PR symtab/16426 | |
15809 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
15810 | (try_open_dwop_file): Ditto. | |
15811 | * gdb_bfd.c: #include "vec.h". | |
15812 | (bfdp): New typedef. | |
15813 | (struct gdb_bfd_data): New member included_bfds. | |
15814 | (gdb_bfd_unref): Unref all included bfds. | |
15815 | (gdb_bfd_record_inclusion): New function. | |
15816 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
15817 | ||
c2cec97c TT |
15818 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15819 | ||
15820 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
15821 | ||
78e5999d TT |
15822 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15823 | ||
15824 | * defs.h (use_windows): Remove. | |
15825 | * gdb.c (main): Update. | |
15826 | * main.c (captured_main, gdb_main): Update. | |
15827 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
15828 | * top.c (use_windows): Remove. | |
15829 | ||
f2052bbe TT |
15830 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15831 | ||
15832 | * defs.h (deprecated_flush_hook): Remove. | |
15833 | ||
fde4f8ed JK |
15834 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
15835 | ||
15836 | PR threads/16216 | |
15837 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
15838 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
15839 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
15840 | (try_thread_db_load_from_sdir): Update caller. | |
15841 | (try_thread_db_load_from_dir): Move it there from here. | |
15842 | ||
bdf61915 PP |
15843 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> |
15844 | ||
15845 | * regformats/regdat.sh: Always rewrite the register file. | |
15846 | ||
f71e1a8d PA |
15847 | 2014-01-13 Pedro Alves <palves@redhat.com> |
15848 | ||
15849 | * Makefile.in (CHECK_HEADERS): New variable. | |
15850 | (check-headers:): New rule. | |
15851 | ||
42c85435 TT |
15852 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15853 | ||
15854 | * cli/cli-setshow.c (do_set_command): Update. | |
15855 | * defs.h (deprecated_set_hook): Remove. | |
15856 | * top.c (deprecated_set_hook): Remove. | |
15857 | ||
f8de5129 PA |
15858 | 2014-01-13 Pedro Alves <palves@redhat.com> |
15859 | ||
15860 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
15861 | the tracepoint if the PC is a pseudo-register. | |
15862 | ||
fc270c35 TT |
15863 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15864 | ||
15865 | * defs.h (XCALLOC): Remove. | |
15866 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
15867 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
15868 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
15869 | * elfread.c (elf_symfile_segments): Likewise. | |
15870 | (elf_symfile_segments): Likewise. | |
15871 | * gdbtypes.c (copy_type_recursive): Likewise. | |
15872 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
15873 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
15874 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
15875 | XCALLOC. | |
15876 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
15877 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
15878 | XCALLOC. | |
15879 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
15880 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
15881 | * registry.c (registry_alloc_data): Likewise. | |
15882 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
15883 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
15884 | * serial.c (serial_fdopen_ops): Likewise. | |
15885 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
15886 | XCALLOC. | |
15887 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
15888 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
15889 | not XCALLOC. | |
15890 | ||
70ba0933 TT |
15891 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15892 | ||
15893 | * defs.h (XMALLOC): Remove. | |
15894 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
15895 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
15896 | * cli-out.c (struct ui_out *): Likewise. | |
15897 | * cli/cli-dump.c (add_dump_command): Likewise. | |
15898 | (add_dump_command): Likewise. | |
15899 | * complaints.c (get_complaints): Likewise. | |
15900 | (find_complaint): Likewise. | |
15901 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
15902 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
15903 | * gdbarch.sh: Likewise. | |
15904 | * gdbarch.c: Rebuild. | |
15905 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
15906 | * interps.c (interp_new): Likewise. | |
15907 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
15908 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
15909 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
15910 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
15911 | * mi/mi-out.c (mi_out_new): Likewise. | |
15912 | * mi/mi-parse.c (mi_parse): Likewise. | |
15913 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
15914 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
15915 | * observer.c (xalloc_observer_list_node): Likewise. | |
15916 | * regcache.c (regcache_xmalloc_1): Likewise. | |
15917 | * reggroups.c (reggroup_new): Likewise. | |
15918 | (_initialize_reggroup): Likewise. | |
15919 | * registry.c (register_data_with_cleanup): Likewise. | |
15920 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
15921 | * ser-base.c (serial_ttystate): Likewise. | |
15922 | * ser-mingw.c (make_pipe_state): Likewise. | |
15923 | * ser-pipe.c (pipe_open): Likewise. | |
15924 | * serial.c (serial_open): Likewise. | |
15925 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
15926 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
15927 | (tui_alloc_win_info): Likewise. | |
15928 | (tui_add_content_elements): Likewise. | |
15929 | * tui/tui-file.c (tui_file_new): Likewise. | |
15930 | * tui/tui-out.c (tui_out_new): Likewise. | |
15931 | * ui-file.c (mem_file_new): Likewise. | |
15932 | * ui-out.c (push_level): Likewise. | |
15933 | (make_cleanup_ui_out_end): Likewise. | |
15934 | (append_header_to_list): Likewise. | |
15935 | (ui_out_new): Likewise. | |
15936 | * user-regs.c (user_reg_add_builtin): Likewise. | |
15937 | ||
41bf6aca TT |
15938 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15939 | ||
15940 | * defs.h (XZALLOC): Remove. | |
15941 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
15942 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
15943 | (get_ada_tasks_inferior_data): Likewise. | |
15944 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
15945 | * auxv.c (get_auxv_inferior_data): Likewise. | |
15946 | * bfd-target.c (target_bfd_reopen): Likewise. | |
15947 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
15948 | (deprecated_insert_raw_breakpoint): Likewise. | |
15949 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
15950 | * corelow.c (core_open): Likewise. | |
15951 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
15952 | (darwin_attach_pid): Likewise. | |
15953 | * dummy-frame.c (dummy_frame_push): Likewise. | |
15954 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
15955 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
15956 | * elfread.c (elf_symfile_segments): Likewise. | |
15957 | * eval.c (ptrmath_type_p): Likewise. | |
15958 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
15959 | * gdbtypes.c (alloc_type_arch): Likewise. | |
15960 | (alloc_type_instance): Likewise. | |
15961 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
15962 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
15963 | * inflow.c (get_inflow_inferior_data): Likewise. | |
15964 | * infrun.c (save_infcall_suspend_state): Likewise. | |
15965 | * jit.c (jit_reader_load): Likewise. | |
15966 | (get_jit_objfile_data): Likewise. | |
15967 | (get_jit_program_space_data): Likewise. | |
15968 | (jit_object_open_impl): Likewise. | |
15969 | (jit_symtab_open_impl): Likewise. | |
15970 | (jit_block_open_impl): Likewise. | |
15971 | (jit_frame_sniffer): Likewise. | |
15972 | * linux-fork.c (add_fork): Likewise. | |
15973 | * maint.c (make_command_stats_cleanup): Likewise. | |
15974 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
15975 | * opencl-lang.c (struct lval_closure): Likewise. | |
15976 | * osdata.c (osdata_start_osdata): Likewise. | |
15977 | * progspace.c (new_address_space): Likewise. | |
15978 | (add_program_space): Likewise. | |
15979 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
15980 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
15981 | * skip.c (Ignore): Likewise. | |
15982 | (skip_delete_command): Likewise. | |
15983 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
15984 | (library_list_start_library): Likewise. | |
15985 | (solib_aix_current_sos): Likewise. | |
15986 | * solib-darwin.c (get_darwin_info): Likewise. | |
15987 | (darwin_current_sos): Likewise. | |
15988 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
15989 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
15990 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
15991 | * solib-spu.c (append_ocl_sos): Likewise. | |
15992 | (spu_current_sos): Likewise. | |
15993 | * solib-svr4.c (get_svr4_info): Likewise. | |
15994 | (svr4_keep_data_in_core): Likewise. | |
15995 | (library_list_start_library): Likewise. | |
15996 | (svr4_default_sos): Likewise. | |
15997 | (svr4_read_so_list): Likewise. | |
15998 | * solib-target.c (library_list_start_library): Likewise. | |
15999 | (solib_target_current_sos): Likewise. | |
16000 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
16001 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
16002 | * symfile.c (default_symfile_segments): Likewise. | |
16003 | * target-descriptions.c (tdesc_data_init): Likewise. | |
16004 | (tdesc_create_reg): Likewise. | |
16005 | (struct tdesc_type *): Likewise. | |
16006 | (tdesc_create_vector): Likewise. | |
16007 | (tdesc_set_struct_size): Likewise. | |
16008 | (struct tdesc_type *): Likewise. | |
16009 | (tdesc_free_feature): Likewise. | |
16010 | (tdesc_create_feature): Likewise. | |
16011 | * windows-nat.c (windows_add_thread): Likewise. | |
16012 | (windows_make_so): Likewise. | |
16013 | * xml-support.c (gdb_xml_body_text): Likewise. | |
16014 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
16015 | (xml_process_xincludes): Likewise. | |
16016 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
16017 | (syscall_create_syscall_desc): Likewise. | |
16018 | ||
5acfdbae SDJ |
16019 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> |
16020 | ||
16021 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
16022 | function, with code from i386_stap_parse_special_token. | |
16023 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
16024 | (i386_stap_parse_special_token): Move code to the two functions | |
16025 | above; simplify it. | |
16026 | ||
0000e5cc PA |
16027 | 2014-01-09 Pedro Alves <palves@redhat.com> |
16028 | Hui Zhu <hui@codesourcery.com> | |
16029 | ||
16030 | PR gdb/16101 | |
16031 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
16032 | bp_err_string. Don't mark the location shlib_disabled if the | |
16033 | error thrown wasn't a generic or memory error. Catch errors | |
16034 | thrown while inserting breakpoints in overlayed code. Output | |
16035 | error message of software breakpoints. | |
16036 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
16037 | target-side commands but this stub doesn't support Z0 packets, | |
16038 | throw NOT_SUPPORTED_ERROR error. | |
16039 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
16040 | * target.h (target_insert_breakpoint): Extend comment. | |
16041 | (target_insert_hw_breakpoint): Add comment. | |
16042 | ||
b7ea362b PA |
16043 | 2014-01-08 Pedro Alves <palves@redhat.com> |
16044 | ||
16045 | * remote.c (remote_add_thread): Add threads silently if starting | |
16046 | up. | |
16047 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
16048 | don't call notice_new_inferior. | |
16049 | (get_current_thread): New function, factored out from ... | |
16050 | (add_current_inferior_and_thread): ... this. Adjust. | |
16051 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
16052 | found any thread, then select the remote's current thread as GDB's | |
16053 | current thread too. | |
16054 | ||
b7bba001 JB |
16055 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
16056 | ||
16057 | * NEWS: Create a new section for the next release branch. | |
16058 | Rename the section of the current branch, now that it has | |
16059 | been cut. | |
16060 | ||
16dfbded JB |
16061 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
16062 | ||
16063 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
16064 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
16065 | ||
22c90ac1 YQ |
16066 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
16067 | ||
16068 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
16069 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
16070 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
16071 | ||
d64ad97c YQ |
16072 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
16073 | ||
16074 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
16075 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
16076 | ||
f93ba80c PM |
16077 | 2014-01-08 Pierre Muller <muller@sourceware.org> |
16078 | ||
16079 | Fix PR16201. | |
16080 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
16081 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
16082 | to prim_record_mininal_symbol_and_info. | |
16083 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
16084 | in call to prim_record_minimal_symbol_and_info. | |
16085 | (read_pe_exported_syms): Set index field of section_data. | |
16086 | ||
a4d9ba85 AP |
16087 | 2014-01-07 Andrew Pinski <apinski@cavium.com> |
16088 | ||
16089 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
16090 | * features/aarch64.c: Regenerate. | |
16091 | ||
1b67eb02 AS |
16092 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> |
16093 | ||
16094 | * target.c (return_null): Define. | |
16095 | (update_current_target): Use it instead of return_zero for | |
16096 | functions that return a pointer. | |
16097 | ||
5e3f4fab EBM |
16098 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
16099 | ||
16100 | * source.c (add_path): Fix check for duplicated paths in the previously | |
16101 | included paths. | |
16102 | ||
e2616788 HK |
16103 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> |
16104 | ||
16105 | * ada-lang.c: Remove duplicated include statements. | |
16106 | * alphabsd-nat.c: Ditto. | |
16107 | * amd64-darwin-tdep.c: Ditto. | |
16108 | * amd64fbsd-nat.c: Ditto. | |
16109 | * auto-load.c: Ditto. | |
16110 | * ax-gdb.c: Ditto. | |
16111 | * breakpoint.c: Ditto. | |
16112 | * dbxread.c: Ditto. | |
16113 | * fork-child.c: Ditto. | |
16114 | * gdb_usleep.c: Ditto. | |
16115 | * i386-darwin-tdep.c: Ditto. | |
16116 | * i386fbsd-nat.c: Ditto. | |
16117 | * infcmd.c: Ditto. | |
16118 | * inferior.c: Ditto. | |
16119 | * jv-lang.c: Ditto. | |
16120 | * linux-nat.c: Ditto. | |
16121 | * linux-tdep.c: Ditto. | |
16122 | * m68kbsd-nat.c: Ditto. | |
16123 | * m68klinux-nat.c: Ditto. | |
16124 | * microblaze-tdep.c: Ditto. | |
16125 | * mips-linux-tdep.c: Ditto. | |
16126 | * mn10300-tdep.c: Ditto. | |
16127 | * nto-tdep.c: Ditto. | |
16128 | * opencl-lang.c: Ditto. | |
16129 | * osdata.c: Ditto. | |
16130 | * printcmd.c: Ditto. | |
16131 | * regcache.c: Ditto. | |
16132 | * remote-m32r-sdi.c: Ditto. | |
16133 | * remote.c: Ditto. | |
16134 | * symfile.c: Ditto. | |
16135 | * symtab.c: Ditto. | |
16136 | * tilegx-linux-nat.c: Ditto. | |
16137 | * tilegx-tdep.c: Ditto. | |
16138 | * tracepoint.c: Ditto. | |
16139 | * valops.c: Ditto. | |
16140 | * vaxbsd-nat.c: Ditto. | |
16141 | * windows-nat.c: Ditto. | |
16142 | * xtensa-tdep.c: Ditto. | |
16143 | ||
bd1f7788 YQ |
16144 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16145 | ||
16146 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
16147 | ||
79301218 JB |
16148 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16149 | Joel Brobecker <brobecker@adacore.com> | |
16150 | ||
16151 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
16152 | (pdc_write_regs): Likewise. | |
16153 | (fetch_regs_kernel_thread): Likewise. | |
16154 | (store_regs_kernel_thread): Likewise. | |
16155 | ||
16156 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16157 | ||
16158 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
16159 | tagged type objects to their actual type. | |
16160 | ||
8e355c5d JB |
16161 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16162 | ||
16163 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
16164 | Update calls to print_field_values and print_variant_part. | |
16165 | Pass new parameter "language" in call to val_print instead | |
16166 | of "current_language". Replace call to ada_val_print by call | |
16167 | to val_print. | |
16168 | (print_variant_part): Add "language" parameter. | |
16169 | (ada_val_print_struct_union): Update call to print_field_values. | |
16170 | ||
4fbf5aa5 JB |
16171 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16172 | ||
16173 | * ada-valprint.c (ui_memcpy): Delete. | |
16174 | (ada_print_floating): Update documentation. Add empty line | |
16175 | between between function documentation and implementation. | |
16176 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
16177 | ui_file_put. Minor adjustments following this change. | |
16178 | ||
71855601 JB |
16179 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16180 | ||
16181 | * ada-valprint.c (ada_val_print_string): New function, | |
16182 | extracted from ada_val_print_array. | |
16183 | (ada_val_print_array): Replace extracted code by call | |
16184 | to ada_val_print_string followed by a return. Move | |
16185 | "else" branch to the function's top block. | |
16186 | ||
4eb27a30 JB |
16187 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16188 | ||
16189 | * ada-valprint.c (ada_val_print_array): Move implementation | |
16190 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
16191 | and "original_value" respectively. Add parameter "offset". | |
16192 | ||
34b27950 JB |
16193 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16194 | ||
16195 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
16196 | re-organizing the code. Change the "???" message printed | |
16197 | when target type is a TYPE_CODE_UNDEF into | |
16198 | "<ref to undefined type>". | |
16199 | ||
079e4591 JB |
16200 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16201 | ||
16202 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
16203 | (ada_val_print_struct_union): ... here. Remove call to | |
16204 | ada_check_typedef in inlined implementation. | |
16205 | ||
8004dfd1 JB |
16206 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16207 | ||
16208 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
16209 | extracted from ada_val_print_1; | |
16210 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
16211 | (ada_val_print_flt, ada_val_print_struct_union) | |
16212 | (ada_val_print_ref): Likewise. | |
16213 | (ada_val_print_1): Delete variables i and elttype. | |
16214 | Replace extracted-out code by call to corresponding | |
16215 | new functions. | |
16216 | ||
760a2db0 JB |
16217 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16218 | ||
16219 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
16220 | ||
3a92c861 JB |
16221 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16222 | ||
16223 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
16224 | ada_val_print_1 by calls to val_print. | |
16225 | ||
cd1630f9 JB |
16226 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16227 | ||
16228 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
16229 | Update calls to self accordingly. Replace calls to c_val_print | |
16230 | by calls to val_print. | |
16231 | ||
bdf779a0 JB |
16232 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16233 | ||
16234 | * ada-valprint.c (print_record): Delete declaration. | |
16235 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
16236 | (ada_val_print): Move function implementation down. | |
16237 | (print_variant_part, print_field_values, print_record): | |
16238 | Move function implementation up. | |
16239 | ||
c0d48811 JB |
16240 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16241 | ||
16242 | * python/py-type.c (typy_get_name): New function. | |
16243 | (type_object_getset): Add entry for attribute "name". | |
16244 | * NEWS: Add entry mentioning this new attribute. | |
16245 | ||
c26e9cbb YQ |
16246 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16247 | ||
16248 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
16249 | statement. | |
16250 | ||
0cc6f43d YQ |
16251 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16252 | ||
16253 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
16254 | argument args. | |
16255 | ||
eec03155 YQ |
16256 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16257 | ||
16258 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
16259 | ||
f04a82ef YQ |
16260 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16261 | ||
16262 | * gnu-nat.c (make_inf) Update declaration. | |
16263 | (make_inf): Make it static. | |
16264 | (inf_set_traced): Likewise. | |
16265 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
16266 | ||
d57dda0a YQ |
16267 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16268 | ||
16269 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
16270 | ||
3aa8c969 YQ |
16271 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16272 | ||
16273 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
16274 | ||
94123b4f YQ |
16275 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16276 | ||
16277 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
16278 | 'enum bfd_endian'. | |
16279 | (struct gdbarch_info) <byte_order>: Change type to | |
16280 | 'enum bfd_endian'. | |
16281 | <byte_order_for_code>: Likewise. | |
16282 | * gdbarch.c, gdbarch.h: Regenerated. | |
16283 | ||
dc81d70a TT |
16284 | 2014-01-06 Sasha Smundak <asmundak@google.com> |
16285 | ||
16286 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
16287 | ||
cc2f3c35 TT |
16288 | 2014-01-06 Tom Tromey <tromey@redhat.com> |
16289 | ||
16290 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
16291 | CONST. | |
16292 | * somread.c (som_symtab_read): Likewise. | |
16293 | ||
adcf2eed HZ |
16294 | 2014-01-07 Hui Zhu <hui@codesourcery.com> |
16295 | ||
16296 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
16297 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
16298 | (gdb_bfd_fopen): Ditto. | |
16299 | (gdb_bfd_openr): Ditto. | |
16300 | (gdb_bfd_openw): Ditto. | |
16301 | (gdb_bfd_openr_iovec): Ditto. | |
16302 | (gdb_bfd_fdopenr): Ditto. | |
16303 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
16304 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
16305 | with xstrdup. | |
16306 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
16307 | with xstrdup. | |
16308 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
16309 | gdb_bfd_stash_filename. | |
16310 | ||
50722198 DE |
16311 | 2014-01-03 Doug Evans <dje@google.com> |
16312 | ||
16313 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
16314 | output. | |
16315 | ||
2fa4b862 JB |
16316 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
16317 | ||
16318 | Update year range in copyright notice of all files. | |
16319 | ||
28498c42 JB |
16320 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
16321 | ||
16322 | * top.c (print_gdb_version): Set copyright year to 2014. | |
16323 | ||
7b6e1046 JB |
16324 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
16325 | ||
16326 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
16327 | ||
df96af55 | 16328 | For older changes see ChangeLog-2013. |
c906108c SS |
16329 | \f |
16330 | Local Variables: | |
16331 | mode: change-log | |
16332 | left-margin: 8 | |
16333 | fill-column: 74 | |
16334 | version-control: never | |
57da7796 | 16335 | coding: utf-8 |
c906108c | 16336 | End: |