]>
Commit | Line | Data |
---|---|---|
1583e7ea | 1 | 2010-12-12 Mark Kettenis <[email protected]> |
89fa5cc8 MK |
2 | |
3 | * mips64obsd-tdep.c (floatformats_mips64_quad): New define. | |
4 | (mips64obsd_init_abi): Set long_double_bit and long_double_format. | |
5 | ||
7a58cce8 MK |
6 | 2010-12-12 Mark Kettenis <[email protected]> |
7 | ||
8 | * sparc-tdep.c: Fix typo in comment. | |
9 | ||
ae2de4f8 DE |
10 | 2010-12-10 Doug Evans <[email protected]> |
11 | ||
12 | * dwarf2read.c: Whitespace cleanup, plus comment additions. | |
13 | No code changes. | |
14 | ||
66cb8159 TT |
15 | 2010-12-10 Tom Tromey <[email protected]> |
16 | ||
17 | * NEWS: Document exception-handling change. | |
18 | ||
30a7f059 MK |
19 | 2010-12-09 Marc Khouzam <[email protected]> |
20 | ||
21 | * mi/mi-parse.c (mi_parse): Wrong error message. | |
22 | ||
ad727bb2 DE |
23 | 2010-12-09 Doug Evans <[email protected]> |
24 | ||
25 | * symfile.h (quick_symbol_functions): Clarify usage of | |
26 | map_symbol_filenames. | |
27 | ||
305aeedc TT |
28 | 2010-12-09 Tom Tromey <[email protected]> |
29 | ||
30 | * mi/mi-parse.h (mi_parse): Update. | |
31 | * mi/mi-parse.c (mi_parse_cleanup): New function. | |
32 | (mi_parse): Add 'token' argument. Throw exception on error. | |
33 | * mi/mi-main.c (mi_print_exception): New function. | |
34 | (mi_execute_command): Use mi_print_exception. Catch exceptions | |
35 | from mi_parse. | |
36 | ||
186c406b TT |
37 | 2010-12-09 Tom Tromey <[email protected]> |
38 | ||
39 | PR c++/9593: | |
40 | * thread.c (clear_thread_inferior_resources): Call | |
41 | delete_longjmp_breakpoint. | |
42 | * infrun.c (handle_inferior_event): Handle exception breakpoints. | |
43 | (handle_inferior_event): Likewise. | |
44 | (insert_exception_resume_breakpoint): New function. | |
45 | (check_exception_resume): Likewise. | |
46 | * inferior.h (delete_longjmp_breakpoint_cleanup): Declare. | |
47 | * infcmd.c (delete_longjmp_breakpoint_cleanup): No longer static. | |
48 | (step_1): Set thread's initiating frame. | |
49 | (until_next_continuation): New function. | |
50 | (until_next_command): Support exception breakpoints. | |
51 | (finish_command_continuation): Delete longjmp breakpoint. | |
52 | (finish_forward): Support exception breakpoints. | |
53 | * gdbthread.h (struct thread_info) <initiating_frame>: New field. | |
54 | * breakpoint.h (enum bptype) <bp_exception, bp_exception_resume, | |
55 | bp_exception_master>: New constants. | |
56 | (struct bpstat_what) <is_longjmp>: New field. | |
57 | (set_longjmp_breakpoint): Update. | |
58 | * breakpoint.c (create_exception_master_breakpoint): New function. | |
59 | (update_breakpoints_after_exec): Handle bp_exception_master. Call | |
60 | create_exception_master_breakpoint. | |
61 | (print_it_typical): Handle bp_exception_master, bp_exception. | |
62 | (bpstat_stop_status): Handle bp_exception_master. | |
63 | (bpstat_what): Handle bp_exception_master, bp_exception, | |
64 | bp_exception_resume. | |
65 | (bptype_string): Likewise. | |
66 | (print_one_breakpoint_location): Likewise. | |
67 | (allocate_bp_location): Likewise. | |
68 | (set_longjmp_breakpoint): Handle exception breakpoints. Change | |
69 | interface. | |
70 | (delete_longjmp_breakpoint): Handle exception breakpoints. | |
71 | (mention): Likewise. | |
72 | (struct until_break_command_continuation_args) <thread_num>: New | |
73 | field. | |
74 | (until_break_command_continuation): Call | |
75 | delete_longjmp_breakpoint. | |
76 | (until_break_command): Support exception breakpoints. | |
77 | (delete_command): Likewise. | |
78 | (breakpoint_re_set_one): Likewise. | |
79 | (breakpoint_re_set): Likewise. | |
80 | ||
1ef75ecc DE |
81 | 2010-12-08 Doug Evans <[email protected]> |
82 | ||
4e4666e6 DE |
83 | * gdbtypes.h (TYPE_IS_OPAQUE): Reformat. |
84 | ||
73e2eb35 DE |
85 | * gdbtypes.c (check_typedef): Tweak comment. |
86 | ||
0a5429f6 DE |
87 | PR symtab/12302 |
88 | * dwarf2read.c (struct psymtab_cu_index_map): New struct. | |
89 | (hash_psymtab_cu_index, eq_psymtab_cu_index): New functions. | |
90 | (struct addrmap_index_data): New struct. | |
91 | (add_address_entry): Remove arg `pst', new args `start', `end'. | |
92 | (add_address_entry_worker, write_address_map): New functions. | |
93 | (write_psymtabs_to_index): Address table generation moved to | |
94 | write_address_map. Build a table mapping psymtab to CU index | |
95 | to pass to it. | |
96 | ||
7e17e088 DE |
97 | * dwarf2read.c (write_psymtabs_to_index): When stat fails, pass file |
98 | name to perror. | |
99 | ||
d4637a04 DE |
100 | * symfile.h (quick_symbol_functions): Clarify usage of |
101 | expand_symtabs_with_filename. | |
102 | * dwarf2read.c (dw2_expand_symtabs_with_filename): Only iterate over | |
103 | comp units, ignore type units. | |
104 | ||
1ef75ecc DE |
105 | * dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP. |
106 | ||
aae1c79a DE |
107 | 2010-12-07 Doug Evans <[email protected]> |
108 | ||
74dd2ca6 DE |
109 | * dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to |
110 | gdb_realpath. | |
111 | ||
aae1c79a DE |
112 | PR python/12227 |
113 | * NEWS: Mention -data-directory. | |
114 | * main.c (captured_main): Recognize -data-directory. | |
115 | ||
8e0e408a MK |
116 | 2010-12-06 Marc Khouzam <[email protected]> |
117 | ||
118 | * mi/mi-parse.c (mi_parse): Missing else. | |
119 | ||
97fc68fe MM |
120 | 2010-12-04 Masaki Muranaka <[email protected]> |
121 | ||
122 | * configure.tgt: Accept microblaze*-*-linux* for linux target | |
123 | and microblaze*-*-* for as target. | |
124 | ||
d03a3acf KS |
125 | 2010-12-02 Keith Seitz <[email protected]> |
126 | ||
127 | * linespec.c (find_method): Move name canonicalization outside | |
128 | the loop. | |
129 | Be paranoid and use a cleanup. | |
130 | ||
148c11bf DE |
131 | 2010-12-01 Doug Evans <[email protected]> |
132 | ||
133 | * dwarf2read.c (save_gdb_index_command): Add comment. | |
134 | ||
4aac0db7 UW |
135 | 2010-12-01 Ulrich Weigand <[email protected]> |
136 | ||
137 | * valops.c (value_assign): Returned value is never lazy. If a | |
138 | C++ class type is returned, fix incorrect enclosing type / embedded | |
139 | offset. If internal variable is returned, allocate new internalvar | |
140 | value using value_of_internalvar. | |
141 | ||
142 | * NEWS: Document changes in behavior of "print x = 0" and similar | |
143 | expressions. | |
144 | ||
4e04c971 DE |
145 | 2010-11-29 Doug Evans <[email protected]> |
146 | ||
147 | * python/lib/gdb/printing.py (register_pretty_printer): Change | |
148 | printer-name:subprinter-name to printer-name;subprinter-name. | |
149 | * python/lib/gdb/command/pretty_printers.py (parse_printer_regexps): | |
150 | Ditto. | |
151 | (InfoPrettyPrinter, EnablePrettyPrinter, DisablePrettyPrinter): Ditto. | |
152 | ||
8cf6f0b1 TT |
153 | 2010-11-29 Tom Tromey <[email protected]> |
154 | ||
155 | * opencl-lang.c (lval_func_check_synthetic_pointer): New | |
156 | function. | |
157 | * value.h (struct lval_funcs) <indirect, check_synthetic_pointer>: | |
158 | New fields. | |
159 | (value_bits_synthetic_pointer): Declare. | |
160 | * value.c (value_bits_synthetic_pointer): New function. | |
161 | * valprint.c (valprint_check_validity): Handle synthetic | |
162 | pointers. | |
163 | * valops.c (value_ind): Use new 'indirect' lval_funcs method. | |
164 | * valarith.c (value_ptradd): Use set_value_component_location. | |
165 | * p-valprint.c (pascal_object_print_value_fields): Handle | |
166 | synthetic pointers. | |
167 | * jv-valprint.c (java_print_value_fields): Handle synthetic | |
168 | pointers. | |
169 | * dwarf2read.c (dwarf_stack_op_name): Add | |
170 | DW_OP_GNU_implicit_pointer. | |
171 | (dwarf2_fetch_die_location_block): Add get_frame_pc, baton | |
172 | arguments. Handle location lists. | |
173 | (fill_in_loclist_baton): New function. | |
174 | (dwarf2_symbol_mark_computed): Use it. | |
175 | * dwarf2loc.h (dwarf2_find_location_expression): Declare. | |
176 | (dwarf2_fetch_die_location_block): Add get_frame_pc, baton | |
177 | arguments. | |
178 | * dwarf2loc.c (dwarf2_find_location_expression): Rename from | |
179 | find_location_expression. No longer static. Update all callers. | |
180 | (dwarf_expr_frame_pc): New function. | |
181 | (per_cu_dwarf_call): Add get_frame_pc, baton arguments. Update | |
182 | all callers. | |
183 | (struct piece_closure) <per_cu>: New field. | |
184 | (allocate_piece_closure): Add per_cu argument. | |
185 | (read_pieced_value): Handle DWARF_VALUE_IMPLICIT_POINTER. | |
186 | (check_pieced_value_bits): Remove validity argument, add check_for | |
187 | argument. Handle DWARF_VALUE_IMPLICIT_POINTER. | |
188 | (check_pieced_value_validity, check_pieced_value_invalid): | |
189 | Update. | |
190 | (check_pieced_synthetic_pointer): New function. | |
191 | (get_frame_address_in_block_wrapper): New function. | |
192 | (indirect_pieced_value): New function. | |
193 | (pieced_value_funcs): Update. | |
194 | (invalid_synthetic_pointer): New function. | |
195 | (dwarf2_evaluate_loc_desc_full): Rename from | |
196 | dwarf2_evaluate_loc_desc. Add byte_offset argument. | |
197 | (dwarf2_evaluate_loc_desc): Rewrite. | |
198 | (dwarf2_loc_desc_needs_frame): Set new field on context. | |
199 | (get_ax_pc): New function. | |
200 | (disassemble_dwarf_expression): Handle | |
201 | DW_OP_GNU_implicit_pointer. | |
202 | * dwarf2expr.h (enum dwarf_value_location) | |
203 | <DWARF_VALUE_IMPLICIT_POINTER>: New constant. | |
204 | (struct dwarf_expr_context) <get_frame_pc>: New field. | |
205 | (struct dwarf_expr_piece) <v.ptr>: New field. | |
206 | * dwarf2expr.c (add_piece): Handle DWARF_VALUE_IMPLICIT_POINTER. | |
207 | (execute_stack_op): Handle DW_OP_GNU_implicit_pointer. | |
208 | * dwarf2-frame.c (no_get_frame_pc): New function. | |
209 | (execute_stack_op): Set new field on context. | |
210 | * cp-valprint.c (cp_print_value_fields): Handle synthetic | |
211 | pointers. | |
212 | ||
94b6973e PM |
213 | 2010-11-29 Phil Muldoon <[email protected]> |
214 | ||
215 | PR python/12199 | |
216 | ||
217 | * python/py-breakpoint.c (bppy_delete_breakpoint): New function. | |
218 | ||
8358c15c JK |
219 | 2010-11-28 Jan Kratochvil <[email protected]> |
220 | ||
221 | Fix step_resume_breakpoint unsaved during an infcall. | |
222 | * gdbthread.h (struct thread_control_state): Move here field | |
223 | step_resume_breakpoint ... | |
224 | (struct thread_info): ... from here. | |
225 | * infrun.c (save_infcall_control_state): Reset | |
226 | control.step_resume_breakpoint to NULL. | |
227 | (restore_infcall_control_state, discard_infcall_control_state): Delete | |
228 | control.step_resume_breakpoint. | |
229 | * arm-linux-tdep.c, infrun.c, thread.c: Update all the references to | |
230 | the moved field. | |
231 | ||
16c381f0 JK |
232 | 2010-11-28 Jan Kratochvil <[email protected]> |
233 | ||
234 | Rename and move inferior_thread_state and inferior_status. | |
235 | * gdbthread.h (struct thread_control_state): New struct, move fields | |
236 | step_range_start, step_range_end, step_frame_id, step_stack_frame_id, | |
237 | trap_expected, proceed_to_finish, in_infcall, step_over_calls, | |
238 | stop_step and stop_bpstat here from struct thread_info. | |
239 | (struct thread_suspend_state): New struct, move field stop_signal here | |
240 | from struct thread_info. | |
241 | (struct thread_info): Move the fields above from this struct. | |
242 | * inferior.h: Move the inferior_thread_state and inferior_status | |
243 | declarations comment to their definitions at infrun.c. | |
244 | (struct inferior_control_state): New struct, move field stop_soon from | |
245 | struct inferior here. | |
246 | (struct inferior_suspend_state): New empty struct. | |
247 | (struct inferior): New fields control and suspend. Move out field | |
248 | stop_soon. | |
249 | * infrun.c (struct inferior_thread_state): Rename to ... | |
250 | (infcall_suspend_state): ... here. Replace field stop_signal by | |
251 | fields thread_suspend and inferior_suspend. | |
252 | (save_inferior_thread_state): Rename to ... | |
253 | (save_infcall_suspend_state): ... here. New variable inf. Update the | |
254 | code for new fields. | |
255 | (restore_inferior_thread_state): Rename to ... | |
256 | (restore_infcall_suspend_state): ... here. New variable inf. Update | |
257 | the code for new fields. | |
258 | (do_restore_inferior_thread_state_cleanup): Rename to ... | |
259 | (do_restore_infcall_suspend_state_cleanup): ... here. | |
260 | (make_cleanup_restore_inferior_thread_state): Rename to ... | |
261 | (make_cleanup_restore_infcall_suspend_state): ... here. | |
262 | (discard_inferior_thread_state): Rename to ... | |
263 | (discard_infcall_suspend_state): ... here. | |
264 | (get_inferior_thread_state_regcache): Rename to ... | |
265 | (get_infcall_suspend_state_regcache): ... here. | |
266 | (struct inferior_status): Rename to ... | |
267 | (struct infcall_control_state): ... here. Replace fields | |
268 | step_range_start, step_range_end, step_frame_id, step_stack_frame_id, | |
269 | trap_expected, proceed_to_finish, in_infcall, step_over_calls, | |
270 | stop_step, stop_bpstat and stop_soon by fields thread_control and | |
271 | inferior_control. | |
272 | (save_inferior_status): Rename to ... | |
273 | (save_infcall_control_state): ... here. Update the code for new | |
274 | fields. | |
275 | (restore_inferior_status): Rename to ... | |
276 | (restore_infcall_control_state): ... here. Update the code for new | |
277 | fields. | |
278 | (do_restore_inferior_status_cleanup): Rename to ... | |
279 | (do_restore_infcall_control_state_cleanup): ... here. | |
280 | (make_cleanup_restore_inferior_status): Rename to ... | |
281 | (make_cleanup_restore_infcall_control_state): ... here. | |
282 | (discard_inferior_status): Rename to ... | |
283 | (discard_infcall_control_state): ... here. | |
284 | * alpha-tdep.c, breakpoint.c, dummy-frame.c, dummy-frame.h, | |
285 | exceptions.c, fbsd-nat.c, gdbthread.h, infcall.c, infcmd.c, | |
286 | inferior.c, inferior.h, infrun.c, linux-nat.c, mi/mi-interp.c, | |
287 | mips-tdep.c, procfs.c, solib-irix.c, solib-osf.c, solib-spu.c, | |
288 | solib-sunos.c, solib-svr4.c, thread.c, windows-nat.c: Update all the | |
289 | references to the moved fields and renamed functions. | |
290 | ||
35515841 JK |
291 | 2010-11-26 Jan Kratochvil <[email protected]> |
292 | ||
293 | * infcall.c (struct inferior_thread_state) <siginfo_gdbarch>: Fix up | |
294 | the comment. | |
295 | (save_inferior_thread_state): Reset tp->stop_signal. | |
296 | ||
fef8420a JK |
297 | 2010-11-26 Jan Kratochvil <[email protected]> |
298 | ||
7ea14533 JK |
299 | * infcall.c (call_function_by_hand): Remove variable |
300 | caller_state_cleanup. | |
fef8420a | 301 | |
f5a8e22b MK |
302 | 2010-11-25 Marc Khouzam <[email protected]> |
303 | ||
304 | PR breakpoints/12217 | |
305 | ||
306 | * breakpoint.c (is_marker_spec): Check for NULL. | |
307 | ||
50389644 PA |
308 | 2010-11-25 Pedro Alves <[email protected]> |
309 | ||
310 | * breakpoint.h: No longer include python.h or python-internal.h. | |
311 | (struct breakpoint_object): Forward declare. | |
312 | * defs.h (PyObject) [!HAVE_PYTHON]: Don't define. | |
313 | * varobj.c (PyObject) [!HAVE_PYTHON]: Define. | |
314 | * python/py-breakpoint.c (build_bp_list): Cast py_bp_object to | |
315 | PyObject pointer. | |
316 | (gdbpy_breakpoint_created): Remove casts around py_bp_object | |
317 | accesses. | |
318 | ||
50a99728 JB |
319 | 2010-11-24 Joel Brobecker <[email protected]> |
320 | ||
321 | * rs6000-tdep.c (bfd_uses_spe_extensions): Use bfd_elf_get_obj_attr_int | |
322 | only if HAVE_ELF is defined. | |
323 | ||
d82142e2 JK |
324 | 2010-11-24 Jan Kratochvil <[email protected]> |
325 | ||
a418ecb5 JK |
326 | Code cleanup. |
327 | * infrun.c (struct inferior_status) <stepping_over_breakpoint> | |
328 | (save_inferior_status) <stepping_over_breakpoint> | |
329 | (restore_inferior_status) <stepping_over_breakpoint>: Rename to | |
330 | trap_expected. | |
331 | (struct inferior_status) <step_resume_break_address>: Remove. | |
332 | ||
333 | 2010-11-24 Jan Kratochvil <[email protected]> | |
334 | ||
335 | Code cleanup. | |
d82142e2 JK |
336 | * infrun.c (struct inferior_status, save_inferior_status) |
337 | (restore_inferior_status): Group and reorder the fields, comment their | |
338 | groups. | |
339 | ||
2edb89d3 JK |
340 | 2010-11-24 Jan Kratochvil <[email protected]> |
341 | ||
342 | Code cleanup. | |
343 | * dictionary.c | |
344 | (struct dict_vector) <iter_match_first, iter_match_next> | |
345 | (iter_match_first_hashed, iter_match_next_hashed) | |
346 | (iter_match_first_linear, iter_match_next_linear) | |
347 | (dict_iter_match_first, dict_iter_match_next, iter_match_first_hashed) | |
348 | (iter_match_next_hashed, iter_match_first_linear) | |
349 | (iter_match_next_linear): Use symbol_compare_ftype. | |
350 | * dictionary.h: Include symfile.h. | |
351 | (dict_iter_match_first, dict_iter_match_next): Use | |
352 | symbol_compare_ftype. | |
353 | * dwarf2read.c (dw2_map_matching_symbols): Likewise. | |
354 | * psymtab.c (match_partial_symbol, match_partial_symbol, map_block) | |
355 | (map_matching_symbols_psymtab): Likewise. | |
356 | * symfile.h (symbol_compare_ftype): New typedef. | |
357 | (struct quick_symbol_functions) <map_matching_symbols): Use | |
358 | symbol_compare_ftype. | |
359 | ||
5ae98d25 TT |
360 | 2010-11-23 Tom Tromey <[email protected]> |
361 | ||
39037522 TT |
362 | * configure: Rebuild. |
363 | * configure.ac (READLINE_TEXI_INCFLAG): New subst. | |
364 | ||
365 | 2010-11-19 Tom Tromey <[email protected]> | |
366 | ||
5ae98d25 TT |
367 | * Makefile.in (SUBDIRS): Add doc. |
368 | * configure: Rebuild. | |
369 | * configure.ac: Don't configure in doc. Create doc/Makefile. | |
370 | ||
ea976c60 PM |
371 | 2010-11-23 Phil Muldoon <[email protected]> |
372 | ||
373 | PR python/12212 | |
374 | ||
375 | * python/py-inferior.c (find_thread_object): Check if PIDGET | |
376 | returns 0. | |
377 | ||
378 | 010-11-22 Joel Brobecker <[email protected]> | |
d94e4f4f JB |
379 | |
380 | * ada-lang.c (ada_template_to_fixed_record_type_1): Delete bit_incr. | |
381 | ||
96dbd2c1 JB |
382 | 2010-11-22 Joel Brobecker <[email protected]> |
383 | ||
384 | * ada-lang.c (ada_to_fixed_type): Expand function documentation. | |
385 | Return the original type if the main type portions match rather | |
386 | than when the type themselves match. | |
387 | ||
27f2a97b JB |
388 | 2010-11-22 Joel Brobecker <[email protected]> |
389 | ||
390 | * ada-lang.c (ada_template_to_fixed_record_type_1): | |
391 | For dynamic fields, check the field size against the maximum | |
392 | object size. | |
393 | ||
1324a0d9 JB |
394 | 2010-11-22 Joel Brobecker <[email protected]> |
395 | ||
396 | * mips-irix-tdep.c (mips_irix_n32_stack_tramp_frame_init): New | |
397 | function. | |
398 | (mips_irix_n32_stack_tramp_frame): New static global. | |
399 | (mips_irix_init_abi): Add mips_irix_n32_stack_tramp_frame to | |
400 | list of unwinder. | |
401 | ||
09e7f15b JB |
402 | 2010-11-22 Jerome Guitton <[email protected]> |
403 | ||
404 | * ada-tasks.c (get_tcb_types_info): Use C lookups to get | |
405 | ATCB symbols. | |
406 | ||
3a867c22 JB |
407 | 2010-11-22 Joel Brobecker <[email protected]> |
408 | ||
409 | * ada-lang.c (ada_check_typedef): Call ada_check_typedef only | |
410 | if type1 is a typedef. | |
411 | ||
df30368d JB |
412 | 2010-11-22 Joel Brobecker <[email protected]> |
413 | ||
414 | * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Add | |
415 | "_finalizer" to the list. | |
416 | ||
4889bbbc JB |
417 | 2010-11-22 Joel Brobecker <[email protected]> |
418 | ||
419 | * symfile.c: Remove all "#if 0"/"#endif" blocks. | |
420 | ||
0d14a781 JB |
421 | 2010-11-22 Joel Brobecker <[email protected]> |
422 | ||
423 | * symfile.c: Add missing second space after period in various comments. | |
424 | ||
feb864b7 JB |
425 | 2010-11-22 Joel Brobecker <[email protected]> |
426 | ||
427 | * ada-typeprint.c (print_array_type): Fix formatting in comment. | |
428 | (print_selected_record_field_types): Fix formatting in function | |
429 | documentation. | |
430 | ||
04f9d4d0 JB |
431 | 2010-11-22 Joel Brobecker <[email protected]> |
432 | ||
433 | * ravenscar-thread.c (_initialize_ravenscar): Fix copy/paste typo | |
434 | in name of "show ravenscar" prefix command name. | |
435 | ||
b64edec4 JB |
436 | 2010-11-22 Joel Brobecker <[email protected]> |
437 | ||
438 | * ravenscar-thread.c (show_ravenscar_task_switching_command): | |
439 | Add missing '\n' in output. | |
440 | ||
7f39f34a JB |
441 | 2010-11-22 Joel Brobecker <[email protected]> |
442 | ||
443 | * ravenscar-thread.c (running_thread_name): Change value. | |
444 | (read_thread_id): Remove advance declaration. | |
445 | (get_running_thread_msymbol): New function. | |
446 | (has_ravenscar_runtime): Use get_running_thread_msymbol to | |
447 | compute msym_running_thread. | |
448 | (get_running_thread_id): Renames read_thread_id. Slight modifications | |
449 | to not take any argument anymore, using get_running_thread_msymbol | |
450 | to determine which symbol to use instead. | |
451 | (ravenscar_running_thread): Use get_running_thread_id instead of | |
452 | read_thread_id. | |
453 | ||
f3890d59 JB |
454 | 2010-11-22 Joel Brobecker <[email protected]> |
455 | ||
456 | * ravenscar-sparc-thread.c (supply_register_at_address): | |
457 | Fix passing of buf in call to regcache_raw_supply. | |
458 | ||
594e8718 JK |
459 | 2010-11-22 Jan Kratochvil <[email protected]> |
460 | ||
461 | * dwarf2read.c (dwarf2_read_index): Ignore higher .gdb_index versions. | |
462 | ||
7ba86c9e TT |
463 | 2010-11-22 Tom Tromey <[email protected]> |
464 | ||
465 | * Makefile.in (.PRECIOUS): Reference ada-lex.c. | |
466 | ||
1bfda48e KS |
467 | 2010-11-19 Keith Seitz <[email protected]> |
468 | ||
469 | * data-directory/Makefile.in (SYSCALLS_INSTALL_DIR): | |
470 | Remove extraneous '/' after $(DESTDIR). | |
471 | (PYTHON_INSTALL_DIR): Likewise. | |
472 | ||
3f1eff0a JK |
473 | 2010-11-19 Jan Kratochvil <[email protected]> |
474 | ||
475 | Fix stale memory references. | |
476 | * elfread.c (elf_symfile_read): Replace xmalloc by bfd_alloc, drop | |
477 | xfree, new comment. | |
478 | ||
954d8cae TT |
479 | 2010-11-19 Jan Kratochvil <[email protected]> |
480 | Tom Tromey <[email protected]> | |
481 | ||
482 | * Makefile.in (.y.c): Directly create $@ from YLWRAP. | |
483 | (.PHONY): Remove for .y outputs. | |
484 | ||
d53d4ac5 TT |
485 | 2010-11-19 Will Drewry <[email protected]> |
486 | Tavis Ormandy <[email protected]> | |
487 | Jan Kratochvil <[email protected]> | |
488 | ||
489 | * dwarf2read.c (decode_locdesc): Enforce location description stack | |
490 | boundaries. | |
491 | ||
77bc0675 PM |
492 | 2010-11-18 Pierre Muller <[email protected]> |
493 | ||
494 | * arm-tdep.c (arm_in_function_epilogue_p): Fix code when "MOV SP" | |
495 | instruction is found. | |
496 | ||
ba19bb4d TT |
497 | 2010-11-17 Tom Tromey <[email protected]> |
498 | ||
499 | * value.c (value_entirely_optimized_out): Check the | |
500 | 'check_any_valid' field. | |
501 | ||
19f220c3 JK |
502 | 2010-11-16 Jan Kratochvil <[email protected]> |
503 | ||
504 | * ada-lang.c (modify_general_field): Remove. | |
505 | (make_array_descriptor): Replace all modify_general_field calls by | |
506 | modify_field. | |
507 | * value.c (modify_field): Update comment. New variable bytesize. | |
508 | Normalize BITPOS. Initialize BYTESIZE, use it. | |
509 | ||
87df528e JK |
510 | 2010-11-16 Jan Kratochvil <[email protected]> |
511 | ||
512 | * dwarf2read.c (dw2_forget_cached_source_info): Clear the FULL_NAMES | |
513 | elements after xfree. | |
514 | ||
97924a97 TT |
515 | 2010-11-16 Tom Tromey <[email protected]> |
516 | ||
517 | * gdb-add-index.sh: Really remove. | |
518 | ||
9816fde3 JK |
519 | 2010-11-16 Jan Kratochvil <[email protected]> |
520 | ||
521 | Code cleanup. | |
522 | * dwarf2read.c (alloc_one_comp_unit): Rename prototype to ... | |
523 | (init_one_comp_unit): ... this one. | |
524 | (prepare_one_comp_unit): New prototype. | |
525 | (dw2_require_line_header, process_psymtab_comp_unit): Use | |
526 | init_one_comp_unit. | |
527 | (process_psymtab_comp_unit): Use prepare_one_comp_unit. | |
528 | (load_partial_comp_unit): Remove variable attr. Use | |
529 | init_one_comp_unit with xmalloc. Use prepare_one_comp_unit. | |
530 | (load_full_comp_unit): Use init_one_comp_unit with xmalloc. Use | |
531 | prepare_one_comp_unit. | |
532 | (read_signatured_type): Remove variable attr. Use init_one_comp_unit. | |
533 | Use prepare_one_comp_unit. | |
534 | (alloc_one_comp_unit): Rename to ... | |
535 | (init_one_comp_unit): ... here and remove there calloc, new parameter | |
536 | cu. | |
537 | (prepare_one_comp_unit): New function. | |
538 | ||
73c964d6 PM |
539 | 2010-11-14 Pierre Muller <[email protected]> |
540 | ||
541 | * arm-tdep.c (arm_in_function_epilogue_p): Fix code to avoid | |
542 | possible used of uninitialized variable. | |
543 | ||
74af9197 NF |
544 | 2010-11-12 Nathan Froyd <[email protected]> |
545 | ||
546 | * rs6000-tdep.c (bfd_uses_spe_extensions): New function. | |
547 | (rs6000_gdbarch_init): Call it. | |
548 | ||
e52d5016 NF |
549 | 2010-11-12 Nathan Froyd <[email protected]> |
550 | ||
551 | * rs6000-tdep.c (gdb_print_insn_powerpc): Disassemble e500 | |
552 | instructions if debugging an E500 binary. | |
553 | ||
621c8364 TT |
554 | 2010-11-12 Tom Tromey <[email protected]> |
555 | ||
556 | * varobj.c (value_get_print_value): Rearrange. Pass stream to | |
557 | apply_varobj_pretty_printer. | |
558 | * c-lang.c: Include exceptions.h. | |
559 | (c_get_string): Throw MEMORY_ERROR when appropriate. | |
560 | * python/py-prettyprint.c (enum string_repr_result): New. | |
561 | (print_stack_unless_memory_error): New function. | |
562 | (print_string_repr): Change return type. Use | |
563 | print_stack_unless_memory_error. | |
564 | (print_children): Use print_stack_unless_memory_error. | |
565 | (apply_val_pretty_printer): Update. Don't print children if | |
566 | string representation threw an exception. | |
567 | (apply_varobj_pretty_printer): Add 'stream' argument. Use | |
568 | print_stack_unless_memory_error. | |
569 | * python/python.c (gdbpy_gdb_error, gdbpy_gdb_memory_error): New | |
570 | globals. | |
571 | (_initialize_python): Initialize them. | |
572 | * python/python-internal.h (GDB_PY_HANDLE_EXCEPTION): Use | |
573 | gdbpy_convert_exception. | |
574 | (GDB_PY_SET_HANDLE_EXCEPTION): Likewise. | |
575 | (gdbpy_gdb_error, gdbpy_gdb_memory_error): Declare. | |
576 | (gdbpy_convert_exception): Declare. | |
577 | (apply_varobj_pretty_printer): Update. | |
578 | * python/py-utils.c (gdbpy_convert_exception): New function. | |
579 | ||
f1b9e6e7 MK |
580 | 2010-11-12 Marc Khouzam <[email protected]> |
581 | ||
582 | * mi/mi-main.c (mi_cmd_target_detach): Accept new | |
583 | thread-group id format. | |
584 | ||
74884f7b JK |
585 | 2010-11-12 Jan Kratochvil <[email protected]> |
586 | ||
587 | * spu-tdep.c (spu_catch_start): Fix compilation error typo. | |
588 | ||
84f4c1fe PM |
589 | 2010-11-11 Phil Muldoon <[email protected]> |
590 | ||
591 | * python/py-breakpoint.c (BPPY_REQUIRE_VALID): Check if bp is | |
592 | NULL. | |
593 | (BPPY_SET_REQUIRE_VALID): Ditto. | |
594 | (bpnum_is_valid): Delete function. | |
595 | (bppy_get_visibility): New function. | |
596 | (bppy_new): Parse for, and validate internal keyword. Pass | |
597 | internal keyword to breakpoint or watchpoint functions. | |
598 | (build_bp_list): New function. | |
599 | (gdbpy_breakpoints): Rewrite. Use build_bp_list and | |
600 | iterate_over_breakpoints. | |
601 | (gdbpy_breakpoint_created): Rewrite. Do not store breakpoints in a | |
602 | look-aside vector. | |
603 | (gdbpy_breakpoint_deleted): Rewrite, defer breakpoint management | |
604 | to internal breakpoint chain. | |
605 | ||
606 | * breakpoint.c (set_breakpoint_number): New function. | |
607 | (breakpoint_1): Check if breakpoint number is more than zero. | |
608 | (set_raw_breakpoint_without_location): Set py_bp_object to NULL. | |
609 | (create_breakpoint_sal): Take a new parameter called internal. | |
610 | Call set_breakpoint_number with internal parameter. Do not | |
611 | mention internal breakpoints. All callers updated. | |
612 | (create_breakpoint): Ditto. | |
613 | (create_breakpoints_sal): Ditto. | |
614 | (watch_command_1): Ditto. | |
615 | (watch_command_wrapper): Take a new parameter called internal. | |
616 | All callers updated. | |
617 | (rwatch_command_wrapper): Ditto. | |
618 | (awatch_command_wrapper): Ditto. | |
619 | (save_breakpoints): Update breakpoint save condition check. | |
620 | (iterate_over_breakpoints): New function. | |
621 | * breakpoint.h: Add conditional python includes. Add py_bp_object | |
622 | and comment to struct breakpoint. Update all callers. | |
623 | * defs.h: Add PyObject definition for GDB builds without Python. | |
624 | ||
4dfea560 DE |
625 | 2010-11-10 Doug Evans <[email protected]> |
626 | ||
f61a2da7 DE |
627 | * python/lib/gdb/command/pretty_printers.py |
628 | (do_enable_pretty_printer_1): Handle printer.subprinters is None. | |
629 | ||
4dfea560 DE |
630 | * value.c (set_value_enclosing_type): Renamed from |
631 | value_change_enclosing_type. All callers updated. | |
632 | * value.h (set_value_enclosing_type): Update. | |
633 | * valops.c (value_full_object): Always return a copy if we need to | |
634 | make changes to the input value. | |
635 | ||
a1442452 PA |
636 | 2010-11-09 Pedro Alves <[email protected]> |
637 | ||
638 | * breakpoint.c (watch_command_1): Get a pointer of the lazy | |
639 | version of the expression's value, even if reading the value from | |
640 | memory fails. When creating a -location watchpoint, get the | |
641 | value's address from the lazy value pointer. | |
642 | ||
803b5f95 JK |
643 | 2010-11-07 Jan Kratochvil <[email protected]> |
644 | ||
645 | * infrun.c (restore_inferior_thread_state): Use | |
646 | discard_inferior_thread_state to free the data. | |
647 | (discard_inferior_thread_state): xfree also siginfo_data. | |
648 | ||
99e7ae30 DE |
649 | 2010-11-05 Doug Evans <[email protected]> |
650 | ||
651 | Make gdb.parameter("directories") work. | |
652 | New command "set directories". | |
653 | * NEWS: Document them. | |
654 | * source.c (set_directories_command): New function. | |
655 | (show_directories_1): Renamed from show_directories. | |
656 | All callers updated. | |
657 | (show_directories_command): New function. | |
658 | (_initialize_source): Install "directories" as a set/show | |
659 | variable instead of just a show command. | |
660 | ||
f4b8a18d KW |
661 | 2010-11-05 Ken Werner <[email protected]> |
662 | ||
663 | * NEWS: Mention OpenCL C language support. | |
664 | * Makefile.in (SFILES): Add opencl-lang.c. | |
665 | (COMMON_OBS): Add opencl-lang.o. | |
666 | * opencl-lang.c: New File | |
667 | * defs.h (enum language): Add language_opencl. | |
668 | * dwarf2read.c (read_file_scope): Handle DW_AT_producer for the | |
669 | IBM XL C OpenCL compiler. | |
670 | * c-lang.h: Include "parser-defs.h". | |
671 | (evaluate_subexp_c): Declare. | |
672 | * c-lang.c (evaluate_subexp_c): Remove the static qualifier. | |
673 | (c_op_print_tab): Add declaration. | |
674 | * eval.c (binop_promote): Handle language_opencl. | |
675 | * c-exp.y: Lookup the primitive types instead of referring to the | |
676 | builtins. | |
677 | ||
075ff26d JK |
678 | 2010-11-05 Jan Kratochvil <[email protected]> |
679 | ||
680 | Fix configure --enable-plugins --without-python. | |
681 | * configure.ac (for ELF support in BFD) <"$plugins" = "yes">: New. | |
682 | * configure: Regenerate. | |
683 | ||
14ad3217 JK |
684 | 2010-11-05 Jan Kratochvil <[email protected]> |
685 | ||
686 | * solib.c (solib_read_symbols): Call exception_fprintf even without | |
687 | FROM_TTY. Print also so->so_name. | |
688 | ||
a9d5ef47 SW |
689 | 2010-11-04 Sami Wagiaalla <[email protected]> |
690 | ||
691 | * gdbtypes.h (struct rank): Created subrank. | |
692 | * gdbtypes.c: Initialized subrank for all | |
693 | 'BADNESS' constants. | |
694 | (distance_to_ancestor): New function. | |
695 | (is_ancestor): Use distance_to_ancestor. | |
696 | (is_public_ancestor): Ditto. | |
697 | (sum_ranks): Handle subrank. | |
698 | (compare_ranks): Ditto. | |
699 | (rank_one_type): Subrank base conversions. | |
700 | ||
6403aeea SW |
701 | 2010-11-04 Sami Wagiaalla <[email protected]> |
702 | ||
703 | * gdbtypes.h: Create struct rank. | |
704 | Convert all 'BADNESS' macros to const struct rank declarations. | |
705 | (sum_ranks): New function. | |
706 | (compare_ranks): New function. | |
707 | * valops.c (find_oload_champ): Updated. | |
708 | (classify_oload_match): Use compare_ranks. | |
709 | Improved comments. | |
710 | (compare_parameters): Use compare_ranks. | |
711 | * gdbtypes.c: Initialize 'BADNESS' constants. | |
712 | (sum_ranks): New function. | |
713 | (compare_ranks): New function. | |
714 | (compare_badness): Use compare_ranks. | |
715 | (rank_function): Use global constants instead of literals. | |
716 | (rank_one_type): Ditto. | |
717 | Return struct rank. | |
718 | Use sum_ranks. | |
719 | ||
23fa7f66 DE |
720 | 2010-11-04 Doug Evans <[email protected]> |
721 | ||
722 | * python/py-prettyprint.c (find_pretty_printer_from_gdb): Fix comment. | |
723 | (find_pretty_printer): Fix comments. | |
724 | ||
608bcef2 HZ |
725 | 2010-11-04 Hui Zhu <[email protected]> |
726 | ||
727 | * tracepoint.c (remote_trace_set_readonly_regions): Change lma to vma. | |
728 | ||
9addb3b9 JB |
729 | 2010-11-03 Joel Brobecker <[email protected]> |
730 | ||
731 | * ada-valprint.c (ada_val_print_array): Move variables `eltlen' | |
732 | and `len' declaration and computation inside block where they | |
733 | are being used. | |
734 | ||
75be741b JB |
735 | 2010-11-03 Joel Brobecker <[email protected]> |
736 | ||
737 | * valprint.c (val_print_array_elements): Put back handling of | |
738 | empty arrays. | |
739 | ||
dbc98a8b KW |
740 | 2010-11-03 Ken Werner <[email protected]> |
741 | ||
742 | * dwarf2read.c (read_array_type): Read the DW_AT_byte_size from the | |
743 | DIE and set the length of the type. | |
744 | * gdbtypes.h (get_array_bounds): Move here from valprint.h. | |
745 | * gdbtypes.c (get_array_bounds): Move here from valprint.c and | |
746 | return 0 if the corresponding bounds of the type are undefined. | |
747 | * valprint.h (get_array_bounds): Move declaration to gdbtypes.h. | |
748 | * valprint.c (get_array_bounds): Move implementation to gdbtypes.c. | |
749 | (val_print_array_elements): Use get_array_bounds to compute the number | |
750 | of array elements instead of dividing the length of the array by the | |
751 | length of the element types. | |
752 | * valarith.c (vector_binop): Likewise. | |
753 | * valops.c (value_cast): Likewise. | |
754 | * c-valprint.c (c_val_print): Likewise. | |
755 | * c-typeprint.c (c_type_print_varspec_suffix): Likewise. | |
756 | ||
120bd360 KW |
757 | 2010-11-03 Ken Werner <[email protected]> |
758 | ||
759 | * valarith.c (value_pos, value_neg, value_complement): Handle | |
760 | vector types. | |
761 | * valops.c (value_one): Likewise. | |
762 | ||
c37f7098 KW |
763 | 2010-11-03 Ken Werner <[email protected]> |
764 | ||
765 | * value.h (value_non_lval): Declare. | |
766 | * value.c (value_non_lval): New function. | |
767 | * eval.c (evaluate_subexp_standard) <UNOP_POSTINCREMENT, | |
768 | UNOP_POSTDECREMENT>: Call value_non_lval to ensure to return a | |
769 | non-lvalue. | |
770 | ||
7b51bc51 DE |
771 | 2010-11-02 Doug Evans <[email protected]> |
772 | ||
773 | New python module gdb.printing, and new commands info pretty-printer, | |
774 | enable pretty-printer, disable pretty-printer. | |
775 | * NEWS: Mention them. | |
776 | * data-directory/Makefile.in (PYTHON_FILES): Add gdb/printing.py, | |
777 | gdb/command/__init__.py, gdb/command/pretty_printers.py. | |
778 | * python/lib/gdb/__init__.py: Install pretty-printer commands. | |
779 | * python/lib/gdb/printing.py: New file. | |
780 | * python/lib/gdb/command/__init__.py: New file. | |
781 | * python/lib/gdb/command/pretty_printers.py: New file. | |
782 | ||
50c97f38 TT |
783 | 2010-11-02 Tom Tromey <[email protected]> |
784 | ||
785 | * NEWS: Mention Guile removal. | |
786 | * defs.h (enum language) <language_scm>: Remove. | |
787 | * Makefile.in (SFILES): Remove scm-exp.c, scm-lang.c, | |
788 | scm-valprint.c. | |
789 | (HFILES_NO_SRCDIR): Remove scm-lang.h, scm-tags.h. | |
790 | (COMMON_OBS): Remove scm-exp.o, scm-lang.o, scm-valprint.o. | |
791 | * scm-exp.c, scm-lang.c, scm-valprint.c, scm-lang.h, scm-tags.h: | |
792 | Remove. | |
793 | ||
9dea9163 DE |
794 | 2010-11-02 Doug Evans <[email protected]> |
795 | ||
796 | * top.c: #include "python/python.h". | |
797 | (gdb_init): Add a comment regarding initialize_all_files. | |
798 | Call finish_python_initialization at the end. | |
799 | * python/python.h (finish_python_initialization): Declare. | |
800 | * python/python.c (finish_python_initialization): New function. | |
801 | (_initialize_python): Move python-implemented initialization there | |
802 | and call it. | |
803 | (GdbMethods): Use #ifdef HAVE_PYTHON for consistency. | |
804 | ||
a289b8f6 JK |
805 | 2010-11-02 Jan Kratochvil <[email protected]> |
806 | ||
807 | Revert: | |
808 | 2010-10-17 Jan Kratochvil <[email protected]> | |
809 | Pedro Alves <[email protected]> | |
810 | * gdbthread.h (currently_stepping): New declaration. | |
811 | * infrun.c (currently_stepping): Remove the forward declaration. | |
812 | (currently_stepping): Make it global. | |
813 | * linux-nat.c (resume_callback) <lp->stopped && lp->status == 0>: New | |
814 | variables tp and step, initialized them. Pass STEP to to_resume. | |
815 | Print also possibly "PTRACE_SINGLESTEP" if STEP. Initialize LP->STEP. | |
816 | * remote.c (currently_stepping_callback): New. | |
817 | (remote_vcont_resume) | |
818 | <ptid_equal (ptid, minus_one_ptid) || ptid_is_pid (ptid)>: | |
819 | New variable tp. Call currently_stepping_callback and step such | |
820 | thread. | |
821 | ||
2209c807 HZ |
822 | 2010-11-01 Hui Zhu <[email protected]> |
823 | ||
824 | * tracepoint.c (tfile_xfer_partial): Change lma to vma. | |
825 | ||
0a2a54b8 HZ |
826 | 2010-10-28 Hui Zhu <[email protected]> |
827 | ||
828 | * tracepoint.c (trace_save): Change utp->actions to | |
829 | utp->step_actions. | |
830 | ||
284a3db3 JB |
831 | 2010-10-26 Joel Brobecker <[email protected]> |
832 | ||
833 | * (_FILE_OFFSET_BITS): Fix typo in comment. | |
834 | ||
aed1781d JB |
835 | 2010-10-26 Joel Brobecker <[email protected]> |
836 | ||
837 | * python/python-internal.h (_FILE_OFFSET_BITS): Undefine. | |
838 | (PyEval_InitThreads): Remove duplicate. Define as nothing. | |
839 | (PyEval_ReleaseLock): Define as nothing. | |
840 | ||
1e3fad37 JB |
841 | 2010-10-26 Joel Brobecker <[email protected]> |
842 | ||
843 | * dwarf2read.c (psymtab_include_file_name): Replace call to strcmp | |
844 | by call to FILENAME_CMP. | |
845 | ||
558b1900 JB |
846 | 2010-10-26 Joel Brobecker <[email protected]> |
847 | ||
848 | * dictionary.c (dict_hash): Move assignment out of if condition. | |
849 | ||
f474844c JZ |
850 | 2010-10-22 Jie Zhang <[email protected]> |
851 | ||
852 | * Makefile.in (install): Remove dependency of install-only and | |
853 | recursively invoke make for install-only. | |
854 | * data-directory/Makefile.in: Add FLAGS_TO_PASS variable. | |
855 | (install): Pass FLAGS_TO_PASS when recursively make install-only. | |
856 | ||
8991e9fa HZ |
857 | 2010-10-20 Hui Zhu <[email protected]> |
858 | ||
859 | * tracepoint.c (tfile_get_traceframe_address): Call | |
860 | extract_signed_integer. | |
861 | (tfile_trace_find): Call extract_signed_integer and | |
862 | extract_unsigned_integer. Change data_size to unsigned int. | |
863 | (tfile_fetch_registers): Call extract_unsigned_integer. | |
864 | (tfile_xfer_partial): Ditto. | |
865 | (tfile_get_trace_state_variable_value): Call | |
866 | extract_signed_integer and extract_unsigned_integer. | |
867 | ||
21bce120 VP |
868 | 2010-10-20 Vladimir Prus <[email protected]> |
869 | ||
870 | * remote.c (remote_get_threadlist): If we got empty | |
871 | response, bail out immediately, and don't emit any | |
872 | warnings. | |
873 | ||
ad8b5167 UW |
874 | 2010-10-19 Ulrich Weigand <[email protected]> |
875 | ||
876 | * arm-tdep.c (thumb_get_next_pc_raw): Handle Thumb-16 encoding | |
877 | for "mov pc, REG" as well. | |
878 | (thumb_instruction_changes_pc): Likewise. | |
879 | ||
79afc5ef SW |
880 | 2010-10-19 Sami Wagiaalla <[email protected]> |
881 | ||
882 | PR C++/11500: | |
883 | * valarith.c (value_x_unop): Handle STRUCTOP_PTR. | |
884 | * eval.c (evaluate_subexp_standard): Check for overload of | |
885 | 'operator->'. | |
886 | * valarith.c (value_x_binop): Throw NOT_FOUND_ERROR. | |
887 | (value_x_unop): Ditto. | |
888 | * valops.c: Include "exceptions.h". | |
889 | (find_overload_match): Throw NOT_FOUND_ERROR. | |
890 | (value_struct_elt): Ditto. | |
891 | ||
cca56ac7 TT |
892 | 2010-10-19 Tom Tromey <[email protected]> |
893 | ||
894 | * python/py-cmd.c (cmdpy_function): Unreference exception state. | |
895 | ||
026ffab7 SW |
896 | 2010-10-19 Sami Wagiaalla <[email protected]> |
897 | ||
898 | * gdbtypes.h: Introduce BOOL_PTR_CONVERSION_BADNESS. | |
899 | * gdbtypes.c (rank_one_type): Use BOOL_PTR_CONVERSION_BADNESS | |
900 | for conversion. | |
901 | Make all other conversions illegal. | |
902 | ||
8c540a24 DE |
903 | 2010-10-18 Doug Evans <[email protected]> |
904 | ||
905 | * c-typeprint.c (c_type_print_base, case TYPE_CODE_TYPEDEF): Verify | |
906 | assumptions of when this case happens. Print "<unnamed typedef>". | |
907 | ||
3a772aa4 TT |
908 | 2010-10-18 Tom Tromey <[email protected]> |
909 | ||
910 | * valprint.c (val_print_string): Pass 'encoding' to | |
911 | LA_PRINT_STRING. | |
912 | ||
01f8c46d JK |
913 | 2010-10-17 Jan Kratochvil <[email protected]> |
914 | ||
915 | Fix the `stopped language detection' testcase for gcc-4.5. | |
916 | * dwarf2read.c (read_partial_die): Set also LANGUAGE_OF_MAIN. | |
917 | * symfile.c (set_initial_language): Move variable filename to a more | |
918 | inner block. Prefer LANGUAGE_OF_MAIN. | |
919 | * symtab.c (language_of_main): New variable. | |
920 | (set_main_name): Always reset LANGUAGE_OF_MAIN. | |
921 | * symtab.h (language_of_main): New declaration. | |
922 | ||
8aeb23f3 JK |
923 | 2010-10-17 Jan Kratochvil <[email protected]> |
924 | Pedro Alves <[email protected]> | |
925 | ||
926 | * gdbthread.h (currently_stepping): New declaration. | |
927 | * infrun.c (currently_stepping): Remove the forward declaration. | |
928 | (currently_stepping): Make it global. | |
929 | * linux-nat.c (resume_callback) <lp->stopped && lp->status == 0>: New | |
930 | variables tp and step, initialized them. Pass STEP to to_resume. | |
931 | Print also possibly "PTRACE_SINGLESTEP" if STEP. Initialize LP->STEP. | |
932 | * remote.c (currently_stepping_callback): New. | |
933 | (remote_vcont_resume) | |
934 | <ptid_equal (ptid, minus_one_ptid) || ptid_is_pid (ptid)>: | |
935 | New variable tp. Call currently_stepping_callback and step such | |
936 | thread. | |
937 | ||
c1e56572 JK |
938 | 2010-10-17 Jan Kratochvil <[email protected]> |
939 | ||
940 | * infrun.c (follow_exec): Replace symbol_file_add_main by | |
941 | symbol_file_add with SYMFILE_DEFER_BP_RESET, set_initial_language and | |
942 | breakpoint_re_set. | |
943 | * m32r-rom.c (m32r_load, m32r_upload_command): Use parameter 0 for | |
944 | clear_symtab_users. | |
945 | * objfiles.c (free_all_objfiles): Likewise. | |
946 | * remote-m32r-sdi.c (m32r_load): Likewise. | |
947 | * solib-som.c (som_solib_create_inferior_hook): Likewise. | |
948 | * symfile.c (new_symfile_objfile): New comment for add_flags. Call | |
949 | clear_symtab_users with ADD_FLAGS. | |
950 | (reread_symbols): Use parameter 0 for clear_symtab_users. | |
951 | (clear_symtab_users): New parameter add_flags. Do not call | |
952 | breakpoint_re_set if SYMFILE_DEFER_BP_RESET. | |
953 | (clear_symtab_users_cleanup): Use parameter 0 for clear_symtab_users. | |
954 | * symtab.h (clear_symtab_users): New parameter add_flags. | |
955 | ||
3a182a69 JK |
956 | 2010-10-17 Jan Kratochvil <[email protected]> |
957 | ||
958 | Fix GCC false warning. | |
959 | * varobj.c (value_get_print_value) <str_addr>: Initialize it. | |
960 | ||
3a9d7214 PM |
961 | 2010-10-16 Pierre Muller <[email protected]> |
962 | ||
963 | * p-typeprint.c (pascal_type_print_method_args): Fix problem in | |
964 | display of type of method arguments. | |
965 | ||
09ca9e2e TT |
966 | 2010-10-15 Tom Tromey <[email protected]> |
967 | ||
968 | PR python/11948: | |
969 | * varobj.c (value_get_print_value): Use val_print_string to print | |
970 | lazy strings. | |
971 | * python/py-prettyprint.c (print_string_repr): Use | |
972 | val_print_string to print lazy strings. Fix cleanup logic. | |
973 | (print_children): Likewise. | |
974 | * python/python-internal.h (gdbpy_extract_lazy_string): Update. | |
975 | * python/py-lazy-string.c (gdbpy_extract_lazy_string): Rewrite. | |
976 | Change return type to 'void', add 'addr' argument. | |
977 | * value.h (val_print_string): Update. | |
978 | * valprint.c (val_print_string): Add 'encoding' argument. | |
979 | * printcmd.c (print_formatted): Update. | |
980 | * p-valprint.c (pascal_val_print): Update. | |
981 | * m2-valprint.c (print_unpacked_pointer): Update. | |
982 | (m2_print_array_contents): Likewise. | |
983 | * jv-valprint.c (java_value_print): Update. | |
984 | * f-valprint.c (f_val_print): Update. | |
985 | * c-valprint.c (c_val_print): Update. | |
986 | * auxv.c (fprint_target_auxv): Update. | |
987 | ||
92163a10 JK |
988 | 2010-10-15 Doug Evans <[email protected]> |
989 | Jan Kratochvil <[email protected]> | |
990 | ||
991 | PR exp/12117 | |
992 | * gdbtypes.c (check_typedef): Clean up function comment. | |
993 | Keep track of instance flags as we strip typedefs and create a new | |
994 | type to preserve them if necessary. | |
995 | * gdbtypes.h (type) <instance_flags>: Extend the comment. | |
996 | ||
dae71413 PM |
997 | 2010-10-15 Pierre Muller <[email protected]> |
998 | ||
999 | * p-lang.c (is_pascal_string_type): Use TYPE_FIELD_NAME accessor. | |
1000 | ||
7062b0a0 SW |
1001 | 2010-10-14 Sami Wagiaalla <[email protected]> |
1002 | ||
1003 | * gdbtypes.h: Create BASE_PTR_CONVERSION_BADNESS. | |
1004 | * gdbtypes.c (rank_one_type): Move type comparison code out of here | |
1005 | to... | |
1006 | (types_equal): ...here. And changed it as follows: | |
1007 | Outside of typedefs type must be of the same TYPE_CODE. | |
1008 | When compairing two pointers or references they are equal if their | |
1009 | targets are equal. | |
1010 | Correct pointer conversions. | |
1011 | ||
5c3da5ea PM |
1012 | 2010-10-14 Pierre Muller <[email protected]> |
1013 | ||
1014 | * p-lang.c (is_pascal_string_type): Avoid crashes on structures | |
1015 | having fields without names. | |
1016 | ||
577ce03a TT |
1017 | 2010-10-13 Tom Tromey <[email protected]> |
1018 | ||
1019 | * language.h (LA_PRINT_ARRAY_INDEX): Fix argument name. | |
1020 | ||
a737a51b DE |
1021 | 2010-10-13 Doug Evans <[email protected]> |
1022 | ||
0e3509db DE |
1023 | New python module gdb.types. |
1024 | * NEWS: Document it. | |
1025 | * data-directory/Makefile.in (PYTHON_FILES): Add gdb/types.py. | |
1026 | * python/lib/gdb/types.py: New file. | |
1027 | ||
a737a51b DE |
1028 | * c-typeprint.c: Whitespace cleanup. |
1029 | (cp_type_print_method_args): Remove unnecessary forward decl. | |
1030 | (cp_type_print_derivation_info): Ditto. | |
1031 | (c_type_print_varspec_prefix): Mark as static at definition. | |
1032 | (c_type_print_modifier): Fix arg descriptions. | |
1033 | ||
8dc78533 JK |
1034 | 2010-10-13 Jan Kratochvil <[email protected]> |
1035 | ||
1036 | * python/py-breakpoint.c (bppy_set_condition): New comment. | |
1037 | * python/py-cmd.c (cmdpy_function): Call also gdbpy_print_stack for | |
1038 | failed PyUnicode_Decode. | |
1039 | (cmdpy_completer): Skip element for failed | |
1040 | python_string_to_host_string. | |
1041 | (cmdpy_init): Return -1 on failed python_string_to_host_string. | |
1042 | * python/py-frame.c (frapy_read_var): Extend the function comment. | |
1043 | * python/py-function.c (fnpy_init): Return -1 on failed | |
1044 | python_string_to_host_string. | |
1045 | * python/py-inferior.c (infpy_read_memory, infpy_write_memory): Extend | |
1046 | the function comment. | |
1047 | (infpy_search_memory): Extend the function comment. Remove the | |
1048 | PyErr_SetString call on already set error state. | |
1049 | * python/py-param.c (set_parameter_value): Extend the function | |
1050 | comment. Return -1 on failed python_string_to_host_string, twice. | |
1051 | (set_attr): Extend the function comment. | |
1052 | (compute_enum_values): Extend the function comment. New variable | |
1053 | back_to. Protect self->enumeration by BACK_TO cleanups. Return 0 on | |
1054 | failed python_string_to_host_string. | |
1055 | (get_doc_string): Call gdbpy_print_stack on failed | |
1056 | python_string_to_host_string. | |
1057 | (parmpy_init): Extend the function comment. | |
1058 | * python/py-prettyprint.c (pretty_print_one_value): Likewise. | |
1059 | (gdbpy_get_display_hint, print_children): Call gdbpy_print_stack on | |
1060 | failed python_string_to_host_string. | |
1061 | * python/py-value.c (valpy_new, valpy_getitem, valpy_call) | |
1062 | (valpy_binop, valpy_richcompare): Extend the function comment. | |
1063 | * python/python.c | |
1064 | (struct python_env) <error_type, error_value, error_traceback>: New | |
1065 | fields. | |
1066 | (restore_python_env): Handle PyErr_Occurred. Call PyErr_Restore. | |
1067 | (ensure_python_env): Call PyErr_Fetch. | |
1068 | * varobj.c (update_dynamic_varobj_children): Call gdbpy_print_stack on | |
1069 | failed convert_value_from_python. | |
1070 | (value_get_print_value): Call gdbpy_print_stack on failed | |
1071 | python_string_to_target_python_string. | |
1072 | ||
1bdb0c54 TT |
1073 | 2010-10-12 Tom Tromey <[email protected]> |
1074 | ||
1075 | * python/py-prettyprint.c (search_pp_list): Fix error checking. | |
1076 | ||
0526b37a SW |
1077 | 2010-10-12 Sami Wagiaalla <[email protected]> |
1078 | ||
1079 | * gdbtypes.c (do_is_ancestor): New function. | |
1080 | (is_ancestor): Use do_is_ancestor. | |
1081 | (is_public_ancestor): Use do_is_ancestor. | |
1082 | ||
c1b5be38 PM |
1083 | 2010-10-12 Pierre Muller <[email protected]> |
1084 | ||
1085 | * ser-go32.c (struct dos_ops): Add missing fdopen field. | |
1086 | ||
68770265 MGD |
1087 | 2010-10-12 Matthew Gretton-Dann <[email protected]> |
1088 | ||
1089 | * arm-tdep.c (arm_mode_strings): Add NULL entry at end of array. | |
1090 | ||
64b00020 DE |
1091 | 2010-10-11 Doug Evans <[email protected]> |
1092 | ||
1093 | * c-typeprint.c (c_type_print_modifier): Add note that this prints | |
1094 | the address space id too. | |
1095 | ||
43b8e241 JK |
1096 | 2010-10-11 Jan Kratochvil <[email protected]> |
1097 | ||
1098 | Fix attaching to re-prelinked executables on ppc64. | |
1099 | * solib-svr4.c (svr4_exec_displacement): New variable plt2_asect, | |
1100 | initialize it, try to adjust FILESZ field by it. | |
1101 | ||
417b5110 DJ |
1102 | 2010-10-08 Daniel Jacobowitz <[email protected]> |
1103 | ||
1104 | * tracepoint.c (merge_uploaded_trace_state_variables): Only print | |
1105 | messages if info_verbose. | |
1106 | ||
3bdf2bbd KW |
1107 | 2010-10-08 Ken Werner <[email protected]> |
1108 | ||
1109 | * valops.c (value_cast): Handle vector types. | |
1110 | * valarith.c (value_binop): Widen scalar to vector if appropriate. | |
1111 | ||
ec3d575a UW |
1112 | 2010-10-08 Ulrich Weigand <[email protected]> |
1113 | ||
1114 | * arm-tdep.c (thumb_expand_immediate): New function. | |
1115 | (thumb_instruction_changes_pc): Likewise. | |
1116 | (thumb2_instruction_changes_pc): Likewise. | |
1117 | (thumb_analyze_prologue): Handle 32-bit Thumb instructions during | |
1118 | prologue parsing. Improved support for optimized code. | |
1119 | (thumb_scan_prologue): Do not reply on line-number information, | |
1120 | use same heuristics as arm_scan_prologue insead. | |
1121 | (skip_prologue_function): Accept functions | |
1122 | "__tls_get_addr" and "__aeabi_read_tp". | |
1123 | ||
4024ca99 UW |
1124 | 2010-10-08 Ulrich Weigand <[email protected]> |
1125 | Daniel Jacobowitz <[email protected]> | |
1126 | ||
1127 | * arm-tdep.c (thumb_in_function_epilogue_p) | |
1128 | (arm_in_function_epilogue_p): New. | |
1129 | (arm_gdbarch_init): Install arm_in_function_epilogue_p as | |
1130 | gdbarch_in_function_epilogue_p callback. | |
1131 | ||
855c153f DE |
1132 | 2010-10-07 Doug Evans <[email protected]> |
1133 | ||
00e14314 DE |
1134 | * cc-with-index.sh (output_file): Default to a.out. |
1135 | ||
3876f04e DE |
1136 | * dwarf2read.c (mapped_index): Rename member index_table to |
1137 | symbol_table and index_table_slots to symbol_table_slots. | |
1138 | All uses updated. | |
1139 | (create_symbol_hash_table): Renamed from create_index_table. | |
1140 | All callers updated. | |
1141 | (add_indices_to_cpool): Rename arg index_table to symbol_hash_table. | |
1142 | (write_hash_table): Rename local index_table to symbol_hash_table. | |
1143 | ||
855c153f DE |
1144 | * addrmap.h (addrmap_foreach_fn): New typedef. |
1145 | (addrmap_foreach): Declare. | |
1146 | * addrmap.c (struct addrmap_funcs): New member foreach. | |
1147 | (addrmap_foreach): New function. | |
1148 | (addrmap_fixed_foreach): New function. | |
1149 | (addrmap_fixed_funcs): Update. | |
1150 | (struct mutable_foreach_data): New struct. | |
1151 | (addrmap_mutable_foreach_worker): New function. | |
1152 | (addrmap_mutable_foreach): New function. | |
1153 | (addrmap_mutable_funcs): Update. | |
1154 | ||
1d2a4540 PH |
1155 | 2010-10-07 Paul Hilfinger <[email protected]> |
1156 | ||
1157 | * dictionary.c (dict_hash): Revert to msymbol_hash_iw in | |
1158 | more cases. | |
1159 | ||
40658b94 PH |
1160 | 2010-10-07 Paul Hilfinger <[email protected]> |
1161 | ||
1162 | * ada-lang.c (full_match): Declare. | |
1163 | (ada_match_name): Rename to match_name (we should avoid prefixing static | |
1164 | symbols with "ada_"). | |
1165 | (match_name): New name for ada_match_name. | |
1166 | (struct ada_psym_data): Remove and replace with... | |
1167 | (struct match_data): User data for map_matching_symbols. | |
1168 | (ada_add_psyms): Remove. | |
1169 | (aux_add_nonlocal_symbols): New function, used as callback for | |
1170 | map_matching_symbols. | |
1171 | (compare_names): Ordering function adopted from strcmp_iw for Ada-encoded | |
1172 | symbols. | |
1173 | (ada_add_non_local_symbols): Rename to add_nonlocal_symbols. | |
1174 | (add_nonlocal_symbols): Renamed from ada_add_non_local_symbols. | |
1175 | Rework to use map_matching_symbols instead of map_ada_symtabs. | |
1176 | (ada_lookup_symbol_list): Use add_nonlocal_symbols. | |
1177 | * psymtab.c: Include dependency on dictionary.h. | |
1178 | (match_partial_symbol): New function. | |
1179 | (ada_lookup_partial_symbol): Remove. | |
1180 | (map_block): New function, auxiliary to map_matching_symbols_psymtab. | |
1181 | (map_matching_symbols_psymtab): New function. | |
1182 | (psym_functions): Replace map_ada_symtabs with map_matching_symbols_psymtab. | |
1183 | * symfile.h: Replace map_ada_symtabs definition with map_matching_symbols. | |
1184 | ||
c4d840bd PH |
1185 | 2010-10-06 Paul Hilfinger <[email protected]> |
1186 | ||
1187 | * ada-lang.c (ada_match_name): Use new API for wild_match. | |
40658b94 PH |
1188 | (wild_match): Change API to be consistent with that of strcmp_iw; |
1189 | return 0 for a match, and switch operand order. | |
1190 | (full_match): New function. | |
1191 | (ada_add_block_symbols): Use dict_iter_match_{first,next} for | |
1192 | matching to allow use of hashing. | |
1193 | * dictionary.c (struct dict_vector): Generalize iter_name_first, | |
1194 | iter_name_next ot iter_match_first, iter_match_next. | |
1195 | (iter_name_first_hashed): Replace with iter_match_first_hashed. | |
1196 | (iter_name_next_hashed): Replace with iter_match_next_hashed. | |
1197 | (iter_name_first_linear): Replace with iter_match_first_linear. | |
1198 | (iter_name_next_linear): Replace with iter_match_next_linear. | |
1199 | (dict_iter_name_first): Re-implement to use dict_iter_match_first. | |
1200 | (dict_iter_name_next): Re-implement to use dict_iter_match_next. | |
1201 | (dict_iter_match_first): New function. | |
1202 | (dict_iter_match_next): New function. | |
1203 | (dict_hash): New function. | |
1204 | * dictionary.h (dict_iter_match_first, dict_iter_match_next): Declare. | |
1205 | * psymtab.c (ada_lookup_partial_symbol): Use new wild_match API. | |
c4d840bd | 1206 | |
543ecec7 DE |
1207 | 2010-10-06 Doug Evans <[email protected]> |
1208 | ||
1209 | * data-directory/Makefile.in: Remove @host_makefile_frag@, @frags@. | |
1210 | ||
2f608a3a KW |
1211 | 2010-10-06 Ken Werner <[email protected]> |
1212 | ||
1213 | * dwarf2read.c (read_tag_const_type): Handle const arrays. | |
1214 | ||
aa2e2d8d DE |
1215 | 2010-10-06 Doug Evans <[email protected]> |
1216 | ||
9c9606fb DE |
1217 | * Makefile.in (REQUIRED_SUBDIRS): New var. |
1218 | (subdir_do): Verify required subdir Makefiles exist. | |
1219 | ||
aa2e2d8d DE |
1220 | Create subdir data-directory. |
1221 | * Makefile.in (XML_SYSCALL_DIR, XML_SYSCALL_FILES): Moved to | |
1222 | data-directory/Makefile.in. | |
1223 | (SUBDIRS): Add data-directory. | |
1224 | (all): Remove xml-syscall-copy dependency. | |
1225 | (xml-syscall-copy): Moved to data-directory/Makefile.in as | |
1226 | stamp-syscalls. | |
1227 | (xml-syscall-install): Moved to data-directory/Makefile.in as | |
1228 | install-syscalls. | |
1229 | (install-only): Remove xml-syscall-install dependency. | |
1230 | (all-data-directory): New rule. | |
1231 | (data-directory/Makefile): New rule. | |
1232 | * configure.ac (AC_OUTPUT): Add data-directory/Makefile. | |
1233 | * configure: Regenerate. | |
1234 | * data-directory/Makefile.in: New file. | |
1235 | * python/lib/gdb/__init__.py: New file. | |
1236 | ||
aa27d0b3 JB |
1237 | 2010-10-06 Joel Brobecker <[email protected]> |
1238 | ||
1239 | Fix ARI warnings in advance_wild_match. | |
1240 | * ada-lang.c (advance_wild_match): Delete local variable t2. | |
1241 | Adjust code accordingly. Minor reformatting. | |
1242 | ||
2844d6b5 KW |
1243 | 2010-10-06 Ken Werner <[email protected]> |
1244 | ||
1245 | * gdbtypes.h (struct main_type): Remove flag_nottext. | |
1246 | (enum type_flag_value): Remove TYPE_FLAG_NOTTEXT. | |
1247 | (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_NOTTEXT. | |
1248 | (TYPE_NOTTEXT): Use TYPE_INSTANCE_FLAG_NOTTEXT instead of flag_nottext. | |
1249 | * gdbtypes.c (make_vector_type): Use TYPE_INSTANCE_FLAG_NOTTEXT instead | |
1250 | of TYPE_FLAG_NOTTEXT. | |
1251 | (init_type): Remove the initialization of the flag_nottext field. | |
1252 | (gdbtypes_post_init): Use TYPE_INSTANCE_FLAG_NOTTEXT instead of | |
1253 | TYPE_FLAG_NOTTEXT. | |
1254 | * c-valprint.c (c_val_print): Remove TYPE_VECTOR check. | |
1255 | ||
2fdf6df6 DE |
1256 | 2010-10-04 Doug Evans <[email protected]> |
1257 | ||
ea65fe05 DE |
1258 | * cc-with-index.sh: New file. |
1259 | ||
2fdf6df6 DE |
1260 | * dwarf2read.c (dw2_do_instantiate_symtab): Insert blank line after |
1261 | function comment. | |
1262 | (dw2_instantiate_symtab, dw2_get_cu, extract_cu_value): Ditto. | |
1263 | (create_cus_from_index, create_addrmap_from_index): Ditto. | |
1264 | (mapped_index_string_hash, find_slot_in_mapped_hash): Ditto. | |
1265 | (dw2_setup, dw2_require_line_header, dw2_require_full_path): Ditto. | |
1266 | (dw2_do_expand_symtabs_matching): Ditto. | |
b89be57b DE |
1267 | (eq_strtab_entry, create_strtab, add_string): Ditto. |
1268 | (hash_strtab_entry): Ditto. | |
1269 | (hash_symtab_entry, eq_symtab_entry, delete_symtab_entry): Ditto. | |
1270 | (create_index_table, create_mapped_symtab, find_slot): Ditto. | |
1271 | (hash_expand, add_index_entry, add_indices_to_cpool): Ditto. | |
1272 | (write_hash_table, add_address_entry, write_psymbols): Ditto. | |
1273 | (write_obstack, unlink_if_set, write_one_signatured_type): Ditto. | |
1274 | (write_psymtabs_to_index): Ditto. | |
2fdf6df6 | 1275 | |
40bc484c JB |
1276 | 2010-10-04 Joel Brobecker <[email protected]> |
1277 | ||
1278 | * ada-lang.c: #include "value.h". | |
1279 | (ensure_lval): Delete advance declaration. Remove gdbarch and sp | |
1280 | arguments. Implement using value_allocate_space_in_inferior | |
1281 | instead of allocating memory from the stack. | |
1282 | (make_array_descriptor): Remove gdbarch and sp parameters. Update | |
1283 | calls to ensure_lval. | |
1284 | (ada_convert_actual): Remove gdbarch and sp parameters. Update | |
1285 | calls to make_array_descriptor and ensure_lval. | |
1286 | * ada-lang.h (ada_convert_actual): Update declaration. | |
1287 | * infcall.c (value_arg_coerce): Update call to ada_convert_actual. | |
1288 | ||
f17618ea DE |
1289 | 2010-10-04 Doug Evans <[email protected]> |
1290 | ||
1291 | * python/python.c (_initialize_python): Define new function | |
1292 | GdbSetPythonDirectory in python. Use it to update sys.path and | |
1293 | gdb.__path__. | |
1294 | ||
83e3a93c PH |
1295 | 2010-10-03 Paul Hilfinger <[email protected]> |
1296 | ||
1297 | * gdb/ada-typeprint.c (print_selected_record_field_types): New function, | |
1298 | incorporating and generalizing print_record_field_types. | |
1299 | (print_record_field_types): Change return value and update comment. | |
1300 | Re-implement using print_selected_record_field_types. | |
1301 | (print_choices): Print "=>" here. | |
1302 | Handle case of unencoded variant branch. | |
1303 | (print_variant_clauses): Reformat comment. | |
1304 | Special-case unencoded variant branch. | |
1305 | ||
1306 | 2010-10-03 Paul Hilfinger <[email protected]> | |
73589123 PH |
1307 | |
1308 | * ada-lang.c (wild_match): Reimplement. | |
1309 | Change API to eliminate unused length argument, reverse arguments and | |
1310 | make 0 the 'true' return value. | |
1311 | (advance_wild_match): New auxiliary function for wild_match to improve | |
1312 | readability. | |
1313 | (ada_match_name, ada_add_block_symbols): Use new API for wild_match. | |
1314 | * psymtab.c (ada_lookup_partial_symbol, map_ada_symtabs): Use new | |
1315 | API for wild_match. | |
1316 | * symfile.h (map_ada_symtabs): Modify declaration to use new API for | |
1317 | wild_match. | |
1318 | * dwarf2read.c (dw2_map_ada_symtabs): Ditto. | |
1319 | ||
11570e71 DE |
1320 | 2010-10-01 Doug Evans <[email protected]> |
1321 | ||
1322 | * dwarf2read.c (_initialize_dwarf2_read): Add usage info to help text | |
1323 | for `save gdb-index' command. | |
1324 | ||
72b9f47f TT |
1325 | 2010-10-01 Tom Tromey <[email protected]> |
1326 | ||
1327 | * symfile.h (allocate_symtab): Update. | |
1328 | * symfile.c (allocate_symtab): Make 'filename' const. | |
1329 | * psymtab.c (add_psymbol_to_bcache): Make 'name' const. | |
1330 | (add_psymbol_to_list): Likewise. | |
1331 | * psympriv.h (struct partial_symtab) <filename, dirname>: Now | |
1332 | const. | |
1333 | (add_psymbol_to_list): Update. | |
1334 | * mdebugread.c (new_symtab): Make 'name' const. | |
1335 | (psymtab_to_symtab_1): Make 'filename' const. | |
1336 | * elfread.c (elfstab_offset_sections): Update. | |
1337 | * dwarf2read.c (dwarf_decode_lines): Make 'comp_dir' const. | |
1338 | (dwarf2_start_subfile): Make 'dirname' and 'comp_dir' const. | |
1339 | (psymtab_include_file_name): Update. | |
1340 | * dbxread.c (find_stab_function_addr): Make 'filename' const. | |
1341 | * buildsym.h (start_subfile): Update. | |
1342 | * buildsym.c (start_subfile): Make arguments const. | |
1343 | ||
55e39473 MS |
1344 | 2010-09-30 Ali Lakhia <[email protected]> |
1345 | ||
1346 | * fork-child.c (breakup_args): Fix crash if shell forking is | |
1347 | disabled at compile time. | |
1348 | ||
05e522ef JB |
1349 | 2010-10-01 Joel Brobecker <[email protected]> |
1350 | ||
1351 | * ada-lang.c (desc_bounds): Add handling of the case where | |
1352 | the P_BOUNDS field is a pointer to a stub. | |
1353 | (desc_data_target_type): Same for P_ARRAY field. | |
1354 | (ada_check_typedef): Strip the typedef layers from the type | |
1355 | found by ada_find_any_type. | |
1356 | ||
49a45ecf JB |
1357 | 2010-10-01 Joel Brobecker <[email protected]> |
1358 | ||
1359 | * sparc-tdep.c (sparc32_frame_align): New function. | |
1360 | (sparc32_gdbarch_init): Set the frame_align gdbarch method. | |
1361 | * sparc64-tdep.c (sparc64_frame_align): New function. | |
1362 | (sparc64_gdbarch_init): Set the frame_align gdbarch method. | |
1363 | ||
a5916a62 L |
1364 | 2010-09-30 H.J. Lu <[email protected]> |
1365 | ||
1366 | * defs.h (MAX_REGISTER_SIZE): Set to 64. | |
1367 | ||
00b5771c TT |
1368 | 2010-09-30 Tom Tromey <[email protected]> |
1369 | ||
1370 | * symfile.h (struct sym_fns) <next>: Remove. | |
1371 | (add_symtab_fns): Update. | |
1372 | * symfile.c (sym_fns_ptr): New typedef. | |
1373 | (symtab_fns): Now a VEC. | |
1374 | (add_symtab_fns): Update. Change argument type. | |
1375 | (find_sym_fns): Update. Change return type. | |
1376 | (get_symfile_segment_data): Update. | |
1377 | * objfiles.h (struct objfile) <sf>: Now const. | |
1378 | * somread.c (som_sym_fns): Now const. Update. | |
1379 | * xcoffread.c (xcoff_sym_fns): Now const. Update. | |
1380 | * mipsread.c (ecoff_sym_fns): Now const. Update. | |
1381 | * machoread.c (macho_sym_fns): Now const. Update. | |
1382 | * elfread.c (elf_sym_fns): Now const. Update. | |
1383 | (elf_sym_fns_gdb_index): Likewise. | |
1384 | * dbxread.c (aout_sym_fns): Now const. Update. | |
1385 | * coffread.c (coff_sym_fns): Now const. Update. | |
1386 | ||
38f12cfc TT |
1387 | 2010-09-30 Tom Tromey <[email protected]> |
1388 | ||
1389 | * value.c (value_primitive_field): Take 'offset' into account for | |
1390 | packed field. | |
1391 | ||
9ae8282d TT |
1392 | 2010-09-30 Tom Tromey <[email protected]> |
1393 | ||
1394 | * completer.c (count_struct_fields): Handle anonymous structs and | |
1395 | unions. | |
1396 | (add_struct_fields): Likewise. | |
1397 | ||
e9e07ba6 JK |
1398 | 2010-09-30 Jan Kratochvil <[email protected]> |
1399 | ||
1400 | Fix printing parameters of inlined functions. | |
1401 | * ada-lang.c (is_known_support_routine) | |
1402 | (ada_unhandled_exception_name_addr_from_raise): Provide NULL parameter | |
1403 | for find_frame_funname. | |
1404 | * python/py-frame.c (frapy_name): Likewise. | |
1405 | * stack.c (find_frame_funname): New parameter funcp. Update the | |
1406 | function comment. Fill it in. | |
1407 | (print_frame): New variable func. Initialize it by | |
1408 | find_frame_funname. Print arguments only if FUNC is not NULL. Use | |
1409 | FUNC as the parameter of print_args_stub. | |
1410 | * stack.h (find_frame_funname): New parameter funcp. Remove the | |
1411 | function declaration comment. | |
1412 | ||
cd2effb2 JK |
1413 | 2010-09-30 Jan Kratochvil <[email protected]> |
1414 | ||
1415 | PR corefiles/12071. | |
1416 | * inferior.c (have_live_inferiors): New variables old_chain, inf and | |
1417 | tp. Iterate INFERIOR_LIST and call target_has_execution. | |
1418 | ||
bceffbf3 JK |
1419 | 2010-09-29 Jan Kratochvil <[email protected]> |
1420 | ||
1421 | Fix GDB crash on inferior calls with self-referencing classes. | |
1422 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Do not call itself on static | |
1423 | member fields. | |
1424 | ||
abc72ce4 DE |
1425 | 2010-09-29 Doug Evans <[email protected]> |
1426 | ||
1427 | Workaround for gcc/45682. | |
1428 | * dwarf2read.c (partial_die_info): New fields fixup_called, | |
1429 | linkage_name. | |
1430 | (guess_partial_die_structure_name): Renamed from guess_structure_name. | |
1431 | Move definition next to use. Use linkage_name to determine if class | |
1432 | is in a namespace. All callers updated. | |
1433 | (fixup_partial_die): Return early if already called. | |
1434 | Set fixup_called when done. | |
1435 | (guess_full_die_structure_name): New function. | |
1436 | (determine_prefix): Call it for class/struct/union dies if c++ and | |
1437 | .debug_types section is present and parent is DW_TAG_compile_unit. | |
1438 | ||
0ac7be25 JB |
1439 | 2010-09-28 Joel Brobecker <[email protected]> |
1440 | ||
1441 | * configure.tgt (sparc-*-*): Set gdb_sim to ../sim/erc32/libsim.a. | |
1442 | (sparc-*-rtems*): Delete. Now redundant with sparc-*-*. | |
1443 | ||
6e1bb179 JB |
1444 | 2010-09-28 Joel Brobecker <[email protected]> |
1445 | ||
1446 | * NEWS: Announce Ravenscar Profile support. | |
1447 | ||
036b1ba8 JB |
1448 | 2010-09-28 Joel Brobecker <[email protected]> |
1449 | Jerome Guitton <[email protected]> | |
1450 | ||
1451 | * ravenscar-thread.c, ravenscar-thread.h, ravenscar-sparc-thread.c: | |
1452 | New files. | |
1453 | * configure.tgt (sparc-*-*): Add ravenscar-thread.o and | |
1454 | ravenscar-sparc-thread.o to gdb_target_obs. | |
1455 | ||
474011fb JB |
1456 | 2010-09-28 Joel Brobecker <[email protected]> |
1457 | ||
1458 | * ada-tasks.c (iterate_over_live_ada_tasks): New function. | |
1459 | * ada-lang.h (iterate_over_live_ada_tasks): Declare. | |
1460 | ||
99e24b90 PM |
1461 | 2010-09-27 Pierre Muller <[email protected]> |
1462 | ||
1463 | * amd64-windows-tdep.c (amd64_skip_main_prologue): New function. | |
1464 | (amd64_windows_init_abi): Register amd64_skip_main_prologue as gdbarch | |
1465 | skip_main_prologue method. | |
1466 | ||
987d643c TT |
1467 | 2010-09-27 Tom Tromey <[email protected]> |
1468 | ||
1469 | * dwarf2read.c (dwarf2_read_index): Only allow version 3. | |
1470 | (write_psymbols): Add 'psyms_seen' and 'is_static' arguments. | |
1471 | Only emit a given psymbol once. | |
1472 | (struct signatured_type_index_data) <psyms_seen>: New field. | |
1473 | (write_one_signatured_type): Update. | |
1474 | (cleanup_htab): New function. | |
1475 | (write_psymtabs_to_index): Update. Create psyms_seen hash. Bump | |
1476 | version to 3. | |
1477 | (save_gdb_index_command): Update index documentation. | |
1478 | ||
d3aff959 TT |
1479 | 2010-09-27 Tom Tromey <[email protected]> |
1480 | ||
1481 | * bcache.c (expand_hash_table): Use hash_function, not hash. | |
1482 | ||
716b65bf TT |
1483 | 2010-09-27 Tom Tromey <[email protected]> |
1484 | ||
1485 | * gdb_wchar.h: Change minimum libiconv to 0x108. | |
1486 | ||
1736ad11 JK |
1487 | 2010-09-24 Jan Kratochvil <[email protected]> |
1488 | ||
1489 | Fix lost siginfo_t for inferior calls. | |
1490 | * infrun.c | |
1491 | (struct inferior_thread_state) <siginfo_gdbarch, siginfo_data>: New. | |
1492 | (save_inferior_thread_state): New variables regcache, gdbarch and | |
1493 | siginfo_data. Initialize SIGINFO_DATA if gdbarch_get_siginfo_type_p. | |
1494 | Move INF_STATE allocation later, pre-clear it. Initialize REGISTERS | |
1495 | using REGCACHE. | |
1496 | (restore_inferior_thread_state): New variables regcache and gdbarch. | |
1497 | Restore SIGINFO_DATA for matching GDBARCH. Restore REGISTERS using | |
1498 | REGCACHE. Free also SIGINFO_DATA. | |
1499 | ||
4b5246aa TT |
1500 | 2010-09-24 Tom Tromey <[email protected]> |
1501 | ||
1502 | * dwarf2read.c (dw2_expand_symtabs_matching): Add missing | |
1503 | MAYBE_SWAPs. | |
1504 | (dw2_map_symbol_names): Likewise. | |
1505 | ||
2a7d6a25 SW |
1506 | 2010-09-24 Sami Wagiaalla <[email protected]> |
1507 | ||
1508 | * valops.c (find_oload_champ_namespace_loop): replace incorrect | |
1509 | discard_cleanups do_cleanups. | |
1510 | ||
b53a1623 PA |
1511 | 2010-09-24 Pedro Alves <[email protected]> |
1512 | ||
e6ee044d PA |
1513 | PR gdb/11842 |
1514 | ||
b53a1623 PA |
1515 | * amd64-linux-nat.c (compat_siginfo_from_siginfo) |
1516 | (siginfo_from_compat_siginfo): Also copy si_pid and si_uid when | |
1517 | si_code is < 0. Check for si_code == SI_TIMER before checking for | |
1518 | si_code < 0. | |
1519 | ||
96a8853a PA |
1520 | 2010-09-24 Pedro Alves <[email protected]> |
1521 | ||
1522 | * objfiles.h (ALL_OBJSECTIONS): Handle breaks in the inner loop. | |
1523 | ||
39383a48 JB |
1524 | 2010-09-22 Joel Brobecker <[email protected]> |
1525 | ||
1526 | * ada-tasks.c (read_atcb): Do not compute the task ptid when | |
1527 | debugging a core file. | |
1528 | ||
d31d2fc3 JK |
1529 | 2010-09-22 Jan Kratochvil <[email protected]> |
1530 | ||
1531 | Code cleanup. | |
1532 | * objfiles.c (allocate_objfile) <objfile->name != NULL>: Remove. | |
1533 | (free_objfile) <objfile->name != NULL>: Remove the conditional around | |
1534 | xfree. | |
1535 | * objfiles.h (struct objfile) <name>: New comment it is never NULL. | |
1536 | * python/py-auto-load.c (auto_load_new_objfile) <!objfile->name>: | |
1537 | Remove. | |
1538 | * python/py-objfile.c (objfpy_get_filename) <obj->objfile->name> | |
1539 | Remove the conditional. | |
1540 | * python/py-progspace.c (pspy_get_filename) <objfile->name>: Likewise. | |
1541 | ||
7f6130ff JK |
1542 | 2010-09-22 Jan Kratochvil <[email protected]> |
1543 | ||
1544 | * main.c: Include objfiles.h. | |
1545 | (captured_main): New variable objfile. Call | |
1546 | load_auto_scripts_for_objfile for ALL_OBJFILES. | |
1547 | ||
c2b0a229 JK |
1548 | 2010-09-22 Jan Kratochvil <[email protected]> |
1549 | ||
1550 | * dwarf2read.c (die_needs_namespace) <DW_TAG_variable>: Add also | |
1551 | DW_TAG_constant. | |
1552 | ||
72929c62 JB |
1553 | 2010-09-22 Joel Brobecker <[email protected]> |
1554 | ||
1555 | * dwarf2read.c (scan_partial_symbols): Add handling of | |
1556 | DW_TAG_constant DIEs. | |
1557 | (add_partial_symbol, load_partial_dies, new_symbol): Likewise. | |
1558 | ||
496c0e1b JB |
1559 | 2010-09-22 Joel Brobecker <[email protected]> |
1560 | ||
1561 | * configure.ac: Add support for --enable-gdbserver. | |
1562 | * configure: Regenerate. | |
1563 | ||
ec322823 SW |
1564 | 2010-09-22 Sami Wagiaalla <[email protected]> |
1565 | ||
1566 | PR C++/12028 | |
1567 | * valops.c (find_oload_champ_namespace_loop): removed incorrect | |
1568 | 'old_cleanups' reassignment. | |
1569 | ||
1558ab4c JK |
1570 | 2010-09-16 Jan Kratochvil <[email protected]> |
1571 | ||
1572 | * charset.c (wchar_iterate) <EILSEQ>: Return any possibly converted | |
1573 | characters. | |
1574 | ||
875b4ff5 PM |
1575 | 2010-09-16 Phil Muldoon <[email protected]> |
1576 | ||
1577 | PR mi/11407 | |
1578 | * mi/mi-cmd-stack.c (list_args_or_locals): Catch exceptions from | |
1579 | read_var_value and common_val_print and print a warning. | |
1580 | ||
65dedcb2 JK |
1581 | 2010-09-15 Jan Kratochvil <[email protected]> |
1582 | ||
1583 | * MAINTAINERS (GLOBAL MAINTAINERS) <Jan Kratochvil>: Move the entry to | |
1584 | keep the list in alphabetical order. Use longer e-mail address. | |
1585 | ||
0e780a22 TT |
1586 | 2010-09-15 Tom Tromey <[email protected]> |
1587 | ||
1588 | * MAINTAINERS (GLOBAL MAINTAINERS): Add Jan Kratochvil. | |
1589 | ||
62234ccc TT |
1590 | 2010-09-15 Tom Tromey <[email protected]> |
1591 | ||
1592 | * charset.c (iconv_open): New define. | |
1593 | (iconv): Likewise. | |
1594 | (iconv_close): Likewise. | |
1595 | (phony_iconv_open): Add "phony_" prefix. | |
1596 | (phony_iconv_close): Likewise. | |
1597 | (phony_iconv): Likewise. | |
1598 | * gdb_wchar.h: Check _LIBICONV_VERSION, __STDC_ISO_10646__. | |
1599 | Change how INTERMEDIATE_ENCODING is defined. | |
1600 | ||
4950bc1c DE |
1601 | 2010-09-15 Doug Evans <[email protected]> |
1602 | ||
1603 | * dwarf2read.c (struct die_info): Fix comment. | |
1604 | ||
349126ea AM |
1605 | 2010-09-15 Alan Modra <[email protected]> |
1606 | ||
1607 | PR 4606 | |
1608 | * gcore.c (gcore_create_callback): Clear SEC_HAS_CONTENTS rather | |
1609 | than setting SEC_NEVER_LOAD on sections that need not be copied. | |
1610 | ||
923c6a3d TT |
1611 | 2010-09-14 Tom Tromey <[email protected]> |
1612 | ||
1613 | * psympriv.h (add_psymbol_to_list, init_psymbol_list) | |
1614 | (start_psymtab_common, allocate_psymtab, discard_psymtab): | |
1615 | Declare. | |
1616 | * symfile.h (extend_psymbol_list): Remove. | |
1617 | (add_psymbol_to_list, init_psymbol_list, start_psymtab_common) | |
1618 | (allocate_psymtab, discard_psymtab): Move to psympriv.h. | |
1619 | * psymtab.c (extend_psymbol_list): Move earlier. Now static. | |
1620 | ||
a9e6a4bb JK |
1621 | 2010-09-14 Jan Kratochvil <[email protected]> |
1622 | ||
1623 | * dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error. | |
1624 | Update the comment. | |
1625 | ||
7155d578 TT |
1626 | 2010-09-14 Tom Tromey <[email protected]> |
1627 | ||
1628 | PR symtab/8399: | |
1629 | * dwarf2loc.c (locexpr_describe_location_piece): Don't call error | |
1630 | for unrecognized frame base expression. | |
1631 | ||
515ed532 TT |
1632 | 2010-09-14 Tom Tromey <[email protected]> |
1633 | ||
1634 | PR exp/11803: | |
1635 | * value.c (value_static_field): Use value_of_variable. | |
1636 | ||
b467f580 PM |
1637 | 2010-09-14 Pierre Muller <[email protected]> |
1638 | ||
1639 | * m32r-rom.c: Replace winsock.h with winsock2.h header. | |
1640 | * remote-m32r-sdi.c: Replace winsock.h by winsock2.h. | |
1641 | ||
450ca57c SW |
1642 | 2010-09-13 Sami Wagiaalla <[email protected]> |
1643 | ||
1644 | PR symtab/11992: | |
1645 | * c-exp.y (classify_name): Check is_a_member_of_this before returning | |
1646 | UNKNOWN_CPP_NAME. | |
1647 | ||
1aee7009 JB |
1648 | 2010-09-13 Joel Brobecker <[email protected]> |
1649 | ||
1650 | * NEWS: Add x86-lynxos to the list of platforms supported by | |
1651 | gdbserver. | |
1652 | ||
5ec6ebf9 JB |
1653 | 2010-09-13 Joel Brobecker <[email protected]> |
1654 | ||
1655 | * NEWS: Announce GDBserver support for version 5.x of ppc-lynxos. | |
1656 | ||
1863c96c TT |
1657 | 2010-09-13 Tom Tromey <[email protected]> |
1658 | ||
1659 | * Makefile.in (HFILES_NO_SRCDIR): Add progspace.h. | |
1660 | ||
0c5acf93 L |
1661 | 2010-09-13 H.J. Lu <[email protected]> |
1662 | ||
1663 | * i386-tdep.c (i386_ymm_type): Set type name to | |
1664 | builtin_type_vec256i. | |
1665 | ||
1c6272a6 MS |
1666 | 2010-09-12 Michael Snyder <[email protected]> |
1667 | ||
1668 | * i386-tdep.c (i386_gdbarch_init): Fix typo in comments. | |
1669 | ||
e866c497 L |
1670 | 2010-09-12 H.J. Lu <[email protected]> |
1671 | ||
1672 | * i386-tdep.c (i386_gdbarch_init): Fix typo in comments. | |
1673 | ||
9191d390 L |
1674 | 2010-09-11 H.J. Lu <[email protected]> |
1675 | ||
1676 | * amd64-tdep.c (amd64_register_name): Removed. | |
1677 | (amd64_init_abi): Don't call set_gdbarch_register_name. | |
1678 | ||
1679 | * i386-tdep.c (i386_ymmh_regnum_p): Make it static. | |
1680 | ||
1681 | * i386-tdep.h (i386_ymmh_regnum_p): Removed. | |
1682 | ||
8d4d924b JK |
1683 | 2010-09-11 Jan Kratochvil <[email protected]> |
1684 | Paul Bolle <[email protected]> | |
1685 | ||
1686 | Redirect also uiout and stdtarg{,err} in execute_command_to_string. | |
1687 | * cli-logging.c (struct saved_output_files) <targerr>: New. | |
1688 | (set_logging_redirect, pop_output_files, handle_redirections): | |
1689 | Redirect also gdb_stdtargerr. | |
1690 | * defs.h (struct ui_out, make_cleanup_ui_out_redirect_pop): New | |
1691 | declarations. | |
1692 | * event-top.c (gdb_setup_readline, gdb_disable_readline): Redirect | |
1693 | also gdb_stdtargerr. | |
1694 | * top.c (execute_command_to_string): Move make_cleanup_ui_file_delete | |
1695 | to the top. Redirect also gdb_stdlog, gdb_stdtarg and gdb_stdtargerr. | |
1696 | Use ui_out_redirect, register make_cleanup_ui_out_redirect_pop. | |
1697 | * tui/tui-io.c (tui_setup_io): Redirect also gdb_stdtargerr. | |
1698 | * utils.c (do_ui_out_redirect_pop, make_cleanup_ui_out_redirect_pop): | |
1699 | New functions. | |
1700 | ||
3329c4b5 PM |
1701 | 2010-09-10 Pierre Muller <[email protected]> |
1702 | ||
1703 | * hppa-tdep.c (unwind_command): Use host_address_to_string function | |
1704 | to display a host address. | |
1705 | * monitor.c (monitor_read_memory): Likewise. | |
1706 | * xtensa-tdep.c (xtensa_push_dummy_call): Likewise. | |
1707 | ||
5e8db398 PM |
1708 | 2010-09-10 Pierre Muller <[email protected]> |
1709 | ||
1710 | * coffread.c (struct coff_symbol): Change c_value type from `long' to | |
1711 | `CORE_ADDRESS' as it might contain target addresses. | |
1712 | ||
37049e31 PM |
1713 | 2010-09-10 Pierre Muller <[email protected]> |
1714 | ||
1715 | * alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macro | |
1716 | before cast to pointer to avoid warning. | |
1717 | ||
351a3e56 KB |
1718 | 2010-09-09 Kevin Buettner <[email protected]> |
1719 | ||
1720 | * v850-tdep.c (v850_gdbarch_init): Change the v850's `char' | |
1721 | type to be signed. | |
349126ea | 1722 | |
6afafb54 UW |
1723 | 2010-09-09 Ulrich Weigand <[email protected]> |
1724 | ||
1725 | * dwarf2read.c (fixup_partial_die): Do not set dummy name for | |
1726 | anonymous class partial DIEs. | |
1727 | ||
60430eff DJ |
1728 | 2010-09-08 Daniel Jacobowitz <[email protected]> |
1729 | ||
1730 | * dwarf2read.c (dwarf2_compute_name): Check that the first | |
1731 | argument is a pointer. | |
1732 | ||
f1078f66 DJ |
1733 | 2010-09-08 Daniel Jacobowitz <[email protected]> |
1734 | ||
1735 | * dwarf2read.c (read_func_scope, read_structure_type) | |
1736 | (read_common_block): Check for a NULL return from new_symbol. | |
1737 | ||
82430852 JK |
1738 | 2010-09-08 Jan Kratochvil <[email protected]> |
1739 | ||
1740 | * dwarf2read.c (dwarf2_read_index): Return on no SEC_HAS_CONTENTS. | |
1741 | ||
c767944b DJ |
1742 | 2010-09-08 Daniel Jacobowitz <[email protected]> |
1743 | ||
1744 | * dwarf2read.c (read_structure_type): Move processing of | |
1745 | fields and member functions from here... | |
1746 | (process_structure_scope): ... to here. | |
1747 | ||
561d3825 DJ |
1748 | 2010-09-08 Daniel Jacobowitz <[email protected]> |
1749 | ||
1750 | * gnu-v3-abi.c (gnuv3_print_method_ptr): Do not use | |
1751 | the domain type. | |
1752 | (gnuv3_make_method_ptr): Likewise. | |
1753 | ||
9bd89d67 TT |
1754 | 2010-09-08 Tom Tromey <[email protected]> |
1755 | ||
1756 | * breakpoint.c (create_breakpoint): Add missing _(). | |
1757 | ||
1d040b0d DE |
1758 | 2010-09-08 Doug Evans <[email protected]> |
1759 | ||
1760 | * dwarf2-frame.h (dwarf2_frame_build_info): Delete, unused. | |
1761 | ||
774b6a14 TT |
1762 | 2010-09-08 Tom Tromey <[email protected]> |
1763 | ||
1764 | Revert: | |
1765 | 2010-09-01 Tom Tromey <[email protected]> | |
1766 | * dwarf2read.c, gdbtypes.c, psymtab.c, symfile.h, symtab.c, | |
1767 | symtab.h: Revert earlier change. | |
1768 | ||
fc956729 SW |
1769 | 2010-09-09 Sami Wagiaalla <[email protected]> |
1770 | ||
1771 | * psymtab.c (add_psymbol_to_bcache): Initialize | |
1772 | obj_section. | |
1773 | memset psymbol.ginfo.value to 0. | |
1774 | ||
48f9886d PA |
1775 | 2010-09-06 Pedro Alves <[email protected]> |
1776 | ||
1777 | * infrun.c (resume): Extend comment on ignoring single-step | |
1778 | requests on vfork parents waiting for a vfork-done. | |
1779 | ||
423ec54c JK |
1780 | 2010-09-06 Jan Kratochvil <[email protected]> |
1781 | Pedro Alves <[email protected]> | |
1782 | ||
1783 | * corelow.c (core_open): Use target_signal_from_host if CORE_GDBARCH | |
1784 | is NULL. | |
1785 | * fork-child.c (startup_inferior) <resume_signal>: Use enum | |
1786 | target_signal type. | |
1787 | * linux-nat.c (linux_nat_resume): Use target_signal_to_host before | |
1788 | calling strsignal. Use enum target_signal type for saved_signo. | |
1789 | (linux_handle_extended_wait) <signo>: Use enum target_signal type. | |
1790 | (linux_nat_wait_1): Use enum target_signal type for signo. Use | |
1791 | target_signal_to_host before calling strsignal. | |
1792 | * remote-m32r-sdi.c (m32r_wait, m32r_detach): Replace 0 by | |
1793 | TARGET_SIGNAL_0. | |
1794 | ||
a6eb9bc8 JK |
1795 | 2010-09-06 Pedro Alves <[email protected]> |
1796 | Jan Kratochvil <[email protected]> | |
1797 | ||
1798 | * common/signals.c (ANY): Remove. | |
1799 | (SET): No longer use ANY. | |
1800 | ||
74609e71 YQ |
1801 | 2010-09-06 Yao Qi <[email protected]> |
1802 | ||
1803 | * infrunc(resume): When inferior is waiting_for_vfork_done, | |
1804 | clear step and don't use displaced stepping. | |
1805 | ||
8464be76 DJ |
1806 | 2010-09-04 Daniel Jacobowitz <[email protected]> |
1807 | ||
1808 | * breakpoint.c (can_use_hardware_watchpoint): Handle the first | |
1809 | value specially. | |
1810 | ||
33d62d64 JK |
1811 | 2010-09-04 Jan Kratochvil <[email protected]> |
1812 | ||
1813 | Code cleanup - split print_stop_reason. | |
1814 | * infrun.c (enum inferior_stop_reason): Remove. | |
1815 | (print_stop_reason): Remove by splitting into ... | |
1816 | (print_exited_reason, print_signal_exited_reason) | |
1817 | (print_no_history_reason, print_signal_received_reason) | |
1818 | (print_end_stepping_range_reason): ... these new functions. Update | |
1819 | the preceding comment. | |
1820 | (handle_inferior_event): Change the calls to print_exited_reason, | |
1821 | print_signal_exited_reason, print_no_history_reason, | |
1822 | print_signal_received_reason, print_end_stepping_range_reason. | |
1823 | (handle_step_into_function, handle_step_into_function_backward): | |
1824 | Change the calls to print_end_stepping_range_reason. | |
1825 | ||
14dba4b4 JK |
1826 | 2010-09-03 Jan Kratochvil <[email protected]> |
1827 | ||
1828 | * breakpoint.c (save_breakpoints): Use RETURN_MASK_ALL. | |
1829 | * cli-out.c: Include vec.h. | |
1830 | (cli_field_fmt, cli_spaces, cli_text, cli_message, cli_flush): New | |
1831 | variable stream, initialize it, use it. | |
1832 | (cli_redirect): New function comment. Replace the stream and | |
1833 | original_stream fields by the new streams field. Remove the | |
1834 | original_stream != NULL conditional, assert error on NULL instead. | |
1835 | (out_field_fmt, field_separator): New variable stream, initialize it, use it. | |
1836 | (cli_out_data_ctor): Assert non-NULL stream. Replace the stream and | |
1837 | original_stream fields by the new streams field. | |
1838 | (cli_out_set_stream): Replace the stream field by the new streams | |
1839 | field. | |
1840 | * cli-out.h: Include vec.h. | |
1841 | (ui_filep): New typedef, call DEF_VEC_P for it. | |
1842 | (struct cli_ui_out_data): Replace the stream and original_stream | |
1843 | fields by the new streams field. | |
1844 | * cli/cli-logging.c (set_logging_redirect): Call ui_out_redirect with | |
1845 | NULL first. Extend the comment. | |
1846 | (handle_redirections): Call ui_out_redirect with output. | |
1847 | * python/py-breakpoint.c (bppy_get_commands): Move ui_out_redirect | |
1848 | calls outside of the TRY_CATCH block. | |
1849 | ||
b04bc5d4 | 1850 | 2010-09-03 Joel Brobecker <[email protected]> |
1851 | ||
1852 | GDB 7.2 released. | |
1853 | ||
080db4e0 JB |
1854 | 2010-09-02 Joel Brobecker <[email protected]> |
1855 | ||
1856 | Back out the following change: | |
1857 | | 2010-06-29 Hui Zhu <[email protected]> | |
1858 | | * record.c (set_record_pic_cmdlist, | |
1859 | | show_record_pic_cmdlist): New variables. | |
1860 | | (set_record_pic_command, | |
1861 | | show_record_pic_command): New functions. | |
1862 | | (record_pic_function, record_pic_line, record_pic_enum, | |
1863 | | set_record_pic_type, record_pic_hide_nofunction, | |
1864 | | record_pic_hide_nosource, record_pic_hide_same): New variables. | |
1865 | | (record_pic_fputs): New function. | |
1866 | | (function_list, node_list, edge_list): New struct. | |
1867 | | (function_list, node_list, edge_list): New variables. | |
1868 | | (record_pic_cleanups, record_pic_node, | |
1869 | | record_pic_edge, cmd_record_pic): New functions. | |
1870 | | (_initialize_record): Add new commands for record pic. | |
1871 | ||
0a4f61e3 DJ |
1872 | 2010-09-02 Daniel Jacobowitz <[email protected]> |
1873 | ||
1874 | * config.in, configure: Regenerated. | |
1875 | * configure.ac: Check for waitpid. | |
1876 | * ser-pipe.c (pipe_close): Wait for the program to exit. | |
1877 | ||
58b61394 JK |
1878 | 2010-09-02 Jan Kratochvil <[email protected]> |
1879 | ||
ba720883 | 1880 | * cli/cli-logging.c: Include gdb_assert.h. |
58b61394 JK |
1881 | (set_logging_overwrite): New function. |
1882 | (logging_redirect): New comment. | |
1883 | (logging_no_redirect_file, set_logging_redirect) | |
1884 | (pop_output_files) <logging_no_redirect_file>: New. | |
1885 | (handle_redirections) <!logging_redirect>: New variable | |
1886 | no_redirect_file. Remove file autoclose for tee_file_new. No longer | |
1887 | discard cleanup for the close of former OUTPUT. Set | |
1888 | LOGGING_NO_REDIRECT_FILE. | |
1889 | (handle_redirections) <logging_redirect>: gdb_assert | |
1890 | LOGGING_NO_REDIRECT_FILE. | |
1891 | (show_logging_command) <logging_redirect handling>: Adjust messages | |
1892 | for SAVED_FILENAME not NULL. | |
1893 | (_initialize_cli_logging): Install set_logging_overwrite and | |
1894 | set_logging_redirect. | |
1895 | ||
706774f2 JK |
1896 | 2010-09-02 Jan Kratochvil <[email protected]> |
1897 | ||
1898 | * iq2000-tdep.c (iq2000_scan_prologue): Initialize SAL.END. | |
1899 | ||
9a35ccf7 JK |
1900 | 2010-09-02 Jan Kratochvil <[email protected]> |
1901 | ||
1902 | * Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT): Convert it to the no- form. | |
1903 | (monitor.o): Replace $(INTERNAL_WARN_CFLAGS) by $(INTERNAL_CFLAGS) and | |
1904 | add $(GDB_WARN_CFLAGS_NO_FORMAT). | |
1905 | (printcmd.o): Replace $(INTERNAL_CFLAGS_BASE) by $(INTERNAL_CFLAGS). | |
1906 | ||
ba9b2ec3 YQ |
1907 | 2010-09-02 Yao Qi <[email protected]> |
1908 | ||
1909 | * linux-nat.c (status_to_str): Use WTERMSIG to extract the signal | |
1910 | number from a WIFSIGNALED status. | |
1911 | ||
faf68db7 TT |
1912 | 2010-09-01 Tom Tromey <[email protected]> |
1913 | ||
1914 | * symtab.h (lookup_type_symbol): Declare. | |
1915 | * symtab.c (lookup_symbol_in_language_full): Rename from | |
1916 | lookup_symbol_in_language. Add 'for_type' argument. | |
1917 | (lookup_symbol_in_language): New function. | |
1918 | (lookup_type_symbol): Likewise. | |
1919 | (lookup_symbol_aux): Add 'for_type' argument. | |
1920 | (match_symbol_aux): New function. | |
1921 | (lookup_symbol_aux_symtabs): Use expand_one_symtab_matching. | |
1922 | (match_transparent_type): New function. | |
1923 | (basic_lookup_transparent_type): Use expand_one_symtab_matching. | |
1924 | * symfile.h (struct quick_symbol_functions) | |
1925 | <pre_expand_symtabs_matching>: Remove. | |
1926 | <expand_one_symtab_matching>: New field. | |
1927 | * psymtab.c (expand_one_symtab_matching_psymtabs): New function. | |
1928 | (pre_expand_symtabs_matching_psymtabs): Remove. | |
1929 | (psym_functions): Update. | |
1930 | * gdbtypes.c (lookup_typename): Use lookup_type_symbol. | |
1931 | * dwarf2read.c (dw2_lookup_symbol): Update comment. | |
1932 | (dw2_pre_expand_symtabs_matching): Remove. | |
1933 | (dw2_expand_one_symtab_matching): New function. | |
1934 | (dwarf2_gdb_index_functions): Update. | |
1935 | ||
248c9dbc JB |
1936 | 2010-09-01 Joel Brobecker <[email protected]> |
1937 | ||
1938 | * NEWS: Add entry announcing GDBserver support on powerpc-lynxos. | |
1939 | ||
f75d858b MK |
1940 | 2010-09-01 Marc Khouzam <[email protected]> |
1941 | ||
1942 | * mi/mi-main.c (mi_cmd_list_target_features): Add `reverse' | |
1943 | as a feature reported by -list-target-features. | |
1944 | ||
0482b03b JB |
1945 | 2010-09-01 Joel Brobecker <[email protected]> |
1946 | ||
1947 | * features/Makefile (WHICH): Add rs6000/powerpc-32. | |
1948 | (powerpc-32.o, powerpc-32.c): New rules. | |
1949 | (clean): Also remove powerpc-32.c. | |
1950 | * regformats/rs6000/powerpc-32.dat: Generate. | |
1951 | ||
710e1a31 SW |
1952 | 2010-08-31 Sami Wagiaalla <[email protected]> |
1953 | ||
1954 | * symfile.c (reread_symbols): Use psymbol_bcache_free, and | |
1955 | psymbol_bcache_init. | |
1956 | * psymtab.h (psymbol_bcache_init): New function prototype. | |
1957 | (psymbol_bcache_free): New function prototype. | |
1958 | (psymbol_bcache_get_bcache): New function prototype. | |
1959 | * psymtab.c (psymbol_bcache_init): New function. | |
1960 | (psymbol_bcache_free): New function. | |
1961 | (psymbol_bcache_full): New function. | |
1962 | (psymbol_bcache_get_bcache): New function. | |
1963 | (add_psymbol_to_bcache): use psymbol_bcache_full. | |
1964 | * objfiles.h (psymbol_cache): Change type of psymbol_cache to | |
1965 | psymbol_bcache. | |
1966 | * symmisc.c (print_symbol_bcache_statistics): Updated. | |
1967 | (print_objfile_statistics): Updated. | |
1968 | * objfiles.c (allocate_objfile): Use psymbol_bcache_init to initialize | |
1969 | psymbol_cache. | |
1970 | (free_objfile): Use psymbol_bcache_free. | |
1971 | ||
64382290 TT |
1972 | 2010-08-31 Tom Tromey <[email protected]> |
1973 | ||
1974 | PR c++/11961: | |
1975 | * dwarf2read.c (new_symbol_full) <DW_TAG_template_type_param>: | |
1976 | Don't set TYPE_NAME on the type. | |
1977 | ||
8bbed405 MS |
1978 | 2010-08-31 Michael Snyder <[email protected]> |
1979 | ||
1980 | * infrun.c (set_exec_direction_func): Error out if target does not | |
1981 | support reverse execution. | |
1982 | ||
06253dd3 JK |
1983 | 2010-08-31 Jan Kratochvil <[email protected]> |
1984 | ||
1985 | Make linux_get_siginfo_type `type *' unique. | |
1986 | * linux-tdep.c (linux_gdbarch_data_handle, struct linux_gdbarch_data) | |
1987 | (init_linux_gdbarch_data, get_linux_gdbarch_data): New. | |
1988 | (linux_get_siginfo_type): New variable linux_gdbarch_data. Initialize | |
1989 | it. Use linux_gdbarch_data->siginfo_type as a persistent storage. | |
1990 | (_initialize_linux_tdep): New. | |
1991 | ||
b8edc417 JK |
1992 | 2010-08-31 Jan Kratochvil <[email protected]> |
1993 | ||
1994 | Code cleanup. | |
1995 | * defs.h (find_memory_region_ftype): New typedef. | |
1996 | (exec_set_find_memory_regions): Use it. | |
1997 | * exec.c (exec_set_find_memory_regions): Use find_memory_region_ftype. | |
1998 | * fbsd-nat.c (fbsd_find_memory_regions): Likewise. | |
1999 | * gcore.c (objfile_find_memory_regions): Likewise. | |
2000 | * gnu-nat.c (gnu_find_memory_regions): Likewise. | |
2001 | * linux-nat.c (linux_nat_find_memory_regions): Likewise. | |
2002 | * procfs.c (iterate_over_mappings_cb_ftype): Remove. | |
2003 | (iterate_over_mappings): Rename iterate_over_mappings_cb_ftype to | |
2004 | find_memory_region_ftype. | |
2005 | (insert_dbx_link_bpt_in_region): Likewise. | |
2006 | (iterate_over_mappings): Likewise. Drop the comment part about the | |
2007 | function prototype. | |
2008 | (find_memory_regions_callback): Use find_memory_region_ftype. | |
2009 | (proc_find_memory_regions): Likewise. | |
2010 | (info_mappings_callback): Rename iterate_over_mappings_cb_ftype to | |
2011 | find_memory_region_ftype. | |
2012 | * target.c (dummy_find_memory_regions): Use find_memory_region_ftype. | |
2013 | * target.h (struct target_ops) <to_find_memory_regions>: Likewise. | |
2014 | ||
cbd70537 SW |
2015 | 2010-08-31 Sami Wagiaalla <[email protected]> |
2016 | ||
2017 | * psymtab.c (add_psymbol_to_bcache): Remove 'static' from | |
2018 | 'static partial_symbol psymbol'. | |
2019 | (psymbol_hash): New function. | |
2020 | (psymbol_compare): New function. | |
2021 | * bcache.c (hash_continue): New. | |
2022 | (hash): Use hash_continue. | |
2023 | * bcache.c: Add hash_function and compare_function | |
2024 | pointers to bcache struct. | |
2025 | (bcache_full): Use bcache->hash_function, and | |
2026 | bcache->compare_function. | |
2027 | (bcache_compare): New function. | |
2028 | (bcache_xmalloc): Take hash_function and | |
2029 | compare_function arguments and initialize the | |
2030 | bcach's pointers. | |
2031 | Updated comment. | |
2032 | * objfiles.c (allocate_objfile): Updated. | |
2033 | * symfile.c (reread_symbols): Updated. | |
2034 | * python/py-type.c (typy_richcompare): Updated. | |
2035 | ||
03f17ccf TT |
2036 | 2010-08-30 Andre Poenitz <[email protected]> |
2037 | Tom Tromey <[email protected]> | |
2038 | ||
2039 | PR python/11792: | |
2040 | * python/py-value.c (valpy_get_dynamic_type): New function. | |
2041 | (value_object_getset): Add "dynamic_type". | |
2042 | (valpy_get_type): Fail on error. | |
2043 | ||
25b41d01 YQ |
2044 | 2010-08-30 Yao Qi <[email protected]> |
2045 | ||
2046 | * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): New. | |
2047 | (arm_linux_syscall_next_pc): New. | |
2048 | (arm_linux_copy_svc): Use arm_linux_sigreturn_return_addr instead. | |
2049 | (arm_linux_init_abi): Initialize syscall_next_pc. | |
2050 | * arm-tdep.c (thumb_get_next_pc_raw): Get next pc of SWI in Thumb mode. | |
2051 | (arm_get_next_pc_raw): Get next pc of SWI in ARM mode. | |
2052 | * arm-tdep.h (struct gdbarch_tdep): Add a function pointer syscall_next_pc. | |
2053 | Declare arm_frame_is_thumb. | |
2054 | ||
5760d0ab JK |
2055 | 2010-08-30 Jan Kratochvil <[email protected]> |
2056 | ||
2057 | Code cleanup. | |
2058 | * breakpoint.c (bpstat_alloc): Remove unused prototype. | |
2059 | (bpstat_alloc): Change parameters cbs to bs_link_pointer. Adjust the | |
2060 | code. | |
2061 | (bpstat_stop_status): Change root_bs into bs_head and bs_link. Adjust | |
2062 | calls of bpstat_alloc. Remove explicit bs chain termination. | |
2063 | ||
46a96992 JK |
2064 | 2010-08-28 Jan Kratochvil <[email protected]> |
2065 | ||
2066 | Code cleanup. | |
2067 | * linux-nat.c (pull_pid_from_list): Rename status to statusp. | |
2068 | (my_waitpid): Likewise. | |
2069 | ||
36374493 DE |
2070 | 2010-08-27 Doug Evans <[email protected]> |
2071 | ||
2072 | * dwarf2read.c (dw2_require_line_header): Read from .debug_types | |
2073 | as appropriate. | |
2074 | ||
8b93c54c TT |
2075 | 2010-08-27 Tom Tromey <[email protected]> |
2076 | ||
2077 | * dwarf2read.c (dwarf2_attach_fields_to_type): Don't set | |
2078 | TYPE_FIELD_IGNORE_BITS. | |
2079 | ||
16be1145 DE |
2080 | 2010-08-27 Doug Evans <[email protected]> |
2081 | ||
2082 | * dwarf2read.c (dwarf2_per_objfile_free): Reorganize buffers to match | |
2083 | the order they're defined in. munmap .debug_types buffer. | |
2084 | ||
e254ef6a DE |
2085 | 2010-08-26 Doug Evans <[email protected]> |
2086 | ||
2087 | * dwarf2read.c (dw2_require_full_path): Rename parameter cu to per_cu. | |
2088 | (dw2_forget_cached_source_info): Rename local cu to per_cu. | |
2089 | (dw2_lookup_symtab, dw2_do_expand_symtabs_matching): Ditto. | |
2090 | (dw2_print_stats, dw2_expand_all_symtabs): Ditto. | |
2091 | (dw2_expand_symtabs_with_filename, dw2_find_symbol_file): Ditto. | |
2092 | (dw2_find_symbol_file, dw2_expand_symtabs_matching): Ditto. | |
2093 | (dw2_map_symbol_filenames, dwarf2_initialize_objfile): Ditto. | |
2094 | (dwarf2_free_objfile, write_one_signatured_type): Ditto. | |
2095 | (write_psymtabs_to_index): Ditto. | |
2096 | ||
ae53ffa4 PA |
2097 | 2010-08-26 Pedro Alves <[email protected]> |
2098 | ||
2099 | * NEWS: Mention libthread_db debugging with core files. | |
2100 | ||
c6da4cef DE |
2101 | 2010-08-26 Doug Evans <[email protected]> |
2102 | ||
2103 | * dwarf2read.c (dwarf2_build_include_psymtabs): Remove unnecessary | |
2104 | forward decl. Pass pst->dirname to dwarf_decode_lines. | |
2105 | (psymtab_include_file_name): New function. | |
2106 | (dwarf_decode_lines): Call it. Update comments. | |
2107 | ||
cd02d79d PA |
2108 | 2010-08-25 Pedro Alves <[email protected]> |
2109 | ||
2110 | * dwarf2read.c (inherit_abstract_dies): Handle origin die's | |
2111 | compilation unit being different from target die's. | |
2112 | ||
673bfd45 DE |
2113 | 2010-08-24 Doug Evans <[email protected]> |
2114 | ||
2115 | PR symtab/11942 | |
2116 | * dwarf2read.c (dwarf2_per_objfile): New members debug_info_type_hash, | |
2117 | debug_types_type_hash. | |
2118 | (dwarf2_cu, dwarf2_per_cu_data): Delete member type_hash. | |
2119 | All uses updated. | |
2120 | (lookup_die_type): Renamed from tag_type_to_tag. First look in | |
2121 | appropriate type_hash table. All callers updated. | |
2122 | (allocate_signatured_type_table): Renamed from | |
2123 | allocate_signatured_type_hash_table. All callers updated. | |
2124 | (create_signatured_type_table_from_index): Renamed from | |
2125 | create_signatured_type_hash_from_index. All callers updated. | |
2126 | (read_die_type): Add comment. Move actual reading to ... | |
2127 | (read_die_type_1): ... here. New function. | |
2128 | (follow_die_ref_or_sig): Tweak comment. | |
2129 | (set_die_type): Rewrite to use appropriate choice of | |
2130 | debug_info_type_hash or debug_types_type_hash. | |
2131 | (get_die_type_at_offset): New function. | |
2132 | (get_die_type): Call it. | |
2133 | ||
e8fd65ef JK |
2134 | 2010-08-24 Jan Kratochvil <[email protected]> |
2135 | ||
2136 | * python/py-type.c (typy_richcompare): Initialize worklist. | |
2137 | ||
9779414d DJ |
2138 | 2010-08-24 Daniel Jacobowitz <[email protected]> |
2139 | Kazu Hirata <[email protected]> | |
2140 | Jonathan Larmour <[email protected]> | |
2141 | ||
2142 | * arm-tdep.c: Include features/arm-with-m.c. | |
2143 | (arm_psr_thumb_bit): New. Update all uses of CPSR_T to | |
2144 | call this function. | |
2145 | (arm_pc_is_thumb): Add a gdbarch argument. Update all callers. | |
2146 | Check is_m after force-mode. | |
2147 | (arm_gdbarch_init): Check the binary before the target description. | |
2148 | Add check for M profile attribute. If we have an M-profile device, | |
2149 | but no target register description, use arm-with-m. Recognize the | |
2150 | new org.gnu.gdb.arm.m-profile feature and its xpsr register. | |
2151 | (_initialize_arm_tdep): Call initialize_tdesc_arm_with_m. | |
2152 | * arm-tdep.h (XPSR_T): Define. | |
2153 | (struct gdbarch_tdep): Add is_m member. | |
2154 | * features/arm-m-profile.xml, features/arm-with-m.c, | |
2155 | features/arm-with-m.xml: New files. | |
2156 | ||
9dc481d3 DE |
2157 | 2010-08-23 Doug Evans <[email protected]> |
2158 | ||
2159 | * dwarf2read.c (read_structure_type): Add comment. | |
2160 | (read_enumeration_type): Add comment. | |
2161 | (process_enumeration_scope): Move definition of some locals | |
2162 | closer to their use. | |
2163 | (read_namespace_type): Add comment. | |
e71ec853 | 2164 | (set_die_type): Fix typo in comment. |
9dc481d3 | 2165 | |
f9ffd4bb TT |
2166 | 2010-08-23 Tom Tromey <[email protected]> |
2167 | ||
2168 | PR python/11145: | |
2169 | * python/py-value.c: Include expression.h. | |
2170 | (valpy_do_cast): New function. | |
2171 | (valpy_cast): Use it. | |
2172 | (valpy_dynamic_cast): New function. | |
2173 | (valpy_reinterpret_cast): Likewise. | |
2174 | (value_object_methods): Add dynamic_cast, reinterpret_cast. | |
2175 | ||
96f73ba5 TT |
2176 | 2010-08-23 Tom Tromey <[email protected]> |
2177 | ||
2178 | PR python/11391: | |
2179 | * python/py-value.c (valpy_nonzero): Don't throw error for other | |
2180 | Value types. | |
2181 | ||
d839c8a4 TT |
2182 | 2010-08-23 Tom Tromey <[email protected]> |
2183 | ||
2184 | PR python/10676: | |
2185 | * python/py-type.c: Include bcache.h, vec.h. | |
2186 | (struct type_equality_entry): New. | |
2187 | (compare_strings): New function. | |
2188 | (check_types_equal): Likewise. | |
2189 | (check_types_worklist): Likewise. | |
2190 | (typy_richcompare): Likewise. | |
2191 | (type_object_type): Set tp_richcompare field. | |
2192 | ||
05d0e1e7 TT |
2193 | 2010-08-23 Tom Tromey <[email protected]> |
2194 | ||
2195 | PR python/10953: | |
2196 | * python/py-type.c (typy_fields): Call check_typedef. | |
2197 | (typy_template_argument): Add TRY_CATCH. | |
2198 | ||
702c2711 TT |
2199 | 2010-08-23 Tom Tromey <[email protected]> |
2200 | ||
2201 | PR python/11915: | |
2202 | * python/py-type.c (typy_array): New function. | |
2203 | (type_object_methods): Add "array". | |
2204 | ||
4a532131 PA |
2205 | 2010-08-20 Pedro Alves <[email protected]> |
2206 | ||
2207 | * python/python.c: Include "serial.h". | |
2208 | (gdbpy_event_fds): Change type to `struct serial *' a array from | |
2209 | int array. | |
2210 | (gdbpy_run_events): Change parameters. Use serial_readchar in | |
2211 | place of read. | |
2212 | (gdbpy_post_event): Use serial_write in place of write. | |
2213 | (gdbpy_initialize_events): Use serial_pipe instead of pipe, and | |
2214 | serial_async in place of add_file_handler. | |
2215 | ||
58f07bae PA |
2216 | 2010-08-20 Pedro Alves <[email protected]> |
2217 | ||
2218 | * serial.h (gdb_pipe, serial_pipe): Declare. | |
2219 | * serial.c (serial_interface_lookup): Take a const char pointer. | |
2220 | (serial_fdopen): Rename to ... | |
2221 | (serial_fdopen_ops): ... this. Add an OPS parameter and use it. | |
2222 | Call the OPS' fdopen function if there is one. | |
2223 | (serial_fdopen): Rewrite as wrapper to serial_fdopen_ops. | |
2224 | (serial_pipe): New. | |
2225 | (struct serial_ops) <fdopen>: New field. | |
2226 | ||
2227 | * ser-mingw.c (free_pipe_state): | |
2228 | (free_pipe_state): Close output on non-pex pipes. | |
2229 | (pipe_windows_fdopen): New. | |
2230 | (gdb_pipe): New. | |
2231 | (_initialize_ser_windows): Register pipe_windows_fdopen. | |
2232 | * ser-go32.c (gdb_pipe): New. | |
2233 | * ser-pipe.c (pipe_close): Close file descriptor even if there's | |
2234 | no state pointer. | |
2235 | (pipe_ops): Delete. | |
2236 | (gdb_pipe): New. | |
2237 | ||
3da10d80 KS |
2238 | 2010-08-20 Keith Seitz <[email protected]> |
2239 | ||
2240 | PR symtab/11465: | |
889bf7c5 | 2241 | * dwarf2read.c (struct delayed_method_info): New struct. |
3da10d80 KS |
2242 | (struct dwarf2_cu): Add vector method_list. |
2243 | (scan_partial_symbols): Count methods for union, class, structure, | |
2244 | and interface types. | |
2245 | (add_to_method_list): New function. | |
2246 | (free_delayed_list): New function. | |
2247 | (compute_delayed_physnames): New function. | |
2248 | (process_full_comp_unit): Make a cleanup for the CU's delayed | |
2249 | physname list, compute the delayed physnames, and free the | |
2250 | the list. | |
2251 | (dwarf2_add_member_fn): For C++ and Java, delay the computation | |
2252 | of the physname until after the CU is read. | |
2253 | ||
2254 | * dwarf2read.c (read_structure_type): Check if the current | |
2255 | DIE's type was already completed after dwarf2_full_name | |
2256 | was called. | |
889bf7c5 | 2257 | |
ca11e899 SS |
2258 | 2010-08-19 Stan Shebs <[email protected]> |
2259 | ||
2260 | * NEWS: Mention some additional changes. | |
2261 | ||
4d2dc20a TT |
2262 | 2010-08-19 Tom Tromey <[email protected]> |
2263 | ||
2264 | * Makefile.in (install-python): Add DESTDIR. | |
2265 | ||
d30f5e1f DE |
2266 | 2010-08-19 Doug Evans <[email protected]> |
2267 | ||
2268 | PR exp/11926 | |
2269 | * parser-defs.h (parse_float, parse_c_float): Declare. | |
2270 | * parse.c (parse_float, parse_c_float): New function. | |
2271 | * c-exp.y (parse_number): Call parse_c_float. | |
2272 | * objc-exp.y (parse_number): Ditto. | |
2273 | * p-exp.y (parse_number): Ditto. Use ANSI/ISO-style definition. | |
2274 | * jv-exp.y (parse_number): Call parse_float, fix suffix handling. | |
2275 | ||
2837d59e JB |
2276 | 2010-08-19 Joel Brobecker <[email protected]> |
2277 | ||
2278 | * psymtab.c (map_symbol_filenames_psymtab): Call FUN with | |
2279 | the arguments in the correct order. | |
2280 | * symtab.c (maybe_add_partial_symtab_filename): Declare | |
2281 | the arguments in the correct order. | |
2282 | ||
35633fef JK |
2283 | 2010-08-19 Jan Kratochvil <[email protected]> |
2284 | ||
2285 | * varobj.c (varobj_create): Replace variable old_fi with old_id, | |
2286 | initialize it by null_frame_id, wrap its usage by get_frame_id, | |
2287 | frame_id_p and frame_find_by_id. | |
2288 | ||
94f7449c TT |
2289 | 2010-08-18 Tom Tromey <[email protected]> |
2290 | ||
2291 | PR python/11900: | |
2292 | * configure: Rebuild. | |
2293 | * configure.ac: Add install-python to CONFIG_INSTALL. | |
2294 | * Makefile.in (install-python): New. | |
2295 | ||
f3574227 DE |
2296 | 2010-08-18 Doug Evans <[email protected]> |
2297 | ||
2298 | * gdb_assert.h (gdb_assert_not_reached): New macro. | |
2299 | (gdb_assert_fail): Fix typo in comment. | |
2300 | * avr-tdep.c (avr_return_value): Use gdb_assert_not_reached instead of | |
2301 | gdb_assert (0). | |
2302 | * darwin-nat.c (darwin_check_new_threads): Ditto. | |
2303 | * dwarf2read.c (dwarf2_get_section_info): Ditto. | |
2304 | (munmap_section_buffer): Ditto. | |
2305 | * m32c-tdep.c (make_types): Ditto. | |
2306 | (m32c_decode_srcdest4, m32c_decode_sd23, m32c_frame_base): Ditto. | |
2307 | * macroexp.c (get_character_constant): Ditto. | |
2308 | (get_string_literal): Ditto. | |
2309 | * mep-tdep.c (mep_pseudo_cr_size): Ditto. | |
2310 | (mep_pseudo_cr_index, mep_register_type): Ditto. | |
2311 | (mep_pseudo_register_read, mep_pseudo_register_write): Ditto. | |
2312 | (mep_get_insn, mep_analyze_prologue): Ditto. | |
2313 | * objfiles.c (qsort_cmp): Ditto. | |
2314 | * prologue-value.c (pv_is_identical): Ditto. | |
2315 | * record.c (record_get_loc): Ditto. | |
2316 | * value.c (value_static_field): Ditto. | |
2317 | * xtensa-tdep.c (call0_track_op): Ditto. | |
2318 | ||
c92817ce TT |
2319 | 2010-08-18 Tom Tromey <[email protected]> |
2320 | ||
2321 | PR symtab/11919: | |
2322 | * gdbtypes.c (lookup_struct_elt_type): Clean up error emission. | |
2323 | * parse.c (parse_field_expression): Use RETURN_MASK_ERROR. Move | |
2324 | name-copying lower. Document exception behavior. | |
2325 | * completer.c (expression_completer): Catch exceptions from | |
2326 | parse_field_expression. | |
2327 | ||
856d6f99 PA |
2328 | 2010-08-18 Pedro Alves <[email protected]> |
2329 | ||
2330 | PR corefile/8210 | |
2331 | ||
2332 | * linux-thread-db.c (add_thread_db_info): Skip glibc/BZ5983 | |
2333 | workaround on core files. | |
2334 | (try_thread_db_load_1): Don't try enabling thread event reporting | |
2335 | on core files. | |
2336 | (thread_db_load): Allow thread_db on core files. | |
2337 | (attach_thread): Don't check thread signals on core files, nor try | |
2338 | really attaching to the thread, nor enabling thread event event | |
2339 | reporting. | |
2340 | (thread_db_detach): Don't try disabing thread event reporting or | |
2341 | removing thread event breakpoints when debugging a core file. | |
2342 | (find_new_threads_callback): Don't try enabling thread event | |
2343 | reporting on core files. | |
2344 | (thread_db_find_new_threads_2): Don't look for a stopped lwp when | |
2345 | debugging a core file. | |
2346 | (thread_db_find_new_threads): Don't update thread | |
2347 | cores (processors) when debugging a core (dump). | |
2348 | ||
261b8d08 PA |
2349 | 2010-08-18 Pedro Alves <[email protected]> |
2350 | ||
2351 | PR corefile/8210 | |
2352 | ||
2353 | * corelow.c (add_to_thread_list): Don't use | |
2354 | gdbarch_core_reg_section_encodes_pid. Use bfd_core_file_pid. | |
2355 | (get_core_register_section): Don't use | |
2356 | gdbarch_core_reg_section_encodes_pid. | |
2357 | ||
2358 | * gdbarch.sh (core_reg_section_encodes_pid): Delete. | |
2359 | * gdbarch.h, gdbarch.c: Regenerate. | |
2360 | * amd64-sol2-tdep.c (amd64_sol2_init_abi): Don't set | |
2361 | gdbarch_core_reg_section_encodes_pid. | |
2362 | * i386-sol2-tdep.c (i386_sol2_init_abi): Ditto. | |
2363 | * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Ditto. | |
2364 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Ditto. | |
2365 | ||
f9b42018 YQ |
2366 | 2010-08-18 Yao Qi <[email protected]> |
2367 | ||
2368 | * MAINTAINERS : Add myself under Write After Approval. | |
2369 | ||
def98928 TT |
2370 | 2010-08-17 Tom Tromey <[email protected]> |
2371 | ||
2372 | * NEWS: Mention template parameter support. | |
2373 | ||
0807b50c PA |
2374 | 2010-08-17 Pedro Alves <[email protected]> |
2375 | ||
2376 | PR breakpoints/11371 | |
2377 | ||
2378 | * breakpoint.c (decref_bp_location): Assert the reference count is | |
2379 | sane. | |
2380 | ||
f431efe5 PA |
2381 | 2010-08-17 Pedro Alves <[email protected]> |
2382 | ||
2383 | PR breakpoints/11371 | |
2384 | ||
2385 | * breakpoint.c (breakpoint_init_inferior): Decrement the | |
2386 | location's reference count instead of deleting right away. | |
2387 | (bpstat_free): Decrement the location's reference count. Make | |
2388 | static. | |
2389 | (bpstat_copy): Increment the location's reference count. | |
2390 | (bpstat_find_breakpoint): Adjust. | |
2391 | (bpstat_num): Adjust. | |
2392 | (print_it_typical): Adjust. Use the breakpoint pointer in the | |
2393 | bpstat instead of the location's owner. | |
2394 | (bpstat_alloc): Remove const qualifier from the 'bl' parameter. | |
2395 | Adjust to record the location's owner in the bpstat. | |
2396 | (watchpoint_check): Use the breakpoint pointer in the bpstat | |
2397 | instead of the location's owner. | |
2398 | (bpstat_check_breakpoint_conditions): Don't handle | |
2399 | bp_watchpoint_scope here. Use the breakpoint pointer in the | |
2400 | bpstat instead of the location's owner. | |
2401 | (bpstat_stop_status): Defer inferior function calls to after | |
2402 | building the bpstat list. Handle bp_watchpoint_scope here. Use | |
2403 | the breakpoint pointer in the bpstat instead of the location's | |
2404 | owner. | |
2405 | (bpstat_what): Use the breakpoint pointer in the bpstat instead of | |
2406 | the location's owner. | |
2407 | (free_bp_location): Don't walk bpstats clearing locations. | |
2408 | (incref_bp_location): New. | |
2409 | (decref_bp_location): New. | |
2410 | (breakpoint_auto_delete): Use the breakpoint pointer in the bpstat | |
2411 | instead of the location's owner. | |
2412 | (update_global_location_list): Clear the location's owner, and | |
2413 | decrement the location's reference count instead of deleting it | |
2414 | right away. | |
2415 | (breakpoint_retire_moribund): Decrement the location's reference | |
2416 | count instead of deleting it right away. | |
2417 | (bpstat_remove_bp_location): Delete. | |
2418 | (bpstat_remove_breakpoint): New. | |
2419 | (bpstat_remove_bp_location_callback): Delete. | |
2420 | (bpstat_remove_breakpoint_callback): New. | |
2421 | (delete_breakpoint): Iterate over all threads' stop_bpstat's | |
2422 | clearing references to the breakpoint that is being deleted. | |
2423 | ||
2424 | * breakpoint.h (struct bp_location) <refc>: New field. | |
2425 | <owner>: Update comments. | |
2426 | (bpstat_free): Delete declaration. | |
2427 | (struct bpstats): Change the type of the breakpoint_at field to | |
2428 | struct breakpoint point, from struct bp_location pointer. Add new | |
2429 | field bp_location_at. | |
2430 | ||
14c0d4e1 TT |
2431 | 2010-08-16 Tom Tromey <[email protected]> |
2432 | ||
2433 | * NEWS: Fix typo. | |
2434 | ||
b56df873 TT |
2435 | 2010-08-16 Tom Tromey <[email protected]> |
2436 | ||
2437 | * NEWS: Mention watch -location. | |
2438 | ||
d63d0675 JK |
2439 | 2010-08-16 Jan Kratochvil <[email protected]> |
2440 | ||
2441 | * breakpoint.c (update_watchpoint): Add source empty line. Prefer | |
2442 | EXP_STRING_REPARSE to EXP_STRING. | |
2443 | (watch_command_1): Set also EXP_STRING_REPARSE. | |
2444 | (delete_breakpoint): Free also EXP_STRING_REPARSE. | |
2445 | * breakpoint.h (struct breakpoint): New field exp_string_reparse. | |
2446 | Update comment for exp_string. | |
2447 | ||
06a64a0b TT |
2448 | 2010-08-16 Tom Tromey <[email protected]> |
2449 | ||
2450 | * value.c (release_value): Clear 'next' pointer. | |
2451 | * breakpoint.c (watch_command_1): Add 'just_location' argument. | |
2452 | (watch_command_wrapper): Update. | |
2453 | (watch_maybe_just_location): New function. | |
2454 | (watch_command): Update. | |
2455 | (rwatch_command_wrapper): Update. | |
2456 | (rwatch_command): Update. | |
2457 | (awatch_command_wrapper): Update. | |
2458 | (awatch_command): Update. | |
2459 | (check_for_argument): New function. | |
2460 | (_initialize_breakpoint): Update help text. | |
2461 | ||
f96b8fa0 UW |
2462 | 2010-08-14 Ulrich Weigand <[email protected]> |
2463 | ||
2464 | * arm-tdep.c (arm_push_dummy_call): Handle pointers to | |
2465 | typedef'ed function types correctly. | |
2466 | ||
4eb54052 TT |
2467 | 2010-08-13 Tom Tromey <[email protected]> |
2468 | ||
2469 | * python/python-internal.h (gdbpy_get_hook_function): Don't | |
2470 | declare. | |
2471 | ||
44be957e JK |
2472 | 2010-08-13 Jan Kratochvil <[email protected]> |
2473 | ||
ba720883 | 2474 | * cli/cli-logging.c (logging_overwrite, logging_redirect): Make them |
44be957e JK |
2475 | static. |
2476 | ||
76d8b686 KW |
2477 | 2010-08-13 Ken Werner <[email protected]> |
2478 | ||
2479 | * python/python.c (gdbpy_solib_name): Remove the const qualifier of | |
2480 | the format strings to be compatible with Python 2.4. | |
2481 | ||
8dedea02 VP |
2482 | 2010-08-13 Vladimir Prus <[email protected]> |
2483 | ||
2484 | Easier and more stubborn MI memory read commands. | |
2485 | ||
2486 | * mi/mi-cmds.c (mi_cmds): Register data-read-memory-bytes | |
2487 | and data-write-memory-bytes. | |
2488 | * mi/mi-cmds.h (mi_cmd_data_read_memory_bytes) | |
2489 | (mi_cmd_data_write_memory_bytes): New. | |
2490 | * mi/mi-main.c (mi_cmd_data_read_memory): Use regular target_read. | |
2491 | (mi_cmd_data_read_memory_bytes, mi_cmd_data_write_memory_bytes): | |
2492 | New. | |
2493 | (mi_cmd_list_features): Add "data-read-memory-bytes" feature. | |
2494 | * target.c (target_read_until_error): Remove. | |
2495 | (read_whatever_is_readable, free_memory_read_result_vector) | |
2496 | (read_memory_robust): New. | |
2497 | * target.h (target_read_until_error): Remove. | |
2498 | (struct memory_read_result, free_memory_read_result_vector) | |
2499 | (read_memory_robust): New. | |
2500 | ||
1d9ec526 HZ |
2501 | 2010-08-13 Hui Zhu <[email protected]> |
2502 | ||
2503 | * dwarf2read.c (load_partial_comp_unit): Initialize free_cu_cleanup. | |
2504 | (read_comp_unit): Initialize back_to. | |
2505 | ||
98bfdba5 PA |
2506 | 2010-08-12 Daniel Jacobowitz <[email protected]> |
2507 | Pedro Alves <[email protected]> | |
2508 | ||
2509 | * dwarf2read.c: Include "c-lang.h" and "valprint.h". | |
2510 | (struct dwarf2_per_objfile) <reading_partial_symbols>: New field. | |
2511 | (struct partial_die_info) <has_template_arguments>: New field. | |
2512 | <num_attrs>: Change type to unsigned char. | |
2513 | <building_fullname>: New field. | |
2514 | (dwarf2_build_psymtabs_hard): Set reading_partial_symbols. Only | |
2515 | allocate a CU if we don't have one already. Add a cleanup for the | |
2516 | CU. | |
2517 | (partial_die_full_name): Handle template arguments not in | |
2518 | DW_AT_name. | |
2519 | (dwarf2_psymtab_to_symtab): Clear reading_partial_symbols. | |
2520 | (load_full_comp_unit): Only allocate a CU if we don't have one | |
2521 | already. | |
2522 | (do_ui_file_peek_last): New. | |
2523 | (dwarf2_compute_name): Handle template parameters not in | |
2524 | DW_AT_name. | |
2525 | (read_comp_unit): Read and free abbrevs if not read yet. | |
2526 | (load_partial_dies): Handle template arguments not in DW_AT_name. | |
2527 | (find_partial_die): If we have a CU, but no a partial dies yet, | |
2528 | also read in the CU. | |
2529 | (dwarf2_const_value_attr): New, abstracted out from | |
2530 | dwarf2_const_value. | |
2531 | (dwarf2_const_value, dwarf2_const_value_data): Adjust to use | |
2532 | dwarf2_const_value_attr. | |
2533 | (determine_prefix): Detect and break loops created by RCVT's debug | |
2534 | info. | |
2535 | (maybe_queue_comp_unit): Bail out early if reading partial | |
2536 | symbols. | |
2537 | (follow_die_offset): Load full CU if we have no dies. | |
2538 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Make public. | |
2539 | * dwarf2loc.h (dwarf2_evaluate_loc_desc): Declare. | |
2540 | ||
ca5c20b6 | 2541 | 2010-08-11 Tom Tromey <[email protected]> |
889bf7c5 | 2542 | Phil Muldoon <[email protected]> |
ca5c20b6 PM |
2543 | |
2544 | * python/python.c (gdbpy_run_events): New function. | |
2545 | (gdbpy_post_event): Likewise. | |
2546 | (gdbpy_initialize_events): Likewise. | |
2547 | (_initialize_python): Call gdbpy_initialize_events. | |
2548 | ||
7346b668 KW |
2549 | 2010-08-11 Ken Werner <[email protected]> |
2550 | ||
2551 | * gdb/valarith.c (vector_binop): New function. | |
2552 | (scalar_binop): Likewise. | |
2553 | (value_binop): Call scalar_binop or vector_binop depending on the types. | |
2554 | * gdb/eval.c (ptrmath_type_p): Return 0 in case of TYPE_VECTOR. | |
2555 | (evaluate_subexp_with_coercion): Add vector check to not convert vectors | |
2556 | to pointers. | |
2557 | * gdb/value.c (coerce_array): Add vector check to not coerce vectors. | |
2558 | ||
62183e15 TT |
2559 | 2010-08-11 Brad Roberts <[email protected]> |
2560 | ||
2561 | * d-lang.c (extract_identifiers): Handle multiple digits. | |
2562 | ||
39d7b0e2 JK |
2563 | 2010-08-11 Jan Kratochvil <[email protected]> |
2564 | ||
2565 | Code cleanup. | |
2566 | * dummy-frame.c (dummy_frame_unwinder): Remove its static qualifier. | |
2567 | Rename to dummy_frame_unwind. | |
2568 | (dummy_frame_unwind): Remove. | |
2569 | * dummy-frame.h (dummy_frame_unwind): Reference directly the struct. | |
2570 | * frame-unwind.c (frame_unwind_init): Use address of | |
2571 | dummy_frame_unwind and inline_frame_unwind. | |
2572 | * frame.c (create_sentinel_frame): Use address of | |
2573 | sentinel_frame_unwind. | |
2574 | * inline-frame.c (inline_frame_unwinder): Rename to | |
2575 | inline_frame_unwind. | |
2576 | (inline_frame_unwind): Remove. | |
2577 | * inline-frame.h (inline_frame_unwind): Reference directly the struct. | |
2578 | * sentinel-frame.c (sentinel_frame_unwinder): Rename to | |
2579 | sentinel_frame_unwind. | |
2580 | (sentinel_frame_unwind): Remove. | |
2581 | * sentinel-frame.h (sentinel_frame_unwind): Reference directly the | |
2582 | struct. | |
2583 | ||
9f9a8002 JK |
2584 | 2010-08-11 Jan Kratochvil <[email protected]> |
2585 | ||
2586 | Code cleanup. | |
2587 | * frame-unwind.c (frame_unwind_find_by_frame): Remove the return type | |
2588 | and returned value. New comment from frame-unwind.h. | |
2589 | * frame-unwind.h (frame_unwind_find_by_frame): Remove the return type. | |
2590 | Extend the comment. | |
2591 | * frame.c (get_frame_id, frame_unwind_register_value) | |
2592 | (create_new_frame, get_prev_frame_1, frame_unwinder_is) | |
2593 | (get_frame_type, frame_unwind_arch): Do not use the return value of | |
2594 | frame_unwind_find_by_frame. | |
2595 | ||
cb2e07a6 | 2596 | 2010-08-11 Phil Muldoon <[email protected]> |
889bf7c5 | 2597 | Thiago Jung Bauermann <[email protected]> |
cb2e07a6 PM |
2598 | Tom Tromey <[email protected]> |
2599 | ||
2600 | * python/python.c (gdbpy_solib_address): New function. | |
2601 | (gdbpy_decode_line): Likewise. | |
2602 | ||
c29c521f TT |
2603 | 2010-08-10 Tom Tromey <[email protected]> |
2604 | ||
2605 | Revert gdb-add-index addition: | |
2606 | * Makefile.in (install-only): Don't install gdb-add-index. | |
2607 | * gdb-add-index.sh: Remove. | |
2608 | ||
0c012db1 KB |
2609 | 2010-08-09 Kevin Buettner <[email protected]> |
2610 | ||
2611 | * remote-sim.c (gdbsim_xfer_inferior_memory): Replace | |
2612 | `target_has_execution' check with `to_has_memory' check. | |
2613 | (gdbsim_has_all_memory, gdbsim_has_memory): New functions. | |
2614 | (init_gdbsym_ops): Initialize relevant fields of `gdbsim_ops' | |
2615 | with `gdbsim_has_all_memory' and `gdbsim_has_memory'. | |
2616 | ||
db04efe6 KB |
2617 | 2010-08-09 Kevin Buettner <[email protected]> |
2618 | ||
2619 | * remote-sim.c (program_loaded, gdbsim_desc, remote_sim_ptid) | |
2620 | (resume_siggnal, resume_step): Move these static globals... | |
2621 | (struct sim_inferior_data): ...into this new struct. | |
2622 | (sim_inferior_data_key, next_pid, sim_argv, gdbsim_is_open): | |
2623 | New static globals. | |
2624 | (gdb_callback, callbacks_initialized): Move these globals to | |
2625 | a point earlier in the file. | |
2626 | (check_for_duplicate_sim_descriptor, get_sim_inferior_data) | |
2627 | (get_sim_inferior_data_by_ptid, sim_inferior_data_cleanup) | |
2628 | (gdbsim_close_inferior, gdbsim_resume_inferior) | |
2629 | (gdbsim_stop_inferior): New functions. | |
2630 | (SIM_INSTANCE_NOT_NEEDED, SIM_INSTANCE_NEEDED, INITIAL_PID): | |
2631 | New constants. | |
2632 | (gdbsim_fetch_register, gdbsim_store_register, gdbsim_load) | |
2633 | (gdbsim_create_inferior, gdbsim_open, gdbsim_close, gdbsim_resume) | |
2634 | (gdbsim_stop, gdbsim_cntrl_c, gdbsim_wait) | |
2635 | (gdbsim_xfer_inferior_memory, gdbsim_files_info) | |
2636 | (gdbsim_mourn_inferior, simulator_command, gdbsim_thread_alive, | |
2637 | (gdbsim_pid_to_str): Invoke `get_sim_inferior_data' to set | |
2638 | new local variable `sim_data' in each of these functions. Use | |
2639 | `sim_data' to reference former globals `program_loaded', | |
2640 | `gdbsim_desc', `remote_sim_ptid', `resume_siggnal', and | |
2641 | `resume_step'. | |
2642 | (gdbsim_open): Remove local variable `argv'. Put results of call | |
2643 | to `gdb_buildargv' in `sim_argv' rather than in `argv'. Don't | |
2644 | make a cleanup for it. Free it though when a sim instance cannot | |
2645 | be obtained. | |
2646 | (gdbsim_close): Free sim_argv and null it out as appropriate. | |
2647 | Close sim instances in all inferiors. | |
2648 | (gdbsim_cntrl_c): Stop all inferiors. | |
2649 | (gdbsim_wait): | |
2650 | (_initialize_remote_sim): Initialize `sim_inferior_data_key'. | |
2651 | ||
e37fd15a SW |
2652 | 2010-08-09 Sami Wagiaalla <[email protected]> |
2653 | ||
2654 | * dwarf2read.c (new_symbol): Add symbol to variable list at end of | |
2655 | function after symbol construction is complete. | |
2656 | Do the same for template symbol addition to template_symbols list. | |
2657 | ||
45c58896 SW |
2658 | 2010-08-09 Sami Wagiaalla <[email protected]> |
2659 | ||
2660 | * symtab.c (symbol_get_demangled_name): Remove assertion and | |
2661 | return NULL when language_specific.cplus_specific is not initialized. | |
2662 | * stabsread.c (define_symbol): Set the name before calling | |
2663 | cp_scan_for_anonymous_namespaces. | |
2664 | ||
33e5013e SW |
2665 | 2010-08-09 Sami Wagiaalla <[email protected]> |
2666 | ||
2667 | * symtab.h: Renamed SYMBOL_INIT_LANGUAGE_SPECIFIC to | |
2668 | SYMBOL_SET_LANGUAGE. | |
2669 | (symbol_init_language_specific): Renamed to symbol_set_language. | |
2670 | * symtab.c (symbol_init_language_specific): Removed redundant check | |
2671 | for language_cplus. | |
2672 | Renamed to symbol_set_language. | |
2673 | * stabsread.c (define_symbol): Updated. | |
2674 | (read_enum_type): Updated | |
2675 | * psymtab.c (add_psymbol_to_bcache): Updated. | |
2676 | * minsyms.c (install_minimal_symbols): Updated. | |
2677 | * coffread.c (process_coff_symbol): SYMBOL_SET_LANGUAGE instead of | |
2678 | SYMBOL_LANGUAGE to set the language. | |
2679 | * minsyms.c (prim_record_minimal_symbol_full): Ditto. | |
2680 | * mdebugread.c (new_symbol): Ditto. | |
2681 | * cp-namespace.c (check_one_possible_namespace_symbol): Ditto. | |
2682 | * dwarf2read.c (new_symbol_full): Ditto. | |
2683 | * jv-lang.c (add_class_symbol): Ditto. | |
2684 | ||
5da1313b JK |
2685 | 2010-08-07 Jan Kratochvil <[email protected]> |
2686 | ||
2687 | * defs.h (make_cleanup_restore_uinteger, make_cleanup_restore_ui_file) | |
2688 | (make_cleanup_restore_page_info) | |
2689 | (set_batch_flag_and_make_cleanup_restore_page_info): New declarations. | |
2690 | * gdbcmd.h (execute_command_to_string): New declaration. | |
2691 | * python/python.c (struct restore_ui_file_closure, restore_ui_file) | |
2692 | (make_cleanup_restore_ui_file): Move to utils.c | |
2693 | (execute_gdb_command) <to_string>: Move ... | |
2694 | * top.c (execute_command_to_string): ... here. Call | |
2695 | set_batch_flag_and_make_cleanup_restore_page_info. | |
2696 | * utils.c (make_cleanup_restore_integer): New source file blank line. | |
2697 | (make_cleanup_restore_uinteger): New. | |
2698 | (struct restore_ui_file_closure, do_restore_ui_file) | |
2699 | (make_cleanup_restore_ui_file): Move here from python/python.c. | |
2700 | (init_page_info) <batch_flag> | |
2701 | (do_restore_page_info_cleanup, make_cleanup_restore_page_info) | |
2702 | (set_batch_flag_and_make_cleanup_restore_page_info): New. | |
2703 | ||
c820c52a PA |
2704 | 2010-08-06 Maciej W. Rozycki <[email protected]> |
2705 | ||
2706 | * thread.c (add_thread_silent): Use null_ptid instead of | |
2707 | minus_one_ptid while getting rid of stale inferior_ptid. | |
2708 | ||
8da614df CV |
2709 | 2010-08-06 Corinna Vinschen <[email protected]> |
2710 | ||
2711 | * dwarf2-frame.c (struct dwarf2_cie): Add ptr_size member. | |
2712 | Throughout, call read_encoded_value with ptr_size rather than addr_size. | |
2713 | (decode_frame_entry_1): Remove redundant setting of | |
2714 | addr_size. Call gdbarch_dwarf2_addr_size rather than gdbarch_ptr_bit | |
2715 | to determine addr_size in Dwarf versions < 4. Set ptr_size dependent | |
2716 | on examined frame section. Add comment to explain why. | |
2717 | * gdbarch.sh (dwarf2_addr_size): Define as variable. Add lengthy | |
2718 | comment to explain usage. | |
2719 | * gdbarch.c: Regenerate. | |
2720 | * gdbarch.h: Regenerate. | |
2721 | ||
2722 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Set dwarf2_addr_size to 4. | |
2723 | ||
e4195b40 JK |
2724 | 2010-08-06 Jan Kratochvil <[email protected]> |
2725 | ||
2726 | Code cleanup. | |
2727 | * varobj.c (varobj_create): Move variables fi, old_fi and block to | |
2728 | a more inner block. | |
2729 | ||
a3217aa0 PA |
2730 | 2010-08-05 Pedro Alves <[email protected]> |
2731 | ||
2732 | * configure.tgt (alpha*-*-linux*, am33_2.0*-*-linux*, frv-*-*) | |
2733 | (hppa*-*-linux*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*) | |
2734 | (microblaze*-linux-*, mips*-*-linux*, sh*-*-linux*) | |
2735 | (sparc-*-linux*, sparc64-*-linux*, xtensa*-*-linux*): Add | |
2736 | linux-tdep.o to gdb_target_obs. | |
2737 | ||
e2b4a699 | 2738 | 2010-08-05 Marc Khouzam <[email protected]> |
889bf7c5 PA |
2739 | |
2740 | * mi/mi-main.c (mi_cmd_remove_inferior): Properly access first | |
e2b4a699 | 2741 | argument. |
889bf7c5 | 2742 | |
50e8a0d5 HZ |
2743 | 2010-08-05 Hui Zhu <[email protected]> |
2744 | ||
2745 | * mips-linux-tdep.c(regset.h): New include. | |
2746 | (mips_supply_gregset_wrapper, mips_fill_gregset_wrapper, | |
2747 | mips_supply_fpregset_wrapper, mips_fill_fpregset_wrapper, | |
2748 | mips64_supply_gregset_wrapper, mips64_fill_gregset_wrapper, | |
2749 | mips64_supply_fpregset_wrapper, mips64_fill_fpregset_wrapper, | |
2750 | mips_linux_regset_from_core_section): New functions. | |
2751 | (fetch_core_registers, regset_core_fns): Deleted. | |
2752 | (mips_linux_init_abi): Add mips_linux_regset_from_core_section. | |
2753 | Deleted regset_core_fns. | |
2754 | * mips-tdep.c(mips_gdbarch_init): Initialize tdep->gregset, | |
2755 | tdep->gregset64, tdep->fpregset and tdep->fpregset64. | |
2756 | * mips-tdep.h(gdbarch_tdep): Add gregset, gregset64, fpregset | |
2757 | and fpregset64. | |
2758 | ||
70728992 PA |
2759 | 2010-08-04 Pedro Alves <[email protected]> |
2760 | ||
2761 | * s390-tdep.c: Include linux-tdep.h. | |
2762 | (s390_gdbarch_init): Call linux_init_abi. | |
2763 | ||
a5ee0f0c PA |
2764 | 2010-08-04 Pedro Alves <[email protected]> |
2765 | ||
2766 | * corelow.c (core_pid_to_str): Default to using normal_pid_to_str | |
2767 | instead of printing "Thread" here. | |
2768 | * linux-tdep.c: Include inferior.h. | |
2769 | (linux_core_pid_to_str): New. | |
2770 | (linux_init_abi): New. | |
2771 | * linux-tdep.h (linux_init_abi): Declare. | |
2772 | * alpha-linux-tdep.c: Include linux-tdep.h. | |
2773 | (alpha_linux_init_abi): Call linux_init_abi. | |
2774 | * amd64-linux-tdep.c (amd64_linux_init_abi): Call linux_init_abi. | |
2775 | * arm-linux-tdep.c (arm_linux_init_abi): Call linux_init_abi. | |
2776 | * frv-linux-tdep.c: Include linux-tdep.h | |
2777 | (frv_linux_init_abi): Call linux_init_abi. | |
2778 | * hppa-linux-tdep.c: Include linux-tdep.h | |
2779 | (hppa_linux_init_abi): Call linux_init_abi. | |
2780 | * i386-linux-tdep.c (i386_linux_init_abi): Call linux_init_abi. | |
2781 | * ia64-linux-tdep.c: Include linux-tdep.h. | |
2782 | (ia64_linux_init_abi): Call linux_init_abi. | |
2783 | * m32r-linux-tdep.c: Include linux-tdep.h. | |
2784 | (m32r_linux_init_abi): Call linux_init_abi. | |
2785 | * m68klinux-tdep.c: Include linux-tdep.h. | |
2786 | (m68k_linux_init_abi): Call linux_init_abi. | |
2787 | * microblaze-linux-tdep.c: Include linux-tdep.h. | |
2788 | (microblaze_linux_init_abi): Call linux_init_abi. | |
2789 | * mips-linux-tdep.c: Include linux-tdep.h. | |
2790 | (mips_linux_init_abi): Call linux_init_abi. | |
2791 | * mn10300-linux-tdep.c: Include linux-tdep.h. | |
2792 | (am33_linux_init_osabi): Call linux_init_abi. Rename the | |
2793 | 'gdbinfo' parameter to 'info'. | |
2794 | * ppc-linux-tdep.c: Include linux-tdep.h. | |
2795 | (ppc_linux_init_abi): Call linux_init_abi. | |
2796 | * sh-linux-tdep.c: Include linux-tdep.h. | |
2797 | (sh_linux_init_abi): Call linux_init_abi. | |
2798 | * sparc-linux-tdep.c: Include linux-tdep.h. | |
2799 | (sparc32_linux_init_abi): Call linux_init_abi. | |
2800 | * sparc64-linux-tdep.c: Include linux-tdep.h. | |
2801 | (sparc64_linux_init_abi): Call linux_init_abi. | |
2802 | * xtensa-linux-tdep.c: Include linux-tdep.h. | |
2803 | (xtensa_linux_init_abi): Call linux_init_abi. | |
2804 | * i386-cygwin-tdep.c (i386_windows_core_pid_to_str): New. | |
2805 | (i386_cygwin_init_abi): Install it as gdbarch_core_pid_to_str | |
2806 | callback. | |
2807 | ||
bc043ef3 DE |
2808 | 2010-08-03 Doug Evans <[email protected]> |
2809 | ||
2810 | * breakpoint.c (bpdisp_text): Constify bpdisps. | |
2811 | * solib-svr4.c (solib_break_names): Constify. | |
2812 | (bkpt_names, main_name_list): Constify. | |
2813 | (match_main): Constify soname arg. | |
63cdd227 DE |
2814 | (bfd_lookup_symbol): Remove unnecessary forward decl. |
2815 | Constify symname arg. | |
bc043ef3 DE |
2816 | (enable_break): Constify bkpt_namep. |
2817 | * symtab.c (search_symbols): Constify types, types2, types3, types4. | |
2818 | (symtab_symbol_info): Constify classnames. | |
2819 | ||
585d1eb8 PM |
2820 | 2010-08-03 Phil Muldoon <[email protected]> |
2821 | ||
2822 | * NEWS: Document Python value inferior function calls. | |
2823 | ||
2de00c64 DE |
2824 | 2010-08-02 Doug Evans <[email protected]> |
2825 | ||
2826 | * dwarf2read.c (dwarf_attr_name): Add DW_AT_GNU_odr_signature. | |
2827 | ||
02d868e8 PP |
2828 | 2010-07-31 Paul Pluzhnikov <[email protected]> |
2829 | ||
2830 | * linux-thread-db.c (libthread_db_debug): New variable. | |
2831 | (thread_db_find_new_threads_silently): Control verbosity with it. | |
2832 | (try_thread_db_load_1, try_thread_db_load): Likewise. | |
2833 | (find_new_threads_once): Likewise. | |
2834 | (_initialize_thread_db): Set/show it. | |
2835 | ||
a19cae16 JK |
2836 | 2010-07-31 Jan Kratochvil <[email protected]> |
2837 | ||
2838 | * common/signals.c (signals): Move the content to signals.def. | |
2839 | Include it. Remove the INDENT comments. | |
2840 | ||
c2bbed2a TT |
2841 | 2010-07-30 Tom Tromey <[email protected]> |
2842 | ||
2843 | * Makefile.in (install-only): Install gdb-add-index. | |
2844 | * gdb-add-index.sh: New file. | |
2845 | ||
f32b2f09 CR |
2846 | 2010-07-31 Renquan Cheng <[email protected]> |
2847 | ||
2848 | * MAINTAINERS: Add myself for write after approval privileges. | |
2849 | ||
1276c759 JK |
2850 | 2010-07-30 Jan Kratochvil <[email protected]> |
2851 | ||
2852 | * symfile.c (addr_section_name): New function. | |
2853 | (addrs_section_compar): Use it. | |
2854 | (addr_info_make_relative): Use it. Move variable sect_name into a more | |
2855 | inner block. Make ".dynbss" and ".sdynbss" checks more strict. | |
2856 | ||
420697bb TT |
2857 | 2010-07-30 Tom Tromey <[email protected]> |
2858 | ||
2859 | * configure: Rebuild. | |
2860 | * configure.ac: Add missing case for Python 2.7. | |
2861 | ||
d0d99561 DD |
2862 | 2010-07-29 DJ Delorie <[email protected]> |
2863 | ||
2864 | * rx-tdep.c (rx_analyze_prologue): Don't require branches to have | |
2865 | conditions. | |
2866 | ||
0b29bdde PA |
2867 | 2010-07-29 Pedro Alves <[email protected]> |
2868 | ||
2869 | * PROBLEMS: Remove mention of all problems. | |
2870 | ||
110ed339 PA |
2871 | 2010-07-28 Pedro Alves <[email protected]> |
2872 | ||
2873 | PR build/11848 | |
2874 | * configure.ac: Check for wresize. | |
2875 | * configure, config.in: Regenerate. | |
2876 | * tui/tui-win.c (make_visible_with_new_height): Wrap wresize call | |
2877 | with HAVE_WRESIZE. | |
2878 | ||
326fd672 TT |
2879 | 2010-07-28 Tom Tromey <[email protected]> |
2880 | ||
2881 | PR python/11060: | |
2882 | * python/py-type.c (typy_legacy_template_argument): New function, | |
2883 | extracted from typy_template_argument. | |
2884 | (typy_template_argument): Use TYPE_TEMPLATE_ARGUMENT. Return a | |
2885 | value when needed. | |
2886 | ||
4ac8c4da TT |
2887 | 2010-07-28 Oleg Nesterov <[email protected]> |
2888 | ||
2889 | * remote.c (readchar): Call pop_target in case of SERIAL_ERROR. | |
2890 | ||
053315c2 TT |
2891 | 2010-07-27 Tom Tromey <[email protected]> |
2892 | ||
2893 | * dwarf2read.c (dwarf2_const_value_data): Never sign extend. | |
2894 | ||
3ce3b1ba PA |
2895 | 2010-07-28 Daniel Jacobowitz <[email protected]> |
2896 | ||
2897 | * dwarf2read.c (read_subroutine_type): Improve THIS detection, | |
2898 | handling DW_AT_object_pointer, and workaround GCC PR 43053. | |
2899 | ||
2bb4f988 TT |
2900 | 2010-07-28 Tom Tromey <[email protected]> |
2901 | ||
2902 | * Makefile.in (HFILES_NO_SRCDIR): Remove link-warning.h. | |
2903 | ||
74232302 JB |
2904 | 2010-07-28 Joel Brobecker <[email protected]> |
2905 | ||
2906 | * remote.c (remote_download_tracepoint): Add missing gettext markup. | |
2907 | * tracepoint.c (parse_static_tracepoint_marker_definition): Likewise. | |
2908 | ||
385d04dc JB |
2909 | 2010-07-28 Joel Brobecker <[email protected]> |
2910 | ||
2911 | * breakpoint.c (breakpoint_re_set_one): Move call to set_language | |
2912 | down, just before the block that parse the breakpoint addr_string. | |
2913 | ||
34eaf542 TT |
2914 | 2010-07-28 Tom Tromey <[email protected]> |
2915 | ||
2916 | PR c++/9946: | |
2917 | * symfile.c (reread_symbols): Clear template_symbols. | |
2918 | * symtab.h (struct symbol) <is_cplus_template_function>: New | |
2919 | field. | |
2920 | (SYMBOL_IS_CPLUS_TEMPLATE_FUNCTION): New macro. | |
2921 | (struct template_symbol): New. | |
2922 | * symtab.c (lookup_symbol_aux_local): Use | |
2923 | cp_lookup_symbol_imports_or_template. | |
2924 | * objfiles.h (struct objfile) <template_symbols>: New field. | |
2925 | * objfiles.c (relocate_one_symbol): New function. | |
2926 | (objfile_relocate1): Use it. Relocate isolated symbols. | |
2927 | * gdbtypes.h (struct cplus_struct_type) <n_template_arguments, | |
2928 | template_arguments>: New fields. | |
2929 | (TYPE_N_TEMPLATE_ARGUMENTS): New macro. | |
2930 | (TYPE_TEMPLATE_ARGUMENTS): Likewise. | |
2931 | (TYPE_TEMPLATE_ARGUMENT): Likewise. | |
2932 | (lookup_typename): Update. | |
2933 | * gdbtypes.c (lookup_typename): Constify "block" argument. | |
2934 | * dwarf2read.c: Include vec.h. | |
2935 | (symbolp): New typedef. | |
2936 | (read_func_scope): Read template arguments. Allocate a | |
2937 | template_symbol when needed. | |
2938 | (read_structure_type): Read template arguments. | |
2939 | (new_symbol_full): New function, from new_symbol. Handle | |
2940 | DW_TAG_template_type_param and DW_TAG_template_value_param. | |
2941 | (new_symbol): Rewrite as wrapper. | |
2942 | * cp-support.h (cp_lookup_symbol_imports_or_template): Declare. | |
2943 | * cp-namespace.c: Include language.h. | |
2944 | (search_symbol_list): New function. | |
2945 | (cp_lookup_symbol_imports_or_template): Likewise. | |
2946 | ||
d27b3be4 PA |
2947 | 2010-07-28 Balazs Kezes <[email protected]> |
2948 | ||
2949 | * tui/tui-win.c (make_visible_with_new_height): Resize and move | |
2950 | the command window to the new size and position. | |
2951 | ||
0036e657 PA |
2952 | 2010-07-28 Balazs Kezes <[email protected]> |
2953 | ||
a782f43e | 2954 | * tui/tui-win.c (tui_resize_all): Update the locator's origin's |
0036e657 PA |
2955 | coordinates. |
2956 | ||
36900355 PA |
2957 | 2010-07-28 Balazs Kezes <[email protected]> |
2958 | ||
a782f43e | 2959 | * tui/tui-io.c (tui_handle_resize_during_io): Call tui_resize_all |
36900355 | 2960 | after a detecting a resize. |
a782f43e | 2961 | * tui/tui-win.c (tui_resize_all): Remove tui_set_win_resized_to |
36900355 PA |
2962 | call. |
2963 | ||
db5e03ae PA |
2964 | 2010-07-28 Pedro Alves <[email protected]> |
2965 | ||
2966 | * configure.ac: Check for resize_term. | |
2967 | * configure, config.in: Regenerate. | |
2968 | ||
b71fff68 JB |
2969 | 2010-07-27 Joel Brobecker <[email protected]> |
2970 | ||
2971 | * MAINTAINERS (Write After Approval): Reorder a couple of entries. | |
2972 | ||
9b1c24c8 PA |
2973 | 2010-07-27 Daniel Jacobowitz <[email protected]> |
2974 | ||
2975 | * dwarf2read.c (read_string): Rename to ... | |
2976 | (read_direct_string): ... this. | |
2977 | (skip_one_die, read_attribute_value, dwarf_decode_line_header) | |
2978 | (dwarf_decode_lines, dwarf_decode_macros): Adjust. | |
2979 | ||
00390b84 JK |
2980 | 2010-07-27 Jan Kratochvil <[email protected]> |
2981 | ||
2982 | * linux-nat.c (linux_nat_lp_status_is_event): New function. | |
2983 | (count_events_callback, select_event_lwp_callback) | |
2984 | (cancel_breakpoints_callback, linux_nat_wait_1): Use it. | |
2985 | ||
26ab7092 JK |
2986 | 2010-07-27 Jan Kratochvil <[email protected]> |
2987 | ||
2988 | * ia64-linux-nat.c (ia64_linux_status_is_event): New function. | |
2989 | (_initialize_ia64_linux_nat): Install it. | |
2990 | * linux-nat.c (sigtrap_is_event, linux_nat_status_is_event) | |
2991 | (linux_nat_set_status_is_event): New. | |
2992 | (stop_wait_callback, count_events_callback, select_event_lwp_callback) | |
2993 | cancel_breakpoints_callback, linux_nat_filter_event) | |
2994 | (linux_nat_wait_1): Use linux_nat_status_is_event. | |
2995 | * linux-nat.h (linux_nat_set_status_is_event): New prototype. | |
2996 | ||
283e6a52 TT |
2997 | 2010-07-27 Tom Tromey <[email protected]> |
2998 | ||
2999 | * NEWS: Mention labels, .gdb_index. | |
3000 | ||
53a71c06 CR |
3001 | 2010-07-28 CHENG Renquan <[email protected]> |
3002 | ||
3003 | * cli/cli-cmds.c (disassemble_command): Add support of disassemble | |
3422f666 | 3004 | "start,+length" form of arguments. |
53a71c06 CR |
3005 | * NEWS: Add "Changed commands" (disassemble) section for "Changes |
3006 | since GDB 7.1"; and merge two separated paragraphs of disassemble | |
3007 | description in "Changes in GDB 7.0". | |
3008 | ||
c63a1f86 JK |
3009 | 2010-07-27 Jan Kratochvil <[email protected]> |
3010 | ||
3011 | * top.c (input_from_terminal_p): Return 0 on BATCH_FLAG. | |
3012 | * utils.c (defaulted_query): Do not explicitly check for BATCH_FLAG. | |
3013 | (fputs_maybe_filtered): Do not do filtering also on | |
3014 | ! INPUT_FROM_TERMINAL_P. | |
3015 | ||
abebb8b0 JB |
3016 | 2010-07-27 Joel Brobecker <[email protected]> |
3017 | ||
3018 | * dwarf2read.c (dw2_find_pc_sect_symtab): Remove trailing newline | |
3019 | in warning message. | |
3020 | ||
5374244e PM |
3021 | 2010-07-27 Phil Muldoon <[email protected]> |
3022 | ||
3023 | * python/py-value.c (valpy_call): New Function. | |
3024 | ||
ac0b195c KW |
3025 | 2010-07-27 Ken Werner <[email protected]> |
3026 | ||
889bf7c5 | 3027 | * dwarf2read.c (dwarf2_read_index): Initialize the types_list and |
ac0b195c KW |
3028 | types_list_elements variables. |
3029 | ||
09d8bd00 TT |
3030 | 2010-07-26 Tom Tromey <[email protected]> |
3031 | ||
3032 | * dwarf2loc.c (locexpr_describe_location_piece): Also recognize | |
3033 | TLS with DW_OP_const4u or DW_OP_const8u. | |
3034 | ||
9fe70b4f TJB |
3035 | 2010-07-26 Thiago Jung Bauermann <[email protected]> |
3036 | ||
3037 | * ppc-linux-nat.c (store_vsx_register): Use PTRACE_GETVSXREGS to get | |
3038 | VSX registers contents. | |
3039 | ||
caac4577 JG |
3040 | 2010-07-26 Jerome Guitton <[email protected]> |
3041 | ||
3042 | * dwarf2read.c (add_partial_symbol): Do not add a global variable if | |
3043 | its adress is null. Add comment to explain why. | |
3044 | (new_symbol): Ditto. | |
3045 | ||
857d11d0 JK |
3046 | 2010-07-25 Jan Kratochvil <[email protected]> |
3047 | ||
3048 | * linux-nat.c (linux_nat_do_thread_registers): Convert STOP_SIGNAL to | |
3049 | the host signal first. | |
3050 | ||
1fd400ff TT |
3051 | 2010-07-23 Tom Tromey <[email protected]> |
3052 | ||
3053 | * dwarf2read.c (struct dwarf2_per_objfile) <n_type_comp_units, | |
3054 | type_comp_units>: New fields. | |
3055 | (dw2_get_cu): New function. | |
3056 | (create_cus_from_index): Remove unused argument. | |
3057 | (create_signatured_type_hash_from_index): New function. | |
3058 | (create_addrmap_from_index): Update. | |
3059 | (dwarf2_read_index): Handle version 2. | |
3060 | (dw2_find_last_source_symtab, dw2_forget_cached_source_info) | |
3061 | (dw2_lookup_symtab, dw2_do_expand_symtabs_matching) | |
3062 | (dw2_print_stats, dw2_expand_all_symtabs) | |
3063 | (dw2_expand_symtabs_with_filename, dw2_find_symbol_file) | |
3064 | (dw2_expand_symtabs_matching, dw2_map_symbol_filenames): Update. | |
3065 | (dwarf2_initialize_objfile): Call create_debug_types_hash_table. | |
3066 | (allocate_signatured_type_hash_table): New function. | |
3067 | (add_signatured_type_cu_to_list): Likewise. | |
3068 | (create_debug_types_hash_table): Use them. Set type_comp_units. | |
3069 | (read_signatured_type): Ensure section data is available. | |
3070 | (add_address_entry): Don't record empty ranges. | |
3071 | (struct signatured_type_index_data): New. | |
3072 | (write_one_signatured_type): New function. | |
3073 | (write_psymtabs_to_index): Write type CUs. | |
3074 | (save_gdb_index_command): Update comment. | |
3075 | (process_type_comp_unit): Move inititalization of | |
3076 | from_debug_types... | |
3077 | (create_debug_types_hash_table): ... here. | |
3078 | ||
3a674486 JK |
3079 | 2010-07-23 Jan Kratochvil <[email protected]> |
3080 | ||
3081 | * gdb_gcore.sh (tmpfile): Remove the variable, its initialization, | |
3082 | cleanup and generating of gdb script to it. | |
3083 | (gdb): Use redirection from /dev/null. Use --nx. Turn off pagination | |
3084 | and terminal size. Convert $tmpfile to a series of -ex-es. | |
3085 | ||
54ec275a KS |
3086 | 2010-07-23 Keith Seitz <[email protected]> |
3087 | ||
3088 | * symtab.c (basic_lookup_transparent_type): Call pre-expand | |
3089 | hook for STATIC_BLOCK types, too. | |
3090 | ||
8fd447e6 KS |
3091 | 2010-07-23 Keith Seitz <[email protected]> |
3092 | ||
3093 | * dwarf2read.c: Remove unused typedef dwarf2_cu_per_cu_data_ptr | |
3094 | and vector definition. | |
3095 | ||
25b72dde JK |
3096 | 2010-07-23 Jan Kratochvil <[email protected]> |
3097 | ||
3098 | * linux-nat.c (cancel_breakpoint): Remove unused forward declaration. | |
3099 | ||
96d19272 JK |
3100 | 2010-07-22 Jan Kratochvil <[email protected]> |
3101 | ||
3102 | * dwarf2read.c: Include completer.h. | |
3103 | (save_gdb_index_command): Use matching usage command name. | |
3104 | (_initialize_dwarf2_read): New variable c, initialize it by add_cmd. | |
3105 | Set filename_completer for it. | |
3106 | ||
ca1f3406 TT |
3107 | 2010-07-22 Tom Tromey <[email protected]> |
3108 | ||
3109 | * dwarf2read.c (create_debug_types_hash_table): Set objfile on | |
3110 | type signature's per-CU data. | |
3111 | ||
ba25b921 PA |
3112 | 2010-07-22 Pedro Alves <[email protected]> |
3113 | ||
3114 | * NEWS: Mention target reported shared libraries support by | |
3115 | default. | |
3116 | ||
23bd0f7c PA |
3117 | 2010-07-21 Pedro Alves <[email protected]> |
3118 | ||
3119 | PR symtab/11827 | |
3120 | ||
3121 | Revert: | |
3122 | 2010-05-21 Pierre Muller <[email protected]> | |
3123 | * dwarf2read.c (process_die): Also allow DW_TAG_const_type | |
3124 | and DW_TAG_volatile_type. | |
3125 | (new_symbol): Likewise. | |
3126 | ||
883df6dd SW |
3127 | 2010-07-21 Sami Wagiaalla <[email protected]> |
3128 | ||
3129 | * eval.c (evaluate_subexp_standard): Disabled evaluation of C++ | |
3130 | function symbols before overload resolution. | |
3131 | ||
269b11a2 PA |
3132 | 2010-07-21 Pedro Alves <[email protected]> |
3133 | ||
3134 | * breakpoint.c (bptype_string): New, abstracted out from | |
3135 | print_one_breakpoint_location. | |
3136 | (print_one_breakpoint_location): Adjust. | |
3137 | (breakpoint_1): Adjust the type column width dynamically. | |
3138 | ||
569b05a5 JK |
3139 | 2010-07-20 Jan Kratochvil <[email protected]> |
3140 | ||
3141 | * symfile.c (find_separate_debug_file_by_debuglink): Remove | |
3142 | a gdb_assert call, new comment. | |
3143 | ||
ad34eb2f JK |
3144 | 2010-07-20 Jan Kratochvil <[email protected]> |
3145 | ||
3146 | * linux-nat.c (linux_handle_extended_wait): Handle case when | |
3147 | event == PTRACE_EVENT_CLONE && stopping && WSTOPSIG (status) != SIGSTOP. | |
3148 | ||
33355866 JK |
3149 | 2010-07-20 Jan Kratochvil <[email protected]> |
3150 | ||
3151 | Code cleanup. | |
3152 | * linux-nat.c (linux_nat_wait_1): Reset STATUS after calling | |
3153 | linux_nat_wait_1. Use always LP->STATUS afterwards. | |
3154 | ||
26590820 HZ |
3155 | 2010-07-20 Hui Zhu <[email protected]> |
3156 | ||
3157 | * inf-ptrace.c (inf_ptrace_create_inferior): Initialize back_to. | |
3158 | (inf_ptrace_attach): Ditto. | |
3159 | ||
c0edd9ed JK |
3160 | 2010-07-19 Jan Kratochvil <[email protected]> |
3161 | ||
3162 | Make core files the process_stratum. | |
3163 | * corefile.c (core_target): New variable. | |
3164 | (core_file_command): Remove variable t, use core_target. | |
3165 | * corelow.c (core_ops): Make it static. | |
3166 | (init_core_ops): Change to process_stratum. Initialize CORE_TARGET. | |
3167 | * defs.h (make_cleanup_unpush_target): New prototype. | |
3168 | * gdbarch.h: Regenerate. | |
3169 | * gdbarch.sh (core_pid_to_str): Remove core_stratum from its comment. | |
3170 | * gdbcore.h (core_target): New declaration. | |
3171 | * inf-ptrace.c (inf_ptrace_create_inferior, inf_ptrace_attach): New | |
3172 | variables ops_already_pushed and back_to. Use push_target, | |
3173 | make_cleanup_unpush_target and discard_cleanups calls. | |
3174 | * record.c (record_open): Replace core_stratum by a core_bfd check. | |
3175 | * target.c (target_is_pushed): New function. | |
3176 | (find_core_target): Remove. | |
3177 | * target.h (enum strata) <core_stratum>: Remove. | |
3178 | (target_is_pushed): New declaration. | |
3179 | (find_core_target): Remove declaration. | |
3180 | * tracepoint.c (init_tfile_ops) <to_stratum>: Remove comment. | |
3181 | * utils.c (do_unpush_target, make_cleanup_unpush_target): New functions. | |
3182 | ||
f02253f1 HZ |
3183 | 2010-07-19 Hui Zhu <[email protected]> |
3184 | ||
3185 | * breakpoint.c (single_step_breakpoints_inserted): New | |
3186 | function. | |
3187 | * breakpoint.h (single_step_breakpoints_inserted): Extern. | |
3188 | * infrun.c (maybe_software_singlestep): Add check code. | |
3189 | * record.c (record_resume): Add code for software single step. | |
3190 | (record_wait): Ditto. | |
3191 | ||
78768c4a JK |
3192 | 2010-07-18 Jan Kratochvil <[email protected]> |
3193 | ||
3194 | * linux-nat.c (linux_handle_extended_wait): Move variable new_lp into | |
3195 | a more inner block. Remove its unused declaration initializer. | |
3196 | ||
431e49aa TJB |
3197 | 2010-07-16 Thiago Jung Bauermann <[email protected]> |
3198 | ||
3199 | * NEWS: Mention support for the new ptrace interface and hardware | |
3200 | accelerated watchpoint conditions on powerpc-linux. | |
3201 | ||
bd91e7ae OS |
3202 | 2010-07-16 Ozkan Sezer <[email protected]> |
3203 | ||
3204 | * target.c (debug_to_insert_breakpoint): Instead of casting to unsigned | |
3205 | long and %ld, use core_addr_to_string() and %s to print CORE_ADDR vars | |
3206 | and host_address_to_string() and %s for pointers. | |
3207 | (debug_to_remove_breakpoint): Likewise. | |
3208 | (debug_to_region_ok_for_hw_watchpoint): Likewise. | |
3209 | (debug_to_can_accel_watchpoint_condition): Likewise. | |
3210 | (debug_to_stopped_data_address): Likewise. | |
3211 | (debug_to_watchpoint_addr_within_range): Likewise. | |
3212 | (debug_to_insert_hw_breakpoint): Likewise. | |
3213 | (debug_to_remove_hw_breakpoint): Likewise. | |
3214 | (debug_to_insert_watchpoint): Likewise. | |
3215 | (debug_to_remove_watchpoint): Likewise. | |
3216 | ||
29df156d SW |
3217 | 2010-07-16 Sami Wagiaalla <[email protected]> |
3218 | ||
3219 | * symtab.h (symbol_set_demangled_name): Now takes an optional objfile* | |
3220 | argument. | |
3221 | (cplus_specific): New struct. | |
3222 | * symtab.c (symbol_set_demangled_name): Updated. | |
3223 | Use cplus_specific for cplus symbols. | |
3224 | (symbol_get_demangled_name): Retrive the name from the cplus_specific | |
3225 | struct for cplus symbols. | |
3226 | (symbol_init_language_specific): Set cplus_specific for cplus symbols. | |
3227 | (symbol_set_names): Pass objfile to symbol_set_demangled_name. | |
3228 | * symtab.c (symbol_init_cplus_specific): New function. | |
3229 | ||
b250c185 SW |
3230 | 2010-07-16 Sami Wagiaalla <[email protected]> |
3231 | ||
3232 | * symtab.h (symbol_set_demangled_name): New function. | |
3233 | (symbol_get_demangled_name): New function. | |
3234 | * symtab.c (symbol_set_demangled_name): New function. | |
3235 | (symbol_get_demangled_name): New function. | |
3236 | (symbol_init_language_specific): Use demangled_name setter and getter. | |
3237 | (symbol_set_names): Ditto. | |
3238 | (symbol_natural_name): Ditto. | |
3239 | (symbol_demangled_name): Ditto. | |
3240 | * dwarf2read.c (new_symbol): Ditto. | |
3241 | ||
afa16725 SW |
3242 | 2010-07-16 Sami Wagiaalla <[email protected]> |
3243 | ||
3244 | * symtab.h: Renamed cplus_specific to mangled_lang. | |
3245 | * symtab.c (symbol_init_language_specific): Updated. | |
3246 | (symbol_set_names): Updated. | |
3247 | (symbol_natural_name): Updated. | |
3248 | (symbol_demangled_name): Updated. | |
3249 | * ada-lang.c (ada_decode_symbol): Updated. | |
3250 | * dwarf2read.c (new_symbol): Updated. | |
3251 | ||
3cbaedff KW |
3252 | 2010-07-14 Ken Werner <[email protected]> |
3253 | ||
3254 | * valops.c (value_assign): Do not call to value_coerce_to_target. | |
3255 | (value_must_coerce_to_target): Return 0 in case of TYPE_VECTOR. | |
3256 | ||
c932f1be KW |
3257 | 2010-07-14 Ken Werner <[email protected]> |
3258 | ||
3259 | * MAINTAINERS: Add myself for write after approval privileges. | |
3260 | ||
91158a56 TT |
3261 | 2010-07-13 Emmanuel Thomé <[email protected]> |
3262 | ||
3263 | * c-valprint.c (c_val_print): Add embedded_offset to address in | |
3264 | call to val_print_array_elements. | |
3265 | ||
b3b272e1 TT |
3266 | 2010-07-13 Tom Tromey <[email protected]> |
3267 | ||
3268 | * dwarf2read.c (dwarf2_read_index): Correctly set 'total_size'. | |
3269 | ||
bb3fa9d0 TT |
3270 | 2010-07-13 Tom Tromey <[email protected]> |
3271 | ||
3272 | * dwarf2read.c (dwarf2_per_cu_text_offset): Fix reference to | |
3273 | objfile. | |
3274 | ||
dd786858 TT |
3275 | 2010-07-13 Tom Tromey <[email protected]> |
3276 | ||
3277 | * symfile.c (set_initial_language): Update. | |
3278 | (deduce_language_from_filename): Argument type now const. | |
3279 | * symtab.h (find_main_filename): Update. | |
3280 | (deduce_language_from_filename): Update. | |
3281 | * symtab.c (find_main_filename): Make result const. | |
3282 | * dwarf2read.c (dw2_find_symbol_file): Change return type. | |
3283 | * psymtab.c (find_symbol_file_from_partial): Change return type. | |
3284 | * symfile.h (struct quick_symbol_functions) <find_symbol_file>: | |
3285 | Make result const. | |
3286 | ||
9291a0cd TT |
3287 | 2010-07-13 Tom Tromey <[email protected]> |
3288 | ||
3289 | * breakpoint.c (save_cmdlist): No longer static. | |
3290 | * gdbcmd.h (save_cmdlist): Declare. | |
3291 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Set | |
3292 | OBJF_READNOW on objfile if readnow_symbol_files. | |
3293 | * elfread.c (elf_symfile_read): Use dwarf2_initialize_objfile. | |
3294 | (elf_sym_fns_gdb_index): New global. | |
3295 | * dwarf2read.c: Include exceptions.h. | |
3296 | (offset_type): New. | |
3297 | (struct mapped_index): New. | |
3298 | (dwarf2_per_cu_data_ptr): New typedef. | |
3299 | (struct dwarf2_per_objfile) <using_index, index_table, gdb_index>: | |
3300 | New fields. | |
3301 | (GDB_INDEX_SECTION): New define. | |
3302 | (struct dwarf2_per_cu_quick_data): New. | |
3303 | (struct dwarf2_per_cu_data) <objfile>: New field. | |
3304 | <psymtab>: Removed. | |
3305 | <v>: New field. | |
3306 | (byte_swap): New function. | |
3307 | (MAYBE_SWAP): New macro. | |
3308 | (INDEX_SUFFIX): New macro. | |
3309 | (dw2_do_instantiate_symtab): New function. | |
3310 | (dw2_instantiate_symtab): Likewise. | |
3311 | (create_cus_from_index): Likewise. | |
3312 | (create_addrmap_from_index): Likewise. | |
3313 | (mapped_index_string_hash): Likewise. | |
3314 | (find_slot_in_mapped_hash): Likewise. | |
3315 | (dwarf2_read_index): Likewise. | |
3316 | (dw2_setup): Likewise. | |
3317 | (dw2_require_line_header): Likewise. | |
3318 | (dw2_require_full_path): Likewise. | |
3319 | (dw2_find_last_source_symtab): Likewise. | |
3320 | (dw2_forget_cached_source_info): Likewise. | |
3321 | (dw2_lookup_symtab): Likewise. | |
3322 | (dw2_lookup_symbol): Likewise. | |
3323 | (dw2_do_expand_symtabs_matching): Likewise. | |
3324 | (dw2_pre_expand_symtabs_matching): Likewise. | |
3325 | (dw2_print_stats): Likewise. | |
3326 | (dw2_dump): Likewise. | |
3327 | (dw2_relocate): Likewise. | |
3328 | (dw2_expand_symtabs_for_function): Likewise. | |
3329 | (dw2_expand_all_symtabs): Likewise. | |
3330 | (dw2_expand_symtabs_with_filename): Likewise. | |
3331 | (dw2_find_symbol_file): Likewise. | |
3332 | (dw2_map_ada_symtabs): Likewise. | |
3333 | (dw2_expand_symtabs_matching): Likewise. | |
3334 | (dw2_find_pc_sect_symtab): Likewise. | |
3335 | (dw2_map_symbol_names): Likewise. | |
3336 | (dw2_map_symbol_filenames): Likewise. | |
3337 | (dw2_has_symbols): Likewise. | |
3338 | (dwarf2_gdb_index_functions): New global. | |
3339 | (dwarf2_initialize_objfile): New function. | |
3340 | (process_psymtab_comp_unit): Update. | |
3341 | (add_partial_subprogram): Likewise. | |
3342 | (dwarf2_psymtab_to_symtab): Likewise. | |
3343 | (psymtab_to_symtab_1): Use dw2_do_instantiate_symtab. | |
3344 | (process_full_comp_unit): Update. | |
3345 | (find_file_and_directory): New function. | |
3346 | (read_file_scope): Use find_file_and_directory. | |
3347 | (dwarf2_per_cu_objfile): Update. | |
3348 | (dwarf2_per_cu_addr_size): Update. | |
3349 | (dwarf2_per_cu_offset_size): Update. | |
3350 | (dwarf2_free_objfile): Free the index, if needed. | |
3351 | (dwarf2_per_objfile_free): Unmap the index, if needed. | |
3352 | (struct strtab_entry): New. | |
3353 | (hash_strtab_entry): New function. | |
3354 | (eq_strtab_entry): Likewise. | |
3355 | (create_strtab): Likewise. | |
3356 | (add_string): Likewise. | |
3357 | (struct symtab_index_entry): New. | |
3358 | (struct mapped_symtab): New. | |
3359 | (hash_symtab_entry): New function. | |
3360 | (eq_symtab_entry): Likewise. | |
3361 | (delete_symtab_entry): Likewise. | |
3362 | (create_index_table): Likewise. | |
3363 | (create_mapped_symtab): Likewise. | |
3364 | (cleanup_mapped_symtab): Likewise. | |
3365 | (find_slot): Likewise. | |
3366 | (hash_expand): Likewise. | |
3367 | (add_index_entry): Likewise. | |
3368 | (add_indices_to_cpool): Likewise. | |
3369 | (write_hash_table): Likewise. | |
3370 | (add_address_entry): Likewise. | |
3371 | (write_psymbols): Likewise. | |
3372 | (write_obstack): Likewise. | |
3373 | (unlink_if_set): Likewise. | |
3374 | (write_psymtabs_to_index): Likewise. | |
3375 | (save_gdb_index_command): Likewise. | |
3376 | (_initialize_dwarf2_read): Install "save gdb-index" | |
3377 | command. | |
3378 | (create_all_comp_units): Initialize 'objfile' field of CU. | |
3379 | (dwarf2_locate_sections): Check for .gdb_index. | |
3380 | * psymtab.h (dwarf2_gdb_index_functions): Declare. | |
3381 | * symfile.h (dwarf2_initialize_objfile): Declare. | |
3382 | ||
58b6ab13 TT |
3383 | 2010-07-13 Tom Tromey <[email protected]> |
3384 | ||
3385 | * symtab.c (lookup_symbol_aux_symtabs): Call pre-expand hook. | |
3386 | (basic_lookup_transparent_type): Likewise. | |
3387 | * symfile.h (struct quick_symbol_functions) | |
3388 | <pre_expand_symtabs_matching>: New field. | |
3389 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): New function. | |
3390 | (psym_functions): Update. | |
3391 | ||
0f5238ed TT |
3392 | 2010-07-13 Tom Tromey <[email protected]> |
3393 | ||
3394 | PR breakpoints/8357: | |
3395 | * symtab.h (domain_enum_tag) <LABEL_DOMAIN>: Update comment. | |
3396 | * linespec.c (decode_line_1): Update comment. Call decode_label. | |
3397 | (decode_label): New function. | |
3398 | (symbol_found): Handle LOC_LABEL. | |
3399 | * dwarf2read.c (new_symbol) <DW_TAG_label>: Set symbol's type and | |
3400 | domain. Call add_symbol_to_list. | |
3401 | ||
9aa1f1e3 TT |
3402 | 2010-07-13 Tom Tromey <[email protected]> |
3403 | ||
3404 | * dwarf2loc.h (dwarf2_per_cu_text_offset): Declare. | |
3405 | * dwarf2loc.c (find_location_expression): Use | |
3406 | dwarf2_per_cu_text_offset. | |
3407 | (dwarf2_evaluate_loc_desc): Likewise. | |
3408 | (dwarf2_loc_desc_needs_frame): Likewise. | |
3409 | (compile_dwarf_to_ax): Likewise. | |
3410 | (loclist_describe_location): Likewise. | |
3411 | * dwarf2read.c (dwarf2_per_cu_text_offset): New function. | |
3412 | (dwarf2_per_cu_objfile): Update comment. | |
3413 | ||
953ac07e JK |
3414 | 2010-07-12 Jan Kratochvil <[email protected]> |
3415 | ||
3416 | * dwarf2read.c (read_subrange_type): Call read_subrange_type. | |
3417 | * p-lang.c (pascal_printstr): Likewise. | |
3418 | ||
f04e4012 TT |
3419 | 2010-07-09 Tom Tromey <[email protected]> |
3420 | ||
3421 | * python/py-prettyprint.c (gdbpy_get_display_hint): Don't use | |
3422 | 'hint' if it is NULL. | |
3423 | ||
f4dfd9c0 HZ |
3424 | 2010-07-09 Hui Zhu <[email protected]> |
3425 | ||
3426 | * source.c (print_source_lines_base): Add check for noprint. | |
3427 | ||
7e6e39e5 JB |
3428 | 2010-07-08 Joel Brobecker <[email protected]> |
3429 | ||
3430 | * python/python-config.py: Resync with Python 2.7 version of this | |
3431 | script. | |
3432 | ||
76b8507d JB |
3433 | 2010-07-08 Joel Brobecker <[email protected]> |
3434 | ||
3435 | * NEWS: Fix typo in section name (s/GDB 7.1/GDB 7.2). | |
3436 | ||
797054e6 JB |
3437 | 2010-07-07 Joel Brobecker <[email protected]> |
3438 | ||
3439 | * NEWS: Create a new section for the next release branch. | |
3440 | Rename the section of the current branch, now that it has | |
3441 | been cut. | |
3442 | ||
c80befee | 3443 | 2010-07-07 Joel Brobecker <[email protected]> |
3444 | ||
3445 | GDB 7.2 branch created (branch timestamp: 2010-07-07 17:00 UTC) | |
3446 | * version.in: Bump version to 7.2.50.20100707-cvs. | |
3447 | ||
ac56253d TT |
3448 | 2010-07-07 Tom Tromey <[email protected]> |
3449 | ||
3450 | * dwarf2read.c (dwarf2_const_value) <DW_form_addr>: Create a | |
3451 | LOC_COMPUTED symbol. | |
3452 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Set new field. | |
3453 | (dwarf2_loc_desc_needs_frame): Likewise. | |
3454 | (compile_dwarf_to_ax) <DW_OP_addr>: Use offset. | |
3455 | * dwarf2expr.h (struct dwarf_expr_context) <offset>: New field. | |
3456 | * dwarf2expr.c (execute_stack_op) <DW_OP_addr>: Use offset. | |
3457 | * dwarf2-frame.c (execute_stack_op): Set 'offset' field. Add | |
3458 | 'offset' argument. | |
3459 | (struct dwarf2_frame_cache) <text_offset>: New field. | |
3460 | (dwarf2_frame_cache): Set new field. | |
3461 | (dwarf2_frame_prev_register): Update. | |
3462 | (dwarf2_frame_sniffer): Update. | |
3463 | (dwarf2_frame_base_sniffer): Update. | |
3464 | (dwarf2_frame_find_fde): Add 'out_offset' argument. | |
3465 | ||
0cf6dd15 TJB |
3466 | 2010-07-07 Sergio Durigan Junior <[email protected]> |
3467 | Thiago Jung Bauermann <[email protected]> | |
3468 | ||
3469 | Support for hw accelerated condition watchpoints in booke powerpc. | |
3470 | ||
3471 | * breakpoint.c (fetch_watchpoint_value): Rename to fetch_subexp_value | |
3472 | and move to eval.c. Change callers. | |
3473 | (insert_bp_location): Pass watchpoint condition in | |
3474 | target_insert_watchpoint. | |
3475 | (remove_breakpoint_1) Pass watchpoint condition in | |
3476 | target_remove_watchpoint. | |
3477 | (watchpoint_locations_match): Call | |
3478 | target_can_accel_watchpoint_condition. | |
3479 | * eval.c: Include wrapper.h. | |
3480 | (fetch_subexp_value): Moved from breakpoint.c. | |
3481 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): | |
3482 | Formatting fix. | |
3483 | (can_use_watchpoint_cond_accel): New function. | |
3484 | (calculate_dvc): Likewise. | |
3485 | (num_memory_accesses): Likewise. | |
3486 | (check_condition): Likewise. | |
3487 | (ppc_linux_can_accel_watchpoint_condition): Likewise | |
3488 | (ppc_linux_insert_watchpoint): Call can_use_watchpoint_cond_accel, | |
3489 | check_condition and calculate_dvc. | |
3490 | (ppc_linux_remove_watchpoint): Likewise. | |
3491 | (_initialize_ppc_linux_nat): Set to_can_accel_watchpoint_condition to | |
3492 | ppc_linux_can_accel_watchpoint_condition | |
3493 | * target.c (debug_to_insert_watchpoint): Add argument for watchpoint | |
3494 | condition. | |
3495 | (debug_to_remove_watchpoint): Likewise. | |
3496 | (debug_to_can_accel_watchpoint_condition): New function. | |
3497 | (update_current_target): Set to_can_accel_watchpoint_condition. | |
3498 | (setup_target_debug): Set to_can_accel_watchpoint_condition. | |
3499 | * target.h: Add opaque declaration for struct expression. | |
3500 | (struct target_ops) <to_insert_watchpoint>, | |
3501 | <to_remove_watchpoint>: Add new arguments to pass the watchpoint | |
3502 | <to_can_accel_watchpoint_condition>: New member. | |
3503 | condition. Update all callers and implementations. | |
3504 | (target_can_accel_watchpoint_condition): New macro. | |
3505 | * value.c (free_value_chain): New function. | |
3506 | * value.h (fetch_subexp_value): New prototype. | |
3507 | (free_value_chain): Likewise. | |
3508 | ||
2f2241f1 UW |
3509 | 2010-07-07 Ulrich Weigand <[email protected]> |
3510 | ||
3511 | * linux-nat.c (linux_nat_do_thread_registers): Use section size | |
3512 | from gdbarch_core_regset_sections also for .reg if present. | |
3513 | ||
3514 | * amd64-linux-tdep.c (amd64_linux_regset_sections): Fix incorrect | |
3515 | section size for .reg. | |
3516 | * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise. | |
3517 | (ppc_linux_vmx_regset_sections): Likewise. | |
3518 | (ppc_linux_fp_regset_sections): Likewise. | |
3519 | (ppc64_linux_vsx_regset_sections): New variable. | |
3520 | (ppc64_linux_vmx_regset_sections): Likewise. | |
3521 | (ppc64_linux_fp_regset_sections): Likewise. | |
3522 | (ppc_linux_init_abi): Install core_regset_section lists appropriate | |
3523 | for current word size. | |
3524 | ||
1fd7cdc2 JB |
3525 | 2010-07-06 Joel Brobecker <[email protected]> |
3526 | ||
3527 | * server.c (myresume): Make static. | |
3528 | ||
11763c18 TT |
3529 | 2010-07-06 Tom Tromey <[email protected]> |
3530 | ||
3531 | * configure, config.in: Rebuild. | |
3532 | * configure.ac (HAVE_LIBPYTHON2_7): New define. | |
3533 | * python/python-internal.h: Handle HAVE_LIBPYTHON2_7. | |
3534 | ||
a6cc4789 AS |
3535 | 2010-07-06 Andreas Schwab <[email protected]> |
3536 | ||
3537 | * breakpoint.c (_initialize_breakpoint): Add "cl" as alias for | |
3538 | "clear". | |
3539 | ||
f9e9243a UW |
3540 | 2010-07-06 Ken Werner <[email protected]> |
3541 | ||
3542 | * gdbtypes.h (floatformats_ieee_half): Add declaration. | |
3543 | * gdbtypes.c (floatformats_ieee_half): New variable. | |
3544 | * doublest.c (floatformat_from_length): Set format to | |
3545 | gdbarch_half_format if length matches. | |
3546 | * gdbarch.sh (half_bit): New architecture method. | |
3547 | (half_format): Likewise. | |
3548 | * gdbarch.h: Regenerate. | |
3549 | * gdbarch.c: Likewise. | |
3550 | ||
4e5799b6 JK |
3551 | 2010-07-05 Jan Kratochvil <[email protected]> |
3552 | Joel Brobecker <[email protected]> | |
3553 | ||
3554 | Fix re-run of PIE executable, PR shlibs/11776. | |
3555 | * solib-svr4.c (svr4_relocate_main_executable) <symfile_objfile>: Remove | |
3556 | the part of pre-set SYMFILE_OBJFILE->SECTION_OFFSETS. | |
3557 | ||
86e4bafc JK |
3558 | 2010-07-05 Jan Kratochvil <[email protected]> |
3559 | Joel Brobecker <[email protected]> | |
3560 | ||
3561 | * auxv.c (memory_xfer_auxv): Update attach comment. | |
3562 | * solib-svr4.c (svr4_special_symbol_handling): Remove the call to | |
3563 | svr4_relocate_main_executable. | |
3564 | (svr4_solib_create_inferior_hook): Make the call to | |
3565 | svr4_relocate_main_executable unconditional. | |
3566 | ||
3cd07d20 JK |
3567 | 2010-07-05 Jan Kratochvil <[email protected]> |
3568 | Joel Brobecker <[email protected]> | |
3569 | ||
3570 | * auxv.c (ld_so_xfer_auxv): Do not error on failed read of data_address. | |
3571 | ||
0a1e94c7 JK |
3572 | 2010-07-05 Jan Kratochvil <[email protected]> |
3573 | Joel Brobecker <[email protected]> | |
3574 | ||
3575 | Fix attaching to PIEs prelinked on the disk after the process was | |
3576 | started. | |
3577 | * solib-svr4.c (svr4_exec_displacement): New variable arch_size. | |
3578 | Verify it against bfd_get_arch_size. Try to match arbitrary | |
3579 | displacement for the phdrs comparison. | |
3580 | ||
5387647f TT |
3581 | 2010-07-02 Tom Tromey <[email protected]> |
3582 | ||
3583 | PR exp/11780: | |
3584 | * libunwind-frame.c (libunwind_frame_prev_register): Don't set | |
3585 | value as optimized-out. | |
3586 | ||
38b6c3b3 TJB |
3587 | 2010-07-02 Ulrich Weigand <[email protected]> |
3588 | Thiago Jung Bauermann <[email protected]> | |
3589 | ||
3590 | * breakpoint.c (can_use_hardware_watchpoint): Answer "what does this | |
3591 | represent?" question in comment. Change comment to a proper sentence. | |
3592 | ||
a17ac5b0 TT |
3593 | 2010-07-02 Ken Werner <[email protected]> |
3594 | ||
3595 | * c-valprint.c (c_val_print): Fix printing of character vectors. | |
3596 | ||
bddaafad JK |
3597 | 2010-07-02 Jan Kratochvil <[email protected]> |
3598 | ||
3599 | * spu-tdep.c (spu_catch_start): Adjust the caller of changed | |
3600 | create_breakpoint prototype. | |
3601 | ||
d41c0fc8 PA |
3602 | 2010-07-01 Pedro Alves <[email protected]> |
3603 | ||
3604 | * breakpoint.c (BREAK_ARGS_HELP, _initialize_breakpoint): Clarify | |
3605 | usefulness suggestion of multiple breakpoints at same location. | |
3606 | ||
dc10affe PA |
3607 | 2010-07-01 Pedro Alves <[email protected]> |
3608 | ||
3609 | * breakpoint.c (BREAK_ARGS_HELP): Add missing `the'. | |
3610 | ||
cabe9ab6 PA |
3611 | 2010-07-01 Pedro Alves <[email protected]> |
3612 | ||
3613 | * dwarf2loc.c (locexpr_tracepoint_var_ref) | |
3614 | (loclist_tracepoint_var_ref): Handle optimized out values. | |
3615 | ||
cce7e648 PA |
3616 | 2010-07-01 Pedro Alves <[email protected]> |
3617 | ||
3618 | * breakpoint.c (update_watchpoint, _initialize_breakpoint): Remove | |
3619 | unnecessary space in string. | |
3620 | * filesystem.c (_initialize_filesystem): Ditto. | |
3621 | * frame.c (_initialize_frame): Ditto. | |
3622 | * infcmd.c (step_once): Ditto. | |
3623 | * infrun.c (_initialize_infrun): Ditto. | |
3624 | * linux-nat.c (linux_child_follow_fork): Ditto. | |
3625 | * maint.c (maintenance_deprecate): Ditto. | |
3626 | * memattr.c (_initialize_mem): Ditto. | |
3627 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
3628 | * monitor.c (monitor_open): Ditto. | |
3629 | * procfs.c (procfs_xfer_memory): Ditto. | |
3630 | * reverse.c (bookmarks_info): Ditto. | |
3631 | * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs): Ditto. | |
3632 | * stack.c (_initialize_stack): Ditto. | |
3633 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
3634 | * xtensa-tdep.c (xtensa_supply_gregset, | |
3635 | xtensa_regset_from_core_section): Ditto. | |
3636 | ||
b65c7efe TT |
3637 | 2010-07-01 Tom Tromey <[email protected]> |
3638 | ||
3639 | * value.h (struct lval_funcs) <check_any_valid>: Rename from | |
3640 | check_all_valid. | |
3641 | * value.c (value_entirely_optimized_out): Invert result. Update | |
3642 | for new function name. | |
3643 | ||
0fb4aa4b PA |
3644 | 2010-07-01 Pedro Alves <[email protected]> |
3645 | ||
3646 | Static tracepoints support. | |
3647 | ||
3648 | * NEWS: Mention new support for static tracepoints. | |
3649 | (New packets): Mention qTfSTM, qTsSTM, qTSTMat and | |
3650 | qXfer:statictrace:read. | |
3651 | (New features in the GDB remote stub, GDBserver): Mention static | |
3652 | tracepoints support using an UST based backend. | |
3653 | (New commands): Mention "info static-tracepoint-markers" and | |
3654 | "strace". | |
3655 | * breakpoint.c (is_marker_spec): New. | |
3656 | (is_tracepoint): Handle static tracepoints. | |
3657 | (validate_commands_for_breakpoint): Static tracepoints can't do | |
3658 | while-stepping. | |
3659 | (static_tracepoints_here): New. | |
3660 | (bpstat_what): Handle static tracepoints. | |
3661 | (print_one_breakpoint_location, allocate_bp_location, mention): | |
3662 | Ditto. | |
3663 | (create_breakpoint_sal): Ditto. | |
3664 | (decode_static_tracepoint_spec): New. | |
3665 | (create_breakpoint): Replace `hardwareflag', and `traceflag' with | |
3666 | `type_wanted'. Adjust. Handle static tracepoint marker | |
3667 | locations. | |
3668 | (break_command_1): Adjust. | |
3669 | (update_static_tracepoint): New. | |
3670 | (update_breakpoint_locations): Handle static tracepoints. | |
3671 | (breakpoint_re_set_one): Handle static tracepoint marker | |
3672 | locations. | |
3673 | (disable_command, enable_command): Handle static tracepoints. | |
3674 | (trace_command, ftrace_command): Adjust. | |
3675 | (strace_command): New. | |
3676 | (create_tracepoint_from_upload): Adjust. | |
3677 | (save_breakpoints): Handle static tracepoints. | |
3678 | (_initialize_breakpoint): Install the "strace" command. | |
3679 | * breakpoint.h (enum bptype): New bp_static_tracepoint type. | |
3680 | (struct breakpoint): New fields static_trace_marker_id and | |
3681 | static_trace_marker_id_idx. | |
3682 | (breakpoints_here_p): Declare. | |
3683 | (create_breakpoint): Adjust. | |
3684 | (static_tracepoints_here): Declare. | |
3685 | * remote.c (struct remote_state) <static_tracepoints>: New field. | |
3686 | (PACKET_qXfer_statictrace_read, PACKET_StaticTracepoints): New. | |
3687 | (remote_static_tracepoint_marker_at): New. | |
3688 | (remote_static_tracepoint_markers_by_strid): New. | |
3689 | (remote_static_tracepoint_feature): New. | |
3690 | (remote_disconnected_tracing_feature): Handle "StaticTracepoints". | |
3691 | (remote_xfer_partial): Handle TARGET_OBJECT_STATIC_TRACE_DATA. | |
3692 | (remote_supports_static_tracepoints): New. | |
3693 | (remote_download_tracepoint): Download static tracepoints. | |
3694 | (init_remote_ops): Install remote_static_tracepoint_marker_at and | |
3695 | remote_static_tracepoint_markers_by_strid. | |
3696 | (_initialize_remote): Install set|show remote static-tracepoints, | |
3697 | and set|show remote read-sdata-object commands. | |
3698 | * target.c (update_current_target): Inherit and default | |
3699 | to_static_tracepoint_marker_at, and | |
3700 | to_static_tracepoint_markers_by_strid. | |
3701 | * target.h (static_tracepoint_marker): Forward declare. | |
3702 | (enum target_object): New object TARGET_OBJECT_STATIC_TRACE_DATA. | |
889bf7c5 | 3703 | (static_tracepoint_marker_p): New typedef. |
0fb4aa4b PA |
3704 | (DEF_VEC_P(static_tracepoint_marker_p)): New VEC type. |
3705 | (struct target_ops): New fields to_static_tracepoint_marker_at and | |
3706 | to_static_tracepoint_markers_by_strid. | |
3707 | (target_static_tracepoint_marker_at) | |
3708 | (target_static_tracepoint_markers_by_strid): New. | |
3709 | * tracepoint.c: Include source.h. | |
3710 | (validate_actionline): Handle $_sdata. | |
3711 | (struct collection_list): New field strace_data. | |
3712 | (add_static_trace_data): New. | |
3713 | (clear_collection_list): Clear strace_data. | |
3714 | (stringify_collection_list): Account for a possible static trace | |
3715 | data collection. | |
3716 | (encode_actions_1): Encode an $_sdata collection. | |
3717 | (parse_tracepoint_definition): Handle static tracepoints. | |
3718 | (parse_static_tracepoint_marker_definition): New. | |
3719 | (release_static_tracepoint_marker): New. | |
3720 | (print_one_static_tracepoint_marker): New. | |
3721 | (info_static_tracepoint_markers_command): New. | |
3722 | (sdata_make_value): New. | |
3723 | (_initialize_tracepoint): Create the $_sdata convenience variable. | |
3724 | Add the "info static-tracepoint-markers" command. | |
3725 | Mention $_sdata in the "collect" command's help output. | |
3726 | * tracepoint.h (struct static_tracepoint_marker): New. | |
3727 | (parse_static_tracepoint_marker_definition) | |
3728 | (release_static_tracepoint_marker): Declare. | |
3729 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust. | |
3730 | * python/py-breakpoint.c (bppy_new): Adjust. | |
3731 | ||
aac63f0f JB |
3732 | 2010-06-30 Joel Brobecker <[email protected]> |
3733 | ||
3734 | * python/python-internal.h (_XOPEN_SOURCE): Undefine before | |
3735 | including Python.h. | |
3736 | ||
e68994a7 DE |
3737 | 2010-06-29 Doug Evans <[email protected]> |
3738 | ||
3863f96c DE |
3739 | PR gdb/11702 |
3740 | * dwarf2read.c (dwarf2_add_field): Only create a symbol if | |
3741 | DW_AT_external is present. | |
3742 | ||
254e6b9e DE |
3743 | PR gdb/11702 |
3744 | * NEWS: Add entry. | |
3745 | * dwarf2read.c (dwarf2_add_field): If DW_AT_const_value is present, | |
3746 | create a symbol for the field and record the value. | |
3747 | (new_symbol): Handle DW_TAG_member. | |
3748 | * gdbtypes.c (field_is_static): Remove FIXME. | |
3749 | * symtab.c (search_symbols): When searching for VARIABLES_DOMAIN, | |
3750 | only ignore LOC_CONST symbols that are enums. | |
3751 | ||
6e70227d DE |
3752 | * dwarf2read.c: Remove trailing whitespace. |
3753 | ||
e68994a7 DE |
3754 | Delete FIELD_LOC_KIND_DWARF_BLOCK, unused. |
3755 | * gdbtypes.h (enum field_loc_kind): Delete FIELD_LOC_KIND_DWARF_BLOCK. | |
3756 | (struct main_type, field loc): Delete dwarf_block. | |
3757 | (FIELD_DWARF_BLOCK): Delete. | |
3758 | (SET_FIELD_DWARF_BLOCK): Delete. | |
3759 | (TYPE_FIELD_DWARF_BLOCK): Delete. | |
3760 | * gdb-gdb.py (StructMainTypePrettyPrinter.struct_field_location_img): | |
3761 | Update. | |
3762 | ||
a480d2f6 HZ |
3763 | 2010-06-29 Hui Zhu <[email protected]> |
3764 | ||
3765 | * record.c (set_record_pic_cmdlist, | |
3766 | show_record_pic_cmdlist): New variables. | |
3767 | (set_record_pic_command, | |
3768 | show_record_pic_command): New functions. | |
3769 | (record_pic_function, record_pic_line, record_pic_enum, | |
3770 | set_record_pic_type, record_pic_hide_nofunction, | |
3771 | record_pic_hide_nosource, record_pic_hide_same): New variables. | |
3772 | (record_pic_fputs): New function. | |
3773 | (function_list, node_list, edge_list): New struct. | |
3774 | (function_list, node_list, edge_list): New variables. | |
3775 | (record_pic_cleanups, record_pic_node, | |
3776 | record_pic_edge, cmd_record_pic): New functions. | |
3777 | (_initialize_record): Add new commands for record pic. | |
3778 | ||
a0d7a4ff JK |
3779 | 2010-06-28 Jan Kratochvil <[email protected]> |
3780 | ||
3781 | * dwarf2read.c (read_structure_type) <fi.typedef_field_list>: Call | |
3782 | ALLOCATE_CPLUS_STRUCT_TYPE. | |
3783 | ||
595939de | 3784 | 2010-06-28 Phil Muldoon <[email protected]> |
889bf7c5 PA |
3785 | Tom Tromey <[email protected]> |
3786 | Thiago Jung Bauermann <[email protected]> | |
595939de PM |
3787 | |
3788 | * value.c (pack_unsigned_long): New function. | |
3789 | (value_from_ulongest): New function. | |
3790 | * value.h (value_from_ulongest): Declare. | |
3791 | * python/python.c (_initialize_python): Call | |
3792 | gdbpy_initialize_thread and gdbpy_initialize_inferior. | |
3793 | * python/python-internal.h: Define thread_object. | |
3794 | (gdbpy_inferiors, gdbpy_selected_thread) | |
3795 | (frame_info_to_frame_object, create_thread_object) | |
3796 | (find_thread_object, find_inferior_object) | |
3797 | (gdbpy_initialize_thread, gdbpy_initialize_inferiors) | |
3798 | (gdbpy_is_value_object, get_addr_from_python): Declare. | |
3799 | * python/py-value.c (builtin_type_upylong): Define. | |
3800 | (convert_value_from_python): Add logic for ulongest. | |
3801 | (gdbpy_is_value_object): New function. | |
3802 | * python/py-utils.c (get_addr_from_python): New function. | |
3803 | * python/py-frame.c (frame_info_to_frame_object): Return a PyObject. | |
3804 | (gdbpy_selected_frame): Use PyObject over frame_info. | |
3805 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-inferior and | |
3806 | py-infthread. | |
3807 | (SUBDIR_PYTHON_SRCS): Likewise. | |
3808 | (py-inferior.o): New Rule. | |
3809 | (py-infthread.o): New Rule. | |
3810 | * python/py-inferior.c: New File. | |
3811 | * python/py-infthread.c: New File. | |
3812 | ||
98751a41 JK |
3813 | 2010-06-28 Jan Kratochvil <[email protected]> |
3814 | ||
3815 | * c-typeprint.c (c_type_print_base): For no fields check include also | |
3816 | TYPE_TYPEDEF_FIELD_COUNT. Print new typedefs section. | |
3817 | * dwarf2read.c (struct typedef_field_list) | |
3818 | (struct field_info) <typedef_field_list, typedef_field_list_count>: New. | |
3819 | (dwarf2_add_typedef): New. | |
3820 | (read_structure_type): Call dwarf2_add_typedef for DW_TAG_typedef. | |
3821 | Copy also FI.TYPEDEF_FIELD_LIST. | |
3822 | * gdbtypes.h (struct typedef_field) | |
3823 | (struct cplus_struct_type) <typedef_field, typedef_field_count> | |
3824 | (TYPE_TYPEDEF_FIELD_ARRAY, TYPE_TYPEDEF_FIELD, TYPE_TYPEDEF_FIELD_NAME) | |
3825 | (TYPE_TYPEDEF_FIELD_TYPE, TYPE_TYPEDEF_FIELD_COUNT): New. | |
3826 | ||
41f62f39 JK |
3827 | 2010-06-28 Jan Kratochvil <[email protected]> |
3828 | ||
3829 | * cp-namespace.c (cp_lookup_nested_type): New variable | |
3830 | concatenated_name. Turn the current return condition into a reverse | |
3831 | one. Call also lookup_static_symbol_aux on the constructed qualified | |
3832 | name. | |
3833 | * symtab.c (lookup_symbol_aux): Move variable objfile and searching in | |
3834 | other files into a called ... | |
3835 | (lookup_static_symbol_aux): ... new function here. | |
3836 | * symtab.h (lookup_static_symbol_aux): New prototype. | |
3837 | * valops.c (value_maybe_namespace_elt): Call also | |
3838 | lookup_static_symbol_aux if we failed otherwise. | |
3839 | ||
af53d231 JK |
3840 | 2010-06-28 Jan Kratochvil <[email protected]> |
3841 | ||
3842 | Fix PR c++/11703 and PR gdb/1448. | |
3843 | * c-exp.y (yylex) <last_was_coloncolon && first_was_coloncolon>: Add | |
3844 | FIRST_ITER check. | |
3845 | ||
9655fd1a JK |
3846 | 2010-06-28 Jan Kratochvil <[email protected]> |
3847 | ||
3848 | Fix modification of cplus_struct_default. | |
3849 | * dwarf2read.c (dwarf2_add_member_fn) <no DW_AT_vtable_elem_location>: | |
3850 | Call ALLOCATE_CPLUS_STRUCT_TYPE. | |
3851 | * gdbtypes.c (cplus_struct_default): New empty initializer, comment it. | |
3852 | ||
9279c692 JB |
3853 | 2010-06-28 Joel Brobecker <[email protected]> |
3854 | ||
3855 | * NEWS: Add entry announcing the python directory. | |
3856 | ||
d3f41bb1 TT |
3857 | 2010-06-28 Tom Tromey <[email protected]> |
3858 | ||
3859 | * dwarf2read.c (read_structure_type): Allocate null cleanup later. | |
3860 | ||
23e7acfb DE |
3861 | 2010-06-28 Doug Evans <[email protected]> |
3862 | ||
3863 | * breakpoint.c (breakpoint_sals_to_pc): Delete arg address, unused. | |
3864 | All callers updated. | |
3865 | ||
6036c742 JK |
3866 | 2010-06-28 Jan Kratochvil <[email protected]> |
3867 | ||
3868 | * cp-valprint.c (cp_print_value_fields) <recurse == 0>: Call | |
3869 | obstack_begin after each obstack_free. | |
3870 | ||
9f18a3b3 DE |
3871 | 2010-06-27 Doug Evans <[email protected]> |
3872 | ||
1596cb5d DE |
3873 | * value.c (value_static_field): Use `switch' instead of `if'. |
3874 | Assert-fail if passed invalid TYPE_FIELD_LOC_KIND. | |
3875 | ||
9f18a3b3 DE |
3876 | * valops.c (search_struct_field): Fix typo in error message. |
3877 | ||
43dabe42 UW |
3878 | 2010-06-26 Ulrich Weigand <[email protected]> |
3879 | ||
3880 | * dwarf2expr.c (execute_stack_op): Place preprocessor | |
3881 | directives at the start of the source line. | |
3882 | ||
0f3bb72e PH |
3883 | 2010-06-25 Paul Hilfinger <[email protected]> |
3884 | ||
6036c742 JK |
3885 | * defs.h (make_command_stats_cleanup): Declare. |
3886 | (set_display_time): Declare. | |
3887 | (set_display_space): Declare. | |
3888 | * event-top.c (command_handler): Use make_command_stats_cleanup. | |
3889 | * main.c (display_time, display_space): Move definitions to utils.c. | |
3890 | (captured_main): Use make_command_stats_cleanup to get start-up | |
3891 | statistics. | |
3892 | Use set_display_time and set_display_space for processing OPT_STATISTICS | |
3893 | case. | |
3894 | * maint.c (maintenance_time_display): Use set_display_time. | |
3895 | (maintenance_space_display): Use set_display_space. | |
3896 | * top.c (execute_command): Remove obsolete 'maint time' code. | |
3897 | (command_loop): Use make_command_stats_cleanup. | |
3898 | * utils.c (struct cmd_stats): Structure for storing initial time | |
3899 | and space usage. | |
3900 | (display_time, display_space): Move definitions here from utils.c. | |
3901 | (set_display_time): New function. | |
3902 | (set_display_space): New function. | |
3903 | (make_command_stats_cleanup): New function. | |
3904 | (report_command_stats): New auxiliary function for | |
3905 | make_command_stats_cleanup. | |
0f3bb72e | 3906 | |
070c8028 UW |
3907 | 2010-06-25 Ulrich Weigand <[email protected]> |
3908 | ||
3909 | * solib-spu.c (append_ocl_sos): Fix xsnprintf statement for | |
3910 | hosts where CORE_ADDR is long long. | |
3911 | ||
bc9f0842 TT |
3912 | 2010-06-25 Tom Tromey <[email protected]> |
3913 | ||
3914 | PR python/10808: | |
3915 | * python/python.c (execute_gdb_command): Add keywords. Accept | |
3916 | "to_string" argument. | |
3917 | (struct restore_ui_file_closure): New. | |
3918 | (restore_ui_file): New function. | |
3919 | (make_cleanup_restore_ui_file): Likewise. | |
3920 | (GdbMethods) <execute>: Update. | |
3921 | ||
c0cc4c83 UW |
3922 | 2010-06-25 Ulrich Weigand <[email protected]> |
3923 | ||
3924 | * s390-tdep.c (s390_push_dummy_call): Error on stack overflow | |
3925 | during inferior call stack frame setup. | |
3926 | ||
f1d8ee66 UW |
3927 | 2010-06-25 Ken Werner <[email protected]> |
3928 | ||
3929 | * solib-spu.c: Include "exception.h". | |
3930 | (ocl_program_data_key): New variable. | |
3931 | (append_ocl_sos): New function. | |
3932 | (ocl_enable_break): Likewise. | |
3933 | (spu_current_sos): Call append_ocl_sos. | |
3934 | (spu_solib_loaded): Call ocl_enable_break. | |
3935 | (_initialize_spu_solib): Register ocl_program_data_key. | |
3936 | ||
19c0c0f8 UW |
3937 | 2010-06-25 Ulrich Weigand <[email protected]> |
3938 | ||
3939 | * cp-support.c (reset_directive_searched): New function. | |
3940 | (make_symbol_overload_list_using): Prevent recursive calls. | |
3941 | ||
0f6a939d PM |
3942 | 2010-06-25 Phil Muldoon <[email protected]> |
3943 | ||
3944 | * printcmd.c (print_variable_and_value): Print error message on | |
3945 | caught exception. | |
3946 | ||
f2c7657e UW |
3947 | 2010-06-25 Ulrich Weigand <[email protected]> |
3948 | ||
3949 | * dwarf2expr.h (struct dwarf_value_location): Use ULONGEST as type | |
3950 | of stack values. | |
3951 | (struct dwarf_expr_piece): Rename "expr" member to "mem". Add new | |
3952 | "value" member. | |
3953 | (dwarf_expr_push): Change input type to ULONGEST. | |
3954 | (dwarf_expr_fetch): Change return type to ULONGEST. | |
3955 | (dwarf_expr_fetch_address): Add prototype. | |
3956 | (dwarf2_read_address): Remove prototype. | |
3957 | * dwarf2expr.c (dwarf_expr_push): Use ULONGEST as type of stack values. | |
3958 | Truncate stack values to ctx->addr_size bytes. | |
3959 | (dwarf_expr_fetch): Change return value to ULONGEST. | |
3960 | (dwarf_expr_fetch_address): New function. | |
3961 | (add_piece): Use dwarf_expr_fetch_address instead of dwarf_expr_fetch | |
3962 | when appropriate. Update for struct dwarf_expr_piece changes. | |
3963 | (dwarf2_read_address): Remove. | |
3964 | (unsigned_address_type): Remove. | |
3965 | (signed_address_type): Remove. | |
3966 | (execute_stack_op): Use dwarf_expr_fetch_address instead of | |
3967 | dwarf_expr_fetch when appropriate. Use ULONGEST as type of stack | |
3968 | values. Perform operations on ULONGEST instead of on GDB values, | |
3969 | sign-extending from ctx->addr_size bytes as needed. Read DW_OP_addr | |
3970 | values and DW_OP_deref results as unsigned integers. | |
3971 | * dwarf2loc.c (read_pieced_value): Update for struct dwarf_expr_piece | |
3972 | changes. | |
3973 | (write_pieced_value): Likewise. | |
3974 | (dwarf2_evaluate_loc_desc): Use dwarf_expr_fetch_address instead of | |
3975 | dwarf_expr_fetch when appropriate. | |
3976 | (compile_dwarf_to_ax): Read DW_OP_addr values as unsigned integers. | |
3977 | * dwarf2-frame.c (execute_stack_op): Use dwarf_expr_fetch_address | |
3978 | instead of dwarf_expr_fetch when appropriate. | |
3979 | ||
b1d61bc9 PM |
3980 | 2010-06-25 Pierre Muller <[email protected]> |
3981 | ||
3982 | * c-typeprint.c (c_print_typedef): Append new type name for typedefs. | |
3983 | ||
b14285f6 JB |
3984 | 2010-06-24 Joel Brobecker <[email protected]> |
3985 | ||
3986 | * python/python.c (_initialize_python): Add new "constant" | |
3987 | PYTHONDIR in gdb module. Insert this path at the head of | |
3988 | sys.path. Set gdb.__path__ to gdb.PYTHONDIR + '/gdb' and | |
3989 | exec its __init__.py script if it exists in that directory. | |
3990 | ||
fd60dc69 KB |
3991 | 2010-06-24 Kevin Buettner <[email protected]> |
3992 | ||
3993 | * rx-tdep.c (RX_ACC_REGNUM): Define. | |
3994 | (RX_NUM_REGS): Redefine to 26. | |
3995 | (rx_register_name): Add register "acc". Change order of several | |
3996 | registers. Change name of "vct" register to "fintv" to match RX | |
3997 | documentation. | |
3998 | (rx_register_type): Add case for RX_ACC_REGNUM. | |
3999 | ||
18430289 TT |
4000 | 2010-06-24 Tom Tromey <[email protected]> |
4001 | ||
4002 | * psymtab.c (lookup_partial_symbol): Mark definition as static. | |
4003 | ||
40618926 JK |
4004 | 2010-06-24 Jan Kratochvil <[email protected]> |
4005 | Tom Tromey <[email protected]> | |
4006 | ||
4007 | Fix GDB startup on readonly filesystem. | |
4008 | * charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init. | |
4009 | ||
628fe4e4 JK |
4010 | 2010-06-24 Jan Kratochvil <[email protected]> |
4011 | Pedro Alves <[email protected]> | |
4012 | ||
4013 | Fix PR 9436. | |
4014 | * breakpoint.c (handle_jit_event): New function. | |
4015 | (bpstat_what): Remove enum class, kc, ss, sn, sgl, slr, clr, sr, shl, | |
4016 | jit, err, table and bs_class. New variables shlib_event, jit_event, | |
4017 | this_action and bptype. Change bs_class assignments to this_action | |
4018 | assignments. new unhandled bptype internal error. Move here | |
4019 | shlib_event and jit_event handling from handle_inferior_event. | |
4020 | * breakpoint.h (enum bpstat_what_main_action): Extend the comment. | |
4021 | Reorder items. Remove BPSTAT_WHAT_CHECK_SHLIBS and | |
4022 | BPSTAT_WHAT_CHECK_JIT. | |
4023 | * inferior.h (debug_infrun, stop_on_solib_events): New declarations. | |
4024 | * infrun.c (debug_infrun, stop_on_solib_events): Remove static. | |
4025 | (handle_inferior_event): Reinitialize frame and gdbarch after | |
4026 | bpstat_what call. Move BPSTAT_WHAT_CHECK_SHLIBS and | |
4027 | BPSTAT_WHAT_CHECK_JIT handling to bpstat_what. Reinitialize even | |
4028 | gdbarch when frame gets reinitialized. | |
4029 | ||
f1421989 HZ |
4030 | 2010-06-24 Hui Zhu <[email protected]> |
4031 | ||
4032 | * printcmd.c (ui_printf): New function. | |
4033 | (printf_command): Call ui_printf. | |
4034 | (_initialize_printcmd): New command "eval". | |
4035 | ||
d03285ec UW |
4036 | 2010-06-23 Ulrich Weigand <[email protected]> |
4037 | ||
4038 | * infrun.c (handle_inferior_event): Handle presence of single-step | |
4039 | breakpoints for TARGET_WAITKIND_FORKED and TARGET_WAITKIND_VFORKED. | |
4040 | Cancel single-step breakpoints for TARGET_WAITKIND_EXITED, | |
4041 | TARGET_WAITKIND_SIGNALED, and TARGET_WAITKIND_EXECD. | |
4042 | * breakpoint.c (detach_single_step_breakpoints): New function. | |
4043 | (detach_breakpoints): Call it. | |
4044 | (cancel_single_step_breakpoints): New function. | |
4045 | * breakpoint.h (cancel_single_step_breakpoints): Add prototype. | |
4046 | ||
4047 | * spu-tdep.c (spu_memory_remove_breakpoint): New function. | |
4048 | (spu_gdbarch_init): Install it. | |
4049 | ||
38f6b338 JK |
4050 | 2010-06-23 Jan Kratochvil <[email protected]> |
4051 | ||
4052 | * configure.ac: Always set RDYNAMIC at least as `-rdynamic'. | |
4053 | * configure: Regenerate. | |
4054 | ||
bb08c432 HZ |
4055 | 2010-06-22 Hui Zhu <[email protected]> |
4056 | ||
4057 | * i386-tdep.c (i386_record_lea_modrm): Change warning to query. | |
4058 | (i386_process_record): Ditto. | |
4059 | * record.c (record_memory_query): New variable. | |
4060 | (_initialize_record): New command "set record memory-query". | |
4061 | * record.h (record_memory_query): New extern. | |
4062 | ||
b55078be DE |
4063 | 2010-06-21 Doug Evans <[email protected]> |
4064 | ||
4065 | * i386-tdep.h (i386_displaced_step_copy_insn): Declare. | |
4066 | * i386-tdep.c (i386_displaced_step_copy_insn): New function. | |
4067 | (i386_syscall_p): Change type of lengthp to int. | |
4068 | (i386_displaced_step_fixup): Handle kernels that run one past a | |
4069 | syscall insn. | |
4070 | * i386-linux-tdep.c (i386_linux_init_abi): Use | |
4071 | i386_displaced_step_copy_insn instead of | |
4072 | simple_displaced_step_copy_insn. | |
4073 | ||
75079b2b TT |
4074 | 2010-06-21 Tom Tromey <[email protected]> |
4075 | ||
4076 | * dwarf2read.c (read_base_type): Handle DW_ATE_UTF. | |
4077 | (dwarf_type_encoding_name): Likewise. | |
4078 | ||
b00fdb78 TT |
4079 | 2010-06-21 Tom Tromey <[email protected]> |
4080 | ||
4081 | * p-valprint.c (pascal_val_print): Use TYPE_ERROR_NAME. | |
4082 | * p-typeprint.c (pascal_type_print_base): Use TYPE_ERROR_NAME. | |
4083 | * m2-valprint.c (m2_val_print): Use TYPE_ERROR_NAME. | |
4084 | * gdbtypes.h (TYPE_ERROR_NAME): New macro. | |
4085 | * f-valprint.c (f_val_print): Use TYPE_ERROR_NAME. | |
4086 | * f-typeprint.c (f_type_print_base): Use TYPE_ERROR_NAME. | |
4087 | * dwarf2read.c (tag_type_to_type): Create a new error type on | |
4088 | failure. | |
4089 | * c-valprint.c (c_val_print): Use TYPE_ERROR_NAME. | |
4090 | * c-typeprint.c (c_type_print_base): Use TYPE_ERROR_NAME. | |
4091 | ||
84951ab5 MS |
4092 | 2010-06-21 Michael Snyder <[email protected]> |
4093 | ||
889bf7c5 | 4094 | * breakpoint.c (_initialize_breakpoint): Use add_prefix_cmd, |
84951ab5 MS |
4095 | not add_abbrev_prefix_cmd, for "enable breakpoints". |
4096 | ||
d4a087c7 UW |
4097 | 2010-06-21 Ulrich Weigand <[email protected]> |
4098 | ||
4099 | * dwarf2loc.c (find_location_expression): Add relocation offset | |
4100 | to base-address-selection entry base addresses. Read addresses | |
4101 | (and offsets) as signed/unsigned integers, depending on the | |
4102 | BFD's sign_extend_vma flag. Do not call dwarf2_read_address. | |
4103 | (loclist_describe_location): Likewise. | |
4104 | (disassemble_dwarf_expression): Read DW_OP_addr operand as | |
4105 | unsigned integer. Do not call dwarf2_read_address. | |
4106 | (locexpr_describe_location): Likewise for DW_OP_GNU_push_tls_address. | |
4107 | ||
13def385 UW |
4108 | 2010-06-19 Ulrich Weigand <[email protected]> |
4109 | ||
4110 | * spu-tdep.c (spu_frame_unwind_cache): Use LSLR register | |
4111 | value instead of hard-coded SPU_LS_SIZE. | |
4112 | (spu_software_single_step): Likewise. | |
4113 | * spu-tdep.h (SPU_LS_SIZE): Remove. | |
4114 | ||
d2ed6730 UW |
4115 | 2010-06-19 Ulrich Weigand <[email protected]> |
4116 | ||
4117 | * spu-multiarch.c (spu_xfer_partial): Wrap around local store | |
4118 | limit on local store memory accesses. | |
4119 | * spu-linux-nat.c (spu_xfer_partial): Likewise. | |
4120 | * spu-tdep.c (spu_lslr): Remove. | |
4121 | (spu_pointer_to_address): Do not truncate addresses. | |
4122 | (spu_integer_to_address): Likewise. | |
4123 | (spu_overlay_new_objfile): Use SPU_OVERLAY_LMA. | |
4124 | * spu-tdep.h: Add comments. | |
4125 | (SPUADDR_SPU): Respect SPU_OVERLAY_LMA bit. | |
4126 | (SPU_OVERLAY_LMA): Define. | |
4127 | ||
6aed2dbc SS |
4128 | 2010-06-18 Stan Shebs <[email protected]> |
4129 | ||
a61408f8 SS |
4130 | * osdata.c (get_osdata): Warn separately if target does not report |
4131 | type list. | |
4132 | (info_osdata_command): Allow empty type, report error if target | |
4133 | does not return available types of OS data. | |
4134 | * linux-nat.c (linux_nat_xfer_osdata): Report list of OS data | |
4135 | types if no annex supplied. | |
4136 | ||
6aed2dbc SS |
4137 | * thread.c (thread_id_make_value): Make a value representing the |
4138 | current thread. | |
4139 | (_initialize_thread): Create $_thread. | |
4140 | ||
ec61707d JB |
4141 | 2010-06-17 Joel Brobecker <[email protected]> |
4142 | ||
4143 | * dwarf2read.c (psymtabs_addrmap_cleanup): Add empty line after | |
4144 | last local variable declaration. No real code change. | |
4145 | ||
60606b2c TT |
4146 | 2010-06-17 Tom Tromey <[email protected]> |
4147 | ||
4148 | * dwarf2read.c (psymtabs_addrmap_cleanup): New function. | |
4149 | (dwarf2_build_psymtabs_hard): Use it. Create addrmap on a | |
4150 | temporary obstack. | |
4151 | ||
65d79d4b SDJ |
4152 | 2010-06-16 Sergio Durigan Junior <[email protected]> |
4153 | Jan Kratochvil <[email protected]> | |
4154 | ||
4155 | * breakpoint.c: Include parser-defs.h. | |
4156 | (watchpoint_exp_is_const): New function. | |
4157 | (watch_command_1): Call watchpoint_exp_is_const to check | |
4158 | if the expression is constant. | |
4159 | ||
0407b3f1 AS |
4160 | 2010-06-15 Andreas Schwab <[email protected]> |
4161 | ||
4162 | * configure.ac: Check for RDYNAMIC also for cross builds. | |
4163 | * configure: Regenerate. | |
4164 | ||
98d64339 PA |
4165 | 2010-06-15 Pedro Alves <[email protected]> |
4166 | ||
4167 | * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o. | |
4168 | (SFILES): Remove solib-null.c, add solib-target.c. | |
4169 | (COMMON_OBS): Remove solib-null.o, add solib-target.o. | |
4170 | (ALLDEPFILES): Remove solib-target.c. | |
4171 | * solib-target.c (_initialize_solib_target): Set | |
4172 | current_target_so_ops to solib_target_so_ops if not already set. | |
4173 | * solib-null.c: Delete. | |
4174 | ||
6a271cae PA |
4175 | 2010-06-14 Pedro Alves <[email protected]> |
4176 | ||
4177 | * NEWS: Mention GDBserver's JIT compilation of tracepoint | |
4178 | bytecode. | |
4179 | ||
1e9beacb UW |
4180 | 2010-06-14 Ulrich Weigand <[email protected]> |
4181 | ||
4182 | * cp-valprint.c (cp_print_static_field): Members of | |
4183 | dont_print_stat_array_obstack are of type "struct type *". | |
4184 | (_initialize_cp_valprint): Likewise. | |
4185 | ||
21a176fb UW |
4186 | 2010-06-14 Ulrich Weigand <[email protected]> |
4187 | ||
4188 | * frame.c (frame_register_unwind): Do not access contents | |
4189 | of "optimized out" unwound register value. | |
4190 | ||
25b524e8 JK |
4191 | 2010-06-14 Jan Kratochvil <[email protected]> |
4192 | ||
4193 | * ada-lang.h (ada_print_type): Make varstring const. | |
4194 | * ada-typeprint.c (print_func_type): Make name const. | |
4195 | (ada_print_type): Make varstring const. | |
4196 | * c-lang.h (c_print_type): Make varstring const. | |
4197 | * c-typeprint.c (c_print_type): Likewise. | |
4198 | * f-lang.h (f_print_type): Likewise. | |
4199 | * f-typeprint.c (f_print_type): Likewise. | |
4200 | * jv-lang.h (java_print_type): Likewise. | |
4201 | * jv-typeprint.c (java_print_type): Likewise. | |
4202 | * language.c (unk_lang_print_type): Likewise. | |
4203 | * language.h (struct language_defn) <la_print_type>: Likewise. | |
4204 | * m2-lang.h (m2_print_type): Likewise. | |
4205 | * m2-typeprint.c (m2_print_type): Likewise. | |
4206 | * p-lang.h (pascal_print_type): Likewise. | |
4207 | * p-typeprint.c (pascal_print_type): Likewise. | |
4208 | ||
d914c394 SS |
4209 | 2010-06-11 Stan Shebs <[email protected]> |
4210 | ||
4211 | Add per-operation permission flags. | |
4212 | ||
4213 | * target.h (struct target_ops): New method to_set_permissions. | |
4214 | (target_set_permissions): New macro. | |
4215 | (target_insert_breakpoint): Change macro to function. | |
4216 | (target_remove_breakpoint): Ditto. | |
4217 | (target_stop): Ditto. | |
4218 | (may_write_registers): Declare. | |
4219 | (may_write_memory): Declare. | |
4220 | (may_insert_breakpoints): Declare. | |
4221 | (may_insert_tracepoints): Declare. | |
4222 | (may_insert_fast_tracepoints): Declare. | |
4223 | (may_stop): Declare. | |
4224 | * target.c (may_write_registers, may_write_registers_1): New globals. | |
4225 | (may_write_memory, may_write_memory_1): New globals. | |
4226 | (may_insert_breakpoints, may_insert_breakpoints_1): New globals. | |
4227 | (may_insert_tracepoints, may_insert_tracepoints_1): New globals. | |
4228 | (may_insert_fast_tracepoints, may_insert_fast_tracepoints_1): New | |
4229 | globals. | |
4230 | (may_stop, may_stop_1): New global. | |
4231 | (target_xfer_partial): Test for write permission. | |
4232 | (target_store_registers): Ditto. | |
4233 | (target_insert_breakpoint): New function. | |
4234 | (target_remove_breakpoint): New function. | |
4235 | (target_stop): New function. | |
4236 | (_initialize_targets): Add new set/show variables. | |
4237 | (set_write_memory_permission): New function. | |
4238 | (update_target_permissions): New function. | |
4239 | (set_target_permissions): New function. | |
4240 | (update_current_target): Default to_set_permissions. | |
4241 | (_initialize_targets): Use new globals and setter function. | |
4242 | * tracepoint.c (start_tracing): Test for permission. | |
4243 | * inferior.h (update_observer_mode): Declare. | |
4244 | * infrun.c (non_stop_1): Define earlier. | |
4245 | (observer_mode, observer_mode_1): New globals. | |
4246 | (set_observer_mode, show_observer_mode): New functions. | |
4247 | (update_observer_mode): New function. | |
4248 | (_initialize_infrun): Define "set observer" command. | |
4249 | * remote.c (PACKET_QAllow): New optional packet. | |
4250 | (remote_protocol_features): Add QAllow. | |
4251 | (remote_set_permissions): New function. | |
4252 | (remote_start_remote): Call it. | |
4253 | (init_remote_ops): Add it to target vector. | |
4254 | (_initialize_remote): Add config command for QAllow. | |
4255 | ||
aec5aa8b TT |
4256 | 2010-06-11 Tom Tromey <[email protected]> |
4257 | ||
4258 | * dwarf2read.c (dwarf2_add_member_fn): Handle correct form of | |
4259 | DW_AT_vtable_elem_location even when GCC extension is seen. | |
4260 | ||
0e03807e TT |
4261 | 2010-06-11 Tom Tromey <[email protected]> |
4262 | ||
4263 | PR gdb/9977, PR exp/11636: | |
4264 | * value.h (value_offset): Update. | |
4265 | (struct lval_funcs) <check_validity>: New field. | |
4266 | <copy_closure>: Make argument const. | |
4267 | (value_computed_closure): Update. | |
4268 | (value_contents_for_printing): Declare. | |
4269 | (value_bits_valid): Likewise. | |
4270 | (val_print): Likewise. | |
4271 | (set_value_component_location): Update. | |
4272 | (value_entirely_optimized_out): Declare. | |
4273 | * value.c (value_offset): Argument now const. | |
4274 | (require_not_optimized_out): New function. | |
4275 | (value_contents_for_printing): New function. | |
4276 | (value_contents_all): Call require_not_optimized_out. | |
4277 | (value_contents): Likewise. | |
4278 | (value_bits_valid): New function. | |
4279 | (value_computed_closure): Argument now const. | |
4280 | (set_value_component_location): Make 'whole' argument const. | |
4281 | (value_entirely_optimized_out): New function. | |
4282 | (value_bitsize): Argument now 'const'. | |
4283 | (value_bitpos): Likewise. | |
4284 | (value_type): Likewise. | |
4285 | * valprint.h (val_print_array_elements): Update. | |
4286 | * valprint.c (val_print): Add 'val' argument. Use | |
4287 | valprint_check_validity. | |
4288 | (valprint_check_validity): New function. | |
4289 | (value_check_printable): Use value_entirely_optimized_out. | |
4290 | (common_val_print): Update. | |
4291 | (value_print): Likewise. | |
4292 | (val_print_array_elements): Add 'val' argument. | |
4293 | * valops.c (value_fetch_lazy): Use value_contents_for_printing, | |
4294 | value_bits_valid. Reinit frame cache for lval_computed. | |
4295 | * sh64-tdep.c (sh64_do_register): Update. | |
4296 | * scm-valprint.c (scm_val_print): Add 'val' argument. | |
4297 | * scm-lang.h (scm_val_print): Update. | |
4298 | * python/python.h (apply_val_pretty_printer): Update. | |
4299 | * python/py-prettyprint.c (apply_val_pretty_printer): Add 'val' | |
4300 | argument. Call set_value_component_location. | |
4301 | * printcmd.c (print_scalar_formatted): Update. | |
4302 | * p-valprint.c (pascal_val_print): Add 'val' argument. | |
4303 | (pascal_object_print_value_fields): Likewise. | |
4304 | (pascal_object_print_value): Likewise. | |
4305 | (pascal_object_print_static_field): Update. | |
4306 | * p-lang.h (pascal_val_print): Update. | |
4307 | (pascal_object_print_value_fields): Update. | |
4308 | * mt-tdep.c (mt_registers_info): Update. | |
4309 | * mi/mi-main.c (get_register): Update. | |
4310 | (mi_cmd_data_evaluate_expression): Use common_val_print. | |
4311 | * m2-valprint.c (m2_print_array_contents): Add 'val' argument. | |
4312 | (m2_print_unbounded_array): Likewise. | |
4313 | (m2_val_print): Likewise. | |
4314 | * m2-lang.h (m2_val_print): Update. | |
4315 | * language.h (struct language_defn) <la_val_print>: Add 'val' | |
4316 | argument. | |
4317 | (LA_VAL_PRINT): Likewise. | |
4318 | * language.c (unk_lang_val_print): Add 'val' argument. | |
4319 | * jv-valprint.c (java_print_value_fields): Add 'val' argument. | |
4320 | (java_val_print): Likewise. | |
4321 | * jv-lang.h (java_val_print): Add 'val' argument. | |
4322 | * infcmd.c (default_print_registers_info): Update. | |
4323 | * f-valprint.c (f77_print_array_1): Add 'val' argument. | |
4324 | (f77_print_array): Likewise. | |
4325 | (f_val_print): Likewise. | |
4326 | * f-lang.h (f_val_print): Add 'val' argument. | |
4327 | * dwarf2loc.c (read_pieced_value): Use value_bitsize and | |
4328 | value_bitpos. | |
4329 | <DWARF_VALUE_OPTIMIZED_OUT>: Don't print warning. Call | |
4330 | set_value_optimized_out. | |
4331 | (write_pieced_value): Use value_bitsize and value_bitpos. | |
4332 | <default>: Don't exit loop. | |
4333 | (check_pieced_value_validity): New function. | |
4334 | (pieced_value_funcs): Reference check_pieced_value_validity, | |
4335 | check_pieced_value_invalid. | |
4336 | (copy_pieced_value_closure): Update. | |
4337 | (check_pieced_value_bits): New function. | |
4338 | (check_pieced_value_invalid): New function. | |
4339 | * d-valprint.c (dynamic_array_type): Add 'val' argument. | |
4340 | (d_val_print): Likewise. | |
4341 | * d-lang.h (d_val_print): Update. | |
4342 | * cp-valprint.c (cp_print_value_fields): Add 'val' argument. | |
4343 | (cp_print_value_fields_rtti): Likewise. | |
4344 | (cp_print_value): Likewise. | |
4345 | (cp_print_static_field): Update. | |
4346 | * c-valprint.c (c_val_print): Add 'val' argument. | |
4347 | (c_value_print): Update. | |
4348 | * c-lang.h (c_val_print): Update. | |
4349 | (cp_print_value_fields): Likewise. | |
4350 | (cp_print_value_fields_rtti): Likewise. | |
4351 | * ada-valprint.c (struct ada_val_print_args): Remove. | |
4352 | (val_print_packed_array_elements): Add 'val' argument. | |
4353 | (ada_val_print): Likewise. Rewrite. | |
4354 | (ada_val_print_stub): Remove. | |
4355 | (ada_val_print_array): Add 'val' argument. | |
4356 | (ada_val_print_1): Likewise. | |
4357 | (print_variant_part): Likewise. | |
4358 | (ada_value_print): Update. | |
4359 | (print_record): Add 'val' argument. | |
4360 | (print_field_values): Likewise. | |
4361 | * ada-lang.h (ada_val_print): Update. | |
4362 | ||
3cf03773 TT |
4363 | 2010-06-11 Tom Tromey <[email protected]> |
4364 | ||
4365 | * vec.h (VEC_cleanup): New macro. | |
4366 | (DEF_VEC_ALLOC_FUNC_I): Update. | |
4367 | (DEF_VEC_ALLOC_FUNC_P): Likewise. | |
4368 | (DEF_VEC_ALLOC_FUNC_O): Likewise. | |
4369 | * dwarf2loc.c (struct axs_var_loc): Remove. | |
4370 | (unimplemented): New function. | |
4371 | (translate_register): Likewise. | |
4372 | (access_memory): Likewise. | |
4373 | (compile_dwarf_to_ax): Likewise. | |
4374 | (dwarf2_tracepoint_var_loc): Remove. | |
4375 | (dwarf2_tracepoint_var_access): Likewise. | |
4376 | (dwarf2_tracepoint_var_ref): Likewise. | |
4377 | (locexpr_tracepoint_var_ref): Use compile_dwarf_to_ax. | |
4378 | (loclist_tracepoint_var_ref): Likewise. | |
4379 | * dwarf2expr.h (dwarf_expr_require_composition): Declare. | |
4380 | * dwarf2expr.c (dwarf_expr_require_composition): Rename from | |
4381 | require_composition. No longer static. | |
4382 | (execute_stack_op): Update. | |
4383 | * ax-gdb.h (trace_kludge): Declare. | |
4384 | ||
2bdf28a0 JK |
4385 | 2010-06-11 Jan Kratochvil <[email protected]> |
4386 | ||
4387 | * breakpoint.c (breakpoint_restore_shadows): New OWNER comment. | |
4388 | (should_be_inserted): Return zero also on NULL OWNER. | |
4389 | (breakpoint_program_space_exit): New OWNER comment. | |
4390 | (insert_breakpoint_locations): Extend comment for OWNER. | |
4391 | (remove_breakpoint_1, remove_breakpoint): Assert on OWNER. | |
4392 | (breakpoint_init_inferior, breakpoint_here_p, breakpoint_thread_match): | |
4393 | New OWNER comment. | |
4394 | (print_it_typical): Return PRINT_UNKNOWN on NULL OWNER. | |
4395 | (watchpoint_check): New assert on BREAKPOINT_AT and OWNER. | |
4396 | (bpstat_check_location): New assert on OWNER. | |
4397 | (bpstat_check_watchpoint, bpstat_check_breakpoint_conditions): Move BL | |
4398 | and B initializations to the code block. New assert on them. | |
4399 | (print_one_breakpoint_location): New OWNER comment. | |
4400 | (watchpoint_locations_match): Assert on OWNER. | |
4401 | (breakpoint_locations_match): Move HW_POINT1 and HW_POINT2 | |
4402 | initializations to the code block. New assert on OWNER. | |
4403 | (set_breakpoint_location_function): New assert on OWNER. | |
4404 | (disable_breakpoints_in_shlibs, disable_breakpoints_in_unloaded_shlib) | |
4405 | (bp_location_compare, update_global_location_list) | |
4406 | (update_global_location_list): New OWNER comment. | |
4407 | ||
5b9a19af UW |
4408 | 2010-06-09 Ulrich Weigand <[email protected]> |
4409 | ||
4410 | * Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-linux.h | |
4411 | ||
669211f5 UW |
4412 | 2010-06-09 Ulrich Weigand <[email protected]> |
4413 | ||
4414 | * config/nm-linux.h (struct target_ops): Remove forward declaration. | |
4415 | (lin_thread_get_thread_signals): Remove prototype. | |
4416 | (GET_THREAD_SIGNALS): Remove. | |
4417 | * linux-nat.h (lin_thread_get_thread_signals): Add prototype. | |
4418 | * linux-thread-db.c (check_thread_signals): Directly call | |
4419 | lin_thread_get_thread_signals; do not check GET_THREAD_SIGNALS. | |
4420 | ||
b7a8b4ef UW |
4421 | 2010-06-09 Ulrich Weigand <[email protected]> |
4422 | ||
4423 | * gregset.h (GDB_FPXREGSET_T): Remove. | |
4424 | (gdb_fpxregset_t): Likewise. | |
4425 | (supply_fpxregset): Remove prototype. | |
4426 | (fill_fpxregset): Likewise. | |
4427 | * i386-linux-nat.c (supply_fpxregset): Remove. | |
4428 | (fill_fpxregset): Likewise. | |
4429 | (fetch_fpxregs): Inline supply_fpxregset call. | |
4430 | (store_fpxregs): Inline fill_fpxregset call. | |
4431 | ||
4432 | * config/i386/linux.mh: Set NAT_FILE to config/nm-linux.h. | |
4433 | * config/i386/nm-linux.h: Remove file. | |
4434 | ||
82892036 MS |
4435 | 2010-06-09 Michael Snyder <[email protected]> |
4436 | ||
4437 | * target.c (update_current_target): Fix spelling error in comment. | |
4438 | (target_mourn_inferior): Fix spelling error in error message. | |
4439 | ||
5ddb52fa PH |
4440 | 2010-06-08 Paul Hilfinger <[email protected]> |
4441 | ||
4442 | * dictionary.h (dict_iter_name_first, dict_iter_name_next): Refer to | |
4443 | SYMBOL_SEARCH_NAME, not SYMBOL_BEST_NAME, in comments. | |
4444 | ||
0f2caa1b MS |
4445 | 2010-06-08 Michael Snyder <[email protected]> |
4446 | ||
4447 | * remote.c (remote_close): Set inferior_ptid to null_ptid. | |
4448 | ||
3bebe2f2 JK |
4449 | 2010-06-08 Jan Kratochvil <[email protected]> |
4450 | ||
4451 | * configure.ac <"${have_libpython}" != no>: New workaround of | |
4452 | python#4434. | |
4453 | * configure: Regenerate. | |
4454 | ||
eaaffdf4 HZ |
4455 | 2010-06-08 Hui Zhu <[email protected]> |
4456 | ||
4457 | * record.c (record_wait): Move signal out of replay code. | |
4458 | ||
5c631832 JK |
4459 | 2010-06-07 Jan Kratochvil <[email protected]> |
4460 | ||
4461 | Fix PR 10640. | |
4462 | * dwarf2-frame.c (no_dwarf_call): New function. | |
4463 | (execute_stack_op): Set CTX->DWARF_CALL. | |
4464 | * dwarf2expr.c (execute_stack_op) <DW_OP_call2, DW_OP_call4>: New. | |
4465 | * dwarf2expr.h (struct dwarf_expr_context) <dwarf_call>: New. | |
4466 | (struct dwarf_expr_context) <get_subr>: Remove the #if0-ed field. | |
4467 | * dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call): New functions. | |
4468 | (dwarf2_evaluate_loc_desc): Initialize CTX->DWARF_CALL. | |
4469 | (needs_frame_dwarf_call): New function. | |
4470 | (dwarf2_loc_desc_needs_frame): Initialize CTX->DWARF_CALL. | |
4471 | * dwarf2read.c (follow_die_offset): Based on former follow_die_ref. | |
4472 | Update the comment. Move variables die, offset and error call to ... | |
4473 | (follow_die_ref): ... a new function. | |
4474 | (dwarf2_fetch_die_location_block): New function. | |
4475 | * dwarf2loc.h (dwarf2_fetch_die_location_block): New prototype. | |
4476 | ||
17ea53c3 JK |
4477 | 2010-06-07 Jan Kratochvil <[email protected]> |
4478 | ||
4479 | * dwarf2loc.c (struct dwarf_expr_baton) Replace objfile by per_cu. | |
4480 | (dwarf_expr_tls_address): Use per_cu instead of objfile. | |
4481 | (dwarf2_evaluate_loc_desc): Drop initialization of BATON.OBJFILE. | |
4482 | Initialize new BATON.PER_CU. Adjust CTX->GDBARCH initialization for | |
4483 | this change. | |
4484 | (struct needs_frame_baton): New field per_cu. | |
4485 | (dwarf2_loc_desc_needs_frame): Initialize new BATON.PER_CU. | |
4486 | * dwarf2read.c (struct dwarf2_per_cu_data) <cu>: Extend the comment. | |
4487 | ||
245040d7 SW |
4488 | 2010-06-07 Sami Wagiaalla <[email protected]> |
4489 | ||
4490 | * cp-support.c (make_symbol_overload_list_namespace): Only search | |
4491 | static and global blocks. | |
4492 | (make_symbol_overload_list_block): New function. | |
4493 | (make_symbol_overload_list): Separate namespace search from block | |
4494 | search. | |
4495 | (make_symbol_overload_list_qualified): Use | |
4496 | make_symbol_overload_list_block. | |
4497 | ||
4c3376c8 SW |
4498 | 2010-06-07 Sami Wagiaalla <[email protected]> |
4499 | ||
4500 | * value.h: Created oload_search_type enum. | |
4501 | (find_overload_match): Use oload_search_type enum. | |
4502 | * valops.c (find_overload_match): Support combined member and | |
4503 | non-member search. | |
4504 | * eval.c (evaluate_subexp_standard): Calls to | |
4505 | find_overload_match now use oload_search_type enum. | |
4506 | (oload_method_static): Verify index is a proper value. | |
4507 | * valarith.c (value_user_defined_cpp_op): Search for and handle | |
4508 | both member and non-member operators. | |
4509 | (value_user_defined_cpp_op): New function. | |
4510 | (value_user_defined_op): New function. | |
4511 | (value_x_unop): Use value_user_defined_op. | |
4512 | (value_x_binop): Ditto. | |
4513 | * cp-support.c (make_symbol_overload_list_using): Added block | |
4514 | iteration. | |
4515 | Add check for namespace aliases and imported declarations. | |
4516 | ||
ee55da67 JK |
4517 | 2010-06-07 Jan Kratochvil <[email protected]> |
4518 | ||
4519 | * breakpoint.h (owner): Extend the comment. | |
4520 | ||
1a2ab13a JK |
4521 | 2010-06-07 Jan Kratochvil <[email protected]> |
4522 | ||
4523 | Clear stale specific bp_location from former whole breakpoint. | |
4524 | * breakpoint.c (delete_breakpoint): Move the stale referencing clear | |
4525 | code ... | |
4526 | (free_bp_location): ... here. Rename there the called function to | |
4527 | bpstat_remove_bp_location_callback. | |
4528 | (bpstat_remove_breakpoint_callback): Rename to ... | |
4529 | (bpstat_remove_bp_location_callback): ... here, change DATA resolution | |
4530 | to struct bp_location. Change the called function to | |
4531 | bpstat_remove_bp_location. Create new declaration for the function. | |
4532 | (bpstat_remove_breakpoint): Rename to ... | |
4533 | (bpstat_remove_bp_location): ..., change the parameter to loc, adjust | |
4534 | code for the new parameter type. | |
4535 | ||
16d6b4b7 NS |
4536 | 2010-06-07 Nathan Sidwell <[email protected]> |
4537 | ||
4538 | * README: Make version-agnostic. | |
4539 | ||
7e314c57 JK |
4540 | 2010-06-05 Jan Kratochvil <[email protected]> |
4541 | ||
4542 | Fix duplicate types for single DIE. | |
4543 | * dwarf2read.c (read_structure_type): Move set_descriptive_type after | |
4544 | set_die_type. | |
4545 | (read_array_type): Remove type initialization. Recheck get_die_type | |
4546 | after initial die_type. Move set_die_type before set_descriptive_type. | |
4547 | (read_set_type): New variable domain_type. Recheck get_die_type after | |
4548 | initial die_type. Move attr initialization later. | |
4549 | (read_tag_pointer_type, read_tag_reference_type): New variable | |
4550 | target_type. Recheck get_die_type after initial die_type. | |
4551 | (read_tag_ptr_to_member_type): Recheck get_die_type after initial | |
4552 | die_type and die_containing_type. | |
4553 | (read_tag_const_type, read_tag_volatile_type, read_subroutine_type): | |
4554 | Recheck get_die_type after initial die_type. | |
4555 | (read_subrange_type): Recheck get_die_type after initial die_type. | |
4556 | Move set_die_type before set_descriptive_type. | |
4557 | (set_die_type): Extend the function comment. Call complaint if DIE has | |
4558 | some type already set. | |
4559 | ||
2f296114 VP |
4560 | 2010-06-05 Vladimir Prus <[email protected]> |
4561 | ||
4562 | * mi/mi-main.c (mi_cmd_list_thread_groups): Adjust | |
4563 | for current naming of thread groups (iN, not N). | |
4564 | ||
554794dc SDJ |
4565 | 2010-06-04 Sergio Durigan Junior <[email protected]> |
4566 | ||
4567 | * ada-lang.c (ada_operator_length): Constify `struct expression'. | |
4568 | * parse.c (operator_length): Likewise. | |
4569 | (operator_length_standard): Likewise. | |
4570 | * parser-defs.h (operator_length): Likewise. | |
4571 | (operator_length_standard): Likewise. | |
4572 | (struct exp_descriptor <operator_length>): Likewise. | |
4573 | ||
967cf477 DE |
4574 | 2010-06-04 Doug Evans <[email protected]> |
4575 | ||
bddaacb9 | 4576 | Add support for enabling/disabling individual pretty-printers. |
967cf477 DE |
4577 | * python/py-prettyprint.c (search_pp_list): Skip disabled printers. |
4578 | * python/python-internal.h (gdbpy_enabled_cst): Declare. | |
4579 | * python/python.c (gdbpy_enabled_cst): Define. | |
4580 | (_initialize_python): Initialize gdbpy_enabled_cst. | |
4581 | * NEWS: Add entry. | |
4582 | ||
2dec564e JK |
4583 | 2010-06-04 Jan Kratochvil <[email protected]> |
4584 | ||
4585 | * breakpoint.c (update_global_location_list): Fix comment typo. | |
4586 | ||
44b5680a HZ |
4587 | 2010-06-04 Hui Zhu <[email protected]> |
4588 | ||
4589 | * dwarf2loc.c (disassemble_dwarf_expression): Change ul to l. | |
4590 | ||
e7a30f46 DE |
4591 | 2010-06-03 Doug Evans <[email protected]> |
4592 | ||
4593 | * configure.ac: Don't fail if python is unusable when | |
4594 | configured with --with-python=auto. | |
4595 | * configure: Regenerate. | |
4596 | ||
84b4420f SW |
4597 | 2010-06-03 Sami Wagiaalla <[email protected]> |
4598 | ||
889bf7c5 | 4599 | * dwarf2read.c (new_symbol): Remove redundant naming of symbol. |
84b4420f | 4600 | |
df178451 PM |
4601 | 2010-06-03 Pierre Muller <[email protected]> |
4602 | ||
4603 | * valprint.h (get_array_bounds): Change low and high parameter types | |
4604 | to LONGEST *. | |
0407b3f1 | 4605 | * valprint.c (get_array_bounds): Use get_discrete_bounds call to |
df178451 PM |
4606 | compute bounds. |
4607 | (val_print_array_elements): Adapt to change above. | |
4608 | * ada-valprint.c (print_optional_low_bound): Adapt to change above. | |
4609 | * p-valprint.c (pascal_val_print): Likewise. | |
4610 | ||
fd5700c7 JK |
4611 | 2010-06-02 Jan Kratochvil <[email protected]> |
4612 | ||
4613 | * symfile.c (init_filename_language_table): New extensions .for, .FOR, | |
4614 | .ftn, .FTN, .fpp, .FPP, .f90, .F90, .f95, .F95, .f03, .F03, .f08 and | |
4615 | .F08. | |
4616 | ||
f55ee35c JK |
4617 | 2010-06-02 Jan Kratochvil <[email protected]> |
4618 | ||
4619 | Support DW_TAG_module as separate namespaces. | |
4620 | * dwarf2read.c (typename_concat): New parameter physname. | |
4621 | (read_module_type): New function and declaration. | |
4622 | (scan_partial_symbols): Scan also DW_TAG_module children. | |
4623 | (partial_die_parent_scope): Accept scope even from DW_TAG_module. Pass | |
4624 | to typename_concat backward compatible physname value 0. | |
4625 | (partial_die_full_name, read_namespace_type): Pass to typename_concat | |
4626 | backward compatible physname value 0. | |
4627 | (add_partial_module, read_module): Remove FIXME comment. | |
4628 | (process_die) <DW_TAG_module>: Set PROCESSING_HAS_NAMESPACE_INFO. | |
4629 | (die_needs_namespace) <DW_TAG_variable>: Allow returning true even for | |
4630 | DIEs under DW_TAG_module. | |
4631 | (dwarf2_compute_name): Move the ada block for DW_AT_linkage_name and | |
4632 | DW_AT_MIPS_linkage_name first, extend it for language_fortran | |
4633 | && physname and return there instead of just setting NAME. Extend | |
4634 | the main block for language_fortran. Pass physname parameter to the | |
4635 | typename_concat call. | |
4636 | (read_import_statement, read_func_scope, get_scope_pc_bounds) | |
4637 | (load_partial_dies, determine_prefix): Support also DW_TAG_module. | |
4638 | (new_symbol): Fill in cplus_specific.demangled_name if it is still | |
4639 | missing from SYMBOL_SET_NAMES in the language_fortran case. | |
4640 | (new_symbol) <DW_TAG_variable>: Force LOC_UNRESOLVED for gfortran module | |
4641 | variables. | |
4642 | (read_type_die) <DW_TAG_module>: New. | |
4643 | (MAX_SEP_LEN): Increase to 7. | |
4644 | (typename_concat): New parameter physname. New variable lead. Support | |
4645 | also language_fortran. | |
4646 | * f-exp.y (yylex): Consider : also as a symbol name character class. | |
4647 | * f-lang.c: Include cp-support.h. | |
4648 | (f_word_break_characters, f_make_symbol_completion_list): New functions. | |
4649 | (f_language_defn): Use cp_lookup_symbol_nonlocal, | |
4650 | f_word_break_characters and f_make_symbol_completion_list. | |
4651 | * f-typeprint.c (f_type_print_base) <TYPE_CODE_MODULE>: New. | |
4652 | * gdbtypes.h (enum type_code) <TYPE_CODE_MODULE>: New. | |
4653 | * symtab.c (symbol_init_language_specific): Support language_fortran. | |
4654 | (symbol_find_demangled_name): New comment on language_fortran. | |
4655 | (symbol_natural_name, symbol_demangled_name): Use demangled_name even | |
4656 | for language_fortran. | |
4657 | (lookup_symbol_aux_local): Check imports also for language_fortran. | |
4658 | (default_make_symbol_completion_list): Rename to ... | |
4659 | (default_make_symbol_completion_list_break_on): ... this name. New | |
4660 | parameter break_on, use it. | |
4661 | (default_make_symbol_completion_list): New stub. | |
4662 | * symtab.h (default_make_symbol_completion_list_break_on): New | |
4663 | prototype. | |
4664 | ||
cb91c06a JB |
4665 | 2010-06-02 Joel Brobecker <[email protected]> |
4666 | ||
4667 | * remote.c (remote_get_noisy_reply): Remove trailing "\n" in call | |
4668 | to error. | |
4669 | ||
5c315b68 JK |
4670 | 2010-06-02 Jan Kratochvil <[email protected]> |
4671 | ||
4672 | * dwarf2read.c (typename_concat): Add const to the variable sep. | |
4673 | ||
9eae7c52 TT |
4674 | 2010-06-02 Tom Tromey <[email protected]> |
4675 | ||
4676 | * dwarf2loc.h (dwarf2_per_cu_data): Declare. | |
4677 | * dwarf2read.c (dwarf_stack_op_name): No longer static. Return | |
4678 | type is const. Add 'def' argument. Add missing operators, remove | |
4679 | unhandled ones. | |
4680 | (decode_locdesc): Update. | |
4681 | (dwarf2_always_disassemble): New global. | |
4682 | (show_dwarf2_always_disassemble): New function. | |
4683 | (_initialize_dwarf2_read): Add always-disassemble. | |
4684 | (dwarf2_per_cu_offset_size): New function. | |
4685 | * dwarf2loc.c (dwarf2_always_disassemble): Declare. | |
4686 | (piece_end_p): New function. | |
4687 | (locexpr_describe_location_piece): Replace 'size' argument with | |
4688 | 'end'. Use piece_end_p. Rewrite recognition of TLS. Recognize | |
4689 | some constants. Remove errors. | |
4690 | (disassemble_dwarf_expression): New function. | |
4691 | (locexpr_describe_location_1): Use disassemble_dwarf_expression. | |
4692 | Add 'offset_size' argument. | |
4693 | (loclist_describe_location): Change output formatting. | |
4694 | * dwarf2expr.h (dwarf_stack_op_name): Declare. | |
4695 | ||
7d3fe98e SW |
4696 | 2010-06-02 Sami Wagiaalla <[email protected]> |
4697 | ||
4698 | * cp-support.c (make_symbol_overload_list_adl_namespace): Handle | |
4699 | anonymous type case. | |
4700 | ||
e77813c8 PM |
4701 | 2010-06-02 Pierre Muller <[email protected]> |
4702 | ||
4703 | * dwarf2read.c (read_subrange_type): Handle missing base type | |
4704 | according to Dwarf-2 specifications. | |
4705 | ||
7cf3118a SDJ |
4706 | 2010-06-01 Sergio Durigan Junior <[email protected]> |
4707 | ||
4708 | * expprint.c (print_subexp_standard): Remove exp_opcodes BINOP_INCL, | |
4709 | BINOP_EXCL. | |
4710 | (op_name_standard): Remove exp_opcodes BINOP_INCL, BINOP_EXCL, | |
4711 | UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH. | |
4712 | (dump_subexp_body_standard): Remove exp_opcodes BINOP_INCL, | |
4713 | BINOP_EXCL, UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH, UNOP_CARD, | |
4714 | UNOP_CHMAX, UNOP_CHMIN. | |
4715 | * expression.h (enum exp_opcode) <BINOP_INCL, BINOP_EXCL, | |
4716 | UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH, UNOP_CARD, UNOP_CHMAX, | |
4717 | UNOP_CHMIN>: Remove opcodes. | |
4718 | ||
ae4d0c03 PM |
4719 | 2010-06-01 Pierre Muller <[email protected]> |
4720 | ||
4721 | * dwarf2read.c (read_func_scope): Do not complain for | |
4722 | external function if bounds are not found. | |
4723 | ||
fa593d66 PA |
4724 | 2010-06-01 Pedro Alves <[email protected]> |
4725 | ||
4726 | * NEWS: Mention gdbserver fast tracepoints support. | |
4727 | ||
cd44747c PM |
4728 | 2010-05-31 Pierre Muller <[email protected]> |
4729 | ||
4730 | * windows-nat.c (GetConsoleFontSize, GetCurrentConsoleFont): | |
4731 | New macros. | |
4732 | (windows_set_console_info): New function. | |
4733 | (windows_create_inferior): Call windows_set_console_info | |
4734 | if NEW_CONSOLE is true. | |
4735 | (bad_GetCurrentConsoleFont, bad_GetConsoleFontSize): New functions. | |
4736 | (_initialize_loadable): Initialize GetConsoleFontSize and | |
4737 | GetCurrentConsoleFont. | |
4738 | ||
f6528abd JK |
4739 | 2010-05-28 Jan Kratochvil <[email protected]> |
4740 | ||
4741 | * Makefile.in (RDYNAMIC): New. | |
4742 | (SFILES): Add proc-service.list. | |
4743 | * config/alpha/alpha-linux.mh (NAT_CDEPS): New. | |
4744 | (LOADLIBES): Replace -rdynamic by $(RDYNAMIC). | |
4745 | * config/arm/linux.mh: Likewise. | |
4746 | * config/i386/linux.mh: Likewise. | |
4747 | * config/i386/linux64.mh: Likewise. | |
4748 | * config/ia64/linux.mh: Likewise. | |
4749 | * config/m32r/linux.mh: Likewise. | |
4750 | * config/m68k/linux.mh: Likewise. | |
4751 | * config/mips/linux.mh: Likewise. | |
4752 | * config/pa/linux.mh: Likewise. | |
4753 | * config/powerpc/linux.mh: Likewise. | |
4754 | * config/powerpc/ppc64-linux.mh: Likewise. | |
4755 | * config/s390/s390.mh: Likewise. | |
4756 | * config/sparc/linux.mh: Likewise. | |
4757 | * config/sparc/linux64.mh: Likewise. | |
4758 | * config/xtensa/linux.mh: Likewise. | |
4759 | * configure.ac: New RDYNAMIC on native host and GCC. | |
4760 | (solaris*): Replace -Wl,-export-dynamic by $RDYNAMIC. | |
4761 | * configure: Regenerate. | |
4762 | * proc-service.list: New. | |
4763 | ||
ca2a87a0 JK |
4764 | 2010-05-28 Jan Kratochvil <[email protected]> |
4765 | ||
4766 | * linux-nat.c (linux_nat_core_of_thread_1): Fix crash on invalid | |
4767 | CONTENT. | |
4768 | ||
1e225492 JK |
4769 | 2010-05-28 Jan Kratochvil <[email protected]> |
4770 | ||
4771 | * linux-nat.c (linux_nat_wait_1): Do not call | |
4772 | linux_nat_core_of_thread_1 on TARGET_WAITKIND_EXITED or | |
4773 | TARGET_WAITKIND_SIGNALLED. | |
4774 | ||
e802dbe0 JB |
4775 | 2010-05-27 Joel Brobecker <[email protected]> |
4776 | ||
4777 | * ada-lang.c (ada_inferior_data): New struct. | |
4778 | (ada_inferior_data): New static global. | |
4779 | (ada_inferior_data_cleanup, get_ada_inferior_data, ada_inferior_exit) | |
4780 | (ada_get_tsd_type): New functions. | |
4781 | (ada_tag_name_2): Use ada_get_tsd_type instead of ada_find_any_type | |
4782 | to look the tsd type up. | |
4783 | (_initialize_ada_language): Attach ada_inferior_exit to inferior_exit | |
4784 | event. Set ada_inferior_data. | |
4785 | ||
176a6961 PA |
4786 | 2010-05-27 Pedro Alves <[email protected]> |
4787 | ||
4788 | * remote.c (unpack_varlen_hex): Remove forward declaration. | |
4789 | (remote_console_output): Make static, and add forward declaration. | |
4790 | * remote.h: Drop FIXME comment. | |
4791 | (unpack_varlen_hex): Declare. | |
4792 | (remote_console_output, remote_cisco_objfile_relocate) | |
4793 | (deprecated_target_resume_hook, deprecated_target_wait_loop_hook): | |
4794 | Delete declarations. | |
4795 | * tracepoint.c: Include "remote.h". | |
4796 | (unpack_varlen_hex): Delete declaration. | |
4797 | ||
88bfdde4 TT |
4798 | 2010-05-27 Tom Tromey <[email protected]> |
4799 | ||
4800 | * dwarf2loc.c (struct piece_closure) <refc>: New field. | |
4801 | (allocate_piece_closure): Initialize refc. | |
4802 | (copy_pieced_value_closure): Use refc. | |
4803 | (free_pieced_value_closure): Likewise. | |
4804 | ||
8c6363cf TT |
4805 | 2010-05-27 Tom Tromey <[email protected]> |
4806 | ||
4807 | * arm-tdep.c (push_stack_item): 'contents' now const. | |
4808 | (arm_push_dummy_call): Make 'val' const. Use value_contents, not | |
4809 | value_contents_writeable. Introduce new temporary. | |
4810 | ||
7ecb917e TT |
4811 | 2010-05-27 Tom Tromey <[email protected]> |
4812 | ||
4813 | * findcmd.c (parse_find_args): Use value_contents, not | |
4814 | value_contents_raw. | |
4815 | ||
f42a0a33 TT |
4816 | 2010-05-27 Tom Tromey <[email protected]> |
4817 | ||
4818 | * alpha-tdep.c (alpha_push_dummy_call): Make alpha_arg.contents | |
4819 | const. Use value_contents, not value_contents_writeable. | |
4820 | ||
12b795ad JB |
4821 | 2010-05-27 Joel Brobecker <[email protected]> |
4822 | ||
4823 | * ada-lang.c (ensure_lval): Replace call to value_contents_raw | |
4824 | by call to value_contents. | |
4825 | ||
5a2e11c7 OS |
4826 | 2010-05-27 Ozkan Sezer <[email protected]> |
4827 | ||
4828 | * MAINTAINERS: Add myself for write after approval privileges. | |
4829 | ||
ec685c5e DE |
4830 | 2010-05-26 Doug Evans <[email protected]> |
4831 | ||
0c4a4063 DE |
4832 | Allow python to find its files if moved from original location. |
4833 | * acinclude.m4 (GDB_AC_DEFINE_RELOCATABLE): New function. | |
4834 | (GDB_AC_WITH_DIR): Call it. | |
4835 | * configure.ac: Define WITH_PYTHON_PATH if we can find the | |
4836 | python installation directory. | |
4837 | * config.in: Regenerate. | |
4838 | * configure: Regenerate. | |
4839 | * defs.h (python_libdir): Declare. | |
4840 | * main.c (python_libdir): Define. | |
4841 | (captured_main): Initialize python_libdir. | |
4842 | * python/python.c (_initialize_python): #ifdef WITH_PYTHON_PATH, | |
4843 | call Py_SetProgramName to make sure python can find its libraries | |
4844 | and modules. | |
4845 | ||
ec685c5e DE |
4846 | * configure.ac: Try to use python's distutils to fetch compilation |
4847 | parameters. | |
4848 | * configure: Regenerate. | |
4849 | * python/python-config.py: New file. | |
4850 | ||
363a6e9f OS |
4851 | 2010-05-26 Ozkan Sezer <[email protected]> |
4852 | ||
4853 | * ser-tcp.c (net_open): Check error return from socket() call by its | |
4854 | equality to -1 not by it being negative. | |
4855 | (net_close): Likewise. | |
4856 | ||
dde08ee1 PA |
4857 | 2010-05-26 Pedro Alves <[email protected]> |
4858 | ||
4859 | * NEWS: Mention the `qRelocInsn' feature. | |
4860 | * gdbarch.sh (relocate_instruction): New. | |
4861 | * amd64-tdep.c (rip_relative_offset): New. | |
4862 | (append_insns): New. | |
4863 | (amd64_relocate_instruction): New. | |
4864 | (amd64_init_abi): Install it. | |
4865 | * i386-tdep.c (append_insns): New. | |
4866 | (i386_relocate_instruction): New. | |
4867 | (i386_gdbarch_init): Install it. | |
4868 | * remote.c (remote_get_noisy_reply): Handle qRelocInsn requests. | |
4869 | * gdbarch.h, gdbarch.c: Regenerate. | |
4870 | ||
947bb88f TT |
4871 | 2010-05-26 Tom Tromey <[email protected]> |
4872 | ||
4873 | * dwarf2loc.h (struct dwarf2_locexpr_baton) <data>: Now const. | |
4874 | (struct dwarf2_loclist_baton) <data>: Likewise. | |
4875 | * dwarf2loc.c (find_location_expression): Constify return type. | |
4876 | (dwarf2_evaluate_loc_desc): Make 'data' argument const. | |
4877 | (dwarf2_loc_desc_needs_frame): Likewise. | |
4878 | (loclist_read_variable): Constify. | |
4879 | (loclist_describe_location): Likewise. | |
4880 | (loclist_tracepoint_var_ref): Likewise. | |
4881 | ||
0d45f56e TT |
4882 | 2010-05-25 Tom Tromey <[email protected]> |
4883 | ||
4884 | * dwarf2loc.c (dwarf_expr_frame_base): Constify. | |
4885 | (dwarf_expr_frame_base_1): Likewise. | |
4886 | (read_pieced_value): Update. | |
4887 | (needs_frame_frame_base): Constify. | |
4888 | (dwarf2_tracepoint_var_loc): Likewise. | |
4889 | (dwarf2_tracepoint_var_access): Likewise. | |
4890 | (locexpr_describe_location_piece): Likewise. | |
4891 | (locexpr_describe_location_1): Likewise. | |
4892 | * dwarf2expr.h (struct dwarf_expr_context) <get_frame_base>: | |
4893 | Constify. | |
4894 | (data): Now const. | |
4895 | (struct dwarf_expr_piece) <v.literal.data>: Likewise. | |
4896 | (dwarf_expr_eval, read_uleb128, read_sleb128) | |
4897 | (dwarf2_read_address): Update. | |
4898 | * dwarf2expr.c (dwarf_expr_eval): Constify. | |
4899 | (read_uleb128): Likewise. | |
4900 | (read_sleb128): Likewise. | |
4901 | (dwarf2_read_address): Likewise. | |
4902 | (require_composition): Likewise. | |
4903 | (execute_stack_op): Likewise. | |
4904 | * dwarf2-frame.h (struct dwarf2_frame_state_reg) <loc.exp>: Now a | |
4905 | "const gdb_byte *". | |
4906 | * dwarf2-frame.c (struct dwarf2_frame_state_reg_info) <cfa_exp>: | |
4907 | Now const. | |
4908 | (no_get_frame_base): Constify. | |
4909 | (execute_stack_op): Likewise. | |
4910 | (execute_cfa_program): Likewise. | |
4911 | (read_encoded_value): Likewise. | |
4912 | ||
07ca107c DE |
4913 | 2010-05-25 Doug Evans <[email protected]> |
4914 | ||
e34838f0 DE |
4915 | * ser-pipe.c (pipe_open): Ignore SIGINTs in child. |
4916 | ||
01f69b38 DE |
4917 | * event-loop.h (GDB_READABLE, GDB_WRITABLE, GDB_EXCEPTION): Move to ... |
4918 | * event-loop.c: ... here. | |
4919 | * tui/tui-io.c (tui_readline_output): Rename parameter `code' to | |
4920 | `error' for clarity. | |
4921 | (tui_getc): Pass correct value for `error' parameter to | |
4922 | tui_readline_output. | |
4923 | ||
07ca107c DE |
4924 | Add python gdb.GdbError and gdb.string_to_argv. |
4925 | * NEWS: Document them. | |
4926 | * python/py-cmd.c (cmdpy_function): Don't print a traceback if | |
4927 | the exception is gdb.GdbError. Print a second traceback if there's | |
4928 | an error computing the error message. | |
4929 | (gdbpy_string_to_argv): New function. | |
4930 | * python/py-utils.c (gdbpy_obj_to_string): New function. | |
4931 | (gdbpy_exception_to_string): New function. | |
4932 | * python/python-internal.h (gdbpy_string_to_argv): Declare. | |
4933 | (gdbpy_obj_to_string, gdbpy_exception_to_string): Declare. | |
4934 | (gdbpy_gdberror_exc): Declare. | |
4935 | * python/python.c (gdbpy_gdberror_exc): New global. | |
4936 | (_initialize_python): Initialize gdbpy_gdberror_exc and create | |
4937 | gdb.GdbError. | |
4938 | (GdbMethods): Add string_to_argv. | |
4939 | ||
5572ce1f PM |
4940 | 2010-05-21 Pierre Muller <[email protected]> |
4941 | ||
4942 | * windows-nat.c (display_selector): Call GetLastError to give better | |
4943 | failure explanation. | |
4944 | ||
acd5838a PA |
4945 | 2010-05-24 Pedro Alves <[email protected]> |
4946 | ||
4947 | * config.in: Regenerate. | |
4948 | ||
b26a4dcb JK |
4949 | 2010-05-23 Jan Kratochvil <[email protected]> |
4950 | ||
4951 | Code cleanup. | |
4952 | * target.c (push_target): Return only void. Remove the return value | |
4953 | comment. | |
4954 | * target.h (push_target): Return only void. | |
4955 | ||
f434ba03 PA |
4956 | 2010-05-23 Pedro Alves <[email protected]> |
4957 | ||
4958 | Update gnulib from latest git. | |
4959 | (250b80067c1e1d8faa0c42fb572f721975b929c5) | |
4960 | ||
4961 | * gnulib/memcmp.c: Removed. | |
4962 | * gnulib/memchr.valgrind: New. | |
4963 | * gnulib/stddef.in.h: New. | |
4964 | * gnulib/Makefile.am: Updated. | |
4965 | * gnulib/memchr.c: Updated. | |
4966 | * gnulib/memmem.c: Updated. | |
4967 | * gnulib/stdint.in.h: Updated. | |
4968 | * gnulib/str-two-way.h: Updated. | |
4969 | * gnulib/string.in.h: Updated. | |
4970 | * gnulib/wchar.in.h: Updated. | |
4971 | ||
4972 | * gnulib/extra/link-warning.h: Removed. | |
4973 | * gnulib/extra/c++defs.h: New. | |
4974 | * gnulib/extra/warn-on-use.h: New. | |
4975 | * gnulib/extra/arg-nonnull.h: Updated. | |
4976 | ||
4977 | * gnulib/m4/extensions.m4: Updated. | |
4978 | * gnulib/m4/gnulib-cache.m4: Updated. | |
4979 | * gnulib/m4/gnulib-common.m4: Updated. | |
4980 | * gnulib/m4/gnulib-comp.m4: Updated. | |
4981 | * gnulib/m4/gnulib-tool.m4: Updated. | |
4982 | * gnulib/m4/include_next.m4: Updated. | |
4983 | * gnulib/m4/longlong.m4: Updated. | |
4984 | * gnulib/m4/memchr.m4: Updated. | |
4985 | * gnulib/m4/memmem.m4: Updated. | |
4986 | * gnulib/m4/stdint.m4: Updated. | |
4987 | * gnulib/m4/string_h.m4: Updated. | |
4988 | * gnulib/m4/memcmp.m4: Removed. | |
4989 | * gnulib/m4/onceonly_2_57.m4: Removed. | |
4990 | * gnulib/m4/00gnulib.m4: New. | |
4991 | * gnulib/m4/mmap-anon.m4: New. | |
4992 | * gnulib/m4/multiarch.m4: New. | |
4993 | * gnulib/m4/onceonly.m4: New. | |
4994 | * gnulib/m4/stddef_h.m4: New. | |
4995 | * gnulib/m4/warn-on-use.m4: New. | |
4996 | * gnulib/m4/wchar.m4: Removed. | |
4997 | * gnulib/m4/wchar_h.m4: New. | |
4998 | * gnulib/m4/wchar_t.m4: New. | |
4999 | * gnulib/m4/wint_t.m4: New. | |
5000 | ||
5001 | * aclocal.m4: Regenerate. | |
5002 | * config.in: Likewise. | |
5003 | * configure: Likewise. | |
5004 | * gnulib/Makefile.in: Likewise. | |
5005 | ||
d3b1e874 TT |
5006 | 2010-05-21 Tom Tromey <[email protected]> |
5007 | ||
5008 | * dwarf2loc.c (extract_bits_primitive): New function. | |
5009 | (extract_bits): Likewise. | |
5010 | (insert_bits): Likewise. | |
5011 | (copy_bitwise): Likewise. | |
5012 | (read_pieced_value): Do all operations in bits. | |
5013 | (write_pieced_value): Likewise. | |
5014 | * dwarf2expr.h (struct dwarf_expr_piece) <offset>: New field. | |
5015 | * dwarf2expr.c (add_piece): New arguments bit_piece, offset. | |
5016 | Always use xrealloc to resize piece array. | |
5017 | (execute_stack_op) <DW_OP_reg0>: Handle DW_OP_bit_piece. | |
5018 | <DW_OP_piece>: Update. | |
5019 | <DW_OP_bit_piece>: New case. | |
5020 | ||
cb826367 TT |
5021 | 2010-05-21 Tom Tromey <[email protected]> |
5022 | ||
5023 | * dwarf2loc.c (read_pieced_value): Exit loop when result is full. | |
5024 | <DWARF_VALUE_OPTIMIZED_OUT>: New case. | |
5025 | * dwarf2expr.h (enum dwarf_value_location) | |
5026 | <DWARF_VALUE_OPTIMIZED_OUT>: New constant. | |
5027 | * dwarf2expr.c (dwarf_expr_stack_empty_p): New function. | |
5028 | (add_piece): Handle empty piece. | |
5029 | (execute_stack_op) <DW_OP_piece>: Handle | |
5030 | DWARF_VALUE_OPTIMIZED_OUT. | |
5031 | ||
74de6778 TT |
5032 | 2010-05-21 Tom Tromey <[email protected]> |
5033 | ||
5034 | * eval.c (evaluate_subexp_standard) <BINOP_SUBSCRIPT>: Call | |
5035 | evaluate_subexp, not evaluate_subexp_with_coercion. | |
5036 | ||
f346a30d PM |
5037 | 2010-05-21 Pierre Muller <[email protected]> |
5038 | ||
5039 | * dwarf2read.c (new_symbol): Handle DW_AT_variable_parameter | |
5040 | attribute. | |
5041 | ||
afd74c5f TT |
5042 | 2010-05-21 Tom Tromey <[email protected]> |
5043 | ||
5044 | * dwarf2loc.c (read_pieced_value): Work properly when 'v' has an | |
5045 | offset. | |
5046 | (write_pieced_value): Likewise. | |
5047 | ||
90e7c2c5 PM |
5048 | 2010-05-21 Pierre Muller <[email protected]> |
5049 | ||
5050 | * dwarf2read.c (process_die): Also allow DW_TAG_const_type | |
5051 | and DW_TAG_volatile_type. | |
5052 | (new_symbol): Likewise. | |
5053 | ||
8148cf8d PM |
5054 | 2010-05-20 Pierre Muller <[email protected]> |
5055 | ||
5056 | * p-valprint.c (pascal_val_print): Call get_array_bounds | |
5057 | to obtain the number of elements in an array. | |
5058 | ||
3a1d4620 DE |
5059 | 2010-05-19 Doug Evans <[email protected]> |
5060 | ||
0bf0f8c4 DE |
5061 | * python.c (gdbpy_print_stack): Ensure output ends with a newline. |
5062 | ||
3a1d4620 DE |
5063 | * python.c (source_python_script): Add comment. |
5064 | (source_python_script_for_objfile): Remove unnecessary call to | |
5065 | gdbpy_print_stack. | |
5066 | ||
dc21167c JK |
5067 | 2010-05-18 Jan Kratochvil <[email protected]> |
5068 | Sergio Durigan Junior <[email protected]> | |
5069 | ||
5070 | Code cleanup. | |
5071 | * parse.c (exp_iterate): Use operator_length wrapper function. | |
5072 | ||
5b4ee69b MS |
5073 | 2010-05-18 Michael Snyder <[email protected]> |
5074 | ||
5075 | * ada-lang.c: White space. | |
5076 | * ada-typeprint.c: White space. | |
5077 | * ada-valprint.c: White space. | |
5078 | * addrmap.c: White space. | |
5079 | * auxv.c: White space. | |
5080 | * ax-gdb.c: White space. | |
5081 | ||
e17c9e56 HZ |
5082 | 2010-05-18 Hui Zhu <[email protected]> |
5083 | ||
5084 | * linux-fork.c (inferior_call_waitpid_cleanup): Add check | |
5085 | for oldfp. | |
5086 | (inferior_call_waitpid): Move make_cleanup out of check. | |
5087 | Check the return of waitpid. | |
5088 | (delete_checkpoint_command): Add pptid to save fi->parent_ptid. | |
5089 | ||
a109c7c1 MS |
5090 | 2010-05-17 Michael Snyder <[email protected]> |
5091 | ||
1c5313c5 MS |
5092 | * tui/tui.c: White space. |
5093 | * tui/tui-data.c: White space. | |
5094 | * tui/tui-disasm.c: White space. | |
5095 | * tui/tui-file.c: White space. | |
5096 | * tui/tui-interp.c: White space. | |
5097 | * tui/tui-main.c: White space. | |
5098 | * tui/tui-out.c: White space. | |
5099 | * tui/tui-regs.c: White space. | |
5100 | * tui/tui-source.c: White space. | |
5101 | * tui/tui-stack.c: White space. | |
5102 | * tui/tui-win.c: White space. | |
5103 | * tui/tui-winsource.c: White space. | |
5104 | ||
f4a14ae6 MS |
5105 | * procfs.c: White space. |
5106 | ||
d59b6f6c MS |
5107 | * python/py-auto-load.c: White space. |
5108 | * python/py-block.c: White space. | |
5109 | * python/py-breakpoint.c: White space. | |
5110 | * python/py-cmd.c: White space. | |
5111 | * python/py-function.c: White space. | |
5112 | * python/py-lazy-string.c: White space. | |
5113 | * python/py-objfile.c: White space. | |
5114 | * python/py-param.c: White space. | |
5115 | * python/py-prettyprint.c: White space. | |
5116 | * python/py-progspace.c: White space. | |
5117 | * python/py-symtab.c: White space. | |
5118 | * python/python.c: White space. | |
5119 | * python/py-type.c: White space. | |
5120 | * python/py-utils.c: White space. | |
5121 | * python/py-value.c: White space. | |
5122 | ||
102040f0 MS |
5123 | * mi/mi-cmd-break.c: White space. |
5124 | * mi/mi-cmd-env.c: White space. | |
5125 | * mi/mi-cmds.c: White space. | |
5126 | * mi/mi-cmd-stack.c: White space. | |
5127 | * mi/mi-cmd-var.c: White space. | |
5128 | * mi/mi-console.c: White space. | |
5129 | * mi/mi-getopt.c: White space. | |
5130 | * mi/mi-interp.c: White space. | |
5131 | * mi/mi-main.c: White space. | |
5132 | * mi/mi-out.c: White space. | |
5133 | * mi/mi-parse.c: White space. | |
5134 | ||
cdb27c12 MS |
5135 | * cli/cli-cmds.c: White space. |
5136 | * cli/cli-decode.c: White space. | |
5137 | * cli/cli-dump.c: White space. | |
5138 | * cli/cli-interp.c: White space. | |
5139 | * cli/cli-logging.c: White space. | |
5140 | * cli/cli-script.c: White space. | |
5141 | * cli/cli-setshow.c: White space. | |
5142 | ||
a109c7c1 MS |
5143 | * valarith.c: White space. |
5144 | * valops.c: White space. | |
5145 | * valprint.c: White space. | |
5146 | * value.c: White space. | |
5147 | * varobj.c: White space. | |
5148 | * xcoffread.c: White space. | |
5149 | * xml-support.c: White space. | |
5150 | * xml-tdesc.c: White space. | |
5151 | ||
3872d37d AS |
5152 | 2010-05-17 Andreas Schwab <[email protected]> |
5153 | ||
5154 | PR gdb/11092 | |
5155 | * c-lang.c (c_printstr): Compute real length of NUL terminated | |
5156 | string at first. | |
5157 | ||
0cce5bd9 JB |
5158 | 2010-05-17 Joel Brobecker <[email protected]> |
5159 | ||
5160 | * parse.c (parse_exp_in_context): When block is not NULL, use | |
5161 | its associated language to parse the expression instead of | |
5162 | the current_language. | |
5163 | ||
5f19d646 JB |
5164 | 2010-05-17 Joel Brobecker <[email protected]> |
5165 | ||
5166 | * jv-lang.c (java_lookup_class): Remove commented out code. | |
5167 | (type_from_class): Likewise. | |
5168 | (java_op_print_tab): Remove commented-out elements. | |
5169 | ||
28c85d6c JB |
5170 | 2010-05-17 Joel Brobecker <[email protected]> |
5171 | ||
5172 | * ada-lang.c (to_fixed_range_type): The the raw index type as | |
5173 | argument instead of the raw type name. Remove orig_type parameter. | |
5174 | Update calls throughout. | |
5175 | (ada_fixup_array_indexes_type): New function. | |
5176 | (ada_array_bound_from_type): Add call to ada_fixup_array_indexes_type. | |
5177 | * ada-lang.h (ada_fixup_array_indexes_type): Add declaration. | |
5178 | * ada-typeprint.c (print_range_type): Renames print_range_type_named. | |
5179 | Remove name parameter. | |
5180 | (print_array_type): Add call to ada_fixup_array_indexes_type. | |
5181 | Update calls to print_range_type. | |
5182 | (ada_print_type): Update calls to print_range_type. | |
5183 | ||
d09039dd PM |
5184 | 2010-05-17 Pierre Muller <[email protected]> |
5185 | ||
5186 | * dwarf2read.c (read_set_type): Set type length if | |
5187 | DW_AT_byte_size attribute is present. | |
5188 | ||
7a081a30 PM |
5189 | 2010-05-17 Pierre Muller <[email protected]> |
5190 | ||
5191 | * p-valprint.c (pascal_val_print): Handle set type if range limits | |
5192 | are undefined but size is known. | |
5193 | ||
77382aee PA |
5194 | 2010-05-17 Pedro Alves <[email protected]> |
5195 | ||
5196 | * procfs.c: Reformat. | |
5197 | ||
433759f7 MS |
5198 | 2010-05-16 Michael Snyder <[email protected]> |
5199 | ||
5d502164 MS |
5200 | * target.c: White space. |
5201 | * target-descriptions.c: White space. | |
5202 | * target-memory.c: White space. | |
5203 | * thread.c: White space. | |
5204 | * top.c: White space. | |
5205 | * tracepoint.c: White space. | |
5206 | * trad-frame.c: White space. | |
5207 | * tramp-frame.c: White space. | |
5208 | * ui-file.c: White space. | |
5209 | * ui-out.c: White space. | |
5210 | * user-regs.c: White space. | |
5211 | * utils.c: White space. | |
5212 | ||
433759f7 MS |
5213 | * scm-exp.c: White space. |
5214 | * scm-lang.c: White space. | |
5215 | * scm-valprint.c: White space. | |
5216 | * sentinel-frame.c: White space. | |
5217 | * ser-base.c: White space. | |
5218 | * ser-go32.c: White space. | |
5219 | * serial.c: White space. | |
5220 | * ser-mingw.c: White space. | |
5221 | * ser-pipe.c: White space. | |
5222 | * ser-tcp.c: White space. | |
5223 | * ser-unix.c: White space. | |
5224 | * solib.c: White space. | |
5225 | * solib-darwin.c: White space. | |
5226 | * solib-frv.c: White space. | |
5227 | * solib-irix.c: White space. | |
5228 | * solib-osf.c: White space. | |
5229 | * solib-pa64.c: White space. | |
5230 | * solib-som.c: White space. | |
5231 | * solib-spu.c: White space. | |
5232 | * solib-svr4.c: White space. | |
5233 | * solib-target.c: White space. | |
5234 | * source.c: White space. | |
5235 | * stabsread.c: White space. | |
5236 | * stack.c: White space. | |
5237 | * std-regs.c: White space. | |
5238 | * symfile.c: White space. | |
5239 | * symmisc.c: White space. | |
5240 | * symtab.c: White space. | |
5241 | ||
dd304d53 MS |
5242 | 2010-05-16 Michael Snyder <[email protected]> |
5243 | ||
5244 | * source.c (_initialize_source): Add "rev" as an abbreviation | |
5245 | for the "reverse-search" command. | |
5246 | ||
a744cf53 MS |
5247 | 2010-05-16 Michael Snyder <[email protected]> |
5248 | ||
123f5f96 MS |
5249 | * record.c: White space. |
5250 | * regcache.c: White space. | |
5251 | * reggroups.c: White space. | |
5252 | * remote-fileio.c: White space. | |
5253 | * remote-m32r-sdi.c: White space. | |
5254 | * remote-mips.c: White space. | |
5255 | * remote-sim.c: White space. | |
a744cf53 MS |
5256 | * remote.c: White space. |
5257 | (process_g_packet): Remove orphan braces. | |
5258 | ||
b8d56208 MS |
5259 | 2010-05-15 Michael Snyder <[email protected]> |
5260 | ||
ad3bbd48 MS |
5261 | * parse.c: White space. |
5262 | * p-lang.c: White space. | |
5263 | * posix-hdep.c: White space. | |
5264 | * printcmd.c: White space. | |
5265 | * progspace.c: White space. | |
5266 | * prologue-value.c: White space. | |
5267 | * psymtab.c: White space. | |
5268 | * p-typeprint.c: White space. | |
5269 | * p-valprint.c: White space. | |
5270 | ||
5cc80db3 MS |
5271 | * objc-lang.c: White space. |
5272 | * objfiles.c: White space. | |
5273 | * observer.c: White space. | |
5274 | * osabi.c: White space. | |
5275 | * osdata.c: White space. | |
5276 | ||
b8d56208 MS |
5277 | * m2-lang.c: White space. |
5278 | * m2-valprint.c: White space. | |
5279 | * macrocmd.c: White space. | |
5280 | * macroexp.c: White space. | |
5281 | * macroscope.c: White space. | |
5282 | * macrotab.c: White space. | |
5283 | * main.c: White space. | |
5284 | * maint.c: White space. | |
5285 | * mdebugread.c: White space. | |
5286 | * memattr.c: White space. | |
5287 | * minsyms.c: White space. | |
5288 | * monitor.c: White space. | |
5289 | ||
9a619af0 MS |
5290 | 2010-05-14 Michael Snyder <[email protected]> |
5291 | ||
e0881a8e MS |
5292 | * jv-lang.c: White space. |
5293 | * jv-typeprint.c: White space. | |
5294 | * jv-valprint.c: White space. | |
5295 | * language.c: White space. | |
5296 | * libunwind-frame.c: White space. | |
5297 | * linespec.c: White space. | |
5298 | * linux-nat.c: White space. | |
5299 | * linux-record.c: White space. | |
5300 | * linux-thread-db.c: White space. | |
5301 | ||
abbb1732 MS |
5302 | * infcall.c: White space. |
5303 | * inf-child.c: White space. | |
5304 | * infcmd.c: White space. | |
5305 | * inferior.c: White space. | |
5306 | * inf-loop.c: White space. | |
5307 | * inflow.c: White space. | |
5308 | * inline-frame.c: White space. | |
5309 | * interps.c: White space. | |
5310 | ||
d8734c88 MS |
5311 | * gcore.c: White space. |
5312 | * gdb.c: White space. | |
5313 | * gdbtypes.c: White space. | |
5314 | * gnu-nat.c: White space. | |
5315 | * gnu-v2-abi.c: White space. | |
5316 | * gnu-v3-abi.c: White space. | |
5317 | ||
bb9bcb69 MS |
5318 | * findcmd.c: White space. |
5319 | * findvar.c: White space. | |
5320 | * fork-child.c: White space. | |
5321 | * frame-base.c: White space. | |
5322 | * frame.c: White space. | |
5323 | * frame-unwind.c: White space. | |
5324 | * f-valprint.c: White space. | |
5325 | ||
d7f9d729 MS |
5326 | * elfread.c: White space. |
5327 | * environ.c: White space. | |
5328 | * eval.c: White space. | |
5329 | * event-loop.c: White space. | |
5330 | * event-top.c: White space. | |
5331 | * exceptions.c: White space. | |
5332 | * exec.c: White space. | |
5333 | * expprint.c: White space. | |
5334 | ||
9a619af0 MS |
5335 | * dbxread.c: White space. |
5336 | * dcache.c: White space. | |
5337 | * disasm.c: White space. | |
5338 | * doublest.c: White space. | |
5339 | * dsrec.c: White space. | |
5340 | * dummy-frame.c: White space. | |
5341 | * dwarf2expr.c: White space. | |
5342 | * dwarf2-frame.c: White space. | |
5343 | * dwarf2loc.c: White space. | |
5344 | * dwarf2read.c: White space. | |
5345 | ||
88d4aea7 PM |
5346 | 2010-05-14 Phil Muldoon <[email protected]> |
5347 | ||
889bf7c5 | 5348 | PR python/11482 |
88d4aea7 PM |
5349 | |
5350 | * python/py-value.c (valpy_hash): New function. | |
5351 | (value_object_type): Register valpy_hash. | |
5352 | ||
7a298875 | 5353 | 2010-05-14 Hui Zhu <[email protected]> |
0407b3f1 | 5354 | Michael Snyder <[email protected]> |
7a298875 HZ |
5355 | |
5356 | * linux-fork.c (gdbthread.h): New include. | |
5357 | (fork_info): Add parent_ptid. | |
5358 | (inferior_call_waitpid_cleanup, inferior_call_waitpid): New | |
5359 | functions. | |
5360 | (delete_checkpoint_command): Call inferior_call_waitpid. | |
5361 | (checkpoint_command): Set parent_ptid. | |
5362 | ||
c14feecc MS |
5363 | 2010-05-13 Michael Snyder <[email protected]> |
5364 | ||
6595d32b MS |
5365 | * dictionary.c: Re-indent to GNU coding standard. |
5366 | ||
c5504eaf MS |
5367 | * charset.c: White space. |
5368 | * c-lang.c: White space. | |
5369 | * cli-out.c: White space. | |
5370 | * coffread.c: White space. | |
5371 | * complaints.c: White space. | |
5372 | * completer.c: White space. | |
5373 | * corefile.c: White space. | |
5374 | * corelow.c: White space. | |
5375 | * cp-abi.c: White space. | |
5376 | * cp-namespace.c: White space. | |
5377 | * cp-support.c: White space. | |
5378 | * cp-valprint.c: White space. | |
5379 | * c-typeprint.c: White space. | |
5380 | * c-valprint.c: White space. | |
cc59ec59 MS |
5381 | * blockframe.c: White space. |
5382 | * breakpoint.c: White space. | |
5383 | * buildsym.c: White space. | |
5384 | * blockframe.c: White space. | |
b6de9da4 | 5385 | * bcache.c: White space. |
05c547f6 MS |
5386 | * gdbarch.sh: White space, add blank lines. |
5387 | * arch-utils.c: Ditto. | |
5388 | * gdbarch.c: Regenerate. | |
1c4d3f96 | 5389 | * frame.c: White space, add blank lines. |
f89b749f MS |
5390 | * stack.c: White space, add blank lines. |
5391 | (initialize_stack): Remove long-dead code. | |
c14feecc | 5392 | |
a2d33775 JK |
5393 | 2010-05-13 Jan Kratochvil <[email protected]> |
5394 | ||
5395 | Code cleanup. | |
5396 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Change the parameter to type. | |
5397 | (locexpr_read_variable, loclist_read_variable): Update the callers. | |
5398 | ||
33ac96f0 JK |
5399 | 2010-05-13 Jan Kratochvil <[email protected]> |
5400 | ||
5401 | Code cleanup. | |
5402 | * dwarf2read.c (die_type, die_descriptive_type): Remove variable type. | |
5403 | Remove check of NULL returned by tag_type_to_type. | |
5404 | (die_containing_type): Remove variable type. Remove type_die variable | |
5405 | initialization. Remove check of NULL returned by tag_type_to_type. | |
5406 | ||
f5a010c0 PM |
5407 | 2010-05-11 Pierre Muller <[email protected]> |
5408 | ||
5409 | PR exp/11530. | |
5410 | * gdbtypes.c (lookup_struct_elt_type): Also lookup | |
5411 | names of unnamed structures or unions. | |
5412 | ||
bf701c2c PM |
5413 | 2010-05-11 Pierre Muller <[email protected]> |
5414 | ||
5415 | * procfs.c (proc_watchpoint_address): New function. | |
0407b3f1 | 5416 | (procfs_stopped_by_watchpoint): Remove useless check after |
bf701c2c PM |
5417 | find_procinfo_or_die call. |
5418 | (procfs_stopped_data_address): New function. | |
5419 | (procfs_use_watchpoints): Register new watchpoint related function. | |
5420 | ||
d02691ef TT |
5421 | 2010-05-11 Tom Tromey <[email protected]> |
5422 | ||
5423 | * eval.c (evaluate_subexp_standard): Revert inadvertent change. | |
5424 | ||
e0627e85 MS |
5425 | 2010-05-10 Michael Snyder <[email protected]> |
5426 | ||
5427 | * utils.c: White space cleanup. | |
5428 | ||
cc73bb8c TT |
5429 | 2010-05-10 Tom Tromey <[email protected]> |
5430 | ||
5431 | * eval.c (ptrmath_type_p): Add 'lang' argument. | |
5432 | (evaluate_subexp_standard): Update. | |
5433 | (evaluate_subexp_with_coercion): Update. | |
5434 | * language.h (CAST_IS_CONVERSION): Add 'LANG' argument. | |
5435 | ||
c02866a0 MS |
5436 | 2010-05-10 Michael Snyder <[email protected]> |
5437 | ||
5438 | * utils.c (do_fclose_cleanup) Restore local variable. | |
5439 | ||
06280d23 DE |
5440 | 2010-05-09 Doug Evans <[email protected]> |
5441 | ||
5442 | * record.c (init_record_core_ops): Rename record_core to record-core. | |
5443 | ||
fa07e785 JB |
5444 | 2010-05-08 Joel Brobecker <[email protected]> |
5445 | ||
5446 | Implement task switching on pa-hpux. | |
5447 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): New function. | |
5448 | (inf_ttrace_target): Set t->to_get_ada_task_ptid. | |
5449 | ||
4c680d1d PM |
5450 | 2010-05-08 Pierre Muller <[email protected]> |
5451 | ||
5452 | * valops.c (find_overload_match): Add missing i18n markup. | |
5453 | ||
28e176a6 PM |
5454 | 2010-05-08 Pierre Muller <[email protected]> |
5455 | ||
5456 | * p-exp.y (exp : SIZEOF '(' exp ')'): New rule. | |
5457 | ||
48cb83fd JK |
5458 | 2010-05-08 Jan Kratochvil <[email protected]> |
5459 | ||
5460 | * dwarf2read.c (typename_concat): Use (char *) NULL terminated stdarg | |
5461 | list for the obconcat call. | |
5462 | * mdebugread.c (parse_symbol): Likewise. | |
5463 | * stabsread.c (define_symbol, read_member_functions, read_cpp_abbrev): | |
5464 | Likewise. | |
5465 | * symfile.c (obconcat): Replace the s1, s2 and s3 parameters by `...'. | |
5466 | New variable ap. Remove variables len and val. | |
5467 | * symfile.h (obconcat): Likewise for the prototype. | |
5468 | ||
f92adf3c MS |
5469 | 2010-05-07 Michael Snyder <[email protected]> |
5470 | ||
5471 | * python/python.c (execute_gdb_command): Remove unused variables. | |
5472 | * python/py-block.c (gdbpy_block_for_pc): Remove unused variable. | |
0407b3f1 | 5473 | * python/py-breakpoint.c (gdbpy_breakpoint_created): |
f92adf3c MS |
5474 | Remove unused variable. |
5475 | * python/py-cmd.c (cmdpy_function): Remove unused variable. | |
5476 | (cmdpy_completer): Remove unused variable. | |
5477 | * python/py-frame.c (frapy_find_sal): Remove unused variable. | |
5478 | * python/py-function.c (fnpy_call): Remove unused variable. | |
5479 | * python/py-objfile.c (objfile_to_objfile_object): | |
5480 | Remove unused variable. | |
5481 | * python/py-param.c (parmpy_init): Remove unused variable. | |
0407b3f1 | 5482 | * python/py-prettyprint.c (apply_varobj_pretty_printer): |
f92adf3c MS |
5483 | Remove unused variable. |
5484 | (gdbpy_default_visualizer): Remove unused variable. | |
5485 | * python/py-progspace.c (pspace_to_pspace_object): | |
5486 | Remove unused variable. | |
0407b3f1 | 5487 | * python/py-symtab.c (symtab_and_line_to_sal_object): |
f92adf3c | 5488 | Remove unused variable. |
0407b3f1 | 5489 | * python/py-type.c (typy_template_argument): |
f92adf3c MS |
5490 | Remove unused variable. |
5491 | * python/py-value.c (valpy_string): Remove unused variable. | |
5492 | (convert_value_from_python): Remove unused variables. | |
5493 | ||
d160942f MS |
5494 | 2010-05-07 Michael Snyder <[email protected]> |
5495 | ||
5496 | * valops.c (value_cast_pointers): Restore unused variable 'type1', | |
5497 | and use it to compute variable 't1'. | |
5498 | ||
587542ab JB |
5499 | 2010-05-07 Joel Brobecker <[email protected]> |
5500 | ||
5501 | * ada-lang.c (assign_aggregate): Remove unused variable. | |
5502 | ||
7322dca9 SW |
5503 | 2010-05-07 Sami Wagiaalla <[email protected]> |
5504 | ||
5505 | PR C++/7943: | |
5506 | * valops.c (find_overload_match): Handle fsym == NULL case. | |
5507 | Add int no_adl argument. | |
5508 | (find_oload_champ_namespace_loop): Call make_symbol_overload_list_adl | |
5509 | when appropriate. | |
5510 | Add int no_adl argument. | |
5511 | (find_oload_champ_namespace): Add int no_adl argument. | |
5512 | * parse.c (operator_length_standard): Return length for OP_ADL_FUNC | |
5513 | expression. | |
5514 | * expprint.c (op_name_standard): Added string for OP_ADL_FUNC case. | |
5515 | * eval.c (evaluate_subexp_standard): Added OP_ADL_FUNC case. | |
5516 | Evaluate arguments and use them to perform ADL lookup. | |
5517 | Pass no_adl argument to find_overload_match. | |
5518 | Disable adl lookup when evaluating a fully qualified OP_FUNCALL. | |
5519 | * cp-support.h: Added prototype for | |
5520 | make_symbol_overload_list_namespace. | |
5521 | * cp-support.c (make_symbol_overload_list_namespace): New function. | |
5522 | (make_symbol_overload_list_adl_namespace): New function. | |
5523 | (make_symbol_overload_list_adl): New function. | |
5524 | (make_symbol_overload_list_using): Moved code to add function to | |
5525 | overload set to make_symbol_overload_list_namespace. | |
5526 | * c-exp.y: create UNKNOWN_CPP_NAME token. | |
5527 | Add parse rule for ADL functions. | |
5528 | (classify_name): Recognize an UNKNOWN_CPP_NAME. | |
5529 | ||
3f1f6884 JK |
5530 | 2010-05-07 Jan Kratochvil <[email protected]> |
5531 | ||
5532 | * fbsd-nat.c (fbsd_make_corefile_notes): Add cast to NULL used as | |
5533 | sentinel. | |
5534 | ||
3caf13b4 JB |
5535 | 2010-05-07 Joel Brobecker <[email protected]> |
5536 | ||
5537 | Implement task switching on solaris targets. | |
5538 | * sol-thread.c (thread_db_find_thread_from_tid) | |
5539 | (sol_get_ada_task_ptid): New functions. | |
5540 | (init_sol_thread_ops): Set sol_thread_ops.to_get_ada_task_ptid. | |
5541 | ||
94b0dee1 PA |
5542 | 2010-05-07 Pedro Alves <[email protected]> |
5543 | ||
5544 | * remote.c (remote_query_supported_append): Use reconcat. | |
5545 | (remote_query_supported): Install a cleanup. Use reconcat. | |
5546 | ||
1408c251 PA |
5547 | 2010-05-07 Pedro Alves <[email protected]> |
5548 | ||
5549 | * gdbarch.sh (qsupported): Delete. | |
5550 | * gdbarch.h, gdbarch.c: Regenerate. | |
5551 | * remote.c (remote_query_supported): Remove use of | |
5552 | gdbarch_qsupported. | |
5553 | ||
f8e50cfe SDJ |
5554 | 2010-05-06 Sergio Durigan Junior <[email protected]> |
5555 | ||
5556 | * xml-syscall.c (syscall_start_syscalls_info): Remove unused | |
5557 | function. | |
5558 | ||
8ea13695 MS |
5559 | 2010-05-06 Michael Snyder <[email protected]> |
5560 | ||
c6913b7d MS |
5561 | * xml-support.c (xinclude_start_include): Delete unused variable. |
5562 | (xml_process_xincludes): Delete unused variable. | |
5563 | * xml-syscall.c (syscall_parse_xml): Delete unused variable. | |
5564 | * target-descriptions.c (tdesc_gdb_type): Delete unused variable. | |
5565 | (tdesc_find_arch_register): Delete unused variable. | |
5566 | (tdesc_use_registers): Delete unused variable. | |
5567 | * xml-tdesc.c (tdesc_start_target): Delete unused variable. | |
5568 | * inferior.c (print_inferior): Delete unused variable. | |
5569 | * record.c (record_open_1): Delete unused variable. | |
5570 | (record_restore): Delete unused variable. | |
5571 | (cmd_record_save): Delete unused variable. | |
5572 | * gcore.c (derive_heap_segment): Delete unused variable. | |
5573 | (objfile_find_memory_regions): Use unused variable. | |
5574 | * jit.c (jit_inferior_init): Delete unused variable. | |
5575 | * progspace.c (clone_program_space): Delete unused variable. | |
5576 | (pspace_empty_p): Delete unused variable. | |
0407b3f1 AS |
5577 | |
5578 | * frame-unwind.c (frame_unwind_find_by_frame): | |
1c5465ac MS |
5579 | Delete unused variable. |
5580 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Delete unused variable. | |
5581 | * cp-support.c (mangled_name_to_comp): Delete unused variable. | |
5582 | (method_name_from_physname): Delete unused variable. | |
5583 | (cp_func_name): Delete unused variable. | |
5584 | (cp_validate_operator): Delete unused variable. | |
0407b3f1 | 5585 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): |
1c5465ac | 5586 | Delete unused variable. |
0407b3f1 | 5587 | * trad-frame.c (trad_frame_get_prev_register): |
1c5465ac MS |
5588 | Delete unused variable. |
5589 | * tramp-frame.c (tramp_frame_cache): Delete unused variable. | |
5590 | ||
1be757cf MS |
5591 | * serial.c (serial_for_fd): Delete unused variable. |
5592 | * mdebugread.c (psymtab_to_symtab_1): Delete unused variable. | |
5593 | * top.c (execute_command): Delete unused variable. | |
5594 | (init_main): Delete unused variable. | |
5595 | * utils.c (do_fclose_cleanup): Delete unused variable. | |
5596 | (do_all_inferior_continuations): Delete unused variable. | |
5597 | (initialize_utils): Delete unused variable. | |
5598 | (internal_problem_mode): Delete unused global. | |
5599 | * frame.c (get_prev_frame): Delete unused global. | |
5600 | (get_frame_locals_address): Delete unused global. | |
5601 | (get_frame_args_address): Delete unused global. | |
5602 | ||
9216103f MS |
5603 | * p-typeprint.c (pascal_type_print_base): Delete unused variable. |
5604 | (pascal_type_print_varspec_prefix): Delete unused variable. | |
5605 | * f-typeprint.c (f_type_print_base): Delete unused variable. | |
5606 | (f_type_print_varspec_suffix): Delete unused variable. | |
5607 | * m2-typeprint.c (m2_print_type): Delete unused variable. | |
5608 | (m2_long_set): Delete unused variable. | |
5609 | * ada-valprint.c (ada_val_print_1): Delete unused variable. | |
5610 | * d-valprint.c (dynamic_array_type): Delete unused variable. | |
0407b3f1 | 5611 | * f-valprint.c (f77_get_dynamic_length_of_aggregate): |
9216103f MS |
5612 | Delete unused variable. |
5613 | (f77_create_arrayprint_offset_tbl): Delete unused variable. | |
5614 | * m2-valprint.c (m2_val_print): Delete unused variable. | |
5615 | ||
34fa1d9d MS |
5616 | * ui-out.c (ui_out_field_int): Delete unused variable. |
5617 | (ui_out_field_fmt_int): Delete unused variable. | |
5618 | * varobj.c (varobj_list_children): Delete unused variable. | |
5619 | (varobj_set_value): Delete unused variable. | |
5620 | (install_new_value_visualizer): Delete unused variable. | |
5621 | (varobj_set_visualizer): Delete unused variable. | |
5622 | (varobj_update): Delete unused variable. | |
5623 | (varobj_editable_p): Delete unused variable. | |
5624 | (c_value_of_root): Delete unused variable. | |
5625 | (cplus_describe_child): Delete unused variable. | |
5626 | ||
b5385fc0 MS |
5627 | * ada-lang.c (add_defn_to_vec): Delete unused variable. |
5628 | (decode_constrained_packed_array_type): Delete unused variable. | |
5629 | (add_defn_to_vec): Delete unused variable. | |
5630 | (symbol_completion_match): Delete unused variable. | |
5631 | (value_tag_from_contents_and_address): Delete unused variable. | |
5632 | (ada_evaluate_subexp): Delete unused variable. | |
5633 | * c-lang.c (classify_type): Delete unused variable. | |
5634 | * f-lang.c (f_printstr): Delete unused variable. | |
5635 | * objc-lang.c (objc_printstr): Delete unused variable. | |
5636 | * ada-tasks.c (get_known_tasks_addr): Delete unused variable. | |
5637 | * jv-lang.c (type_from_class): ifdef unused variable. | |
5638 | (java_class_name_from_physname): Delete unused variable. | |
5639 | * m2-lang.c (m2_printstr): Delete unused variable. | |
5640 | ||
4fc06681 MS |
5641 | * objfiles.c (objfile_relocate): Delete unused variable. |
5642 | * maint.c (_initialize_maint_cmds): Delete unused variable. | |
5643 | * demangle.c (_initialize_demangler): Delete unused variable. | |
5644 | * corefile.c (reopen_exec_file): Delete unused variable. | |
5645 | * dwarf2expr.c (dwarf2_read_address): Delete unused variable. | |
5646 | * dwarf2-frame.c (decode_frame_entry): Delete unused variable. | |
5647 | ||
6b4398f7 MS |
5648 | * osabi.c (_initialize_gdb_osabi): Delete unused variable. |
5649 | * memattr.c (mem_delete): Delete unused variable. | |
5650 | (invalidate_target_mem_regions): Delete unused variable. | |
5651 | * mem-break.c (default_memory_insert_breakpoint): | |
5652 | Delete unused variable. | |
5653 | * target.c (target_get_osdata): Delete unused variable. | |
5654 | * parse.c (length_of_subexp): Delete unused variable. | |
5655 | (prefixify_subexp): Delete unused variable. | |
5656 | (exp_iterate): Delete unused variable. | |
5657 | * reverse.c (delete_bookmark_command): Delete unused variable. | |
5658 | ||
308d96ed MS |
5659 | * macrocmd.c (_initialize_macrocmd): Delete unused variable. |
5660 | * macroexp.c (gather_arguments): Delete unused variable. | |
5661 | (substitute_args): Delete unused variable. | |
5662 | * completer.c (gdb_completer_loc_break_characters): Unused, delete. | |
5663 | * gdbarch.sh (gdbarch_printable_names): Delete unused variable. | |
5664 | (_initialize_gdbarch): Delete unused variable. | |
5665 | * gdbarch.c, gdbarch.h: Regenerate. | |
0407b3f1 | 5666 | * arch-utils.c (initialize_current_architecture): |
308d96ed MS |
5667 | Delete unused variable. |
5668 | (_initialize_gdbarch_utils): Delete unused variable. | |
5669 | * gdbtypes.c (make_cv_type): Delete unused variable. | |
5670 | (make_type_with_address_space): Delete unused variable. | |
5671 | ||
167e4384 MS |
5672 | * linespec.c (decode_compound): Delete unused variable. |
5673 | * dictionary.c (iterator_next_hashed): Delete unused variable. | |
5674 | * infcall.c (call_function_by_hand): Delete unused variable. | |
5675 | * infcmd.c (step_1): Delete unused variable. | |
5676 | (registers_info): Delete unused variable. | |
5677 | (attach_command): Delete unused variable. | |
5678 | * infrun.c (follow_exec): Delete unused variable. | |
5679 | (handle_step_into_function_backwards): Delete unused variable. | |
5680 | (_initialize_infrun): Delete unused variable. | |
5681 | * stack.c (parse_frame_specification_1): Delete unused variable. | |
5682 | (frame_info): Delete unused variable. | |
5683 | (backtrace_command_1): Delete unused variable. | |
5684 | (catch_info): Delete unused variable. | |
5685 | ||
8f78b329 MS |
5686 | * eval.c (evaluate_subexp_standard): Delete unused variable. |
5687 | * valops.c (value_cast_pointers): Delete unused variable. | |
5688 | (value_dynamic_cast): Delete unused variable. | |
5689 | (value_array): Delete unused variable. | |
5690 | (find_overload_match): Delete unused variable. | |
5691 | * valarith.c (value_subscript): Delete unused variable. | |
5692 | (value_binop): Delete unused variable. | |
5693 | * valprint.c (_initialize_valprint): Delete unused variable. | |
5694 | * printcmd.c (print_command_1): Delete unused variable. | |
5695 | (address_info): Delete unused variable. | |
5696 | (printf_command): Delete unused variable. | |
5697 | ||
8ea13695 MS |
5698 | * auxv.c (target_auxv_search): Delete unused variable. |
5699 | * blockframe.c (get_frame_block): Delete unused variable. | |
5700 | * regcache.c (regcache_cpy): Delete unused variable. | |
5701 | (regcache_cpy_no_passthrough): Delete unused variable. | |
5702 | * charset.c (wchar_iterate): Delete unused variable. | |
5703 | (find_charset_names): Delete unused variable. | |
5704 | (_initialize_charset): Delete unused variable. | |
0407b3f1 | 5705 | * disasm.c (do_mixed_source_and_assembly): |
8ea13695 | 5706 | Delete unused variable. |
0407b3f1 | 5707 | * source.c (set_default_source_symtab_and_line): |
8ea13695 MS |
5708 | Delete unused variable. |
5709 | (set_substitute_path_command): Delete unused variable. | |
5710 | * value.c (preserve_values): Delete unused variable. | |
5711 | (value_from_double): Delete unused variable. | |
5712 | ||
afe38095 MS |
5713 | 2010-05-05 Michael Snyder <[email protected]> |
5714 | ||
952a6d41 MS |
5715 | * psymtab.c (lookup_partial_symbol): Delete unused variable. |
5716 | (find_last_source_symtab_from_partial): Delete unused variable. | |
5717 | * symfile.c (place_section): Delete unused variable. | |
5718 | (default_symfile_offsets): Delete unused variable. | |
5719 | (get_debug_link_info): Delete unused variable. | |
5720 | (find_separate_debug_file_by_debuglink): Delete unused variable. | |
5721 | (add_symbol_file_command): Delete unused variable. | |
5722 | (symfile_find_segment_sections): Delete unused variable. | |
5723 | * symmisc.c (free_symtab): Delete unused variable. | |
5724 | (dump_symtab_1): Delete unused variable. | |
5725 | * symtab.c (lookup_symbil_aux_quick): Delete unused variable. | |
5726 | (find_pc_sect_symtab): Delete unused variable. | |
5727 | (skip_prologue_using_lineinfo): Delete unused variable. | |
5728 | (sources_info): Delete unused variable. | |
5729 | (completion_list_add_name): Delete unused variable. | |
5730 | (expand_line_sal): Delete unused variable. | |
5731 | ||
0407b3f1 | 5732 | * breakpoint.c (validate_commands_for_breakpoint): |
afe38095 MS |
5733 | Delete unused variables. |
5734 | (insert_catchpoint): Delete unused variable. | |
5735 | (update_watchpoint): Delete unused variable. | |
5736 | (insert_bp_location): Delete unused variable. | |
5737 | (insert_breakpoint_locations): Delete unused variable. | |
5738 | (remove_breakpoint_1): Delete unused variable. | |
5739 | (software_breakpoint_inserted_here_p): Delete unused variable. | |
5740 | (watchpoints_triggered): Delete unused variable. | |
5741 | (bpstat_check_watchpoint): Delete unused variable. | |
5742 | (bpstat_stop_status): Delete unused variable. | |
5743 | (print_one_breakpoint_location): Delete unused variable. | |
5744 | (allocate_bp_location): Delete unused variable. | |
5745 | (create_breakpoint): Delete unused variable. | |
5746 | (watch_command_1): Delete unused variable. | |
5747 | (catch_exception_command_1): Delete unused variable. | |
5748 | (catch_ada_exception_command): Delete unused variable. | |
5749 | (delete_breakpoint): Delete unused variable. | |
5750 | (breakpoint_re_set_one): Delete unused variable. | |
5751 | (do_enable_breakpoint): Delete unused variable. | |
5752 | ||
eda5a4d7 PA |
5753 | 2010-05-06 Pedro Alves <[email protected]> |
5754 | ||
5755 | * amd64-tdep.c: Include disasm.h. | |
5756 | (amd64_insn_length_fprintf, amd64_insn_length_init_dis) | |
5757 | (amd64_insn_length): Moved to disasm.c and renamed. | |
5758 | (fixup_riprel): Adjust. | |
5759 | * disasm.c (do_ui_file_delete): New. | |
5760 | (gdb_insn_length): New. | |
5761 | (gdb_buffered_insn_length_fprintf) | |
5762 | (gdb_buffered_insn_length_init_dis) | |
5763 | (gdb_buffered_insn_length): New, moved from amd64-tdep.c, and | |
5764 | renamed. | |
5765 | * disasm.h (gdb_insn_length): Declare. | |
5766 | (gdb_buffered_insn_length): Declare. | |
5767 | ||
02357a4a PA |
5768 | 2010-05-06 Pedro Alves <[email protected]> |
5769 | ||
5770 | * remote.c (clear_threads_parsing_context): New. | |
5771 | (remote_threads_info): Delete unused null_cleanup. Install a | |
5772 | cleanup to clear the threads_parsing_context in case parsing | |
5773 | throws. | |
5774 | ||
8c5630cb MS |
5775 | 2010-05-05 Michael Snyder <[email protected]> |
5776 | ||
5777 | * c-exp.y (parse_string_or_char): Delete unused variable. | |
5778 | (c_lex): Delete unused variable. | |
5779 | * cp-name-parser.y (cpname_lex): Delete unused variable. | |
5780 | * ada-exp.y (find_primitive_type): Delete unused variable. | |
5781 | (write_var_or_type): Delete unused variable. | |
5782 | * jv-exp.y (java_parse): Delete unused variable. | |
5783 | (push_expression_name): Delete unused variable. | |
5784 | * p-exp.y (pascal_lex): Delete unused variable. | |
5785 | ||
46c162d4 PA |
5786 | 2010-05-05 Pedro Alves <[email protected]> |
5787 | ||
5788 | * remote.c (remote_threads_info): Really revert previous previous | |
5789 | change. | |
5790 | ||
0043e6a5 MS |
5791 | 2010-05-05 Michael Snyder <[email protected]> |
5792 | ||
fa238c03 MS |
5793 | * elfread.c (elf_symtab_read): Delete unused variable. |
5794 | (find_separate_debug_file_by_buildid): Delete unused variables. | |
5795 | (elf_symfile_read): Delete unused variable. | |
5796 | ||
5797 | * coffread.c (coff_symfile_read): Delete unused variables. | |
5798 | ||
5799 | * coff-pe-read.c (add_pe_exported_sym): Delete unused variable. | |
5800 | (read_pe_exported_syms): Delete unused variable. | |
5801 | ||
5802 | * stabsread.c (define_symbol): Delete unused variable. | |
5803 | ||
5804 | * dwarf2read.c (read_type_comp_unit_head): Delete unused variable. | |
5805 | (process_psymtab_comp_unit): Delete unused variable. | |
5806 | (dwarf2_build_psymtabs_hard): Delete unused variable. | |
5807 | (load_partial_comp_unit): Delete unused variable. | |
5808 | (create_all_comp_units): Delete unused variable. | |
5809 | (scan_partial_symbols): Delete unused variable. | |
5810 | (add_partial_symbol): Delete unused variable. | |
5811 | (add_partial_namespace): Delete unused variable. | |
5812 | (add_partial_enumeration): Delete unused variable. | |
5813 | (load_full_comp_unit): Delete unused variable. | |
5814 | (process_full_comp_unit): Delete unused variable. | |
5815 | (read_file_scope): Delete unused variable. | |
5816 | (read_type_unit_scope): Delete unused variable. | |
5817 | (process_structure_scope): Delete unused variable. | |
5818 | (process_enumeration_scope): Delete unused variable. | |
5819 | (read_tag_ptr_to_member_type): Delete unused variable. | |
5820 | (read_typedef): Delete unused variable. | |
5821 | (read_partial_die): Delete unused variable. | |
5822 | (decode_locdesc): Delete unused variable. | |
5823 | (zeroed_partial_die): Delete unused global variable. | |
5824 | ||
0407b3f1 | 5825 | * tui/tui-interp.c (_initialize_tui_interp): |
0043e6a5 | 5826 | Delete unused variable. |
0407b3f1 | 5827 | * tui/tui-regs.c tui_display_registers_from): |
0043e6a5 MS |
5828 | Delete unused variable. |
5829 | (tui_check_register_values): Delete unused variable. | |
5830 | (tui_register_format): Delete unused variable. | |
5831 | * tui/tui-win.c (_initialize_tui_win): Delete unused variable. | |
0407b3f1 | 5832 | * tui/tui-windata.c (tui_display_data_from_line): |
0043e6a5 MS |
5833 | Delete unused variables. |
5834 | (tui_vertical_data_scroll): Delete unused variables. | |
5835 | ||
75721c66 MS |
5836 | 2010-05-05 Michael Snyder <[email protected]> |
5837 | ||
c31a71f4 MS |
5838 | * remote.c (remote_threads_info): Revert questionable part of |
5839 | the previous change. | |
5840 | ||
5841 | 2010-05-05 Michael Snyder <[email protected]> | |
5842 | ||
5843 | * mi/mi-out.c (mi_table_begin): Delete unused variable. | |
5844 | * mi/mi-cmd-var.c (print_varobj): Delete unused variable. | |
5845 | (mi_cmd_var_list_children): Delete unused variable. | |
5846 | (varobj_update_one): Delete unused variable. | |
5847 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Delete unused variables. | |
0407b3f1 | 5848 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): |
c31a71f4 MS |
5849 | Delete unused variable. |
5850 | (mi_cmd_stack_list_variables): Delete unused variable. | |
5851 | (list_args_or_locals): Delete unused variable. | |
0407b3f1 | 5852 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): |
c31a71f4 MS |
5853 | Delete unused variables. |
5854 | (mi_cmd_file_list_exec_source_files): Delete unused variable. | |
0407b3f1 | 5855 | * mi/mi-cmd-target.c (mi_cmd_target_file_delete): |
c31a71f4 MS |
5856 | Delete unused variable. |
5857 | * mi/mi-interp.c (mi_interpreter_exec): Delete unused variable. | |
5858 | (mi_cmd_interpreter_exec): Delete unused variable. | |
5859 | (mi_on_normal_stop): Delete unused variable. | |
5860 | * mi/mi-main.c (run_one_inferior): Delete unused variable. | |
5861 | (print_one_inferior): Delete unused variables. | |
5862 | (mi_execute_command): Delete unused variable. | |
5863 | (mi_cmd_execute): Delete unused variable. | |
5864 | (timestamp): Delete unused variable. | |
5865 | ||
5866 | * cli/cli-dump.c (dump_memory_to_file): Delete unused variable. | |
d36fc00b | 5867 | (restore_binary_file): Delete unused variable. |
c31a71f4 MS |
5868 | * cli/cli-decode.c (deprecated_cmd_warning): Delete unused variables. |
5869 | * cli/cli-script.c (define_command): Delete unused variables. | |
d36fc00b MS |
5870 | (recurse_read_control_structure): Delete unused variable. |
5871 | (script_from_file): Delete unused variable. | |
c31a71f4 | 5872 | * cli/cli-cmds.c (complete_command): Delete unused variable. |
d36fc00b MS |
5873 | (disassemble_command): Delete unused variable. |
5874 | ||
5875 | * ax-gdb.c (gen_struct_elt_for_reference): Delete unused variables. | |
0407b3f1 | 5876 | * tracepoint.c (delete_trace_variable_command): |
d36fc00b MS |
5877 | Delete unused variables. |
5878 | (encode_actions_1): Delete unused variables. | |
5879 | (start_tracing): Delete unused variable. | |
5880 | (trace_status_mi): Delete unused variable. | |
5881 | (tfind_1): Delete unused variable. | |
5882 | (trace_find_pc_command): Delete unused variable. | |
5883 | (trace_find_line_command): Delete unused variables. | |
5884 | (trace_find_range_command): Delete unused variables. | |
5885 | (trace_find_outside_command): Delete unused variables. | |
5886 | (parse_tracepoint_definition): Delete unused variables. | |
5887 | (tfile_fetch_registers): Delete unused variable. | |
5888 | ||
9128a503 MS |
5889 | * dcache.c (dcache_init): Delete unused variable. |
5890 | (dcache_info): Delete unused variable. | |
5891 | ||
aa369b55 | 5892 | * remote.c (remote_threads_info): Delete unused variable. |
9128a503 | 5893 | (process_stop_reply) :Delete unused variable. |
aa369b55 MS |
5894 | (remote_get_trace_status): Delete unused variables. |
5895 | ||
9e9547e4 MS |
5896 | * linux-thread-db.c (add_thread_db_info): Delete unused variable. |
5897 | (thread_from_lwp): Delete unused variable. | |
5898 | (enable_thread_event_reporting): Delete unused variable. | |
5899 | (check_for_thread_db): Delete unused variables. | |
5900 | (thread_db_find_new_threads_2): Delete unused variable. | |
0407b3f1 | 5901 | |
9e9547e4 MS |
5902 | * linux-fork.c (info_checkpoints_command): Delete unused variables. |
5903 | (checkpoint_command): Delete unused variable. | |
5904 | (linux_fork_context): Delete unused variables. | |
5905 | ||
fa238c03 | 5906 | * linux-nat.c (linux_parent_pid): Delete unused global variable. |
75083f7e MS |
5907 | (linux_tracefork_child): Delete unused variable. |
5908 | (linux_child_follow_fork): Delete unused variable. | |
5909 | (linux_nat_detach): Delete unused variable. | |
5910 | (linux_handle_extended_wait): Delete unused variable. | |
5911 | (linux_nat_has_pending_sigint): Delete unused variable. | |
5912 | (linux_nat_find_memory_regions): Delete unused variable. | |
5913 | (linux_nat_make_corefile_notes): Delete unused variables. | |
5914 | (linux_nat_info_proc_cmd): Delete unused variable. | |
5915 | (linux_proc_pending_signals): Delete unused variable. | |
5916 | (linux_nat_stop_lwp): Delete unused variables. | |
5917 | (_initialize_linux_nat): Delete unused variable. | |
5918 | ||
fa238c03 | 5919 | * ser-pipe.c (pipe_ops): Delete unused global variable. |
2d148b94 | 5920 | |
0407b3f1 | 5921 | * linux-record.c (record_linux_system_call): |
e0f069a3 MS |
5922 | Delete unused variables. |
5923 | ||
789d24f0 MS |
5924 | * corelow.c (core_xfer_partial): Delete unused variables. |
5925 | ||
1cd337a5 | 5926 | * solib-svr4.c (find_program_interpreter): Delete unused variable. |
0407b3f1 | 5927 | (svr4_solib_create_inferior_hook): Add ifdef around |
1cd337a5 MS |
5928 | conditionally-used variable declarations. |
5929 | ||
b00e3f56 MS |
5930 | * solib.c (solib_find): Delete unused variable. |
5931 | (free_so_symbols): Delete unused variable. | |
5932 | (info_sharedlibrary_command): Delete unused variable. | |
5933 | (reload_shared_libraries_1): Delete unused variable. | |
5934 | (_initialize_solib): Delete unused variable. | |
5935 | ||
90f62196 MS |
5936 | * i386-tdep.c (i386_supply_xstateregset) Delete unused variable. |
5937 | (i386_collect_xstateregset): Delete unused variable. | |
5938 | * i387-tdep.c (i387_print_float_info): Delete unused variable. | |
5939 | ||
75721c66 MS |
5940 | * features/i386/i386-mmx.c (initialize_tdesc_i386_mmx): |
5941 | Delete unused variable 'type'. | |
5942 | ||
af33db37 JB |
5943 | 2010-05-05 Joel Brobecker <[email protected]> |
5944 | ||
90f62196 | 5945 | * gdbtypes.h (MAX_OF_TYPE, MIN_OF_TYPE): Delete macros. * |
63db82b2 JB |
5946 | ada-lang.c: Remove comment mentioning these macros. |
5947 | * m2-exp.y: Delete commented out code. | |
af33db37 | 5948 | |
0497f5b0 JB |
5949 | 2010-05-05 Joel Brobecker <[email protected]> |
5950 | ||
5951 | * sparc-tdep.c (sparc_structure_or_union_p): Return non-zero | |
5952 | for array types. | |
5953 | * sparc64-tdep.c (sparc64_structure_or_union_p): Likewise. | |
5954 | ||
6e39997a PM |
5955 | 2010-05-04 Pierre Muller <[email protected]> |
5956 | ||
5957 | ARI fix: Remove ATTRIBUTE_UNUSED throughout. | |
0407b3f1 | 5958 | * arm-linux-tdep.c (arm_linux_cleanup_svc): Remove |
6e39997a PM |
5959 | ATTRIBUTE_UNUSED. |
5960 | (cleanup_kernel_helper_return): Likewise. | |
5961 | * arm-tdep.c (copy_unmodified): Likewise. | |
5962 | (copy_preload): Likewise. | |
5963 | (copy_copro_load_store): Likewise. | |
5964 | (cleanup_branch): Likewise. | |
5965 | (copy_b_bl_blx): Likewise. | |
5966 | (copy_bx_blx_reg): Likewise. | |
5967 | (copy_alu_imm): Likewise. | |
5968 | (copy_alu_reg): Likewise. | |
5969 | (copy_alu_shifted_reg): Likewise. | |
5970 | (cleanup_load): Likewise. | |
5971 | (cleanup_store): Likewise. | |
5972 | (cleanup_block_load_pc): Likewise. | |
5973 | (cleanup_svc): Likewise. | |
5974 | (copy_undef): Likewise. | |
5975 | (copy_unpred): Likewise. | |
5976 | * remote.c (register_remote_support_xml): Likewise. | |
5977 | ||
1412f70b HZ |
5978 | 2010-05-05 Hui Zhu <[email protected]> |
5979 | ||
5980 | * gdbarch.h (gdbarch_has_dos_based_file_system): Update comment. | |
5981 | ||
c4f7c687 MK |
5982 | 2010-05-04 Mark Kettenis <[email protected]> |
5983 | ||
5984 | * remote.c (register_remote_support_xml) | |
5985 | (remote_query_supported_append, remote_query_supported): Add cast | |
5986 | to NULL used as sentinel. | |
5987 | * tracepoint.c (tvariables_info_1): Likewise. | |
5988 | * utils.c (add_internal_problem_command): Likewise. | |
5989 | ||
63b4f126 MGD |
5990 | 2010-05-04 Matthew Gretton-Dann <[email protected]> |
5991 | ||
5992 | * dwarf2loc.c (read_pieced_value, write_pieced_value, | |
5993 | dwarf2_evaluate_loc_desc): Handle not being able to access DWARF | |
5994 | registers gracefully. | |
5995 | ||
2f1bdd26 MGD |
5996 | 2010-05-04 Matthew Gretton-Dann <[email protected]> |
5997 | ||
0407b3f1 | 5998 | * exec.c (print_section_info): Display entry point without arch |
2f1bdd26 MGD |
5999 | specific parts. |
6000 | ||
e1c34c5d PM |
6001 | 2010-05-04 Pierre Muller <[email protected]> |
6002 | ||
6003 | PR exp/11349. | |
6004 | * printcmd.c (x_command): Only dereference once implicitly for | |
6005 | TYPE_CODE_REF. | |
6006 | ||
ae462839 DE |
6007 | 2010-05-03 Doug Evans <[email protected]> |
6008 | ||
6009 | * event-loop.c (gdb_timer): Delete unused global. | |
6010 | (create_timer): Update. | |
6011 | ||
1ac77ea1 JK |
6012 | 2010-05-03 Jan Kratochvil <[email protected]> |
6013 | ||
6014 | * cp-namespace.c (cp_lookup_symbol_imports): Support ALIAS for the | |
6015 | CURRENT->DECLARATION case. | |
6016 | * cp-support.h (struct using_direct): Provide extended comment. | |
6017 | ||
7c54a108 MK |
6018 | 2010-05-03 Mark Kettenis <[email protected]> |
6019 | ||
6020 | * hppaobsd-tdep.c (HPPAOBSD_SIZEOF_GREGS): Renamed from | |
6021 | HPPABSD_SIZEOF_GREGS. | |
6022 | (HPPAOBSD_SIZEOF_FPREGS): New define. | |
6023 | (hppaobsd_supply_gregset): Renamed from hppabsd_supply_gregset. | |
6024 | (hppaobsd_supply_fpregset): New function. | |
6025 | (hppaobsd_gregset): Renamed from hppabsd_gregset. | |
6026 | (hppaobsd_fpregset): New variable. | |
6027 | (hppaobsd_regset_from_core_section): Handle floating-point registers. | |
6028 | (_initialize_hppabsd_tdep): Remove spurious blank line. | |
6029 | ||
278582cb PM |
6030 | 2010-05-03 Pierre Muller <[email protected]> |
6031 | ||
6032 | PR pascal/11349. | |
6033 | * p-valprint.c (pascal_value_print): Always dereference a value with | |
6034 | type code TYPE_CODE_REF. | |
0407b3f1 | 6035 | |
f0223081 PA |
6036 | 2010-05-03 Pedro Alves <[email protected]> |
6037 | ||
6038 | * remote.c (remote_notice_signals): New. | |
6039 | (remote_start_remote): In non-stop mode, update the remote end on | |
6040 | which signals it can silently pass. | |
6041 | (init_remote_ops): Install remote_notice_signals. | |
6042 | ||
c25c4a8b JK |
6043 | 2010-05-02 Jan Kratochvil <[email protected]> |
6044 | ||
6045 | * cli/cli-cmds.h (error_no_arg): Remove. Move the comment ... | |
6046 | * command.h (error_no_arg): ... here. Remove NORETURN, change | |
6047 | ATTR_NORETURN to ATTRIBUTE_NORETURN. | |
6048 | * defs.h (NORETURN, ATTR_NORETURN): Remove. | |
6049 | (perror_with_name, verror, error, error_stream, vfatal, fatal) | |
6050 | (internal_verror, internal_error, nomem): Remove NORETURN, change | |
6051 | ATTR_NORETURN to ATTRIBUTE_NORETURN. | |
6052 | * exceptions.c (throw_exception, deprecated_throw_reason, throw_verror) | |
6053 | (throw_vfatal, throw_error): Remove NORETURN. | |
6054 | (throw_it): Remove NORETURN, change ATTR_NORETURN to ATTRIBUTE_NORETURN. | |
6055 | * exceptions.h (throw_exception, throw_verror, throw_vfatal) | |
6056 | (throw_error, deprecated_throw_reason): Remove NORETURN, change | |
6057 | ATTR_NORETURN to ATTRIBUTE_NORETURN. | |
6058 | * linespec.c (cplusplus_error): Remove NORETURN, change ATTR_NORETURN | |
6059 | to ATTRIBUTE_NORETURN for prototype, for the definition only remove | |
6060 | NORETURN. | |
6061 | * remote-mips.c (mips_error): Change NORETURN to ATTRIBUTE_NORETURN. | |
6062 | * remote-sim.c (gdb_os_error): Change ATTR_NORETURN to | |
6063 | ATTRIBUTE_NORETURN. | |
6064 | * target.c (tcomplain): Likewise. | |
6065 | * target.h (noprocess): Remove NORETURN, change ATTR_NORETURN to | |
6066 | ATTRIBUTE_NORETURN. | |
6067 | * utils.c (verror, error, vfatal, fatal, error_stream, internal_verror) | |
6068 | (internal_error, perror_with_name, nomem): Remove NORETURN. | |
6069 | * xml-support.h (gdb_xml_error): Change ATTR_NORETURN to | |
6070 | ATTRIBUTE_NORETURN. | |
6071 | ||
a0b31db1 JK |
6072 | 2010-05-02 Jan Kratochvil <[email protected]> |
6073 | ||
6074 | * ada-lang.c (lim_warning): Change ATTR_FORMAT to ATTRIBUTE_PRINTF. | |
6075 | * amd64-tdep.c (amd64_insn_length_fprintf): Likewise. | |
6076 | * cli-out.c (cli_field_fmt): New ATTRIBUTE_PRINTF. | |
6077 | (cli_message, out_field_fmt): Change ATTR_FORMAT to ATTRIBUTE_PRINTF. | |
6078 | * complaints.c (find_complaint): New ATTRIBUTE_PRINTF. | |
6079 | (vcomplaint): Change ATTR_FORMAT to ATTRIBUTE_PRINTF. | |
6080 | * complaints.h (complaint, internal_complaint): Likewise. | |
6081 | * defs.h: Change ATTR_FORMAT to ATTRIBUTE_PRINTF in the top comment. | |
6082 | (ATTR_FORMAT): Remove. | |
6083 | (query, nquery, yquery, vprintf_filtered, vfprintf_filtered) | |
6084 | (fprintf_filtered, fprintfi_filtered, printf_filtered, printfi_filtered) | |
6085 | (vprintf_unfiltered, vfprintf_unfiltered, fprintf_unfiltered) | |
6086 | (printf_unfiltered, xasprintf, xvasprintf, xstrprintf, xstrvprintf) | |
6087 | (xsnprintf, verror, error, vfatal, fatal, internal_verror) | |
6088 | (internal_error, internal_vwarning, internal_warning, warning) | |
6089 | (vwarning): Change ATTR_FORMAT to ATTRIBUTE_PRINTF. | |
6090 | * disasm.c (fprintf_disasm): Likewise. | |
6091 | * exceptions.c (throw_it): Likewise. | |
6092 | * exceptions.h (exception_fprintf, throw_verror, throw_vfatal) | |
6093 | (throw_error): Likewise. | |
6094 | * language.h (type_error, range_error): Likewise. | |
6095 | * linespec.c (cplusplus_error): Likewise. | |
6096 | * mi/mi-interp.c (mi_interp_query_hook): Likewise. | |
6097 | * mi/mi-out.c (mi_field_fmt, mi_message): Likewise. | |
6098 | * monitor.c (monitor_debug): Likewise. | |
6099 | * parser-defs.h (parser_fprintf): Likewise. | |
6100 | * serial.h (serial_printf): Likewise. | |
6101 | * tui/tui-hooks.c (tui_query_hook): Likewise. | |
6102 | * ui-out.c (default_field_fmt, default_message, uo_field_fmt) | |
6103 | (uo_message): Likewise. | |
6104 | * ui-out.h (ui_out_field_fmt, ui_out_message): Likewise. | |
6105 | * utils.c (vfprintf_maybe_filtered, internal_vproblem, defaulted_query): | |
6106 | Likewise. | |
6107 | * xml-support.h (gdb_xml_debug, gdb_xml_error): Likewise. | |
6108 | ||
02a45ac0 PA |
6109 | 2010-05-02 Pedro Alves <[email protected]> |
6110 | ||
6111 | * cli-out.c (cli_table_begin, cli_table_body, cli_table_end) | |
6112 | (cli_table_header, cli_begin, cli_end, cli_field_int) | |
6113 | (cli_field_skip, cli_field_string, cli_field_fmt, cli_spaces) | |
6114 | (cli_text, cli_message, cli_wrap_hint, cli_flush, cli_redirect): | |
6115 | Delete forward declarations. | |
6116 | (cli_ui_out_impl): Move below the callbacks. | |
6117 | (_initialize_cli_out): Delete. | |
6118 | ||
1915ef4f PA |
6119 | 2010-05-02 Pedro Alves <[email protected]> |
6120 | ||
6121 | * README: Use consistent `GDB' and `GDBserver' spellings. | |
6122 | ||
0dfb946f JK |
6123 | 2010-05-02 Jan Kratochvil <[email protected]> |
6124 | ||
6125 | * cli/cli-dump.h (parse_and_eval_with_error): Remove the declaration. | |
6126 | ||
4d533103 PA |
6127 | 2010-05-01 Pedro Alves <[email protected]> |
6128 | ||
6129 | * infrun.c (prepare_for_detach): In non-stop, context switch to | |
6130 | the thread that got the event before handling the event. | |
6131 | ||
705b5767 TT |
6132 | 2010-04-30 Tom Tromey <[email protected]> |
6133 | ||
6134 | * symtab.c (symbol_set_names): Fix typo. | |
6135 | ||
3c0ee1a4 PM |
6136 | 2010-04-30 Pierre Muller <[email protected]> |
6137 | ||
6138 | * python/py-param.c (parm_constants): Avoid ARI warning | |
6139 | by adding ARI comment. | |
6140 | (parmpy_init): Likewise. | |
6141 | ||
ea1fae46 PM |
6142 | 2010-04-30 Pierre Muller <[email protected]> |
6143 | ||
6144 | * windows-tdep.c (windows_get_tlb_type): Remember last GDBARCH | |
6145 | and created type for re-use. | |
6146 | ||
c24d0242 PM |
6147 | 2010-04-30 Pierre Muller <[email protected]> |
6148 | ||
6149 | * NEWS: Mention gdbserver support for x86_64 Windows 64-bit. | |
6150 | ||
a26d8d11 DE |
6151 | 2010-04-29 Doug Evans <[email protected]> |
6152 | ||
6153 | * ser-base.h (reschedule): Delete prototype. | |
6154 | * ser-base.c (reschedule): Make static. | |
6155 | ||
f8624c62 MGD |
6156 | 2010-04-29 Matthew Gretton-Dann <[email protected]> |
6157 | ||
6158 | * arm-linux-tdep.c (ARM_LINUX_JB_PC): Remove. | |
6159 | (ARM_LINUX_JB_PC_FPA): Add, offset of PC in longjmp buffer for FPA. | |
0407b3f1 | 6160 | (ARM_LINUX_JB_PC_EABI): Add, offset of PC in longjmp buffer for |
f8624c62 | 6161 | EABI. |
0407b3f1 | 6162 | (arm_linux_init_abi): Set up JB_PC field dependent on FP model in |
f8624c62 MGD |
6163 | use. |
6164 | ||
e66408ed PA |
6165 | 2010-04-29 Pedro Alves <[email protected]> |
6166 | ||
6167 | PR gdb/11557 | |
6168 | ||
6169 | * regcache.c (registers_changed): Rename to ... | |
6170 | (registers_changed_ptid): ... this, and only delete register cache | |
6171 | entries matching the ptid filter argument. | |
6172 | (registers_changed): Reimplement on top of registers_changed_ptid. | |
6173 | * regcache.h (registers_changed_ptid): Declare. | |
6174 | * target.c (target_resume): Flush register caches. | |
6175 | ||
d7b32ed3 | 6176 | 2010-04-29 Phil Muldoon <[email protected]> |
0407b3f1 AS |
6177 | Tom Tromey <[email protected]> |
6178 | Thiago Jung Bauermann <[email protected]> | |
6179 | ||
6180 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-parameter. | |
6181 | (SUBDIR_PYTHON_SRCS): Likewise. | |
6182 | (py-parameter.o): New rule. | |
6183 | * python/py-parameter.c: New file. | |
6184 | * python/python-internal.h (gdbpy_initialize_parameter) | |
6185 | (gdbpy_parameter, gdbpy_parameter_value) | |
6186 | (gdbpy_parse_command_name): Declare. | |
6187 | * python/py-cmd.c (parse_command_name): Rename to | |
6188 | gdbpy_parse_command_name. | |
6189 | (gdbpy_parse_command_name): Accept a starting list parameter and | |
6190 | use over cmdlist. | |
6191 | (cmdpy_init): Use gdbpy_parse_command_name. | |
6192 | * python/python.c (parameter_to_python): Rename to | |
6193 | gdbpy_parameter_to_python. Accept enum var_types and value. | |
6194 | (gdbpy_parameter): Use gdbpy_parameter_value. | |
6195 | (_initialize_python): Call gdbpy_initialize_parameters. | |
d7b32ed3 | 6196 | |
ce72ce41 MGD |
6197 | 2010-04-29 Matthew Gretton-Dann <[email protected]> |
6198 | ||
6199 | * MAINTAINERS: Add myself for write after approval privileges. | |
6200 | ||
6aecb9c2 JB |
6201 | 2010-04-29 Mihail Zenkov <[email protected]> |
6202 | ||
6203 | D language support. | |
6204 | * Makefile.in (SFILES): Add d-lang.c d-valprint.c. | |
6205 | (COMMON_OBS): Add d-lang.o d-valprint.o. | |
6206 | (HFILES_NO_SRCDIR): Add d-lang.h. | |
6207 | * NEWS: Mention D language support. | |
6208 | * c-lang.c (c_emit_char, exp_descriptor_c): Make public. | |
6209 | * c-lang.h (c_emit_char, exp_descriptor_c): Add declaration. | |
6210 | * d-lang.c: New file. | |
6211 | * d-lang.h: New file. | |
6212 | * d-valprint.c: New file. | |
6213 | * defs.h (enum language): Add language_d. | |
6214 | * dwarf2read.c (set_cu_language): Add DW_LANG_D. | |
6215 | * language.c (binop_result_type, integral_type, character_type) | |
6216 | (string_type, boolean_type, structured_type): Add language_d. | |
6217 | * symfile.c (init_filename_language_table): Add language_d. | |
6218 | * symtab.c: Include d-lang.h. | |
6219 | (symbol_init_language_specific, symbol_find_demangled_name) | |
6220 | (symbol_natural_name, lookup_symbol_in_language) | |
6221 | (symbol_demangled_name, symbol_matches_domain): Add language_d. | |
6222 | ||
6f992fbf JB |
6223 | 2010-04-27 Joel Brobecker <[email protected]> |
6224 | ||
6225 | * solib-svr4.c (solib_svr4_r_map): Expand function description. | |
6226 | ||
dde59185 JB |
6227 | 2010-04-27 Joel Brobecker <[email protected]> |
6228 | ||
6229 | * symfile.c (init_filename_language_table): Register .dg files | |
6230 | with language_ada. | |
6231 | ||
d09ce91e JB |
6232 | 2010-04-27 Joel Brobecker <[email protected]> |
6233 | ||
6234 | * gdbtypes.h (struct main_type): Expand comment about target_type | |
6235 | field. | |
6236 | ||
67f1675e JB |
6237 | 2010-04-27 Pedro Alves <[email protected]> |
6238 | Tristan Gingold <[email protected]> | |
02aeec7b JB |
6239 | |
6240 | * symfile.c (reread_symbols): Also search for file in libraries. | |
6241 | Update comment. | |
6242 | ||
dfd0fe27 JB |
6243 | 2010-04-27 Joel Brobecker <[email protected]> |
6244 | ||
6245 | * configure.tgt: Treat x86-lynxos targets as x86 bareboard targets | |
6246 | in terms of configuration. | |
6247 | ||
0133421a JK |
6248 | 2010-04-27 Jan Kratochvil <[email protected]> |
6249 | ||
6250 | * objfiles.c: Include solist.h. | |
6251 | (free_all_objfiles): New variable so. Check stale solist objfiles. | |
6252 | * symfile.c (symbol_file_clear): Swap the order of free_all_objfiles | |
6253 | and no_shared_libraries. | |
6254 | ||
e78f4312 JB |
6255 | 2010-04-27 Joel Brobecker <[email protected]> |
6256 | ||
6257 | ARI warning fix. | |
6258 | * python/py-auto-load.c (source_section_scripts): Remove trailing | |
6259 | new-line in i18n string. | |
6260 | ||
9214d371 DE |
6261 | 2010-04-26 Doug Evans <[email protected]> |
6262 | ||
6263 | * serial.c (serial_write): Handle serial_debug_p akin to serial_read. | |
6264 | ||
3f172e24 TT |
6265 | 2010-04-26 Tom Tromey <[email protected]> |
6266 | ||
6267 | * cli/cli-decode.c (complete_on_cmdlist): Make two passes over the | |
6268 | command list. | |
6269 | ||
e790e06e PM |
6270 | 2010-04-26 Pierre Muller <[email protected]> |
6271 | ||
6272 | Removal of config/i386/nm-i386sol2.h native configuration file. | |
6273 | * config/i386/nm-i386sol2.h: Remove file. | |
6274 | * config/i386/i386sol2.mh: Remove NAT_FILE definition. | |
6275 | * config/i386/sol2-64.mh: Idem. | |
88562582 PM |
6276 | * config/djgpp/fnchange.lst: Remove reference to that file. |
6277 | * Makefile.in (HFILES_NO_SRCDIR): Idem. | |
e790e06e | 6278 | |
b7da9e9f PM |
6279 | 2010-04-26 Pierre Muller <[email protected]> |
6280 | ||
6281 | PR breakpoints/11531. | |
6282 | * config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS): Remove | |
6283 | macro definition and related comment. | |
6284 | * infrun.c (CANNOT_STEP_HW_WATCHPOINTS): Remove macro. | |
6285 | (resume): Remove code and comment related to this macro. | |
6286 | ||
72f6eb52 JK |
6287 | 2010-04-26 Jan Kratochvil <[email protected]> |
6288 | ||
6289 | * cp-namespace.c (cp_lookup_symbol_in_namespace): Fix alloca size. | |
6290 | Fix whitespace. | |
6291 | ||
ab38a727 PA |
6292 | 2010-04-24 Pedro Alves <[email protected]> |
6293 | ||
6294 | * defs.h: Adjust comment. | |
6295 | * filesystem.h, filesystem.c: New files. | |
6296 | * Makefile.in (SFILES): Add filesystem.c. | |
6297 | (COMMON_OBS): Add filesystem.o. | |
6298 | * solib.c (solib_find): Handle DOS-based filesystems. Handle | |
6299 | different target and host path flavours. | |
6300 | * arm-symbian-tdep.c (arm_symbian_init_abi): Set | |
6301 | has_dos_based_file_system on the gdbarch. | |
6302 | * arm-wince-tdep.c (arm_wince_init_abi): Ditto. | |
6303 | * i386-cygwin-tdep.c (i386_cygwin_init_abi): Ditto. | |
6304 | * i386-tdep.c (i386_go32_init_abi): Ditto. | |
6305 | * gdbarch.sh (has_dos_based_file_system): New. | |
6306 | * gdbarch.h, gdbarch.c: Regenerate. | |
6307 | * NEWS: Mention improved support for remote targets with DOS-based | |
6308 | filesystems. Mention new `set/show target-file-system-kind' | |
6309 | commands. | |
6310 | ||
35c9c7ba SS |
6311 | 2010-04-23 Stan Shebs <[email protected]> |
6312 | ||
6313 | * ax.h (struct agent_expr): Merge in agent_reqs fields, add some | |
6314 | comments. | |
6315 | (struct agent_reqs): Remove. | |
6316 | (ax_reg_mask): Declare. | |
6317 | * ax-general.c (new_agent_expr): Add gdbarch argument, set new fields. | |
6318 | (free_agent_expr): Free reg_mask. | |
6319 | (ax_print): Add scope and register mask info. | |
6320 | (ax_reqs): Remove agent_reqs argument, use agent expression | |
6321 | fields, and move part of register mask computation to... | |
6322 | (ax_reg_mask): New function. | |
6323 | * ax-gdb.c (gen_trace_static_fields): Call it. | |
6324 | (gen_traced_pop): Ditto. | |
6325 | (is_nontrivial_conversion): Add dummy gdbarch to new_agent_expr. | |
6326 | (gen_trace_for_var): Pass gdbarch to new_agent_expr. | |
6327 | (gen_trace_for_expr): Ditto, and clear optimized_out flag. | |
6328 | (gen_eval_for_expr): Ditto, and require an rvalue. | |
6329 | (agent_command): Call ax_reqs. | |
6330 | (agent_eval_command): Ditto. | |
6331 | * tracepoint.c (report_agent_reqs_errors): Use agent expression fields. | |
6332 | (validate_action_line): Ditto. | |
6333 | (collect_symbol): Ditto. | |
6334 | (encode_actions_1): Ditto. | |
6335 | ||
492928e4 JK |
6336 | 2010-04-23 Daniel Jacobowitz <[email protected]> |
6337 | Paul Pluzhnikov <[email protected]> | |
6338 | Jan Kratochvil <[email protected]> | |
6339 | ||
6340 | Fix deadlock on looped list of loaded shared objects. | |
6341 | * solib-svr4.c (LM_PREV): New function. | |
6342 | (IGNORE_FIRST_LINK_MAP_ENTRY): Use it. | |
6343 | (svr4_current_sos): Check for correct l_prev. New variables prev_lm | |
6344 | and next_lm. Clear prev_lm for solib_svr4_r_ldsomap. | |
6345 | * config/djgpp/fnchange.lst: Add translation for solib-corrupted.exp. | |
6346 | ||
66d09542 DE |
6347 | 2010-04-23 Doug Evans <[email protected]> |
6348 | ||
88a1906b DE |
6349 | * configure.ac (CONFIG_SRCS): Add py-auto-load.o even if not using |
6350 | python. | |
6351 | * configure: Regenerate. | |
6352 | * main.c: #include "python/python.h". | |
6353 | (captured_main): Defer loading auto-loaded scripts until after | |
6354 | local_gdbinit has been sourced. | |
6355 | * python/py-auto-load.c (gdbpy_global_auto_load): New global. | |
6356 | (load_auto_scripts_for_objfile): New function. | |
6357 | (auto_load_new_objfile): Call it. | |
6358 | * python/python.h (gdbpy_global_auto_load): Declare. | |
6359 | (load_auto_scripts_for_objfile): Declare. | |
6360 | ||
66d09542 DE |
6361 | Add support for auto-loading scripts from .debug_gdb_scripts section. |
6362 | * NEWS: Add entry for .debug_gdb_scripts. | |
6363 | * Makefile.in SUBDIR_PYTHON_OBS): Add py-auto-load.o. | |
6364 | (SUBDIR_PYTHON_SRCS): Add py-auto-load.c. | |
6365 | (py-auto-load.o): New rule. | |
6366 | * cli/cli-cmds.c (find_and_open_script): Make externally visible. | |
6367 | * cli/cli-cmds.h (find_and_open_script): Update prototype. | |
6368 | * python/py-auto-load.c: New file. | |
6369 | * python/python-internal.h: #include <stdio.h>. | |
6370 | (set_python_list, show_python_list): Declare. | |
6371 | (gdbpy_initialize_auto_load): Declare. | |
6372 | (source_python_script_for_objfile): Declare. | |
6373 | * python/python.c: Remove #include of observer.h. | |
6374 | (gdbpy_auto_load): Moved to py-auto-load.c. | |
6375 | (GDBPY_AUTO_FILENAME): Ditto. | |
6376 | (gdbpy_new_objfile): Delete. | |
6377 | (source_python_script_for_objfile): New function. | |
6378 | (set_python_list, show_python_list): Make externally visible. | |
6379 | (_initialize_python): Move "auto-load" command to py-auto-load.c | |
6380 | and observer_attach_new_objfile to py-auto-load.c. | |
6381 | ||
3a48e6ff | 6382 | 2010-04-23 Jerome Guitton <[email protected]> |
0407b3f1 | 6383 | |
3a48e6ff JG |
6384 | * alpha-tdep.c (INSN_OPCODE, MEM_RA, MEM_RB, MEM_DISP, BR_RA) |
6385 | (OPR_FUNCTION, OPR_HAS_IMMEDIATE, OPR_RA, OPR_RC, OPR_LIT): New macros. | |
6386 | (lda_opcode, stq_opcode, bne_opcode, subq_opcode, subq_function): | |
6387 | New constants. | |
6388 | (alpha_heuristic_analyze_probing_loop): New function. | |
6389 | (alpha_heuristic_frame_unwind_cache): In the prologue analysis, detect | |
6390 | and handle cases when a stack probe loop is generated. | |
6391 | * alpha-mdebug-tdep.c (alpha_mdebug_frameless): New function. | |
6392 | (alpha_mdebug_max_frame_size_exceeded): New function. | |
6393 | (alpha_mdebug_after_prologue): Use alpha_mdebug_frameless. | |
6394 | (alpha_mdebug_frame_sniffer, alpha_mdebug_frame_base_sniffer): | |
6395 | Return 0 when the maximum debuggable frame size has been exceeded. | |
6396 | ||
e4166a49 JB |
6397 | 2010-04-23 Joel Brobecker <[email protected]> |
6398 | ||
6399 | Fix ARI warning. | |
6400 | * ppc-linux-nat.c (booke_cmp_hw_point): Do not mark inline. | |
6401 | ||
8bd10a10 CM |
6402 | 2010-04-20 Chris Moller <[email protected]> |
6403 | ||
6404 | PR 10179 | |
6405 | ||
6406 | * symtab.c (rbreak_command): Added code to include a filename | |
6407 | specification in the rbreak argument. | |
6408 | * NEWS: Added a brief description of filename-qualified rbreak. | |
6409 | ||
c0201579 JK |
6410 | 2010-04-22 Jan Kratochvil <[email protected]> |
6411 | ||
6412 | Fix crashes on dangling display expressions. | |
6413 | * ada-lang.c (ada_operator_check): New function. | |
6414 | (ada_exp_descriptor): Fill-in the field operator_check. | |
6415 | * c-lang.c (exp_descriptor_c): Fill-in the field operator_check. | |
6416 | * jv-lang.c (exp_descriptor_java): Likewise. | |
6417 | * m2-lang.c (exp_descriptor_modula2): Likewise. | |
6418 | * scm-lang.c (exp_descriptor_scm): Likewise. | |
6419 | * parse.c (exp_descriptor_standard): Likewise. | |
6420 | (operator_check_standard): New function. | |
6421 | (exp_iterate, exp_uses_objfile_iter, exp_uses_objfile): New functions. | |
6422 | * parser-defs.h (struct exp_descriptor): New field operator_check. | |
6423 | (operator_check_standard, exp_uses_objfile): New declarations. | |
6424 | * printcmd.c: Remove the inclusion of solib.h. | |
6425 | (display_uses_solib_p): Remove the function. | |
6426 | (clear_dangling_display_expressions): Call lookup_objfile_from_block | |
6427 | and exp_uses_objfile instead of display_uses_solib_p. | |
6428 | * solist.h (struct so_list) <objfile>: New comment. | |
6429 | * symtab.c (lookup_objfile_from_block): Remove the static qualifier. | |
6430 | * symtab.h (lookup_objfile_from_block): New declaration. | |
6431 | (struct general_symbol_info) <obj_section>: Extend the comment. | |
6432 | ||
6ffbb7ab TJB |
6433 | 2010-04-22 Sergio Durigan Junior <[email protected]> |
6434 | Thiago Jung Bauermann <[email protected]> | |
6435 | ||
6436 | * ppc-linux-nat.c (PTRACE_GET_DEBUGREG): Update comment. | |
6437 | (PPC_PTRACE_GETWDBGINFO, PPC_PTRACE_SETHWDEBUG, PPC_PTRACE_DELHWDEBUG, | |
6438 | ppc_debug_info, PPC_DEBUG_FEATURE_INSN_BP_RANGE, | |
6439 | PPC_DEBUG_FEATURE_INSN_BP_MASK, PPC_DEBUG_FEATURE_DATA_BP_RANGE, | |
6440 | PPC_DEBUG_FEATURE_DATA_BP_MASK, ppc_hw_breakpoint, | |
6441 | PPC_BREAKPOINT_TRIGGER_EXECUTE, PPC_BREAKPOINT_TRIGGER READ, | |
6442 | PPC_BREAKPOINT_TRIGGER_WRITE, PPC_BREAKPOINT_TRIGGER_RW, | |
6443 | PPC_BREAKPOINT_MODE_EXACT PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE, | |
6444 | PPC_BREAKPOINT_MODE_RANGE_EXCLUSIVE, PPC_BREAKPOINT_MODE_MASK, | |
6445 | PPC_BREAKPOINT_CONDITION_NONE, PPC_BREAKPOINT_CONDITION_AND, | |
6446 | PPC_BREAKPOINT_CONDITION_EXACT, PPC_BREAKPOINT_CONDITION_OR, | |
6447 | PPC_BREAKPOINT_CONDITION_AND_OR, PPC_BREAKPOINT_CONDITION_BE_ALL, | |
6448 | PPC_BREAKPOINT_CONDITION_BE_SHIFT, PPC_BREAKPOINT_CONDITION_BE): | |
6449 | Define, in case <ptrace.h> doesn't provide it. | |
6450 | (booke_debug_info): New variable. | |
6451 | (max_slots_number): Ditto. | |
6452 | (hw_break_tuple): New struct. | |
6453 | (thread_points): Ditto. | |
6454 | (ppc_threads): New variable. | |
6455 | (PPC_DEBUG_CURRENT_VERSION): New define. | |
6456 | (have_ptrace_new_debug_booke): New function. | |
6457 | (ppc_linux_check_watch_resources): Renamed to ... | |
6458 | (ppc_linux_can_use_hw_breakpoint): ... this. Handle BookE processors. | |
6459 | (ppc_linux_region_ok_for_hw_watchpoint): Handle BookE processors. | |
6460 | (booke_cmp_hw_point): New function. | |
6461 | (booke_find_thread_points_by_tid): Ditto. | |
6462 | (booke_insert_point): Ditto. | |
6463 | (booke_remove_point): Ditto. | |
6464 | (ppc_linux_insert_hw_breakpoint): Ditto. | |
6465 | (ppc_linux_remove_hw_breakpoint): Ditto. | |
6466 | (get_trigger_type): Ditto. | |
6467 | (ppc_linux_insert_watchpoint): Handle BookE processors. | |
6468 | (ppc_linux_remove_watchpoint): Ditto. | |
6469 | (ppc_linux_new_thread): Ditto. | |
6470 | (ppc_linux_thread_exit): New function.. | |
6471 | (ppc_linux_stopped_data_address): Handle BookE processors. | |
6472 | (ppc_linux_watchpoint_addr_within_range): Ditto. | |
6473 | (_initialize_ppc_linux_nat): Initialize to_insert_hw_breakpoint and | |
6474 | to_remove_hw_breakpoint fields of the target operations struct. | |
6475 | Add observe for the thread_exit event. | |
6476 | ||
be0d2954 L |
6477 | 2010-04-22 H.J. Lu <[email protected]> |
6478 | ||
6479 | * i386-linux-nat.c (regmap): Removed. | |
6480 | (fetch_register): Replace regmap with | |
6481 | i386_linux_gregset_reg_offset. | |
6482 | (store_register): Likewise. | |
6483 | (supply_gregset): Likewise. | |
6484 | (fill_gregset): Likewise. | |
6485 | ||
6486 | * i386-linux-tdep.c (i386_linux_gregset_reg_offset): Make it | |
6487 | global. | |
6488 | ||
6489 | * i386-linux-tdep.h (i386_linux_gregset_reg_offset): New. | |
6490 | ||
f56dcb88 CM |
6491 | 2010-04-22 Chris Moller <[email protected]> |
6492 | ||
6493 | * cp-valprint.c (cp_print_value_fields): Replaced obstack_base() | |
758afad7 L |
6494 | method of popping recursion-detection stack with a method based on |
6495 | obstack_object_size(). (Similar to the PR9167 patch below, but for | |
f56dcb88 CM |
6496 | the static array obstack rather than the static member obstack.) |
6497 | ||
6cd6a2ae L |
6498 | 2010-04-22 H.J. Lu <[email protected]> |
6499 | ||
6500 | * amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Removed. | |
6501 | (_initialize_amd64_linux_nat): Replace | |
6502 | amd64_linux_gregset64_reg_offset with | |
6503 | amd64_linux_gregset_reg_offset. | |
6504 | ||
6505 | * amd64-linux-tdep.c (amd64_linux_gregset_reg_offset): Make it | |
6506 | global. | |
6507 | ||
6508 | * amd64-tdep.h (amd64_linux_gregset_reg_offset): New. | |
6509 | ||
621791b8 PM |
6510 | 2010-04-22 Pierre Muller <[email protected]> |
6511 | ||
6512 | PR stabs/11479. | |
6513 | * stabsread.c (set_length_in_type_chain): New function. | |
6514 | (read_struct_type): Call set_length_in_type_chain function. | |
6515 | (read_enum_type): Idem. | |
6516 | ||
105c2d85 SS |
6517 | 2010-04-21 Stan Shebs <[email protected]> |
6518 | Nathan Sidwell <[email protected]> | |
6519 | ||
6520 | * tracepoint.c (trace_save): Open in binary mode. | |
6521 | ||
9a22f0d0 PM |
6522 | 2010-04-22 Pierre Muller <[email protected]> |
6523 | ||
6524 | * gdbtypes.h (builtin_type): Add builtin_char16 and builtin_char32 | |
6525 | fields. | |
0407b3f1 | 6526 | * gdbtypes.c (gdbtypes_post_init): Set builtin_char16 and |
9a22f0d0 PM |
6527 | builtin_char32 fields. |
6528 | * printcmd.c (decode_format): Set char size to '\0' | |
6529 | for strings unless explicit size is given. | |
6530 | (print_formatted): Correct calculation of NEXT_ADDRESS | |
6531 | for 16 or 32 bit strings. | |
6532 | (do_examine): Do not force byte size for strings. | |
6533 | Use builtin_char16 and builtin_char32 types to display | |
0407b3f1 | 6534 | 16 or 32 bit-wide strings. |
9a22f0d0 PM |
6535 | (x_command): Set LAST_SIZE to 'b' for string type. |
6536 | ||
f335d1b3 L |
6537 | 2010-04-21 H.J. Lu <[email protected]> |
6538 | ||
6539 | PR corefiles/11523 | |
6540 | * amd64-linux-tdep.c (amd64_linux_core_read_description): Check | |
6541 | XCR0 first. | |
6542 | ||
6543 | * i386-linux-tdep.c (i386_linux_core_read_xcr0): Return 0 if | |
6544 | there is no .reg-xstate section. | |
6545 | (i386_linux_core_read_description): Check XCR0 first. | |
6546 | ||
a9789a6b MF |
6547 | 2010-04-21 Mike Frysinger <[email protected]> |
6548 | ||
6549 | * gdb/sparc-tdep.c (sparc32_store_return_value): Add gdb_assert () | |
6550 | for len <= 8. | |
6551 | ||
0b66f317 CM |
6552 | 2010-04-21 Chris Moller <[email protected]> |
6553 | ||
6554 | PR 9167 | |
6555 | * cp-valprint.c (cp_print_value_fields): Replaced obstack_base() | |
32d7376d L |
6556 | method of popping recursion-detection stack with a method based on |
6557 | obstack_object_size(). | |
0b66f317 | 6558 | |
6e354e5e PM |
6559 | 2010-04-21 Pierre Muller <[email protected]> |
6560 | ||
6561 | PR pascal/11492. | |
6562 | * p-valprint.c (pascal_val_print): Fix default printing of integer | |
6563 | arrays. | |
6564 | ||
57174f31 PM |
6565 | 2010-04-21 Pierre Muller <[email protected]> |
6566 | ||
6567 | Fix compilation warning on gcc-4.1.2. | |
6568 | * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Initialize | |
6569 | local variable`pc' to zero. | |
6570 | ||
6fbc7cd8 JB |
6571 | 2010-04-20 Joel Brobecker <[email protected]> |
6572 | ||
6573 | Implement thread support with core files on alpha-tru64. | |
6574 | * dec-thread.c (dec_thread_find_new_threads): New function, | |
6575 | extracted from resync_thread_list. | |
6576 | (resync_thread_list): Add OPS parameter. Replace extracted-out | |
6577 | code by call to dec_thread_find_new_threads. | |
6578 | (dec_thread_wait): Update call to resync_thread_list. | |
6579 | (init_dec_thread_ops): Set dec_thread_ops.to_find_new_threads. | |
6580 | ||
438c98a1 JB |
6581 | 2010-04-20 Joel Brobecker <[email protected]> |
6582 | ||
6583 | * ada-lang.c (value_pointer): New function. | |
6584 | (make_array_descriptor): Call value_pointer to convert addresses to | |
6585 | pointers. | |
6586 | ||
2971b56b JB |
6587 | 2010-04-20 Joel Brobecker <[email protected]> |
6588 | ||
6589 | * rs6000-aix-tdep.c: #include exceptions.h. | |
6590 | (rs6000_convert_from_func_ptr_addr): If an exception is thrown | |
6591 | while reading the memory at ADDR, then ADDR cannot be a function | |
6592 | descriptor. | |
6593 | ||
be942545 JB |
6594 | 2010-04-20 Joel Brobecker <[email protected]> |
6595 | ||
6596 | * ada-typeprint.c (ada_print_typedef): New function. | |
6597 | * ada-lang.h (ada_print_typedef): Add declaration. | |
6598 | * ada-lang.c (ada_language_defn): set la_print_typdef field | |
6599 | to ada_print_typedef. | |
6600 | ||
1ca8fce0 JB |
6601 | 2010-04-20 Joel Brobecker <[email protected]> |
6602 | ||
6603 | * procfs.c (procfs_address_to_host_pointer): Only define when used. | |
6604 | ||
e9ef4f39 JB |
6605 | 2010-04-20 Joel Brobecker <[email protected]> |
6606 | ||
6607 | * procfs.c (iterate_over_mappings_cb_ftype): New typedef. | |
6608 | (iterate_over_mappings): Adjust function profile. Add declaration. | |
6609 | (insert_dbx_link_bpt_in_region, info_mappings_callback): | |
6610 | Adjust accordingly. | |
6611 | ||
e294797a JB |
6612 | 2010-04-20 Joel Brobecker <[email protected]> |
6613 | ||
6614 | * procfs.c (solib_mappings_callback): Move function up to avoid | |
6615 | a compiler warning. | |
6616 | ||
a223f1e7 JB |
6617 | 2010-04-20 Joel Brobecker <[email protected]> |
6618 | ||
6619 | * procfs.c (find_signalled_thread, find_stop_signal): Move | |
6620 | these functions down to define them only when used. | |
6621 | ||
0c3acc09 JB |
6622 | 2010-04-20 Joel Brobecker <[email protected]> |
6623 | ||
6624 | * valprint.c (common_val_print): Fix the value before extracting | |
6625 | its contents. | |
6626 | * ada-lang.c (ada_to_fixed_value): Make this function extern. | |
6627 | * ada-lang.h (ada_to_fixed_value): New function declaration. | |
6628 | * ada-valprint.c (ada_value_print): Use ada_to_fixed_value | |
6629 | to avoid code duplication and fix a bug in the handling of | |
6630 | fixed types contents. | |
6631 | ||
31ef98ae TT |
6632 | 2010-04-20 Tom Tromey <[email protected]> |
6633 | ||
6634 | * dwarf2read.c (dwarf2_compute_name): Handle DW_AT_linkage_name. | |
6635 | (read_partial_die): Likewise. | |
6636 | (dwarf_attr_name): Likewise. | |
6637 | ||
ec31cde5 | 6638 | 2010-04-20 Chris Moller <[email protected]> |
0407b3f1 | 6639 | |
ec31cde5 CM |
6640 | PR 10867 |
6641 | ||
6642 | * cp-valprint.c (global): Adding new static array recursion | |
6643 | detection obstack. | |
6644 | (cp_print_value_fields, cp_print_static_field): Added new static | |
6645 | array recursion detection code. | |
6646 | ||
e0e0e543 MK |
6647 | 2010-04-20 Mark Kettenis <[email protected]> |
6648 | ||
6649 | * i386-linux-tdep.c (i386_linux_regset_sections): Size of the | |
6650 | general-purpose register set should be 68 instead of 144. | |
6651 | (i386_linux_sse_regset_sections): Likewise. | |
6652 | (i386_linux_avx_regset_sections): Likewise. | |
6653 | ||
08922a10 SS |
6654 | 2010-04-20 Stan Shebs <[email protected]> |
6655 | Nathan Sidwell <[email protected]> | |
6656 | ||
6657 | * dwarf2loc.c (struct axs_var_loc): New struct. | |
6658 | (dwarf2_tracepoint_var_loc): New function. | |
6659 | (dwarf2_tracepoint_var_access): New function. | |
6660 | (dwarf2_tracepoint_var_ref): Use dwarf2_tracepoint_var_loc, deal | |
6661 | with DW_OP_piece. | |
6662 | (locexpr_describe_location_piece): New function. | |
6663 | (locexpr_describe_location_1): New function. | |
6664 | (locexpr_describe_location): Call it, update signature. | |
6665 | (loclist_describe_location): Rewrite to loop over locations, | |
6666 | update signature. | |
6667 | * symtab.h (struct symbol_computed_ops): Add address to | |
6668 | describe_location arguments, return void. | |
6669 | * printcmd.c (address_info): Get context PC, pass to computed | |
6670 | location description. | |
6671 | * tracepoint.c (scope_info): Ditto. | |
6672 | * ax-gdb.c (trace_kludge): Export. | |
6673 | ||
2dc7f7b3 TT |
6674 | 2010-04-20 Tom Tromey <[email protected]> |
6675 | ||
6676 | * dwarf2-frame.c (decode_frame_entry_1): Handle CIE version 4. | |
6677 | (struct dwarf2_cie) <segment_size>: New field. | |
6678 | * dwarf2read.c (partial_read_comp_unit_head): Accept DWARF 4. | |
6679 | (skip_one_die): Handle DW_FORM_flag_present, DW_FORM_sec_offset, | |
6680 | DW_FORM_exprloc. | |
6681 | (read_attribute_value): Handle DW_FORM_flag_present, | |
6682 | DW_FORM_sec_offset, DW_FORM_exprloc. | |
6683 | (dump_die_shallow): Likewise. | |
6684 | (attr_form_is_section_offset): Handle DW_FORM_sec_offset. | |
6685 | (dwarf2_const_value): Handle DW_FORM_exprloc. | |
6686 | (attr_form_is_block): Likewise. | |
6687 | (struct line_header) <maximum_ops_per_instruction>: New field. | |
6688 | (dwarf_decode_line_header): Set new field. | |
6689 | (dwarf_decode_lines): Handle new field. | |
6690 | ||
ce4b0682 SDJ |
6691 | 2010-04-20 Jan Kratochvil <[email protected]> |
6692 | ||
6693 | * f-exp.y: Add new production to recognize the `logical*8' type. | |
6694 | (LOGICAL_S8_KEYWORD): New token. | |
6695 | * f-lang.c (enum f_primitive_types) | |
6696 | <f_primitive_type_logical_s8>: New field. | |
6697 | (f_language_arch_info): Handling `logical*8' type. | |
6698 | (build_fortran_types): Building `logical*8' type. | |
6699 | * f-lang.h (struct builtin_f_type) <builtin_logical_s8>: New field. | |
6700 | ||
ff9f22f1 DE |
6701 | 2010-04-19 Doug Evans <[email protected]> |
6702 | ||
6703 | * ser-base.c (generic_readchar): Watch for EOF in read of error_fd. | |
6704 | * ser-pipe.c (pipe_open): Fix file descriptor leaks. | |
6705 | (pipe_close): Ditto. | |
6706 | ||
437125bd PM |
6707 | 2010-04-19 Pierre Muller <[email protected]> |
6708 | ||
6709 | * configure.tgt (x86_64-*-mingw*): Set BUILD_GDBSERVER to yes. | |
6710 | ||
e8e6c82e PM |
6711 | 2010-04-19 Pierre Muller <[email protected]> |
6712 | ||
6713 | * windows-tdep.c (windows_get_tlb_type): Change current_seh.handle | |
6714 | type to void function. | |
6715 | ||
4136fdd2 SS |
6716 | 2010-04-19 Stan Shebs <[email protected]> |
6717 | Vladimir Prus <[email protected]> | |
6718 | ||
6719 | * tracepoint.c (tfind_1): Add missing newline, report exit from | |
6720 | tfind mode as such. | |
6721 | * target.c (update_current_target): Make default | |
6722 | to_trace_find return -1. | |
6723 | ||
0c4b2e63 MF |
6724 | 2010-04-19 Mike Frysinger <[email protected]> |
6725 | ||
6726 | * objc-lang.c (find_methods): Move symname check up. | |
6727 | ||
78076abc PA |
6728 | 2010-04-19 Pedro Alves <[email protected]> |
6729 | ||
6730 | * ada-lang.c (print_recreate_exception) | |
6731 | <ex_catch_exception_unhandled>: It's "catch exception unhandled", | |
6732 | not "catch unhandled". | |
6733 | ||
6149aea9 PA |
6734 | 2010-04-19 Pedro Alves <[email protected]> |
6735 | ||
6736 | PR breakpoints/8554. | |
6737 | ||
6738 | Implement `save-breakpoints'. | |
6739 | ||
6740 | * breakpoint.c (save_cmdlist): New. | |
6741 | (breakpoint_set_cmdlist, breakpoint_show_cmdlist): Moved up close | |
6742 | to save_cmdlist. | |
6743 | (print_recreate_catch_fork): New. | |
6744 | (catch_fork_breakpoint_ops): Install it. | |
6745 | (print_recreate_catch_vfork): New. | |
6746 | (catch_vfork_breakpoint_ops): Install it. | |
6747 | (print_recreate_catch_syscall): New. | |
6748 | (catch_syscall_breakpoint_ops): Install it. | |
6749 | (print_recreate_catch_exec): New. | |
6750 | (catch_exec_breakpoint_ops): Install it. | |
6751 | (print_recreate_exception_catchpoint): New. | |
6752 | (gnu_v3_exception_catchpoint_ops): Install it. | |
6753 | (save_breakpoints): New, based on tracepoint_save_command, but | |
6754 | handle all breakpoint types. | |
6755 | (save_breakpoints_command): New. | |
6756 | (tracepoint_save_command): Rename to... | |
6757 | (save_tracepoints_command): ... this, and reimplement using | |
6758 | save_breakpoints. | |
6759 | (save_command): New. | |
6760 | (_initialize_breakpoints): Install the "save" command prefix. | |
6761 | Install the "save breakpoints" command. Make "save-tracepoints" a | |
6762 | deprecated alias for "save tracepoints". | |
6763 | * breakpoint.h (struct breakpoint_ops): New field `print_recreate'. | |
6764 | * ada-lang.c (print_recreate_exception): New. | |
6765 | (print_recreate_catch_exception): New. | |
6766 | (catch_exception_breakpoint_ops): Install it. | |
6767 | (print_recreate_catch_exception_unhandled): New. | |
6768 | (catch_exception_unhandled_breakpoint_ops): Install it. | |
6769 | (print_recreate_catch_assert): New. | |
6770 | (catch_assert_breakpoint_ops): Install it. | |
6771 | ||
6772 | * NEWS: Mention the new `save breakpoints' command. Mention the | |
6773 | new `save tracepoints' alias and that `save-tracepoints' is now | |
6774 | deprecated. | |
6775 | ||
0a8fce9a PA |
6776 | 2010-04-18 Pedro Alves <[email protected]> |
6777 | ||
6778 | PR tui/9217 | |
6779 | ||
6780 | * tui/tui-out.c: Include cli-out.h. | |
6781 | (tui_table_begin, tui_table_body, tui_table_end, tui_table_header) | |
6782 | (tui_begin, tui_end, tui_field_int, tui_field_skip) | |
6783 | (tui_field_string, tui_field_fmt, tui_spaces, tui_text) | |
6784 | (tui_message, tui_wrap_hint, tui_flush): Delete forward | |
6785 | declarations. | |
6786 | (struct ui_out_data): Rename to... | |
6787 | (struct tui_ui_out_data): ... this. Remove `stream' and | |
6788 | `suppress_output' fields, and inherit cli_ui_out_data. | |
6789 | (tui_out_data): New typedef. | |
6790 | (tui_ui_out_impl): Don't initialize fields staticaly. | |
6791 | (tui_table_begin, tui_table_body, tui_table_end, tui_table_header) | |
6792 | (tui_begin, tui_end): Delete. | |
6793 | (tui_field_int): Adjust to delegate most work to the base type. | |
6794 | (tui_field_skip): Delete. | |
6795 | (tui_field_string, tui_field_fmt): Adjust comment. Adjust to | |
6796 | delegate most work to the base type. | |
6797 | (tui_spaces): Delete. | |
6798 | (tui_text): Adjust to delegate most work to the base type. | |
6799 | (tui_message): Delete. | |
6800 | (tui_wrap_hint): Delete. | |
6801 | (tui_flush): Delete. | |
6802 | (out_field_fmt): Delete. | |
6803 | (field_separator): Delete. | |
6804 | (tui_out_new): Adjust to initialize the base type. | |
6805 | (_initialize_tui_out): Initialize tui_ui_out_impl. | |
6806 | * cli-out.c (struct ui_out_data): Moved out to cli-out.h, renamed | |
6807 | cli_ui_out_data. | |
6808 | (cli_out_data): Adjust. | |
6809 | (cli_ui_out_impl): Make extern. | |
6810 | (cli_table_header, cli_field_int, cli_field_skip): Use | |
6811 | uo_field_string instead of cli_field_string. | |
6812 | (cli_redirect): Adjust to use cli_out_data. | |
6813 | (cli_out_data_ctor): New. | |
6814 | (cli_out_new): Use it. | |
6815 | * cli-out.h (struct ui_file): Remove forward declaration. | |
6816 | (struct cli_ui_out_data): New, moved from cli-out.c, and renamed. | |
6817 | (cli_ui_out_impl): Declare. | |
6818 | (cli_out_data_ctor): Declare. | |
6819 | * ui-out.c (struct ui_out) <data>: Change type to void pointer. | |
6820 | (uo_field_string): No longer static. | |
6821 | (ui_out_data): Change return type to void pointer. | |
6822 | (ui_out_new): Change `data' parameter type to void pointer. | |
6823 | * ui-out.h (struct ui_out_data): Don't forward declare. | |
6824 | (ui_out_data): Change return type to void pointer. | |
6825 | (ui_out_new): Change `data' parameter type to void pointer. | |
6826 | (uo_field_string): Declare. | |
6827 | ||
172240dd PA |
6828 | 2010-04-17 Pedro Alves <[email protected]> |
6829 | ||
6830 | * ui-file.c (tee_file_isatty): Return whether `tee->one' is a tty, | |
6831 | instead of always false. | |
6832 | ||
ed41462c L |
6833 | 2010-04-17 H.J. Lu <[email protected]> |
6834 | ||
6835 | PR corefiles/11511 | |
6836 | * amd64-linux-tdep.c (amd64_linux_gregset_reg_offset): Support | |
6837 | orig_rax. | |
6838 | ||
cc60f2e3 PA |
6839 | 2010-04-17 Pedro Alves <[email protected]> |
6840 | ||
6841 | * breakpoint.c (watchpoints_triggered): Use | |
6842 | is_hardware_watchpoint. | |
6843 | (watchpoints_triggered): Ditto. | |
6844 | (bpstat_check_location): Use is_watchpoint and | |
6845 | is_hardware_watchpoint. | |
6846 | (bpstat_check_watchpoint): Use is_watchpoint and | |
6847 | is_hardware_watchpoint. | |
6848 | (bpstat_stop_status): Fix comment. | |
6849 | (user_settable_breakpoint): Use is_watchpoint. | |
6850 | (hw_watchpoint_used_count): Use is_hardware_watchpoint. | |
6851 | (disable_watchpoints_before_interactive_call_start): Use | |
6852 | is_watchpoint. | |
6853 | (enable_watchpoints_after_interactive_call_stop): Use | |
6854 | is_watchpoint. | |
6855 | (clear_command): Use is_watchpoint. | |
6856 | (do_enable_breakpoint): Use is_watchpoint. | |
6857 | ||
cb7db0f2 MF |
6858 | 2010-04-16 Mike Frysinger <[email protected]> |
6859 | ||
6860 | * solib-frv.c (enable_break1_done): Delete. | |
6861 | (enable_break2): Do not check enable_break1_done. Move the | |
6862 | enable_break2_done setting and call to | |
6863 | remove_solib_event_breakpoints() to the end. Return without | |
6864 | warning when the contents of _dl_debug_addr are 0. | |
6865 | (enable_break): Do not set enable_break1_done. | |
6866 | (frv_clear_solib): Likewise. | |
6867 | ||
d77b48cf KB |
6868 | 2010-04-16 Kevin Buettner <[email protected]> |
6869 | ||
6870 | * m32c-tdep.c (m32c_m16c_address_to_pointer): Print warning | |
6871 | instead of an error if no PLT entry is found. Return a | |
6872 | potentially useful result. | |
6873 | (m32c_m16c_pointer_to_address): Add code to search for function | |
6874 | address when no .plt entry is found. | |
6875 | ||
f90824dc SS |
6876 | 2010-04-16 Stan Shebs <[email protected]> |
6877 | ||
6878 | * tracepoint.c (trace_variable_command): Run a cleanup. | |
6879 | ||
9b79b476 PM |
6880 | 2010-04-16 Pierre Muller <[email protected]> |
6881 | ||
6882 | * p-lang.c (pascal_one_char): Do not restrict C to 0..255 range. | |
6883 | ||
711e434b PM |
6884 | 2010-04-16 Pierre Muller <[email protected]> |
6885 | ||
6886 | Support for Windows OS Thread Information Block. | |
6887 | * NEWS: Document new feature. | |
6888 | * remote.c (PACKET_qGetTIBAddr): New enum element. | |
6889 | (remote_get_tib_address): New function. | |
6890 | (init_remote_ops): Set to_get_tib_address field | |
6891 | to remote_get_tib_address. | |
6892 | (_initialize_remote): Add add_packet_config_cmd | |
6893 | for PACKET_qGetTIBAddr. | |
6894 | * target.c (update_current_target): Set default value for | |
6895 | new to_get_tib_address field. | |
6896 | * target.h (target_ops): New field to_get_tib_address. | |
6897 | (target_get_tib_address): New macro. | |
6898 | * windows-nat.c (thread_info): Add thread_local_base field. | |
6899 | (windows_add_thread): Add tlb argument of type 'void *'. | |
6900 | (fake_create_process): Adapt windows_add_thread call. | |
6901 | (get_windows_debug_event): Idem. | |
6902 | (windows_get_tib_address): New function. | |
6903 | (init_windows_ops): Set to_get_tib_address field | |
6904 | to remote_get_tib_address. | |
6905 | (_initialize_windows_nat): Replace info_w32_cmdlist | |
6906 | initialization by a call to init_w32_command_list. | |
6907 | (info_w32_command, info_w32_cmdlist): Removed from here... | |
6908 | to windows-tdep.c file. | |
6909 | * windows-tdep.h (info_w32_cmdlist): Declare. | |
0407b3f1 | 6910 | (init_w32_command_list): New external function |
711e434b PM |
6911 | declaration. |
6912 | * windows-tdep.c: Add several headers. | |
6913 | (info_w32_cmdlist): to here, made global. | |
6914 | (thread_information_32): New struct. | |
6915 | (thread_information_64): New struct. | |
6916 | (TIB_NAME): New char array. | |
6917 | (MAX_TIB32, MAX_TIB64, FULL_TIB_SIZE): New constants. | |
6918 | (maint_display_all_tib): New static variable. | |
6919 | (windows_get_tlb_type): New function. | |
6920 | (tlb_value_read, tlb_value_write): New functions. | |
6921 | (tlb_value_funcs): New static struct. | |
6922 | (tlb_make_value): New function. | |
6923 | (display_one_tib): New function. | |
6924 | (display_tib): New function. | |
6925 | (show_maint_show_all_tib):New function. | |
6926 | (info_w32_command): Moved from windows-nat.c. | |
6927 | (init_w32_command_list): New function. | |
6928 | (_initialize_windows_tdep): New function. | |
6929 | New "maint set/show show-all-tib" command | |
6930 | New "$_tlb" internal variable. | |
6931 | ||
cae3f17b JB |
6932 | 2010-04-16 Joel Brobecker <[email protected]> |
6933 | ||
6934 | * tui/tui-regs.c (tui_display_register): Add comment about | |
6935 | a couple of casts. | |
6936 | * tui/tui-stack.c (tui_show_locator_content): Ditto. | |
6937 | ||
2ce6d6bf SS |
6938 | 2010-04-15 Stan Shebs <[email protected]> |
6939 | ||
6940 | * frame.c: Include tracepoint.h. | |
6941 | (get_current_frame): Allow a trace frame to be an alternate source | |
6942 | of stack frame data. | |
6943 | * tracepoint.c (tfind_1): Don't try to get current stack frame if | |
6944 | it won't succeed. | |
6945 | ||
7e559477 PA |
6946 | 2010-04-15 Pedro Alves <[email protected]> |
6947 | ||
6948 | * ppc-linux-tdep.c (bsd_uthread_solib_loaded): Always pass 0 for | |
6949 | flags. | |
6950 | * solib-spu.c (spu_solib_loaded): Always pass 0 for flags. | |
6951 | ||
3f7b2faa DE |
6952 | 2010-04-15 Doug Evans <[email protected]> |
6953 | ||
fa33c3cd DE |
6954 | * NEWS: Add entry for python program space support. |
6955 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-progspace.o. | |
6956 | (SUBDIR_PYTHON_SRCS): Add py-progspace.c. | |
6957 | (py-progspace.o): New rule. | |
6958 | * python/py-prettyprint.c (find_pretty_printer_from_objfiles): New | |
6959 | function. | |
6960 | (find_pretty_printer_from_progspace): New function. | |
6961 | (find_pretty_printer_from_gdb): New function. | |
6962 | (find_pretty_printer): Rewrite. | |
6963 | * python/py-progspace.c: New file. | |
6964 | * python/python-internal.h (program_space): Add forward decl. | |
6965 | (pspace_to_pspace_object, pspy_get_printers): Declare. | |
6966 | (gdbpy_initialize_pspace): Declare. | |
6967 | * python/python.c: #include "progspace.h". | |
6968 | (gdbpy_get_current_progspace, gdbpy_progspaces): New functions. | |
6969 | (_initialize_python): Call gdbpy_initialize_pspace. | |
6970 | (GdbMethods): Add current_progspace, progspaces. | |
6971 | ||
3f7b2faa DE |
6972 | Add -s option to source command. |
6973 | * NEWS: Document new option. | |
6974 | * cli/cli-cmds.c (find_and_open_script): Add function comment. | |
6975 | Delete from_tty and cleanupp args. Split filep arg into file and | |
6976 | full_pathp. New arg search_path. | |
6977 | (source_script_from_stream): New function. | |
6978 | (source_script_with_search): New function. | |
6979 | (source_script): Rewrite. | |
6980 | (source_command): Parse "-s" option. | |
6981 | (init_cli_cmds): Add "-s" docs to source command help, and reformat. | |
6982 | * python/python.c (source_python_script): Make file arg a const char *. | |
6983 | Don't call fclose, leave for caller. | |
6984 | * python/python.h (source_python_script): Update. | |
6985 | ||
a86988f2 PA |
6986 | 2010-04-14 Daniel Jacobowitz <[email protected]> |
6987 | Pedro Alves <[email protected]> | |
6988 | ||
6989 | Avoid rereading shared libraries that haven't changed. | |
6990 | ||
6991 | * solib.c (free_so_symbols): New function, from ... | |
6992 | (free_so): ... here. Call it. | |
6993 | (solib_read_symbols): Don't warn here if symbols have already been | |
6994 | loaded. | |
6995 | (solib_add): Warn here instead, if a pattern was specified. | |
6996 | (reload_shared_libraries_1): New. | |
6997 | (reload_shared_libraries): Rewrite to not fetch the library list. | |
6998 | ||
e6d9b9c2 DE |
6999 | 2010-04-14 Doug Evans <[email protected]> |
7000 | ||
589390d6 | 7001 | * source.c (openp): Strip DOS drive letter if present before |
e6d9b9c2 DE |
7002 | concatenating string to search path. |
7003 | ||
516ba659 PA |
7004 | 2010-04-14 Pedro Alves <[email protected]> |
7005 | ||
7006 | * objfiles.h (gdb_bfd_close_or_warn): Declare. | |
7007 | * objfiles.c (gdb_bfd_close_or_warn): New. | |
7008 | * corelow.c: Include objfiles.h | |
7009 | (core_close): Use gdb_bfd_close_or_warn. | |
7010 | * elfread.c (build_id_verify): Ditto. | |
7011 | * exec.c (exec_close, exec_close_1): Ditto. | |
7012 | ||
048d532d PA |
7013 | 2010-04-14 Daniel Jacobowitz <[email protected]> |
7014 | Pedro Alves <[email protected]> | |
7015 | ||
7016 | Group errors for many missing shared libraries. | |
7017 | ||
7018 | * solist.h (struct so_list): Remove from_tty. | |
7019 | * solib.c (solib_bfd_open): Return NULL if we failed to open a BFD. | |
7020 | (solib_map_sections): Take so_list argument. Return 0 if we | |
7021 | failed to open a BFD. Add target sections here. | |
7022 | (symbol_add_stub): Delete. | |
7023 | (solib_read_symbols): Inline symbol_add_stub. Use current flags, | |
7024 | not from_tty copied from the so_list. Don't warn a second time | |
7025 | for a missing library. | |
7026 | (update_solib_list): Don't save from_tty. Use TRY_CATCH. Do not | |
7027 | add to the section table here. Print out a single warning for all | |
7028 | missing libraries. | |
7029 | * bsd-uthread.c (bsd_uthread_solib_loaded): Always pass 0 for | |
7030 | flags. | |
7031 | ||
044c0f87 PM |
7032 | 2010-04-14 Phil Muldoon <[email protected]> |
7033 | ||
7034 | * python/py-block.c (gdbpy_block_for_pc): Use i8n to encompass | |
7035 | error/warning messages. Capitalize and use complete sentences. | |
7036 | (blpy_block_syms_iternext): Likewise. | |
7037 | * python/py-cmd.c (parse_command_name, cmdpy_init): Likewise. | |
7038 | * python/py-frame.c (FRAPY_REQUIRE_VALID, frapy_block) | |
7039 | (frame_info_to_frame_object, frapy_read_var) | |
7040 | (gdbpy_frame_stop_reason_string): Likewise. | |
7041 | * python/py-lazy-string.c (stpy_convert_to_value) | |
7042 | (gdbpy_create_lazy_string_object): Likewise. | |
7043 | * python/py-objfile.c (objfpy_set_printers): Likewise. | |
7044 | * python/py-prettyprint.c (gdbpy_default_visualizer): Likewise. | |
7045 | * python/python.c (parameter_to_python): Likewise. | |
7046 | * python/py-type.c (typy_range, typy_target): Likewise. | |
7047 | * python/py-value.c (valpy_cast, valpy_length, valpy_getitem) | |
7048 | (valpy_richcompare, valpy_int, valpy_long, valpy_float): Likewise. | |
7049 | ||
7050 | ||
79f283fe PM |
7051 | 2010-04-14 Phil Muldoon <[email protected]> |
7052 | ||
7053 | PR python/11381 | |
7054 | ||
7055 | * python/py-prettyprint.c (pretty_print_one_value): Test for | |
7056 | Py_None. | |
7057 | (print_string_repr): Test for Py_None. Set flags accordingly. | |
7058 | Return value depending on return type. | |
7059 | (print_children): Take a value indicating whether data was printed | |
7060 | before this function was called. Alter output accordingly. | |
7061 | (apply_val_pretty_printer): Capture return value from | |
7062 | print_string_repr and pass to print_children. | |
7063 | ||
4ac5d44e MK |
7064 | 2010-04-13 Mark Kettenis <[email protected]> |
7065 | ||
e1caee70 | 7066 | PR corefiles/11481 |
4ac5d44e MK |
7067 | * i386-linux-tdep.c (i386_linux_regset_sections): Remove extended |
7068 | register note sections. | |
7069 | (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections): | |
7070 | New variables. | |
7071 | (i386_linux_init_abi): Install list of supported register note | |
7072 | sections that matches the target description. | |
7073 | ||
ad91cd99 PA |
7074 | 2010-04-13 Pedro Alves <[email protected]> |
7075 | ||
7076 | * remote.c (remote_get_noisy_reply): Don't error out on empty | |
7077 | replies. | |
7078 | (remote_start_remote): Update and merge tracepoints and trace | |
7079 | state variables as long as the target supports tracepoints. | |
7080 | (remote_trace_init): Fix prototype. | |
7081 | (remote_download_trace_state_variable): Validate reply. | |
7082 | (remote_trace_set_readonly_regions): Fix prototype. | |
7083 | (remote_trace_start): Fix prototype. Check for empty reply. | |
7084 | (remote_get_trace_status): Small cleanup. | |
7085 | (remote_trace_stop): Fix prototype. Check for empty reply. | |
7086 | (remote_trace_find): Check for empty reply. | |
7087 | (remote_save_trace_data): Validate reply. | |
7088 | (remote_set_disconnected_tracing): Check for empty reply, and | |
7089 | validate reply. | |
7090 | (remote_set_circular_trace_buffer): Ditto. | |
7091 | ||
ae3bccd4 PM |
7092 | 2010-04-13 Pierre Muller <[email protected]> |
7093 | ||
7094 | Suppress unused value warning during compilation. | |
7095 | * tui/tui-regs.c (tui_display_register): Cast wstandout and wstandend | |
7096 | calls to void. | |
7097 | * tui/tui-stack.c (tui_show_locator_content): Likewise. | |
7098 | ||
523136f2 SS |
7099 | 2010-04-12 Stan Shebs <[email protected]> |
7100 | ||
7101 | * tracepoint.c (tfile_xfer_partial): Check read result. | |
7102 | ||
0d18d720 MF |
7103 | 2010-04-12 Mike Frysinger <[email protected]> |
7104 | ||
7105 | * remote-m32r-sdi.c (m32r_files_info): Add const to local "file" var. | |
7106 | * remote-sim.c (gdbsim_files_info): Likewise. | |
7107 | ||
3b273a55 RE |
7108 | 2010-04-12 Matthew Gretton-Dann <[email protected]> |
7109 | ||
7110 | * arm-tdep.h (gdb_regnum): Add ARM_FPSCR_REGNUM | |
7111 | * arm-linux-nat.c (arm_linux_vfp_register_count): New | |
7112 | variable. | |
7113 | (fetch_vfp_registers): New function to fetch VFP registers. | |
7114 | (store_vfp_registers): New function to store VFP registers. | |
7115 | (arm_linux_fetch_inferior_registers): Add support for VFP | |
7116 | registers. | |
7117 | (arm_linux_store_inferior_registers): Likewise. | |
7118 | (arm_linux_read_description): Likewise. | |
7119 | (_initialize_arm_linux_nat): Delay initialising iWMMX tdesc | |
7120 | until we need it. | |
7121 | ||
778c7095 L |
7122 | 2010-04-11 H.J. Lu <[email protected]> |
7123 | ||
7124 | * amd64-tdep.c (amd64_supply_xstateregset): Remove the unused | |
7125 | tdep. | |
7126 | (amd64_collect_xstateregset): Likewise. | |
7127 | ||
2114d44c SS |
7128 | 2010-04-09 Stan Shebs <[email protected]> |
7129 | ||
87290684 SS |
7130 | * tracepoint.c (trace_status_mi): Report frames created. |
7131 | ||
2114d44c SS |
7132 | * tracepoint.c (trace_dump_command): Include default-collect |
7133 | expressions. | |
7134 | ||
86da934b UW |
7135 | 2010-04-09 Ulrich Weigand <[email protected]> |
7136 | ||
7137 | * symtab.c (find_function_start_sal): Never return SAL pointing | |
7138 | before function start address, even if line info is missing. | |
7139 | ||
2d6e647a | 7140 | 2010-04-09 Pedro Alves <[email protected]> |
d337e9f0 PA |
7141 | |
7142 | * NEWS: Mention tracepoints support. | |
7143 | ||
a97153c7 PA |
7144 | 2010-04-09 Pedro Alves <[email protected]> |
7145 | ||
7146 | * tracepoint.c (trace_status_mi): Report disconnected tracing and | |
7147 | circular trace buffer statuses. | |
7148 | ||
7a66d603 JK |
7149 | 2010-04-09 Jan Kratochvil <[email protected]> |
7150 | ||
7151 | * config/djgpp/fnchange.lst: Fix typo in translations for | |
7152 | symbol-without-target_section.exp and symbol-without-target_section.c. | |
7153 | ||
2566ad2d PA |
7154 | 2010-04-09 Pedro Alves <[email protected]> |
7155 | ||
7156 | * breakpoint.c (condition_command): Pass condition expression to | |
7157 | set_breakpoint_condition stripped from breakpoint number. | |
7158 | ||
adc36818 PM |
7159 | 2010-04-09 Phil Muldoon <[email protected]> |
7160 | Thiago Jung Bauermann <[email protected]> | |
2566ad2d | 7161 | Tom Tromey <[email protected]> |
adc36818 PM |
7162 | |
7163 | * breakpoint.c (condition_command): Simplify. Move condition | |
7164 | setting code to ... | |
7165 | (set_breakpoint_condition): ... here. New function. | |
7166 | * breakpoint.h (set_breakpoint_condition): Declare. | |
7167 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpoint. | |
7168 | (SUBDIR_PYTHON_SRCS): Likewise. | |
7169 | (py-breakpoint.o): New rule. | |
7170 | * python/py-breakpoint.c: New file. | |
7171 | * python/python-internal.h (gdbpy_breakpoints) | |
7172 | (gdbpy_initialize_breakpoints): Declare. | |
7173 | (GDB_PY_SET_HANDLE_EXCEPTION) Define. | |
7174 | ||
219f2f23 PA |
7175 | 2010-04-09 Pedro Alves <[email protected]> |
7176 | ||
7177 | * regformats/regdat.sh: Include server.h. Don't include | |
7178 | regcache.h. | |
7179 | ||
33da3f1c SS |
7180 | 2010-04-08 Stan Shebs <[email protected]> |
7181 | Pedro Alves <[email protected]> | |
7182 | ||
7183 | * tracepoint.h (struct trace_status): New fields disconnected_tracing | |
7184 | and circular_buffer. | |
7185 | (disconnect_tracing): Rename from disconnect_or_stop_tracing. | |
7186 | * tracepoint.c (trace_status_command): Display target's status for | |
7187 | disconnected tracing and circular buffer. | |
7188 | (disconnect_tracing): Rename from disconnect_or_stop_tracing, add | |
7189 | query for non-disconnected-tracing case, remove the stop_tracing | |
7190 | call. | |
7191 | (tfile_open): Clear disconnected and circular buffer status. | |
7192 | (trace_save): Save disconnected and circular buffer status. | |
7193 | (parse_trace_status): Parse disconnected and circular buffer status, | |
7194 | also recognize disconnected as a stop reason. | |
7195 | * remote.c (remote_set_disconnected_tracing): Only set | |
7196 | QTDisconnected if the remote end supports disconnected tracing. | |
7197 | Warn otherwise, if trying to enable disconnected tracing. | |
7198 | * infcmd.c (detach_command): Update disconnect_tracing call. | |
7199 | * cli/cli-cmds.c (quit_command): Ditto. | |
7200 | ||
4e4d8374 L |
7201 | 2010-04-08 H.J. Lu <[email protected]> |
7202 | ||
7203 | * i387-tdep.c (i387_collect_xsave): Replace abort with | |
7204 | internal_error. | |
7205 | ||
ad443146 SS |
7206 | 2010-04-08 Stan Shebs <[email protected]> |
7207 | ||
7208 | * breakpoint.c (default_collect_info): New function. | |
7209 | (breakpoints_info): Call it. | |
7210 | (maintenance_info_breakpoints): Ditto. | |
7211 | (tracepoints_info): Ditto. | |
7212 | ||
40936b0d L |
7213 | 2010-04-08 H.J. Lu <[email protected]> |
7214 | ||
7215 | * i387-tdep.c (i387_collect_xsave): Re-indent. | |
7216 | ||
3a13a53b L |
7217 | 2010-04-08 H.J. Lu <[email protected]> |
7218 | ||
7219 | * i386-linux-nat.c (have_ptrace_getfpxregs): Initialize to -1 | |
7220 | if HAVE_PTRACE_GETFPXREGS is defined. | |
7221 | (i386_linux_read_description): Set have_ptrace_getfpxregs and | |
7222 | have_ptrace_getregset to 0 if ptrace PTRACE_GETFPXREGS failed. | |
7223 | ||
7224 | * i386-linux-tdep.c: Include "features/i386/i386-mmx-linux.c" | |
7225 | (i386_linux_core_read_description): Return tdesc_i386_mmx_linux | |
7226 | if .reg-xfp section doesn't exist. | |
7227 | (_initialize_i386_linux_tdep): Call initialize_tdesc_i386_mmx_linux. | |
7228 | ||
7229 | * i386-linux-tdep.h (tdesc_i386_mmx_linux): New. | |
7230 | ||
7231 | * i386-tdep.c: Include "features/i386/i386-mmx.c". | |
7232 | (i386_go32_init_abi): Set tdesc to tdesc_i386_mmx. | |
7233 | (i386_validate_tdesc_p): Make org.gnu.gdb.i386.sse optional. Set | |
7234 | xcr0 to I386_XSTATE_X87_MASK if SSE isn't available. | |
7235 | (i386_gdbarch_init): Update comments. | |
7236 | (_initialize_i386_tdep): Call initialize_tdesc_i386_mmx. | |
7237 | ||
7238 | * common/i386-xstate.h (I386_XSTATE_X87_MASK): New. | |
7239 | ||
7240 | * config/djgpp/fnchange.lst: Add i386 MMX XML files. | |
7241 | ||
7242 | * features/Makefile (i386/i386-mmx-expedite): New. | |
7243 | (i386/i386-mmx-linux-expedite): Likewise. | |
7244 | ($(outdir)/i386/i386-mmx.dat): Likewise. | |
7245 | ($(outdir)/i386/i386-mmx-linux.dat): Likewise. | |
7246 | ||
7247 | * features/i386/i386-mmx-linux.c: New. | |
7248 | * features/i386/i386-mmx-linux.xml: Likewise. | |
7249 | * features/i386/i386-mmx.c: Likewise. | |
7250 | * features/i386/i386-mmx.xml: Likewise. | |
7251 | * regformats/i386/i386-mmx-linux.dat: Likewise. | |
7252 | * regformats/i386/i386-mmx.dat: Likewise. | |
7253 | ||
7254 | * features/Makefile (WHICH): Add i386/i386-mmx and | |
7255 | i386/i386-mmx-linux. | |
7256 | ||
08001717 DE |
7257 | 2010-04-08 Doug Evans <[email protected]> |
7258 | ||
7259 | * source.c (openp): Skip $cdir in PATH. | |
7260 | ||
fff5cc64 PM |
7261 | 2010-04-08 Phil Muldoon <[email protected]> |
7262 | ||
7263 | PR python/11417 | |
fff5cc64 | 7264 | * python/py-lazy-string.c (stpy_convert_to_value): Check for |
3a13a53b L |
7265 | a NULL address. |
7266 | (gdbpy_create_lazy_string_object): Allow strings with a NULL | |
7267 | address and a zero length. | |
fff5cc64 | 7268 | |
f8c4f480 HZ |
7269 | 2010-04-08 Hui Zhu <[email protected]> |
7270 | ||
7271 | * i386-tdep.c (i386_process_record): Add support for insn | |
7272 | rdtsc. | |
7273 | ||
eb5cda86 DE |
7274 | 2010-04-07 Doug Evans <[email protected]> |
7275 | ||
7276 | * python/python.c (source_python_script): Use ensure_python_env | |
7277 | to prepare environment for script. | |
7278 | ||
a055a187 L |
7279 | 2010-04-07 H.J. Lu <[email protected]> |
7280 | ||
7281 | * amd64-linux-nat.c: Include "regset.h", "elf/common.h", | |
7282 | <sys/uio.h> and "i386-xstate.h". | |
7283 | (PTRACE_GETREGSET): New. | |
7284 | (PTRACE_SETREGSET): Likewise. | |
7285 | (have_ptrace_getregset): Likewise. | |
7286 | (amd64_linux_gregset64_reg_offset): Include 16 upper YMM | |
7287 | registers. | |
7288 | (amd64_linux_gregset32_reg_offset): Include 8 upper YMM | |
7289 | registers. | |
7290 | (amd64_linux_fetch_inferior_registers): Support PTRACE_GETFPREGS. | |
7291 | (amd64_linux_store_inferior_registers): Likewise. | |
7292 | (amd64_linux_read_description): Check and enable AVX target | |
7293 | descriptions. | |
7294 | ||
7295 | * amd64-linux-tdep.c: Include "regset.h", "i386-linux-tdep.h" | |
7296 | and "features/i386/amd64-avx-linux.c". | |
7297 | (amd64_linux_regset_sections): New. | |
7298 | (amd64_linux_core_read_description): Check and enable AVX | |
7299 | target description. | |
7300 | (amd64_linux_init_abi): Set xsave_xcr0_offset. Call | |
7301 | set_gdbarch_core_regset_sections. | |
7302 | (_initialize_amd64_linux_tdep): Call | |
7303 | initialize_tdesc_amd64_avx_linux. | |
7304 | ||
7305 | * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Replace | |
7306 | AMD64_MXCSR_REGNUM with AMD64_YMM15H_REGNUM. | |
7307 | (tdesc_amd64_avx_linux): New. | |
7308 | (amd64_linux_update_xstateregset): Likewise. | |
7309 | ||
7310 | * amd64-tdep.c: Include "features/i386/amd64-avx.c". | |
7311 | (amd64_ymm_names): New. | |
7312 | (amd64_ymmh_names): Likewise. | |
7313 | (amd64_register_name): Likewise. | |
7314 | (amd64_supply_xstateregset): Likewise. | |
7315 | (amd64_collect_xstateregset): Likewise. | |
7316 | (amd64_supply_xsave): Likewise. | |
7317 | (amd64_collect_xsave): Likewise. | |
7318 | (AMD64_NUM_REGS): Removed. | |
7319 | (amd64_dwarf_reg_to_regnum): Return %ymmN register number for | |
7320 | %xmmN if AVX is available. | |
7321 | (amd64_pseudo_register_name): Support pseudo YMM registers. | |
7322 | (amd64_regset_from_core_section): Support .reg-xstate section. | |
7323 | (amd64_init_abi): Set ymmh_register_names, num_ymm_regs | |
7324 | and ymm0h_regnum. Call set_gdbarch_register_name. | |
7325 | (amd64_init_abi): Call initialize_tdesc_amd64_avx. | |
7326 | ||
7327 | * amd64-tdep.h (amd64_regnum): Add AMD64_YMM0H_REGNUM and | |
7328 | AMD64_YMM15H_REGNUM. | |
7329 | (AMD64_NUM_REGS): New. | |
7330 | (amd64_supply_xsave): Likewise. | |
7331 | (amd64_collect_xsave): Likewise. | |
7332 | (amd64_register_name): Removed. | |
7333 | (amd64_register_type): Likewise. | |
7334 | ||
31aeac78 L |
7335 | 2010-04-07 H.J. Lu <[email protected]> |
7336 | ||
7337 | * i387-tdep.c: Include "i386-xstate.h". | |
7338 | (XSAVE_XSTATE_BV_ADDR): New. | |
7339 | (xsave_avxh_offset): Likewise. | |
7340 | (XSAVE_AVXH_ADDR): Likewise. | |
7341 | (i387_supply_xsave): Likewise. | |
7342 | (i387_collect_xsave): Likewise. | |
7343 | ||
7344 | * i387-tdep.h (I387_NUM_YMM_REGS): New. | |
7345 | (I387_YMM0H_REGNUM): Likewise. | |
7346 | (I387_YMMENDH_REGNUM): Likewise. | |
7347 | (i387_supply_xsave): Likewise. | |
7348 | (i387_collect_xsave): Likewise. | |
7349 | ||
c131fcee L |
7350 | 2010-04-07 H.J. Lu <[email protected]> |
7351 | ||
7352 | * i386-linux-nat.c: Include "regset.h", "elf/common.h", | |
7353 | <sys/uio.h> and "i386-xstate.h". | |
7354 | (PTRACE_GETREGSET): New. | |
7355 | (PTRACE_SETREGSET): Likewise. | |
7356 | (fetch_xstateregs): Likewise. | |
7357 | (store_xstateregs): Likewise. | |
7358 | (GETXSTATEREGS_SUPPLIES): Likewise. | |
7359 | (regmap): Include 8 upper YMM registers. | |
7360 | (i386_linux_fetch_inferior_registers): Support XSAVE extended | |
7361 | state. | |
7362 | (i386_linux_store_inferior_registers): Likewise. | |
7363 | (i386_linux_read_description): Check and enable AVX target | |
7364 | descriptions. | |
7365 | ||
7366 | * i386-linux-tdep.c: Include "regset.h", "i387-tdep.h", | |
7367 | "i386-xstate.h" and "features/i386/i386-avx-linux.c". | |
7368 | (i386_linux_regset_sections): Add ".reg-xstate". | |
7369 | (i386_linux_gregset_reg_offset): Include 8 upper YMM registers. | |
7370 | (i386_linux_core_read_xcr0): New. | |
7371 | (i386_linux_core_read_description): Check and enable AVX target | |
7372 | description. | |
7373 | (i386_linux_init_abi): Set xsave_xcr0_offset. | |
7374 | (_initialize_i386_linux_tdep): Call | |
7375 | initialize_tdesc_i386_avx_linux. | |
7376 | ||
7377 | * i386-linux-tdep.h (I386_LINUX_ORIG_EAX_REGNUM): Replace | |
7378 | I386_SSE_NUM_REGS with I386_AVX_NUM_REGS. | |
7379 | (i386_linux_core_read_xcr0): New. | |
7380 | (tdesc_i386_avx_linux): Likewise. | |
7381 | (I386_LINUX_XSAVE_XCR0_OFFSET): Likewise. | |
7382 | ||
7383 | * i386-tdep.c: Include "i386-xstate.h" and | |
7384 | "features/i386/i386-avx.c". | |
7385 | (i386_ymm_names): New. | |
7386 | (i386_ymmh_names): Likewise. | |
7387 | (i386_ymmh_regnum_p): Likewise. | |
7388 | (i386_ymm_regnum_p): Likewise. | |
7389 | (i386_xmm_regnum_p): Likewise. | |
7390 | (i386_register_name): Likewise. | |
7391 | (i386_ymm_type): Likewise. | |
7392 | (i386_supply_xstateregset): Likewise. | |
7393 | (i386_collect_xstateregset): Likewise. | |
7394 | (i386_sse_regnum_p): Removed. | |
7395 | (i386_pseudo_register_name): Support pseudo YMM registers. | |
7396 | (i386_pseudo_register_type): Likewise. | |
7397 | (i386_pseudo_register_read): Likewise. | |
7398 | (i386_pseudo_register_write): Likewise. | |
7399 | (i386_dbx_reg_to_regnum): Return %ymmN register number for | |
7400 | %xmmN if AVX is available. | |
7401 | (i386_regset_from_core_section): Support .reg-xstate section. | |
7402 | (i386_register_reggroup_p): Supper upper YMM and YMM registers. | |
7403 | (i386_process_record): Replace i386_sse_regnum_p with | |
7404 | i386_xmm_regnum_p. | |
7405 | (i386_validate_tdesc_p): Support org.gnu.gdb.i386.avx feature. | |
7406 | Set ymmh_register_names, num_ymm_regs, ymm0h_regnum and xcr0. | |
8d95cc3b | 7407 | (i386_gdbarch_init): Set xstateregset. Set xsave_xcr0_offset. |
c131fcee L |
7408 | Call set_gdbarch_register_name. Replace I386_SSE_NUM_REGS with |
7409 | I386_AVX_NUM_REGS. Set ymmh_register_names, ymm0h_regnum and | |
7410 | num_ymm_regs. Add num_ymm_regs to set_gdbarch_num_pseudo_regs. | |
7411 | Set ymm0_regnum. | |
7412 | (_initialize_i386_tdep): Call initialize_tdesc_i386_avx. | |
7413 | ||
7414 | * i386-tdep.h (gdbarch_tdep): Add xstateregset, ymm0_regnum, | |
7415 | xcr0, xsave_xcr0_offset, ymm0h_regnum, ymmh_register_names and | |
7416 | i386_ymm_type. | |
7417 | (i386_regnum): Add I386_YMM0H_REGNUM, and I386_YMM7H_REGNUM. | |
7418 | (I386_AVX_NUM_REGS): New. | |
7419 | (i386_xmm_regnum_p): Likewise. | |
7420 | (i386_ymm_regnum_p): Likewise. | |
7421 | (i386_ymmh_regnum_p): Likewise. | |
7422 | ||
7423 | * common/i386-xstate.h: New. | |
7424 | ||
98adf0f3 L |
7425 | 2010-04-07 H.J. Lu <[email protected]> |
7426 | ||
7427 | * config/djgpp/fnchange.lst: Add x86 AVX XML files. | |
7428 | ||
7429 | * features/Makefile (WHICH): Add i386/i386-avx, | |
7430 | i386/i386-avx-linux, i386/x86-64-avx and i386/x86-64-avx-linux. | |
7431 | (i386/i386-avx-expedite): New. | |
7432 | (i386/i386-avx-linux-expedite): Likewise. | |
7433 | (i386/x86-64-avx-expedite):Likewise. | |
7434 | (i386/x86-64-avx-linux-expedite): Likewise. | |
7435 | ($(outdir)/i386/i386-avx.dat): New dependency. | |
7436 | ($(outdir)/i386/i386-avx-linux.dat): Likewise. | |
7437 | ($(outdir)/i386/x86-avx-64.dat): Likewise. | |
7438 | ($(outdir)/i386/x86-64-avx-linux.dat): Likewise. | |
7439 | ||
7440 | * features/i386/32bit-avx.xml: New. | |
7441 | * features/i386/64bit-avx.xml: Likewise. | |
7442 | * features/i386/i386-avx-linux.c: Likewise. | |
7443 | * features/i386/i386-avx-linux.xml: Likewise. | |
7444 | * features/i386/i386-avx.c: Likewise. | |
7445 | * features/i386/i386-avx.xml: Likewise. | |
7446 | * features/i386/x86-64-avx-linux.c: Likewise. | |
7447 | * features/i386/x86-64-avx-linux.xml: Likewise. | |
7448 | * features/i386/x86-64-avx.c: Likewise. | |
7449 | * features/i386/x86-64-avx.xml: Likewise. | |
7450 | * regformats/i386/i386-avx-linux.dat: Likewise. | |
7451 | * regformats/i386/i386-avx.dat: Likewise. | |
7452 | * regformats/i386/x86-64-avx-linux.dat: Likewise. | |
7453 | * regformats/i386/x86-64-avx.dat: Likewise. | |
7454 | ||
05159abe DE |
7455 | 2010-04-07 Doug Evans <[email protected]> |
7456 | ||
7457 | * top.c (source_file_name): Make const char *. | |
7458 | * top.h (source_file_name): Update. | |
7459 | * cli/cli-script.c (source_cleanup_lines_args): Make old_file | |
7460 | const char *. | |
7461 | (script_from_file): Change `file' arg to const char *. | |
7462 | * cli/cli-script.h (script_from_file): Update. | |
7463 | ||
96e39866 DE |
7464 | 2010-04-06 Doug Evans <[email protected]> |
7465 | ||
7466 | * cli/cli-cmds.c (source_command): Run cleanups. | |
7467 | ||
3149d8c1 SS |
7468 | 2010-04-06 Stan Shebs <[email protected]> |
7469 | ||
7470 | * defs.h (char_ptr): Move typedef here from... | |
7471 | * ada-lang.c (char_ptr): Remove. | |
7472 | * charset.c (char_ptr): Remove. | |
7473 | * tracepoint.h (struct uploaded_string): Remove. | |
7474 | (struct uploaded_tp): Use vectors for string arrays. | |
7475 | * tracepoint.c (trace_save): Use vectors of actions. | |
7476 | (parse_tracepoint_definition): Ditto. | |
7477 | (get_uploaded_tp): Clear vectors. | |
7478 | * breakpoint.c (create_tracepoint_from_upload): Use vectors. | |
7479 | (next_cmd): Change to an int. | |
7480 | (read_next_cmd): Use vector of command strings. | |
7481 | ||
4cc23ede DE |
7482 | 2010-04-06 Doug Evans <[email protected]> |
7483 | ||
7484 | * top.h (source_script, cd_command): Delete. | |
7485 | * main.c: #include "cli/cli-cmds.h" | |
7486 | ||
bd333fb7 KB |
7487 | 2010-04-06 Kevin Buettner <[email protected]> |
7488 | ||
7489 | * m32c-tdep.c (make_types): When calling `arch_type', pass size of | |
7490 | type in bytes, not bits. | |
7491 | ||
ec8a089a PM |
7492 | 2010-04-06 Pierre Muller <[email protected]> |
7493 | ||
7494 | * stabsread.c (define_symbol): Add support for char | |
7495 | and string constants. | |
7496 | ||
2244ba2e PM |
7497 | 2010-04-06 Pierre Muller <[email protected]> |
7498 | ||
7499 | Remove remaining "%ll" uses. | |
7500 | * go32-nat.c (go32_pte_for_address): Replace "0x%llx" using | |
7501 | hex_string call. | |
7502 | * rs6000-nat.c (rs6000_ptrace64): Idem. | |
7503 | * solib-pa64.c (pa64_current_sos): Idem. | |
7504 | * solib-spu.c (spu_current_sos): Idem. | |
7505 | * linux-nat.c (linux_nat_find_memory_regions): Replace "%lld" using | |
7506 | plongest call. | |
7507 | * nto-procfs.c (procfs_meminfo): Replace "0x%016llx" using | |
7508 | phex (VAR, 8) call. | |
7509 | * sh64-tdep.c (sh64_show_media_regs): Idem. | |
7510 | ||
fce3c1f0 SS |
7511 | 2010-04-05 Stan Shebs <[email protected]> |
7512 | ||
7513 | * tracepoint.c: Include gdbcore.h. | |
7514 | (tfile_xfer_partial): Return partial results, also try reading | |
7515 | from executable. | |
7516 | (tfile_has_all_memory): New function. | |
7517 | (init_tfile_ops): Use it. | |
7518 | ||
626ea16d SDJ |
7519 | 2010-04-05 Sergio Durigan Junior <[email protected]> |
7520 | ||
7521 | PR gdb/10736: | |
7522 | * xml-syscall.c (my_gdb_datadir): New variable to keep track of | |
7523 | the changes in data-directory. | |
7524 | (init_sysinfo): Reload the syscall XML file if the data-directory | |
7525 | has changed. | |
7526 | ||
1f7ccab2 JK |
7527 | 2010-04-05 Jan Kratochvil <[email protected]> |
7528 | ||
7529 | Code cleanup. | |
7530 | * breakpoint.c (bpstat_stop_status): Use bpstat_causes_stop. | |
7531 | ||
d77f58be SS |
7532 | 2010-04-04 Stan Shebs <[email protected]> |
7533 | Nathan Sidwell <[email protected]> | |
7534 | ||
7535 | * breakpoint.c (breakpoint_1): Add filter argument, return number of | |
7536 | breakpoints printed. | |
7537 | (is_hardware_watchpoint): Make argument const. | |
7538 | (is_watchpoint): Ditto. | |
7539 | (is_tracepoint): Merge of tracepoint_type and breakpoint_is_tracepoint, | |
7540 | use it everywhere. | |
7541 | (breakpoints_info): Pass NULL to breakpoint_1. | |
7542 | (maintenance_info_breakpoints): Ditto. | |
7543 | (watchpoints_info): New function. | |
7544 | (tracepoints_info): Use breakpoint_1 filter. | |
7545 | (set_ignore_count): Warn that tracepoint ignore count will be ignored. | |
7546 | (_initialize_breakpoint): Make "info watchpoints" its own command. | |
7547 | * breakpoint.h (is_tracepoint): Rename from breakpoint_is_tracepoint. | |
7548 | * mi/mi-cmd-break.c (mi_cmd_break_commands): Use is_tracepoint. | |
7549 | ||
af54718e SS |
7550 | 2010-04-04 Stan Shebs <[email protected]> |
7551 | ||
7552 | * tracepoint.c (tfile_fetch_registers): Add fallback case. | |
7553 | ||
74d1f91e JK |
7554 | 2010-04-04 Jan Kratochvil <[email protected]> |
7555 | ||
7556 | * infcmd.c (run_command_1): Call proceed with regcache_read_pc address. | |
7557 | * config/djgpp/fnchange.lst: Add translation for break-entry.exp. | |
7558 | ||
91d91ceb JK |
7559 | 2010-04-04 Jan Kratochvil <[email protected]> |
7560 | ||
7561 | * breakpoint.c (bpstat_find_step_resume_breakpoint): Remove. | |
7562 | * breakpoint.h (bpstat_find_step_resume_breakpoint): Remove. | |
7563 | ||
60531b24 JK |
7564 | 2010-04-02 Jan Kratochvil <[email protected]> |
7565 | ||
7566 | * dwarf2read.c (read_namespace_type): Use common "return set_die_type" | |
7567 | code form. | |
7568 | ||
a3c4230a HZ |
7569 | 2010-04-02 Hui Zhu <[email protected]> |
7570 | ||
7571 | * i386-tdep.c (OT_DQUAD): New enum. | |
7572 | (i386_process_record): Add code for MMX, 3DNow!, SSE, SSE2, | |
7573 | SSE3, SSSE3 and SSE4. | |
7574 | ||
b15758fe HZ |
7575 | 2010-04-02 Hui Zhu <[email protected]> |
7576 | ||
7577 | * i386-tdep.c (i386_record_lea_modrm_addr): Remove useless | |
7578 | "*addr = 0". | |
7579 | ||
afd02f27 PA |
7580 | 2010-04-02 Pedro Alves <[email protected]> |
7581 | ||
7582 | * tracepoint.c (trace_dump_actions): New, factored out from | |
7583 | trace_dump_command, and adjusted to recurse into while-stepping's | |
7584 | action list. | |
7585 | (trace_dump_command): Use it. | |
7586 | ||
5cea2a26 PA |
7587 | 2010-04-02 Pedro Alves <[email protected]> |
7588 | ||
7589 | * breakpoint.h (struct counted_command_line): Moved definition to | |
7590 | breakpoint.c, and forward declare. | |
7591 | (breakpoint_commands): Declare. | |
7592 | * breakpoint.c (struct counted_command_line): Moved here. | |
7593 | (breakpoint_commands): New. | |
7594 | * tracepoint.c (encode_actions): Use breakpoint_commands. | |
7595 | * remote.c (remote_download_tracepoint): Ditto. | |
7596 | ||
7c47795c L |
7597 | 2010-04-01 H.J. Lu <[email protected]> |
7598 | ||
7599 | * remote.c (remote_parse_stop_reply): Use hex_string instead | |
7600 | of phex_nz for error. | |
7601 | ||
fff87407 SS |
7602 | 2010-04-01 Stan Shebs <[email protected]> |
7603 | Nathan Sidwell <[email protected]> | |
7604 | ||
7605 | * tracepoint.h (enum actionline_type): Remove. | |
7606 | (validate_actionline): Change return to void. | |
7607 | * tracepoint.c (report_agent_reqs_errors): New function. | |
7608 | (validate_actionline): Call it, change return to void, report errors | |
7609 | more consistently. | |
7610 | (collect_symbol): Call report_agent_reqs_errors. | |
7611 | (encode_actions_1): Ditto. | |
7612 | (encode_actions): Don't expect a result from validate_actionline. | |
7613 | ||
615bcdef SS |
7614 | 2010-04-01 Stan Shebs <[email protected]> |
7615 | ||
7616 | * tracepoint.c (trace_start_command): Confirm if trace is running. | |
7617 | (trace_stop_command): Error if trace not running. | |
7618 | ||
fe01d668 L |
7619 | 2010-04-01 H.J. Lu <[email protected]> |
7620 | ||
7621 | * amd64-tdep.c (amd64_byte_names): Add "ah", "bh", "ch", "dh". | |
7622 | (AMD64_NUM_LOWER_BYTE_REGS): New. | |
7623 | (amd64_pseudo_register_read): Handle "ah", "bh", "ch", "dh". | |
7624 | (amd64_pseudo_register_write): Likewise. | |
7625 | (amd64_init_abi): Set num_byte_regs to 20. | |
7626 | ||
86b17b60 PA |
7627 | 2010-04-01 Pedro Alves <[email protected]> |
7628 | ||
7629 | * breakpoint.c (multi_start, multi_end, last_was_multi): Delete. | |
7630 | (prev_breakpoint_count): New. | |
7631 | (set_breakpoint_count): Adjust. | |
7632 | (rbreak_start_breakpoint_count): New. | |
7633 | (start_rbreak_breakpoints): Adjust. | |
7634 | (end_rbreak_breakpoints): Adjust. | |
7635 | (struct commands_info) <arg>: New field. | |
7636 | (do_map_commands_command): Tweak output to include breakpoint spec | |
7637 | range. | |
7638 | (commands_command_1): Adjust. Avoid setting an xfree cleanup if | |
7639 | ARG was empty on entry. Set INFO's arg. | |
7640 | (create_breakpoint): Adjust. | |
7641 | ||
7642 | * NEWS: Clarify `commands' changes. | |
7643 | ||
2c58c0a9 PA |
7644 | 2010-04-01 Pedro Alves <[email protected]> |
7645 | ||
7646 | * tracepoint.c: Include stack.h. | |
7647 | (struct add_local_symbols_data): New. | |
7648 | (do_collect_symbol): New. | |
7649 | (add_local_symbols): Rewrite using iterate_over_block_arg_vars and | |
7650 | iterate_over_block_local_vars. | |
7651 | * stack.c (print_block_frame_locals): Rewrite as ... | |
7652 | (iterate_over_block_locals): ... this. Take a callback function | |
7653 | pointer and generic data pointer, and call that instead of | |
7654 | print_variable_and_value. | |
7655 | (struct print_variable_and_value_data): New. | |
7656 | (do_print_variable_and_value): New. | |
7657 | (iterate_over_block_local_vars): New, abstracted out from | |
7658 | print_frame_local_vars. | |
7659 | (print_frame_local_vars): Rewrite using | |
7660 | iterate_over_block_local_vars. | |
7661 | (iterate_over_block_arg_vars): New, abstracted out from | |
7662 | print_frame_arg_vars. | |
7663 | (print_frame_arg_vars): Rewrite using iterate_over_block_arg_vars. | |
7664 | * stack.h (iterate_over_block_arg_local_vars_cb): New typedef. | |
7665 | (iterate_over_block_arg_vars, iterate_over_block_local_vars): Declare. | |
7666 | ||
d476da0e RE |
7667 | 2010-03-31 Richard Earnshaw <[email protected]> |
7668 | ||
7669 | * arm-tdep.c (thumb_get_next_pc_raw): Correctly detect TBH | |
8d95cc3b | 7670 | instructions. Use the PC+4 if the base of the TBB or TBH is the |
d476da0e RE |
7671 | PC register. |
7672 | ||
8072405b JK |
7673 | 2010-03-31 Jan Kratochvil <[email protected]> |
7674 | ||
7675 | Fix crash on reading wrong function declaration DWARF. | |
7676 | * dwarf2read.c (read_subroutine_type): New variable void_type. | |
7677 | Pre-fill all TYPE_FIELD_TYPEs. Move nparams and iparams initialization | |
7678 | more close to their use. | |
7679 | ||
8bf6485c SS |
7680 | 2010-03-31 Stan Shebs <[email protected]> |
7681 | ||
7682 | * breakpoint.c (tracepoint_save_command): Include variables, | |
8d95cc3b | 7683 | conditionals, tracepoint types, and default-collect. |
8bf6485c SS |
7684 | * tracepoint.c (save_trace_state_variables): New function. |
7685 | * tracepoint.h (save_trace_state_variables): Declare it. | |
7686 | ||
2ae2a0b7 PM |
7687 | 2010-03-31 Pierre Muller <[email protected]> |
7688 | ||
1a161f72 | 7689 | * remote.c (end_thread): ARI fix: Use xstrdup instead of strdup. |
2ae2a0b7 | 7690 | |
86ffb506 KS |
7691 | 2010-03-30 Keith Seitz <[email protected]> |
7692 | ||
7693 | * c-typeprint.c (c_type_print_args): Don't print "void" | |
7694 | for java, regardless of whether it is TYPE_PROTOTYPED. | |
7695 | Use the passed-in language instead of current_language. | |
7696 | (c_type_print_varspec_suffix): Use current_language instead | |
7697 | of assuming language_c. | |
7698 | * jv-typeprint.c (java_type_print_base): (bz 9320) Strip off | |
7699 | any return type specifier from the physname. | |
7700 | ||
956c2c8b PA |
7701 | 2010-03-30 Pedro Alves <[email protected]> |
7702 | ||
7703 | * tui/tui-interp.c (tui_is_toplevel): New. | |
7704 | (tui_init): Set it. | |
7705 | (tui_allowed_p): New. | |
7706 | * tui/tui.c (tui_enable): Check if the TUI is allowed before | |
7707 | enabling it. | |
7708 | * tui/tui.h (tui_allowed_p): Declare. | |
7709 | ||
98e5a990 TT |
7710 | 2010-03-30 Ozkan Sezer <[email protected]> |
7711 | ||
7712 | * serial.h: Include winsock2.h before windows.h. | |
7713 | ||
c8d5aac9 L |
7714 | 2010-03-30 H.J. Lu <[email protected]> |
7715 | ||
7716 | * NEWS: Mention xmlRegisters= in qSupported packet. | |
7717 | ||
7718 | * i386-tdep.c: Include "remote.h". | |
7719 | (_initialize_i386_tdep): Call register_remote_support_xml. | |
7720 | ||
7721 | * remote.c (remote_support_xml): New. | |
7722 | (register_remote_support_xml): Likewise. | |
7723 | (remote_query_supported_append): Likewise. | |
7724 | (remote_query_supported): Support remote_support_xml. | |
7725 | ||
7726 | * remote.h (register_remote_support_xml): New. | |
7727 | ||
76a2b958 SS |
7728 | 2010-03-29 Stan Shebs <[email protected]> |
7729 | ||
42e08e69 SS |
7730 | * tracepoint.c (trace_find_line_command): Remove dead code. |
7731 | ||
409873ef SS |
7732 | * tracepoint.h (struct uploaded_string): New struct. |
7733 | (struct uploaded_tp): New fields for source strings. | |
7734 | * breakpoint.c (this_utp, next_cmd): New globals. | |
7735 | (read_uploaded_action): New function. | |
7736 | (create_tracepoint_from_upload): Fill in more parts | |
7737 | of a tracepoint. | |
7738 | * tracepoint.c (encode_source_string): New function. | |
7739 | (trace_save): Write out source strings, fix error checks. | |
7740 | (parse_tracepoint_definition): Add source string parsing. | |
7741 | * remote.c (PACKET_TracepointSource): New packet type. | |
7742 | (remote_download_command_source): New function. | |
7743 | (remote_download_tracepoint): Download source pieces also. | |
7744 | (_initialize_remote): Add packet config command. | |
7745 | ||
a0405854 SS |
7746 | * tracepoint.c (collect_symbol): Send LOC_UNRESOLVED symbols to |
7747 | expression handler. | |
7748 | ||
76a2b958 SS |
7749 | * tracepoint.c (start_tracing): Check tracepoints before sending |
7750 | commands to target, don't start if all tracepoints disabled. | |
7751 | ||
d350db38 PA |
7752 | 2010-03-28 Pedro Alves <[email protected]> |
7753 | ||
12f2d601 | 7754 | * cli/cli-script.c (process_next_line): Handle 'stepping'. |
d350db38 | 7755 | |
8b9b7ef8 SS |
7756 | 2010-03-26 Stan Shebs <[email protected]> |
7757 | ||
7758 | * tracepoint.c (disconnect_or_stop_tracing): Get out of tfind mode. | |
7759 | ||
9766ced4 SS |
7760 | 2010-03-26 Tom Tromey <[email protected]> |
7761 | ||
7762 | * breakpoint.c (commands_command_1): Duplicate 'arg'. | |
7763 | ||
059acae7 UW |
7764 | 2010-03-26 Ulrich Weigand <[email protected]> |
7765 | ||
7766 | * breakpoint.c (expand_line_sal_maybe): Always call skip_prologue_sal. | |
7767 | (skip_prologue_sal): Remove local definition. | |
7768 | (resolve_sal_pc): Remove now unnecessary code. | |
7769 | * linespec.c (minsym_found): Call skip_prologue_sal. | |
7770 | * symtab.c (find_function_start_pc): Remove. | |
7771 | (find_function_start_sal): Extract prologue skipping into ... | |
7772 | (skip_prologue_sal): ... this new function. Handle code both | |
7773 | with and without debug info. Respect SAL's explicit_pc and | |
7774 | explicit_line flags. Inline old find_function_start_pc. | |
7775 | * symtab.h (find_function_start_pc): Remove. | |
7776 | (skip_prologue_sal): Add prototype. | |
7777 | ||
4a811a97 UW |
7778 | 2010-03-26 Ulrich Weigand <[email protected]> |
7779 | ||
7780 | * dwarf2read.c (read_func_scope): Also scan specification DIEs | |
7781 | for DW_TAG_imported_module children. | |
7782 | ||
907af001 UW |
7783 | 2010-03-26 Ulrich Weigand <[email protected]> |
7784 | ||
7785 | * dwarf2read.c (dwarf2_name): Work around GCC bugzilla debug/41828 by | |
7786 | ignoring spurious DW_AT_name attributes for unnamed structs or unions. | |
7787 | * completer.c (add_struct_fields): Fix inverted logic. | |
7788 | ||
dde2d684 UW |
7789 | 2010-03-26 Ulrich Weigand <[email protected]> |
7790 | ||
7791 | * breakpoint.c (bpstat_clear_actions): Reset bs->commands_left. | |
7792 | ||
a609a0c8 PA |
7793 | 2010-03-26 Pedro Alves <[email protected]> |
7794 | ||
7795 | * tracepoint.c (current_trace_status): Don't make sure error_desc | |
7796 | is non-NULL here. | |
7797 | (parse_trace_status): Release a previous error_desc string, and | |
7798 | set it to NULL by default. If stop reason is tracepoint_error, | |
7799 | make sure error_desc is not left NULL. | |
7800 | ||
610197fd PA |
7801 | 2010-03-26 Pedro Alves <[email protected]> |
7802 | ||
7803 | * tracepoint.c (trace_save): Remove X from tracepoint error | |
7804 | description. | |
7805 | ||
99b5e152 PA |
7806 | 2010-03-26 Pedro Alves <[email protected]> |
7807 | ||
7808 | * tracepoint.c (parse_trace_status): Don't allow plain strings in | |
7809 | the terror description. Don't expect an X prefix. | |
7810 | ||
6c28cbf2 SS |
7811 | 2010-03-25 Stan Shebs <[email protected]> |
7812 | ||
7813 | * tracepoint.h (trace_stop_reason): Add tracepoint_error. | |
7814 | (struct trace_status): New field error_desc. | |
7815 | * tracepoint.c (stop_reason_names): Add terror. | |
7816 | (current_trace_status): Ensure non-NULL error description. | |
7817 | (trace_status_command): Add error report. | |
7818 | (trace_status_mi): Ditto. | |
7819 | (trace_save): Add special case for error description. | |
7820 | (parse_trace_status): Add case for errors. | |
7821 | ||
418835cc KS |
7822 | 2010-03-25 Keith Seitz <[email protected]> |
7823 | ||
7824 | * dwarf2read.c (read_subroutine_type): If the compilation unit | |
7825 | language is Java, mark any formal parameter named "this" as | |
7826 | artificial (GCC/43521). | |
7827 | (dwarf2_name): Add special handling for Java constructors. | |
7828 | ||
aa7d318d TT |
7829 | 2010-03-25 Tom Tromey <[email protected]> |
7830 | ||
7831 | PR gdb/11327, PR gdb/11328, PR breakpoints/11368: | |
7832 | * infrun.c (handle_inferior_event): Change initialization of | |
7833 | stop_stack_dummy. | |
7834 | (handle_inferior_event): Change assignment to stop_stack_dummy. | |
7835 | (normal_stop): Update use of stop_stack_dummy. | |
7836 | (struct inferior_status) <stop_stack_dummy>: Change type. | |
7837 | * inferior.h (stop_stack_dummy): Update. | |
7838 | * infcmd.c (stop_stack_dummy): Change type. | |
7839 | * infcall.c (cleanup_delete_std_terminate_breakpoint): New | |
7840 | function. | |
7841 | (call_function_by_hand): Call set_std_terminate_breakpoint. | |
7842 | Rewrite std::terminate handling. | |
7843 | * breakpoint.h (enum bptype) <bp_std_terminate, | |
7844 | bp_std_terminate_master>: New. | |
7845 | (enum stop_stack_kind): New. | |
7846 | (struct bpstat_what) <call_dummy>: Change type. | |
7847 | (set_std_terminate_breakpoint, delete_std_terminate_breakpoint): | |
7848 | Declare. | |
7849 | * breakpoint.c (create_std_terminate_master_breakpoint): New | |
7850 | function. | |
7851 | (update_breakpoints_after_exec): Handle bp_std_terminate_master. | |
7852 | Call create_std_terminate_master_breakpoint. | |
7853 | (print_it_typical): Handle new breakpoint kinds. | |
7854 | (bpstat_stop_status): Handle bp_std_terminate_master. | |
7855 | (bpstat_what): Correctly set call_dummy field. Handle | |
7856 | bp_std_terminate_master and bp_std_terminate. | |
7857 | (print_one_breakpoint_location): Update. | |
7858 | (allocate_bp_location): Update. | |
7859 | (set_std_terminate_breakpoint): New function. | |
7860 | (delete_std_terminate_breakpoint): Likewise. | |
7861 | (create_thread_event_breakpoint): Update. | |
7862 | (delete_command): Update. | |
7863 | (breakpoint_re_set_one): Update. | |
7864 | (breakpoint_re_set): Call create_std_terminate_master_breakpoint. | |
7865 | ||
82ccf5a5 JK |
7866 | 2010-03-25 Jan Kratochvil <[email protected]> |
7867 | ||
7868 | * symfile.c (build_section_addr_info_from_bfd): New. | |
7869 | (build_section_addr_info_from_objfile): Base it on | |
7870 | build_section_addr_info_from_bfd. | |
7871 | (addrs_section_compar, addrs_section_sort): New. | |
7872 | (addr_info_make_relative): New variables my_cleanup, abfd_addrs, | |
7873 | addrs_sorted, abfd_addrs_sorted and addrs_to_abfd_addrs. Build | |
7874 | addrs_to_abfd_addrs. Use it for recalculating ADDRS. | |
7875 | ||
737c4c52 MS |
7876 | 2010-03-24 Michael Snyder <[email protected]> |
7877 | ||
8d95cc3b | 7878 | * elfread.c (find_separate_debug_file_by_buildid): |
737c4c52 MS |
7879 | Remove unused local variable. |
7880 | ||
95a42b64 TT |
7881 | 2010-03-24 Tom Tromey <[email protected]> |
7882 | ||
7883 | PR breakpoints/9352: | |
7884 | * NEWS: Mention changes to `commands' and `rbreak'. | |
7885 | * symtab.c (do_end_rbreak_breakpoints): New function. | |
7886 | (rbreak_command): Call start_rbreak_breakpoints; arrange to call | |
7887 | end_rbreak_breakpoints. | |
7888 | * breakpoint.c (breakpoint_count, tracepoint_count): Now static. | |
7889 | (set_breakpoint_count): Likewise. Clear last_was_multi. | |
7890 | (multi_start, multi_end, last_was_multi): New globals. | |
7891 | (start_rbreak_breakpoints, end_rbreak_breakpoints): New | |
7892 | functions. | |
7893 | (struct commands_info): New | |
7894 | (do_map_commands_command): New function. | |
7895 | (commands_command_1): New function. | |
7896 | (commands_command): Use it. | |
7897 | (commands_from_control_command): Likewise. | |
7898 | (do_delete_breakpoint): New function. | |
7899 | (delete_command): Use it. | |
7900 | (map_breakpoint_numbers): Add 'data' argument. Pass to callback. | |
7901 | (do_map_disable_breakpoint): New function. | |
7902 | (disable_command): Use it. | |
7903 | (do_map_enable_breakpoint): New function. | |
7904 | (enable_command): Use it. | |
7905 | (enable_once_breakpoint): Add argument. | |
7906 | (enable_once_command): Update. | |
7907 | (enable_delete_breakpoint): Add argument. | |
7908 | (enable_delete_command): Update. | |
7909 | (break_command_really): Set last_was_multi when needed. | |
7910 | (check_tracepoint_command): Fix formatting. | |
7911 | (validate_commands_for_breakpoint): New function. | |
7912 | (breakpoint_set_commands): Use it. | |
7913 | (tracepoint_save_command): Update. | |
7914 | * breakpoint.h (start_rbreak_breakpoints, end_rbreak_breakpoints): | |
7915 | Declare. | |
7916 | ||
9add0f1b TT |
7917 | 2010-03-24 Tom Tromey <[email protected]> |
7918 | ||
7919 | * breakpoint.h (struct counted_command_line): New struct. | |
7920 | (struct breakpoint) <commands>: Change type. | |
7921 | (struct bpstats) <commands>: Change type. | |
7922 | <commands_left>: New field. | |
7923 | * breakpoint.c (alloc_counted_command_line): New function. | |
7924 | (incref_counted_command_line): Likewise. | |
7925 | (decref_counted_command_line): Likewise. | |
7926 | (do_cleanup_counted_command_line): Likewise. | |
7927 | (make_cleanup_decref_counted_command_line): Likewise. | |
7928 | (breakpoint_set_commands): Use decref_counted_command_line and | |
7929 | alloc_counted_command_line. | |
7930 | (commands_command): Don't error if breakpoint commands are | |
7931 | executing. | |
7932 | (commands_from_control_command): Likewise. | |
7933 | (bpstat_free): Update. | |
7934 | (bpstat_copy): Likewise. | |
7935 | (bpstat_clear_actions): Likewise. | |
7936 | (bpstat_do_actions_1): Likewise. | |
7937 | (bpstat_stop_status): Likewise. | |
7938 | (print_one_breakpoint_location): Likewise. | |
7939 | (delete_breakpoint): Likewise. | |
7940 | (bpstat_alloc): Initialize new field. | |
7941 | (tracepoint_save_command): Update. | |
7942 | * tracepoint.c (encode_actions): Update. | |
7943 | (trace_dump_command): Update. | |
7944 | ||
a6c727b2 DJ |
7945 | 2010-03-24 Daniel Jacobowitz <[email protected]> |
7946 | ||
7947 | * dwarf2-frame.c (dwarf2_frame_find_quirks): Use producer_is_realview. | |
7948 | * dwarf2read.c (load_full_comp_unit): Read DW_AT_producer. | |
7949 | (read_structure_type): For RealView, set TYPE_STUB on structures with | |
7950 | no byte size and no children. | |
7951 | (read_subroutine_type): Mark functions as prototyped by default. | |
7952 | * symtab.c (producer_is_realview): New function. | |
7953 | * symtab.h (expand_line_sal): Fix declaration formatting. | |
7954 | (producer_is_realview): Declare. | |
7955 | ||
0d39a070 DJ |
7956 | 2010-03-24 Daniel Jacobowitz <[email protected]> |
7957 | ||
7958 | * arm-tdep.c (skip_prologue_function): New function. | |
7959 | (submask, bit, bits, sbits, BranchDest): Move higher in the file. | |
7960 | (thumb_analyze_prologue): Document return value. Recognize more | |
7961 | Thumb instructions, skippable calls, and some Thumb-2 instructions. | |
7962 | Add debug output. | |
7963 | (arm_skip_prologue): Remove call dummy check. Check the prologue | |
7964 | for non-GNU compilers. | |
7965 | (arm_instruction_changes_pc): New function. | |
7966 | (arm_analyze_prologue): New function, broken out from | |
7967 | arm_scan_prologue. Recognize more ARM instructions and skippable | |
7968 | calls. Update comments. Handle NULL cache. Return the address | |
7969 | of the first unrecognized instruction. Do not skip past other | |
7970 | instructions which change control flow. Add debug output. | |
7971 | (arm_scan_prologue): Use arm_analyze_prologue. | |
7972 | (ARM_PC_32): Delete. | |
7973 | (shifted_reg_val): Simplify ARM_PC_32 check. | |
7974 | ||
4baf5cf4 VP |
7975 | 2010-03-24 Vladimir Prus <[email protected]> |
7976 | ||
7977 | * tracepoint.c (tvariables_info_1): Actually compute | |
7978 | the number of rows in the result. | |
7979 | ||
4a5e7a5b PA |
7980 | 2010-03-24 Pedro Alves <[email protected]> |
7981 | ||
7982 | * remote.c (crc32): Constify `buf' parameter. | |
7983 | (remote_verify_memory): New, abstracted out from... | |
7984 | (compare_sections_command): ... this. Remove hardcoded target | |
7985 | checks. | |
7986 | (init_remote_ops): Install remote_verify_memory. | |
7987 | * target.c (target_verify_memory): New. | |
7988 | * target.h (struct target_ops) <to_verify_memory>: New field. | |
7989 | (target_verify_memory): Declare. | |
7990 | ||
011aacb0 VP |
7991 | 2010-03-24 Vladimir Prus <[email protected]> |
7992 | ||
7993 | Implement -trace-save. | |
7994 | ||
7995 | * mi-cmds.h (mi_cmds_trace_save): Declare. | |
7996 | * mi-cmds.c (mi_cmds): Register -trace-save. | |
7997 | * mi/mi-main.c (mi_cmd_trace_save): New. | |
7998 | * remote.c (remote_save_trace_data): Take const parameter. | |
7999 | * target.h (struct target_ops::to_save_trace_data): Take | |
8000 | const parameter. | |
8001 | * target.c (update_current_target): Adjust to the above. | |
8002 | * tracepoint.c (trave_save): New, extracted from | |
8003 | (trace_save_command): ...this. | |
8004 | (tfile_trace_find): Remove message that is unnecessary now | |
8005 | that 'tfind' reports found frame. | |
8006 | * tracepoint.h (trace_save): Declare. | |
8007 | ||
f197e0f1 VP |
8008 | 2010-03-24 Vladimir Prus <[email protected]> |
8009 | ||
8010 | Implement -trace-find. | |
8011 | ||
8012 | * mi/mi-cmds.c (mi_cmds): Register -trace-find. | |
8013 | * mi/mi-cmds.h (mi_cmd_trace_find): Declare. | |
8014 | * mi/mi-main.c (mi_cmd_trace_find): New. | |
8015 | * target.h (struct target_ops): Document to_trace_find. | |
8016 | * tracepoint.h (tfind_1): Declare. | |
8017 | * tracepoint.c (finish_tfind_command): Rename to... | |
8018 | (tfind_1): ...this. | |
8019 | * remote.c (remote_trace_find): Return -1 if target say | |
8020 | there's no frame. Improve error diagnostics. | |
8021 | ||
40e1c229 VP |
8022 | 2010-03-24 Vladimir Prus <[email protected]> |
8023 | ||
8024 | -trace-define-variable and -trace-list-variables. | |
8025 | ||
8026 | * tracepoint.c (create_trace_state_variable): Make | |
8027 | private copy of name, as opposed to assuming the | |
8028 | pointer lives forever. | |
8029 | (tvariables_info_1): New. | |
8030 | (tvariables_info): Use the above. | |
8031 | * tracepoint.h (create_trace_state_variable, tvariables_info_1): | |
8032 | Declare. | |
8033 | * mi/mi-cmds.c (mi_cmds): Register -trace-define-variable | |
8034 | and -trace-list-variables. | |
8035 | * mi/mi-cmds.h (mi_cmd_trace_define_variable) | |
8036 | (mi_cmd_trace_list_variables): New. | |
8037 | * mi/mi-main.c (mi_cmd_trace_define_variable) | |
8038 | (mi_cmd_trace_list_variables): New. | |
8039 | ||
9b4c786c VP |
8040 | 2010-03-24 Vladimir Prus <[email protected]> |
8041 | ||
8042 | Implement -break-passcount. | |
8043 | ||
8044 | * mi/mi-cmd-break.c (mi_cmd_break_passcount): New. | |
8045 | * mi/mi-cmds.c (mi_cmds): Register -break-passcount. | |
8046 | * mi/mi-cmds.h (mi_cmd_break_passcount): Declare. | |
8047 | ||
f224b49d VP |
8048 | 2010-03-24 Vladimir Prus <[email protected]> |
8049 | ||
8050 | -trace-start/-trace-end/-trace-status. | |
8051 | ||
8052 | * mi/mi-cmds.c (mi_cmds): Register -trace-start, -trace-status | |
8053 | and -trace-stop. | |
8054 | * mi/mi-cmds.h (mi_cmd_trace_start, mi_cmd_trace_status) | |
8055 | (mi_cmd_trace_stop): Declare. | |
8056 | * mi/mi-main.c (mi_cmd_trace_start, mi_cmd_trace_status) | |
8057 | (mi_cmd_trace_stop): New. | |
8058 | * tracepoint.c (start_tracing): New, extracted from... | |
8059 | (trace_start_command): ...this. | |
8060 | (trace_status_mi): New. | |
8061 | * tracepoint.h (struct trace_status): Document | |
8062 | stopping_tracepoint. | |
8063 | (start_tracing, stop_tracing, trace_status_mi): Declare. | |
8064 | ||
6534d786 VP |
8065 | 2010-03-24 Vladimir Prus <[email protected]> |
8066 | ||
8067 | Implement creating tracepoints with -break-insert. | |
8068 | ||
8069 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Handle -a | |
8070 | to mean that tracepoint should be created. | |
8071 | ||
51661e93 VP |
8072 | 2010-03-24 Vladimir Prus <[email protected]> |
8073 | ||
8074 | * breakpoint.c (check_no_tracepoint_commands): Use | |
8075 | current spelling of 'teval'. | |
8076 | ||
a7bdde9e VP |
8077 | 2010-03-24 Vladimir Prus <[email protected]> |
8078 | ||
8079 | Unify actions and commands | |
8080 | ||
8081 | * defs.h (read_command_lines, read_command_lines_1): New | |
8082 | parameters validator and closure. | |
8083 | * tracepoint.h (struct action_line): Remove. | |
8084 | * breakpoint.h (struct breakpoint): Remove the 'actions' | |
8085 | field. | |
8086 | * defs.h (enum command_control_type): New value | |
8087 | while_stepping_control. | |
8088 | (struct command_line): Add comments. | |
8089 | * breakpoint.c (breakoint_is_tracepoint): New. | |
8090 | (breakpoint_set_commands): For tracepoints, | |
8091 | verify the commands are permissible. | |
8092 | (check_tracepoint_commands): New. | |
8093 | (commands_command): Require that each new line is validated using | |
8094 | check_tracepoint_command, if we set commands for a tracepoint. | |
8095 | (create_tracepoint_from_upload): Likewise. | |
8096 | (print_one_breakpoint_location): Remove the code to print | |
8097 | actions specifically. | |
8098 | (tracepoint_save_command): Relay to print_command_lines. | |
8099 | * cli/cli-script.c (process_next_line): New parameters validator | |
8100 | and closure. Handle 'while-stepping'. Call validator if not null. | |
8101 | (read_command_lines, read_command_lines1): Likewise. | |
8102 | (recurse_read_control_structure): New parameters validator and | |
8103 | closure. Handle while_stepping_control. | |
8104 | (print_command_lines): Handle while-stepping. | |
8105 | (get_command_line, define_command, document_command): Adjust. | |
8106 | * remote.c (remote_download_tracepoint): Adjust. | |
8107 | * tracepoint.c (make_cleanup_free_actions, read_actions) | |
8108 | (free_actions, do_free_actions_cleanup): Remove. | |
8109 | (trace_actions_command): Use read_command_lines. | |
8110 | (validate_actionline): Use error in one place. | |
8111 | (encode_actions_1): New, extracted from... | |
8112 | (encode_actions): ...this. Also use cleanups for exception | |
8113 | safety. | |
8114 | (trace_dump_command): Adjust. | |
8115 | * mi/mi-cmd-break (mi_cmd_break_commands): Validate commands if | |
8116 | it's tracepoint. | |
8117 | ||
64e3cf3d MF |
8118 | 2010-03-23 Mike Frysinger <[email protected]> |
8119 | ||
8120 | * Makefile.in (OPCODES_CFLAGS): Add -I$(OPCODES_SRC)/.. | |
8121 | ||
52e9fde8 SS |
8122 | 2010-03-22 Stan Shebs <[email protected]> |
8123 | ||
8124 | * value.c (value_static_field): Be lazy about the field's value. | |
8125 | ||
508ccb1f TT |
8126 | 2010-03-22 Reid Kleckner <[email protected]> |
8127 | ||
8128 | PR gdb/11094 | |
8129 | * breakpoint.c (disable_breakpoints_in_unloaded_shlib): Add | |
8130 | bp_jit_event. | |
8131 | (disable_breakpoints_in_shlibs): Likewise. | |
8132 | ||
acebe513 UW |
8133 | 2010-03-22 Ulrich Weigand <[email protected]> |
8134 | ||
8135 | * dwarf2read.c (partial_die_parent_scope): Work around buggy | |
8136 | GCC 4.1 debug info generation (GCC PR c++/28460). | |
8137 | (determine_prefix): Likewise. | |
8138 | ||
957b8b5a DJ |
8139 | 2010-03-20 Daniel Jacobowitz <[email protected]> |
8140 | ||
8141 | * tui/tui-disasm.c (tui_get_begin_asm_address): Default to | |
8142 | get_current_arch. | |
8143 | * tui/tui-layout.c (extract_display_start_addr): Likewise. | |
8144 | ||
3b11a015 SS |
8145 | 2010-03-19 Stan Shebs <[email protected]> |
8146 | ||
8147 | * ax-gdb.c (gen_fetch): Handle bool. | |
8148 | (gen_usual_unary): Ditto. | |
8149 | (gen_cast): Ditto. | |
8150 | (gen_equal): New function. | |
8151 | (gen_less): New function. | |
8152 | (gen_expr_binop_rest): Call them, also return integer type from | |
8153 | logical operations. | |
8154 | (gen_expr): Ditto. | |
8155 | ||
20781792 TT |
8156 | 2010-03-19 Tom Tromey <[email protected]> |
8157 | ||
8158 | * jv-lang.c (jv_dynamics_objfile_data_key) | |
8159 | (jv_type_objfile_data_key): New globals. | |
8160 | (class_symtab): Move earlier. | |
8161 | (jv_per_objfile_free): New function. | |
8162 | (get_dynamics_objfile): Call set_objfile_data. Add 'gdbarch' | |
8163 | parameter. | |
8164 | Remove ancient #if 1. | |
8165 | (add_class_symbol): Remove redundant declaration. | |
8166 | (java_lookup_class): Use alloc_type, not alloc_type_arch. | |
8167 | (java_link_class_type): Mark as static. Update. | |
8168 | (jv_clear_object_type): New function. | |
8169 | (set_java_object_type): Likewise. | |
8170 | (get_java_object_type): Use set_java_object_type. | |
8171 | (is_object_type): Likewise. | |
8172 | (_initialize_java_language): Register new objfile keys. | |
8173 | (get_java_class_symtab): Add 'gdbarch' parameter. | |
8174 | (add_class_symtab_symbol): Update. | |
8175 | (type_from_class): Update. | |
8176 | ||
cf3e25ca SS |
8177 | 2010-03-19 Stan Shebs <[email protected]> |
8178 | ||
8d95cc3b | 8179 | * ax-general.c (ax_const_l): Fix a sizing bug. |
cf3e25ca | 8180 | |
f1ae44c9 | 8181 | 2010-03-18 Joel Brobecker <[email protected]> |
8182 | ||
8183 | GDB 7.1 released. | |
8184 | ||
4daf5ac0 SS |
8185 | 2010-03-18 Stan Shebs <[email protected]> |
8186 | Pedro Alves <[email protected]> | |
8187 | ||
8188 | * target.h (struct target_ops): New method | |
8189 | to_set_circular_trace_buffer. | |
8190 | (target_set_circular_trace_buffer): New macro. | |
8191 | * target.c (update_current_target): Add | |
8192 | to_set_circular_trace_buffer, fix to_set_disconnected_tracing | |
8193 | default behavior. | |
8194 | * remote.c (remote_set_circular_trace_buffer): New function. | |
8195 | (init_remote_ops): Add it to vector. | |
8196 | * tracepoint.h (struct trace_status): New field traceframes_created, | |
8197 | change buffer_size and buffer_free to int. | |
8198 | * tracepoint.c (circular_trace_buffer): New global. | |
8199 | (start_tracing): Send values of disconnected tracing and circular | |
8200 | trace buffer settings. | |
8201 | (set_circular_trace_buffer): New function. | |
8202 | (parse_trace_state): Handle total space and frames created. | |
8203 | (trace_status_command): Display total space and total frames | |
8204 | created. | |
8205 | (trace_save): Write out new status values. | |
8206 | (parse_trace_status): Set traceframe_count, traceframes_created, | |
8207 | buffer_free and buffer_size to -1 by default. | |
8208 | (_initialize_tracepoint): New setshow for circular-trace-buffer. | |
8209 | * NEWS: Mention the circular trace buffer option. | |
8210 | ||
40c549d6 TT |
8211 | 2010-03-18 Tom Tromey <[email protected]> |
8212 | ||
8213 | * infcmd.c (finish_command_continuation): Wrap print_return_value | |
8214 | in TRY_CATCH. | |
8215 | ||
e8d05480 JB |
8216 | 2010-03-18 Joel Brobecker <[email protected]> |
8217 | ||
8218 | * dwarf2read.c (add_partial_subprogram): Make sure the subprogram | |
8219 | DIE has a name before creating the associated partial symbol. | |
8220 | (read_func_scope): Emit a complaint if the subprogram does not | |
8221 | have a name or when we can't extract the subprogram PC bounds. | |
8222 | ||
441b986a UW |
8223 | 2010-03-18 Ulrich Weigand <[email protected]> |
8224 | ||
8225 | * mi/mi-main.c (mi_cmd_list_thread_groups): Use get_current_arch | |
8226 | instead of selected frame architecture. | |
8227 | ||
4247603b PA |
8228 | 2010-03-18 Pedro Alves <[email protected]> |
8229 | ||
8230 | * infcmd.c (until_command): Use ERROR_NO_INFERIOR. Ensure there's | |
8231 | a valid selected thread, and that it is not running. | |
8232 | (advance_command): Ditto. | |
8233 | (finish_command): Ditto. | |
8234 | ||
400c6af0 SS |
8235 | 2010-03-17 Stan Shebs <[email protected]> |
8236 | ||
3a96536b SS |
8237 | * ax-gdb.c (require_rvalue): Disallow non-scalars. |
8238 | ||
573cda03 SS |
8239 | * infcall.c: Include tracepoint.h. |
8240 | (call_function_by_hand): Disallow calls in tfind mode. | |
8241 | * infcmd.c: Include tracepoint.h. | |
8242 | (ensure_not_tfind_mode): New function. | |
8243 | (continue_1): Call it. | |
8244 | (step_1) Ditto. | |
8245 | (jump_command): Ditto. | |
8246 | (signal_command): Ditto. | |
8247 | (advance_command): Ditto. | |
8248 | (until_command): Ditto. | |
8249 | (finish_command): Ditto. | |
8250 | * tracepoint.h (disconnect_or_stop_tracing): Declare. | |
8251 | ||
400c6af0 SS |
8252 | * ax-gdb.h (struct axs_value): New field optimized_out. |
8253 | (gen_trace_for_var): Add gdbarch argument. | |
8254 | * ax-gdb.c (gen_trace_static_fields): New function. | |
8255 | (gen_traced_pop): Call it, add gdbarch argument. | |
8256 | (gen_trace_for_expr): Update call to it. | |
8257 | (gen_trace_for_var): Ditto, and report optimized-out variables. | |
8258 | (gen_struct_ref_recursive): Check for optimized-out value. | |
8259 | (gen_struct_elt_for_reference): Ditto. | |
8260 | (gen_static_field): Pass gdbarch instead of expression, assume | |
8261 | optimization if field not found. | |
8262 | (gen_var_ref): Set the optimized_out flag. | |
8263 | (gen_expr): Error on optimized-out variable. | |
8264 | * tracepoint.c (collect_symbol): Handle struct-valued vars as | |
8265 | expressions, skip optimized-out variables with computed locations. | |
8266 | * dwarf2loc.c (dwarf2_tracepoint_var_ref): Flag instead of | |
8267 | erroring out if location expression missing. | |
8268 | (loclist_tracepoint_var_ref): Don't error out here. | |
8269 | ||
a3b2a86b TT |
8270 | 2010-03-17 Tom Tromey <[email protected]> |
8271 | ||
8272 | * dwarf2read.c (dwarf2_get_section_info): Handle case where no | |
8273 | DWARF data is available. | |
8274 | ||
38963c97 DJ |
8275 | 2010-03-17 Daniel Jacobowitz <[email protected]> |
8276 | ||
8277 | * symfile.c (generic_load): Reset breakpoints after loading. | |
8278 | ||
ddabfc73 TT |
8279 | 2010-03-17 Tom Tromey <[email protected]> |
8280 | ||
8281 | * linux-nat.c (linux_nat_detach): Check debug_linux_nat. | |
8282 | ||
d8c09fb5 JK |
8283 | 2010-03-17 Jan Kratochvil <[email protected]> |
8284 | ||
8285 | * spu-tdep.c (spu_catch_start): Replace set_breakpoint call with the | |
8286 | create_breakpoint call, adjust the parameters. | |
8287 | ||
bbb0eef6 JK |
8288 | 2010-03-16 Jan Kratochvil <[email protected]> |
8289 | Chandru <[email protected]> | |
8290 | ||
8291 | * dwarf2read.c (read_subrange_type): Set TYPE_HIGH_BOUND_UNDEFINED. | |
8292 | * valarith.c (value_subscripted_rvalue): Suppress error if | |
8293 | TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED. | |
8294 | ||
46956e39 HZ |
8295 | 2010-03-16 Holger Hans Peter Freyther <[email protected]> |
8296 | ||
8297 | * linux-record.c (record_linux_msghdr): Remove unintended semicolons. | |
8298 | ||
b8d088ac JB |
8299 | 2010-03-16 Joel Brobecker <[email protected]> |
8300 | ||
8301 | * ada-tasks.c (task_command_1): Check that the task ptid is valid | |
8302 | before doing the associated thread switch. | |
8303 | ||
322be962 DJ |
8304 | 2010-03-16 Daniel Jacobowitz <[email protected]> |
8305 | ||
8306 | * MAINTAINERS: Update my email address. | |
8307 | ||
8cdf0e15 VP |
8308 | 2010-03-16 Vladimir Prus <[email protected]> |
8309 | ||
8310 | Simplify MI breakpoint setting. | |
8311 | ||
8312 | * breakpoint.c (break_command_really): Make nonstatic and | |
8313 | rename to... | |
8314 | (create_breakpoint): ...this. Rename prior function by this name | |
8315 | to... | |
8316 | (create_breakpoint_sal): ...this. | |
8317 | (create_breakpoints): Rename to... | |
8318 | (create_breakpoints_sal): ...this. | |
8319 | (set_breakpoint): Remove. | |
8320 | * breakpoint.h: Adjust to above changes. | |
8321 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Simplify. | |
8322 | ||
b6e7192f SS |
8323 | 2010-03-15 Stan Shebs <[email protected]> |
8324 | ||
8325 | * ax-gdb.c: Include cp-support.h. | |
8326 | (find_field): Remove. | |
8327 | (gen_primitive_field): New function. | |
8328 | (gen_struct_ref_recursive): New function. | |
8329 | (gen_struct_ref): Rewrite to call gen_struct_ref_recursive instead | |
8330 | of find_field. | |
8331 | (gen_static_field): New function. | |
8332 | (gen_struct_elt_for_reference): New. | |
8333 | (gen_namespace_elt): New. | |
8334 | (gen_maybe_namespace_elt): New. | |
8335 | (gen_aggregate_elt_ref): New. | |
8336 | (gen_expr): Add OP_SCOPE, display opcode name in error message. | |
8337 | ||
1054b214 TT |
8338 | 2010-03-15 Tom Tromey <[email protected]> |
8339 | ||
8340 | * dwarf2read.c (die_needs_namespace): Also return 0 for | |
8341 | DW_TAG_subprogram. | |
8342 | ||
13387711 SW |
8343 | 2010-03-15 Sami Wagiaalla <[email protected]> |
8344 | ||
8345 | PR c++/7936: | |
8346 | * cp-support.h: Added char *declaration element to using_direct | |
8347 | data struct. | |
8348 | (cp_add_using): Added char *declaration argument. | |
8349 | (cp_add_using_directive): Ditto. | |
8350 | (cp_lookup_symbol_imports): made extern. | |
8351 | * cp-namespace.c: Updated with the above changes. | |
8352 | * dwarf2read.c (read_import_statement): Ditto. | |
8353 | (read_namespace): Ditto. | |
8354 | (read_import_statement): Support import declarations. | |
8355 | * cp-namespace.c (cp_lookup_symbol_imports): Check for imported | |
8356 | declarations. | |
8357 | Added support for 'declaration_only' search. | |
8358 | (cp_lookup_symbol_namespace): Attempt to search for the name as | |
8359 | is before consideration of imports. | |
8360 | * symtab.c (lookup_symbol_aux_local): Added a 'declaration_only' | |
8361 | search at every block level search. | |
8362 | Now takes language argument. | |
8363 | (lookup_symbol_aux): Updated. | |
8364 | ||
6e31430b TT |
8365 | 2010-03-15 Tom Tromey <[email protected]> |
8366 | ||
8367 | * c-exp.y (name_not_typename): Add 'operator' clause. | |
8368 | ||
4dea3bb7 | 8369 | 2010-03-15 Ralf Corsepius <[email protected]> (tiny change) |
bf307134 JB |
8370 | |
8371 | * configure.ac: Exit if ${gdb_target_obs}" is not set. | |
8372 | * configure: Regenerate. | |
8373 | ||
4d9743af JK |
8374 | 2010-03-15 Jan Kratochvil <[email protected]> |
8375 | ||
8376 | * symfile.c (addr_info_make_relative): Ignore also missing ".dynbss" | |
8377 | and ".sdynbss". Update the comment. | |
8378 | ||
f75150fe JZ |
8379 | 2010-03-15 Jie Zhang <[email protected]> |
8380 | ||
8381 | * MAINTAINERS: Update my email address. | |
8382 | ||
3c13bc11 DJ |
8383 | 2010-03-14 Daniel Jacobowitz <[email protected]> |
8384 | ||
8385 | * gdbtypes.h (TYPE_IS_OPAQUE): Correct HAVE_CPLUS_STRUCT check. | |
8386 | ||
43484f03 DJ |
8387 | 2010-03-14 Daniel Jacobowitz <[email protected]> |
8388 | ||
8389 | * charset.c [USE_WIN32API]: Include <windows.h>. | |
8390 | (_initialize_charset): Correct type of w32_host_default_charset. | |
8391 | ||
5f25d77d PA |
8392 | 2010-03-14 Pedro Alves <[email protected]> |
8393 | ||
8394 | * infrun.c (ptid_match): Don't assert that PTID is not a pid ptid. | |
8395 | ||
1c809c68 TT |
8396 | 2010-03-12 Tom Tromey <[email protected]> |
8397 | ||
8398 | PR c++/9708: | |
8399 | * dwarf2read.c (die_needs_namespace) <DW_TAG_variable>: A variable | |
8400 | in a lexical block does not need a namespace. | |
8401 | (new_symbol) <DW_TAG_variable>: Put extern variables on | |
8402 | list_in_scope in all cases. | |
8403 | ||
948103cf SS |
8404 | 2010-03-12 Stan Shebs <[email protected]> |
8405 | ||
8406 | * ax-gdb.c (gen_expr): Add shift expressions. | |
8407 | (gen_expr_binop_rest): Ditto. | |
8408 | ||
00ae8fef SW |
8409 | 2010-03-12 Sami Wagiaalla <[email protected]> |
8410 | ||
8411 | * buildsym.c (finish_block): Reset using_directives pointer | |
8412 | after block initialization. | |
8413 | ||
9cad29ac L |
8414 | 2010-03-12 H.J. Lu <[email protected]> |
8415 | ||
8416 | * amd64-tdep.c (amd64_word_names): Replace "sp" with "". | |
8417 | * i386-tdep.c (i386_word_names): Likewise. | |
8418 | ||
2f4d8875 PA |
8419 | 2010-03-12 Pedro Alves <[email protected]> |
8420 | ||
8421 | * target.c (memory_xfer_partial): Don't use the stack cache if | |
8422 | inspecting trace frames. | |
8423 | * tracepoint.c (finish_tfind_command): Invalidate the target | |
8424 | dcache. | |
8425 | ||
ccf26247 JK |
8426 | 2010-03-11 Jan Kratochvil <[email protected]> |
8427 | ||
8428 | * solib-svr4.c (LM_ADDR_CHECK) <info_verbose>: Use printf_unfiltered | |
8429 | for the PIC displacement, print also the displacement value. | |
8430 | (svr4_exec_displacement): Print DISPLACEMENT if INFO_VERBOSE. | |
8431 | ||
477c84a7 KB |
8432 | 2010-03-10 Kevin Buettner <[email protected]> |
8433 | ||
8434 | * remote-mips.c (close_ports, mips_initialize_cleanups) | |
8435 | (mips_exit_cleanups, mips_send_command, mips_open, pmon_open) | |
8436 | (ddb_open, lsi_open, mips_remove_breakpoint, mips_remove_watchpoint) | |
8437 | (mips_stopped_by_watchpoint, send_srec, pmon_checkset) | |
8438 | (pmon_make_fastrec, pmon_check_ack, mips_expect_download) | |
8439 | (pmon_check_entry_address, pmon_check_total, pmon_end_download) | |
8440 | (pmon_download, pmon_load_fast, _initialize_remote_mips): Add | |
8441 | comments describing each of these functions. | |
8442 | (mips_enter_debug, mips_exit_debug, common_open) | |
8443 | (mips_signal_from_protocol, pmon_makeb64, pmon_zeroset): Add | |
8444 | blank line after the comment describing the function. | |
8445 | ||
01c30d6e JK |
8446 | 2010-03-10 Jan Kratochvil <[email protected]> |
8447 | ||
8448 | * solib-svr4.c (svr4_exec_displacement): Return now success, new | |
8449 | parameter displacementp. Update comment. | |
8450 | (svr4_relocate_main_executable): Return if non-zero SECTION_OFFSETS | |
8451 | element exists. Return if svr4_exec_displacement was not successful. | |
8452 | Update comment. | |
8453 | ||
09919ac2 JK |
8454 | 2010-03-10 Jan Kratochvil <[email protected]> |
8455 | Daniel Jacobowitz <[email protected]> | |
8456 | ||
8457 | * solib-svr4.c (read_program_header): Support type == -1 to read | |
8458 | all program headers. | |
8459 | (read_program_headers_from_bfd): New function. | |
8460 | (svr4_static_exec_displacement): Remove and move the comment ... | |
8461 | (svr4_exec_displacement): ... here. Remove variable found. New | |
8462 | variable displacement. Check also DYNAMIC. Verify DISPLACEMENT | |
8463 | alignment for ELF targets. Compare target vs. exec_bfd PHDRs for ELF | |
8464 | targets using read_program_headers_from_bfd. Remove the call of | |
8465 | svr4_static_exec_displacement. | |
8466 | ||
d146bf1e TT |
8467 | 2010-03-10 Tom Tromey <[email protected]> |
8468 | ||
8469 | * dwarf2read.c (struct pubnames_header): Remove. | |
8470 | (_PUBNAMES_HEADER): Remove. | |
8471 | (_ACTUAL_PUBNAMES_HEADER_SIZE): Remove. | |
8472 | (struct aranges_header): Remove. | |
8473 | (_ARANGES_HEADER, _ACTUAL_ARANGES_HEADER_SIZE): Remove. | |
8474 | (struct dwarf2_per_objfile) <pubnames, aranges>: Remove. | |
8475 | (PUBNAMES_SECTION): Remove. | |
8476 | (ARANGES_SECTION): Remove. | |
8477 | (dwarf2_locate_sections): Don't handle pubnames or aranges. | |
8478 | (dwarf2_build_psymtabs): Remove dead code. | |
8479 | (dwarf2_build_psymtabs_easy): Remove. | |
8480 | ||
be391dca TT |
8481 | 2010-03-10 Tom Tromey <[email protected]> |
8482 | ||
8483 | * elfread.c (elf_symfile_read): Don't call | |
8484 | dwarf2_build_frame_info. | |
8485 | * dwarf2read.c (struct dwarf2_section_info) <readin>: New field. | |
8486 | (struct dwarf2_per_objfile) <objfile>: New field. | |
8487 | (dwarf2_has_info): Now idempotent. Set objfile field. | |
8488 | (dwarf2_read_section): Check and set readin field. Call | |
8489 | posix_madvise. | |
8490 | (dwarf2_build_psymtabs): Don't read all sections. | |
8491 | (read_type_comp_unit_head): Read types section. | |
8492 | (create_debug_types_hash_table): Likewise. | |
8493 | (init_cu_die_reader): Add asserts. | |
8494 | (process_type_comp_unit): Add assert. | |
8495 | (dwarf2_build_psymtabs_hard): Read info section. | |
8496 | (load_partial_comp_unit): Add assert. | |
8497 | (create_all_comp_units): Read info section. | |
8498 | (load_full_comp_unit): Likewise. | |
8499 | (dwarf2_ranges_read): Read ranges section. | |
8500 | (dwarf2_record_block_ranges): Add assert. | |
8501 | (dwarf2_read_abbrevs): Read abbrev section. | |
8502 | (read_indirect_string): Read str section. | |
8503 | (dwarf_decode_line_header): Read line section. | |
8504 | (read_signatured_type_at_offset): Read types section. | |
8505 | (dwarf_decode_macros): Read macinfo section. | |
8506 | (dwarf2_symbol_mark_computed): Read loc section. | |
8507 | * dwarf2-frame.c (dwarf2_frame_find_fde): Call | |
8508 | dwarf2_build_frame_info. | |
8509 | (dwarf2_build_frame_info): Unconditionally set | |
8510 | dwarf2_frame_objfile_data on the objfile. | |
8511 | * configure.ac: Check for posix_madvise. | |
8512 | * config.in, configure: Rebuild. | |
8513 | ||
ccefe4c4 TT |
8514 | 2010-03-10 Tom Tromey <[email protected]> |
8515 | ||
e38df1d0 TT |
8516 | * xcoffread.c (xcoff_start_psymtab): Update. |
8517 | (xcoff_end_psymtab): Update. | |
8518 | * psymtab.c (allocate_psymtab): Remove dead code. | |
8519 | * psympriv.h (struct partial_symtab) <read_symtab_private>: Now | |
8520 | void*. | |
8521 | * mdebugread.c (parse_partial_symbols): Update. | |
8522 | (new_psymtab): Likewise. | |
8523 | * dwarf2read.c (process_psymtab_comp_unit): Update. | |
8524 | (psymtab_to_symtab_1): Update. | |
8525 | * dbxread.c (start_psymtab): Update. | |
8526 | (end_psymtab): Likewise. | |
8527 | ||
be391dca | 8528 | 2010-03-10 Tom Tromey <[email protected]> |
e38df1d0 | 8529 | |
ccefe4c4 TT |
8530 | * xcoffread.c: Include psymtab.h. |
8531 | (xcoff_sym_fns): Update. | |
8532 | * symtab.h (struct partial_symbol): Remove. | |
8533 | (PSYMBOL_DOMAIN, PSYMBOL_CLASS): Remove. | |
8534 | (struct partial_symtab): Remove. | |
8535 | (PSYMTAB_TO_SYMTAB): Remove. | |
8536 | (lookup_partial_symbol, lookup_partial_symtab, find_pc_psymtab) | |
8537 | (find_pc_sect_psymtab): Remove. | |
8538 | (find_pc_sect_symtab_via_partial): Declare. | |
8539 | (find_pc_psymtab, find_pc_sect_psymbol, psymtab_to_symtab) | |
8540 | (find_main_psymtab): Remove. | |
8541 | (find_main_filename): Declare. | |
8542 | (fixup_psymbol_section): Remove. | |
8543 | (fixup_section): Declare. | |
8544 | * symtab.c: Include psymtab.h. | |
8545 | (lookup_symtab): Use lookup_symtab method. | |
8546 | (lookup_partial_symtab): Remove. | |
8547 | (find_pc_sect_psymtab_closer): Remove. | |
8548 | (find_pc_sect_psymtab): Remove. | |
8549 | (find_pc_sect_symtab_via_partial): New function. | |
8550 | (find_pc_psymtab, find_pc_sect_psymbol, find_pc_psymbol): Remove. | |
8551 | (fixup_section): No longer static. | |
8552 | (fixup_psymbol_section): Remove. | |
8553 | (lookup_symbol_aux): Use lookup_symbol_aux_quick. | |
8554 | (lookup_global_symbol_from_objfile): Likewise. | |
8555 | (lookup_symbol_aux_psymtabs): Remove. | |
8556 | (lookup_symbol_aux_quick): New function. | |
8557 | (lookup_symbol_global): Use lookup_symbol_aux_quick. | |
8558 | (lookup_partial_symbol): Remove. | |
8559 | (basic_lookup_transparent_type_quick): New function. | |
8560 | (basic_lookup_transparent_type): Use it. | |
8561 | (find_main_psymtab): Remove. | |
8562 | (find_main_filename): New function. | |
8563 | (find_pc_sect_symtab): Use find_pc_sect_symtab method. | |
8564 | (find_line_symtab): Use expand_symtabs_with_filename method. | |
8565 | (output_partial_symbol_filename): New function. | |
8566 | (sources_info): Use map_partial_symbol_filenames. | |
8567 | (struct search_symbols_data): New type. | |
8568 | (search_symbols_file_matches): New function. | |
8569 | (search_symbols_name_matches): Likewise. | |
8570 | (search_symbols): Use expand_symtabs_matching method. | |
8571 | (struct add_name_data): Rename from add_macro_name_data. | |
8572 | (add_macro_name): Update. | |
8573 | (add_partial_symbol_name): New function. | |
8574 | (default_make_symbol_completion_list): Use | |
8575 | map_partial_symbol_names. | |
8576 | (struct add_partial_symbol_name): New type. | |
8577 | (maybe_add_partial_symtab_filename): New function. | |
8578 | (make_source_files_completion_list): Use | |
8579 | map_partial_symbol_filenames. | |
8580 | (expand_line_sal): Use expand_symtabs_with_filename method. | |
8581 | * symmisc.c: Include psymtab.h. | |
8582 | (print_objfile_statistics): Use print_stats method. | |
8583 | (dump_objfile): Use dump method. | |
8584 | (dump_psymtab, maintenance_print_psymbols) | |
8585 | (maintenance_info_psymtabs, maintenance_check_symtabs) | |
8586 | (extend_psymbol_list): Remove. | |
8587 | * symfile.h (struct quick_symbol_functions): New struct. | |
8588 | (struct sym_fns) <qf>: New field. | |
8589 | (sort_pst_symbols): Remove. | |
8590 | (increment_reading_symtab): Declare. | |
8591 | * symfile.c: Include psymtab.h. | |
8592 | (compare_psymbols, sort_pst_symbols): Remove. | |
8593 | (psymtab_to_symtab): Remove. | |
8594 | (increment_reading_symtab): New function. | |
8595 | (symbol_file_add_with_addrs_or_offsets): Use expand_all_symtabs | |
8596 | method. | |
8597 | (set_initial_language): Use find_main_filename. | |
8598 | (allocate_psymtab, discard_psymtab, cashier_psymtab): Remove. | |
8599 | (free_named_symtabs): Remove unused code. | |
8600 | (start_psymtab_common, add_psymbol_to_bcache) | |
8601 | (append_psymbol_to_list, add_psymbol_to_list, init_psymbol_list): | |
8602 | Remove. | |
8603 | * stack.c: Include psymtab.h, symfile.h. | |
8604 | (backtrace_command_1): Use find_pc_sect_symtab_via_partial. | |
8605 | * source.h (psymtab_to_fullname): Don't declare. | |
8606 | * source.c: Include psymtab.h. | |
8607 | (select_source_symtab): Use find_last_source_symtab method. | |
8608 | (forget_cached_source_info): Use forget_cached_source_info | |
8609 | method. | |
8610 | (find_and_open_source): No longer static. | |
8611 | (psymtab_to_fullname): Remove. | |
8612 | * somread.c: Include psymtab.h. | |
8613 | (som_sym_fns): Update. | |
8614 | * psympriv.h: New file. | |
8615 | * psymtab.h: New file. | |
8616 | * psymtab.c: New file. | |
8617 | * objfiles.h: (ALL_OBJFILE_PSYMTABS): Remove. | |
8618 | (ALL_PSYMTABS, ALL_PSPACE_PSYMTABS): Likewise. | |
8619 | * objfiles.c: Include psymtab.h. | |
8620 | (objfile_relocate1): Use relocate method. | |
8621 | (objfile_has_partial_symbols): Use has_symbols method. | |
8622 | * mipsread.c: Include psymtab.h. | |
8623 | (ecoff_sym_fns): Update. | |
8624 | * mi/mi-cmd-file.c: Include psymtab.h. | |
8625 | (print_partial_file_name): New function. | |
8626 | (mi_cmd_file_list_exec_source_files): Use | |
8627 | map_partial_symbol_filenames. | |
8628 | * mdebugread.c: Include psympriv.h. | |
8629 | * machoread.c: Include psympriv.h. | |
8630 | (macho_sym_fns): Update. | |
8631 | * m2-exp.y (yylex): Use lookup_symtab. | |
8632 | * elfread.c: Include psympriv.h. | |
8633 | (elf_sym_fns): Update. | |
8634 | * dwarf2read.c: Include psympriv.h. | |
8635 | * dbxread.c: Include psympriv.h. | |
8636 | (aout_sym_fns): Update. | |
8637 | * cp-support.c: Include psymtab.h. | |
8638 | (read_in_psymtabs): Remove. | |
8639 | (make_symbol_overload_list_qualified): Use | |
8640 | expand_symtabs_for_function method. | |
8641 | * coffread.c: Include psympriv.h. | |
8642 | (coff_sym_fns): Update. | |
8643 | * blockframe.c: Include psymtab.h. | |
8644 | (find_pc_partial_function): Use find_pc_sect_symtab method. | |
8645 | * ada-lang.h (ada_update_initial_language): Update. | |
8646 | * ada-lang.c: Include psymtab.h. | |
8647 | (ada_update_initial_language): Remove 'main_pst' argument. | |
8648 | (ada_lookup_partial_symbol): Remove. | |
8649 | (struct ada_psym_data): New type. | |
8650 | (ada_add_psyms): New function. | |
8651 | (ada_add_non_local_symbols): Use map_ada_symtabs method. | |
8652 | (struct add_partial_datum): New type. | |
8653 | (ada_add_partial_symbol_completions): New function. | |
8654 | (ada_make_symbol_completion_list): Use map_partial_symbol_names. | |
8655 | (ada_exception_support_info_sniffer): Update. | |
8656 | * Makefile.in (SFILES): Add psymtab.c. | |
8657 | (COMMON_OBS): Add psymtab.o. | |
8658 | (HFILES_NO_SRCDIR): Add psymtab.h, psympriv.h. | |
8659 | ||
7d8500b7 PM |
8660 | 2010-03-10 Pierre Muller <[email protected]> |
8661 | ||
8662 | * remote-fileio.c (cygwin_conv_path): Define macro for old cygwin API. | |
8663 | ||
c0cc3a76 SW |
8664 | 2010-03-10 Sami Wagiaalla <[email protected]> |
8665 | ||
8666 | PR C++/11236: | |
8667 | * cp-namespace.c (cp_add_using): Deleted. | |
8668 | (cp_add_using_directive): Use obstack allocations. | |
8669 | Merged the function cp_add_using into this one. | |
8670 | Added 'struct obstack *' argument. | |
8671 | (cp_scan_for_anonymous_namespaces): Updated. | |
8672 | * cp-support.h: Updated. | |
8673 | * dwarf2read.c (read_import_statement): Updated. | |
8674 | (read_namespace): Updated. | |
8675 | ||
452fa064 CF |
8676 | 2010-03-10 Pierre Muller <[email protected]> |
8677 | ||
8678 | * windows-nat.c (cygwin_conv_path): Remove old macro. | |
8679 | ||
60e1c644 PA |
8680 | 2010-03-10 Pedro Alves <[email protected]> |
8681 | ||
8682 | * breakpoint.c (condition_command): Handle watchpoint conditions. | |
8683 | (is_hardware_watchpoint): Add comment. | |
8684 | (is_watchpoint): New. | |
8685 | (update_watchpoint): Don't reparse the watchpoint's condition | |
8686 | unless necessary. | |
8687 | (WP_IGNORE): New. | |
8688 | (watchpoint_check): Use it. | |
8689 | (bpstat_check_watchpoint): Handle it. | |
8690 | (bpstat_check_breakpoint_conditions): Evaluate watchpoint local | |
8691 | conditions in a frame where it makes sense. | |
8692 | (watch_command_1): Store the innermost block of the condition | |
8693 | expression. | |
8694 | (delete_breakpoint): Delete the watchpoint condition expression. | |
8695 | * breakpoint.h (struct bp_location) <cond>: Update comment. | |
8696 | (struct breakpoint): New field `cond_exp_valid_block'. | |
8697 | ||
af6b7be1 JB |
8698 | 2010-03-09 Joel Brobecker <[email protected]> |
8699 | ||
8700 | Adjust handling of Ada DIEs after dwarf2_physname patch. | |
8701 | * dwarf2read.c (dwarf2_compute_name): Add handling of Ada DIEs. | |
8702 | ||
60c5c021 CF |
8703 | 2010-03-09 Christopher Faylor <[email protected]> |
8704 | Pierre Muller <[email protected]> | |
8705 | ||
8706 | * windows-nat.c (cygwin_conv_path): Redefine to properly convert | |
8707 | from/to posix/win32. | |
8708 | (windows_make_so): Use non-Cygwin 1.7 specific function. | |
8709 | (windows_create_inferior): Make sure that cygallargs points to | |
8710 | original args in non Cygwin 1.7. case. | |
8711 | ||
60a1502a MS |
8712 | 2010-03-09 Michael Snyder <[email protected]> |
8713 | ||
8714 | * i386-tdep.c (i386_record_lea_modrm_addr): Use extract_signed_int | |
8715 | after target_read_memory to get host byte order. | |
8716 | (i386_process_record): Ditto. | |
8717 | ||
94af9270 KS |
8718 | 2010-03-09 Keith Seitz <[email protected]> |
8719 | ||
8720 | Based on work from Daniel Jacobowitz <[email protected]> | |
8721 | * c-typeprint.c (cp_type_print_method_args): For non-static methods, | |
8722 | print out const or volatile qualifiers, too. | |
8723 | (c_type_print_args): Add parameters show_artificial and language. | |
8724 | Skip artificial parameters when requested. | |
8725 | Use the appropriate language printer. | |
8726 | (c_type_print_varspec): Tell c_type_print_args to skip artificial | |
8727 | parameters and pass language_c. | |
8728 | * dwarf2read.c (die_list): New file global. | |
8729 | (struct partial_die_info): Update comments for name field. | |
8730 | (pdi_needs_namespace): Renamed to ... | |
8731 | (die_needs_namespace): ... this. Rewrite. | |
8732 | (dwarf2_linkage_name): Remove. | |
8733 | (add_partial_symbol): Do not predicate the call to | |
8734 | partial_die_full_name based on pdi_needs_namespace. | |
8735 | Remove call to cp_check_possible_namespace_symbols and associated | |
8736 | outdated comments. | |
8737 | (guess_structure_name): Do not inspect child subprogram DIEs. | |
8738 | (dwarf2_fullname): Update comments. | |
8739 | Use die_needs_namespace to assist in computing the name. | |
8740 | (read_func_scope): Use dwarf2_name to get the DIE's name. | |
8741 | Use dwarf2_physname to get the "linkage name" of the DIE. | |
8742 | (dwarf2_add_member_field): Use dwarf2_physname instead of | |
8743 | dwarf2_linkage_name. | |
8744 | (read_structure_type): For structs and classes, set TYPE_NAME, too. | |
8745 | (determine_class): Remove. | |
8746 | (read_partial_die): Ignore DW_AT_MIPS_linkage_name for all languages | |
8747 | except Ada. | |
8748 | (new_symbol): Unconditionally call dwarf2_name. | |
8749 | Compute the "linkage name" using dwarf2_physname. | |
8750 | Use dwarf2_name instead of dwarf2_full_name for enumerator DIEs. | |
8751 | When determining to scan for anonymous C++ namespaces, ignore | |
8752 | the linkage name. | |
8753 | (dwarf2_physname): New function. | |
8754 | (dwarf2_full_name): Move content to new function and call | |
8755 | that. | |
8756 | (dwarf2_compute_name): "New" function. | |
8757 | (_initialize_dwarf2_read): Initialize die_list. | |
8758 | * gnu-v3-eabi.c (gnu_v3_find_method_in): Remove unused variable | |
8759 | physname. | |
8760 | (gnu_v3_print_method_ptr): Use the physname for virtual methods | |
8761 | without a demangled name. | |
8762 | Print out type information for non-virtual methods. | |
c8d5aac9 | 8763 | * linespec.c (decode_line_1): Force ANY string using "::" (or |
94af9270 | 8764 | "." for java) to use decode_compound, and clean up any stray quoting. |
c8d5aac9 L |
8765 | If we found a file symtab, re-evaluate whether the remainder is_quoted. |
8766 | (decode_compound): Stop consuming at an open parenthesis. | |
8767 | Keep template parameters. | |
8768 | Keep any overload information. | |
8769 | Keep keywords like "const". | |
8770 | Remove paren_pointer. | |
8771 | Move is_quoted check from set_flags to here. | |
8772 | Remove #if 0 code from 2000. Ten years is long enough. | |
8773 | (find_method): Before comparing symbol names, canonicalize the string | |
8774 | from the user. | |
8775 | If a specific overload is requested, find it. Otherwise throw an error. | |
94af9270 KS |
8776 | (find_method_overload_end): New function. |
8777 | (set_flags): Remove. | |
c8d5aac9 L |
8778 | (decode_compound): Assume that parentheses are matched. |
8779 | It's a lot easier. | |
94af9270 KS |
8780 | * symtab.c (symbol_find_demangled_name): Add DMGL_VERBOSE flag |
8781 | to cplus_demangle. | |
8782 | * linespec.c (decode_line_1): Keep important keywords like | |
8783 | "const" and "volatile". | |
8784 | * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME): Remove. | |
8785 | * typeprint.h (c_type_print_args): Add declaration. | |
8786 | * ui-file.c (do_ui_file_obsavestring): New function. | |
8787 | (ui_file_obsavestring): New function. | |
8788 | * ui-file.h (ui_file_obsavestring): Add declaration. | |
8789 | * valops.c (find_overload_match): Resolve the object to | |
8790 | a non-pointer type. | |
8791 | If the object is a data member, search the object for the member | |
8792 | and return with staticp set. | |
8793 | Use SYMBOL_NATURAL_NAME instead of SYMBOL_CPLUS_DEMANGLED_NAME. | |
8794 | Do not attempt to extract a function name from non-function types. | |
8795 | If the extracted function name and the original name are the same, | |
8796 | we don't have a C++ method. | |
8797 | ||
8d95cc3b PA |
8798 | From Jan Kratochvil <[email protected]>: |
8799 | * dwarf2read.c (new_symbol <DW_TAG_enumerator>): Call dwarf2_full_name. | |
94af9270 KS |
8800 | |
8801 | * ada-lang.c (ada_lookup_symbol): Remove linkage_name parameters | |
8802 | and arguments from symbol lookups. | |
8803 | * ax-gdb.c (gen_expr): Likewise. | |
8804 | * cp-namespace.c (cp_lookup_symbol_nonlocal, lookup_namespace_scope, | |
8805 | cp_lookup_symbol_namespace, lookup_symbol_file, lookup_nested_type, | |
8806 | lookup_possible_namespace_symbol): Likewise. | |
8807 | * cp-support.c (read_in_psymtabs): Likewise. | |
8808 | * cp-support.h (cp_lookup_symbol_nonlocal): Likewise. | |
8809 | * language.h (la_lookup_symbol_nonlocal): Likewise. | |
8810 | * scm-valprint.c (scm_inferior_print): Likewise. | |
8811 | * solib-darwin.c (darwin_relocate_section_addresses): Likewise. | |
8812 | * solib-svr.c (elf_lookup_lib): Likewise. | |
8813 | * solib.c (show_auto_solib_add): Likewise. | |
8814 | * solist.h (lookup_lib_global, solib_global_lookup): Likewise. | |
8815 | * symmisc.c (maintenance_check_symtabs): Likewise. | |
8816 | * symtab.c (lookup_symbol_in_language, lookup_symbol_aux, | |
8817 | lookup_symbol_aux_local, lookup_symbol_aux_block, | |
8818 | lookup_symbol_from_objfile, lookup_symbol_aux_symtabs, | |
8819 | lookup_symbol_aux_psymtabs,basic_lookup_symbol_nonlocal, | |
8820 | lookup_symbol_static, lookup_symbol_global, symbol_matches_domain, | |
8821 | basic_lookup_transparent_type, find_main_psymtab, | |
8822 | lookup_block_symbol): Likewise. | |
8823 | * symtab.h (basic_lookp_symbol_nonlocal, lookup_symbol_static, | |
8824 | lookup_symbol_global, lookup_symbol_aux_block, | |
8825 | lookup_symbol_partial_symbol, lookup_block_symbol, | |
8826 | lookup_global_symbol, value_maybe_namespace_elt): Likewise. | |
8827 | ||
9cb74f47 PM |
8828 | 2010-03-09 Pierre Muller <[email protected]> |
8829 | ||
8830 | * python/python-internal.h: Include symtab.h. | |
8831 | ||
af6b7be1 JB |
8832 | 2010-03-09 Joel Brobecker <[email protected]> |
8833 | Pierre Muller <[email protected]> | |
e13eedd5 PM |
8834 | |
8835 | * p-lang.c (is_pascal_string_type): Remove unneeded parentheses. | |
8836 | * p-valprint.c (pascal_val_print): Remove undeed block and fix | |
8837 | indentation. | |
8838 | ||
bad56014 TT |
8839 | 2010-03-08 Tom Tromey <[email protected]> |
8840 | ||
8841 | * breakpoint.c (breakpoint_1): Add "QUIT". | |
8842 | ||
08105857 PA |
8843 | 2010-03-08 Daniel Jacobowitz <[email protected]> |
8844 | Pedro Alves <[email protected]> | |
8845 | ||
8846 | * solib.c (solib_find): Replace extension if | |
8847 | solib_symbols_extension is set in the target gdbarch. | |
8848 | * arm-symbian-tdep.c (arm_symbian_init_abi): Set | |
8849 | solib_symbols_extension to "sym". | |
8850 | * gdbarch.sh (solib_symbols_extension): New variable. | |
8851 | (pstring): New function. | |
8852 | * gdbarch.h, gdbarch.c: Regenerate. | |
8853 | ||
7c953934 TT |
8854 | 2010-03-08 Tom Tromey <[email protected]> |
8855 | ||
8856 | PR cli/9591: | |
8857 | * NEWS: Update. | |
8858 | * utils.c: Include main.h. | |
8859 | (fputs_maybe_filtered): Don't paginate if `batch_flag'. | |
8860 | (defaulted_query): Use default answer if `batch_flag'. | |
8861 | * main.h (batch_flag): Declare. | |
8862 | * main.c (batch_flag): New global. | |
8863 | (captured_main): Remove 'batch'. Update. | |
8864 | ||
bbd2783e KB |
8865 | 2010-03-08 Kevin Buettner <[email protected]> |
8866 | ||
8867 | From Richard Sandiford, Martin M. Hunt, Corinna Vinschen, | |
8868 | and Kevin Buettner: | |
8869 | ||
8870 | * remote-mips.c (rockhopper_ops): New target_ops struct. | |
8871 | (MON_ROCKHOPPER): New mips_monitor_type. | |
8872 | (read_hex_value): New function. | |
8873 | (mips_request): Send 8-byte values with a 'T' packet. Read the | |
8d95cc3b | 8874 | packet argument as a string and use read_hex_value to parse it. |
bbd2783e KB |
8875 | (mips_exit_debug): Wait for response when using MON_ROCKHOPPER. |
8876 | (rockhopper_open): New function. | |
8877 | (mips_wait): Read the PC, FP and SP fields as strings. Use | |
8878 | read_hex_value to parse them and mips_set_register to commit them. | |
8879 | (mips_set_register): New function. | |
8880 | (mips_fetch_registers): Do not cast register value to "unsigned" | |
8881 | when reading a MON_ROCKHOPPER 't' packet. Use mips_set_register. | |
8882 | (mips_store_registers): Use a 'T' packet to set registers when | |
8883 | using MON_ROCKHOPPER. | |
8884 | (pmon_end_download): Don't run initEther if using MON_ROCKHOPPER | |
8885 | and expect the total to be printed before the entry address. | |
8886 | (_initialize_remote_mips): Initialize and add rockhopper_ops. | |
8887 | ||
566f3d17 KB |
8888 | 2010-03-08 Kevin Buettner <[email protected]> |
8889 | ||
8890 | * remote-mips.c (mips_fetch_word): Add new parameter, `valp'. | |
8891 | Change return value to int. Store value fetched in location | |
8892 | addressed by `val'. Use function's return value as success | |
8893 | or failure indicator. Adjust all callers. | |
8894 | ||
9c8ee2ab | 8895 | 2010-03-08 Pierre Muller <[email protected]> |
f72d4b77 PM |
8896 | |
8897 | * p-lang.c (is_pascal_string_type): Check that TYPE arg is non NULL. | |
8898 | ||
7155de5a HZ |
8899 | 2010-03-08 Jan Kratochvil <[email protected]> |
8900 | Hui Zhu <[email protected]> | |
8901 | ||
8902 | * record.c (record_open_1): Check tmp_to_stopped_by_watchpoint and | |
8903 | tmp_to_stopped_data_address. | |
8904 | (record_open): Reset tmp_to_stopped_by_watchpoint and | |
8905 | tmp_to_stopped_data_address. | |
8906 | * target.c (init_dummy_target): Add to_stopped_by_watchpoint and | |
8907 | to_stopped_data_address. | |
8908 | ||
580879fc HZ |
8909 | 2010-03-08 Hui Zhu <[email protected]> |
8910 | ||
8911 | * i386-tdep.c (i386_process_record): Initialize regnum. | |
8912 | ||
b0fcb67f JK |
8913 | 2010-03-08 Jan Kratochvil <[email protected]> |
8914 | ||
8915 | * symfile.c (addr_info_make_relative): New variable sect_name, use it. | |
8916 | Do not warn on ".gnu.liblist" and ".gnu.conflict". | |
8917 | ||
08597104 JB |
8918 | 2010-03-08 Joel Brobecker <[email protected]> |
8919 | ||
8920 | Memory error when reading wrong core file. | |
8921 | * solib-svr4.c (solib_svr4_r_map): catch and print all exception | |
8922 | errors while reading the inferior memory, and return zero if | |
8923 | an exception was raised. | |
8924 | ||
425b824a MS |
8925 | 2010-03-07 Michael Snyder <[email protected]> |
8926 | ||
ec6dbf37 MS |
8927 | * record.c (record_restore): Rename tmpu8 to rectype. |
8928 | ||
648d0c8b MS |
8929 | * i386-tdep.c (i386_record_lea_modrm_addr): Rename local variables |
8930 | tmpu8, tmpi16, tmpi32, tmpulongest to addr8, addr16, addr32, addr64. | |
8931 | ||
8932 | (i386_record_push): Rename local tmpulongest to addr. | |
8933 | ||
8934 | (i386_process_record): Rename local tmpulongest to addr. | |
8935 | ||
8936 | Rename local variables tmpu16, tmpu32, tmpu64 to addr16, addr32, | |
8937 | addr64. | |
955db0c0 MS |
8938 | |
8939 | Rename local variable tmpu8 to opcode8 and regnum. | |
425b824a | 8940 | |
10760264 JB |
8941 | 2010-03-07 Joel Brobecker <[email protected]> |
8942 | ||
8943 | * remote.c (remote_get_ada_task_ptid): New function. | |
c8d5aac9 | 8944 | (init_remote_ops): Set remote_ops.to_get_ada_task_ptid. |
10760264 | 8945 | |
b3c613f2 CF |
8946 | 2010-03-06 Christopher Faylor <[email protected]> |
8947 | ||
8948 | * windows-nat.c: Reorganize #ifdef __CYGWIN__ considerations into one | |
8949 | block. Define helper macros to reduce ifdefs in code. | |
8950 | (get_module_name): Use cygwin_buf_t for buffer and __PMAX for buffer | |
8951 | size. Call unadorned GetModuleFileNameEx rather than | |
8952 | GetModuleFileNameEx*. | |
8953 | (windows_make_so): Use __PMAX to denote maximum buffer size and | |
8954 | cygwin_buf_t for buffer type. Use GetSystemDirectory{W,A} as | |
8955 | appropriate. | |
8956 | (get_image_name): Use __PMAX to denote maximum buffer size. | |
8957 | (handle_load_dll): Likewise. | |
8958 | (windows_pid_to_exec_file): Likewise. | |
8959 | (windows_create_inferior): Add many accommodations for older Cygwin and | |
8960 | non-Cygwin. | |
8961 | (bad_GetModuleFileNameExW): Control inclusion of this function based on | |
8962 | __USEWIDE conditional. | |
8963 | (bad_GetModuleFileNameExA): Likewise. | |
8964 | (_initialize_loadable): Just use real function names without the dyn_ | |
8965 | part since they are defined earlier. | |
8966 | ||
f870a310 TT |
8967 | 2010-03-05 Corinna Vinschen <[email protected]> |
8968 | Tom Tromey <[email protected]> | |
8969 | ||
8970 | * utils.c (host_char_to_target): Add 'gdbarch' argument. | |
8971 | (parse_escape): Likewise. | |
8972 | * python/py-utils.c (unicode_to_target_string): Update. | |
8973 | (unicode_to_target_python_string): Update. | |
8974 | (target_string_to_unicode): Update. | |
8975 | * printcmd.c (printf_command): Update. | |
8976 | * p-exp.y (yylex): Update. | |
8977 | * objc-exp.y (yylex): Update. | |
8978 | * mi/mi-parse.c: Include charset.h. | |
8979 | (mi_parse_escape): New function. | |
8980 | (mi_parse_argv): Use it. | |
8981 | * jv-exp.y (yylex): Update. | |
8982 | * i386-cygwin-tdep.c (i386_cygwin_auto_wide_charset): New | |
8983 | function. | |
8984 | (i386_cygwin_init_abi): Call set_gdbarch_auto_wide_charset. | |
8985 | * gdbarch.sh (auto_charset, auto_wide_charset): New. | |
8986 | * gdbarch.c: Rebuild. | |
8987 | * gdbarch.h: Rebuild. | |
8988 | * defs.h (parse_escape): Update. | |
8989 | * cli/cli-setshow.c: Include arch-utils.h. | |
8990 | (do_setshow_command): Update. | |
8991 | * cli/cli-cmds.c (echo_command): Update. | |
8992 | * charset.h (target_charset, target_wide_charset): Update. | |
8993 | * charset.c: Include arch-utils.h. | |
8994 | (target_charset_name): Default to "auto". | |
8995 | (target_wide_charset_name): Likewise. | |
8996 | (show_target_charset_name): Handle "auto". | |
8997 | (show_target_wide_charset_name): Likewise. | |
8998 | (be_le_arch): New global. | |
8999 | (set_be_le_names): Add 'gdbarch' argument. | |
9000 | (validate): Likewise. Don't call set_be_le_names. | |
9001 | (set_charset_sfunc, set_host_charset_sfunc) | |
9002 | (set_target_charset_sfunc, set_target_wide_charset_sfunc): | |
9003 | Update. | |
9004 | (target_charset): Add 'gdbarch' argument. | |
9005 | (target_wide_charset): Likewise. Remove 'byte_order' argument. | |
9006 | (auto_target_charset_name): New global. | |
9007 | (default_auto_charset, default_auto_wide_charset): New functions. | |
9008 | (_initialize_charset): Set auto_target_charset_name. Allow "auto" | |
9009 | for target charsets. Copy result of nl_langinfo. Use GetACP if | |
9010 | USE_WIN32API. | |
9011 | * c-lang.c (charset_for_string_type): Add 'gdbarch' argument, | |
9012 | remove 'byte_order' argument. Update. | |
9013 | (classify_type): Likewise. | |
9014 | (c_emit_char): Update. | |
9015 | (c_printchar): Update. | |
9016 | (c_printstr): Update. | |
9017 | (c_get_string): Update. | |
9018 | (evaluate_subexp_c): Update. | |
9019 | * arch-utils.h (default_auto_charset, default_auto_wide_charset): | |
9020 | Declare. | |
9021 | * python/python.c (gdbpy_target_charset): New function. | |
9022 | (gdbpy_target_wide_charset): Likewise. | |
9023 | (GdbMethods): Update. | |
9024 | * NEWS: Update. | |
9025 | ||
4e7386b0 UW |
9026 | 2010-03-05 Ulrich Weigand <[email protected]> |
9027 | ||
9028 | * symfile.c (build_section_addr_info_from_objfile): Do not mask | |
9029 | off high address bits. | |
9030 | ||
aab48ede UW |
9031 | 2010-03-05 Ulrich Weigand <[email protected]> |
9032 | ||
9033 | * python/py-lazy-string.c (gdbpy_extract_lazy_string): Extract | |
9034 | address as UnsignedLongLong, not LongLong. | |
9035 | ||
8eeafb51 | 9036 | 2010-03-05 Kevin Buettner <[email protected]> |
c8d5aac9 | 9037 | Pedro Alves <[email protected]> |
8eeafb51 KB |
9038 | |
9039 | * remote-mips.c (gdbthread.h): Include. | |
9040 | (remote_mips_ptid): Declare. | |
9041 | (mips_error): Only mourn the inferior when inferior_ptid is non-null. | |
9042 | (common_open): Set inferior_ptid, add it as an inferior, and | |
9043 | as a thread too. Delete FIXME comment regarding start_remote(). | |
9044 | (mips_close): Invoke generic_mourn_inferior(). | |
9045 | (mips_kill): Make sure that target_mourn_inferior is invoked. | |
9046 | (mips_mourn_inferior): Don't invoke generic_mourn_inferior, as | |
9047 | it's now invoked from mips_close(). | |
9048 | (mips_load): Don't null out inferior_ptid. Don't call | |
9049 | clear_symtab_users(). | |
9050 | (mips_thread_alive, mips_pid_to_str): New functions. | |
9051 | (_initialize_remote_mips): Initialize remote_mips_ptid. Initialize | |
9052 | to_thread_alive and to_pid_to_str operations. | |
9053 | ||
ae411497 TT |
9054 | 2010-03-04 Tom Tromey <[email protected]> |
9055 | ||
9056 | * dwarf2read.c (skip_one_die) <DW_FORM_ref_addr>: Use offset size | |
9057 | in DWARF 3 and later. | |
9058 | (read_attribute_value) <DW_FORM_ref_addr>: Likewise. | |
9059 | ||
0e0b460e KS |
9060 | 2010-03-04 Keith Seitz <[email protected]> |
9061 | ||
9062 | * linespec.c (decode_line_1): Update comments for is_quote_enclosed. | |
9063 | If the filename portion of the linespec was quoted, recheck the | |
9064 | remainder for additional quoting. | |
9065 | (locate_first_half): Skip over completer chars, too. | |
9066 | ||
1b93ff13 TT |
9067 | 2010-03-04 Tom Tromey <[email protected]> |
9068 | ||
9069 | * printcmd.c (printf_command): Pass dummy argument to | |
9070 | printf_filtered. | |
9071 | ||
fc36e839 DE |
9072 | 2010-03-04 Doug Evans <[email protected]> |
9073 | ||
111f853c DE |
9074 | * arm-tdep.c (arm_make_stub_cache): Delete unused locals reg, |
9075 | unwound_fp. | |
9076 | ||
fc36e839 DE |
9077 | * arm-tdep.c (arm_stub_unwind_sniffer): Add comment. |
9078 | ||
c7437ca6 PA |
9079 | 2010-03-04 Pedro Alves <[email protected]> |
9080 | ||
9081 | * breakpoint.c (update_watchpoint): Create a sentinel location if | |
9082 | the software watchpoint isn't watching any memory. | |
9083 | (breakpoint_address_bits): Skip dummy software watchpoint locations. | |
9084 | ||
58dadb1b PA |
9085 | 2010-03-04 Pedro Alves <[email protected]> |
9086 | ||
9087 | * utils.c (fputs_maybe_filtered): Check if there's already a top | |
9088 | level interpreter before dereferencing it. If there isn't one, | |
9089 | don't paginate either. | |
9090 | ||
50e98be4 DJ |
9091 | 2010-03-04 Matthew Gretton-Dann <[email protected]> |
9092 | ||
9093 | * arm-tdep.c (arm_pc_is_thumb): Add heuristic that tries to get | |
9094 | the state right when single stepping. | |
9095 | (arm_get_next_pc_raw, thumb_get_next_pc_raw): New functions. | |
9096 | Get the next PC along with the instruction state. | |
9097 | (thumb_get_next_pc): Remove. | |
9098 | (arm_get_next_pc): Modified to use arm_get_next_pc_raw. | |
9099 | ||
2e3ceee9 HZ |
9100 | 2010-03-04 Hui Zhu <[email protected]> |
9101 | ||
9102 | * i386-tdep.c (i386_process_record): Change "addr" to "tmpu64". | |
9103 | ||
390a8aca PA |
9104 | 2010-03-03 Pedro Alves <[email protected]> |
9105 | ||
9106 | * utils.c (fputs_maybe_filtered): Always disable pagination if the | |
9107 | top level interpreter is MI. | |
9108 | ||
9355b391 SS |
9109 | 2010-03-03 Stan Shebs <[email protected]> |
9110 | ||
9111 | * remote.c (remote_download_tracepoint): Iterate over locations. | |
9112 | * tracepoint.c (validate_actionline): Ditto. | |
9113 | (encode_actions): Add location argument. | |
9114 | (trace_dump_command): Check all locations to see if stepping | |
9115 | frame. | |
390a8aca | 9116 | |
8685c86f L |
9117 | 2010-03-03 H.J. Lu <[email protected]> |
9118 | Eli Zaretskii <[email protected]> | |
9119 | ||
9120 | * NEWS: Add X86 general purpose registers section. | |
9121 | ||
e8f781e2 TT |
9122 | 2010-03-03 Tom Tromey <[email protected]> |
9123 | ||
9124 | PR mi/11098: | |
9125 | * varobj.c (install_new_value): Handle case where new print_value | |
9126 | is NULL. | |
9127 | ||
a0e0ef55 TT |
9128 | 2010-03-03 Dainis Jonitis <[email protected]> |
9129 | ||
9130 | PR gdb/11345: | |
9131 | * printcmd.c (printf_command): Print end of format string using | |
9132 | printf_filtered. | |
9133 | ||
a58d7472 TT |
9134 | 2010-03-02 Tom Tromey <[email protected]> |
9135 | ||
9136 | * mi/mi-cmd-break.c (mi_read_next_line): Add missing 'void'. | |
9137 | * defs.h (read_command_lines_1): Add missing 'void'. | |
9138 | * cli/cli-script.c (recurse_read_control_structure): Add missing | |
9139 | 'void'. | |
9140 | (read_next_line): Likewise. | |
9141 | (read_command_lines_1): Likewise. | |
9142 | ||
ce50d78b UW |
9143 | 2010-03-02 Ulrich Weigand <[email protected]> |
9144 | ||
9145 | * spu-tdep.c (spu_analyze_prologue): Track instruction to | |
9146 | store backchain as part of prologue. | |
9147 | ||
7e9af34a DJ |
9148 | 2010-03-02 Daniel Jacobowitz <[email protected]> |
9149 | ||
9150 | * progspace.c (update_address_spaces): Update inferior address spaces | |
9151 | also. | |
9152 | ||
01637564 DE |
9153 | 2010-03-02 Doug Evans <[email protected]> |
9154 | ||
9155 | * dwarf2read.c (add_partial_subprogram): Add missing baseaddr to | |
9156 | lowpc,highpc args to addrmap_set_empty. | |
9157 | ||
1ba53b71 L |
9158 | 2010-03-02 H.J. Lu <[email protected]> |
9159 | ||
9160 | * amd64-tdep.c (amd64_byte_names): New. | |
9161 | (amd64_word_names): Likewise. | |
9162 | (amd64_dword_names): Likewise. | |
9163 | (amd64_pseudo_register_name): Likewise. | |
9164 | (amd64_pseudo_register_read): Likewise. | |
9165 | (amd64_pseudo_register_write): Likewise. | |
9166 | (amd64_init_abi): Set num_byte_regs, num_word_regs, num_dword_regs | |
9167 | and num_mmx_regs. Call set_gdbarch_pseudo_register_read, | |
9168 | set_gdbarch_pseudo_register_write and | |
9169 | set_tdesc_pseudo_register_name. Don't call | |
9170 | set_gdbarch_num_pseudo_regs. Don't set mm0_regnum. | |
9171 | ||
9172 | * i386-tdep.c (i386_num_mmx_regs): Removed. | |
9173 | (i386_num_pseudo_regs): Likewise. | |
9174 | (i386_byte_names): New. | |
9175 | (i386_word_names): Likewise. | |
9176 | (i386_byte_regnum_p): Likewise. | |
9177 | (i386_word_regnum_p): Likewise. | |
9178 | (i386_mmx_regnum_p): Updated. | |
9179 | (i386_pseudo_register_name): Make it global. Handle byte and | |
9180 | word pseudo-registers. | |
9181 | (i386_pseudo_register_read): Likewise. | |
9182 | (i386_pseudo_register_write): Likewise. | |
9183 | (i386_pseudo_register_type): Handle byte, word and dword | |
9184 | pseudo-registers | |
9185 | (i386_register_reggroup_p): Don't include pseudo | |
9186 | registers, except for MXX, in any register groups. Don't | |
9187 | include pseudo byte, word, dword registers in general_reggroup. | |
9188 | (i386_gdbarch_init): Set num_byte_regs, num_word_regs, | |
9189 | num_dword_regs, al_regnum, ax_regnum and eax_regnum. Put MMX | |
9190 | pseudo-registers after word pseudo-registers. Call | |
9191 | set_gdbarch_num_pseudo_regs after calling gdbarch_init_osabi. | |
9192 | ||
9193 | * i386-tdep.h (gdbarch_tdep): Add num_mmx_regs, num_byte_regs, | |
9194 | al_regnum, num_word_regs, ax_regnum, num_dword_regs and | |
9195 | eax_regnum. | |
9196 | (i386_byte_regnum_p): New. | |
9197 | (i386_word_regnum_p): Likewise. | |
9198 | (i386_dword_regnum_p): Likewise. | |
9199 | (i386_pseudo_register_name): Likewise. | |
9200 | (i386_pseudo_register_read): Likewise. | |
9201 | (i386_pseudo_register_write): Likewise. | |
9202 | ||
a6f5ef51 L |
9203 | 2010-03-01 H.J. Lu <[email protected]> |
9204 | ||
9205 | * target-descriptions.c (tdesc_type): Remove | |
9206 | TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR. | |
9207 | (tdesc_predefined_types): Likewise. | |
9208 | (tdesc_gdb_type): Likewise. Pass NULL to append_flags_type_flag | |
9209 | if flag name is empty. | |
9210 | (maint_print_c_tdesc_cmd): Handle TDESC_TYPE_FLAGS. | |
9211 | ||
9212 | * features/i386/32bit-core.xml: Define i386_eflags. | |
9213 | * features/i386/64bit-core.xml: Likewise. | |
9214 | ||
9215 | * features/i386/32bit-sse.xml: Define i386_mxcsr. | |
9216 | * features/i386/64bit-sse.xml: Likewise. | |
9217 | ||
9218 | * features/i386/amd64-linux.c: Regenerated. | |
9219 | * features/i386/amd64.c: Likewise. | |
9220 | * features/i386/i386-linux.c: Likewise. | |
9221 | * features/i386/i386.c: Likewise. | |
9222 | ||
f5dff777 DJ |
9223 | 2010-03-01 Daniel Jacobowitz <[email protected]> |
9224 | ||
9225 | * gdbtypes.c (append_composite_type_field_raw): New. | |
9226 | (append_composite_type_field_aligned): Use the new function. | |
9227 | * gdbtypes.h (append_composite_type_field_raw): Declare. | |
9228 | * target-descriptions.c (struct tdesc_type_field): Add start and end. | |
9229 | (struct tdesc_type_flag): New type. | |
9230 | (struct tdesc_type): Add TDESC_TYPE_STRUCT and TDESC_TYPE_FLAGS to | |
9231 | kind. Add size to u.u. Add u.f for flags. | |
9232 | (tdesc_gdb_type): Handle TDESC_TYPE_STRUCT and TDESC_TYPE_FLAGS. | |
9233 | (tdesc_free_type): Likewise. | |
9234 | (tdesc_create_struct, tdesc_set_struct_size, tdesc_create_flags): New. | |
9235 | (tdesc_add_field): Handle TDESC_TYPE_STRUCT. | |
9236 | (tdesc_add_bitfield, tdesc_add_flag): New. | |
9237 | * target-descriptions.h (tdesc_create_struct, tdesc_set_struct_size) | |
9238 | (tdesc_create_flags, tdesc_add_bitfield, tdesc_add_flag): Declare. | |
9239 | * xml-tdesc.c (struct tdesc_parsing_data): Rename current_union to | |
9240 | current_type. Add current_type_size and current_type_is_flags. | |
9241 | (tdesc_start_union): Clear the new fields. | |
9242 | (tdesc_start_struct, tdesc_start_flags): New. | |
9243 | (tdesc_start_field): Handle struct fields, including bitfields. | |
9244 | (field_attributes): Make type optional. Add start and end. | |
9245 | (union_children): Rename to struct_union_children. | |
9246 | (union_attributes): Rename to struct_union_attributes. Add optional | |
9247 | size. | |
9248 | (flags_attributes): New. | |
9249 | (feature_children): Add struct and flags. | |
9250 | * features/gdb-target.dtd: Add flags and struct to features. | |
9251 | Make field type optional. Add field start and end. | |
9252 | ||
90884b2b L |
9253 | 2010-03-01 H.J. Lu <[email protected]> |
9254 | ||
9255 | * amd64-linux-nat.c (AMD64_LINUX_USER64_CS): New. | |
9256 | (amd64_linux_read_description): Likewise. | |
9257 | (_initialize_amd64_linux_nat): Set to_read_description to | |
9258 | amd64_linux_read_description. | |
9259 | ||
9260 | * amd64-linux-tdep.c: Include "features/i386/amd64-linux.c". | |
9261 | (amd64_linux_register_name): Removed. | |
9262 | (amd64_linux_register_type): Likewise. | |
9263 | (amd64_linux_core_read_description): New. | |
9264 | (amd64_linux_init_abi): Set target description to | |
9265 | tdesc_amd64_linux if needed. Support orig_rax in target | |
9266 | description. Don't call set_gdbarch_register_name nor | |
9267 | set_gdbarch_register_type. Call | |
9268 | set_gdbarch_core_read_description. | |
9269 | (_initialize_amd64_linux_tdep): Call | |
9270 | initialize_tdesc_amd64_linux. | |
9271 | ||
9272 | * amd64-linux-tdep.h (tdesc_amd64_linux): New. | |
9273 | ||
9274 | * amd64-tdep.c: Include "features/i386/amd64.c". | |
9275 | (amd64_register_names): Removed. | |
9276 | (amd64_register_name): Likewise. | |
9277 | (amd64_register_type): Likewise. | |
9278 | (amd64_init_abi): Set num_core_regs and register_names. Set | |
8d95cc3b | 9279 | target description to tdesc_amd64 if needed. Don't call |
90884b2b L |
9280 | set_gdbarch_register_name nor set_gdbarch_register_type. |
9281 | (_initialize_amd64_tdep): New. | |
9282 | ||
9283 | * i386-linux-nat.c (i386_linux_read_description): New. | |
9284 | (_initialize_i386_linux_nat): Set to_read_description to | |
9285 | i386_linux_read_description. | |
9286 | ||
9287 | * i386-linux-tdep.c: Include "features/i386/i386-linux.c". | |
9288 | (i386_linux_register_name): Removed. | |
9289 | (i386_linux_core_read_description): New. | |
9290 | (i386_linux_read_description): Likewise. | |
9291 | (i386_linux_init_abi): Don't call set_gdbarch_register_name. | |
9292 | Set target description to tdesc_i386_linux if needed. Support | |
9293 | orig_eax. Set register_reggroup_p. Call | |
9294 | set_gdbarch_core_read_description. | |
9295 | (_initialize_i386_linux_tdep): Call initialize_tdesc_i386_linux. | |
9296 | ||
9297 | * i386-linux-tdep.h (tdesc_i386_linux): New. | |
9298 | ||
9299 | * i386-nto-tdep.c (i386nto_regset_id): Replace I386_NUM_FREGS | |
9300 | with I387_NUM_REGS. | |
9301 | ||
9302 | * i386-tdep.c: Include "features/i386/i386.c". | |
9303 | (i386_register_names): Make it const. | |
9304 | (i386_mmx_names): Likewise. | |
9305 | (i386_num_register_names): Removed. | |
9306 | (i386_register_name): Likewise. | |
9307 | (i386_eflags_type): Likewise. | |
9308 | (i386_mxcsr_type): Likewise. | |
9309 | (i386_sse_type): Likewise. | |
9310 | (i386_register_type): Likewise. | |
9311 | (i387_ext_type): Call tdesc_find_type instead of arch_float_type. | |
9312 | (i386_pseudo_register_name): New. | |
9313 | (i386_pseudo_register_type): Likewise. | |
9314 | (i386_mmx_type): Make it static. | |
9315 | (i386_gdbarch_init): Check arch. Replace I386_NUM_FREGS with | |
9316 | I387_NUM_REGS. Set num_core_regs and register_names. Don't | |
9317 | call set_gdbarch_register_name nor set_gdbarch_register_type. | |
9318 | Set register_reggroup_p. Set target description to tdesc_i386 | |
9319 | if needed. Call set_tdesc_pseudo_register_type, | |
9320 | set_tdesc_pseudo_register_name and tdesc_use_registers. | |
9321 | (_initialize_i386_tdep): Call initialize_tdesc_i386. | |
9322 | initialize_tdesc_x86_64. | |
9323 | ||
9324 | * i386-tdep.h (gdbarch_tdep): Remove i386_eflags_type, | |
9325 | i386_mxcsr_type and i386_sse_type. Add num_core_regs, | |
9326 | register_names, tdesc and register_reggroup_p. | |
9327 | (I386_NUM_FREGS): Removed. | |
9328 | (i386_eflags_type): Likewise. | |
9329 | (i386_mxcsr_type): Likewise. | |
9330 | (i386_mmx_type): Likewise. | |
9331 | (i386_sse_type): Likewise. | |
9332 | (i386_register_name): Likewise. | |
9333 | (i386_regnum): Add I386_MXCSR_REGNUM. | |
9334 | (I386_SSE_NUM_REGS): Defined with I386_MXCSR_REGNUM. | |
9335 | ||
9336 | * i387-tdep.h (I387_NUM_REGS): New. | |
9337 | ||
9338 | * regformats/i386/i386-linux.dat: Generated. | |
9339 | * regformats/i386/i386.dat: Likewise. | |
9340 | * regformats/i386/amd64-linux.dat: Likewise. | |
9341 | * regformats/i386/amd64.dat: Likewise. | |
9342 | ||
9343 | * regformats/reg-i386-linux.dat: Removed. | |
9344 | * regformats/reg-i386.dat: Likewise. | |
9345 | * regformats/reg-x86-64-linux.dat: Likewise. | |
9346 | * regformats/reg-x86-64.dat: Likewise. | |
9347 | ||
d0d0ab16 CV |
9348 | 2010-03-01 Corinna Vinschen <[email protected]> |
9349 | ||
9350 | * remote-fileio.c (remote_fileio_func_rename): Use Cygwin 1.7 | |
9351 | cygwin_conv_path API rather than the deprecated | |
9352 | cygwin_conv_to_full_posix_path. | |
9353 | * windows-nat.c: | |
9354 | (GetModuleFileNameExA): Undefine for Cygwin. | |
9355 | (GetModuleFileNameExW): Define for Cygwin. | |
9356 | (get_module_name): Change size of pathbuf to PATH_MAX for Cygwin. | |
9357 | Call GetModuleFileNameExW and convert path to POSIX using | |
9358 | cygwin_conv_path. | |
9359 | (windows_make_so): Always define p. Drop unused variable m. | |
9360 | Don't use Win32 functions to check file existance, rather use | |
9361 | access on Cygwin. Fetch system directory using GetSystemDirectoryW. | |
9362 | Use canonicalize_file_name to get full path. | |
9363 | (get_image_name): Use wcstombs, rather than WideCharToMultiByte | |
9364 | to convert Unicode pathname to multibyte on Cygwin. Otherwise, | |
9365 | use correct target buffer size in call to WideCharToMultiByte. | |
9366 | (handle_load_dll): Change size of dll_buf to PATH_MAX for Cygwin. | |
9367 | (windows_pid_to_exec_file): Change size of path to PATH_MAX for Cygwin. | |
9368 | (windows_create_inferior): Convert all paths and arguments to wchar_t | |
9369 | and use CreateProcessW on Cygwin. | |
9370 | (_initialize_windows_nat): Disable DOS-style path warning on Cygwin. | |
9371 | (bad_GetModuleFileNameExA): Undefine for Cygwin. | |
9372 | (bad_GetModuleFileNameExW): Define for Cygwin. | |
9373 | (_initialize_loadable): Load GetModuleFileNameExW into | |
9374 | dyn_GetModuleFileNameExW on Cygwin. Don't load ANSI function on Cygwin. | |
9375 | ||
dc00d89f PM |
9376 | 2010-02-28 Phil Muldoon <[email protected]> |
9377 | ||
9378 | PR python/11036 | |
9379 | * python/py-frame.c (frapy_read_var): Add block argument and logic | |
9380 | to cope with user provided blocks. | |
9381 | ||
0e095b7e JK |
9382 | 2010-02-28 Jan Kratochvil <[email protected]> |
9383 | ||
9384 | * infcall.c (call_function_by_hand): Remove gdb_assert on sp and old_sp. | |
9385 | New comment. | |
9386 | ||
2f9e05b4 CV |
9387 | 2010-02-28 Corinna Vinschen <[email protected]> |
9388 | ||
9389 | * Makefile.in (SUBDIR_MI_OBS): Move mi-common.o from here... | |
9390 | (COMMON_OBS): ... to here since it's used unconditionally. | |
9391 | (SUBDIR_MI_SRCS): Move mi/mi-common.c from here... | |
9392 | (SFILES): To here. | |
9393 | ||
eb195664 DD |
9394 | 2010-02-26 David Daney <[email protected]> |
9395 | ||
9396 | * mips-linux-tdep.c: Update struct sigframe comments. | |
9397 | (SIGFRAME_CODE_OFFSET): Delete macro. | |
9398 | (mips_linux_o32_sigframe_init): Calculate sigcontext_base using | |
9399 | this_frame's sp. | |
9400 | (mips_linux_n32n64_sigframe_init): Same. | |
9401 | ||
97b0f3e2 KB |
9402 | 2010-02-26 Kevin Buettner <[email protected]> |
9403 | ||
9404 | * remote-mips.c (mips_load): Don't use pseudo-register when | |
9405 | invalidating regcache. | |
9406 | ||
4069ebbe DJ |
9407 | 2010-02-26 Daniel Jacobowitz <[email protected]> |
9408 | ||
9409 | * arm-tdep.c (thumb_get_next_pc): Correct conditional branch opcode. | |
9410 | ||
05071a4d PA |
9411 | 2010-02-26 Pedro Alves <[email protected]> |
9412 | ||
9413 | * NEWS: Add "New targets" section, and mention ARM Symbian | |
9414 | support. | |
9415 | ||
6063c216 UW |
9416 | 2010-02-26 Ulrich Weigand <[email protected]> |
9417 | ||
9418 | * dwarf2loc.c (struct piece_closure): Remove ARCH member, | |
9419 | add ADDR_SIZE member. | |
9420 | (allocate_piece_closure): Update. | |
9421 | (copy_pieced_value_closure): Likewise. | |
9422 | (dwarf2_evaluate_loc_desc): Likewise. | |
9423 | (read_pieced_value): Use DWARF address size instead of | |
9424 | GDB's gdbarch_addr_bit as size of values on the DWARF stack. | |
9425 | ||
5107b149 | 9426 | 2010-02-26 Phil Muldoon <[email protected]> |
c8d5aac9 | 9427 | Tom Tromey <[email protected]> |
5107b149 PM |
9428 | |
9429 | * python/py-type.c (typy_lookup_typename): Add in block argument. | |
9430 | If provided restrict lookup to specified blocks. | |
9431 | (gdbpy_lookup_type): Likewise. | |
9432 | (typy_lookup_type): Likewise. | |
9433 | ||
78664fa3 | 9434 | 2010-02-25 Daniel Jacobowitz <[email protected]> |
8d95cc3b | 9435 | |
78664fa3 PA |
9436 | Symbian config |
9437 | ||
9438 | gdb/ | |
9439 | * arm-symbian-tdep.c: New. | |
9440 | * configure.tgt (arm*-*-symbianelf*): New target. | |
9441 | (*-*-symbianelf*): New OS. | |
9442 | * osabi.c (gdb_osabi_names): Add Symbian. | |
9443 | * defs.h (gdb_osabi): Add GDB_OSABI_SYMBIAN. | |
9444 | * Makefile.in (ALL_TARGET_OBJS): Add arm-symbian-tdep.o. | |
9445 | (ALLDEPFILES): Add arm-symbian-tdep.c. | |
9446 | ||
eb73e134 DJ |
9447 | 2010-02-25 Daniel Jacobowitz <[email protected]> |
9448 | ||
9449 | * symfile.c (find_lowest_section): Include SEC_ALLOC sections. | |
9450 | ||
46ef47e5 PA |
9451 | 2010-02-24 Pedro Alves <[email protected]> |
9452 | ||
9453 | * mi/mi-main.c (mi_cmd_execute): Fix typo. | |
9454 | ||
f3e9a817 | 9455 | 2010-02-24 Phil Muldoon <[email protected]> |
8d95cc3b | 9456 | Tom Tromey <[email protected]> |
f3e9a817 PM |
9457 | Thiago Jung Bauermann <[email protected]> |
9458 | ||
9459 | * python/python.c (_initialize_python): Call | |
9460 | gdbpy_initialize_symtabs, gdbpy_initialize_symbols and | |
9461 | gdbpy_initialize_blocks. | |
9462 | * python/python-internal.h: Declare struct symbol, block and | |
9463 | symtab_and_line. Declare block_object_type and | |
9464 | symbol_object_type | |
9465 | (gdbpy_lookup_symbol gdbpy_block_for_pc) | |
9466 | (symtab_and_line_to_sal_object, symtab_to_symtab_object) | |
9467 | (symbol_to_symbol_object, block_to_block_object) | |
9468 | (gdbpy_initialize_symtabs,gdbpy_initialize_symbols) | |
9469 | (gdbpy_initialize_blocks ): Declare. | |
9470 | * python/py-frame.c (frapy_block, frapy_function, frapy_find_sal) | |
9471 | (frapy_select): Add methods. | |
9472 | (frapy_read_var): Add symbol branch. | |
9473 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-symbol, py-symtab, | |
9474 | py-block. | |
9475 | (SUBDIR_PYTHON_SRCS): Likewise. | |
9476 | (py-symbol.o): New rule. | |
9477 | (py-symtab.o): Likewise. | |
9478 | (py-block.o): Likewise. | |
9479 | * python/py-symbol.c: New file. | |
9480 | * python/py-symtab.c: Likewise. | |
9481 | * python/py-block.c: Likewise. | |
9482 | ||
24291992 PA |
9483 | 2010-02-24 Pedro Alves <[email protected]> |
9484 | ||
9485 | PR gdb/11321 | |
9486 | ||
9487 | * inferior.h (prepare_for_detach): Declare. | |
9488 | (struct inferior) <detaching>: New field. | |
9489 | * infrun.c (prepare_for_detach): New. | |
9490 | (handle_inferior_event) <random signal>: Don't stop if detaching. | |
9491 | * target.c (target_detach): Call prepare_for_detach. | |
9492 | ||
fc1cf338 PA |
9493 | 2010-02-24 Pedro Alves <[email protected]> |
9494 | ||
9495 | Per-process displaced stepping queue. | |
9496 | ||
9497 | * infrun.c (displaced_step_ptid, displaced_step_request_queue) | |
9498 | (displaced_step_gdbarch, displaced_step_closure, | |
9499 | (displaced_step_original, displaced_step_copy): Move globals to | |
9500 | this... | |
9501 | (struct displaced_step_inferior_state): ... new structure. | |
9502 | (displaced_step_inferior_states): New global. | |
9503 | (get_displaced_stepping_state, add_displaced_stepping_state) | |
9504 | (remove_displaced_stepping_state, infrun_inferior_exit): New | |
9505 | functions. | |
9506 | (displaced_step_clear): Add displaced_step_inferior_state | |
9507 | parameter, and adjust to handle it. | |
9508 | (displaced_step_clear_cleanup): Parameter is now a | |
9509 | displaced_step_inferior_state. Adjust. | |
9510 | (displaced_step_prepare): Adjust. | |
9511 | (displaced_step_fixup, displaced_step_fixup) | |
9512 | (infrun_thread_ptid_changed, resume): Adjust. | |
9513 | (init_wait_for_inferior): Don't call displaced_step_clear. | |
9514 | (infrun_thread_stop_requested): Rewrite. | |
9515 | (_initialize_infrun): Install infrun_inferior_exit as | |
9516 | inferior_exit observer. | |
9517 | ||
0723dbf5 PA |
9518 | 2010-02-24 Pedro Alves <[email protected]> |
9519 | ||
9520 | * inferior.h (ptid_match): Declare. | |
9521 | * infrun.c (ptid_match): New. | |
9522 | * remote.c (queued_stop_reply): Rewrite and use ptid_match. | |
9523 | (handle_notification): Add debug output. | |
9524 | * linux-nat.c (ptid_match): Delete. | |
9525 | ||
09de9781 DM |
9526 | 2010-02-24 David S. Miller <[email protected]> |
9527 | ||
9528 | * gdb_ptrace.h (PT_SYSCALL): If PTRACE_SYSCALL is available, use it. | |
9529 | * syscalls/sparc-linux.xml: New. | |
9530 | * syscalls/sparc64-linux.xml: New. | |
9531 | * Makefile.in (XML_SYSCALL_FILES): Add new syscall XML files. | |
9532 | * sparc-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC32): Define. | |
9533 | (sparc32_linux_get_syscall_number): New function. | |
9534 | (sparc32_linux_init_abi): Set syscall XML file name and hook up | |
9535 | syscall number fetcher. | |
9536 | * sparc64-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC64): Define. | |
9537 | (sparc64_linux_get_syscall_number): New function. | |
9538 | (sparc64_linux_init_abi): Set syscall XML file name and hook up | |
9539 | syscall number fetcher. | |
9540 | ||
a79b8f6e VP |
9541 | 2010-02-24 Vladimir Prus <[email protected]> |
9542 | ||
9543 | Multiexec MI | |
9544 | ||
9545 | * breakpoint.c (clear_syscall_counts): Take struct inferior*. | |
9546 | * inferior.c (add_inferior_silent): Notify inferior_added | |
9547 | observer. | |
9548 | (delete_inferior_1): Notify inferior_removed observer. | |
9549 | (exit_inferior_1): Pass inferior, not pid, to observer. | |
9550 | (inferior_appeared): Likewise. | |
9551 | (add_inferior_with_spaces): New. | |
9552 | (add_inferior_command): Use the above. | |
9553 | * inferior.h (delete_inferior_1, add_inferior_with_spaces): | |
9554 | Declare. | |
9555 | ||
9556 | * inflow.c (inflow_inferior_exit): Likewise. | |
9557 | * jit.c (jit_inferior_exit_hook): Likewise. | |
9558 | ||
9559 | * mi/mi-cmds.c (mi_cmds): Register add-inferior and | |
9560 | remove-inferior. | |
9561 | * mi/mi-cmds.h (mi_cmd_add_inferior, mi_cmd_remove_inferior): New. | |
9562 | * mi/mi-interp.c (mi_inferior_added, mi_inferior_removed): New. | |
9563 | (report_initial_inferior): New. | |
9564 | (mi_inferior_removed): Register the above. Make sure | |
9565 | inferior_added observer is called on the first inferior. | |
9566 | (mi_new_thread, mi_thread_exit): Thread group is now identified by | |
9567 | inferior number, not pid. | |
9568 | (mi_solib_loaded, mi_solib_unloaded): Report which inferiors are | |
9569 | affected. | |
9570 | * mi/mi-main.c (current_context): New. | |
9571 | (proceed_thread_callback): Use typed closure. | |
9572 | Proceed everything if pid is 0. Most implementation split into | |
9573 | (proceed_thread): ... this. | |
9574 | (run_one_inferior): New. | |
9575 | (mi_cmd_exec_continue, mi_cmd_exec_interrupt, mi_cmd_exec_run): | |
9576 | Adjust for multiexec behaviour. | |
9577 | (mi_cmd_add_inferior, mi_cmd_remove_inferior): New. | |
9578 | (mi_cmd_execute): Handle the 'thread-group' option here. | |
9579 | Do some extra checks. | |
9580 | * mi-parse.c (mi_parse): Handle the --all and --thread-group | |
9581 | options. | |
9582 | * mi-parse.h (struct mi_parse): New fields all and thread_group. | |
9583 | ||
115d30f9 VP |
9584 | 2010-02-24 Vladimir Prus <[email protected]> |
9585 | ||
9586 | Make -exec-run a proper MI commands. | |
9587 | ||
9588 | * mi/mi-cmds.h (mi_cmd_exec_run): Declare. | |
9589 | * mi/mi-cmds.c (mi_cmds): Adjust. | |
9590 | * mi/mi-main.c (mi_cmd_exec_run): New. | |
9591 | ||
06cd862c PA |
9592 | 2010-02-24 Pedro Alves <[email protected]> |
9593 | Stan Shebs <[email protected]> | |
9594 | ||
9595 | * tracepoint.h (set_traceframe_number) | |
9596 | (cleanup_restore_current_traceframe): Declare. | |
9597 | * tracepoint.c (set_traceframe_number): New. | |
9598 | (struct current_traceframe_cleanup): New. | |
9599 | (do_restore_current_traceframe_cleanup) | |
9600 | (restore_current_traceframe_cleanup_dtor) | |
9601 | (make_cleanup_restore_current_traceframe): New. | |
9602 | * infrun.c: Include tracepoint.h. | |
9603 | (fetch_inferior_event): Switch out and in of tfind mode. | |
9604 | ||
ab92d69b PA |
9605 | 2010-02-24 Pedro Alves <[email protected]> |
9606 | ||
9607 | * breakpoint.c (breakpoint_init_inferior): Also delete | |
9608 | bp_shlib_event breakpoints. | |
9609 | * solib-frv.c (enable_break): Remove call to | |
9610 | remove_solib_event_breakpoints. | |
9611 | * solib-svr4.c (enable_break): Ditto. | |
9612 | * solib-darwin.c (darwin_solib_create_inferior_hook): Ditto. | |
9613 | * solib-pa64.c (pa64_solib_create_inferior_hook): Ditto. | |
9614 | * solib-som.c (som_solib_create_inferior_hook): Ditto. | |
9615 | * solib-spu.c (spu_enable_break): Ditto. | |
9616 | ||
e707a91d PA |
9617 | 2010-02-23 Harald Koenig <[email protected]> |
9618 | ||
9619 | * c-exp.y (token_and_value): s/union YYSTYPE/YYSTYPE. | |
9620 | ||
cfce2ea2 PA |
9621 | 2010-02-23 Harald Koenig <[email protected]> |
9622 | ||
9623 | * varobj.c (varobj_update): Avoid non-constants in initializers. | |
9624 | ||
05566b3b TT |
9625 | 2010-02-23 Tom Tromey <[email protected]> |
9626 | ||
9627 | * dwarf2loc.c (read_pieced_value) <DWARF_VALUE_STACK>: Correctly | |
9628 | handle big-endian values. | |
9629 | (dwarf2_evaluate_loc_desc) <DWARF_VALUE_STACK>: Likewise. | |
9630 | ||
85d721b8 PA |
9631 | 2010-02-22 Pedro Alves <[email protected]> |
9632 | ||
9633 | PR9605 | |
9634 | ||
9635 | gdb/ | |
9636 | * breakpoint.c (insert_bp_location): If inserting the read | |
9637 | watchpoint failed, fallback to an access watchpoint. | |
9638 | (bpstat_check_watchpoint): Stop for read watchpoint triggers even | |
9639 | if the value changed, if not watching the same memory for writes. | |
9640 | (watchpoint_locations_match): Add comment. | |
9641 | (update_global_location_list): Copy the location's watchpoint type. | |
9642 | * i386-nat.c (i386_length_and_rw_bits): It's an internal error to | |
9643 | handle read watchpoints here. | |
9644 | (i386_insert_watchpoint): Read watchpoints aren't supported. | |
9645 | * remote.c (remote_insert_watchpoint): Return 1 for unsupported | |
9646 | packets. | |
9647 | * target.h (target_insert_watchpoint): Update description. | |
9648 | ||
48ea67a7 TT |
9649 | 2010-02-19 Tom Tromey <[email protected]> |
9650 | ||
9651 | * p-typeprint.c (pascal_type_print_varspec_prefix): Update. | |
9652 | * m2-typeprint.c (m2_print_type): Update. | |
9653 | * gdbtypes.c (recursive_dump_type): Update. | |
9654 | (copy_type_recursive): Update. | |
9655 | * c-typeprint.c (c_type_print_varspec_prefix): Update. | |
9656 | (c_type_print_base): Update. | |
9657 | * gdbtypes.h (TYPE_CODE_TEMPLATE, TYPE_CODE_TEMPLATE_ARG): | |
9658 | Remove. | |
9659 | (struct cplus_struct_type) <ntemplate_args>: Remove. | |
9660 | <struct template_arg>: Remove. | |
9661 | <is_dynamic>: Move earlier. | |
9662 | (TYPE_TEMPLATE_ARGS): Remove. | |
9663 | (TYPE_NTEMPLATE_ARGS): Remove. | |
9664 | (TYPE_TEMPLATE_ARG): Remove. | |
9665 | ||
48e32051 TT |
9666 | 2010-02-19 Tom Tromey <[email protected]> |
9667 | ||
9668 | PR c++/8693, PR c++/9496: | |
9669 | * cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION. | |
9670 | * c-exp.y (lex_one_token): Rename from yylex. Don't call | |
9671 | write_dollar_variable. Don't try to classify NAME tokens. | |
9672 | (token_and_value): New type. | |
9673 | (token_fifo, popping, name_obstack): New globals. | |
9674 | (classify_name): New function. | |
9675 | (classify_inner_name): Likewise. | |
9676 | (yylex): Likewise. | |
9677 | (VARIABLE): Now has type sval. | |
9678 | (exp : VARIABLE): Call write_dollar_variable. | |
9679 | (qualified_name): Use TYPENAME, not typebase. Add production for | |
9680 | multiple "::" instances. | |
9681 | (variable): Use name_not_typename. | |
9682 | (qualified_type): Remove. | |
9683 | (typebase): Update. | |
9684 | ||
672d9c23 JK |
9685 | 2010-02-19 Jan Kratochvil <[email protected]> |
9686 | ||
9687 | * symfile.c (addr_info_make_relative): Extend comment. Move SECT to | |
9688 | a more inner block. Initialize ADDR by LOWER_OFFSET only if it was | |
9689 | found by bfd_get_section_by_name. | |
9690 | * symfile.h (struct section_addr_info) <sectindex>: New comment. | |
9691 | ||
bfbf3774 JB |
9692 | 2010-02-19 Joel Brobecker <[email protected]> |
9693 | ||
9694 | * NEWS: Add new "[...] since 7.1" section. Rename the "[...] since | |
9695 | 7.0 section" into "Changes in 7.1". | |
9696 | ||
6756b09b | 9697 | 2010-02-19 Joel Brobecker <[email protected]> |
9698 | ||
9699 | GDB 7.1 branch created (branch timestamp: 2010-02-18 20:00 UTC) | |
9700 | * version.in: Bump version to 7.1.50.20100219-cvs. | |
9701 | ||
202b96c1 PA |
9702 | 2010-02-18 Harald Koenig <[email protected]> |
9703 | ||
9704 | * mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'. | |
9705 | * symfile.c (symfile_map_offsets_to_segments): Fix assertion. | |
9706 | ||
de2e5182 TT |
9707 | 2010-02-17 Tom Tromey <[email protected]> |
9708 | ||
9709 | * NEWS: Add Python API Improvements section. | |
9710 | ||
7280022e DJ |
9711 | 2010-02-18 Daniel Jacobowitz <[email protected]> |
9712 | ||
9713 | * NEWS: Correct typo. | |
9714 | ||
6f451e5e TT |
9715 | 2010-02-17 Tom Tromey <[email protected]> |
9716 | ||
9717 | * objfiles.c (gdb_bfd_ref): Handle abfd==NULL. | |
9718 | ||
012836ea JK |
9719 | 2010-02-17 Jan Kratochvil <[email protected]> |
9720 | ||
9721 | * symfile.c (build_section_addr_info_from_objfile): Include sections | |
9722 | only if they are SEC_ALLOC or SEC_LOAD. | |
9723 | ||
d182d057 L |
9724 | 2010-02-17 H.J. Lu <[email protected]> |
9725 | ||
9726 | PR shlibs/11293 | |
9727 | * solib-svr4.c (enable_break): Check size of CORE_ADDR instead | |
9728 | of ULONGEST for address size. | |
9729 | ||
4eef138c TT |
9730 | 2010-02-17 Tom Tromey <[email protected]> |
9731 | ||
9732 | * NEWS: Add C++ improvements section. | |
9733 | ||
548a926a UW |
9734 | 2010-02-17 Ulrich Weigand <[email protected]> |
9735 | ||
9736 | * python/python-internal.h [!WITH_THREAD] (PyGILState_Release, | |
9737 | PyThreadState_Swap): Avoid "statement with no effect" warning. | |
9738 | ||
ad3a0e5b JK |
9739 | 2010-02-17 Jan Kratochvil <[email protected]> |
9740 | ||
9741 | * solib-svr4.c (enable_break <target_auxv_search>): New variable | |
9742 | addr_bit. Adjust LOAD_ADDR sign for cross-arch inferiors. | |
9743 | ||
243e2c5d | 9744 | 2010-02-17 Tristan Gingold <[email protected]> |
b2319725 | 9745 | Petr Hluzin <[email protected]> |
243e2c5d TG |
9746 | |
9747 | * avr-tdep.c (avr_scan_prologue): Convert an if statement to a | |
9748 | gdb_assert. Fix info->size for SIG prologue. | |
9749 | ||
275f2e57 DJ |
9750 | 2010-02-16 Daniel Jacobowitz <[email protected]> |
9751 | ||
9752 | * infcmd.c (show_inferior_tty_command): Check for NULL. | |
9753 | Correct output message. | |
9754 | ||
791dfb64 DJ |
9755 | 2010-02-16 Daniel Jacobowitz <[email protected]> |
9756 | ||
9757 | * linespec.c (decode_line_1): Handle FILE:FUNCTION even if | |
9758 | FUNCTION contains parentheses. Improve removal of a trailing | |
9759 | single quote. | |
9760 | ||
14d1346b DJ |
9761 | 2010-02-16 Daniel Jacobowitz <[email protected]> |
9762 | ||
9763 | * gcore.c (do_bfd_delete_cleanup): New function. | |
9764 | (gcore_command): Use it. Discard the cleanup after success. | |
9765 | (gcore_copy_callback): Delete dead code. | |
9766 | ||
e76ab67f DJ |
9767 | 2010-02-16 Daniel Jacobowitz <[email protected]> |
9768 | ||
9769 | * symfile.c (addr_info_make_relative): Always use | |
9770 | find_lowest_section. | |
9771 | ||
71dee663 SW |
9772 | 2010-02-16 Sami Wagiaalla <[email protected]> |
9773 | ||
9774 | * NEWS: Added entry for namespace fixes. | |
9775 | ||
a9854bd5 TT |
9776 | 2010-02-15 Tom Tromey <[email protected]> |
9777 | ||
9778 | * dwarf2read.c (guess_structure_name): Allocate name on the | |
9779 | objfile obstack. | |
9780 | ||
fd9e29b5 TT |
9781 | 2010-02-15 Tom Tromey <[email protected]> |
9782 | ||
9783 | * c-typeprint.c (c_type_print_base): Reverse order of test. | |
9784 | ||
4e1fc9c9 JK |
9785 | 2010-02-15 Jan Kratochvil <[email protected]> |
9786 | ||
9787 | * solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize. Optionally | |
9788 | initialize it from ELF BFD. Extend the prelink condition by it. | |
9789 | ||
74164c56 JK |
9790 | 2010-02-15 Jan Kratochvil <[email protected]> |
9791 | ||
9792 | * defs.h (parse_pid_to_attach): New. | |
9793 | * utils.c (parse_pid_to_attach): New. | |
9794 | * darwin-nat.c (darwin_attach): Replace ARGS parsing by parse_pid. | |
9795 | * gnu-nat.c (gnu_attach): Likewise. | |
9796 | * nto-procfs.c (procfs_attach): Likewise. | |
9797 | * procfs.c (procfs_attach): Likewise. | |
9798 | * windows-nat.c (windows_attach): Likewise. | |
9799 | * inf-ptrace.c (inf_ptrace_attach): Likewise. Remove variable dummy. | |
9800 | * inf-ttrace.c (inf_ttrace_attach): Likewise. | |
9801 | * remote.c (extended_remote_attach_1): Likewise. New comment on getpid | |
9802 | check. | |
9803 | ||
bf6adea8 MM |
9804 | 2010-02-14 Masaki Muranaka <[email protected]> |
9805 | ||
9806 | * MAINTAINERS: Add myself for write after approval privileges. | |
9807 | ||
28f34a8f JK |
9808 | 2010-02-13 Jan Kratochvil <[email protected]> |
9809 | ||
9810 | * solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner | |
9811 | block. | |
9812 | ||
701ed6dc JK |
9813 | 2010-02-13 Jan Kratochvil <[email protected]> |
9814 | ||
9815 | * solib-svr4.c: (LM_ADDR_CHECK): Print successful prelink adjustment | |
9816 | only if INFO_VERBOSE. | |
9817 | ||
e5829bee MS |
9818 | 2010-02-12 Tomas Holmberg <[email protected]> |
9819 | ||
9820 | * mi/mi-main.c: Added the --reverse flag to the following MI | |
9821 | commands: exec-continue, exec-finish, exec-next, exec-step, | |
9822 | exec-next-instruction, exec-step-instruction. This is to | |
9823 | support reverse execution over the MI interface to gdb. | |
9824 | ||
081dfbf7 PA |
9825 | 2010-02-12 Pedro Alves <[email protected]> |
9826 | ||
9827 | * tracepoint.c (_initialize_tracepoint): Specify that the address | |
9828 | range of `tfind outsize' is exclusive, and that the address range | |
9829 | of `tfind range' is inclusive, in the commands' help strings. | |
9830 | ||
ecc13e53 JB |
9831 | 2010-02-12 Joel Brobecker <[email protected]> |
9832 | ||
9833 | Spurious "dll not found" error messages on x64-windows. | |
9834 | * windows-nat.c: Add include of complaints.h. | |
9835 | (handle_unload_dll): Change dll-not-found error into a complaint. | |
9836 | ||
15c3d785 PA |
9837 | 2010-02-12 Pedro Alves <[email protected]> |
9838 | ||
9839 | * breakpoint.c (allocate_bp_location): Use bp_loc_other for | |
9840 | bp_tracepoint and bp_fast_tracepoint, not | |
9841 | bp_loc_software_breakpoint. | |
9842 | (update_global_location_list): Tracepoints are never duplicates of | |
9843 | anything. | |
9844 | ||
fd9b8c24 PA |
9845 | 2010-02-12 Pedro Alves <[email protected]> |
9846 | ||
9847 | * breakpoint.c (break_command_really): Change return type to int. | |
9848 | Return false if no breakpoint was created, true otherwise. | |
9849 | (trace_command): Don't set the tracepoint count if no tracepoint | |
9850 | was created. | |
9851 | (ftrace_command): Ditto. | |
9852 | (create_tracepoint_from_upload): Bail out if the tracepoint wasn't | |
9853 | created in the breakpoints table. | |
9854 | ||
5c0d192f JK |
9855 | 2010-02-11 Jan Kratochvil <[email protected]> |
9856 | Ulrich Weigand <[email protected]> | |
9857 | ||
9858 | * solib-svr4.c (LM_ADDR_CHECK): New comment on PPC-aware condition. | |
9859 | ||
5d5b640e PA |
9860 | 2010-02-11 Pedro Alves <[email protected]> |
9861 | ||
9862 | * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out if | |
9863 | the offset value isn't of integral type. | |
9864 | ||
e5a0a904 JK |
9865 | 2010-02-11 Jan Kratochvil <[email protected]> |
9866 | ||
9867 | * breakpoint.c (delete_breakpoint) <bpt->related_breakpoint != NULL>: | |
9868 | New. | |
9869 | ||
be636754 PA |
9870 | 2010-02-11 Pedro Alves <[email protected]> |
9871 | ||
9872 | * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out on | |
9873 | non-subscriptable types. | |
9874 | * valarith.c (binop_types_user_defined_p): New, abstracted out | |
9875 | from ... | |
9876 | (binop_user_defined_p): ... this. | |
9877 | * value.h (binop_types_user_defined_p): Declare. | |
9878 | ||
10ef8d6a PA |
9879 | 2010-02-11 Pedro Alves <[email protected]> |
9880 | ||
9881 | * tracepoint.c (tfile_open): Remove spurious discard_cleanups. | |
9882 | Merge uploaded TSVs before merging uploaded tracepoints. | |
9883 | ||
b1028c8e PA |
9884 | 2010-02-11 Pedro Alves <[email protected]> |
9885 | ||
9886 | * ax-gdb.c (gen_deref): Don't allow dereferencing void pointers. | |
9887 | ||
7a93fb82 | 9888 | 2010-02-11 Vladimir Prus <[email protected]> |
84d90c10 | 9889 | |
7a93fb82 VP |
9890 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Add extra |
9891 | whitespace character after a dot in comment. | |
9892 | (mi_cmd_stack_list_arguments, mi_cmd_stack_list_variables): | |
9893 | Likewise. | |
9894 | (list_args_or_locals): For the 'all' (that is | |
9895 | -stack-list-variables) case, always output list of tuples. | |
9896 | Output 'arg' field if variable is argument. | |
84d90c10 | 9897 | |
92981e24 TT |
9898 | 2010-02-10 Tom Tromey <[email protected]> |
9899 | ||
9900 | * parser-defs.h (parser_debug): Declare. | |
9901 | * parse.c (_initialize_parse): Install "debug parser" set/show | |
9902 | command. | |
9903 | (parser_debug): New global. | |
9904 | (show_parserdebug): New function. | |
9905 | * c-exp.y (c_parse): Set yydebug. | |
9906 | ||
9fd3625f L |
9907 | 2010-02-10 H.J. Lu <[email protected]> |
9908 | ||
9909 | * target-descriptions.c (tdesc_type): Add TDESC_TYPE_I387_EXT, | |
9910 | TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR. | |
9911 | (tdesc_predefined_types): Add i387_ext, i386_eflags and | |
9912 | i386_mxcsr. | |
9913 | (tdesc_find_type): New. | |
9914 | (tdesc_gdb_type): Use tdesc_find_type. Handle TDESC_TYPE_I387_EXT, | |
9915 | TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR. | |
9916 | ||
9917 | * target-descriptions.h (tdesc_find_type): New. | |
9918 | ||
2fe842e5 MS |
9919 | 2010-02-10 Michael Snyder <[email protected]> |
9920 | ||
9921 | * gdb-gdb.py: Comment fix. | |
9922 | ||
f18b4cab TG |
9923 | 2010-02-09 Tristan Gingold <[email protected]> |
9924 | ||
9925 | * machoread.c (macho_symfile_relocate): New function. | |
9926 | (macho_sym_fns): Use macho_symfile_relocate instead of | |
9927 | default_symfile_relocate. | |
9928 | (macho_oso_data): New type. | |
9929 | (current_oso): New variable. | |
9930 | (macho_add_oso_symfile): Do not compute section_addr_info, but | |
9931 | instead set vma of sections. | |
9932 | Do not set SYMFILE_VERBOSE to call symbol_file_add_from_bfd. | |
9933 | Set and clear current_oso. | |
9934 | ||
31dbc1c5 JB |
9935 | 2010-02-09 Joel Brobecker <[email protected]> |
9936 | ||
9937 | Wrong type description for tagged type parameter. | |
9938 | * ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: When noside is | |
9939 | EVAL_AVOID_SIDE_EFFECTS, also handle the case when type is a | |
9940 | reference to a tagged type. | |
9941 | ||
399f313b TG |
9942 | 2010-02-09 Tristan Gingold <[email protected]> |
9943 | ||
9944 | * objfiles.c (objfile_separate_debug_iterate): Do not iterate on | |
9945 | brothers of the parent. | |
9946 | ||
714f19d5 TT |
9947 | 2010-02-08 Tom Tromey <[email protected]> |
9948 | ||
9949 | PR c++/8017: | |
9950 | * value.h: Update. | |
9951 | * valops.c (search_struct_field): Make 'name' const. | |
9952 | (search_struct_method): Likewise. | |
9953 | (find_method_list): Make 'method' const. | |
9954 | (value_struct_elt): Make 'name' and 'err' const. | |
9955 | (value_find_oload_method_list): Make 'method' const. | |
9956 | (find_overload_match): Make 'name' const. | |
9957 | * eval.c (evaluate_subexp_standard): New locals function, | |
9958 | function_name. | |
9959 | <OP_FUNCALL>: Handle OP_SCOPE specially. | |
9960 | ||
de0a0249 UW |
9961 | 2010-02-08 Ulrich Weigand <[email protected]> |
9962 | ||
9963 | * infrun.c (handle_inferior_event): Do not look up regcache | |
9964 | for exited processes. | |
9965 | ||
8d95cc3b | 9966 | 2010-02-08 Chris Moller <[email protected]> |
83b10087 CM |
9967 | |
9968 | PR gdb/10728 | |
9969 | * valarith.c (value_ptrdiff): Added a test for a zero type length, | |
8d95cc3b | 9970 | warn if found, and assume length = 1. |
83b10087 | 9971 | |
99903ae3 CM |
9972 | 2010-02-08 Chris Moller <[email protected]> |
9973 | ||
9974 | PR gdb/9067 | |
9975 | * cp-valprint.c (cp_print_value_fields) Fix use of obstacks. | |
6036c742 | 9976 | (cp_print_static_field) Fix use of obstacks. |
8d95cc3b | 9977 | |
e3e9f5a2 PA |
9978 | 2010-02-08 Pedro Alves <[email protected]> |
9979 | ||
9980 | * linux-nat.c (linux_nat_resume): In non-stop, also only tag | |
9981 | resumed LWPs as resumed. | |
9982 | (linux_nat_wait_1): If there's no resumed LWP in the set of LWPs | |
9983 | we're waiting for, bail out with TARGET_WAITKIND_IGNORE, instead | |
9984 | of throwing an internal error. If an LWP of a process we're not | |
9985 | waiting for reports a signal, don't force collecting a SIGSTOP, | |
9986 | and if it was breakpoint hit in non-stop mode, cancel it. Don't | |
9987 | go through all LWPs cancelling breakpoints in non-stop mode. | |
9988 | (resume_stopped_resumed_lwps): New. | |
9989 | (linux_nat_wait): Use it. | |
9990 | ||
46763423 L |
9991 | 2010-02-07 H.J. Lu <[email protected]> |
9992 | ||
9993 | * features/Makefile (WHICH): Add i386/i386, i386/i386-linux, | |
9994 | i386/amd64 and i386/amd64-linux. | |
9995 | (i386/i386-expedite): New. | |
9996 | (i386/i386-linux-expedite): Likewise. | |
9997 | (i386/amd64-expedite):Likewise. | |
9998 | (i386/amd64-linux-expedite): Likewise. | |
9999 | ($(outdir)/i386/i386-linux.dat): Likewise. | |
10000 | ($(outdir)/i386/amd64.dat): Likewise. | |
10001 | ($(outdir)/i386/amd64-linux.dat): Likewise. | |
10002 | ||
10003 | * features/i386/32bit-core.xml: New. | |
10004 | * features/i386/32bit-linux.xml: Likewise. | |
10005 | * features/i386/32bit-sse.xml: Likewise. | |
10006 | * features/i386/64bit-core.xml: Likewise. | |
10007 | * features/i386/64bit-linux.xml: Likewise. | |
10008 | * features/i386/64bit-sse.xml: Likewise. | |
10009 | * features/i386/i386-linux.xml: Likewise. | |
10010 | * features/i386/i386.xml: Likewise. | |
10011 | * features/i386/amd64-linux.xml: Likewise. | |
10012 | * features/i386/amd64.xml: Likewise. | |
10013 | * features/i386/i386-linux.c: Likewise. | |
10014 | * features/i386/i386.c: Likewise. | |
10015 | * features/i386/amd64-linux.c: Likewise. | |
10016 | * features/i386/amd64.c: Likewise. | |
10017 | ||
82856980 SW |
10018 | 2010-02-05 Sami Wagiaalla <[email protected]> |
10019 | ||
10020 | PR c++/7935: | |
10021 | * cp-support.h: Added char* alias element to using_direct data | |
10022 | struct. | |
10023 | (cp_add_using): Added char* alias argument. | |
10024 | (cp_add_using_directive): Ditto. | |
10025 | * cp-namespace.c: Updated with the above changes. | |
10026 | (cp_lookup_symbol_imports): Check for aliases. | |
10027 | * dwarf2read.c (read_import_statement): Figure out local alias | |
10028 | for the import and pass it on to cp_add_using. | |
10029 | (read_namespace): Pass alias argument to cp_add_using. | |
10030 | ||
d18b8b7a HZ |
10031 | 2010-02-05 Hui Zhu <[email protected]> |
10032 | ||
10033 | * defs.h (gdb_bfd_errmsg): New extern. | |
10034 | * exec.c (exec_file_attach): Change bfd_errmsg to | |
10035 | gdb_bfd_errmsg. | |
10036 | * utils.c (AMBIGUOUS_MESS1): New macro. | |
10037 | (AMBIGUOUS_MESS2): New macro. | |
10038 | (gdb_bfd_errmsg): New function. | |
10039 | ||
48379de6 DE |
10040 | 2010-02-04 Doug Evans <[email protected]> |
10041 | ||
10042 | * solib-svr4.c (enable_break): Add comment. | |
10043 | ||
4ee73e90 AG |
10044 | 2010-02-04 Anthony Green <[email protected]> |
10045 | ||
10046 | * moxie-tdep.c (moxie_analyze_prologue): Fail protocol analysis | |
10047 | gracefully. | |
10048 | ||
1a334831 TT |
10049 | 2010-02-04 Tom Tromey <[email protected]> |
10050 | ||
10051 | * valops.c (search_struct_field): Account for | |
10052 | value_embedded_offset. Fix check for virtual base past the end of | |
10053 | the object. Use value_copy when making a slice of the value. | |
10054 | ||
1180b2c8 L |
10055 | 2010-02-04 H.J. Lu <[email protected]> |
10056 | ||
10057 | PR tui/9622 | |
10058 | * tui/tui-interp.c (tui_init): Call tui_initialize_readline | |
10059 | only if gdb_stdout is a tty. | |
10060 | ||
c3f08eb7 L |
10061 | 2010-02-04 H.J. Lu <[email protected]> |
10062 | ||
10063 | * target-descriptions.c: Include "osabi.h". | |
10064 | (maint_print_c_tdesc_cmd): Generate set_tdesc_osabi for valid | |
10065 | OSABI. | |
10066 | ||
2d33f7b8 TG |
10067 | 2010-02-04 Tristan Gingold <[email protected]> |
10068 | ||
10069 | * machoread.c (macho_add_oso): Renamed to macho_register_oso. | |
10070 | (macho_symtab_read): Adjust calls to macho_add_oso. | |
10071 | (macho_oso_symfile): Renamed to macho_symfile_read_all_oso. | |
10072 | (macho_symfile_read): Adjust call to macho_oso_symfile. | |
10073 | (macho_new_init): Move this function after declarations. | |
10074 | (macho_symfile_init): Ditto. | |
10075 | * darwin-nat-info.c (darwin_lib_gdb_ports): Remove. | |
10076 | * darwin-nat.c (darwin_lookup_task): Remove unused prototype. | |
10077 | ||
11334b82 VP |
10078 | 2010-02-04 Vladimir Prus <[email protected]> |
10079 | ||
10080 | Include MI command in remotelog. | |
10081 | ||
10082 | * mi/mi-main.c (mi_execute_command): Call target_log_command. | |
10083 | ||
ff97be06 L |
10084 | 2010-02-03 H.J. Lu <[email protected]> |
10085 | ||
10086 | * remote.c (remote_state): Remove gdbarch. | |
10087 | (init_remote_state): Don't set gdbarch. | |
10088 | (remote_query_supported): Pass target_gdbarch instead of | |
10089 | rs->gdbarch to gdbarch_qsupported. | |
10090 | ||
75cebea9 L |
10091 | 2010-02-03 H.J. Lu <[email protected]> |
10092 | ||
10093 | * gdbarch.sh: Add qsupported. | |
10094 | ||
10095 | * gdbarch.c: Regenerated. | |
10096 | * gdbarch.h: Likewise. | |
10097 | ||
10098 | * remote.c (remote_state): Add gdbarch. | |
10099 | (init_remote_state): Set gdbarch. | |
10100 | (remote_query_supported): Support gdbarch_qsupported. | |
10101 | ||
c1dec97b DJ |
10102 | 2010-02-03 Daniel Jacobowitz <[email protected]> |
10103 | ||
10104 | * amd64fbsd-nat.c (amd64fbsd_supply_pcb): Also check for | |
10105 | __FreeBSD_kernel_version. | |
10106 | ||
ac8035ab TG |
10107 | 2010-02-03 Tristan Gingold <[email protected]> |
10108 | ||
10109 | * symfile.h (struct sym_fns): Add sym_relocate field. | |
10110 | (default_symfile_relocate): New prototype. | |
10111 | (symfile_relocate_debug_section): First argument is now an objfile. | |
10112 | * symfile.c (default_symfile_relocate): Rename from | |
10113 | symfile_relocate_debug_section, first argument is now an objfile. | |
10114 | (symfile_relocate_debug_section): New function. | |
10115 | * coffread.c (coff_sym_fns): Set sym_relocate field. | |
10116 | * somread.c (som_sym_fns): Ditto. | |
10117 | * mipsread.c (ecoff_sym_fns): Ditto. | |
10118 | * machoread.c (macho_sym_fns): Ditto. | |
10119 | * elfread.c (elf_sym_fns): Ditto. | |
10120 | * dwarf2read.c (dwarf2_read_section): Ditto. | |
10121 | * xcoffread.c (xcoff_sym_fns): Ditto. | |
10122 | * dbxread.c (aout_sym_fns): Ditto. | |
10123 | (dbx_psymtab_to_symtab): Adjust call to symfile_relocate_debug_section. | |
10124 | (elfstab_build_psymtabs): Ditto. | |
10125 | ||
be52b756 L |
10126 | 2010-02-03 H.J. Lu <[email protected]> |
10127 | ||
10128 | * defs.h (MAX_REGISTER_SIZE): Increase to 32. | |
10129 | ||
9c3c02fd TT |
10130 | 2010-02-02 Tom Tromey <[email protected]> |
10131 | ||
10132 | * valops.c (value_cast_structs): Try downcasting using the RTTI | |
10133 | type. | |
10134 | ||
f23f4c59 TT |
10135 | 2010-02-02 Tom Tromey <[email protected]> |
10136 | ||
10137 | * gnu-v2-abi.c: Don't include gnu-v2-abi.h. | |
10138 | (gnuv2_baseclass_offset): Now static. | |
10139 | * Makefile.in (HFILES_NO_SRCDIR): Remove gnu-v2-abi.h. | |
10140 | * gnu-v2-abi.h: Remove. | |
10141 | ||
0cc2414c TT |
10142 | 2010-02-02 Tom Tromey <[email protected]> |
10143 | ||
10144 | * m2-typeprint.c (m2_record_fields): Don't use | |
10145 | TYPE_DECLARED_TYPE. | |
10146 | * gdbtypes.h (TYPE_DECLARED_CLASS): New macro. | |
10147 | (struct main_type) <flag_declared_class>: New field. | |
10148 | (struct cplus_struct_type) <declared_type>: Remove. | |
10149 | <ntemplate_args>: Move earlier. | |
10150 | (DECLARED_TYPE_CLASS, DECLARED_TYPE_UNION, DECLARED_TYPE_STRUCT) | |
10151 | (DECLARED_TYPE_TEMPLATE): Remove. | |
10152 | (TYPE_DECLARED_TYPE): Remove. | |
10153 | * gdbtypes.c (lookup_union): Don't use TYPE_DECLARED_TYPE. | |
10154 | * dwarf2read.c (read_structure_type): Set TYPE_DECLARED_CLASS. | |
10155 | * c-typeprint.c (c_type_print_base): Use TYPE_DECLARED_CLASS, not | |
10156 | TYPE_DECLARED_TYPE. | |
10157 | ||
edf3d5f3 TT |
10158 | 2010-02-02 Tom Tromey <[email protected]> |
10159 | ||
10160 | PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890: | |
10161 | * valops.c (search_struct_field): Compute nbases after calling | |
10162 | CHECK_TYPEDEF. | |
10163 | (check_field): Call CHECK_TYPEDEF. | |
10164 | * cp-valprint.c (cp_print_value): Pass correct address to | |
10165 | baseclass_offset. Fix check for virtual base past the end of the | |
10166 | object. Don't offset address passed to cp_print_value_fields or | |
10167 | apply_val_pretty_printer. | |
10168 | (cp_print_value_fields): Fix call to val_print. | |
10169 | (cp_print_value_fields_rtti): New function. | |
10170 | * c-valprint.c (c_val_print): Use cp_print_value_fields_rtti. | |
10171 | * p-valprint.c (pascal_object_print_value_fields): Fix call to | |
10172 | val_print. | |
10173 | * python/py-prettyprint.c (apply_val_pretty_printer): Add embedded | |
10174 | offset to address. | |
10175 | * language.h (struct language_defn) <la_val_print>: Document. | |
10176 | * c-lang.h (cp_print_value_fields_rtti): Declare. | |
10177 | ||
e4b7f41c JK |
10178 | 2010-02-01 Jan Kratochvil <[email protected]> |
10179 | ||
10180 | PR libc/11214: | |
10181 | * linux-low.c (linux_tracefork_child) [!(__UCLIBC__ && HAS_NOMMU)]: New. | |
10182 | (linux_test_for_tracefork): Move `stack' into [__UCLIBC__ && HAS_NOMMU]. | |
10183 | (linux_test_for_tracefork) [!(__UCLIBC__ && HAS_NOMMU)]: New. | |
10184 | ||
7618e12b DJ |
10185 | 2010-02-01 Michael Matz <[email protected]> |
10186 | Daniel Jacobowitz <[email protected]> | |
10187 | ||
e4b7f41c | 10188 | * i386-tdep.c (i386_frame_cache): Assume valid anonymous |
7618e12b DJ |
10189 | functions use a frame pointer. |
10190 | ||
b381ea14 JK |
10191 | 2010-02-01 Jan Kratochvil <[email protected]> |
10192 | ||
10193 | * solib-svr4.c (scan_dyntag): New variable dyn_addr. Replace gdb_assert | |
10194 | by a conditional setting DYN_ADDR. Use DYN_ADDR. | |
10195 | * config/djgpp/fnchange.lst: Add translations for | |
10196 | symbol-without-target_section.exp and symbol-without-target_section.c. | |
10197 | ||
0e05dfcb DJ |
10198 | 2010-02-01 Daniel Jacobowitz <[email protected]> |
10199 | ||
10200 | * gdbarch.sh: Set LANG and LC_ALL to C, not c. | |
10201 | (remote_breakpoint_for_pc): Correct invalid_p check. | |
10202 | * gdbarch.c: Regenerated. | |
10203 | ||
f9d67f43 DJ |
10204 | 2010-02-01 Daniel Jacobowitz <[email protected]> |
10205 | ||
10206 | * arm-tdep.c (arm_find_mapping_symbol): New function, from | |
10207 | arm_pc_is_thumb. | |
10208 | (arm_pc_is_thumb): Use arm_find_mapping_symbol. | |
10209 | (extend_buffer_earlier): New function. | |
10210 | (MAX_IT_BLOCK_PREFIX, IT_SCAN_THRESHOLD): New constants. | |
10211 | (arm_adjust_breakpoint_address): New function. | |
10212 | (arm_gdbarch_init): Register arm_adjust_breakpoint_address. | |
10213 | ||
177321bd DJ |
10214 | 2010-02-01 Daniel Jacobowitz <[email protected]> |
10215 | ||
10216 | * arm-linux-tdep.c (arm_linux_thumb2_be_breakpoint) | |
10217 | (arm_linux_thumb2_le_breakpoint): New constants. | |
10218 | (arm_linux_init_abi): Set thumb2_breakpoint and | |
10219 | thumb2_breakpoint_size. | |
10220 | * arm-tdep.c (thumb_insn_size, thumb_advance_itstate): New functions. | |
10221 | (thumb_get_next_pc): Add a comment. Rename IT to ITSTATE. | |
10222 | Implement support for single stepping through IT blocks if | |
10223 | a 32-bit Thumb breakpoint instruction is available. | |
10224 | (arm_breakpoint_from_pc): If a 32-bit Thumb breakpoint instruction | |
10225 | is available, use it when needed. | |
10226 | (arm_remote_breakpoint_from_pc): New function. | |
10227 | (arm_gdbarch_init): Register arm_remote_breakpoint_from_pc. | |
10228 | * arm-tdep.h (struct gdbarch_tdep): Correct thumb_breakpoint | |
10229 | comment. Add thumb2_breakpoint and thumb2_breakpoint_size. | |
10230 | ||
a1dcb23a DJ |
10231 | 2010-02-01 Daniel Jacobowitz <[email protected]> |
10232 | ||
10233 | * arch-utils.c (default_remote_breakpoint_from_pc): New function. | |
10234 | * arch-utils.h (default_remote_breakpoint_from_pc): Declare. | |
10235 | * gdbarch.c, gdbarch.h: Regenerated. | |
10236 | * gdbarch.sh (remote_breakpoint_from_pc): New architecture method. | |
10237 | * remote.c (remote_insert_breakpoint, remote_insert_hw_breakpoint): Use | |
10238 | gdbarch_remote_breakpoint_from_pc. | |
10239 | ||
2b009048 DJ |
10240 | 2010-01-29 Daniel Jacobowitz <[email protected]> |
10241 | ||
10242 | * infrun.c (prepare_to_proceed): Handle other signals which might | |
10243 | match a breakpoint. | |
10244 | (handle_inferior_event): Move the check for unusual breakpoint | |
10245 | signals earlier. | |
10246 | ||
e4e2711a JB |
10247 | 2010-01-29 Paul Hilfinger <[email protected]> |
10248 | ||
10249 | amd64 - function returning record with field straddling 2 registers. | |
10250 | * amd64-tdep.c (amd_classify_aggregate): Handle the case of | |
10251 | a record of length <= 16 in which a field straddles the two | |
10252 | eightbytes. | |
10253 | ||
cba6fab5 JB |
10254 | 2010-01-29 Joel Brobecker <[email protected]> |
10255 | ||
10256 | Implement return values on amd64-windows. | |
10257 | * amd64-windows-tdep.c: #include gdbcore.h and regcache.h. | |
10258 | (amd64_windows_return_value): New function. | |
10259 | (amd64_windows_init_abi): Call set_gdbarch_return_value with | |
10260 | amd64_windows_return_value. | |
10261 | ||
3af6ddfe JB |
10262 | 2010-01-29 Joel Brobecker <[email protected]> |
10263 | ||
10264 | amd64-windows: 32 bytes allocated on stack by caller for integer | |
cba6fab5 | 10265 | parameter registers. |
3af6ddfe JB |
10266 | * i386-tdep.h (struct gdbarch_tdep): Add new field |
10267 | integer_param_regs_saved_in_caller_frame. | |
10268 | * amd64-windows-tdep.c (amd64_windows_init_abi): Set | |
10269 | tdep->integer_param_regs_saved_in_caller_frame to 1. | |
10270 | * amd64-tdep.c (amd64_push_dummy_call): Allocate some memory on | |
10271 | stack if tdep->integer_param_regs_saved_in_caller_frame is set. | |
10272 | ||
80d19a06 JB |
10273 | 2010-01-29 Joel Brobecker <[email protected]> |
10274 | ||
10275 | amd64-windows: memory args passed by pointer during function calls. | |
10276 | * i386-tdep.h (gdbarch_tdep): Add field memory_args_by_pointer. | |
10277 | * amd64-tdep.c (amd64_push_arguments): Add handling of architectures | |
10278 | where tdep->memory_args_by_pointer is non-zero. | |
10279 | * amd64-windows-tdep.c (amd64_windows_init_abi): Set | |
10280 | tdep->memory_args_by_pointer to 1. | |
10281 | ||
ba581dc1 JB |
10282 | 2010-01-29 Joel Brobecker <[email protected]> |
10283 | ||
4966b6c2 | 10284 | amd64-windows: Integer parameters in function calls. |
ba581dc1 JB |
10285 | * i386-tdep.h (enum amd64_reg_class): New, moved here from |
10286 | amd64-tdep.c. | |
10287 | (struct gdbarch_tdep): Add fields call_dummy_num_integer_regs, | |
10288 | call_dummy_integer_regs, and classify. | |
10289 | * amd64-tdep.h (amd64_classify): Add declaration. | |
10290 | * amd64-tdep.c (amd64_dummy_call_integer_regs): New static constant. | |
10291 | (amd64_reg_class): Delete, moved to i386-tdep.h. | |
10292 | (amd64_classify): Make non-static. Move declaration to amd64-tdep.h. | |
10293 | Replace call to amd64_classify by call to tdep->classify. | |
10294 | (amd64_push_arguments): Get the list of registers to use for | |
10295 | passing integer parameters from the gdbarch tdep structure, | |
10296 | rather than using a hardcoded one. Replace calls to amd64_classify | |
10297 | by calls to tdep->classify. | |
10298 | (amd64_push_dummy_call): Get the register number used for | |
10299 | the "hidden" argument from tdep->call_dummy_integer_regs. | |
10300 | (amd64_init_abi): Initialize tdep->call_dummy_num_integer_regs | |
10301 | and tdep->call_dummy_integer_regs. Set tdep->classify. | |
10302 | * amd64-windows-tdep.c: Add include of gdbtypes.h. | |
10303 | (amd64_windows_dummy_call_integer_regs): New static global. | |
10304 | (amd64_windows_classify): New function. | |
10305 | (amd64_windows_init_abi): Initialize tdep->call_dummy_num_integer_regs | |
10306 | tdep->call_dummy_integer_regs and tdep->classify. | |
10307 | ||
d37346f0 DJ |
10308 | 2010-01-28 Daniel Jacobowitz <[email protected]> |
10309 | ||
10310 | * regcache.c (regcache_xmalloc): Add aspace argument. Use it | |
10311 | for the new regcache. All callers updated. | |
10312 | (regcache_cpy, regcache_cpy_no_passthrough): Do not set aspace here. | |
10313 | (get_thread_arch_regcache): Do not set aspace here. | |
10314 | * regcache.h (regcache_xmalloc): Update declaration. | |
10315 | ||
10316 | * frame.c, infcall.c, ppc-linux-tdep.c: Calls to | |
10317 | regcache_xmalloc updated. | |
10318 | ||
7434dadd JB |
10319 | 2010-01-28 Joel Brobecker <[email protected]> |
10320 | ||
10321 | Another -Wunused-function error in procfs.c (sparc-solaris) | |
10322 | * procfs.c (insert_dbx_link_breakpoint): Delete declaration. Move up. | |
10323 | Only define if SYS_syssgi is defined. | |
10324 | (remove_dbx_link_breakpoint): Delete declaration. Move up. | |
10325 | (dbx_link_addr, insert_dbx_link_bpt_in_file) | |
10326 | (insert_dbx_link_bpt_in_region): Move up. Only define if SYS_syssgi | |
10327 | is itself defined. | |
10328 | ||
16d905e2 CF |
10329 | 2010-01-27 Christopher Faylor <[email protected]> |
10330 | ||
10331 | * windows-nat.c (windows_initialization_done): New variable. | |
10332 | (get_windows_debug_event): Issue error when process dies before | |
10333 | completely initializing. | |
10334 | (do_initial_windows_stuff): Set flag to indicate when we are done with | |
10335 | the initial steps of attaching to the child. | |
10336 | ||
cd55e50f JK |
10337 | 2010-01-27 Jan Kratochvil <[email protected]> |
10338 | ||
10339 | * symtab.h (struct symbol <symtab>): New comment on NULL values. | |
10340 | ||
99cc78aa DE |
10341 | 2010-01-27 Doug Evans <[email protected]> |
10342 | ||
4c7dcb84 DE |
10343 | * solib-svr4.c (solib_break_names): Add __dl_rtld_db_dlactivity. |
10344 | ||
99cc78aa DE |
10345 | * breakpoint.c (bpstat_stop_status): Delete useless code. |
10346 | ||
52334bf5 JK |
10347 | 2010-01-27 Jan Kratochvil <[email protected]> |
10348 | ||
10349 | * printcmd.c (display_uses_solib_p): Remove variable section. Access | |
10350 | objfile via SYMBOL_SYMTAB. | |
10351 | ||
708ead4e TT |
10352 | 2010-01-26 Tom Tromey <[email protected]> |
10353 | ||
10354 | PR exp/7643: | |
10355 | * eval.c (evaluate_subexp_for_address) <UNOP_IND>: Call | |
10356 | coerce_array on result. | |
10357 | ||
b14e635e SW |
10358 | 2010-01-26 Sami Wagiaalla <[email protected]> |
10359 | ||
10360 | * cp-namespace.c (cp_lookup_symbol_namespace): Added | |
10361 | search_parent argument. | |
10362 | (cp_add_using): Initialize 'searched' field. | |
10363 | (reset_directive_searched): New function. | |
10364 | * cp-support.h: Add 'searched' field to using_direct struct. | |
10365 | (cp_lookup_symbol_imports): Ditto. | |
10366 | * cp-namespace.c (cp_lookup_symbol_imports): Ditto. | |
10367 | Perform recursive search. | |
10368 | Implement non parent search. | |
10369 | * valops.c (value_maybe_namespace_elt): Updated. | |
10370 | ||
8540c487 SW |
10371 | 2010-01-26 Sami Wagiaalla <[email protected]> |
10372 | ||
10373 | PR gdb/10929: | |
10374 | * dwarf2read.c (read_lexical_block_scope): Create blocks for | |
10375 | scopes which contain using directives even if they contain no | |
10376 | declarations. | |
10377 | * symtab.c (lookup_symbol_aux): Pass lowest level block to | |
10378 | la_lookup_symbol_nonlocal. | |
10379 | * cp-namespace.c (cp_lookup_symbol_nonlocal): call | |
10380 | cp_lookup_symbol_namespace. | |
10381 | (cp_lookup_symbol_namespace): Perform an import lookup at every | |
10382 | block level. | |
10383 | (cp_lookup_symbol_imports): New function. | |
10384 | (cp_lookup_symbol_in_namespace): New function. | |
10385 | ||
421d5d99 TT |
10386 | 2010-01-25 Tom Tromey <[email protected]> |
10387 | ||
10388 | PR gdb/11049: | |
10389 | * c-valprint.c (c_val_print): Fix test of extract_unsigned_integer | |
10390 | result. | |
10391 | ||
6bcc772d RO |
10392 | 2010-01-25 Rainer Orth <[email protected]> |
10393 | ||
10394 | * configure.ac: Only use host_os part when disabling TUI on osf. | |
10395 | Use test to check variables, prefix strings with x. | |
10396 | * configure: Regenerate. | |
10397 | ||
10398 | * solib-osf.c (osf_current_sos): Initialize tail. | |
10399 | ||
1c1238a5 TG |
10400 | 2010-01-25 gingold <[email protected]> |
10401 | ||
c8d5aac9 L |
10402 | * windows-nat.c (windows_continue): Use %x to print thread id. |
10403 | (get_windows_debug_event): Ditto. | |
1c1238a5 | 10404 | |
0b92b5bb TT |
10405 | 2010-01-22 Tom Tromey <[email protected]> |
10406 | ||
10407 | PR symtab/11199: | |
10408 | * dwarf2read.c (quirk_gcc_member_function_pointer): Change return | |
10409 | type and arguments. Use smash_to_methodptr_type. | |
10410 | (read_structure_type): Call quirk_gcc_member_function_pointer | |
10411 | later. | |
10412 | * gdbtypes.h (smash_to_methodptr_type): Declare. | |
10413 | * gdbtypes.c (smash_to_methodptr_type): New function. | |
10414 | (lookup_methodptr_type): Use it. | |
10415 | ||
0d5392b8 TT |
10416 | 2010-01-21 Tom Tromey <[email protected]> |
10417 | ||
10418 | PR symtab/11198: | |
10419 | * symtab.h (lookup_minimal_symbol_and_objfile): Declare. | |
10420 | * minsyms.c (lookup_minimal_symbol_and_objfile): New function. | |
10421 | * glibc-tdep.c (find_minsym_and_objfile): Remove. | |
10422 | (glibc_skip_solib_resolver): Use | |
10423 | lookup_minimal_symbol_and_objfile. | |
10424 | ||
e6d088ec KT |
10425 | 2010-01-21 Kai Tietz <[email protected]> |
10426 | ||
10427 | * inflow.c (check_syscall): Guard by #if clause for GO32 and | |
10428 | WIN32 targets. | |
10429 | ||
b966cb8a TT |
10430 | 2010-01-20 Tom Tromey <[email protected]> |
10431 | ||
10432 | PR backtrace/10770: | |
10433 | * valarith.c (value_binop): Handle BINOP_GTR, BINOP_LEQ, and | |
10434 | BINOP_GEQ. Handle BINOP_NOTEQUAL in the signed case. | |
10435 | * dwarf2expr.c (new_dwarf_expr_context): Allocate | |
10436 | dwarf_stack_values, not CORE_ADDRs. | |
10437 | (execute_stack_op): Change DW_OP_div and comparison operators to | |
10438 | use signed operands. | |
10439 | ||
3f81c18a VP |
10440 | 2010-01-20 Vladimir Prus <[email protected]> |
10441 | ||
10442 | Per-inferior args and tty and environment. | |
10443 | ||
10444 | * infcmd.c (inferior_args): Rename to ... | |
10445 | (inferior_args_scratch): ... this. | |
10446 | (inferior_io_terminal): Rename to ... | |
10447 | (inferior_io_terminal_scratch): ... this. | |
10448 | (inferior_argc, inferior_argv): Remove. | |
10449 | (set_inferior_io_terminal, get_inferior_io_terminal): Store | |
10450 | inside current_inferior(). | |
10451 | (set_inferior_tty_command, show_inferior_tty_command): New. | |
10452 | (get_inferior_args, set_inferior_args): Store inside | |
10453 | current_inferior(). | |
10454 | (notice_args_set): Likewise and rename to... | |
10455 | (set_args_command): ... this. | |
10456 | (set_inferior_args_vector): Likewise. | |
10457 | (notice_args_read): Rename to... | |
10458 | (show_args_command): ...new. | |
10459 | (tty_command): Remove. | |
10460 | (run_command_1): Don't free old args, as they are freed by | |
10461 | set_inferior_arg now. | |
10462 | (run_no_args_command): Likewise. | |
10463 | (inferior_environ): Remove. | |
10464 | (run_command_1): Use environment of the current inferior. | |
10465 | (environment_info, set_environment_command) | |
10466 | (unset_environment_command, path_info, path_command): Likewise. | |
10467 | (_initialize_infcmd): Adjust for function and variable renames. | |
10468 | Do not init inferior_environ. | |
10469 | * inferior.h (set_inferior_arg): Adjust prototype. | |
10470 | (struct inferior): New fields args, argc, argv, terminal, environment. | |
10471 | (inferior_environ): Remove declaration. | |
10472 | * inferior.c (free_inferior): Free new fields. | |
10473 | (add_inferior_silent): Initialize 'environment' field. | |
10474 | * main.c (captured_main): Set arguments only after the initial | |
10475 | inferior has been created. Set set_inferior_io_terminal, | |
10476 | not tty_command. | |
10477 | * mi/mi-main.c (mi_cmd_env_path): Use environment of the current | |
10478 | inferior. | |
10479 | (_initialize_mi_cmd_env): Adjust for disappearance of global | |
10480 | inferior_environ. | |
10481 | * solib.c (solib_find): Use environment of the current inferior. | |
10482 | ||
d8b65138 JK |
10483 | 2010-01-20 Jan Kratochvil <[email protected]> |
10484 | ||
10485 | * varobj.c (varobj_add_child, install_dynamic_child): Wrap into #if | |
10486 | HAVE_PYTHON. | |
10487 | (instantiate_pretty_printer): Move HAVE_PYTHON outside of the function. | |
10488 | ||
692465f1 JB |
10489 | 2010-01-20 Joel Brobecker <[email protected]> |
10490 | ||
10491 | Get rid of ada-lang.c:function_name_from_pc. | |
10492 | * ada-lang.c: Add "stack.h" #include. | |
10493 | (function_name_from_pc): Delete. | |
10494 | (is_known_support_routine): Replace call to function_name_from_pc | |
10495 | by call to find_frame_funname. | |
10496 | (ada_unhandled_exception_name_addr_from_raise): Likewise. | |
10497 | ||
95519e0e TT |
10498 | 2010-01-19 Tom Tromey <[email protected]> |
10499 | ||
10500 | PR c++/11026: | |
10501 | * dwarf2read.c (read_partial_die): Allocate partial DIE's name on | |
10502 | objfile obstack. | |
10503 | ||
95c11dc7 TT |
10504 | 2010-01-19 Tom Tromey <[email protected]> |
10505 | ||
10506 | * top.c (stop_sig, float_handler, do_nothing): Remove. | |
10507 | ||
a0f49112 JK |
10508 | 2010-01-19 Jan Kratochvil <[email protected]> |
10509 | ||
10510 | * breakpoint.c (watchpoint_check): Check the call | |
10511 | gdbarch_in_function_epilogue_p before calling frame_find_by_id. | |
10512 | Extend the comment. | |
8d95cc3b | 10513 | * config/djgpp/fnchange.lst: Add translations for |
a0f49112 JK |
10514 | watchpoint-cond-gone.exp, watchpoint-cond-gone.c and |
10515 | watchpoint-cond-gone-stripped.c. | |
10516 | ||
ceeb3d5a TT |
10517 | 2010-01-19 Tom Tromey <[email protected]> |
10518 | ||
10519 | PR c++/8000: | |
10520 | * dwarf2read.c (partial_die_parent_scope): Put enumeration type | |
10521 | into parent scope, and enumerator into grandparent scope. | |
10522 | ||
2b71fc8e JB |
10523 | 2010-01-19 Joel Brobecker <[email protected]> |
10524 | ||
10525 | * NEWS: Add entry for "set/show ada trust-PAD-over-XVS" commands. | |
10526 | ||
03564ed9 JB |
10527 | 2010-01-19 Joel Brobecker <[email protected]> |
10528 | ||
10529 | * configure.host: Make x86_64-*-solaris2.1[0-9]* an alias of | |
10530 | i[34567]86-*-solaris2.1[0-9]*. | |
10531 | * configure.tgt: Likewise. | |
10532 | ||
fb2e7cb4 JB |
10533 | 2010-01-19 Joel Brobecker <[email protected]> |
10534 | ||
10535 | * NEWS: Document the source command enhancement allowing it | |
10536 | to load Python scripts. Document the "set/show script-extension" | |
10537 | commands. | |
10538 | ||
1cb5e2a4 JB |
10539 | 2010-01-19 Joel Brobecker <[email protected]> |
10540 | ||
10541 | Add -Wunused-function to compile flags. | |
10542 | * configure.ac: Add -Wunused-function to build_warnings. | |
10543 | * configure: Regenerate. | |
10544 | ||
0ec6cd0c JB |
10545 | 2010-01-19 Joel Brobecker <[email protected]> |
10546 | ||
10547 | "delete" ada-lex.c:input function, not used. | |
10548 | * ada-lex.l: #define YY_NO_INPUT. | |
10549 | ||
b74845da JB |
10550 | 2010-01-19 Joel Brobecker <[email protected]> |
10551 | ||
10552 | Delete free_named_symtabs and associated cleanup. | |
10553 | * symfile.h (free_named_symtabs): Delete declaration. | |
10554 | * symfile.c: Remove some commented out code (clear_symtab_users_once). | |
10555 | (cashier_psymtab): Comment function out. | |
10556 | Delete declaration. | |
10557 | (free_named_symtabs): Delete. | |
10558 | * coffread.c (coff_end_symtab): Remove call to free_named_symtabs. | |
10559 | * dbxread.c (end_psymtab): Likewise. | |
10560 | * dwarf2read.c (process_psymtab_comp_unit): Ditto. | |
10561 | * exec.c (exec_close_1): Ditto. | |
10562 | * xcoffread.c (xcoff_end_psymtab): Likewise. | |
10563 | ||
65c06092 JB |
10564 | 2010-01-19 Joel Brobecker <[email protected]> |
10565 | ||
10566 | * stack.c (print_block_frame_labels): Comment function out. | |
10567 | ||
d5cd6034 JB |
10568 | 2010-01-19 Joel Brobecker <[email protected]> |
10569 | ||
10570 | Delete unused or undefined functions. | |
10571 | * breakpoint.c (ep_parse_optional_filename): Delete. | |
10572 | * dcache.c (dcache_write_line): Remove declaration. | |
10573 | * infrun.c (build_infrun): Remove declaration. | |
10574 | * tracepoint.c (tracepoint_save_command): Remove declaration. | |
10575 | * linux-nat.c (init_lwp_list): Delete. No longer used. | |
10576 | * event-loop.c (check_async_signal_handlers): Delete declaration. | |
10577 | * infrun.c (init_execution_control_state): Delete. | |
10578 | (proceed): Update comment to avoid mentioning | |
10579 | init_execution_control_state. | |
10580 | * target.c (kill_or_be_killed, nosupport_runtime): Delete. | |
10581 | * ada-lang.c (ada_to_static_fixed_value): Delete. | |
10582 | * scm-lang.c (evaluate_subexp_scm): Delete declaration. | |
10583 | * cp-namespace.c (cp_copy_usings): Delete. | |
10584 | * xml-syscall.c (xml_number_of_syscalls): Delete. | |
10585 | * progspace.c (find_program_space_by_num): Delete. | |
10586 | * inflow.c (handle_sigio): Delete declaration. | |
10587 | * hppa-tdep.c (hppa_alignof): Delete. | |
10588 | * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset) | |
10589 | (mipsnbsd_core_osabi_sniffer): Delete. | |
10590 | ||
4e8f195d TT |
10591 | 2010-01-18 Tom Tromey <[email protected]> |
10592 | ||
10593 | PR c++/9680: | |
10594 | * c-exp.y (REINTERPRET_CAST, DYNAMIC_CAST, STATIC_CAST) | |
10595 | (CONST_CAST): New tokens. | |
10596 | (exp): Add new productions. | |
10597 | (ident_tokens): Add const_cast, dynamic_cast, static_cast, and | |
10598 | reinterpret_cast. | |
10599 | (is_cast_operator): New function. | |
10600 | (yylex): Handle cast operators specially. | |
10601 | * eval.c (evaluate_subexp_standard) <UNOP_DYNAMIC_CAST, | |
10602 | UNOP_REINTERPRET_CAST>: New cases. | |
10603 | * expprint.c (print_subexp_standard): Likewise. | |
10604 | (op_name_standard): Likewise. | |
10605 | (dump_subexp_body_standard): Likewise. | |
10606 | * parse.c (operator_length_standard): Likewise. | |
10607 | * expression.h (enum exp_opcode): New constants UNOP_DYNAMIC_CAST, | |
10608 | UNOP_REINTERPRET_CAST. | |
10609 | * gdbtypes.c (class_types_same_p): New function. | |
10610 | (is_ancestor): Use it. | |
10611 | (is_public_ancestor): New function. | |
10612 | (is_unique_ancestor_worker): Likewise. | |
10613 | (is_unique_ancestor): Likewise. | |
10614 | * gdbtypes.h (class_types_same_p, is_public_ancestor) | |
10615 | (is_unique_ancestor): Declare. | |
10616 | * valops.c (value_reinterpret_cast): New function. | |
10617 | (dynamic_cast_check_1): Likewise. | |
10618 | (dynamic_cast_check_2): Likewise. | |
10619 | (value_dynamic_cast): Likewise. | |
10620 | * value.h (value_reinterpret_cast, value_dynamic_cast): Declare. | |
10621 | ||
d9c57d9f JB |
10622 | 2010-01-18 Joel Brobecker <[email protected]> |
10623 | ||
10624 | Fix build failure when building without Python support. | |
10625 | * python/python.c: Always include exceptions.h, even when HAVE_PYTHON | |
10626 | is not defined. | |
10627 | ||
f80d3ff2 JB |
10628 | 2010-01-18 Joel Brobecker <[email protected]> |
10629 | ||
10630 | Use XVS field type instead of doing a parallel lookup. | |
10631 | * ada-lang.c (ada_get_base_type): Follow the XVS field type | |
10632 | if it is a reference type instead of doing a type lookup using | |
10633 | the XVS field name. | |
10634 | ||
5bf03f13 JB |
10635 | 2010-01-18 Joel Brobecker <[email protected]> |
10636 | ||
10637 | Trust PAD types instead of using PAD___XVS. | |
10638 | * ada-lang.c (trust_pad_over_xvs): New static variable. | |
10639 | (ada_is_aligner_type): If !trust_pad_over_xvs and there is a | |
10640 | parallel XVS type, follow the XVS type instead of the PAD type. | |
10641 | (unwrap_value): Make sure that there is no parallel XVE type | |
10642 | before returning the value as is. | |
10643 | (set_ada_list, show_ada_list): New static variables. | |
10644 | (set_ada_command, show_ada_command): New functions. | |
10645 | (_initialize_ada_language): Add new "set/show ada" prefix commands. | |
10646 | Add new "set/show ada trust-PAD-over-XVS" setting. | |
10647 | ||
973817a3 JB |
10648 | 2010-01-18 Tom Tromey <[email protected]> |
10649 | Thiago Jung Bauermann <[email protected]> | |
10650 | ||
10651 | Allow "source" to load python scripts. | |
10652 | * exceptions.h (enum errors): Add UNSUPPORTED_ERROR. | |
10653 | * python/python.c (source_python_script): New function. | |
10654 | * python/python.h (source_python_script): Add declaration. | |
10655 | * cli/cli-cmds.c: #include exceptions.h and python/python.h. | |
10656 | (script_ext_off, script_ext_soft, script_ext_strict) | |
10657 | (script_ext_enums, script_ext_mode): New static constants. | |
10658 | (show_script_ext_mode, find_and_open_script): New functions. | |
10659 | (source_script): Enhance to handle Python scripts. | |
10660 | (init_cli_cmds): Add set/show script-extension commands. | |
10661 | ||
98e03262 SS |
10662 | 2010-01-16 Stan Shebs <[email protected]> |
10663 | ||
10664 | * tracepoint.h (struct trace_status): Use unsigned long long | |
10665 | instead of size_t. | |
10666 | * tracepoint.c (trace_status_command): Fix printf directive. | |
10667 | (trace_save_command): Check fwrite returns, fix printf directive. | |
10668 | (trace_filename): New global. | |
10669 | (tfile_open): Set it, check read returns. | |
10670 | (tfile_close): Free trace_filename. | |
10671 | (tfile_get_traceframe_address): Check read returns. | |
10672 | (tfile_trace_find): Ditto. | |
10673 | (tfile_fetch_registers): Ditto. | |
10674 | (tfile_xfer_partial): Ditto. | |
10675 | (tfile_get_trace_state_variable_value): Ditto. | |
10676 | ||
00bf0b85 SS |
10677 | 2010-01-15 Stan Shebs <[email protected]> |
10678 | ||
10679 | Add trace file support. | |
10680 | * tracepoint.h (enum trace_stop_reason): New enum. | |
10681 | (struct trace_status): New struct. | |
10682 | (parse_trace_status): Declare. | |
10683 | (struct uploaded_tp): Move here from remote.c, | |
10684 | add fields for actions. | |
10685 | (struct uploaded_tsv): New struct. | |
10686 | * tracepoint.c (tfile_ops): New target vector. | |
10687 | (trace_fd): New global. | |
10688 | (tfile_open): New function. | |
10689 | (tfile_close): New function. | |
10690 | (tfile_files_info): New function. | |
10691 | (tfile_get_trace_status): New function. | |
10692 | (tfile_get_traceframe_address): New function. | |
10693 | (tfile_trace_find): New function. | |
10694 | (tfile_fetch_registers): New function. | |
10695 | (tfile_xfer_partial): New function. | |
10696 | (tfile_get_trace_state_variable_value): New function. | |
10697 | (init_tfile_ops): New function. | |
10698 | (_initialize_tracepoint): Call it, add tfile target. | |
10699 | (trace_status): New global. | |
10700 | (current_trace_status): New function. | |
10701 | (trace_running_p): Remove, change all users to get from | |
10702 | current_trace_status()->running. | |
10703 | (get_trace_status): Remove. | |
10704 | (trace_status_command): Call target_get_trace_status directly, | |
10705 | report more detail including tracing stop reasons. | |
10706 | (trace_find_command): Always allow tfind on a file. | |
10707 | (trace_find_pc_command): Ditto. | |
10708 | (trace_find_tracepoint_command): Ditto. | |
10709 | (trace_find_line_command): Ditto. | |
10710 | (trace_find_range_command): Ditto. | |
10711 | (trace_find_outside_command): Ditto. | |
10712 | (trace_frames_offset, cur_offset): Declare as off_t. | |
10713 | (trace_regblock_size): Rename from reg_size, update users. | |
10714 | (parse_trace_status): New function. | |
10715 | (tfile_interp_line): New function. | |
10716 | (disconnect_or_stop_tracing): Ensure current trace | |
10717 | status before asking what to do. | |
10718 | (stop_reason_names): New global. | |
10719 | (trace_save_command): New command. | |
10720 | (get_uploaded_tp): Move here from remote.c. | |
10721 | (find_matching_tracepoint): Ditto. | |
10722 | (merge_uploaded_tracepoints): New function. | |
10723 | (parse_trace_status): Use stop_reason_names. | |
10724 | (_initialize_tracepoint): Define tsave command. | |
10725 | * target.h (target_ops): New fields to_save_trace_data, | |
10726 | to_upload_tracepoints, to_upload_trace_state_variables, | |
10727 | to_get_raw_trace_data, change to_get_trace_status | |
10728 | to take a pointer to a status struct. | |
10729 | (target_save_trace_data): New macro. | |
10730 | (target_upload_tracepoints): New macro. | |
10731 | (target_upload_trace_state_variables): New macro. | |
10732 | (target_get_raw_trace_data): New macro. | |
10733 | * target.c (update_current_target): Add new methods, change | |
10734 | signature of to_get_trace_status. | |
10735 | * remote.c (hex2bin): Make globally visible. | |
10736 | (bin2hex): Ditto. | |
10737 | (remote_download_trace_state_variable): Download name also. | |
10738 | (remote_get_trace_status): Update parameter, use | |
10739 | parse_trace_status. | |
10740 | (remote_save_trace_data): New function. | |
10741 | (remote_upload_tracepoints): New function. | |
10742 | (remote_upload_trace_state_variables): New function. | |
10743 | (remote_get_raw_trace_data): New function. | |
10744 | (remote_start_remote): Use them. | |
10745 | (_initialize_remote_ops): Add operations. | |
10746 | * ax-gdb.c: Include breakpoint.h. | |
10747 | * breakpoint.c (create_tracepoint_from_upload): Use | |
10748 | break_command_really, return tracepoint, warn about unimplemented | |
10749 | parts. | |
10750 | * NEWS: Mention trace file addition. | |
10751 | ||
d904de5b JK |
10752 | 2010-01-15 Jan Kratochvil <[email protected]> |
10753 | ||
10754 | Fix compilation warning on gcc-3.4. | |
10755 | * exec.c (print_section_info): Move the `displacement' variable | |
10756 | initialization to its declaration. | |
10757 | ||
64aa9731 JK |
10758 | 2010-01-15 Jan Kratochvil <[email protected]> |
10759 | ||
10760 | * gdb-gdb.py (StructMainTypePrettyPrinter): Fix TYPE_CODE_RANGE | |
10761 | comparison. | |
10762 | ||
ca1f5def | 10763 | 2010-01-15 Eric Botcazou <[email protected]> |
9f0dec2d JB |
10764 | |
10765 | "info tasks" broken by typedefs in ATCB type definitions. | |
10766 | * ada-lang.c (ada_template_to_fixed_record_type_1): Add call to | |
10767 | ada_check_typedef before retrieving the length of the type for | |
10768 | regular fields. | |
10769 | ||
12ab9e09 JB |
10770 | 2010-01-15 Joel Brobecker <[email protected]> |
10771 | ||
10772 | Do not use name-based lookup for unconstrained packed arrays. | |
10773 | * ada-lang.c (find_parallel_type_by_descriptive_type): | |
10774 | Limit the fallback to name-based lookups to the case where | |
10775 | the type is a constrained packed array. | |
10776 | ||
c389c3dc JB |
10777 | 2010-01-15 Joel Brobecker <[email protected]> |
10778 | ||
10779 | Enhance gdb-gdb.py to handle main_type.type_specific. | |
10780 | * gdb-gdb.py: Print the type-specific part of struct main_type. | |
10781 | ||
7991dee7 JK |
10782 | 2010-01-15 Jan Kratochvil <[email protected]> |
10783 | ||
10784 | * configure.ac (AC_CHECK_FUNCS): Check for setrlimit and getrlimit. | |
10785 | * configure: Regenerate. | |
10786 | * config.in: Regenerate. | |
10787 | * utils.c: Include sys/resource.h. | |
10788 | (dump_core, can_dump_core): New. | |
10789 | (internal_vproblem): Update the comment. Check can_dump_core while | |
10790 | setting dump_core_p. Replace two abort calls by dump_core calls. | |
10791 | ||
93c26624 JK |
10792 | 2010-01-14 Jan Kratochvil <[email protected]> |
10793 | Eli Zaretskii <[email protected]> | |
10794 | ||
10795 | * NEWS: Document the PIE support. | |
10796 | ||
55235ad7 JK |
10797 | 2010-01-14 Jan Kratochvil <[email protected]> |
10798 | ||
10799 | * linux-tdep.c: Remove includes gdbcore.h, observer.h and elf-bfd.h. | |
10800 | (check_is_pie_binary, _initialize_linux_tdep): Remove. | |
10801 | ||
41752192 JK |
10802 | 2010-01-14 Jan Kratochvil <[email protected]> |
10803 | ||
10804 | * solib-svr4.c (svr4_exec_displacement): New comment for entry_point. | |
10805 | Replace exec_entry_point call by bfd_get_start_address. | |
10806 | ||
9f2982ff JK |
10807 | 2010-01-14 Jan Kratochvil <[email protected]> |
10808 | ||
10809 | Support Valgrind attachments broken by the PIE support. | |
10810 | * auxv.c: Include gdbcore.h. | |
10811 | (procfs_xfer_auxv): Make static. Reduce its comment. Drop its | |
10812 | parameters ops, object and annex. Remove their assertions. | |
10813 | (ld_so_xfer_auxv, memory_xfer_auxv): New function. | |
10814 | * auxv.h (procfs_xfer_auxv): Remove comment. Rename to ... | |
10815 | (memory_xfer_auxv): ... here. | |
10816 | * linux-nat.c (linux_xfer_partial): Rename procfs_xfer_auxv to | |
10817 | memory_xfer_auxv. | |
10818 | * procfs.c (procfs_xfer_partial): Likewise. | |
10819 | * solib-svr4.c (svr4_relocate_main_executable): New prototype. | |
10820 | (svr4_special_symbol_handling): Call svr4_relocate_main_executable. | |
10821 | (svr4_solib_create_inferior_hook): Conditionalize the | |
10822 | svr4_relocate_main_executable call. | |
10823 | ||
61f0d762 JK |
10824 | 2010-01-14 Jan Kratochvil <[email protected]> |
10825 | ||
10826 | * solib-svr4.c (scan_dyntag): Remove variable dyn_addr. New variable | |
10827 | target_section. Find SECT in current_target_sections, gdb_assert it. | |
10828 | (elf_lookup_lib_symbol): Pass the binary file if given symfile_objfile. | |
10829 | New variable abfd. | |
10830 | * symtab.c (lookup_objfile_from_block): Return the binary file instead | |
10831 | of separate debug info file. | |
10832 | ||
51bee8e9 JK |
10833 | 2010-01-14 Jan Kratochvil <[email protected]> |
10834 | ||
10835 | Support PIEs with no symfile_objfile. | |
10836 | * exec.c (print_section_info <abfd == exec_bfd>): Relocate Entry point. | |
10837 | * solib-svr4.c (svr4_relocate_main_executable <exec_bfd>): New block. | |
10838 | ||
b8040f19 JK |
10839 | 2010-01-14 Jan Kratochvil <[email protected]> |
10840 | ||
10841 | * solib-svr4.c (svr4_relocate_main_executable): Move the static exec | |
10842 | code part to ... | |
10843 | (svr4_static_exec_displacement): ... a new function. | |
10844 | (svr4_exec_displacement): New function. | |
10845 | (svr4_relocate_main_executable): Call svr4_exec_displacement. Allocate | |
10846 | new_offsets using alloca now. Remove variable old_chain and changed. | |
10847 | Call objfile_relocate unconditionally now. | |
10848 | ||
eb90ce83 DE |
10849 | 2010-01-14 Doug Evans <[email protected]> |
10850 | ||
10851 | * gdbtypes.c (arch_flags_type): Fix comment. | |
10852 | * gdbtypes.h (arch_composite_type): Fix comment. | |
10853 | ||
bdfed3bc TG |
10854 | 2009-01-14 Tristan Gingold <[email protected]> |
10855 | ||
10856 | * machoread.c (macho_add_oso_symfile): Add symfile_flags parameter. | |
10857 | Call xstrdup for abfd->filename. Pass symfile_flags and objfile flags | |
10858 | to symbol_file_add_from_bfd. Add OSO as separate objfile. | |
10859 | (macho_oso_symfile): Add symfile_flags parameter. Pass it to | |
10860 | macho_add_oso_symfile. | |
10861 | (macho_symfile_read): Pass symfile_flags to macho_oso_symfile. | |
10862 | ||
1596ad23 JB |
10863 | 2010-01-14 Joel Brobecker <[email protected]> |
10864 | ||
10865 | Tru64: Dead threads are never deleted. | |
10866 | * dec-thread.c (dec_thread_ptid_is_alive): New function. | |
10867 | (dec_thread_count_gdb_threads): Fix counter increment. | |
10868 | (dec_thread_add_gdb_thread): Fix *listp increment. | |
10869 | (resync_thread_list): Fix bug in deletion of dead threads that | |
10870 | caused all threads to be deleted, instead of just the dead ones. | |
10871 | ||
be759fcf PM |
10872 | 2010-01-13 Phil Muldoon <[email protected]> |
10873 | ||
10874 | PR python/10705 | |
10875 | ||
10876 | * python/python-internal.h: Add lazy_string_object_type | |
10877 | definition. | |
10878 | (create_lazy_string_object, gdbpy_initialize_lazy_string) | |
10879 | (gdbpy_is_lazystring, gdbpy_extract_lazy_string): Define. | |
10880 | * python/py-value.c (valpy_lazy_string): New function. | |
10881 | (convert_value_from_python): Add lazy string conversion. | |
10882 | * python/py-prettyprint.c (pretty_print_one_value): Check if | |
10883 | return is also a lazy string. | |
10884 | (print_string_repr): Add lazy string printing branch. | |
10885 | (print_children): Likewise. | |
10886 | * python/py-lazy-string.c: New file. Implement lazy strings. | |
10887 | * python/python.c (_initialize_python): Call | |
10888 | gdbpy_initialize_lazy_string. | |
10889 | * varobj.c (value_get_print_value): Add lazy string printing | |
10890 | branch. Account for encoding. | |
10891 | * c-lang.c (c_printstr): Account for new encoding argument. If | |
10892 | encoding is NULL, find encoding suited for type, otherwise use | |
10893 | user encoding. | |
10894 | * language.h (language_defn): Add encoding argument. | |
10895 | (LA_PRINT_STRING): Likewise. | |
10896 | * language.c (unk_lang_printstr): Update to reflect new encoding | |
10897 | argument to language_defn. | |
10898 | * ada-lang.h (ada_printstr): Likewise. | |
10899 | * c-lang.h (c_printstr): Likewise. | |
10900 | * p-lang.h (pascal_printstr); | |
10901 | * f-lang.c (f_printstr): Likewise. | |
10902 | * m2-lang.c (m2_printstr): Likewise. | |
10903 | * objc-lang.c (objc_printstr): Likewise. | |
10904 | * p-lang.c (pascal_printstr): Likewise. | |
10905 | * scm-lang.c (scm_printstr): Likewise. | |
10906 | * c-valprint.c (c_val_print): Update LA_PRINT_STRING call for | |
10907 | encoding argument. | |
10908 | * ada-valprint.c (ada_printstr): Likewise. | |
10909 | * f-valprint.c (f_val_print): Likewise | |
10910 | * m2-valprint.c (m2_val_print): Likewise. | |
10911 | * p-valprint.c (pascal_val_print): Likewise. | |
10912 | * expprint.c (print_subexp_standard): Likewise. | |
10913 | * valprint.c (val_print_string): Likewise. | |
10914 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-lazy-string. | |
10915 | (SUBDIR_PYTHON_SRCS): Likewise. | |
10916 | (py-lazy-string.o): New rule. | |
10917 | ||
1fe72117 | 10918 | 2010-01-13 Doug Evans <[email protected]> |
8eee9c5a DE |
10919 | |
10920 | * mi/mi-main.c (list_available_thread_groups): Avoid "may be used | |
10921 | uninitialized" warning from gcc on local `tree'. | |
10922 | ||
dc146f7c VP |
10923 | 2010-01-13 Vladimir Prus <[email protected]> |
10924 | ||
10925 | Implement core awareness. | |
10926 | ||
10927 | * bcache.c (compare_ints): Remove | |
10928 | (print_percentage): Use compare_positive_ints. | |
10929 | * defs.h (compare_positive_ints): Declare. | |
10930 | * linux-nat.h (struct lin_lwp): New field core. | |
10931 | (linux_nat_core_of_thread_1): Declare. | |
10932 | * linux-nat.c (add_lwp): Init the 'core' field. | |
10933 | (linux_nat_wait_1): Record the core. | |
10934 | (linux_nat_core_of_thread_1, linux_nat_core_of_thread): New. | |
10935 | (linux_nat_add_target): Register the above. | |
10936 | * linux-thread-db.c (update_thread_core): New. | |
10937 | (thread_db_find_new_threads): Update core information for | |
10938 | every thread. | |
10939 | * remote.c (struct private_thread_info): New. | |
10940 | (free_private_thread_info, demand_private_info): New. | |
10941 | (PACKET_qXfer_threads, use_osdata_threads): New. | |
10942 | (struct thread_item, threads_parsing_context | |
10943 | (start_thread, end_thread, thread_attributes) | |
10944 | (thread_children, threads_children, threads_elements): New. | |
10945 | (remote_threads_info): Try qXfer:threads before anything | |
10946 | else. | |
10947 | (remote_protocol_packets): Register qXfer:threads. | |
10948 | (remote_open_1): Init use_osdata_threads. | |
10949 | (struct stop_reply): New field 'core'. | |
10950 | (remote_parse_stop_reply): Parse core number. | |
10951 | (process_stop_reply): Record core number. | |
10952 | (remote_xfer_partial): Handle qXfer:threads. | |
10953 | (remote_core_of_thread): New. | |
10954 | (init_remote_ops): Register remote_core_of_thread. | |
10955 | (_initialize_remote): Register qXfer:read. | |
10956 | * target.c (target_core_of_thread): New | |
10957 | * target.h (enum target_object): New value TARGET_OBJECT_THREADS. | |
10958 | (struct target_ops): New field to_core_of_threads. | |
10959 | (target_core_of_thread): Declare. | |
10960 | * gdbthread.h (struct thread_info): New field private_dtor. | |
10961 | * thread.c (print_thread_info): Report the core. | |
10962 | * ui-out.c (MAX_UI_OUT_LEVELS): Increase. | |
10963 | * utils.c (compare_positive_ints): New. | |
10964 | * features/threads.dtd: New. | |
10965 | * mi/mi-interp.c (mi_on_normal_stop): Report the core. | |
10966 | * mi/mi-main.c (struct collect_cores_data, collect_cores) | |
10967 | (do_nothing, free_vector_of_osdata_items) | |
10968 | (splay_tree_int_comparator, free_splay_tree): New. | |
10969 | (print_one_inferior_data): Implemented printing of selected | |
10970 | inferiors. Collect and print cores. | |
10971 | (output_cores): New. | |
10972 | (mi_cmd_list_thread_groups): Support --recurse. Permit specifying | |
10973 | thread groups together with --available. | |
10974 | ||
d30c5336 JK |
10975 | 2010-01-12 Jan Kratochvil <[email protected]> |
10976 | ||
10977 | * configure: Regenerate (for _STRUCTURED_PROC). | |
10978 | ||
02893727 JB |
10979 | 2010-01-12 Joel Brobecker <[email protected]> |
10980 | ||
10981 | Delete dead function. | |
10982 | * ada-lang.c (extract_string): Delete. No longer used. | |
10983 | ||
46ed2d6f JB |
10984 | 2010-01-12 Joel Brobecker <[email protected]> |
10985 | ||
10986 | Fix -Wunused warning in dec-thread.c. | |
10987 | * dec-thread.c (dec_thread_count_gdb_threads) | |
10988 | (dec_thread_add_gdb_thread): Prevent -Wunused warning. | |
10989 | ||
606b8d1a JB |
10990 | 2010-01-12 Joel Brobecker <[email protected]> |
10991 | ||
10992 | * ada-valprint.c (ada_print_floating): Remove trailing space. | |
10993 | ||
b4ba55a1 JB |
10994 | 2010-01-12 Joel Brobecker <[email protected]> |
10995 | ||
10996 | Add support for DW_AT_GNAT_descriptive_type. | |
10997 | * gdbtypes.h (enum type_specific_kind): New enum. | |
10998 | (struct main_type) [type_specific_field]: New component. | |
10999 | [type_specific]: Add new component "gnat_stuff". | |
11000 | (struct gnat_aux_type): New type. | |
11001 | (INIT_CPLUS_SPECIFIC): Also set TYPE_SPECIFIC_FIELD (type). | |
11002 | (HAVE_CPLUS_STRUCT): Also check TYPE_SPECIFIC_FIELD (type). | |
11003 | (gnat_aux_default, allocate_gnat_aux_type): Add declaration. | |
11004 | (INIT_GNAT_SPECIFIC, ALLOCATE_GNAT_AUX_TYPE, HAVE_GNAT_AUX_INFO) | |
11005 | (TYPE_SPECIFIC_FIELD): New macros. | |
11006 | (TYPE_CPLUS_SPECIFIC): Return cplus_struct_default if the given | |
11007 | type does not hold any cplus-specific data. | |
11008 | (TYPE_RAW_CPLUS_SPECIFIC): New macro. | |
11009 | (TYPE_GNAT_SPECIFIC, TYPE_DESCRIPTIVE_TYPE): New macros. | |
11010 | (TYPE_IS_OPAQUE): Use HAVE_CPLUS_STRUCT to check if type has | |
11011 | cplus-specific data. | |
11012 | * gdbtypes.c (allocate_cplus_struct_type): Minor stylistic rewrite. | |
11013 | Set new component TYPE_SPECIFIC_FIELD (type). | |
11014 | (gnat_aux_default): New constant. | |
11015 | (allocate_gnat_aux_type): New function. | |
11016 | (init_type): Add initialization the type-specific stuff for | |
11017 | TYPE_CODE_FLT and TYPE_CODE_FUNC types. | |
11018 | (print_gnat_stuff): New function. | |
11019 | (recursive_dump_type): Use HAVE_CPLUS_STRUCT to check for cplus- | |
11020 | specific data. Adjust code that prints the contents of the | |
11021 | type-specific union using the TYPE_SPECIFIC_FIELD value. | |
11022 | * dwarf2read.c (dwarf2_attach_fields_to_type): Do not allocate | |
11023 | the type cplus stuff for Ada types. | |
11024 | (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type): | |
11025 | Error out if these routines are called with an Ada type. | |
11026 | (read_structure_type, read_array_type, read_subrange_type): | |
11027 | Add call to set_descriptive_type. | |
11028 | (set_die_type): Initialize the gnat-specific data if necessary. | |
11029 | (need_gnat_info, die_descriptive_type, set_descriptive_type): | |
11030 | New functions. | |
11031 | * ada-lang.c (decode_constrained_packed_array_type): Use | |
11032 | decode_constrained_packed_array_type instead of doing a standard | |
11033 | lookup to locate a parallel type. | |
11034 | (find_parallel_type_by_descriptive_type): New function. | |
11035 | (ada_find_parallel_type_with_name): New function. | |
11036 | (ada_find_parallel_type): Reimplement using | |
11037 | ada_find_parallel_type_with_name. | |
11038 | * ada-valprint.c (print_field_values): Use HAVE_CPLUS_STRUCT | |
11039 | to check if type has a cplus stuff. | |
11040 | * linespec.c (total_number_of_methods): Likewise. | |
11041 | * mdebugread.c (new_type): Likewise. | |
11042 | ||
b0f02ee9 JK |
11043 | 2010-01-11 Jan Kratochvil <[email protected]> |
11044 | ||
11045 | * NEWS: Document the 0b binary number prefix parsing. | |
11046 | ||
b260e109 JK |
11047 | 2010-01-11 Jan Kratochvil <[email protected]> |
11048 | ||
11049 | * objfiles.c (objfile_relocate1): Change the return type to int. | |
11050 | Describe the new return value. Return non-zero if data changed. | |
11051 | (objfile_relocate): New variable changed. Set it. Call | |
11052 | breakpoint_re_set depending on CHANGED. | |
11053 | ||
b5cfddf5 JK |
11054 | 2010-01-11 Jan Kratochvil <[email protected]> |
11055 | ||
11056 | Implement binary numbers parsing. | |
11057 | * c-exp.y (parse_number): New case 'b' and 'B'. | |
11058 | ||
e0ae4240 JK |
11059 | 2010-01-11 Jan Kratochvil <[email protected]> |
11060 | Tristan Gingold <[email protected]> | |
11061 | ||
11062 | * solib.c (info_sharedlibrary_command): Replace | |
11063 | objfile_has_partial_symbols and objfile_has_full_symbols calls by | |
11064 | objfile_has_symbols. | |
11065 | ||
6e0e5977 JB |
11066 | 2010-01-10 Joel Brobecker <[email protected]> |
11067 | ||
11068 | * NEWS: Document the improvements made to the mips-irix port. | |
11069 | ||
7348c5e1 JB |
11070 | 2010-01-09 Joel Brobecker <[email protected]> |
11071 | ||
11072 | Fix the documentation of valprint.c:value_print. | |
11073 | * valprint.c (value_print): Update the function description to | |
11074 | mention that the syntax of the output follows the current_language, | |
11075 | not necessarily C. | |
11076 | ||
567995e1 JK |
11077 | 2010-01-09 Jan Kratochvil <[email protected]> |
11078 | ||
11079 | Fix displacement of separate debug info files. | |
11080 | * objfiles.c (objfile_relocate): Rename to ... | |
11081 | (objfile_relocate1): ... here and make it static. Extend the comment. | |
11082 | (objfile_relocate): New function. | |
11083 | * solib-spu.c (spu_relocate_main_executable): Explicitly check if | |
11084 | SYMFILE_OBJFILE is NULL. Remove variables objfile and old_chain. | |
11085 | Remove following of SEPARATE_DEBUG_OBJFILE. new_offsets is now | |
11086 | allocated using alloca. | |
11087 | * symfile.c (copy_section_addr_info): Remove. | |
11088 | (build_section_addr_info_from_objfile): Make it global. New variables | |
11089 | addr_bit and mask, use them. | |
11090 | * symfile.h (build_section_addr_info_from_objfile): New prototype. | |
11091 | (copy_section_addr_info): Remove. | |
11092 | ||
6d8eadbd JB |
11093 | 2010-01-09 Joel Brobecker <[email protected]> |
11094 | ||
11095 | Signal unwinder for mips-irix N32. | |
11096 | * mips-irix-tdep.c: #include mips-tdep.h, trad-frame.h, and | |
11097 | tramp-frame.h. | |
11098 | (SIGTRAMP_FRAME_SIZE, SIGCONTEXT_PC_OFF, SIGCONTEXT_REGS_OFF) | |
11099 | (SIGCONTEXT_FPREGS_OFF, SIGCONTEXT_FPCSR_OFF, SIGCONTEXT_HI_OFF) | |
8d95cc3b PA |
11100 | (SIGCONTEXT_LO_OFF): New macros. |
11101 | (mips_irix_n32_tramp_frame_init): New function. | |
6d8eadbd JB |
11102 | (mips_irix_n32_tramp_frame): New static constant. |
11103 | (mips_irix_init_abi): Prepend the mips_irix_n32_tramp_frame unwinder. | |
11104 | ||
27087a3d JB |
11105 | 2010-01-09 Joel Brobecker <[email protected]> |
11106 | ||
11107 | Breakpoint in shared library does not work on mips-irix. | |
11108 | * procfs.c: #include "observer.h". | |
11109 | (procfs_inferior_created): New function, moving here the code | |
11110 | which unsets the syssgi syscall-exit notifications. | |
11111 | (procfs_create_inferior): Remove the code which unsets the syssgi | |
11112 | syscall-exit notifications. It is too early to do this here. | |
11113 | (_initialize_procfs): Attach the procfs_inferior_created observer. | |
11114 | ||
f08877ba JB |
11115 | 2010-01-09 Joel Brobecker <[email protected]> |
11116 | ||
11117 | Wrong return convention for arrays (mips-irix). | |
11118 | * mips-tdep.c (mips_n32n64_return_value): Arrays whose size is | |
11119 | 128 bits or smaller are returned the same way as structs | |
11120 | and unions of the the same size. | |
11121 | ||
e4b97d48 JB |
11122 | 2010-01-09 Joel Brobecker <[email protected]> |
11123 | ||
11124 | Cannot set the PC on mips-irix. | |
11125 | * irix5-nat.c (fill_gregset): Check regno against the raw PC | |
11126 | register number, no the cooked one. | |
11127 | ||
11377e68 JB |
11128 | 2010-01-09 Joel Brobecker <[email protected]> |
11129 | ||
11130 | Error while loading core file on mips-irix. | |
11131 | * solib-irix.c (irix_solib_create_inferior_hook): Do nothing | |
11132 | if debugging from a core file. | |
11133 | ||
b2391021 JB |
11134 | 2010-01-09 Joel Brobecker <[email protected]> |
11135 | ||
11136 | GDB hangs when attaching to process on mips-irix. | |
11137 | * solib-irix.c (irix_solib_create_inferior_hook): Do nothing if | |
11138 | attaching to a process. | |
11139 | ||
f2ec0ecf JB |
11140 | 2010-01-09 Joel Brobecker <[email protected]> |
11141 | ||
11142 | Use the correct breakpoint instruction on mips-irix. | |
11143 | * mips-tdep.c (mips_breakpoint_from_pc): Add new static variable | |
11144 | containing the correct breakpoint instruction to use on mips-irix. | |
11145 | Use it when the osabi is GDB_OSABI_IRIX. | |
11146 | ||
3c95f01c JB |
11147 | 2010-01-09 Joel Brobecker <[email protected]> |
11148 | ||
11149 | -Wunused warning in procfs.c (mips-irix only). | |
11150 | * procfs.c (gdb_praddset, gdb_prdelset): New macros. Use them | |
11151 | throughout instead of using praddset and prdelset respectively. | |
11152 | ||
4b7703ad JB |
11153 | 2010-01-09 Joel Brobecker <[email protected]> |
11154 | ||
11155 | GDB crash while stepping into function. | |
11156 | * infrun.c (handle_inferior_event): Refetch the current frame | |
11157 | after handling what.main_action, in case that pointer became | |
11158 | dangling. | |
11159 | ||
12c89474 JB |
11160 | 2010-01-09 Joel Brobecker <[email protected]> |
11161 | ||
11162 | Fix build failure of solaris-hosted cross debuggers. | |
11163 | * ada-valprint.c, parse.c: Include defs.h before including ctype.h. | |
11164 | ||
1a3fd262 | 11165 | 2010-01-09 Daniel Gutson <[email protected]> |
4c490650 JB |
11166 | |
11167 | Fix build failure on sparc-solaris. | |
11168 | * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus. | |
11169 | ||
75242ef4 JK |
11170 | 2010-01-08 Jan Kratochvil <[email protected]> |
11171 | ||
11172 | Move some symfile code into subroutines. | |
11173 | * symfile.h (relative_addr_info_to_section_offsets) | |
11174 | (addr_info_make_relative): New prototypes. | |
11175 | * symfile.c (default_symfile_offsets): Move a part to ... | |
11176 | (relative_addr_info_to_section_offsets): ... this new function. | |
11177 | (default_symfile_offsets): Call it. | |
11178 | (syms_from_objfile <!mainline && addrs && addrs->other[0].name>): Move | |
11179 | this part to ... | |
11180 | (addr_info_make_relative): ... this new function. | |
11181 | ||
268a4a75 JK |
11182 | 2010-01-08 Jan Kratochvil <[email protected]> |
11183 | ||
11184 | Add from_tty to solib_create_inferior_hook. | |
11185 | * infcmd.c (post_create_inferior): Move solib_add after | |
11186 | solib_create_inferior_hook. Pass from_tty to | |
11187 | solib_create_inferior_hook. Call solib_add and SOLIB_ADD with | |
11188 | 0 from_tty and comment why. | |
11189 | * infrun.c (follow_exec): Pass from_tty solib_create_inferior_hook as 0. | |
11190 | * linux-nat.c (linux_child_follow_fork): Likewise. | |
11191 | * nto-procfs.c (procfs_post_attach, procfs_create_inferior): Likewise. | |
11192 | * solib-darwin.c (darwin_solib_create_inferior_hook): New parameter | |
11193 | from_tty. | |
11194 | * solib-frv.c (frv_solib_create_inferior_hook): Likewise. | |
11195 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
11196 | * solib-null.c (null_solib_create_inferior_hook): Likewise. | |
11197 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
11198 | * solib-pa64.c (pa64_solib_create_inferior_hook): Likewise. | |
11199 | * solib-som.c (som_solib_create_inferior_hook): Likewise. | |
11200 | * solib-spu.c (spu_solib_create_inferior_hook): New parameter from_tty. | |
11201 | Pass it to svr4_so_ops.solib_create_inferior_hook. | |
11202 | * solib-sunos.c (sunos_solib_create_inferior_hook): New parameter | |
11203 | from_tty. | |
11204 | * solib-svr4.c (enable_break): New parameter from_tty. Pass it to | |
11205 | solib_add. | |
11206 | (svr4_solib_create_inferior_hook): New parameter from_tty. Pass it to | |
11207 | enable_break. | |
11208 | * solib-target.c (solib_target_solib_create_inferior_hook): New | |
11209 | parameter from_tty. | |
11210 | * solib.c (solib_create_inferior_hook): New parameter from_tty. Pass | |
11211 | it to ops->solib_create_inferior_hook. | |
11212 | (reload_shared_libraries): Pass from_tty to solib_create_inferior_hook. | |
11213 | Move solib_add after solib_create_inferior_hook, call it now with | |
11214 | from_tty as 0. New comment there. | |
11215 | * solib.h (solib_create_inferior_hook): New parameter from_tty. | |
11216 | * solist.h (struct target_so_ops <solib_create_inferior_hook>): | |
11217 | Likewise. | |
11218 | ||
cf00dfa7 VP |
11219 | 2010-01-08 Vladimir Prus <[email protected]> |
11220 | ||
11221 | Fix multiexec race. | |
11222 | * infrun.c (handle_inferior_event): Use get_thread_regcache | |
11223 | with events ptid, not get_current_regcache. | |
11224 | ||
f91e5ac3 JB |
11225 | 2009-01-08 Joel Brobecker <[email protected]> |
11226 | ||
11227 | GDB crash with empty executable name (MinGW). | |
11228 | * source.c (openp): Add assert that parameter string is not NULL. | |
11229 | if parameter string is an empty string, then return with a failure | |
11230 | immediately. | |
11231 | ||
92b9ce5b JB |
11232 | 2009-01-08 Joel Brobecker <[email protected]> |
11233 | ||
11234 | Get rid of support for VAX Floats. | |
11235 | * ada-lang.h (ada_is_vax_floating_type, ada_vax_float_type_suffix) | |
11236 | (ada_vax_float_print_function): Delete. | |
11237 | * ada-lang.c (ada_is_vax_floating_type, ada_vax_float_type_suffix) | |
11238 | (ada_vax_float_print_function): Delete. | |
11239 | * ada-typeprint.c (print_vax_floating_point_type): Delete. | |
11240 | (ada_print_type): Remove support for VAX floats. | |
11241 | * ada-valprint.c (ada_val_print_1): Remove support for VAX floats. | |
11242 | ||
268a4a75 | 11243 | 2010-01-08 Jan Kratochvil <[email protected]> |
d24d8548 JK |
11244 | |
11245 | * stabsread.c (read_args): Handle zero arguments. | |
11246 | ||
f0f20949 JB |
11247 | 2009-01-08 Joel Brobecker <[email protected]> |
11248 | ||
11249 | Cannot find in-tree libiconv.a after reconfigure. | |
11250 | * acinclude.m4 (AM_ICONV): If we find an in-tree libiconv.a | |
11251 | that we can use, then cache the path to this archive. | |
11252 | * configure: Regenerate. | |
11253 | ||
6b6218c5 SS |
11254 | 2010-01-07 Stan Shebs <[email protected]> |
11255 | ||
35b1e5cc SS |
11256 | Make tracepoint operations go through target vector. |
11257 | * target.h (enum trace_find_type): New enum. | |
11258 | (struct target_ops): New fields to_trace_init, | |
11259 | to_download_tracepoint, to_download_trace_state_variable, | |
11260 | to_trace_set_readonly_regions, to_trace_start, to_get_trace_status, | |
11261 | to_trace_stop, to_trace_find, to_get_trace_state_variable_value, | |
11262 | to_set_disconnected_tracing. | |
11263 | (target_trace_init): New macro. | |
11264 | (target_download_tracepoint): New macro. | |
11265 | (target_download_trace_state_variable): New macro. | |
11266 | (target_trace_start): New macro. | |
11267 | (target_trace_set_readonly_regions): New macro. | |
11268 | (target_get_trace_status): New macro. | |
11269 | (target_trace_stop): New macro. | |
11270 | (target_trace_find): New macro. | |
11271 | (target_get_trace_state_variable_value): New macro. | |
11272 | (target_set_disconnected_tracing): New macro. | |
11273 | * target.c (update_current_target): Inherit and set defaults for | |
11274 | tracepoint operations. | |
11275 | * tracepoint.c (default_collect): Make globally visible. | |
11276 | (target_is_remote): Remove, along with all calls. | |
11277 | (tvariables_info): Call target_get_trace_state_variable_value. | |
11278 | (remote_set_transparent_ranges): Remove. | |
11279 | (trace_start_command): Call target_trace_init, | |
11280 | target_download_tracepoint, etc. | |
11281 | (download_tracepoint): Remove. | |
11282 | (trace_stop_command): Simplify. | |
11283 | (stop_tracing): Call target_trace_stop. | |
11284 | (get_trace_status): Call target_get_trace_status. | |
11285 | (trace_status_command): Add case for targets that cannot trace. | |
11286 | (finish_tfind_command): Change to take numerical arguments, call | |
11287 | target_trace_find. | |
11288 | (trace_find_command): Update call to finish_tfind_command. | |
11289 | (trace_find_pc_command): Ditto. | |
11290 | (trace_find_tracepoint_command): Ditto. | |
11291 | (trace_find_line_command): Ditto. | |
11292 | (trace_find_range_command): Ditto. | |
11293 | (trace_find_outside_command): Ditto. | |
11294 | (set_disconnected_tracing_value): Call | |
11295 | target_set_disconnected_tracing. | |
11296 | * remote.c: Add protocol encoding bits from tracepoint.c. | |
11297 | (trace_error): Move from tracepoint.c. | |
11298 | (remote_get_noisy_reply): Ditto. | |
11299 | (free_actions_list_cleanup_wrapper): Ditto. | |
11300 | (free_actions_list): Ditto. | |
11301 | (remote_trace_init): New function. | |
11302 | (remote_download_tracepoint): New function. | |
11303 | (remote_download_trace_state_variable): New function. | |
11304 | (remote_trace_set_readonly_regions): New function. | |
11305 | (remote_trace_start): New function. | |
11306 | (remote_get_trace_status): New function. | |
11307 | (remote_trace_stop): New function. | |
11308 | (remote_trace_find): New function. | |
11309 | (remote_download_trace_state_variable): New function. | |
11310 | (remote_set_disconnected_tracing): New function. | |
11311 | (init_remote_ops): Add tracepoint operations. | |
11312 | ||
6b6218c5 SS |
11313 | * tracepoint.c (trace_dump_command): Don't decr_pc_after_break. |
11314 | ||
089b4803 TG |
11315 | 2010-01-07 Tristan Gingold <[email protected]> |
11316 | ||
11317 | * symfile.c (build_section_addr_info_from_objfile): New function. | |
11318 | (symbol_file_add_separate): Don't use offsets from objfile but | |
11319 | built an addr info. | |
11320 | ||
d5551862 SS |
11321 | 2010-01-06 Stan Shebs <[email protected]> |
11322 | ||
11323 | Support disconnected tracing. | |
11324 | * infcmd.c (detach_command): Ask whether to stop tracing. | |
11325 | * cli/cli-cmds.c (quit_command): Ditto. | |
11326 | * breakpoint.h (struct breakpoint): New field number_on_target. | |
11327 | * breakpoint.c (create_tracepoint_from_upload): New function. | |
11328 | (get_tracepoint_by_number_on_target): New function. | |
11329 | * remote.c (struct remote): New field disconnected_tracing. | |
11330 | (remote_disconnected_tracing_feature): New function. | |
11331 | (remote_protocol_features): Add DisconnectedTracing. | |
11332 | (struct uploaded_tp): New struct. | |
11333 | (uploaded_tps): New global. | |
11334 | (get_uploaded_tp): New function. | |
11335 | (find_matching_tracepoint): New function. | |
11336 | (remote_get_tracing_state): New function. | |
11337 | (remote_start_remote): Call it. | |
11338 | * tracepoint.c (disconnected_tracing): New global. | |
11339 | (trace_start_command): Initialize number_on_target. | |
11340 | (stop_tracing): New function, split out from... | |
11341 | (trace_stop_command): Call stop_tracing. | |
11342 | (get_trace_status): New function, split out from... | |
11343 | (trace_status_command): Call get_trace_status, add info on | |
11344 | disconnection behavior. | |
11345 | (disconnect_or_stop_tracing): New function. | |
11346 | (finish_tfind_command): Translate from number on target. | |
11347 | (trace_find_tracepoint_command): Translate to number on target. | |
11348 | (send_disconnected_tracing_value): New function. | |
11349 | (set_disconnected_tracing): New function. | |
11350 | (_initialize_tracepoint): Add disconnected-tracing variable. | |
11351 | * NEWS: Mention disconnected tracing. | |
11352 | ||
15d123c9 TG |
11353 | 2010-01-06 Tristan Gingold <[email protected]> |
11354 | ||
11355 | * symtab.c (lookup_global_symbol_from_objfile): Rename objfile | |
11356 | parameter to main_objfile. Iterate on all separate debug objfiles. | |
11357 | * symfile.h (symbol_file_add_separate) | |
11358 | (find_separate_debug_file_by_debuglink): Remove parameter names. | |
11359 | * symfile.c (symbol_file_add_separate): Use add_separate_objfile. | |
11360 | (reread_symbols): Use free_objfile_separate_debug. | |
11361 | * objfiles.h (struct objfile): Add separate_debug_objfile_link. | |
11362 | Adjust comment. | |
11363 | (objfile_separate_debug_iterate, add_separate_debug_objfile) | |
11364 | (free_objfile_separate_debug): New prototypes. | |
11365 | * objfiles.c (objfile_separate_debug_iterate): New function. | |
11366 | (add_separate_debug_objfile, free_objfile_separate_debug): New | |
11367 | functions. | |
11368 | (free_objfile): Use free_objfile_separate_debug. Adjust for | |
11369 | multiple separate debug objfile. | |
11370 | (objfile_has_symbols): Adjust comment. Iterate on all separate | |
11371 | debug objfiles. | |
11372 | * minsyms.c (lookup_minimal_symbol): Adjust for multiple separate | |
11373 | debug objfile. | |
11374 | (lookup_minimal_symbol_text): Ditto. | |
11375 | (lookup_minimal_symbol_by_pc_name): Ditto. | |
11376 | (lookup_minimal_symbol_solib_trampoline): Ditto. | |
11377 | (lookup_minimal_symbol_by_pc_section_1): Iterate on all separate | |
11378 | debug objfiles. | |
11379 | ||
7a697b8d SS |
11380 | 2010-01-05 Stan Shebs <[email protected]> |
11381 | ||
11382 | Add fast tracepoints. | |
11383 | * arch-utils.h (default_fast_tracepoint_valid_at): Declare. | |
11384 | * arch-utils.c (default_fast_tracepoint_valid_at): New function. | |
11385 | * breakpoint.h (enum bptype): Add bp_fast_tracepoint. | |
11386 | * breakpoint.c (tracepoint_type): New function. | |
11387 | (ALL_TRACEPOINTS): Use it. | |
11388 | (should_be_inserted): Ditto. | |
11389 | (bpstat_check_location): Ditto. | |
11390 | (print_one_breakpoint_location): Ditto. | |
11391 | (user_settable_breakpoint): Ditto. | |
11392 | (set_breakpoint_location_function): Ditto. | |
11393 | (disable_breakpoints_in_shlibs): Ditto. | |
11394 | (delete_trace_command): Ditto. | |
11395 | (print_it_typical): Add bp_fast_tracepoint case. | |
11396 | (bpstat_what): Ditto. | |
11397 | (print_one_breakpoint_location): Ditto. | |
11398 | (allocate_bp_location): Ditto. | |
11399 | (mention): Ditto. | |
11400 | (breakpoint_re_set_one): Ditto. | |
11401 | (disable_command): Ditto. | |
11402 | (enable_command): Ditto. | |
11403 | (check_fast_tracepoint_sals): New function. | |
11404 | (break_command_really): Call it. | |
11405 | (ftrace_command): New function. | |
11406 | (_initialize_breakpoint): Add ftrace command. | |
11407 | * gdbarch.sh (fast_tracepoint_valid_at): New. | |
11408 | * gdbarch.h, gdbarch.c: Regenerate. | |
11409 | * i386-tdep.c (i386_fast_tracepoint_valid_at): New function. | |
11410 | (i386_gdbarch_init): Use it. | |
11411 | * remote.c (struct remote_state): New field fast_tracepoints. | |
11412 | (PACKET_FastTracepoints): New packet config type. | |
11413 | (remote_fast_tracepoint_feature): New function. | |
11414 | (remote_protocol_features): Add FastTracepoints. | |
11415 | (remote_supports_fast_tracepoints): New function. | |
11416 | (_initialize_remote): Add FastTracepoints. | |
11417 | * tracepoint.c (download_tracepoint): Add fast tracepoint option. | |
11418 | * NEWS: Mention fast tracepoints. | |
11419 | ||
737a160e JB |
11420 | 2010-01-06 Joel Brobecker <[email protected]> |
11421 | ||
11422 | * gdb-gdb.py: New file. | |
11423 | ||
ce6cca6d MS |
11424 | 2010-01-05 Michael Snyder <[email protected]> |
11425 | ||
11426 | * infrun.c (handle_inferior_event): Fix typo in comment. | |
11427 | ||
0d15807d JK |
11428 | 2010-01-05 Jan Kratochvil <[email protected]> |
11429 | ||
11430 | * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional. | |
11431 | ||
7803799a UW |
11432 | 2010-01-04 Ulrich Weigand <[email protected]> |
11433 | ||
c8d5aac9 | 11434 | * features/Makefile (WHICH): Add s390-linux32, s390-linux64, |
7803799a UW |
11435 | and s390x-linux64. |
11436 | (s390-linux32-expedite): Define. | |
11437 | (s390-linux64-expedite): Define. | |
11438 | (s390x-linux64-expedite): Define. | |
11439 | * features/s390-acr.xml: New file. | |
11440 | * features/s390-fpr.xml: New file. | |
11441 | * features/s390-core32.xml: New file. | |
11442 | * features/s390-core64.xml: New file. | |
11443 | * features/s390x-core64.xml: New file. | |
11444 | * features/s390-linux32.xml: New file. | |
11445 | * features/s390-linux64.xml: New file. | |
11446 | * features/s390x-linux64.xml: New file. | |
11447 | * features/s390-linux32.c: New generated file. | |
11448 | * features/s390-linux64.c: New generated file. | |
11449 | * features/s390x-linux64.c: New generated file. | |
11450 | ||
11451 | * regformats/s390-linux32.dat: New generated file. | |
11452 | * regformats/s390-linux64.dat: New generated file. | |
11453 | * regformats/s390x-linux64.dat: New generated file. | |
11454 | * regformats/reg-s390.dat: Remove. | |
11455 | * regformats/reg-s390x.dat: Remove. | |
11456 | ||
11457 | * s390-nat.c: Include "auxv.h" and <elf.h>. | |
11458 | (HWCAP_S390_HIGH_GPRS): Define if undefined. | |
11459 | (s390_target_wordsize): New function. | |
11460 | (s390_auxv_parse): Likewise. | |
11461 | (s390_get_hwcap): Likewise. | |
11462 | (s390_read_description): Likewise. | |
11463 | (_initialize_s390_nat): Install s390_auxv_parse and | |
11464 | s390_read_description. | |
11465 | ||
11466 | * s390-tdep.c: Include "features/s390-linux32.c", | |
11467 | "features/s390-linux64.c", and "features/s390x-linux64.c". | |
11468 | (struct gdbarch_tdep): Add gpr_full_regnum, pc_regnum, and cc_regnum. | |
11469 | (s390_register_call_saved): New function. | |
11470 | (s390_register_name): Remove. | |
11471 | (s390_register_type): Remove. | |
11472 | (s390_dwarf_regmap): Add lower half GPR pseudo DWARF CFI regnums. | |
11473 | (s390_dwarf_reg_to_regnum): Remap GPR regnums to full GPRs. | |
11474 | (s390_adjust_frame_regnum): Remap GPR regnums to lower halves for CFI. | |
11475 | (s390_pseudo_register_name): New function. | |
11476 | (s390_pseudo_register_type): New function. | |
11477 | (s390_pseudo_register_read): Handle both 32-bit and 64-bit cases. | |
11478 | Handle full GPR pesudos and varying pseudo register numbers. | |
11479 | (s390_pseudo_register_write): Likewise | |
11480 | (s390x_pseudo_register_read): Remove. | |
11481 | (s390x_pseudo_register_write): Likewise. | |
11482 | (s390_register_group): Remove. | |
11483 | (s390_pseudo_register_group): New function. | |
11484 | (s390_regmap_gregset): Add GPR upper halves. | |
11485 | (s390x_regmap_gregset): Likewise. | |
11486 | (s390_regmap_fpregset): Likewise. | |
11487 | (s390_regmap_upper): New global variable. | |
11488 | (s390_upper_regset): New global variable. | |
11489 | (s390_upper_regset_sections): New global variable. | |
11490 | (s390_regset_from_core_section): Handle GPR upper halves. | |
11491 | (s390_core_read_description): New function. | |
11492 | (s390_prologue_frame_unwind_cache): Set up ABI call-saved/clobbered | |
11493 | register information. Handle varying pseudo register numbers. | |
11494 | (s390_backchain_frame_unwind_cache): Likewise. | |
11495 | (s390_frame_prev_register): Unwind full GPRs to show lower halves. | |
11496 | (s390_stub_frame_unwind_cache): Handle varying pseudo register numbers. | |
11497 | (s390_sigtramp_frame_unwind_cache): Unwind PSWM and PSWA as well as | |
11498 | PC and CC pseudos. Unwind upper halves and full GPRs as appropriate. | |
11499 | Handle varying pseudo register numbers. | |
11500 | (s390_unwind_pc): Handle varying pseudo register numbers. | |
11501 | (s390_dwarf2_prev_register): New function. | |
11502 | (s390_dwarf2_frame_init_reg): Set up ABI call-saved/clobbered | |
11503 | register information. Handle varying pseudo register numbers. | |
11504 | Install s390_dwarf2_prev_register to unwind full GPRs. | |
11505 | (s390_gdbarch_init): Handle target descriptions. Assign varying | |
11506 | pseudo register numbers. Install s390_adjust_frame_regnum. | |
11507 | (_initialize_s390_tdep): Initialize target descriptions. | |
11508 | ||
11509 | * s390-tdep.h (S390_R0_UPPER_REGNUM .. S390_R15_UPPER_REGNUM): Define. | |
11510 | (S390_NUM_REGS): Redefine to include upper half registers. | |
11511 | (S390_PC_REGNUM, S390_CC_REGNUM): Remove. | |
11512 | (S390_NUM_PSEUDO_REGS, S390_NUM_TOTAL_REGS): Likewise. | |
11513 | (tdesc_s390_linux32): Add declaration. | |
11514 | (tdesc_s390_linux64): Likewise. | |
11515 | (tdesc_s390x_linux64): Likewise. | |
11516 | ||
1b1818e4 UW |
11517 | 2010-01-04 Ulrich Weigand <[email protected]> |
11518 | ||
11519 | * regset.h (struct core_regset_section): Add HUMAN_NAME. | |
11520 | * i386-linux-tdep.c (i386_linux_regset_sections): Fill in HUMAN_NAME. | |
11521 | * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise. | |
11522 | (ppc_linux_vmx_regset_sections): Likewise. | |
11523 | (ppc_linux_fp_regset_sections): Likewise. | |
11524 | ||
11525 | * corelow.c (get_core_register_section): Constify arguments. | |
11526 | (get_core_registers): Use gdbarch_core_regset_sections instead | |
11527 | of hard-coded platform-specific register section names. | |
11528 | ||
dcbf108f UW |
11529 | 2010-01-04 Ulrich Weigand <[email protected]> |
11530 | ||
11531 | * dwarf2loc.c (read_pieced_value): If a piece occupies part of | |
b3f41522 | 11532 | a register, assume the least-significant part is used. |
dcbf108f UW |
11533 | (write_pieced_value): Likewise. |
11534 | ||
704e9165 UW |
11535 | 2010-01-04 Ulrich Weigand <[email protected]> |
11536 | ||
11537 | * printcmd.c: Include "arch-utils.h". | |
11538 | (do_one_display): Re-parse expression if current architecture changed. | |
11539 | ||
c54eabfa JK |
11540 | 2010-01-03 Jan Kratochvil <[email protected]> |
11541 | Joel Brobecker <[email protected]> | |
11542 | ||
11543 | * gdbtypes.c (check_typedef): New comment on type length. | |
11544 | * value.c (allocate_value_lazy): Remove the unused atype variable. New | |
11545 | comment on type length. | |
11546 | (value_primitive_field): Keep the original TYPE value, new comment. | |
11547 | ||
50cb2941 JK |
11548 | 2010-01-01 Jan Kratochvil <[email protected]> |
11549 | ||
11550 | * cli/cli-script.c (process_next_line): Rename p1 as p_end and p2 as | |
11551 | p_start. Change != comparisons to > and < comparisons. | |
11552 | ||
be66db07 JK |
11553 | 2010-01-01 Jan Kratochvil <[email protected]> |
11554 | ||
11555 | * cli/cli-script.c (process_next_line): Check P2 overrun. | |
11556 | ||
abd775ce JB |
11557 | 2009-01-01 Joel Brobecker <[email protected]> |
11558 | ||
11559 | Update the copyright hearder to add year 2010 for most GDB files. | |
11560 | ||
6479260d JB |
11561 | 2009-01-01 Joel Brobecker <[email protected]> |
11562 | ||
11563 | Fix build failure in inf-ptrace.c. | |
11564 | * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo. | |
11565 | ||
4a70f654 JB |
11566 | 2010-01-01 Joel Brobecker <[email protected]> |
11567 | ||
11568 | * top.c (print_gdb_version): Update copyright year. | |
11569 | ||
595939de | 11570 | 2010-01-01, 10 Joel Brobecker <[email protected]> |
b9ee2233 JB |
11571 | |
11572 | Fix break *FUN'address thread NUM. | |
11573 | * ada-lex.l (task): Expand rule to also match the thread keyword. | |
11574 | ||
70575d34 JB |
11575 | 2010-01-01 Joel Brobecker <[email protected]> |
11576 | ||
11577 | Fix break *FUN'address task NUM. | |
11578 | * ada-lex.l (task): New rule. | |
11579 | * ada-lang.c (valid_task_id): Make sure the Ada task list has | |
11580 | been built before using it. | |
11581 | ||
e1e4d4a4 | 11582 | For older changes see ChangeLog-2009. |
c906108c SS |
11583 | \f |
11584 | Local Variables: | |
11585 | mode: change-log | |
11586 | left-margin: 8 | |
11587 | fill-column: 74 | |
11588 | version-control: never | |
57da7796 | 11589 | coding: utf-8 |
c906108c | 11590 | End: |