]>
Commit | Line | Data |
---|---|---|
1afeeb75 AS |
1 | 2011-12-09 Andrey Smirnov <[email protected]> |
2 | ||
3 | * breakpoint.c (bp_loc_is_permanent): Rename `brk' to | |
4 | `bpoint'(-Wshadow). | |
5 | ||
80e1d417 AS |
6 | 2011-12-09 Andrey Smirnov <[email protected]> |
7 | ||
8 | * breakpoint.c (update_static_tracepoint): Rename nested `sal' and | |
9 | `marker' variables to `sal2' and `tpmarker' respectively | |
10 | (-Wshadow). | |
11 | ||
04ca3c22 AP |
12 | 2011-12-09 Andrew Pinski <[email protected]> |
13 | ||
14 | * linespec.c (hash_address_entry): Use iterative_hash_object on each | |
15 | field rather than the struct itself. | |
16 | ||
8a2c437b TT |
17 | 2011-12-09 Tom Tromey <[email protected]> |
18 | ||
19 | * breakpoint.c (compare_breakpoints): New function. | |
20 | (clear_command): Remove duplicate breakpoints. Properly clean | |
21 | up. | |
22 | ||
280711e7 MR |
23 | 2011-12-08 Maciej W. Rozycki <[email protected]> |
24 | Maciej W. Rozycki <[email protected]> | |
25 | ||
26 | * mips-tdep.c (mips_skip_mips16_trampoline_code): Sign-extend | |
27 | address chunks retrieved from decoded lui/addiu pairs. | |
28 | ||
4c2051c6 MR |
29 | 2011-12-08 Maciej W. Rozycki <[email protected]> |
30 | ||
31 | * mips-tdep.c (extended_offset): Correct calculation. | |
32 | (unpack_mips16): Correct bitfield positions used for extraction | |
33 | of the immediate argument; fix sign-extension of same. | |
34 | (extended_mips16_next_pc): Correct B instruction's offset | |
35 | calculation. Correct register decoding of the BEQZ and BNEZ | |
36 | as well as jump-register instructions. Handle compact jumps. | |
37 | ||
ff011ed7 TT |
38 | 2011-12-08 Tom Tromey <[email protected]> |
39 | ||
40 | * objfiles.h (struct objfile): Remove obsolete comment. | |
41 | * objfiles.c (build_objfile_section_table): Remove obsolete | |
42 | comment. | |
43 | ||
7cd3876c SS |
44 | 2011-12-07 Stan Shebs <[email protected]> |
45 | ||
46 | * MAINTAINERS (Responsible Maintainers): Add Yao Qi as | |
47 | maintainer of the tic6x target. | |
48 | ||
35f73cfc UW |
49 | 2011-12-07 Ulrich Weigand <[email protected]> |
50 | ||
51 | * arm-tdep.h (arm_deal_with_atomic_sequence): Add prototype. | |
52 | * arm-tdep.c (thumb_deal_with_atomic_sequence_raw): New function. | |
53 | (arm_deal_with_atomic_sequence_raw): Likewise. | |
54 | (arm_deal_with_atomic_sequence): Likewise. | |
55 | (arm_software_single_step): Call it. | |
56 | * arm-linux-tdep.c (arm_linux_software_single_step): Likewise. | |
57 | ||
94eae614 UW |
58 | 2011-12-07 Ulrich Weigand <[email protected]> |
59 | ||
60 | * s390-tdep.c: Replace "Linux" by "GNU/Linux" in comments | |
61 | where appropriate. | |
62 | * s390-tdep.h: Likewise. | |
63 | ||
13b8d0c6 TG |
64 | 2011-12-07 Tristan Gingold <[email protected]> |
65 | ||
66 | * machoread.c (macho_symtab_read): Do not consider N_OPT as | |
67 | a debugging stab. Improve complaint message. | |
68 | ||
5436df95 MR |
69 | 2011-12-07 Maciej W. Rozycki <[email protected]> |
70 | ||
71 | * mips-tdep.c (mips32_scan_prologue): Only update the immediate | |
72 | load adjustment if still within the prologue. | |
73 | ||
040dff2a MR |
74 | 2011-12-06 Maciej W. Rozycki <[email protected]> |
75 | ||
76 | * mips-tdep.c (mips32_next_pc): Fix floating point condition | |
77 | code mask. | |
78 | ||
754d7c78 MR |
79 | 2011-12-06 Maciej W. Rozycki <[email protected]> |
80 | ||
81 | * mips-tdep.c (deal_with_atomic_sequence): Fix the handling | |
82 | of BLTZ* and BGEZ* instructions. | |
83 | ||
91912e4d MR |
84 | 2011-12-06 Maciej W. Rozycki <[email protected]> |
85 | ||
86 | * mips-tdep.c (mips_pc_is_mips16): Reverse the order of checks | |
87 | performed to determine whether an address refers to standard | |
88 | MIPS or MIPS16 code. | |
89 | (mips16_next_pc): Use mips_pc_is_mips16 instead of | |
90 | is_mips16_addr. | |
91 | ||
f0ba3972 PA |
92 | 2011-12-06 Pedro Alves <[email protected]> |
93 | ||
94 | * breakpoint.c (breakpoint_restore_shadows): Rename to ... | |
95 | (breakpoint_xfer_memory): ... this. Change prototype. Handle | |
96 | memory writes too. | |
97 | * breakpoint.h (breakpoint_restore_shadows): Delete. | |
98 | (breakpoint_xfer_memory): Declare. | |
99 | * mem-break.c (default_memory_insert_breakpoint) | |
100 | (default_memory_remove_breakpoint): Use target_write_raw_memory. | |
101 | (memory_xfer_partial): Rename to ... | |
102 | (memory_xfer_partial_1): ... this. Don't mask out breakpoints | |
103 | here. | |
104 | (memory_xfer_partial): New. | |
105 | (target_write_raw_memory): New. | |
106 | * target.h (target_write_raw_memory): New. | |
107 | ||
31aba06f DE |
108 | 2011-12-06 Doug Evans <[email protected]> |
109 | ||
110 | * linespec.c (decode_dollar): Avoid "may be used uninitialized" warning. | |
111 | ||
f8eba3c6 TT |
112 | 2011-12-06 Joel Brobecker <[email protected]> |
113 | ||
114 | * language.h (struct language_defn): Add new component | |
115 | la_symbol_name_compare. | |
116 | * symfile.h (struct quick_symbol_functions): Update the profile | |
117 | of parameter "name_matcher" for the expand_symtabs_matching | |
118 | method. Update the documentation accordingly. | |
119 | * ada-lang.h (ada_name_for_lookup): Add declaration. | |
120 | * ada-lang.c (ada_name_for_lookup): New function, extracted out | |
121 | from ada_iterate_over_symbols. | |
122 | (ada_iterate_over_symbols): Do not encode symbol name anymore. | |
123 | (ada_expand_partial_symbol_name): Adjust profile. | |
124 | (ada_language_defn): Add value for la_symbol_name_compare field. | |
125 | * linespec.c: #include "ada-lang.h". | |
126 | (iterate_name_matcher): Add language parameter. Replace call | |
127 | to strcmp_iw by call to language->la_symbol_name_compare. | |
128 | (decode_variable): Encode COPY if current language is Ada. | |
129 | * dwarf2read.c (dw2_expand_symtabs_matching): Adjust profile | |
130 | of name_matcher parameter. Adjust call to name_matcher. | |
131 | * psymtab.c (expand_symtabs_matching_via_partial): Likewise. | |
132 | (expand_partial_symbol_names): Update profile of parameter "fun". | |
133 | * psymtab.h (expand_partial_symbol_names): Update profile of | |
134 | parameter "fun". | |
135 | * symtab.c (demangle_for_lookup): Update function documentation. | |
136 | (search_symbols_name_matches): Add language parameter. | |
137 | (expand_partial_symbol_name): Likewise. | |
138 | * c-lang.c (c_language_defn, cplus_language_defn) | |
139 | (asm_language_defn, minimal_language_defn): Add value for | |
140 | la_symbol_name_compare field. | |
141 | * d-lang.c (d_language_defn): Likewise. | |
142 | * f-lang.c (f_language_defn): Ditto. | |
143 | * jv-lang.c (java_language_defn): Ditto. | |
144 | * m2-lang.c (m2_language_defn): Ditto. | |
145 | * objc-lang.c (objc_language_defn): Ditto. | |
146 | * opencl-lang.c (opencl_language_defn): Ditto. | |
147 | * p-lang.c (pascal_language_defn): Ditto. | |
148 | * language.c (unknown_language_defn, auto_language_defn) | |
149 | (local_language_defn): Ditto. | |
150 | ||
151 | 2011-12-06 Tom Tromey <[email protected]> | |
152 | ||
153 | * linespec.c (iterate_over_all_matching_symtabs): Use | |
154 | LA_ITERATE_OVER_SYMBOLS. | |
155 | (lookup_prefix_sym, add_matching_symbols_to_info): Likewise. | |
156 | (find_function_symbols, decode_variable): Remove Ada special | |
157 | case. | |
158 | * language.h (struct language_defn) <la_iterate_over_symbols>: New | |
159 | field. | |
160 | (LA_ITERATE_OVER_SYMBOLS): New macro. | |
161 | * language.c (unknown_language_defn, auto_language_defn) | |
162 | (local_language_defn): Update. | |
163 | * c-lang.c (c_language_defn, cplus_language_defn) | |
164 | (asm_language_defn, minimal_language_defn): Update. | |
165 | * d-lang.c (d_language_defn): Update. | |
166 | * f-lang.c (f_language_defn): Update. | |
167 | * jv-lang.c (java_language_defn): Update. | |
168 | * m2-lang.c (m2_language_defn): Update. | |
169 | * objc-lang.c (objc_language_defn): Update. | |
170 | * opencl-lang.c (opencl_language_defn): Update. | |
171 | * p-lang.c (pascal_language_defn): Update. | |
172 | * ada-lang.c (ada_iterate_over_symbols): New function. | |
173 | (ada_language_defn): Update. | |
174 | ||
175 | 2011-12-06 Tom Tromey <[email protected]> | |
176 | Joel Brobecker <[email protected]> | |
177 | ||
178 | PR breakpoints/13105, PR objc/8341, PR objc/8343, PR objc/8366, | |
179 | PR objc/8535, PR breakpoints/11657, PR breakpoints/11970, | |
180 | PR breakpoints/12023, PR breakpoints/12334, PR breakpoints/12856, | |
181 | PR shlibs/8929, PR shlibs/7393: | |
182 | * python/py-type.c (compare_maybe_null_strings): Rename from | |
183 | compare_strings. | |
184 | (check_types_equal): Update. | |
185 | * utils.c (compare_strings): New function. | |
186 | * tui/tui-winsource.c (tui_update_breakpoint_info): Update for | |
187 | location changes. | |
188 | * tracepoint.c (scope_info): Update. | |
189 | (trace_find_line_command): Use DECODE_LINE_FUNFIRSTLINE. | |
190 | * symtab.h (iterate_over_minimal_symbols) | |
191 | (iterate_over_some_symtabs, iterate_over_symtabs) | |
192 | (find_pcs_for_symtab_line, iterate_over_symbols) | |
193 | (demangle_for_lookup): Declare. | |
194 | (expand_line_sal): Remove. | |
195 | * symtab.c (iterate_over_some_symtabs, iterate_over_symtabs) | |
196 | (lookup_symtab_callback): New functions. | |
197 | (lookup_symtab): Rewrite. | |
198 | (demangle_for_lookup): New function, extract from | |
199 | lookup_symbol_in_language. | |
200 | (lookup_symbol_in_language): Use it. | |
201 | (iterate_over_symbols): New function. | |
202 | (find_line_symtab): Update. | |
203 | (find_pcs_for_symtab_line): New functions. | |
204 | (find_line_common): Add 'start' argument. | |
205 | (decode_line_spec): Update. Change argument to 'flags', change | |
206 | interpretation. | |
207 | (append_expanded_sal): Remove. | |
208 | (append_exact_match_to_sals): Remove. | |
209 | (expand_line_sal): Remove. | |
210 | * symfile.h (struct quick_symbol_functions) <lookup_symtab>: | |
211 | Remove. | |
212 | <map_symtabs_matching_filename>: New field. | |
213 | * stack.c (func_command): Only look in the current program space. | |
214 | Use DECODE_LINE_FUNFIRSTLINE. | |
215 | * source.c (line_info): Set pspace on sal. Check program space in | |
216 | the loop. Use DECODE_LINE_LIST_MODE. | |
217 | (select_source_symtab): Use DECODE_LINE_FUNFIRSTLINE. | |
218 | * solib-target.c: Remove DEF_VEC_I(CORE_ADDR). | |
219 | * python/python.c (gdbpy_decode_line): Update. | |
220 | * psymtab.c (partial_map_expand_apply): New function. | |
221 | (partial_map_symtabs_matching_filename): Rename from | |
222 | lookup_partial_symbol. Update arguments. | |
223 | (lookup_symtab_via_partial_symtab): Remove. | |
224 | (psym_functions): Update. | |
225 | * objc-lang.h (parse_selector, parse_method): Don't declare. | |
226 | (find_imps): Update. | |
227 | * objc-lang.c (parse_selector, parse_method): Now static. | |
228 | (find_methods): Change arguments. Fill in a vector of symbol | |
229 | names. | |
230 | (uniquify_strings): New function. | |
231 | (find_imps): Change arguments. | |
232 | * minsyms.c (iterate_over_minimal_symbols): New function. | |
233 | * linespec.h (enum decode_line_flags): New. | |
234 | (struct linespec_sals): New. | |
235 | (struct linespec_result) <canonical>: Remove. | |
236 | <pre_expanded, addr_string, sals>: New fields. | |
237 | (destroy_linespec_result, make_cleanup_destroy_linespec_result) | |
238 | (decode_line_full): Declare. | |
239 | (decode_line_1): Update. | |
240 | * linespec.c (struct address_entry, struct linespec_state, struct | |
241 | collect_info): New types. | |
242 | (add_sal_to_sals_basic, add_sal_to_sals, hash_address_entry) | |
243 | (eq_address_entry, maybe_add_address): New functions. | |
244 | (total_number_of_methods): Remove. | |
245 | (iterate_name_matcher, iterate_over_all_matching_symtabs): New | |
246 | functions. | |
247 | (find_methods): Change arguments. Don't canonicalize input. | |
248 | Simplify logic. | |
249 | (add_matching_methods, add_constructors) | |
250 | (build_canonical_line_spec): Remove. | |
251 | (filter_results, convert_results_to_lsals): New functions. | |
252 | (decode_line_2): Change arguments. Rewrite for new data | |
253 | structures. | |
254 | (decode_line_internal): Rename from decode_line_1. Change | |
255 | arguments. Add cleanups. Update for new data structures. | |
256 | (linespec_state_constructor, linespec_state_destructor) | |
257 | (decode_line_full, decode_line_1): New functions. | |
258 | (decode_indirect): Change arguments. Update. | |
259 | (locate_first_half): Use skip_spaces. | |
260 | (decode_objc): Change arguments. Update for new data structures. | |
261 | Simplify logic. | |
262 | (decode_compound): Change arguments. Add cleanups. Remove | |
263 | fallback code, replace with error. | |
264 | (struct decode_compound_collector): New type. | |
265 | (collect_one_symbol): New function. | |
266 | (lookup_prefix_sym): Change arguments. Update. | |
267 | (compare_symbol_name, add_all_symbol_names_from_pspace) | |
268 | (find_superclass_methods ): New functions. | |
269 | (find_method): Rewrite. | |
270 | (struct symtab_collector): New type. | |
271 | (add_symtabs_to_list, collect_symtabs_from_filename): New | |
272 | functions. | |
273 | (symtabs_from_filename): Change API. Rename from | |
274 | symtab_from_filename. | |
275 | (collect_function_symbols): New function. | |
276 | (find_function_symbols): Change API. Rename from | |
277 | find_function_symbol. Rewrite. | |
278 | (decode_all_digits): Change arguments. Rewrite. | |
279 | (decode_dollar): Change arguments. Use decode_variable. | |
280 | (decode_label): Change arguments. Rewrite. | |
281 | (collect_symbols): New function. | |
282 | (minsym_found): Change arguments. Rewrite. | |
283 | (check_minsym, search_minsyms_for_name) | |
284 | (add_matching_symbols_to_info): New function. | |
285 | (decode_variable): Change arguments. Iterate over all symbols. | |
286 | (symbol_found): Remove. | |
287 | (symbol_to_sal): New function. | |
288 | (init_linespec_result, destroy_linespec_result) | |
289 | (cleanup_linespec_result, make_cleanup_destroy_linespec_result): | |
290 | New functions. | |
291 | (decode_digits_list_mode, decode_digits_ordinary): New functions. | |
292 | * dwarf2read.c (dw2_map_expand_apply): New function. | |
293 | (dw2_map_symtabs_matching_filename): Rename from | |
294 | dw2_lookup_symtab. Change arguments. | |
295 | (dwarf2_gdb_index_functions): Update. | |
296 | * dwarf2loc.c: Remove DEF_VEC_I(CORE_ADDR). | |
297 | * defs.h (compare_strings): Declare. | |
298 | * cli/cli-cmds.c (compare_strings): Move to utils.c. | |
299 | (edit_command, list_command): Use DECODE_LINE_LIST_MODE. Call | |
300 | filter_sals. | |
301 | (compare_symtabs, filter_sals): New functions. | |
302 | * breakpoint.h (struct bp_location) <line_number, source_file>: | |
303 | New fields. | |
304 | (struct breakpoint) <line_number, source_file>: Remove. | |
305 | <filter>: New field. | |
306 | * breakpoint.c (print_breakpoint_location, init_raw_breakpoint) | |
307 | (momentary_breakpoint_from_master, add_location_to_breakpoint): | |
308 | Update for changes to locations. | |
309 | (init_breakpoint_sal): Add 'filter' argument. Set 'filter' on | |
310 | breakpoint. | |
311 | (create_breakpoint_sal): Add 'filter' argument. | |
312 | (remove_sal, expand_line_sal_maybe): Remove. | |
313 | (create_breakpoints_sal): Remove 'sals' argument. Handle | |
314 | pre-expanded sals and the filter. | |
315 | (parse_breakpoint_sals): Use decode_line_full. | |
316 | (check_fast_tracepoint_sals): Use get_sal_arch. | |
317 | (create_breakpoint): Create a linespec_sals. Update. | |
318 | (break_range_command): Use decode_line_full. Update. | |
319 | (until_break_command): Update. | |
320 | (clear_command): Update match conditions for linespec.c changes. | |
321 | Use DECODE_LINE_LIST_MODE. | |
322 | (say_where): Update for changes to locations. | |
323 | (bp_location_dtor): Free 'source_file'. | |
324 | (base_breakpoint_dtor): Free 'filter'. Don't free 'source_file'. | |
325 | (update_static_tracepoint): Update for changes to locations. | |
326 | (update_breakpoint_locations): Disable ranged breakpoint if too | |
327 | many locations match. Update. | |
328 | (addr_string_to_sals): Use decode_line_full. Resolve all sal | |
329 | PCs. | |
330 | (breakpoint_re_set_default): Don't call expand_line_sal_maybe. | |
331 | (decode_line_spec_1): Update. Change argument name to 'flags', | |
332 | change interpretation. | |
333 | * block.h (block_containing_function): Declare. | |
334 | * block.c (block_containing_function): New function. | |
335 | * skip.c (skip_function_command): Update. | |
336 | (skip_re_set): Update. | |
337 | * infcmd.c (jump_command): Use DECODE_LINE_FUNFIRSTLINE. | |
338 | * mi/mi-main.c (mi_cmd_trace_find): Use DECODE_LINE_FUNFIRSTLINE. | |
339 | * NEWS: Add entry. | |
340 | ||
341 | 2011-12-06 Tom Tromey <[email protected]> | |
342 | ||
343 | * elfread.c (elf_gnu_ifunc_resolver_return_stop): Allow | |
344 | breakpoint's pspace to be NULL. | |
345 | * breakpoint.h (struct breakpoint) <pspace>: Update comment. | |
346 | * breakpoint.c (init_raw_breakpoint): Conditionally set | |
347 | breakpoint's pspace. | |
348 | (init_breakpoint_sal): Don't set breakpoint's pspace. | |
349 | (prepare_re_set_context): Conditionally switch program space. | |
350 | (addr_string_to_sals): Check executing_startup on location's | |
351 | program space. | |
352 | ||
353 | 2011-12-06 Tom Tromey <[email protected]> | |
354 | ||
355 | * breakpoint.h (enum enable_state) <bp_startup_disabled>: Remove. | |
356 | * breakpoint.c (should_be_inserted): Explicitly check if program | |
357 | space is executing startup. | |
358 | (describe_other_breakpoints): Update. | |
359 | (disable_breakpoints_before_startup): Change executing_startup | |
360 | earlier. Remove loop. | |
361 | (enable_breakpoints_after_startup): Likewise. | |
362 | (init_breakpoint_sal): Don't use bp_startup_disabled. | |
363 | (create_breakpoint): Don't use bp_startup_disabled. | |
364 | (update_global_location_list): Use should_be_inserted. | |
365 | (bkpt_re_set): Update. | |
366 | ||
75c8c9d7 TT |
367 | 2011-12-06 Tom Tromey <[email protected]> |
368 | ||
369 | * python/lib/gdb/command/pretty_printers.py | |
370 | (InfoPrettyPrinter.invoke1): Remove extra double quote. | |
371 | ||
7376e450 TT |
372 | 2011-12-06 Tom Tromey <[email protected]> |
373 | ||
374 | * NEWS: Add MI news. | |
375 | ||
c642a434 UW |
376 | 2011-12-06 Ulrich Weigand <[email protected]> |
377 | ||
378 | * s390-tdep.h (S390_ORIG_R2_REGNUM): Define. | |
379 | (S390_LAST_BREAK_REGNUM): Likewise. | |
380 | (S390_SYSTEM_CALL_REGNUM): Likewise. | |
381 | (S390_NUM_REGS): Update. | |
382 | ||
383 | (s390_regmap_last_break): Add declaration. | |
384 | (s390x_regmap_last_break): Likewise. | |
385 | (s390_regmap_system_call): Likewise. | |
386 | ||
387 | (tdesc_s390_linux32v1): Add declaration. | |
388 | (tdesc_s390_linux32v2): Likewise. | |
389 | (tdesc_s390_linux64v1): Likewise. | |
390 | (tdesc_s390_linux64v2): Likewise. | |
391 | (tdesc_s390x_linux64v1): Likewise. | |
392 | (tdesc_s390x_linux64v2): Likewise. | |
393 | ||
394 | * s390-tdep.c: Include new target description files | |
395 | "features/s390-linux32v1.c", "features/s390-linux32v2.c", | |
396 | "features/s390-linux64v1.c", "features/s390-linux64v2.c", | |
397 | "features/s390x-linux64v1.c", and "features/s390x-linux64v2.c". | |
398 | (s390_cannot_store_register): New function. | |
399 | (s390_write_pc): Likewise. | |
400 | (s390_dwarf_regmap): Add fields for new registers. | |
401 | (s390_regmap_gregset): Likewise. | |
402 | (s390x_regmap_gregset): Likewise. | |
403 | (s390_regmap_fpregset): Likewise. | |
404 | (s390_regmap_upper): Likewise. | |
405 | (s390_regmap_last_break): New variable. | |
406 | (s390x_regmap_last_break): Likewise. | |
407 | (s390_regmap_system_call): Likewise. | |
408 | (s390_last_break_regset): Likewise. | |
409 | (s390x_last_break_regset): Likewise. | |
410 | (s390_system_call_regset): Likewise. | |
411 | (s390_upper_regset_sections): Rename to ... | |
412 | (s390_linux64_regset_sections): ... this. | |
413 | (s390_linux32_regset_sections): New variable. | |
414 | (s390x_linux64_regset_sections): Likewise. | |
415 | (s390_linux32v1_regset_sections): Likewise. | |
416 | (s390_linux32v2_regset_sections): Likewise. | |
417 | (s390_linux64v1_regset_sections): Likewise. | |
418 | (s390_linux64v2_regset_sections): Likewise. | |
419 | (s390x_linux64v1_regset_sections): Likewise. | |
420 | (s390x_linux64v2_regset_sections): Likewise. | |
421 | (s390_regset_from_core_section): Handle .reg-s390-last-break and | |
422 | .reg-s390-system-call core file sections. | |
423 | (s390_core_read_description): Check for presence of | |
424 | .reg-s390-last-break and .reg-s390-system-call core file | |
425 | sections and return appropriate target description. | |
426 | (s390_gdbarch_init): Detect Linux-specific registers "orig_r2", | |
427 | "last_break" and "system_call" in target description. Install | |
428 | appropriate gdbarch_core_regset_sections array. | |
429 | Call set_gdbarch_cannot_store_register and set_gdbarch_write_pc. | |
430 | (_initialize_s390_tdep): Initialize additional target descriptions. | |
431 | ||
432 | * s390-nat.c: Include "elf/common.h". | |
433 | (PTRACE_GETREGSET, PTRACE_SETREGSET): Define if undefined. | |
434 | (have_regset_last_break): New static variable. | |
435 | (have_regset_system_call): Likewise. | |
436 | (s390_native_supply): Handle S390_ORIG_R2_REGNUM. | |
437 | (s390_native_collect): Likewise. | |
438 | (fetch_regset, store_regset, check_regset): New functions. | |
439 | (s390_linux_fetch_inferior_registers): Handle S390_LAST_BREAK_REGNUM | |
440 | and S390_SYSTEM_CALL_REGNUM. | |
441 | (s390_linux_store_inferior_registers): Likewise. | |
442 | (s390_read_description): Check for presence of NT_S390_LAST_BREAK | |
443 | and NT_S390_SYSTEM_CALL regsets and use appropriate description. | |
444 | ||
445 | * features/Makefile (WHICH): Add s390-linux32v1, s390-linux64v1, | |
446 | s390x-linux64v1, s390-linux32v2, s390-linux64v2, and s390x-linux64v2. | |
447 | (s390-linux32v1-expedite): Define. | |
448 | (s390-linux32v2-expedite): Likewise. | |
449 | (s390-linux64v1-expedite): Likewise. | |
450 | (s390-linux64v2-expedite): Likewise. | |
451 | (s390x-linux64v1-expedite): Likewise. | |
452 | (s390x-linux64v2-expedite): Likewise. | |
453 | ||
454 | * features/s390-linux32.xml: Add orig_r2 register. | |
455 | * features/s390-linux64.xml: Likewise. | |
456 | * features/s390x-linux64.xml: Likewise. | |
457 | * features/s390-linux32v1.xml: New file. | |
458 | * features/s390-linux32v2.xml: Likewise. | |
459 | * features/s390-linux64v1.xml: Likewise. | |
460 | * features/s390-linux64v2.xml: Likewise. | |
461 | * features/s390x-linux64v1.xml: Likewise. | |
462 | * features/s390x-linux64v2.xml: Likewise. | |
463 | ||
464 | * features/s390-linux32.c: Regenerate. | |
465 | * features/s390-linux64.c: Likewise. | |
466 | * features/s390x-linux64.c: Likewise. | |
467 | * features/s390-linux32v1.c: New generated file. | |
468 | * features/s390-linux32v2.c: Likewise. | |
469 | * features/s390-linux64v1.c: Likewise. | |
470 | * features/s390-linux64v2.c: Likewise. | |
471 | * features/s390x-linux64v1.c: Likewise. | |
472 | * features/s390x-linux64v2.c: Likewise. | |
473 | ||
474 | * regformats/s390-linux32.dat: Regenerate. | |
475 | * regformats/s390-linux64.dat: Regenerate. | |
476 | * regformats/s390x-linux64.dat: Regenerate. | |
477 | * regformats/s390-linux32v1.dat: New generated file. | |
478 | * regformats/s390-linux32v2.dat: Likewise. | |
479 | * regformats/s390-linux64v1.dat: Likewise. | |
480 | * regformats/s390-linux64v2.dat: Likewise. | |
481 | * regformats/s390x-linux64v1.dat: Likewise. | |
482 | * regformats/s390x-linux64v2.dat: Likewise. | |
483 | ||
336060f3 PA |
484 | 2011-12-05 Pedro Alves <[email protected]> |
485 | ||
486 | * linux-nat.c (resume_stopped_resumed_lwps): Call | |
487 | registers_changed. | |
488 | ||
049e32d3 PA |
489 | 2011-12-05 Pedro Alves <[email protected]> |
490 | ||
491 | * breakpoint.c: Include record.h. | |
492 | (breakpoints_always_inserted_mode): Return false when the record | |
493 | target is in use. | |
494 | ||
5c03c7f9 | 495 | 2011-12-05 Pedro Alves <[email protected]> |
482950ed PA |
496 | |
497 | * amd64-linux-nat.c (amd64_linux_dr_get): Remove FIXME comment. | |
498 | Reinstate perror_with_name call on ptrace error. Remove #if 0. | |
499 | * i386-linux-nat.c (i386_linux_dr_get): Likewise. | |
500 | * i386bsd-nat.c (i386bsd_dr_get_status): Likewise. | |
501 | ||
fbbd034e AS |
502 | 2011-12-05 Andrey Smirnov <[email protected]> |
503 | ||
504 | * breakpoint.c (init_breakpoint_sal): Remove nested definitions of | |
505 | `i'(-Wshadow). | |
506 | ||
a5ff8356 | 507 | 2011-12-05 Andrey Smirnov <[email protected]> |
12747160 AS |
508 | |
509 | * bcache.c (bcache): Rename `bcache' to `cache'(-Wshadow). | |
510 | ||
511 | 2011-12-05 Andrey Smirnov <[email protected]> | |
512 | ||
a5ff8356 AS |
513 | * amd64-tdep.c (amd64_push_dummy_call): Remove nested definition |
514 | of `tdep'(-Wshadow). | |
515 | ||
93f2a35e JK |
516 | 2011-12-03 Jan Kratochvil <[email protected]> |
517 | ||
518 | Fix compilation --without-expat. | |
519 | * solib-svr4.c (svr4_free_so, svr4_free_library_list): Move them here | |
520 | from ... | |
521 | [HAVE_LIBEXPAT] (svr4_free_so, svr4_free_library_list): ... here. | |
522 | ||
2268b414 JK |
523 | 2011-12-02 Paul Pluzhnikov <[email protected]> |
524 | Jan Kratochvil <[email protected]> | |
525 | ||
526 | * Makefile.in (XMLFILES): Add library-list-svr4.dtd. | |
527 | * features/library-list-svr4.dtd: New file. | |
528 | * remote.c (PACKET_qXfer_libraries_svr4): New. | |
529 | (remote_protocol_features): new entry for PACKET_qXfer_libraries_svr4. | |
530 | (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES_SVR4. | |
531 | * solib-svr4.c (struct svr4_library_list): New. | |
532 | [HAVE_LIBEXPAT]: Include xml-support.h. | |
533 | [HAVE_LIBEXPAT] (svr4_library_list_start_library) | |
534 | [HAVE_LIBEXPAT] (svr4_library_list_start_list, svr4_library_attributes) | |
535 | [HAVE_LIBEXPAT] (svr4_library_list_children) | |
536 | [HAVE_LIBEXPAT] (svr4_library_list_attributes) | |
537 | [HAVE_LIBEXPAT] (svr4_library_list_elements, svr4_parse_libraries) | |
538 | [HAVE_LIBEXPAT] (svr4_current_sos_via_xfer_libraries) | |
539 | [!HAVE_LIBEXPAT] (svr4_current_sos_via_xfer_libraries): New. | |
540 | (svr4_read_so_list): Extend the corruption message by addresses. | |
541 | (svr4_current_sos): New variable library_list, call | |
542 | svr4_current_sos_via_xfer_libraries. | |
543 | * target.h (enum target_object): New TARGET_OBJECT_LIBRARIES_SVR4. | |
544 | ||
585861ea JK |
545 | 2011-12-02 Jan Kratochvil <[email protected]> |
546 | ||
547 | PR threads/13448 | |
548 | * dwarf2read.c (decode_locdesc): Handle DW_OP_const8u. | |
549 | For DW_OP_GNU_push_tls_address increment the value, new comment for it. | |
550 | ||
9750bca9 JK |
551 | 2011-12-02 Jan Kratochvil <[email protected]> |
552 | ||
553 | PR breakpoints/13346 | |
554 | * dwarf2read.c (process_psymtab_comp_unit): Set | |
555 | PSYMTABS_ADDRMAP_SUPPORTED. | |
556 | * psympriv.h (struct partial_symtab): Comment textlow and texthigh | |
557 | validity. New field psymtabs_addrmap_supported. | |
558 | * psymtab.c (find_pc_sect_psymtab_closer): New gdb_assert on | |
559 | psymtabs_addrmap_supported. | |
560 | (find_pc_sect_psymtab): Do not fallback to TEXTLOW and TEXTHIGH for | |
561 | !PSYMTABS_ADDRMAP_SUPPORTED. | |
562 | (dump_psymtab, maintenance_info_psymtabs): Print also | |
563 | psymtabs_addrmap_supported. | |
564 | ||
f28c316a DE |
565 | 2011-12-01 Doug Evans <[email protected]> |
566 | ||
567 | * python/py-type.c (type_object_methods): Fix "array" doc string. | |
568 | ||
fc0ae648 AB |
569 | 2011-12-01 Andrew Burgess <[email protected]> |
570 | ||
571 | * source.c (print_source_lines_base): Fix missing braces on else | |
572 | clause leading to additional output. | |
573 | ||
d6db1fab UW |
574 | 2011-11-30 Ulrich Weigand <[email protected]> |
575 | ||
576 | * s390-nat.c (SUBOFF): Remove. | |
577 | (s390_native_supply, s390_native_collect): New functions. | |
578 | (supply_gregset, supply_fpregset): Use s390_native_supply. | |
579 | (fill_gregset, fill_fpregset): Use s390_native_collect. | |
580 | ||
581 | * s390-tdep.c (s390_pseudo_register_reggroup_p): Update comment. | |
582 | (s390_unwind_pseudo_register): New function. | |
583 | (s390_prologue_frame_unwind_cache): Unwind PSW address and mask | |
584 | registers instead of PC and CC. | |
585 | (s390_backchain_frame_unwind_cache): Likewise. | |
586 | (s390_sigtramp_frame_unwind_cache): Do not unwind PC, CC, or | |
587 | full GPR pseudos. | |
588 | (s390_trad_frame_prev_register): New function. | |
589 | (s390_frame_prev_register): Use it. | |
590 | (s390_sigtramp_frame_prev_register): Likewise. | |
591 | (s390_dwarf2_prev_register): Use s390_unwind_pseudo_register. | |
592 | (s390_dwarf2_frame_init_reg): Unwind PSW address and mask. Use | |
593 | special callback to unwind any pseudo. | |
594 | ||
595 | * features/s390-core32.xml: Add pswm/pswa to save/restore group. | |
596 | * features/s390-core64.xml: Likewise. | |
597 | * features/s390x-core64.xml: Likewise. | |
598 | * features/s390-linux32.c: Regenerate. | |
599 | * features/s390-linux64.c: Likewise. | |
600 | * features/s390x-linux64.c: Likewise. | |
601 | ||
1dd635ac UW |
602 | 2011-11-30 Ulrich Weigand <[email protected]> |
603 | ||
604 | * s390-tdep.c (s390_gdbarch_init): Call set_gdbarch_get_siginfo_type. | |
605 | ||
0161e4b9 UW |
606 | 2011-11-30 Ulrich Weigand <[email protected]> |
607 | ||
608 | * s390-tdep.c (s390_displaced_step_fixup): Fix processing of LARL | |
609 | instruction. Add more diagnostic output. | |
610 | ||
0c36327f AS |
611 | 2011-11-29 Andrey Smirnov <[email protected]> |
612 | ||
613 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
614 | ||
b4264740 SD |
615 | 2011-11-29 Sanjoy Das <[email protected]> |
616 | ||
617 | * jit.c (add_objfile_entry, jit_reader_try_read_symtab) | |
618 | (jit_bfd_try_read_symtab): Fix comments. | |
619 | ||
87326c78 DD |
620 | 2011-11-28 DJ Delorie <[email protected]> |
621 | ||
622 | * NEWS: Mention RL78 simulator. | |
623 | ||
1e3a8f45 JB |
624 | 2011-11-28 Joel Brobecker <[email protected]> |
625 | ||
626 | * symfile.h (struct quick_symbol_functions): Fix the documentation | |
627 | of field map_matching_symbols, as symbols are sorted using | |
628 | strcmp_iw_ordered, not strcmp_iw. | |
629 | ||
265e52c3 JB |
630 | 2011-11-28 Paul Hilfinger <[email protected]> |
631 | ||
632 | * symfile.h (struct quick_symbol_functions): Update the | |
633 | documentation for field map_matching_symbols. | |
634 | ||
1a1d5513 JB |
635 | 2011-11-28 Joel Brobecker <[email protected]> |
636 | ||
637 | * ada-lang.c (compare_names): Fix wrong return value in case | |
638 | string1 starts with the same contents as string2, followed | |
639 | by an underscore that do not start a symbol name suffix. | |
640 | ||
5d9c5995 PM |
641 | 2011-11-28 Phil Muldoon <[email protected]> |
642 | ||
643 | PR python/13369 | |
644 | PR python/13374 | |
645 | ||
646 | * python/python.c (gdbpy_decode_line): Do not acquire GIL. | |
647 | * python/py-inferior.c (inferior_to_inferior_object): Ditto. | |
648 | * python/py-value.c (valpy_nonzero): Use TRY_CATCH to catch GDB | |
649 | exceptions. | |
650 | * python/py-type.c (typy_strip_typedefs): Ditto. | |
651 | (typy_legacy_template_argument): Ditto. | |
652 | * python/py-inferior.c (inferior_to_inferior_object): Ditto. | |
653 | * python/py-breakpoint.c (bppy_set_ignore_count): Ditto. | |
654 | ||
2bf50f6f JB |
655 | 2011-11-27 Joel Brobecker <[email protected]> |
656 | ||
657 | * remote.c (remote_get_tracepoint_status): Delete addrbuf | |
658 | local variable. Avoid use of sprintf_vma. | |
659 | ||
744ab88c SD |
660 | 2011-11-27 Sanjoy Das <[email protected]> |
661 | ||
662 | Fix regression in jit.exp. | |
663 | * jit.c (jit_reader_try_read_symtab, jit_bfd_try_read_symtab) | |
664 | (jit_register_code): Set the jit_objfile_data field to the correct | |
665 | value. | |
666 | ||
46ad3598 UW |
667 | 2011-11-25 Uros Bizjak <[email protected]> |
668 | ||
669 | * alpha-tdep.c (br_opcode): New. | |
670 | (ldl_l_opcode, ldq_l_opcode, stl_c_opcode, stq_c_opcode): Ditto. | |
671 | (alpha_deal_with_atomic_sequence): New function. | |
672 | (alpha_gdbarch_init): Handle single stepping of atomic sequences | |
673 | with alpha_deal_with_atomic_sequence. | |
674 | ||
e4c5f296 TG |
675 | 2011-11-24 Tristan Gingold <[email protected]> |
676 | ||
677 | * machoread.c (oso_el): Remove num_Sections, symbols, offsets | |
678 | fields. Add oso_sym, end_sym and nbr_syms. | |
679 | (macho_register_oso): Change interface. | |
680 | (macho_symtab_add_minsym): New function. | |
681 | (macho_symtab_read): Rewritten. | |
682 | (get_archive_prefix_len): Remove trailing blanks. | |
683 | (oso_el_compare_name): Add comment. | |
684 | (struct macho_sym_hash_entry): New structure. | |
685 | (macho_relocate_common_syms): Remove. | |
686 | (macho_sym_hash_newfunc): New function. | |
687 | (macho_resolve_oso_sym_with_minsym): Likewise. | |
688 | (macho_add_oso_symfile): Rewritten. | |
689 | (macho_symfile_read_all_oso): Remove trailing blanks. | |
690 | Adjust code to free oso vector. | |
691 | (macho_symfile_read): Likewise. | |
692 | Move code to initialize minimal symbol | |
693 | ||
130854df MR |
694 | 2011-11-24 Maciej W. Rozycki <[email protected]> |
695 | ||
696 | * mips-tdep.c (extended_offset): Fix formatting. | |
697 | ||
3d7bb9d9 DE |
698 | 2011-11-23 Doug Evans <[email protected]> |
699 | ||
700 | * dwarf2read.c (dw2_lookup_symtab): Add comment. | |
701 | (dw2_expand_symtabs_with_filename): Ditto. | |
702 | (dw2_expand_symtabs_matching): Ditto. | |
703 | (dw2_map_symbol_filenames): Ditto. | |
704 | ||
1fbf5ada JB |
705 | 2011-11-23 Andrey Smirnov <[email protected]> |
706 | ||
707 | * ada-lang.c (assign_aggregate): Minor reformatting. | |
708 | ||
d984108d JB |
709 | 2011-11-23 Andrey Smirnov <[email protected]> |
710 | ||
711 | * ada-lang.c (assign_aggregate): Remove declaration of local | |
712 | variable `i' which is shadowing another variable with the same | |
713 | name declared in the outer scope. | |
714 | ||
18af8284 JB |
715 | 2011-11-23 Joel Brobecker <[email protected]> |
716 | ||
717 | * ada-lang.c (get_base_type): Renames base_type. Adjust all | |
718 | calls throughout this file. | |
719 | ||
1fc7b5d7 JB |
720 | 2011-11-23 Joel Brobecker <[email protected]> |
721 | ||
722 | * gdb-dlfcn.c (gdb_dlopen): Add missing coma in call to | |
723 | FormatMessage. | |
724 | ||
36dfb11c TT |
725 | 2011-11-22 Tom Tromey <[email protected]> |
726 | ||
727 | PR mi/8444: | |
728 | * mi/mi-common.h (EXEC_ASYNC_SOLIB_EVENT, EXEC_ASYNC_FORK) | |
729 | (EXEC_ASYNC_VFORK, EXEC_ASYNC_SYSCALL_ENTRY) | |
730 | (EXEC_ASYNC_SYSCALL_RETURN, EXEC_ASYNC_EXEC): New constants. | |
731 | * mi/mi-common.c (async_reason_string_lookup): Add new reasons. | |
732 | * breakpoint.c (print_it_catch_fork, print_it_catch_vfork) | |
733 | (print_it_catch_syscall, print_it_catch_exec) | |
734 | (internal_bkpt_print_it): Use ui_out. Emit stop reason. | |
735 | (bpstat_print): Add 'kind' argument. Handle | |
736 | TARGET_WAITKIND_LOADED. | |
737 | * infrun.c (normal_stop): Update for bpstat_print change. Don't | |
738 | handle TARGET_WAITKIND_LOADED here. | |
739 | * breakpoint.h (bpstat_print): Update. | |
740 | ||
5bd6aa83 TT |
741 | 2011-11-22 Tom Tromey <[email protected]> |
742 | ||
743 | * mi/mi-interp.c (mi_on_normal_stop): Call bpstat_print. | |
744 | ||
f5afdc18 TT |
745 | 2011-11-22 Tom Tromey <[email protected]> |
746 | ||
747 | * mi/mi-common.c (_initialize_gdb_mi_common): Remove. | |
748 | Use static_assert to check the size of | |
749 | async_reason_string_lookup. | |
750 | * common/gdb_assert.h (static_assert): New macro. | |
751 | ||
a3769e0c AM |
752 | 2011-11-22 Alan Modra <[email protected]> |
753 | ||
754 | * rs6000-tdep.c (ppc_deal_with_atomic_sequence): Correct branch | |
755 | destination calculation. Don't expect >> to sign extend. Don't | |
756 | add a break if branch lands inside the sequence anywhere. | |
757 | ||
56767571 KS |
758 | 2011-11-21 Keith Seitz <[email protected]> |
759 | ||
760 | * gdb.mi/mi-var-display.exp: Remove XFAIL for c_variable-7.51, | |
761 | -var-evaluate-expression of an enumeration and fix expected result. | |
762 | * gdb.mi/mi2-varvdisplay.exp: Likewise. | |
763 | ||
8443c207 KY |
764 | 2011-11-21 Kwok Cheung Yeung <[email protected]> |
765 | ||
766 | * osdata.c (info_osdata_command): Rename nprocs to nrows. Handle | |
767 | the case where osdata->items is empty. Rename column names to a | |
768 | canonical form to avoid problems with unusual column names. | |
769 | ||
97643830 YQ |
770 | 2011-11-21 Yao Qi <[email protected]> |
771 | ||
772 | * MAINTAINERS (Write After Approval): Keep list in alphabetical order. | |
773 | ||
f196051f SS |
774 | 2011-11-20 Stan Shebs <[email protected]> |
775 | ||
776 | * NEWS: Mention tracepoint additions. | |
777 | * breakpoint.h (struct tracepoint): New field traceframe_usage. | |
778 | * breakpoint.c (print_one_breakpoint_location): Identify | |
779 | tracepoints as such when reporting hit counts, report | |
780 | trace buffer usage. | |
781 | (create_tracepoint_from_upload): Copy status info. | |
782 | * tracepoint.h (struct trace_status): Rename error_desc to stop_desc, | |
783 | add fields user_name, notes, start_time, stop_time. | |
784 | (struct uploaded_tp): Add fields hit_count, traceframe_usage. | |
785 | * tracepoint.c (trace_user): New global. | |
786 | (trace_notes): New global. | |
787 | (trace_stop_notes): New global. | |
788 | (start_tracing): Add argument and trace note handling. | |
789 | (stop_tracing): Ditto. | |
790 | (trace_start_command): Add notes argument. | |
791 | (trace_stop_command): Ditto. | |
792 | (trace_status_command): Report additional status info. | |
793 | (trace_status_mi): Similarly. | |
794 | (trace_save): Update, record tracepoint status. | |
795 | (set_disconnected_tracing): Call target method directly. | |
796 | (send_disconnected_tracing_value): Remove. | |
797 | (set_trace_user): New function. | |
798 | (set_trace_notes): New function. | |
799 | (set_trace_stop_notes): New function. | |
800 | (parse_trace_status): Handle additional status. | |
801 | (parse_tracepoint_status): New function. | |
802 | (parse_tracepoint_definition): Call it. | |
803 | (tfile_get_tracepoint_status): New function. | |
804 | (init_tfile_ops): Use it. | |
805 | (_initialize_tracepoint): Add new setshows. | |
806 | * target.h (struct target_ops): New methods to_get_tracepoint_status | |
807 | and to_set_trace_notes. | |
808 | (target_get_tracepoint_status): New macro. | |
809 | (target_set_trace_notes): New macro. | |
810 | * target.c (update_current_target): Add new methods. | |
811 | * remote.c (remote_get_tracepoint_status): New function. | |
812 | (remote_set_trace_notes): New function. | |
813 | (init_remote_ops): Add them. | |
814 | * mi/mi-main.c (mi_cmd_trace_start): Add argument to call. | |
815 | (mi_cmd_trace_stop): Ditto. | |
816 | ||
3623dc3a SD |
817 | 2011-11-20 Sanjoy Das <[email protected]> |
818 | ||
819 | * jit.c: Include regcache.h. | |
820 | (jit_gdbarch_data, jit_frame_unwind): New static variables. | |
821 | (jit_unwind_reg_set_impl, free_reg_value_impl) | |
822 | (jit_unwind_reg_get_impl, jit_frame_sniffer) | |
823 | (jit_frame_unwind_stop_reason, jit_frame_this_id) | |
824 | (jit_frame_prev_register, jit_dealloc_cache) | |
825 | (jit_prepend_unwinder, jit_gdbarch_data_init): New functions. | |
826 | (jit_inferior_init): Prepend (new) pseudo unwinder by calling | |
827 | jit_prepend_unwinder. | |
828 | (_initialize_jit): Register new gdbarch data jit_gdbarch_data. | |
829 | ||
1825a88d SD |
830 | 2011-11-20 Sanjoy Das <[email protected]> |
831 | ||
832 | * jit.c: Include block.h, dictionary.h and frame-unwind.h. | |
833 | (add_objfile_entry, jit_target_read_impl, jit_object_open_impl) | |
834 | (jit_symtab_open_impl, compare_block, jit_block_open_impl) | |
835 | (jit_symtab_line_mapping_add_impl, jit_symtab_close_impl) | |
836 | (finalize_symtab, jit_object_close_impl) | |
837 | (jit_reader_try_read_symtab, jit_bfd_try_read_symtab) | |
838 | (free_objfile_data): New functions. | |
839 | (_initialize_jit): Register jit_objfile_data with a proper cleanup | |
840 | function. | |
841 | ||
784c47ee SD |
842 | 2011-11-20 Sanjoy Das <[email protected]> |
843 | ||
844 | * jit.c: Include gdb-dlfcn.h. | |
845 | (loaded_jit_reader, reader_init_fn_sym): New static variables. | |
846 | (jit_reader_load, jit_reader_load_command) | |
847 | (jit_reader_unload_command): New functions. | |
848 | (_initialize_jit): Add commands "jit-reader-load" and | |
849 | "jit-reader-unload". | |
850 | ||
a2d08b9e SD |
851 | 2011-11-20 Sanjoy Das <[email protected]> |
852 | ||
853 | * Makefile.in: Add gdb-dlfcn.c and gdb-dlfcn.h to build system. | |
854 | * config.in: Add new #define HAVE_LIBDL. | |
855 | * configure.ac: Add check for -ldl. | |
856 | * configure: Re-generated by autoconf. | |
857 | * gdb-dlfcn.c: New file. | |
858 | * gdb-dlfcn.h: New file. | |
859 | ||
b8e0a31c SD |
860 | 2011-11-20 Sanjoy Das <[email protected]> |
861 | ||
862 | * config.in: Add new #defines: JIT_READER_DIR and | |
863 | JIT_READER_DIR_RELOCATABLE. | |
864 | * configure.ac: New GDB directory entry for jit-reader-dir. | |
865 | * configure: Re-generated by autoconf. | |
866 | * jit.c: New static variable: const char *jit_reader_dir. | |
867 | (_initialize_jit): Relocate jit_reader_dir. | |
868 | ||
f997c383 SD |
869 | 2011-11-20 Sanjoy Das <[email protected]> |
870 | ||
871 | * Makefile.in: Add jit-reader.h as a header. Have it installed in | |
872 | $(includedir)/gdb. | |
873 | * configure.ac: Generate a correct value for TARGET_PTR for | |
874 | jit-reader.h. Tell configure to generate jit-reader.h from | |
875 | jit-reader.in. | |
876 | * configure: Re-generated by autoconf. | |
877 | * jit-reader.in: New file. | |
878 | * jit.c: Include jit-reader.h. | |
879 | ||
dc8c0494 SD |
880 | 2011-11-20 Sanjoy Das <[email protected]> |
881 | ||
882 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
883 | ||
01efb936 UW |
884 | 2011-11-18 Ulrich Weigand <[email protected]> |
885 | ||
886 | * findvar.c (read_frame_register_value): Respect value_offset | |
887 | of the register value. Remove big-endian special case. | |
888 | ||
732f3f12 TT |
889 | 2011-11-18 Tom Tromey <[email protected]> |
890 | ||
891 | PR build/7196: | |
892 | * remote.c (putpkt_for_catch_errors): New function. | |
893 | (remote_kill): Use it. | |
894 | ||
bfccc43c YQ |
895 | 2011-11-18 Yao Qi <[email protected]> |
896 | ||
897 | * breakpoint.c (create_breakpoint): Produce query message according to | |
898 | breakpoint's type. | |
899 | Allocate tracepoint per correct type. | |
900 | Don't check SALs for pending fast tracepoints. | |
901 | * tracepoint.c (process_tracepoint_on_disconnect): New. | |
902 | (disconnect_tracing): Call process_tracepoint_on_disconnect. | |
903 | ||
3ea46bff YQ |
904 | 2011-11-18 Yao Qi <[email protected]> |
905 | ||
906 | * breakpoint.c (install_breakpoint): Add one more parameter so that | |
907 | update_global_location_list is called conditionally. | |
908 | (create_fork_vfork_event_catchpoint): Update. | |
909 | (create_syscall_event_catchpoint): Update. | |
910 | (create_breakpoint_sal): Update. | |
911 | (create_breakpoint_sal): Update. Call do_cleanups before | |
912 | install_breakpoint. | |
913 | * ada-lang.c (create_ada_exception_catchpoint): Update. | |
914 | * breakpoint.h (install_breakpoint): Update declaration. | |
915 | ||
598cfb71 UW |
916 | 2011-11-16 Ulrich Weigand <[email protected]> |
917 | ||
918 | * spu-tdep.c (spu_return_value): Fix handling of | |
919 | TYPE_CALLING_CONVENTION annotation. | |
920 | ||
caf4328c UW |
921 | 2011-11-16 Ulrich Weigand <[email protected]> |
922 | ||
923 | * skip.c (skip_function_command): Work around uninitialized | |
924 | variable warning. | |
925 | ||
2b54dda2 DM |
926 | 2011-11-16 David S. Miller <[email protected]> |
927 | ||
928 | * utils.c (report_command_stats): Cast delta_wall_time 'tv_sec' and | |
929 | 'tv_usec' to long for printf since these fields have a type which | |
930 | varies. | |
931 | ||
93bf33fd DE |
932 | 2011-11-15 Doug Evans <[email protected]> |
933 | ||
934 | * buildsym.c (add_symbol_to_list): Delete outdated comment. | |
935 | ||
9cc10fd1 PK |
936 | 2011-11-15 Paul Koning <[email protected]> |
937 | ||
938 | * python/py-type.c (typy_get_composite): New function. | |
939 | (typy_nonzero): New function. | |
940 | (typy_values): Rename from typy_fields. | |
941 | (typy_fields): New function. | |
942 | (typy_length): Raise exception if not struct, union, or enum type. | |
943 | (typy_getitem): Ditto. | |
944 | (typy_has_key): Ditto. | |
945 | (typy_make_iter): Ditto. | |
946 | ||
c011a4f4 DE |
947 | 2011-11-15 Doug Evans <[email protected]> |
948 | ||
949 | * NEWS: Mention new parameter basenames-may-differ. | |
950 | * dwarf2read.c (dw2_lookup_symtab): Avoid calling gdb_realpath if | |
951 | ! basenames_may_differ. | |
952 | * psymtab.c (lookup_partial_symtab): Ditto. | |
953 | * symtab.c (lookup_symtab): Ditto. | |
954 | (basenames_may_differ): New global. | |
955 | (_initialize_symtab): New parameter basenames-may-differ. | |
956 | * symtab.h (basenames_may_differ): Declare. | |
957 | ||
865ecab4 LM |
958 | 2011-11-15 Pedro Alves <[email protected]> |
959 | Luis Machado <[email protected]> | |
960 | ||
961 | * auxv.c: Include observer.h. | |
962 | (auxv_inferior_data_cleanup): New. | |
963 | (invalidate_auxv_cache_inf): New. | |
964 | (invalidate_auxv_cache): New. | |
965 | (get_auxv_inferior_data): New. | |
966 | (auxv_inferior_data): New static global. | |
967 | (auxv_info): New structure. | |
968 | (target_auxv_search): Use get_auxv_inferior_data instead of | |
969 | target_read_alloc and don't free cached buffers. | |
970 | (fprint_target_auxv): Likewise | |
971 | (_initialize_auxv): Register per-inferior auxv cache and register | |
972 | observers to invalidate auxv cache when needed. | |
973 | ||
ed59ded5 DE |
974 | 2011-11-14 Doug Evans <[email protected]> |
975 | ||
976 | Make "!" an alias for "shell". | |
977 | * NEWS: Add mention. | |
978 | * cli/cli-cmds.c (init_cli_cmds): Remove xdb_commands condition on | |
979 | adding "!" command, always add it. | |
980 | * cli/cli-decode.c (find_command_name_length): Recognize "!" as a | |
981 | command of length one. | |
982 | ||
405f8e94 SS |
983 | 2011-11-14 Stan Shebs <[email protected]> |
984 | Kwok Cheung Yeung <[email protected]> | |
985 | ||
986 | * NEWS: Document shorter fast tracepoints and qTMinFTPILen packet. | |
987 | * i386-tdep.c (i386_fast_tracepoint_valid_at): Query target for | |
988 | the minimum instruction size for fast tracepoints. | |
989 | * target.h (struct target_ops): Add new method | |
990 | to_get_min_fast_tracepoint_insn_len. | |
991 | (target_get_min_fast_tracepoint_insn_len): New. | |
992 | * target.c (update_current_target): Set up new target operation. | |
993 | * remote.c (remote_write_bytes_aux): Fix typo. | |
994 | (remote_get_min_fast_tracepoint_insn_len): New. | |
995 | (init_remote_ops): Initialize new field. | |
996 | ||
3e05895e TT |
997 | 2011-11-14 Tom Tromey <[email protected]> |
998 | ||
999 | * tracepoint.c (encode_actions_1): Use the location's gdbarch. | |
1000 | (encode_actions): Likewise. | |
1001 | ||
1e4d1764 YQ |
1002 | 2011-11-14 Yao Qi <[email protected]> |
1003 | ||
1004 | * remote.c (struct remote_state): <install_in_trace> new field. | |
1005 | (PACKET_InstallInTrace): New enum value. | |
1006 | (remote_install_in_trace_feature): Support InstallInTrace. | |
1007 | (remote_supports_install_in_trace): Likewise. | |
1008 | (remote_protocol_features): Likewise. | |
1009 | (_initialize_remote): Likewise. | |
1010 | (remote_can_download_tracepoint): New. | |
1011 | * target.h (struct target): New field | |
1012 | `to_can_download_tracepoint'. | |
1013 | (target_can_download_tracepoint): New macro. | |
1014 | * target.c (update_current_target): Update. | |
1015 | * breakpoint.h (struct bp_location): Add comment on field | |
1016 | `duplicate'. | |
3ccd4ac6 YQ |
1017 | * breakpoint.c (should_be_inserted): Don't differentiate breakpoint |
1018 | and tracepoint. | |
1e4d1764 YQ |
1019 | (remove_breakpoints): Don't remove tracepoints. |
1020 | (tracepoint_locations_match ): New. | |
1021 | (breakpoint_locations_match): Call it. | |
1022 | (disable_breakpoints_in_unloaded_shlib): Handle tracepoint. | |
1023 | (download_tracepoint_locations): New. | |
1024 | (update_global_location_list): Call it. | |
1025 | * tracepoint.c (find_matching_tracepoint): Delete. | |
1026 | (find_matching_tracepoint_location): Renamed from | |
1027 | find_matching_tracepoint. Return bp_location rather than | |
1028 | tracepoint. | |
1029 | (merge_uploaded_tracepoints): Set `inserted' field to 1 if | |
1030 | tracepoint is found. | |
1031 | ||
e8ba3115 YQ |
1032 | 2011-11-14 Yao Qi <[email protected]> |
1033 | ||
1034 | * target.h (struct target): <to_download_tracepoint> Change type | |
1035 | of parameter from tracepoint to bp_location. | |
1036 | * target.c (update_current_target): Update. | |
1037 | * tracepoint.c (start_tracing): Update. | |
1038 | * remote.c (remote_download_tracepoint): Remove loop for each location | |
1039 | of a tracepoint. | |
1040 | ||
edcc485a MR |
1041 | 2011-11-14 Maciej W. Rozycki <[email protected]> |
1042 | ||
1043 | * i386-nat.c (i386_insert_hw_breakpoint): Call | |
1044 | i386_update_inferior_debug_regs. | |
1045 | (i386_remove_hw_breakpoint): Likewise. | |
1046 | ||
3742cc8b YQ |
1047 | 2011-11-14 Yao Qi <[email protected]> |
1048 | ||
1049 | * breakpoint.c (init_raw_breakpoint): Call | |
1050 | add_location_to_breakpoint to replace duplicated code. | |
1051 | (add_location_to_breakpoint): Adjust the breakpoint's | |
1052 | address prior to allocating a location. | |
1053 | ||
71eba9c2 | 1054 | 2011-11-12 Matt Rice <[email protected]> |
1055 | ||
1056 | * macrocmd.c (macro_no_macro_info): New function. | |
1057 | (macro_expand_command): Use macro_no_macro_info. | |
1058 | (macro_expand_once_command): Ditto. | |
1059 | (info_macro_command): Add argument processing, | |
1060 | move info_definitions_command here. | |
1061 | (_initialize_macrocmd): Remove info definitions command. | |
1062 | Add arguments to info macro help text. | |
1063 | * NEWS: Replace info definitions command with new info macro options. | |
1064 | ||
731971ed KS |
1065 | 2011-11-11 Keith Seitz <[email protected]> |
1066 | ||
1067 | PR gdb/12843 | |
1068 | * linespec.c (locate_first_half): Keep ':' if it looks | |
1069 | like it could be part of a Windows path starting with | |
1070 | a drive letter. | |
1071 | ||
6953d224 PA |
1072 | 2011-11-10 Pedro Alves <[email protected]> |
1073 | ||
1074 | * linux-nat.c (linux_nat_wait): Don't force waking up the event | |
1075 | loop when returning a TARGET_WAITKIND_NO_RESUMED. | |
1076 | ||
0c94aa73 PA |
1077 | 2011-11-10 Pedro Alves <[email protected]> |
1078 | ||
1079 | * target.c (target_waitstatus_to_string): Handle | |
1080 | TARGET_WAITKIND_NO_RESUMED. | |
1081 | ||
f6b47be4 DE |
1082 | 2011-11-10 Doug Evans <[email protected]> |
1083 | ||
74e2f255 DE |
1084 | * dwarf2read.c (dw2_map_symbol_filenames): New parameter |
1085 | `need_fullname'. | |
1086 | * psymtab.c (map_symbol_filenames_psymtab): Ditto. | |
1087 | (map_partial_symbol_filenames): Ditto. All callers updated. | |
1088 | * psymtab.h (map_partial_symbol_filenames): Update prototype. | |
1089 | * symfile.h (struct quick_symbol_functions, map_symbol_filenames): New | |
1090 | parameter need_fullname. | |
1091 | ||
256f06f3 DE |
1092 | * psymtab.c (psymtab_to_fullname): Use cached copy if it exists. |
1093 | * source.c (symtab_to_fullname): Ditto. | |
1094 | ||
50f182aa DE |
1095 | * defs.h (is_cplus_marker, set_demangling_style): Moved to ... |
1096 | * gdb-demangle.h: ... here. New file. | |
1097 | * demangle.c: #include "gdb-demangle.h". | |
1098 | (_initialize_demangler): Use initialize_file_ftype for prototype. | |
1099 | Move "set demangle" and "set asm-demangle" parameters here from utils.c | |
1100 | (demangle, show_demangle, asm_demangle, show_asm_demangle): Move here | |
1101 | from utils.c | |
1102 | * utils.c: Update. #include "gdb-demangle.h". | |
1103 | * symtab.h (asm_demangle): Delete. | |
1104 | (demangle): Move declaration next to use. | |
1105 | * breakpoint.c: #include "gdb-demangle.h" instead of "demangle.h". | |
1106 | * dwarf2read.c: #include "gdb-demangle.h". | |
1107 | * gnu-v2-abi.c: Ditto. | |
1108 | * jv-typeprint.c: Ditto. | |
1109 | * mdebugread.c: Ditto. | |
1110 | * p-typeprint.c: Ditto. | |
1111 | * stabsread.c: Ditto. | |
1112 | * printcmd.c: Ditto. | |
1113 | (asm_demangle): Delete declaration. | |
1114 | * tui/tui-stack.c: #include "gdb-demangle.h". | |
1115 | ||
f6b47be4 DE |
1116 | * python/py-type.c (typy_fields_items): Call check_typedef. |
1117 | ||
22355c90 JB |
1118 | 2011-11-10 Joel Brobecker <[email protected]> |
1119 | ||
1120 | * findvar.c (read_frame_register_value): Read the correct bytes | |
1121 | from registers on big-endian architectures. | |
1122 | ||
bd119cf1 | 1123 | 2011-11-10 Tom Tromey <[email protected]> |
e28cade7 JB |
1124 | |
1125 | * procfs.c (load_syscalls): Make a cleanup. | |
1126 | (open_procinfo_files): fd==0 is ok. | |
1127 | ||
0a86f364 JB |
1128 | 2011-11-10 Joel Brobecker <[email protected]> |
1129 | ||
1130 | * procfs.c (iterate_over_mappings): Call do_cleanups before | |
1131 | returning. | |
1132 | ||
9bc118a5 DE |
1133 | 2011-11-09 Doug Evans <[email protected]> |
1134 | ||
1135 | * gdbtypes.c (check_typedef): Document that this function can | |
1136 | throw an exception. | |
1137 | ||
a7860e76 TT |
1138 | 2011-11-09 Tom Tromey <[email protected]> |
1139 | ||
1140 | PR c++/13342: | |
1141 | * valops.c (value_full_object): Return early if real type is | |
1142 | smaller than the enclosing type. | |
1143 | ||
60965737 YQ |
1144 | 2011-11-08 Yao Qi <[email protected]> |
1145 | ||
1146 | * amd64-tdep.c (amd64_relocate_instruction): Make it static. | |
1147 | ||
72a2e3dc MI |
1148 | 2011-11-08 Meador Inge <[email protected]> |
1149 | ||
1150 | * arm-tdep.c (thumb_analyze_prologue): Always fallback on the SP | |
1151 | register when the frame can't be determined. | |
1152 | * arm-tdep.c (arm_analyze_prologue): Ditto. | |
1153 | ||
ce3b0ff7 SS |
1154 | 2011-11-07 Stan Shebs <[email protected]> |
1155 | ||
1156 | * MAINTAINERS: Move Michael Snyder to Past Maintainers. | |
1157 | ||
2b914b52 JB |
1158 | 2011-11-07 Joel Brobecker <[email protected]> |
1159 | ||
1160 | * infrun.c (handle_inferior_event): Minor reformatting. | |
1161 | ||
6f809020 DE |
1162 | 2011-11-05 Doug Evans <[email protected]> |
1163 | ||
1164 | * source.c (forget_cached_source_info_for_objfile): Move call to | |
1165 | objfile->sf->qf->forget_cached_source_info outside of | |
1166 | ALL_OBJFILE_SYMTABS loop. | |
1167 | (forget_cached_source_info): Delete unused variable `s'. | |
1168 | ||
75d12218 JK |
1169 | 2011-11-05 Jan Kratochvil <[email protected]> |
1170 | ||
1171 | * i386-nat.c (dr_ref_count): Remove unused variable. | |
1172 | ||
e565b837 DE |
1173 | 2011-11-05 Doug Evans <[email protected]> |
1174 | ||
1175 | * main.c (captured_main): Set lim_at_start before calling | |
1176 | make_command_stats_cleanup. | |
1177 | ||
0a1c4d10 DE |
1178 | 2011-11-04 Doug Evans <[email protected]> |
1179 | ||
1180 | * utils.c: #include "timeval-utils.h". | |
1181 | (cmd_stats): Rename start_time to start_cpu_time. | |
1182 | New member start_wall_time. | |
1183 | (report_command_stats): Report wall time. | |
1184 | (make_command_stats_cleanup): Record start wall time. | |
1185 | ||
a1d705ee TT |
1186 | 2011-11-04 Tom Tromey <[email protected]> |
1187 | ||
1188 | * cp-namespace.c (cp_lookup_symbol_imports): Reindent. | |
1189 | ||
81de56be RO |
1190 | 2011-11-04 Rainer Orth <[email protected]> |
1191 | ||
1192 | * coff-pe-read.c: Include defs.h before bfd.h. | |
1193 | ||
3ab1ec27 PM |
1194 | 2011-11-04 Phil Muldoon <[email protected]> |
1195 | ||
1196 | PR Python/13345 | |
1197 | ||
1198 | * python/python.c (python_run_simple_file): Expand tilde in path. | |
1199 | ||
cd829959 PM |
1200 | 2011-11-04 Phil Muldoon <[email protected]> |
1201 | ||
1202 | PR Python/13363 | |
1203 | ||
1204 | * python/py-type.c (typy_lookup_type): Do not return a type in | |
1205 | an exception handler. | |
1206 | ||
080ad648 JK |
1207 | 2011-11-03 Jan Kratochvil <[email protected]> |
1208 | Eli Zaretskii <[email protected]> | |
1209 | ||
1210 | * linux-nat.c (_initialize_linux_nat): Improve help | |
1211 | for `info proc stat', `info proc status', `info proc cwd', | |
1212 | `info proc cmdline' and `info proc exe'. | |
1213 | ||
3065dfb6 SS |
1214 | 2011-11-02 Stan Shebs <[email protected]> |
1215 | ||
1216 | String collection for tracepoints. | |
1217 | * NEWS: Mention string collection. | |
1218 | * common/ax.def (tracenz): New bytecode. | |
1219 | * ax-gdb.h (trace_string_kludge): Declare. | |
1220 | * ax-gdb.c: Include valprint.h and c-lang.h. | |
1221 | (trace_string_kludge): New global. | |
1222 | (gen_traced_pop): Add string case. | |
1223 | (agent_command): Add string case. | |
1224 | * tracepoint.h (decode_agent_options): Declare. | |
1225 | * tracepoint.c: Include cli-utils.h. | |
1226 | (decode_agent_options): New function. | |
1227 | (validate_actionline): Call it. | |
1228 | (encode_actions_1): Ditto. | |
1229 | * target.h (struct target_ops): New method to_supports_string_tracing. | |
1230 | (target_supports_string_tracing): New macro. | |
1231 | * target.c (update_current_target): Add to_supports_string_tracing. | |
1232 | * remote.c (struct remote_state): New field string_tracing. | |
1233 | (remote_string_tracing_feature): New function. | |
1234 | (remote_protocol_features): New feature tracenz. | |
1235 | (remote_supports_string_tracing): New function. | |
1236 | (init_remote_ops): Set to_supports_string_tracing. | |
1237 | ||
f179e162 JK |
1238 | 2011-11-02 Pedro Alves <[email protected]> |
1239 | Jan Kratochvil <[email protected]> | |
1240 | ||
1241 | * linux-nat.c: Include cli/cli-utils.h. | |
1242 | (enum info_proc_what): New. | |
1243 | (linux_nat_info_proc_cmd): Rename to ... | |
1244 | (linux_nat_info_proc_cmd_1): ... here. Remove variables argv and all. | |
1245 | New parameter what. Initialize cmdline_f, cwd_f, exe_f, mappings_f, | |
1246 | status_f and stat_f from WHAT. Throw error on extra parameters. | |
1247 | (linux_nat_info_proc_cmd, linux_nat_info_proc_cmd_mappings) | |
1248 | (linux_nat_info_proc_cmd_stat, linux_nat_info_proc_cmd_status) | |
1249 | (linux_nat_info_proc_cmd_cwd, linux_nat_info_proc_cmd_cmdline) | |
1250 | (linux_nat_info_proc_cmd_exe, linux_nat_info_proc_cmd_all): New. | |
1251 | (_initialize_linux_nat): New variable info_proc_cmdlist. Install `info | |
1252 | proc mappings', `info proc stat`, `info proc status', `info proc cwd', | |
1253 | `info proc cmdline', `info proc exe' and `info proc all' as real | |
1254 | subcommands of `info proc'. | |
1255 | ||
7b35ec7f | 1256 | 2011-11-01 Justin Lebar <[email protected]> |
1bfeeb0f JL |
1257 | |
1258 | * Makefile.in: (SFILES): Add skip.c. | |
1259 | (HFILES_NO_SRCDIR): Add skip.h. | |
1260 | (COMMON_OBS): Add skip.o. | |
1261 | * skip.h, skip.c: New. | |
1262 | * breakpoint.h (set_default_breakpoint): Remove. | |
1263 | (get_sal_arch): Declare. | |
1264 | * breakpoint.c: Remove default_breakpoint_valid, | |
1265 | default_breakpoint_address, default_breakpoint_symtab, | |
1266 | default_breakpoint_line, default_breakpoint_pspace variables. | |
1267 | (get_sal_arch): Make public. | |
1268 | (set_default_breakpoint): Remove. | |
1269 | (parse_breakpoint_sals, create_breakpoint, clear_command, | |
1270 | decode_line_spec_1): Remove uses of default_breakpoint variables; | |
1271 | replaced with function calls into stack.c. | |
1272 | * cli/cli-cmds.h: Add cmd_list_element *skiplist. | |
1273 | * cli/cli-cmds.c: Add skiplist. | |
1274 | (init_cmd_lists): Initialize skiplist. | |
1275 | (init_cli_cmds): Fix comment (classes of commands appear in | |
1276 | alphabetical order). | |
1277 | * infrun.c (handle_inferior_event): Add check that we don't step into | |
1278 | a function whose pc is marked for skip. | |
1279 | * stack.c: Declare last_displayed_sal_valid, last_displayed_pspace, | |
1280 | last_displayed_addr, last_displayed_symtab, last_displayed_line | |
1281 | variables. | |
1282 | (set_last_displayed_sal): New static function. | |
1283 | (print_frame_info): Switch call to set_default_breakpoint to call to | |
1284 | set_last_displayed_sal. | |
1285 | (clear_last_displayed_sal, last_displayed_sal_is_valid, | |
1286 | get_last_displayed_pspace, get_last_displayed_addr, | |
1287 | get_last_displayed_symtab, get_last_displayed_line, | |
1288 | get_last_displayed_sal): New public functions. | |
1289 | * stack.h (clear_last_displayed_sal, last_displayed_sal_is_valid, | |
1290 | get_last_displayed_pspace, get_last_displayed_addr, | |
1291 | get_last_displayed_symtab, get_last_displayed_line, | |
1292 | get_last_displayed_sal): Declare. | |
1293 | ||
b60e1588 JL |
1294 | 2011-11-01 Justin Lebar <[email protected]> |
1295 | ||
1296 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
1297 | ||
d31647d2 YQ |
1298 | 2011-10-29 Yao Qi <[email protected]> |
1299 | ||
1300 | * infcmd.c (disconnect_command): Call disconnect_tracing. | |
1301 | ||
b1d96efd JK |
1302 | 2011-10-29 Jan Kratochvil <[email protected]> |
1303 | ||
1304 | Code cleanup. | |
1305 | * symtab.c (skip_prologue_sal): Code reformatting. | |
1306 | ||
4dfb2365 JK |
1307 | 2011-10-28 Jan Kratochvil <[email protected]> |
1308 | ||
1309 | PR symtab/13208 | |
1310 | * jit.c (jit_register_code): Remove unused variable my_cleanups. Check | |
1311 | for NULL from bfd_open_from_target_memory. Fix ownership of NBFD and | |
1312 | SAI. | |
1313 | ||
0e5bf2a8 PA |
1314 | 2011-10-28 Pedro Alves <[email protected]> |
1315 | ||
1316 | * linux-nat.c (linux_nat_filter_event): Remove `options' | |
1317 | parameter, and dead code that used it. If we're handling a | |
1318 | PTRACE_EVENT_EXEC event, and the thread group leader is no longer | |
1319 | in our lwp list, re-add it. | |
1320 | (check_zombie_leaders): New. | |
1321 | (linux_nat_wait_1): Remove `options' and `pid' locals. Always | |
1322 | wait for children with WNOHANG, and always wait for all children. | |
1323 | Don't check for no resumed children upfront. Simplify wait loop. | |
1324 | Check for zombie thread group leaders after handling all wait | |
1325 | statuses. Return TARGET_WAITKIND_NO_RESUMED if there no | |
1326 | unwaited-for children left. | |
1327 | * infrun.c (fetch_inferior_event): Handle TARGET_WAITKIND_NO_RESUMED. | |
1328 | (handle_inferior_event): Handle TARGET_WAITKIND_NO_RESUMED. | |
1329 | (normal_stop): Handle TARGET_WAITKIND_NO_RESUMED. | |
1330 | * target.h (enum target_waitkind) <TARGET_WAITKIND_NO_RESUMED>: New. | |
1331 | ||
821296b7 SA |
1332 | 2011-10-28 Sterling Augustine <[email protected]> |
1333 | ||
1334 | * psymtab.c (map_symbol_filenames_psymtab): Call QUIT. | |
1335 | * symtab.c (free_completion_list): New function. | |
1336 | (do_free_completion_list): Likewise. | |
1337 | (default_make_symbol_completion_list_break_on): New variable | |
1338 | back_to. Call make_cleanup and discard_cleanups. | |
1339 | (make_source_files_completion_list): Likewise. | |
1340 | ||
03c3051a PK |
1341 | 2011-10-28 Paul Koning <[email protected]> |
1342 | ||
1343 | * python/lib/gdb/types.py (deep_items): Rename from deepitems. | |
1344 | * NEWS: Mention deep_items. | |
1345 | ||
8e7ebaf5 PA |
1346 | 2011-10-28 Alen Skondro <[email protected]> |
1347 | ||
8de33dc2 | 1348 | * ser-tcp.c [USE_WIN32API] (ETIMEDOUT): Don't define if already |
8e7ebaf5 PA |
1349 | defined. |
1350 | ||
e0c6ef61 MI |
1351 | 2011-10-27 Meador Inge <[email protected]> |
1352 | ||
1353 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
1354 | ||
b56d6f31 JB |
1355 | 2011-10-27 Joel Brobecker <[email protected]> |
1356 | ||
1357 | * value.h (read_frame_register_value): Add declaration. | |
1358 | * findvar.c (read_frame_register_value): New function. | |
1359 | (value_from_register): Use read_frame_register_value | |
1360 | instead of get_frame_register_value + value_contents_copy | |
1361 | to get value contents. | |
1362 | ||
d234ef5c DE |
1363 | 2011-10-27 Doug Evans <[email protected]> |
1364 | ||
1365 | * cli/cli-cmds.c (source_script_with_search): Pass full path to | |
1366 | source_script_from_stream if it may have been found on the search path. | |
1367 | * python/py-auto-load.c (source_section_scripts): Pass full path to | |
1368 | source_python_script_for_objfile. | |
1369 | * python/python.c (source_python_script): Delete stream parameter. | |
1370 | All callers updated. | |
1371 | (source_python_script_for_objfile): Ditto. | |
1372 | * python/python-internal.h (source_python_script_for_objfile): Update. | |
1373 | * python/python.h (source_python_script): Update. | |
1374 | ||
d849d44f TT |
1375 | 2011-10-27 Tom Tromey <[email protected]> |
1376 | ||
1377 | * ada-lang.h (ada_start_decode_line_1, ada_finish_decode_line_1) | |
1378 | (ada_sals_for_line): Remove declarations. | |
1379 | ||
2231f1fb KP |
1380 | 2011-10-27 Kevin Pouget <[email protected]> |
1381 | ||
1382 | Move unwind reasons to an external .def file | |
1383 | * frame.c (frame_stop_reason_string): Rewrite using | |
1384 | unwind_stop_reasons.def. | |
1385 | * frame.h (enum unwind_stop_reason): Likewise. | |
1386 | * python/py-frame.c (gdbpy_initialize_frames): Likewise. | |
1387 | (gdbpy_frame_stop_reason_string): Use new enum unwind_stop_reason | |
1388 | constants for bound-checking. | |
1389 | * unwind_stop_reasons.def: New file. | |
1390 | * stack.c (backtrace_command_1): Handle UNWIND_FIRST_ERROR as an alias | |
1391 | instead of a distinct value. | |
1392 | ||
f77b9a5d PM |
1393 | 2011-10-27 Phil Muldoon <[email protected]> |
1394 | ||
1395 | PR python/13331 | |
1396 | ||
1397 | * python/py-function.c (fnpy_call): Check 'args' is not NULL. | |
1398 | (convert_values_to_python): Return on Python tuple allocation | |
1399 | failure. Return NULL on value conversion error. | |
1400 | ||
76dce0be PM |
1401 | 2011-10-27 Phil Muldoon <[email protected]> |
1402 | ||
1403 | * python/py-breakpoint.c (bppy_set_enabled): Use TRY_CATCH. | |
1404 | (bppy_set_task): Ditto. | |
1405 | (bppy_delete_breakpoint): Ditto. | |
1406 | * python/py-symbol.c (gdbpy_lookup_symbol): Ditto. | |
1407 | (gdbpy_lookup_global_symbol): Ditto. | |
1408 | * python/py-lazy-string.c (stpy_convert_to_value): Ditto. | |
1409 | * python/py-frame.c (frapy_is_valid): Ditto. | |
1410 | (frame_info_to_frame_object): Ditto. | |
1411 | * python/py-type.c (typy_lookup_type): Ditto. | |
1412 | (typy_getitem): Ditto. | |
1413 | (typy_has_key): Ditto. | |
1414 | (typy_richcompare): Use TRY_CATCH. Do not return Py_NE on error. | |
1415 | ||
f17b6955 JB |
1416 | 2011-10-26 Joel Brobecker <[email protected]> |
1417 | ||
1418 | * gdbarch.h: Regenerate. | |
1419 | ||
86ba1042 JB |
1420 | 2011-10-26 Meador Inge <[email protected]> |
1421 | ||
1422 | * gdbarch.sh (function_list): Use 'pstring' when printing | |
1423 | 'gcore_bfd_target'. | |
1424 | * gdbarch.c: Regenerate. | |
1425 | ||
c34fd852 UW |
1426 | 2011-10-26 Ulrich Weigand <[email protected]> |
1427 | ||
1428 | * regcache.c (registers_changed_ptid): Invalidate thread architecture | |
1429 | and frame caches if PTID refers to all threads of a process. | |
1430 | ||
931bb47f UW |
1431 | 2011-10-26 Ulrich Weigand <[email protected]> |
1432 | ||
1433 | * spu-tdep.c (spu_catch_start): Pass non-NULL breakpoint ops | |
1434 | to create_breakpoint. | |
1435 | ||
88aed45e UW |
1436 | 2011-10-26 Ulrich Weigand <[email protected]> |
1437 | ||
1438 | * ppc-sysv-tdep.c (ppc_sysv_use_opencl_abi): New function. | |
1439 | (ppc_sysv_abi_push_dummy_call): Use it. | |
1440 | (do_ppc_sysv_return_value): Likewise. | |
1441 | (ppc64_sysv_abi_push_dummy_call): Likewise. | |
1442 | (ppc64_sysv_abi_return_value): Likewise. | |
1443 | ||
3eaf3fa2 PK |
1444 | 2011-10-26 Paul Koning <[email protected]> |
1445 | ||
1446 | * python/lib/gdb/types.py (deepitems): New function. | |
1447 | ||
913460fc PK |
1448 | 2011-10-25 Paul Koning <[email protected]> |
1449 | ||
1450 | PR python/13327 | |
1451 | ||
1452 | * python/py-value.c (value_to_value_object): Remove fetching of | |
1453 | the value if it was lazy. | |
1454 | (valpy_get_is_lazy): New function. | |
1455 | (valpy_fetch_lazy): New function. | |
1456 | ||
2b5b9d09 JB |
1457 | 2011-10-24 Joel Brobecker <[email protected]> |
1458 | ||
1459 | * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Do not check | |
1460 | FUNC_TYPE's calling convention if FUNC_TYPE is not a function. | |
1461 | ||
e21ffe51 PA |
1462 | 2011-10-24 Pedro Alves <[email protected]> |
1463 | ||
1464 | * linux-nat.c (linux_handle_extended_wait): When handling a clone | |
1465 | event, in non-stop, if not stopping, make sure the new lwp has | |
1466 | last_resume_kind set to resume_continue. Assert that when we're | |
1467 | resuming the new lwp, its last_resume_kind is resume_continue. | |
1468 | ||
7aee8dc2 PA |
1469 | 2011-10-24 Pedro Alves <[email protected]> |
1470 | ||
1471 | * infrun.c (handle_inferior_event): Don't assume inferior_ptid is | |
1472 | already set when marking the event thread as not executing in | |
1473 | non-stop mode. | |
1474 | ||
4b4e080e PA |
1475 | 2011-10-24 Pedro Alves <[email protected]> |
1476 | ||
1477 | * infrun.c (handle_inferior_event): Add debug output for | |
1478 | TARGET_WAITKIND_NO_HISTORY. | |
1479 | ||
baacfb07 PM |
1480 | 2011-10-24 Phil Muldoon <[email protected]> |
1481 | ||
1482 | * NEWS: Move set/show extended-prompt to "New Options". Expand | |
1483 | description. Fix typos. | |
1484 | ||
8432bc41 PM |
1485 | 2011-10-24 Phil Muldoon <[email protected]> |
1486 | ||
1487 | PR python/13310 | |
1488 | ||
1489 | * python/py-param.c (call_doc_function): Correctly deference on | |
1490 | function exit. | |
1491 | ||
6cda5a20 JB |
1492 | 2011-10-21 Joel Brobecker <[email protected]> |
1493 | ||
1494 | * ada-tasks.c (print_ada_task_info): Fix computation of | |
1495 | number of tasks displayed in command output. | |
1496 | ||
13294f7d JK |
1497 | 2011-10-20 Jan Kratochvil <[email protected]> |
1498 | Ulrich Weigand <[email protected]> | |
1499 | ||
1500 | * dwarf2-frame-tailcall.c: Include dwarf2-frame.h. | |
1501 | (dwarf2_tailcall_prev_register_first): Use dwarf2_frame_cfa. | |
1502 | (dwarf2_tailcall_sniffer_first): Remove variable pc_regnum. Replace | |
1503 | gdbarch_pc_regnum and frame_unwind_register_unsigned by | |
1504 | gdbarch_unwind_pc. | |
1505 | ||
460c1c54 CC |
1506 | 2011-10-20 Cary Coutant <[email protected]> |
1507 | ||
1508 | * dwarf2read.c (dw2_get_file_names): Move adjustment for type | |
1509 | section to... | |
1510 | (partial_read_comp_unit_head): ...here. Add is_debug_type_section | |
1511 | flag. Adjust all callers. | |
1512 | (process_psymtab_comp_unit): Remove adjustment for type section. | |
1513 | ||
a10964d1 AR |
1514 | 2011-10-20 Aleksandar Ristovski <[email protected]> |
1515 | ||
1516 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Changed function | |
1517 | arguments by adding OBJFILE. Instead of getting objfile from | |
1518 | symbol's symtab, use new argument OBJFILE. | |
1519 | * cp-support.h (cp_scan_for_anonymous_namespaces): Changed function | |
1520 | arguments by adding OBJFILE. | |
1521 | * gdb/dwarf2read.c (new_symbol_full): Change call to | |
1522 | cp_scan_for_anonymous_namespaces to match new signature. | |
1523 | * gdb/stabsread.c (define_symbol): Change call to | |
1524 | cp_scan_for_anonymous_namespaces to match new signature. | |
1525 | ||
27ca1a5b PM |
1526 | 2011-10-20 Phil Muldoon <[email protected]> |
1527 | ||
1528 | PR python/13308 | |
1529 | PR python/13309 | |
1530 | ||
1531 | * python/py-breakpoint.c (gdbpy_breakpoints): Fix List reference | |
1532 | leak. | |
1533 | * python/py-inferior.c (gdbpy_inferiors): Fix List reference | |
1534 | leak. Delete unused variables. | |
1535 | ||
9df2fbc4 PM |
1536 | 2011-10-20 Phil Muldoon <[email protected]> |
1537 | ||
1538 | PR python/12656 | |
1539 | ||
1540 | * python/py-frame.c (frapy_read_var): Use const struct *block. | |
1541 | * python/py-type.c (typy_lookup_typename): Likewise. | |
1542 | (typy_lookup_type): Likewise. | |
1543 | (typy_legacy_template_argument): Likewise. | |
1544 | (typy_template_argument): Likewise. | |
1545 | (gdbpy_lookup_type): Likewise. | |
1546 | * python/py-symbol.c (gdbpy_lookup_symbol): Likewise. | |
1547 | * python/py-block.c (blpy_block_object): Likewise. | |
1548 | (blpy_iter): Likewise. | |
1549 | (blpy_get_start): Likewise. | |
1550 | (blpy_get_end): Likewise. | |
1551 | (blpy_get_function): Likewise. | |
1552 | (blpy_get_superblock): Likewise. | |
1553 | (set_block): Likewise. | |
1554 | (block_to_block_object): Likewise. | |
1555 | (block_object_to_block): Likewise. | |
1556 | (blpy_is_valid): Likewise. | |
1557 | (blpy_get_global_block): New function. | |
1558 | (blpy_get_static_block): New function. | |
1559 | (blpy_is_global): New function. | |
1560 | (blpy_is_static): New function. | |
1561 | * blockframe.c (block_innermost_frame): Likewise. | |
1562 | * valops.c (value_of_variable): Likewise. | |
1563 | * frame.h: Update prototypes. | |
1564 | * python/python-internal.h: Likewise. | |
1565 | * value.h: Likewise. | |
1566 | ||
4743b735 CC |
1567 | 2011-10-19 Cary Coutant <[email protected]> |
1568 | ||
1569 | * dwarf2read.c (create_debug_types_hash_table): Fix size of | |
1570 | type_offset field. | |
1571 | ||
6caca83c CC |
1572 | 2011-10-19 Cary Coutant <[email protected]> |
1573 | ||
1574 | * dwarf2read.c (peek_abbrev_code): New function. | |
1575 | (dw2_get_file_names): Check for dummy compilation units. | |
1576 | (create_debug_types_hash_table): Likewise. | |
1577 | (process_psymtab_comp_unit): Likewise. | |
1578 | (load_partial_comp_unit): Likewise. | |
1579 | (load_full_comp_unit): Likewise. | |
1580 | ||
43136979 AR |
1581 | 2011-10-18 Aleksandar Ristovski <[email protected]> |
1582 | ||
1583 | * solib-svr4.c (read_program_header): New variables pt_phdr, pt_phdr_p, | |
1584 | initialize them from target PT_PHDR p_vaddr, relocate sect_addr by | |
1585 | pt_phdr if PT_PHDR was found. | |
1586 | ||
0a07729b TT |
1587 | 2011-10-17 Joost van der Sluis <[email protected]> |
1588 | ||
1589 | * gdbtypes.h: Added TYPE_SAFE_NAME macro to get the name of a | |
1590 | type or "<unnamed type"> when there is no name assigned. | |
1591 | * gnu-v3-abi.c (gnuv3_rtti_type): Use TYPE_SAFE_NAME macro to | |
1592 | avoid a sigint when no name is assigned. | |
1593 | ||
21ae7a4d JK |
1594 | 2011-10-17 Jan Kratochvil <[email protected]> |
1595 | ||
1596 | Revert: | |
1597 | 2011-07-27 Jan Kratochvil <[email protected]> | |
1598 | * dwarf2expr.c (ctx_no_read_reg): New function. | |
1599 | * dwarf2expr.h (ctx_no_read_reg): New declaration. | |
1600 | * dwarf2read.c (read_2_signed_bytes, read_4_signed_bytes): Remove. | |
1601 | (decode_locdesc_read_mem, decode_locdesc_ctx_funcs): New. | |
1602 | (decode_locdesc): Replace by a caller of dwarf_expr_eval. | |
1603 | ||
32d1c362 DE |
1604 | 2011-10-16 Doug Evans <[email protected]> |
1605 | ||
1606 | * NEWS: Document python gdb.printing.register_pretty_printer's new | |
1607 | `replace' parameter. | |
1608 | ||
da096638 KS |
1609 | 2011-10-14 Keith Seitz <[email protected]> |
1610 | ||
1611 | PR c++/13225 | |
1612 | * eval.c (evaluate_subexp_standard): Do not construct | |
1613 | an array of types; pass the value array directly to | |
1614 | find_overload_match. | |
1615 | * gdbtypes.h (NULL_POINTER_CONVERSION_BADNESS): Declare. | |
1616 | (rank_function): Take an array of values instead of types. | |
1617 | (rank_one_type): Add struct value * parameter. | |
1618 | * gdbtypes.c (NULL_POINTER_CONVERSION_BADNESS): Define. | |
1619 | (rank_function): For each argument, pass the argument's | |
1620 | value to rank_one_type. | |
1621 | (rank_one_type): Add VALUE parameter. | |
1622 | If the parameter type is a pointer and the argument type | |
1623 | is an integer, return NULL_POINTER_CONVERSION_BADNESS if | |
1624 | VALUE is zero. | |
1625 | Update all calls to rank_one_type, passing NULL for new | |
1626 | VALUE parameter. | |
1627 | * valarith.c (value_user_defined_cpp_op): Do not construct | |
1628 | an array of types; pass the value array directly to | |
1629 | find_overload_match. | |
1630 | * valops.c (find_overload_method_list): Take an array of | |
1631 | values instead of types. | |
1632 | Save the type of OBJP for later use. | |
1633 | Update calls to find_oload_champ, and find_oload_champ_namespace. | |
1634 | (find_oload_champ_namespace): Take an array of values instead | |
1635 | of types. | |
1636 | (find_oload_champ_namespace_loop): Likewise. | |
1637 | (find_oload_champ): Likewise. | |
1638 | (classify_oload_match): Inspect all arguments | |
1639 | until INCOMPATIBLE is found. Return the worst badness found | |
1640 | otherwise. | |
1641 | (compare_parameters): Update call to rank_one_type. | |
1642 | * value.h (find_overload_match): Take an array of values instead | |
1643 | of types. | |
1644 | ||
3957565a JK |
1645 | 2011-10-14 Jan Kratochvil <[email protected]> |
1646 | ||
1647 | Drop lazy lm_info reading. | |
1648 | * solib-svr4.c (struct lm_info): Remove field lm. New fields l_addr_p, | |
1649 | l_addr_inferior, l_ld, l_next, l_prev and l_name. | |
1650 | (lm_info_read): New function. | |
1651 | (lm_addr_from_link_map, lm_dynamic_from_link_map): Remove. | |
1652 | (lm_addr_check): Use l_addr_p. No longer use lm_addr_from_link_map and | |
1653 | lm_dynamic_from_link_map. | |
1654 | (lm_next, lm_prev, lm_name): Remove. | |
1655 | (svr4_keep_data_in_core): Use lm_info_read, drop the lm_info entries | |
1656 | initialization incl. read_memory. No longer use lm_name. | |
1657 | (svr4_free_so): Drop lm_info->lm freeing. | |
1658 | (svr4_default_sos): Initialize lminfo with zeroes. Use l_addr_p. Drop | |
1659 | explicit lm_addr and lm initialization. | |
1660 | (svr4_read_so_list): Use lm_info_read, drop the initailization of | |
1661 | fields by hand, incl. read_memory. No longer use lm_next, lm_prev and | |
1662 | lm_name. | |
1663 | ||
cb08cc53 JK |
1664 | 2011-10-14 Jan Kratochvil <[email protected]> |
1665 | Paul Pluzhnikov <[email protected]> | |
1666 | ||
1667 | * defs.h (struct so_list): New forward declaration. | |
1668 | (make_cleanup_free_so): New declaration. | |
1669 | * solib-svr4.c (ignore_first_link_map_entry): Remove. | |
1670 | (svr4_free_so): Move the function here from downwards. Handle NULL | |
1671 | so->lm_info. | |
1672 | (svr4_free_library_list): New. | |
1673 | (svr4_read_so_list): New, moved here code from svr4_current_sos. | |
1674 | Use more cleanups. Use new parameter ignore_first instead of | |
1675 | ignore_first_link_map_entry. | |
1676 | (svr4_current_sos): New variable ignore_first, initialize it. New | |
1677 | variable back_to, use it for svr4_free_library_list protection. | |
1678 | (svr4_free_so): Remove - move upwards. | |
1679 | * utils.c: Include solist.h. | |
1680 | (do_free_so, make_cleanup_free_so): New functions. | |
1681 | ||
22c05d8a JK |
1682 | 2011-10-13 Jan Kratochvil <[email protected]> |
1683 | ||
1684 | Fix internal error regression. | |
1685 | * value.c (value_primitive_field): Handle value_optimized_out. Move | |
1686 | packed bitfields comment. | |
1687 | ||
d930d06e TT |
1688 | 2011-10-13 Tom Tromey <[email protected]> |
1689 | ||
1690 | * python/py-breakpoint.c (gdbpy_breakpoint_deleted): Ensure GIL is | |
1691 | always released. | |
1692 | ||
2ff6b080 TT |
1693 | 2011-10-13 Tom Tromey <[email protected]> |
1694 | ||
1695 | * python/py-type.c (typy_has_key): Make 'field' const. | |
1696 | ||
d6c5869f LM |
1697 | 2011-10-13 Luis Machado <[email protected]> |
1698 | ||
1699 | * remote.c (remote_save_trace_data): Invert comparison. | |
1700 | ||
a70633a2 LM |
1701 | 2011-10-13 Luis Machado <[email protected]> |
1702 | ||
1703 | * tracepoint.c (trace_save_command): Use filename instead of | |
1704 | args when printing. | |
1705 | ||
e103e986 JK |
1706 | 2011-10-13 Jan Kratochvil <[email protected]> |
1707 | ||
1708 | * dwarf2read.c (dwarf2_fetch_die_location_block): Initialize .data even | |
1709 | if .size is 0. | |
1710 | ||
db24da6d YQ |
1711 | 2011-10-13 Yao Qi <[email protected]> |
1712 | ||
1713 | PR gdb/12703 | |
1714 | * arm-tdep.c (thumb_analyze_prologue): Call thumb_insn_size to check | |
1715 | whether insn is a 32-bit Thumb-2 instruction. | |
1716 | (thumb_in_function_epilogue_p): Likewise. | |
1717 | (thumb_get_next_pc_raw): Likewise. | |
1718 | (arm_breakpoint_from_pc): Likewise. | |
1719 | ||
1d6edc3c JK |
1720 | 2011-10-12 Jan Kratochvil <[email protected]> |
1721 | ||
1722 | Fix empty DWARF expressions DATA vs. SIZE conditionals. | |
1723 | * dwarf2loc.c (dwarf2_find_location_expression): Clear *LOCEXPR_LENGTH. | |
1724 | (dwarf_expr_frame_base_1): Indicate unavailability via zero *LENGTH. | |
1725 | (locexpr_tracepoint_var_ref): Check only zero SIZE, not zero DATA. | |
1726 | (loclist_read_variable, loclist_tracepoint_var_ref): Do not check for | |
1727 | zero DATA. | |
1728 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Comment DATA vs. SIZE | |
1729 | validity. | |
1730 | * dwarf2read.c (struct dwarf_block): Comment DATA validity. | |
1731 | (dwarf2_fetch_die_location_block, dwarf2_symbol_mark_computed): Do not | |
1732 | clear DATA on zero SIZE. | |
1733 | ||
adabb602 DE |
1734 | 2011-10-12 Doug Evans <[email protected]> |
1735 | ||
1736 | * dwarf2read.c (partial_read_comp_unit_head): Set header->offset, | |
1737 | header->first_die_offset here. All callers updated. | |
1738 | ||
5048e516 JK |
1739 | 2011-10-12 Jan Kratochvil <[email protected]> |
1740 | ||
1741 | Fix compatibility with texinfo versions older than 4.12. | |
1742 | * Makefile.in (MAKEINFO): Set to @MAKEINFO@. | |
1743 | (MAKEINFOFLAGS, MAKEINFO_EXTRA_FLAGS, MAKEINFO_CMD): New. | |
1744 | (MAKEHTMLFLAGS): Use MAKEINFO_CMD. | |
1745 | (FLAGS_TO_PASS): Add MAKEINFOFLAGS and MAKEINFO_EXTRA_FLAGS. | |
1746 | * configure: Regenerate. | |
1747 | * configure.ac (MAKEINFO): Find it, from libiberty/configure.ac. | |
1748 | (MAKEINFOFLAGS): Pre-set it to --split-size=5000000. | |
1749 | (MAKEINFO_EXTRA_FLAGS): New test for -DHAVE_MAKEINFO_CLICK. | |
1750 | ||
0574c78f GB |
1751 | 2011-10-12 Gary Benson <[email protected]> |
1752 | ||
1753 | * breakpoint.h (pc_at_non_inline_function): Declare. | |
1754 | * breakpoint.c (is_non_inline_function, | |
1755 | pc_at_non_inline_function): New functions. | |
1756 | * infrun.c (handle_inferior_event): Don't call skip_inline_frames | |
1757 | if the stop is at a location where functions cannot be inlined. | |
1758 | ||
12d9289a PA |
1759 | 2011-10-12 Pedro Alves <[email protected]> |
1760 | ||
1761 | * linux-nat.c (stop_and_resume_callback): Don't re-resume LWPs if | |
1762 | the core wanted them stopped, or if they now have a pending event | |
1763 | to report. | |
ecf8e7f5 PA |
1764 | (linux_nat_filter_event): New parameter `new_pending_p'. Pass it |
1765 | down to stop_and_resume_callback. | |
1766 | (linux_nat_wait_1): Always clear `options' when retrying. Handle | |
1767 | having new pending events after calling linux_nat_filter_event. | |
12d9289a | 1768 | |
96408a79 SA |
1769 | 2011-10-11 Sterling Augustine <[email protected]> |
1770 | ||
1771 | * dwarf2read.c: Undo inadvertent changes in previous commit. | |
1772 | ||
9c6c53f7 SA |
1773 | 2011-10-11 Sterling Augustine <[email protected]> |
1774 | ||
1775 | * dwarf2read.c (partial_die_parent_scope): Rearrange conditional | |
1776 | logic. | |
1777 | ||
0e8aefe7 UW |
1778 | 2011-10-11 Ulrich Weigand <[email protected]> |
1779 | ||
1780 | * symfile.c (separate_debug_file_exists): Fix condition. | |
1781 | ||
349d1385 DM |
1782 | 2011-10-11 David S. Miller <[email protected]> |
1783 | ||
1784 | * regcache.c (regcache_restore): Do not write unavailable regs, mark | |
1785 | static. | |
1786 | * regcache.h (regcache_restore): Remove declaration. | |
1787 | ||
205c306f DM |
1788 | * gdbarch.sh: New field 'long_long_align_bit'. |
1789 | * gdbarch.c, gdbarch.h: Regenerate. | |
1790 | * i386-tdep.c (i386_gdbarch_init): Set long_long_align_bit to 32. | |
1791 | * jit.c (jit_read_code_entry): Use it to determine correct size offset. | |
1792 | ||
941b2081 JK |
1793 | 2011-10-11 Jan Kratochvil <[email protected]> |
1794 | ||
1795 | Revert this part of: | |
1796 | 2011-10-09 Jan Kratochvil <[email protected]> | |
1797 | Support @entry in input expressions. | |
1798 | * c-exp.y (ENTRY, unknown_cpp_name): New. | |
1799 | (exp: UNKNOWN_CPP_NAME): Change to `exp: unknown_cpp_name'. | |
1800 | (unknown_cpp_name: UNKNOWN_CPP_NAME, unknown_cpp_name: ENTRY) | |
1801 | (variable: name_not_typename '@' ENTRY, name: ENTRY) | |
1802 | (name_not_typename: ENTRY): New. | |
1803 | (yylex): Recognize ENTRY. | |
1804 | ||
1805 | Reimplement @entry in input expressions. | |
1806 | * c-exp.y (ENTRY): New. | |
1807 | (variable: name_not_typename ENTRY): New. | |
1808 | (lex_one_token): Optionally return ENTRY instead of the '@' lex. | |
1809 | ||
3c4d7e12 PA |
1810 | 2011-10-11 Pedro Alves <[email protected]> |
1811 | ||
1812 | * linux-nat.c (linux_handle_extended_wait): Always dump both the | |
1813 | parent and child's pids as soon as we detect a clone event. | |
1814 | Adjust another debug message. | |
1815 | ||
ea23808b PA |
1816 | 2011-10-11 Pedro Alves <[email protected]> |
1817 | ||
1818 | * linux-nat.c (linux_lwp_is_zombie): Return early if the LWP is | |
1819 | not zombie instead of reading the whole file. | |
1820 | ||
904578ed JK |
1821 | 2011-10-11 Jan Kratochvil <[email protected]> |
1822 | ||
1823 | Fix separate debuginfo warning with "remote:" access. | |
1824 | * objfiles.h (struct objfile): New fields crc32 and crc32_p. | |
1825 | * symfile.c (get_file_crc): New function with the code moved from ... | |
1826 | (separate_debug_file_exists): ... this function, specifically variables | |
1827 | buffer and count. New variable verified_as_different, set it. Remove | |
1828 | file_crc initialization. Verify also if both files are not the same | |
1829 | manually, if needed. | |
1830 | ||
51370a33 YQ |
1831 | 2011-10-11 Yao Qi <[email protected]> |
1832 | ||
1833 | * arm-tdep.c (arm_get_next_pc_raw): Use read_memory_unsigned_integer | |
1834 | to get address. | |
1835 | ||
0838fb57 DE |
1836 | 2011-10-10 Doug Evans <[email protected]> |
1837 | ||
1838 | * linux-thread-db.c (thread_db_new_objfile): Only try to load | |
1839 | libthread_db when we load libpthread or the main symbol file. | |
1840 | (thread_db_inferior_created): New function. | |
1841 | (_initialize_thread_db): Attach inferior_created observer. | |
1842 | * linux-nat.c (linux_child_post_attach): Remove call to | |
1843 | check_for_thread_db. | |
1844 | (linux_child_post_startup_inferior): Ditto. | |
1845 | * objfiles.h (OBJF_MAINLINE): Define. | |
1846 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Pass it to | |
1847 | allocate_objfile when appropriate. | |
1848 | ||
623bd5b7 UW |
1849 | 2011-10-10 Ulrich Weigand <[email protected]> |
1850 | ||
1851 | PR gdb/13218 | |
1852 | * arm-linux-nat.c (os_version, os_major, os_minor, os_release): | |
1853 | Remove unused variables. | |
1854 | (get_linux_version): Remove function. | |
1855 | (_initialize_arm_linux_nat): Do not call it. | |
1856 | ||
79395f92 PA |
1857 | 2011-10-10 Pedro Alves <[email protected]> |
1858 | ||
1859 | * linux-nat.c (linux_handle_extended_wait): Don't resume the new | |
1860 | new clone lwp if the core asked it to stop. Don't pass on | |
1861 | unexpected signals to the new clone; leave them pending instead. | |
1862 | ||
eff3df78 PA |
1863 | 2011-10-10 Pedro Alves <[email protected]> |
1864 | ||
1865 | * linux-nat.c (resume_lwp): Remove redundant debug output. | |
1866 | ||
4b60df3d PA |
1867 | 2011-10-10 Pedro Alves <[email protected]> |
1868 | ||
1869 | * linux-nat.c (linux_nat_wait_1): Copy the event lwp's | |
1870 | last_resume_kind before clearing it, and use the copy instead to | |
1871 | determine whether to report a SIGSTOP as TARGET_SIGNAL_0. Use | |
1872 | resume_clear_callback in the non-stop path too. | |
1873 | ||
6501578c YQ |
1874 | 2011-10-09 Yao Qi <[email protected]> |
1875 | ||
1876 | * valprint.c (value_check_printable): Add one parameter OPTIONS. | |
1877 | Honor OPTIONS and VAL's type. | |
1878 | (common_val_print, value_print): Update to pass one more parameter. | |
1879 | ||
5a56e9c5 DE |
1880 | 2011-10-09 Doug Evans <[email protected]> |
1881 | ||
1882 | Add new "alias" command. | |
1883 | * NEWS: Mention new command. | |
1884 | * command.h (valid_user_defined_cmd_name_p): Declare. | |
1885 | * defs.h (make_cleanup_dyn_string_delete): Declare. | |
1886 | * utils.c: #include "dyn-string.h". | |
1887 | (do_dyn_string_delete, make_cleanup_dyn_string_delete): New functions. | |
1888 | * cli/cli-cmds.c: #include "dyn-string.h". | |
1889 | (argv_to_dyn_string, valid_command_p, alias_command): New functions. | |
1890 | (init_cli_cmds): Add new command. | |
1891 | * cli/cli-decode.c (valid_user_defined_cmd_name_p): New function. | |
1892 | ||
509f0fd9 JK |
1893 | 2011-10-09 Jan Kratochvil <[email protected]> |
1894 | ||
1895 | Fix compatibility with older GCCs. | |
1896 | * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Initialize parameter. | |
1897 | * stack.c (read_frame_arg): Initialize val_deref. | |
1898 | ||
2bda9cc5 JK |
1899 | 2011-10-09 Jan Kratochvil <[email protected]> |
1900 | ||
1901 | Entry values NEWS entries, DWARF disassembly support. | |
1902 | * NEWS: New entry values entry. | |
1903 | (set print entry-values, show print entry-values) | |
1904 | (set debug entry-values, show debug entry-values): New entries. | |
1905 | * dwarf2loc.c (disassemble_dwarf_expression): New parameters start and | |
1906 | indent. Remove variable start. Move header printing out. Respect | |
1907 | INDENT. Support DW_OP_GNU_entry_value. | |
1908 | (locexpr_describe_location_1): Move the header printing here, extend | |
1909 | the disassemble_dwarf_expression passed parameters. | |
1910 | ||
a471c594 JK |
1911 | 2011-10-09 Jan Kratochvil <[email protected]> |
1912 | ||
1913 | Display @entry parameter values even for references. | |
1914 | * ada-valprint.c (ada_val_print_1) <TYPE_CODE_REF>: Try also | |
1915 | coerce_ref_if_computed. | |
1916 | * c-valprint.c (c_val_print) <TYPE_CODE_REF>: Likewise. | |
1917 | * dwarf2expr.c (dwarf_block_to_dwarf_reg_deref): New function. | |
1918 | (execute_stack_op) <DW_OP_GNU_entry_value>: Add -1 deref_size to the | |
1919 | existing push_dwarf_reg_entry_value call. Add new detection calling | |
1920 | dwarf_block_to_dwarf_reg_deref. Update the error message. | |
1921 | (ctx_no_push_dwarf_reg_entry_value): New parameter deref_size. | |
1922 | * dwarf2expr.h | |
1923 | (struct dwarf_expr_context_funcs) <push_dwarf_reg_entry_value>: Add new | |
1924 | parameter deref_size, describe it in the comment. | |
1925 | (ctx_no_push_dwarf_reg_entry_value): Add new parameter deref_size. | |
1926 | (dwarf_block_to_dwarf_reg_deref): New declaration. | |
1927 | * dwarf2loc.c (dwarf_entry_parameter_to_value): Add new parameter | |
1928 | deref_size, describe it in the function comment. New variables | |
1929 | data_src and size, fetch the alternative block accoring to DEREF_SIZE. | |
1930 | (dwarf_expr_push_dwarf_reg_entry_value): Add new parameter deref_size, | |
1931 | describe it in the function comment. Fetch the alternative block | |
1932 | accoring to DEREF_SIZE. | |
1933 | (entry_data_value_coerce_ref, entry_data_value_copy_closure) | |
1934 | (entry_data_value_free_closure, entry_data_value_funcs): New. | |
1935 | (value_of_dwarf_reg_entry): New variables checked_type, target_type, | |
1936 | outer_val, target_val, val and addr. Try to fetch and create also | |
1937 | referenced value content. | |
1938 | (pieced_value_funcs): NULL value for coerce_ref. | |
1939 | (needs_dwarf_reg_entry_value): Add new parameter deref_size. | |
1940 | * f-valprint.c (f_val_print) <TYPE_CODE_REF>: Try also | |
1941 | coerce_ref_if_computed. | |
1942 | * opencl-lang.c (opencl_value_funcs): NULL value for coerce_ref. | |
1943 | * p-valprint.c (pascal_val_print) <TYPE_CODE_REF>: Likewise. | |
1944 | * stack.c (read_frame_arg): Compare also dereferenced values. | |
1945 | * value.c (value_computed_funcs): Make the parameter v const, use | |
1946 | value_lval_const for it. | |
1947 | (value_lval_const, coerce_ref_if_computed): New function. | |
1948 | (coerce_ref): New variable retval. Call also coerce_ref_if_computed. | |
1949 | * value.h (struct lval_funcs): New field coerce_ref. | |
1950 | (value_computed_funcs): Make the parameter v const. | |
1951 | (value_lval_const, coerce_ref_if_computed): New declarations. | |
1952 | ||
36b11add JK |
1953 | 2011-10-09 Jan Kratochvil <[email protected]> |
1954 | ||
1955 | Support @entry in input expressions. | |
1956 | * c-exp.y (ENTRY, unknown_cpp_name): New. | |
1957 | (exp: UNKNOWN_CPP_NAME): Change to `exp: unknown_cpp_name'. | |
1958 | (unknown_cpp_name: UNKNOWN_CPP_NAME, unknown_cpp_name: ENTRY) | |
1959 | (variable: name_not_typename '@' ENTRY, name: ENTRY) | |
1960 | (name_not_typename: ENTRY): New. | |
1961 | (yylex): Recognize ENTRY. | |
1962 | * eval.c (evaluate_subexp_standard): Support also OP_VAR_ENTRY_VALUE. | |
1963 | * expprint.c (print_subexp_standard, dump_subexp_body_standard): | |
1964 | Likewise. | |
1965 | * parse.c (operator_length_standard): Likewise. | |
1966 | * std-operator.def: New operator OP_VAR_ENTRY_VALUE. | |
1967 | ||
3343315b JK |
1968 | 2011-10-09 Jan Kratochvil <[email protected]> |
1969 | ||
1970 | Display referenced values in backtraces. | |
1971 | * printcmd.c (print_variable_and_value): Set OPTS.DEREF_REF to 1. | |
1972 | * stack.c (print_frame_arg): Likewise. | |
1973 | ||
ac71a68c JK |
1974 | 2011-10-09 Jan Kratochvil <[email protected]> |
1975 | ||
1976 | Make some lval_funcs methods to default on NULL. | |
1977 | * valops.c (value_fetch_lazy): Check if lval_computed read method is | |
1978 | NULL. | |
1979 | (value_assign): Check if lval_computed write method is NULL. | |
1980 | * value.h (struct lval_funcs): Comment NULL values for read and write | |
1981 | methods. | |
1982 | ||
e18b2753 JK |
1983 | 2011-10-09 Jan Kratochvil <[email protected]> |
1984 | ||
1985 | Display @entry parameter values (without references). | |
1986 | * dwarf2expr.c (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): | |
1987 | New functions. | |
1988 | * dwarf2expr.h (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): | |
1989 | New declarations. | |
1990 | * dwarf2loc.c (dwarf2_find_location_expression): Support location list | |
1991 | entry record. | |
1992 | (dwarf_entry_parameter_to_value, value_of_dwarf_reg_entry) | |
1993 | (value_of_dwarf_block_entry, locexpr_read_variable_at_entry): New | |
1994 | functions. | |
1995 | (dwarf2_locexpr_funcs): Install locexpr_read_variable_at_entry. | |
1996 | (loclist_read_variable_at_entry): New function. | |
1997 | (dwarf2_loclist_funcs): Install loclist_read_variable_at_entry. | |
1998 | * dwarf2read.c (read_call_site_scope): Support also DW_OP_fbreg in | |
1999 | DW_AT_location, call dwarf_block_to_sp_offset for it. | |
2000 | * frame.h (print_entry_values_no, print_entry_values_only) | |
2001 | (print_entry_values_preferred, print_entry_values_if_needed) | |
2002 | (print_entry_values_both, print_entry_values_compact) | |
2003 | (print_entry_values_default, print_entry_values): New declarations. | |
2004 | (struct frame_arg): New field entry_kind. | |
2005 | (read_frame_arg): New parameter entryargp. | |
2006 | * mi/mi-cmd-stack.c (list_arg_or_local): New gdb_assert for | |
2007 | arg->entry_kind. Optionally print the `@entry' suffix. | |
2008 | (list_args_or_locals): New variable entryarg, initialize it. | |
2009 | Initialize also entry_kind of arg and entryarg. Conditionalize | |
2010 | list_arg_or_local for arg, add list_arg_or_local for entryarg. Call | |
2011 | xfree for entryarg.error. | |
2012 | * stack.c (print_entry_values_no, print_entry_values_only) | |
2013 | (print_entry_values_preferred, print_entry_values_if_needed) | |
2014 | (print_entry_values_both, print_entry_values_compact) | |
2015 | (print_entry_values_default, print_entry_values_choices) | |
2016 | (print_entry_values): New variables. | |
2017 | (print_frame_arg): New gdb_assert for arg->entry_kind. Optionally | |
2018 | print the `@entry' suffix, possibly in combination for | |
2019 | print_entry_values_compact. | |
2020 | (read_frame_arg): New parameter entryargp, new variables entryval, | |
2021 | entryval_error and val_equal. Read in also entryargp, respect | |
2022 | print_entry_values, compare the values using val_equal, fill in also | |
2023 | argp->entry_kind (together with entryargp->entry_kind). | |
2024 | (print_frame_args): New variable entryarg, initialize it. | |
2025 | Conditionalize print_frame_arg for arg, add print_frame_arg for | |
2026 | entryarg. Call xfree for entryarg.error. | |
2027 | (_initialize_stack): Call add_setshow_enum_cmd for `entry-values'. | |
2028 | * symtab.h (struct symbol_computed_ops): New field | |
2029 | read_variable_at_entry. | |
2030 | ||
93d86cef JK |
2031 | 2011-10-09 Jan Kratochvil <[email protected]> |
2032 | ||
2033 | Code reshuffle. | |
2034 | * frame.h (struct frame_arg): New definition. | |
2035 | (read_frame_arg): New declaration. | |
2036 | * mi/mi-cmd-stack.c (list_arg_or_local): New functiom from ... | |
2037 | (list_args_or_locals): ... the code here. New variable arg, call | |
2038 | read_frame_arg and list_arg_or_local with it. Unify the | |
2039 | PRINT_SIMPLE_VALUES and PRINT_ALL_VALUES cases. Call xfree for | |
2040 | arg.error. | |
2041 | * stack.c (print_frame_arg): New functiom from the code of | |
2042 | print_frame_args. | |
2043 | (read_frame_arg): New function. | |
2044 | (print_frame_args): Remove variable val. New variable arg, call | |
2045 | read_frame_arg and print_frame_arg with it. Call xfree for arg.error. | |
2046 | ||
2d6c5dc2 JK |
2047 | 2011-10-09 Jan Kratochvil <[email protected]> |
2048 | ||
2049 | Protect entry values against self tail calls. | |
2050 | * dwarf2loc.c (VEC (CORE_ADDR), func_verify_no_selftailcall): New. | |
2051 | (dwarf_expr_dwarf_reg_entry_value): Call func_verify_no_selftailcall. | |
2052 | ||
111c6489 JK |
2053 | 2011-10-09 Jan Kratochvil <[email protected]> |
2054 | ||
2055 | Recognize virtual tail call frames. | |
2056 | * Makefile.in (SFILES): Add dwarf2-frame-tailcall.c. | |
2057 | (HFILES_NO_SRCDIR): Add dwarf2-frame-tailcall.h. | |
2058 | (COMMON_OBS): Add dwarf2-frame-tailcall.o. | |
2059 | * dwarf2-frame-tailcall.c: New file. | |
2060 | * dwarf2-frame-tailcall.h: New file. | |
2061 | * dwarf2-frame.c: Include dwarf2-frame-tailcall.h. | |
2062 | (execute_cfa_program): New function comment. Return INSN_PTR. Reset | |
2063 | REGS.PREV only after CIE execution. | |
2064 | (struct dwarf2_frame_cache): New field tailcall_cache. | |
2065 | (dwarf2_frame_cache): New variables entry_pc, entry_cfa_sp_offset, | |
2066 | entry_cfa_sp_offset_p and instr. Execute FDE instructions in two | |
2067 | parts, try to find entry_cfa_sp_offset. Call | |
2068 | dwarf2_tailcall_sniffer_first. | |
2069 | (dwarf2_frame_prev_register): Call dwarf2_tailcall_prev_register_first | |
2070 | when appropriate. | |
2071 | (dwarf2_frame_dealloc_cache): New function. | |
2072 | (dwarf2_frame_sniffer): Preinitialize cache by dwarf2_frame_cache. | |
2073 | (dwarf2_frame_unwind): Install dwarf2_frame_dealloc_cache. | |
2074 | (dwarf2_signal_frame_unwind): Do not install dwarf2_frame_dealloc_cache. | |
2075 | (dwarf2_append_unwinders): Add dwarf2_tailcall_frame_unwind. | |
2076 | (dwarf2_frame_cfa): Support also dwarf2_tailcall_frame_unwind. | |
2077 | * dwarf2loc.c (func_addr_to_tail_call_list) | |
2078 | (tailcall_dump, call_sitep, VEC (call_sitep), chain_candidate) | |
2079 | (call_site_find_chain_1, call_site_find_chain): New. | |
2080 | * dwarf2loc.h (struct call_site_chain): New. | |
2081 | (call_site_find_chain): New declaration. | |
2082 | * frame.c (get_frame_address_in_block): Support also TAILCALL_FRAME. | |
2083 | * frame.h (enum frame_type): New entry TAILCALL_FRAME. | |
2084 | * python/py-frame.c (gdbpy_initialize_frames): Add TAILCALL_FRAME. | |
2085 | * stack.c (frame_info): Support also TAILCALL_FRAME. | |
2086 | ||
bb984ff1 JK |
2087 | 2011-10-09 Jan Kratochvil <[email protected]> |
2088 | ||
2089 | Tail call sites reader implementation. | |
2090 | * dwarf2read.c (read_call_site_scope): Recognize DW_AT_GNU_tail_call, | |
2091 | fill in TYPE_TAIL_CALL_LIST. | |
2092 | * gdbtypes.h (struct func_type): New field tail_call_list. | |
2093 | (struct call_site): New field tail_call_next. | |
2094 | (TYPE_TAIL_CALL_LIST): New definition. | |
2095 | ||
8e3b41a9 JK |
2096 | 2011-10-09 Jan Kratochvil <[email protected]> |
2097 | ||
2098 | Implement basic support for DW_TAG_GNU_call_site. | |
2099 | * block.c: Include gdbtypes.h and exceptions.h. | |
2100 | (call_site_for_pc): New function. | |
2101 | * block.h (call_site_for_pc): New declaration. | |
2102 | * defs.h: Include hashtab.h. | |
2103 | (make_cleanup_htab_delete, core_addr_hash, core_addr_eq): New | |
2104 | declarations. | |
2105 | * dwarf2-frame.c (dwarf2_frame_ctx_funcs): Install | |
2106 | ctx_no_push_dwarf_reg_entry_value. | |
2107 | * dwarf2expr.c (read_uleb128, read_sleb128): Support R as NULL. | |
2108 | (dwarf_block_to_dwarf_reg): New function. | |
2109 | (execute_stack_op) <DW_OP_GNU_entry_value>: Implement it. | |
2110 | (ctx_no_push_dwarf_reg_entry_value): New function. | |
2111 | * dwarf2expr.h (struct dwarf_expr_context_funcs): New field | |
2112 | push_dwarf_reg_entry_value. | |
2113 | (ctx_no_push_dwarf_reg_entry_value, dwarf_block_to_dwarf_reg): New | |
2114 | declarations. | |
2115 | * dwarf2loc.c: Include gdbcmd.h. | |
2116 | (dwarf_expr_ctx_funcs): New forward declaration. | |
2117 | (entry_values_debug, show_entry_values_debug, call_site_to_target_addr) | |
2118 | (dwarf_expr_reg_to_entry_parameter) | |
2119 | (dwarf_expr_push_dwarf_reg_entry_value): New. | |
2120 | (dwarf_expr_ctx_funcs): Install dwarf_expr_push_dwarf_reg_entry_value. | |
2121 | (dwarf2_evaluate_loc_desc_full): Handle NO_ENTRY_VALUE_ERROR. | |
2122 | (needs_dwarf_reg_entry_value): New function. | |
2123 | (needs_frame_ctx_funcs): Install it. | |
2124 | (_initialize_dwarf2loc): New function. | |
2125 | * dwarf2loc.h (entry_values_debug): New declaration. | |
2126 | * dwarf2read.c (struct dwarf2_cu): New field call_site_htab. | |
2127 | (read_call_site_scope): New forward declaration. | |
2128 | (process_full_comp_unit): Copy call_site_htab. | |
2129 | (process_die): Support DW_TAG_GNU_call_site. | |
2130 | (read_call_site_scope): New function. | |
2131 | (dwarf2_get_pc_bounds): Support NULL HIGHPC. | |
2132 | (dwarf_tag_name): Support DW_TAG_GNU_call_site. | |
2133 | (cleanup_htab): Delete. | |
2134 | (write_psymtabs_to_index): Use make_cleanup_htab_delete instead of it. | |
2135 | * exceptions.h (enum errors): New NO_ENTRY_VALUE_ERROR. | |
2136 | * gdb-gdb.py (StructMainTypePrettyPrinter): Support | |
2137 | FIELD_LOC_KIND_DWARF_BLOCK. | |
2138 | * gdbtypes.h (enum field_loc_kind): New entry | |
2139 | FIELD_LOC_KIND_DWARF_BLOCK. | |
2140 | (struct main_type): New loc entry dwarf_block. | |
2141 | (struct call_site, FIELD_DWARF_BLOCK, SET_FIELD_DWARF_BLOCK) | |
2142 | (TYPE_FIELD_DWARF_BLOCK): New. | |
2143 | * python/py-type.c: Include dwarf2loc.h. | |
2144 | (check_types_equal): Support FIELD_LOC_KIND_DWARF_BLOCK. New | |
2145 | internal_error call on unknown FIELD_LOC_KIND. | |
2146 | * symtab.h (struct symtab): New field call_site_htab. | |
2147 | * utils.c (do_htab_delete_cleanup, make_cleanup_htab_delete) | |
2148 | (core_addr_hash, core_addr_eq): New functions. | |
2149 | ||
b6cdc2c1 JK |
2150 | 2011-10-09 Jan Kratochvil <[email protected]> |
2151 | ||
2152 | Code reshuffle. | |
2153 | * gdb-gdb.py (StructMainTypePrettyPrinter): Change | |
2154 | TYPE_SPECIFIC_CALLING_CONVENTION to TYPE_SPECIFIC_FUNC. Move | |
2155 | calling_convention under func_stuff there. | |
2156 | * gdbtypes.c (make_function_type): Call INIT_FUNC_SPECIFIC. | |
2157 | (init_type) <TYPE_CODE_FUNC>: Likewise. | |
2158 | (recursive_dump_type): Change TYPE_SPECIFIC_CALLING_CONVENTION to | |
2159 | TYPE_SPECIFIC_FUNC. New comment for tail_call_list. | |
2160 | * gdbtypes.h (enum type_specific_kind): Change | |
2161 | TYPE_SPECIFIC_CALLING_CONVENTION to TYPE_SPECIFIC_FUNC. | |
2162 | (struct main_type) <type_specific>: Change calling_convention to | |
2163 | func_stuff. Move calling_convention to ... | |
2164 | (struct func_type): ... this new struct. | |
2165 | (INIT_FUNC_SPECIFIC): New #define. | |
2166 | (TYPE_CALLING_CONVENTION): Change calling_convention to func_stuff. | |
2167 | ||
181cebd4 JK |
2168 | 2011-10-09 Jan Kratochvil <[email protected]> |
2169 | ||
2170 | Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches. | |
2171 | * dwarf2-frame.c (execute_stack_op): Initialize ctx->ref_addr_size. | |
2172 | * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_implicit_pointer>: Use | |
2173 | ctx->ref_addr_size. Handle its invalid value. | |
2174 | * dwarf2expr.h (struct dwarf_expr_context): New field ref_addr_size. | |
2175 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full) | |
2176 | (dwarf2_loc_desc_needs_frame): Initialize ctx->ref_addr_size. | |
2177 | * dwarf2loc.h (dwarf2_per_cu_ref_addr_size): New declaration. | |
2178 | * dwarf2read.c (decode_locdesc): Initialize ctx->ref_addr_size. | |
2179 | (dwarf2_per_cu_ref_addr_size): New function. | |
2180 | ||
c471e790 JK |
2181 | 2011-10-09 Jan Kratochvil <[email protected]> |
2182 | ||
2183 | Code cleanup. | |
2184 | * dwarf2read.c (per_cu_header_read_in): New function. | |
2185 | (dwarf2_per_cu_addr_size, dwarf2_per_cu_offset_size): Use it, with new | |
2186 | variables cu_header_local and cu_headerp. | |
2187 | ||
741f5e3c JK |
2188 | 2011-10-09 Jan Kratochvil <[email protected]> |
2189 | ||
2190 | Fix initial language detection with -readnow. | |
2191 | * dwarf2read.c (dw2_find_symbol_file): Handle OBJF_READNOW case. | |
2192 | * symfile.h (struct quick_symbol_functions): State find_symbol_file | |
2193 | searches only for global symbols. | |
2194 | ||
a73d2258 JK |
2195 | 2011-10-09 Jan Kratochvil <[email protected]> |
2196 | ||
2197 | Fix printed anonymous struct name. | |
2198 | * dwarf2read.c (fixup_partial_die): Handle for anonymous structs also | |
2199 | DW_TAG_interface_type. Strip for anonymous structs any prefixes. | |
2200 | (anonymous_struct_prefix): New function. | |
2201 | (determine_prefix): New variables retval. Call anonymous_struct_prefix. | |
2202 | (dwarf2_name): Strip for anonymous structs any prefixes. | |
2203 | ||
749fd4ea DE |
2204 | 2011-10-07 Doug Evans <[email protected]> |
2205 | ||
1fa57852 DE |
2206 | * python/lib/gdb/printing.py (register_pretty_printer): New argument |
2207 | `replace'. | |
2208 | ||
690a4937 DE |
2209 | * python/lib/gdb/printing.py: Whitespace cleanup. |
2210 | ||
749fd4ea DE |
2211 | * python/py-value.c (valpy_call): Initialize ftype to avoid compiler |
2212 | warning. | |
2213 | ||
4c38200f PA |
2214 | 2011-10-07 Pedro Alves <[email protected]> |
2215 | ||
2216 | * linux-nat.h (ALL_LWPS): Remove the ptid parameter. | |
2217 | * amd64-linux-nat.c (amd64_linux_dr_set_control) | |
2218 | (amd64_linux_dr_set_addr, amd64_linux_dr_unset_status): Adjust. | |
2219 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint) | |
2220 | (arm_linux_remove_hw_breakpoint, arm_linux_insert_watchpoint) | |
2221 | (arm_linux_remove_watchpoint): Adjust. | |
2222 | * i386-linux-nat.c (i386_linux_dr_set_control) | |
2223 | (i386_linux_dr_set_addr, i386_linux_dr_unset_status): Adjust. | |
2224 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint) | |
2225 | (ia64_linux_remove_watchpoint): Adjust. | |
2226 | * mips-linux-nat.c (write_watchpoint_regs): Adjust. | |
2227 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint) | |
2228 | (ppc_linux_insert_hw_breakpoint, ppc_linux_remove_hw_breakpoint) | |
2229 | (ppc_linux_insert_mask_watchpoint) | |
2230 | (ppc_linux_remove_mask_watchpoint, ppc_linux_insert_watchpoint) | |
2231 | (ppc_linux_remove_watchpoint): Adjust. | |
2232 | * s390-nat.c (s390_insert_watchpoint, s390_remove_watchpoint): | |
2233 | Adjust. | |
2234 | ||
b7ff339d CV |
2235 | 2011-10-07 Corinna Vinschen <[email protected]> |
2236 | ||
2237 | * windows-nat.c: Include wchar.h to avoid compiler warnings. | |
2238 | (clear_win32_environment): New function for Cygwin to clear out | |
2239 | Win32 environment. | |
2240 | (windows_create_inferior): Prepare new environment from in_env | |
2241 | for Cygwin, too. | |
2242 | ||
f287c1f3 PM |
2243 | 2011-10-07 Phil Muldoon <[email protected]> |
2244 | ||
5631e596 | 2245 | PR python/13264 |
f287c1f3 PM |
2246 | * python/py-value.c (valpy_call): Check that arguments are |
2247 | a tuple. | |
2248 | (is_intlike): Remove call to CHECK_TYPEDEF. | |
2249 | (valpy_nonzero): Catch GDB exceptions. | |
2250 | (valpy_absolute): Ditto. | |
2251 | (valpy_lazy_string): Ditto. | |
2252 | (valpy_call): Ditto. | |
2253 | (valpy_get_is_optimized_out): Ditto. | |
2254 | (valpy_long): Ditto. | |
2255 | (valpy_float): Ditto. | |
2256 | (valpy_int): Call CHECK_TYPEDEF. Catch GDB exceptions. | |
2257 | (valpy_richcompare): Ditto. | |
2258 | ||
03583c20 UW |
2259 | 2011-10-07 Ulrich Weigand <[email protected]> |
2260 | ||
2261 | * inferior.h (disable_randomization): Declare. | |
2262 | * infrun.c (disable_randomization): New global variable. | |
2263 | (show_disable_randomization): New function. | |
2264 | (set_disable_randomization): Likewise. | |
2265 | (_initialize_infrun): Install set/show disable-randomization | |
2266 | commands. | |
2267 | * linux-nat.c (disable_randomization): Remove. | |
2268 | (show_disable_randomization): Likewise. | |
2269 | (set_disable_randomization): Likewise. | |
2270 | (_initialize_linux_nat): No longer install set/show | |
2271 | disable-randomization commands here. | |
2272 | (linux_nat_supports_disable_randomization): New function. | |
2273 | (linux_nat_add_target): Install it. | |
2274 | * remote.c (PACKET_QDisableRandomization): New enum value. | |
2275 | (remote_protocol_packets): Support QDisableRandomization. | |
2276 | (_initialize_remote): Likewise. | |
2277 | (remote_supports_disable_randomization): New function. | |
2278 | (init_remote_ops): Install it. | |
2279 | (extended_remote_supports_disable_randomization): New function. | |
2280 | (init_extended_remote_ops): Install it. | |
2281 | (extended_remote_disable_randomization): New function. | |
2282 | (extended_remote_create_inferior_1): Call it. | |
2283 | * target.h (struct target_ops): Add to_supports_disable_randomization. | |
2284 | (target_supports_disable_randomization): Add prototype. | |
2285 | * target.c (target_supports_disable_randomization): New function. | |
2286 | (find_default_supports_disable_randomization): Likewise. | |
2287 | (init_dummy_target): Install it. | |
2288 | ||
20c168b5 KP |
2289 | 2011-10-07 Kevin Pouget <[email protected]> |
2290 | ||
2291 | Allow Python notification of new object-file loadings. | |
2292 | * Makefile.in (SUBDIR_PYTHON_SRCS): Add py-newobjfilevent.c. | |
2293 | (SUBDIR_PYTHON_OBS): Add py-newobjfileevent.o. | |
2294 | Add build rule for this file. | |
2295 | * python/py-event.h (emit_new_objfile_event): New prototype. | |
2296 | (newobjfile): New Python event emitter. | |
2297 | * python/py-evts.c (gdbpy_initialize_py_events): Add new_objfile to | |
2298 | Python event registry. | |
2299 | * python/py-inferior.c: Include objfiles.h | |
2300 | (python_new_objfile): New function. | |
2301 | (gdbpy_initialize_inferior): Add python_new_objfile to the new objfile | |
2302 | observers. | |
2303 | * python/py-newobjfileevent.c: New file. | |
2304 | * python-internal.h (gdbpy_initialize_new_objfile_event): New | |
2305 | prototype. | |
2306 | * python/python.c (_initialize_python): Add | |
2307 | gdbpy_initialize_new_objfile_event call. | |
2308 | * NEWS: Add item for new Python event "gdb.newobjfile" | |
2309 | ||
b1c8db38 TG |
2310 | 2011-10-05 Tristan Gingold <[email protected]> |
2311 | ||
2312 | * ada-tasks.c (read_atcb): Make ravenscar_task_name static. | |
2313 | Extract the ravenscar task name from the symbol for the atcb. | |
2314 | ||
0dab82e9 PK |
2315 | 2011-10-04 Paul Koning <[email protected]> |
2316 | ||
2317 | * python/py-type.c (typy_make_iter): Add forward declaration. | |
2318 | (typy_fields_items): Use the gdb.Type iterator. | |
2319 | ||
84ad80e6 PK |
2320 | 2011-10-04 Paul Koning <[email protected]> |
2321 | ||
2322 | * NEWS: Add entry for Python gdb.Type mapping methods. | |
2323 | ||
cb6be26b KP |
2324 | 2011-10-04 Kevin Pouget <[email protected]> |
2325 | ||
2326 | PR python/12691: Add the inferior to Python exited event | |
2327 | * python/py-exitedevent.c (create_exited_event_object): Add inferior | |
2328 | to exited_event. | |
2329 | * python/py-event.h (emit_exited_event): Likewise | |
2330 | * python/-inferior.c (python_inferior_exit): Likewise | |
2331 | ||
6005b210 JB |
2332 | 2011-10-03 Joel Brobecker <[email protected]> |
2333 | ||
2334 | * ada-tasks.c (print_ada_task_info): Add "thread-id" field | |
2335 | in output of -ada-task-info GDB/MI command. | |
2336 | ||
75082e8c JB |
2337 | 2011-10-03 Joel Brobecker <[email protected]> |
2338 | ||
2339 | * ada-lang.h (struct inferior): Declare. | |
2340 | (print_ada_task_info): Add declaration. | |
2341 | * ada-tasks.c (print_ada_task_info): Make non-static. | |
2342 | * mi/mi-cmds.c (mi_cmds): Add "ada-task-info". | |
2343 | * mi/mi-cmds.h (mi_cmd_ada_task_info): Add declaration. | |
2344 | * mi/mi-main.c: #include "ada-lang.h". | |
2345 | (mi_cmd_list_features): Add "ada-task-info" to the list | |
2346 | of supported features. | |
2347 | (mi_cmd_ada_task_info): New function. | |
2348 | ||
7ed7d719 JB |
2349 | 2011-10-03 Joel Brobecker <[email protected]> |
2350 | ||
2351 | * python/python.c (python_run_simple_file): New function. | |
2352 | (source_python_script, source_python_script_for_objfile): | |
2353 | Replace call to PyRun_SimpleFile by call to | |
2354 | python_run_simple_file. | |
2355 | ||
3fcaed38 PK |
2356 | 2011-10-03 Paul Koning <[email protected]> |
2357 | ||
2358 | * python/py-value.c (valpy_get_address): Use Py_XINCREF. | |
2359 | (value_to_value_object): Fetch value if it was lazy. | |
2360 | ||
8e5c319d JK |
2361 | 2011-10-02 Jan Kratochvil <[email protected]> |
2362 | ||
2363 | Code cleanup. | |
2364 | * solib-svr4.c (svr4_default_sos): Remove variables head and link_ptr. | |
2365 | Rearrange the code for it. | |
2366 | ||
dd11a36c JB |
2367 | 2011-10-02 Joel Brobecker <[email protected]> |
2368 | ||
2369 | * breakpoint.c (bkpt_print_recreate): Add call to | |
2370 | print_recreate_thread. | |
2371 | ||
723b724b MF |
2372 | 2011-09-29 Mike Frysinger <[email protected]> |
2373 | ||
2374 | * common/linux-ptrace.h (PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC, | |
2375 | PTRACE_GETFDPIC_INTERP): Define. | |
2376 | ||
412946b6 YQ |
2377 | 2011-09-28 Yao Qi <[email protected]> |
2378 | ||
2379 | * symfile.c (add_symbol_file_command): Update message on usage. | |
2380 | ||
a73bb892 PK |
2381 | 2011-09-28 Paul Koning <[email protected]> |
2382 | ||
2383 | * python/py-type.c (make_fielditem, typy_field_names, typy_items) | |
2384 | (typy_length, typy_get, typy_has_key, typy_make_iter) | |
2385 | (typy_iterkeys, typy_iteritems, typy_itervalues, typy_iter) | |
2386 | (typy_iterator_iter, typy_iterator_iternext) | |
2387 | (typy_iterator_dealloc): New functions to implement standard | |
2388 | Python mapping methods on gdb.Type object. | |
2389 | (gdb.TypeIterator): New Python type. | |
2390 | * python/python-internal.h (gdbpy_iter_kind): New enum. | |
a73bb892 | 2391 | |
fe10a582 DM |
2392 | 2011-09-28 David S. Miller <[email protected]> |
2393 | ||
2394 | * sparc-tdep.h (SPARC_F2_REGNUM, SPARC_F3_REGNUM, SPARC_F4_REGNUM, | |
2395 | SPARC_F5_REGNUM, SPARC_F6_REGNUM, SPARC_F7_REGNUM): New enums. | |
2396 | * sparc-tdep.c (sparc_complex_floating_p): New function. | |
2397 | (sparc32_store_arguments): Handle complex floats. | |
2398 | (sparc32_extract_return_value): Likewise. | |
2399 | (sparc32_store_return_value): Likewise. | |
2400 | (sparc32_stabs_argument_has_addr): Likewise. | |
2401 | * sparc64-tdep.c (sparc64_complex_floating_p): New function. | |
2402 | (sparc64_store_floating_fields): Handle complex floats. | |
2403 | (sparc64_store_arguments): Likewise. | |
2404 | (sparc64_store_return_value): Likewise. | |
2405 | ||
c93dbcba EZ |
2406 | 2011-09-28 Eli Zaretskii <[email protected]> |
2407 | ||
2408 | * windows-nat.c (env_sort) [!__CYGWIN__]: Function restored from | |
2409 | before the change on 2006-12-09. | |
2410 | (windows_create_inferior) [!__CYGWIN__]: Restore code that | |
2411 | generates the environment block for CreateProcessA, modulo the | |
2412 | Cygwin-specific parts that are not needed here. | |
2413 | ||
f00c55f8 TG |
2414 | 2011-09-27 Tristan Gingold <[email protected]> |
2415 | ||
2416 | * target.h (enum target_object): Add TARGET_OBJECT_DARWIN_DYLD_INFO. | |
2417 | * solib-darwin.c (DYLD_VERSION_MAX): Update number. | |
2418 | (darwin_solib_get_all_image_info_addr_at_init): New function. | |
2419 | (darwin_solib_read_all_image_info_addr): Likewise. | |
2420 | (darwin_solib_create_inferior_hook): Use the above two functions. | |
2421 | * darwin-nat.c (darwin_execvp): Renames retval to res. | |
2422 | (darwin_read_write_inferior): Update comment. | |
2423 | (darwin_read_dyld_info): New function. | |
2424 | (darwin_xfer_partial): Handle DYLD_INFO. | |
2425 | ||
6710bf39 SS |
2426 | 2011-09-27 Stan Shebs <[email protected]> |
2427 | ||
2428 | Add return address collection for tracepoints. | |
2429 | * tracepoint.c (encode_actions_1): Add case for $_ret. | |
2430 | (validate_actionline): Check for $_ret. | |
2431 | (trace_dump_actions): Ditto. | |
2432 | * ax-gdb.h (gen_trace_for_return_address): Declare. | |
2433 | * ax-gdb.c: Include arch-utils.h. | |
2434 | (gen_trace_for_return_address): New function. | |
2435 | (agent_command): Add return address special case. | |
2436 | * amd64-tdep.c: Include ax.h and ax-gdb.h. | |
2437 | (amd64_gen_return_address): New function. | |
2438 | (amd64_init_abi): Call it. | |
2439 | * i386-tdep.c: Include ax.h and ax-gdb.h. | |
2440 | (i386_gen_return_address): New function. | |
2441 | (i386_init_abi): Call it. | |
2442 | * arch-utils.h (default_gen_return_address): Declare. | |
2443 | * arch-utils.c (default_gen_return_address): New function. | |
2444 | * gdbarch.sh (gen_return_address): New method. | |
2445 | * gdbarch.h, gdbarch.c: Regenerate. | |
2446 | ||
e04e5beb JM |
2447 | 2011-09-23 Joseph Myers <[email protected]> |
2448 | ||
2449 | PR gdb/13079 | |
2450 | * i386-tdep.c (i386_frame_align): New. | |
2451 | (i386_gdbarch_init): Use i386_frame_align. | |
2452 | ||
f3d6df6d YQ |
2453 | 2011-09-23 Yao Qi <[email protected]> |
2454 | ||
2455 | * i386-linux-nat.c (i386_linux_resume): Use read_memory_unsigned_integer | |
2456 | to get address. | |
2457 | ||
e69860f1 TG |
2458 | 2011-09-22 Tristan Gingold <[email protected]> |
2459 | ||
2460 | * fork-child.c (fork_inferior): Add exec_fun parameter. | |
2461 | Call exec_fun or execvp. | |
2462 | * inferior.h: Adjust prototype. | |
2463 | * gnu-nat.c (gnu_create_inferior): Adjust fork_inferior call. | |
2464 | * inf-ttrace.c (inf_ttrace_create_inferior): Ditto. | |
2465 | * inf-ptrace.c (inf_ptrace_create_inferior): Ditto. | |
2466 | * procfs.c (procfs_create_inferior): Ditto. | |
2467 | * darwin-nat.c (darwin_execvp): New function. | |
2468 | (darwin_create_inferior): Use it. | |
2469 | ||
4b51d87b YQ |
2470 | 2011-09-22 Yao Qi <[email protected]> |
2471 | ||
2472 | * infrun.c (context_switch): Print debug message when switching to | |
2473 | a different thread. | |
2474 | ||
56b9d9ac UW |
2475 | 2011-09-21 Ulrich Weigand <[email protected]> |
2476 | ||
2477 | * s390-tdep.c (s390_function_arg_pass_by_reference): Handle | |
2478 | complex and vector types. | |
2479 | (s390_return_value_convention): Likewise. | |
2480 | ||
2481 | (s390_value_from_register): Call check_typedef. | |
2482 | (extend_simple_arg): Likewise. | |
2483 | (alignment_of): Likewise. | |
2484 | (s390_push_dummy_call): Likewise. | |
2485 | (s390_return_value): Likewise. | |
2486 | ||
b2cd6b29 JM |
2487 | 2011-09-21 Joseph Myers <[email protected]> |
2488 | ||
2489 | * event-top.c (async_disconnect): If an exception is thrown from | |
2490 | quit_cover, call pop_all_targets. Use TRY_CATCH instead of | |
2491 | catch_errors. | |
2492 | * top.c (quit_cover): Return void and take no arguments. | |
2493 | * top.h (quit_cover): Update prototype. | |
2494 | ||
67ba4e42 JM |
2495 | 2011-09-20 Joseph Myers <[email protected]> |
2496 | ||
2497 | * mi/mi-main.c (mi_load_progress): Restore saved_uiout value to | |
2498 | current_uiout, not uiout. | |
2499 | ||
562f943b DE |
2500 | 2011-09-19 Doug Evans <[email protected]> |
2501 | ||
2502 | * python/py-auto-load.c (source_section_scripts): Fix file | |
2503 | descriptor leak. | |
2504 | * python/python.c (source_python_script_for_objfile): Tweak comments. | |
2505 | ||
34518530 YQ |
2506 | 2011-09-18 Yao Qi <[email protected]> |
2507 | Ulrich Weigand <[email protected]> | |
2508 | ||
2509 | Support displaced stepping for Thumb 16-bit insns. | |
2510 | * arm-tdep.c (THUMB_NOP) Define. | |
2511 | (thumb_copy_unmodified_16bit): New. | |
2512 | (thumb_copy_b, thumb_copy_bx_blx_reg): New. | |
2513 | (thumb_copy_alu_reg): New. | |
2514 | (arm_copy_svc): Move some common code to ... | |
2515 | (install_svc): ... here. New. | |
2516 | (thumb_copy_svc): New. | |
2517 | (install_pc_relative): New. | |
2518 | (thumb_copy_pc_relative_16bit): New. | |
2519 | (thumb_decode_pc_relative_16bit): New. | |
2520 | (thumb_copy_16bit_ldr_literal): New. | |
2521 | (thumb_copy_cbnz_cbz): New. | |
2522 | (cleanup_pop_pc_16bit_all): New. | |
2523 | (thumb_copy_pop_pc_16bit): New. | |
2524 | (thumb_process_displaced_16bit_insn): New. | |
2525 | (thumb_process_displaced_32bit_insn): New. | |
2526 | (thumb_process_displaced_insn): process thumb instruction. | |
2527 | ||
2528 | Support displaced stepping for Thumb 32-bit insns. | |
2529 | * arm-tdep.c (thumb_copy_unmodified_32bit): New. | |
2530 | (thumb2_copy_preload): New. | |
2531 | (thumb2_copy_copro_load_store): New. | |
2532 | (thumb2_copy_b_bl_blx): New. | |
2533 | (thumb2_copy_alu_imm): New. | |
2534 | (thumb2_copy_load_reg_imm): New. | |
2535 | (thumb2_copy_load_literal): New | |
2536 | (thumb2_copy_block_xfer): New. | |
2537 | (thumb_32bit_copy_undef): New. | |
2538 | (thumb_32bit_copy_unpred): New. | |
2539 | (thumb2_decode_ext_reg_ld_st): New. | |
2540 | (thumb2_decode_svc_copro): New. | |
2541 | (decode_thumb_32bit_store_single_data_item): New. | |
2542 | (thumb_copy_pc_relative_32bit): New. | |
2543 | (thumb_decode_pc_relative_32bit): New. | |
2544 | (decode_thumb_32bit_ld_mem_hints): New. | |
2545 | (thumb2_copy_table_branch): New | |
2546 | (thumb_process_displaced_32bit_insn): Process Thumb 32-bit | |
2547 | instructions. | |
2548 | ||
2b16b2e3 YQ |
2549 | 2011-09-18 Yao Qi <[email protected]> |
2550 | ||
2551 | * arm-tdep.c (install_copro_load_store): PC is set 4-byte aligned. | |
2552 | (install_b_bl_blx): Likewise. | |
2553 | ||
0f6f04ba YQ |
2554 | 2011-09-17 Yao Qi <[email protected]> |
2555 | ||
2556 | * arm-tdep.c (install_ldr_str_ldrb_strb): Renamed to ... | |
2557 | (install_load_store): ... this. New. | |
2558 | Change parameter BYTE to SIZE. | |
2559 | (arm_copy_ldr_str_ldrb_strb): Update caller. | |
2560 | (arm_decode_ld_st_word_ubyte): Update caller. | |
2561 | ||
e2d96639 YQ |
2562 | 2011-09-17 Yao Qi <[email protected]> |
2563 | ||
2564 | * infrun.c (displaced_step_fixup): Move some code ... | |
2565 | (displaced_step_restore): ... here. New function. | |
2566 | (handle_inferior_event): Cleanup displaced stepping state for both | |
2567 | child and parent when get forked or vforked event. | |
2568 | * regcache.c (get_thread_arch_aspace_regcache): New function. | |
2569 | get_thread_arch_regcache (): Call it. | |
2570 | ||
a8123151 JB |
2571 | 2011-09-16 Joel Brobecker <[email protected]> |
2572 | ||
2573 | * ada-tasks.c (print_ada_task_info): New function, merging | |
2574 | short_task_info and info_tasks together. Reimplement using | |
2575 | ui-out instead of printing to stdout directly. Move the code | |
2576 | building and checking the task list here, instead of leaving it | |
2577 | in info_tasks_command. | |
2578 | (info_task): Move the code building and checking the task | |
2579 | list here, instead of leaving it in info_tasks_command. | |
2580 | (info_tasks_command): Delete code building and checking | |
2581 | the task list - moved elsewhere. Update calls to info_tasks | |
2582 | and info_task. | |
2583 | ||
fbf06824 JB |
2584 | 2011-09-16 Joel Brobecker <[email protected]> |
2585 | ||
2586 | * ada-tasks.c (info_task): Delete parameter `from_tty'. | |
2587 | ||
34a0bc90 JB |
2588 | 2011-09-16 Joel Brobecker <[email protected]> |
2589 | ||
2590 | * ada-tasks.c (info_tasks): Delete parameter `from_tty'. | |
2591 | ||
79779fa9 JB |
2592 | 2011-09-16 Joel Brobecker <[email protected]> |
2593 | ||
2594 | * ada-lang.h (ada_build_task_list): Remove parameter | |
2595 | `warn_if_null'. | |
2596 | * ada-tasks.c (ada_build_task_list): Remove parameter | |
2597 | `warn_if_null'. Adjust implementation and documentation. | |
2598 | (valid_task_id, ada_get_environment_task) | |
2599 | iterate_over_live_ada_tasks): Adjust call to ada_build_task_list. | |
2600 | (info_tasks_command): Adjust implementation. | |
2601 | (task_command): Likewise. | |
2602 | * ravenscar-thread.c (ravenscar_find_new_threads): Fix call | |
2603 | to ada_build_task_list. | |
2604 | ||
e225eb91 JB |
2605 | 2011-09-16 Joel Brobecker <[email protected]> |
2606 | ||
2607 | * ada-tasks.c (ada_tasks_check_symbol_table, task_list): Delete. | |
2608 | (enum ada_known_tasks_kind, struct ada_tasks_inferior_data): New. | |
2609 | (ada_tasks_inferior_data_handle): New static global. | |
2610 | (get_ada_tasks_inferior_data): New function. | |
2611 | (ada_get_task_number, get_task_number_from_id, valid_task_id) | |
2612 | (ada_get_environment_task, iterate_over_live_ada_tasks) | |
2613 | (add_ada_task, read_known_tasks_array, read_known_tasks_list): | |
2614 | Adjust. | |
2615 | (ada_set_current_inferior_known_tasks_addr): New function. | |
2616 | (read_known_tasks, ada_build_task_list, short_task_info) | |
2617 | (info_tasks, info_task, info_tasks_command, task_command_1) | |
2618 | (task_command, ada_task_list_changed): Adjust. | |
2619 | (ada_tasks_invalidate_inferior_data): New function. | |
2620 | (ada_normal_stop_observer, ada_new_objfile_observer): Adjust. | |
2621 | (_initialize_tasks): Set ada_tasks_inferior_data_handle. | |
2622 | * ada-lang.h (struct inferior): Add declaration. | |
2623 | (ada_task_list_changed): Update profile. | |
2624 | * remote-wtx-pd.c: #include "inferior.h". | |
2625 | (switch_to_pd_internal): Update call to ada_task_list_changed. | |
2626 | ||
6da9ca05 JB |
2627 | 2011-09-16 Joel Brobecker <[email protected]> |
2628 | ||
2629 | * ada-tasks.c: #include "progspace.h" and "objfiles.h". | |
2630 | (atcb_type, atcb_common_type, atcb_ll_type, atcb_call_type) | |
2631 | (atcb_fieldno): Delete these static globals. | |
2632 | (struct ada_tasks_pspace_data): New struct. | |
2633 | (ada_tasks_pspace_data_handle): New static global. | |
2634 | (get_ada_tasks_pspace_data): New function. | |
2635 | (ada_tasks_invalidate_pspace_data): New function. | |
2636 | (get_tcb_types_info, ptid_from_atcb_common, read_atcb) | |
2637 | (read_known_tasks_list, ada_new_objfile_observer): Adjust. | |
2638 | (_initialize_tasks): Create this module's per-progspace | |
2639 | data handle. | |
2640 | ||
dccd3cbd JB |
2641 | 2011-09-16 Joel Brobecker <[email protected]> |
2642 | ||
2643 | * ada-tasks.c (struct atcb_fieldnos): Renames struct tcb_fieldnos. | |
2644 | ||
f877b031 TG |
2645 | 2011-09-16 Tristan Gingold <[email protected]> |
2646 | ||
2647 | * fork-child.c (fork_inferior): Update comment. Use alloca | |
2648 | instead of xmalloc for argv. Move len and shell_command | |
2649 | declarations in the block where they are used. | |
2650 | Only call execvp. Factorize failure code. | |
2651 | ||
ae0c443d JK |
2652 | 2011-09-16 Abhijit Halder <[email protected]> |
2653 | ||
2654 | Code cleanup. | |
2655 | * parse.c (write_exp_elt): Change argument to pass a pointer of union | |
2656 | `exp_element' instead of an element of the same and make the function | |
2657 | static. | |
2658 | (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block) | |
2659 | (write_exp_elt_objfile, write_exp_elt_longcst, write_exp_elt_dblcst) | |
2660 | (write_exp_elt_decfloatcst, write_exp_elt_type, write_exp_elt_intern): | |
2661 | Change argument of `write_exp_elt' function call. | |
2662 | Remove extra spaces from comments. | |
2663 | * parser-defs.h (write_exp_elt): Remove prototype. | |
2664 | ||
5af65ec0 PK |
2665 | 2011-09-15 Paul Koning <[email protected]> |
2666 | ||
2667 | * python/py-cmd.c (gdbpy_string_to_argv): Decrement reference | |
2668 | count of item appended to list. | |
2669 | * python/py-type.c (typy_fields): Likewise. | |
2670 | ||
72be8ccc PK |
2671 | 2011-09-15 Paul Koning <[email protected]> |
2672 | ||
883640a8 | 2673 | * MAINTAINERS (Write After Approval): Add myself to the list. |
72be8ccc | 2674 | |
92f6badc KP |
2675 | 2011-09-15 Kevin Pouget <[email protected]> |
2676 | ||
2677 | PR threads/12628 | |
2678 | * linux-fork.c (checkpoint_command): Disallow checkpointing of | |
2679 | processes with multiple threads. | |
2680 | (inf_has_multiple_thread_cb): New function. | |
2681 | (inf_has_multiple_threads): New function. | |
2682 | ||
0672bf41 | 2683 | 2011-09-15 Kevin Pouget <[email protected]> |
2aa48337 KP |
2684 | |
2685 | PR Python/12692 Add gdb.selected_inferior() to Python interface. | |
2686 | * python/py-inferior.c (GdbMethods): New Python method definition. | |
2687 | ||
6839b47f KP |
2688 | 2011-09-15 Kevin Pouget <[email protected]> |
2689 | ||
2690 | Handle multiple breakpoint hits in Python interface: | |
2691 | * python/py-bpevent.c (create_breakpoint_event_object): Rename C/Python | |
2692 | variable to breakpoints. | |
2693 | * python/py-stopevent.c (emit_stop_event): Return a Python tuple of | |
2694 | bps instead of single breakpoint. Fix some space typos. | |
2695 | * python/py-stopevent.c (create_breakpoint_event_object): Rename | |
2696 | variable to breakpoints. | |
2697 | ||
672f9b60 KP |
2698 | 2011-09-15 Kevin Pouget <[email protected]> |
2699 | ||
2700 | * breakpoint.c (describe_other_breakpoints): Do not write 'duplicate' | |
2701 | note if the breakpoint is internal. | |
2702 | ||
43675ae4 KP |
2703 | 2011-09-15 Kevin Pouget <[email protected]> |
2704 | ||
0672bf41 | 2705 | * MAINTAINERS (Write After Approval): Add myself to the list |
43675ae4 | 2706 | |
15148d6a PA |
2707 | 2011-09-14 Pedro Alves <[email protected]> |
2708 | ||
2709 | * infrun.c (prepare_for_detach, wait_for_inferior) | |
2710 | (fetch_inferior_event): Don't flush the register cache. | |
2711 | * remote.c (struct stop_reply) <regcache>: Add comment. | |
2712 | ||
d83e736b JK |
2713 | 2011-09-13 Jan Kratochvil <[email protected]> |
2714 | ||
2715 | Remove excessive DWARF expressions memory duplication. | |
2716 | * dwarf2loc.c (per_cu_dwarf_call): Remove variable back_to and its use | |
2717 | for block.data. | |
2718 | (indirect_pieced_value): Remove variable result. Remove variable | |
2719 | back_to and its use for baton.data. | |
2720 | (dwarf2_compile_expr_to_ax): Remove variable back_to and its use for | |
2721 | block.data. | |
2722 | * dwarf2read.c (dwarf2_fetch_die_location_block): Remove xmemdup. | |
2723 | Update the function comment. | |
2724 | ||
c65b3e0d PA |
2725 | 2011-09-13 Pedro Alves <[email protected]> |
2726 | ||
2727 | * inferior.h (ALL_INFERIORS): New. | |
2728 | * linux-thread-db.c (thread_db_find_new_threads_2): Remove check | |
2729 | for a stopped thread. | |
2730 | (thread_db_find_new_threads): Look for threads in all inferiors. | |
2731 | ||
a1398e0c PA |
2732 | 2011-09-13 Pedro Alves <[email protected]> |
2733 | ||
2734 | * breakpoint.c (update_watchpoint): Handle the case of the | |
2735 | watchpoint to update not being in the breakpoint list yet. | |
2736 | (hw_watchpoint_use_count): New, factored out from | |
2737 | hw_watchpoint_used_count. | |
2738 | (hw_watchpoint_used_count): Rename to ... | |
2739 | (hw_watchpoint_used_count_others): ... this. Add `except' | |
2740 | parameter. Don't count resources of `except'. Use | |
2741 | hw_watchpoint_use_count. | |
2742 | ||
30596231 PA |
2743 | 2011-09-13 Pedro Alves <[email protected]> |
2744 | ||
2745 | * gdbthread.h (enum thread_state): Moved here. | |
2746 | (struct thread_info): Rename `executing_' field to `executing' and | |
2747 | `state_' to `state'. | |
2748 | * thread.c (enum thread_state): Moved to gdbthread.h. | |
2749 | (new_thread, add_thread_silent, delete_thread_1) | |
2750 | (any_live_thread_of_process, thread_alive, set_running) | |
2751 | (set_running, is_thread_state, any_running, is_executing) | |
2752 | (set_executing, finish_thread_state, print_thread_info) | |
2753 | (do_captured_thread_select): Adjust. | |
2754 | ||
bede5f5f JK |
2755 | 2011-09-13 Jan Kratochvil <[email protected]> |
2756 | ||
2757 | Fix compatibility with gcc < 4.3 and non-gcc compilers. | |
2758 | * amd64-tdep.c (amd64_skip_xmm_prologue): Convert 0b constants. | |
2759 | ||
4801a9a3 PA |
2760 | 2011-09-12 Pedro Alves <[email protected]> |
2761 | Matt Rice <[email protected]> | |
2762 | ||
2763 | PR gdb/13175 | |
2764 | ||
2765 | * interps.c (struct interp) <interpreter_out>: Delete field. | |
2766 | (interp_new): Remove the data and uiout parameters and adjust. | |
2767 | (interp_set): Only set the current_uiout from the interpreter's | |
2768 | uiout after initializing the interpreter. Adjust call to | |
2769 | init_proc. | |
2770 | (interp_ui_out): Adjust to call procs->ui_out_proc. | |
2771 | (interp_data, interp_name): New. | |
2772 | * interps.h (interp_init_ftype): Add `self' parameter. | |
2773 | (interp_ui_out_ftype): New typedef. | |
2774 | (struct interp_procs) <ui_out_proc>: New method pointer. | |
2775 | (interp_new): Remove the data and uiout parameters. | |
2776 | (interp_data, interp_name): Declare. | |
2777 | * tui/tui-interp.c (tui_init): Adjust prototype. | |
2778 | (tui_ui_out): New. | |
2779 | (_initialize_tui_interp): Install tui_ui_out. Don't instanciate | |
2780 | tui_out here. Adjust call to interp_new. | |
2781 | * tui/tui-io.c (tui_initialize_io): Don't set current_uiout here. | |
2782 | * cli/cli-interp.c (cli_interpreter_init): Adjust prototype. | |
2783 | (cli_ui_out): New. | |
2784 | (_initialize_cli_interp): Install it. Adjust call to interp_new. | |
2785 | * mi/mi-common.h (struct mi_interp) <uiout>: New field. | |
2786 | * mi/mi-interp.c (mi_interpreter_init): Adjust prototype. | |
2787 | Initialize mi->uiout depending on the mi_version as extracted from | |
2788 | the interpreter's name. | |
2789 | (mi_ui_out): New. | |
2790 | (_initialize_mi_interp): Install mi_ui_out. Adjust calls to | |
2791 | interp_new. Don't allocate the ui_out's of the interpreters here. | |
2792 | ||
d0afda03 | 2793 | 2011-09-12 Aleksandar Ristovski <[email protected]> |
59145f8c | 2794 | |
d0afda03 | 2795 | * solib.c (solib_used): New function. |
59145f8c AR |
2796 | (update_solib_list, reload_shared_libraries_1): Check if objfile is used |
2797 | by another so_list object before freeing it. | |
2798 | ||
bdaf8d4a JK |
2799 | 2011-09-11 Jan Kratochvil <[email protected]> |
2800 | ||
2801 | Code cleanup. | |
2802 | * mi/mi-cmd-stack.c (list_args_or_locals): Use enum for the parameter | |
2803 | values. | |
2804 | ||
df15bd07 JK |
2805 | 2011-09-09 Jan Kratochvil <[email protected]> |
2806 | ||
2807 | Code cleanup. | |
2808 | * amd64-tdep.c (amd64_skip_prologue): Move the XMM code to ... | |
2809 | (amd64_skip_xmm_prologue): ... this new function. Describe its | |
2810 | parameters. No longer use amd64_prologue_line_bug. | |
2811 | * defs.h (producer_is_gcc_ge_4): New declaration. | |
2812 | * dwarf2read.c (producer_is_gcc_ge_4): Move to utils.c. | |
2813 | (process_full_comp_unit): Update its caller. Remove | |
2814 | amd64_prologue_line_bug initialization. | |
2815 | * symtab.h (struct symtab): Remove field amd64_prologue_line_bug. | |
2816 | * utils.c (producer_is_gcc_ge_4): Moved here from dwarf2read.c. | |
2817 | ||
25289eb2 PA |
2818 | 2011-09-09 Pedro Alves <[email protected]> |
2819 | ||
2820 | * linux-nat.h (enum resume_kind): New. | |
2821 | (struct lwp_info) <last_resume_kind>: New field. | |
ddf17726 PA |
2822 | * linux-nat.c (linux_child_follow_fork): Set last_resume_kind to |
2823 | resume_stop on the new lwp. | |
25289eb2 PA |
2824 | (add_lwp): Set last_resume_kind as resume_continue by default. |
2825 | (lin_lwp_attach_lwp): Set last_resume_kind as resume_stop. | |
2826 | (resume_lwp): New, factored out from resume_callback. Also check | |
2827 | for pending status in lp->waitstatus. | |
2828 | (resume_callback): Reimplement. | |
2829 | (resume_clear_callback): Set last_resume_kind as resume_stop. | |
2830 | (resume_set_callback): Set last_resume_kind as resume_continue. | |
2831 | (linux_nat_resume, linux_handle_extended_wait): Set | |
2832 | last_resume_kind. | |
2833 | (running_callback): Also check lp->waitstatus for pending events. | |
2834 | (select_singlestep_lwp_callback): Check that lp->last_resume_kind | |
2835 | is resume_step. | |
2836 | (stop_and_resume_callback): Don't re-resume if the core wanted the | |
2837 | lwp stopped. Use resume_lwp instead of resume_callback. Avoid | |
2838 | using an invalidated pointer. | |
2839 | (linux_nat_filter_event): Don't discard SIGSTOPs as delayed | |
2840 | SIGSTOPs if the core wanted the LWP to stop. | |
2841 | (linux_nat_wait_1) Don't consume a pending SIGSTOP if the core | |
2842 | wanted the lwp to stop. If the core wanted the lwp to stop, and | |
2843 | the lwp stopped with a SIGSTOP, report a TARGET_SIGNAL_0 instead | |
2844 | of TARGET_SIGNAL_STOP. | |
2845 | (linux_nat_stop_lwp): Don't synchronously wait for the lwp to stop | |
2846 | here. Instead, signal the lwp, and set the last_resume_kind to | |
2847 | resume_stop. | |
2848 | ||
f687d035 PA |
2849 | 2011-09-09 Pedro Alves <[email protected]> |
2850 | ||
2851 | * linux-nat.c (lin_lwp_attach_lwp): Return 1 (ignore) instead of | |
2852 | -1 (error), if the lwp exits right after attaching. | |
2853 | ||
bc587a6b DE |
2854 | 2011-09-08 Doug Evans <[email protected]> |
2855 | ||
63d97a20 DE |
2856 | * py-cmd.c: Some minor formatting fixes. |
2857 | (gdbpy_parse_command_name): Rename text arg to name, make const. | |
2858 | All callers updated. | |
2859 | * python-internal.h (gdbpy_parse_command_name): Update. | |
2860 | ||
bc587a6b DE |
2861 | * cli/cli-decode.c (add_cmd): Add comment. |
2862 | ||
08711b9a JK |
2863 | 2011-09-08 Jan Kratochvil <[email protected]> |
2864 | ||
2865 | PR breakpoints/12435 | |
2866 | * amd64-tdep.c (amd64_skip_prologue): New variables start_pc_sal, | |
2867 | next_sal, buf, offset and xmmreg. Advance PC if it sees the PR. | |
2868 | * dwarf2read.c (process_full_comp_unit): Initialize | |
2869 | amd64_prologue_line_bug. | |
2870 | * symtab.h (struct symtab): New field amd64_prologue_line_bug. | |
2871 | ||
b2e7f004 JK |
2872 | 2011-09-08 Jan Kratochvil <[email protected]> |
2873 | ||
2874 | Fix TUI screen corruption. | |
2875 | * utils.c (fputs_maybe_filtered): Replace !input_from_terminal_p by | |
2876 | batch_flag. | |
2877 | ||
8afd712c JK |
2878 | 2011-09-08 Jan Kratochvil <[email protected]> |
2879 | ||
2880 | * findvar.c (read_var_value): Never return NULL, throw an error | |
2881 | instead. Update the function comment. State symbol name in the error | |
2882 | messages. | |
2883 | * python/py-frame.c (frapy_read_var): Remove handling of NULL from | |
2884 | read_var_value. | |
2885 | * stack.c (print_frame_args): Likewise. | |
2886 | * valops.c (value_of_variable): Likewise. | |
2887 | ||
b99b5f66 JK |
2888 | 2011-09-08 Jan Kratochvil <[email protected]> |
2889 | ||
2890 | * stack.c (print_frame_args): New variable except. Wrap | |
2891 | read_var_value and common_val_print into TRY_CATCH. | |
2892 | ||
85bc8cb7 JK |
2893 | 2011-09-08 Jan Kratochvil <[email protected]> |
2894 | ||
2895 | * eval.c (evaluate_subexp_standard) <OP_THIS>: Update the value_of_this | |
2896 | caller to value_of_this. | |
2897 | * p-exp.y: Update the value_of_this caller to value_of_this_silent. | |
2898 | Twice. | |
2899 | * valops.c (value_of_this): Remove parameter complain and variable ret. | |
2900 | Update function comment. Never return NULL by this code. | |
2901 | (value_of_this_silent): New function. | |
2902 | * value.h (value_of_this): Remove parameter complain. | |
2903 | (value_of_this_silent): New declaration. | |
2904 | ||
ede1849f YQ |
2905 | 2011-09-07 Yao Qi <[email protected]> |
2906 | ||
2907 | * gdbthread.h (struct thread_info): Remove fields | |
2908 | `stepping_through_solib_after_catch' and | |
2909 | `stepping_through_solib_catchpoints'. | |
2910 | * infrun.c (init_thread_stepping_state): Update. | |
2911 | (process_event_stop_test, currently_stepping): Update. | |
2912 | (currently_stepping_or_nexting_callback): Update. | |
2913 | ||
6aa27652 YQ |
2914 | 2011-09-07 Yao Qi <[email protected]> |
2915 | ||
2916 | * gdbthread.h (struct thread_info): Comment on field | |
2917 | `step_after_step_resume_breakpoint'. | |
2918 | ||
00db5b94 PA |
2919 | 2011-09-07 Abhijit Halder <[email protected]> |
2920 | ||
2921 | * remote.c (remote_console_output): Reindent. | |
2922 | ||
861152be LM |
2923 | 2011-09-06 Luis Machado <[email protected]> |
2924 | ||
2925 | * frame.c (has_stack_frames): Check for currently selected | |
2926 | traceframe. | |
2927 | ||
ab821bc6 PA |
2928 | 2011-09-06 Pedro Alves <[email protected]> |
2929 | ||
2930 | * event-top.h (MAXPROMPTS, struct prompts): Delete. | |
2931 | (set_async_annotation_level, set_async_prompt, pop_prompt) | |
2932 | (push_prompt, new_async_prompt): Delete declarations. | |
2933 | * top.h (get_prompt, set_prompt): Change prototype. | |
2934 | (get_prefix, set_prefix, get_suffix, set_suffix): Delete | |
2935 | declarations. | |
2936 | * top.c (command_loop): | |
2937 | (top_prompt): New global. | |
2938 | (get_prefix, set_prefix, get_suffix, ): Delete. | |
2939 | (get_prompt, set_prompt): Rewrite. | |
2940 | (show_new_async_prompt): Rename to ... | |
2941 | (show_prompt): ... this. | |
2942 | (init_main): Adjust. Don't handle --annotate=2 here. | |
2943 | * event-top.c (new_async_prompt): Delete. | |
2944 | (the_prompts): Delete. | |
2945 | (more_to_come): Make static. | |
2946 | (display_gdb_prompt): Use top_level_prompt() to compute the top | |
2947 | level prompt, and don't notify the before_prompt observers | |
2948 | directly here. Always trick readline into not trying to display | |
2949 | the prompt if sync_execution and displaying the primary prompt. | |
2950 | If displaying a local/secondary prompt, always show it, even if | |
2951 | sync_execution is set. | |
2952 | (change_annotation_level): Delete. | |
2953 | (top_level_prompt): New, based on change_annotation_level. | |
2954 | (push_prompt, pop_prompt): Delete. | |
2955 | (async_disable_stdin): No longer pushes prompt. | |
2956 | (command_line_handler): No longer pushes or pops prompt. If more | |
2957 | input is expected, call display_gdb_prompt with an explicit empty | |
2958 | prompt. | |
2959 | (async_stop_sig): Adjust. | |
2960 | (set_async_annotation_level, set_async_prompt): Delete. | |
2961 | * python/python.c (before_prompt_hook): Adjust. | |
2962 | ||
f1d90504 PA |
2963 | 2011-09-05 Pedro Alves <[email protected]> |
2964 | ||
2965 | PR cli/13110 | |
2966 | ||
2967 | * infrun.c (fetch_inferior_event): Check if there's a selected | |
2968 | thread before checking if the selected thread is executing. | |
2969 | ||
0f641c01 PA |
2970 | 2011-09-05 Pedro Alves <[email protected]> |
2971 | ||
2972 | * inf-loop.c (execute_command): Don't check if the current thread | |
2973 | if running before synchronously waiting for command completion. | |
2974 | * infrun.c (fetch_inferior_event): Handle "set exec-done-display" | |
2975 | here. | |
2976 | (normal_stop): Call async_enable_stdin here. | |
2977 | * inf-loop.c (inferior_event_handler): Don't call | |
2978 | async_enable_stdin, nor handle "set exec-done-display" here. | |
2979 | ||
30368258 | 2980 | 2011-09-04 Joel Brobecker <[email protected]> |
2981 | ||
2982 | GDB 7.3.1 released. | |
2983 | ||
31916278 JB |
2984 | 2011-09-04 Joel Brobecker <[email protected]> |
2985 | ||
2986 | * NEWS: Change `7.3' into `7.3.1' in `Changes since GDB 7.3'. | |
2987 | ||
e8d56f18 JB |
2988 | 2011-09-04 Joel Brobecker <[email protected]> |
2989 | ||
2990 | * NEWS: Add entry for OpenBSD/NetBSD build failure. | |
2991 | ||
5dd05d8c JK |
2992 | 2011-09-02 Jan Kratochvil <[email protected]> |
2993 | ||
2994 | * config/s390/s390.mh (NATDEPFILES): Add linux-procfs.o dependency. | |
2995 | ||
7d8e6458 | 2996 | 2011-09-02 Matt Rice <[email protected]> |
2997 | ||
2998 | PR gdb/10720 | |
2999 | * event-top.c (cli_command_loop): Replace readline setup with | |
3000 | direct call to display_gdb_prompt. | |
3001 | (display_gdb_prompt): Do not call observer mechanism during | |
3002 | synchronous execution. | |
3003 | ||
84636d28 PA |
3004 | 2011-09-02 Pedro Alves <[email protected]> |
3005 | ||
3006 | * linux-nat.c (in_pid_list_p): New. | |
3007 | (linux_record_stopped_pid): Delete. | |
3008 | (lin_lwp_attach_lwp): Check if PTRACE_ATTACH failed because we're | |
3009 | already attached to the LWP. Return an indication if so. | |
3010 | (linux_nat_filter_event): Adjust. | |
3011 | * linux-thread-db.c (attach_thread): Handle lin_lwp_attach_lwp | |
3012 | returning an indication to ignore this thread. | |
3013 | ||
b4a14fd0 PA |
3014 | 2011-09-02 Pedro Alves <[email protected]> |
3015 | ||
3016 | * top.c: Include interps.h. | |
3017 | (execute_command): If the target can async, but the interpreter is | |
3018 | in sync mode, synchronously wait for the command to finish before | |
3019 | returning. | |
3020 | (execute_command_to_string): Force the interpreter to sync mode. | |
3021 | * infrun.c: Include interps.h. | |
3022 | (fetch_inferior_event): Don't restore the prompt yet if the | |
3023 | interpreter is in sync mode. | |
3024 | * interps.c (interpreter_async): New global. | |
3025 | * interps.h (interpreter_async): Declare. | |
3026 | * inf-loop.c: Include interps.h. | |
3027 | (inferior_event_handler): Don't print the language change or run | |
3028 | breakpoint commands yet if the interpreter in is sync mode. | |
3029 | * main.c (captured_command_loop): Flip the interpreter to async | |
3030 | mode. | |
3031 | * cli/cli-script.c: Include interps.h. | |
3032 | (execute_user_command, while_command, if_command): Force the | |
3033 | interpreter to sync mode. | |
3034 | * python/python.c: Include interps.h. | |
3035 | (python_command, execute_gdb_command): Force the interpreter to | |
3036 | sync mode. | |
3037 | ||
c709acd1 PA |
3038 | 2011-09-02 Pedro Alves <[email protected]> |
3039 | ||
3040 | * value.c (show_convenience): Catch errors thrown while printing | |
3041 | each internal variable. | |
3042 | * infrun.c (validate_siginfo_access): New function. | |
3043 | (siginfo_value_read, siginfo_value_write): Call it. | |
3044 | ||
9655e943 JK |
3045 | 2011-09-01 Jan Kratochvil <[email protected]> |
3046 | ||
3047 | Revert: | |
3048 | 2010-05-21 Pierre Muller <[email protected]> | |
3049 | * dwarf2read.c (new_symbol): Handle DW_AT_variable_parameter | |
3050 | attribute. | |
3051 | ||
cb457ae2 YQ |
3052 | 2011-08-29 Yao Qi <[email protected]> |
3053 | ||
3054 | * solib-dsbt.c (bfd_lookup_symbol): Removed. | |
3055 | (cmp_name): New. | |
3056 | (enable_break2): Update caller. | |
3057 | * solib-frv.c (bfd_lookup_symbol): Removed. | |
3058 | (cmp_name): New. | |
3059 | (enable_break2): Update caller. | |
3060 | * solib-pa64.c (bfd_lookup_symbol): Removed. | |
3061 | (cmp_name): New. | |
3062 | * solib-svr4.c (bfd_lookup_symbol): Removed. | |
3063 | (cmp_name_and_sec_flags): New. | |
3064 | (enable_break): Update caller. | |
3065 | * solib.c (gdb_bfd_lookup_symbol_from_symtab): New. | |
3066 | (gdb_bfd_lookup_symbol_from_dyn_symtab): New. | |
3067 | (gdb_bfd_lookup_symbol): New. | |
3068 | * solib.h: Functions declarations. | |
3069 | ||
83d1a36a YQ |
3070 | 2011-08-29 Yao Qi <[email protected]> |
3071 | ||
3072 | * Makefile.in (ALL_TARGET_OBS): Add tic6x-tdep.o tic6x-linux-tdep.o | |
3073 | and solib-dsbt.o. | |
3074 | ||
c04b3e8f JK |
3075 | 2011-08-29 Jan Kratochvil <[email protected]> |
3076 | ||
3077 | Fix TUI stepi on code without symbols. | |
3078 | * tui/tui-stack.c (tui_show_frame_info): Remove error, set LOW for | |
3079 | current PC instead. | |
3080 | ||
cb0fd152 JK |
3081 | 2011-08-28 Jan Kratochvil <[email protected]> |
3082 | ||
3083 | Code cleanup. | |
3084 | * mi/mi-cmd-stack.c (list_args_or_locals): Remove stb initialization | |
3085 | and the static keyword. | |
3086 | * mi/mi-cmd-target.c (mi_cmd_target_file_get, mi_cmd_target_file_put): | |
3087 | Make prefix an array. | |
3088 | * mi/mi-cmd-target.c (mi_cmd_target_file_delete): Likewise. | |
3089 | * mi/mi-main.c (get_register): Remove stb initialization and the static | |
3090 | keyword. | |
3091 | ||
91174723 JK |
3092 | 2011-08-28 Jan Kratochvil <[email protected]> |
3093 | ||
3094 | Code cleanup - make mi_opt const. | |
3095 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Make | |
3096 | opts const. | |
3097 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. | |
3098 | * mi/mi-cmd-env.c (mi_cmd_env_path): Likewise. | |
3099 | (mi_cmd_env_dir): Likewise. | |
3100 | * mi/mi-cmd-target.c (mi_cmd_target_file_get): Likewise. | |
3101 | (mi_cmd_target_file_put): Likewise. | |
3102 | * mi/mi-cmd-target.c (mi_cmd_target_file_delete): Likewise. | |
3103 | * mi/mi-cmd-var.c (mi_cmd_var_evaluate_expression): Likewise. | |
3104 | * mi/mi-getopt.c (mi_getopt): Make opts and opt const. | |
3105 | (mi_valid_noargs): Make opts const. | |
3106 | * mi/mi-getopt.h (mi_getopt): Make opts and opt const. | |
3107 | * mi/mi-main.c (mi_cmd_list_thread_groups): Make opts const. | |
3108 | (mi_cmd_data_read_memory): Likewise. | |
3109 | (mi_cmd_data_read_memory_bytes): Likewise. | |
3110 | (mi_cmd_data_write_memory): Likewise. | |
3111 | ||
5068b8e8 | 3112 | 2011-08-26 Matt Rice <[email protected]> |
3113 | ||
3114 | * solib-sunos.c (allocate_rt_common_objfile): Add missing arguments to | |
3115 | bcache_xmalloc, replace bcache_xmalloc with call to | |
3116 | psymbol_bcache_init for psymbol_cache. | |
3117 | * symfile.c (reread_symbols): Remove extra calls to bcache_xmalloc. | |
3118 | ||
a4f2ce05 JK |
3119 | 2011-08-26 Jan Kratochvil <[email protected]> |
3120 | ||
3121 | * inf-loop.c (inferior_event_handler): Add exception_print in | |
3122 | INF_EXEC_COMPLETE. | |
3123 | ||
353d1d73 JK |
3124 | 2011-08-26 Jan Kratochvil <[email protected]> |
3125 | ||
3126 | * breakpoint.c (bpstat_do_actions): New variable cleanup_if_error, call | |
3127 | make_bpstat_clear_actions_cleanup and discard_cleanups for it. | |
3128 | * defs.h (make_bpstat_clear_actions_cleanup): New declaration. | |
3129 | * exceptions.c (throw_exception): Remove the bpstat_clear_actions call. | |
3130 | * inf-loop.c (inferior_event_handler): New variable cleanup_if_error, | |
3131 | call make_bpstat_clear_actions_cleanup and discard_cleanups for it. | |
3132 | Call bpstat_clear_actions for failed fetch_inferior_event_wrapper. | |
3133 | * infrun.c (fetch_inferior_event): Call | |
3134 | make_bpstat_clear_actions_cleanup. | |
3135 | * top.c (execute_command): New variable cleanup_if_error, call | |
3136 | make_bpstat_clear_actions_cleanup and discard_cleanups for it. | |
3137 | * utils.c (do_bpstat_clear_actions_cleanup) | |
3138 | (make_bpstat_clear_actions_cleanup): New functions. | |
3139 | ||
3ced3da4 PA |
3140 | 2011-08-26 Pedro Alves <[email protected]> |
3141 | ||
3142 | * linux-nat.c (linux_child_follow_fork): Don't set lp->resumed on | |
3143 | either the parent or the child forks. Rename a couple locals. | |
3144 | ||
a9f4bb21 PA |
3145 | 2011-08-26 Pedro Alves <[email protected]> |
3146 | ||
3147 | * linux-nat.c (wait_lwp): Avoid assuming errno is preserved by a | |
3148 | library call. Avoid reading the `status' local if all waitpid | |
3149 | calls failed. | |
3150 | ||
e5798bef PA |
3151 | 2011-08-26 Pedro Alves <[email protected]> |
3152 | ||
3153 | * common/linux-osdata.c (get_cores_used_by_process): Don't assume | |
3154 | opening /proc/PID/task always succeeds. | |
3155 | ||
edb2aadf AR |
3156 | 2011-08-26 Aleksandar Ristovski <[email protected]> |
3157 | ||
3158 | * linespec.c (symtab_from_filename): Check for the end of string. | |
3159 | ||
0d932b2f MK |
3160 | 2011-08-26 Marc Khouzam <[email protected]> |
3161 | ||
3162 | PR mi/11912 | |
3163 | * varobj.c (cplus_describe_child): Add the keyword | |
3164 | 'class' to the output of the method when dealing | |
3165 | with a cast to a base class. | |
3166 | ||
e93ca019 JK |
3167 | 2011-08-26 Jan Kratochvil <[email protected]> |
3168 | ||
3169 | No functionality change. | |
3170 | * breakpoint.c (bpstat_clear_actions): Remove the BS parameter, make | |
3171 | function comment a reference, new variables tp and bs, move here code | |
3172 | from throw_exception. | |
3173 | * breakpoint.h (bpstat_clear_actions): Remove the BS parameter, | |
3174 | describe it in the comment. | |
3175 | * exceptions.c (throw_exception): Remove variable tp, move the code for | |
3176 | bpstat_clear_actions to bpstat_clear_actions. | |
3177 | ||
13da1c97 LM |
3178 | 2011-08-24 Luis Machado <[email protected]> |
3179 | ||
3180 | * linux-nat.h (linux_proc_get_tgid): Remove declaration. | |
3181 | * linux-nat.c: Include linux-procfs.h. | |
3182 | (linux_proc_get_tgid): Move to ... | |
3183 | * common/linux-procfs.c: ... here. New file. | |
3184 | * common/linux-procfs.h: New file. | |
3185 | * linux-thread-db.c: Include linux-procfs.h. | |
3186 | * Makefile.in: Update dependencies. | |
3187 | * config/alpha/alpha-linux.mh: Add linux-procfs.o dependency. | |
3188 | * config/arm/linux.mh: Likewise. | |
3189 | * config/i386/linux.mh: Likewise. | |
3190 | * config/i386/linux64.mh: Likewise. | |
3191 | * config/ia64/linux.mh: Likewise. | |
3192 | * config/m32r/linux.mh: Likewise. | |
3193 | * config/m68k/linux.mh: Likewise. | |
3194 | * config/mips/linux.mh: Likewise. | |
3195 | * config/pa/linux.mh: Likewise. | |
3196 | * config/pa/linux.mh: Likewise. | |
3197 | * config/powerpc/linux.mh: Likewise. | |
3198 | * config/powerpc/ppc64-linux.mh: Likewise. | |
3199 | * config/powerpc/spu-linux.mh: Likewise. | |
3200 | * config/sparc/linux.mh: Likewise. | |
3201 | * config/sparc/linux64.mh: Likewise. | |
3202 | * config/xtensa/linux.mh: Likewise. | |
3203 | ||
4e5c165d HZ |
3204 | 2011-08-24 Hui Zhu <[email protected]> |
3205 | ||
3206 | * tracepoint.c (cond_string_is_same): New function. | |
3207 | (find_matching_tracepoint): Add condition check | |
3208 | by cond_string_is_same. | |
3209 | ||
6e2f5b22 JK |
3210 | 2011-08-23 Josh Matthews <[email protected]> |
3211 | ||
3212 | Fix build error in Darwin port. | |
3213 | * darwin-nat-info.c (darwin_debug_regions_recurse): New variable uiout. | |
3214 | ||
abf85f46 JK |
3215 | 2011-08-21 Jan Kratochvil <[email protected]> |
3216 | ||
3217 | Code cleanup. | |
3218 | * breakpoint.c (bpstat_clear_actions): Remove clearing of commands_left. | |
3219 | (command_line_is_silent): New function. | |
3220 | (bpstat_do_actions_1): No longer use commands_left, use | |
3221 | command_line_is_silent for commands. | |
3222 | (bpstat_alloc): Remove clearing of commands_left. | |
3223 | (bpstat_stop_status): Remove initialization of commands_left, use | |
3224 | command_line_is_silent. | |
3225 | * breakpoint.h (struct bpstats): Remove commands_left. | |
3226 | ||
3a93a0c2 KS |
3227 | 2011-08-18 Keith Seitz <[email protected]> |
3228 | ||
3229 | PR c++/12266 | |
3230 | * cp-name-parser.y (struct demangle_info): Remove unused | |
3231 | member PREV. | |
3232 | (d_grab): Likewise. | |
3233 | (allocate_info): Change return type to struct demangle_info *. | |
3234 | Always allocate a new demangle_info. | |
3235 | Remove unused PREV pointer. | |
3236 | (cp_new_demangle_parse_info): New function. | |
3237 | (cp_demangled_name_parse_free): New function. | |
3238 | (do_demangled_name_parse_free_cleanup): New function. | |
3239 | (make_cleanup_cp_demangled_name_parse_free): New function. | |
3240 | (cp_demangled_name_to_comp): Change return type to | |
3241 | struct demangle_parse_info *. | |
3242 | Allocate a new storage for each call. | |
3243 | (main): Update usage for cp_demangled_name_to_comp | |
3244 | API change. | |
3245 | * cp-support.h (struct demangle_parse_info): New structure. | |
3246 | (cp_demangled_name_to_comp): Update API change for | |
3247 | return type. | |
3248 | (cp_new_demangle_parse_info): Declare. | |
3249 | (make_cleanup_cp_demangled_name_parse_free): New declaration. | |
3250 | (cp_demangled_name_parse_free): Declare. | |
3251 | * cp-support.c (cp_canonicalize_string): Update API | |
3252 | change for cp_demangled_name_to_comp. | |
3253 | (mangled_name_to_comp): Likewise. | |
3254 | Return struct demangle_parse_info, too. | |
3255 | (cp_class_name_from_physname): Update mangled_name_to_comp | |
3256 | API change. | |
3257 | (method_name_from_physname): Likewise. | |
3258 | (cp_func_name): Update API change for cp_demangled_name_to_comp. | |
3259 | (cp_remove_params): Likewise. | |
3260 | * python/py-type.c (typy_legacy_template_argument): Likewise. | |
3261 | ||
3262 | * cp-support.h (cp_canonicalize_string_no_typedefs): Declare. | |
3263 | (cp_merge_demangle_parse_infos): Declare. | |
3264 | * cp-support.c (ignore_typedefs): New file global. | |
3265 | (copy_string_to_obstack): New function. | |
3266 | (inspect_type): New function. | |
3267 | (replace_typedefs): New function. | |
3268 | (replace_typedefs_qualified_name): New function. | |
3269 | (cp_canonicalize_string_no_typedefs): New function. | |
3270 | * cp-name-parser.y (cp_merge_demangle_parse_infos): New function. | |
3271 | (cp_new_demangle__parse_info): Allocate and initialize the obstack. | |
3272 | * linespec.c (find_methods): Use cp_canonicalize_string_no_typedefs | |
3273 | instead of cp_canonicalize_string. | |
3274 | (find_method): Likewise. | |
3275 | (decode_compound): Before looking up the name, call | |
3276 | cp_canonicalize_string_no_typedefs. | |
3277 | (decode_variable): Likewise. | |
3278 | ||
fa3a4f15 PM |
3279 | 2011-08-17 Phil Muldoon <[email protected]> |
3280 | Tom Tromey <[email protected]> | |
3281 | Matt Rice <[email protected]> | |
3282 | ||
3283 | * python/lib/gdb/prompt.py: New file. | |
3284 | * python/lib/gdb/command/prompt.py: New file. | |
3285 | * NEWS: Document set extended-prompt and gdb.prompt library | |
3286 | ||
85661b1e YQ |
3287 | 2011-08-16 Yao Qi <[email protected]> |
3288 | ||
3289 | * tic6x-linux-tdep.c: Move const arrays definition from here... | |
3290 | * tic6x-tdep.c: to here ... | |
3291 | ||
11315641 YQ |
3292 | 2011-08-14 Yao Qi <[email protected]> |
3293 | ||
3294 | * NEWS: New port to Texas Instruments TMS320C6x. | |
3295 | ||
8cd64e00 YQ |
3296 | 2011-08-14 Andrew Jenner <[email protected]> |
3297 | Bernd Schmidt <[email protected]> | |
3298 | Yao Qi <[email protected]> | |
3299 | ||
3300 | * configure.tgt: Handle tic6x-*-*linux and tic6x-*-*. | |
3301 | * solib-dsbt.c: New file. Support DSBT shared object. | |
3302 | * tic6x-linux-tdep.c: New file. | |
3303 | * tic6x-tdep.c: New file. | |
3304 | * tic6x-tdep.h: New file. | |
3305 | ||
78d85199 YQ |
3306 | 2011-08-14 Andrew Stubbs <[email protected]> |
3307 | Yao Qi <[email protected]> | |
3308 | ||
3309 | * remote.c (PACKET_qXfer_fdpic): New enum value. | |
3310 | (remote_protocol_features): Add qXfer:fdpic:read packet. | |
3311 | (remote_xfer_partial): Support TARGET_OBJECT_FDPIC. | |
3312 | (_initialize_remote): Add set/show remote read-fdpic-loadmap command. | |
3313 | * target.h (enum target_object): Add TARGET_OBJECT_FDPIC. | |
3314 | ||
224bbe49 YQ |
3315 | 2011-08-14 Yao Qi <[email protected]> |
3316 | ||
3317 | Target description for tic6x. | |
3318 | * features/Makefile (WHICH): Add tic6x-c64xp tic6x-c64x tic6x-c62x | |
3319 | tic6x-c64xp-linux tic6x-c64x-linux and tic6x-c62x-linux. | |
3320 | * features/tic6x-c6xp.xml, features/tic6x-core.xml: New. | |
3321 | * features/tic6x-gp.xml, features/tic6x-c62x.xml: New. | |
3322 | * features/tic6x-c64x.xml, features/tic6x-c64xp.xml: New. | |
3323 | * features/tic6x-c62x-linux.xml, features/tic6x-c64x-linux.xml: New. | |
3324 | * features/tic6x-c64xp-linux.xml: New. | |
3325 | * features/tic6x-c64xp.c, features/tic6x-c64x.c: Generated. | |
3326 | * features/tic6x-c62x.c, features/tic6x-c64xp-linux.c: Generated. | |
3327 | * features/tic6x-c64x-linux.c, features/tic6x-c62x-linux.c: Generated. | |
3328 | * regformats/tic6x-c62x.dat, regformats/tic6x-c64x.dat: Generated. | |
f040079f HZ |
3329 | * regformats/tic6x-c64xp.dat, |
3330 | regformats/tic6x-c62x-linux.dat: Generated. | |
3331 | * regformats/tic6x-c64x-linux.dat, | |
3332 | regformats/tic6x-c64xp-linux.dat: Generated. | |
224bbe49 YQ |
3333 | * config/djgpp/fnchange.lst: Add features/tic6x-*.xml and |
3334 | features/tic6x-*.c files. | |
3335 | Add regformats/tic6x-*.dat files. | |
3336 | ||
457e09f0 DE |
3337 | 2011-08-12 Doug Evans <[email protected]> |
3338 | ||
3339 | * NEWS: Mention new "type" attribute of python gdb.Symbol objects. | |
3340 | * python/py-symbol.c (sympy_get_type): New function. | |
3341 | (symbol_object_getset): Add "type". | |
3342 | ||
d20c1c3f PA |
3343 | 2011-08-12 Pedro Alves <[email protected]> |
3344 | ||
3345 | PR tui/13073 | |
3346 | ||
3347 | * tui/tui-regs.c (tui_show_register_group): Skip registers with an | |
3348 | empty name. | |
3349 | (tui_show_register_group): Don't store a byte buffer in the data | |
3350 | element's value. | |
3351 | (tui_register_format): Skip registers with an empty name. | |
3352 | (tui_get_register): Store a struct value in the data element's | |
3353 | value field instead of a byte buffer holding the raw register | |
3354 | contents. Account for optimized-out and unavailable registers | |
3355 | when comparing register contents. | |
3356 | ||
9d8fa392 PA |
3357 | 2011-08-09 Pedro Alves <[email protected]> |
3358 | ||
3359 | * printcmd.c (current_display_number): Update comment. | |
3360 | (disable_current_display_cleanup): Delete. | |
3361 | (do_one_display): Use make_cleanup_restore_integer. Gracefully | |
3362 | catch errors thrown while evaluating and printing the display. | |
3363 | ||
401a70b8 TT |
3364 | 2011-08-09 Tom Tromey <[email protected]> |
3365 | ||
3366 | * mi/mi-cmd-break.c (mi_cmd_break_passcount): Fix typo. | |
3367 | ||
7f86f058 PA |
3368 | 2011-08-09 Pedro Alves <[email protected]> |
3369 | ||
94b71cca | 3370 | * elfread.c (elf_symtab_read): Rework comments. |
7f86f058 PA |
3371 | * maint.c (maintenance_command): Ditto. |
3372 | * somread.c (som_symtab_read): Ditto. | |
3373 | * solib.c (solib_find, solib_map_sections, update_solib_list) | |
3374 | (solib_add, info_sharedlibrary_command, solib_name_from_address) | |
3375 | (solib_create_inferior_hook, in_solib_dynsym_resolve_code) | |
94b71cca | 3376 | (sharedlibrary_command, no_shared_libraries): Ditto. |
7f86f058 PA |
3377 | * solib-irix.c (locate_base, disable_break, enable_break) |
3378 | (irix_solib_create_inferior_hook, irix_solib_create_inferior_hook) | |
3379 | (irix_current_sos, irix_open_symbol_file_object) | |
3380 | (irix_special_symbol_handling): Ditto. | |
3381 | * solib-sunos.c (locate_base, first_link_map_member) | |
3382 | (sunos_current_sos, disable_break, enable_break) | |
3383 | (sunos_special_symbol_handling, sunos_solib_create_inferior_hook): | |
3384 | Ditto. | |
3385 | * solib-svr4.c (bfd_lookup_symbol, elf_locate_base, locate_base) | |
3386 | (open_symbol_file_object, svr4_current_sos, enable_break) | |
3387 | (svr4_special_symbol_handling, svr4_solib_create_inferior_hook): | |
3388 | Ditto. | |
3389 | * solib-frv.c (bfd_lookup_symbol, open_symbol_file_object) | |
3390 | (frv_current_sos, enable_break, frv_special_symbol_handling) | |
3391 | (frv_solib_create_inferior_hook): Ditto. | |
3392 | * solist.h (struct target_so_ops): Extend the comments of the | |
3393 | special_symbol_handling, current_sos and open_symbol_file_object | |
3394 | methods. | |
3395 | ||
5e239b84 PM |
3396 | 2011-08-09 Phil Muldoon <[email protected]> |
3397 | ||
3398 | * python/lib/gdb/__init__.py: Auto-load files in command and | |
3399 | function directories. | |
3400 | * python/python.c (finish_python_initialization): Use | |
3401 | os.path.join. | |
3402 | * python/lib/gdb/command/pretty_printers.py: Self register | |
3403 | command. | |
3404 | * NEWS: Document auto-loading. | |
3405 | ||
b6cede78 JK |
3406 | 2011-08-08 Jan Kratochvil <[email protected]> |
3407 | ||
3408 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full) <DWARF_VALUE_STACK> | |
3409 | (dwarf2_evaluate_loc_desc_full) <DWARF_VALUE_LITERAL>: New variable | |
3410 | objfile_gdbarch. Fix BFD_ENDIAN_BIG case. | |
3411 | ||
29d0bb3d TT |
3412 | 2011-08-08 Tom Tromey <[email protected]> |
3413 | ||
3414 | * breakpoint.c (clean_up_filters): Remove. | |
3415 | (catch_syscall_split_args): Use VEC_cleanup. | |
3416 | ||
2f7fb8e4 JK |
3417 | 2011-08-06 Jan Kratochvil <[email protected]> |
3418 | ||
3419 | * cp-name-parser.y (xfree): Wrap the name free by CONCAT2. | |
3420 | (main): Uncomment "Demangling error\n". | |
3421 | ||
d6c10e95 PP |
3422 | 2011-08-05 Paul Pluzhnikov <[email protected]> |
3423 | ||
3424 | * solib-target.c (segment_attributes): Make them static. | |
3425 | (section_attributes, library_children, library_attributes): Likewise. | |
3426 | (library_list_children, library_list_attributes): Likesise. | |
3427 | (library_list_elements): Likewise. | |
3428 | ||
af6e93b2 PA |
3429 | 2011-08-05 Pedro Alves <[email protected]> |
3430 | ||
3431 | * exceptions.c (throw_exception): Don't disable the current | |
3432 | display. | |
3433 | * printcmd.c (disable_current_display_cleanup): New function. | |
3434 | (do_one_display): Install a cleanup to disable the current display | |
3435 | if doing the display throws. | |
3436 | ||
6a1b1664 EZ |
3437 | 2011-08-05 Eli Zaretskii <[email protected]> |
3438 | ||
3439 | * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Move the | |
3440 | initialization of the tp_new member to the corresponding | |
3441 | gdbpy_initialize_* function. | |
3442 | * python/py-cmd.c (gdbpy_initialize_commands): Likewise. | |
3443 | * python/py-frame.c (gdbpy_initialize_frames): Likewise. | |
3444 | * python/py-function.c (gdbpy_initialize_functions): Likewise. | |
3445 | * python/py-inferior.c (gdbpy_initialize_inferior): Likewise. | |
3446 | * python/py-param.c (gdbpy_initialize_parameters): Likewise. | |
3447 | ||
31a0ae49 JK |
3448 | 2011-08-05 Jan Kratochvil <[email protected]> |
3449 | ||
3450 | * spu-tdep.c (info_spu_event_command, info_spu_signal_command) | |
3451 | (info_spu_mailbox_list, info_spu_mailbox_command, info_spu_dma_cmdlist) | |
3452 | (info_spu_dma_command, info_spu_proxydma_command): Rename uiout | |
3453 | references to current_uiout. | |
3454 | ||
e0dd0826 PA |
3455 | 2011-08-04 Pedro Alves <[email protected]> |
3456 | ||
3457 | * event-loop.c (gdb_do_one_event): Remove `data' parameter. | |
3458 | (start_event_loop): Use TRY_CATCH instead of catch_errors. | |
3459 | * event-loop.h (gdb_do_one_event): Remove `data' parameter. | |
3460 | * top.c (gdb_readline_wrapper): Adjust. | |
3461 | * tui/tui-interp.c (tui_command_loop): | |
3462 | (_initialize_tui_interp): Don't install it. | |
3463 | ||
79a45e25 PA |
3464 | 2011-08-04 Pedro Alves <[email protected]> |
3465 | ||
3466 | * ui-out.h (uiout): Rename to ... | |
3467 | (current_uiout): ... this. | |
3468 | * ui-out.c (uiout): Rename to ... | |
3469 | (current_uiout): ... this. | |
3470 | * ada-lang.c (print_it_exception, print_one_exception) | |
3471 | (print_mention_exception): Adjust. | |
3472 | * breakpoint.c (watchpoint_check): Adjust. | |
3473 | (print_breakpoint_location, print_one_breakpoint, breakpoint_1) | |
3474 | (default_collect_info, watchpoints_info, print_one_catch_fork) | |
3475 | (print_one_catch_vfork, print_one_catch_syscall) | |
3476 | (print_one_catch_exec, mention, print_it_ranged_breakpoint) | |
3477 | (print_one_ranged_breakpoint, print_mention_ranged_breakpoint) | |
3478 | (print_it_watchpoint, print_mention_watchpoint) | |
3479 | (print_it_masked_watchpoint, print_mention_masked_watchpoint) | |
3480 | (print_it_exception_catchpoint, print_one_exception_catchpoint) | |
3481 | (print_mention_exception_catchpoint, say_where, bkpt_print_it) | |
3482 | (bkpt_print_mention, momentary_bkpt_print_it) | |
3483 | (tracepoint_print_mention, update_static_tracepoint) | |
3484 | (tracepoints_info, save_breakpoints): Adjust. | |
3485 | * cli-out.c (field_separator): Adjust. | |
3486 | * cp-abi.c (list_cp_abis, show_cp_abi_cmd): Adjust. | |
3487 | * exceptions.c (catch_exceptions_with_msg, catch_errors): Adjust. | |
3488 | * frame.c (get_current_frame): Adjust. | |
3489 | * infcmd.c (run_command_1, print_return_value): Adjust. | |
3490 | * inferior.c (inferior_command, info_inferiors_command): Adjust. | |
3491 | * infrun.c (print_end_stepping_range_reason): Adjust. | |
3492 | (print_signal_exited_reason, print_exited_reason): Adjust. | |
3493 | (print_signal_received_reason, print_no_history_reason): Adjust. | |
3494 | * interps.c (interp_set): Adjust. | |
3495 | * osdata.c (info_osdata_command): Adjust. | |
3496 | * progspace.c (maintenance_info_program_spaces_command): Adjust. | |
3497 | * remote-fileio.c (remote_fileio_request): Adjust. | |
3498 | * remote.c (show_remote_cmd): Adjust. | |
3499 | * solib.c (info_sharedlibrary_command): Adjust. | |
3500 | * source.c (print_source_lines_base): Adjust. | |
3501 | * stack.c (print_stack_frame): Adjust. | |
3502 | (do_gdb_disassembly, print_frame_info, print_frame): Adjust. | |
3503 | * symfile-mem.c (add_vsyscall_page): Adjust. | |
3504 | * symfile.c (load_progress, generic_load) | |
3505 | (print_transfer_performance): Adjust. | |
3506 | * thread.c (info_threads_command, restore_selected_frame) | |
3507 | (thread_command): Adjust. | |
3508 | * top.c (make_cleanup_restore_ui_file): Adjust. | |
3509 | * tracepoint.c (tvariables_info_1, trace_status_mi, tfind_1) | |
3510 | (print_one_static_tracepoint_marker): Adjust. | |
3511 | * cli/cli-cmds.c (print_disassembly): Adjust. | |
3512 | * cli/cli-decode.c (print_doc_line): Adjust. | |
3513 | * cli/cli-interp.c (safe_execute_command): Adjust. | |
3514 | * cli/cli-logging.c (set_logging_redirect, pop_output_files) | |
3515 | (handle_redirections): Adjust. | |
3516 | * cli/cli-script.c (show_user_1): Adjust. | |
3517 | * cli/cli-setshow.c (do_setshow_command, cmd_show_list): Adjust. | |
3518 | * mi/mi-cmd-break.c (breakpoint_notify): Adjust. | |
3519 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Adjust. | |
3520 | * mi/mi-cmd-env.c (mi_cmd_env_pwd, mi_cmd_env_path) | |
3521 | (mi_cmd_env_dir): Adjust. | |
3522 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file) | |
3523 | (print_partial_file_name, mi_cmd_file_list_exec_source_files): Adjust. | |
3524 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames) | |
3525 | (mi_cmd_stack_info_depth, mi_cmd_stack_list_args) | |
3526 | (list_args_or_locals): Adjust. | |
3527 | * mi/mi-cmd-var.c (print_varobj, mi_cmd_var_create) | |
3528 | (mi_cmd_var_delete, mi_cmd_var_set_format, mi_cmd_var_set_frozen) | |
3529 | (mi_cmd_var_show_format, mi_cmd_var_info_num_children) | |
3530 | (mi_cmd_var_list_children, mi_cmd_var_info_type) | |
3531 | (mi_cmd_var_info_path_expression, mi_cmd_var_info_expression) | |
3532 | (mi_cmd_var_show_attributes, mi_cmd_var_evaluate_expression) | |
3533 | (mi_cmd_var_assign, mi_cmd_var_update, varobj_update_one): Adjust. | |
3534 | * mi/mi-interp.c (mi_on_normal_stop): Adjust. | |
3535 | * mi/mi-main.c (mi_cmd_gdb_exit, mi_cmd_thread_select) | |
3536 | (mi_cmd_thread_list_ids, mi_cmd_thread_info, print_one_inferior) | |
3537 | (list_available_thread_groups, mi_cmd_list_thread_groups) | |
3538 | (mi_cmd_data_list_register_names) | |
3539 | (mi_cmd_data_list_changed_registers) | |
3540 | (mi_cmd_data_list_register_values, get_register) | |
3541 | (mi_cmd_data_evaluate_expression, mi_cmd_data_read_memory) | |
3542 | (mi_cmd_data_read_memory_bytes, mi_cmd_list_features) | |
3543 | (mi_cmd_list_target_features, mi_cmd_add_inferior) | |
3544 | (mi_execute_command, mi_load_progress): Adjust. | |
3545 | * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Adjust. | |
3546 | * python/py-auto-load.c (print_script, info_auto_load_scripts): | |
3547 | Adjust. | |
3548 | * python/py-breakpoint.c (bppy_get_commands): Adjust. | |
3549 | * tui/tui-interp.c (tui_command_loop): Adjust. | |
3550 | * tui/tui-io.c (tui_setup_io, tui_initialize_io): Adjust. | |
3551 | ||
f9679975 PA |
3552 | 2011-08-04 Pedro Alves <[email protected]> |
3553 | ||
3554 | * exceptions.c (struct catcher): Remove saved_uiout field. | |
3555 | (exceptions_state_mc_init): Remove the `func_uiout' parameter, and | |
3556 | no longer save/resvore the global ui_out builder. | |
3557 | (catch_exceptions_with_msg): Save/override/restore the global | |
3558 | ui_out builder manually instead of relying on TRY_CATCH to do it. | |
3559 | (catch_errors): Save/restore the global ui_out builder manually | |
3560 | instead of relying on TRY_CATCH to do it. | |
3561 | * exceptions.h (exceptions_state_mc_init): Remove the `func_uiout' | |
3562 | parameter. | |
3563 | (TRY_CATCH): Adjust. | |
3564 | * cli/cli-interp.c (safe_execute_command): Save/override/restore | |
3565 | the global ui_out builder manually instead of relying on TRY_CATCH | |
3566 | to do it. | |
3567 | ||
934709f0 PW |
3568 | 2011-08-03 Philippe Waroquiers <[email protected]> |
3569 | ||
3570 | * breakpoint.c (update_global_location_list): Ensure | |
3571 | invariant 'first loc marked not duplicated and inserted, | |
3572 | following locs marked duplicated/not inserted' is respected | |
3573 | for multiple locations at the same address. | |
3574 | (unduplicated_should_be_inserted) New function. | |
3575 | (swap_insertion) New function. | |
3576 | ||
2421fe6f JK |
3577 | 2011-08-03 Jan Kratochvil <[email protected]> |
3578 | ||
3579 | * stack.c (print_frame_arguments_choices): Comment typo fix. | |
3580 | ||
3fbb6ffa TJB |
3581 | 2011-08-01 Thiago Jung Bauermann <[email protected]> |
3582 | ||
3583 | Revert: | |
3584 | 2011-07-31 Thiago Jung Bauermann <[email protected]> | |
3585 | * breakpoint.c (insert_bp_location): Remove disabled_breaks | |
3586 | argument. Update callers. | |
3587 | ||
fbe12357 PP |
3588 | 2011-08-01 Paul Pluzhnikov <[email protected]> |
3589 | ||
3590 | PR gdb/13045 | |
3591 | * doublest.c (convert_doublest_to_floatformat): Pass correct | |
3592 | mantissa length to put_field. | |
3593 | ||
b1d288d3 JK |
3594 | 2011-08-01 Jan Kratochvil <[email protected]> |
3595 | ||
3596 | * stack.c (do_gdb_disassembly): Use RETURN_MASK_ERROR, simplify the | |
3597 | exception_print code path. | |
3598 | (backtrace_command): Remove variable e. Protect arg by make_cleanup in | |
3599 | advance. Simplify memset. Remove TRY_CATCH. Remove explicit xfree. | |
3600 | (backtrace_full_command): Remove variable e. Remove TRY_CATCH. | |
3601 | ||
311b5970 JK |
3602 | 2011-08-01 Jan Kratochvil <[email protected]> |
3603 | ||
3604 | Code cleanup. | |
3605 | * stack.c (struct print_stack_frame_args, print_stack_frame_stub): | |
3606 | Remove, merge them into ... | |
3607 | (print_stack_frame): ... here with a TRY_CATCH. New variable e, remove | |
3608 | variable args and its initialization. | |
3609 | (struct print_args_args, print_args_stub): Remove, merge them into | |
3610 | print_frame. | |
3611 | (struct gdb_disassembly_stub_args, gdb_disassembly_stub): Remove, merge | |
3612 | them into ... | |
3613 | (do_gdb_disassembly): ... here. Remove variable args and its | |
3614 | initialization. | |
3615 | (print_frame): Remove variable args and its initialization, new | |
3616 | variable gdbarch and numargs (from print_args_stub), inline here | |
3617 | print_args_stub with a TRY_CATCH. | |
3618 | (struct backtrace_command_args, backtrace_command_stub): Remove, merge | |
3619 | them into ... | |
3620 | (backtrace_command, backtrace_full_command): ... here with a TRY_CATCH. | |
fbe12357 | 3621 | New variable e, remove variable btargs and its initialization. |
311b5970 | 3622 | |
484a26a8 TG |
3623 | 2011-08-01 Tristan Gingold <[email protected]> |
3624 | ||
3625 | * darwin-nat.c (darwin_decode_exception_message): Adjust assertion. | |
3626 | ||
c30eee59 TJB |
3627 | 2011-07-31 Thiago Jung Bauermann <[email protected]> |
3628 | ||
3629 | * breakpoint.c (insert_bp_location): Document return value. | |
3630 | (insert_breakpoint_locations): Fix documentation. | |
3631 | (remove_breakpoints): Add documentation. | |
3632 | ||
f116073b TJB |
3633 | 2011-07-31 Thiago Jung Bauermann <[email protected]> |
3634 | ||
3635 | * breakpoint.c (insert_bp_location): Remove disabled_breaks | |
3636 | argument. Update callers. | |
3637 | ||
65aa373f JK |
3638 | 2011-07-30 Jan Kratochvil <[email protected]> |
3639 | ||
3640 | * stack.c (print_frame_info): Comment typo fix. | |
3641 | ||
a50242fb SA |
3642 | 2011-07-29 Sterling Augustine <[email protected]> |
3643 | ||
3644 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
3645 | ||
267f6504 TT |
3646 | 2011-07-29 Tom Tromey <[email protected]> |
3647 | ||
3648 | * solib-target.c: Use DEF_VEC_I, not DEF_VEC_O. | |
3649 | (library_list_start_segment): Update. | |
3650 | (library_list_start_section): Update. | |
3651 | ||
00bd41d6 PM |
3652 | 2011-07-28 Phil Muldoon <[email protected]> |
3653 | ||
3654 | * varobj.c (value_get_print_value): Move hint check later into the | |
3655 | function. Comment function. Free thevalue before reusing it. | |
3656 | ||
18a46dbe JK |
3657 | 2011-07-27 Jan Kratochvil <[email protected]> |
3658 | Pedro Alves <[email protected]> | |
3659 | ||
3660 | * eval.c (evaluate_subexp_standard): Remove not_lval from all calls of | |
3661 | value_one. | |
3662 | * valops.c (value_one): Remove parameter lv. Do not pass it to itself. | |
3663 | Assert the result kind. | |
3664 | * value.h (value_one): Remove parameter lv. | |
3665 | ||
bb7da2bf JK |
3666 | 2011-07-27 Jan Kratochvil <[email protected]> |
3667 | ||
3668 | Fix crash on lval_computed values. | |
3669 | * valops.c (value_zero): Use not_lval for lval_computed. | |
3670 | ||
2d5213f8 TT |
3671 | 2011-07-27 Tom Tromey <[email protected]> |
3672 | ||
3673 | * Makefile.in (HFILES_NO_SRCDIR): Add 'common' prefix for | |
3674 | gdb_assert.h, gdb_locale.h, gdb_dirent.h. | |
3675 | ||
11081198 JK |
3676 | 2011-07-27 Jan Kratochvil <[email protected]> |
3677 | ||
3678 | * typeprint.c (_initialize_typeprint): Extend the help of "whatis" and | |
3679 | "ptype" by their typedefs difference. | |
3680 | ||
3c6e0cb3 JK |
3681 | 2011-07-27 Jan Kratochvil <[email protected]> |
3682 | ||
3683 | * dwarf2expr.c (ctx_no_read_reg): New function. | |
3684 | * dwarf2expr.h (ctx_no_read_reg): New declaration. | |
3685 | * dwarf2read.c (read_2_signed_bytes, read_4_signed_bytes): Remove. | |
3686 | (decode_locdesc_read_mem, decode_locdesc_ctx_funcs): New. | |
3687 | (decode_locdesc): Replace by a caller of dwarf_expr_eval. | |
3688 | ||
523f3620 JK |
3689 | 2011-07-27 Jan Kratochvil <[email protected]> |
3690 | ||
3691 | * dwarf2-frame.c (no_get_frame_base, no_get_frame_cfa, no_get_frame_pc) | |
3692 | (no_get_tls_address, no_dwarf_call, no_base_type): Move to the other | |
3693 | file. | |
3694 | (dwarf2_frame_ctx_funcs): Reference the renamed functions. | |
3695 | * dwarf2expr.c (ctx_no_get_frame_base, ctx_no_get_frame_cfa) | |
3696 | (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call) | |
3697 | (ctx_no_get_base_type): Move the functions here. | |
3698 | * dwarf2expr.h (ctx_no_get_frame_base, ctx_no_get_frame_cfa) | |
3699 | (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call) | |
3700 | (ctx_no_get_base_type): New declarations. | |
3701 | ||
24d3216f TT |
3702 | 2011-07-27 Tom Tromey <[email protected]> |
3703 | ||
3704 | * xcoffread.c (dwarf2_xcoff_names): Add 'macro' and 'sentinel' | |
3705 | entries. | |
3706 | * symfile.h (struct dwarf2_debug_sections) <sentinel>: New field. | |
3707 | * dwarf2read.c (dwarf2_elf_names): Add sentinel entry. | |
3708 | ||
5005c8a9 PP |
3709 | 2011-07-26 Sterling Augustine <[email protected]> |
3710 | ||
3711 | * cli/cli-dump.c (dump_binary_file): Change parameter type to | |
3712 | ULONGEST. | |
3713 | (dump_bfd_file): Likewise. | |
3714 | ||
480a3f21 PW |
3715 | 2011-07-26 Philippe Waroquiers <[email protected]> |
3716 | ||
3717 | * remote.c (remote_region_ok_for_hw_watchpoint): New function. | |
3718 | (remote_hw_watchpoint_length_limit): New variable. | |
3719 | (_initialize_remote) add set,show cmds for this new variable. | |
3720 | * gdb.texinfo: document these new commands. | |
3721 | * NEWS: Mention these new commands. | |
3722 | ||
efa80663 PA |
3723 | 2011-07-26 Pedro Alves <[email protected]> |
3724 | ||
3725 | * breakpoint.c (works_in_software_mode_watchpoint): Also return | |
3726 | true for software watchpoints. | |
3727 | ||
dbdaa232 | 3728 | 2011-07-26 Joel Brobecker <[email protected]> |
3729 | ||
3730 | GDB 7.3 released. | |
3731 | ||
cf2c3c16 TT |
3732 | 2011-07-26 Tom Tromey <[email protected]> |
3733 | ||
3734 | * symfile.h (struct dwarf2_debug_sections) <macro>: New field. | |
3735 | * dwarf2read.c (read_indirect_string_at_offset): New function. | |
3736 | (read_indirect_string): Use it. | |
3737 | (dwarf_decode_macro_bytes): New function, taken from | |
3738 | dwarf_decode_macros. Handle DW_MACRO_GNU_*. | |
3739 | (dwarf_decode_macros): Use it. handle DW_MACRO_GNU_*. | |
3740 | (dwarf_parse_macro_header, skip_form_bytes, skip_unknown_opcode): | |
3741 | New functions. | |
3742 | (struct dwarf2_per_objfile) <macro>: New field. | |
3743 | (dwarf2_elf_names): Add .debug_macro. | |
3744 | (dwarf2_macros_too_long_complaint): Add 'section' argument. | |
3745 | (dwarf2_locate_sections): Handle new section. | |
3746 | (read_file_scope): Handle DW_AT_GNU_macros. | |
3747 | (dwarf2_per_objfile_free): Unmap the .debug_macro section. | |
3748 | ||
1a532630 PP |
3749 | 2011-07-26 Paul Pluzhnikov <[email protected]> |
3750 | ||
3751 | * NEWS: Mention dcache configuration. | |
3752 | * dcache.c (dcache_set_list, dcache_show_list): New variables. | |
3753 | (dcache_size, dcache_line_size): New variables. | |
3754 | (LINE_SIZE_MASK, XFORM, MASK): Adjust. | |
3755 | (struct dcache_block): Make it expandable. | |
3756 | (struct dcache_struct): New field. | |
3757 | (dcache_invalidate): Discard freelist upon dcache_line_size changes. | |
3758 | (dcache_hit, dcache_alloc, dcache_peek_byte): Adjust. | |
3759 | (dcache_poke_byte, dcache_print_line): Adjust. | |
3760 | (set_dcache_size, set_dcache_line_size): New functions. | |
3761 | (set_dcache_command, show_dcache_command): New functions. | |
3762 | (_initialize_dcache): Add new commands. | |
3763 | ||
2eff07b3 PP |
3764 | 2011-07-26 Paul Pluzhnikov <[email protected]> |
3765 | ||
3766 | * progspace.h (struct program_space): Add solib_add_generation. | |
3767 | * infcmd.c (post_create_inferior): Only call solib_add if not | |
3768 | already done. | |
3769 | * solib.c (solib_add): Increment solib_add_generation. | |
3770 | ||
543305c9 JK |
3771 | 2011-07-25 Jan Kratochvil <[email protected]> |
3772 | ||
3773 | Fix implicit pointer offsets. | |
3774 | * dwarf2loc.c (indirect_pieced_value): Comment byte_offset. Use also | |
3775 | ptr.OFFSET. | |
3776 | ||
c0a91b2b TT |
3777 | 2011-07-25 Tom Tromey <[email protected]> |
3778 | ||
3779 | * ada-lang.c (ada_exception_breakpoint_ops): Make return type | |
3780 | const. | |
3781 | (ada_exception_sal): Make 'ops' const. | |
3782 | (ada_decode_exception_location): Likewise. | |
3783 | (ada_decode_assert_location): Likewise. | |
3784 | (catch_assert_command): Update. | |
3785 | (catch_ada_exception_command): Update. | |
3786 | (create_ada_exception_catchpoint): Make 'ops' const. | |
3787 | * breakpoint.c (set_raw_breakpoint_without_location) | |
3788 | (set_raw_breakpoint, momentary_breakpoint_from_master): Make 'ops' | |
3789 | const. | |
3790 | (create_internal_breakpoint): Update. | |
3791 | (init_raw_breakpoint_without_location): Make 'ops' const. | |
3792 | (init_raw_breakpoint, init_catchpoint) | |
3793 | (create_fork_vfork_event_catchpoint) | |
3794 | (create_syscall_event_catchpoint, init_breakpoint_sal) | |
3795 | (create_breakpoint_sal, create_breakpoints_sal) | |
3796 | (create_breakpoint, init_ada_exception_breakpoint): Likewise. | |
3797 | * breakpoint.h (struct breakpoint) <ops>: Now const. | |
3798 | (init_ada_exception_breakpoint, create_breakpoint): Make 'ops' | |
3799 | const. | |
3800 | ||
6cb9b55b PP |
3801 | 2011-07-25 Paul Pluzhnikov <[email protected]> |
3802 | ||
3803 | * linux-thread-db.c (thread_from_lwp): Initialize th.th_unique. | |
3804 | ||
d9b3f62e PA |
3805 | 2011-07-25 Pedro Alves <[email protected]> |
3806 | ||
3807 | * breakpoint.h (print_recreate_thread): Declare. | |
3808 | (struct breakpoint): Move step_count, pass_count, | |
3809 | number_on_target, static_trace_marker_id, | |
3810 | static_trace_marker_id_idx ... | |
3811 | (struct tracepoint): ... to this new struct. | |
3812 | (get_tracepoint, get_tracepoint_by_number_on_target) | |
3813 | (get_tracepoint_by_number): Change return type to struct | |
3814 | tracepoint pointer. | |
3815 | * breakpoint.c (is_tracepoint_type): New, factored out from | |
3816 | is_tracepoint. | |
3817 | (is_tracepoint): Adjust. | |
3818 | (print_one_breakpoint_location): Cast to struct tracepoint as | |
3819 | necessary, and adjust. | |
3820 | (print_recreate_catch_fork, print_recreate_catch_vfork) | |
3821 | (print_recreate_catch_syscall, print_recreate_catch_exec): Call | |
3822 | print_recreate_thread. | |
3823 | (init_breakpoint_sal): New, factored out from | |
3824 | create_breakpoint_sal. | |
3825 | (create_breakpoint_sal): Reimplement. | |
3826 | (create_breakpoint): Allocate a struct tracecepoint if the caller | |
3827 | wanted a tracepoint. Use init_breakpoint_sal and | |
3828 | install_breakpoint. | |
3829 | (print_recreate_ranged_breakpoint, print_recreate_watchpoint) | |
3830 | (print_recreate_masked_watchpoint) | |
3831 | (print_recreate_exception_catchpoint): Call print_recreate_thread. | |
3832 | (tracepoint_print_one_detail): Adjust. | |
3833 | (tracepoint_print_recreate): Adjust. Call print_recreate_thread. | |
3834 | Dump the pass count here. | |
3835 | (update_static_tracepoint): Adjust. | |
3836 | (addr_string_to_sals): Adjust. | |
3837 | (create_tracepoint_from_upload): Adjust. Change return type to | |
3838 | struct tracepoint pointer. | |
3839 | (trace_pass_set_count): Change parameter type to struct tracepoint | |
3840 | pointer, and adjust. | |
3841 | (trace_pass_command): Adjust. | |
3842 | (get_tracepoint, get_tracepoint_by_number_on_target) | |
3843 | (get_tracepoint_by_number): Change return type to struct | |
3844 | tracepoint pointer, and adjust. | |
3845 | (print_recreate_thread): New, factored out from save_breakpoints. | |
3846 | (save_breakpoints): Don't print thread and task and passcount | |
3847 | recreation here. | |
3848 | * remote.c (remote_download_tracepoint): Adjust. | |
3849 | * tracepoint.c (trace_actions_command, validate_actionline) | |
3850 | (start_tracing, tfind_1, trace_find_tracepoint_command) | |
3851 | (trace_dump_command): Adjust. | |
3852 | (find_matching_tracepoint): Change return type to struct | |
3853 | tracepoint pointer, and adjust. | |
3854 | (merge_uploaded_tracepoints, tfile_get_traceframe_address) | |
3855 | (tfile_trace_find, tfile_fetch_registers): Adjust. | |
3856 | * tracepoint.h (create_tracepoint_from_upload): Change return type | |
3857 | to struct tracepoint pointer. | |
3858 | * ada-lang.c (print_recreate_exception): Call | |
3859 | print_recreate_thread. | |
3860 | * mi/mi-cmd-break.c (mi_cmd_break_passcount): Adjust. | |
3861 | ||
3a5c3e22 PA |
3862 | 2011-07-25 Pedro Alves <[email protected]> |
3863 | ||
3864 | * breakpoint.h (struct breakpoint): Move ops as first field. Move | |
3865 | exp_string, exp_string_reparse, exp, exp_valid_block, cond_exp, | |
3866 | cond_exp_valid_block, val, val_valid, watchpoint_frame, | |
3867 | watchpoint_thread, watchpoint_triggered ... | |
3868 | (struct watchpoint): ... to this new struct. | |
3869 | (is_watchpoint): Declare. | |
3870 | (install_breakpoint): Add new `internal' parameter. | |
3871 | * breakpoint.c (is_watchpoint): Delete declaration. | |
3872 | (set_breakpoint_condition): Handle watchpoints. | |
3873 | (is_watchpoint): Make public. | |
3874 | (watchpoint_in_thread_scope): Change parameter type to struct | |
3875 | watchpoint. | |
3876 | (watchpoint_del_at_next_stop): Change parameter type to struct | |
3877 | watchpoint. Remove assertion. Adjust. | |
3878 | (update_watchpoint): Ditto. | |
3879 | (insert_breakpoints, breakpoint_init_inferior) | |
3880 | (watchpoints_triggered, watchpoint_check) | |
3881 | (bpstat_check_watchpoint, bpstat_check_breakpoint_conditions) | |
3882 | (bpstat_stop_status, print_one_breakpoint_location) | |
3883 | (print_one_breakpoint_location, watchpoint_locations_match): Cast | |
3884 | to struct watchpoint as necessary, and adjust. | |
3885 | (install_breakpoint): Add `internal' argument. If true, don't | |
3886 | mention the new breakpoint. Use set_breakpoint_number. | |
3887 | (create_fork_vfork_event_catchpoint) | |
3888 | (create_syscall_event_catchpoint): Adjust. | |
3889 | (dtor_watchpoint): New. | |
3890 | (re_set_watchpoint, insert_watchpoint, remove_watchpoint) | |
3891 | (breakpoint_hit_watchpoint, resources_needed_watchpoint) | |
3892 | (print_it_watchpoint, print_mention_watchpoint) | |
3893 | (print_recreate_watchpoint, insert_masked_watchpoint) | |
3894 | (remove_masked_watchpoint, resources_needed_masked_watchpoint) | |
3895 | (print_one_detail_masked_watchpoint) | |
3896 | (print_mention_masked_watchpoint) | |
3897 | (print_recreate_masked_watchpoint): Cast to struct watchpoint as | |
3898 | necessary, and adjust. | |
3899 | (watch_command_1): Allocate and initialize a struct watchpoint | |
3900 | instead of a struct breakpoint. Use install_breakpoint. | |
3901 | (catch_exec_command_1): Adjust. | |
3902 | (base_breakpoint_dtor): Delete accesses to watchpoint specific | |
3903 | fields. | |
3904 | (delete_breakpoint, enable_breakpoint_disp) | |
3905 | (invalidate_bp_value_on_memory_change): Cast to struct watchpoint | |
3906 | as necessary, and adjust. | |
3907 | (initialize_breakpoint_ops): Install dtor_watchpoint as | |
3908 | watchpoints' dtor method. | |
3909 | * ada-lang.c (create_ada_exception_catchpoint): Adjust. | |
3910 | * python/py-breakpoint.c (bppy_get_expression): Use is_watchpoint. | |
3911 | to struct watchpoint as necessary, and adjust. | |
3912 | ||
2060206e PA |
3913 | 2011-07-25 Pedro Alves <[email protected]> |
3914 | ||
3915 | * ada-lang.c (dtor_exception, re_set_exception): Indirect through | |
3916 | the the base class ops table. | |
3917 | (catch_exception_breakpoint_ops) | |
3918 | (catch_exception_unhandled_breakpoint_ops) | |
3919 | (catch_assert_breakpoint_ops): Don't statically initialize. | |
3920 | (initialize_ada_catchpoint_ops): New. | |
3921 | (_initialize_ada_language): Call it. | |
3922 | * breakpoint.c (base_breakpoint_ops, bkpt_base_breakpoint_ops) | |
3923 | (bkpt_breakpoint_ops): Forward declare. | |
3924 | (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops) | |
3925 | (catch_syscall_breakpoint_ops, catch_exec_breakpoint_ops) | |
3926 | (ranged_breakpoint_ops, watchpoint_breakpoint_ops) | |
3927 | (masked_watchpoint_breakpoint_ops) | |
3928 | (gnu_v3_exception_catchpoint_ops): Don't statically initialize. | |
3929 | (dtor_catch_syscall, dtor_catch_exec): Indirect through the the | |
3930 | base class ops table. | |
3931 | (null_re_set, null_check_status, null_works_in_software_mode) | |
3932 | (null_resources_needed, null_print_one_detail): Delete. | |
3933 | (bkpt_dtor): Rename to ... | |
3934 | (base_breakpoint_dtor): ... this. Make static. | |
3935 | (bkpt_allocate_location): Rename to ... | |
3936 | (base_breakpoint_allocate_location): ... this. Make static. | |
3937 | (base_breakpoint_re_set): New. | |
3938 | (internal_error_pure_virtual_called): New. | |
3939 | (base_breakpoint_insert_location, base_breakpoint_remove_location) | |
3940 | (base_breakpoint_breakpoint_hit, base_breakpoint_check_status) | |
3941 | (base_breakpoint_works_in_software_mode) | |
3942 | (base_breakpoint_resources_needed, base_breakpoint_print_it) | |
3943 | (base_breakpoint_print_one_detail, base_breakpoint_print_mention) | |
3944 | (base_breakpoint_print_recreate): New functions. | |
3945 | (base_breakpoint_ops): New global. | |
3946 | (bkpt_re_set, bkpt_insert_location, bkpt_remove_location) | |
3947 | (bkpt_breakpoint_hit): Make static. | |
3948 | (bkpt_check_status): Delete. | |
3949 | (bkpt_resources_needed): Make static. | |
3950 | (bkpt_works_in_software_mode): Delete. | |
3951 | (bkpt_print_it, bkpt_print_mention, bkpt_print_recreate): Make | |
3952 | static. | |
3953 | (bkpt_breakpoint_ops, internal_breakpoint_ops) | |
3954 | (momentary_breakpoint_ops): Don't statically initialize. | |
3955 | (internal_bkpt_print_recreate, momentary_bkpt_print_recreate): | |
3956 | Delete. | |
3957 | (tracepoint_insert_location, tracepoint_remove_location) | |
3958 | (tracepoint_check_status, tracepoint_works_in_software_mode) | |
3959 | (tracepoint_print_it): Delete. | |
3960 | (tracepoint_breakpoint_ops): Don't statically initialize. | |
3961 | (initialize_breakpoint_ops): New. | |
3962 | (_initialize_breakpoint): Call it. | |
3963 | * breakpoint.h (null_re_set, null_works_in_software_mode) | |
3964 | (null_resources_needed, null_check_status, null_print_one_detail): | |
3965 | (bkpt_dtor, bkpt_allocate_location, bkpt_re_set) | |
3966 | (bkpt_insert_location, bkpt_remove_location, bkpt_breakpoint_hit) | |
3967 | (bkpt_check_status, bkpt_resources_needed) | |
3968 | (bkpt_works_in_software_mode, bkpt_print_it) | |
3969 | (null_print_one_detail, bkpt_print_mention, bkpt_print_recreate): | |
3970 | Delete declarations. | |
3971 | (initialize_breakpoint_ops): Declare. | |
3972 | ||
001c8c33 PA |
3973 | 2011-07-25 Pedro Alves <[email protected]> |
3974 | ||
3975 | * breakpoint.c (bkpt_print_it, internal_bkpt_print_it) | |
3976 | (momentary_bkpt_print_it): Simplify. | |
3977 | ||
06edf0c0 PA |
3978 | 2011-07-25 Pedro Alves <[email protected]> |
3979 | ||
3980 | Split internal, momentary and user breakpoints breakpoint_ops | |
3981 | tables. | |
3982 | ||
3983 | * breakpoint.c (internal_breakpoint_ops) | |
3984 | (momentary_breakpoint_ops): Forward declare. | |
3985 | (create_internal_breakpoint): Add new breakpoint_ops parameter. | |
3986 | Pass it down, rather than hardcoding bkpt_breakpoint_ops. | |
3987 | (create_overlay_event_breakpoint) | |
3988 | (create_std_terminate_master_breakpoint) | |
3989 | (create_exception_master_breakpoint): Create breakpoints with | |
3990 | internal_breakpoint_ops vtable. | |
3991 | (set_longjmp_breakpoint): Create momentary breakpoints with | |
3992 | momentary_breakpoint_ops vtable, using | |
3993 | momentary_breakpoint_from_master. | |
3994 | (create_thread_event_breakpoint, create_jit_event_breakpoint) | |
3995 | (create_solib_event_breakpoint): Create breakpoints with | |
3996 | internal_breakpoint_ops vtable. | |
3997 | (set_momentary_breakpoint): Create breakpoints with | |
3998 | momentary_breakpoint_ops vtable. | |
3999 | (momentary_breakpoint_from_master): New, factored out from | |
4000 | clone_momentary_breakpoint. | |
4001 | (clone_momentary_breakpoint): Adjust. | |
4002 | (watch_command_1): Create scope breakpoints with | |
4003 | momentary_breakpoint_ops vtable. | |
4004 | (bkpt_re_set): Remove handling of internal and momentary | |
4005 | breakpoints. | |
4006 | (bkpt_print_mention, bkpt_print_recreate): New. | |
4007 | (bkpt_breakpoint_ops): Adjust. | |
4008 | (internal_bkpt_re_set, internal_bkpt_check_status) | |
4009 | (internal_bkpt_print_it, internal_bkpt_print_mention) | |
4010 | (internal_bkpt_print_recreate, internal_breakpoint_ops): New. | |
4011 | (momentary_bkpt_re_set, momentary_bkpt_check_status) | |
4012 | (momentary_bkpt_print_it, momentary_bkpt_print_mention) | |
4013 | (momentary_bkpt_print_recreate): New. | |
4014 | (momentary_breakpoint_ops): New. | |
4015 | ||
348d480f PA |
4016 | 2011-07-25 Pedro Alves <[email protected]> |
4017 | ||
4018 | Implement most breakpoint_ops methods for all breakpoint types, | |
4019 | and move the default handlings to the proper callbacks. | |
4020 | ||
4021 | * breakpoint.c (update_watchpoint): Always call the breakpoint's | |
4022 | works_in_software_mode method. | |
4023 | (insert_bp_location): Go through breakpoint_ops->insert_location | |
4024 | for software and hardware watchpoints. | |
4025 | (create_internal_breakpoint): Pass bkpt_breakpoint_ops as | |
4026 | breakpoint_ops. | |
4027 | (remove_breakpoint_1): Go through breakpoint_ops->remove_location | |
4028 | for software and hardware watchpoints. | |
4029 | (print_it_typical): Delete. | |
4030 | (print_bp_stop_message): Always call the breakpoint_ops->print_it | |
4031 | method. | |
4032 | (watchpoint_check): Adjust comment. | |
4033 | (bpstat_check_location): Simply always call the breakpoint's | |
4034 | breakpoint_hit method. | |
4035 | (bpstat_stop_status): Always call the breakpoint's check_status | |
4036 | method. Remove special cases for watchpoints and internal event | |
4037 | breakpoints from here (moved to the check_status implementations). | |
4038 | (print_one_breakpoint_location): Assume b->ops is never NULL. | |
4039 | Remove static tracepoint marker id printing from here (moved to | |
4040 | the print_one_detail callback implementation of tracepoints). | |
4041 | (init_bp_location): Assert OPS is never NULL. | |
4042 | (allocate_bp_location): Always call the breakpoint's | |
4043 | allocate_location method, and remove the default code from here. | |
4044 | (free_bp_location): Always call the location's dtor method, and | |
4045 | remove the default code from here. | |
4046 | (init_raw_breakpoint_without_location): Assert OPS is never NULL. | |
4047 | (set_raw_breakpoint_without_location): Add new breakpoint_ops | |
4048 | parameter. Pass it down. | |
4049 | (set_raw_breakpoint): Ditto. | |
4050 | (print_it_catch_fork): Adjust to take a bpstat as argument. | |
4051 | (catch_fork_breakpoint_ops): Install methods. | |
4052 | (print_it_catch_vfork): Adjust to take a bpstat as argument. | |
4053 | (catch_vfork_breakpoint_ops): Install methods. | |
4054 | (dtor_catch_syscall): Call the base dtor. | |
4055 | (print_it_catch_syscall): Adjust to take a bpstat as argument. | |
4056 | (catch_syscall_breakpoint_ops): Install methods. | |
4057 | (dtor_catch_exec): Call the base dtor. | |
4058 | (print_it_catch_exec): Adjust to take a bpstat as argument. | |
4059 | (catch_exec_breakpoint_ops): Install methods. | |
4060 | (hw_breakpoint_used_count, hw_watchpoint_used_count): Always call | |
4061 | the breakpoint's resources_needed method, and remove the default | |
4062 | code from here. | |
4063 | (set_momentary_breakpoint): Pass bkpt_breakpoint_ops as | |
4064 | breakpoint_ops. | |
4065 | (clone_momentary_breakpoint): Clone the original's ops. | |
4066 | (mention): Always call the breakpoint's print_mention method, and | |
4067 | remove the default code from here. | |
4068 | (create_breakpoint_sal): Adjust to pass the ops to | |
4069 | set_raw_breakpoint rather than setting it manually. | |
4070 | (create_breakpoint): Assert ops is never NULL. Adjust to pass the | |
4071 | ops to set_raw_breakpoint_without_location rather than setting it | |
4072 | manually. | |
4073 | (break_command_1): Pass bkpt_breakpoint_ops as breakpoint_ops. | |
4074 | (print_it_ranged_breakpoint): Adjust to take a bpstat as argument. | |
4075 | (ranged_breakpoint_ops): Install methods. | |
4076 | (break_range_command): Adjust to pass the ops to | |
4077 | set_raw_breakpoint rather than setting it manually. | |
4078 | (re_set_watchpoint, breakpoint_hit_watchpoint) | |
4079 | (check_status_watchpoint, resources_needed_watchpoint) | |
4080 | (works_in_software_mode_watchpoint, print_it_watchpoint) | |
4081 | (print_mention_watchpoint, print_recreate_watchpoint): New | |
4082 | functions. | |
4083 | (watchpoint_breakpoint_ops): Install new methods. | |
4084 | (print_it_masked_watchpoint): New function. | |
4085 | (masked_watchpoint_breakpoint_ops): Install new methods. | |
4086 | (watch_command_1): Adjust to pass the right breakpoint_ops to | |
4087 | set_raw_breakpoint_without_location rather than setting it | |
4088 | manually later. Record the current pspace. | |
4089 | (print_it_exception_catchpoint): Adjust to take a bpstat as | |
4090 | argument. | |
4091 | (gnu_v3_exception_catchpoint_ops): Install new methods. | |
4092 | (say_where): New function. | |
4093 | (null_re_set, null_check_status, null_works_in_software_mode) | |
4094 | (null_resources_needed, null_print_one_detail, bp_location_dtor): | |
4095 | New functions. | |
4096 | (bp_location_ops): New global. | |
4097 | (bkpt_dtor, bkpt_allocate_location, bkpt_re_set) | |
4098 | (bkpt_insert_location, bkpt_remove_location, bkpt_breakpoint_hit) | |
4099 | (bkpt_check_status, bkpt_resources_needed) | |
4100 | (bkpt_works_in_software_mode, bkpt_print_it, bkpt_print_mention) | |
4101 | (bkpt_print_recreate): New functions. | |
4102 | (bkpt_breakpoint_ops): New global. | |
4103 | (tracepoint_re_set, tracepoint_insert_location) | |
4104 | (tracepoint_remove_location, tracepoint_breakpoint_hit) | |
4105 | (tracepoint_check_status, tracepoint_works_in_software_mode) | |
4106 | (tracepoint_print_it, tracepoint_print_one_detail) | |
4107 | (tracepoint_print_mention, tracepoint_print_recreate): New | |
4108 | functions. | |
4109 | (tracepoint_breakpoint_ops): New global. | |
4110 | (delete_breakpoint): Always call the breakpoint's dtor method, and | |
4111 | remove the default handling from here. | |
4112 | (breakpoint_re_set_default): Make static. | |
4113 | (breakpoint_re_set_one): Always call the breakpoints re_set | |
4114 | method, and remove the default handling from here. | |
4115 | (trace_command, ftrace_command, strace_command) | |
4116 | (create_tracepoint_from_upload): Pass appropriate breakpoints_ops | |
4117 | to create_breakpoint. | |
4118 | (save_breakpoints): Always call the breakpoint's print_recreate | |
4119 | method, and remove the default handling from here. | |
4120 | ||
4121 | * ada-lang.c (dtor_exception): Call the base dtor. | |
4122 | (re_set_exception): Call the base method. | |
4123 | (print_it_exception, print_it_catch_exception): Adjust to take a | |
4124 | bpstat as argument. | |
4125 | (catch_exception_breakpoint_ops): Install methods. | |
4126 | (print_it_catch_exception_unhandled): Adjust to take a bpstat as | |
4127 | argument. | |
4128 | (catch_exception_unhandled_breakpoint_ops): Install methods. | |
4129 | (print_it_catch_assert): Adjust to take a bpstat as argument. | |
4130 | (catch_assert_breakpoint_ops): Install methods. | |
4131 | ||
4132 | * breakpoint.h (struct breakpoint_ops): Adjust the print_it method | |
4133 | to take a bpstat as argument. | |
4134 | (enum print_stop_action): Add describing comments to each enum | |
4135 | value. | |
4136 | (breakpoint_re_set_default): Delete declaration. | |
4137 | (null_re_set, null_works_in_software_mode, null_resources_needed) | |
4138 | (null_check_status, null_print_one_detail): Declare. | |
4139 | (bkpt_breakpoint_ops): Declare. | |
4140 | (bkpt_dtor, bkpt_allocate_location, bkpt_re_set) | |
4141 | (bkpt_insert_location, bkpt_remove_location, bkpt_breakpoint_hit) | |
4142 | (bkpt_check_status, bkpt_resources_needed) | |
4143 | (bkpt_works_in_software_mode, bkpt_print_it) | |
4144 | (null_print_one_detail, bkpt_print_mention, bkpt_print_recreate): | |
4145 | Declare. | |
4146 | ||
4147 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust to pass | |
4148 | bkpt_breakpoint_ops. | |
4149 | * python/py-breakpoint.c (bppy_init): Ditto. | |
4150 | ||
be8f8133 PW |
4151 | 2011-07-15 Philippe Waroquiers <[email protected]> |
4152 | ||
4153 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
4154 | ||
3807f613 PP |
4155 | 2011-07-23 Paul Pluzhnikov <[email protected]> |
4156 | ||
4157 | * elfread.c (elf_rel_plt_read): Fix off-by-one bug. | |
4158 | ||
1ced966e PA |
4159 | 2011-07-22 Pedro Alves <[email protected]> |
4160 | ||
4161 | * i386-nat.c (I386_DR_VACANT, I386_DR_LOCAL_ENABLE) | |
4162 | (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN) | |
4163 | (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): Add state parameter and | |
4164 | adjust. | |
4165 | (dr_mirror, dr_status_mirror, dr_control_mirror): Delete. | |
4166 | (struct i386_debug_reg_state): New. | |
4167 | (i386_init_dregs): New. | |
4168 | (dr_mirror): New. | |
4169 | (i386_cleanup_dregs): Use i386_init_dregs. | |
4170 | (i386_show_dr): Add state parameter and adjust. | |
4171 | (i386_insert_aligned_watchpoint): Ditto. Don't pass the info to | |
4172 | the inferior here. | |
4173 | (i386_remove_aligned_watchpoint): Likewise. | |
4174 | (i386_handle_nonaligned_watchpoint): Add state parameter and adjust. | |
4175 | (i386_update_inferior_debug_regs): New. | |
4176 | (i386_insert_watchpoint): Work on a local mirror of the debug | |
4177 | registers, and only update the inferior on success. | |
4178 | (i386_remove_watchpoint): Ditto. | |
4179 | (i386_region_ok_for_watchpoint): Adjust. | |
4180 | (i386_stopped_data_address): Adjust. | |
4181 | (i386_insert_hw_breakpoint): Adjust. | |
4182 | (i386_remove_hw_breakpoint): Adjust. | |
4183 | ||
3543a589 TT |
4184 | 2011-07-22 Tom Tromey <[email protected]> |
4185 | ||
4186 | * amd64-tdep.c (amd64_pseudo_register_read_value): Rename | |
4187 | from amd64_pseudo_register_read. Change arguments. Call | |
4188 | mark_value_bytes_unavailable when needed. | |
4189 | (amd64_init_abi): Use set_gdbarch_pseudo_register_read_value, not | |
4190 | set_gdbarch_pseudo_register_read. | |
4191 | * sentinel-frame.c (sentinel_frame_prev_register): Use | |
4192 | regcache_cooked_read_value. | |
4193 | * regcache.h (regcache_cooked_read_value): Declare. | |
4194 | * regcache.c (regcache_cooked_read_value): New function. | |
4195 | (regcache_cooked_read): Call | |
4196 | gdbarch_pseudo_register_read_value if available. | |
4197 | * i386-tdep.h (i386_pseudo_register_read_value): Declare. | |
4198 | (i386_pseudo_register_read): Remove. | |
4199 | * i386-tdep.c (i386_pseudo_register_read_into_value): Rename from | |
4200 | i386_pseudo_register_read. Change arguments. Call | |
4201 | mark_value_bytes_unavailable when needed. | |
4202 | (i386_pseudo_register_read_value): New function. | |
4203 | (i386_gdbarch_init): Call set_gdbarch_pseudo_register_read_value, | |
4204 | not set_gdbarch_pseudo_register_read. | |
4205 | * gdbarch.sh (pseudo_register_read_value): New method. | |
4206 | * gdbarch.c, gdbarch.h: Rebuild. | |
4207 | * findvar.c (value_from_register): Call get_frame_register_value. | |
4208 | ||
95298e72 PM |
4209 | 2011-07-22 Phil Muldoon <[email protected]> |
4210 | ||
4211 | * event-top.c (cli_command_loop): Use get_prompt, get_suffix, | |
4212 | get_prefix. | |
4213 | (display_gdb_prompt): Likewise. | |
4214 | (change_annotation_level): Likewise. | |
4215 | (push_prompt): Likewise. | |
4216 | (pop_prompt): Likewise. | |
4217 | (handle_stop_sig): Use get_prompt with a level. | |
4218 | * top.c (command_loop): Use get_prompt with a level. | |
4219 | (set_async_annotation_level): Use set_prompt with a level. | |
4220 | (get_prefix): New function. | |
4221 | (set_prefix): Ditto. | |
4222 | (set_suffix): Ditto. | |
4223 | (get_suffix): Ditto. | |
4224 | (get_prompt): Accept a level argument. | |
4225 | (set_prompt): Accept a level argument. Free old prompts. Set | |
4226 | new_async_prompt if level is 0. | |
4227 | (init_main): Use set_prompt with a level. Do not set | |
4228 | new_async_prompt. | |
4229 | * event-top.h (PROMPT, SUFFIX, PREFIX): Move to top.c | |
4230 | * top.h: Declare set_suffix, get_suffix, set_prefix, get_prefix. | |
4231 | Modify set_prompt, get_prompt to account for levels. | |
4232 | * tui/tui-interp.c (tui_command_loop): Use get_prompt with a | |
4233 | level. | |
4234 | * python/python.c (before_prompt_hook): Use set_prompt. | |
4235 | ||
d26e3629 KY |
4236 | 2011-07-22 Kwok Cheung Yeung <[email protected]> |
4237 | ||
4238 | * defs.h: Add guard against inclusion in gdbserver. | |
4239 | (struct ptid, ptid_t): Move to common/ptid.h. | |
4240 | (xfree, xzalloc, xasprintf, xvasprintf, xstrprintf, xstrvprintf, | |
4241 | xsnprintf, internal_error): Move to common/common-utils.h. | |
4242 | (nomem): Delete. | |
4243 | * gdb_assert.h: Move into common/ sub-directory. | |
4244 | * gdb_locale.h: Ditto. | |
4245 | * gdb_dirent.h: Ditto. | |
4246 | * inferior.h (minus_one_ptid, null_ptid, ptid_build, pid_to_ptid, | |
4247 | ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid): | |
4248 | Move into common/ptid.h. | |
4249 | * xml-support.c (xml_escape_text): Move into common/xml-utils.c. | |
4250 | (gdb_xml_create_parser_and_cleanup_1, xml_fetch_context_from_file): | |
4251 | Change nomem to malloc_failure. | |
4252 | * xml-support.h (xml_escape_text): Move into common/xml-utils.h. | |
4253 | * utils.c (nomem): Rename to malloc_failure. | |
4254 | (xmalloc, xzalloc, xrealloc, xcalloc, xfree, xstrprintf, xasprintf, | |
4255 | xvasprintf, xstrvprintf, xsnprintf): Move to common/common-utils.c. | |
4256 | (gdb_buildargv): Change nomem to malloc_failure. | |
4257 | * infrun.c (null_ptid, minus_one_ptid, ptid_build, pid_to_ptid, | |
4258 | ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, | |
4259 | ptid_is_pid): Move into common/ptid.c. | |
4260 | (initialize_infrun): Delete initialization of null_ptid and | |
4261 | minus_one_ptid. | |
4262 | * linux-nat.c (linux_nat_xfer_osdata): Defer to | |
4263 | linux_common_xfer_osdata. | |
4264 | * Makefile.in (SFILES): Add common/common-utils.c, common/xml-utils.c, | |
4265 | common/ptid.c and common/buffer.c. | |
4266 | (HFILES_NO_SRCDIR): Add common/common-utils.h, common/xml-utils.h, | |
4267 | common/ptid.h, common/buffer.h and common/linux-osdata.h. | |
4268 | (COMMON_OBS): Add xml-utils.o, common-utils.o, buffer.o and ptid.o. | |
4269 | (common-utils.o, xml-utils.o, ptid.o, buffer.o, linux-osdata.o): New | |
4270 | rules. | |
4271 | * common/gdb_assert.h: New. | |
4272 | * common/gdb_dirent.h: New. | |
4273 | * common/gdb_locale.h: New. | |
4274 | * common/buffer.c: New. | |
4275 | * common/buffer.h: New. | |
4276 | * common/ptid.c: New. | |
4277 | * common/ptid.h: New. | |
4278 | * common/xml-utils.c: New. | |
4279 | * common/xml-utils.h: New. | |
4280 | * common/common-utils.c: New. | |
4281 | * common/common-utils.h: New. | |
4282 | * common/linux-osdata.c: New. | |
4283 | * common/linux-osdata.h: New. | |
4284 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-osdata.o. | |
4285 | * config/arm/linux.mh (NATDEPFILES): Ditto. | |
4286 | * config/i386/linux.mh (NATDEPFILES): Ditto. | |
4287 | * config/i386/linux64.mh (NATDEPFILES): Ditto. | |
4288 | * config/ia64/linux.mh (NATDEPFILES): Ditto. | |
4289 | * config/m32r/linux.mh (NATDEPFILES): Ditto. | |
4290 | * config/m68k/linux.mh (NATDEPFILES): Ditto. | |
4291 | * config/mips/linux.mh (NATDEPFILES): Ditto. | |
4292 | * config/pa/linux.mh (NATDEPFILES): Ditto. | |
4293 | * config/powerpc/linux.mh (NATDEPFILES): Ditto. | |
4294 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Ditto. | |
4295 | * config/s390/s390.mh (NATDEPFILES): Ditto. | |
4296 | * config/sparc/linux.mh (NATDEPFILES): Ditto. | |
4297 | * config/sparc/linux64.mh (NATDEPFILES): Ditto. | |
4298 | * config/xtensa/linux.mh (NATDEPFILES): Ditto. | |
4299 | ||
edc84990 | 4300 | 2011-07-21 Matt Rice <[email protected]> |
4301 | ||
4302 | * NEWS: Add info macros and info definitions commands. | |
4303 | ||
3a7bf607 PM |
4304 | 2011-07-21 Phil Muldoon <[email protected]> |
4305 | ||
4306 | * NEWS: Document Python prompt substitution hook. | |
4307 | ||
9b158ba0 | 4308 | 2011-07-18 Matt Rice <[email protected]> |
4309 | ||
4310 | PR macros/12999 | |
4311 | * macrotab.h (macro_callback_fn): Add new arguments to callback. | |
4312 | * macrotab.c (foreach_macro): Ditto. | |
4313 | (foreach_macro_in_scope): Ditto. | |
4314 | * macrocmd.c (print_macro_callback): New function. | |
4315 | (info_macro_command): Move some code to print_macro_definition. | |
4316 | (print_macro_definition): New function. | |
4317 | (print_one_macro): Add new arguments to callback. | |
4318 | (info_definitions_command): New function. | |
4319 | (info_macros_command): Ditto. | |
4320 | (_initialize_macrocmd): Add info macros and info definitions commands. | |
4321 | * symtab.c (add_macro_name): Add new arguments to callback. | |
4322 | ||
d17b6f81 PM |
4323 | 2011-07-21 Phil Muldoon <[email protected]> |
4324 | Tom Tromey <[email protected]> | |
4325 | ||
4326 | * top.c (set_prompt): Rewrite to free previous prompt, free | |
4327 | asynch_new_prompt and set both on new prompts. | |
4328 | * event-top.c (display_gdb_prompt): Add prompt substitution | |
4329 | logic. | |
4330 | * python/python.c (before_prompt_hook): New function. | |
4331 | ||
1364323a | 4332 | 2011-07-20 Matt Rice <[email protected]> |
4333 | ||
4334 | * bfin-tdep.c (bfin_extract_return_value): Fix swapped | |
4335 | arguments to store_unsigned_integer. | |
4336 | ||
8b70b953 TT |
4337 | 2011-07-20 Tom Tromey <[email protected]> |
4338 | ||
6c83ed52 TT |
4339 | * dwarf2read.c (process_enumeration_scope): Do not call new_symbol |
4340 | in some declaration-only cases. | |
4341 | ||
4342 | 2011-07-18 Tom Tromey <[email protected]> | |
4343 | ||
8b70b953 TT |
4344 | PR symtab/12984: |
4345 | * dwarf2read.c (dwarf2_section_info_def): New typedef. | |
4346 | (struct dwarf2_per_objfile) <types>: Change to a VEC. | |
4347 | (struct dwarf2_per_cu_data) <from_debug_types>: Remove. | |
4348 | <debug_type_section>: New field. | |
4349 | (dwarf2_locate_sections): Push .debug_types sections onto VEC. | |
4350 | (load_cu): Use appropriate section. | |
4351 | (create_signatured_type_table_from_index): Add 'section' | |
4352 | argument. | |
4353 | (dwarf2_read_index): Only allow a single .debug_types section. | |
4354 | (dw2_get_file_names): Use appropriate section. | |
4355 | (read_type_comp_unit_head): Add 'section' argument. | |
4356 | (create_debug_types_hash_table): Loop over all .debug_types | |
4357 | sections. | |
4358 | (init_cu_die_reader): Use appropriate section. | |
4359 | (process_psymtab_comp_unit, load_partial_comp_unit) | |
4360 | (load_full_comp_unit, read_die_and_children, find_partial_die) | |
4361 | (lookup_die_type, determine_prefix, follow_die_offset): Update. | |
4362 | (lookup_signatured_type_at_offset): Add 'section' argument. | |
4363 | (read_signatured_type_at_offset): Add 'sect' argument. | |
4364 | (read_signatured_type): Use appropriate section. | |
4365 | (set_die_type, get_die_type_at_offset): Update. | |
4366 | (dwarf2_per_objfile_free): Free all .debug_types sections, and | |
4367 | VEC. | |
4368 | (write_psymtabs_to_index): Don't allow index with more than one | |
4369 | .debug_types section. | |
4370 | ||
918dd910 JK |
4371 | 2011-07-19 Jan Kratochvil <[email protected]> |
4372 | ||
4373 | Fix crash if referenced CU is aged out. | |
4374 | * dwarf2loc.c (per_cu_dwarf_call): New variable back_to, use to for | |
4375 | xfree of block.data. | |
4376 | (indirect_pieced_value): New variable back_to, use to for xfree of | |
4377 | baton.data. | |
4378 | (dwarf2_compile_expr_to_ax): New variable back_to, use to for xfree of | |
4379 | block.data. | |
4380 | * dwarf2read.c (dwarf2_find_base_address): New prototype. | |
4381 | (load_cu): New function from ... | |
4382 | (dw2_do_instantiate_symtab): ... the code here ... | |
4383 | (process_full_comp_unit): ... and here. | |
4384 | (dwarf2_fetch_die_location_block): Call load_cu first. Call xmemdup on | |
4385 | retval.data. | |
4386 | ||
0e37a63c JK |
4387 | 2011-07-19 Jan Kratochvil <[email protected]> |
4388 | ||
4389 | * dwarf2loc.c (indirect_pieced_value): Use check_typedef for VALUE's | |
4390 | type. | |
4391 | ||
7e324e48 GB |
4392 | 2011-07-19 Gary Benson <[email protected]> |
4393 | ||
4394 | * infrun.c (struct execution_control_state): New member | |
4395 | stop_func_filled_in. | |
4396 | (clear_stop_func, fill_in_stop_func): New functions. | |
4397 | (handle_inferior_event): Call clear_stop_func rather than | |
4398 | manipulating the execution control state directly. | |
4399 | Call fill_in_stop_func lazily as required rather than | |
4400 | directly calling find_pc_partial_function in all cases. | |
4401 | ||
d48323d8 TT |
4402 | 2011-07-18 Tom Tromey <[email protected]> |
4403 | ||
4404 | * dwarf2read.c (read_subrange_type): Use attr_form_is_block when | |
4405 | checking for variable-sized array. | |
4406 | ||
40591b7d JCD |
4407 | 2011-07-18 Jean-Charles Delay <[email protected]> |
4408 | ||
4409 | * varobj.h (varobj_languages): Add vlang_ada definition to the list | |
4410 | of supported languages. | |
4411 | * varobj.c: Add top definitions and basic implementation of the | |
4412 | following callbacks: ada_number_of_children, ada_name_of_variable, | |
4413 | ada_name_of_child, ada_path_expr_of_child, ada_value_of_root, | |
4414 | ada_value_of_child, ada_type_of_child, ada_value_of_variable. | |
4415 | (languages): Register Ada-specific callbacks. | |
4416 | (variable_language): Add the Ada case in the language setter switch. | |
4417 | ||
2e424e08 JK |
4418 | 2011-07-17 Jan Kratochvil <[email protected]> |
4419 | ||
4420 | * remote-mips.c (pmon_download): Fix ignored return value GCC warning. | |
4421 | ||
9e8b7a03 JK |
4422 | 2011-07-15 Jan Kratochvil <[email protected]> |
4423 | ||
4424 | Code cleanup. | |
4425 | * dwarf2-frame.c (dwarf2_frame_ctx_funcs): New. | |
4426 | (execute_stack_op): Use dwarf2_frame_ctx_funcs | |
4427 | * dwarf2expr.c (dwarf_get_base_type): Access get_base_type via funcs. | |
4428 | (execute_stack_op): Access read_reg, get_frame_base, read_mem, | |
4429 | get_frame_cfa, get_tls_address and dwarf_call via funcs. | |
4430 | * dwarf2expr.h (struct dwarf_expr_context): New forward declaration. | |
4431 | (struct dwarf_expr_context_funcs): New, move here methods from ... | |
4432 | (struct dwarf_expr_context): ... here. New fields funcs. | |
4433 | * dwarf2loc.c (dwarf_expr_dwarf_call): Access get_frame_pc via funcs. | |
4434 | (dwarf_expr_ctx_funcs): New. | |
4435 | (dwarf2_evaluate_loc_desc_full): Use dwarf_expr_ctx_funcs. | |
4436 | (needs_frame_dwarf_call): Access get_frame_pc via funcs. | |
4437 | (needs_frame_ctx_funcs): New. | |
4438 | (dwarf2_loc_desc_needs_frame): Use needs_frame_ctx_funcs. | |
4439 | ||
2b1260ab FM |
4440 | 2011-07-15 Fawzi Mohamed <[email protected]> |
4441 | ||
4442 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
4443 | ||
8bd90839 FM |
4444 | 2011-07-15 Fawzi Mohamed <[email protected]> |
4445 | ||
4446 | * dwarf2-frame.c (decode_frame_entry, decode_frame_entry_1): Ensure | |
4447 | that CIE pointer of an FDE really points to a CIE . | |
4448 | ||
953b98d1 HZ |
4449 | 2011-07-15 Hui Zhu <[email protected]> |
4450 | ||
4451 | * remote.c (remote_get_trace_status): Add comments. | |
4452 | ||
c8f2448a JK |
4453 | 2011-07-14 Jan Kratochvil <[email protected]> |
4454 | ||
4455 | Code cleanup - constify struct lval_funcs. | |
4456 | * dwarf2loc.c (pieced_value_funcs): Make it const. | |
4457 | * infrun.c (siginfo_value_funcs): Likewise. | |
4458 | * opencl-lang.c (opencl_value_funcs): Likewise. | |
4459 | * valops.c (value_assign, value_ind): Make the funcs variable const. | |
4460 | * value.c (struct value): Make location.computed.funcs target const. | |
4461 | Rearrange the comments. | |
4462 | (allocate_computed_value): Make the funcs parameter target const. | |
4463 | (value_computed_funcs): Return the funcs target const. | |
4464 | (value_free, value_copy, set_value_component_location): Make the funcs | |
4465 | variable const. | |
4466 | * value.h (allocate_computed_value): Make the funcs parameter target | |
4467 | const. | |
4468 | (value_computed_funcs): Return the funcs target const. | |
4469 | * windows-tdep.c (tlb_value_funcs): Make it const. | |
4470 | ||
f652de6f HZ |
4471 | 2011-07-14 Hui Zhu <[email protected]> |
4472 | ||
4473 | * remote.c (remote_get_trace_status): Initialize p. | |
4474 | ||
67f41397 JK |
4475 | 2011-07-13 Jan Kratochvil <[email protected]> |
4476 | ||
4477 | Work around kgdb. | |
4478 | * remote.c (remote_get_trace_status): New variable ex. Put | |
4479 | remote_get_noisy_reply into TRY_CATCH. Call exception_fprintf for it. | |
4480 | ||
d1b66e6d TT |
4481 | 2011-07-13 Tom Tromey <[email protected]> |
4482 | ||
4483 | * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_regval_type>: Use | |
4484 | value_from_contents for final conversion. | |
4485 | ||
1632a688 JK |
4486 | 2011-07-13 Jan Kratochvil <[email protected]> |
4487 | ||
4488 | Code cleanup. | |
4489 | * dwarf2loc.c (dwarf_expr_frame_base_1, dwarf2_evaluate_loc_desc_full): | |
4490 | Indent prototypes so they do not get into tags. | |
4491 | ||
a7035dbb JK |
4492 | 2011-07-12 Jan Kratochvil <[email protected]> |
4493 | ||
4494 | Code cleanup making also optimized out values lazy. | |
4495 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use | |
4496 | allocate_optimized_out_value. Twice. | |
4497 | (loclist_read_variable) Use allocate_optimized_out_value. Once. | |
4498 | * findvar.c (read_var_value): Likewise. | |
4499 | * value.c (allocate_optimized_out_value): New function. | |
4500 | * value.h (allocate_optimized_out_value): New declaration. | |
4501 | ||
d07ed419 JK |
4502 | 2011-07-12 Jan Kratochvil <[email protected]> |
4503 | ||
4504 | Fix occasional crash of CTRL-C during DWARF read in. | |
4505 | * dwarf2read.c (dwarf2_mark_helper): Return on NULL CU. | |
4506 | ||
86d31898 TT |
4507 | 2011-07-11 Tom Tromey <[email protected]> |
4508 | ||
4509 | * regcache.c (struct regcache_descr): Fix typo. | |
4510 | * i387-tdep.c (i387_supply_xsave): Fix typo. | |
4511 | ||
2ab95328 TT |
4512 | 2011-07-11 Tom Tromey <[email protected]> |
4513 | ||
4514 | * dwarf2read.c (handle_DW_AT_stmt_list): New function. | |
4515 | (read_file_scope, read_type_unit_scope): Use it. | |
4516 | ||
04ad99e6 JK |
4517 | 2011-07-11 Jan Kratochvil <[email protected]> |
4518 | ||
4519 | * dwarf2expr.c (read_sleb128): Fix signed extension overflowing host | |
4520 | `int'. | |
4521 | ||
713389e0 PM |
4522 | 2011-07-11 Phil Muldoon <[email protected]> |
4523 | ||
4524 | PR python/12438 | |
4525 | * python/python.c: Set gdbpy_should_print_stack default to off. | |
4526 | (set_python): Deprecate maint set python print-stack to | |
4527 | class_deprecate. | |
4528 | (_initialize_python): Deprecate maint set/show python print-stack. | |
4529 | Add new prefix command, python. Add new setting, print-backtrace. | |
4530 | * NEWS: Document set python print-stack. Document default change. | |
4531 | ||
754eadd1 PM |
4532 | 2011-07-11 Phil Muldoon <[email protected]> |
4533 | ||
4534 | * python/py-inferior.c (infpy_dealloc): New function. | |
4535 | (inferior_to_inferior_object): Return a new object, or a | |
4536 | new reference to the existing object. | |
4537 | (find_thread_object): Cleanup references to inferior. | |
4538 | (delete_thread_object): Ditto. | |
4539 | * python/py-infthread.c (create_thread_object): Do not increment | |
4540 | inferior reference count. | |
4541 | ||
5e44ecb3 TT |
4542 | 2011-07-08 Tom Tromey <[email protected]> |
4543 | ||
4544 | * dwarf2loc.c (locexpr_regname): New function. | |
4545 | (locexpr_describe_location_piece): Use it. | |
4546 | (disassemble_dwarf_expression): Add per_cu argument. Use | |
4547 | locexpr_regname. | |
4548 | <DW_OP_GNU_deref_type, DW_OP_GNU_const_type, | |
4549 | DW_OP_GNU_regval_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret>: | |
4550 | New cases. | |
4551 | (locexpr_describe_location_1): Add per_cu argument. | |
4552 | (locexpr_describe_location): Update. | |
4553 | (loclist_describe_location): Update. | |
4554 | ||
e0e9434c TT |
4555 | 2011-07-08 Tom Tromey <[email protected]> |
4556 | ||
4557 | * dwarf2expr.c (execute_stack_op): Add QUIT. | |
4558 | ||
26afc0d7 HZ |
4559 | 2011-07-07 Hui Zhu <[email protected]> |
4560 | ||
4561 | Revert: | |
4562 | 2011-07-06 Hui Zhu <[email protected]> | |
4563 | * remote.c (remote_start_remote): Add TRY_CATCH for | |
4564 | remote_get_trace_status. | |
4565 | * tracepoint.c (disconnect_tracing): Ditto. | |
4566 | ||
a40a111f AB |
4567 | 2011-07-07 Andrew Burgess <[email protected]> |
4568 | ||
4569 | * cli/cli-setshow.c (do_setshow_command): Display var_zinteger | |
4570 | variables as signed, not unsigned. | |
4571 | ||
e2bd3b15 JB |
4572 | 2011-07-06 Joel Brobecker <[email protected]> |
4573 | ||
4574 | * jit.c (jit_inferior_init): Reformat forward declaration. | |
4575 | ||
e3d961fe | 4576 | 2011-07-06 Matt Rice <[email protected]> |
4577 | ||
4578 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
4579 | ||
0f3428f0 HZ |
4580 | 2011-07-06 Hui Zhu <[email protected]> |
4581 | ||
4582 | * remote.c (remote_start_remote): Add TRY_CATCH for | |
4583 | remote_get_trace_status. | |
4584 | * tracepoint.c (disconnect_tracing): Ditto. | |
4585 | ||
fc9f3a69 TT |
4586 | 2011-07-05 Tom Tromey <[email protected]> |
4587 | ||
4588 | * symtab.c (operator_chars): Now static. | |
4589 | * linespec.c (operator_chars): Don't declare. | |
4590 | ||
26e519b9 TJB |
4591 | 2011-07-05 Thiago Jung Bauermann <[email protected]> |
4592 | ||
4593 | * ui-out.h (ui_out_field_core_addr): Fix typo in comment. | |
4594 | ||
eb2a6f42 TT |
4595 | 2011-07-05 Tom Tromey <[email protected]> |
4596 | ||
4597 | * gnu-v3-abi.c (gnuv3_rtti_type): Check TYPE_CPLUS_REALLY_JAVA. | |
4598 | * gdbtypes.h (struct cplus_struct_type) <is_java>: New field. | |
4599 | (TYPE_CPLUS_REALLY_JAVA): New macro. | |
4600 | * dwarf2read.c (process_structure_scope): Set | |
4601 | TYPE_CPLUS_REALLY_JAVA. | |
4602 | ||
21083d0f | 4603 | 2011-07-05 Thiago Jung Bauermann <[email protected]> |
177b42fe TJB |
4604 | |
4605 | * ada-lang.c: Fix typos. | |
4606 | * amd64-tdep.c: Likewise. | |
4607 | * breakpoint.c: Likewise. | |
4608 | * cli/cli-decode.c: Likewise. | |
4609 | * findcmd.c: Likewise. | |
4610 | * inline-frame.c: Likewise. | |
4611 | * mi/mi-main.c: Likewise. | |
4612 | * minsyms.c: Likewise. | |
4613 | * monitor.c: Likewise. | |
4614 | * monitor.h: Likewise. | |
4615 | * prologue-value.c: Likewise. | |
4616 | * reverse.c: Likewise. | |
4617 | * s390-tdep.c: Likewise. | |
4618 | ||
3b2a0cf2 JB |
4619 | 2011-07-06 Paul Pluzhnikov <[email protected]> |
4620 | ||
4621 | * jit.c (jit_inferior_init): Forward declare. | |
4622 | (jit_breakpoint_re_set_internal): Call jit_inferior_init. | |
4623 | ||
efae1d92 JB |
4624 | 2011-07-04 Joel Brobecker <[email protected]> |
4625 | ||
4626 | * osabi.c (generic_elf_osabi_sniffer): Minor comment reformatting. | |
4627 | ||
6040a59d JB |
4628 | 2011-07-04 Tristan Gingold <[email protected]> |
4629 | ||
4630 | * ada-tasks.c (KNOWN_TASKS_LIST): New macro. | |
4631 | (tcb_fieldno): Add activation_link field. | |
4632 | (get_known_tasks_addr): Moved and rewritten. | |
4633 | (get_tcb_types_info): Set activation_link field. | |
4634 | (read_known_tasks_array): Add parameter. Rewritten. | |
4635 | (read_known_tasks_list): New function. | |
4636 | (read_known_tasks): New function. | |
4637 | (ada_build_task_list): Call read_known_tasks instead of | |
4638 | read_known_tasks_array. | |
4639 | * ravenscar-thread.c: Add first_task_name constant. | |
4640 | (has_ravenscar_runtime): Check for task list too. | |
4641 | ||
cb741e45 JB |
4642 | 2011-07-04 Tristan Gingold <[email protected]> |
4643 | ||
4644 | * ada-tasks.c: Renames fieldno to actb_fieldno. | |
4645 | (ada_get_task_number): Indentation. | |
4646 | (get_tcb_types_info): Remove all parameters. Write directly | |
4647 | the globals. | |
4648 | (ptid_from_atcb_common): Adjust. | |
4649 | (read_atcb): Adjust. | |
4650 | ||
7475b06c TJB |
4651 | 2011-07-04 Thiago Jung Bauermann <[email protected]> |
4652 | ||
4653 | * symtab.c (in_prologue): Remove mention of ppc's refine_prologue_limit. | |
4654 | ||
15230f37 TJB |
4655 | 2011-07-04 Thiago Jung Bauermann <[email protected]> |
4656 | ||
4657 | * ui-out.c (ui_out_field_core_addr): Mention that the function | |
4658 | description is in the header file. | |
4659 | * ui-out.h (ui_out_field_core_addr): Document function. | |
4660 | ||
65743aba TJB |
4661 | 2011-07-04 Thiago Jung Bauermann <[email protected]> |
4662 | ||
4663 | * ui-out.c (ui_out_get_field_separator): Remove unused function. | |
4664 | * ui-out.h (ui_out_get_field_separator): Remove prototype. | |
4665 | ||
c37a5aab TJB |
4666 | 2011-07-04 Thiago Jung Bauermann <[email protected]> |
4667 | ||
4668 | * symtab.c (expand_line_sal): Remove empty line. | |
4669 | ||
59adf69e TS |
4670 | 2011-07-04 Thomas Schwinge <[email protected]> |
4671 | ||
4672 | * osabi.c (generic_elf_osabi_sniffer) <ELFOSABI_GNU>: Handle in the | |
4673 | same way as ELFOSABI_NONE. | |
4674 | <ELFOSABI_LINUX, ELFOSABI_HURD>: Remove cases. | |
4675 | ||
e5dd4106 TJB |
4676 | 2011-07-04 Thiago Jung Bauermann <[email protected]> |
4677 | ||
4678 | * breakpoint.c: Fix typos in comments. | |
4679 | * linespec.c: Likewise. | |
4680 | * symtab.c: Likewise. | |
4681 | ||
d40102a1 JB |
4682 | 2011-07-04 Joel Brobecker <[email protected]> |
4683 | ||
4684 | * dwarf2-frame.c (dwarf2_build_frame_info): Do not load .eh_frame | |
4685 | section in separate object files. | |
4686 | ||
2f741504 JK |
4687 | 2011-07-04 Jan Kratochvil <[email protected]> |
4688 | ||
4689 | Fix false GCC warning. | |
4690 | * linespec.c (decode_line_1): Initialize values. | |
4691 | ||
418c7cf7 JK |
4692 | 2011-07-01 Jan Kratochvil <[email protected]> |
4693 | ||
4694 | * linespec.c (find_method): Accept the function type automatically only | |
4695 | if it was specified with parameter types. | |
4696 | ||
3d50dd94 JK |
4697 | 2011-07-01 Jan Kratochvil <[email protected]> |
4698 | ||
4699 | Stop on first linespec terminator instead of eating what we can. | |
4700 | * linespec.c (is_linespec_boundary): New function. | |
4701 | (name_end): Remove function. | |
4702 | (keep_name_info): New parameter on_boundary, replace the body. | |
4703 | (decode_line_1): Provide the parameter to keep_name_info. | |
4704 | (decode_compound): Likewise. Drop the trailing java return type | |
4705 | handling. Twice. | |
4706 | ||
dcf9f4ab JK |
4707 | 2011-07-01 Jan Kratochvil <[email protected]> |
4708 | ||
4709 | Fall back linespec to minimal symbols. | |
4710 | * linespec.c (decode_line_1): New variable ex, saved_argptr. Protect | |
4711 | decode_compound by TRY_CATCH, fall back on minsyms if it failed. | |
4712 | (find_method, symbol_found): Change error to cplusplus_error. | |
4713 | ||
3f542ed1 JK |
4714 | 2011-07-01 Jan Kratochvil <[email protected]> |
4715 | ||
bc68c4e5 | 4716 | * symtab.c (symbol_find_demangled_name): Remove DMGL_VERBOSE. |
3f542ed1 | 4717 | |
900e11f9 JK |
4718 | 2011-07-01 Jan Kratochvil <[email protected]> |
4719 | Tom Tromey <[email protected]> | |
4720 | ||
4721 | * dwarf2read.c (check_physname): New variable. | |
4722 | (dwarf2_physname): Prefer DW_AT_linkage_name over dwarf2_compute_name. | |
4723 | (show_check_physname): New function. | |
4724 | (_initialize_dwarf2_read): Add `check-physname' for check_physname. | |
4725 | ||
2301925d JB |
4726 | 2011-07-01 Joel Brobecker <[email protected]> |
4727 | ||
4728 | * machoread.c (macho_symfile_read): Delete OBE comment. | |
4729 | ||
38947cca JB |
4730 | 2011-07-01 Joel Brobecker <[email protected]> |
4731 | ||
4732 | * machoread.c (struct macho_oso_data): Delete. | |
4733 | (current_oso): Delete. | |
4734 | (macho_relocate_common_syms): New function, mostly extracted | |
4735 | out of | |
4736 | (macho_add_oso_symfile): Call macho_relocate_common_syms. | |
4737 | Remove code that sets and unset current_oso. | |
4738 | (macho_symfile_relocate): Delete handling of common symbols, | |
4739 | now moved to macho_relocate_common_syms. | |
4740 | ||
a7aa0d73 JB |
4741 | 2011-07-01 Joel Brobecker <[email protected]> |
4742 | ||
4743 | * darwin-nat.c (darwin_ptrace): Add documentation. | |
4744 | Set errno to zero before calling ptrace. If ptrace returns | |
4745 | -1 and errno is zero, then change then return zero. | |
4746 | (darwin_kill_inferior): Issue a warning instead of triggering | |
4747 | a failed assertion when the PT_KILL ptrace operations returned | |
4748 | nonzero. | |
4749 | ||
5e9bc145 JB |
4750 | 2011-07-01 Joel Brobecker <[email protected]> |
4751 | ||
4752 | * darwin-nat.c (darwin_detach): Call darwin_resume_inferior | |
4753 | only when inf->private->no_ptrace. | |
4754 | ||
00eb2c4a JB |
4755 | 2011-07-01 Joel Brobecker <[email protected]> |
4756 | ||
4757 | * ada-lang.c (print_it_exception): Print temporary catchpoints | |
4758 | as "Temporary catchpoint". | |
4759 | (print_mention_exception): Likewise. | |
4760 | ||
127c81bc TT |
4761 | 2011-07-01 Tom Tromey <[email protected]> |
4762 | ||
4763 | * jv-lang.c (java_language_defn): Use java_printchar, | |
4764 | java_printstr. | |
4765 | (java_get_encoding): New function. | |
4766 | (java_emit_char): Use generic_emit_char. | |
4767 | (java_printchar): New function. | |
4768 | (java_printstr): Likewise. | |
4769 | ||
25552254 JB |
4770 | 2011-07-01 Joel Brobecker <[email protected]> |
4771 | ||
4772 | * ada-typeprint.c (print_record_type): If unable to decode | |
4773 | the name of the parent type, use the encoded name. | |
4774 | ||
d2d43431 JB |
4775 | 2011-07-01 Jean-Charles Delay <[email protected]> |
4776 | ||
4777 | * ada-typeprint.c (ada_print_type): Fix both PAD type and | |
4778 | pointer to constrained packed array type output. | |
4779 | * ada-valprint.c (ada_val_print_1): Fix pointer to constrained | |
4780 | packed array output. | |
4781 | ||
54ae186f JB |
4782 | 2011-07-01 Jean-Charles Delay <[email protected]> |
4783 | ||
4784 | * ada-typeprint.c (print_array_type): removed if condition on show | |
4785 | being negative for bounds printing. | |
4786 | ||
8f17729f JB |
4787 | 2011-07-01 Joel Brobecker <[email protected]> |
4788 | ||
4789 | * ada-lang.c (ada_identical_enum_types_p): New function. | |
4790 | (symbols_are_identical_enums): New function. | |
4791 | (remove_extra_symbols): Do nothing if NSYMS < 2. | |
4792 | Use symbols_are_identical_enums. | |
4793 | ||
f5aa6869 JB |
4794 | 2011-07-01 Joel Brobecker <[email protected]> |
4795 | ||
4796 | * ada-valprint.c (ada_value_print): Handle typedefs. | |
4797 | ||
8f465ea7 JB |
4798 | 2011-07-01 Joel Brobecker <[email protected]> |
4799 | ||
4800 | * ada-lang.c (ada_evaluate_subexp): Add missing word in comment. | |
4801 | ||
828292f2 JB |
4802 | 2011-07-01 Eric Botcazou <[email protected]> |
4803 | ||
4804 | * ada-lang.c (thin_descriptor_type): Deal with typedefs. | |
4805 | (decode_constrained_packed_array): Likewise. | |
4806 | (ada_evaluate_subexp) <TERNOP_SLICE>: Likewise. | |
4807 | ||
18920c42 JB |
4808 | 2011-07-01 Joel Brobecker <[email protected]> |
4809 | ||
4810 | * ada-exp.y (convert_char_literal): Handle typedef types. | |
4811 | ||
c90092fe JB |
4812 | 2011-07-01 Joel Brobecker <[email protected]> |
4813 | ||
4814 | * ada-lang.c (ada_remove_trailing_digits): Expand documentation. | |
4815 | ||
f748fb40 TT |
4816 | 2011-06-30 Tom Tromey <[email protected]> |
4817 | ||
4818 | * varobj.c (varobj_create): Call do_cleanups on early exit path. | |
4819 | * valops.c (find_overload_match): Call do_cleanups on early exit | |
4820 | path. | |
4821 | * solib.c (solib_find): Call do_cleanups on early exit path. | |
4822 | ||
3bb47e8b TT |
4823 | 2011-06-30 Tom Tromey <[email protected]> |
4824 | ||
4825 | * symfile-mem.c (symbol_file_add_from_memory): Call do_cleanups. | |
4826 | * solib-svr4.c (open_symbol_file_object): Call do_cleanups on all | |
4827 | return paths. Defer final do_cleanups until last return. | |
4828 | * arm-tdep.c (arm_exidx_new_objfile): Make null cleanup after | |
4829 | early return. | |
4830 | ||
4727bad3 TT |
4831 | 2011-06-30 Tom Tromey <[email protected]> |
4832 | ||
4833 | * Makefile.in (SUBDIR_MI_CFLAGS): Don't add -DMI_OUT=1. | |
4834 | ||
bb361dbf AB |
4835 | 2011-06-30 Andrew Burgess <[email protected]> |
4836 | ||
4837 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
4838 | ||
e0d00bc7 JK |
4839 | 2011-06-29 Jan Kratochvil <[email protected]> |
4840 | ||
4841 | Disable epilogue unwinders on recent GCCs. | |
4842 | * amd64-tdep.c (amd64_in_function_epilogue_p): New variable symtab, | |
4843 | initialize it, return 0 on EPILOGUE_UNWIND_VALID. | |
4844 | * dwarf2read.c (process_full_comp_unit): Initialize | |
4845 | EPILOGUE_UNWIND_VALID. | |
4846 | * i386-tdep.c (i386_in_function_epilogue_p): New variable symtab, | |
4847 | initialize it, return 0 on EPILOGUE_UNWIND_VALID. | |
4848 | * symtab.h (struct symtab): New field epilogue_unwind_valid. | |
4849 | ||
4632c0d0 JK |
4850 | 2011-06-29 Jan Kratochvil <[email protected]> |
4851 | ||
4852 | Code cleanup - reformatting. | |
4853 | * dwarf2read.c (producer_is_gcc_ge_4_0): Rename to ... | |
4854 | (producer_is_gcc_ge_4): ... here, change the return value. | |
4855 | (process_full_comp_unit): New variable gcc_4_minor, adjust the value | |
4856 | interpretation. | |
4857 | ||
32019081 JK |
4858 | 2011-06-29 Jan Kratochvil <[email protected]> |
4859 | ||
4860 | Fix non-only rename list for Fortran modules import. | |
4861 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Adjust the | |
4862 | cp_add_using_directive caller. | |
4863 | (cp_add_using_directive): New parameter excludes, describe it. New | |
4864 | variables ix and param. Compare if also excludes match. Allocate NEW | |
4865 | with variable size, initialize EXCLUDES there. | |
4866 | (cp_lookup_symbol_imports): New variable excludep, test | |
4867 | current->EXCLUDES with it. | |
4868 | * cp-support.h: Include vec.h. | |
4869 | (struct using_direct): New field excludes, describe it. | |
4870 | (DEF_VEC_P (const_char_ptr)): New. | |
4871 | (cp_add_using_directive): New parameter excludes. | |
4872 | * defs.h (const_char_ptr): New typedef. | |
4873 | * dwarf2read.c (read_import_statement): New variables child_die, | |
4874 | excludes and cleanups, read in excludes. | |
4875 | (read_namespace): Adjust the cp_add_using_directive caller. | |
4876 | ||
70c622a3 JK |
4877 | 2011-06-29 Jan Kratochvil <[email protected]> |
4878 | ||
4879 | Code cleanup. | |
4880 | * cp-namespace.c (cp_add_using_directive): Turn positive comparison to | |
4881 | negative comparisons. | |
4882 | ||
39c4d40a TT |
4883 | 2011-06-29 André Pönitz <[email protected]> |
4884 | ||
4885 | * mi/mi-main.c (mi_cmd_list_features): Emit | |
4886 | breakpoint-notifications. | |
4887 | ||
3b2b8fea TT |
4888 | 2011-06-29 Tom Tromey <[email protected]> |
4889 | ||
4890 | PR fortran/10036: | |
4891 | * valprint.h (generic_emit_char, generic_printstr): Declare. | |
4892 | * valprint.c (wchar_printable, append_string_as_wide) | |
4893 | (print_wchar): Move from c-lang.c. | |
4894 | (generic_emit_char): New function; mostly taken from c_emit_char. | |
4895 | (generic_printstr): New function; mostly taken from c_printstr. | |
4896 | * f-valprint.c (f_val_print) <TYPE_CODE_ARRAY>: Handle strings | |
4897 | represented as arrays. | |
4898 | <TYPE_CODE_CHAR>: Treat as TYPE_CODE_INT; recognize as character | |
4899 | type. | |
4900 | * f-typeprint.c (f_type_print_base) <TYPE_CODE_CHAR>: Treat | |
4901 | identically to TYPE_CODE_INT. | |
4902 | * f-lang.c (f_get_encoding): New function. | |
4903 | (f_emit_char): Use generic_emit_char. | |
4904 | (f_printchar): Replace comment. | |
4905 | (f_printstr): Use generic_printstr. | |
4906 | * dwarf2read.c (read_base_type) <DW_ATE_unsigned>: Handle Fortran | |
4907 | "character" types specially. | |
4908 | <DW_ATE_signed_char, DW_ATE_unsigned_char>: Make TYPE_CODE_CHAR | |
4909 | for Fortran. | |
4910 | * c-lang.c (wchar_printable, append_string_as_wide, print_wchar): | |
4911 | Move to valprint.c | |
4912 | (c_emit_char): Call generic_emit_char. | |
4913 | (c_printstr): Call generic_printstr. | |
4914 | ||
168e6d44 GB |
4915 | 2011-06-29 Gary Benson <[email protected]> |
4916 | ||
4917 | * breakpoint.c (bpstat_what): Removed duplicated case. | |
4918 | ||
1c033f8c TT |
4919 | 2011-06-28 Tom Tromey <[email protected]> |
4920 | ||
4921 | * python/python-internal.h (PY_SSIZE_T_CLEAN): Define. | |
4922 | ||
5fe41fbf TT |
4923 | 2011-06-27 Tom Tromey <[email protected]> |
4924 | ||
4925 | * valops.c (find_overload_match): Call do_cleanups before early | |
4926 | return. | |
4927 | * top.c (execute_command): Call do_cleanups before early return. | |
4928 | (command_loop): Likewise. | |
4929 | * stack.c (backtrace_command): Make a null cleanup early. Don't | |
4930 | conditionally call do_cleanups. | |
4931 | * python/py-value.c (TRY_CATCH): Move cleanup handling into | |
4932 | TRY_CATCH. | |
4933 | * python/py-breakpoint.c (gdbpy_breakpoint_has_py_cond): Rearrange | |
4934 | so cleanups are always run. | |
4935 | * mi/mi-cmd-var.c (mi_cmd_var_delete): Reset old_cleanups. | |
4936 | * findcmd.c (parse_find_args): Call do_cleanups on early return | |
4937 | path. | |
4938 | * dbxread.c (elfstab_build_psymtabs): Make a null cleanup early. | |
4939 | Don't conditionally call do_cleanups. | |
4940 | * cli/cli-script.c (execute_user_command): Initialize 'old_chain' | |
4941 | later. | |
4942 | ||
e26bd57d EB |
4943 | 2011-06-27 Eric Botcazou <[email protected]> |
4944 | ||
4945 | * MAINTAINERS (Write After Approval): Use default email address. | |
4946 | ||
6c3097fc JB |
4947 | 2011-06-27 Joel Brobecker <[email protected]> |
4948 | ||
4949 | * MAINTAINERS (Write After Approval): Add Eric Botcazou. | |
4950 | ||
369c397b JB |
4951 | 2011-06-27 Eric Botcazou <[email protected]> |
4952 | ||
4953 | * sparc-tdep.h (struct sparc_frame_cache): Add frame_offset, | |
4954 | saved_regs_mask and copied_regs_mask fields. | |
4955 | (sparc_record_save_insn): New prototype. | |
4956 | * sparc-tdep.c (sparc_alloc_frame_cache): Initialize the new fields. | |
4957 | (sparc_record_save_insn): New function. | |
4958 | (sparc_analyze_prologue): Add head comment. Recognize store insns | |
4959 | of call-saved registers. Use OFFSET consistently. Recognize flat | |
4960 | frames and cache their settings. | |
4961 | (sparc32_skip_prologue): Handle flat frames. | |
4962 | (sparc_frame_cache): Add frame_offset to the base address. | |
4963 | (sparc32_frame_cache): Adjust to new frame description. | |
4964 | (sparc32_frame_prev_register): Likewise. | |
4965 | * sparc64-tdep.c (sparc64_frame_prev_register): Likewise. | |
4966 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise. | |
4967 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise. | |
4968 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_cache): Force the | |
4969 | frame by calling sparc_record_save_insn. | |
4970 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_cache): Likewise. | |
4971 | * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_cache): Likewise. | |
4972 | * sparc64obsd-tdep.c (sparc64obsd_frame_cache): Likewise. | |
4973 | ||
b315ab21 TG |
4974 | 2011-06-27 Tristan Gingold <[email protected]> |
4975 | ||
4976 | * dwarf2read.c (struct dwarf2_section_info): Replace was_mmapped | |
4977 | field by map_addr and map_len. | |
4978 | (dwarf2_read_section): Adjust for the new bfd_mmap api. | |
4979 | (munmap_section_buffer): Likewise. | |
4980 | ||
ddd49eee TT |
4981 | 2011-06-24 Tom Tromey <[email protected]> |
4982 | ||
4983 | * varobj.c (update_dynamic_varobj_children): Make 'name' const. | |
4984 | * symtab.h (lookup_struct, lookup_union, lookup_enum): Update. | |
4985 | * python/python.c (gdbpy_parameter): Make 'arg' const. | |
4986 | (execute_gdb_command): Likewise. | |
4987 | (gdbpy_decode_line): Likewise. Copy it. | |
4988 | (gdbpy_parse_and_eval): Make 'expr_string' const. Copy it. | |
4989 | (gdbpy_write): Make 'arg' const. | |
4990 | * python/py-type.c (typy_lookup_typename): Make 'type_name' | |
4991 | const. | |
4992 | (gdbpy_lookup_type): Likewise. | |
4993 | * python/py-prettyprint.c (print_children): Make 'name' const. | |
4994 | * python/py-param.c (parmpy_init): Make 'name' const. Copy it. | |
4995 | * python/py-inferior.c (infpy_write_memory): Make 'buf_len' a | |
4996 | Py_ssize_t. | |
4997 | * python/py-function.c (fnpy_init): Make 'name' const. | |
4998 | * python/py-cmd.c (cmdpy_init): Make 'name' const. Copy it. | |
4999 | (gdbpy_string_to_argv): Make 'input' const. | |
5000 | * python/py-breakpoint.c (bppy_init): Make 'spec' const. Copy | |
5001 | it. | |
5002 | * gdbtypes.h (lookup_typename): Update. | |
5003 | * gdbtypes.c (lookup_typename): Make 'name' const. | |
5004 | (lookup_struct): Likewise. | |
5005 | (lookup_union): Likewise. | |
5006 | (lookup_enum): Likewise. | |
5007 | ||
5998129b TT |
5008 | 2011-06-24 Tom Tromey <[email protected]> |
5009 | ||
5010 | * Makefile.in (HFILES_NO_SRCDIR): Add "common/" to | |
5011 | gdb_thread_db.h. Move all common/ entries to be together. | |
5012 | (TAGS): Don't depend on DEPFILES. | |
5013 | ||
6e586cc5 YQ |
5014 | 2011-06-23 Yao Qi <[email protected]> |
5015 | ||
5016 | * infrun.c (start_remote): Move call init_wait_for_inferior to ... | |
5017 | * remote.c (remote_start_remote): ... here. | |
5018 | * monitor.c (monitor_open): ... here. | |
5019 | ||
86c3c1fc AB |
5020 | 2011-06-23 Andrew Burgess <[email protected]> |
5021 | ||
5022 | * gdbtypes.c (append_composite_type_field_aligned): Fix | |
5023 | calculation of bit position based on alignment. | |
5024 | ||
28010a5d PA |
5025 | 2011-06-22 Pedro Alves <[email protected]> |
5026 | ||
5027 | * breakpoint.c (bpstat_stop_status): Call the check_status | |
5028 | breakpoint_ops method. | |
5029 | (print_one_breakpoint_location): Also print the condition for Ada | |
5030 | exception catchpoints. | |
5031 | (allocate_bp_location): New, factored out from | |
5032 | allocate_bp_location. | |
5033 | (allocate_bp_location): Adjust. Call the owner breakpoint's | |
5034 | allocate_location method, if there is one. | |
5035 | (free_bp_location): Call the locations's dtor method, if there is | |
5036 | one. | |
5037 | (init_raw_breakpoint_without_location): New breakpoint_ops | |
5038 | parameter. Use it. | |
5039 | (set_raw_breakpoint_without_location): Adjust. | |
5040 | (init_raw_breakpoint): New breakpoint_ops parameter. Pass it down. | |
5041 | (set_raw_breakpoint): Adjust. | |
5042 | (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops) | |
5043 | (catch_syscall_breakpoint_ops): Install NULL allocate_location, | |
5044 | re_set and check_status methods. | |
5045 | (init_catchpoint): Don't memset, initialize thread, addr_string | |
5046 | and enable_state. Pass the ops down to init_raw_breakpoint. | |
5047 | (install_catchpoint): Rename to ... | |
5048 | (install_breakpoint): ... this, and make extern. | |
5049 | (create_fork_vfork_event_catchpoint): Adjust. | |
5050 | (catch_exec_breakpoint_ops): Install NULL allocate_location, | |
5051 | re_set and check_status methods. | |
5052 | (create_syscall_event_catchpoint): Adjust. | |
5053 | (ranged_breakpoint_ops, watchpoint_breakpoint_ops) | |
5054 | (masked_watchpoint_breakpoint_ops): Install NULL | |
5055 | allocate_location, re_set and check_status methods. | |
5056 | (catch_exec_command_1): Adjust. | |
5057 | (gnu_v3_exception_catchpoint_ops): Install NULL allocate_location, | |
5058 | re_set and check_status methods. | |
5059 | (create_ada_exception_breakpoint): Rename to ... | |
5060 | (init_ada_exception_breakpoint): ... this. Add a struct | |
5061 | breakpoint parameter, and delete the exp_string, cond_string and | |
5062 | cond parameters. Use init_raw_breakpoint, and don't install or | |
5063 | mention the breakpoint yet. Don't clear breakpoint fields that | |
5064 | init_raw_breakpoint already clears. | |
5065 | (re_set_breakpoint): Delete, split into ... | |
5066 | (breakpoint_re_set_default, prepare_re_set_context): ... these new | |
5067 | functions. | |
5068 | (breakpoint_re_set_one): Call the breakpoint's | |
5069 | breakpoint_ops->re_set implementation, if there's one. Adjust. | |
5070 | * breakpoint.h: Forward declare struct bpstats and struct bp_location. | |
5071 | (struct bp_location_ops): New type. | |
5072 | (struct bp_location): New field `ops'. | |
5073 | (struct breakpoint_ops): New `allocate_location', `re_set' and | |
5074 | `check_status' fields. Make `breakpoint_hit''s description match | |
5075 | reality. | |
5076 | (init_bp_location): Declare. | |
5077 | (breakpoint_re_set_default): Declare. | |
5078 | (create_ada_exception_breakpoint): Rename to ... | |
5079 | (init_ada_exception_breakpoint): ... this. Add a struct | |
5080 | breakpoint parameter, and delete the exp_string, cond_string and | |
5081 | cond parameters. | |
5082 | (install_breakpoint): Declare. | |
5083 | * ada-lang.c: Include exceptions.h. | |
5084 | <Ada exceptions description>: Update. | |
5085 | (struct ada_catchpoint_location): New type. | |
5086 | (ada_catchpoint_location_dtor): New function. | |
5087 | (ada_catchpoint_location_ops): New global. | |
5088 | (ada_catchpoint): New type. | |
5089 | (create_excep_cond_exprs): New function. | |
5090 | (dtor_exception, allocate_location_exception, re_set_exception) | |
5091 | (should_stop_exception, check_status_exception): New functions. | |
5092 | (print_one_exception, print_mention_exception) | |
5093 | (print_recreate_exception): Adjust. | |
5094 | (dtor_catch_exception, allocate_location_catch_exception) | |
5095 | (re_set_catch_exception, check_status_catch_exception): New | |
5096 | functions. | |
5097 | (catch_exception_breakpoint_ops): Install them. | |
5098 | (dtor_catch_exception_unhandled) | |
5099 | (allocate_location_catch_exception_unhandled) | |
5100 | (re_set_catch_exception_unhandled) | |
5101 | (check_status_catch_exception_unhandled): New functions. | |
5102 | (catch_exception_unhandled_breakpoint_ops): Install them. | |
5103 | (dtor_catch_assert, allocate_location_catch_assert) | |
5104 | (re_set_catch_assert, check_status_catch_assert): New functions. | |
5105 | (catch_assert_breakpoint_ops): Install them. | |
5106 | (ada_exception_catchpoint_p): Delete. | |
5107 | (catch_ada_exception_command_split) | |
5108 | (ada_exception_catchpoint_cond_string): Rename exp_string | |
5109 | parameter to excep_string. Adjust. | |
5110 | (ada_parse_catchpoint_condition): Delete. | |
5111 | (ada_exception_sal): Rename the exp_string parameter to | |
5112 | excep_string. Delete the cond_string and cond parameters. | |
5113 | Adjust. | |
5114 | (ada_decode_exception_location): Rename the exp_string parameter | |
5115 | to excep_string. Delete the cond_string and cond parameters. | |
5116 | Adjust. | |
5117 | (create_ada_exception_catchpoint): New function. | |
5118 | (catch_ada_exception_command, ada_decode_assert_location) | |
5119 | (catch_assert_command): Adjust. | |
5120 | * ada-lang.h (ada_exception_catchpoint_p): Delete declaration. | |
5121 | ||
9ac4176b PA |
5122 | 2011-06-22 Pedro Alves <[email protected]> |
5123 | ||
5124 | * ada-lang.c: Include arch-utils.h. | |
5125 | (ada_decode_exception_location): Make static. | |
5126 | (catch_ada_exception_command): Moved here from breakpoint.c. | |
5127 | (ada_decode_assert_location): Make static. | |
5128 | (catch_assert_command): Moved here from breakpoint.c. | |
5129 | (_initialize_ada_lang): Install the exception and assert | |
5130 | catchpoint commands here. | |
5131 | * ada-lang.h (ada_decode_exception_location) | |
5132 | (ada_decode_assert_location): Delete declarations. | |
5133 | * breakpoint.c (CATCH_PERMANENT, CATCH_TEMPORARY): Moved to | |
5134 | breakpoint.h. | |
5135 | (create_ada_exception_breakpoint): Make extern. | |
5136 | (catch_ada_exception_command, catch_assert_command): Moved to | |
5137 | ada-lang.c. | |
5138 | (add_catch_command): Make extern. | |
5139 | (_initilize_breakpoint): Don't install the exception and assert | |
5140 | catchpoint commands here. | |
5141 | * breakpoint.h (CATCH_PERMANENT, CATCH_TEMPORARY): Moved from | |
5142 | breakpoint.c | |
5143 | (add_catch_command, create_ada_exception_breakpoint): Declare. | |
5144 | ||
c56053d2 PA |
5145 | 2011-06-22 Pedro Alves <[email protected]> |
5146 | ||
5147 | * breakpoint.c (init_raw_breakpoint_without_location): Don't add | |
5148 | the breakpoint to the breakpoint chain here. | |
5149 | (set_raw_breakpoint_without_location): Add the breakpoint to the | |
5150 | breakpoint chain here. | |
5151 | (init_raw_breakpoint): Adjust comments. | |
5152 | (set_raw_breakpoint): Add the breakpoint to the breakpoint chain | |
5153 | here. | |
5154 | (init_catchpoint): Don't set the catchpoint's breakpoint number | |
5155 | here. | |
5156 | (install_catchpoint): New function. | |
5157 | (create_fork_vfork_event_catchpoint) | |
5158 | (create_syscall_event_catchpoint, catch_exec_command_1): Adjust to | |
5159 | use install_catchpoint. | |
5160 | ||
d2f3fc74 PA |
5161 | 2011-06-22 Pedro Alves <[email protected]> |
5162 | ||
5163 | * breakpoint.c (create_catchpoint_without_mention) | |
5164 | (create_catchpoint): Delete. | |
5165 | ||
b4d90040 PA |
5166 | 2011-06-22 Pedro Alves <[email protected]> |
5167 | ||
5168 | * breakpoint.h (struct breakpoint): Delete field `exec_pathname'. | |
5169 | * breakpoint.c (init_raw_breakpoint_without_location): Remove | |
5170 | reference to exec_pathname. | |
5171 | (struct exec_catchpoint): New type. | |
5172 | (dtor_catch_exec): New function. | |
5173 | (insert_catch_exec, print_it_catch_exec, print_one_catch_exec): Adjust. | |
5174 | (catch_exec_breakpoint_ops): Install dtor_catch_syscall. | |
5175 | (catch_exec_command_1): Adjust to use init_catchpoint. | |
5176 | (delete_breakpoint): Remove reference to exec_pathname. | |
5177 | ||
be5c67c1 PA |
5178 | 2011-06-22 Pedro Alves <[email protected]> |
5179 | ||
5180 | * breakpoint.h (struct breakpoint_ops): New field `dtor'. | |
5181 | (struct breakpoint): Delete field `syscalls_to_be_caught'. | |
5182 | * breakpoint.c (init_raw_breakpoint_without_location): Remove | |
5183 | reference to syscalls_to_be_caught. | |
5184 | (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops): Install a | |
5185 | NULL `dtor'. | |
5186 | (struct syscall_catchpoint): New type. | |
5187 | (dtor_catch_syscall): New function. | |
5188 | (insert_catch_syscall, remove_catch_syscall) | |
5189 | (breakpoint_hit_catch_syscall, print_one_catch_syscall) | |
5190 | (print_recreate_catch_syscall): Adjust. | |
5191 | (catch_syscall_breakpoint_ops): Install dtor_catch_syscall. | |
5192 | (catch_exec_breakpoint_ops): Install a NULL `dtor'. | |
5193 | (create_syscall_event_catchpoint): Adjust to use init_catchpoint. | |
5194 | (ranged_breakpoint_ops, watchpoint_breakpoint_ops) | |
5195 | (masked_watchpoint_breakpoint_ops) | |
5196 | (gnu_v3_exception_catchpoint_ops): Install a NULL `dtor'. | |
5197 | (delete_breakpoint): Call the `dtor' breakpoint_ops method, if | |
5198 | there is one. Remove references to syscalls_to_be_caught. | |
5199 | (catching_syscall_number): Adjust. | |
5200 | * ada-lang.c (catch_exception_breakpoint_ops) | |
5201 | (catch_exception_unhandled_breakpoint_ops) | |
5202 | (catch_assert_breakpoint_ops): Install a NULL `dtor'. | |
5203 | ||
e29a4733 PA |
5204 | 2011-06-22 Pedro Alves <[email protected]> |
5205 | ||
5206 | * breakpoint.h (struct breakpoint): Delete forked_inferior_pid | |
5207 | field. | |
5208 | * breakpoint.c (init_raw_breakpoint_without_location): Remove | |
5209 | reference to forked_inferior_pid. | |
5210 | (struct fork_catchpoint): New type. | |
5211 | (breakpoint_hit_catch_fork, print_it_catch_fork) | |
5212 | (print_one_catch_fork, breakpoint_hit_catch_vfork) | |
5213 | (print_it_catch_vfork, print_one_catch_vfork): Adjust. | |
5214 | (create_fork_vfork_event_catchpoint): Adjust to use | |
5215 | init_catchpoint. | |
5216 | ||
346774a9 PA |
5217 | 2011-06-22 Pedro Alves <[email protected]> |
5218 | ||
5219 | * breakpoint.c (add_to_breakpoint_chain) | |
5220 | (init_raw_breakpoint_without_location): New functions, factored | |
5221 | out from ... | |
5222 | (set_raw_breakpoint_without_location): ... this one. | |
5223 | (init_raw_breakpoint): New function, factored out from | |
5224 | set_raw_breakpoint and adjusted to use | |
5225 | init_raw_breakpoint_without_location. | |
5226 | (set_raw_breakpoint): Adjust. | |
5227 | (init_catchpoint): New function, factored out from | |
5228 | create_catchpoint_without_mention and adjusted to use | |
5229 | init_raw_breakpoint. | |
5230 | (create_catchpoint_without_mention): Adjust. | |
5231 | ||
c38c4bc5 TT |
5232 | 2011-06-22 Tom Tromey <[email protected]> |
5233 | ||
5234 | * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_convert>: Treat type | |
5235 | argument of 0 specially. | |
5236 | ||
b138ce37 YQ |
5237 | 2011-06-22 Yao Qi <[email protected]> |
5238 | ||
5239 | * infrun.c (handle_inferior_event): Remove write-only local variable | |
5240 | `sw_single_step_trap_p'. | |
5241 | ||
03de6823 TT |
5242 | 2011-06-20 Tom Tromey <[email protected]> |
5243 | ||
5244 | * symtab.c (lookup_language_this): End loop if block is NULL. | |
5245 | ||
66a17cb6 TT |
5246 | 2011-06-17 Tom Tromey <[email protected]> |
5247 | ||
5248 | * valops.c (value_of_this): Use lookup_language_this. | |
5249 | * symtab.h (lookup_language_this): Declare. | |
5250 | * symtab.c (lookup_language_this): New function. | |
5251 | (lookup_symbol_aux): Use lookup_language_this. | |
5252 | * ax-gdb.c (gen_expr) <OP_THIS>: Use lookup_language_this. | |
5253 | ||
7518bff5 TT |
5254 | 2011-06-17 Tom Tromey <[email protected]> |
5255 | ||
5256 | * value.h (value_of_this): Update. | |
5257 | (value_of_local): Remove. | |
5258 | * valops.c (value_of_this): Rename from value_of_local. Change | |
5259 | parameters. | |
5260 | * p-exp.y (exp): Update. | |
5261 | (variable): Likewise. | |
5262 | * eval.c (evaluate_subexp_standard) <OP_THIS>: Use value_of_this. | |
5263 | ||
aee28ec6 TT |
5264 | 2011-06-17 Tom Tromey <[email protected]> |
5265 | ||
5266 | * valops.c (value_of_local): Complain if NAME is NULL. | |
5267 | * std-operator.def (OP_OBJC_SELF): Remove. | |
5268 | * parse.c (operator_length_standard) <OP_OBJC_SELF>: Remove. | |
5269 | * objc-exp.y (name_not_typename): Use OP_THIS. | |
5270 | * expprint.c (print_subexp_standard) <OP_THIS>: Print language's | |
5271 | name for "this". | |
5272 | <OP_OBJC_SELF>: Remove. | |
5273 | * eval.c (evaluate_subexp_standard) <OP_OBJC_SELF>: Remove. | |
5274 | ||
eed8f803 TG |
5275 | 2011-06-16 Tristan Gingold <[email protected]> |
5276 | ||
5277 | * python/py-events.h (gdb_py_events): Make it extern. | |
5278 | * python/py-evtregistry.c (gdb_py_events): Declare. | |
5279 | ||
864ac8a7 HZ |
5280 | 2011-06-16 Hui Zhu <[email protected]> |
5281 | ||
5282 | * remote.c (remote_trace_set_readonly_regions): Add check for | |
5283 | remote_protocol_packets[PACKET_qXfer_traceframe_info].support before | |
5284 | output warning. | |
5285 | ||
ef7e8358 UW |
5286 | 2011-06-15 Ulrich Weigand <[email protected]> |
5287 | ||
5288 | * arm-linux-tdep.c: Include "auxv.h". | |
5289 | (AT_HWCAP): Define. | |
5290 | (ARM_LINUX_SIZEOF_VFP): Define. | |
5291 | (arm_linux_supply_vfp): New function. | |
5292 | (arm_linux_collect_vfp): Likewise. | |
5293 | (arm_linux_regset_from_core_section): Handle .reg-arm-vfp sections. | |
5294 | (arm_linux_fpa_regset_sections): New variable. | |
5295 | (arm_linux_vfp_regset_sections): Likewise. | |
5296 | (arm_linux_core_read_description): New function. | |
5297 | (arm_linux_init_abi): Install arm_linux_core_read_description and | |
5298 | arm_linux_fpa_regset_sections or arm_linux_vfp_regset_sections as | |
5299 | appropriate for the architecture. | |
5300 | * arm-tdep.h (struct gdbarch_tdep): Add member "vfpregset". | |
5301 | (tdesc_arm_with_m): Declare. | |
5302 | (tdesc_arm_with_iwmmxt): Likewise. | |
5303 | (tdesc_arm_with_vfpv2): Likewise. | |
5304 | (tdesc_arm_with_vfpv3): Likewise. | |
5305 | (tdesc_arm_with_neon): Likewise. | |
5306 | * arm-linux-nat.c: Move features/*.c includes ... | |
5307 | * arm-tdep.c: ... here. | |
5308 | * arm-linux-nat.c (arm_linux_read_description): Move initializing | |
5309 | target description data structures ... | |
5310 | * arm-tdep.c (_initialize_arm_tdep): ... here. | |
5311 | * arm-linux-nat.c (HWCAP_VFP, HWCAP_IWMMXT, HWCAP_NEON, HWCAP_VFPv3, | |
5312 | HWCAP_VFPv3D16): Move definitions ... | |
5313 | * arm-linux-tdep.h: ... here. | |
5314 | ||
c2fa21f1 HZ |
5315 | 2011-06-15 Hui Zhu <[email protected]> |
5316 | ||
5317 | * remote.c (remote_trace_set_readonly_regions): Add a check for | |
5318 | target_buf_size. | |
5319 | ||
dd707e8e TT |
5320 | 2011-06-14 Tom Tromey <[email protected]> |
5321 | ||
5322 | * coffread.c (coffread_objfile): Rename from current_objfile. | |
5323 | * dbxread.c (dbxread_objfile): Rename from current_objfile. | |
5324 | * mdebugread.c (mdebugread_objfile): Rename from current_objfile. | |
5325 | ||
86cc0029 TT |
5326 | 2011-06-14 Tom Tromey <[email protected]> |
5327 | ||
5328 | * jv-lang.c (jv_type_objfile_data_key, dynamics_objfile) | |
5329 | (class_symtab): Remove. | |
5330 | (jv_dynamics_progspace_key): New global. | |
5331 | (jv_per_objfile_free): Reset program space data. Update assert. | |
5332 | Don't clear globals. | |
5333 | (get_dynamics_objfile): Use and set program space data. | |
5334 | (get_java_class_symtab): Use get_dynamics_objfile. | |
5335 | (add_class_symbol): Likewise. | |
5336 | (java_link_class_type): Likewise. | |
5337 | (java_object_type, jv_clear_object_type, set_java_object_type): | |
5338 | Remove. | |
5339 | (get_java_object_type): Update. Don't cache result. | |
5340 | (is_object_type): Don't call set_java_object_type. | |
5341 | (_initialize_java_language): Don't set jv_type_objfile_data_key; | |
5342 | initialize jv_dynamics_progspace_key. | |
5343 | ||
91a81f69 TT |
5344 | 2011-06-14 Tom Tromey <[email protected]> |
5345 | ||
5346 | * symtab.h (current_objfile): Don't declare. | |
5347 | * objfiles.h (current_objfile): Don't declare. | |
5348 | * objfiles.c (current_objfile): Remove. | |
5349 | * mdebugread.c (current_objfile): New file-scope global. | |
5350 | * dbxread.c (current_objfile): New file-scope global. | |
5351 | * coffread.c (current_objfile): New file-scope global. | |
5352 | ||
dc7eb48e PA |
5353 | 2011-06-13 Pedro Alves <[email protected]> |
5354 | ||
5355 | * top.h (line): Rename to ... | |
5356 | (saved_command_line): ... this. | |
5357 | (linesize): Rename to ... | |
5358 | (saved_command_line_size): ... this. | |
5359 | * top.c (line): Rename to ... | |
5360 | (saved_command_line): ... this. | |
5361 | (linesize): Rename to ... | |
5362 | (saved_command_line_size): ... this. | |
5363 | (dont_repeat, command_line_input, dont_repeat_command): Adjust. | |
5364 | * event-top.c (command_line_handler): Adjust. | |
5365 | * main.c (captured_main): Adjust. | |
5366 | ||
0d6c2135 MK |
5367 | 2011-06-12 Mark Kettenis <[email protected]> |
5368 | ||
5369 | * i386-tdep.c (i386_epilogue_frame_cache): Simplify code. Call | |
5370 | get_frame_func instead of get_frame_pc to determine the code | |
5371 | address used to construct the frame ID. | |
5372 | (i386_epilogue_frame_unwind_stop_reason): Fix coding style. | |
5373 | (i386_epilogue_frame_this_id): Likewise. | |
5374 | (i386_epilogue_frame_prev_register): New function. | |
5375 | (i386_epilogue_frame_unwind): Use i386_epilogue_frame_prev_register. | |
5376 | (i386_stack_tramp_frame_sniffer): Fix coding style. | |
5377 | (i386_stack_tramp_frame_unwind): Use i386_epilogue_frame_prev_register. | |
5378 | (i386_gdbarch_init): Fix comments. | |
5379 | ||
8bbdd3f4 MK |
5380 | 2011-06-12 Mark Kettenis <[email protected]> |
5381 | ||
5382 | * i386-tdep.c (i386_match_insn_block): Use length of the proper | |
5383 | instruction when walking back through the instruction stream. | |
5384 | ||
533a737e JK |
5385 | 2011-06-10 Jan Kratochvil <[email protected]> |
5386 | ||
5387 | * symtab.c (output_partial_symbol_filename): Exchange the filename and | |
5388 | fullname parameters order. | |
5389 | ||
44b13c5a JK |
5390 | 2011-06-10 Jan Kratochvil <[email protected]> |
5391 | ||
5392 | Code cleanup. | |
5393 | * dwarf2read.c (dw2_map_symbol_filenames): Use symbol_filename_ftype | |
5394 | for fun. | |
5395 | * psymtab.c (map_symbol_filenames_psymtab) | |
5396 | (map_partial_symbol_filenames): Likewise. | |
5397 | * psymtab.h: Include symfile.h. | |
5398 | (map_partial_symbol_filenames): Use symbol_filename_ftype for fun. | |
5399 | * symfile.h (symbol_filename_ftype): New. | |
5400 | (struct quick_symbol_functions): Use symbol_filename_ftype for fun of | |
5401 | map_symbol_filenames, clarify more the naming in comment. | |
5402 | ||
0b5574da DE |
5403 | 2011-06-07 Doug Evans <[email protected]> |
5404 | ||
5405 | * cc-with-index.sh: Fix typos in comment. | |
b8e9bd6c | 5406 | Look for ../../gdb, for fullname.exp. |
0b5574da | 5407 | |
5be4dfca JK |
5408 | 2011-06-07 Jan Kratochvil <[email protected]> |
5409 | Pedro Alves <[email protected]> | |
5410 | ||
5411 | * cli/cli-cmds.c (shell_escape): Use waitpid. | |
5412 | * rs6000-nat.c (exec_one_dummy_insn): Likewise. | |
5413 | ||
316a8b21 TG |
5414 | 2011-06-07 Tristan Gingold <[email protected]> |
5415 | ||
5416 | * xcoffread.c (dwarf2_xcoff_names): New variable. | |
5417 | (aix_process_linenos): Add a guard. | |
5418 | (xcoff_symfile_finish): Free dwarf2. | |
5419 | (xcoff_initial_scan): Add dwarf2 support. | |
5420 | ||
3dd5b83d PA |
5421 | 2011-06-06 Pedro Alves <[email protected]> |
5422 | ||
5423 | * infcall.c (run_inferior_call): Don't mask async. Instead force | |
5424 | a synchronous wait, if the target can async. | |
5425 | ||
5426 | * target.h (struct target_ops): Delete to_async_mask. | |
5427 | (target_async_mask): Delete. | |
5428 | * target.c (update_current_target): Delete references to to_async_mask. | |
5429 | * linux-nat.c (linux_nat_async_mask_value): Delete. | |
5430 | (linux_nat_is_async_p, linux_nat_can_async_p): Remove references | |
5431 | to linux_nat_async_mask_value. | |
5432 | (linux_nat_async_mask): Delete. | |
5433 | (linux_nat_async, linux_nat_close): Remove references to | |
5434 | linux_nat_async_mask_value. | |
5435 | * record.c (record_async_mask_value): Delete. | |
5436 | (record_async): Remove references to record_async_mask_value. | |
5437 | (record_async_mask): Delete. | |
5438 | (record_can_async_p, record_is_async_p): Remove references to | |
5439 | record_async_mask_value. | |
5440 | (init_record_ops, init_record_core_ops): Remove references to | |
5441 | record_async_mask. | |
5442 | * remote.c (remote_async_mask_value): Delete. | |
5443 | (init_remote_ops): Remove reference to remote_async_mask. | |
5444 | (remote_can_async_p, remote_is_async_p): Remove references to | |
5445 | remote_async_mask_value. | |
5446 | (remote_async): Remove references to remote_async_mask_value. | |
5447 | (remote_async_mask): Delete. | |
5448 | ||
5449 | * infrun.c (fetch_inferior_event): Don't claim registers changed | |
5450 | if the current thread is already not executing. | |
5451 | ||
64b9b334 JB |
5452 | 2011-06-03 Joel Brobecker <[email protected]> (obvious fix) |
5453 | ||
5454 | From Stephen Kitt <[email protected]> | |
5455 | * breakpoint.c, breakpoint.h, cli/cli-dump.c, dwarf2expr.c, | |
5456 | gdbarch.c, gdbarch.sh, remote.c: Various spelling fixes. | |
5457 | ||
325663dc JB |
5458 | 2011-06-03 Joel Brobecker <[email protected]> |
5459 | ||
5460 | * dwarf2expr.c (execute_stack_op) [DW_OP_deref]: Handle | |
5461 | the case where ADDR_SIZE is different from TYPE_LENGTH (type). | |
5462 | ||
8cf64490 TT |
5463 | 2011-06-03 Tom Tromey <[email protected]> |
5464 | ||
5465 | * python/py-inferior.c (python_inferior_exit): Use inferior's exit | |
5466 | code fields. | |
5467 | * python/py-exitedevent.c (create_exited_event_object): Change | |
5468 | type of 'exit_code'. Optionally add exit_code attribute. | |
5469 | (emit_exited_event): Change type of 'exit_code'. | |
5470 | * python/py-event.h (emit_exited_event): Update. | |
5471 | * mi/mi-interp.c (mi_inferior_exit): Print exit code. | |
5472 | * infrun.c (handle_inferior_event): Set exit code fields on | |
5473 | inferior. | |
5474 | * inferior.h (struct inferior) <has_exit_code, exit_code>: New | |
5475 | fields. | |
5476 | * inferior.c (exit_inferior_1): Initialize new fields. | |
5477 | ||
8ddd9a20 TT |
5478 | 2011-06-03 Tom Tromey <[email protected]> |
5479 | ||
5480 | * dwarf2expr.c (get_signed_type): New function. | |
5481 | (execute_stack_op) <DW_OP_shra>: Always perform a signed shift. | |
5482 | ||
8dfd1e6d KS |
5483 | 2011-06-02 Keith Seitz <[email protected]> |
5484 | ||
5485 | * objc-lang.c (find_methods): Increment objfile_csym earlier. | |
5486 | ||
65fdb766 PA |
5487 | 2011-06-02 Pedro Alves <[email protected]> |
5488 | ||
5489 | * top.h (simplified_command_loop): Delete declaration. | |
5490 | ||
f4b8c29b MF |
5491 | 2011-06-01 Mike Frysinger <[email protected]> |
5492 | ||
5493 | * remote-sim.c (gdbsim_open): Add the strlen of " --sysroot=" and | |
5494 | gdb_sysroot to the "len" variable. Append both to "arg_buf". | |
5495 | ||
1706c199 YQ |
5496 | 2011-06-01 Yao Qi <[email protected]> |
5497 | ||
5498 | * objfiles.h (obj_section_addr): Update reference to objfile from | |
5499 | `abfd' to `obfd'. | |
5500 | (obj_section_endaddr): Likewise. | |
5501 | ||
d19cd713 | 5502 | 2011-06-01 Daniel Jacobowitz <[email protected]> |
8d07004d DJ |
5503 | |
5504 | * MAINTAINERS: Update my email address and affiliation. Also | |
5505 | update Ian Lance Taylor's affiliation. Use UTF-8 for [email protected]. | |
5506 | ||
e8eb7bc5 KS |
5507 | 2010-05-31 Keith Seitz <[email protected]> |
5508 | ||
5509 | PR c++/12750 | |
5510 | * linespec.c (get_search_block): New function. | |
5511 | (find_methods): Add FILE_SYMTATB parameter and use it and | |
5512 | get_search_block to pass an appropriate block to | |
5513 | lookup_symbol_in_namespace. | |
5514 | (decode_line_1): Record if *ARGPTR is single-quote enclosed. | |
5515 | Check if *ARGPTR starts with a filename first. | |
5516 | If it does, call locate_first_half again to locate the next | |
5517 | "first half" of the linespec. | |
5518 | Pass FILE_SYMTATB to decode_objc and decode_compound. | |
5519 | Swallow the trailing single-quote if IS_SQUOTE_ENCLOSED. | |
5520 | (locate_first_half): Stop on the first colon seen. | |
5521 | (decode_compound): Add FILE_SYMTAB parameter. | |
5522 | Pass FILE_SYMTAB to lookup_prefix_sym and find_method. | |
5523 | (lookup_prefix_sym): Add FILE_SYMTAB parameter and use | |
5524 | get_search_block with lookup_symbol. | |
5525 | (find_method): Add FILE_SYMTAB parameter and pass it to | |
5526 | find_methods. | |
5527 | (decode_objc): Use get_search_block. | |
5528 | ||
2b1dbab0 KS |
5529 | 2010-05-31 Keith Seitz <[email protected]> |
5530 | ||
5531 | PR symtab/12704 | |
5532 | * cp-namespace.c (ANONYMOUS_NAMESPACE_LEN): Remove. | |
5533 | (cp_scan_for_anonymous_namespaces): Use CP_ANONYMOUS_NAMESPACE_STR | |
5534 | and CP_ANONYMOUS_NAMESPACE_LEN. | |
5535 | (cp_is_anonymous): Likewise. | |
5536 | * cp-support.h (CP_ANONYMOUS_NAMESPACE_STR): Define. | |
5537 | (CP_ANONYMOUS_NAMESPACE_LEN): Define. | |
5538 | * dwarf2read.c (namespace_name): Likewise. | |
5539 | (fixup_partial_die): Likewise. | |
5540 | * linespec.c (decode_compound): If CP_ANONYMOUS_NAMESPACE_STR is | |
5541 | seen in the input, keep it. | |
5542 | ||
6d549500 PA |
5543 | 2011-05-30 Pedro Alves <[email protected]> |
5544 | ||
5545 | * target.h (enum inferior_event_type): Delete INF_QUIT_REQ. | |
5546 | * inf-loop.h (inferior_event_handler_wrapper): Delete. | |
5547 | * inf-loop.c (inferior_event_handler_wrapper): Delete. | |
5548 | (inferior_event_handler): Don't handle INF_QUIT_REQ. | |
5549 | * remote.c (_initialize_remote): Register | |
5550 | async_remote_interrupt_twice directly as | |
5551 | sigint_remote_twice_token event. | |
5552 | ||
395bff70 PA |
5553 | 2011-05-30 Pedro Alves <[email protected]> |
5554 | ||
5555 | * target.h (enum inferior_event_type): Delete INF_ERROR. | |
5556 | * inf-loop.c (inferior_event_handler): Don't handle INF_ERROR. | |
5557 | ||
97224164 PA |
5558 | 2011-05-30 Pedro Alves <[email protected]> |
5559 | ||
5560 | * interps.c (interp_set): Don't cancel continuations. | |
5561 | ||
07e78767 JK |
5562 | 2011-05-30 Jan Kratochvil <[email protected]> |
5563 | ||
5564 | * linux-nat.c (linux_lwp_is_zombie): Use xsnprintf. | |
5565 | ||
fa4cd53f PA |
5566 | 2011-05-30 Pedro Alves <[email protected]> |
5567 | ||
5568 | * continuations.h (continuation_ftype): Add `err' parameter. | |
5569 | Document parameters. | |
5570 | (do_all_continuations, do_all_continuations_thread) | |
5571 | (do_all_intermediate_continuations) | |
5572 | (do_all_intermediate_continuations_thread) | |
5573 | (do_all_inferior_continuations): Add `err' parameter. | |
5574 | * continuations.c (do_my_continuations_1, do_my_continuations) | |
5575 | (do_all_inferior_continuations, do_all_continuations_ptid) | |
5576 | (do_all_continuations_thread_callback) | |
5577 | (do_all_continuations_thread, do_all_continuations) | |
5578 | (do_all_intermediate_continuations_thread_callback) | |
5579 | (do_all_intermediate_continuations_thread) | |
5580 | (do_all_intermediate_continuations): Add `err' parameter, and pass | |
5581 | it down all the way to the continuations proper. | |
5582 | * inf-loop.c (inferior_event_handler): If fetching an inferior | |
5583 | event throws an error, don't pop the target, and still call the | |
5584 | continuations, but with `err' set. Adjust all other continuation | |
5585 | calls. | |
5586 | * breakpoint.c (until_break_command_continuation): Add `err' | |
5587 | parameter. | |
5588 | * infcmd.c (step_1_continuation): Add `err' parameter. Don't | |
5589 | issue another step if `err' is set. | |
5590 | (struct until_next_continuation_args): New. | |
5591 | (until_next_continuation): Add `err' parameter. Adjust. | |
5592 | (until_next_command): Adjust. | |
5593 | (struct finish_command_continuation_args): Add `thread' field. | |
5594 | (finish_command_continuation): Add `err' parameter. Handle it. | |
5595 | (finish_forward): Adjust. | |
5596 | (attach_command_continuation): Add `err' parameter. Handle it. | |
5597 | * infrun.c (infrun_thread_stop_requested_callback): Adjust to | |
5598 | cancel the continuations. | |
5599 | * interps.c (interp_set): Adjust to cancel the continuations. | |
5600 | * thread.c (clear_thread_inferior_resources): Adjust to cancel the | |
5601 | continuations rather than discarding. | |
5602 | (free_thread): Don't clear thread inferior resources here. | |
5603 | (delete_thread_1): Do it here instead. And do it before removing | |
5604 | the thread from the threads list. Tag the thread as exited before | |
5605 | clearing thread inferior resources. | |
5606 | ||
c2949be0 JB |
5607 | 2011-05-30 Joel Brobecker <[email protected]> |
5608 | ||
5609 | * infcall.c (call_function_by_hand): Rephrase error message. | |
5610 | ||
619cebe8 PA |
5611 | 2011-05-27 Pedro Alves <[email protected]> |
5612 | ||
5613 | * defs.h (struct thread_info, struct inferior): Delete forward | |
5614 | declarations. | |
5615 | * breakpoint.h (struct thread_info): New forward declaration. | |
5616 | * observer.sh (struct inferior): New forward declaration. | |
5617 | * python/python-internal.h (struct inferior): New forward | |
5618 | declaration. | |
5619 | ||
be34f849 PA |
5620 | 2011-05-27 Pedro Alves <[email protected]> |
5621 | ||
5622 | * defs.h (struct continuation, continuation_ftype) | |
5623 | (continuation_free_arg_ftype, add_continuation) | |
5624 | (do_all_continuations, do_all_continuations_thread) | |
5625 | (discard_all_continuations, discard_all_continuations_thread) | |
5626 | (add_intermediate_continuation, do_all_intermediate_continuations) | |
5627 | (do_all_intermediate_continuations_thread) | |
5628 | (discard_all_intermediate_continuations) | |
5629 | (discard_all_intermediate_continuations_thread) | |
5630 | (add_inferior_continuation, do_all_inferior_continuations) | |
5631 | (discard_all_inferior_continuations): Move to ... | |
5632 | * continuations.h: ... this new file. | |
5633 | * breakpoint.c, continuations.c, event-top.c, inf-loop.c, | |
5634 | infcmd.c, inferior.c, infrun.c, interps.c: Include | |
5635 | continuations.h. | |
5636 | ||
432b4d03 JK |
5637 | 2011-05-27 Jan Kratochvil <[email protected]> |
5638 | Doug Evans <[email protected]> | |
5639 | ||
5640 | Fix PR 10970, PR 12702. | |
5641 | * linux-nat.c (linux_lwp_is_zombie): New function. | |
5642 | (wait_lwp): Initialize status. New variable prev_mask. Block signals. | |
5643 | Check for linux_lwp_is_zombie. Use WNOHANG and sigsuspend. | |
5644 | ||
b0f260d6 PA |
5645 | 2011-05-27 Pedro Alves <[email protected]> |
5646 | ||
5647 | * defs.h (continuation_ftype, continuation_free_arg_ftype): New | |
5648 | typedefs. | |
5649 | (add_continuation, add_intermediate_continuation) | |
5650 | (add_inferior_continuation): Use them. | |
5651 | * continuations.c (struct continuation): Use them. | |
5652 | (make_continuation_ftype): Delete. | |
5653 | (make_continuation, add_inferior_continuation, add_continuation) | |
5654 | (add_intermediate_continuation): Use continuation_ftype and | |
5655 | continuation_free_arg_ftype. Rename parameters to shorter names. | |
5656 | ||
af1e9a32 PA |
5657 | 2011-05-27 Pedro Alves <[email protected]> |
5658 | ||
5659 | * continuations.c (make_continuation): Make it return void. | |
5660 | (do_my_continuations): Rename to ... | |
5661 | (do_my_continuations_1): ... this. Remove old_chain parameter and | |
5662 | adjust. | |
5663 | (do_my_continuations): New. | |
5664 | (discard_my_continuations): Rename to ... | |
5665 | (discard_my_continuations_1): ... this. Remove old_chain | |
5666 | parameter and adjust. | |
5667 | (discard_my_continuations): New. | |
5668 | (add_inferior_continuation): Simplify. | |
5669 | (do_all_inferior_continuations): Reimplement on top | |
5670 | do_my_continuations. | |
5671 | (discard_all_inferior_continuations): Simplify. | |
5672 | (add_continuation): Simplify. | |
5673 | (do_all_continuations_ptid): Simplify. | |
5674 | (discard_all_continuations_thread_callback): Simplify. | |
5675 | (add_intermediate_continuation): Simplify. | |
5676 | (discard_all_intermediate_continuations_thread_callback): | |
5677 | Simplify. | |
5678 | ||
50c0c017 PA |
5679 | 2011-05-27 Pedro Alves <[email protected]> |
5680 | ||
5681 | * utils.c (struct continuation, add_continuation) | |
5682 | (add_inferior_continuation) | |
5683 | (do_all_inferior_continuations, discard_all_inferior_continuations) | |
5684 | (restore_thread_cleanup, do_all_continuations_ptid) | |
5685 | (do_all_continuations_thread_callback) | |
5686 | (do_all_continuations_thread, do_all_continuations) | |
5687 | (discard_all_continuations_thread_callback) | |
5688 | (discard_all_continuations_thread, discard_all_continuations) | |
5689 | (add_intermediate_continuation) | |
5690 | (do_all_intermediate_continuations_thread_callback) | |
5691 | (do_all_intermediate_continuations_thread) | |
5692 | (do_all_intermediate_continuations) | |
5693 | (discard_all_intermediate_continuations_thread_callback) | |
5694 | (discard_all_intermediate_continuations_thread) | |
5695 | (discard_all_intermediate_continuations): Move to ... | |
5696 | * continuations.c: ... this new file, and adjust to no longer | |
5697 | implement continuations on top of cleanups. | |
5698 | * Makefile.in (SFILES): Add continuations.c. | |
5699 | (COMMON_OBS): Add continuations.o. | |
5700 | ||
d8b34453 PA |
5701 | 2011-05-26 Pedro Alves <[email protected]> |
5702 | ||
5703 | * inferior.h (enum exec_direction_kind): Delete EXEC_ERROR. | |
5704 | * infrun.c (show_exec_direction_func): Don't handle EXEC_ERROR. | |
5705 | Internal error on invalid values. | |
5706 | * reverse.c: Don't handle EXEC_ERROR. | |
5707 | * mi/mi-main.c: Don't handle EXEC_ERROR. | |
5708 | ||
32231432 PA |
5709 | 2011-05-26 Pedro Alves <[email protected]> |
5710 | ||
5711 | * record.c: Include event-loop.h, inf-loop.h. | |
5712 | (record_beneath_to_async): New global. | |
5713 | (tmp_to_async): New global. | |
5714 | (record_async_inferior_event_token): New global. | |
5715 | (record_open_1): Don't error out if async is enabled. | |
5716 | (record_open): Handle to_async. Create an async event source in | |
5717 | the event loop. | |
5718 | (record_close): Delete the async event source. | |
5719 | (record_resumed): New global. | |
5720 | (record_execution_dir): New global. | |
5721 | (record_resume, record_core_resume): Set them. Register the | |
5722 | target on the event loop. | |
5723 | (record_wait): Rename to ... | |
5724 | (record_wait_1): ... this. Add more debug output. Handle | |
5725 | TARGET_WNOHANG, and the target beneath returning | |
5726 | TARGET_WAITKIND_IGNORE. | |
5727 | (record_wait): Reimplement on top of record_wait_1. | |
5728 | (record_async_mask_value): New global. | |
5729 | (record_async, record_async_mask, record_can_async_p) | |
5730 | (record_is_async_p, record_execution_direction): New functions. | |
5731 | (init_record_ops, init_record_core_ops): Install new methods. | |
5732 | * infrun.c (fetch_inferior_event): Temporarily switch the global | |
5733 | execution direction to the direction the target was going. | |
5734 | (execution_direction): Change type to int. | |
5735 | * target.c (default_execution_direction): New function. | |
5736 | (update_current_target): Inherit and de_fault | |
5737 | to_execution_direction. | |
5738 | * target.h (struct target_ops) <to_execution_direction>: New | |
5739 | field. | |
5740 | (target_execution_direction): New macro. | |
5741 | * inferior.h (execution_direction): Change type to int. | |
5742 | ||
949dc678 PA |
5743 | 2011-05-26 Pedro Alves <[email protected]> |
5744 | ||
5745 | * infcall.c (call_function_by_hand): Don't allow calling functions | |
5746 | in reverse execution mode. | |
5747 | ||
c13bd2b5 PA |
5748 | 2011-05-26 Pedro Alves <[email protected]> |
5749 | ||
5750 | * infcmd.c (finish_command): Allow async finish in reverse. | |
5751 | ||
6938fd34 YQ |
5752 | 2011-05-26 Yao Qi <[email protected]> |
5753 | ||
5754 | * gdb_thread_db.h: Delete. Move to ... | |
5755 | * common/gdb_thread_db.h: ... here. | |
5756 | ||
9da8c2a0 PA |
5757 | 2011-05-26 Pedro Alves <[email protected]> |
5758 | ||
5759 | * infcmd.c (finish_backward): Set a step-resume breakpoint at the | |
5760 | function's entry point instead of a manually managed momentary | |
5761 | breakpoint, and only ever issue one proceed call. | |
5762 | * infrun.c (handle_inferior_event) <BPSTAT_WHAT_STEP_RESUME>: If | |
5763 | doing a reverse-finish, switch to stepi mode, to do another step. | |
5764 | (insert_step_resume_breakpoint_at_sal): Make public. | |
5765 | (normal_stop): No need to save function value return registers if | |
5766 | going reverse. | |
5767 | * inferior.h (insert_step_resume_breakpoint_at_sal): Declare. | |
5768 | ||
2c03e5be PA |
5769 | 2011-05-26 Pedro Alves <[email protected]> |
5770 | ||
5771 | * breakpoint.h (enum bptype) <bp_hp_step_resume>: New. | |
5772 | (enum bpstat_what_main_action): Move BPSTAT_WHAT_STEP_RESUME | |
5773 | before BPSTAT_WHAT_STOP_SILENT. Add BPSTAT_WHAT_HP_STEP_RESUME | |
5774 | at the end. | |
5775 | * breakpoint.c (update_breakpoints_after_exec): Also delete hp | |
5776 | step-resume breakpoints. | |
5777 | (print_it_typical): Handle bp_hp_step_resume. | |
5778 | (bpstat_what): Ditto. | |
5779 | (bptype_string): Ditto. | |
5780 | (print_one_breakpoint_location): Ditto. | |
5781 | (allocate_bp_location): Ditto. | |
5782 | (mention): Ditto. | |
5783 | (breakpoint_re_set_one): Ditto. | |
5784 | * infrun.c (handle_inferior_event): Adjust. Split | |
5785 | BPSTAT_WHAT_STEP_RESUME handling in BPSTAT_WHAT_STEP_RESUME and | |
5786 | BPSTAT_WHAT_HP_STEP_RESUME. | |
5787 | (insert_step_resume_breakpoint_at_sal): Rename to ... | |
5788 | (insert_step_resume_breakpoint_at_sal_1): ... this. Add bptype | |
5789 | parameter. Handle it. | |
5790 | (insert_step_resume_breakpoint_at_sal): Reimplement on top of | |
5791 | insert_step_resume_breakpoint_at_sal_1. | |
5792 | (insert_step_resume_breakpoint_at_frame): Rename to ... | |
5793 | (insert_hp_step_resume_breakpoint_at_frame): ... this. Adjust to | |
5794 | set a high-priority step-resume breakpoint. | |
5795 | (insert_step_resume_breakpoint_at_frame): Adjust comment. | |
5796 | (insert_step_resume_breakpoint_at_caller): Ditto. | |
5797 | ||
51be5b68 PA |
5798 | 2011-05-26 Pedro Alves <[email protected]> |
5799 | ||
5800 | * breakpoint.c (iterate_over_related_breakpoints): New. | |
5801 | (do_map_delete_breakpoint): New. | |
5802 | (delete_command): Pass do_map_delete_breakpoint to | |
5803 | map_breakpoint_numbers. | |
5804 | (do_disable_breakpoint): New. | |
5805 | (do_map_disable_breakpoint): Iterate over the breakpoint's related | |
5806 | breakpoints. | |
5807 | (do_enable_breakpoint): Rename to ... | |
5808 | (enable_breakpoint_disp): ... this. | |
5809 | (enable_breakpoint): Adjust. | |
5810 | (do_enable_breakpoint): New. | |
5811 | (enable_once_breakpoint): Delete. | |
5812 | (do_map_enable_breakpoint): New. | |
5813 | (do_map_enable_once_breakpoint): New. | |
5814 | (enable_once_command, enable_delete_command) | |
5815 | (delete_trace_command): Iterate over the breakpoint's related | |
5816 | breakpoints. | |
5817 | ||
4a1be8d2 PA |
5818 | 2011-05-26 Pedro Alves <[email protected]> |
5819 | ||
5820 | * alpha-tdep.c (alpha_cannot_fetch_register): Don't return true | |
5821 | for ALPHA_ZERO_REGNUM. | |
5822 | (alpha_supply_int_regs): Explicitly supply zero as the value for | |
5823 | ALPHA_ZERO_REGNUM in the register cache. | |
5824 | * alpha-nat.c (fetch_osf_core_registers): Ditto. | |
5825 | ||
59d70315 YQ |
5826 | 2011-05-26 Yao Qi <[email protected]> |
5827 | ||
5828 | * gdb/gdb_thread_db.h: Remove HAVE_UINTPTR_T. | |
5829 | ||
251d32d9 TG |
5830 | 2011-05-26 Tristan Gingold <[email protected]> |
5831 | ||
5832 | * symfile.h (struct dwarf2_section_names): New type. | |
5833 | (struct dwarf2_debug_sections): New type. | |
5834 | (dwarf2_has_info): Add parameter. | |
5835 | * dwarf2read.c (dwarf2_elf_names): New variable. | |
5836 | (INFO_SECTION, ABBREV_SECTION, LINE_SECTION, LOC_SECTION) | |
5837 | (MACINFO_SECTION, STR_SECTION, RANGES_SECTION, TYPES_SECTION) | |
5838 | (FRAME_SECTION, EH_FRAME_SECTION, GDB_INDEX_SECTION): Remove. | |
5839 | (dwarf2_has_info): Add names parameter. Pass names | |
5840 | to dwarf2_locate_sections. | |
5841 | (section_is_p): Rewrite using the names parameter. | |
5842 | (dwarf2_locate_sections): Use section names from the names parameter. | |
5843 | * coffread.c (coff_symfile_read): Adjust call to dwarf2_has_info. | |
5844 | * elfread.c (read_psyms): Ditto. | |
5845 | * machoread.c (macho_symfile_read): Ditto. | |
5846 | ||
652c71b4 AS |
5847 | 2011-05-25 Andreas Schwab <[email protected]> |
5848 | ||
5849 | PR gdb/8677 | |
5850 | * event-loop.c (handle_file_event): Don't handle POLLHUP as error. | |
5851 | ||
f17170e5 KS |
5852 | 2011-05-24 Keith Seitz <[email protected]> |
5853 | ||
5854 | PR breakpoint/12803 | |
5855 | * linespec.c (keep_name_info): Add handling for "volatile" keyword. | |
5856 | (decode_compound): Unconditionally call keep_name_info. | |
5857 | ||
cdac0397 PA |
5858 | 2011-05-24 Pedro Alves <[email protected]> |
5859 | ||
5860 | * breakpoint.c (watchpoint_check): If the watchpoint went out of | |
5861 | scope, clear its command list. | |
5862 | (map_breakpoint_numbers): Don't walk the related breakpoints list | |
5863 | of each breakpoint. | |
5864 | ||
91d4fe3f TT |
5865 | 2011-05-24 Tom Tromey <[email protected]> |
5866 | ||
5867 | * MAINTAINERS: Move Jim Blandy to past maintainers. | |
5868 | ||
3017a003 TG |
5869 | 2011-05-24 Tristan Gingold <[email protected]> |
5870 | ||
5871 | * symfile.h (enum dwarf2_section_enum): New type. | |
5872 | (dwarf2_get_section_info): New prototype. | |
5873 | * dwarf2read.c (dwarf2_get_section_info): Replace parameter | |
5874 | section_name by sect. Use a switch to select the info. | |
5875 | * dwarf2-frame.c (warf2_get_section_info): Remove prototype. | |
5876 | (dwarf2_build_frame_info): Adjust calls to dwarf2_get_section_info. | |
5877 | ||
c91c8c16 PA |
5878 | 2011-05-24 Pedro Alves <[email protected]> |
5879 | ||
5880 | * solib-svr4.c (svr4_solib_create_inferior_hook): Skip setting | |
5881 | shared library event breakpoint if there's no execution. | |
5882 | ||
77bc418a TJB |
5883 | 2011-05-24 Thiago Jung Bauermann <[email protected]> |
5884 | ||
5885 | * breakpont.c (remove_hw_watchpoints): Remove unused function. | |
5886 | * breakpoint.h remove_hw_watchpoints(): Remove prototype. | |
5887 | ||
c50491a7 TT |
5888 | 2011-05-23 Tom Tromey <[email protected]> |
5889 | ||
5890 | * c-lang.c (evaluate_subexp_c): Use expect_type if it is not | |
5891 | NULL. | |
5892 | ||
6d64e6d4 DE |
5893 | 2011-05-23 Doug Evans <[email protected]> |
5894 | ||
5895 | * python/lib/gdb/printing.py (register_pretty_printer): Add missing | |
5896 | entry for RuntimeError to doc string. | |
5897 | ||
2067c8d4 JG |
5898 | 2011-05-23 Jerome Guitton <[email protected]> |
5899 | ||
5900 | * sparc-tdep.c (sparc_skip_stack_check): Recognize a new instruction | |
5901 | sequence for probing loops. | |
5902 | ||
b136cd05 PA |
5903 | 2011-05-23 Pedro Alves <[email protected]> |
5904 | ||
5905 | * infrun.c (user_visible_resume_ptid): Fix typos in describing | |
5906 | comment. | |
5907 | ||
22e74ef9 MK |
5908 | 2011-05-21 Mark Kettenis <[email protected]> |
5909 | ||
5910 | * sparc-nat.c (sparc_fetch_inferior_registers): Explicitly supply | |
5911 | zero as the value for %g0 in the register cache. | |
5912 | * sparc-tdep.c (sparc32_supply_gregset): Likewise. | |
5913 | * sparc64-tdep.c (sparc64_supply_gregset): Likewise. | |
5914 | ||
842951eb PA |
5915 | 2011-05-20 Pedro Alves <[email protected]> |
5916 | ||
5917 | * infrun.c (proceed): Set previous_inferior_ptid here. | |
5918 | (init_wait_for_inferior): Initialize previous_inferior_ptid from | |
5919 | inferior_ptid, not null_ptid. | |
5920 | (wait_for_inferior): Don't initialize previous_inferior_ptid here. | |
5921 | (fetch_inferior_event): Nor here. | |
5922 | ||
46cf51e6 PA |
5923 | 2011-05-20 Pedro Alves <[email protected]> |
5924 | ||
5925 | * inf-loop.c (inferior_event_handler): Only output a message if | |
5926 | verbose. | |
5927 | ||
29ef4c46 LM |
5928 | 2011-05-20 Luis Machado <[email protected]> |
5929 | ||
5930 | * MAINTAINERS: Update my e-mail address. | |
5931 | ||
f148b27e PA |
5932 | 2011-05-20 Pedro Alves <[email protected]> |
5933 | ||
5934 | * infrun.c (proceed): Switch the inferior event loop to | |
5935 | INF_EXEC_COMPLETE if the target refused to resume from a | |
5936 | vfork/fork. | |
5937 | ||
09cee04b PA |
5938 | 2011-05-20 Pedro Alves <[email protected]> |
5939 | ||
5940 | * infcmd.c: Include "inf-loop.h". | |
5941 | (step_once): When stepping into an inline subroutine, pretend the | |
5942 | target has run. If the target can async, switch the inferior | |
5943 | event loop to INF_EXEC_COMPLETE. | |
5944 | * inferior.h (user_visible_resume_ptid): Declare. | |
5945 | * infrun.c (user_visible_resume_ptid): New function, factored out | |
5946 | from `resume'. | |
5947 | (resume): Use it. | |
5948 | * mi/mi-main.c (mi_execute_async_cli_command): Remove assertion | |
5949 | that the current thread is running. Merge async and sync | |
5950 | branches. | |
5951 | ||
751b8ce1 PA |
5952 | 2011-05-20 Pedro Alves <[email protected]> |
5953 | ||
5954 | * infcmd.c (step_1): Simplify synchronous case. | |
5955 | ||
e93a69ed PA |
5956 | 2011-05-20 Pedro Alves <[email protected]> |
5957 | ||
5958 | * tracepoint.c: Include exceptions.h. | |
5959 | (TFILE_PID): Move higher in file. | |
5960 | (tfile_open): Delay pushing the tfile target until we're assured | |
5961 | the tfile header is present in the file. Wrap reading the initial | |
5962 | newline-terminated lines in TRY_CATCH. Pop the target if the | |
5963 | initial setup failed. Add the tfile's thread immediately | |
5964 | aftwards, before any non-essential setup. Don't skip | |
5965 | post_create_inferior if there are no traceframes present in the | |
5966 | file. | |
5967 | (tfile_close): Remove redundant check for null before xfree call. | |
5968 | (tfile_thread_alive): New function. | |
5969 | (init_tfile_ops): Register it as to_thread_alive callback. | |
5970 | ||
6823e2b1 PA |
5971 | 2011-05-20 Pedro Alves <[email protected]> |
5972 | ||
5973 | * tracepoint.c (tfile_open): Delete #if 0'd code. | |
5974 | ||
b3c8eb43 JK |
5975 | 2011-05-20 Jan Kratochvil <[email protected]> |
5976 | ||
5977 | Fix -readnow for -gdwarf-4 unused type units. | |
5978 | * dwarf2read.c (struct signatured_type): Remove the field offset. | |
5979 | (create_signatured_type_table_from_index): Remove its initialization. | |
5980 | (create_debug_types_hash_table): Likewise. Initialize per_cu.offset | |
5981 | instead. Add a complaint call. | |
5982 | (process_psymtab_comp_unit): Change assignment to gdb_assert. | |
5983 | (process_type_comp_unit, lookup_die_type, dump_die_shallow) | |
5984 | (lookup_signatured_type_at_offset, read_signatured_type) | |
5985 | (write_one_signatured_type): Update the field for per_cu. | |
5986 | ||
310afc76 TT |
5987 | 2011-05-19 Tom Tromey <[email protected]> |
5988 | ||
5989 | * python/py-inferior.c (python_inferior_exit): Use | |
5990 | target_gdbarch. | |
5991 | (python_on_resume): Likewise. | |
5992 | ||
cf6c5ffb TT |
5993 | 2011-05-19 Matt Rice <[email protected]> |
5994 | ||
5995 | * breakpoint.c (bpstat_do_actions_1): Call prevent_dont_repeat. | |
5996 | ||
fb80a3c5 HZ |
5997 | 2011-05-19 Hui Zhu <[email protected]> |
5998 | ||
5999 | * tracepoint.c (tfile_trace_find): Return directly when num is -1. | |
6000 | ||
3672b1be HZ |
6001 | 2011-05-19 Hui Zhu <[email protected]> |
6002 | ||
6003 | * xcoffread.c (read_xcoff_symtab): Initialize fcn_aux_saved. | |
6004 | ||
ff355380 TT |
6005 | 2011-05-18 Tom Tromey <[email protected]> |
6006 | ||
6007 | * dwarf2read.c (dwarf2_add_field): Constify. | |
6008 | * value.c (value_static_field): Constify. | |
6009 | * gdbtypes.h (struct main_type) <field.field_location.physname>: | |
6010 | Now const. | |
6011 | * ax-gdb.c (gen_static_field): Constify | |
6012 | ||
ed731959 JK |
6013 | 2011-05-18 Jan Kratochvil <[email protected]> |
6014 | ||
6015 | * linux-nat.c (kill_callback): Use SIGKILL first. | |
6016 | ||
967cff16 JB |
6017 | 2011-05-18 Joel Brobecker <[email protected]> |
6018 | ||
6019 | * ada-lang.c (print_it_exception): Avoid use of sprintf. | |
6020 | ||
1d06ead6 TT |
6021 | 2011-05-18 Tom Tromey <[email protected]> |
6022 | ||
6023 | * value.c (value_fn_field): Constify. | |
6024 | * symtab.c (gdb_mangle_name): Constify. | |
6025 | * stabsread.c (update_method_name_from_physname): Make 'physname' | |
6026 | argument const. | |
6027 | * p-typeprint.c (pascal_type_print_method_args): Make arguments | |
6028 | const. Use explicit fputc_filtered loop. | |
6029 | (pascal_type_print_base): Constify. | |
6030 | * p-lang.h (pascal_type_print_method_args): Update. | |
6031 | * linespec.c (add_matching_methods): Constify. | |
6032 | (add_constructors): Likewise. | |
6033 | * jv-typeprint.c (java_type_print_base): Constify. | |
6034 | * gdbtypes.h (struct cplus_struct_type) | |
6035 | <fn_fieldlist.fn_field.physname>: Now const. | |
6036 | * dwarf2read.c (compute_delayed_physnames): Constify. | |
6037 | (dwarf2_add_member_fn): Likewise. | |
6038 | * c-typeprint.c (c_type_print_base): Constify. Use cleanups. | |
6039 | ||
0d9a9a5f PA |
6040 | 2011-05-18 Pedro Alves <[email protected]> |
6041 | ||
6042 | * infrun.c (resume): Mention which is the current thread, and its | |
6043 | current PC in debug output. | |
6044 | (prepare_to_proceed): Mention the thread switching in debug | |
6045 | output. | |
6046 | ||
05386e9e TT |
6047 | 2011-05-18 Tom Tromey <[email protected]> |
6048 | ||
6049 | * linux-thread-db.c (try_thread_db_load_from_pdir_1): Fix absolute | |
6050 | path check. Use xmalloc and cleanups. | |
6051 | (try_thread_db_load_from_dir): Use xmalloc and cleanups. | |
6052 | ||
ee86786c TT |
6053 | 2011-05-17 Tom Tromey <[email protected]> |
6054 | ||
6055 | * cp-valprint.c (cp_print_value_fields): Catch errors from | |
6056 | value_static_field. | |
6057 | ||
9ff3b74f TT |
6058 | 2011-05-17 Tom Tromey <[email protected]> |
6059 | ||
6060 | * dwarf2read.c (dwarf2_get_die_type): Call | |
6061 | get_die_type_at_offset. | |
6062 | * dwarf2expr.c (dwarf_get_base_type): Handle NULL return from | |
6063 | get_base_type function. | |
6064 | ||
cd3da28e PA |
6065 | 2011-05-17 Tomas Martinec <[email protected]> |
6066 | ||
6067 | * infrun.c (handle_inferior_event) <handling deferred step>: Clear | |
6068 | trap_expected. | |
6069 | ||
fd20d931 DE |
6070 | 2011-05-16 Doug Evans <[email protected]> |
6071 | ||
6072 | * python/py-auto-load.c (source_section_scripts): Mention objfile | |
6073 | name in warning. | |
6074 | ||
75fc9810 DE |
6075 | 2011-05-15 Doug Evans <[email protected]> |
6076 | ||
290351b8 DE |
6077 | * linux-thread-db.c (try_thread_db_load_from_pdir_1): New function. |
6078 | (try_thread_db_load_from_pdir): Call it. If unable to find | |
6079 | libthread_db in directory of libpthread, see if we're looking at | |
6080 | the separate-debug-info copy. | |
6081 | ||
75fc9810 DE |
6082 | * python/py-autoload.c (print_script): Print "Missing" instead of |
6083 | "No" for missing scripts. | |
6084 | (info_auto_load_scripts): Tweak "Loaded" column to fit "Missing". | |
6085 | ||
9f7bc587 DE |
6086 | 2011-05-13 Doug Evans <[email protected]> |
6087 | ||
6088 | * ui-file.c (stdio_file_write_async_safe): Add comment. | |
6089 | ||
093cee7d HZ |
6090 | 2011-05-14 Hui Zhu <[email protected]> |
6091 | ||
6092 | * ui-file.c (stdio_file_write_async_safe): Add empty check for build. | |
6093 | ||
dbaefcf7 DE |
6094 | 2011-05-13 Doug Evans <[email protected]> |
6095 | ||
98a5dd13 DE |
6096 | Support $pdir and $sdir in libthread-db-search-path. |
6097 | * NEWS: Mention $sdir,$pdir. | |
6098 | * gdb_thread_db.h (LIBTHREAD_DB_SEARCH_PATH): Add $sdir:$pdir. | |
6099 | * linux-thread-db.c (try_thread_db_load_from_pdir): New function. | |
6100 | (try_thread_db_load_from_sdir): New function. | |
6101 | (try_thread_db_load_from_dir): New function. | |
6102 | (thread_db_load_search): Handle $pdir, $sdir. Remove trying of | |
6103 | system directories if search of libthread-db-search-path fails, | |
6104 | that is now done via $sdir. | |
6105 | (has_libpthread): New function. | |
6106 | (thread_db_load): Remove search for libthread_db in directory of | |
6107 | libpthread, that is now done via $pdir. | |
6108 | ||
dbaefcf7 DE |
6109 | * NEWS: Mention "info auto-load-scripts". |
6110 | * python/py-auto-load.c (struct auto_load_pspace_info): New member | |
6111 | script_not_found_warning_printed. | |
6112 | (init_loaded_scripts_info): Renamed from create_loaded_scripts_hash, | |
6113 | all callers updated. Initialize script_not_found_warning_printed. | |
6114 | (get_auto_load_pspace_data_for_loading): New function. | |
6115 | (maybe_add_script): New function. | |
6116 | (source_section_scripts): Simplify. Only print one warning regardless | |
6117 | of the number of auto-load scripts not found. | |
6118 | (clear_section_scripts): Clear script_not_found_warning_printed. | |
6119 | (auto_load_objfile_script): Record script in hash table. | |
6120 | (count_matching_scripts): New function. | |
6121 | (maybe_print_script): Renamed from maybe_print_section_script, all | |
6122 | callers updated. Rewrite to use ui_out_*. | |
6123 | (info_auto_load_scripts): Renamed from | |
6124 | maintenance_print_section_scripts, all callers updated. | |
6125 | (gdbpy_initialize_auto_load): "maintenance print section-scripts" | |
6126 | renamed as "info auto-load-scripts". | |
6127 | ||
9930639c TT |
6128 | 2011-05-13 Tom Tromey <[email protected]> |
6129 | ||
6130 | * dwarf2expr.c (read_uleb128): Cast intermediate result. | |
6131 | (read_sleb128): Likewise. | |
6132 | ||
06826322 TT |
6133 | 2011-05-13 Tom Tromey <[email protected]> |
6134 | ||
6135 | * dwarf2loc.c (disassemble_dwarf_expression): Fix instruction | |
6136 | offset display. | |
6137 | ||
01124a23 DE |
6138 | 2011-05-13 Doug Evans <[email protected]> |
6139 | ||
6140 | * linux-nat.c (debug_linux_nat_async): Delete. | |
6141 | Replace all references to use debug_linux_nat instead. | |
6142 | (show_debug_linux_nat_async): Delete. | |
6143 | (sigchld_handler): Call ui_file_write_async_safe instead of | |
6144 | fprintf_unfiltered. | |
6145 | (_initialize_linux_nat): Remove `set debug lin-lwp-async'. | |
6146 | * ui-file.c (struct ui_file): New member to_write_async_safe. | |
6147 | (null_file_write_async_safe): New function. | |
6148 | (ui_file_write_async_safe): New function. | |
6149 | (set_ui_file_write_async_safe): New function. | |
6150 | (ui_file_new): Initialize to_write_async_safe. | |
6151 | (stdio_file_write_async_safe): New function. | |
6152 | (struct stdio_file): New member fd. | |
6153 | (stdio_file_new): Initialize to_write_async_safe, fd. | |
bbfac39e DE |
6154 | (stdio_file_read, stdio_file_isatty): New stdio->fd instead of calling |
6155 | fileno. | |
01124a23 DE |
6156 | * ui-file.h (ui_file_write_async_safe_ftype): New typedef. |
6157 | (set_ui_file_write_async_safe): Declare. | |
6158 | (ui_file_write_async_safe): Declare. | |
6159 | ||
72fc29ff TT |
6160 | 2011-05-13 Tom Tromey <[email protected]> |
6161 | ||
6162 | * utils.c (do_value_free): New function. | |
6163 | (make_cleanup_value_free): Likewise. | |
6164 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle value | |
6165 | freeing correctly. | |
6166 | (dwarf2_loc_desc_needs_frame): Call | |
6167 | make_cleanup_value_free_to_mark. | |
6168 | * dwarf2expr.h (struct dwarf_expr_context) <mark>: Remove field. | |
6169 | * dwarf2expr.c (free_dwarf_expr_context): Don't call | |
6170 | value_free_to_mark. | |
6171 | (new_dwarf_expr_context): Don't call value_mark. | |
6172 | * dwarf2-frame.c (execute_stack_op): Call | |
6173 | make_cleanup_value_free_to_mark. | |
6174 | * defs.h (make_cleanup_value_free): Declare. | |
6175 | ||
028d0ed5 TJB |
6176 | 2011-05-13 Thiago Jung Bauermann <[email protected]> |
6177 | ||
6178 | * mi/mi-main.c (mi_cmd_execute): Use cleanup from | |
6179 | prepare_execute_command. | |
6180 | * top.c (prepare_execute_command): Return cleanup. | |
6181 | (execute_command): Use cleanup from prepare_execute_command. | |
6182 | * top.h (prepare_execute_command): Change prototype to return | |
6183 | cleanup. | |
6184 | * defs.h (struct value): Add opaque declaration. | |
6185 | (make_cleanup_value_free_to_mark): Add prototype. | |
6186 | * utils.c (do_value_free_to_mark): New function. | |
6187 | (make_cleanup_value_free_to_mark): Likewise. | |
6188 | ||
b087e0ed TT |
6189 | 2011-05-12 Tom Tromey <[email protected]> |
6190 | ||
6191 | * dwarf2expr.c (execute_stack_op) <DW_OP_shr>: Unconditionally | |
6192 | cast left-hand-side to unsigned. | |
6193 | ||
8a9b8146 TT |
6194 | 2011-05-12 Tom Tromey <[email protected]> |
6195 | ||
6196 | PR gdb/12617: | |
6197 | * value.h (value_from_contents): Declare. | |
6198 | * value.c (value_from_contents): New function. | |
6199 | * dwarf2read.c (dwarf_stack_op_name): Add new values. | |
6200 | (dwarf2_get_die_type): New function. | |
6201 | * dwarf2loc.c (dwarf_expr_get_base_type): New function. | |
6202 | (allocate_piece_closure): Acquire reference to values. | |
6203 | (read_pieced_value): Update for value-based expressions. | |
6204 | (write_pieced_value): Likewise. | |
6205 | (free_pieced_value_closure): Call value_free as needed. | |
6206 | (dwarf2_evaluate_loc_desc_full): Set get_base_type field. | |
6207 | Update for value-based expressions. | |
6208 | * dwarf2loc.h (dwarf2_get_die_type): Declare. | |
6209 | * dwarf2expr.h (struct dwarf_stack_value) <value>: Change type. | |
6210 | <get_base_type>: New field. | |
6211 | (struct dwarf_expr_piece) <v.value>: Change type. | |
6212 | <v.regno>: New field. | |
6213 | (struct dwarf_expr_context) <mark>: New field. | |
6214 | (dwarf_expr_piece, dwarf_expr_fetch): Update. | |
6215 | (dwarf_expr_pop, dwarf_expr_push): Remove. | |
6216 | (dwarf_expr_push_address): Declare. | |
6217 | * dwarf2expr.c (dwarf_arch_cookie): New global. | |
6218 | (struct dwarf_gdbarch_types): New. | |
6219 | (dwarf_gdbarch_types_init, dwarf_expr_address_type): New | |
6220 | functions. | |
6221 | (dwarf_expr_push): Change type of 'value' argument. Update. Now | |
6222 | static. | |
6223 | (dwarf_expr_push_address): New function. | |
6224 | (dwarf_expr_pop): Now static. | |
6225 | (dwarf_expr_fetch): Change return type. | |
6226 | (dwarf_require_integral): New function. | |
6227 | (dwarf_expr_fetch): Simplify. | |
6228 | (add_piece): Update. | |
6229 | (base_types_equal_p, dwarf_get_base_type, get_unsigned_type): New | |
6230 | functions. | |
6231 | (execute_stack_op) <sign_ext>: Remove. | |
6232 | Use values for DWARF stack. | |
6233 | <DW_OP_GNU_const_type, DW_OP_GNU_deref_type, | |
6234 | DW_OP_GNU_regval_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret>: | |
6235 | New cases. | |
6236 | (_initialize_dwarf2expr): New function. | |
6237 | (add_piece): Update. | |
6238 | (new_dwarf_expr_context): Set new field. | |
6239 | (free_dwarf_expr_context): Call value_free_to_mark. | |
6240 | * dwarf2-frame.c (no_base_type): New function. | |
6241 | (execute_stack_op): Set get_base_type field. Update. | |
6242 | ||
e8d28ef4 TT |
6243 | 2011-05-12 Tom Tromey <[email protected]> |
6244 | ||
6245 | * dwarf2read.c (read_common_block): Fix formatting. | |
6246 | ||
d248b706 KY |
6247 | 2011-05-12 Kwok Cheung Yeung <[email protected]> |
6248 | ||
6249 | * breakpoint.c (disable_breakpoint): Disable all locations | |
6250 | associated with a tracepoint on target if a trace experiment is | |
6251 | running. | |
6252 | (disable_command): Disable a specific tracepoint location on target if | |
6253 | a trace experiment is running. | |
6254 | (do_enable_breakpoint): Enable all locations associated with a | |
6255 | tracepoint on target if a trace experiment is running. | |
6256 | (enable_command) Enable a specific tracepoint location on target if a | |
6257 | trace experiment is running. | |
6258 | * target.c (update_current_target): Add INHERIT and de_fault clauses for | |
6259 | to_supports_enable_disable_tracepoint, to_enable_tracepoint and | |
6260 | to_disable_tracepoint. | |
6261 | * target.h: Add declaration of struct bp_location. | |
6262 | (struct target_ops): Add new functions | |
6263 | to_supports_enable_disable_tracepoint, to_enable_tracepoint and | |
6264 | to_disable_tracepoint to target operations. | |
6265 | (target_supports_enable_disable_tracepoint): New macro. | |
6266 | (target_enable_tracepoint): New macro. | |
6267 | (target_disable_tracepoint): New macro. | |
6268 | * remote.c (struct remote_state): Add new field. | |
6269 | (remote_enable_disable_tracepoint_feature): New. | |
6270 | (remote_protocol_features): Add new entry. | |
6271 | (remote_supports_enable_disable_tracepoint): New. | |
6272 | (remote_enable_tracepoint): New. | |
6273 | (remote_disable_tracepoint): New. | |
6274 | (init_remote_ops): Add remote_enable_tracepoint, | |
6275 | remote_disable_tracepoint and remote_supports_enable_disable_tracepoint | |
6276 | to remote operations. | |
6277 | * tracepoint.c (start_tracing): Allow tracing to start without any | |
6278 | tracepoints enabled with just a warning if they can be re-enabled | |
6279 | later. | |
6280 | * NEWS: Add news item for the new behaviour of the enable and disable | |
6281 | GDB commands when applied to tracepoints. | |
6282 | Add news items for the new remote packets QTEnable and QTDisable. | |
6283 | ||
cc88a640 JK |
6284 | 2011-05-11 Jan Kratochvil <[email protected]> |
6285 | ||
6286 | * config.in: Regenerate. | |
6287 | * configure: Regenerate. | |
6288 | * configure.ac <--with-system-readline> (for readline_echoing_p): | |
6289 | Remove the test. | |
6290 | * tui/tui-io.c (tui_old_readline_echoing_p): Rename to ... | |
6291 | (tui_old_rl_echoing_p): ... here. | |
6292 | (tui_setup_io): Rename extern declaration readline_echoing_p to | |
6293 | _rl_echoing_p. Adjust assignments for the both renames. | |
6294 | ||
1f84b619 TJB |
6295 | 2011-05-11 Thiago Jung Bauermann <[email protected]> |
6296 | ||
6297 | * symtab.c (lookup_symtab): Run cleanup before returning. | |
6298 | ||
74ac6d43 TT |
6299 | 2011-05-11 Tom Tromey <[email protected]> |
6300 | ||
6301 | * dwarf2read.c (handle_data_member_location): New function. | |
6302 | (dwarf2_add_field): Use it. | |
6303 | (read_common_block): Likewise. | |
6304 | ||
5488dafb JK |
6305 | 2011-05-11 Jan Kratochvil <[email protected]> |
6306 | ||
6307 | Make addrs->SECTINDEX always defined. | |
6308 | * symfile.c (relative_addr_info_to_section_offsets): Check for | |
6309 | SECTINDEX -1, not for zero ADDR. | |
6310 | (addrs_section_compar): Remove checking for invalid SECTINDEX. | |
6311 | (addr_info_make_relative): Set SECTINDEX to -1 for unmatched entries. | |
6312 | * symfile.h (struct section_addr_info) <sectindex>: Update the comment | |
6313 | on its validity. | |
6314 | ||
84e578fb DE |
6315 | 2011-05-10 Doug Evans <[email protected]> |
6316 | ||
2471d008 DE |
6317 | * linux-thread-db.c: Whitespace cleanup. |
6318 | (try_thread_db_load_1): Fix comment. | |
6319 | ||
84e578fb DE |
6320 | * linux-thread-db.c (set_libthread_db_search_path): New function. |
6321 | (_initialize_thread_db): Add setter for libthread-db-search-path. | |
6322 | ||
673c2bbe DE |
6323 | 2011-05-09 Doug Evans <[email protected]> |
6324 | ||
478aac75 DE |
6325 | * NEWS: Mention --with-iconv-bin. |
6326 | * configure.ac: New option --with-iconv-bin. | |
6327 | * configure: Regenerate. | |
6328 | * config.in: Regenerate. | |
6329 | * defs.h (relocate_gdb_directory): Declare. | |
6330 | * main.c (relocate_gdb_directory): Renamed from relocate_directory, | |
6331 | removed progname parameter, and exported. All callers updated. | |
6332 | * charset.c (find_charset_names): Use --with-iconv-bin if specified. | |
6333 | ||
673c2bbe DE |
6334 | * linux-nat.c (lin_lwp_attach_lwp): For !WIPSTOPPED case, |
6335 | adding missing call to restore_child_signals_mask. | |
6336 | ||
e4c8541f PA |
6337 | 2011-05-09 Pedro Alves <[email protected]> |
6338 | ||
6339 | * inferior.h (wait_for_inferior): Remove `thread_exec_as_sigtrap' | |
6340 | parameter. | |
6341 | * infrun.c (proceed, start_remote): Adjust. | |
6342 | (wait_for_inferior): Remove `thread_exec_as_sigtrap' parameter, | |
6343 | and adjust to not handle it. | |
6344 | * solib-irix.c (irix_solib_create_inferior_hook): Adjust. | |
6345 | * solib-osf.c (osf_solib_create_inferior_hook): Adjust. | |
6346 | * solib-sunos.c (sunos_solib_create_inferior_hook): Adjust. | |
6347 | * solib-svr4.c (svr4_solib_create_inferior_hook): Adjust. | |
6348 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
6349 | * infcmd.c (attach_command): Adjust. | |
6350 | (notice_new_inferior): Adjust. | |
6351 | ||
a536c6d7 UW |
6352 | 2011-05-06 Ulrich Weigand <[email protected]> |
6353 | ||
6354 | * ppc-linux-tdep.c (ppu2spu_prev_register): Handle pseudo registers. | |
6355 | (ppu2spu_unwind_register): Mark pseudo registers unavailable. | |
6356 | * spu-tdep.c (op_selb): Use correct value. | |
6357 | ||
7845b013 UW |
6358 | 2011-05-06 Ulrich Weigand <[email protected]> |
6359 | ||
6360 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Add NULL | |
6361 | "parent" parameter to symbol_file_add_from_bfd call. | |
6362 | ||
9c06b0b4 TJB |
6363 | 2011-05-06 Sergio Durigan Junior <[email protected]> |
6364 | Thiago Jung Bauermann <[email protected]> | |
6365 | ||
6366 | Implement support for PowerPC BookE masked watchpoints. | |
6367 | * NEWS: Mention masked watchpoint support. Create "Changed commands" | |
6368 | section. | |
6369 | * breakpoint.h (struct breakpoint_ops) <works_in_software_mode>: New | |
6370 | method. Initialize to NULL in all existing breakpoint_ops instances. | |
6371 | (struct breakpoint) <hw_wp_mask>: New field. | |
6372 | * breakpoint.c (is_masked_watchpoint): Add prototype. | |
6373 | (update_watchpoint): Don't set b->val for masked watchpoints. Call | |
6374 | breakpoint's breakpoint_ops.works_in_software_mode if available. | |
6375 | (watchpoints_triggered): Handle the case of a hardware masked | |
6376 | watchpoint trigger. | |
6377 | (watchpoint_check): Likewise. | |
6378 | (works_in_software_mode_watchpoint): New function. | |
6379 | (insert_masked_watchpoint, remove_masked_watchpoint) | |
6380 | (resources_needed_masked_watchpoint) | |
6381 | (works_in_software_mode_masked_watchpoint, print_it_masked_watchpoint) | |
6382 | (print_one_detail_masked_watchpoint, print_mention_masked_watchpoint) | |
6383 | (print_recreate_masked_watchpoint, is_masked_watchpoint): New | |
6384 | functions. | |
6385 | (masked_watchpoint_breakpoint_ops): New structure. | |
6386 | (watch_command_1): Check for the existence of the `mask' parameter. | |
6387 | Set b->ops according to the type of hardware watchpoint being created. | |
6388 | * ppc-linux-nat.c (ppc_linux_insert_mask_watchpoint) | |
6389 | (ppc_linux_remove_mask_watchpoint) | |
6390 | (ppc_linux_masked_watch_num_registers): New functions. | |
6391 | (_initialize_ppc_linux_nat): Initialize to_insert_mask_watchpoint, | |
6392 | to_remove_mask_watchpoint and to_masked_watch_num_registers. | |
6393 | * target.c (update_current_target): Mention to_insert_mask_watchpoint, | |
6394 | to_remove_mask_watchpoint, and to_masked_watch_num_registers. | |
6395 | (target_insert_mask_watchpoint, target_remove_mask_watchpoint) | |
6396 | (target_masked_watch_num_registers): New functions. | |
6397 | * target.h (struct target_ops) <to_insert_mask_watchpoint>, | |
6398 | <to_remove_mask_watchpoint>, <to_masked_watch_num_registers>: New | |
6399 | methods. | |
6400 | (target_insert_mask_watchpoint, target_remove_mask_watchpoint) | |
6401 | (target_masked_watch_num_registers): Add prototypes. | |
6402 | ||
8be455d7 JK |
6403 | 2011-05-06 Jan Kratochvil <[email protected]> |
6404 | ||
6405 | PR 12573 | |
6406 | * dwarf2read.c (struct dwarf2_cu): New field has_loclist. | |
6407 | (producer_is_gcc_ge_4_0): New function. | |
6408 | (process_full_comp_unit): Set also symtab->locations_valid. Move the | |
6409 | symtab->language code. | |
6410 | (var_decode_location): Set cu->has_loclist. | |
6411 | * symtab.c (skip_prologue_sal): New variables saved_pc, force_skip and | |
6412 | skip. Intialize force_skip from locations_valid. Move the prologue | |
6413 | skipping code into two passes. | |
6414 | * symtab.h (struct symtab): Make the primary field a bitfield. New | |
6415 | field locations_valid. | |
6416 | ||
d8228535 JK |
6417 | 2011-05-06 Jan Kratochvil <[email protected]> |
6418 | ||
6419 | * c-exp.y (qualified_name): Call destructor_name_p with $1.type. | |
6420 | (classify_inner_name): Call cp_lookup_nested_type with | |
6421 | yylval.tsym.type. | |
6422 | * cp-namespace.c (cp_lookup_nested_type): New variable | |
6423 | saved_parent_type. Call CHECK_TYPEDEF for parent_type. Call | |
6424 | type_name_no_tag_or_error with saved_parent_type. | |
6425 | * dwarf2read.c (load_partial_dies): Read in any children of | |
6426 | DW_TAG_typedef with complaint in such case. | |
6427 | * gdbtypes.c (type_name_no_tag_or_error): New function. | |
6428 | * gdbtypes.h (type_name_no_tag_or_error): New prototype. | |
6429 | * valops.c (destructor_name_p): New comment for parameter type. Remove | |
6430 | type const. Make dname and cp const. Call type_name_no_tag_or_error. | |
6431 | * value.h (destructor_name_p): Remove type const. | |
6432 | ||
1976171a JK |
6433 | 2011-05-06 Jan Kratochvil <[email protected]> |
6434 | ||
6435 | * symtab.c (compare_symbol_name): New function. | |
6436 | (completion_list_add_name, expand_partial_symbol_name): Call it, | |
6437 | remove the variable ncmp. | |
6438 | (default_make_symbol_completion_list_break_on): Reduce SYM_TEXT_LEN, | |
6439 | gdb_assert it. | |
6440 | ||
a9634178 TJB |
6441 | 2011-05-05 Thiago Jung Bauermann <[email protected]> |
6442 | ||
6443 | Demote to sw watchpoint only in update_watchpoint. | |
6444 | * breakpoint.c (update_watchpoint): Change between software and | |
6445 | hardware watchpoint for all kinds of watchpoints, not just | |
6446 | read/write ones. Determine b->exact value here instead of | |
6447 | in watch_command_1. Error out if there are not enough resources | |
6448 | for a read or access hardware watchpoint. | |
6449 | (watch_command_1): Remove logic of checking whether there are | |
6450 | enough resources available, since update_watchpoint will do that | |
6451 | work now. Don't set b->exact here. Catch exceptions thrown by | |
6452 | update_watchpoint and delete the watchpoint. | |
6453 | (can_use_hardware_watchpoint): Remove exact_watchpoints argument. | |
6454 | Use target_exact_watchpoints instead. | |
6455 | (delete_breakpoint): Notify observers only if deleted watchpoint | |
6456 | has a breakpoint number assigned to it. | |
6457 | ||
4c67c798 JJ |
6458 | 2011-05-05 Janis Johnson <[email protected]> |
6459 | ||
6460 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
6461 | ||
a3fcb948 JG |
6462 | 2011-05-05 Jerome Guitton <[email protected]> |
6463 | ||
6464 | * i386-tdep.c (i386_in_stack_tramp_p, i386_stack_tramp_frame_sniffer): | |
6465 | New functions. | |
6466 | (i386_stack_tramp_frame_unwind): New static global. | |
6467 | (i386_match_pattern): New function, extracted from i386_match_insn. | |
6468 | (i386_match_insn): Use i386_match_pattern. | |
6469 | (i386_match_insn_block): New function. | |
6470 | (i386_tramp_chain_in_reg_insns) | |
6471 | (i386_tramp_chain_on_stack_insns): New static variables. | |
6472 | (i386_gdbarch_init): Add i386_stack_tramp_frame_unwind to list | |
6473 | of unwinders. | |
6474 | ||
4d393d60 JM |
6475 | 2011-05-04 Joseph Myers <[email protected]> |
6476 | ||
6477 | * configure.host (xscale*): Don't handle target. | |
6478 | * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't | |
6479 | handle targets. | |
6480 | ||
f70bd40b YQ |
6481 | 2011-05-04 Yao Qi <[email protected]> |
6482 | ||
6483 | * gdb_wait.h: remove WAITTYPE and WCOREDUMP. | |
6484 | ||
dd3295ee JB |
6485 | 2011-05-03 Joel Brobecker <[email protected]> |
6486 | ||
6487 | Revert: | |
6488 | | 2011-03-07 Michael Snyder <[email protected]> | |
6489 | | * elfread.c (elf_symtab_read): Stop memory leak. | |
6490 | ||
90375a0e PM |
6491 | 2011-05-03 Pierre Muller <[email protected]> |
6492 | ||
6493 | * nto-tdep.c (nto_target): Replace deprecated call to | |
6494 | cygwin_conv_to_posix_path functions by cygwin_conv_path calls. | |
6495 | ||
d07205c2 JK |
6496 | 2011-05-03 Jan Kratochvil <[email protected]> |
6497 | ||
6498 | Fix false GCC warning. | |
6499 | * breakpoint.c (do_enable_breakpoint): Initialize orig_enable_state. | |
6500 | ||
1e718ff1 TJB |
6501 | 2011-05-03 Thiago Jung Bauermann <[email protected]> |
6502 | ||
6503 | * breakpoint.c (update_watchpoint): Move code to change | |
6504 | the enable state of breakpoint from here ... | |
6505 | (do_enable_breakpoint): ... to here. | |
6506 | ||
35bef4fd TT |
6507 | 2011-04-26 Andrew Gontarek <[email protected]> |
6508 | ||
78290264 PP |
6509 | * valprint.c (val_print_array_elements): Fixed poor performance |
6510 | of printing very large arrays with repeat_count_threshold set | |
6511 | to unlimited. New comment. | |
35bef4fd | 6512 | |
38a714bb TT |
6513 | 2011-04-29 Tom Tromey <[email protected]> |
6514 | ||
6515 | * mi/mi-parse.c (mi_parse): Remove incorrect sizeof. | |
6516 | (mi_parse): Likewise. | |
6517 | * breakpoint.c (break_range_command): Use sizeof char*, not | |
6518 | char**. | |
6519 | (create_breakpoint): Likewise. | |
6520 | (parse_breakpoint_sals): Likewise. | |
6521 | ||
eb73ad13 PA |
6522 | 2011-04-29 Pedro Alves <[email protected]> |
6523 | ||
6524 | * linux-nat.c (linux_child_remove_fork_catchpoint) | |
6525 | (linux_child_remove_vfork_catchpoint) | |
6526 | (linux_child_remove_exec_catchpoint): New functions. | |
6527 | (linux_target_install_ops): Install them. | |
6528 | ||
d65aec65 PM |
6529 | 2011-04-29 Phil Muldoon <[email protected]> |
6530 | ||
6531 | PR mi/12531 | |
6532 | ||
6533 | * varobj.c (install_default_visualizer): Do not install a | |
6534 | visualizer if the varobj is CPLUS_FAKE_CHILD. | |
6535 | (construct_visualizer): Likewise. | |
6536 | ||
165195f4 JK |
6537 | 2011-04-28 Jan Kratochvil <[email protected]> |
6538 | ||
6539 | * symtab.c (expand_partial_symbol_name): New variable NCMP. Support | |
6540 | case insensitive comparison. | |
6541 | ||
30852783 UW |
6542 | 2011-04-28 Ulrich Weigand <[email protected]> |
6543 | ||
6544 | * infrun.c (proceed): Revert previous change. | |
6545 | (resume): Instead, handle the case of signal delivery while stepping | |
6546 | off a breakpoint location here, and only if software single-stepping | |
6547 | is used. Handle nested signals. | |
6548 | ||
7ff120b4 YQ |
6549 | 2011-04-28 Yao Qi <[email protected]> |
6550 | ||
6551 | * arm-tdep.c (copy_unmodified): Rename to ... | |
6552 | (arm_copy_unmodified): .. this. New. | |
6553 | (copy_preload): Move common part to ... | |
6554 | (install_preload): .. this. New. | |
6555 | (arm_copy_preload): New. | |
6556 | (copy_preload_reg): Move common part to ... | |
6557 | (install_preload_reg): ... this. New. | |
6558 | (arm_copy_preload_reg): New. | |
6559 | (copy_b_bl_blx): Move common part to ... | |
6560 | (install_b_bl_blx): .. this. New. | |
6561 | (arm_copy_b_bl_blx): New. | |
6562 | (copy_bx_blx_reg): Move common part to ... | |
6563 | (install_bx_blx_reg): ... this. New. | |
6564 | (arm_copy_bx_blx_reg): New. | |
6565 | (copy_alu_reg): Move common part to ... | |
6566 | (install_alu_reg): ... this. New. | |
6567 | (arm_copy_alu_reg): New. | |
6568 | (copy_alu_shifted_reg): Move common part to ... | |
6569 | (install_alu_shifted_reg): ... this. New. | |
6570 | (copy_ldr_str_ldrb_strb): Move common part to ... | |
6571 | (install_ldr_str_ldrb_strb): ... this. New. | |
6572 | (arm_copy_ldr_str_ldrb_strb): New. | |
6573 | (copy_copro_load_store): Move some common part to ... | |
6574 | (install_copy_copro_load_store): ... this. New. | |
6575 | (arm_copy_copro_load_store): New. | |
6576 | (copy_svc): Delete. | |
6577 | (arm_copy_svc): Renamed from copy_svc. | |
6578 | (copy_undef): Delete. | |
6579 | (arm_copy_undef): Renamed from copy_undef. | |
6580 | (decode_ext_reg_ld_st): Delete. | |
6581 | (arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st. | |
6582 | (decode_svc_copro): Delete. | |
6583 | (arm_decode_svc_copro): Renamed from decode_svc_copro. | |
6584 | (copy_copro_load_store, copy_alu_imm): update callers. | |
6585 | (copy_extra_ld_st, copy_block_xfer): Likewise. | |
6586 | (decode_misc_memhint_neon, decode_unconditional): Likewise. | |
6587 | (decode_miscellaneous, decode_dp_misc): Likewise. | |
6588 | (decode_ld_st_word_ubyte, decode_media): Likewise. | |
6589 | (decode_b_bl_ldmstm, decode_ext_reg_ld_st): Likewise. | |
6590 | (decode_svc_copro, decode_misc_memhint_neon): Likewise. | |
6591 | (decode_unconditional, decode_miscellaneous): Likewise. | |
6592 | (decode_media, decode_b_bl_ldmstm): Likewise. | |
6593 | (arm_process_displaced_insn): Likewise.. | |
6594 | (decode_misc_memhint_neon): Delete. | |
6595 | (arm_decode_misc_memhint_neon): Renamed from decode_misc_memhint_neon. | |
6596 | (decode_miscellaneous): Delete. | |
6597 | (arm_decode_miscellaneous): Renamed from decode_miscellaneous. | |
6598 | (decode_dp_misc): Delete. | |
6599 | (arm_decode_dp_misc): Renamed from decode_dp_misc. | |
6600 | (decode_ld_st_word_ubyte): Delete. | |
6601 | (arm_decode_ld_st_word_ubyte): Renamed from decode_ld_st_word_ubyte. | |
6602 | (decode_media): Delete. | |
6603 | (arm_decode_media): Renamed from decode_media. | |
6604 | (decode_b_bl_ldmstm): Delete. | |
6605 | (arm_decode_b_bl_ldmstm): Renamed from decode_b_bl_ldmstm. | |
6606 | (decode_ext_reg_ld_st): Delete. | |
6607 | (arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st. | |
6608 | (decode_unconditional): Delete. | |
6609 | (arm_decode_unconditional): Renamed from decode_unconditional. | |
6610 | ||
559a7a62 JK |
6611 | 2011-04-27 Jan Kratochvil <[email protected]> |
6612 | ||
6613 | Case insensitive lookups implementation. | |
6614 | * dwarf2read.c: Include ctype.h. | |
6615 | (struct mapped_index): New field version. | |
6616 | (mapped_index_string_hash): New parameter index_version. New comment | |
6617 | for it. Call tolower appropriately. | |
6618 | (find_slot_in_mapped_hash): New variable cmp, initialize it, use it. | |
6619 | Choose the right index version for mapped_index_string_hash. | |
6620 | (dwarf2_read_index): Support also the index version 5. Initialize the | |
6621 | new struct mapped_index field version. | |
6622 | (hash_strtab_entry): Pass INT_MAX for the new parameter, explain why. | |
6623 | (find_slot): Explain the version needs. Pass INT_MAX for the new | |
6624 | parameter. | |
6625 | (write_psymtabs_to_index): Produce version 5. | |
6626 | * minsyms.c (lookup_minimal_symbol): New variable cmp, initialize it, | |
6627 | use it. New comment for SYMBOL_MATCHES_SEARCH_NAME. | |
6628 | * psymtab.c (lookup_partial_symbol): Find the | |
6629 | SYMBOL_MATCHES_SEARCH_NAME start of the found block of matching | |
6630 | entries. | |
6631 | * symtab.c (lookup_symbol_in_language): Remove the case_sensitive_off | |
6632 | NAME lowercasing. | |
6633 | (search_symbols): Pass REG_ICASE to regcomp for case_sensitive_off. | |
6634 | (completion_list_add_name): New variable ncmp, initialize it, use it. | |
6635 | * symtab.h (SYMBOL_HASH_NEXT): Always call tolower. | |
6636 | * utils.c (strcmp_iw): Support case_sensitive_off. | |
6637 | (strcmp_iw_ordered): Sort in a way compatible with case_sensitive_off. | |
6638 | New function comment part. New variables saved_string1, | |
6639 | saved_string2 and case_pass. Add a proper second pass. | |
6640 | ||
681bf369 JK |
6641 | 2011-04-27 Jan Kratochvil <[email protected]> |
6642 | ||
6643 | Replace re_comp/re_exec by regcomp/regexec. | |
6644 | * symtab.c (struct search_symbols_data): New fields preg, preg_p. | |
6645 | (search_symbols_name_matches): Use them, use regexec. | |
6646 | (search_symbols): New variable retval_chain, adjust the use of | |
6647 | old_chain against it. Replace re_comp by regcomp. Use the new struct | |
6648 | search_symbols_data fields, use regexec instead of re_exec. | |
6649 | ||
b11b1f88 JK |
6650 | 2011-04-27 Jan Kratochvil <[email protected]> |
6651 | ||
6652 | Format the code for the next patch. | |
6653 | * dwarf2read.c (struct mapped_index): Include delimiting newlines. | |
6654 | * utils.c (strcmp_iw_ordered): Reformat the code for the next patch. | |
6655 | New variables c1 and c2. | |
6656 | ||
2484c66b UW |
6657 | 2011-04-27 Ulrich Weigand <[email protected]> |
6658 | ||
6659 | * infrun.c (proceed): Do not single-step into signal delivery | |
6660 | when stepping off a breakpoint location. | |
6661 | (insert_step_resume_breakpoint_at_frame): Move prototype earlier. | |
6662 | (insert_step_resume_breakpoint_at_caller): Likewise. | |
6663 | (insert_step_resume_breakpoint_at_sal): Likewise. | |
6664 | (insert_longjmp_resume_breakpoint): Likewise. | |
6665 | ||
47423772 YQ |
6666 | 2011-04-27 Yao Qi <[email protected]> |
6667 | ||
6668 | * common/linux-ptrace.h: Remove include <sys/wait.h>. | |
6669 | ||
13bdd2e7 JB |
6670 | 2011-04-27 Joel Brobecker <[email protected]> |
6671 | ||
6672 | * procfs.c (procfs_pass_signals): Fix advance declaration. | |
6673 | ||
2455069d UW |
6674 | 2011-04-27 Ulrich Weigand <[email protected]> |
6675 | ||
6676 | * target.h (struct target_ops): Remove to_notice_signals; | |
6677 | add to_pass_signals. | |
6678 | (target_notice_signals): Remove. | |
6679 | (target_pass_signals): Add prototype. | |
6680 | * target.c (update_current_target): Remove to_notice_signals; | |
6681 | mention to_pass_signals. | |
6682 | (target_pass_signals): New function. | |
6683 | (debug_to_notice_signals): Remove. | |
6684 | (setup_target_debug): Do not install debug_to_notice_signals. | |
6685 | ||
6686 | * infrun.c (signal_pass): New global. | |
6687 | (resume): Call target_pass_signals. | |
6688 | (handle_inferior_event): Report all signals while stepping over | |
6689 | non-steppable watchpoint. Reset trap_expected to ensure breakpoints | |
6690 | are re-inserted when stepping over a signal handler. | |
6691 | (signal_cache_update): New function. | |
6692 | (signal_stop_update): Call it. | |
6693 | (signal_print_update): Likewise. | |
6694 | (signal_pass_update): Likewise. | |
6695 | (handle_command): Call signal_cache_update and target_pass_signals | |
6696 | instead of target_notice_signals. | |
6697 | (_initialize_infrun): Initialize signal_pass. | |
6698 | ||
6699 | * linux-nat.c (pass_mask): New global. | |
6700 | (linux_nat_pass_signals): New function. | |
6701 | (linux_nat_create_inferior): Report all signals initially. | |
6702 | (linux_nat_attach): Likewise. | |
6703 | (linux_nat_resume): Use pass_mask to decide whether to directly | |
6704 | handle an inferior signal. | |
6705 | (linux_nat_wait_1): Likewise. | |
6706 | (linux_nat_add_target): Install to_pass_signals callback. | |
6707 | ||
6708 | * nto-procfs.c (notice_signals): Remove. | |
6709 | (procfs_resume): Do not call notice_signals. | |
6710 | (procfs_notice_signals): Remove. | |
6711 | (procfs_pass_signals): New function. | |
6712 | (init_procfs_ops): Install to_pass_signals callback instead of | |
6713 | to_notice_signals callback. | |
6714 | (_initialize_procfs): Report all signals initially. | |
6715 | ||
6716 | * procfs.c (procfs_notice_signals): Remove. | |
6717 | (procfs_pass_signals): New function. | |
6718 | (procfs_target): Install to_pass_signals callback instead of | |
6719 | to_notice_signals callback. | |
6720 | (register_gdb_signals): Remove. | |
6721 | (procfs_debug_inferior): Report all signals initially. | |
6722 | (procfs_init_inferior): Remove redundant register_gdb_signals call. | |
6723 | ||
6724 | * remote.c (remote_pass_signals): Add numsigs and pass_signals | |
6725 | parameters; use them instead of calling signal_..._state routines. | |
6726 | (remote_notice_signals): Remove. | |
6727 | (remote_start_remote): Report all signals initially. | |
6728 | (remote_resume): Do not call remote_pass_signals. | |
6729 | (_initialize_remote): Install to_pass_signals callback instead of | |
6730 | to_notice_signals callback. | |
6731 | ||
46c6471b PA |
6732 | 2011-04-27 Pedro Alves <[email protected]> |
6733 | ||
6734 | * breakpoint.c (user_settable_breakpoint): Delete. | |
6735 | (user_breakpoint_p): Remove check on user_settable_breakpoint. | |
6736 | (delete_command): Check user_breakpoint_p instead of looking at | |
6737 | the breakpoint's type. | |
6738 | (disable_command): Ditto. | |
6739 | (enable_command): Ditto. | |
6740 | (delete_trace_command): Use user_breakpoint_p instead of looking | |
6741 | at the breakpoint number directly. When checking if there are | |
6742 | user visible tracepoints, in order to know whether to ask the user | |
6743 | for confirmation, check whether the breakpoint is actually a | |
6744 | tracepoint. | |
6745 | ||
f6d90398 VP |
6746 | 2011-04-27 Vladimir Prus <[email protected]> |
6747 | ||
6748 | * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix | |
6749 | compilation. | |
6750 | ||
8d3788bd VP |
6751 | 2011-04-27 Vladimir Prus <[email protected]> |
6752 | ||
6753 | MI breakpoint notifications. | |
6754 | ||
f33edef8 PP |
6755 | * annotate.c (breakpoint_changed): Adjust parameter type. |
6756 | * breakpoint.c (set_breakpoint_condition): Adjust to change | |
6757 | in breakpoint_modified type. | |
6758 | (breakpoint_set_commands): Likewise. | |
6759 | (do_map_commands_command): Likewise. | |
6760 | (bpstat_check_breakpoint_conditions): Notify that breakpoint has | |
6761 | changed after bumping hit count. | |
6762 | (bpstat_stop_status): Likewise. | |
6763 | (print_one_breakpoint_location): Don't wrap in tuple here. | |
6764 | (print_one_breakpoint): Always print individual locations. | |
6765 | For locations, use unnamed tuple. | |
6766 | (disable_breakpoints_in_unloaded_shlib): Notify that breakpoint | |
6767 | has changed. | |
6768 | (create_catchpoint, create_syscall_event_catchpoint): Call | |
6769 | breakpoint_created obsever. | |
6770 | (mention): Don't call breakpoint_created observer. | |
6771 | (create_breakpoint_sal): Call breakpoint_created observer. | |
6772 | (create_breakpoint, watch_command_1): Likewise. | |
6773 | (create_ada_exception_breakpoint): Likewise. | |
6774 | (delete_breakpoint): Call breakpoint_deleted breakpoint. | |
6775 | (locations_are_equal): New. | |
6776 | (update_breakpoint_locations): If locations were changed, notify. | |
6777 | (set_ignore_count, disable_breakpoint, do_enable_breakpoint): | |
6778 | Call breakpoint_modified observer. | |
6779 | ||
6780 | * mi/mi-cmd-break.c (breakpoint_notify): Adjust. | |
6781 | (mi_cmd_break_insert): Don't set observers for modify and delete. | |
6782 | * mi/mi-interp.c (mi_suppress_breakpoint_notifications): New. | |
6783 | (mi_breakpoint_created, mi_breakpoint_deleted) | |
6784 | (mi_breakpoint_modified): New. | |
6785 | (mi_interpreter_init): Hook the above. | |
6786 | * mi/mi-main.c (mi_cmd_execute): Disable breakpoint notifications | |
6787 | while -break-* commands are executing. | |
6788 | * mi/mi-main.h (mi_suppress_breakpoint_notifications): New. | |
6789 | * mi/mi-out.c (struct ui_out_data): New field original_buffer. | |
6790 | (mi_redirect): New. | |
6791 | (mi_ui_out_impl): Hook in mi_redirect. | |
6792 | (mi_field_skip): True to the name, skip the field, don't output | |
6793 | a field with an empty value. | |
6794 | ||
6795 | * python/py-breakpoint.c (gdbpy_breakpoint_created) | |
6796 | (gdbpy_breakpoint_deleted): Adjust. | |
6797 | * tui/tui-hooks.c (tui_event_create_breakpoint) | |
6798 | (tui_event_delete_breakpoint, tui_event_modify_breakpoint): Adjust. | |
8d3788bd | 6799 | |
a8f42b45 UW |
6800 | 2011-04-26 Aleksandar Ristovski <[email protected]> |
6801 | ||
6802 | * nto-procfs.c (procfs_insert_hw_watchpoint): Fix prototype. | |
6803 | (procfs_remove_hw_watchpoint): Likewise. | |
6804 | ||
57e12211 TT |
6805 | 2011-04-26 Michael Walle <[email protected]> |
6806 | ||
6807 | * remote.c (remote_start_remote): Ack packet after sending the | |
6808 | interrupt sequence. | |
6809 | ||
af96c192 YQ |
6810 | 2011-04-26 Yao Qi <[email protected]> |
6811 | ||
f33edef8 PP |
6812 | * linux-nat.c: Move common macros to ... |
6813 | Include linux-ptrace.h. | |
6814 | * common/linux-ptrace.h: ... here. New. | |
af96c192 | 6815 | |
3e03848b JK |
6816 | 2011-04-25 Jan Kratochvil <[email protected]> |
6817 | ||
6818 | * elfread.c (elf_symfile_read): Protect dwarf2_initialize_objfile by | |
6819 | !objfile_has_partial_symbols. New comment. | |
6820 | * objfiles.c (objfile_has_partial_symbols): Call HAS_SYMBOLS if | |
6821 | SYM_READ_PSYMBOLS is not present. Extend the comment. | |
6822 | * symfile.h (struct sym_fns): Extend the sym_read_psymbols comment. | |
6823 | ||
1ae0d051 JK |
6824 | 2011-04-25 Jan Kratochvil <[email protected]> |
6825 | ||
6826 | * defs.h (ENUM_BITFIELD): Remove. | |
6827 | ||
03f2bd59 JK |
6828 | 2011-04-24 Jan Kratochvil <[email protected]> |
6829 | Eli Zaretskii <[email protected]> | |
6830 | ||
6831 | * NEWS: Document the new gdbserver --once option. | |
6832 | ||
4161fbb0 JZ |
6833 | 2011-04-21 Jie Zhang <[email protected]> |
6834 | ||
6835 | * MAINTAINERS: Update my email address. | |
6836 | ||
bcb28afc PM |
6837 | 2011-04-21 Pierre Muller <[email protected]> |
6838 | ||
6839 | * gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro. | |
6840 | (INTERMEDIATE_ENCODING): Change value to intermediate_encoding | |
6841 | function call if __STDC_ISO_10646__ macro is defined. | |
6842 | (intermediate_encoding): New prototype. | |
6843 | * charset.c (your_gdb_wchar_t_is_bogus): New extern test variable | |
6844 | to generate compile time error for unsupported gdb_wchar_t size. | |
6845 | (ENDIAN_SUFFIX): New macro. | |
6846 | (intermediate_encoding): New function. | |
6847 | ||
7b08b9eb JK |
6848 | 2011-04-20 Jan Kratochvil <[email protected]> |
6849 | ||
6850 | * ada-lang.c (struct add_partial_datum): Update the comment for | |
6851 | expand_partial_symbol_name. | |
6852 | (ada_add_partial_symbol_completions): Rename to ... | |
6853 | (ada_expand_partial_symbol_name): ... here, change return type, update | |
6854 | function comment, call symbol_completion_match instead of | |
6855 | symbol_completion_add. | |
6856 | (ada_make_symbol_completion_list): Use now expand_partial_symbol_names | |
6857 | and ada_expand_partial_symbol_name. | |
6858 | * dwarf2read.c (dw2_expand_symtabs_matching): Support NULL | |
6859 | FILE_MATCHER. | |
6860 | (dw2_map_symbol_names): Remove. | |
6861 | (dwarf2_gdb_index_functions): Unlist dw2_map_symbol_names. | |
6862 | * psymtab.c (map_symbol_names_psymtab): Remove. | |
6863 | (expand_symtabs_matching_via_partial): Support NULL FILE_MATCHER. | |
6864 | Support KIND == ALL_DOMAIN. Exchange the NAME_MATCHER and KIND check | |
6865 | order. | |
6866 | (psym_functions): Unlist map_symbol_names_psymtab. | |
6867 | (map_partial_symbol_names): Rename to ... | |
6868 | (expand_partial_symbol_names): ... here, change the FUN type, call | |
6869 | expand_symtabs_matching with ALL_DOMAIN and NULL FILE_MATCHER now. | |
6870 | * psymtab.h (map_partial_symbol_names): Rename to ... | |
6871 | (expand_partial_symbol_names): ... here, change the FUN type. | |
6872 | * symfile.h (struct quick_symbol_functions): Update the description of | |
6873 | expand_symtabs_matching. Remove map_symbol_names. | |
6874 | * symtab.c (search_symbols): Add ALL_DOMAIN to the function comment. | |
6875 | (struct add_name_data): Update the comment for | |
6876 | expand_partial_symbol_name. | |
6877 | (add_partial_symbol_name): Rename to ... | |
6878 | (expand_partial_symbol_name): ... here. Replace | |
6879 | completion_list_add_name call by strncmp. | |
6880 | (default_make_symbol_completion_list_break_on): Use now | |
6881 | expand_partial_symbol_names and expand_partial_symbol_name. | |
6882 | * symtab.h (enum search_domain): New element ALL_DOMAIN. | |
6883 | ||
90476074 TT |
6884 | 2011-04-20 Tom Tromey <[email protected]> |
6885 | ||
6886 | * dwarf2read.c (save_gdb_index_command): Replace format | |
6887 | documentation with a pointer to the manual. | |
6888 | ||
c21236dc PA |
6889 | 2011-04-20 Pedro Alves <[email protected]> |
6890 | ||
6891 | * regcache.c: Include remote.h. | |
6892 | (enum regcache_dump_what) <regcache_dump_remote>: New enum value. | |
6893 | (regcache_dump): Handle regcache_dump_remote. | |
6894 | (maintenance_print_remote_registers): New function. | |
6895 | (_initialize_regcache): Install "maint print remote-registers" | |
6896 | command. | |
6897 | * remote.c (map_regcache_remote_table): New function, factored out | |
6898 | from ... | |
6899 | (init_remote_state): ... here. | |
6900 | (remote_register_number_and_offset): New. | |
6901 | * remote.h (remote_register_number_and_offset): Declare. | |
6902 | ||
b78974c3 PA |
6903 | 2011-04-20 Pedro Alves <[email protected]> |
6904 | ||
6905 | * regcache.c (get_thread_arch_regcache): If creating a regcache for | |
6906 | null_ptid, assume and allow a NULL address space, instead of | |
6907 | asking the target for the ptid's address space. | |
6908 | * infrun.c (ptid_is_pid): Remove assertion. | |
6909 | ||
7a9dd1b2 TT |
6910 | 2011-04-19 Tom Tromey <[email protected]> |
6911 | ||
6912 | * windows-tdep.c (windows_xfer_shared_library): | |
6913 | * windows-nat.c (get_module_name, windows_make_so): | |
6914 | * v850-tdep.c (v850_handle_pushm): | |
6915 | * utils.c (null_cleanup, gdb_realpath): | |
6916 | * ui-out.c (get_next_header): | |
6917 | * tracepoint.c (clear_traceframe_info): | |
6918 | * symtab.c (lookup_symtab): | |
6919 | * serial.h (struct serial_ops): | |
6920 | * mipsread.c (read_alphacoff_dynamic_symtab): | |
6921 | * infcmd.c (print_return_value): | |
6922 | * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): | |
6923 | * f-exp.y (parse_number): | |
6924 | * exceptions.c (catch_exceptions): | |
6925 | * dummy-frame.c (dummy_frame_this_id): | |
6926 | * defs.h (struct cleanup): | |
6927 | * breakpoint.c (disable_breakpoints_in_unloaded_shlib): | |
6928 | * arm-tdep.c (arm_push_dummy_call): | |
6929 | * amd64-tdep.h (amd64_collect_xsave): | |
6930 | * amd64-tdep.c (amd64_collect_xsave): | |
6931 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): | |
6932 | * README (typing): Remove duplicate words. | |
6933 | * cli/cli-decode.c (lookup_cmd_composition): Add comma. | |
6934 | * infrun.c (siginfo_value_read): Fix typo. | |
6935 | * solib-frv.c (frv_fdpic_find_global_pointer): Likewise. | |
6936 | * top.c (source_line_number): Add comma. | |
6937 | ||
9941e0c5 MK |
6938 | 2011-04-19 Marc Khouzam <[email protected]> |
6939 | ||
6940 | * thread.c (any_live_thread_of_process): Prioritize threads | |
6941 | that are not executing. | |
6942 | * gdbthread.h (any_live_thread_of_process): Update comment | |
6943 | as per above change. | |
6944 | ||
ed4b0e6a AS |
6945 | 2011-04-19 Andreas Schwab <[email protected]> |
6946 | ||
6947 | * xcoffread.c (process_xcoff_symbol): Remove useless cast. | |
6948 | (scan_xcoff_symtab): Likewise. | |
6949 | ||
9b13a2db PM |
6950 | 2011-04-19 Pierre Muller <[email protected]> |
6951 | ||
6952 | * xcoffread.c (process_xcoff_symbol): ARI fix: Avoid assignment | |
6953 | inside if clause. | |
6954 | ||
1c6e1b0d PM |
6955 | 2011-04-19 Pierre Muller <[email protected]> |
6956 | Pedro Alves <[email protected]> | |
6957 | ||
6958 | * xstormy16-tdep.c (xstormy16_push_dummy_call): Add local | |
6959 | variables to simplify code and avoid == operator at end of | |
6960 | line as this is against GNU coding standards. | |
6961 | ||
74de0234 PM |
6962 | 2011-04-19 Pierre Muller <[email protected]> |
6963 | ||
6964 | * solib-svr4.c (svr4_keep_data_in_core): Rename local variable | |
6965 | lm_name to name_lm to avoid conflict with lm_name function. | |
6966 | ||
b23518f0 PM |
6967 | 2011-04-19 Pierre Muller <[email protected]> |
6968 | ||
6969 | ARI fixes: Use only lowercase function name for static functions. | |
6970 | * nto-tdep.c (LM_ADDR): Rename to... | |
6971 | (lm_addr): New function name. | |
6972 | (nto_relocate_section_addresses): Adapt to change above. | |
6973 | * solib-sunos.c (LM_ADDR): Rename to... | |
6974 | (lm_addr): New function name. | |
6975 | (LM_NEXT): Rename to... | |
6976 | (lm_next): New function name. | |
6977 | (sunos_current_sos, sunos_relocate_section_addresses): Adapt to | |
6978 | function name changes above. | |
6979 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Rename to... | |
6980 | (lm_addr_from_link_map): New function name. | |
6981 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
6982 | (has_lm_dynamic_from_link_map): New function name. | |
6983 | (LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
6984 | (lm_dynamic_from_link_map): New function name. | |
6985 | (LM_ADDR_CHECK): Rename to... | |
6986 | (lm_addr_check): New function name. | |
6987 | (LM_NEXT): Rename to... | |
6988 | (lm_next): New function name. | |
6989 | (LM_PREV): Rename to... | |
6990 | (lm_prev): New function name. | |
6991 | (LM_NAME): Rename to... | |
6992 | (lm_name): New function name. | |
6993 | (IGNORE_FIRST_LINK_MAP_ENTRY): Rename to... | |
6994 | (ignore_first_link_map_entry): New function name. | |
6995 | (svr4_keep_data_in_core): Adapt to function name changes above. | |
6996 | (svr4_current_sos): Likewise. | |
6997 | (enable_break): Likewise. | |
6998 | (svr4_relocate_section_addresses): Likewise. | |
6999 | ||
1448a0a2 PM |
7000 | 2011-04-19 Pierre Muller <[email protected]> |
7001 | ||
7002 | ARI cleanup. | |
7003 | * xtensa-tdep.c (xtensa_register_type): Use xstrprintf instead of | |
7004 | sprintf. Simplify code and avoid loosing memory. | |
7005 | (xtensa_register_reggroup_p): Extract assignment out of IF clause. | |
7006 | (call0_frame_cache): Remove && operator from end of line. | |
7007 | ||
02835898 JK |
7008 | 2011-04-17 Jan Kratochvil <[email protected]> |
7009 | ||
7010 | Fix libraries displacement if they change whether they were prelinked. | |
7011 | * solib-svr4.c (LM_ADDR_CHECK): Set L_ADDR even if the DYNAMIC pointer | |
7012 | does not match. Comment why. | |
7013 | ||
9a845ea2 JK |
7014 | 2011-04-17 Jan Kratochvil <[email protected]> |
7015 | ||
7016 | * corelow.c: Include wrapper.h. | |
7017 | (core_open): Call now gdb_target_find_new_threads. | |
7018 | * wrapper.c: Include target.h. | |
7019 | (gdb_target_find_new_threads): New. | |
7020 | * wrapper.h (gdb_target_find_new_threads): New declaration. | |
7021 | ||
254f582e JK |
7022 | 2011-04-17 Jan Kratochvil <[email protected]> |
7023 | ||
7024 | * linux-thread-db.c (find_new_threads_callback): Exit on zero TI_TID | |
7025 | even if !TARGET_HAS_EXECUTION. | |
7026 | ||
63524580 JK |
7027 | 2011-04-17 Jan Kratochvil <[email protected]> |
7028 | ||
7029 | Fix convert_code_addr_to_desc_addr for ppc64 files after eu-strip. | |
7030 | * elfread.c (elf_symfile_read): New variable synth_abfd, pass it to | |
7031 | bfd_get_synthetic_symtab. | |
7032 | * jit.c (jit_register_code): Pass NULL to the new parameter parent. | |
7033 | * machoread.c (macho_add_oso_symfile): Pass main_objfile to the new | |
7034 | parameter parent, remove the call to add_separate_debug_objfile. | |
7035 | * solib.c (solib_read_symbols): Pass NULL to the new parameter parent. | |
7036 | * symfile-mem.c (symbol_file_add_from_memory): Likewise. | |
7037 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New parameter | |
7038 | parent, new comment for it, call add_separate_debug_objfile for it. | |
7039 | (symbol_file_add_separate): Pass objfile as the parameter parent, | |
7040 | remove the call to add_separate_debug_objfile. | |
7041 | (symbol_file_add_from_bfd): New parameter parent, pass it. | |
7042 | (symbol_file_add): Pass NULL to the new parameter parent. | |
7043 | * symfile.h (symbol_file_add_from_bfd): New parameter parent. | |
7044 | ||
90359a16 JK |
7045 | 2011-04-17 Jan Kratochvil <[email protected]> |
7046 | ||
7047 | * elfread.c (elf_symtab_read): Do not ignore .L symbols if they are | |
7048 | BSF_SYNTHETIC. | |
7049 | ||
626e7282 JK |
7050 | 2011-04-17 Jan Kratochvil <[email protected]> |
7051 | ||
7052 | Fix Python access to inlined frames. | |
7053 | * python/py-frame.c (frapy_read_var): Find BLOCK using get_frame_block. | |
7054 | * python/py-symbol.c (gdbpy_lookup_symbol): Likewise. | |
7055 | ||
cf31e6f9 TT |
7056 | 2011-04-15 Tom Tromey <[email protected]> |
7057 | ||
7058 | * dwarf2read.c (add_index_entry): Use VEC_last, not VEC_length. | |
7059 | ||
c8d895f1 GB |
7060 | 2011-04-15 Gary Benson <[email protected]> |
7061 | ||
7062 | * MAINTAINERS: Add myself to write-after-approval section. | |
7063 | ||
56a9aa1d MF |
7064 | 2011-04-14 Mike Frysinger <[email protected]> |
7065 | ||
7066 | * remote-sim.c (sim_command_completer): New function. | |
7067 | (_initialize_remote_sim): Set completer to sim_command_completer. | |
7068 | ||
ba770c9c TJB |
7069 | 2011-04-13 Thiago Jung Bauermann <[email protected]> |
7070 | ||
7071 | * breakpoint.c (print_exception_catchpoint): Rename to ... | |
7072 | (print_it_exception_catchpoint): ... this. | |
7073 | (gnu_v3_exception_catchpoint_ops): Update with new name | |
7074 | for print_it_exception_catchpoint. | |
7075 | ||
51bf2553 EBM |
7076 | 2011-04-13 Edjunior Machado <[email protected]> |
7077 | ||
7078 | * MAINTAINERS: Add myself for write after approval privileges. | |
7079 | ||
d242658c MP |
7080 | 2011-04-13 Marek Polacek <[email protected]> |
7081 | ||
7082 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
7083 | ||
4a4106ca TJB |
7084 | 2011-04-13 Thiago Jung Bauermann <[email protected]> |
7085 | ||
7086 | * breakpoint.c (watch_command_1): Remove colon from exp_string. | |
7087 | ||
26063d49 TJB |
7088 | 2011-04-13 Thiago Jung Bauermann <[email protected]> |
7089 | ||
7090 | * breakpoint.c (save_breakpoints): Verify whether | |
7091 | breakpoint_ops.print_recreate is defined before calling it. | |
7092 | ||
7782b183 GB |
7093 | 2011-04-11 Gary Benson <[email protected]> |
7094 | ||
7095 | Fix failure with --enable-maintainer-mode. | |
7096 | * Makefile.in (aclocal_m4_deps): Updated gnulib dependencies. | |
7097 | ||
e8930875 JK |
7098 | 2011-04-09 Jan Kratochvil <[email protected]> |
7099 | ||
7100 | Code cleanup. | |
7101 | * symtab.c (search_symbols): Reorder the KIND description in the | |
7102 | function comment. Remove the unused 4th element of types, types2, | |
7103 | types3 and types4. New gdb_assert on KIND. | |
7104 | (symtab_symbol_info): Remove the unused 4th element of classnames. | |
7105 | New gdb_assert on KIND. | |
7106 | * symtab.h (enum search_domain): New warning in the enum comment. | |
7107 | Assign numbers to the elements VARIABLES_DOMAIN, FUNCTIONS_DOMAIN and | |
7108 | TYPES_DOMAIN. | |
7109 | ||
b4f2f049 JK |
7110 | 2011-04-09 Jan Kratochvil <[email protected]> |
7111 | ||
7112 | Fix crash of gdb save-index on a STABS file. | |
7113 | * dwarf2read.c (write_psymtabs_to_index): Return also on no | |
7114 | PSYMTABS_ADDRMAP. | |
7115 | ||
60d5a603 JK |
7116 | 2011-04-09 Jan Kratochvil <[email protected]> |
7117 | ||
7118 | Fix DW_AT_accessibility compatibility with gcc-4.6+. | |
7119 | * dwarf2read.c: Include ctype.h. | |
7120 | (producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New | |
7121 | functions. | |
7122 | (dwarf2_add_field): Fix new_field->accessibility by calling | |
7123 | dwarf2_default_access_attribute. Restructure setting accessibility | |
7124 | vs. virtuality. | |
7125 | (dwarf2_add_member_fn): New variable accessibility. Fix fnp | |
7126 | is_private and is_protected by calling | |
7127 | dwarf2_default_access_attribute. | |
7128 | ||
e0f68161 KB |
7129 | 2011-04-08 Kevin Buettner <[email protected]> |
7130 | ||
7131 | * rx-tdep.c (rx_frame_unwind): Add default_frame_unwind_stop_reason | |
7132 | to the initialization. | |
7133 | ||
2e1aae43 SE |
7134 | 2011-04-08 Steve Ellcey <[email protected]> |
7135 | ||
7136 | * Add default_frame_unwind_stop_reason value to libunwind_frame_unwind | |
7137 | initalization. | |
7138 | ||
c6ca3dab PM |
7139 | 2011-04-07 Pierre Muller <[email protected]> |
7140 | ||
7141 | Remove support for old Cygwin 1.5 versions. | |
7142 | * remote-fileio.c: Remove macros used to emulate new cygwin_conv_path | |
7143 | function on old Cygwin version. | |
7144 | * windows-nat.c: Remove cygwin version check and always define | |
7145 | __USEWIDE for Cygwin compilation. | |
7146 | ||
bd18283a YQ |
7147 | 2011-04-07 Yao Qi <[email protected]> |
7148 | ||
7149 | * arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN | |
7150 | and TO. | |
7151 | * arm-tdep.c (cleanup_svc): Handle variable instruction size. | |
7152 | (arm_copy_svc): Remove parameters INSN and TO. | |
7153 | (decode_svc_copro): Update caller. | |
7154 | * arm-tdep.h (struct displaced_step_closure): Remove parameters | |
7155 | from function pointer `copy_svc_os'. | |
7156 | ||
8c8dba6d YQ |
7157 | 2011-04-07 Yao Qi <[email protected]> |
7158 | ||
7159 | * arm-tdep.c (cleanup_branch): Set a correct return address in | |
7160 | LR for ARM and Thumb. | |
7161 | ||
59d7bcaf JK |
7162 | 2011-04-06 Jan Kratochvil <[email protected]> |
7163 | ||
7164 | Code cleanup. | |
7165 | * dictionary.c (dict_hash): Use SYMBOL_HASH_NEXT. | |
7166 | * dwarf2read.c (mapped_index_string_hash): Refer to SYMBOL_HASH_NEXT | |
7167 | in the function comment, a new note on values compatibility. | |
7168 | * minsyms.c (msymbol_hash_iw, msymbol_hash): Use SYMBOL_HASH_NEXT. | |
7169 | * symtab.h (SYMBOL_HASH_NEXT): New. | |
7170 | ||
e7db58ea TJB |
7171 | 2011-04-06 Thiago Jung Bauermann <[email protected]> |
7172 | ||
7173 | * ppc-linux-nat.c (check_condition): Add len output parameter. | |
7174 | Set it based on the memory region referenced in the condition | |
7175 | expression. Update all callers. | |
7176 | ||
9f743ef6 JK |
7177 | 2011-04-06 Jan Kratochvil <[email protected]> |
7178 | ||
7179 | Fix crash regression on systems featuring .gdb_index. | |
7180 | * objfiles.c (free_objfile): Move the | |
7181 | forget_cached_source_info_for_objfile call earlier. Comment it. | |
7182 | Extend the comment for objfile_free_data. | |
7183 | ||
9182c5bc JK |
7184 | 2011-04-06 Jan Kratochvil <[email protected]> |
7185 | ||
7186 | Fix regression of displaying the debug format. | |
7187 | * buildsym.c (end_symtab): Set symtab's debugformat and producer from | |
7188 | subfile. | |
7189 | ||
04bd08de TT |
7190 | 2011-04-04 Tom Tromey <[email protected]> |
7191 | ||
7192 | * cli/cli-interp.c (struct captured_execute_command_args): | |
7193 | Remove. | |
7194 | (do_captured_execute_command): Remove. | |
7195 | (safe_execute_command): Use TRY_CATCH. | |
7196 | * cli/cli-script.c (struct wrapped_read_command_file_args): | |
7197 | Remove. | |
7198 | (wrapped_read_command_file): Remove. | |
7199 | (script_from_file): Use TRY_CATCH. | |
7200 | * exceptions.c (catch_exception): Remove. | |
7201 | * exceptions.h (catch_exception): Remove. | |
7202 | (deprecated_throw_reason): Update comment. | |
7203 | * mi/mi-main.c (captured_mi_execute_command): Change 'data' | |
7204 | argument to 'context'. | |
7205 | (mi_execute_command): Use TRY_CATCH. | |
7206 | * remote.c (struct start_remote_args): Remove. | |
7207 | (remote_start_remote): Update; change arguments. | |
7208 | (remote_open_1): Use TRY_CATCH. | |
7209 | ||
58438ac1 TT |
7210 | 2011-04-04 Tom Tromey <[email protected]> |
7211 | ||
7212 | * tracepoint.c (scope_info): Update. | |
7213 | * symtab.c (decode_line_spec): Update. | |
7214 | * python/python.c (gdbpy_decode_line): Update. | |
7215 | * linespec.h (decode_line_1): Update. | |
7216 | * linespec.c (decode_line_1): Remove 'not_found_ptr' argument. | |
7217 | (decode_compound, find_method, symtab_from_filename) | |
7218 | (decode_variable): Likewise. | |
7219 | * cli/cli-cmds.c (edit_command): Update. | |
7220 | (list_command): Update. | |
7221 | * breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr' | |
7222 | argument. | |
7223 | (create_breakpoint): Update. | |
7224 | (until_break_command): Update. | |
7225 | (addr_string_to_sals): Update. | |
7226 | (decode_line_spec_1): Update. | |
7227 | ||
b78a6381 TT |
7228 | 2011-04-04 Tom Tromey <[email protected]> |
7229 | ||
7230 | * breakpoint.c (struct captured_parse_breakpoint_args): Remove. | |
7231 | (do_captured_parse_breakpoint): Remove. | |
7232 | (create_breakpoint): `e' is now volatile. Remove `parse_args'. | |
7233 | Use TRY_CATCH directly. | |
7234 | ||
00174a86 TT |
7235 | 2011-04-04 Tom Tromey <[email protected]> |
7236 | ||
7237 | * symtab.h (free_symtab): Remove. | |
7238 | (forget_cached_source_info_for_objfile): Declare. | |
7239 | * symmisc.c (free_symtab): Remove. | |
7240 | * source.c (forget_cached_source_info_for_objfile): New function. | |
7241 | (forget_cached_source_info): Use it. | |
7242 | * objfiles.c (free_objfile): Simplify check before calling | |
7243 | clear_current_source_symtab_and_line. Call | |
7244 | forget_cached_source_info_for_objfile. | |
7245 | ||
30cc903e TT |
7246 | 2011-04-04 Tom Tromey <[email protected]> |
7247 | ||
7248 | * mdebugread.c (psymtab_to_symtab_1): Copy linetable to obstack. | |
7249 | (new_symtab): Don't set `free_code' on symtab. | |
7250 | (new_linetable): Properly handle size==0. | |
7251 | * symtab.h (struct symtab) <free_code, free_func>: Remove. | |
7252 | * symmisc.c (free_symtab): Don't free the linetable. Don't call | |
7253 | free_func. | |
7254 | * jv-lang.c (struct jv_per_objfile_data): New. | |
7255 | (jv_per_objfile_free): Free the data. | |
7256 | (get_dynamics_objfile): Allocate a jv_per_objfile_data. | |
7257 | (get_java_class_symtab): Set the `dict' field on the | |
7258 | jv_per_objfile_data. | |
7259 | (free_class_block): Remove. | |
7260 | * buildsym.c (end_symtab): Don't set `free_code' or `free_func' on | |
7261 | the symtab. | |
7262 | ||
0c2e6019 TT |
7263 | 2011-04-04 Tom Tromey <[email protected]> |
7264 | ||
7265 | * symfile.c (reread_symbols): Update. | |
7266 | * objfiles.h (struct objfile) <cp_namespace_symtab>: Remove | |
7267 | field. | |
7268 | * objfiles.c (allocate_objfile): Update. | |
7269 | * cp-support.h (cp_check_possible_namespace_symbols): Don't | |
7270 | declare. | |
7271 | * cp-namespace.c (lookup_symbol_file): Don't call | |
7272 | lookup_possible_namespace_symbol. | |
7273 | (initialize_namespace_symtab, get_possible_namespace_block) | |
7274 | (free_namespace_block, cp_check_possible_namespace_symbols) | |
7275 | (check_possible_namespace_symbols_loop) | |
7276 | (check_one_possible_namespace_symbol) | |
7277 | (lookup_possible_namespace_symbol): Remove. | |
7278 | (maintenance_cplus_namespace): Replace with notice. | |
7279 | (_initialize_cp_namespace): Deprecate `maint cplus namespace'. | |
7280 | ||
554d387d TT |
7281 | 2011-04-04 Tom Tromey <[email protected]> |
7282 | ||
7283 | * xcoffread.c (read_xcoff_symtab): Make `debugfmt' const. | |
7284 | * symtab.h (struct symtab) <producer, debugformat>: Now const. | |
7285 | * symmisc.c (free_symtab): Don't free debugformat. | |
7286 | * buildsym.h (struct subfile) <producer, debugformat>: Now const. | |
7287 | (record_debugformat, record_producer): Document. | |
7288 | * buildsym.c (end_symtab): Don't save debugformat and producer | |
7289 | names on obstack. | |
7290 | (end_symtab): Don't free debugformat and producer fields. | |
7291 | (record_debugformat): Don't call xstrdup. | |
7292 | (record_producer): Likewise. | |
7293 | ||
d4d4db8a TT |
7294 | 2011-04-04 Tom Tromey <[email protected]> |
7295 | ||
7296 | * source.c (find_source_lines): Remove LSEEK_NOT_LINEAR code. | |
7297 | (source_line_charpos, source_charpos_line): Remove. | |
7298 | ||
8903c50d TT |
7299 | 2011-04-04 Tom Tromey <[email protected]> |
7300 | ||
7301 | * symtab.h (domain_enum): Split in two... | |
7302 | (enum search_domain): New. | |
7303 | (search_symbols): Update. | |
7304 | * symtab.c (print_symbol_info, symtab_symbol_info): Remove | |
7305 | redundant declarations. | |
7306 | (search_symbols): Change 'kind' argument to search_domain. | |
7307 | Update. | |
7308 | (print_symbol_info): Likewise. | |
7309 | (symtab_symbol_info): Likewise. | |
7310 | * symfile.h (struct quick_symbol_functions) | |
7311 | <pre_expand_symtabs_matching>: Change type of 'kind' argument. | |
7312 | <expand_symtabs_matching>: Likewise. | |
7313 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Update. | |
7314 | (expand_symtabs_matching_via_partial): Update. | |
7315 | * dwarf2read.c (dw2_pre_expand_symtabs_matching): Update. | |
7316 | (dw2_expand_symtabs_for_function): Update. | |
7317 | * block.h: Moved anonymous enum... | |
7318 | * defs.h (enum block_enum): ... here. Now named. | |
7319 | ||
d9351f5f | 7320 | 2011-04-03 Joel Brobecker <[email protected]> |
7321 | ||
7322 | GDB 7.3 branch created (branch timestamp: 2011-04-01 01:00 UTC) | |
7323 | * version.in: Bump version to 7.3.50.20110403-cvs. | |
7324 | ||
d6e00af6 JB |
7325 | 2011-04-03 Joel Brobecker <[email protected]> |
7326 | ||
7327 | * NEWS: Create a new section for the next release branch. | |
7328 | Rename the section of the current branch, now that it has | |
7329 | been cut. | |
7330 | ||
2b9e5ea6 UW |
7331 | 2011-04-01 Ulrich Weigand <[email protected]> |
7332 | ||
7333 | * arm-tdep.c (arm_gdbarch_init): Enfore correct register number | |
7334 | for "fpscr" in target description. | |
7335 | ||
0cf03b49 JK |
7336 | 2011-04-01 Jan Kratochvil <[email protected]> |
7337 | ||
7338 | * dwarf2read.c (find_slot_in_mapped_hash): New variable back_to, | |
7339 | initialize it. Delay HASH initialization. Strip the part after open | |
7340 | parenthesis for languages with qualifiers. Call do_cleanups. | |
7341 | ||
5d901a73 TT |
7342 | 2011-04-01 Tom Tromey <[email protected]> |
7343 | ||
7344 | * utils.c (report_command_stats): Don't print `-' for negative | |
7345 | number. | |
7346 | ||
b0dd7688 JB |
7347 | 2011-04-01 Eric Botcazou <[email protected]> |
7348 | ||
7349 | * ada-lang.c (ada_is_simple_array_type, ada_value_slice_from_ptr) | |
7350 | (ada_value_slice, empty_array, to_fixed_array_type): Deal with | |
7351 | typedefs. | |
7352 | ||
956a9fb9 JB |
7353 | 2011-04-01 Joel Brobecker <[email protected]> |
7354 | ||
7355 | * breakpoint.h (bpdisp_text): Add declaration. | |
7356 | * breakpoint.c (bpdisp_text): Make non-static. | |
7357 | * ada-lang.c: #include "mi/mi-common.h". | |
7358 | (print_it_exception): Rewrite to improve GDB/MI output. | |
7359 | ||
3352110b PA |
7360 | 2011-04-01 Pedro Alves <[email protected]> |
7361 | ||
7362 | * arm-tdep.h (struct address_space): Add forward declaration. | |
7363 | ||
18819fa6 UW |
7364 | 2011-04-01 Ulrich Weigand <[email protected]> |
7365 | ||
7366 | * arm-tdep.h (arm_insert_single_step_breakpoint): Add prototype. | |
7367 | * arm-tdep.c (arm_override_mode): New global. | |
7368 | (arm_pc_is_thumb): Respect arm_override_mode. Remove single-step | |
7369 | execution mode heuristics. | |
7370 | (thumb_get_next_pc_raw): Remove INSERT_BKTP argument; always insert | |
7371 | second single-step breakpoint if needed, using | |
7372 | arm_insert_single_step_breakpoint. | |
7373 | (arm_get_next_pc_raw): Remove INSERT_BKTP argument. Only handle | |
7374 | ARM execution mode, do not call thumb_get_next_pc_raw. | |
7375 | (arm_get_next_pc): Encode execution mode in return value. Call | |
7376 | either arm_get_next_pc_raw or thumb_get_next_pc_raw. | |
7377 | (arm_insert_single_step_breakpoint): New function. | |
7378 | (arm_software_single_step): Call it. | |
7379 | * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): Add IS_THUMB | |
7380 | argument to return execution mode of sigreturn target. | |
7381 | (arm_linux_syscall_next_pc): Use it. | |
7382 | (arm_linux_copy_svc): Update call. | |
7383 | (arm_linux_software_single_step): Call | |
7384 | arm_insert_single_step_breakpoint. | |
7385 | ||
a6e293d1 JK |
7386 | 2011-03-31 Jan Kratochvil <[email protected]> |
7387 | ||
7388 | * dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in | |
7389 | the comment. | |
7390 | ||
a4c8e806 TT |
7391 | 2011-03-31 Tom Tromey <[email protected]> |
7392 | ||
7393 | * varobj.c (update_dynamic_varobj_children): Properly handle | |
7394 | errors from iterator. | |
7395 | ||
df5c6c50 JK |
7396 | 2011-03-31 Jan Kratochvil <[email protected]> |
7397 | ||
7398 | * dwarf2read.c (dwarf2_name): Initialize DEMANGLED. Avoid demangling | |
7399 | struct linkage name twice. | |
7400 | ||
1dae3efc TT |
7401 | 2011-03-31 Tom Tromey <[email protected]> |
7402 | ||
7403 | * python/py-prettyprint.c (print_stack_unless_memory_error): Add | |
7404 | missing ">" to message. | |
7405 | ||
f4f7ab05 TT |
7406 | 2011-03-31 Tom Tromey <[email protected]> |
7407 | ||
7408 | * varobj.c (instantiate_pretty_printer): Remove duplicate | |
7409 | 'return'. | |
7410 | ||
fcf250e2 UW |
7411 | 2011-03-31 Ulrich Weigand <[email protected]> |
7412 | ||
7413 | * i386-tdep.c (i386_frame_prev_register): Unwind SP from memory | |
7414 | if neither saved value nor register available (e.g. signal frame). | |
7415 | ||
ee6436e3 TJB |
7416 | 2011-03-31 Thiago Jung Bauermann <[email protected]> |
7417 | ||
7418 | * macroexp.c (expand): Avoid uninitialized variable | |
7419 | compiler warning. | |
7420 | ||
423f41a5 TJB |
7421 | 2011-03-31 Thiago Jung Bauermann <[email protected]> |
7422 | ||
7423 | * breakpoint.c (break_range_command): Fix typo in comment. | |
7424 | ||
f1310107 TJB |
7425 | 2011-03-31 Thiago Jung Bauermann <[email protected]> |
7426 | Sergio Durigan Junior <[email protected]> | |
7427 | ||
7428 | Implement support for PowerPC BookE ranged breakpoints. | |
7429 | * NEWS: Mention support for ranged breakpoints on embedded PowerPC. | |
7430 | * breakpoint.h (struct bp_target_info) <length>: New member | |
7431 | variable. | |
7432 | (struct breakpoint_ops) <breakpoint_hit>: Take struct bp_location | |
7433 | instead of struct breakpoint as argument, and also add ASPACE | |
7434 | and BP_ADDR arguments. Update all callers. | |
7435 | (struct breakpoint_ops) <print_one_detail>: New method. | |
7436 | (struct breakpoint) <addr_string_range_end>: New member variable. | |
7437 | * breakpoint.c (breakpoint_location_address_match): Add function | |
7438 | prototype. | |
7439 | (insert_bp_location): Set bl->target_info.length. | |
7440 | (breakpoint_here_p): Call breakpoint_location_address_match. | |
7441 | (moribund_breakpoint_here_p): Likewise. | |
7442 | (regular_breakpoint_inserted_here_p): Likewise. | |
7443 | (breakpoint_thread_match): Likewise. | |
7444 | (bpstat_stop_status): Likewise. | |
7445 | (bpstat_check_location): Move call to | |
7446 | breakpoint_ops.breakpoint_hit to the top. | |
7447 | (print_one_breakpoint_location): Call | |
7448 | breakpoint_ops.print_one_detail if available. | |
7449 | (breakpoint_address_match_range): New function. | |
7450 | (breakpoint_location_address_match): Likewise. | |
7451 | (breakpoint_locations_match): Compare the length field of the | |
7452 | locations too. | |
7453 | (hw_breakpoint_used_count): Count resources used by all locations | |
7454 | in a breakpoint, and use breakpoint_ops.resources_needed if | |
7455 | available. | |
7456 | (breakpoint_hit_ranged_breakpoint): New function. | |
7457 | (resources_needed_ranged_breakpoint): Likewise. | |
7458 | (print_it_ranged_breakpoint): Likewise. | |
7459 | (print_one_ranged_breakpoint): Likewise. | |
7460 | (print_one_detail_ranged_breakpoint): Likewise. | |
7461 | (print_mention_ranged_breakpoint): Likewise. | |
7462 | (print_recreate_ranged_breakpoint): Likewise. | |
7463 | (ranged_breakpoint_ops): New structure. | |
7464 | (find_breakpoint_range_end): New function. | |
7465 | (break_range_command): Likewise. | |
7466 | (delete_breakpoint): Free addr_string_range_end. | |
7467 | (update_breakpoint_locations): Add SALS_END argument. Update | |
7468 | all callers. Calculate breakpoint length if a non-zero SALS_END | |
7469 | is given. Call breakpoint_locations_match instead of | |
7470 | breakpoint_address_match. | |
7471 | (reset_breakpoint): Find SaL of the end of the range if B is a | |
7472 | ranged breakpoint. | |
7473 | (_initialize_breakpoint): Register break-range command. | |
7474 | * defs.h (print_core_address): Add function prototype. | |
7475 | * ppc-linux-nat.c (ppc_linux_ranged_break_num_registers): New | |
7476 | function. | |
7477 | (ppc_linux_insert_hw_breakpoint): Support ranged breakpoints. | |
7478 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
7479 | (_initialize_ppc_linux_nat): Initialize | |
7480 | to_ranged_break_num_registers. | |
7481 | * target.c (update_current_target): Add comment about | |
7482 | to_ranged_break_num_registers. | |
7483 | (target_ranged_break_num_registers): New function. | |
7484 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
7485 | New method. | |
7486 | (target_ranged_break_num_registers): Add function prototype. | |
7487 | * ui-out.c (ui_out_field_core_addr): Move address-printing logic to ... | |
7488 | * utils.c (print_core_address): ... here. | |
7489 | ||
02d20e4a UW |
7490 | 2011-03-31 Ulrich Weigand <[email protected]> |
7491 | ||
7492 | * breakpoint.c (addr_string_to_sals): Avoid uninitialized | |
7493 | variable compiler warning. | |
7494 | ||
ef23e705 TJB |
7495 | 2011-03-30 Thiago Jung Bauermann <[email protected]> |
7496 | ||
7497 | * breakpoint.c (breakpoint_re_set_one): Factor out breakpoint-resetting | |
7498 | code from here ... | |
7499 | (re_set_breakpoint): ... to here ... | |
7500 | (addr_string_to_sals): ... and here. | |
7501 | ||
311e6ab3 PM |
7502 | 2011-03-29 Pierre Muller <[email protected]> |
7503 | ||
7504 | * Makefile.in (SFILES): Add missing C sources. | |
7505 | (HFILES_NO_SRCDIR): Remove gdbserver subdirectory headers. | |
7506 | Add missing headers. | |
7507 | ||
acd1d99c MF |
7508 | 2011-03-29 Mike Frysinger <[email protected]> |
7509 | ||
7510 | * .gitignore: New file. | |
7511 | ||
66ee2731 MF |
7512 | 2011-03-29 Mike Frysinger <[email protected]> |
7513 | ||
7514 | * NEWS: Mention new cfi device simulation. | |
7515 | ||
53832f31 TT |
7516 | 2011-03-29 Tom Tromey <[email protected]> |
7517 | ||
7518 | * dwarf2read.c (fixup_partial_die): Handle linkage name on | |
7519 | otherwise anonymous types. | |
7520 | (dwarf2_name): Likewise. | |
7521 | * valops.c (value_struct_elt_for_reference): Refine artificial | |
7522 | type logic. Call error if j==-1. | |
7523 | ||
09b58708 JK |
7524 | 2011-03-29 Andreas Tobler <[email protected]> |
7525 | ||
7526 | Fix false GCC warning. | |
7527 | * infcall.c (find_function_addr): Initialize funaddr. | |
7528 | ||
6023c606 PM |
7529 | 2011-03-29 Pierre Muller <[email protected]> |
7530 | ||
7531 | Fix mingw compilation with --enable-targets=all. | |
7532 | * remote-mips.c (gdb_usleep.h): Include header. | |
7533 | (mips_enter_debug): Use gdb_usleep instead of sleep. | |
7534 | ||
0e30163f JK |
7535 | 2011-03-28 Jan Kratochvil <[email protected]> |
7536 | ||
7537 | Support resolution of STT_GNU_IFUNC via breakpoints. | |
7538 | * breakpoint.c (print_it_typical): Support bp_gnu_ifunc_resolver and | |
7539 | bp_gnu_ifunc_resolver_return. | |
7540 | (bpstat_what): Rename parameter to bs_head, new variable bs, adjust | |
7541 | the loop. Support bp_gnu_ifunc_resolver and | |
7542 | bp_gnu_ifunc_resolver_return. New comment after the loop. New loop | |
7543 | for bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return | |
7544 | breakpoints. | |
7545 | (bptype_string, print_one_breakpoint_location): Support | |
7546 | bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. | |
7547 | (user_settable_breakpoint): Return true also for | |
7548 | bp_gnu_ifunc_resolver. | |
7549 | (allocate_bp_location): Support bp_gnu_ifunc_resolver and | |
7550 | bp_gnu_ifunc_resolver_return. | |
7551 | (set_breakpoint_location_function): New parameter explicit_loc, | |
7552 | describe it. Call find_pc_partial_function_gnu_ifunc with new | |
7553 | variable IS_GNU_IFUNC and adjust the address for STT_GNU_IFUNC if | |
7554 | EXPLICIT_LOC is not set. | |
7555 | (set_raw_breakpoint): Set EXPLICIT_LOC for | |
7556 | set_breakpoint_location_function. | |
7557 | (clone_momentary_breakpoint): Use true for EXPLICIT_LOC of | |
7558 | set_breakpoint_location_function. | |
7559 | (mention): Support bp_gnu_ifunc_resolver and | |
7560 | bp_gnu_ifunc_resolver_return. | |
7561 | (add_location_to_breakpoint): Set EXPLICIT_LOC for | |
7562 | set_breakpoint_location_function. | |
7563 | (update_breakpoint_locations): Remove static. | |
7564 | (breakpoint_re_set_one): Support bp_gnu_ifunc_resolver and | |
7565 | bp_gnu_ifunc_resolver_return. | |
7566 | * breakpoint.h (enum bptype): New fields bp_gnu_ifunc_resolver and | |
7567 | bp_gnu_ifunc_resolver_return. | |
7568 | (update_breakpoint_locations): New declaration. | |
7569 | * elfread.c: Include gdbthread.h and regcache.h. | |
7570 | (elf_gnu_ifunc_resolver_stop, elf_gnu_ifunc_resolver_return_stop): New | |
7571 | functions. | |
7572 | (elf_gnu_ifunc_fns): Install them. | |
7573 | * minsyms.c (stub_gnu_ifunc_resolver_stop) | |
7574 | (stub_gnu_ifunc_resolver_return_stop): New functions. | |
7575 | (stub_gnu_ifunc_fns): Install them. | |
7576 | * symtab.h (struct gnu_ifunc_fns): New fields gnu_ifunc_resolver_stop | |
7577 | and gnu_ifunc_resolver_return_stop. | |
7578 | (gnu_ifunc_resolver_stop, gnu_ifunc_resolver_return_stop): New. | |
7579 | ||
07be84bf JK |
7580 | 2011-03-28 Jan Kratochvil <[email protected]> |
7581 | ||
7582 | STT_GNU_IFUNC reader implementation. | |
7583 | * elfread.c: Include gdbtypes.h, value.h and infcall.h. | |
7584 | (SYMBOL_GOT_PLT_SUFFIX, elf_rel_plt_read) | |
7585 | (elf_objfile_gnu_ifunc_cache_data, struct elf_gnu_ifunc_cache) | |
7586 | (elf_gnu_ifunc_cache_hash, elf_gnu_ifunc_cache_eq) | |
7587 | (elf_gnu_ifunc_record_cache, elf_gnu_ifunc_resolve_by_cache) | |
7588 | (elf_gnu_ifunc_resolve_by_got, elf_gnu_ifunc_resolve_name) | |
7589 | (elf_gnu_ifunc_resolve_addr): New. | |
7590 | (elf_symfile_read): Call elf_rel_plt_read. | |
7591 | (elf_gnu_ifunc_fns): New. | |
7592 | (_initialize_elfread): Initialize elf_objfile_gnu_ifunc_cache_data. | |
7593 | Install elf_gnu_ifunc_fns. | |
7594 | * infcall.c (find_function_return_type): New function. | |
7595 | (find_function_addr): Resolve TYPE_GNU_IFUNC functions, if possible. | |
7596 | * minsyms.c (stub_gnu_ifunc_resolve_addr) | |
7597 | (stub_gnu_ifunc_resolve_name): New functions. | |
7598 | (stub_gnu_ifunc_fns, gnu_ifunc_fns_p): New variables. | |
7599 | * symtab.h (struct gnu_ifunc_fns, gnu_ifunc_resolve_addr) | |
7600 | (gnu_ifunc_resolve_name, gnu_ifunc_fns_p): New. | |
7601 | ||
300f8e10 JK |
7602 | 2011-03-28 Jan Kratochvil <[email protected]> |
7603 | ||
7604 | Code cleanup for later STT_GNU_IFUNC support. | |
7605 | * infcall.c (find_function_addr): Remove variable code, use explicit | |
7606 | dereferences for it. Move VALUE_TYPE initialization later. | |
7607 | ||
11c81455 JK |
7608 | 2011-03-28 Jan Kratochvil <[email protected]> |
7609 | ||
7610 | GDB find_pc_partial_function support for STT_GNU_IFUNC. | |
7611 | * blockframe.c (cache_pc_function_is_gnu_ifunc): New variable. | |
7612 | (clear_pc_function_cache): Clear it. | |
7613 | (find_pc_partial_function): Rename to ... | |
7614 | (find_pc_partial_function_gnu_ifunc): ... this function. New | |
7615 | parameter is_gnu_ifunc_p, describe it. Set *IS_GNU_IFUNC_P. | |
7616 | (find_pc_partial_function): New wrapper for this function. | |
7617 | * symtab.h (find_pc_partial_function_gnu_ifunc): New declaration. | |
7618 | ||
0875794a JK |
7619 | 2011-03-28 Jan Kratochvil <[email protected]> |
7620 | ||
7621 | GDB internal type support for STT_GNU_IFUNC. | |
7622 | * elfread.c (record_minimal_symbol): Support mst_text_gnu_ifunc. | |
7623 | (elf_symtab_read): Set mst_text_gnu_ifunc for | |
7624 | BSF_GNU_INDIRECT_FUNCTION. | |
7625 | * eval.c (evaluate_subexp_standard): Support TYPE_GNU_IFUNC. | |
7626 | * gdbtypes.c (init_type): Support TYPE_FLAG_GNU_IFUNC, | |
7627 | builtin_func_func, nodebug_text_gnu_ifunc_symbol and | |
7628 | nodebug_got_plt_symbol. | |
7629 | * gdbtypes.h (enum type_flag_value): New entry TYPE_FLAG_GNU_IFUNC. | |
7630 | (TYPE_GNU_IFUNC): New. | |
7631 | (struct main_type): New field flag_gnu_ifunc. | |
7632 | (struct builtin_type): New field builtin_func_func. | |
7633 | (struct objfile_type): New fields nodebug_text_gnu_ifunc_symbol and | |
7634 | nodebug_got_plt_symbol. | |
7635 | * minsyms.c (lookup_minimal_symbol_text): Support mst_text_gnu_ifunc. | |
7636 | (in_gnu_ifunc_stub): New. | |
7637 | (prim_record_minimal_symbol, find_solib_trampoline_target): Support | |
7638 | mst_text_gnu_ifunc. | |
7639 | * parse.c (write_exp_msymbol): New variable ifunc_msym. Detect and | |
7640 | support mst_text_gnu_ifunc. Support mst_slot_got_plt. | |
7641 | * solib-svr4.c (svr4_in_dynsym_resolve_code): Return true also for | |
7642 | in_gnu_ifunc_stub. | |
7643 | * symmisc.c (dump_msymbols): Support mst_text_gnu_ifunc. | |
7644 | * symtab.c (search_symbols): Likewise. | |
7645 | * symtab.h (enum minimal_symbol_type): New fields mst_text_gnu_ifunc | |
7646 | and mst_slot_got_plt. | |
7647 | (in_gnu_ifunc_stub): New declaration. | |
7648 | ||
d0fb5eae JK |
7649 | 2011-03-28 Jan Kratochvil <[email protected]> |
7650 | ||
7651 | Support a ring of related breakpoints. | |
7652 | * breakpoint.c (watchpoint_del_at_next_stop): New, move here code from | |
7653 | other functions, add gdb_assert. | |
7654 | (update_watchpoint, watchpoint_check): Add gdb_assert. Use | |
7655 | watchpoint_del_at_next_stop. | |
7656 | (bpstat_check_watchpoint): Use watchpoint_del_at_next_stop. | |
7657 | (bpstat_stop_status): Handle ring in related_breakpoint. | |
7658 | (set_raw_breakpoint_without_location): Initialize ring in | |
7659 | related_breakpoint. | |
7660 | (delete_breakpoint): Handle ring in related_breakpoint, use | |
7661 | watchpoint_del_at_next_stop. | |
7662 | (map_breakpoint_numbers): Handle ring in related_breakpoint. | |
7663 | ||
9cded63f TT |
7664 | 2011-03-28 Tom Tromey <[email protected]> |
7665 | ||
7666 | PR symtab/12441: | |
7667 | * dwarf2read.c (prepare_one_comp_unit): Don't call set_cu_language | |
7668 | with `language_minimal'. | |
7669 | ||
467d42c4 UW |
7670 | 2011-03-25 Ulrich Weigand <[email protected]> |
7671 | ||
7672 | * arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE | |
7673 | instead of checking for STT_ARM_TFUNC symbol type. | |
7674 | ||
62853458 TT |
7675 | 2011-03-25 Tom Tromey <[email protected]> |
7676 | ||
7677 | * linespec.c (symbol_found): Restore line-based result for | |
7678 | non-LOC_LABEL symbols. | |
7679 | ||
a7417d46 KT |
7680 | 2011-03-25 Kai Tietz <[email protected]> |
7681 | ||
7682 | * tui/tui-source.c (tui_set_source_content): Use filename_cmp | |
7683 | instead of strcmp for comparison. | |
7684 | (tui_source_is_displayed): Likewise. | |
7685 | * tui/tui-winsource.c (tui_update_breakpoint_info): Likewise. | |
7686 | ||
55f1336d TT |
7687 | 2011-03-24 Mark Wielaard <[email protected]> |
7688 | ||
f33edef8 PP |
7689 | * dwarf2read.c (lookup_signatured_type): Use DW_FORM_ref_sig8 in |
7690 | complaint. | |
7691 | (skip_one_die): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
7692 | (find_partial_die_in_comp_unit): Likewise in comment. | |
7693 | (read_attribute_value): Likewise. | |
7694 | (lookup_die_type): Likewise. | |
7695 | (dwarf_form_name): Likewise. | |
7696 | (dump_die_shallow): Likewise. | |
7697 | (follow_die_ref_or_sig): Likewise. | |
55f1336d | 7698 | |
9ef07c8c TT |
7699 | 2011-03-24 Tom Tromey <[email protected]> |
7700 | ||
7701 | PR breakpoints/11816: | |
7702 | * linespec.c (decode_line_1): Parse `function:label' linespecs. | |
7703 | (decode_compound): Update. | |
7704 | (find_function_symbol): New function. | |
7705 | (decode_dollar): Update. | |
7706 | (decode_label): Add 'function_symbol' parameter. Handle | |
7707 | function-relative labels. | |
7708 | (decode_variable): Update. | |
7709 | (symbol_found): Add 'function_symbol' parameter. Use label's PC, | |
7710 | not its line. Set `special_display' and canonical name for | |
7711 | labels. | |
7712 | ||
56435ebe TT |
7713 | 2011-03-24 Tom Tromey <[email protected]> |
7714 | ||
7715 | * linespec.h (struct linespec_result) <special_display>: New | |
7716 | field. | |
7717 | * breakpoint.h (struct breakpoint) <display_canonical>: New | |
7718 | field. | |
7719 | * breakpoint.c (print_breakpoint_location): Respect | |
7720 | display_canonical. | |
7721 | (create_breakpoint_sal): Add 'display_canonical' parameter. | |
7722 | (create_breakpoints_sal): Update. | |
7723 | (create_breakpoint): Update. | |
7724 | ||
7efd8fc2 TT |
7725 | 2011-03-24 Tom Tromey <[email protected]> |
7726 | ||
7727 | * symtab.c (decode_line_spec): Update. | |
7728 | * linespec.c (build_canonical_line_spec): Change type of | |
7729 | 'canonical'. | |
7730 | (decode_line_2, decode_line_1, decode_objc, decode_compound) | |
7731 | (find_method, decode_all_digits, decode_dollar, decode_label) | |
7732 | (symbol_found): Likewise. | |
7733 | (init_linespec_result): New function. | |
7734 | * breakpoint.c (struct captured_parse_breakpoint_args) | |
7735 | <canonical_p>: New field, replaces addr_string_p. | |
7736 | (create_breakpoints_sal): Add 'canonical' parameter, replacing | |
7737 | 'addr_string'. | |
7738 | (parse_breakpoint_sals): Likewise. | |
7739 | (do_captured_parse_breakpoint): Update. | |
7740 | (create_breakpoint): Use struct linespec_result. | |
7741 | (until_break_command): Update. | |
7742 | (breakpoint_re_set_one): Update. | |
7743 | (decode_line_spec_1): Update. | |
7744 | * linespec.h (struct linespec_result): New. | |
7745 | (init_linespec_result): Declare. | |
7746 | ||
788c8b10 PA |
7747 | 2011-03-23 Pedro Alves <[email protected]> |
7748 | ||
7749 | * regcache.c (regcache_raw_read): If the target didn't supply a | |
7750 | given raw register, mark it as unavailable. | |
7751 | ||
0ba1096a KT |
7752 | 2011-03-23 Kai Tietz <[email protected]> |
7753 | ||
7754 | * breakpoint.c (clear_command): Use filename_cmp | |
7755 | instead of strcmp for comparison. | |
7756 | * buildsym.c (watch_main_source_file_lossage): Likewise. | |
7757 | (patch_subfile_names): Use IS_DIR_SEPARATOR instead of | |
7758 | checking just for slash. | |
7759 | * dbxread.c (read_dbx_symtab): Use lbasename instead of | |
7760 | strrchr and filename_cmp instead of strcmp for filenames. | |
7761 | (add_old_header_file): Use filename_cmp | |
7762 | instead of strcmp for comparison. | |
7763 | * exec.c (exec_set_section_address): Likewise. | |
7764 | * macrotab.c (macro_lookup_inclusion): Likewise. | |
7765 | (macro_lookup_inclusion): Likewise. | |
7766 | * elfread.c (_initialize_elfread): Likewise. | |
7767 | (elfstab_offset_sections): Likewise. | |
7768 | (elfstab_offset_sections): Use lbasename instead of | |
7769 | strrchr. | |
7770 | * mdebugread.c (parse_partial_symbols): Likewise. | |
7771 | (arse_partial_symbols): Use filename_(n)cmp instead of | |
7772 | str(n)cmp for comparison. | |
7773 | * minsyms.c (lookup_minimal_symbol): Likewise. | |
7774 | * psymtab.c (read_psymtabs_with_filename): Likewise. | |
7775 | * solib.c (solib_read_symbols): Likewise. | |
7776 | (reload_shared_libraries_1): Likewise. | |
7777 | * symmisc.c (maintenance_print_symbols): Likewise. | |
7778 | * symfile.c (separate_debug_file_exists): Likewise. | |
7779 | (reread_symbols): Likewise. | |
7780 | (find_separate_debug_file_by_debuglink): Likewise. | |
7781 | * remote-fileio.c (remote_fileio_func_rename): Likewise. | |
7782 | * source.c (add_path): Likewise. | |
7783 | * symtab.c (filename_seen): Likewise. | |
7784 | (file_matches): Likewise. | |
7785 | (print_symbol_info): Likewise. | |
7786 | (maybe_add_partial_symtab_filename): Likewise. | |
7787 | (make_source_files_completion_list): Likewise. | |
7788 | * xml-syscall.c (init_sysinfo): Likewise. | |
7789 | * windows-nat.c (_initialize_check_for_gdb_ini): Use | |
7790 | IS_DIR_SEPARATOR for checking for trailing path separator. | |
7791 | ||
dd90784c JK |
7792 | 2011-03-22 Jan Kratochvil <[email protected]> |
7793 | ||
7794 | * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_entry_value. New | |
7795 | label abort_expression. | |
7796 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle | |
7797 | DWARF_VALUE_OPTIMIZED_OUT. | |
7798 | ||
3167638f JK |
7799 | 2011-03-22 Jan Kratochvil <[email protected]> |
7800 | ||
7801 | Code cleanup. | |
7802 | * c-typeprint.c (c_type_print_args): Change parameter show_artificial | |
7803 | to linkage_name. Invert its value. Update the function comment. | |
7804 | (c_type_print_varspec_suffix): Invert it at the caller. | |
7805 | * dwarf2read.c (dwarf2_compute_name): Invert it at the caller. | |
7806 | ||
ce406537 PA |
7807 | 2011-03-22 Pedro Alves <[email protected]> |
7808 | ||
7809 | * infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR | |
7810 | errors when reading the `stop_pc'. | |
7811 | * printcmd.c (pc_prefix): Use get_frame_pc_if_available instead of | |
7812 | get_frame_pc. | |
7813 | ||
da5d4055 PM |
7814 | 2011-03-22 Phil Muldoon <[email protected]> |
7815 | ||
7816 | * NEWS: Document gdb.Write stream keyword. | |
7817 | ||
29e0eb9c JK |
7818 | 2011-03-22 Jan Kratochvil <[email protected]> |
7819 | ||
7820 | Revert: | |
7821 | 2011-03-21 Jan Kratochvil <[email protected]> | |
7822 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
7823 | (dwarf2_add_field): Fix new_field->accessibility for | |
7824 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
7825 | ||
05775840 PM |
7826 | 2011-03-22 Phil Muldoon <[email protected]> |
7827 | ||
f33edef8 | 7828 | PR python/12183 |
05775840 PM |
7829 | |
7830 | * python/py-function.c (fnpy_call): Treat GdbErrors differently to | |
7831 | other error classes. Do not print stack trace. | |
7832 | ||
a0cb7835 JK |
7833 | 2011-03-21 Jan Kratochvil <[email protected]> |
7834 | ||
7835 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
7836 | (dwarf2_add_field): Fix new_field->accessibility for | |
7837 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
7838 | ||
d19f7eee UW |
7839 | 2011-03-21 Ulrich Weigand <[email protected]> |
7840 | ||
7841 | * arm-tdep.c (arm_analyze_prologue): Do not abort parsing when | |
7842 | encountering a load via a non-SP register. | |
7843 | ||
4a2fbb50 UW |
7844 | 2011-03-21 Ulrich Weigand <[email protected]> |
7845 | ||
7846 | * tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason | |
7847 | field in returned unwinder. | |
7848 | ||
3489610d JB |
7849 | 2012-03-21 Jan Kratochvil <[email protected]> |
7850 | ||
7851 | * ada-lang.c (replace_operator_with_call): Copy also GDBARCH. | |
7852 | ||
8c1a34e7 JB |
7853 | 2012-03-21 Joel Brobecker <[email protected]> |
7854 | ||
7855 | * ada-lang.c (replace_operator_with_call): Use xzalloc instead | |
7856 | of xmalloc. | |
7857 | ||
8fbca658 PA |
7858 | 2012-03-18 Pedro Alves <[email protected]> |
7859 | ||
7860 | * frame.c (frame_unwind_register): Throw an error if unwinding the | |
7861 | register failed. | |
7862 | * get_prev_frame_1 (get_prev_frame_1): Ask the unwinder if there's | |
7863 | an unwind stop reason. | |
7864 | (frame_stop_reason_string): Handle UNWIND_UNAVAILABLE. | |
7865 | * frame.h (enum unwind_stop_reason) <UNWIND_OUTERMOST, | |
7866 | UNWIND_UNAVAILABLE>: New. | |
7867 | * inline-frame.c (inline_frame_unwind): Install | |
7868 | default_frame_unwind_stop_reason. | |
7869 | * frame-unwind.c: Include "exceptions.h". | |
7870 | (frame_unwind_find_by_frame): Swallow NOT_AVAILABLE_ERROR errors. | |
7871 | (default_frame_unwind_stop_reason): New. | |
7872 | * frame-unwind.h (frame_unwind_stop_reason_ftype): New typedef. | |
7873 | (default_frame_unwind_stop_reason): Declare. | |
7874 | (struct frame_unwind) <stop_reason>: New function pointer. | |
7875 | ||
7876 | * dummy-frame.c: Install default_frame_unwind_stop_reason. | |
7877 | * dwarf2-frame.c: Include exceptions.h. | |
7878 | (struct dwarf2_frame_cache) <unavailable_retaddr>: New field. | |
7879 | (dwarf2_frame_cache): Swallow NOT_AVAILABLE_ERROR errors when | |
7880 | computing the CFA. If such an error was thrown, set | |
7881 | unavailable_retaddr. | |
7882 | (dwarf2_frame_unwind_stop_reason): New. | |
7883 | (dwarf2_frame_this_id): Don't build a frame id if the CFA was | |
7884 | unavailable. | |
7885 | (dwarf2_frame_unwind): Install dwarf2_frame_unwind_stop_reason. | |
7886 | (dwarf2_signal_frame_unwind): Ditto. | |
7887 | ||
7888 | * amd64-tdep.c: Include "exceptions.h". | |
7889 | (struct amd64_frame_cache): New field "base_p". | |
7890 | (amd64_init_frame_cache): Clear it. | |
7891 | (amd64_frame_cache_1): New, factored out from amd64_frame_cache. | |
7892 | Avoid reading registers with functions that throw if the register | |
7893 | is not necessary to compute the frame base. | |
7894 | (amd64_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
7895 | swallowing NOT_AVAILABLE_ERROR. | |
7896 | (amd64_frame_unwind_stop_reason): New. | |
7897 | (amd64_frame_this_id): Don't build a frame id if the frame base | |
7898 | was unavailable. | |
7899 | (amd64_frame_unwind): Install amd64_frame_unwind_stop_reason. | |
7900 | (amd64_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
7901 | base_p if the frame base was computable. | |
7902 | (amd64_sigtramp_frame_unwind_stop_reason): New. | |
7903 | (amd64_sigtramp_frame_this_id): Don't build a frame id if the | |
7904 | frame base was unavailable. | |
7905 | (amd64_sigtramp_frame_unwind): Install | |
7906 | amd64_sigtramp_frame_unwind_stop_reason. | |
7907 | (amd64_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
7908 | base_p if the frame base was computable. | |
7909 | (amd64_epilogue_frame_unwind_stop_reason): New. | |
7910 | (amd64_epilogue_frame_this_id): Don't build a frame id if the | |
7911 | frame base was unavailable. | |
7912 | (amd64_epilogue_frame_unwind): Install | |
7913 | amd64_epilogue_frame_unwind_stop_reason. | |
7914 | * i386-tdep.c: Include "exceptions.h". | |
7915 | (struct i386_frame_cache): New field "base_p". | |
7916 | (i386_init_frame_cache): Clear it. | |
7917 | (i386_frame_cache_1): New, factored out from amd64_frame_cache. | |
7918 | Avoid reading registers with functions that throw if the register | |
7919 | is not necessary to compute the frame base. | |
7920 | (i386_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
7921 | swallowing NOT_AVAILABLE_ERROR. | |
7922 | (i386_frame_unwind_stop_reason): New. | |
7923 | (i386_frame_this_id): Don't build a frame id if the frame base was | |
7924 | unavailable. | |
7925 | (i386_frame_prev_register): Handle unavailable SP. | |
7926 | (i386_frame_unwind): Install i386_frame_unwind_stop_reason. | |
7927 | (i386_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
7928 | base_p if the frame base was computable. | |
7929 | (i386_epilogue_frame_unwind_stop_reason): New. | |
7930 | (i386_epilogue_frame_this_id): Don't build a frame id if the frame | |
7931 | base was unavailable. | |
7932 | (i386_epilogue_frame_unwind): Install | |
7933 | i386_epilogue_frame_unwind_stop_reason. | |
7934 | (i386_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
7935 | base_p if the frame base was computable. | |
7936 | (i386_sigtramp_frame_unwind_stop_reason): New. | |
7937 | (i386_sigtramp_frame_this_id): Don't build a frame id if the frame | |
7938 | base was unavailable. | |
7939 | (i386_sigtramp_frame_unwind): Install | |
7940 | i386_sigtramp_frame_unwind_stop_reason. | |
7941 | * sentinel-frame.c (sentinel_frame_prev_register): Use the value | |
7942 | type's size, not the register's. | |
7943 | (sentinel_frame_unwind): Install default_frame_unwind_stop_reason. | |
7944 | ||
7945 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind): Install | |
7946 | default_frame_unwind_stop_reason. | |
7947 | * alpha-tdep.c (alpha_sigtramp_frame_unwind) | |
7948 | (alpha_heuristic_frame_unwind): Ditto. | |
7949 | * amd64obsd-tdep.c (amd64obsd_trapframe_unwind): Ditto. | |
7950 | * arm-tdep.c (arm_prologue_unwind, arm_stub_unwind): Ditto. | |
7951 | * avr-tdep.c (avr_frame_unwind): Ditto. | |
7952 | * cris-tdep.c (cris_sigtramp_frame_unwind, cris_frame_unwind): | |
7953 | Ditto. | |
7954 | * frv-linux-tdep.c (frv_linux_sigtramp_frame_unwind): Ditto. | |
7955 | * frv-tdep.c (frv_frame_unwind): Ditto. | |
7956 | * h8300-tdep.c (h8300_frame_unwind): Ditto. | |
7957 | * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind): Ditto. | |
7958 | * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind): Ditto. | |
7959 | * hppa-tdep.c (hppa_frame_unwind, hppa_fallback_frame_unwind) | |
7960 | (hppa_stub_frame_unwind): Ditto. | |
7961 | * i386obsd-tdep.c (i386obsd_trapframe_unwind): Ditto. | |
7962 | * ia64-tdep.c (ia64_frame_unwind, ia64_sigtramp_frame_unwind) | |
7963 | (ia64_libunwind_frame_unwind) | |
7964 | (ia64_libunwind_sigtramp_frame_unwind): Ditto. | |
7965 | * iq2000-tdep.c (iq2000_frame_unwind): Ditto. | |
7966 | * lm32-tdep.c (lm32_frame_unwind): Ditto. | |
7967 | * m32c-tdep.c (m32c_unwind): Ditto. | |
7968 | * m32r-linux-tdep.c (m32r_linux_sigtramp_frame_unwind): Ditto. | |
7969 | * m32r-tdep.c (m32r_frame_unwind): Ditto. | |
7970 | * m68hc11-tdep.c (m68hc11_frame_unwind): Ditto. | |
7971 | * m68k-tdep.c (m68k_frame_unwind): Ditto. | |
7972 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_unwind): Ditto. | |
7973 | * m88k-tdep.c (m88k_frame_unwind): Ditto. | |
7974 | * mep-tdep.c (mep_frame_unwind): Ditto. | |
7975 | * microblaze-tdep.c (microblaze_frame_unwind): Ditto. | |
7976 | * mips-tdep.c (mips_insn16_frame_unwind, mips_insn32_frame_unwind) | |
7977 | (mips_stub_frame_unwind): Ditto. | |
7978 | * mn10300-tdep.c (mn10300_frame_unwind): Ditto. | |
7979 | * moxie-tdep.c (moxie_frame_unwind): Ditto. | |
7980 | * mt-tdep.c (mt_frame_unwind): Ditto. | |
7981 | * ppc-linux-tdep.c (ppu2spu_unwind): Ditto. | |
7982 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_unwind): Ditto. | |
7983 | * rs6000-tdep.c (rs6000_frame_unwind): Ditto. | |
7984 | * s390-tdep.c (s390_frame_unwind, s390_stub_frame_unwind) | |
7985 | (s390_sigtramp_frame_unwind): Ditto. | |
7986 | * score-tdep.c (score_prologue_unwind): Ditto. | |
7987 | * sh-tdep.c (sh_frame_unwind): Ditto. | |
7988 | * sh64-tdep.c (sh64_frame_unwind): Ditto. | |
7989 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_unwind): Ditto. | |
7990 | * sparc-tdep.c (sparc32_frame_unwind): Ditto. | |
7991 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind): Ditto. | |
7992 | * sparc64-tdep.c (sparc64_frame_unwind): Ditto. | |
7993 | * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_unwind): Ditto. | |
7994 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_unwind): Ditto. | |
7995 | * sparc64obsd-tdep.c (sparc64obsd_frame_unwind) | |
7996 | (sparc64obsd_trapframe_unwind): Ditto. | |
7997 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_unwind): Ditto. | |
7998 | * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_unwind): Ditto. | |
7999 | * spu-tdep.c (spu_frame_unwind, spu2ppu_unwind): Ditto. | |
8000 | * v850-tdep.c (v850_frame_unwind): Ditto. | |
8001 | * vax-tdep.c (vax_frame_unwind): Ditto. | |
8002 | * vaxobsd-tdep.c (vaxobsd_sigtramp_frame_unwind): Ditto. | |
8003 | * xstormy16-tdep.c (frame_unwind xstormy16_frame_unwind): Ditto. | |
8004 | * xtensa-tdep.c (xtensa_unwind): Ditto. | |
8005 | ||
f23d1b92 PA |
8006 | 2011-03-18 Pedro Alves <[email protected]> |
8007 | ||
8008 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Assume | |
8009 | there's always a frame. Use get_frame_pc_if_available instead of | |
8010 | get_frame_pc, and if there's no PC available, don't look up a | |
8011 | symtab. | |
8012 | ||
1d4f5741 PA |
8013 | 2011-03-18 Pedro Alves <[email protected]> |
8014 | ||
8015 | * stack.c (print_frame_local_vars, print_frame_arg_vars): Handle | |
8016 | unavailable PC. | |
8017 | ||
dba09041 PA |
8018 | 2011-03-18 Pedro Alves <[email protected]> |
8019 | ||
8020 | * tracepoint.c (set_traceframe_context): Handle unavailable PC | |
8021 | gracefully. | |
8022 | ||
9a26e44c PA |
8023 | 2011-03-18 Pedro Alves <[email protected]> |
8024 | ||
8025 | * frame.h (frame_unwind_caller_pc_if_available): Declare. | |
8026 | * frame.c (frame_unwind_caller_pc_if_available): New. | |
8027 | * stack.c (frame_info): Handle unavailable PC. | |
8028 | ||
8029 | 2011-03-18 Pedro Alves <[email protected]> | |
8030 | ||
8031 | * frame.c (frame_unwind_pc): Rename to ... | |
8032 | (frame_unwind_pc_if_available): ... this. New `pc' output | |
8033 | parameter. Change return type to int. Gracefully handle | |
8034 | gdbarch_unwind_pc throwing NOT_AVAILABLE_ERROR. Return 0 if that | |
8035 | happened, or 1 otherwise. | |
8036 | (frame_unwind_pc): Reimplement on top of | |
8037 | frame_unwind_pc_if_available. | |
8038 | (get_frame_func): Rename to ... | |
8039 | (get_frame_func_if_available): New `pc' output parameter. Change | |
8040 | return type to int. Gracefully handle the PC not being available. | |
8041 | (get_frame_func): Reimplement on top of | |
8042 | get_frame_func_if_available. | |
8043 | (select_frame): Handle the PC being unavailable. | |
8044 | (get_prev_frame): Handle the PC being unavailable. | |
8045 | (get_frame_pc_if_available): New. | |
8046 | (get_frame_address_in_block_if_available): New. | |
8047 | (find_frame_sal): Handle the frame PC not being available. | |
8048 | * frame.h (get_frame_pc_if_available): Declare. | |
8049 | (get_frame_address_in_block_if_available): Declare. | |
8050 | (get_frame_func_if_available): Declare. | |
8051 | * stack.c (print_frame_info): Handle the PC being unavailable. | |
8052 | (find_frame_funname): Ditto. | |
8053 | (print_frame): Handle the PC being unavailable. | |
8054 | (get_frame_language): Ditto. | |
8055 | * blockframe.c (get_frame_block): Ditto. | |
8056 | * macroscope.c (default_macro_scope): Ditto. | |
8057 | * tui/tui-stack.c (tui_show_frame_info): Ditto. | |
8058 | ||
8059 | 2011-03-18 Pedro Alves <[email protected]> | |
8060 | ||
8061 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Catch | |
8062 | NOT_AVAILABLE_ERROR when evaluating the location expression. | |
8063 | ||
8064 | 2011-03-18 Pedro Alves <[email protected]> | |
8065 | ||
8066 | * dwarf2loc.c (read_pieced_value): Handle get_frame_register_bytes | |
8067 | returning that the register piece is unavailable/optimized out. | |
8068 | (write_pieced_value): Handle get_frame_register_bytes returning | |
8069 | that the register piece is unavailable/optimized out when doing a | |
8070 | read-modify write of a bitfield. | |
8071 | * findvar.c (value_from_register): Handle get_frame_register_bytes | |
8072 | returning that the register piece is unavailable/optimized out. | |
8073 | * frame.c (get_frame_register_bytes): New parameters `optimizedp' | |
8074 | and `unavailablep'. Throw error on bad debug info. Use | |
8075 | frame_register instead of frame_register_read, to fill in the new | |
8076 | arguments. | |
8077 | * frame.h (get_frame_register_bytes): New parameters `optimizedp' | |
8078 | and `unavailablep'. | |
8079 | * valops.c: (value_assign): Adjust, and handle | |
8080 | get_frame_register_bytes failing. | |
8081 | * spu-tdep.c: Include exceptions.h. | |
8082 | (spu_software_single_step): Adjust, and handle | |
8083 | get_frame_register_bytes failing. | |
8084 | (spu_get_longjmp_target): Ditto. | |
8085 | * gdbarch.sh (register_to_value): Change to return int. New | |
8086 | parameters `optimizedp' and `unavailablep'. | |
8087 | * gdbarch.h, gdbarch.c: Regenerate. | |
8088 | * i386-tdep.c (i386_register_to_value): Adjust to new | |
8089 | gdbarch_register_to_value interface. | |
8090 | * i387-tdep.c (i387_register_to_value): Ditto. | |
8091 | * i387-tdep.h (i387_register_to_value): Ditto. | |
8092 | * alpha-tdep.c (alpha_register_to_value): Ditto. | |
8093 | * ia64-tdep.c (ia64_register_to_value): Ditto. | |
8094 | * m68k-tdep.c (m68k_register_to_value): Ditto. | |
8095 | * mips-tdep.c (mips_register_to_value): Ditto. | |
8096 | * rs6000-tdep.c (rs6000_register_to_value): Ditto. | |
8097 | ||
0fdb4f18 PA |
8098 | 2011-03-18 Pedro Alves <[email protected]> |
8099 | ||
8100 | * findvar.c (value_of_register): Mark the value as unavailable, if | |
8101 | the register is unavailable. | |
8102 | * frame.h (frame_register_unwind): New `unavailablep' parameter. | |
8103 | (frame_register): New `unavailablep' parameter. | |
8104 | (frame_register_read): Update comment. | |
8105 | * frame.c (frame_register_unwind): New `unavailablep' parameter. | |
8106 | Set it if the register is unavailable. If the register is | |
8107 | unavailable, clear the output buffer. | |
8108 | (frame_register): New `unavailablep' parameter. Pass it down. | |
8109 | (frame_unwind_register): Adjust. | |
8110 | (put_frame_register): Adjust. | |
8111 | (frame_register_read): Adjust. Also return false if the register | |
8112 | is not available. | |
8113 | (frame_register_unwind_location): Adjust. | |
8114 | * sentinel-frame.c (sentinel_frame_prev_register): If the register | |
8115 | is unavailable, mark the value accordingly. | |
8116 | * stack.c (frame_info): Handle unavailable registers. | |
8117 | ||
e69aa73e PA |
8118 | 2011-03-18 Pedro Alves <[email protected]> |
8119 | ||
8120 | * mi/mi-main.c (register_changed_p): Handle REG_UNAVAILABLE, and | |
8121 | simplify, using regcache_cooked_read. | |
8122 | ||
05d1431c PA |
8123 | 2011-03-18 Pedro Alves <[email protected]> |
8124 | ||
8125 | * regcache.h (regcache_raw_read, regcache_raw_read_signed) | |
8126 | (regcache_raw_read_unsigned, regcache_raw_read_signed) | |
8127 | (regcache_raw_read_unsigned, regcache_raw_read_part) | |
8128 | (regcache_cooked_read, regcache_cooked_read_signed) | |
8129 | (regcache_cooked_read_unsigned, regcache_cooked_read_part) | |
8130 | (regcache_cooked_read_ftype): Change return to enum | |
8131 | register_status. | |
8132 | * regcache.c: Include exceptions.h | |
8133 | (regcache_save): Adjust to handle REG_UNAVAILABLE registers. | |
8134 | (do_cooked_read): Change return to enum register_status. Always | |
8135 | forward to regcache_cooked_read. | |
8136 | (regcache_raw_read): Change return to enum register_status. If | |
8137 | the register is not REG_VALID, memset the buffer. Return the | |
8138 | register's status. | |
8139 | (regcache_raw_read_signed): Handle non-REG_VALID registers and | |
8140 | return the register's status. | |
8141 | (regcache_raw_read_unsigned): Ditto. | |
8142 | (regcache_cooked_read): Change return to enum register_status. | |
8143 | Assert that with read-only regcaches, the register's status must | |
8144 | be known. If the regcache is read-only, and the register is not | |
8145 | REG_VALID, memset the buffer. Return the register's status. | |
8146 | (regcache_cooked_read_signed): Change return to enum | |
8147 | register_status. Handle non-REG_VALID registers and return the | |
8148 | register's status. | |
8149 | (regcache_cooked_read_unsigned): Change return to enum | |
8150 | register_status. Handle non-REG_VALID registers and return the | |
8151 | register's status. | |
8152 | (regcache_xfer_part, regcache_raw_read_part) | |
8153 | (regcache_cooked_read_part): Change return to enum | |
8154 | register_status. Return the register's status. | |
8155 | (regcache_read_pc): Throw NOT_AVAILABLE_ERROR if the register is | |
8156 | unavailable. | |
8157 | (regcache_dump): Handle unavailable cooked registers. | |
8158 | * frame.c (do_frame_register_read): Adjust interface to match | |
8159 | regcache_cooked_read_ftype. | |
8160 | * gdbarch.sh (pseudo_register_read): Change return to enum | |
8161 | register_status. | |
8162 | * gdbarch.h, gdbarch.c: Regenerate. | |
8163 | ||
8164 | * i386-tdep.h (i386_pseudo_register_read): Change return to enum | |
8165 | register_status. | |
8166 | * i386-tdep.c (i386_pseudo_register_read): Change return to enum | |
8167 | register_status. If reading a raw register indicates the raw | |
8168 | register is not valid, return the raw register's status, | |
8169 | otherwise, return REG_VALID. | |
8170 | * amd64-tdep.c (amd64_pseudo_register_read): Change return to enum | |
8171 | register_status. Handle non-REG_VALID raw registers and return | |
8172 | the register's status. | |
8173 | * arm-tdep.c (arm_neon_quad_read) | |
8174 | (arm_pseudo_read): Change return to enum register_status. Handle | |
8175 | non-REG_VALID raw registers and return the register's status. | |
8176 | * avr-tdep.c (avr_pseudo_register_read): Ditto. | |
8177 | * frv-tdep.c (frv_pseudo_register_read): Ditto. | |
8178 | * h8300-tdep.c (h8300_pseudo_register_read): Ditto. | |
8179 | * hppa-tdep.c (hppa_pseudo_register_read): Ditto. | |
8180 | * m32c-tdep.c (m32c_move_reg_t): Change return to enum | |
8181 | register_status. | |
8182 | (m32c_raw_read, m32c_raw_write, m32c_banked_read) | |
8183 | (m32c_banked_write, m32c_sb_read, m32c_sb_write, m32c_part_read) | |
8184 | (m32c_part_write, m32c_cat_read, m32c_cat_write) | |
8185 | (m32c_r3r2r1r0_read, m32c_r3r2r1r0_write) | |
8186 | (m32c_pseudo_register_read): Change return to enum | |
8187 | register_status. Adjust. | |
8188 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Change return to | |
8189 | enum register_status. Return the register's status. | |
8190 | * mep-tdep.c (mep_pseudo_cr32_read): Change return to enum | |
8191 | register_status. Return the register's status. | |
8192 | (mep_pseudo_cr64_read, mep_pseudo_register_read): Ditto. | |
8193 | * mips-tdep.c (mips_pseudo_register_read): Ditto. | |
8194 | * mt-tdep.c (mt_pseudo_register_read): Ditto. | |
8195 | * rs6000-tdep.c (move_ev_register_func): New typedef. | |
8196 | (e500_move_ev_register): Use it. Change return to enum | |
8197 | register_status. Return the register's status. | |
8198 | (do_regcache_raw_read): New function. | |
8199 | (do_regcache_raw_write): New function. | |
8200 | (e500_pseudo_register_read): Change return to enum | |
8201 | register_status. Return the register's status. Use | |
8202 | do_regcache_raw_read. | |
8203 | (e500_pseudo_register_write): Adjust. Use do_regcache_raw_write. | |
8204 | (dfp_pseudo_register_read): Change return to enum register_status. | |
8205 | Return the register's status. | |
8206 | (vsx_pseudo_register_read): Ditto. | |
8207 | (efpr_pseudo_register_read): Ditto. | |
8208 | (rs6000_pseudo_register_read): Ditto. | |
8209 | * s390-tdep.c (s390_pseudo_register_read): Change return to enum | |
8210 | register_status. Return the register's status. | |
8211 | * sh64-tdep.c (pseudo_register_read_portions): New function. | |
8212 | (sh64_pseudo_register_read): Change return to enum | |
8213 | register_status. Use pseudo_register_read_portions. Return the | |
8214 | register's status. | |
8215 | * ia64-tdep.c (ia64_pseudo_register_read): Change return to enum | |
8216 | register_status. Return the register's status. | |
8217 | * sh-tdep.c (pseudo_register_read_portions): New function. | |
8218 | (sh_pseudo_register_read): Change return to enum register_status. | |
8219 | Use pseudo_register_read_portions. Return the register's status. | |
8220 | * sparc-tdep.c (sparc32_pseudo_register_read): Change return to | |
8221 | enum register_status. Return the register's status. | |
8222 | * sparc64-tdep.c (sparc64_pseudo_register_read): Ditto. | |
8223 | * spu-tdep.c (spu_pseudo_register_read_spu) | |
8224 | (spu_pseudo_register_read): Ditto. | |
8225 | * xtensa-tdep.c (xtensa_register_read_masked) | |
8226 | (xtensa_pseudo_register_read): Ditto. | |
8227 | * bfin-tdep.c (bfin_pseudo_register_read): Ditto. | |
8228 | ||
e10abd8f PM |
8229 | 2011-03-18 Pierre Muller <[email protected]> |
8230 | ||
8231 | * python/py-value.c (valpy_getitem): Fix formatting of error function | |
8232 | call. | |
8233 | ||
7ea6d463 PM |
8234 | 2011-03-18 Pierre Muller <[email protected]> |
8235 | ||
8236 | ARI fixes: Add missing internationalization markups throughout | |
8237 | C source files. | |
8238 | * darwin-nat-info.c: Ditto. | |
8239 | * record.c: Ditto. | |
8240 | * remote.c: Ditto. | |
8241 | * mi/mi-main.c: Ditto. | |
8242 | ||
001083c6 PM |
8243 | 2011-03-18 Pierre Muller <[email protected]> |
8244 | ||
8245 | ARI fixes: Add missing internationalization markups throughout | |
8246 | yacc files. | |
8247 | * c-exp.y: Ditto. | |
8248 | * cp-name-parser.y: Ditto. | |
8249 | * f-exp.y: Ditto. | |
8250 | * m2-exp.y: Ditto. | |
8251 | * objc-exp.y: Ditto. | |
8252 | * p-exp.y: Ditto. | |
8253 | ||
4f1cdeec PM |
8254 | 2011-03-18 Pierre Muller <[email protected]> |
8255 | ||
8256 | ARI fixes: Messages should have no trailing new lines. | |
8257 | * darwin-nat.c (mach_check_error): Remove trailing new line from | |
8258 | warning function call message. | |
8259 | * record.c (bfdcore_read): Idem for error call. | |
8260 | ||
28e698f1 PM |
8261 | 2011-03-18 Pierre Muller <[email protected]> |
8262 | ||
8263 | * common/signals.c (target_signal_from_host): Add _ markup to error | |
8264 | function call message. | |
8265 | (target_signal_to_host): Add _ markup and remove trailing new line | |
8266 | from warning call message. | |
8267 | (target_signal_from_command): Add _ markup to error function call | |
8268 | message. | |
8269 | ||
99c3dc11 PM |
8270 | 2011-03-18 Phil Muldoon <[email protected]> |
8271 | ||
f33edef8 | 8272 | PR python/12149 |
99c3dc11 PM |
8273 | |
8274 | * python/python.c (gdbpy_write): Accept a stream argument and | |
8275 | operate to the appropriate stream. | |
8276 | (gdbpy_flush): Likewise. | |
8277 | (_initialize_python): Add stream constants. | |
8278 | (finish_python_initialization): Add GdbOutputErrorFile class. | |
8279 | ||
c20800be KY |
8280 | 2011-03-18 Kwok Cheung Yeung <[email protected]> |
8281 | ||
8282 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
8283 | ||
f4a1794a KY |
8284 | 2011-03-18 Kwok Cheung Yeung <[email protected]> |
8285 | ||
8286 | * amd64-tdep.c (amd64_relocate_instruction): Fix ordering of arguments | |
f33edef8 PP |
8287 | to store_signed_integer. Add debug message when relocating CALL |
8288 | instructions. Fix formatting of debug message. | |
8289 | * i386-tdep.c (i386_relocate_instruction): Ditto. | |
f4a1794a | 8290 | |
d4862372 JB |
8291 | 2011-03-17 Joel Brobecker <[email protected]> |
8292 | ||
8293 | * target.h (struct target_ops): Remove to_lookup_symbol field. | |
8294 | (target_lookup_symbol): Delete macro. | |
8295 | * target.c (nosymbol, debug_to_lookup_symbol): Delete. | |
8296 | (update_current_target, setup_target_debug): Remove handling | |
8297 | of to_lookup_symbol target_ops field. | |
8298 | * ada-tasks.c (get_known_tasks_addr): Remove use of | |
8299 | target_lookup_symbol. | |
8300 | * coffread.c (coff_symtab_read): Likewise. | |
8301 | * dbxread.c (read_dbx_symtab): Ditto. | |
8302 | ||
d645e32e JB |
8303 | 2011-03-17 Joel Brobecker <[email protected]> |
8304 | ||
8305 | PR gdb/12116: | |
8306 | * configure.ac: Add getthrds declaration check. | |
8307 | * configure, config.in: Regenerate. | |
8308 | * aix-thread.c (getthrds): Declare only if not already declared | |
8309 | in procinfo.h. More declaration out of get_signaled_thread to | |
8310 | global scope. | |
8311 | ||
29703da4 PM |
8312 | 2011-03-17 Phil Muldoon <[email protected]> |
8313 | ||
8314 | * python/py-symtab.c: Populate symtab_object_methods, | |
8315 | sal_object_methods. | |
8316 | (stpy_is_valid): New function. | |
8317 | (salpy_is_valid): Ditto. | |
8318 | * python/py-symbol.c: Declare symbol_object_methods. Populate. | |
8319 | (sympy_is_valid): New function. | |
8320 | * python/py-objfile.c: Declare objfile_object_methods. Populate. | |
8321 | (objfpy_is_valid): New function. | |
8322 | * python/py-inferior.c: Populate inferior_object_methods. | |
8323 | (infpy_is_valid): New function. | |
8324 | * python/py-infthread.c: Populate thread_object_methods. | |
8325 | (thpy_is_valid): New function. | |
8326 | * python/py-block.c: Declare block_object_methods. Populate. Declare | |
8327 | block_iterator_object_methods. Populate. | |
8328 | (blpy_is_valid): New function. | |
8329 | (blpy_iter_is_valid): Ditto. | |
8330 | ||
c00f8484 KS |
8331 | 2011-03-16 Keith Seitz <[email protected]> |
8332 | ||
8333 | * linespec.c (find_methods): Canonicalize NAME before looking | |
8334 | up the symbol. | |
8335 | (name_end): New function. | |
8336 | (keep_name_info): New function. | |
8337 | (decode_line_1): Use keep_name_info. | |
8338 | (decode_compound): Likewise. | |
8339 | * cli/cli-utils.h (remove_trailing_whitespace): New function. | |
8340 | * cli/cli-utils.c (remove_trailing_whitespace): Likewise. | |
8341 | ||
8342 | PR c++/12273 | |
8343 | * linespec.c (locate_first_half): Keep overload information, too. | |
8344 | (decode_compound): Use a string to represent break characters | |
8345 | to escape the loop. | |
8346 | If P points to a break character, do not increment it. | |
8347 | For C++ and Java, keep overload information and relevant keywords. | |
8348 | If we cannot find a symbol, search the minimal symbols. | |
8349 | ||
8350 | PR c++/11734 | |
8351 | * linespec.c (decode_compound): Rename SAVED_ARG to | |
8352 | THE_REAL_SAVED_ARG. | |
8353 | Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip | |
8354 | single-quotes. | |
8355 | Pass a valid block to lookup_symbol. | |
8356 | (lookup_prefix_sym): Likewise. | |
8357 | (find_method): Construct search name based on SYM_CLASS instead | |
8358 | of SAVED_ARG. | |
8359 | * psymtab.c (lookup_partial_symbol): Add language parameter. | |
8360 | (lookup_symbol_aux_psymtabs): Likewise. | |
8361 | Don't assume that the psymtab we found was the right one. Search | |
8362 | for the desired symbol in the symtab to be certain. | |
8363 | (psymtab_search_name): New function. | |
8364 | (lookup_partial_symbol): Use psymtab_search_name. | |
8365 | Add language parameter. | |
8366 | (read_symtabs_for_function): Add language parameter and pass to | |
8367 | lookup_partial_symbol. | |
8368 | (find_symbol_file_from_partial): Likewise. | |
8369 | ||
c91513d8 PP |
8370 | 2011-03-16 Paul Pluzhnikov <[email protected]> |
8371 | ||
8372 | PR gdb/12528 | |
8373 | * dwarf2read.c (noop_record_line): New function. | |
8374 | (dwarf_decode_lines): Ignore line tables for GCd functions. | |
8375 | ||
b37520b6 PM |
8376 | 2011-03-16 Pierre Muller <[email protected]> |
8377 | ||
8378 | Fix ARI warnings about new lines at the end of messages, which | |
8379 | are unneeded as there is a new line added at the end of the message | |
8380 | automatically. | |
8381 | * darwin-nat.c (darwin_stop_inferior): Ditto. | |
8382 | * dec-thread.c (dec_thread_get_ada_task_ptid): Ditto. | |
8383 | * dfp.c (decimal_to_number): Ditto. | |
8384 | * exec.c (print_section_info): Ditto. | |
8385 | * i386-darwin-nat.c (darwin_set_sstep): Ditto. | |
8386 | * osdata.c (get_osdata): Ditto. | |
8387 | * record.c (bfdcore_write): Ditto. | |
8388 | * remote-mips.c (mips_readchar): Ditto. | |
8389 | * remote.c (read_ptid): Ditto. | |
8390 | * ser-mingw.c (ser_windows_raw): Ditto. | |
8391 | * tracepoint.c (add_local_symbols): Ditto. | |
8392 | * windows-nat.c (fake_create_process): Ditto. | |
8393 | ||
b08ee6a2 TT |
8394 | 2011-03-16 Tom Tromey <[email protected]> |
8395 | ||
8396 | * tracepoint.c (stop_tracing): Don't declare. | |
8397 | * event-top.c (after_char_processing_hook): Add `(void)'. | |
8398 | ||
9a6f1302 PM |
8399 | 2011-03-16 Phil Muldoon <[email protected]> |
8400 | ||
8401 | * NEWS: Add Parameter sub-classing description. | |
8402 | ||
7ceb86b1 KT |
8403 | 2011-03-16 Kai Tietz <[email protected]> |
8404 | ||
8405 | * MAINTAINERS: Update my e-mail address. | |
8406 | ||
efeff6cf AT |
8407 | 2011-03-15 Andreas Tobler <[email protected]> |
8408 | ||
8409 | * MAINTAINERS: Add myself for write after approval privileges. | |
8410 | ||
681c238c MS |
8411 | 2011-03-15 Michael Snyder <[email protected]> |
8412 | ||
f3df5b08 MS |
8413 | * frame.c (find_frame_sal): Assert sym is not null. |
8414 | ||
13f6513c MS |
8415 | * dbxread.c (process_one_symbol): Assert 'name' is not null. |
8416 | ||
50412521 MS |
8417 | * objc-lang.c (selectors_info): Check strchr for null result. |
8418 | ||
681c238c MS |
8419 | * stabsread.c (define_symbol): Guard against bad stabstring input. |
8420 | ||
6ced1581 PM |
8421 | 2011-03-15 Pierre Muller <[email protected]> |
8422 | ||
8423 | Remove trailing spaces and tabulations from pascal language | |
8424 | support sources. | |
8425 | p-exp.y: Ditto. | |
8426 | p-lang.c: Ditto. | |
8427 | p-lang.h: Ditto. | |
8428 | p-valprint.c: Ditto. | |
8429 | ||
9373cf26 JK |
8430 | 2011-03-15 Jan Kratochvil <[email protected]> |
8431 | ||
8432 | * dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher | |
8433 | than LOW. Comment it. | |
8434 | (read_partial_die): Call complaint for inappropriate zero LOWPC or | |
8435 | HIGHPC not strictly higher than LOWPC. | |
8436 | ||
9a1edae6 PM |
8437 | 2011-03-15 Pierre Muller <[email protected]> |
8438 | ||
8439 | Fix formatting of function declarations returning a pointer in | |
8440 | previous commit. | |
8441 | * varobj.c (varobj_add_child): Ditto. | |
8442 | * hppa-tdep.h (hppa_init_objfile_priv_data): Ditto. | |
8443 | * inferior.h (get_displaced_step_closure_by_addr): Ditto. | |
8444 | ||
24e9cda0 UW |
8445 | 2011-03-15 Ulrich Weigand <[email protected]> |
8446 | ||
8447 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support | |
8448 | for the "generic" vector ABI used with GCC 4.3 and later. | |
8449 | (ppc64_sysv_abi_return_value): Likewise. | |
8450 | ||
8451 | 2011-03-15 Ulrich Weigand <[email protected]> | |
81b4675a UW |
8452 | |
8453 | * infcall.c (call_function_by_hand): Function return value is | |
8454 | always a non_lval, even when using struct_return. | |
8455 | ||
c9174737 PA |
8456 | 2011-03-15 Pedro Alves <[email protected]> |
8457 | ||
8458 | * printcmd.c (ALL_DISPLAYS_SAFE): New. | |
8459 | (map_display_numbers): New. | |
8460 | (do_delete_display): New. | |
8461 | (undisplay_command): Use map_display_numbers. | |
8462 | (do_enable_disable_display): New. | |
8463 | (enable_disable_display_command): New function. | |
8464 | (enable_display): Delete. | |
8465 | (enable_display_command): New. | |
8466 | (disable_display_command): Reimplement. | |
8467 | (_initialize_printcmd): Adjust "enable display" command to use | |
8468 | `enable_display_command' as callback. | |
8469 | ||
350c6c65 PM |
8470 | 2011-03-14 Phil Muldoon <[email protected]> |
8471 | ||
8472 | * NEWS: Add Python breakpoint 'stop' operation. | |
8473 | ||
824446ad PM |
8474 | 2011-03-14 Phil Muldoon <[email protected]> |
8475 | ||
8476 | * NEWS: Delete duplicate entry. Fix typo. | |
8477 | ||
2021ad3a PM |
8478 | 2011-03-14 Pierre Muller <[email protected]> |
8479 | ||
8480 | Fix ARI warning about function names in first column. | |
8481 | Put prototype declaration on same line as return type. | |
8482 | * objc-exp.y: Ditto. | |
8483 | * p-exp.y: Ditto. | |
8484 | * python/py-stopevent.h: Ditto. | |
8485 | For long function names, split parameters to | |
8486 | allow function name on same line as return type. | |
8487 | * solib-pa64.c: Ditto. | |
8488 | * varobj.c: Ditto. | |
8489 | * varobj.h: Ditto. | |
8490 | For long function declaration, use single line. | |
8491 | * hppa-tdep.h: Ditto. | |
8492 | * inferior.h: Ditto. | |
8493 | ||
7371cf6d PM |
8494 | 2011-03-14 Phil Muldoon <[email protected]> |
8495 | ||
8496 | * python/python.h: Declare gdbpy_should_stop and | |
8497 | gdbpy_breakpoint_has_py_cond. | |
8498 | * python/python.c: Add python.h to includes. Remove python.h from | |
8499 | HAVE_PYTHON definition | |
8500 | (gdbpy_should_stop): New dummy function. | |
8501 | (gdbpy_breakpoint_has_py_cond): New dummy function. | |
8502 | * python/py-breakpoint.c (bppy_init): Rewrite to allow | |
8503 | sub-classing capabilities. | |
8504 | (gdbpy_should_stop): New function. | |
8505 | (gdbpy_breakpoint_has_py_cond): New function. | |
8506 | (local_setattro): New function. | |
8507 | * breakpoint.c (condition_command): Add check for Python 'stop' | |
8508 | operation. | |
8509 | (bpstat_check_breakpoint_conditions): Execute Python 'stop' | |
8510 | operation function as part of stop/continue tests. | |
8511 | ||
37b50a69 TT |
8512 | 2011-03-14 Tom Tromey <[email protected]> |
8513 | ||
8514 | PR gdb/12576: | |
8515 | * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'. | |
8516 | (needs_frame_dwarf_call): Likewise. | |
8517 | ||
eeae04df PM |
8518 | 2011-03-14 Pierre Muller <[email protected]> |
8519 | ||
8520 | Fix ARI warning about functions without parameters that do not | |
8521 | use (void). | |
8522 | * breakpoint.c (all_tracepoints): Replace () by (void). | |
8523 | * f-exp.y (match_string_literal): Ditto. | |
8524 | (yylex): Ditto. | |
8525 | * m2-exp.y (yylex): Ditto. | |
8526 | * mep-tdep.c (current_me_module): Ditto. | |
8527 | (current_options): Ditto. | |
8528 | (current_cop_data_bus_width): Ditto. | |
8529 | (current_cr_names): Ditto. | |
8530 | (current_cr_is_float): Ditto. | |
8531 | (current_ccr_names): Ditto. | |
8532 | * objc-exp.y (yylex): Ditto. | |
8533 | * p-exp.y (yylex): Ditto. | |
8534 | * remote.c (send_interrupt_sequence): Ditto. | |
8535 | * tracepoint.c (current_trace_status): Ditto. | |
8536 | * python/py-evts.c (gdbpy_initialize_py_events): Ditto. | |
8537 | * python/py-prettyprint.c (push_dummy_python_frame): Ditto. | |
8538 | ||
6dc3565d MS |
8539 | 2011-03-11 Michael Snyder <[email protected]> |
8540 | ||
1427fe5e MS |
8541 | * cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define. |
8542 | * cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS. | |
8543 | (lookup_cmd): Test for CMD_LIST_AMBIGUOUS. | |
8544 | * completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS. | |
8545 | * top.c (set_verbose): Use CMD_LIST_AMBIGUOUS. | |
8546 | ||
60bc018f MS |
8547 | * event-loop-c (delete_async_signal_handler): Assert prev_ptr. |
8548 | (delete_async_event_handler): Ditto. | |
8549 | ||
f3be5b64 MS |
8550 | * python/py-breakpoint.c (bppy_set_condition): Stop memory leak. |
8551 | ||
4c2d5724 MS |
8552 | * python/py-breakpoint.c (bppy_get_commands): Fix memory leak. |
8553 | ||
6dc3565d MS |
8554 | * top.c (set_verbose): Assert showcmd was found. |
8555 | ||
4e6ca6d5 MG |
8556 | 2011-03-11 Maxim Grigoriev <[email protected]> |
8557 | ||
8558 | * xtensa-tdep.c (warning_once): Correct style issues. | |
8559 | ||
815a83e4 YQ |
8560 | 2011-03-11 Yao Qi <[email protected]> |
8561 | ||
8562 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements. | |
8563 | ||
f2eb0bc8 AS |
8564 | 2011-03-11 Andreas Schwab <[email protected]> |
8565 | ||
8566 | * common/aclocal.m4: Remove. | |
8567 | ||
b801de47 MG |
8568 | 2011-03-10 Maxim Grigoriev <[email protected]> |
8569 | ||
8570 | * xtensa-tdep.c (windowing_enabled): Remove inline attribute. | |
8571 | (xtensa_write_register, xtensa_read_register): Likewise. | |
8572 | (xtensa_hextochar): Removed. | |
8573 | (xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code. | |
8574 | ||
dbab50de MG |
8575 | 2011-03-10 Maxim Grigoriev <[email protected]> |
8576 | ||
8577 | * xtensa-tdep.c (xtensa_c0reg_t): Update comments. | |
c2a6b390 | 8578 | (xtensa_call0_frame_cache_t): Update comments. New fields added. |
dbab50de MG |
8579 | (xtensa_alloc_frame_cache): Add initialization for new fields. |
8580 | (xtensa_frame_cache): Change the way how call0_frame_cache () is called. | |
8581 | (warning_once): New function. | |
8582 | (xtensa_insn_kind): New item c0opc_and. | |
8583 | (call0_classify_opcode): Add the case for AND instruction. | |
c2a6b390 MG |
8584 | (call0_track_op): Change arguments. New local variable litbase. |
8585 | Add the case to handle c0opc_and. Update algorithms for c0opc_mov, | |
8586 | c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments | |
8587 | in the prologue. | |
dbab50de | 8588 | Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu. |
c2a6b390 | 8589 | (call0_analyze_prologue): Update the comments. Change arguments. |
dbab50de MG |
8590 | Add the variety of updates to handle extended prologues, which now can |
8591 | conduct dynamic stack adjustments. | |
8592 | (call0_frame_cache): Likewise. | |
8593 | (xtensa_skip_prologue): Update call0_analyze_prologue () function call. | |
8594 | (xtensa_gdbarch_init): Initialize xtensa_session_once_reported. | |
8595 | ||
b2c04452 MS |
8596 | 2011-03-10 Michael Snyder <[email protected]> |
8597 | ||
f8f67713 MS |
8598 | * tracepoint.c (cmd_qtv): Discard unused value 'packet'. |
8599 | (cmd_qtframe): Ditto. | |
8600 | (cmd_qtbuffer): Ditto. | |
8601 | (cmd_bigqtbuffer): Ditto. | |
8602 | ||
197f0a60 TT |
8603 | 2011-03-10 Tom Tromey <[email protected]> |
8604 | ||
8605 | * tracepoint.c (trace_actions_command): Update. | |
8606 | * thread.c (thread_apply_command): Update. | |
8607 | * reverse.c (delete_bookmark_command): Update. | |
8608 | (bookmarks_info): Update. | |
8609 | * printcmd.c (undisplay_command): Update. | |
8610 | * memattr.c (mem_enable_command): Update. | |
8611 | (mem_disable_command): Update. | |
8612 | (mem_delete_command): Update. | |
8613 | * inferior.c (detach_inferior_command): Update. | |
8614 | (kill_inferior_command): Update. | |
8615 | (remove_inferior_command): Update. | |
8616 | * cli/cli-utils.h (struct get_number_or_range_state): New. | |
8617 | (init_number_or_range): Declare. | |
8618 | (get_number_or_range): Update. | |
8619 | * cli/cli-utils.c (init_number_or_range): New function. | |
8620 | (get_number_or_range): Change 'pp' parameter to 'state'. Remove | |
8621 | static variables. | |
8622 | (number_is_in_list): Update. | |
8623 | * breakpoint.h (get_tracepoint_by_number): Update. | |
8624 | * breakpoint.c (map_breakpoint_numbers): Update for change to | |
8625 | get_number_or_range. | |
8626 | (find_location_by_number): Use get_number, not | |
8627 | get_number_or_range. | |
8628 | (trace_pass_set_count): New function. | |
8629 | (trace_pass_command): Update for change to get_number_or_range. | |
8630 | Rework loop logic. | |
8631 | (get_tracepoint_by_number): Remove 'multi_p' parameter; add | |
8632 | 'state' parameter. | |
8633 | ||
ecec24e6 PM |
8634 | 2011-03-10 Phil Muldoon <[email protected]> |
8635 | ||
8636 | * python/py-param.c (add_setshow_generic): Add set/show callback | |
8637 | parameters. Register Python object context. | |
8638 | (get_show_value): New function. | |
8639 | (get_set_value): New function. | |
8640 | (call_doc_function): New function. | |
8641 | (get_doc_string): Move behind get_show_value/get_set_value. | |
8642 | ||
6d6c6b1f JK |
8643 | 2011-03-10 Andreas Tobler <[email protected]> |
8644 | ||
8645 | * fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'. | |
8646 | ||
68d6df83 MG |
8647 | 2011-03-09 Maxim Grigoriev <[email protected]> |
8648 | ||
dbab50de | 8649 | * xtensa-tdep.c (xtensa_read_register): Add comment. |
68d6df83 MG |
8650 | (xtensa_write_register): Likewise. |
8651 | (xtensa_hextochar): Add comment and update to match coding conventions. | |
8652 | (xtensa_frame_cache, xtensa_return_value): Follow coding conventions. | |
8653 | (execute_l32e, execute_s32e, execute_code): Update comments. | |
8654 | (xtensa_exception_handler_t): Update to match coding conventions. | |
8655 | (xtensa_insn_kind): Likewise. | |
8656 | ||
85c9d6a6 MS |
8657 | 2011-03-09 Michael Snyder <[email protected]> |
8658 | ||
8659 | * mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak. | |
8660 | ||
91495617 PA |
8661 | 2011-03-09 Pedro Alves <[email protected]> |
8662 | ||
8663 | * nto-tdep.c (nto_find_and_open_solib): Constify local `base'. | |
8664 | ||
eb8c0621 TT |
8665 | 2011-03-09 Tom Tromey <[email protected]> |
8666 | ||
8667 | * thread.c (restore_selected_frame): Handle frame_level == -1. | |
8668 | (make_cleanup_restore_current_thread): Use | |
8669 | get_selected_frame_if_set. | |
8670 | * frame.h (get_selected_frame_if_set): Declare. | |
8671 | * frame.c (get_selected_frame_if_set): New function. | |
8672 | ||
9f37bbcc PA |
8673 | 2011-03-09 Pedro Alves <[email protected]> |
8674 | ||
8675 | * cli/cli-cmds.c (shell_escape): Use lbasename. | |
8676 | * coffread.c (coff_start_symtab): Constify parameter. | |
8677 | (complete_symtab): Constify `name' parameter. | |
8678 | (coff_symtab_read): Constify `filestring' local. | |
8679 | (coff_getfilename): Constify return and `result' local. | |
8680 | Use lbasename. | |
8681 | * fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename. | |
8682 | * linux-fork.c (info_checkpoints_command): Use lbasename. | |
8683 | * linux-nat.c (linux_nat_make_corefile_notes): Use lbasename. | |
8684 | * minsyms.c (lookup_minimal_symbol): Use lbasename. | |
8685 | * nto-tdep.c (nto_find_and_open_solib): Use lbasename. | |
8686 | * procfs.c (procfs_make_note_section): Use lbasename. | |
8687 | * tui/tui-io.c (printable_part): Constity return and parameter. | |
8688 | Use lbasename. | |
8689 | (print_filename): Constify parameters, and local `s'. | |
8690 | (tui_rl_display_match_list): Constify local `temp'. | |
8691 | ||
f8de3c55 JK |
8692 | 2011-03-09 Jan Kratochvil <[email protected]> |
8693 | ||
8694 | Revert: | |
8695 | 2011-03-08 Jan Kratochvil <[email protected]> | |
8696 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
8697 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
8698 | cu->header.version >= 3. | |
8699 | ||
d9837b00 YQ |
8700 | 2011-03-09 Yao Qi <[email protected]> |
8701 | ||
8702 | * common/Makefile.in: Remove. | |
8703 | * common/configure: Remove. | |
8704 | * common/configure.ac: Remove. | |
8705 | ||
e637a4f5 YQ |
8706 | 2011-03-09 Yao Qi <[email protected]> |
8707 | ||
8708 | Revert: | |
8709 | 2011-02-11 Yao Qi <[email protected]> | |
8710 | ||
8711 | * common/Makefile.in: Add copyright header. | |
8712 | ||
8713 | 2011-02-11 Yao Qi <[email protected]> | |
8714 | ||
8715 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
8716 | libcommon.a. | |
8717 | * configure.ac: Add common to sub dir. | |
8718 | * configure: Regenerate. | |
8719 | ||
f976a05d MG |
8720 | 2011-03-08 Maxim Grigoriev <[email protected]> |
8721 | ||
8722 | * xtensa-tdep.c (call0_ret): New function. | |
8723 | (xtensa_skip_prologue): Speed up analysis. | |
8724 | ||
57041825 MG |
8725 | 2011-03-08 Maxim Grigoriev <[email protected]> |
8726 | ||
8727 | * xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers | |
8728 | while executing MI command -data-list-changed-registers. | |
8729 | ||
08b9c608 MG |
8730 | 2011-03-08 Maxim Grigoriev <[email protected]> |
8731 | ||
8732 | * xtensa-tdep.c (xtensa_read_register): New function. | |
8733 | (xtensa_write_register): New function. | |
8734 | (xtensa_find_register_by_name): New function. | |
8735 | (xtensa_windowed_frame_cache): Update comments in type description. | |
8736 | (xtensa_frame_cache): Likewise. | |
8737 | (xtensa_window_interrupt_insn): New function. | |
8738 | (xtensa_frame_cache): Add analysis for Xtensa Window Exception frames. | |
8739 | (xtensa_insn_kind): Add new instructions. | |
8740 | (rwx_special_register): New function. | |
8741 | (call0_classify_opcode): Add new instructions to the analysis. | |
8742 | (a0_saved, a7_saved, a11_saved): New variables. | |
8743 | (a0_was_saved, a7_was_saved, a11_was_saved): New variables. | |
8744 | (execute_l32e): New function. | |
8745 | (execute_s32e): New function. | |
8746 | (xtensa_exception_handler_t): New type. | |
8747 | (execute_code): New function. | |
8748 | (xtensa_window_interrupt_frame_cache): New function to conduct frame | |
8749 | analysis for Xtensa Window Exception handlers. | |
8750 | ||
4d1acb11 MG |
8751 | 2011-03-08 Maxim Grigoriev <[email protected]> |
8752 | ||
98689b25 MG |
8753 | * xtensa-tdep.c (TX_PS): New. |
8754 | (windowing_enabled): Update to count for Call0 ABI. | |
8755 | (xtensa_hextochar): New. | |
8756 | (xtensa_init_reggroups): Make algorithm generic. | |
8757 | (xtensa_frame_cache): Use TX_PS on Tiny Xtensa. | |
8758 | ||
8759 | 2011-03-08 Maxim Grigoriev <[email protected]> | |
8760 | ||
8761 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update. | |
4d1acb11 | 8762 | |
d3f323f3 MS |
8763 | 2011-03-08 Michael Snyder <[email protected]> |
8764 | ||
3dcabaa8 MS |
8765 | * i386-tdep.c (i386_follow_jump): Check return value of |
8766 | target_read_memory. | |
8767 | (i386_analyze_struct_return): Ditto. | |
8768 | (i386_skip_probe): Ditto. | |
8769 | (i386_match_insn): Ditto. | |
8770 | (i386_skip_noop): Ditto. | |
8771 | (i386_analyze_frame_setup): Ditto. | |
8772 | (i386_analyze_register_saves): Ditto. | |
8773 | (i386_skip_prologue): Ditto. | |
8774 | (i386_skip_main_prologue): Ditto. | |
8775 | ||
13b3fd9b MS |
8776 | * target.c (read_whatever_is_readable): Fix memory leak. |
8777 | ||
d3f323f3 MS |
8778 | * i386-tdep.c (i386_process_record): Document fall through. |
8779 | ||
421d5c74 JK |
8780 | 2011-03-08 Jan Kratochvil <[email protected]> |
8781 | ||
8782 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
8783 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
8784 | cu->header.version >= 3. | |
8785 | ||
63154eca PA |
8786 | 2011-03-08 Pedro Alves <[email protected]> |
8787 | ||
8788 | * remote.c (remote_check_symbols): Skip if the target has no | |
8789 | execution. | |
8790 | ||
f1a507a1 JB |
8791 | 2011-03-08 Joel Brobecker <[email protected]> |
8792 | ||
8793 | * target.c (read_whatever_is_readable): Reformat comment, | |
8794 | with a minor typo fix. Minor reformatting of the code. | |
8795 | ||
36073a92 YQ |
8796 | 2011-03-08 Yao Qi <[email protected]> |
8797 | ||
8798 | * arm-tdep.c: Remove prototype declaration displaced_in_arm_mode. | |
8799 | (displaced_read_reg): Add `dsc' parameter, remove `from' parameter. | |
8800 | Use cached result instead of calling displaced_in_arm_mode again. | |
8801 | (branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter. | |
8802 | (displaced_write_reg, copy_preload, copy_preload_reg): Callers update. | |
8803 | (cleanup_copro_load_store, copy_copro_load_store): Likewise. | |
8804 | (cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise. | |
8805 | (cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise. | |
8806 | (copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise. | |
8807 | (copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise. | |
8808 | (cleanup_block_load_all, cleanup_block_store_pc): Likewise. | |
8809 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
8810 | * arm-linux-tdep.c (arm_linux_copy_svc): Callers update. | |
8811 | (arm_catch_kernel_helper_return): Likewise. | |
8812 | * gdb/arm-tdep.h : Update function declarations. | |
8813 | ||
d3f323f3 | 8814 | 2011-03-07 Michael Snyder <[email protected]> |
e6040cbd | 8815 | |
e0e40094 MS |
8816 | * dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null. |
8817 | ||
0b2381f5 MS |
8818 | * ser-unix.c (hardwire_get_tty_state): Stop memory leak. |
8819 | ||
0350914a MS |
8820 | * mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment. |
8821 | ||
69feea6f MS |
8822 | * elfread.c (elf_symtab_read): Stop memory leak. |
8823 | ||
e6040cbd MS |
8824 | * main.c (captured_main): Fix memory leak. |
8825 | ||
052874e8 AS |
8826 | 2011-03-07 Andreas Schwab <[email protected]> |
8827 | ||
8828 | * ada-lang.c (compare_names): Call is_name_suffix with string1 | |
8829 | instead of string2. | |
8830 | ||
b11896a5 TT |
8831 | 2011-03-07 Tom Tromey <[email protected]> |
8832 | ||
8833 | * xcoffread.c (xcoff_sym_fns): Update. | |
8834 | * symfile.h (struct sym_fns) <sym_read_psymbols>: New field. | |
8835 | (enum symfile_add_flags) <SYMFILE_NO_READ>: New constant. | |
8836 | * symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ. | |
8837 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
8838 | (reread_symbols): Handle OBJF_PSYMTABS_READ. | |
8839 | * somread.c (som_sym_fns): Update. | |
8840 | * psymtab.h (require_partial_symbols): Declare. | |
8841 | * psymtab.c (require_partial_symbols): New function. | |
8842 | (ALL_OBJFILE_PSYMTABS_REQUIRED): New macro. | |
8843 | (ALL_OBJFILE_PSYMTABS): Undef. | |
8844 | (ALL_PSYMTABS): Move from psympriv.h. | |
8845 | (lookup_partial_symtab, find_pc_sect_psymtab) | |
8846 | (lookup_symbol_aux_psymtabs, relocate_psymtabs) | |
8847 | (find_last_source_symtab_from_partial) | |
8848 | (forget_cached_source_info_partial) | |
8849 | (print_psymtab_stats_for_objfile, read_symtabs_for_function) | |
8850 | (expand_partial_symbol_tables, read_psymtabs_with_filename) | |
8851 | (map_symbol_names_psymtab, map_symbol_filenames_psymtab) | |
8852 | (find_symbol_file_from_partial, map_matching_symbols_psymtab) | |
8853 | (expand_symtabs_matching_via_partial, maintenance_info_psymtabs): | |
8854 | Use ALL_OBJFILE_PSYMTABS_REQUIRED. | |
8855 | * psympriv.h (ALL_PSYMTABS): Move to psymtab.c. | |
8856 | * objfiles.h (OBJF_PSYMTABS_READ): New macro. | |
8857 | * objfiles.c (objfile_has_partial_symbols): Handle lazily-read | |
8858 | psymtabs. | |
8859 | * mipsread.c (ecoff_sym_fns): Update. | |
8860 | * machoread.c (macho_sym_fns): Update. | |
8861 | * elfread.c (elf_symfile_read): Set up for lazy psymtab reading. | |
8862 | (read_psyms): New function. | |
8863 | (elf_sym_fns, elf_sym_fns_gdb_index): Update. | |
8864 | (elf_sym_fns_lazy_psyms): New global. | |
8865 | * dwarf2read.c (dwarf2_initialize_objfile): Don't call | |
8866 | dwarf2_build_psymtabs. | |
8867 | * dbxread.c (aout_sym_fns): Update. | |
8868 | * coffread.c (coff_sym_fns): Update. | |
8869 | ||
fda326dd TT |
8870 | 2011-03-07 Tom Tromey <[email protected]> |
8871 | ||
8872 | * infrun.c (print_exited_reason): Include inferior id and pid in | |
8873 | message. | |
8874 | ||
aeaec162 TT |
8875 | 2011-03-07 Tom Tromey <[email protected]> |
8876 | ||
8877 | * target.h (struct target_ops) <to_has_execution>: Add ptid_t | |
8878 | parameter. | |
8879 | (target_has_execution_1): Update. | |
8880 | (target_has_execution_current): Declare. | |
8881 | (target_has_execution): Call target_has_execution_current. | |
8882 | (default_child_has_execution): Update. | |
8883 | * target.c (default_child_has_execution): Add 'the_ptid' | |
8884 | parameter. | |
8885 | (target_has_execution_1): Likewise. | |
8886 | (target_has_execution_current): New function. | |
8887 | (add_target): Update. | |
8888 | (init_dummy_target): Update. | |
8889 | * remote-m32r-sdi.c (m32r_has_execution): New function. | |
8890 | (init_m32r_ops): Use it. | |
8891 | * record.c (record_core_has_execution): Now static. Add | |
8892 | 'the_ptid' parameter. | |
8893 | * inferior.c (have_live_inferiors): Don't save current thread. | |
8894 | Use target_has_execution_1. | |
8895 | ||
08e14083 YQ |
8896 | 2011-03-07 Yao Qi <[email protected]> |
8897 | ||
8898 | * Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4. | |
8899 | ||
c05d19c5 JB |
8900 | 2011-03-07 Joel Brobecker <[email protected]> |
8901 | ||
8902 | * elfread.c (elf_symtab_read): Minor reformatting. | |
8903 | ||
3e6ef9e4 JB |
8904 | 2011-03-07 Joel Brobecker <[email protected]> |
8905 | ||
8906 | * objc-lang.c (selectors_info): Minor reformatting. | |
8907 | ||
dbb8534f JB |
8908 | 2011-03-07 Joel Brobecker <[email protected]> |
8909 | ||
8910 | * ada-lang.c (compare_names): Add FALLTHROUGH comment. | |
8911 | ||
dd70cc93 JB |
8912 | 2011-03-07 Joel Brobecker <[email protected]> |
8913 | Michael Snyder <[email protected]> | |
8914 | ||
8915 | * ada-valprint.c (ada_val_print_array): Move the declaration of | |
8916 | "byte_order" and "elttype" inside the block where these variables | |
8917 | are actually used. Remove some special handling for the case | |
8918 | where "elttype" and "eltlen" are null. Replace by a comment | |
8919 | and a couple of assertion checks. | |
8920 | ||
b27cf2b3 MS |
8921 | 2011-03-05 Michael Snyder <[email protected]> |
8922 | ||
8923 | * source.c (add_path): Replace semicolon at end of block. | |
8924 | * dwarf2expr.c (execute_stack_op): Ditto. | |
8925 | ||
5387a0c6 MF |
8926 | 2011-03-05 Mike Frysinger <[email protected]> |
8927 | ||
8928 | * bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h. | |
8929 | * configure.tgt (bfin-*-*linux*): Define gdb_sim. | |
8930 | (bfin-*-*): Likewise. | |
8931 | ||
e3aa49af MS |
8932 | 2011-03-05 Michael Snyder <[email protected]> |
8933 | ||
82ae4854 MS |
8934 | * dwarf2expr.c (execute_stack_op): Delete superfluous semicolon. |
8935 | * mdebugread.c (parse_symbol): Ditto. | |
8936 | * parse.c (parse_exp_in_context): Ditto. | |
8937 | * source.c (add_path): Ditto. | |
8938 | * utils.c (gnu_debuglink_crc32): Ditto. | |
8939 | * varobj.c (variable_language): Ditto. | |
8940 | ||
e3aa49af MS |
8941 | * linux-tdep.c (linux_get_siginfo_type): Stop memory leak. |
8942 | ||
154f592e MS |
8943 | 2011-03-04 Michael Snyder <[email protected]> |
8944 | ||
da3ecdc6 MS |
8945 | * linux-fork.c (inferior_call_waitptid): Fix copy/paste error. |
8946 | ||
9cc89665 MS |
8947 | * symfile.c (simple_overlay_update): Check for null return value |
8948 | from lookup_minimal_symbol. | |
8949 | ||
154f592e MS |
8950 | * xml-syscall.c (syscall_start_syscall): Assert name is non null. |
8951 | ||
63ffa6ee TJB |
8952 | 2011-03-04 Thiago Jung Bauermann <[email protected]> |
8953 | ||
8954 | * eval.c (parse_and_eval_address_1): Remove function. | |
8955 | * linespec.c (decode_indirect): Call parse_to_comma_and_eval | |
8956 | instead of parse_and_eval_address_1. | |
8957 | * value.h (parse_and_eval_address_1): Remove prototype. | |
8958 | ||
a17d146e MS |
8959 | 2011-03-04 Michael Snyder <[email protected]> |
8960 | ||
8961 | * remote.c (putpkt_binary): Document that case stmt falls through. | |
8962 | ||
1a6a67de TJB |
8963 | 2011-03-04 Thiago Jung Bauermann <[email protected]> |
8964 | ||
8965 | * breakpointc (print_it_typical): Move NULL check from here... | |
8966 | (print_bp_stop_message): ... to here. | |
8967 | ||
488919c4 MS |
8968 | 2011-03-04 Michael Snyder <[email protected]> |
8969 | ||
8970 | * breakpoint.c (enable_command): Use break instead of continue, | |
8971 | and fill in a missing break. | |
8972 | (disable_command): Ditto. | |
8973 | ||
1e182ce8 UW |
8974 | 2011-03-04 Ulrich Weigand <[email protected]> |
8975 | ||
8976 | * inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate. | |
8977 | (terminal_save_ours): Remove misleading comment. | |
8978 | (inflow_inferior_data_cleanup): Free ttystate. | |
8979 | (inflow_inferior_exit): Likewise. | |
8980 | (copy_terminal_info): Copy ttystate. | |
8981 | ||
8982 | * serial.c (serial_copy_tty_state): New function. | |
8983 | * serial.h (serial_copy_tty_state): Add prototype. | |
8984 | (struct serial_ops): Add copy_tty_state callback. | |
8985 | * ser-base.c (ser_base_copy_tty_state): New function. | |
8986 | * ser-base.h (ser_base_copy_tty_state): Add prototype. | |
8987 | * ser-go32.c (dos_copy_tty_state): New function. | |
8988 | (dos_ops): Install copy_tty_state callback. | |
8989 | * ser-mingw.c (_initialize_ser_windows): Likewise. | |
8990 | * ser-pipe.c (_initialize_ser_pipe): Likewise. | |
8991 | * ser-unix.c (hardwire_copy_tty_state): New function. | |
8992 | (_initialize_ser_hardwire): Install it. | |
8993 | ||
b2c5f112 MS |
8994 | 2011-03-04 Michael Snyder <[email protected]> |
8995 | ||
2abae994 MS |
8996 | * breakpoint.c (create_breakpoint): Add missing break statement. |
8997 | ||
7f5936f9 MS |
8998 | Reverting this patch: |
8999 | * infcall.c (call_function_by_hand): Add break statements for lint. | |
9000 | ||
b2c5f112 MS |
9001 | Reverting this patch: |
9002 | * cli/cli-script.c (script_from_file): Add break for lint. | |
9003 | ||
42b1321c MS |
9004 | 2011-03-04 Michael Snyder <[email protected]> |
9005 | ||
9006 | * solib.c (reload_shared_libraries_1): Close memory leak. | |
9007 | ||
3e2a0cee TT |
9008 | 2011-03-03 Tom Tromey <[email protected]> |
9009 | ||
9010 | PR gdb/12538: | |
9011 | * dwarf2read.c (process_psymtab_comp_unit): Handle case where | |
9012 | DW_STRING is NULL. | |
9013 | ||
58397cb7 MS |
9014 | 2011-03-03 Michael Snyder <[email protected]> |
9015 | ||
2e3fd767 MS |
9016 | * remote-fileio.c (remote_fileio_func_fstat): Initialize all |
9017 | fields of struct 'st' to zero. | |
9018 | ||
58397cb7 MS |
9019 | * tui/tui-winsource.c (tui_update_source_window_as_is): Initialize |
9020 | sal.pspace before calling set_current_source_symtab_and_line. | |
9021 | ||
ced54c8f YQ |
9022 | 2011-03-03 Yao Qi <[email protected]> |
9023 | ||
9024 | * Makefile.in (configure-common): Remove. Let Makefile | |
9025 | in dir common to rebuild itself. | |
9026 | (common/Makefile): Likewise. | |
9027 | ||
3351ea09 JB |
9028 | 2011-03-03 Joel Brobecker <[email protected]> |
9029 | ||
9030 | * utils.c (parse_escape): Add i18n markup in error message. | |
9031 | ||
bf9f652a YQ |
9032 | 2011-03-03 Yao Qi <[email protected]> |
9033 | ||
9034 | * gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with | |
9035 | ARM_PC_REGNUM. | |
9036 | (thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise. | |
9037 | (displaced_write_reg, displaced_read_reg): Likewise. | |
9038 | (copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise. | |
9039 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
9040 | (cleanup_branch): Replace magic number 14 and 15 with | |
9041 | ARM_LR_REGNUM and ARM_PC_REGNUM respectively. | |
9042 | ||
d42de051 MS |
9043 | 2011-03-02 Michael Snyder <[email protected]> |
9044 | ||
240f9570 MS |
9045 | * maint.c (maintenance_do_deprecate): No need to check for NULL. |
9046 | ||
10dd8b54 MS |
9047 | * cli/cli-script.c (script_from_file): Add break for lint. |
9048 | ||
b98bd911 MS |
9049 | * mdebugread.c (parse_partial_symbols): Fix indent. |
9050 | ||
3494b66d MS |
9051 | * target-descriptions.c (tdesc_gdb_type): No need to call |
9052 | xstrdup, callee saves a copy. | |
9053 | ||
daac021a MS |
9054 | * printcmd.c (print_scalar_formatted): Use strncpy for safety. |
9055 | ||
c38d16a7 MS |
9056 | * infcall.c (call_function_by_hand): Add break statements for lint. |
9057 | ||
905b671b MS |
9058 | * utils.c (parse_escape): Escape the escape char. |
9059 | ||
f2eb0bc8 | 9060 | * python/py-inferior.c (build_inferior_list): Error out if |
2d565757 MS |
9061 | PyList_Append fails. |
9062 | (gdbpy_inferiors): Error out if build_inferior_list fails. | |
9063 | ||
8c6a60d1 MS |
9064 | * linux-nat.c (linux_nat_xfer_partial): Preserve errno around |
9065 | a function call. | |
9066 | ||
d42de051 MS |
9067 | * record.c (record_restore): Move printf to before error return. |
9068 | ||
4db71c0b YQ |
9069 | 2011-03-02 Yao Qi <[email protected]> |
9070 | ||
9071 | * arm-tdep.h (struct displaced_step_closure): Add two new fields | |
9072 | is_thumb and insn_size. | |
9073 | * arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset | |
9074 | on both ARM and Thumb mode. | |
9075 | (arm_process_displaced_insn): Set is_thumb and insn_size. | |
9076 | (arm_displaced_init_closure): Handle both 16-bit and 32-bit. | |
9077 | (arm_displaced_step_fixup): Likewise. | |
9078 | ||
a9dc8dcc MS |
9079 | 2011-03-01 Michael Snyder <[email protected]> |
9080 | ||
53624a93 MS |
9081 | * cli/cli-dump.c (dump_bfd_file): Check error return and warn. |
9082 | ||
77766669 MS |
9083 | * jv-lang.c (evaluate_subexp_java): Conditional can't be true. |
9084 | ||
62d5b8da MS |
9085 | * dwarf2read.c (dwarf2_compute_name): NAME cannot be null here. |
9086 | ||
5e9e105f MS |
9087 | * cli/cli-dump.c (restore_binary_file): Validate ftell return value. |
9088 | ||
dc19db01 MS |
9089 | * ada-lang.c (ada_make_symbol_completion_list): Replace malloc |
9090 | with xmalloc. | |
9091 | ||
5ce64950 MS |
9092 | * ada-lang.c (aggregate_assign_others): Rename inner scope variable |
9093 | which shadows function parameter. | |
9094 | ||
a0aa2878 MS |
9095 | * tracepoint.c (create_tsv_from_upload): Superfluous call |
9096 | to xstrdup. Callee already calls xstrdup. | |
9097 | ||
e325fb69 MS |
9098 | * linespec.c (decode_line_1): Remove unnecessary null check. |
9099 | ||
21cbba77 MS |
9100 | * tracepoint.c (scope_info): Fix mem leak, remove underused |
9101 | variable. | |
9102 | ||
63360adc MS |
9103 | * python/py-prettyprint.c (apply_val_pretty_printer): Remove |
9104 | superfluous null check. | |
9105 | ||
18ea20ac | 9106 | * std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null. |
23ce9890 | 9107 | (value_of_builtin_frame_fp_reg): Ditto. |
18ea20ac | 9108 | |
d014929c MS |
9109 | * event-top.c (display_gdb_prompt): Remove superfluous null check. |
9110 | ||
6e9130cf MS |
9111 | * python/py-prettyprint.c (apply_val_pretty_printer): VAL may |
9112 | be null. | |
9113 | ||
5f01dbc0 MS |
9114 | * linespec.c (decode_line_1): Check for null before dereference. |
9115 | ||
d684ab85 MS |
9116 | * reverse.c (record_restore): Move null-check to before pointer |
9117 | dereference. | |
9118 | ||
bfffb7e3 MS |
9119 | * python/py-utils.c (gdbpy_obj_to_string): Delete unused variable. |
9120 | ||
a9dc8dcc MS |
9121 | * objc-lang.c (selectors_info): Add explanitory comment. |
9122 | (classes_info): Ditto. | |
9123 | ||
478fd957 UW |
9124 | 2011-03-01 Ulrich Weigand <[email protected]> |
9125 | ||
9126 | * arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define. | |
9127 | (arm_linux_restart_syscall_init): Handle both on-stack and in-kernel | |
9128 | versions of the trampoline. Handle Thumb vs. ARM addresses. | |
9129 | (arm_kernel_linux_restart_syscall_tramp_frame): New global. | |
9130 | (arm_linux_init_abi): Install it. | |
9131 | * arm-tdep.c (arm_psr_thumb_bit): Make global. | |
9132 | * arm-tdep.c (arm_psr_thumb_bit): Add prototype. | |
9133 | ||
0480cefa MS |
9134 | 2011-02-28 Michael Snyder <[email protected]> |
9135 | ||
ac50ab3b MS |
9136 | * ui-out.c (ui_out_field_core_addr): Make local char buffer |
9137 | a little bigger, to avoid possibility of an overflow. | |
9138 | ||
f63fbe86 MS |
9139 | * breakpoint.c (breakpoint_adjustment_warning): Make local char |
9140 | buffers a little bigger, to avoid possibility of an overflow. | |
9141 | ||
9e91a352 MS |
9142 | * coffread.c (coff_getfilename): Add check to avoid overflow. |
9143 | ||
f2eb0bc8 | 9144 | * objc-lang.c (selectors_info): Add a small safety margin to |
28288541 MS |
9145 | avoid overflow. |
9146 | (classes_info): Error out on too long REGEXP. | |
9147 | ||
098ab512 MS |
9148 | * infrun.c (handle_inferior_event): Remove unused function call. |
9149 | ||
bcbd1de9 MS |
9150 | * fork-child.c (fork_inferior): Remove ifdef'd code and |
9151 | unused variable. | |
9152 | ||
2e456570 MS |
9153 | * linux-thread-db.c (attach_thread): Discard unused value. |
9154 | ||
14571dad MS |
9155 | * linux-nat.c (linux_handle_extended_wait): Delete unused variable. |
9156 | ||
a9cbf802 MS |
9157 | * remote.c (remote_get_noisy_reply): Discard unused value. |
9158 | (remote_vcont_resume): Ditto. | |
9159 | (remote_stop_ns): Ditto. | |
9160 | ||
5715d26e MS |
9161 | * linespec.c (decode_objc): Delete unused variable. |
9162 | ||
4a9bca80 MS |
9163 | * tui/tui-regs.c (tui_register_format): Delete unused variable. |
9164 | ||
f47fb265 MS |
9165 | * dwarf2read.c (add_partial_symbol): Discard unused values. |
9166 | (read_base_type): Delete unused variable. | |
9167 | ||
e81cff30 MS |
9168 | * dbxread.c (read_dbx_symtab): Discard unused value. |
9169 | ||
262acaeb MS |
9170 | * eval.c (evaluate_subexp_standard): Delete unused variable, |
9171 | and discard unused values. | |
9172 | ||
df983543 MS |
9173 | * infcmd.c (_initialize_infcmd): Discard unused values. |
9174 | ||
89acf84d MS |
9175 | * stabsread.c (rs6000_builtin_type): Missing break statement. |
9176 | ||
ab8b8aca MS |
9177 | * dbxread.c (process_one_symbol): Discard unused value. |
9178 | ||
6b4511ab MS |
9179 | * coffread.c (coff_end_symtab): Delete unused variable. |
9180 | ||
e8e80198 MS |
9181 | * dwarf2read.c (dw2_get_file_names): Discard unused value. |
9182 | (dwarf2_add_typedef): Delete unused variable. | |
9183 | (read_namespace): Ditto. | |
9184 | (dwarf_decode_macros): Ditto. | |
9185 | ||
976aa66e MS |
9186 | * m2-lang.c (evaluate_subexp_modula2): Discard unused variable. |
9187 | ||
5b92b49f MS |
9188 | * opencl-lang.c (evaluate_subexp_opencl): Discard unused value. |
9189 | ||
91e8df85 MS |
9190 | * p-valprint.c (pascal_val_print): Discard unused value. |
9191 | ||
899500d6 MS |
9192 | * utils.c (nquery): Call va_end before return; |
9193 | (yquery): Ditto. | |
9194 | (query): Ditto. | |
9195 | ||
0480cefa MS |
9196 | * proc-service.c (ps_plog): Call va_end before return. |
9197 | ||
fb6a3ed3 TT |
9198 | 2011-02-28 Tom Tromey <[email protected]> |
9199 | ||
9200 | * python/python.c (gdbpy_value_cst): New global. | |
9201 | (_initialize_python): Initialize it. | |
9202 | * python/python-internal.h (gdbpy_value_cst): Declare. | |
9203 | * python/py-value.c (convert_value_from_python): Use | |
9204 | gdbpy_value_cst. | |
9205 | ||
c05202a1 MS |
9206 | 2011-02-28 Michael Snyder <[email protected]> |
9207 | ||
e463f587 MS |
9208 | * python/py-cmd.c (cmdpy_init): Fix memory leak. |
9209 | ||
c38eea1a MS |
9210 | * breakpoint.c (catch_syscall_completer): Free malloced list. |
9211 | ||
3ef09ab5 MS |
9212 | * jv-lang.c (java_primitive_type_from_name): Add missing break. |
9213 | ||
8f9a01ee MS |
9214 | * opencl-lang.c (lval_func_check_validity): Rename inner variables. |
9215 | (lval_func_check_synthetic_pointer): Ditto. | |
9216 | (lval_func_free_closure): Fix use-after-free. | |
c05202a1 | 9217 | |
477d0d57 TT |
9218 | 2011-02-28 Tom Tromey <[email protected]> |
9219 | ||
9220 | * psymtab.c (expand_partial_symbol_tables): Use | |
9221 | ALL_OBJFILE_PSYMTABS. | |
9222 | ||
20937029 JK |
9223 | 2011-02-28 Jan Kratochvil <[email protected]> |
9224 | ||
9225 | * objc-lang.c (selectors_info): Error on too long REGEXP. | |
9226 | ||
907b7f4f MS |
9227 | 2011-02-28 Michael Snyder <[email protected]> |
9228 | ||
92e96192 MS |
9229 | * python/py-param.c (set_parameter_value): Add missing |
9230 | break statement. | |
9231 | ||
907b7f4f MS |
9232 | * linux-record.c (record_linux_system_call): Add missing |
9233 | break statement. | |
9234 | ||
12c5a436 UW |
9235 | 2011-02-28 Ulrich Weigand <[email protected]> |
9236 | ||
9237 | * breakpoint.c (print_one_breakpoint_location): Remove unused | |
9238 | argument PRINT_ADDRESS_BITS. Update callers. | |
9239 | (print_one_breakpoint): Likewise. | |
9240 | ||
170b53b2 UW |
9241 | 2011-02-28 Ulrich Weigand <[email protected]> |
9242 | ||
9243 | * breakpoint.c (wrap_indent_at_field): New function. | |
9244 | (print_breakpoint_location): Use it instead of WRAP_INDENT argument. | |
9245 | Allocate ui_stream locally instead of using STB argument. | |
9246 | (print_one_breakpoint_location): Update call. | |
9247 | * ui-out.c (ui_out_query_field): New function. | |
9248 | * ui-out.h (ui_out_query_field): Add prototype. | |
9249 | ||
8ab1f94d JB |
9250 | 2011-02-28 Joel Brobecker <[email protected]> |
9251 | ||
9252 | From Michael Snyder <[email protected]> | |
9253 | * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. | |
9254 | ||
7d488639 MS |
9255 | 2011-02-27 Michael Snyder <[email protected]> |
9256 | ||
ae179fba MS |
9257 | * objc-lang.c (selectors_info): Prevent string overrun. |
9258 | ||
086dbf66 MS |
9259 | * tui/tui-stack.c (tui_get_function_from_frame): Fix off by one |
9260 | error in strncpy. | |
9261 | ||
f2eb0bc8 | 9262 | * symtab.c (rbreak_command): Move variable 'file_name' to |
9c1e305a MS |
9263 | outer scope. |
9264 | ||
7d488639 MS |
9265 | * d-valprint.c (dynamic_array_type): Avoid shadowing a function |
9266 | param with a local variable of the same name. | |
9267 | ||
3bd0f5ef MS |
9268 | 2011-02-27 Michael Snyder <[email protected]> |
9269 | ||
9270 | * value.c (value_from_history_ref): New function. | |
9271 | * value.h (value_from_history_ref): Export. | |
9272 | * cli/cli-utils.c (get_number_trailer): Use value_from_history_ref | |
9273 | to parse value history references. | |
9274 | * cli/cli-utils.h (get_number_trailer): Update comment. | |
9275 | ||
9276 | 2011-02-27 Michael Snyder <[email protected]> | |
9277 | ||
9278 | * inferior.c (detach_inferior_command): Use get_number_or_range. | |
9279 | (kill_inferior_command): Ditto. | |
9280 | (remove_inferior_command): Ditto. | |
9281 | (initialize_inferiors): Make command names plural. | |
9282 | Update help strings. | |
9283 | ||
766062f6 MS |
9284 | 2011-02-27 Michael Snyder <[email protected]> |
9285 | ||
9286 | * darwin-nat-info.c: Fix comment typo. | |
9287 | * dwarf2expr.h: Ditto. | |
9288 | * fbsd-nat.c: Ditto. | |
9289 | * fbsd-nat.h: Ditto. | |
9290 | * frame-unwind.h: Ditto. | |
9291 | * frame.h: Ditto. | |
9292 | * hppa-hpux-tdep.c: Ditto. | |
9293 | * i386-linux-nat.c: Ditto. | |
9294 | * linux-nat.c: Ditto. | |
9295 | * nbsd-nat.c: Ditto. | |
9296 | * nbsd-nat.h: Ditto. | |
9297 | * ppc-linux-tdep.c: Ditto. | |
9298 | * serial.c: Ditto. | |
9299 | * ui-file.h: Ditto. | |
9300 | * tui/tui-winsource.c: Ditto. | |
9301 | ||
f2c4ead5 MS |
9302 | 2011-02-26 Michael Snyder <[email protected]> |
9303 | ||
86b887df MS |
9304 | * breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file). |
9305 | ||
66fd3b1e MS |
9306 | * maint.c (maintenance_do_deprecate): Plug a memory leak. |
9307 | ||
8c814cdd MS |
9308 | * dwarf2loc.c (insert_bits): Avoid shadowing a function param |
9309 | with a local variable of the same name. | |
9310 | ||
6d5e094a | 9311 | * i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function |
e5b3d7d6 | 9312 | param with a local variable of the same name. |
6d5e094a | 9313 | (i387_supply_xsave): Ditto. |
e5b3d7d6 | 9314 | |
5eee517d MS |
9315 | * linux-low.c (linux_nat_xfer_osdata): Rename local variable so |
9316 | that it does not shadow a function parameter. | |
9317 | ||
8fbf6b93 MS |
9318 | * i386-nat.c (i386_length_and_rw_bits): Document that case |
9319 | statement is meant to fall through. | |
9320 | ||
cb969d61 MS |
9321 | * expprint.c (dump_subexp_body_standard): Document that case |
9322 | statement is meant to fall through. | |
9323 | ||
f2c4ead5 MS |
9324 | * amd64-linux-tdep.c (amd64_linux_syscall_record): Delete |
9325 | dead if statement. Condition can't be false. | |
9326 | ||
b021a221 MS |
9327 | 2011-02-25 Michael Snyder <[email protected]> |
9328 | ||
9329 | * arm-tdep.c: Fix typos in comments. | |
9330 | * bsd-uthread.c: Ditto. | |
9331 | * completer.c: Ditto. | |
9332 | * corelow.c: Ditto. | |
9333 | * cp-namespace.c: Ditto. | |
9334 | * cp-support.c: Ditto. | |
9335 | * cris-tdep.c: Ditto. | |
9336 | * dbxread.c: Ditto. | |
9337 | * dwarf2read.c: Ditto. | |
9338 | * frame.h: Ditto. | |
9339 | * gdbtypes.h: Ditto. | |
9340 | * inferior.h: Ditto. | |
9341 | * mdebugread.c: Ditto. | |
9342 | * mips-tdep.c: Ditto. | |
9343 | * ppc-linux-nat.c: Ditto. | |
9344 | * ppc-linux-tdep.c: Ditto. | |
9345 | * printcmd.c: Ditto. | |
9346 | * sol-thread.c: Ditto. | |
9347 | * solib-frv.c: Ditto. | |
9348 | * solist.h: Ditto. | |
9349 | * sparc64-tdep.c: Ditto. | |
9350 | * spu-tdep.c: Ditto. | |
9351 | * stabsread.c: Ditto. | |
9352 | * symfile.c: Ditto. | |
9353 | * valops.c: Ditto. | |
9354 | * varobj.c: Ditto. | |
9355 | * vax-nat.c: Ditto. | |
9356 | * python/py-block.c: Ditto. | |
9357 | * python/py-symbol.c: Ditto. | |
9358 | * python/py-symtab.c: Ditto. | |
9359 | * python/py-value.c: Ditto. | |
9360 | * tui/tui-win.c: Ditto. | |
9361 | ||
c82c0b55 MS |
9362 | 2011-02-25 Michael Snyder <[email protected]> |
9363 | ||
9364 | * inferior.c (print_inferior): Accept a string instead of an int | |
9365 | for requested_inferiors, and use get_number_or_range to parse it. | |
9366 | (info_inferiors_command): Pass args string to print_inferior. | |
9367 | (initialize_inferiors): Change help string for info inferiors. | |
9368 | * inferior.h (print_inferior): Export prototype change. | |
9369 | ||
ee00cd23 TT |
9370 | 2011-02-25 Tom Tromey <[email protected]> |
9371 | ||
9372 | * common/ax.def (invalid2): Set to 0x31. | |
9373 | ||
0502ed8c JK |
9374 | 2011-02-25 Jan Kratochvil <[email protected]> |
9375 | ||
9376 | * dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use | |
9377 | L and plongest. | |
9378 | (disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset, | |
9379 | use L and plongest. | |
9380 | (disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest. | |
9381 | ||
2c9de912 MS |
9382 | 2011-02-24 Michael Snyder <[email protected]> |
9383 | ||
9384 | * Makefile.in (clean): Make clean should remove generated files | |
9385 | observer.h and observer.inc. | |
9386 | ||
a04b0428 JB |
9387 | 2011-02-24 Joel Brobecker <[email protected]> |
9388 | ||
9389 | Revert the following patch (not approved yet): | |
9390 | 2011-02-21 Hui Zhu <[email protected]> | |
9391 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
9392 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
9393 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
9394 | * ax-general.c (ax_memcpy): New function. | |
9395 | (ax_print): Handle "printf". | |
9396 | (ax_reqs): Ditto. | |
9397 | * ax.h (ax_memcpy): Forward declare. | |
9398 | * common/ax.def (invalid2): Removed. | |
9399 | (printf): New entry. | |
9400 | * printcmd.c (printcmd.h): New include. | |
9401 | (string_printf): New function. | |
9402 | (ui_printf): Removed. | |
9403 | (printf_command): Remove static. Call string_printf. | |
9404 | (eval_command): Call string_printf. | |
9405 | * printcmd.h: New file. | |
9406 | * tracepoint.c (validate_actionline, | |
9407 | encode_actions_1): handle printf_command. | |
9408 | ||
2b52013f TT |
9409 | 2011-02-23 Tom Tromey <[email protected]> |
9410 | ||
9411 | * ax-general.c (ax_pick): Add missing newline. | |
9412 | ||
e5a67952 MS |
9413 | 2011-02-23 Michael Snyder <[email protected]> |
9414 | ||
9415 | * breakpoint.c (breakpoint_1): Change first argument from an int | |
9416 | to a char pointer, so that the function now accepts a list of | |
f2eb0bc8 | 9417 | breakpoints rather than just one. Use new function |
e5a67952 MS |
9418 | 'number_is_in_list' to implement. |
9419 | (breakpoints_info): Pass char * instead of int to breakpoint_1. | |
9420 | (watchpoints_info): Ditto. | |
9421 | (tracepoints_info): Ditto. | |
9422 | (maintenance_info_breakpoints): Ditto. | |
9423 | (_initialize_breakpoint): Update help strings to reflect the fact | |
9424 | that these functions can now take more than one argument. | |
9425 | * cli/cli-utils.c (number_is_in_list): New function. | |
9426 | * cli/cli-utils.h (number_is_in_list): Export. | |
9427 | ||
9428 | 2011-02-23 Michael Snyder <[email protected]> | |
fbcb778d MS |
9429 | |
9430 | * memattr.c (mem_enable_command): Use get_number_or_range. | |
9431 | (mem_disable_command): Ditto. | |
9432 | (mem_delete_command): Ditto. | |
9433 | (_initialize_mem): Tweak usage message to reflect multiple | |
9434 | arguments. | |
9435 | ||
6e6fbe60 DE |
9436 | 2011-02-22 Doug Evans <[email protected]> |
9437 | ||
9438 | Add gdb.lookup_global_symbol python function. | |
9439 | * NEWS: Add entry. | |
9440 | * python/py-symbol.c (gdbpy_lookup_global_symbol): New function. | |
9441 | * python/python-internal.h (gdbpy_lookup_global_symbol): Declare it. | |
9442 | * python/python.c (GdbMethods): Add entry for lookup_global_symbol. | |
9443 | ||
79b97fa8 TT |
9444 | 2011-02-22 Tom Tromey <[email protected]> |
9445 | ||
9446 | * language.c (language_class_name_from_physname): Rename | |
9447 | 'curr_language' argument to 'lang'; use in body. | |
9448 | ||
298f437a MS |
9449 | 2011-02-22 Michael Snyder <[email protected]> |
9450 | ||
9451 | * cli/cli-utils.c (number_is_in_list): Check for zero return. | |
9452 | ||
b7ea3126 PA |
9453 | 2011-02-22 Pedro Alves <[email protected]> |
9454 | ||
9455 | * frame-unwind.h: Fix comment to mention the this frame, not the | |
9456 | next. | |
9457 | ||
58ee6d60 TT |
9458 | 2011-02-22 Tom Tromey <[email protected]> |
9459 | ||
9460 | * symfile.c (auto_solib_limit): Remove. | |
9461 | * symfile.h (auto_solib_limit): Remove. | |
9462 | ||
36238dbc JB |
9463 | 2011-02-22 Joel Brobecker <[email protected]> |
9464 | ||
9465 | * Makefile.in (INSTALLED_LIBS): Delete. Update comment. | |
9466 | ||
aea5b279 MS |
9467 | 2011-02-21 Michael Snyder <[email protected]> |
9468 | ||
9469 | * gdbthread.h (print_thread_info): Change prototype. | |
9470 | * thread.c (print_thread_info): Accept char* instead of int for | |
9471 | requested_threads argument. Use new function number_is_in_list | |
9472 | to determine which threads to list. | |
9473 | (info_threads_command): Pass char* to print_thread_info. | |
9474 | * cli/cli-utils.c (number_is_in_list): New function. | |
9475 | * cli/cli-utils.h (number_is_in_list): Export. | |
f2eb0bc8 | 9476 | * mi/mi-main.c (mi_cmd_thread_info): Pass char* to |
aea5b279 MS |
9477 | print_thread_info. |
9478 | (print_one_inferior): Ditto. | |
9479 | (mi_cmd_list_thread_groups): Ditto. | |
9480 | ||
8caa75ee JK |
9481 | 2011-02-21 Jan Kratochvil <[email protected]> |
9482 | ||
9483 | * common/Makefile.in (CFLAGS): New. | |
9484 | (COMPILE): Add $(CFLAGS). | |
9485 | ||
ea666128 TT |
9486 | 2011-02-21 Tom Tromey <[email protected]> |
9487 | ||
9488 | * breakpoint.c (catch_syscall_command_1): Fix typo. | |
9489 | ||
e9cafbcc TT |
9490 | 2011-02-21 Tom Tromey <[email protected]> |
9491 | ||
9492 | * reverse.c: Include cli-utils.h. | |
9493 | * printcmd.c: Include cli-utils.h. | |
9494 | (string_printf): Use skip_spaces. | |
9495 | * cli/cli-utils.h: New file. | |
9496 | * cli/cli-utils.c: New file. | |
9497 | * cli/cli-dump.h (skip_spaces): Move to cli-utils.h. | |
9498 | * cli/cli-dump.c (skip_spaces): Move to cli-utils.c. | |
9499 | * breakpoint.h (get_number, get_number_or_range): Move to | |
9500 | cli-utils.h. | |
9501 | * breakpoint.c: Include cli-utils.h. | |
9502 | (get_number_trailer, get_number, get_number_or_range) | |
9503 | (ep_skip_leading_whitespace): Move to cli-utils.c. | |
9504 | (create_breakpoint_sal, find_condition_and_thread) | |
9505 | (decode_static_tracepoint_spec, watch_command_1) | |
9506 | (watch_maybe_just_location, ep_parse_optional_if_clause) | |
9507 | (catch_fork_command_1, catch_exec_command_1) | |
9508 | (catch_syscall_command_1): Use skip_spaces, skip_to_space. | |
9509 | * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o. | |
9510 | (SUBDIR_CLI_SRCS): Add cli-utils.c. | |
9511 | (HFILES_NO_SRCDIR): Add cli-utils.h. | |
9512 | (cli-utils.o): New target. | |
9513 | ||
f67fd822 PM |
9514 | 2011-02-18 Pierre Muller <[email protected]> |
9515 | ||
9516 | * remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID | |
9517 | before calling discard_all_inferiors. | |
9518 | ||
c9def01d UW |
9519 | 2011-02-21 Ulrich Weigand <[email protected]> |
9520 | ||
9521 | * opencl-lang.c (STRUCT_OCL_TYPE): Remove. | |
9522 | (struct builtin_opencl_type): Remove. | |
9523 | (builtin_opencl_type): Change return type to "struct type **". | |
9524 | (lookup_opencl_vector_type): Update caller. | |
9525 | (opencl_language_arch_info): Copy primitive type vector from gdbarch. | |
9526 | (build_opencl_types): Install plain array of "struct type *" | |
9527 | instead of "struct builtin_opencl_type". | |
9528 | ||
e3039479 UW |
9529 | 2011-02-21 Matthew Gretton-Dann <[email protected]> |
9530 | Ulrich Weigand <[email protected]> | |
9531 | ||
9532 | * arm-linux-nat.c: Include "observer.h" and "gdbthread.h". | |
9533 | (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define. | |
9534 | (struct arm_linux_hwbp_cap): New type. | |
9535 | (arm_linux_get_hwbp_cap): New function. | |
9536 | (arm_linux_get_hw_breakpoint_count): Likewise. | |
9537 | (arm_linux_get_hw_watchpoint_count): Likewise. | |
9538 | (arm_linux_can_use_hw_breakpoint): Likewise. | |
9539 | (arm_hwbp_type): New type. | |
9540 | (arm_hwbp_control_t): Likewise. | |
9541 | (struct arm_linux_hw_breakpoint): Likewise. | |
9542 | (struct arm_linux_thread_points): Likewise. | |
9543 | (arm_threads): New global variable. | |
9544 | (arm_linux_find_breakpoints_by_tid): New function. | |
9545 | (arm_hwbp_control_initialize): Likewise. | |
9546 | (arm_hwbp_control_is_enabled): Likewise. | |
9547 | (arm_hwbp_control_disable): Likewise. | |
9548 | (arm_linux_hw_breakpoint_initialize): Likewise. | |
9549 | (arm_linux_get_hwbp_type): Likewise. | |
9550 | (arm_linux_hw_watchpoint_initialize): Likewise. | |
9551 | (arm_linux_hw_breakpoint_equal): Likewise. | |
9552 | (arm_linux_insert_hw_breakpoint1): Likewise. | |
9553 | (arm_linux_remove_hw_breakpoint1): Likewise. | |
9554 | (arm_linux_insert_hw_breakpoint): Likewise. | |
9555 | (arm_linux_remove_hw_breakpoint): Likewise. | |
9556 | (arm_linux_region_ok_for_hw_watchpoint): Likewise. | |
9557 | (arm_linux_insert_watchpoint): Likewise. | |
9558 | (arm_linux_remove_watchpoint): Likewise. | |
9559 | (arm_linux_stopped_data_address): Likewise. | |
9560 | (arm_linux_stopped_by_watchpoint): Likewise. | |
9561 | (arm_linux_watchpoint_addr_within_range): Likewise. | |
9562 | (arm_linux_new_thread): Likewise. | |
9563 | (arm_linux_thread_exit): Likewise. | |
9564 | (_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint | |
9565 | related target callbacks. Register arm_linux_new_thread and | |
9566 | arm_linux_thread_exit. | |
9567 | * arm-tdep.h (arm_pc_is_thumb): Add prototype. | |
9568 | * arm-tdep.c (arm_pc_is_thumb): Make global. | |
9569 | (arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint. | |
9570 | ||
b5db5dfc UW |
9571 | 2011-02-21 Ulrich Weigand <[email protected]> |
9572 | ||
9573 | * breakpoint.c (update_watchpoint): Do not attempt to recreate | |
9574 | per-frame locations while within a function epilogue. | |
9575 | ||
e25b2cfa PM |
9576 | 2011-02-21 Pierre Muller <[email protected]> |
9577 | ||
9578 | * ser-mingw.c (ser_windows_close): Reformat comment to better conform | |
9579 | to GNU coding standards. | |
9580 | ||
4af53f97 PM |
9581 | 2011-02-21 Pierre Muller <[email protected]> |
9582 | ||
9583 | Allow use of mingw native on Windows 95 OS. | |
e25b2cfa | 9584 | * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry. |
4af53f97 PM |
9585 | (ser_windows_close): Only call CancelIo if function exists. |
9586 | (_initialize_ser_windows): Use LoadLirary/GetProcAddress | |
9587 | to check for existence of CancelIo function in kernel32 DLL. | |
9588 | ||
d0e92d82 HZ |
9589 | 2011-02-21 Hui Zhu <[email protected]> |
9590 | ||
9591 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
9592 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
9593 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
9594 | * ax-general.c (ax_memcpy): New function. | |
9595 | (ax_print): Handle "printf". | |
9596 | (ax_reqs): Ditto. | |
9597 | * ax.h (ax_memcpy): Forward declare. | |
9598 | * common/ax.def (invalid2): Removed. | |
9599 | (printf): New entry. | |
9600 | * printcmd.c (printcmd.h): New include. | |
9601 | (string_printf): New function. | |
9602 | (ui_printf): Removed. | |
9603 | (printf_command): Remove static. Call string_printf. | |
9604 | (eval_command): Call string_printf. | |
9605 | * printcmd.h: New file. | |
9606 | * tracepoint.c (validate_actionline, | |
9607 | encode_actions_1): handle printf_command. | |
9608 | ||
7d357efd MS |
9609 | 2011-02-19 Michael Snyder <[email protected]> |
9610 | ||
9611 | * reverse.c (delete_one_bookmark): Argument is now bookmark | |
9612 | id rather than pointer to bookmark struct. | |
9613 | (delete_bookmark_command): Use get_number_or_range. | |
9614 | (goto_bookmark_command): Parse with get_number instead of strtoul. | |
9615 | (bookmark_1): New function. Print info for one bookmark. | |
9616 | (bookmarks_info): Use get_number_or_range and bookmark_1. | |
9617 | ||
7a45ebd7 MS |
9618 | 2011-02-18 Michael Snyder <[email protected]> |
9619 | ||
f2eb0bc8 | 9620 | * thread.c (info_threads_command): Re-implement using |
7a45ebd7 | 9621 | get_number_or_range. |
65ebfb52 | 9622 | (thread_apply_command): Ditto. |
7a45ebd7 | 9623 | |
94d5e490 TT |
9624 | 2011-02-18 Tom Tromey <[email protected]> |
9625 | ||
9626 | * common/ax.def: New file. | |
9627 | * ax.h (enum agent_op): Use ax.def. | |
9628 | * ax-general.c (aop_map): Use ax.def. | |
9629 | ||
c7f96d2b TT |
9630 | 2011-02-18 Tom Tromey <[email protected]> |
9631 | ||
9632 | * ax-general.c (aop_map): Add pick and rot. | |
9633 | * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement. | |
9634 | <DW_OP_rot>: Implement. | |
9635 | * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants. | |
9636 | (ax_pick): Declare. | |
9637 | * ax-general.c (ax_pick): New function. | |
9638 | ||
66694b75 TT |
9639 | 2011-02-18 Tom Tromey <[email protected]> |
9640 | ||
9641 | * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc. | |
9642 | ||
eeaafae2 JK |
9643 | 2011-02-18 Jan Kratochvil <[email protected]> |
9644 | Tom Tromey <[email protected]> | |
9645 | ||
9646 | * cp-support.c (make_symbol_overload_list_namespace): Do not call | |
9647 | make_symbol_overload_list_block with NULL BLOCK. | |
9648 | * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF. | |
9649 | ||
3c3fe74c PA |
9650 | 2011-02-18 Pedro Alves <[email protected]> |
9651 | ||
9652 | * breakpoint.c (get_number_trailer): No longer accept a NULL PP. | |
9653 | * breakpoint.h (get_number_or_range): Declare. | |
9654 | * printcmd.c (ALL_DISPLAYS): Declare. | |
9655 | (delete_display): Reimplement taking a display pointer. | |
9656 | (undisplay_command): Accept a range of displays to delete, using | |
9657 | get_number_or_range. | |
9658 | ||
13163d80 PM |
9659 | 2011-02-18 Pierre Muller <[email protected]> |
9660 | ||
9661 | * c-valprint.c (c_val_print): Add embedded_offset to address | |
9662 | for arrays of unspecified length. | |
9663 | * p-valprint.c (pascal_val_print): Likewise. | |
9664 | ||
b434a28f YQ |
9665 | 2011-02-18 Yao Qi <[email protected]> |
9666 | ||
9667 | * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ... | |
9668 | (arm_process_displaced_insn): .. here. Remove parameter INSN. | |
9669 | (thumb_process_displaced_insn): New. | |
9670 | * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update | |
9671 | call to arm_process_displaced_insn. | |
9672 | * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn. | |
9673 | ||
9f6f94ff TT |
9674 | 2011-02-17 Tom Tromey <[email protected]> |
9675 | ||
9676 | * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare. | |
9677 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from | |
9678 | compile_dwarf_to_ax. No longer static. Call | |
9679 | dwarf2_compile_cfa_to_ax. | |
9680 | (locexpr_tracepoint_var_ref): Update. | |
9681 | (loclist_tracepoint_var_ref): Update. | |
9682 | * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare. | |
9683 | * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame' | |
9684 | argument; add 'gdbarch' and 'pc'. | |
9685 | (dwarf2_compile_cfa_to_ax): New function. | |
9686 | (dwarf2_frame_cache): Update. | |
9687 | ||
e67ad678 JB |
9688 | 2011-02-17 Joel Brobecker <[email protected]> |
9689 | ||
9690 | * ada-lang.c (ada_type_of_array): Fix the size of the array | |
9691 | in the case of an unconstrained packed array. | |
9692 | ||
946ebb0d YQ |
9693 | 2011-02-17 Yao Qi <[email protected]> |
9694 | ||
9695 | * common/Makefile.in: Add more targets for make. | |
9696 | ||
1ba1b353 TT |
9697 | 2011-02-16 Tom Tromey <[email protected]> |
9698 | ||
9699 | * dwarf2loc.c (unimplemented): Fix typo. | |
9700 | ||
b1bfef65 TT |
9701 | 2011-02-16 Tom Tromey <[email protected]> |
9702 | ||
9703 | * dwarf2loc.c (unimplemented): Handle unnamed opcodes. | |
9704 | (compile_dwarf_to_ax) <default>: Use unimplemented. | |
9705 | <DW_OP_deref>: Update. | |
9706 | (disassemble_dwarf_expression): Update. | |
9707 | * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument. | |
9708 | (decode_locdesc): Update. | |
9709 | * dwarf2expr.h (dwarf_stack_op_name): Update. | |
9710 | ||
5f1e6f19 TT |
9711 | 2011-02-16 Tom Tromey <[email protected]> |
9712 | ||
9713 | * ax.h (struct aop_map) <name>: Now const. | |
9714 | ||
a0c78a73 PA |
9715 | 2011-02-16 Tom Tromey <[email protected]> |
9716 | ||
9717 | * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other | |
9718 | than axs_rvalue. | |
9719 | ||
946ebb0d | 9720 | 2011-02-16 Yao Qi <[email protected]> |
a42244db YQ |
9721 | |
9722 | * infrun.c (get_displaced_step_closure_by_addr): New. | |
9723 | * inferior.h: Declare it. | |
9724 | * arm-tdep.c: (arm_pc_is_thumb): Call | |
9725 | get_displaced_step_closure_by_addr. Adjust MEMADDR if it | |
9726 | returns non-NULL. | |
9727 | ||
08807d5a PA |
9728 | 2011-02-16 Pedro Alves <[email protected]> |
9729 | Jan Kratochvil <[email protected]> | |
9730 | ||
9731 | gdb/ | |
9732 | * tracepoint.c (memrange_sortmerge): Fix list A's end calculation. | |
9733 | ||
29976f3f PA |
9734 | 2011-02-16 Pedro Alves <[email protected]> |
9735 | Jan Kratochvil <[email protected]> | |
9736 | ||
9737 | * value.c (value_contents_copy_raw): Extend describing comment. | |
9738 | Assert that the destination contents we're overwriting are wholly | |
9739 | available. | |
fb68ae73 | 9740 | (value_contents_copy): Extend describing comment. |
29976f3f | 9741 | |
cd24cfaa PA |
9742 | 2011-02-16 Pedro Alves <[email protected]> |
9743 | Jan Kratochvil <[email protected]> | |
9744 | ||
9745 | * value.c (value_available_contents_eq): Remove redundant local | |
9746 | variables. Fix available contents comparision. | |
9747 | * value.h (value_available_contents_eq): Extend describing | |
9748 | comment. | |
9749 | ||
60bbf338 YQ |
9750 | 2011-02-16 Yao Qi <[email protected]> |
9751 | ||
9752 | * thread.c (info_threads_command): Add missing i18n markup and remove | |
9753 | trailing newline. | |
9754 | ||
17450429 PP |
9755 | 2011-02-15 Paul Pluzhnikov <[email protected]> |
9756 | ||
9757 | * breakpoint.c (longjmp_names): New variable. | |
9758 | (struct breakpoint_objfile_data): New type. | |
9759 | (breakpoint_objfile_key): New variable. | |
9760 | (msym_not_found): New variable. | |
9761 | (msym_not_found_p): New predicate. | |
9762 | (get_breakpoint_objfile_data): New function. | |
9763 | (create_overlay_event_breakpoint): Check per-objfile cache for | |
9764 | symbols first. | |
9765 | (create_longjmp_master_breakpoint): Likewise. | |
9766 | (create_std_terminate_master_breakpoint): Likewise. | |
9767 | (create_exception_master_breakpoint): Likewise. | |
9768 | (_initialize_breakpoint): Register per-objfile data key. | |
9769 | ||
af02033e PP |
9770 | 2011-02-15 Paul Pluzhnikov <[email protected]> |
9771 | ||
9772 | * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate | |
9773 | parameter value. | |
9774 | (create_longjmp_master_breakpoint): Loop over longjmp names. | |
9775 | (create_std_terminate_master_breakpoint): Const-propagate parameter | |
9776 | value. | |
9777 | (update_breakpoints_after_exec): Adjust. | |
9778 | (breakpoint_re_set): Adjust. | |
9779 | ||
60f98dde MS |
9780 | 2011-02-15 Michael Snyder <[email protected]> |
9781 | ||
cdf99611 MS |
9782 | * thread.c (info_threads_command): Process arg as thread id, |
9783 | or list of thread ids. | |
9784 | (thread_find_command): New command. | |
9785 | (_initialize_thread): Document argument for info threads. | |
9786 | Document 'thread find' command. | |
9787 | * NEWS: Document new command "thread find". | |
60f98dde | 9788 | |
0feedb2c JK |
9789 | 2011-02-15 Jan Kratochvil <[email protected]> |
9790 | ||
9791 | * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'. | |
9792 | * aclocal.m4: Regenerated with aclocal-1.11.1. | |
9793 | * common/configure: Regenerate with autoconf-2.64. | |
9794 | ||
648cd113 KW |
9795 | 2011-02-15 Ken Werner <[email protected]> |
9796 | ||
9797 | * opencl-lang.c (build_opencl_types): Set the size of the built-in | |
9798 | bool data type to a size of one byte. | |
9799 | ||
5657161f PA |
9800 | 2011-02-15 Pedro Alves <[email protected]> |
9801 | Jan Kratochvil <[email protected]> | |
9802 | ||
9803 | * target.c (memory_xfer_live_readonly_partial): Document where to | |
9804 | look for interface description. | |
9805 | ||
494e194e YQ |
9806 | 2011-02-15 Yao Qi <[email protected]> |
9807 | ||
9808 | PR tdep/12352 | |
9809 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in | |
9810 | order to store PC value on stack instead of text section. | |
9811 | ||
d9492458 TJB |
9812 | 2011-02-15 Thiago Jung Bauermann <[email protected]> |
9813 | ||
9814 | * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for | |
9815 | the EFP register set size. | |
9816 | (efpr_pseudo_register_read): Use regcache_raw_read_part to read | |
9817 | data from the VMX register. | |
9818 | (efpr_pseudo_register_write): Use regcache_raw_write_part to read | |
9819 | and write data from/to the VMX register. | |
9820 | ||
cdf99611 MS |
9821 | 2011-02-14 Michael Snyder <[email protected]> |
9822 | ||
9823 | * command.h (enum command_class): New class 'no_set_class', for | |
9824 | "show" commands without a corresponding "set" command. | |
9825 | * value.c (_initialize_values): Use 'no_set_class' for "show values". | |
9826 | * copying.c (_initialize_copying): Ditto for "show copying" and | |
9827 | "show warranty". | |
9828 | * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and | |
9829 | "show version". | |
9830 | * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for | |
9831 | which there is no corresponding "set" command (eg. "show copying"). | |
9832 | ||
424447ee PA |
9833 | 2011-02-14 Pedro Alves <[email protected]> |
9834 | Jan Kratochvil <[email protected]> | |
9835 | ||
9836 | * exec.c (section_table_available_memory): Change `len' parameter | |
9837 | type to ULONGEST. | |
9838 | * exec.h (section_table_available_memory): Ditto. | |
9839 | * value.h (read_value_memory): Rename the `offset' parameter to | |
9840 | `embedded_offset'. | |
9841 | ||
c0f61f9c | 9842 | 2011-02-14 Pedro Alves <[email protected]> |
e0ccc0c7 | 9843 | Jan Kratochvil <[email protected]> |
c0f61f9c PA |
9844 | |
9845 | * memrange.c (compare_mem_ranges): Mention sort order in | |
9846 | describing comment. | |
9847 | (normalize_mem_ranges): Add comment. Fix ra->length calculation. | |
9848 | * tracepoint.c (traceframe_available_memory): Extend comment to | |
9849 | mention what happens to RESULT when the target does not support | |
9850 | the query. | |
9851 | ||
6bfc80c7 PA |
9852 | 2011-02-14 Pedro Alves <[email protected]> |
9853 | Jan Kratochvil <[email protected]> | |
9854 | ||
9855 | * value.c (mark_value_bytes_unavailable): Fix indexing the `bef' | |
9856 | range. | |
9857 | ||
e7303042 PA |
9858 | 2011-02-14 Pedro Alves <[email protected]> |
9859 | ||
9860 | * value.c (value_bits_valid, value_bits_synthetic_pointer): | |
9861 | No longer handle NULL values. | |
9862 | ||
8af8e3bc PA |
9863 | 2011-02-14 Pedro Alves <[email protected]> |
9864 | ||
9865 | * exceptions.h (NOT_AVAILABLE_ERROR): New error. | |
9866 | * value.c: Include "exceptions.h". | |
9867 | (require_available): Throw NOT_AVAILABLE_ERROR instead of a | |
9868 | generic error. | |
9869 | * cp-abi.c: Include gdb_assert.h. | |
9870 | (baseclass_offset): Add `embedded_offset' and `val' parameters. | |
9871 | Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR | |
9872 | errors. | |
9873 | * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val' | |
9874 | parameters. No longer returns -1 on error. | |
9875 | (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and | |
9876 | `val' parameters. | |
9877 | * cp-valprint.c: Include exceptions.h. | |
9878 | (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching | |
9879 | the baseclass_offset. Handle unavailable base classes. Use | |
9880 | val_print_invalid_address. | |
9881 | * p-valprint.c: Include exceptions.h. | |
9882 | (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors | |
9883 | when fetching the baseclass_offset. No longer expect | |
9884 | baseclass_offset returning -1. Handle unavailable base classes. | |
9885 | Use val_print_invalid_address. | |
9886 | * valops.c (dynamic_cast_check_1): Rename `contents' parameter to | |
9887 | `valaddr' parameter, and change its type to gdb_byte pointer. Add | |
9888 | `embedded_offset' and `val' parameters. Adjust. | |
9889 | (dynamic_cast_check_2): Rename `contents' parameter to `valaddr' | |
9890 | parameter, and change its type to gdb_byte pointer. Add | |
9891 | `embedded_offset' and `val' parameters. Adjust. No longer expect | |
9892 | baseclass_offset returning -1. | |
9893 | (value_dynamic_cast): Use value_contents_for_printing rather than | |
9894 | value_contents. Adjust. | |
9895 | (search_struct_field): No longer expect baseclass_offset returning | |
9896 | -1. | |
9897 | (search_struct_method): If reading memory from the target is | |
9898 | necessary, wrap it in a new value to pass to baseclass_offset. No | |
9899 | longer expect baseclass_offset returning -1. | |
9900 | (find_method_list): No longer expect baseclass_offset returning | |
9901 | -1. Use value_contents_for_printing rather than value_contents. | |
9902 | * valprint.c (val_print_invalid_address): New function. | |
9903 | * valprint.h (val_print_invalid_address): Declare. | |
9904 | * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset' | |
9905 | and `val' parameters. No longer expect baseclass_offset returning | |
9906 | -1. Adjust. | |
9907 | * gnu-v2-abi.c: Include "exceptions.h". | |
9908 | (gnuv2_baseclass_offset): Add `embedded_offset' and `val' | |
9909 | parameters. Handle unavailable memory. Recurse through | |
9910 | gnuv2_baseclass_offset directly, rather than through | |
9911 | baseclass_offset. No longer returns -1 on not found, instead | |
9912 | throw an error. | |
9913 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and | |
9914 | `val' parameters. Adjust. | |
9915 | ||
1b28d0b3 PA |
9916 | 2011-02-14 Pedro Alves <[email protected]> |
9917 | ||
9918 | * tracepoint.c (memrange_sortmerge): Don't merge ranges that are | |
9919 | almost but not quite adjacent. | |
9920 | ||
ec0a52e1 PA |
9921 | 2011-02-14 Pedro Alves <[email protected]> |
9922 | ||
9923 | * value.h (value_entirely_available): Declare. | |
9924 | * value.c (value_entirely_available): New function. | |
9925 | * c-valprint.c (c_value_print): Don't try fetching the pointer's | |
9926 | real type if the pointer is unavailable. | |
9927 | ||
24e6bcee PA |
9928 | 2011-02-14 Pedro Alves <[email protected]> |
9929 | ||
9930 | * valops.c (value_repeat): Use read_value_memory instead of | |
9931 | read_memory. | |
9932 | ||
39d37385 PA |
9933 | 2011-02-14 Pedro Alves <[email protected]> |
9934 | ||
9935 | * value.h (value_contents_copy, value_contents_copy_raw): Declare. | |
9936 | * value.c (value_contents_copy_raw, value_contents_copy): New | |
9937 | functions. | |
9938 | (value_primitive_field): Use value_contents_copy_raw instead of | |
9939 | memcpy. | |
9940 | * valops.c (value_fetch_lazy): Use value_contents_copy instead of | |
9941 | memcpy. | |
9942 | (value_array, value_slice): Ditto. | |
9943 | * valarith.c (value_subscripted_rvalue): Use | |
9944 | value_contents_copy_raw instead of memcpy. | |
9945 | ||
a3d34bf4 PA |
9946 | 2011-02-14 Pedro Alves <[email protected]> |
9947 | ||
9948 | <unavailable> references. | |
9949 | ||
9950 | * valops.c (get_value_at): Use value_from_contents_and_address, | |
9951 | avoiding read_memory. | |
9952 | ||
9fc6d940 PA |
9953 | 2011-02-14 Pedro Alves <[email protected]> |
9954 | ||
9955 | * c-valprint.c (c_val_print): Print a string with unavailable | |
9956 | contents as an array. | |
9957 | ||
5467c6c8 PA |
9958 | 2011-02-14 Pedro Alves <[email protected]> |
9959 | ||
9960 | * value.h (unpack_bits_as_long): Delete declaration. | |
9961 | (unpack_value_bits_as_long): Declare. | |
9962 | (unpack_value_field_as_long): Declare. | |
9963 | (value_field_bitfield): Declare. | |
9964 | * value.c (unpack_bits_as_long): Rename to... | |
9965 | (unpack_value_bits_as_long_1): ... this. Add embedded_offset and | |
9966 | value parameters. Return the extracted result in a new output | |
9967 | parameter. If the value contents are unavailable, return false, | |
9968 | otherwise return true. | |
9969 | (unpack_value_bits_as_long): New. | |
9970 | (unpack_field_as_long): Rename to... | |
9971 | (unpack_value_field_as_long_1): ... this. Add embedded_offset and | |
9972 | Add embedded_offset and value parameters. Return the extracted | |
9973 | result in a new output parameter. If the value contents are | |
9974 | unavailable, return false, otherwise return true. | |
9975 | (unpack_value_field_as_long): New. | |
9976 | (unpack_field_as_long_1): New. | |
9977 | (unpack_field_as_long): Reimplement as wrapper around | |
9978 | unpack_value_field_as_long_1. | |
9979 | (value_field_bitfield): New function. | |
9980 | * valops.c (value_fetch_lazy): When fetching a bitfield, use | |
9981 | unpack_value_bits_as_long. Mark the value as unavailable, if it | |
9982 | is unavailable. | |
9983 | * jv-valprint.c (java_print_value_fields): Use | |
9984 | value_field_bitfield. | |
9985 | * p-valprint.c (pascal_object_print_value_fields): Use | |
9986 | value_field_bitfield. | |
9987 | * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield. | |
9988 | ||
3158c6ed PA |
9989 | 2011-02-14 Pedro Alves <[email protected]> |
9990 | ||
9991 | * value.c (get_internalvar_integer): Also return the int value of | |
9992 | TYPE_CODE_INT INTERNALVAR_VALUE values. | |
9993 | (set_internalvar): Don't special case TYPE_CODE_INT. | |
9994 | ||
9fbdca0d PA |
9995 | 2011-02-14 Pedro Alves <[email protected]> |
9996 | ||
9997 | * value.c (struct internalvar) <enum internalvar_kind>: Remove | |
9998 | INTERNALVAR_POINTER. | |
9999 | <pointer>: Delete. | |
10000 | (value_of_internalvar): Remove INTERNALVAR_POINTER handling. | |
10001 | (set_internalvar): Remove special TYPE_CODE_PTR handling. | |
10002 | (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling. | |
10003 | ||
c8c1c22f PA |
10004 | 2011-02-14 Pedro Alves <[email protected]> |
10005 | ||
10006 | * value.h (value_available_contents_eq): Declare. | |
10007 | * value.c (find_first_range_overlap): New function. | |
10008 | (value_available_contents_eq): New function. | |
10009 | * valprint.c (val_print_array_elements): Use | |
10010 | value_available_contents_eq. | |
10011 | * ada-valprint.c (val_print_packed_array_elements): Use | |
10012 | value_available_contents_eq. | |
10013 | * jv-valprint.c (java_value_print): Use | |
10014 | value_available_contents_eq. | |
10015 | ||
e6e4e701 PA |
10016 | 2011-02-14 Pedro Alves <[email protected]> |
10017 | ||
10018 | * target.c (target_read_live_memory): New function. | |
10019 | (memory_xfer_live_readonly_partial): New. | |
10020 | (memory_xfer_partial): If reading from a traceframe, fallback to | |
10021 | reading unavailable read-only memory from read-only regions of | |
10022 | live target memory. | |
10023 | * tracepoint.c (disconnect_tracing): Adjust. | |
10024 | (set_current_traceframe): New, factored out from | |
10025 | set_traceframe_number. | |
10026 | (set_traceframe_number): Reimplement to only change the traceframe | |
10027 | number on the GDB side. | |
10028 | (do_restore_current_traceframe_cleanup): Adjust. | |
10029 | (make_cleanup_restore_traceframe_number): New. | |
10030 | (cur_traceframe_number): New global. | |
10031 | (tfile_open): Set cur_traceframe_number to no traceframe. | |
10032 | (set_tfile_traceframe): New function. | |
10033 | (tfile_trace_find): If looking up a traceframe using any method | |
10034 | other than by number, make sure the current tfile traceframe | |
10035 | matches gdb's current traceframe. Update the current tfile | |
10036 | traceframe if the lookup succeeded. | |
10037 | (tfile_fetch_registers, tfile_xfer_partial) | |
10038 | (tfile_get_trace_state_variable_value): Make sure the remote | |
10039 | traceframe matches gdb's current traceframe. | |
10040 | * remote.c (remote_traceframe_number): New global. | |
10041 | (remote_open_1): Set it to -1. | |
10042 | (set_remote_traceframe): New function. | |
10043 | (remote_fetch_registers, remote_store_registers) | |
10044 | (remote_xfer_memory, remote_xfer_partial) | |
10045 | (remote_get_trace_state_variable_value): Make sure the remote | |
10046 | traceframe matches gdb's current traceframe. | |
10047 | (remote_trace_find): If looking up a traceframe using any method | |
10048 | other than by number, make sure the current remote traceframe | |
10049 | matches gdb's current traceframe. Update the current remote | |
10050 | traceframe if the lookup succeeded. | |
10051 | * infrun.c (fetch_inferior_event): Adjust. | |
10052 | * tracepoint.h (set_current_traceframe): Declare. | |
10053 | (get_traceframe_number, set_traceframe_number): Add describing | |
10054 | comments. | |
10055 | ||
e6ca34fc PA |
10056 | 2011-02-14 Pedro Alves <[email protected]> |
10057 | ||
10058 | Mark pieces of values as unavailable if the corresponding memory | |
10059 | is unavailable. | |
10060 | ||
10061 | * valops.c: Include tracepoint.h. | |
10062 | (value_fetch_lazy): Use read_value_memory. | |
10063 | (read_value_memory): New. | |
10064 | * value.h (read_value_memory): Declare. | |
10065 | * dwarf2loc.c (read_pieced_value): Use read_value_memory. | |
10066 | * exec.c (section_table_available_memory): New function. | |
10067 | * exec.h (section_table_available_memory): Declare. | |
10068 | ||
2a7498d8 PA |
10069 | 2011-02-14 Pedro Alves <[email protected]> |
10070 | ||
10071 | * Makefile.in (SFILES): Add memrange.c. | |
10072 | (HFILES_NO_SRCDIR): Add memrange.h. | |
10073 | (COMMON_OBS): Add memrange.o. | |
10074 | * memrange.c: New file. | |
10075 | * memrange.h: New file. | |
10076 | * tracepoint.c: Include memrange.h. | |
10077 | (struct mem_range): Delete. | |
10078 | (mem_range_s): Delete. | |
10079 | (traceframe_available_memory): New function. | |
10080 | * tracepoint.h (traceframe_available_memory): Declare. | |
10081 | ||
b3b9301e PA |
10082 | 2011-02-14 Pedro Alves <[email protected]> |
10083 | ||
10084 | * target.h (struct traceframe_info): Forward declare. | |
10085 | (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO. | |
10086 | (struct target_ops) <to_traceframe_info>: New field. | |
10087 | (target_traceframe_info): New. | |
10088 | * target.c (update_current_target): Inherit and default | |
10089 | to_traceframe_info. | |
10090 | * remote.c (PACKET_qXfer_traceframe_info): New. | |
10091 | (remote_protocol_features): Register qXfer:traceframe-info:read. | |
10092 | (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO. | |
10093 | (remote_traceframe_info): New. | |
10094 | (init_remote_ops): Install it. | |
10095 | (_initialize_remote): Install "set/show remote traceframe-info" | |
10096 | commands. | |
10097 | * tracepoint.h (parse_traceframe_info): Declare. | |
10098 | * tracepoint.c (struct mem_range): New. | |
10099 | (mem_range_s): New typedef. | |
10100 | (struct traceframe_info): New. | |
10101 | (traceframe_info): New global. | |
10102 | (free_traceframe_info): New function. | |
10103 | (clear_traceframe_info): New function. | |
10104 | (start_tracing, tfind_1, set_traceframe_number): Clear traceframe | |
10105 | info. | |
10106 | (build_traceframe_info): New function. | |
10107 | (tfile_traceframe_info): New function. | |
10108 | (init_tfile_ops): Install tfile_traceframe_info. | |
10109 | (traceframe_info_start_memory, free_result): New functions. | |
10110 | (memory_attributes, traceframe_info_elements): New globals. | |
10111 | (parse_traceframe_info, get_traceframe_info): New functions. | |
10112 | * features/traceframe-info.dtd: New file. | |
10113 | * Makefile.in (XMLFILES): Add traceframe-info.dtd. | |
10114 | ||
4e07d55f PA |
10115 | 2011-02-14 Pedro Alves <[email protected]> |
10116 | ||
10117 | Base support for <unavailable> value contents. | |
10118 | ||
4e07d55f PA |
10119 | * value.h (value_bytes_available): Declare. |
10120 | (mark_value_bytes_unavailable): Declare. | |
10121 | * value.c (struct range): New struct. | |
10122 | (range_s): New typedef. | |
10123 | (ranges_overlap): New function. | |
10124 | (range_lessthan): New function. | |
10125 | (ranges_contain_p): New function. | |
10126 | (struct value) <unavailable>: New field. | |
10127 | (value_bytes_available): New function. | |
10128 | (mark_value_bytes_unavailable): New function. | |
10129 | (require_not_optimized_out): Constify parameter. | |
10130 | (require_available): New function. | |
10131 | (value_contents_all, value_contents): Require all bytes be | |
10132 | available. | |
10133 | (value_free): Free `unavailable'. | |
10134 | (value_copy): Copy `unavailable'. | |
10135 | * valprint.h (val_print_unavailable): Declare. | |
10136 | * valprint.c (valprint_check_validity): Rename `offset' parameter | |
10137 | to `embedded_offset'. If printing a scalar, check whether the | |
10138 | value chunk is available. | |
10139 | (val_print_unavailable): New. | |
10140 | (val_print_scalar_formatted): Check whether the value is | |
10141 | available. | |
10142 | * python/py-prettyprint.c (apply_val_pretty_printer): Refuse | |
10143 | pretty-printing unavailable values. | |
10144 | ||
bc9a5551 JK |
10145 | 2011-02-13 Jan Kratochvil <[email protected]> |
10146 | ||
10147 | Fix const/volatile qualifiers of C++ types, PR c++/12328. | |
10148 | * c-typeprint.c (c_type_print_args): Update the function comment. New | |
10149 | variable param_type, initialize it. Remove const/volatile qualifiers | |
10150 | for language_cplus and !show_artificial. Use param_type. | |
10151 | ||
93b55aa1 JK |
10152 | 2011-02-13 Jan Kratochvil <[email protected]> |
10153 | ||
10154 | * symtab.c (find_pc_sect_line): New variable objfile, initialize it | |
10155 | from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S. | |
10156 | * symtab.h (struct symtab) <next>: Comment extension. | |
10157 | ||
181d9476 YQ |
10158 | 2011-02-12 Yao Qi <[email protected]> |
10159 | ||
10160 | * Makefile.in (CLEANDIRS): Remove duplicated common dir. | |
10161 | ||
b708a5c7 JK |
10162 | 2011-02-11 Yao Qi <[email protected]> |
10163 | ||
10164 | * common/Makefile.in: Add copyright header. | |
10165 | ||
c5187ac6 PA |
10166 | 2011-02-11 Pedro Alves <[email protected]> |
10167 | ||
10168 | * infrun.c (proceed): Move switching out and in of tfind mode from | |
10169 | here ... | |
10170 | (fetch_inferior_event): ... to here. | |
10171 | ||
4f3e6fb7 YQ |
10172 | 2011-02-11 Yao Qi <[email protected]> |
10173 | ||
10174 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
10175 | libcommon.a. | |
10176 | * configure.ac: Add common to sub dir. | |
10177 | * configure: Regenerate. | |
10178 | ||
b708a5c7 JK |
10179 | 2011-02-11 Yao Qi <[email protected]> |
10180 | ||
10181 | Build libcommon.a. | |
10182 | ||
10183 | * common/Makefile.in: New. | |
10184 | * common/configure.ac: New. | |
10185 | * common/aclocal.m4: New. | |
10186 | * common/configure: Generate. | |
10187 | ||
2287cc7e PA |
10188 | 2011-02-10 Pedro Alves <[email protected]> |
10189 | ||
10190 | * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right | |
10191 | side of the parenthesis. | |
10192 | ||
10193 | Merge from GCC: | |
10194 | 2010-07-13 Jakub Jelinek <[email protected]> | |
fc013618 | 10195 | * vec.h (VEC_block_remove): Fix comment. |
2287cc7e | 10196 | |
fd62cb89 MS |
10197 | 2011-02-08 Michael Snyder <[email protected]> |
10198 | ||
10199 | * linux-nat.c (linux_nat_filter_event): Fix typo in comment. | |
10200 | ||
56d2815c JK |
10201 | 2011-02-08 Jan Kratochvil <[email protected]> |
10202 | ||
10203 | * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes | |
10204 | in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd, | |
10205 | psubd and paddd. | |
10206 | ||
4f7d61a8 JK |
10207 | 2011-02-08 Jan Kratochvil <[email protected]> |
10208 | ||
10209 | PR 12361. | |
10210 | * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to | |
10211 | phsubsw. | |
10212 | (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0. | |
10213 | (i386_process_record) <0x0f3807>: Fix the comment to phsubsw. | |
10214 | ||
54fcddd0 UW |
10215 | 2011-02-08 Ulrich Weigand <[email protected]> |
10216 | ||
10217 | * dwarf2read.c (read_subroutine_type): Set special calling | |
10218 | convention flag for functions compiled by IBM XL C for OpenCL. | |
10219 | * ppc-sysv-tdep.c: Include "dwarf2.h" | |
10220 | (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types | |
10221 | calling convention. | |
10222 | (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement | |
10223 | IBM OpenCL vector types calling convention. | |
10224 | (ppc_sysv_abi_return_value): Pass through FUNC_TYPE. | |
10225 | (ppc_sysv_abi_broken_return_value): Likewise. | |
10226 | (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector | |
10227 | types calling convention. | |
10228 | (ppc64_sysv_abi_return_value): Likewise. | |
10229 | * spu-tdep.c: Include "dwarf2.h" | |
10230 | (spu_return_value): Implement IBM OpenCL vector types calling | |
10231 | convention. | |
10232 | ||
d6dafb7c UW |
10233 | 2011-02-08 Ulrich Weigand <[email protected]> |
10234 | ||
10235 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement | |
10236 | correct ABI for AltiVec vector arguments. | |
10237 | ||
32b72a42 PA |
10238 | 2011-02-07 Pedro Alves <[email protected]> |
10239 | ||
10240 | * valprint.c (val_print): Extend comment. | |
10241 | * ada-valprint.c (ada_valprint): Rewrite comment deferring | |
10242 | interface explanation to val_print. | |
10243 | (ada_val_print_array): Adjust comment to current interface. | |
10244 | (print_field_values): Adjust comment to current interface. | |
10245 | * c-valprint.c (c_val_print): Rewrite comment deferring interface | |
10246 | explanation to val_print. | |
10247 | * f-valprint.c (f_val_print): Ditto. | |
10248 | * jv-valprint.c (java_val_print): Ditto. | |
10249 | * m2-valprint.c (m2_val_print): Ditto. | |
10250 | * p-valprint.c (pascal_val_print): Ditto. | |
10251 | ||
9998af43 TJB |
10252 | 2011-02-07 Thiago Jung Bauermann <[email protected]> |
10253 | ||
10254 | * breakpoint.c (parse_breakpoint_sals): Fix description. | |
10255 | ||
505500db | 10256 | 2011-02-04 Sami Wagiaalla <[email protected]> |
9998af43 | 10257 | Oguz Kayral <[email protected]> |
505500db SW |
10258 | |
10259 | * python/py-inferior.c (python_on_normal_stop): New function. | |
10260 | (python_on_resume): New function. | |
10261 | (python_inferior_exit): New function. | |
10262 | (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and | |
10263 | inferior_exit observers. | |
10264 | * python/py-evtregistry.c: New file. | |
10265 | * python/py-threadevent.c : New file. | |
10266 | * python/py-event.c: New file. | |
10267 | * python/py-evts.c: New file. | |
10268 | * python/py-continueevent.c: New file. | |
10269 | * python/py-bpevent.c: New file. | |
10270 | * python/py-signalevent.c: New file. | |
10271 | * python/py-exetiedevent.c: New file. | |
10272 | * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function. | |
10273 | Move struct breakpoint_object from here... | |
10274 | * python/python-internal.h: ... to here. | |
10275 | * python/py-event.h: New file. | |
10276 | * python/py-events.h: New file. | |
10277 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o, | |
10278 | py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o, | |
10279 | py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o. | |
10280 | (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c, | |
10281 | py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c, | |
10282 | py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c. | |
10283 | Add build rules for all the above. | |
10284 | ||
9e0ac564 TT |
10285 | 2011-02-04 Tom Tromey <[email protected]> |
10286 | ||
10287 | * dwarf2read.c (dwarf2_section_empty_p): New function. | |
10288 | (dwarf2_read_section): Use dwarf2_section_empty_p. | |
10289 | (dwarf2_section_size): New function. | |
10290 | (dwarf2_get_section_info): Unconditionally read section. | |
10291 | (dwarf2_read_index): Use dwarf2_section_empty_p. | |
10292 | (partial_read_comp_unit_head): Use dwarf2_section_size. | |
10293 | (dwarf2_symbol_mark_computed): Likewise. | |
10294 | ||
eee5b35e DD |
10295 | 2011-02-04 David Daney <[email protected]> |
10296 | ||
10297 | * NEWS: Add item for "catch syscall" on mips*-linux* targets. | |
10298 | ||
385203ed DD |
10299 | 2011-02-04 David Daney <[email protected]> |
10300 | ||
10301 | * mips-linux-tdep.c: Include xml-syscall.h. | |
10302 | (mips_linux_get_syscall_number): New function. | |
10303 | (mips_linux_init_abi): Add calls to | |
10304 | mips_linux_get_syscall_number() and set_xml_syscall_file_name(). | |
10305 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
10306 | mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml | |
10307 | * syscalls/mips-n32-linux.xml: New file. | |
10308 | * syscalls/mips-n64-linux.xml: New file. | |
10309 | * syscalls/mips-o32-linux.xml: New file. | |
10310 | ||
9277c30c UW |
10311 | 2011-02-04 Ulrich Weigand <[email protected]> |
10312 | ||
10313 | * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries. | |
10314 | Complain about inverted range entries. | |
10315 | (dwarf2_record_block_ranges): Likewise. | |
10316 | ||
a3be7890 TJB |
10317 | 2011-02-04 Thiago Jung Bauermann <[email protected]> |
10318 | ||
10319 | Fix some typos. | |
10320 | * breakpoint.c (update_watchpoint): Fix name of the | |
10321 | update_global_location_list function. | |
10322 | (print_one_breakpoint): Fix typo. | |
10323 | (_initialize_breakpoint): Remove extra space in hbreak help | |
10324 | string. | |
10325 | * breakpoint.h (struct bp_location) <length>: Fix field | |
10326 | description. | |
10327 | ||
041274d8 PA |
10328 | 2011-02-04 Pedro Alves <[email protected]> |
10329 | ||
10330 | * regcache.c (registers_changed_ptid): Don't explictly always | |
10331 | clear `current_regcache'. Only clear current_thread_ptid and | |
10332 | current_thread_arch when PTID matches. Only reinit the frame | |
10333 | cache if PTID matches the current inferior_ptid. Move alloca(0) | |
10334 | call to ... | |
10335 | (registers_changed): ... here. | |
10336 | ||
c1c2ab58 UW |
10337 | 2011-02-03 Ulrich Weigand <[email protected]> |
10338 | ||
10339 | * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that | |
10340 | starts with __stack_chk_guard as stack guard symbol. | |
10341 | ||
9011945e AB |
10342 | 2011-02-03 Andrew Burgess <[email protected]> |
10343 | ||
10344 | * disasm.c (compare_lines): Handle the end of sequence markers | |
10345 | within the line table to better support disassembling over | |
10346 | compilation unit boundaries. | |
10347 | ||
e0634ccf UW |
10348 | 2011-02-02 Ulrich Weigand <[email protected]> |
10349 | ||
10350 | * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB | |
10351 | arguments. Skip in-prologue calls to glibc __aeabi_read_tp | |
10352 | implementation even if no symbols are available. | |
10353 | (thumb_analyze_prologue): Update call to skip_prologue_function. | |
10354 | (arm_analyze_prologue): Likewise. | |
10355 | ||
0e9e9abd UW |
10356 | 2011-02-02 Ulrich Weigand <[email protected]> |
10357 | ||
10358 | * arm-tdep.c: Include "observer.h". | |
10359 | (arm_prologue_this_id): Use frame PC if get_frame_func returns 0. | |
10360 | (arm_exidx_data_key): New static variable. | |
10361 | (struct arm_exidx_entry, arm_exidx_entry_s): New data types. | |
10362 | (struct arm_exidx_data): Likewise. | |
10363 | (arm_exidx_data_free): New function. | |
10364 | (arm_compare_exidx_entries): Likewise. | |
10365 | (arm_obj_section_from_vma): Likewise. | |
10366 | (arm_exidx_new_objfile): Likewise. | |
10367 | (arm_find_exidx_entry): Likewise. | |
10368 | (arm_exidx_fill_cache): Likewise. | |
10369 | (arm_exidx_unwind_sniffer): Likewise. | |
10370 | (arm_exidx_unwind): New global variable. | |
10371 | (arm_gdbarch_init): Append unwinder arm_exidx_unwind. | |
10372 | (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile | |
10373 | observer. Register arm_exidx_data_key as objfile data. | |
10374 | ||
2e9e421f UW |
10375 | 2011-02-02 Ulrich Weigand <[email protected]> |
10376 | ||
10377 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break | |
10378 | due to accessing uninitialized variable. Fix indentation. | |
10379 | ||
580688f3 PA |
10380 | 2011-02-02 Pedro Alves <[email protected]> |
10381 | ||
10382 | * c-valprint.c (c_value_print): When doing virtual base pointer | |
10383 | adjustment, create a new value with adjusted contents rather than | |
10384 | changing the contents of the value being printed (and getting it | |
10385 | wrong). | |
10386 | ||
3d2c1d41 PA |
10387 | 2011-02-02 Pedro Alves <[email protected]> |
10388 | ||
10389 | * xml-support.c (xml_find_attribute): New. | |
10390 | (xinclude_start_include): Use it. | |
10391 | * xml-support.h (xml_find_attribute): Declare. | |
10392 | * memory-map.c (memory_map_start_memory) | |
10393 | (memory_map_start_property): Use xml_find_attribute. | |
10394 | * osdata.c (osdata_start_osdata, osdata_start_column): Use | |
10395 | xml_find_attribute. | |
10396 | * remote.c (start_thread): Use xml_find_attribute. | |
10397 | * solib-target.c (library_list_start_segment) | |
10398 | (library_list_start_section, library_list_start_library) | |
10399 | (library_list_start_list): Use xml_find_attribute. | |
10400 | * xml-tdesc.c (tdesc_start_target, tdesc_start_feature) | |
10401 | (tdesc_start_union, tdesc_start_struct, tdesc_start_flags) | |
10402 | (tdesc_start_field): Use xml_find_attribute. | |
10403 | ||
0af3e2db UW |
10404 | 2011-02-02 Ulrich Weigand <[email protected]> |
10405 | ||
10406 | * opencl-lang.c (STRINGIFY): Rename to OCL_STRING. | |
10407 | (BUILD_OCL_VTYPES): Update. | |
10408 | ||
c1039e3c JB |
10409 | 2011-02-02 Joel Brobecker <[email protected]> |
10410 | ||
10411 | * configure.ac: Work around non-GNU sed limitation when computing | |
10412 | python version number. | |
10413 | * configure: Regenerate. | |
10414 | ||
600ea1be JK |
10415 | 2011-02-01 Jan Kratochvil <[email protected]> |
10416 | ||
10417 | Fix debug printing of TYPE_INSTANCE. | |
10418 | * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New. | |
10419 | (dump_subexp_body_standard) <TYPE_INSTANCE>: New. | |
10420 | ||
56c12414 JK |
10421 | 2011-02-01 Jan Kratochvil <[email protected]> |
10422 | ||
10423 | Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL, | |
10424 | OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME, | |
10425 | OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT. | |
10426 | * ada-operator.inc: Rename the file to ... | |
10427 | * ada-operator.def: ... here, wrap all the entries by macro OP. | |
10428 | * expprint.c (op_name_standard): Remove all the entries. Include | |
10429 | "std-operator.def" instead. | |
10430 | * expression.h (enum exp_opcode): Include "std-operator.def" and | |
10431 | "ada-operator.def". Move all the entries ... | |
10432 | * std-operator.def: ... here, wrap all the entries by macro OP. | |
10433 | ||
c52b559d PP |
10434 | 2011-01-31 Paul Pluzhnikov <[email protected]> |
10435 | ||
10436 | * breakpoint.h (remove_jit_event_breakpoints): New prototype. | |
10437 | * breakpoint.c (remove_jit_event_breakpoints): New function. | |
10438 | * jit.c (jit_descriptor_addr): Delete. | |
10439 | (registering_code): Delete. | |
10440 | (clear_int): Delete. | |
10441 | (jit_inferior_data): New variable. | |
10442 | (struct jit_inferior_data): New type. | |
10443 | (get_jit_inferior_data): New function. | |
10444 | (jit_inferior_data_cleanup): New function. | |
10445 | (jit_read_descriptor): Adjust. | |
10446 | (jit_register_code): Adjust. | |
10447 | (jit_breakpoint_re_set_internal): New function; move code here ... | |
10448 | (jit_inferior_init): ... from here. | |
10449 | (jit_breakpoint_re_set): Adjust. | |
10450 | (jit_reset_inferior_data_and_breakpoints): New function. | |
10451 | (jit_inferior_created_observer): Adjust. | |
10452 | (jit_inferior_exit_hook): Adjust. | |
10453 | (jit_executable_changed_observer): New function. | |
10454 | (jit_event_handler): Adjust. | |
10455 | (_initialize_jit): Adjust. | |
10456 | ||
e839132d MS |
10457 | 2011-01-31 Michael Snyder <[email protected]> |
10458 | ||
10459 | * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted | |
10460 | line. | |
10461 | ||
47a80e90 TT |
10462 | 2011-01-31 Tom Tromey <[email protected]> |
10463 | ||
10464 | PR python/12216: | |
10465 | * python/python.c (execute_gdb_command): Call | |
10466 | prevent_dont_repeat. | |
10467 | * top.c (suppress_dont_repeat): New global. | |
10468 | (dont_repeat): Use it. | |
10469 | (prevent_dont_repeat): New function. | |
10470 | * command.h (prevent_dont_repeat): Declare. | |
10471 | ||
45a43567 TT |
10472 | 2011-01-31 Tom Tromey <[email protected]> |
10473 | ||
10474 | * infcmd.c (finish_backward): Use breakpoint_set_silent. | |
10475 | * python/py-breakpoint.c (bppy_set_silent): Use | |
10476 | breakpoint_set_silent. | |
10477 | (bppy_set_thread): Use breakpoint_set_thread. | |
10478 | (bppy_set_task): Use breakpoint_set_task. | |
10479 | * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread) | |
10480 | (breakpoint_set_task): Declare. | |
10481 | (make_breakpoint_silent): Remove. | |
10482 | * breakpoint.c (breakpoint_set_silent): New function. | |
10483 | (breakpoint_set_thread): Likewise. | |
10484 | (breakpoint_set_task): Likewise. | |
10485 | (make_breakpoint_silent): Remove. | |
10486 | ||
09d682a4 TT |
10487 | 2011-01-31 Tom Tromey <[email protected]> |
10488 | ||
10489 | * breakpoint.h (user_breakpoint_p): Declare. | |
10490 | * breakpoint.c (user_breakpoint_p): New function. | |
10491 | (breakpoint_1): Use it. | |
10492 | (save_breakpoints): Likewise. | |
10493 | ||
9c4ea6c5 JB |
10494 | 2011-01-31 Joel Brobecker <[email protected]> |
10495 | ||
10496 | * configure.ac: Add handling of Python distribution on Windows. | |
10497 | * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED | |
10498 | sysconfig variables are not defined, then do not use them. | |
10499 | On Windows, if LIBPL is not defined, then use prefix + '/libs' | |
10500 | instead. On Windows, return all paths using forward-slashes | |
10501 | rather than backslashes. | |
10502 | ||
ac534cba JB |
10503 | 2011-01-31 Joel Brobecker <[email protected]> |
10504 | ||
10505 | * configure.ac: Remove fallback behavior for building | |
10506 | against Python. Remove tweaking of Python include path. | |
10507 | Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution. | |
10508 | (AC_TRY_LIBPYTHON): Adjust program used in linking test. | |
10509 | If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS. | |
10510 | Always restore CPPFLAGS and LIBS after linking test. | |
10511 | * configure: Regenerated. | |
10512 | * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@. | |
10513 | (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@. | |
10514 | * python/python-internal.h: Adjust includes of Python .h files. | |
10515 | ||
c2f0d045 JB |
10516 | 2011-01-31 Joel Brobecker <[email protected]> |
10517 | ||
10518 | * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup | |
10519 | in error message. | |
10520 | ||
6b0c4c1f JB |
10521 | 2011-01-31 Joel Brobecker <[email protected]> |
10522 | ||
10523 | * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode | |
10524 | value test. | |
10525 | ||
672c9795 YQ |
10526 | 2011-01-31 Yao Qi <[email protected]> |
10527 | ||
10528 | * arm-linux-nat.c: Update calls to regcache_register_status | |
10529 | instead of regcache_valid_p. | |
10530 | * aix-thread.c: Likewise. | |
10531 | * i386gnu-nat.c: Likewise. | |
10532 | ||
80b23b6a JK |
10533 | 2011-01-29 Jan Kratochvil <[email protected]> |
10534 | ||
10535 | Fix crash. | |
10536 | * valops.c (compare_parameters): Verify TYPE_NFIELDS before | |
10537 | touching TYPE_FIELD_ARTIFICIAL. | |
10538 | ||
4cd712bd RE |
10539 | 2011-01-28 Richard Earnshaw <[email protected]> |
10540 | ||
10541 | * MAINTAINERS: Move myself from Responsible Maintainers to Authorized | |
10542 | Committers. | |
10543 | ||
ffd5ec24 PA |
10544 | 2011-01-28 Pedro Alves <[email protected]> |
10545 | ||
10546 | * tracepoint.c (tfile_xfer_partial): If there's no traceframe | |
10547 | selected, don't try iterating over the traceframe's blocks. | |
10548 | (tfile_has_stack): If there's no traceframe selected, then there's | |
10549 | no stack. | |
10550 | (tfile_has_registers): If there's no traceframe selected, then | |
10551 | there's no registers. | |
10552 | ||
e8c9e0a1 PA |
10553 | 2011-01-28 Pedro Alves <[email protected]> |
10554 | ||
10555 | * target.c (memory_xfer_partial): No need to restore shadows if we | |
10556 | haven't read anything. | |
10557 | ||
de15c4ab PA |
10558 | 2011-01-28 Pedro Alves <[email protected]> |
10559 | ||
10560 | * mips-tdep.c (mips_print_register): Use get_frame_register_value | |
10561 | and val_print_scalar_formatted. | |
10562 | ||
9f41c731 PA |
10563 | 2011-01-27 Pedro Alves <[email protected]> |
10564 | ||
10565 | * tracepoint.c (tfile_read): New. | |
10566 | (tfile_open): Use it. | |
10567 | (tfile_get_traceframe_address): Use it. | |
10568 | (tfile_trace_find): Use it. | |
10569 | (walk_blocks_callback_func): New typedef. | |
10570 | (match_blocktype): New function. | |
10571 | (traceframe_walk_blocks): New function. | |
10572 | (traceframe_find_block_type): New function. | |
10573 | (tfile_fetch_registers, tfile_xfer_partial) | |
10574 | (tfile_get_trace_state_variable_value): Use | |
10575 | traceframe_find_block_type and tfile_read. | |
10576 | ||
cdefc55d KB |
10577 | 2011-01-26 Kevin Buettner <[email protected]> |
10578 | ||
10579 | * remote-mips.c: Add internationalization mark ups. Remove | |
10580 | trailing \n from already marked up strings. | |
10581 | ||
a81766d8 TT |
10582 | 2011-01-26 Tom Tromey <[email protected]> |
10583 | ||
10584 | * python/py-prettyprint.c (print_string_repr): Clear | |
10585 | 'addressprint' option when calling val_print_string. | |
10586 | (print_children): Handle Val_pretty_default. Clear 'addressprint' | |
10587 | option when calling val_print_string. | |
10588 | ||
74aedc46 TT |
10589 | 2011-01-26 Tom Tromey <[email protected]> |
10590 | ||
10591 | * python/python.c (gdbpy_solib_name): Use gdb_py_longest and | |
10592 | GDB_PY_LL_ARG. | |
10593 | * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New | |
10594 | macros. | |
10595 | (gdb_py_longest, gdb_py_ulongest): New typedefs. | |
10596 | (gdb_py_long_from_longest, gdb_py_long_from_ulongest) | |
10597 | (gdb_py_long_as_ulongest): New defines. | |
10598 | (gdb_py_object_from_longest, gdb_py_object_from_ulongest) | |
10599 | (gdb_py_int_as_long): Declare. | |
10600 | * python/py-value.c (valpy_lazy_string): Use gdb_py_longest, | |
10601 | GDB_PY_LL_ARG, gdb_py_object_from_longest. | |
10602 | (valpy_long): Add comment. | |
10603 | * python/py-utils.c (get_addr_from_python): Use | |
10604 | gdb_py_long_as_ulongest. Handle overflow properly. | |
10605 | (gdb_py_object_from_longest): New function. | |
10606 | (gdb_py_object_from_ulongest): Likewise. | |
10607 | (gdb_py_int_as_long): Likewise. | |
10608 | * python/py-type.c (typy_array): Use gdb_py_int_as_long. | |
10609 | * python/py-symtab.c (salpy_get_pc): Use | |
10610 | gdb_py_long_from_ulongest. | |
10611 | (salpy_get_line): Use PyInt_FromLong. | |
10612 | * python/py-param.c (set_parameter_value): Use | |
10613 | gdb_py_int_as_long. | |
10614 | * python/py-lazy-string.c (stpy_get_address): Use | |
10615 | gdb_py_long_from_ulongest. | |
10616 | * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest. | |
10617 | * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long. | |
10618 | * python/py-breakpoint.c (bppy_set_thread): Use | |
10619 | gdb_py_int_as_long. | |
10620 | (bppy_set_task): Likewise. | |
10621 | (bppy_set_ignore_count): Likewise. | |
10622 | (bppy_set_hit_count): Likewise. | |
10623 | * python/py-block.c (blpy_get_start): Use | |
10624 | gdb_py_object_from_ulongest. | |
10625 | (blpy_get_end): Likewise. | |
10626 | (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG. | |
10627 | ||
e4f6d2ec TJB |
10628 | 2011-01-25 Mathieu Lacage <[email protected]> |
10629 | ||
10630 | PR/symtab 11766: | |
10631 | * gdb/objfiles.h (struct objfile) <addr_low>: New field. | |
10632 | * gdb/solib.c (solib_read_symbols): Check for addr_low in | |
10633 | equality test for objfile, initialize addr_low if needed. | |
10634 | ||
b30aa278 PA |
10635 | 2011-01-25 Pedro Alves <[email protected]> |
10636 | ||
10637 | * tui/tui-regs.c (tui_register_format): Remove dead code. | |
10638 | ||
ab2188aa PA |
10639 | 2011-01-25 Pedro Alves <[email protected]> |
10640 | ||
10641 | * printcmd.c (print_formatted): Use val_print_scalar_formatted | |
10642 | instead of print_scalar_formatted. | |
10643 | (print_scalar_formatted): Don't handle 's' format strings here, | |
10644 | and add an assertion that we never see such format here. | |
10645 | * valprint.h (val_print_scalar_formatted): Declare. | |
10646 | * valprint.c (val_print_scalar_formatted): New. | |
10647 | * c-valprint.c (c_val_print): Use val_print_scalar_formatted | |
10648 | instead of print_scalar_formatted. | |
10649 | * jv-valprint.c (java_val_print): Ditto. | |
10650 | * p-valprint.c (pascal_val_print): Ditto. | |
10651 | * ada-valprint.c (ada_val_print_1): Ditto. | |
10652 | * f-valprint.c (f_val_print): Ditto. | |
10653 | * infcmd.c (registers_info): Ditto. | |
10654 | * m2-valprint.c (m2_val_print): Ditto. | |
10655 | ||
66d61a4c PA |
10656 | 2011-01-25 Pedro Alves <[email protected]> |
10657 | ||
10658 | * m2-valprint.c (print_unbounded_array): Pass | |
10659 | value_contents_for_printing rather than value_contents, to | |
10660 | m2_print_array_contents. Also pass in the value. | |
10661 | ||
831adc1f JK |
10662 | 2011-01-25 Jan Kratochvil <[email protected]> |
10663 | ||
10664 | * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index) | |
10665 | (save_gdb_index_command): Switch to .gdb_index version 4. | |
10666 | ||
20622269 PA |
10667 | 2011-01-25 Pedro Alves <[email protected]> |
10668 | ||
10669 | * mi/mi-main.c (get_register): Use get_frame_register_value rather | |
10670 | than frame_register, and always pass a valid value to val_print. | |
10671 | ||
585fdaa1 PA |
10672 | 2011-01-25 Pedro Alves <[email protected]> |
10673 | ||
10674 | Centralize printing "<optimized out>". | |
10675 | ||
10676 | * valprint.h (val_print_optimized_out): Declare. | |
10677 | * cp-valprint.c (cp_print_value_fields): Use | |
10678 | val_print_optimized_out. | |
10679 | * jv-valprint.c (java_print_value_fields): Ditto. | |
10680 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
10681 | * printcmd.c (print_formatted): Ditto. | |
10682 | * valprint.c (valprint_check_validity): Ditto. | |
10683 | (value_check_printable): Ditto. | |
10684 | (val_print_optimized_out): New. | |
10685 | ||
29ec5263 PA |
10686 | 2011-01-25 Pedro Alves <[email protected]> |
10687 | ||
10688 | * infcmd.c (default_print_registers_info): Allocate values so to | |
10689 | never pass a NULL value to val_print. | |
10690 | ||
de4127a3 PA |
10691 | 2011-01-25 Pedro Alves <[email protected]> |
10692 | ||
10693 | * cp-valprint.c (cp_print_value): Treat the 'skip' local as | |
10694 | boolean. Make sure to always pass a value that matches the | |
10695 | contents buffer to callees. Preserve `address' for following | |
10696 | iterations. | |
10697 | * value.c (value_contents_for_printing_const): New. | |
10698 | (value_address): Constify value argument. | |
10699 | * value.h (value_contents_for_printing_const): Declare. | |
10700 | (value_address): Constify value argument. | |
10701 | ||
ee99023e PA |
10702 | 2011-01-25 Pedro Alves <[email protected]> |
10703 | ||
10704 | * regcache.c (struct regcache_descr): Rename | |
10705 | sizeof_raw_register_valid_p field to sizeof_raw_register_status, | |
10706 | and sizeof_cooked_register_valid_p to | |
10707 | sizeof_cooked_register_status. | |
10708 | (init_regcache_descr): Adjust. | |
10709 | (struct regcache): Rename register_valid_p field to | |
10710 | register_status. | |
10711 | (regcache_xmalloc_1, regcache_xfree, regcache_save) | |
10712 | (do_cooked_read): Adjust. | |
10713 | (regcache_valid_p): Rename to ... | |
10714 | (regcache_register_status): ... this. Adjust. | |
10715 | (regcache_invalidate): Adjust. | |
10716 | (regcache_raw_read, regcache_cooked_read, regcache_raw_write): | |
10717 | Adjust. | |
10718 | (regcache_raw_supply): Adjust. If buf i NULL, mark the register | |
10719 | as unavailable, not valid. | |
10720 | (regcache_dump): Adjust. | |
10721 | * regcache.h (enum register_status): New. | |
10722 | (regcache_register_status): Declare. | |
10723 | (regcache_invalidate): Delete declaration. | |
10724 | * corelow.c (get_core_registers): Adjust. | |
10725 | * tracepoint.c (tfile_fetch_registers): Adjust. | |
10726 | * trad-frame.c (REG_VALUE): Rename to ... | |
10727 | (TF_REG_VALUE): ... this. | |
10728 | (REG_UNKNOWN): Rename to ... | |
10729 | (TF_REG_UNKNOWN): ... this. | |
10730 | (trad_frame_set_value, trad_frame_set_unknown): Adjust. | |
10731 | * mi/mi-main.c (register_changed_p): Adjust. | |
10732 | ||
99e42fd8 PA |
10733 | 2011-01-25 Pedro Alves <[email protected]> |
10734 | ||
10735 | * regcache.c (struct regcache_descr): Remove outdated comment. | |
10736 | (init_regcache_descr): Remove sizeof_raw_register_valid_p | |
10737 | overallocate hack. | |
10738 | (regcache_xmalloc): Rename to ... | |
10739 | (regcache_xmalloc_1): ... this. Add `readonly_p' parameter. | |
10740 | Allocate the regcache type accordingly. | |
10741 | (regcache_xmalloc): New as wrapper around regcache_xmalloc_1. | |
10742 | (regcache_xfree): Asser the source is also readonly. Copy sizeof | |
10743 | cooked registers, not raw. | |
10744 | (regcache_dup_no_passthrough): Delete. | |
10745 | (get_thread_arch_regcache): Use regcache_xmalloc_1. | |
10746 | * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not | |
10747 | mention obsolete write_register_bytes. | |
10748 | * regcache.h (regcache_dup_no_passthrough): Delete declaration. | |
10749 | ||
f7605bc2 PA |
10750 | 2011-01-25 Pedro Alves <[email protected]> |
10751 | ||
10752 | Stop remote_read_bytes from handling partial reads itself. | |
10753 | ||
10754 | * remote-fileio.c: Include target.h. | |
10755 | (remote_fileio_write_bytes): Delete. | |
10756 | (remote_fileio_func_open, remote_fileio_func_write) | |
10757 | (remote_fileio_func_rename, remote_fileio_func_unlink): Use | |
10758 | target_read_memory. | |
10759 | (remote_fileio_func_stat): Use target_read_memory and | |
10760 | target_write_memory. | |
10761 | (remote_fileio_func_gettimeofday): Use target_write_memory. | |
10762 | (remote_fileio_func_system): Use target_read_memory. | |
10763 | * remote.c (remote_write_bytes): Make it static. | |
10764 | (remote_read_bytes): Don't handle partial reads here. | |
10765 | * remote.h (remote_read_bytes): Delete declaration. | |
10766 | ||
efc0eabd PA |
10767 | 2011-01-25 Pedro Alves <[email protected]> |
10768 | ||
10769 | Simplify XML parsing a bit. | |
10770 | ||
10771 | * xml-support.h (gdb_xml_parse_quick): Declare. | |
10772 | * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed | |
10773 | from gdb_xml_create_parser_and_cleanup, and added `old_chain' | |
10774 | parameter. | |
10775 | (gdb_xml_create_parser_and_cleanup): Reimplement on top of | |
10776 | gdb_xml_create_parser_and_cleanup_1. | |
10777 | (gdb_xml_parse_quick): New. | |
10778 | * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick. | |
10779 | * osdata.c (osdata_parse): Ditto. | |
10780 | * remote.c (remote_threads_info): Ditto. | |
10781 | * solib-target.c (solib_target_parse_libraries): Ditto. | |
10782 | * xml-syscall.c (syscall_parse_xml): Ditto. | |
10783 | * xml-tdesc.c (tdesc_parse_xml): Ditto. | |
10784 | ||
314d366a KB |
10785 | 2011-01-24 Kevin Buettner <[email protected]> |
10786 | ||
10787 | * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but | |
10788 | with remote-mips.o added to gdb_target_obs. | |
10789 | * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o. | |
10790 | ||
a491d753 PA |
10791 | 2011-01-24 Pedro Alves <[email protected]> |
10792 | ||
10793 | * ada-valprint.c (val_print_packed_array_elements): Pass the | |
10794 | correct struct value to val_print. | |
10795 | (ada_val_print_1): Ditto. | |
10796 | ||
490f124f PA |
10797 | 2011-01-24 Pedro Alves <[email protected]> |
10798 | ||
10799 | Don't lose embedded_offset in printing routines throughout. | |
10800 | ||
10801 | * valprint.h (val_print_array_elements): Change prototype. | |
10802 | * valprint.c (val_print_array_elements): Add `embedded_offset' | |
10803 | parameter, and adjust to pass it down to val_print, while passing | |
10804 | `valaddr' or `address' unmodified. Take embedded_offset into | |
10805 | account when checking repetitions. | |
10806 | * c-valprint.c (c_val_print): Pass embedded_offset to | |
10807 | val_print_array_elements instead of adjusting `valaddr' and | |
10808 | `address'. | |
10809 | * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass | |
10810 | embedded_offset to val_print_array_elements instead of adjusting | |
10811 | `valaddr'. | |
10812 | * p-lang.h (pascal_object_print_value_fields): Adjust prototype. | |
10813 | * p-valprint.c (pascal_val_print): Pass embedded_offset to | |
10814 | val_print_array_elements and pascal_object_print_value_fields | |
10815 | instead of adjusting `valaddr'. | |
10816 | (pascal_object_print_value_fields): Add `offset' parameter, and | |
10817 | adjust to use it. | |
10818 | (pascal_object_print_value): Add `offset' parameter, and adjust to | |
10819 | use it. | |
10820 | (pascal_object_print_static_field): Use | |
10821 | value_contents_for_printing/value_embedded_offset, rather than | |
10822 | value_contents. | |
10823 | * ada-valprint.c (val_print_packed_array_elements): Add `offset' | |
10824 | parameter, and adjust to use it. Use | |
10825 | value_contents_for_printing/value_embedded_offset, rather than | |
10826 | value_contents. | |
10827 | (ada_val_print): Rename `valaddr0' parameter to `valaddr'. | |
10828 | (ada_val_print_array): Add `offset' parameter, and adjust to use | |
10829 | it. | |
10830 | (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and | |
10831 | `embedded_offset' to `offset'. Don't re-adjust `valaddr'. | |
10832 | Instead work with offsets. Use | |
10833 | value_contents_for_printing/value_embedded_offset, rather than | |
10834 | value_contents. Change `defer_val_int' local type to CORE_ADDR, | |
10835 | and use value_from_pointer to extract a target pointer, rather | |
10836 | than value_from_longest. | |
10837 | (print_variant_part): Add `offset' parameter. Replace | |
10838 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
10839 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
10840 | (ada_value_print): Use | |
10841 | value_contents_for_printing/value_embedded_offset, rather than | |
10842 | value_contents. | |
10843 | (print_record): Add `offset' parameter, and adjust to pass it | |
10844 | down. | |
10845 | (print_field_values): Add `offset' parameter. Replace | |
10846 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
10847 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
10848 | Use value_contents_for_printing/value_embedded_offset, rather than | |
10849 | value_contents. | |
10850 | * d-valprint.c (dynamic_array_type): Use | |
10851 | value_contents_for_printing/value_embedded_offset, rather than | |
10852 | value_contents. | |
10853 | * jv-valprint.c (java_print_value_fields): Add `offset' parameter. | |
10854 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
10855 | (java_print_value_fields): Take `offset' into account. Don't | |
10856 | re-adjust `valaddr'. Instead pass down adjusted offsets. | |
10857 | (java_val_print): Take `embedded_offset' into account. Pass it to | |
10858 | java_print_value_fields. | |
10859 | * f-valprint.c (f77_print_array_1): Add `embedded_offset' | |
10860 | parameter. Don't re-adjust `valaddr' or `address'. Instead pass | |
10861 | down adjusted offsets. | |
10862 | (f77_print_array): Add `embedded_offset' parameter. Pass it down. | |
10863 | (f_val_print): Take `embedded_offset' into account. | |
10864 | ||
7bfc9434 JB |
10865 | 2011-01-21 Joel Brobecker <[email protected]> |
10866 | ||
10867 | * inflow.c: Include "gdbcmd.h". | |
10868 | (interactive_mode): New static global, moved here from top.c. | |
10869 | (show_interactive_mode): New function, moved here from top.c. | |
10870 | use gdb_has_a_terminal instead of input_from_terminal_p to | |
10871 | determine the current mode. | |
10872 | (gdb_has_a_terminal): Add handling of the "iteractive-mode" | |
10873 | setting. | |
10874 | (_initialize_inflow): Add the "set/show interactive-mode" | |
10875 | commands. Moved here from top.c, after having adjusted slightly | |
10876 | the help text. | |
10877 | * top.c (interactive_mode, show_interactive_mode): Delete, moved | |
10878 | to inflow.c. | |
10879 | (input_from_terminal_p): Remove handling of "interactive-mode" | |
10880 | setting, moved to infow.c. | |
10881 | (init_main): Remove creation of the "set/show interactive-mode" | |
10882 | commands, moved to inflow.c. | |
10883 | ||
44603653 JB |
10884 | 2011-01-19 Joel Brobecker <[email protected]> |
10885 | ||
10886 | * NEWS: Add entry for native ia64-hpux support. | |
10887 | ||
4694da01 TT |
10888 | 2011-01-19 Tom Tromey <[email protected]> |
10889 | ||
10890 | PR mi/8618: | |
10891 | * thread.c (free_thread): Free 'name'. | |
10892 | (print_thread_info): Emit thread name. Change CLI output. | |
10893 | (thread_name_command): New function. | |
10894 | (do_captured_thread_select): Emit newline. | |
10895 | (_initialize_thread): Register 'thread name' command. | |
10896 | * target.h (struct target_ops) <to_thread_name>: New field. | |
10897 | (target_thread_name): New macro. | |
10898 | * target.c (update_current_target): Handle to_thread_name. | |
10899 | * python/py-infthread.c (thpy_get_name): New function. | |
10900 | (thpy_set_name): Likewise. | |
10901 | (thread_object_getset): Add "name". | |
10902 | * linux-nat.c (linux_nat_thread_name): New function. | |
10903 | (linux_nat_add_target): Set to_thread_name. | |
10904 | * gdbthread.h (struct thread_info) <name>: New field. | |
10905 | ||
10d44370 JB |
10906 | 2011-01-18 Joel Brobecker <[email protected]> |
10907 | ||
10908 | * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast. | |
10909 | (ada_val_print_1): Likewise. | |
10910 | ||
e3acb115 JB |
10911 | 2011-01-18 Joel Brobecker <[email protected]> |
10912 | ||
10913 | * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue | |
10914 | upper limit address is not greater than the function end address | |
10915 | when the upper limit could not be computed using the debugging | |
10916 | info. | |
10917 | ||
dc92e161 TT |
10918 | 2011-01-17 Tom Tromey <[email protected]> |
10919 | ||
10920 | * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use | |
10921 | get_regcomp_error. | |
10922 | * utils.c: Include gdb_regex.h. | |
10923 | (do_regfree_cleanup): New function. | |
10924 | (make_regfree_cleanup): Likewise. | |
10925 | (get_regcomp_error): Likewise. | |
10926 | * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare. | |
10927 | ||
f55af66d TT |
10928 | 2011-01-17 Tom Tromey <[email protected]> |
10929 | ||
10930 | * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call | |
10931 | re_compile_fastmap. | |
10932 | ||
a5a44b53 PM |
10933 | 2011-01-17 Pierre Muller <[email protected]> |
10934 | ||
10935 | * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE | |
10936 | for internal variables. | |
10937 | (last_was_structop): New static variable. | |
10938 | (COMPLETE): New token. | |
10939 | (field_exp): New rule to group all '.' suffix handling. | |
10940 | Add mark_struct_expression calls when approriate to be able | |
10941 | to correctly find fields for completion. | |
10942 | (yylex): Adapt to handle field completion and set INTVAR when | |
10943 | required. | |
10944 | ||
2c291032 YQ |
10945 | 2011-01-14 Yao Qi <[email protected]> |
10946 | ||
10947 | * arm-tdep.c (arm_register_reggroup_p): FPS register is in | |
10948 | save_reggroup, restore_reggroup and all_reggroup. | |
10949 | ||
447b483c JB |
10950 | 2011-01-14 Joel Brobecker <[email protected]> |
10951 | ||
10952 | * ada-valprint. (ada_printchar): Use the correct type length | |
10953 | in call to ada_emit_char. | |
10954 | * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR. | |
10955 | ||
7b64a93b PM |
10956 | 2011-01-14 Pierre Muller <[email protected]> |
10957 | ||
10958 | * solib-som.h (hpux_major_release): Declare variable here. | |
10959 | * solib-som.c: Remove <sys/utsname.h> header. | |
10960 | (DEFAULT_HPUX_MAJOR_RELEASE): New macro. | |
10961 | (hpux_major_release): Make global, change default value to | |
10962 | DEFAULT_HPUX_MAJOR_RELEASE. | |
f2eb0bc8 | 10963 | (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE. |
7b64a93b PM |
10964 | * hppa-hpux-nat.c: Add <sys/utsname.h> include. |
10965 | Add "solib-som.h" header. | |
10966 | (set_hpux_major_release): New function. | |
10967 | (_initialize_hppa_hpux_nat): Call set_hpux_major_release. | |
10968 | ||
4e18c053 MF |
10969 | 2011-01-14 Mike Frysinger <[email protected]> |
10970 | ||
10971 | * configure.tgt (*-*-uclinux*): Match more Linux os targets | |
10972 | ||
a9df6b22 JB |
10973 | 2011-01-14 Joel Brobecker <[email protected]> |
10974 | ||
10975 | * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing | |
10976 | new-line at end of warning message. | |
10977 | (ia64_hpux_store_register): Remove trailing new-line at end of | |
10978 | error message. | |
10979 | * ia64-hpux-tdep.c: Rephrase comment. | |
10980 | * solib-ia64-hpux.c (struct dld_info): Change type of field | |
10981 | dld_flags from "long long" to ULONGEST. | |
10982 | ||
ecb956dd PA |
10983 | 2011-01-14 Pedro Alves <[email protected]> |
10984 | ||
10985 | * target.h (deprecated_child_ops): Delete declaration. | |
10986 | * target.c (deprecated_child_ops): Delete definition. | |
10987 | ||
76adfcae PA |
10988 | 2011-01-14 Pedro Alves <[email protected]> |
10989 | ||
10990 | * Makefile.in (hpux-thread.o): Delete rule. | |
10991 | * configure.ac: Don't check for HPUX DCE threads support. | |
10992 | * configure, config.in: Regenerate. | |
10993 | * hppa-hpux-nat.c (child_suppress_run): Delete. | |
10994 | (hppa_hpux_child_can_run): Delete. | |
10995 | (_initialize_hppa_hpux_nat): Don't override to_can_run. | |
10996 | * hpux-thread.c: Delete. | |
10997 | ||
042e866e JB |
10998 | 2011-01-13 Joel Brobecker <[email protected]> |
10999 | ||
11000 | * hpux-thread.c (hpux_pid_to_str): Delete. | |
11001 | ||
4ffa5a33 JB |
11002 | 2011-01-13 Joel Brobecker <[email protected]> |
11003 | ||
11004 | * ada-valprint.c (ada_emit_char): Remove strange code. | |
11005 | Check that c is <= UCHAR_MAX before passing it to isascii. | |
11006 | (char_at): Do not assume that TYPE_LEN is either 1 or 2. | |
11007 | ||
de8fa76c JB |
11008 | 2011-01-13 Joel Brobecker <[email protected]> |
11009 | ||
11010 | * top.c (input_from_terminal_p): Restrict the use of interactive_mode | |
11011 | to the case where instream is stdin. | |
11012 | ||
c4de7027 JB |
11013 | 2011-01-13 Joel Brobecker <[email protected]> |
11014 | ||
11015 | * ia64-tdep.h (struct regcache): Forward declare. | |
11016 | (struct ia64_infcall_ops): New struct type. | |
11017 | (struct gdbarch_tdep): New fields "find_global_pointer_from_solib" | |
11018 | and "infcall_ops". | |
11019 | * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section): | |
11020 | Renames ia64_find_global_pointer. | |
11021 | (ia64_find_global_pointer, ia64_allocate_new_rse_frame) | |
11022 | (ia64_store_argument_in_slot, ia64_set_function_addr: New function. | |
11023 | (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops | |
11024 | methods. | |
11025 | (ia64_infcall_ops): New static global constant. | |
11026 | (ia64_gdbarch_init): Set tdep->infcall_ops. | |
11027 | * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function. | |
11028 | (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing. | |
11029 | * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h". | |
11030 | (ia64_hpux_dummy_code): New static global constant. | |
11031 | (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame) | |
11032 | (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr) | |
11033 | (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib): | |
11034 | New function. | |
11035 | (ia64_hpux_infcall_ops): New static global constant. | |
11036 | (ia64_hpux_init_abi): Install gdbarch and tdep methods needed | |
11037 | for inferior function calls to work properly on ia64-hpux. | |
11038 | ||
77ca787b JB |
11039 | 2011-01-13 Joel Brobecker <[email protected]> |
11040 | ||
11041 | * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS. | |
11042 | * ia64-tdep.h (struct frame_info): forward declaration. | |
11043 | (struct gdbarch_tdep): Add field size_of_register_frame. | |
11044 | * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame | |
11045 | to determine the size of the register frame. | |
11046 | (ia64_size_of_register_frame): New function. | |
11047 | (ia64_gdbarch_init): Set tdep->size_of_register_frame. | |
11048 | * ia64-hpux-tdep.c: Include "target.h" and "frame.h". | |
11049 | (IA64_HPUX_UREG_REASON): New macro. | |
11050 | (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame): | |
11051 | New functions. | |
11052 | (ia64_hpux_init_abi): Set tdep->size_of_register_frame. | |
11053 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function. | |
11054 | (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS | |
11055 | objects. | |
11056 | ||
92c9a463 JB |
11057 | 2011-01-13 Joel Brobecker <[email protected]> |
11058 | ||
11059 | Add support for ia64-hpux. | |
11060 | * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c, | |
11061 | ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files. | |
11062 | ||
11063 | * configure.host: Add handling for ia64-hpux hosts. Add associated | |
11064 | floatformats. | |
11065 | * configure.tgt: Add handling for ia64-hpux targets. | |
11066 | * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o. | |
11067 | (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h. | |
11068 | (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c. | |
11069 | ||
f688d93f JB |
11070 | 2011-01-13 Joel Brobecker <[email protected]> |
11071 | ||
11072 | [ttrace] Compute thread list immediately after attach. | |
11073 | * inf_ttrace_attach (inf_ttrace_create_threads_after_attach): | |
11074 | New subprogram. | |
11075 | (inf_ttrace_attach): Use it. | |
11076 | ||
1b89e62f JB |
11077 | 2011-01-13 Joel Brobecker <[email protected]> |
11078 | ||
11079 | * libunwind-frame.c (libunwind_frame_cache): Do not return NULL | |
11080 | if we could not determine the frame's function address. Instead, | |
11081 | use the frame's PC, and then continue. | |
11082 | ||
3e5e6e2a JB |
11083 | 2011-01-13 Joel Brobecker <[email protected]> |
11084 | ||
11085 | * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if | |
11086 | not already defined. | |
11087 | ||
825d6d8a JB |
11088 | 2011-01-13 Joel Brobecker <[email protected]> |
11089 | ||
11090 | * ia64-tdep.c (ia64_struct_type_p): New function. | |
11091 | (ia64_extract_return_value): Handle integral values that are | |
11092 | less than 8 bytes long. | |
11093 | (ia64_push_dummy_call): Likewise. | |
11094 | ||
7458e667 JB |
11095 | 2011-01-13 Joel Brobecker <[email protected]> |
11096 | ||
11097 | * ia64-tdep.c (floatformat_ia64_ext_little): Renames | |
11098 | floatformat_ia64_ext. | |
11099 | (floatformat_ia64_ext_big): New static const. | |
11100 | (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big. | |
11101 | ||
1b05df00 TT |
11102 | 2011-01-12 Tom Tromey <[email protected]> |
11103 | ||
11104 | * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error | |
11105 | messages. | |
11106 | * mi/mi-main.c (mi_cmd_thread_select): Fix error messages. | |
11107 | (mi_cmd_thread_list_ids): Likewise. | |
11108 | (mi_cmd_data_list_changed_registers): Likewise. | |
11109 | (mi_cmd_data_list_register_values): Likewise. | |
11110 | (mi_cmd_data_write_register_values): Likewise. | |
11111 | (mi_cmd_data_evaluate_expression): Likewise. | |
11112 | (mi_cmd_data_read_memory): Likewise. | |
11113 | (mi_cmd_data_read_memory_bytes): Likewise. | |
11114 | (mi_cmd_data_write_memory): Likewise. | |
11115 | (mi_cmd_enable_timings): Likewise. | |
11116 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages. | |
11117 | * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages. | |
11118 | (mi_cmd_var_delete): Likewise. | |
11119 | (mi_cmd_var_set_format): Likewise. | |
11120 | (mi_cmd_var_show_format): Likewise. | |
11121 | (mi_cmd_var_info_num_children): Likewise. | |
11122 | (mi_cmd_var_list_children): Likewise. | |
11123 | (mi_cmd_var_info_type): Likewise. | |
11124 | (mi_cmd_var_info_expression): Likewise. | |
11125 | (mi_cmd_var_show_attributes): Likewise. | |
11126 | (mi_cmd_var_assign): Likewise. | |
11127 | (mi_cmd_var_update): Likewise. | |
11128 | (mi_cmd_enable_pretty_printing): Likewise. | |
11129 | (mi_cmd_var_set_update_range): Likewise. | |
11130 | * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error | |
11131 | messages. | |
11132 | (mi_cmd_target_file_put): Likewise. | |
11133 | (mi_cmd_target_file_delete): Likewise. | |
11134 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error | |
11135 | messages. | |
11136 | (mi_cmd_stack_info_depth): Likewise. | |
11137 | (mi_cmd_stack_list_locals): Likewise. | |
11138 | (mi_cmd_stack_list_args): Likewise. | |
11139 | (mi_cmd_stack_select_frame): Likewise. | |
11140 | (mi_cmd_stack_select_frame): Likewise. | |
11141 | (mi_cmd_stack_info_frame): Likewise. | |
11142 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error | |
11143 | messages. | |
11144 | (mi_cmd_file_list_exec_source_files): Likewise. | |
11145 | * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages. | |
11146 | (mi_cmd_env_cd): Likewise. | |
11147 | (mi_cmd_env_path): Likewise. | |
11148 | (mi_cmd_env_dir): Likewise. | |
11149 | (mi_cmd_inferior_tty_show): Likewise. | |
11150 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages. | |
11151 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages. | |
11152 | (mi_cmd_break_watch): Likewise. | |
11153 | ||
ad422571 TJB |
11154 | 2011-01-12 Thiago Jung Bauermann <[email protected]> |
11155 | ||
11156 | * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace. | |
11157 | (ppc_linux_insert_hw_breakpoint): Likewise. | |
11158 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
11159 | (ppc_linux_insert_watchpoint): Likewise. | |
11160 | ||
c2ff108b JK |
11161 | 2011-01-12 Andrew Burgess <[email protected]> |
11162 | Jan Kratochvil <[email protected]> | |
11163 | ||
11164 | PR fortran/11104 and DWARF unbound arrays detection. | |
11165 | * dwarf2read.c (read_subrange_type): Set zero length on unspecified | |
11166 | upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on | |
11167 | unspecified upper bound. | |
11168 | * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove | |
11169 | variables array_size_array, tmp_type and offset_item. New variable | |
11170 | array. Remove call to f77_get_upperbound. New variables array_type | |
11171 | and index. Call value_subscripted_rvalue for each dimenasion. Remove | |
11172 | the final call to deprecated_set_value_type. | |
11173 | ||
41e8491f JK |
11174 | 2011-01-12 Jan Kratochvil <[email protected]> |
11175 | ||
11176 | Make value allocations more lazy. | |
11177 | * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy | |
11178 | instead of allocate_value and set_value_lazy when possible. | |
f2eb0bc8 | 11179 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy |
41e8491f JK |
11180 | instead of allocate_value and set_value_lazy. |
11181 | * findvar.c (value_of_register_lazy): Likewise. | |
11182 | (read_var_value): Remove V preallocation, call just check_typedef in | |
f2eb0bc8 | 11183 | advance. Move allocate_value to LOC_CONST, LOC_LABEL, |
41e8491f JK |
11184 | LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG, |
11185 | LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of | |
11186 | set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and | |
11187 | remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy | |
11188 | in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at | |
11189 | the end, remove set_value_lazy there. | |
11190 | * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy | |
11191 | instead of allocate_value and set_value_lazy when possible. | |
11192 | * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL. | |
11193 | * value.c (allocate_computed_value): Use allocate_value_lazy instead | |
11194 | of allocate_value and set_value_lazy. | |
11195 | (value_from_contents_and_address): Use allocate_value_lazy instead of | |
11196 | allocate_value and set_value_lazy when possible. | |
11197 | ||
b716877b AB |
11198 | 2011-01-12 Andrew Burgess <[email protected]> |
11199 | ||
11200 | * disasm.c (dump_insns): Support dumping opcodes for MI. | |
11201 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control | |
11202 | dumping of instruction opcodes. | |
11203 | ||
d5ae309f JB |
11204 | 2011-01-09 Robert Millan <[email protected]> (tiny patch) |
11205 | ||
11206 | * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' | |
11207 | appropiately. | |
11208 | ||
98871305 TT |
11209 | 2011-01-11 Tom Tromey <[email protected]> |
11210 | ||
11211 | * thread.c (do_captured_thread_select): Emit newline before | |
11212 | printing frame. | |
11213 | ||
c378eb4e MS |
11214 | 2011-01-11 Michael Snyder <[email protected]> |
11215 | ||
11216 | * s390-tdep.c: Comment cleanup, mostly periods and spaces. | |
11217 | * score-tdep.c: Ditto. | |
11218 | * score-tdep.h: Ditto. | |
11219 | * ser-base.c: Ditto. | |
11220 | * ser-go32.c: Ditto. | |
11221 | * serial.c: Ditto. | |
11222 | * serial.h: Ditto. | |
11223 | * ser-mingw.c: Ditto. | |
11224 | * ser-pipe.c: Ditto. | |
11225 | * ser-tcp.c: Ditto. | |
11226 | * ser-unix.c: Ditto. | |
11227 | * sh64-tdep.c: Ditto. | |
11228 | * shnbsd-nat.c: Ditto. | |
11229 | * sh-tdep.c: Ditto. | |
11230 | * sh-tdep.h: Ditto. | |
11231 | * solib.c: Ditto. | |
11232 | * solib-darwin.c: Ditto. | |
11233 | * solib-frv.c: Ditto. | |
11234 | * solib.h: Ditto. | |
11235 | * solib-irix.c: Ditto. | |
11236 | * solib-osf.c: Ditto. | |
11237 | * solib-pa64.c: Ditto. | |
11238 | * solib-som.c: Ditto. | |
11239 | * solib-spu.c: Ditto. | |
11240 | * solib-sunos.c: Ditto. | |
11241 | * solib-svr4.c: Ditto. | |
11242 | * solist.h: Ditto. | |
11243 | * sol-thread.c: Ditto. | |
11244 | * somread.c: Ditto. | |
11245 | * source.c: Ditto. | |
11246 | * source.h: Ditto. | |
11247 | * sparc64-linux-tdep.c: Ditto. | |
11248 | * sparc64-tdep.c: Ditto. | |
11249 | * sparc-linux-nat.c: Ditto. | |
11250 | * sparc-linux-tdep.c: Ditto. | |
11251 | * sparc-sol2-nat.c: Ditto. | |
11252 | * sparc-sol2-tdep.c: Ditto. | |
11253 | * sparc-tdep.c: Ditto. | |
11254 | * sparc-tdep.h: Ditto. | |
11255 | * spu-tdep.c: Ditto. | |
11256 | * stabsread.c: Ditto. | |
11257 | * stabsread.h: Ditto. | |
11258 | * stack.c: Ditto. | |
11259 | * symfile.c: Ditto. | |
11260 | * symfile.h: Ditto. | |
11261 | * symmisc.c: Ditto. | |
11262 | * symtab.c: Ditto. | |
11263 | * symtab.h: Ditto. | |
11264 | * target.c: Ditto. | |
11265 | * target-descriptions.c: Ditto. | |
11266 | * target-descriptions.h: Ditto. | |
11267 | * target.h: Ditto. | |
11268 | * target-memory.c: Ditto. | |
11269 | * terminal.h: Ditto. | |
11270 | * thread.c: Ditto. | |
11271 | * top.c: Ditto. | |
11272 | * tracepoint.c: Ditto. | |
11273 | * tracepoint.h: Ditto. | |
11274 | * trad-frame.h: Ditto. | |
11275 | * typeprint.c: Ditto. | |
11276 | ||
581e13c1 MS |
11277 | 2011-01-11 Michael Snyder <[email protected]> |
11278 | ||
11279 | * ui-file.c: Comment cleanup, mostly periods and spaces. | |
11280 | * ui-file.h: Ditto. | |
11281 | * ui-out.c: Ditto. | |
11282 | * ui-out.h: Ditto. | |
11283 | * utils.c: Ditto. | |
11284 | * v850-tdep.c: Ditto. | |
11285 | * valarith.c: Ditto. | |
11286 | * valops.c: Ditto. | |
11287 | * valprint.c: Ditto. | |
11288 | * valprint.h: Ditto. | |
11289 | * value.c: Ditto. | |
11290 | * value.h: Ditto. | |
11291 | * varobj.c: Ditto. | |
11292 | * varobj.h: Ditto. | |
11293 | * vax-tdep.c: Ditto. | |
11294 | * vec.c: Ditto. | |
11295 | * vec.h: Ditto. | |
11296 | * version.h: Ditto. | |
11297 | * windows-nat.c: Ditto. | |
11298 | * windows-tdep.c: Ditto. | |
11299 | * xcoffread.c: Ditto. | |
11300 | * xcoffsolib.c: Ditto. | |
11301 | * xml-support.c: Ditto. | |
11302 | * xstormy16-tdep.c: Ditto. | |
11303 | * xtensa-tdep.c: Ditto. | |
11304 | * xtensa-tdep.h: Ditto. | |
11305 | ||
90e4670f TJB |
11306 | 2011-01-11 Thiago Jung Bauermann <[email protected]> |
11307 | ||
11308 | * breakpoint.c (resources_needed_watchpoint): Fix indentation. | |
11309 | * gdbtypes.c (is_scalar_type_recursive): Fix formatting. | |
11310 | ||
e09342b5 TJB |
11311 | 2011-01-11 Sergio Durigan Junior <[email protected]> |
11312 | Thiago Jung Bauermann <[email protected]> | |
11313 | ||
11314 | Implement support for PowerPC BookE ranged watchpoints. | |
f2eb0bc8 | 11315 | * breakpoint.h |
e09342b5 TJB |
11316 | (struct breakpoint_ops) <resources_needed>: New method. |
11317 | Initialize to NULL in all existing breakpoint_ops instances. | |
11318 | (struct breakpoint) <exact>: New field. | |
11319 | (target_exact_watchpoints): Declare external global. | |
11320 | * breakpoint.c (target_exact_watchpoints): New global flag. | |
11321 | (update_watchpoint): Set b->type to bp_hardware_watchpoint and | |
11322 | b->enable_state to bp_enabled before calling | |
11323 | hw_watchpoint_used_count. | |
11324 | (hw_watchpoint_used_count): Iterate over all bp_locations in a | |
11325 | watchpoint. Call breakpoint's breakpoint_ops.resources_needed | |
11326 | if available. | |
11327 | (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte | |
11328 | if the watchpoint is exact. | |
11329 | (resources_needed_watchpoint): New function. | |
11330 | (watchpoint_breakpoint_ops): Add resources_needed_watchpoint. | |
11331 | (watch_command_1): Set b->exact if the user asked for an exact | |
11332 | watchpoint and one can be set. | |
11333 | (can_use_hardware_watchpoint): Add exact_watchpoints argument. | |
11334 | Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if | |
11335 | the user asks for an exact watchpoint and one can be set. Return | |
11336 | number of needed debug registers to watch the expression. | |
11337 | * gdbtypes.c (is_scalar_type): New function, based on | |
11338 | valprint.c:scalar_type_p. | |
11339 | (is_scalar_type_recursive): New function. | |
11340 | * gdbtypes.h (is_scalar_type_recursive): Declare. | |
11341 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always | |
11342 | handle regions when ranged watchpoints are available. | |
11343 | (create_watchpoint_request): New function. | |
11344 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
11345 | create_watchpoint_request. | |
11346 | * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function. | |
11347 | (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the | |
11348 | `set powerpc' and `show powerpc' commands. | |
11349 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
11350 | Mention documentation comment in the target macro. | |
11351 | (target_region_ok_for_hw_watchpoint): Document return value. | |
11352 | ||
9fa40276 TJB |
11353 | 2011-01-11 Thiago Jung Bauermann <[email protected]> |
11354 | ||
11355 | * breakpoint.c (update_watchpoint): Decide on using a software or | |
11356 | hardware watchpoint after the bp_locations are created. | |
11357 | ||
77b06cd7 TJB |
11358 | 2010-01-11 Thiago Jung Bauermann <[email protected]> |
11359 | ||
11360 | Convert hardware watchpoints to use breakpoint_ops. | |
11361 | * breakpoint.h (breakpoint_ops) <insert>: Rename to... | |
11362 | <insert_location>: ... this. Return int instead of void. | |
11363 | Accept pointer to struct bp_location instead of pointer to | |
11364 | struct breakpoint. Adapt all implementations. | |
f2eb0bc8 | 11365 | (breakpoint_ops) <remove>: Rename to... |
77b06cd7 TJB |
11366 | <remove_location>: ... this. Accept pointer to struct bp_location |
11367 | instead of pointer to struct breakpoint. Adapt all implementations. | |
11368 | * breakpoint.c (insert_catchpoint): Delete function. | |
11369 | (insert_bp_location): Call the watchpoint or catchpoint's | |
11370 | breakpoint_ops.insert method. | |
11371 | (remove_breakpoint_1): Call the watchpoint or catchpoint's | |
11372 | breakpoint_ops.remove method. | |
11373 | (insert_watchpoint, remove_watchpoint): New functions. | |
11374 | (watchpoint_breakpoint_ops): New structure. | |
11375 | (watch_command_1): Initialize the OPS field. | |
11376 | * inf-child.c (inf_child_insert_fork_catchpoint) | |
11377 | (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint) | |
11378 | (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint) | |
11379 | (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint): | |
11380 | Delete functions. | |
11381 | (inf_child_target): Remove initialization of to_insert_fork_catchpoint, | |
11382 | to_remove_fork_catchpoint, to_insert_vfork_catchpoint, | |
11383 | to_remove_vfork_catchpoint, to_insert_exec_catchpoint, | |
11384 | to_remove_exec_catchpoint and to_set_syscall_catchpoint. | |
11385 | * target.c (update_current_target): Change default implementation of | |
11386 | to_insert_fork_catchpoint, to_remove_fork_catchpoint, | |
11387 | to_insert_vfork_catchpoint, to_remove_vfork_catchpoint, | |
11388 | to_insert_exec_catchpoint, to_remove_exec_catchpoint and | |
11389 | to_set_syscall_catchpoint to return_one. | |
11390 | (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint) | |
11391 | (debug_to_insert_exec_catchpoint): Report return value. | |
11392 | * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint) | |
11393 | (to_insert_exec_catchpoint): Change declaration to return int instead | |
11394 | of void. | |
11395 | ||
9b20d036 MS |
11396 | 2011-01-11 Michael Snyder <[email protected]> |
11397 | ||
11398 | * arm-tdep.c: Internationalization. | |
11399 | * c-lang.c: Ditto. | |
11400 | * charset.c: Ditto. | |
11401 | * fork-child.c: Ditto. | |
11402 | * nto-procfs.c: Ditto. | |
11403 | * ppc-sysv-tdep.c: Ditto. | |
11404 | * procfs.c: Ditto. | |
11405 | * remote-mips.c: Ditto. | |
11406 | * remote.c: Ditto. | |
11407 | * rs6000-nat.c: Ditto. | |
11408 | * rs6000-tdep.c: Ditto. | |
11409 | * target.c: Ditto. | |
11410 | * valops.c: Ditto. | |
11411 | * value.c: Ditto. | |
11412 | * xml-support.c: Ditto. | |
11413 | * mi/mi-cmd-break.c: Ditto. | |
11414 | * mi/mi-cmd-var.c: Ditto. | |
11415 | * mi/mi-interp.c: Ditto. | |
11416 | * mi/mi-main.c: Ditto. | |
11417 | ||
dae477fe AB |
11418 | 2011-01-11 Andrew Burgess <[email protected]> |
11419 | ||
11420 | * remote-sim.c (gdbsim_store_register): Update API to | |
11421 | sim_store_register to check more error conditions. | |
11422 | ||
0df8b418 MS |
11423 | 2011-01-10 Michael Snyder <[email protected]> |
11424 | ||
11425 | * nto-procfs.c: Comment cleanup, mostly periods and spaces. | |
11426 | * nto-tdep.c: Ditto. | |
11427 | * nto-tdep.h: Ditto. | |
11428 | * objc-exp.y: Ditto. | |
11429 | * objc-lang.c: Ditto. | |
11430 | * objfiles.c: Ditto. | |
11431 | * objfiles.h: Ditto. | |
11432 | * observer.c: Ditto. | |
11433 | * opencl-lang.c: Ditto. | |
11434 | * osabi.c: Ditto. | |
11435 | * parse.c: Ditto. | |
11436 | * parser-defs.h: Ditto. | |
11437 | * p-exp.y: Ditto. | |
11438 | * p-lang.c: Ditto. | |
11439 | * posix-hdep.c: Ditto. | |
11440 | * ppcbug-rom.c: Ditto. | |
11441 | * ppc-linux-nat.c: Ditto. | |
11442 | * ppc-linux-tdep.c: Ditto. | |
11443 | * ppc-linux-tdep.h: Ditto. | |
11444 | * ppcnbsd-tdep.c: Ditto. | |
11445 | * ppcobsd-tdep.c: Ditto. | |
11446 | * ppcobsd-tdep.h: Ditto. | |
11447 | * ppc-sysv-tdep.c: Ditto. | |
11448 | * ppc-tdep.h: Ditto. | |
11449 | * printcmd.c: Ditto. | |
11450 | * proc-abi.c: Ditto. | |
11451 | * proc-flags.c: Ditto. | |
11452 | * procfs.c: Ditto. | |
11453 | * proc-utils.h: Ditto. | |
11454 | * progspace.h: Ditto. | |
11455 | * prologue-value.c: Ditto. | |
11456 | * prologue-value.h: Ditto. | |
11457 | * psympriv.h: Ditto. | |
11458 | * psymtab.c: Ditto. | |
11459 | * p-typeprint.c: Ditto. | |
11460 | * p-valprint.c: Ditto. | |
11461 | * ravenscar-sparc-thread.c: Ditto. | |
11462 | * ravenscar-thread.c: Ditto. | |
11463 | * ravenscar-thread.h: Ditto. | |
11464 | * record.c: Ditto. | |
11465 | * regcache.c: Ditto. | |
11466 | * regcache.h: Ditto. | |
11467 | * remote.c: Ditto. | |
11468 | * remote-fileio.c: Ditto. | |
11469 | * remote-fileio.h: Ditto. | |
11470 | * remote.h: Ditto. | |
11471 | * remote-m32r-sdi.c: Ditto. | |
11472 | * remote-mips.c: Ditto. | |
11473 | * remote-sim.c: Ditto. | |
11474 | * rs6000-aix-tdep.c: Ditto. | |
11475 | * rs6000-nat.c: Ditto. | |
11476 | * rs6000-tdep.c: Ditto. | |
11477 | ||
0d7a18f7 MS |
11478 | 2011-01-10 Michael Snyder <[email protected]> |
11479 | ||
11480 | * charset.c (validate): Internationalization. | |
11481 | * coffread.c (read_one_sym): Ditto. | |
11482 | * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto. | |
11483 | * h8300-tdep.c (H8300_extract_return_value): Ditto. | |
11484 | * inflow.c (new_tty): Ditto. | |
11485 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto. | |
11486 | * m32c-tdep.c (m32c_return_value): Ditto. | |
11487 | * mep-tdep.c (mep_store_return_value): Ditto. | |
11488 | * score-tdep.c (score7_fetch_insn): Ditto. | |
11489 | * ser-mingw.c (pipe_windows_open): Ditto. | |
11490 | * sh64-tdep.c (sh64_extract_return_value): Ditto. | |
11491 | * spu-tdep.c (spu_register_type): Ditto. | |
11492 | * tracepoint.c (trace_find_command): Ditto. | |
11493 | * valarith.c (value_pos): Ditto. | |
11494 | ||
9a153e0b JB |
11495 | 2011-01-10 Joel Brobecker <[email protected]> |
11496 | ||
11497 | * ada-valprint.c (printstr): Minor comment reformatting. | |
11498 | ||
35ecd2d6 MS |
11499 | 2011-01-08 Michael Snyder <[email protected]> |
11500 | ||
11501 | * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _ | |
11502 | markup. | |
11503 | ||
1777feb0 MS |
11504 | 2011-01-08 Michael Snyder <[email protected]> |
11505 | ||
11506 | * h8300-tdep.c: Comment cleanup, mostly periods and spaces. | |
11507 | * hppa-hpux-tdep.c: Ditto. | |
11508 | * hppa-linux-nat.c: Ditto. | |
11509 | * hppa-linux-tdep.c: Ditto. | |
11510 | * hppanbsd-tdep.c: Ditto. | |
11511 | * hppa-tdep.c: Ditto. | |
11512 | * hppa-tdep.h: Ditto. | |
11513 | * hpux-thread.c: Ditto. | |
11514 | * i386-cygwin-tdep.c: Ditto. | |
11515 | * i386-darwin-nat.c: Ditto. | |
11516 | * i386gnu-nat.c: Ditto. | |
11517 | * i386-linux-nat.c: Ditto. | |
11518 | * i386-linux-tdep.c: Ditto. | |
11519 | * i386-nat.c: Ditto. | |
11520 | * i386-nat.h: Ditto. | |
11521 | * i386nbsd-tdep.c: Ditto. | |
11522 | * i386-sol2-nat.c: Ditto. | |
11523 | * i386-stub.c: Ditto. | |
11524 | * i386-tdep.c: Ditto. | |
11525 | * i386-tdep.h: Ditto. | |
11526 | * i387-tdep.c: Ditto. | |
11527 | * ia64-linux-nat.c: Ditto. | |
11528 | * ia64-linux-tdep.c: Ditto. | |
11529 | * ia64-tdep.c: Ditto. | |
11530 | * infcall.c: Ditto. | |
11531 | * infcall.h: Ditto. | |
11532 | * infcmd.c: Ditto. | |
11533 | * inferior.c: Ditto. | |
11534 | * inferior.h: Ditto. | |
11535 | * infloop.c: Ditto. | |
11536 | * inflow.c: Ditto. | |
11537 | * infrun.c: Ditto. | |
11538 | * interps.c: Ditto. | |
11539 | * interps.h: Ditto. | |
11540 | * iq2000-tdep.c: Ditto. | |
11541 | * irix5-nat.c: Ditto. | |
11542 | * jit.c: Ditto. | |
11543 | * jit.h: Ditto. | |
11544 | * jv-exp.y: Ditto. | |
11545 | * jv-lang.c: Ditto. | |
11546 | * jv-lang.h: Ditto. | |
11547 | * jv-typeprint.c: Ditto. | |
11548 | * jv-valprint.c: Ditto. | |
11549 | * language.c: Ditto. | |
11550 | * language.h: Ditto. | |
11551 | * linespec.c: Ditto. | |
11552 | * linux-fork.c: Ditto. | |
11553 | * linux-nat.c: Ditto. | |
11554 | * linux-thread-db.c: Ditto. | |
11555 | * lm32-tdep.c: Ditto. | |
11556 | ||
025bb325 MS |
11557 | 2011-01-08 Michael Snyder <[email protected]> |
11558 | ||
11559 | * m2-exp.y: Comment cleanup, mostly periods and spaces. | |
11560 | * m2-lang.c: Ditto. | |
11561 | * m2-typeprint.c: Ditto. | |
11562 | * m2-valprint.c: Ditto. | |
11563 | * m32c-tdep.c: Ditto. | |
11564 | * m32r-linux-nat.c: Ditto. | |
11565 | * m32r-rom.c: Ditto. | |
11566 | * m32r-tdep.c: Ditto. | |
11567 | * m32r-tdep.h: Ditto. | |
11568 | * m68hc11-tdep.c: Ditto. | |
11569 | * m58klinux-nat.c: Ditto. | |
11570 | * m68k-tdep.c: Ditto. | |
11571 | * m88k-tdep.c: Ditto. | |
11572 | * m88k-tdep.h: Ditto. | |
11573 | * machoread.c: Ditto. | |
11574 | * macrocmd.c: Ditto. | |
11575 | * macroexp.c: Ditto. | |
11576 | * macrotab.c: Ditto. | |
11577 | * main.c: Ditto. | |
11578 | * maint.c: Ditto. | |
11579 | * mdebugread.c: Ditto. | |
11580 | * mdebugread.h: Ditto. | |
11581 | * memattr.c: Ditto. | |
11582 | * memattr.h: Ditto. | |
11583 | * memory-map.h: Ditto. | |
11584 | * mep-tdep.c: Ditto. | |
11585 | * microblaze-rom.c: Ditto. | |
11586 | * microblaze-tdep.c: Ditto. | |
11587 | * minsyms.c: Ditto. | |
11588 | * mips-irix-tdep.c: Ditto. | |
11589 | * mips-linux-nat.c: Ditto. | |
11590 | * mips-linux-tdep.c: Ditto. | |
11591 | * mips-linux-tdep.h: Ditto. | |
11592 | * mipsnbsd-nat.c: Ditto. | |
11593 | * mipsnbsd-tdep.c: Ditto. | |
11594 | * mipsread.c: Ditto. | |
11595 | * mips-tdep.c: Ditto. | |
11596 | * mips-tdep.h: Ditto. | |
11597 | * mn10300-linux-tdep.c: Ditto. | |
11598 | * mn10300-tdep.c: Ditto. | |
11599 | * mn10300-tdep.h: Ditto. | |
11600 | * monitor.c: Ditto. | |
11601 | * monitor.h: Ditto. | |
11602 | * moxie-tdep.c: Ditto. | |
11603 | * moxie-tdep.h: Ditto. | |
11604 | * mt-tdep.c: Ditto. | |
11605 | ||
1642781b MF |
11606 | 2011-01-08 Mike Frysinger <[email protected]> |
11607 | ||
11608 | * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name. | |
11609 | ||
394b0adb JB |
11610 | 2011-01-08 Robert Millan <[email protected]> |
11611 | ||
11612 | * fbsd-nat.c (fbsd_find_memory_regions): Fix typo. | |
11613 | ||
b670013c MS |
11614 | 2011-01-07 Michael Snyder <[email protected]> |
11615 | ||
11616 | * charset.c (_initialize_charset): Fix typo in string. | |
11617 | ||
a743e542 MS |
11618 | 2011-01-07 Michael Snyder <[email protected]> |
11619 | ||
11620 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message | |
11621 | for i18n. | |
f2eb0bc8 | 11622 | * tui/tui-layout.c (tui_set_layout_for_display_command): |
a743e542 MS |
11623 | Split line so that operator goes to beginning of line. |
11624 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Move | |
11625 | assignment out of if statement. | |
11626 | ||
0963b4bd MS |
11627 | 2011-01-07 Michael Snyder <[email protected]> |
11628 | ||
11629 | * ada-lang.c: Comment cleanup, mostly periods and spaces. | |
11630 | * ada-lang.h: Ditto. | |
11631 | * ada-tasks.c: Ditto. | |
11632 | * ada-valprint.c: Ditto. | |
11633 | * aix-threads.c: Ditto. | |
11634 | * alpha-linux-nat.c: Ditto. | |
11635 | * alpha-linux-tdep.c: Ditto. | |
11636 | * alpha-mdebug-tdep.c: Ditto. | |
11637 | * alpha-nat.c: Ditto. | |
11638 | * alpha-osf1-tdep.c: Ditto. | |
11639 | * alpha-tdep.c: Ditto. | |
11640 | * alphabsd-nat.c: Ditto. | |
11641 | * alphabsd-tdep.c: Ditto. | |
11642 | * amd64-darwin-tdep.c: Ditto. | |
11643 | * amd64-linux-nat.c: Ditto. | |
11644 | * amd64-linux-tdep.c: Ditto. | |
11645 | * amd64-sol2-tdep.c: Ditto. | |
11646 | * amd64-tdep.c: Ditto. | |
11647 | * amd64-fbsd-tdep.c: Ditto. | |
11648 | * amd64-nbsd-tdep.c: Ditto. | |
11649 | * amd64-obsd-tdep.c: Ditto. | |
11650 | * amd64-linux-nat.c: Ditto. | |
11651 | * amd64-linux-tdep.c: Ditto. | |
11652 | * arm-tdep.c: Ditto. | |
11653 | * arm-tdep.h: Ditto. | |
11654 | * armnbsd-nat.c: Ditto. | |
11655 | * avr-tdep.c: Ditto. | |
11656 | * bfin-tdep.c: Ditto. | |
11657 | * bsd-kvm.c: Ditto. | |
11658 | * c-typeprintc: Ditto. | |
11659 | * c-valprint.c: Ditto. | |
11660 | * coff-pe-read.h: Ditto. | |
11661 | * coffreead.c: Ditto. | |
11662 | * cris-tdep.c: Ditto. | |
11663 | * d-lang.c: Ditto. | |
11664 | * darwin-nat-info.c: Ditto. | |
11665 | * darwin-nat.c: Ditto. | |
11666 | * dbug-rom.c: Ditto. | |
11667 | * dbxread.c: Ditto. | |
11668 | * dcache.c: Ditto. | |
11669 | * dcache.h: Ditto. | |
11670 | * dec-thread.c: Ditto. | |
11671 | * defs.h: Ditto. | |
11672 | * demangle.c: Ditto. | |
11673 | * dicos-tdep.c: Ditto. | |
11674 | * dictionary.c: Ditto. | |
11675 | * dictionary.h: Ditto. | |
11676 | * dink32-rom.c: Ditto. | |
11677 | * disasm.c: Ditto. | |
11678 | * doublest.c: Ditto. | |
11679 | * dsrec.c: Ditto. | |
11680 | * dummy-frame.c: Ditto. | |
11681 | * dwarf2-frame.c: Ditto. | |
11682 | * dwarf2expr.c: Ditto. | |
11683 | * dwarf2loc.c: Ditto. | |
11684 | * dwarf2read.c: Ditto. | |
11685 | * elfread.c: Ditto. | |
11686 | * environ.c: Ditto. | |
11687 | * eval.c: Ditto. | |
11688 | * event-top.h: Ditto. | |
11689 | * exceptions.c: Ditto. | |
11690 | * exceptions.h: Ditto. | |
11691 | * exec.c: Ditto. | |
11692 | * expprint.c: Ditto. | |
11693 | * expression.h: Ditto. | |
11694 | * f-exp.y: Ditto. | |
11695 | * f-lang.c: Ditto. | |
11696 | * f-lang.h: Ditto. | |
11697 | * f-typeprint.c: Ditto. | |
11698 | * f-valprint.c: Ditto. | |
11699 | * fbsd-nat.c: Ditto. | |
11700 | * findvar.c: Ditto. | |
11701 | * fork-child.c: Ditto. | |
11702 | * frame.c: Ditto. | |
11703 | * frame.h: Ditto. | |
11704 | * frv-linux-tdep.c: Ditto. | |
11705 | * frv-tdep.c: Ditto. | |
11706 | * gcore.c: Ditto. | |
11707 | * gdb-stabs.h: Ditto. | |
11708 | * gdb_assert.h: Ditto. | |
11709 | * gdb_string.h: Ditto. | |
11710 | * gdb_thread_db.h: Ditto. | |
11711 | * gdb_wait.h: Ditto. | |
11712 | * gdbarch.sh: Ditto. | |
11713 | * gdbcore.h: Ditto. | |
11714 | * gdbthread.h: Ditto. | |
11715 | * gdbtypes.c: Ditto. | |
11716 | * gdbtypes.h: Ditto. | |
11717 | * gnu-nat.c: Ditto. | |
11718 | * gnu-nat.h: Ditto. | |
11719 | * gnu-v2-abi.c: Ditto. | |
11720 | * gnu-v3-abi.c: Ditto. | |
11721 | * go32-nat.c: Ditto. | |
11722 | * gdbarch.c: Regenerate. | |
11723 | * gdbarch.h: Regenerate. | |
11724 | ||
ac74f770 MS |
11725 | 2011-01-07 Michael Snyder <[email protected]> |
11726 | ||
11727 | * ax-gdb.c: Adjust some long output strings. | |
11728 | * breakpoint.c: Ditto. | |
11729 | * charset.c: Ditto. | |
11730 | * cp-abi.c: Ditto. | |
11731 | * infcall.c: Ditto. | |
11732 | * infrun.c: Ditto. | |
11733 | * linux-nat.c: Ditto. | |
11734 | * solib-pa64.c: Ditto. | |
11735 | * solib-som.c: Ditto. | |
11736 | ||
d8e22779 TT |
11737 | 2011-01-06 Tom Tromey <[email protected]> |
11738 | ||
11739 | PR python/12367: | |
11740 | * NEWS: Add item. | |
11741 | * python/python.c (GdbMethods): Add "newest_frame" method. | |
11742 | * python/python-internal.h (gdbpy_newest_frame): Declare. | |
11743 | * python/py-frame.c (gdbpy_newest_frame): New function. | |
11744 | ||
a255712f PP |
11745 | 2010-01-06 Paul Pluzhnikov <[email protected]> |
11746 | ||
11747 | * jit.h (struct jit_code_entry): use ULONGEST for symfile_size. | |
11748 | * jit.c (jit_debug): New variable. | |
11749 | (show_jit_debug): New function. | |
11750 | (struct target_buffer): Use ULONGEST. | |
11751 | (bfd_open_from_target_memory): Likewise. | |
11752 | (jit_register_code, jit_inferior_init): Add debug output. | |
11753 | (_initialize_jit): Register "debug jit" command. | |
11754 | ||
ccfc3d6e TT |
11755 | 2011-01-06 Tom Tromey <[email protected]> |
11756 | ||
11757 | * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment. | |
11758 | * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME | |
11759 | and ARCH_FRAME. | |
11760 | ||
57126e4a TT |
11761 | 2011-01-06 Tom Tromey <[email protected]> |
11762 | ||
11763 | * python/py-frame.c (frapy_block): Use get_frame_block. | |
11764 | ||
16dfc9ce JB |
11765 | 2011-01-06 Joel Brobecker <[email protected]> |
11766 | ||
11767 | Do not stop on SIGPRIO signals by default | |
11768 | * infrun.c (_initialize_infrun): Unset signal_stop and | |
11769 | signal_print for TARGET_SIGNAL_PRIO. | |
11770 | ||
b1ce2347 JB |
11771 | 2011-01-06 Joel Brobecker <[email protected]> |
11772 | ||
11773 | * ada-tasks.c: Fix style violation in comment. | |
11774 | ||
8f7e195f JB |
11775 | 2011-01-06 Joel Brobecker <[email protected]> |
11776 | ||
11777 | * linespec.c (decode_compound, find_method): Remove trailing \n | |
11778 | at end of error string. | |
11779 | * solib-irix.c (irix_current_sos): Likewise. | |
11780 | * varobj.c (uninstall_variable): Likewise. | |
11781 | ||
e9bdf92c JB |
11782 | 2011-01-06 Joel Brobecker <[email protected]> |
11783 | ||
11784 | * copyright.py: New script. | |
11785 | * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. | |
11786 | Launch emacs without exec'ing. Call copyright.py afterwards. | |
11787 | ||
3e43a32a MS |
11788 | 2011-01-05 Michael Snyder <[email protected]> |
11789 | ||
11790 | * addrmap.c: Shorten lines of >= 80 columns. | |
11791 | * arch-utils.c: Ditto. | |
11792 | * arch-utils.h: Ditto. | |
11793 | * ax-gdb.c: Ditto. | |
11794 | * ax-general.c: Ditto. | |
11795 | * bcache.c: Ditto. | |
11796 | * blockframe.c: Ditto. | |
11797 | * breakpoint.c: Ditto. | |
11798 | * buildsym.c: Ditto. | |
11799 | * c-lang.c: Ditto. | |
11800 | * c-typeprint.c: Ditto. | |
11801 | * charset.c: Ditto. | |
11802 | * coffread.c: Ditto. | |
11803 | * command.h: Ditto. | |
11804 | * corelow.c: Ditto. | |
11805 | * cp-abi.c: Ditto. | |
11806 | * cp-namespace.c: Ditto. | |
11807 | * cp-support.c: Ditto. | |
11808 | * dbug-rom.c: Ditto. | |
11809 | * dbxread.c: Ditto. | |
11810 | * defs.h: Ditto. | |
11811 | * dfp.c: Ditto. | |
11812 | * dfp.h: Ditto. | |
11813 | * dictionary.c: Ditto. | |
11814 | * disasm.c: Ditto. | |
11815 | * doublest.c: Ditto. | |
11816 | * dwarf2-frame.c: Ditto. | |
11817 | * dwarf2expr.c: Ditto. | |
11818 | * dwarf2loc.c: Ditto. | |
11819 | * dwarf2read.c: Ditto. | |
11820 | * elfread.c: Ditto. | |
11821 | * eval.c: Ditto. | |
11822 | * event-loop.c: Ditto. | |
11823 | * event-loop.h: Ditto. | |
11824 | * exceptions.h: Ditto. | |
11825 | * exec.c: Ditto. | |
11826 | * expprint.c: Ditto. | |
11827 | * expression.h: Ditto. | |
11828 | * f-lang.c: Ditto. | |
11829 | * f-valprint.c: Ditto. | |
11830 | * findcmd.c: Ditto. | |
11831 | * frame-base.c: Ditto. | |
11832 | * frame-unwind.c: Ditto. | |
11833 | * frame-unwind.h: Ditto. | |
11834 | * frame.c: Ditto. | |
11835 | * frame.h: Ditto. | |
11836 | * gcore.c: Ditto. | |
11837 | * gdb-stabs.h: Ditto. | |
11838 | * gdb_assert.h: Ditto. | |
11839 | * gdb_dirent.h: Ditto. | |
11840 | * gdb_obstack.h: Ditto. | |
11841 | * gdbcore.h: Ditto. | |
11842 | * gdbtypes.c: Ditto. | |
11843 | * gdbtypes.h: Ditto. | |
11844 | * inf-ttrace.c: Ditto. | |
11845 | * infcall.c: Ditto. | |
11846 | * infcmd.c: Ditto. | |
11847 | * inflow.c: Ditto. | |
11848 | * infrun.c: Ditto. | |
11849 | * inline-frame.h: Ditto. | |
11850 | * language.c: Ditto. | |
11851 | * language.h: Ditto. | |
11852 | * libunwind-frame.c: Ditto. | |
11853 | * libunwind-frame.h: Ditto. | |
11854 | * linespec.c: Ditto. | |
11855 | * linux-nat.c: Ditto. | |
11856 | * linux-nat.h: Ditto. | |
11857 | * linux-thread-db.c: Ditto. | |
11858 | * machoread.c: Ditto. | |
11859 | * macroexp.c: Ditto. | |
11860 | * macrotab.c: Ditto. | |
11861 | * main.c: Ditto. | |
11862 | * maint.c: Ditto. | |
11863 | * mdebugread.c: Ditto. | |
11864 | * memattr.c: Ditto. | |
11865 | * minsyms.c: Ditto. | |
11866 | * monitor.c: Ditto. | |
11867 | * monitor.h: Ditto. | |
11868 | * objfiles.c: Ditto. | |
11869 | * objfiles.h: Ditto. | |
11870 | * osabi.c: Ditto. | |
11871 | * p-typeprint.c: Ditto. | |
11872 | * p-valprint.c: Ditto. | |
11873 | * parse.c: Ditto. | |
11874 | * printcmd.c: Ditto. | |
11875 | * proc-events.c: Ditto. | |
11876 | * procfs.c: Ditto. | |
11877 | * progspace.c: Ditto. | |
11878 | * progspace.h: Ditto. | |
11879 | * psympriv.h: Ditto. | |
11880 | * psymtab.c: Ditto. | |
11881 | * record.c: Ditto. | |
11882 | * regcache.c: Ditto. | |
11883 | * regcache.h: Ditto. | |
11884 | * remote-fileio.c: Ditto. | |
11885 | * remote.c: Ditto. | |
11886 | * ser-mingw.c: Ditto. | |
11887 | * ser-tcp.c: Ditto. | |
11888 | * ser-unix.c: Ditto. | |
11889 | * serial.c: Ditto. | |
11890 | * serial.h: Ditto. | |
11891 | * solib-frv.c: Ditto. | |
11892 | * solib-irix.c: Ditto. | |
11893 | * solib-osf.c: Ditto. | |
11894 | * solib-pa64.c: Ditto. | |
11895 | * solib-som.c: Ditto. | |
11896 | * solib-sunos.c: Ditto. | |
11897 | * solib-svr4.c: Ditto. | |
11898 | * solib-target.c: Ditto. | |
11899 | * solib.c: Ditto. | |
11900 | * somread.c: Ditto. | |
11901 | * source.c: Ditto. | |
11902 | * stabsread.c: Ditto. | |
11903 | * stabsread.c: Ditto. | |
11904 | * stack.c: Ditto. | |
11905 | * stack.h: Ditto. | |
11906 | * symfile-mem.c: Ditto. | |
11907 | * symfile.c: Ditto. | |
11908 | * symfile.h: Ditto. | |
11909 | * symmisc.c: Ditto. | |
11910 | * symtab.c: Ditto. | |
11911 | * symtab.h: Ditto. | |
11912 | * target-descriptions.c: Ditto. | |
11913 | * target-memory.c: Ditto. | |
11914 | * target.c: Ditto. | |
11915 | * target.h: Ditto. | |
11916 | * terminal.h: Ditto. | |
11917 | * thread.c: Ditto. | |
11918 | * top.c: Ditto. | |
11919 | * tracepoint.c: Ditto. | |
11920 | * tracepoint.h: Ditto. | |
11921 | * ui-file.c: Ditto. | |
11922 | * ui-file.h: Ditto. | |
11923 | * ui-out.h: Ditto. | |
11924 | * user-regs.c: Ditto. | |
11925 | * user-regs.h: Ditto. | |
11926 | * utils.c: Ditto. | |
11927 | * valarith.c: Ditto. | |
11928 | * valops.c: Ditto. | |
11929 | * valprint.c: Ditto. | |
11930 | * valprint.h: Ditto. | |
11931 | * value.c: Ditto. | |
11932 | * varobj.c: Ditto. | |
11933 | * varobj.h: Ditto. | |
11934 | * vec.h: Ditto. | |
11935 | * xcoffread.c: Ditto. | |
11936 | * xcoffsolib.c: Ditto. | |
11937 | * xcoffsolib.h: Ditto. | |
11938 | * xml-syscall.c: Ditto. | |
11939 | * xml-tdesc.c: Ditto. | |
11940 | ||
9a2b4c1b MS |
11941 | 2011-01-05 Michael Snyder <[email protected]> |
11942 | ||
11943 | * cli/cli-cmds.c: Shorten lines of >= 80 columns. | |
11944 | * cli/cli-decode.c: Ditto. | |
11945 | * cli/cli-dump.c: Ditto. | |
11946 | * cli/cli-logging.c: Ditto. | |
11947 | * cli/cli-script.c: Ditto. | |
11948 | * cli/cli-setshow.c: Ditto. | |
11949 | * common/signals.c: Ditto. | |
11950 | * mi/mi-cmd-break.c: Ditto. | |
11951 | * mi/mi-cmd-disas.c: Ditto. | |
11952 | * mi/mi-cmd-stack.c: Ditto. | |
11953 | * mi/mi-cmd-var.c: Ditto. | |
11954 | * mi/mi-cmds.c: Ditto. | |
11955 | * mi/mi-common.h: Ditto. | |
11956 | * mi/mi-console.c: Ditto. | |
11957 | * mi/mi-interp.c: Ditto. | |
11958 | * mi/mi-main.c: Ditto. | |
11959 | * osf-share/cma_attr.c: Ditto. | |
11960 | * osf-share/cma_deb_core.h: Ditto. | |
11961 | * osf-share/cma_debug_client.h: Ditto. | |
11962 | * osf-share/cma_handle.h: Ditto. | |
11963 | * osf-share/cma_mutex.h: Ditto. | |
11964 | * osf-share/cma_stack_int.h: Ditto. | |
11965 | * osf-share/cma_tcb_defs.h: Ditto. | |
11966 | * python/py-auto-load.c: Ditto. | |
11967 | * python/py-breakpoint.c: Ditto. | |
11968 | * python/py-cmd.c: Ditto. | |
11969 | * python/py-frame.c: Ditto. | |
11970 | * python/py-objfile.c: Ditto. | |
11971 | * python/py-param.c: Ditto. | |
11972 | * python/py-progspace.c: Ditto. | |
11973 | * python/py-symbol.c: Ditto. | |
11974 | * python/py-value.c: Ditto. | |
11975 | * python/python-internal.h: Ditto. | |
11976 | * python/python.c: Ditto. | |
11977 | * tui/tui-data.c: Ditto. | |
11978 | * tui/tui-disasm.c: Ditto. | |
11979 | * tui/tui-hooks.c: Ditto. | |
11980 | * tui/tui-io.c: Ditto. | |
11981 | * tui/tui-layout.c: Ditto. | |
11982 | * tui/tui-regs.c: Ditto. | |
11983 | * tui/tui-source.c: Ditto. | |
11984 | * tui/tui-stack.c: Ditto. | |
11985 | * tui/tui-win.c: Ditto. | |
11986 | * tui/tui-windata.c: Ditto. | |
11987 | * tui/tui-winsource.c: Ditto. | |
11988 | ||
44944448 JB |
11989 | 2011-01-05 Joel Brobecker <[email protected]> |
11990 | ||
11991 | * configure.ac, gdb.1: Copyright year update. | |
11992 | ||
ebedcab5 JK |
11993 | 2011-01-03 Jan Kratochvil <[email protected]> |
11994 | ||
11995 | * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables | |
11996 | this_pc_in_block, morestack_msym and morestack_name. Check for | |
11997 | "__morestack" minimal symbol there. | |
11998 | ||
e5cc9f32 JB |
11999 | 2011-01-03 Joel Brobecker <[email protected]> |
12000 | ||
12001 | * symfile.c (find_sym_fns): Add call to dont_repeat. | |
12002 | ||
7b6bb8da JB |
12003 | 2011-01-01 Joel Brobecker <[email protected]> |
12004 | ||
12005 | Copyright year update in most files (performed by copyright.sh). | |
12006 | ||
71ce852c JB |
12007 | 2011-01-01 Joel Brobecker <[email protected]> |
12008 | ||
12009 | * top.c (print_gdb_version): Update copyright year in version output. | |
0e2de366 | 12010 | |
c3c1ebe8 | 12011 | For older changes see ChangeLog-2010. |
c906108c SS |
12012 | \f |
12013 | Local Variables: | |
12014 | mode: change-log | |
12015 | left-margin: 8 | |
12016 | fill-column: 74 | |
12017 | version-control: never | |
57da7796 | 12018 | coding: utf-8 |
c906108c | 12019 | End: |