Commit | Line | Data |
---|---|---|
65aa373f JK |
1 | 2011-07-30 Jan Kratochvil <jan.kratochvil@redhat.com> |
2 | ||
3 | * stack.c (print_frame_info): Comment typo fix. | |
4 | ||
a50242fb SA |
5 | 2011-07-29 Sterling Augustine <saugustine@google.com> |
6 | ||
7 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
8 | ||
267f6504 TT |
9 | 2011-07-29 Tom Tromey <tromey@redhat.com> |
10 | ||
11 | * solib-target.c: Use DEF_VEC_I, not DEF_VEC_O. | |
12 | (library_list_start_segment): Update. | |
13 | (library_list_start_section): Update. | |
14 | ||
00bd41d6 PM |
15 | 2011-07-28 Phil Muldoon <pmuldoon@redhat.com> |
16 | ||
17 | * varobj.c (value_get_print_value): Move hint check later into the | |
18 | function. Comment function. Free thevalue before reusing it. | |
19 | ||
18a46dbe JK |
20 | 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
21 | Pedro Alves <pedro@codesourcery.com> | |
22 | ||
23 | * eval.c (evaluate_subexp_standard): Remove not_lval from all calls of | |
24 | value_one. | |
25 | * valops.c (value_one): Remove parameter lv. Do not pass it to itself. | |
26 | Assert the result kind. | |
27 | * value.h (value_one): Remove parameter lv. | |
28 | ||
bb7da2bf JK |
29 | 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
30 | ||
31 | Fix crash on lval_computed values. | |
32 | * valops.c (value_zero): Use not_lval for lval_computed. | |
33 | ||
2d5213f8 TT |
34 | 2011-07-27 Tom Tromey <tromey@redhat.com> |
35 | ||
36 | * Makefile.in (HFILES_NO_SRCDIR): Add 'common' prefix for | |
37 | gdb_assert.h, gdb_locale.h, gdb_dirent.h. | |
38 | ||
11081198 JK |
39 | 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
40 | ||
41 | * typeprint.c (_initialize_typeprint): Extend the help of "whatis" and | |
42 | "ptype" by their typedefs difference. | |
43 | ||
3c6e0cb3 JK |
44 | 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
45 | ||
46 | * dwarf2expr.c (ctx_no_read_reg): New function. | |
47 | * dwarf2expr.h (ctx_no_read_reg): New declaration. | |
48 | * dwarf2read.c (read_2_signed_bytes, read_4_signed_bytes): Remove. | |
49 | (decode_locdesc_read_mem, decode_locdesc_ctx_funcs): New. | |
50 | (decode_locdesc): Replace by a caller of dwarf_expr_eval. | |
51 | ||
523f3620 JK |
52 | 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
53 | ||
54 | * dwarf2-frame.c (no_get_frame_base, no_get_frame_cfa, no_get_frame_pc) | |
55 | (no_get_tls_address, no_dwarf_call, no_base_type): Move to the other | |
56 | file. | |
57 | (dwarf2_frame_ctx_funcs): Reference the renamed functions. | |
58 | * dwarf2expr.c (ctx_no_get_frame_base, ctx_no_get_frame_cfa) | |
59 | (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call) | |
60 | (ctx_no_get_base_type): Move the functions here. | |
61 | * dwarf2expr.h (ctx_no_get_frame_base, ctx_no_get_frame_cfa) | |
62 | (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call) | |
63 | (ctx_no_get_base_type): New declarations. | |
64 | ||
24d3216f TT |
65 | 2011-07-27 Tom Tromey <tromey@redhat.com> |
66 | ||
67 | * xcoffread.c (dwarf2_xcoff_names): Add 'macro' and 'sentinel' | |
68 | entries. | |
69 | * symfile.h (struct dwarf2_debug_sections) <sentinel>: New field. | |
70 | * dwarf2read.c (dwarf2_elf_names): Add sentinel entry. | |
71 | ||
5005c8a9 PP |
72 | 2011-07-26 Sterling Augustine <saugustine@google.com> |
73 | ||
74 | * cli/cli-dump.c (dump_binary_file): Change parameter type to | |
75 | ULONGEST. | |
76 | (dump_bfd_file): Likewise. | |
77 | ||
480a3f21 PW |
78 | 2011-07-26 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
79 | ||
80 | * remote.c (remote_region_ok_for_hw_watchpoint): New function. | |
81 | (remote_hw_watchpoint_length_limit): New variable. | |
82 | (_initialize_remote) add set,show cmds for this new variable. | |
83 | * gdb.texinfo: document these new commands. | |
84 | * NEWS: Mention these new commands. | |
85 | ||
efa80663 PA |
86 | 2011-07-26 Pedro Alves <pedro@codesourcery.com> |
87 | ||
88 | * breakpoint.c (works_in_software_mode_watchpoint): Also return | |
89 | true for software watchpoints. | |
90 | ||
dbdaa232 | 91 | 2011-07-26 Joel Brobecker <brobecker@adacore.com> |
92 | ||
93 | GDB 7.3 released. | |
94 | ||
cf2c3c16 TT |
95 | 2011-07-26 Tom Tromey <tromey@redhat.com> |
96 | ||
97 | * symfile.h (struct dwarf2_debug_sections) <macro>: New field. | |
98 | * dwarf2read.c (read_indirect_string_at_offset): New function. | |
99 | (read_indirect_string): Use it. | |
100 | (dwarf_decode_macro_bytes): New function, taken from | |
101 | dwarf_decode_macros. Handle DW_MACRO_GNU_*. | |
102 | (dwarf_decode_macros): Use it. handle DW_MACRO_GNU_*. | |
103 | (dwarf_parse_macro_header, skip_form_bytes, skip_unknown_opcode): | |
104 | New functions. | |
105 | (struct dwarf2_per_objfile) <macro>: New field. | |
106 | (dwarf2_elf_names): Add .debug_macro. | |
107 | (dwarf2_macros_too_long_complaint): Add 'section' argument. | |
108 | (dwarf2_locate_sections): Handle new section. | |
109 | (read_file_scope): Handle DW_AT_GNU_macros. | |
110 | (dwarf2_per_objfile_free): Unmap the .debug_macro section. | |
111 | ||
1a532630 PP |
112 | 2011-07-26 Paul Pluzhnikov <ppluzhnikov@google.com> |
113 | ||
114 | * NEWS: Mention dcache configuration. | |
115 | * dcache.c (dcache_set_list, dcache_show_list): New variables. | |
116 | (dcache_size, dcache_line_size): New variables. | |
117 | (LINE_SIZE_MASK, XFORM, MASK): Adjust. | |
118 | (struct dcache_block): Make it expandable. | |
119 | (struct dcache_struct): New field. | |
120 | (dcache_invalidate): Discard freelist upon dcache_line_size changes. | |
121 | (dcache_hit, dcache_alloc, dcache_peek_byte): Adjust. | |
122 | (dcache_poke_byte, dcache_print_line): Adjust. | |
123 | (set_dcache_size, set_dcache_line_size): New functions. | |
124 | (set_dcache_command, show_dcache_command): New functions. | |
125 | (_initialize_dcache): Add new commands. | |
126 | ||
2eff07b3 PP |
127 | 2011-07-26 Paul Pluzhnikov <ppluzhnikov@google.com> |
128 | ||
129 | * progspace.h (struct program_space): Add solib_add_generation. | |
130 | * infcmd.c (post_create_inferior): Only call solib_add if not | |
131 | already done. | |
132 | * solib.c (solib_add): Increment solib_add_generation. | |
133 | ||
543305c9 JK |
134 | 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
135 | ||
136 | Fix implicit pointer offsets. | |
137 | * dwarf2loc.c (indirect_pieced_value): Comment byte_offset. Use also | |
138 | ptr.OFFSET. | |
139 | ||
c0a91b2b TT |
140 | 2011-07-25 Tom Tromey <tromey@redhat.com> |
141 | ||
142 | * ada-lang.c (ada_exception_breakpoint_ops): Make return type | |
143 | const. | |
144 | (ada_exception_sal): Make 'ops' const. | |
145 | (ada_decode_exception_location): Likewise. | |
146 | (ada_decode_assert_location): Likewise. | |
147 | (catch_assert_command): Update. | |
148 | (catch_ada_exception_command): Update. | |
149 | (create_ada_exception_catchpoint): Make 'ops' const. | |
150 | * breakpoint.c (set_raw_breakpoint_without_location) | |
151 | (set_raw_breakpoint, momentary_breakpoint_from_master): Make 'ops' | |
152 | const. | |
153 | (create_internal_breakpoint): Update. | |
154 | (init_raw_breakpoint_without_location): Make 'ops' const. | |
155 | (init_raw_breakpoint, init_catchpoint) | |
156 | (create_fork_vfork_event_catchpoint) | |
157 | (create_syscall_event_catchpoint, init_breakpoint_sal) | |
158 | (create_breakpoint_sal, create_breakpoints_sal) | |
159 | (create_breakpoint, init_ada_exception_breakpoint): Likewise. | |
160 | * breakpoint.h (struct breakpoint) <ops>: Now const. | |
161 | (init_ada_exception_breakpoint, create_breakpoint): Make 'ops' | |
162 | const. | |
163 | ||
6cb9b55b PP |
164 | 2011-07-25 Paul Pluzhnikov <ppluzhnikov@google.com> |
165 | ||
166 | * linux-thread-db.c (thread_from_lwp): Initialize th.th_unique. | |
167 | ||
d9b3f62e PA |
168 | 2011-07-25 Pedro Alves <pedro@codesourcery.com> |
169 | ||
170 | * breakpoint.h (print_recreate_thread): Declare. | |
171 | (struct breakpoint): Move step_count, pass_count, | |
172 | number_on_target, static_trace_marker_id, | |
173 | static_trace_marker_id_idx ... | |
174 | (struct tracepoint): ... to this new struct. | |
175 | (get_tracepoint, get_tracepoint_by_number_on_target) | |
176 | (get_tracepoint_by_number): Change return type to struct | |
177 | tracepoint pointer. | |
178 | * breakpoint.c (is_tracepoint_type): New, factored out from | |
179 | is_tracepoint. | |
180 | (is_tracepoint): Adjust. | |
181 | (print_one_breakpoint_location): Cast to struct tracepoint as | |
182 | necessary, and adjust. | |
183 | (print_recreate_catch_fork, print_recreate_catch_vfork) | |
184 | (print_recreate_catch_syscall, print_recreate_catch_exec): Call | |
185 | print_recreate_thread. | |
186 | (init_breakpoint_sal): New, factored out from | |
187 | create_breakpoint_sal. | |
188 | (create_breakpoint_sal): Reimplement. | |
189 | (create_breakpoint): Allocate a struct tracecepoint if the caller | |
190 | wanted a tracepoint. Use init_breakpoint_sal and | |
191 | install_breakpoint. | |
192 | (print_recreate_ranged_breakpoint, print_recreate_watchpoint) | |
193 | (print_recreate_masked_watchpoint) | |
194 | (print_recreate_exception_catchpoint): Call print_recreate_thread. | |
195 | (tracepoint_print_one_detail): Adjust. | |
196 | (tracepoint_print_recreate): Adjust. Call print_recreate_thread. | |
197 | Dump the pass count here. | |
198 | (update_static_tracepoint): Adjust. | |
199 | (addr_string_to_sals): Adjust. | |
200 | (create_tracepoint_from_upload): Adjust. Change return type to | |
201 | struct tracepoint pointer. | |
202 | (trace_pass_set_count): Change parameter type to struct tracepoint | |
203 | pointer, and adjust. | |
204 | (trace_pass_command): Adjust. | |
205 | (get_tracepoint, get_tracepoint_by_number_on_target) | |
206 | (get_tracepoint_by_number): Change return type to struct | |
207 | tracepoint pointer, and adjust. | |
208 | (print_recreate_thread): New, factored out from save_breakpoints. | |
209 | (save_breakpoints): Don't print thread and task and passcount | |
210 | recreation here. | |
211 | * remote.c (remote_download_tracepoint): Adjust. | |
212 | * tracepoint.c (trace_actions_command, validate_actionline) | |
213 | (start_tracing, tfind_1, trace_find_tracepoint_command) | |
214 | (trace_dump_command): Adjust. | |
215 | (find_matching_tracepoint): Change return type to struct | |
216 | tracepoint pointer, and adjust. | |
217 | (merge_uploaded_tracepoints, tfile_get_traceframe_address) | |
218 | (tfile_trace_find, tfile_fetch_registers): Adjust. | |
219 | * tracepoint.h (create_tracepoint_from_upload): Change return type | |
220 | to struct tracepoint pointer. | |
221 | * ada-lang.c (print_recreate_exception): Call | |
222 | print_recreate_thread. | |
223 | * mi/mi-cmd-break.c (mi_cmd_break_passcount): Adjust. | |
224 | ||
3a5c3e22 PA |
225 | 2011-07-25 Pedro Alves <pedro@codesourcery.com> |
226 | ||
227 | * breakpoint.h (struct breakpoint): Move ops as first field. Move | |
228 | exp_string, exp_string_reparse, exp, exp_valid_block, cond_exp, | |
229 | cond_exp_valid_block, val, val_valid, watchpoint_frame, | |
230 | watchpoint_thread, watchpoint_triggered ... | |
231 | (struct watchpoint): ... to this new struct. | |
232 | (is_watchpoint): Declare. | |
233 | (install_breakpoint): Add new `internal' parameter. | |
234 | * breakpoint.c (is_watchpoint): Delete declaration. | |
235 | (set_breakpoint_condition): Handle watchpoints. | |
236 | (is_watchpoint): Make public. | |
237 | (watchpoint_in_thread_scope): Change parameter type to struct | |
238 | watchpoint. | |
239 | (watchpoint_del_at_next_stop): Change parameter type to struct | |
240 | watchpoint. Remove assertion. Adjust. | |
241 | (update_watchpoint): Ditto. | |
242 | (insert_breakpoints, breakpoint_init_inferior) | |
243 | (watchpoints_triggered, watchpoint_check) | |
244 | (bpstat_check_watchpoint, bpstat_check_breakpoint_conditions) | |
245 | (bpstat_stop_status, print_one_breakpoint_location) | |
246 | (print_one_breakpoint_location, watchpoint_locations_match): Cast | |
247 | to struct watchpoint as necessary, and adjust. | |
248 | (install_breakpoint): Add `internal' argument. If true, don't | |
249 | mention the new breakpoint. Use set_breakpoint_number. | |
250 | (create_fork_vfork_event_catchpoint) | |
251 | (create_syscall_event_catchpoint): Adjust. | |
252 | (dtor_watchpoint): New. | |
253 | (re_set_watchpoint, insert_watchpoint, remove_watchpoint) | |
254 | (breakpoint_hit_watchpoint, resources_needed_watchpoint) | |
255 | (print_it_watchpoint, print_mention_watchpoint) | |
256 | (print_recreate_watchpoint, insert_masked_watchpoint) | |
257 | (remove_masked_watchpoint, resources_needed_masked_watchpoint) | |
258 | (print_one_detail_masked_watchpoint) | |
259 | (print_mention_masked_watchpoint) | |
260 | (print_recreate_masked_watchpoint): Cast to struct watchpoint as | |
261 | necessary, and adjust. | |
262 | (watch_command_1): Allocate and initialize a struct watchpoint | |
263 | instead of a struct breakpoint. Use install_breakpoint. | |
264 | (catch_exec_command_1): Adjust. | |
265 | (base_breakpoint_dtor): Delete accesses to watchpoint specific | |
266 | fields. | |
267 | (delete_breakpoint, enable_breakpoint_disp) | |
268 | (invalidate_bp_value_on_memory_change): Cast to struct watchpoint | |
269 | as necessary, and adjust. | |
270 | (initialize_breakpoint_ops): Install dtor_watchpoint as | |
271 | watchpoints' dtor method. | |
272 | * ada-lang.c (create_ada_exception_catchpoint): Adjust. | |
273 | * python/py-breakpoint.c (bppy_get_expression): Use is_watchpoint. | |
274 | to struct watchpoint as necessary, and adjust. | |
275 | ||
2060206e PA |
276 | 2011-07-25 Pedro Alves <pedro@codesourcery.com> |
277 | ||
278 | * ada-lang.c (dtor_exception, re_set_exception): Indirect through | |
279 | the the base class ops table. | |
280 | (catch_exception_breakpoint_ops) | |
281 | (catch_exception_unhandled_breakpoint_ops) | |
282 | (catch_assert_breakpoint_ops): Don't statically initialize. | |
283 | (initialize_ada_catchpoint_ops): New. | |
284 | (_initialize_ada_language): Call it. | |
285 | * breakpoint.c (base_breakpoint_ops, bkpt_base_breakpoint_ops) | |
286 | (bkpt_breakpoint_ops): Forward declare. | |
287 | (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops) | |
288 | (catch_syscall_breakpoint_ops, catch_exec_breakpoint_ops) | |
289 | (ranged_breakpoint_ops, watchpoint_breakpoint_ops) | |
290 | (masked_watchpoint_breakpoint_ops) | |
291 | (gnu_v3_exception_catchpoint_ops): Don't statically initialize. | |
292 | (dtor_catch_syscall, dtor_catch_exec): Indirect through the the | |
293 | base class ops table. | |
294 | (null_re_set, null_check_status, null_works_in_software_mode) | |
295 | (null_resources_needed, null_print_one_detail): Delete. | |
296 | (bkpt_dtor): Rename to ... | |
297 | (base_breakpoint_dtor): ... this. Make static. | |
298 | (bkpt_allocate_location): Rename to ... | |
299 | (base_breakpoint_allocate_location): ... this. Make static. | |
300 | (base_breakpoint_re_set): New. | |
301 | (internal_error_pure_virtual_called): New. | |
302 | (base_breakpoint_insert_location, base_breakpoint_remove_location) | |
303 | (base_breakpoint_breakpoint_hit, base_breakpoint_check_status) | |
304 | (base_breakpoint_works_in_software_mode) | |
305 | (base_breakpoint_resources_needed, base_breakpoint_print_it) | |
306 | (base_breakpoint_print_one_detail, base_breakpoint_print_mention) | |
307 | (base_breakpoint_print_recreate): New functions. | |
308 | (base_breakpoint_ops): New global. | |
309 | (bkpt_re_set, bkpt_insert_location, bkpt_remove_location) | |
310 | (bkpt_breakpoint_hit): Make static. | |
311 | (bkpt_check_status): Delete. | |
312 | (bkpt_resources_needed): Make static. | |
313 | (bkpt_works_in_software_mode): Delete. | |
314 | (bkpt_print_it, bkpt_print_mention, bkpt_print_recreate): Make | |
315 | static. | |
316 | (bkpt_breakpoint_ops, internal_breakpoint_ops) | |
317 | (momentary_breakpoint_ops): Don't statically initialize. | |
318 | (internal_bkpt_print_recreate, momentary_bkpt_print_recreate): | |
319 | Delete. | |
320 | (tracepoint_insert_location, tracepoint_remove_location) | |
321 | (tracepoint_check_status, tracepoint_works_in_software_mode) | |
322 | (tracepoint_print_it): Delete. | |
323 | (tracepoint_breakpoint_ops): Don't statically initialize. | |
324 | (initialize_breakpoint_ops): New. | |
325 | (_initialize_breakpoint): Call it. | |
326 | * breakpoint.h (null_re_set, null_works_in_software_mode) | |
327 | (null_resources_needed, null_check_status, null_print_one_detail): | |
328 | (bkpt_dtor, bkpt_allocate_location, bkpt_re_set) | |
329 | (bkpt_insert_location, bkpt_remove_location, bkpt_breakpoint_hit) | |
330 | (bkpt_check_status, bkpt_resources_needed) | |
331 | (bkpt_works_in_software_mode, bkpt_print_it) | |
332 | (null_print_one_detail, bkpt_print_mention, bkpt_print_recreate): | |
333 | Delete declarations. | |
334 | (initialize_breakpoint_ops): Declare. | |
335 | ||
001c8c33 PA |
336 | 2011-07-25 Pedro Alves <pedro@codesourcery.com> |
337 | ||
338 | * breakpoint.c (bkpt_print_it, internal_bkpt_print_it) | |
339 | (momentary_bkpt_print_it): Simplify. | |
340 | ||
06edf0c0 PA |
341 | 2011-07-25 Pedro Alves <pedro@codesourcery.com> |
342 | ||
343 | Split internal, momentary and user breakpoints breakpoint_ops | |
344 | tables. | |
345 | ||
346 | * breakpoint.c (internal_breakpoint_ops) | |
347 | (momentary_breakpoint_ops): Forward declare. | |
348 | (create_internal_breakpoint): Add new breakpoint_ops parameter. | |
349 | Pass it down, rather than hardcoding bkpt_breakpoint_ops. | |
350 | (create_overlay_event_breakpoint) | |
351 | (create_std_terminate_master_breakpoint) | |
352 | (create_exception_master_breakpoint): Create breakpoints with | |
353 | internal_breakpoint_ops vtable. | |
354 | (set_longjmp_breakpoint): Create momentary breakpoints with | |
355 | momentary_breakpoint_ops vtable, using | |
356 | momentary_breakpoint_from_master. | |
357 | (create_thread_event_breakpoint, create_jit_event_breakpoint) | |
358 | (create_solib_event_breakpoint): Create breakpoints with | |
359 | internal_breakpoint_ops vtable. | |
360 | (set_momentary_breakpoint): Create breakpoints with | |
361 | momentary_breakpoint_ops vtable. | |
362 | (momentary_breakpoint_from_master): New, factored out from | |
363 | clone_momentary_breakpoint. | |
364 | (clone_momentary_breakpoint): Adjust. | |
365 | (watch_command_1): Create scope breakpoints with | |
366 | momentary_breakpoint_ops vtable. | |
367 | (bkpt_re_set): Remove handling of internal and momentary | |
368 | breakpoints. | |
369 | (bkpt_print_mention, bkpt_print_recreate): New. | |
370 | (bkpt_breakpoint_ops): Adjust. | |
371 | (internal_bkpt_re_set, internal_bkpt_check_status) | |
372 | (internal_bkpt_print_it, internal_bkpt_print_mention) | |
373 | (internal_bkpt_print_recreate, internal_breakpoint_ops): New. | |
374 | (momentary_bkpt_re_set, momentary_bkpt_check_status) | |
375 | (momentary_bkpt_print_it, momentary_bkpt_print_mention) | |
376 | (momentary_bkpt_print_recreate): New. | |
377 | (momentary_breakpoint_ops): New. | |
378 | ||
348d480f PA |
379 | 2011-07-25 Pedro Alves <pedro@codesourcery.com> |
380 | ||
381 | Implement most breakpoint_ops methods for all breakpoint types, | |
382 | and move the default handlings to the proper callbacks. | |
383 | ||
384 | * breakpoint.c (update_watchpoint): Always call the breakpoint's | |
385 | works_in_software_mode method. | |
386 | (insert_bp_location): Go through breakpoint_ops->insert_location | |
387 | for software and hardware watchpoints. | |
388 | (create_internal_breakpoint): Pass bkpt_breakpoint_ops as | |
389 | breakpoint_ops. | |
390 | (remove_breakpoint_1): Go through breakpoint_ops->remove_location | |
391 | for software and hardware watchpoints. | |
392 | (print_it_typical): Delete. | |
393 | (print_bp_stop_message): Always call the breakpoint_ops->print_it | |
394 | method. | |
395 | (watchpoint_check): Adjust comment. | |
396 | (bpstat_check_location): Simply always call the breakpoint's | |
397 | breakpoint_hit method. | |
398 | (bpstat_stop_status): Always call the breakpoint's check_status | |
399 | method. Remove special cases for watchpoints and internal event | |
400 | breakpoints from here (moved to the check_status implementations). | |
401 | (print_one_breakpoint_location): Assume b->ops is never NULL. | |
402 | Remove static tracepoint marker id printing from here (moved to | |
403 | the print_one_detail callback implementation of tracepoints). | |
404 | (init_bp_location): Assert OPS is never NULL. | |
405 | (allocate_bp_location): Always call the breakpoint's | |
406 | allocate_location method, and remove the default code from here. | |
407 | (free_bp_location): Always call the location's dtor method, and | |
408 | remove the default code from here. | |
409 | (init_raw_breakpoint_without_location): Assert OPS is never NULL. | |
410 | (set_raw_breakpoint_without_location): Add new breakpoint_ops | |
411 | parameter. Pass it down. | |
412 | (set_raw_breakpoint): Ditto. | |
413 | (print_it_catch_fork): Adjust to take a bpstat as argument. | |
414 | (catch_fork_breakpoint_ops): Install methods. | |
415 | (print_it_catch_vfork): Adjust to take a bpstat as argument. | |
416 | (catch_vfork_breakpoint_ops): Install methods. | |
417 | (dtor_catch_syscall): Call the base dtor. | |
418 | (print_it_catch_syscall): Adjust to take a bpstat as argument. | |
419 | (catch_syscall_breakpoint_ops): Install methods. | |
420 | (dtor_catch_exec): Call the base dtor. | |
421 | (print_it_catch_exec): Adjust to take a bpstat as argument. | |
422 | (catch_exec_breakpoint_ops): Install methods. | |
423 | (hw_breakpoint_used_count, hw_watchpoint_used_count): Always call | |
424 | the breakpoint's resources_needed method, and remove the default | |
425 | code from here. | |
426 | (set_momentary_breakpoint): Pass bkpt_breakpoint_ops as | |
427 | breakpoint_ops. | |
428 | (clone_momentary_breakpoint): Clone the original's ops. | |
429 | (mention): Always call the breakpoint's print_mention method, and | |
430 | remove the default code from here. | |
431 | (create_breakpoint_sal): Adjust to pass the ops to | |
432 | set_raw_breakpoint rather than setting it manually. | |
433 | (create_breakpoint): Assert ops is never NULL. Adjust to pass the | |
434 | ops to set_raw_breakpoint_without_location rather than setting it | |
435 | manually. | |
436 | (break_command_1): Pass bkpt_breakpoint_ops as breakpoint_ops. | |
437 | (print_it_ranged_breakpoint): Adjust to take a bpstat as argument. | |
438 | (ranged_breakpoint_ops): Install methods. | |
439 | (break_range_command): Adjust to pass the ops to | |
440 | set_raw_breakpoint rather than setting it manually. | |
441 | (re_set_watchpoint, breakpoint_hit_watchpoint) | |
442 | (check_status_watchpoint, resources_needed_watchpoint) | |
443 | (works_in_software_mode_watchpoint, print_it_watchpoint) | |
444 | (print_mention_watchpoint, print_recreate_watchpoint): New | |
445 | functions. | |
446 | (watchpoint_breakpoint_ops): Install new methods. | |
447 | (print_it_masked_watchpoint): New function. | |
448 | (masked_watchpoint_breakpoint_ops): Install new methods. | |
449 | (watch_command_1): Adjust to pass the right breakpoint_ops to | |
450 | set_raw_breakpoint_without_location rather than setting it | |
451 | manually later. Record the current pspace. | |
452 | (print_it_exception_catchpoint): Adjust to take a bpstat as | |
453 | argument. | |
454 | (gnu_v3_exception_catchpoint_ops): Install new methods. | |
455 | (say_where): New function. | |
456 | (null_re_set, null_check_status, null_works_in_software_mode) | |
457 | (null_resources_needed, null_print_one_detail, bp_location_dtor): | |
458 | New functions. | |
459 | (bp_location_ops): New global. | |
460 | (bkpt_dtor, bkpt_allocate_location, bkpt_re_set) | |
461 | (bkpt_insert_location, bkpt_remove_location, bkpt_breakpoint_hit) | |
462 | (bkpt_check_status, bkpt_resources_needed) | |
463 | (bkpt_works_in_software_mode, bkpt_print_it, bkpt_print_mention) | |
464 | (bkpt_print_recreate): New functions. | |
465 | (bkpt_breakpoint_ops): New global. | |
466 | (tracepoint_re_set, tracepoint_insert_location) | |
467 | (tracepoint_remove_location, tracepoint_breakpoint_hit) | |
468 | (tracepoint_check_status, tracepoint_works_in_software_mode) | |
469 | (tracepoint_print_it, tracepoint_print_one_detail) | |
470 | (tracepoint_print_mention, tracepoint_print_recreate): New | |
471 | functions. | |
472 | (tracepoint_breakpoint_ops): New global. | |
473 | (delete_breakpoint): Always call the breakpoint's dtor method, and | |
474 | remove the default handling from here. | |
475 | (breakpoint_re_set_default): Make static. | |
476 | (breakpoint_re_set_one): Always call the breakpoints re_set | |
477 | method, and remove the default handling from here. | |
478 | (trace_command, ftrace_command, strace_command) | |
479 | (create_tracepoint_from_upload): Pass appropriate breakpoints_ops | |
480 | to create_breakpoint. | |
481 | (save_breakpoints): Always call the breakpoint's print_recreate | |
482 | method, and remove the default handling from here. | |
483 | ||
484 | * ada-lang.c (dtor_exception): Call the base dtor. | |
485 | (re_set_exception): Call the base method. | |
486 | (print_it_exception, print_it_catch_exception): Adjust to take a | |
487 | bpstat as argument. | |
488 | (catch_exception_breakpoint_ops): Install methods. | |
489 | (print_it_catch_exception_unhandled): Adjust to take a bpstat as | |
490 | argument. | |
491 | (catch_exception_unhandled_breakpoint_ops): Install methods. | |
492 | (print_it_catch_assert): Adjust to take a bpstat as argument. | |
493 | (catch_assert_breakpoint_ops): Install methods. | |
494 | ||
495 | * breakpoint.h (struct breakpoint_ops): Adjust the print_it method | |
496 | to take a bpstat as argument. | |
497 | (enum print_stop_action): Add describing comments to each enum | |
498 | value. | |
499 | (breakpoint_re_set_default): Delete declaration. | |
500 | (null_re_set, null_works_in_software_mode, null_resources_needed) | |
501 | (null_check_status, null_print_one_detail): Declare. | |
502 | (bkpt_breakpoint_ops): Declare. | |
503 | (bkpt_dtor, bkpt_allocate_location, bkpt_re_set) | |
504 | (bkpt_insert_location, bkpt_remove_location, bkpt_breakpoint_hit) | |
505 | (bkpt_check_status, bkpt_resources_needed) | |
506 | (bkpt_works_in_software_mode, bkpt_print_it) | |
507 | (null_print_one_detail, bkpt_print_mention, bkpt_print_recreate): | |
508 | Declare. | |
509 | ||
510 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust to pass | |
511 | bkpt_breakpoint_ops. | |
512 | * python/py-breakpoint.c (bppy_init): Ditto. | |
513 | ||
be8f8133 PW |
514 | 2011-07-15 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
515 | ||
516 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
517 | ||
3807f613 PP |
518 | 2011-07-23 Paul Pluzhnikov <ppluzhnikov@google.com> |
519 | ||
520 | * elfread.c (elf_rel_plt_read): Fix off-by-one bug. | |
521 | ||
1ced966e PA |
522 | 2011-07-22 Pedro Alves <pedro@codesourcery.com> |
523 | ||
524 | * i386-nat.c (I386_DR_VACANT, I386_DR_LOCAL_ENABLE) | |
525 | (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN) | |
526 | (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): Add state parameter and | |
527 | adjust. | |
528 | (dr_mirror, dr_status_mirror, dr_control_mirror): Delete. | |
529 | (struct i386_debug_reg_state): New. | |
530 | (i386_init_dregs): New. | |
531 | (dr_mirror): New. | |
532 | (i386_cleanup_dregs): Use i386_init_dregs. | |
533 | (i386_show_dr): Add state parameter and adjust. | |
534 | (i386_insert_aligned_watchpoint): Ditto. Don't pass the info to | |
535 | the inferior here. | |
536 | (i386_remove_aligned_watchpoint): Likewise. | |
537 | (i386_handle_nonaligned_watchpoint): Add state parameter and adjust. | |
538 | (i386_update_inferior_debug_regs): New. | |
539 | (i386_insert_watchpoint): Work on a local mirror of the debug | |
540 | registers, and only update the inferior on success. | |
541 | (i386_remove_watchpoint): Ditto. | |
542 | (i386_region_ok_for_watchpoint): Adjust. | |
543 | (i386_stopped_data_address): Adjust. | |
544 | (i386_insert_hw_breakpoint): Adjust. | |
545 | (i386_remove_hw_breakpoint): Adjust. | |
546 | ||
3543a589 TT |
547 | 2011-07-22 Tom Tromey <tromey@redhat.com> |
548 | ||
549 | * amd64-tdep.c (amd64_pseudo_register_read_value): Rename | |
550 | from amd64_pseudo_register_read. Change arguments. Call | |
551 | mark_value_bytes_unavailable when needed. | |
552 | (amd64_init_abi): Use set_gdbarch_pseudo_register_read_value, not | |
553 | set_gdbarch_pseudo_register_read. | |
554 | * sentinel-frame.c (sentinel_frame_prev_register): Use | |
555 | regcache_cooked_read_value. | |
556 | * regcache.h (regcache_cooked_read_value): Declare. | |
557 | * regcache.c (regcache_cooked_read_value): New function. | |
558 | (regcache_cooked_read): Call | |
559 | gdbarch_pseudo_register_read_value if available. | |
560 | * i386-tdep.h (i386_pseudo_register_read_value): Declare. | |
561 | (i386_pseudo_register_read): Remove. | |
562 | * i386-tdep.c (i386_pseudo_register_read_into_value): Rename from | |
563 | i386_pseudo_register_read. Change arguments. Call | |
564 | mark_value_bytes_unavailable when needed. | |
565 | (i386_pseudo_register_read_value): New function. | |
566 | (i386_gdbarch_init): Call set_gdbarch_pseudo_register_read_value, | |
567 | not set_gdbarch_pseudo_register_read. | |
568 | * gdbarch.sh (pseudo_register_read_value): New method. | |
569 | * gdbarch.c, gdbarch.h: Rebuild. | |
570 | * findvar.c (value_from_register): Call get_frame_register_value. | |
571 | ||
95298e72 PM |
572 | 2011-07-22 Phil Muldoon <pmuldoon@redhat.com> |
573 | ||
574 | * event-top.c (cli_command_loop): Use get_prompt, get_suffix, | |
575 | get_prefix. | |
576 | (display_gdb_prompt): Likewise. | |
577 | (change_annotation_level): Likewise. | |
578 | (push_prompt): Likewise. | |
579 | (pop_prompt): Likewise. | |
580 | (handle_stop_sig): Use get_prompt with a level. | |
581 | * top.c (command_loop): Use get_prompt with a level. | |
582 | (set_async_annotation_level): Use set_prompt with a level. | |
583 | (get_prefix): New function. | |
584 | (set_prefix): Ditto. | |
585 | (set_suffix): Ditto. | |
586 | (get_suffix): Ditto. | |
587 | (get_prompt): Accept a level argument. | |
588 | (set_prompt): Accept a level argument. Free old prompts. Set | |
589 | new_async_prompt if level is 0. | |
590 | (init_main): Use set_prompt with a level. Do not set | |
591 | new_async_prompt. | |
592 | * event-top.h (PROMPT, SUFFIX, PREFIX): Move to top.c | |
593 | * top.h: Declare set_suffix, get_suffix, set_prefix, get_prefix. | |
594 | Modify set_prompt, get_prompt to account for levels. | |
595 | * tui/tui-interp.c (tui_command_loop): Use get_prompt with a | |
596 | level. | |
597 | * python/python.c (before_prompt_hook): Use set_prompt. | |
598 | ||
d26e3629 KY |
599 | 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> |
600 | ||
601 | * defs.h: Add guard against inclusion in gdbserver. | |
602 | (struct ptid, ptid_t): Move to common/ptid.h. | |
603 | (xfree, xzalloc, xasprintf, xvasprintf, xstrprintf, xstrvprintf, | |
604 | xsnprintf, internal_error): Move to common/common-utils.h. | |
605 | (nomem): Delete. | |
606 | * gdb_assert.h: Move into common/ sub-directory. | |
607 | * gdb_locale.h: Ditto. | |
608 | * gdb_dirent.h: Ditto. | |
609 | * inferior.h (minus_one_ptid, null_ptid, ptid_build, pid_to_ptid, | |
610 | ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid): | |
611 | Move into common/ptid.h. | |
612 | * xml-support.c (xml_escape_text): Move into common/xml-utils.c. | |
613 | (gdb_xml_create_parser_and_cleanup_1, xml_fetch_context_from_file): | |
614 | Change nomem to malloc_failure. | |
615 | * xml-support.h (xml_escape_text): Move into common/xml-utils.h. | |
616 | * utils.c (nomem): Rename to malloc_failure. | |
617 | (xmalloc, xzalloc, xrealloc, xcalloc, xfree, xstrprintf, xasprintf, | |
618 | xvasprintf, xstrvprintf, xsnprintf): Move to common/common-utils.c. | |
619 | (gdb_buildargv): Change nomem to malloc_failure. | |
620 | * infrun.c (null_ptid, minus_one_ptid, ptid_build, pid_to_ptid, | |
621 | ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, | |
622 | ptid_is_pid): Move into common/ptid.c. | |
623 | (initialize_infrun): Delete initialization of null_ptid and | |
624 | minus_one_ptid. | |
625 | * linux-nat.c (linux_nat_xfer_osdata): Defer to | |
626 | linux_common_xfer_osdata. | |
627 | * Makefile.in (SFILES): Add common/common-utils.c, common/xml-utils.c, | |
628 | common/ptid.c and common/buffer.c. | |
629 | (HFILES_NO_SRCDIR): Add common/common-utils.h, common/xml-utils.h, | |
630 | common/ptid.h, common/buffer.h and common/linux-osdata.h. | |
631 | (COMMON_OBS): Add xml-utils.o, common-utils.o, buffer.o and ptid.o. | |
632 | (common-utils.o, xml-utils.o, ptid.o, buffer.o, linux-osdata.o): New | |
633 | rules. | |
634 | * common/gdb_assert.h: New. | |
635 | * common/gdb_dirent.h: New. | |
636 | * common/gdb_locale.h: New. | |
637 | * common/buffer.c: New. | |
638 | * common/buffer.h: New. | |
639 | * common/ptid.c: New. | |
640 | * common/ptid.h: New. | |
641 | * common/xml-utils.c: New. | |
642 | * common/xml-utils.h: New. | |
643 | * common/common-utils.c: New. | |
644 | * common/common-utils.h: New. | |
645 | * common/linux-osdata.c: New. | |
646 | * common/linux-osdata.h: New. | |
647 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-osdata.o. | |
648 | * config/arm/linux.mh (NATDEPFILES): Ditto. | |
649 | * config/i386/linux.mh (NATDEPFILES): Ditto. | |
650 | * config/i386/linux64.mh (NATDEPFILES): Ditto. | |
651 | * config/ia64/linux.mh (NATDEPFILES): Ditto. | |
652 | * config/m32r/linux.mh (NATDEPFILES): Ditto. | |
653 | * config/m68k/linux.mh (NATDEPFILES): Ditto. | |
654 | * config/mips/linux.mh (NATDEPFILES): Ditto. | |
655 | * config/pa/linux.mh (NATDEPFILES): Ditto. | |
656 | * config/powerpc/linux.mh (NATDEPFILES): Ditto. | |
657 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Ditto. | |
658 | * config/s390/s390.mh (NATDEPFILES): Ditto. | |
659 | * config/sparc/linux.mh (NATDEPFILES): Ditto. | |
660 | * config/sparc/linux64.mh (NATDEPFILES): Ditto. | |
661 | * config/xtensa/linux.mh (NATDEPFILES): Ditto. | |
662 | ||
edc84990 | 663 | 2011-07-21 Matt Rice <ratmice@gmail.com> |
664 | ||
665 | * NEWS: Add info macros and info definitions commands. | |
666 | ||
3a7bf607 PM |
667 | 2011-07-21 Phil Muldoon <pmuldoon@redhat.com> |
668 | ||
669 | * NEWS: Document Python prompt substitution hook. | |
670 | ||
9b158ba0 | 671 | 2011-07-18 Matt Rice <ratmice@gmail.com> |
672 | ||
673 | PR macros/12999 | |
674 | * macrotab.h (macro_callback_fn): Add new arguments to callback. | |
675 | * macrotab.c (foreach_macro): Ditto. | |
676 | (foreach_macro_in_scope): Ditto. | |
677 | * macrocmd.c (print_macro_callback): New function. | |
678 | (info_macro_command): Move some code to print_macro_definition. | |
679 | (print_macro_definition): New function. | |
680 | (print_one_macro): Add new arguments to callback. | |
681 | (info_definitions_command): New function. | |
682 | (info_macros_command): Ditto. | |
683 | (_initialize_macrocmd): Add info macros and info definitions commands. | |
684 | * symtab.c (add_macro_name): Add new arguments to callback. | |
685 | ||
d17b6f81 PM |
686 | 2011-07-21 Phil Muldoon <pmuldoon@redhat.com> |
687 | Tom Tromey <tromey@redhat.com> | |
688 | ||
689 | * top.c (set_prompt): Rewrite to free previous prompt, free | |
690 | asynch_new_prompt and set both on new prompts. | |
691 | * event-top.c (display_gdb_prompt): Add prompt substitution | |
692 | logic. | |
693 | * python/python.c (before_prompt_hook): New function. | |
694 | ||
1364323a | 695 | 2011-07-20 Matt Rice <ratmice@gmail.com> |
696 | ||
697 | * bfin-tdep.c (bfin_extract_return_value): Fix swapped | |
698 | arguments to store_unsigned_integer. | |
699 | ||
8b70b953 TT |
700 | 2011-07-20 Tom Tromey <tromey@redhat.com> |
701 | ||
6c83ed52 TT |
702 | * dwarf2read.c (process_enumeration_scope): Do not call new_symbol |
703 | in some declaration-only cases. | |
704 | ||
705 | 2011-07-18 Tom Tromey <tromey@redhat.com> | |
706 | ||
8b70b953 TT |
707 | PR symtab/12984: |
708 | * dwarf2read.c (dwarf2_section_info_def): New typedef. | |
709 | (struct dwarf2_per_objfile) <types>: Change to a VEC. | |
710 | (struct dwarf2_per_cu_data) <from_debug_types>: Remove. | |
711 | <debug_type_section>: New field. | |
712 | (dwarf2_locate_sections): Push .debug_types sections onto VEC. | |
713 | (load_cu): Use appropriate section. | |
714 | (create_signatured_type_table_from_index): Add 'section' | |
715 | argument. | |
716 | (dwarf2_read_index): Only allow a single .debug_types section. | |
717 | (dw2_get_file_names): Use appropriate section. | |
718 | (read_type_comp_unit_head): Add 'section' argument. | |
719 | (create_debug_types_hash_table): Loop over all .debug_types | |
720 | sections. | |
721 | (init_cu_die_reader): Use appropriate section. | |
722 | (process_psymtab_comp_unit, load_partial_comp_unit) | |
723 | (load_full_comp_unit, read_die_and_children, find_partial_die) | |
724 | (lookup_die_type, determine_prefix, follow_die_offset): Update. | |
725 | (lookup_signatured_type_at_offset): Add 'section' argument. | |
726 | (read_signatured_type_at_offset): Add 'sect' argument. | |
727 | (read_signatured_type): Use appropriate section. | |
728 | (set_die_type, get_die_type_at_offset): Update. | |
729 | (dwarf2_per_objfile_free): Free all .debug_types sections, and | |
730 | VEC. | |
731 | (write_psymtabs_to_index): Don't allow index with more than one | |
732 | .debug_types section. | |
733 | ||
918dd910 JK |
734 | 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
735 | ||
736 | Fix crash if referenced CU is aged out. | |
737 | * dwarf2loc.c (per_cu_dwarf_call): New variable back_to, use to for | |
738 | xfree of block.data. | |
739 | (indirect_pieced_value): New variable back_to, use to for xfree of | |
740 | baton.data. | |
741 | (dwarf2_compile_expr_to_ax): New variable back_to, use to for xfree of | |
742 | block.data. | |
743 | * dwarf2read.c (dwarf2_find_base_address): New prototype. | |
744 | (load_cu): New function from ... | |
745 | (dw2_do_instantiate_symtab): ... the code here ... | |
746 | (process_full_comp_unit): ... and here. | |
747 | (dwarf2_fetch_die_location_block): Call load_cu first. Call xmemdup on | |
748 | retval.data. | |
749 | ||
0e37a63c JK |
750 | 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
751 | ||
752 | * dwarf2loc.c (indirect_pieced_value): Use check_typedef for VALUE's | |
753 | type. | |
754 | ||
7e324e48 GB |
755 | 2011-07-19 Gary Benson <gbenson@redhat.com> |
756 | ||
757 | * infrun.c (struct execution_control_state): New member | |
758 | stop_func_filled_in. | |
759 | (clear_stop_func, fill_in_stop_func): New functions. | |
760 | (handle_inferior_event): Call clear_stop_func rather than | |
761 | manipulating the execution control state directly. | |
762 | Call fill_in_stop_func lazily as required rather than | |
763 | directly calling find_pc_partial_function in all cases. | |
764 | ||
d48323d8 TT |
765 | 2011-07-18 Tom Tromey <tromey@redhat.com> |
766 | ||
767 | * dwarf2read.c (read_subrange_type): Use attr_form_is_block when | |
768 | checking for variable-sized array. | |
769 | ||
40591b7d JCD |
770 | 2011-07-18 Jean-Charles Delay <delay@adacore.com> |
771 | ||
772 | * varobj.h (varobj_languages): Add vlang_ada definition to the list | |
773 | of supported languages. | |
774 | * varobj.c: Add top definitions and basic implementation of the | |
775 | following callbacks: ada_number_of_children, ada_name_of_variable, | |
776 | ada_name_of_child, ada_path_expr_of_child, ada_value_of_root, | |
777 | ada_value_of_child, ada_type_of_child, ada_value_of_variable. | |
778 | (languages): Register Ada-specific callbacks. | |
779 | (variable_language): Add the Ada case in the language setter switch. | |
780 | ||
2e424e08 JK |
781 | 2011-07-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
782 | ||
783 | * remote-mips.c (pmon_download): Fix ignored return value GCC warning. | |
784 | ||
9e8b7a03 JK |
785 | 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
786 | ||
787 | Code cleanup. | |
788 | * dwarf2-frame.c (dwarf2_frame_ctx_funcs): New. | |
789 | (execute_stack_op): Use dwarf2_frame_ctx_funcs | |
790 | * dwarf2expr.c (dwarf_get_base_type): Access get_base_type via funcs. | |
791 | (execute_stack_op): Access read_reg, get_frame_base, read_mem, | |
792 | get_frame_cfa, get_tls_address and dwarf_call via funcs. | |
793 | * dwarf2expr.h (struct dwarf_expr_context): New forward declaration. | |
794 | (struct dwarf_expr_context_funcs): New, move here methods from ... | |
795 | (struct dwarf_expr_context): ... here. New fields funcs. | |
796 | * dwarf2loc.c (dwarf_expr_dwarf_call): Access get_frame_pc via funcs. | |
797 | (dwarf_expr_ctx_funcs): New. | |
798 | (dwarf2_evaluate_loc_desc_full): Use dwarf_expr_ctx_funcs. | |
799 | (needs_frame_dwarf_call): Access get_frame_pc via funcs. | |
800 | (needs_frame_ctx_funcs): New. | |
801 | (dwarf2_loc_desc_needs_frame): Use needs_frame_ctx_funcs. | |
802 | ||
2b1260ab FM |
803 | 2011-07-15 Fawzi Mohamed <fawzi.mohamed@nokia.com> |
804 | ||
805 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
806 | ||
8bd90839 FM |
807 | 2011-07-15 Fawzi Mohamed <fawzi.mohamed@nokia.com> |
808 | ||
809 | * dwarf2-frame.c (decode_frame_entry, decode_frame_entry_1): Ensure | |
810 | that CIE pointer of an FDE really points to a CIE . | |
811 | ||
953b98d1 HZ |
812 | 2011-07-15 Hui Zhu <teawater@gmail.com> |
813 | ||
814 | * remote.c (remote_get_trace_status): Add comments. | |
815 | ||
c8f2448a JK |
816 | 2011-07-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
817 | ||
818 | Code cleanup - constify struct lval_funcs. | |
819 | * dwarf2loc.c (pieced_value_funcs): Make it const. | |
820 | * infrun.c (siginfo_value_funcs): Likewise. | |
821 | * opencl-lang.c (opencl_value_funcs): Likewise. | |
822 | * valops.c (value_assign, value_ind): Make the funcs variable const. | |
823 | * value.c (struct value): Make location.computed.funcs target const. | |
824 | Rearrange the comments. | |
825 | (allocate_computed_value): Make the funcs parameter target const. | |
826 | (value_computed_funcs): Return the funcs target const. | |
827 | (value_free, value_copy, set_value_component_location): Make the funcs | |
828 | variable const. | |
829 | * value.h (allocate_computed_value): Make the funcs parameter target | |
830 | const. | |
831 | (value_computed_funcs): Return the funcs target const. | |
832 | * windows-tdep.c (tlb_value_funcs): Make it const. | |
833 | ||
f652de6f HZ |
834 | 2011-07-14 Hui Zhu <teawater@gmail.com> |
835 | ||
836 | * remote.c (remote_get_trace_status): Initialize p. | |
837 | ||
67f41397 JK |
838 | 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
839 | ||
840 | Work around kgdb. | |
841 | * remote.c (remote_get_trace_status): New variable ex. Put | |
842 | remote_get_noisy_reply into TRY_CATCH. Call exception_fprintf for it. | |
843 | ||
d1b66e6d TT |
844 | 2011-07-13 Tom Tromey <tromey@redhat.com> |
845 | ||
846 | * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_regval_type>: Use | |
847 | value_from_contents for final conversion. | |
848 | ||
1632a688 JK |
849 | 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
850 | ||
851 | Code cleanup. | |
852 | * dwarf2loc.c (dwarf_expr_frame_base_1, dwarf2_evaluate_loc_desc_full): | |
853 | Indent prototypes so they do not get into tags. | |
854 | ||
a7035dbb JK |
855 | 2011-07-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
856 | ||
857 | Code cleanup making also optimized out values lazy. | |
858 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use | |
859 | allocate_optimized_out_value. Twice. | |
860 | (loclist_read_variable) Use allocate_optimized_out_value. Once. | |
861 | * findvar.c (read_var_value): Likewise. | |
862 | * value.c (allocate_optimized_out_value): New function. | |
863 | * value.h (allocate_optimized_out_value): New declaration. | |
864 | ||
d07ed419 JK |
865 | 2011-07-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
866 | ||
867 | Fix occasional crash of CTRL-C during DWARF read in. | |
868 | * dwarf2read.c (dwarf2_mark_helper): Return on NULL CU. | |
869 | ||
86d31898 TT |
870 | 2011-07-11 Tom Tromey <tromey@redhat.com> |
871 | ||
872 | * regcache.c (struct regcache_descr): Fix typo. | |
873 | * i387-tdep.c (i387_supply_xsave): Fix typo. | |
874 | ||
2ab95328 TT |
875 | 2011-07-11 Tom Tromey <tromey@redhat.com> |
876 | ||
877 | * dwarf2read.c (handle_DW_AT_stmt_list): New function. | |
878 | (read_file_scope, read_type_unit_scope): Use it. | |
879 | ||
04ad99e6 JK |
880 | 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
881 | ||
882 | * dwarf2expr.c (read_sleb128): Fix signed extension overflowing host | |
883 | `int'. | |
884 | ||
713389e0 PM |
885 | 2011-07-11 Phil Muldoon <pmuldoon@redhat.com> |
886 | ||
887 | PR python/12438 | |
888 | * python/python.c: Set gdbpy_should_print_stack default to off. | |
889 | (set_python): Deprecate maint set python print-stack to | |
890 | class_deprecate. | |
891 | (_initialize_python): Deprecate maint set/show python print-stack. | |
892 | Add new prefix command, python. Add new setting, print-backtrace. | |
893 | * NEWS: Document set python print-stack. Document default change. | |
894 | ||
754eadd1 PM |
895 | 2011-07-11 Phil Muldoon <pmuldoon@redhat.com> |
896 | ||
897 | * python/py-inferior.c (infpy_dealloc): New function. | |
898 | (inferior_to_inferior_object): Return a new object, or a | |
899 | new reference to the existing object. | |
900 | (find_thread_object): Cleanup references to inferior. | |
901 | (delete_thread_object): Ditto. | |
902 | * python/py-infthread.c (create_thread_object): Do not increment | |
903 | inferior reference count. | |
904 | ||
5e44ecb3 TT |
905 | 2011-07-08 Tom Tromey <tromey@redhat.com> |
906 | ||
907 | * dwarf2loc.c (locexpr_regname): New function. | |
908 | (locexpr_describe_location_piece): Use it. | |
909 | (disassemble_dwarf_expression): Add per_cu argument. Use | |
910 | locexpr_regname. | |
911 | <DW_OP_GNU_deref_type, DW_OP_GNU_const_type, | |
912 | DW_OP_GNU_regval_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret>: | |
913 | New cases. | |
914 | (locexpr_describe_location_1): Add per_cu argument. | |
915 | (locexpr_describe_location): Update. | |
916 | (loclist_describe_location): Update. | |
917 | ||
e0e9434c TT |
918 | 2011-07-08 Tom Tromey <tromey@redhat.com> |
919 | ||
920 | * dwarf2expr.c (execute_stack_op): Add QUIT. | |
921 | ||
26afc0d7 HZ |
922 | 2011-07-07 Hui Zhu <teawater@gmail.com> |
923 | ||
924 | Revert: | |
925 | 2011-07-06 Hui Zhu <teawater@gmail.com> | |
926 | * remote.c (remote_start_remote): Add TRY_CATCH for | |
927 | remote_get_trace_status. | |
928 | * tracepoint.c (disconnect_tracing): Ditto. | |
929 | ||
a40a111f AB |
930 | 2011-07-07 Andrew Burgess <aburgess@broadcom.com> |
931 | ||
932 | * cli/cli-setshow.c (do_setshow_command): Display var_zinteger | |
933 | variables as signed, not unsigned. | |
934 | ||
e2bd3b15 JB |
935 | 2011-07-06 Joel Brobecker <brobecker@adacore.com> |
936 | ||
937 | * jit.c (jit_inferior_init): Reformat forward declaration. | |
938 | ||
e3d961fe | 939 | 2011-07-06 Matt Rice <ratmice@gmail.com> |
940 | ||
941 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
942 | ||
0f3428f0 HZ |
943 | 2011-07-06 Hui Zhu <teawater@gmail.com> |
944 | ||
945 | * remote.c (remote_start_remote): Add TRY_CATCH for | |
946 | remote_get_trace_status. | |
947 | * tracepoint.c (disconnect_tracing): Ditto. | |
948 | ||
fc9f3a69 TT |
949 | 2011-07-05 Tom Tromey <tromey@redhat.com> |
950 | ||
951 | * symtab.c (operator_chars): Now static. | |
952 | * linespec.c (operator_chars): Don't declare. | |
953 | ||
26e519b9 TJB |
954 | 2011-07-05 Thiago Jung Bauermann <bauerman@br.ibm.com> |
955 | ||
956 | * ui-out.h (ui_out_field_core_addr): Fix typo in comment. | |
957 | ||
eb2a6f42 TT |
958 | 2011-07-05 Tom Tromey <tromey@redhat.com> |
959 | ||
960 | * gnu-v3-abi.c (gnuv3_rtti_type): Check TYPE_CPLUS_REALLY_JAVA. | |
961 | * gdbtypes.h (struct cplus_struct_type) <is_java>: New field. | |
962 | (TYPE_CPLUS_REALLY_JAVA): New macro. | |
963 | * dwarf2read.c (process_structure_scope): Set | |
964 | TYPE_CPLUS_REALLY_JAVA. | |
965 | ||
21083d0f | 966 | 2011-07-05 Thiago Jung Bauermann <bauerman@br.ibm.com> |
177b42fe TJB |
967 | |
968 | * ada-lang.c: Fix typos. | |
969 | * amd64-tdep.c: Likewise. | |
970 | * breakpoint.c: Likewise. | |
971 | * cli/cli-decode.c: Likewise. | |
972 | * findcmd.c: Likewise. | |
973 | * inline-frame.c: Likewise. | |
974 | * mi/mi-main.c: Likewise. | |
975 | * minsyms.c: Likewise. | |
976 | * monitor.c: Likewise. | |
977 | * monitor.h: Likewise. | |
978 | * prologue-value.c: Likewise. | |
979 | * reverse.c: Likewise. | |
980 | * s390-tdep.c: Likewise. | |
981 | ||
3b2a0cf2 JB |
982 | 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com> |
983 | ||
984 | * jit.c (jit_inferior_init): Forward declare. | |
985 | (jit_breakpoint_re_set_internal): Call jit_inferior_init. | |
986 | ||
efae1d92 JB |
987 | 2011-07-04 Joel Brobecker <brobecker@adacore.com> |
988 | ||
989 | * osabi.c (generic_elf_osabi_sniffer): Minor comment reformatting. | |
990 | ||
6040a59d JB |
991 | 2011-07-04 Tristan Gingold <gingold@adacore.com> |
992 | ||
993 | * ada-tasks.c (KNOWN_TASKS_LIST): New macro. | |
994 | (tcb_fieldno): Add activation_link field. | |
995 | (get_known_tasks_addr): Moved and rewritten. | |
996 | (get_tcb_types_info): Set activation_link field. | |
997 | (read_known_tasks_array): Add parameter. Rewritten. | |
998 | (read_known_tasks_list): New function. | |
999 | (read_known_tasks): New function. | |
1000 | (ada_build_task_list): Call read_known_tasks instead of | |
1001 | read_known_tasks_array. | |
1002 | * ravenscar-thread.c: Add first_task_name constant. | |
1003 | (has_ravenscar_runtime): Check for task list too. | |
1004 | ||
cb741e45 JB |
1005 | 2011-07-04 Tristan Gingold <gingold@adacore.com> |
1006 | ||
1007 | * ada-tasks.c: Renames fieldno to actb_fieldno. | |
1008 | (ada_get_task_number): Indentation. | |
1009 | (get_tcb_types_info): Remove all parameters. Write directly | |
1010 | the globals. | |
1011 | (ptid_from_atcb_common): Adjust. | |
1012 | (read_atcb): Adjust. | |
1013 | ||
7475b06c TJB |
1014 | 2011-07-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1015 | ||
1016 | * symtab.c (in_prologue): Remove mention of ppc's refine_prologue_limit. | |
1017 | ||
15230f37 TJB |
1018 | 2011-07-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1019 | ||
1020 | * ui-out.c (ui_out_field_core_addr): Mention that the function | |
1021 | description is in the header file. | |
1022 | * ui-out.h (ui_out_field_core_addr): Document function. | |
1023 | ||
65743aba TJB |
1024 | 2011-07-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1025 | ||
1026 | * ui-out.c (ui_out_get_field_separator): Remove unused function. | |
1027 | * ui-out.h (ui_out_get_field_separator): Remove prototype. | |
1028 | ||
c37a5aab TJB |
1029 | 2011-07-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1030 | ||
1031 | * symtab.c (expand_line_sal): Remove empty line. | |
1032 | ||
59adf69e TS |
1033 | 2011-07-04 Thomas Schwinge <thomas@schwinge.name> |
1034 | ||
1035 | * osabi.c (generic_elf_osabi_sniffer) <ELFOSABI_GNU>: Handle in the | |
1036 | same way as ELFOSABI_NONE. | |
1037 | <ELFOSABI_LINUX, ELFOSABI_HURD>: Remove cases. | |
1038 | ||
e5dd4106 TJB |
1039 | 2011-07-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1040 | ||
1041 | * breakpoint.c: Fix typos in comments. | |
1042 | * linespec.c: Likewise. | |
1043 | * symtab.c: Likewise. | |
1044 | ||
d40102a1 JB |
1045 | 2011-07-04 Joel Brobecker <brobecker@adacore.com> |
1046 | ||
1047 | * dwarf2-frame.c (dwarf2_build_frame_info): Do not load .eh_frame | |
1048 | section in separate object files. | |
1049 | ||
2f741504 JK |
1050 | 2011-07-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
1051 | ||
1052 | Fix false GCC warning. | |
1053 | * linespec.c (decode_line_1): Initialize values. | |
1054 | ||
418c7cf7 JK |
1055 | 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1056 | ||
1057 | * linespec.c (find_method): Accept the function type automatically only | |
1058 | if it was specified with parameter types. | |
1059 | ||
3d50dd94 JK |
1060 | 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1061 | ||
1062 | Stop on first linespec terminator instead of eating what we can. | |
1063 | * linespec.c (is_linespec_boundary): New function. | |
1064 | (name_end): Remove function. | |
1065 | (keep_name_info): New parameter on_boundary, replace the body. | |
1066 | (decode_line_1): Provide the parameter to keep_name_info. | |
1067 | (decode_compound): Likewise. Drop the trailing java return type | |
1068 | handling. Twice. | |
1069 | ||
dcf9f4ab JK |
1070 | 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1071 | ||
1072 | Fall back linespec to minimal symbols. | |
1073 | * linespec.c (decode_line_1): New variable ex, saved_argptr. Protect | |
1074 | decode_compound by TRY_CATCH, fall back on minsyms if it failed. | |
1075 | (find_method, symbol_found): Change error to cplusplus_error. | |
1076 | ||
3f542ed1 JK |
1077 | 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1078 | ||
bc68c4e5 | 1079 | * symtab.c (symbol_find_demangled_name): Remove DMGL_VERBOSE. |
3f542ed1 | 1080 | |
900e11f9 JK |
1081 | 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1082 | Tom Tromey <tromey@redhat.com> | |
1083 | ||
1084 | * dwarf2read.c (check_physname): New variable. | |
1085 | (dwarf2_physname): Prefer DW_AT_linkage_name over dwarf2_compute_name. | |
1086 | (show_check_physname): New function. | |
1087 | (_initialize_dwarf2_read): Add `check-physname' for check_physname. | |
1088 | ||
2301925d JB |
1089 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1090 | ||
1091 | * machoread.c (macho_symfile_read): Delete OBE comment. | |
1092 | ||
38947cca JB |
1093 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1094 | ||
1095 | * machoread.c (struct macho_oso_data): Delete. | |
1096 | (current_oso): Delete. | |
1097 | (macho_relocate_common_syms): New function, mostly extracted | |
1098 | out of | |
1099 | (macho_add_oso_symfile): Call macho_relocate_common_syms. | |
1100 | Remove code that sets and unset current_oso. | |
1101 | (macho_symfile_relocate): Delete handling of common symbols, | |
1102 | now moved to macho_relocate_common_syms. | |
1103 | ||
a7aa0d73 JB |
1104 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1105 | ||
1106 | * darwin-nat.c (darwin_ptrace): Add documentation. | |
1107 | Set errno to zero before calling ptrace. If ptrace returns | |
1108 | -1 and errno is zero, then change then return zero. | |
1109 | (darwin_kill_inferior): Issue a warning instead of triggering | |
1110 | a failed assertion when the PT_KILL ptrace operations returned | |
1111 | nonzero. | |
1112 | ||
5e9bc145 JB |
1113 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1114 | ||
1115 | * darwin-nat.c (darwin_detach): Call darwin_resume_inferior | |
1116 | only when inf->private->no_ptrace. | |
1117 | ||
00eb2c4a JB |
1118 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1119 | ||
1120 | * ada-lang.c (print_it_exception): Print temporary catchpoints | |
1121 | as "Temporary catchpoint". | |
1122 | (print_mention_exception): Likewise. | |
1123 | ||
127c81bc TT |
1124 | 2011-07-01 Tom Tromey <tromey@redhat.com> |
1125 | ||
1126 | * jv-lang.c (java_language_defn): Use java_printchar, | |
1127 | java_printstr. | |
1128 | (java_get_encoding): New function. | |
1129 | (java_emit_char): Use generic_emit_char. | |
1130 | (java_printchar): New function. | |
1131 | (java_printstr): Likewise. | |
1132 | ||
25552254 JB |
1133 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1134 | ||
1135 | * ada-typeprint.c (print_record_type): If unable to decode | |
1136 | the name of the parent type, use the encoded name. | |
1137 | ||
d2d43431 JB |
1138 | 2011-07-01 Jean-Charles Delay <delay@adacore.com> |
1139 | ||
1140 | * ada-typeprint.c (ada_print_type): Fix both PAD type and | |
1141 | pointer to constrained packed array type output. | |
1142 | * ada-valprint.c (ada_val_print_1): Fix pointer to constrained | |
1143 | packed array output. | |
1144 | ||
54ae186f JB |
1145 | 2011-07-01 Jean-Charles Delay <delay@adacore.com> |
1146 | ||
1147 | * ada-typeprint.c (print_array_type): removed if condition on show | |
1148 | being negative for bounds printing. | |
1149 | ||
8f17729f JB |
1150 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1151 | ||
1152 | * ada-lang.c (ada_identical_enum_types_p): New function. | |
1153 | (symbols_are_identical_enums): New function. | |
1154 | (remove_extra_symbols): Do nothing if NSYMS < 2. | |
1155 | Use symbols_are_identical_enums. | |
1156 | ||
f5aa6869 JB |
1157 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1158 | ||
1159 | * ada-valprint.c (ada_value_print): Handle typedefs. | |
1160 | ||
8f465ea7 JB |
1161 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1162 | ||
1163 | * ada-lang.c (ada_evaluate_subexp): Add missing word in comment. | |
1164 | ||
828292f2 JB |
1165 | 2011-07-01 Eric Botcazou <ebotcazou@adacore.com> |
1166 | ||
1167 | * ada-lang.c (thin_descriptor_type): Deal with typedefs. | |
1168 | (decode_constrained_packed_array): Likewise. | |
1169 | (ada_evaluate_subexp) <TERNOP_SLICE>: Likewise. | |
1170 | ||
18920c42 JB |
1171 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1172 | ||
1173 | * ada-exp.y (convert_char_literal): Handle typedef types. | |
1174 | ||
c90092fe JB |
1175 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1176 | ||
1177 | * ada-lang.c (ada_remove_trailing_digits): Expand documentation. | |
1178 | ||
f748fb40 TT |
1179 | 2011-06-30 Tom Tromey <tromey@redhat.com> |
1180 | ||
1181 | * varobj.c (varobj_create): Call do_cleanups on early exit path. | |
1182 | * valops.c (find_overload_match): Call do_cleanups on early exit | |
1183 | path. | |
1184 | * solib.c (solib_find): Call do_cleanups on early exit path. | |
1185 | ||
3bb47e8b TT |
1186 | 2011-06-30 Tom Tromey <tromey@redhat.com> |
1187 | ||
1188 | * symfile-mem.c (symbol_file_add_from_memory): Call do_cleanups. | |
1189 | * solib-svr4.c (open_symbol_file_object): Call do_cleanups on all | |
1190 | return paths. Defer final do_cleanups until last return. | |
1191 | * arm-tdep.c (arm_exidx_new_objfile): Make null cleanup after | |
1192 | early return. | |
1193 | ||
4727bad3 TT |
1194 | 2011-06-30 Tom Tromey <tromey@redhat.com> |
1195 | ||
1196 | * Makefile.in (SUBDIR_MI_CFLAGS): Don't add -DMI_OUT=1. | |
1197 | ||
bb361dbf AB |
1198 | 2011-06-30 Andrew Burgess <aburgess@broadcom.com> |
1199 | ||
1200 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
1201 | ||
e0d00bc7 JK |
1202 | 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
1203 | ||
1204 | Disable epilogue unwinders on recent GCCs. | |
1205 | * amd64-tdep.c (amd64_in_function_epilogue_p): New variable symtab, | |
1206 | initialize it, return 0 on EPILOGUE_UNWIND_VALID. | |
1207 | * dwarf2read.c (process_full_comp_unit): Initialize | |
1208 | EPILOGUE_UNWIND_VALID. | |
1209 | * i386-tdep.c (i386_in_function_epilogue_p): New variable symtab, | |
1210 | initialize it, return 0 on EPILOGUE_UNWIND_VALID. | |
1211 | * symtab.h (struct symtab): New field epilogue_unwind_valid. | |
1212 | ||
4632c0d0 JK |
1213 | 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
1214 | ||
1215 | Code cleanup - reformatting. | |
1216 | * dwarf2read.c (producer_is_gcc_ge_4_0): Rename to ... | |
1217 | (producer_is_gcc_ge_4): ... here, change the return value. | |
1218 | (process_full_comp_unit): New variable gcc_4_minor, adjust the value | |
1219 | interpretation. | |
1220 | ||
32019081 JK |
1221 | 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
1222 | ||
1223 | Fix non-only rename list for Fortran modules import. | |
1224 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Adjust the | |
1225 | cp_add_using_directive caller. | |
1226 | (cp_add_using_directive): New parameter excludes, describe it. New | |
1227 | variables ix and param. Compare if also excludes match. Allocate NEW | |
1228 | with variable size, initialize EXCLUDES there. | |
1229 | (cp_lookup_symbol_imports): New variable excludep, test | |
1230 | current->EXCLUDES with it. | |
1231 | * cp-support.h: Include vec.h. | |
1232 | (struct using_direct): New field excludes, describe it. | |
1233 | (DEF_VEC_P (const_char_ptr)): New. | |
1234 | (cp_add_using_directive): New parameter excludes. | |
1235 | * defs.h (const_char_ptr): New typedef. | |
1236 | * dwarf2read.c (read_import_statement): New variables child_die, | |
1237 | excludes and cleanups, read in excludes. | |
1238 | (read_namespace): Adjust the cp_add_using_directive caller. | |
1239 | ||
70c622a3 JK |
1240 | 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
1241 | ||
1242 | Code cleanup. | |
1243 | * cp-namespace.c (cp_add_using_directive): Turn positive comparison to | |
1244 | negative comparisons. | |
1245 | ||
39c4d40a TT |
1246 | 2011-06-29 André Pönitz <andre.poenitz@nokia.com> |
1247 | ||
1248 | * mi/mi-main.c (mi_cmd_list_features): Emit | |
1249 | breakpoint-notifications. | |
1250 | ||
3b2b8fea TT |
1251 | 2011-06-29 Tom Tromey <tromey@redhat.com> |
1252 | ||
1253 | PR fortran/10036: | |
1254 | * valprint.h (generic_emit_char, generic_printstr): Declare. | |
1255 | * valprint.c (wchar_printable, append_string_as_wide) | |
1256 | (print_wchar): Move from c-lang.c. | |
1257 | (generic_emit_char): New function; mostly taken from c_emit_char. | |
1258 | (generic_printstr): New function; mostly taken from c_printstr. | |
1259 | * f-valprint.c (f_val_print) <TYPE_CODE_ARRAY>: Handle strings | |
1260 | represented as arrays. | |
1261 | <TYPE_CODE_CHAR>: Treat as TYPE_CODE_INT; recognize as character | |
1262 | type. | |
1263 | * f-typeprint.c (f_type_print_base) <TYPE_CODE_CHAR>: Treat | |
1264 | identically to TYPE_CODE_INT. | |
1265 | * f-lang.c (f_get_encoding): New function. | |
1266 | (f_emit_char): Use generic_emit_char. | |
1267 | (f_printchar): Replace comment. | |
1268 | (f_printstr): Use generic_printstr. | |
1269 | * dwarf2read.c (read_base_type) <DW_ATE_unsigned>: Handle Fortran | |
1270 | "character" types specially. | |
1271 | <DW_ATE_signed_char, DW_ATE_unsigned_char>: Make TYPE_CODE_CHAR | |
1272 | for Fortran. | |
1273 | * c-lang.c (wchar_printable, append_string_as_wide, print_wchar): | |
1274 | Move to valprint.c | |
1275 | (c_emit_char): Call generic_emit_char. | |
1276 | (c_printstr): Call generic_printstr. | |
1277 | ||
168e6d44 GB |
1278 | 2011-06-29 Gary Benson <gbenson@redhat.com> |
1279 | ||
1280 | * breakpoint.c (bpstat_what): Removed duplicated case. | |
1281 | ||
1c033f8c TT |
1282 | 2011-06-28 Tom Tromey <tromey@redhat.com> |
1283 | ||
1284 | * python/python-internal.h (PY_SSIZE_T_CLEAN): Define. | |
1285 | ||
5fe41fbf TT |
1286 | 2011-06-27 Tom Tromey <tromey@redhat.com> |
1287 | ||
1288 | * valops.c (find_overload_match): Call do_cleanups before early | |
1289 | return. | |
1290 | * top.c (execute_command): Call do_cleanups before early return. | |
1291 | (command_loop): Likewise. | |
1292 | * stack.c (backtrace_command): Make a null cleanup early. Don't | |
1293 | conditionally call do_cleanups. | |
1294 | * python/py-value.c (TRY_CATCH): Move cleanup handling into | |
1295 | TRY_CATCH. | |
1296 | * python/py-breakpoint.c (gdbpy_breakpoint_has_py_cond): Rearrange | |
1297 | so cleanups are always run. | |
1298 | * mi/mi-cmd-var.c (mi_cmd_var_delete): Reset old_cleanups. | |
1299 | * findcmd.c (parse_find_args): Call do_cleanups on early return | |
1300 | path. | |
1301 | * dbxread.c (elfstab_build_psymtabs): Make a null cleanup early. | |
1302 | Don't conditionally call do_cleanups. | |
1303 | * cli/cli-script.c (execute_user_command): Initialize 'old_chain' | |
1304 | later. | |
1305 | ||
e26bd57d EB |
1306 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
1307 | ||
1308 | * MAINTAINERS (Write After Approval): Use default email address. | |
1309 | ||
6c3097fc JB |
1310 | 2011-06-27 Joel Brobecker <brobecker@adacore.com> |
1311 | ||
1312 | * MAINTAINERS (Write After Approval): Add Eric Botcazou. | |
1313 | ||
369c397b JB |
1314 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
1315 | ||
1316 | * sparc-tdep.h (struct sparc_frame_cache): Add frame_offset, | |
1317 | saved_regs_mask and copied_regs_mask fields. | |
1318 | (sparc_record_save_insn): New prototype. | |
1319 | * sparc-tdep.c (sparc_alloc_frame_cache): Initialize the new fields. | |
1320 | (sparc_record_save_insn): New function. | |
1321 | (sparc_analyze_prologue): Add head comment. Recognize store insns | |
1322 | of call-saved registers. Use OFFSET consistently. Recognize flat | |
1323 | frames and cache their settings. | |
1324 | (sparc32_skip_prologue): Handle flat frames. | |
1325 | (sparc_frame_cache): Add frame_offset to the base address. | |
1326 | (sparc32_frame_cache): Adjust to new frame description. | |
1327 | (sparc32_frame_prev_register): Likewise. | |
1328 | * sparc64-tdep.c (sparc64_frame_prev_register): Likewise. | |
1329 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise. | |
1330 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise. | |
1331 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_cache): Force the | |
1332 | frame by calling sparc_record_save_insn. | |
1333 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_cache): Likewise. | |
1334 | * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_cache): Likewise. | |
1335 | * sparc64obsd-tdep.c (sparc64obsd_frame_cache): Likewise. | |
1336 | ||
b315ab21 TG |
1337 | 2011-06-27 Tristan Gingold <gingold@adacore.com> |
1338 | ||
1339 | * dwarf2read.c (struct dwarf2_section_info): Replace was_mmapped | |
1340 | field by map_addr and map_len. | |
1341 | (dwarf2_read_section): Adjust for the new bfd_mmap api. | |
1342 | (munmap_section_buffer): Likewise. | |
1343 | ||
ddd49eee TT |
1344 | 2011-06-24 Tom Tromey <tromey@redhat.com> |
1345 | ||
1346 | * varobj.c (update_dynamic_varobj_children): Make 'name' const. | |
1347 | * symtab.h (lookup_struct, lookup_union, lookup_enum): Update. | |
1348 | * python/python.c (gdbpy_parameter): Make 'arg' const. | |
1349 | (execute_gdb_command): Likewise. | |
1350 | (gdbpy_decode_line): Likewise. Copy it. | |
1351 | (gdbpy_parse_and_eval): Make 'expr_string' const. Copy it. | |
1352 | (gdbpy_write): Make 'arg' const. | |
1353 | * python/py-type.c (typy_lookup_typename): Make 'type_name' | |
1354 | const. | |
1355 | (gdbpy_lookup_type): Likewise. | |
1356 | * python/py-prettyprint.c (print_children): Make 'name' const. | |
1357 | * python/py-param.c (parmpy_init): Make 'name' const. Copy it. | |
1358 | * python/py-inferior.c (infpy_write_memory): Make 'buf_len' a | |
1359 | Py_ssize_t. | |
1360 | * python/py-function.c (fnpy_init): Make 'name' const. | |
1361 | * python/py-cmd.c (cmdpy_init): Make 'name' const. Copy it. | |
1362 | (gdbpy_string_to_argv): Make 'input' const. | |
1363 | * python/py-breakpoint.c (bppy_init): Make 'spec' const. Copy | |
1364 | it. | |
1365 | * gdbtypes.h (lookup_typename): Update. | |
1366 | * gdbtypes.c (lookup_typename): Make 'name' const. | |
1367 | (lookup_struct): Likewise. | |
1368 | (lookup_union): Likewise. | |
1369 | (lookup_enum): Likewise. | |
1370 | ||
5998129b TT |
1371 | 2011-06-24 Tom Tromey <tromey@redhat.com> |
1372 | ||
1373 | * Makefile.in (HFILES_NO_SRCDIR): Add "common/" to | |
1374 | gdb_thread_db.h. Move all common/ entries to be together. | |
1375 | (TAGS): Don't depend on DEPFILES. | |
1376 | ||
6e586cc5 YQ |
1377 | 2011-06-23 Yao Qi <yao@codesourcery.com> |
1378 | ||
1379 | * infrun.c (start_remote): Move call init_wait_for_inferior to ... | |
1380 | * remote.c (remote_start_remote): ... here. | |
1381 | * monitor.c (monitor_open): ... here. | |
1382 | ||
86c3c1fc AB |
1383 | 2011-06-23 Andrew Burgess <aburgess@broadcom.com> |
1384 | ||
1385 | * gdbtypes.c (append_composite_type_field_aligned): Fix | |
1386 | calculation of bit position based on alignment. | |
1387 | ||
28010a5d PA |
1388 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1389 | ||
1390 | * breakpoint.c (bpstat_stop_status): Call the check_status | |
1391 | breakpoint_ops method. | |
1392 | (print_one_breakpoint_location): Also print the condition for Ada | |
1393 | exception catchpoints. | |
1394 | (allocate_bp_location): New, factored out from | |
1395 | allocate_bp_location. | |
1396 | (allocate_bp_location): Adjust. Call the owner breakpoint's | |
1397 | allocate_location method, if there is one. | |
1398 | (free_bp_location): Call the locations's dtor method, if there is | |
1399 | one. | |
1400 | (init_raw_breakpoint_without_location): New breakpoint_ops | |
1401 | parameter. Use it. | |
1402 | (set_raw_breakpoint_without_location): Adjust. | |
1403 | (init_raw_breakpoint): New breakpoint_ops parameter. Pass it down. | |
1404 | (set_raw_breakpoint): Adjust. | |
1405 | (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops) | |
1406 | (catch_syscall_breakpoint_ops): Install NULL allocate_location, | |
1407 | re_set and check_status methods. | |
1408 | (init_catchpoint): Don't memset, initialize thread, addr_string | |
1409 | and enable_state. Pass the ops down to init_raw_breakpoint. | |
1410 | (install_catchpoint): Rename to ... | |
1411 | (install_breakpoint): ... this, and make extern. | |
1412 | (create_fork_vfork_event_catchpoint): Adjust. | |
1413 | (catch_exec_breakpoint_ops): Install NULL allocate_location, | |
1414 | re_set and check_status methods. | |
1415 | (create_syscall_event_catchpoint): Adjust. | |
1416 | (ranged_breakpoint_ops, watchpoint_breakpoint_ops) | |
1417 | (masked_watchpoint_breakpoint_ops): Install NULL | |
1418 | allocate_location, re_set and check_status methods. | |
1419 | (catch_exec_command_1): Adjust. | |
1420 | (gnu_v3_exception_catchpoint_ops): Install NULL allocate_location, | |
1421 | re_set and check_status methods. | |
1422 | (create_ada_exception_breakpoint): Rename to ... | |
1423 | (init_ada_exception_breakpoint): ... this. Add a struct | |
1424 | breakpoint parameter, and delete the exp_string, cond_string and | |
1425 | cond parameters. Use init_raw_breakpoint, and don't install or | |
1426 | mention the breakpoint yet. Don't clear breakpoint fields that | |
1427 | init_raw_breakpoint already clears. | |
1428 | (re_set_breakpoint): Delete, split into ... | |
1429 | (breakpoint_re_set_default, prepare_re_set_context): ... these new | |
1430 | functions. | |
1431 | (breakpoint_re_set_one): Call the breakpoint's | |
1432 | breakpoint_ops->re_set implementation, if there's one. Adjust. | |
1433 | * breakpoint.h: Forward declare struct bpstats and struct bp_location. | |
1434 | (struct bp_location_ops): New type. | |
1435 | (struct bp_location): New field `ops'. | |
1436 | (struct breakpoint_ops): New `allocate_location', `re_set' and | |
1437 | `check_status' fields. Make `breakpoint_hit''s description match | |
1438 | reality. | |
1439 | (init_bp_location): Declare. | |
1440 | (breakpoint_re_set_default): Declare. | |
1441 | (create_ada_exception_breakpoint): Rename to ... | |
1442 | (init_ada_exception_breakpoint): ... this. Add a struct | |
1443 | breakpoint parameter, and delete the exp_string, cond_string and | |
1444 | cond parameters. | |
1445 | (install_breakpoint): Declare. | |
1446 | * ada-lang.c: Include exceptions.h. | |
1447 | <Ada exceptions description>: Update. | |
1448 | (struct ada_catchpoint_location): New type. | |
1449 | (ada_catchpoint_location_dtor): New function. | |
1450 | (ada_catchpoint_location_ops): New global. | |
1451 | (ada_catchpoint): New type. | |
1452 | (create_excep_cond_exprs): New function. | |
1453 | (dtor_exception, allocate_location_exception, re_set_exception) | |
1454 | (should_stop_exception, check_status_exception): New functions. | |
1455 | (print_one_exception, print_mention_exception) | |
1456 | (print_recreate_exception): Adjust. | |
1457 | (dtor_catch_exception, allocate_location_catch_exception) | |
1458 | (re_set_catch_exception, check_status_catch_exception): New | |
1459 | functions. | |
1460 | (catch_exception_breakpoint_ops): Install them. | |
1461 | (dtor_catch_exception_unhandled) | |
1462 | (allocate_location_catch_exception_unhandled) | |
1463 | (re_set_catch_exception_unhandled) | |
1464 | (check_status_catch_exception_unhandled): New functions. | |
1465 | (catch_exception_unhandled_breakpoint_ops): Install them. | |
1466 | (dtor_catch_assert, allocate_location_catch_assert) | |
1467 | (re_set_catch_assert, check_status_catch_assert): New functions. | |
1468 | (catch_assert_breakpoint_ops): Install them. | |
1469 | (ada_exception_catchpoint_p): Delete. | |
1470 | (catch_ada_exception_command_split) | |
1471 | (ada_exception_catchpoint_cond_string): Rename exp_string | |
1472 | parameter to excep_string. Adjust. | |
1473 | (ada_parse_catchpoint_condition): Delete. | |
1474 | (ada_exception_sal): Rename the exp_string parameter to | |
1475 | excep_string. Delete the cond_string and cond parameters. | |
1476 | Adjust. | |
1477 | (ada_decode_exception_location): Rename the exp_string parameter | |
1478 | to excep_string. Delete the cond_string and cond parameters. | |
1479 | Adjust. | |
1480 | (create_ada_exception_catchpoint): New function. | |
1481 | (catch_ada_exception_command, ada_decode_assert_location) | |
1482 | (catch_assert_command): Adjust. | |
1483 | * ada-lang.h (ada_exception_catchpoint_p): Delete declaration. | |
1484 | ||
9ac4176b PA |
1485 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1486 | ||
1487 | * ada-lang.c: Include arch-utils.h. | |
1488 | (ada_decode_exception_location): Make static. | |
1489 | (catch_ada_exception_command): Moved here from breakpoint.c. | |
1490 | (ada_decode_assert_location): Make static. | |
1491 | (catch_assert_command): Moved here from breakpoint.c. | |
1492 | (_initialize_ada_lang): Install the exception and assert | |
1493 | catchpoint commands here. | |
1494 | * ada-lang.h (ada_decode_exception_location) | |
1495 | (ada_decode_assert_location): Delete declarations. | |
1496 | * breakpoint.c (CATCH_PERMANENT, CATCH_TEMPORARY): Moved to | |
1497 | breakpoint.h. | |
1498 | (create_ada_exception_breakpoint): Make extern. | |
1499 | (catch_ada_exception_command, catch_assert_command): Moved to | |
1500 | ada-lang.c. | |
1501 | (add_catch_command): Make extern. | |
1502 | (_initilize_breakpoint): Don't install the exception and assert | |
1503 | catchpoint commands here. | |
1504 | * breakpoint.h (CATCH_PERMANENT, CATCH_TEMPORARY): Moved from | |
1505 | breakpoint.c | |
1506 | (add_catch_command, create_ada_exception_breakpoint): Declare. | |
1507 | ||
c56053d2 PA |
1508 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1509 | ||
1510 | * breakpoint.c (init_raw_breakpoint_without_location): Don't add | |
1511 | the breakpoint to the breakpoint chain here. | |
1512 | (set_raw_breakpoint_without_location): Add the breakpoint to the | |
1513 | breakpoint chain here. | |
1514 | (init_raw_breakpoint): Adjust comments. | |
1515 | (set_raw_breakpoint): Add the breakpoint to the breakpoint chain | |
1516 | here. | |
1517 | (init_catchpoint): Don't set the catchpoint's breakpoint number | |
1518 | here. | |
1519 | (install_catchpoint): New function. | |
1520 | (create_fork_vfork_event_catchpoint) | |
1521 | (create_syscall_event_catchpoint, catch_exec_command_1): Adjust to | |
1522 | use install_catchpoint. | |
1523 | ||
d2f3fc74 PA |
1524 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1525 | ||
1526 | * breakpoint.c (create_catchpoint_without_mention) | |
1527 | (create_catchpoint): Delete. | |
1528 | ||
b4d90040 PA |
1529 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1530 | ||
1531 | * breakpoint.h (struct breakpoint): Delete field `exec_pathname'. | |
1532 | * breakpoint.c (init_raw_breakpoint_without_location): Remove | |
1533 | reference to exec_pathname. | |
1534 | (struct exec_catchpoint): New type. | |
1535 | (dtor_catch_exec): New function. | |
1536 | (insert_catch_exec, print_it_catch_exec, print_one_catch_exec): Adjust. | |
1537 | (catch_exec_breakpoint_ops): Install dtor_catch_syscall. | |
1538 | (catch_exec_command_1): Adjust to use init_catchpoint. | |
1539 | (delete_breakpoint): Remove reference to exec_pathname. | |
1540 | ||
be5c67c1 PA |
1541 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1542 | ||
1543 | * breakpoint.h (struct breakpoint_ops): New field `dtor'. | |
1544 | (struct breakpoint): Delete field `syscalls_to_be_caught'. | |
1545 | * breakpoint.c (init_raw_breakpoint_without_location): Remove | |
1546 | reference to syscalls_to_be_caught. | |
1547 | (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops): Install a | |
1548 | NULL `dtor'. | |
1549 | (struct syscall_catchpoint): New type. | |
1550 | (dtor_catch_syscall): New function. | |
1551 | (insert_catch_syscall, remove_catch_syscall) | |
1552 | (breakpoint_hit_catch_syscall, print_one_catch_syscall) | |
1553 | (print_recreate_catch_syscall): Adjust. | |
1554 | (catch_syscall_breakpoint_ops): Install dtor_catch_syscall. | |
1555 | (catch_exec_breakpoint_ops): Install a NULL `dtor'. | |
1556 | (create_syscall_event_catchpoint): Adjust to use init_catchpoint. | |
1557 | (ranged_breakpoint_ops, watchpoint_breakpoint_ops) | |
1558 | (masked_watchpoint_breakpoint_ops) | |
1559 | (gnu_v3_exception_catchpoint_ops): Install a NULL `dtor'. | |
1560 | (delete_breakpoint): Call the `dtor' breakpoint_ops method, if | |
1561 | there is one. Remove references to syscalls_to_be_caught. | |
1562 | (catching_syscall_number): Adjust. | |
1563 | * ada-lang.c (catch_exception_breakpoint_ops) | |
1564 | (catch_exception_unhandled_breakpoint_ops) | |
1565 | (catch_assert_breakpoint_ops): Install a NULL `dtor'. | |
1566 | ||
e29a4733 PA |
1567 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1568 | ||
1569 | * breakpoint.h (struct breakpoint): Delete forked_inferior_pid | |
1570 | field. | |
1571 | * breakpoint.c (init_raw_breakpoint_without_location): Remove | |
1572 | reference to forked_inferior_pid. | |
1573 | (struct fork_catchpoint): New type. | |
1574 | (breakpoint_hit_catch_fork, print_it_catch_fork) | |
1575 | (print_one_catch_fork, breakpoint_hit_catch_vfork) | |
1576 | (print_it_catch_vfork, print_one_catch_vfork): Adjust. | |
1577 | (create_fork_vfork_event_catchpoint): Adjust to use | |
1578 | init_catchpoint. | |
1579 | ||
346774a9 PA |
1580 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1581 | ||
1582 | * breakpoint.c (add_to_breakpoint_chain) | |
1583 | (init_raw_breakpoint_without_location): New functions, factored | |
1584 | out from ... | |
1585 | (set_raw_breakpoint_without_location): ... this one. | |
1586 | (init_raw_breakpoint): New function, factored out from | |
1587 | set_raw_breakpoint and adjusted to use | |
1588 | init_raw_breakpoint_without_location. | |
1589 | (set_raw_breakpoint): Adjust. | |
1590 | (init_catchpoint): New function, factored out from | |
1591 | create_catchpoint_without_mention and adjusted to use | |
1592 | init_raw_breakpoint. | |
1593 | (create_catchpoint_without_mention): Adjust. | |
1594 | ||
c38c4bc5 TT |
1595 | 2011-06-22 Tom Tromey <tromey@redhat.com> |
1596 | ||
1597 | * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_convert>: Treat type | |
1598 | argument of 0 specially. | |
1599 | ||
b138ce37 YQ |
1600 | 2011-06-22 Yao Qi <yao@codesourcery.com> |
1601 | ||
1602 | * infrun.c (handle_inferior_event): Remove write-only local variable | |
1603 | `sw_single_step_trap_p'. | |
1604 | ||
03de6823 TT |
1605 | 2011-06-20 Tom Tromey <tromey@redhat.com> |
1606 | ||
1607 | * symtab.c (lookup_language_this): End loop if block is NULL. | |
1608 | ||
66a17cb6 TT |
1609 | 2011-06-17 Tom Tromey <tromey@redhat.com> |
1610 | ||
1611 | * valops.c (value_of_this): Use lookup_language_this. | |
1612 | * symtab.h (lookup_language_this): Declare. | |
1613 | * symtab.c (lookup_language_this): New function. | |
1614 | (lookup_symbol_aux): Use lookup_language_this. | |
1615 | * ax-gdb.c (gen_expr) <OP_THIS>: Use lookup_language_this. | |
1616 | ||
7518bff5 TT |
1617 | 2011-06-17 Tom Tromey <tromey@redhat.com> |
1618 | ||
1619 | * value.h (value_of_this): Update. | |
1620 | (value_of_local): Remove. | |
1621 | * valops.c (value_of_this): Rename from value_of_local. Change | |
1622 | parameters. | |
1623 | * p-exp.y (exp): Update. | |
1624 | (variable): Likewise. | |
1625 | * eval.c (evaluate_subexp_standard) <OP_THIS>: Use value_of_this. | |
1626 | ||
aee28ec6 TT |
1627 | 2011-06-17 Tom Tromey <tromey@redhat.com> |
1628 | ||
1629 | * valops.c (value_of_local): Complain if NAME is NULL. | |
1630 | * std-operator.def (OP_OBJC_SELF): Remove. | |
1631 | * parse.c (operator_length_standard) <OP_OBJC_SELF>: Remove. | |
1632 | * objc-exp.y (name_not_typename): Use OP_THIS. | |
1633 | * expprint.c (print_subexp_standard) <OP_THIS>: Print language's | |
1634 | name for "this". | |
1635 | <OP_OBJC_SELF>: Remove. | |
1636 | * eval.c (evaluate_subexp_standard) <OP_OBJC_SELF>: Remove. | |
1637 | ||
eed8f803 TG |
1638 | 2011-06-16 Tristan Gingold <gingold@adacore.com> |
1639 | ||
1640 | * python/py-events.h (gdb_py_events): Make it extern. | |
1641 | * python/py-evtregistry.c (gdb_py_events): Declare. | |
1642 | ||
864ac8a7 HZ |
1643 | 2011-06-16 Hui Zhu <teawater@gmail.com> |
1644 | ||
1645 | * remote.c (remote_trace_set_readonly_regions): Add check for | |
1646 | remote_protocol_packets[PACKET_qXfer_traceframe_info].support before | |
1647 | output warning. | |
1648 | ||
ef7e8358 UW |
1649 | 2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org> |
1650 | ||
1651 | * arm-linux-tdep.c: Include "auxv.h". | |
1652 | (AT_HWCAP): Define. | |
1653 | (ARM_LINUX_SIZEOF_VFP): Define. | |
1654 | (arm_linux_supply_vfp): New function. | |
1655 | (arm_linux_collect_vfp): Likewise. | |
1656 | (arm_linux_regset_from_core_section): Handle .reg-arm-vfp sections. | |
1657 | (arm_linux_fpa_regset_sections): New variable. | |
1658 | (arm_linux_vfp_regset_sections): Likewise. | |
1659 | (arm_linux_core_read_description): New function. | |
1660 | (arm_linux_init_abi): Install arm_linux_core_read_description and | |
1661 | arm_linux_fpa_regset_sections or arm_linux_vfp_regset_sections as | |
1662 | appropriate for the architecture. | |
1663 | * arm-tdep.h (struct gdbarch_tdep): Add member "vfpregset". | |
1664 | (tdesc_arm_with_m): Declare. | |
1665 | (tdesc_arm_with_iwmmxt): Likewise. | |
1666 | (tdesc_arm_with_vfpv2): Likewise. | |
1667 | (tdesc_arm_with_vfpv3): Likewise. | |
1668 | (tdesc_arm_with_neon): Likewise. | |
1669 | * arm-linux-nat.c: Move features/*.c includes ... | |
1670 | * arm-tdep.c: ... here. | |
1671 | * arm-linux-nat.c (arm_linux_read_description): Move initializing | |
1672 | target description data structures ... | |
1673 | * arm-tdep.c (_initialize_arm_tdep): ... here. | |
1674 | * arm-linux-nat.c (HWCAP_VFP, HWCAP_IWMMXT, HWCAP_NEON, HWCAP_VFPv3, | |
1675 | HWCAP_VFPv3D16): Move definitions ... | |
1676 | * arm-linux-tdep.h: ... here. | |
1677 | ||
c2fa21f1 HZ |
1678 | 2011-06-15 Hui Zhu <teawater@gmail.com> |
1679 | ||
1680 | * remote.c (remote_trace_set_readonly_regions): Add a check for | |
1681 | target_buf_size. | |
1682 | ||
dd707e8e TT |
1683 | 2011-06-14 Tom Tromey <tromey@redhat.com> |
1684 | ||
1685 | * coffread.c (coffread_objfile): Rename from current_objfile. | |
1686 | * dbxread.c (dbxread_objfile): Rename from current_objfile. | |
1687 | * mdebugread.c (mdebugread_objfile): Rename from current_objfile. | |
1688 | ||
86cc0029 TT |
1689 | 2011-06-14 Tom Tromey <tromey@redhat.com> |
1690 | ||
1691 | * jv-lang.c (jv_type_objfile_data_key, dynamics_objfile) | |
1692 | (class_symtab): Remove. | |
1693 | (jv_dynamics_progspace_key): New global. | |
1694 | (jv_per_objfile_free): Reset program space data. Update assert. | |
1695 | Don't clear globals. | |
1696 | (get_dynamics_objfile): Use and set program space data. | |
1697 | (get_java_class_symtab): Use get_dynamics_objfile. | |
1698 | (add_class_symbol): Likewise. | |
1699 | (java_link_class_type): Likewise. | |
1700 | (java_object_type, jv_clear_object_type, set_java_object_type): | |
1701 | Remove. | |
1702 | (get_java_object_type): Update. Don't cache result. | |
1703 | (is_object_type): Don't call set_java_object_type. | |
1704 | (_initialize_java_language): Don't set jv_type_objfile_data_key; | |
1705 | initialize jv_dynamics_progspace_key. | |
1706 | ||
91a81f69 TT |
1707 | 2011-06-14 Tom Tromey <tromey@redhat.com> |
1708 | ||
1709 | * symtab.h (current_objfile): Don't declare. | |
1710 | * objfiles.h (current_objfile): Don't declare. | |
1711 | * objfiles.c (current_objfile): Remove. | |
1712 | * mdebugread.c (current_objfile): New file-scope global. | |
1713 | * dbxread.c (current_objfile): New file-scope global. | |
1714 | * coffread.c (current_objfile): New file-scope global. | |
1715 | ||
dc7eb48e PA |
1716 | 2011-06-13 Pedro Alves <pedro@codesourcery.com> |
1717 | ||
1718 | * top.h (line): Rename to ... | |
1719 | (saved_command_line): ... this. | |
1720 | (linesize): Rename to ... | |
1721 | (saved_command_line_size): ... this. | |
1722 | * top.c (line): Rename to ... | |
1723 | (saved_command_line): ... this. | |
1724 | (linesize): Rename to ... | |
1725 | (saved_command_line_size): ... this. | |
1726 | (dont_repeat, command_line_input, dont_repeat_command): Adjust. | |
1727 | * event-top.c (command_line_handler): Adjust. | |
1728 | * main.c (captured_main): Adjust. | |
1729 | ||
0d6c2135 MK |
1730 | 2011-06-12 Mark Kettenis <kettenis@gnu.org> |
1731 | ||
1732 | * i386-tdep.c (i386_epilogue_frame_cache): Simplify code. Call | |
1733 | get_frame_func instead of get_frame_pc to determine the code | |
1734 | address used to construct the frame ID. | |
1735 | (i386_epilogue_frame_unwind_stop_reason): Fix coding style. | |
1736 | (i386_epilogue_frame_this_id): Likewise. | |
1737 | (i386_epilogue_frame_prev_register): New function. | |
1738 | (i386_epilogue_frame_unwind): Use i386_epilogue_frame_prev_register. | |
1739 | (i386_stack_tramp_frame_sniffer): Fix coding style. | |
1740 | (i386_stack_tramp_frame_unwind): Use i386_epilogue_frame_prev_register. | |
1741 | (i386_gdbarch_init): Fix comments. | |
1742 | ||
8bbdd3f4 MK |
1743 | 2011-06-12 Mark Kettenis <kettenis@gnu.org> |
1744 | ||
1745 | * i386-tdep.c (i386_match_insn_block): Use length of the proper | |
1746 | instruction when walking back through the instruction stream. | |
1747 | ||
533a737e JK |
1748 | 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
1749 | ||
1750 | * symtab.c (output_partial_symbol_filename): Exchange the filename and | |
1751 | fullname parameters order. | |
1752 | ||
44b13c5a JK |
1753 | 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
1754 | ||
1755 | Code cleanup. | |
1756 | * dwarf2read.c (dw2_map_symbol_filenames): Use symbol_filename_ftype | |
1757 | for fun. | |
1758 | * psymtab.c (map_symbol_filenames_psymtab) | |
1759 | (map_partial_symbol_filenames): Likewise. | |
1760 | * psymtab.h: Include symfile.h. | |
1761 | (map_partial_symbol_filenames): Use symbol_filename_ftype for fun. | |
1762 | * symfile.h (symbol_filename_ftype): New. | |
1763 | (struct quick_symbol_functions): Use symbol_filename_ftype for fun of | |
1764 | map_symbol_filenames, clarify more the naming in comment. | |
1765 | ||
0b5574da DE |
1766 | 2011-06-07 Doug Evans <dje@google.com> |
1767 | ||
1768 | * cc-with-index.sh: Fix typos in comment. | |
b8e9bd6c | 1769 | Look for ../../gdb, for fullname.exp. |
0b5574da | 1770 | |
5be4dfca JK |
1771 | 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
1772 | Pedro Alves <pedro@codesourcery.com> | |
1773 | ||
1774 | * cli/cli-cmds.c (shell_escape): Use waitpid. | |
1775 | * rs6000-nat.c (exec_one_dummy_insn): Likewise. | |
1776 | ||
316a8b21 TG |
1777 | 2011-06-07 Tristan Gingold <gingold@adacore.com> |
1778 | ||
1779 | * xcoffread.c (dwarf2_xcoff_names): New variable. | |
1780 | (aix_process_linenos): Add a guard. | |
1781 | (xcoff_symfile_finish): Free dwarf2. | |
1782 | (xcoff_initial_scan): Add dwarf2 support. | |
1783 | ||
3dd5b83d PA |
1784 | 2011-06-06 Pedro Alves <pedro@codesourcery.com> |
1785 | ||
1786 | * infcall.c (run_inferior_call): Don't mask async. Instead force | |
1787 | a synchronous wait, if the target can async. | |
1788 | ||
1789 | * target.h (struct target_ops): Delete to_async_mask. | |
1790 | (target_async_mask): Delete. | |
1791 | * target.c (update_current_target): Delete references to to_async_mask. | |
1792 | * linux-nat.c (linux_nat_async_mask_value): Delete. | |
1793 | (linux_nat_is_async_p, linux_nat_can_async_p): Remove references | |
1794 | to linux_nat_async_mask_value. | |
1795 | (linux_nat_async_mask): Delete. | |
1796 | (linux_nat_async, linux_nat_close): Remove references to | |
1797 | linux_nat_async_mask_value. | |
1798 | * record.c (record_async_mask_value): Delete. | |
1799 | (record_async): Remove references to record_async_mask_value. | |
1800 | (record_async_mask): Delete. | |
1801 | (record_can_async_p, record_is_async_p): Remove references to | |
1802 | record_async_mask_value. | |
1803 | (init_record_ops, init_record_core_ops): Remove references to | |
1804 | record_async_mask. | |
1805 | * remote.c (remote_async_mask_value): Delete. | |
1806 | (init_remote_ops): Remove reference to remote_async_mask. | |
1807 | (remote_can_async_p, remote_is_async_p): Remove references to | |
1808 | remote_async_mask_value. | |
1809 | (remote_async): Remove references to remote_async_mask_value. | |
1810 | (remote_async_mask): Delete. | |
1811 | ||
1812 | * infrun.c (fetch_inferior_event): Don't claim registers changed | |
1813 | if the current thread is already not executing. | |
1814 | ||
64b9b334 JB |
1815 | 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix) |
1816 | ||
1817 | From Stephen Kitt <steve@sk2.org> | |
1818 | * breakpoint.c, breakpoint.h, cli/cli-dump.c, dwarf2expr.c, | |
1819 | gdbarch.c, gdbarch.sh, remote.c: Various spelling fixes. | |
1820 | ||
325663dc JB |
1821 | 2011-06-03 Joel Brobecker <brobecker@adacore.com> |
1822 | ||
1823 | * dwarf2expr.c (execute_stack_op) [DW_OP_deref]: Handle | |
1824 | the case where ADDR_SIZE is different from TYPE_LENGTH (type). | |
1825 | ||
8cf64490 TT |
1826 | 2011-06-03 Tom Tromey <tromey@redhat.com> |
1827 | ||
1828 | * python/py-inferior.c (python_inferior_exit): Use inferior's exit | |
1829 | code fields. | |
1830 | * python/py-exitedevent.c (create_exited_event_object): Change | |
1831 | type of 'exit_code'. Optionally add exit_code attribute. | |
1832 | (emit_exited_event): Change type of 'exit_code'. | |
1833 | * python/py-event.h (emit_exited_event): Update. | |
1834 | * mi/mi-interp.c (mi_inferior_exit): Print exit code. | |
1835 | * infrun.c (handle_inferior_event): Set exit code fields on | |
1836 | inferior. | |
1837 | * inferior.h (struct inferior) <has_exit_code, exit_code>: New | |
1838 | fields. | |
1839 | * inferior.c (exit_inferior_1): Initialize new fields. | |
1840 | ||
8ddd9a20 TT |
1841 | 2011-06-03 Tom Tromey <tromey@redhat.com> |
1842 | ||
1843 | * dwarf2expr.c (get_signed_type): New function. | |
1844 | (execute_stack_op) <DW_OP_shra>: Always perform a signed shift. | |
1845 | ||
8dfd1e6d KS |
1846 | 2011-06-02 Keith Seitz <keiths@redhat.com> |
1847 | ||
1848 | * objc-lang.c (find_methods): Increment objfile_csym earlier. | |
1849 | ||
65fdb766 PA |
1850 | 2011-06-02 Pedro Alves <pedro@codesourcery.com> |
1851 | ||
1852 | * top.h (simplified_command_loop): Delete declaration. | |
1853 | ||
f4b8c29b MF |
1854 | 2011-06-01 Mike Frysinger <vapier@gentoo.org> |
1855 | ||
1856 | * remote-sim.c (gdbsim_open): Add the strlen of " --sysroot=" and | |
1857 | gdb_sysroot to the "len" variable. Append both to "arg_buf". | |
1858 | ||
1706c199 YQ |
1859 | 2011-06-01 Yao Qi <yao@codesourcery.com> |
1860 | ||
1861 | * objfiles.h (obj_section_addr): Update reference to objfile from | |
1862 | `abfd' to `obfd'. | |
1863 | (obj_section_endaddr): Likewise. | |
1864 | ||
d19cd713 | 1865 | 2011-06-01 Daniel Jacobowitz <drow@false.org> |
8d07004d DJ |
1866 | |
1867 | * MAINTAINERS: Update my email address and affiliation. Also | |
1868 | update Ian Lance Taylor's affiliation. Use UTF-8 for ludo@gnu.org. | |
1869 | ||
e8eb7bc5 KS |
1870 | 2010-05-31 Keith Seitz <keiths@redhat.com> |
1871 | ||
1872 | PR c++/12750 | |
1873 | * linespec.c (get_search_block): New function. | |
1874 | (find_methods): Add FILE_SYMTATB parameter and use it and | |
1875 | get_search_block to pass an appropriate block to | |
1876 | lookup_symbol_in_namespace. | |
1877 | (decode_line_1): Record if *ARGPTR is single-quote enclosed. | |
1878 | Check if *ARGPTR starts with a filename first. | |
1879 | If it does, call locate_first_half again to locate the next | |
1880 | "first half" of the linespec. | |
1881 | Pass FILE_SYMTATB to decode_objc and decode_compound. | |
1882 | Swallow the trailing single-quote if IS_SQUOTE_ENCLOSED. | |
1883 | (locate_first_half): Stop on the first colon seen. | |
1884 | (decode_compound): Add FILE_SYMTAB parameter. | |
1885 | Pass FILE_SYMTAB to lookup_prefix_sym and find_method. | |
1886 | (lookup_prefix_sym): Add FILE_SYMTAB parameter and use | |
1887 | get_search_block with lookup_symbol. | |
1888 | (find_method): Add FILE_SYMTAB parameter and pass it to | |
1889 | find_methods. | |
1890 | (decode_objc): Use get_search_block. | |
1891 | ||
2b1dbab0 KS |
1892 | 2010-05-31 Keith Seitz <keiths@redhat.com> |
1893 | ||
1894 | PR symtab/12704 | |
1895 | * cp-namespace.c (ANONYMOUS_NAMESPACE_LEN): Remove. | |
1896 | (cp_scan_for_anonymous_namespaces): Use CP_ANONYMOUS_NAMESPACE_STR | |
1897 | and CP_ANONYMOUS_NAMESPACE_LEN. | |
1898 | (cp_is_anonymous): Likewise. | |
1899 | * cp-support.h (CP_ANONYMOUS_NAMESPACE_STR): Define. | |
1900 | (CP_ANONYMOUS_NAMESPACE_LEN): Define. | |
1901 | * dwarf2read.c (namespace_name): Likewise. | |
1902 | (fixup_partial_die): Likewise. | |
1903 | * linespec.c (decode_compound): If CP_ANONYMOUS_NAMESPACE_STR is | |
1904 | seen in the input, keep it. | |
1905 | ||
6d549500 PA |
1906 | 2011-05-30 Pedro Alves <pedro@codesourcery.com> |
1907 | ||
1908 | * target.h (enum inferior_event_type): Delete INF_QUIT_REQ. | |
1909 | * inf-loop.h (inferior_event_handler_wrapper): Delete. | |
1910 | * inf-loop.c (inferior_event_handler_wrapper): Delete. | |
1911 | (inferior_event_handler): Don't handle INF_QUIT_REQ. | |
1912 | * remote.c (_initialize_remote): Register | |
1913 | async_remote_interrupt_twice directly as | |
1914 | sigint_remote_twice_token event. | |
1915 | ||
395bff70 PA |
1916 | 2011-05-30 Pedro Alves <pedro@codesourcery.com> |
1917 | ||
1918 | * target.h (enum inferior_event_type): Delete INF_ERROR. | |
1919 | * inf-loop.c (inferior_event_handler): Don't handle INF_ERROR. | |
1920 | ||
97224164 PA |
1921 | 2011-05-30 Pedro Alves <pedro@codesourcery.com> |
1922 | ||
1923 | * interps.c (interp_set): Don't cancel continuations. | |
1924 | ||
07e78767 JK |
1925 | 2011-05-30 Jan Kratochvil <jan.kratochvil@redhat.com> |
1926 | ||
1927 | * linux-nat.c (linux_lwp_is_zombie): Use xsnprintf. | |
1928 | ||
fa4cd53f PA |
1929 | 2011-05-30 Pedro Alves <pedro@codesourcery.com> |
1930 | ||
1931 | * continuations.h (continuation_ftype): Add `err' parameter. | |
1932 | Document parameters. | |
1933 | (do_all_continuations, do_all_continuations_thread) | |
1934 | (do_all_intermediate_continuations) | |
1935 | (do_all_intermediate_continuations_thread) | |
1936 | (do_all_inferior_continuations): Add `err' parameter. | |
1937 | * continuations.c (do_my_continuations_1, do_my_continuations) | |
1938 | (do_all_inferior_continuations, do_all_continuations_ptid) | |
1939 | (do_all_continuations_thread_callback) | |
1940 | (do_all_continuations_thread, do_all_continuations) | |
1941 | (do_all_intermediate_continuations_thread_callback) | |
1942 | (do_all_intermediate_continuations_thread) | |
1943 | (do_all_intermediate_continuations): Add `err' parameter, and pass | |
1944 | it down all the way to the continuations proper. | |
1945 | * inf-loop.c (inferior_event_handler): If fetching an inferior | |
1946 | event throws an error, don't pop the target, and still call the | |
1947 | continuations, but with `err' set. Adjust all other continuation | |
1948 | calls. | |
1949 | * breakpoint.c (until_break_command_continuation): Add `err' | |
1950 | parameter. | |
1951 | * infcmd.c (step_1_continuation): Add `err' parameter. Don't | |
1952 | issue another step if `err' is set. | |
1953 | (struct until_next_continuation_args): New. | |
1954 | (until_next_continuation): Add `err' parameter. Adjust. | |
1955 | (until_next_command): Adjust. | |
1956 | (struct finish_command_continuation_args): Add `thread' field. | |
1957 | (finish_command_continuation): Add `err' parameter. Handle it. | |
1958 | (finish_forward): Adjust. | |
1959 | (attach_command_continuation): Add `err' parameter. Handle it. | |
1960 | * infrun.c (infrun_thread_stop_requested_callback): Adjust to | |
1961 | cancel the continuations. | |
1962 | * interps.c (interp_set): Adjust to cancel the continuations. | |
1963 | * thread.c (clear_thread_inferior_resources): Adjust to cancel the | |
1964 | continuations rather than discarding. | |
1965 | (free_thread): Don't clear thread inferior resources here. | |
1966 | (delete_thread_1): Do it here instead. And do it before removing | |
1967 | the thread from the threads list. Tag the thread as exited before | |
1968 | clearing thread inferior resources. | |
1969 | ||
c2949be0 JB |
1970 | 2011-05-30 Joel Brobecker <brobecker@adacore.com> |
1971 | ||
1972 | * infcall.c (call_function_by_hand): Rephrase error message. | |
1973 | ||
619cebe8 PA |
1974 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
1975 | ||
1976 | * defs.h (struct thread_info, struct inferior): Delete forward | |
1977 | declarations. | |
1978 | * breakpoint.h (struct thread_info): New forward declaration. | |
1979 | * observer.sh (struct inferior): New forward declaration. | |
1980 | * python/python-internal.h (struct inferior): New forward | |
1981 | declaration. | |
1982 | ||
be34f849 PA |
1983 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
1984 | ||
1985 | * defs.h (struct continuation, continuation_ftype) | |
1986 | (continuation_free_arg_ftype, add_continuation) | |
1987 | (do_all_continuations, do_all_continuations_thread) | |
1988 | (discard_all_continuations, discard_all_continuations_thread) | |
1989 | (add_intermediate_continuation, do_all_intermediate_continuations) | |
1990 | (do_all_intermediate_continuations_thread) | |
1991 | (discard_all_intermediate_continuations) | |
1992 | (discard_all_intermediate_continuations_thread) | |
1993 | (add_inferior_continuation, do_all_inferior_continuations) | |
1994 | (discard_all_inferior_continuations): Move to ... | |
1995 | * continuations.h: ... this new file. | |
1996 | * breakpoint.c, continuations.c, event-top.c, inf-loop.c, | |
1997 | infcmd.c, inferior.c, infrun.c, interps.c: Include | |
1998 | continuations.h. | |
1999 | ||
432b4d03 JK |
2000 | 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
2001 | Doug Evans <dje@google.com> | |
2002 | ||
2003 | Fix PR 10970, PR 12702. | |
2004 | * linux-nat.c (linux_lwp_is_zombie): New function. | |
2005 | (wait_lwp): Initialize status. New variable prev_mask. Block signals. | |
2006 | Check for linux_lwp_is_zombie. Use WNOHANG and sigsuspend. | |
2007 | ||
b0f260d6 PA |
2008 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
2009 | ||
2010 | * defs.h (continuation_ftype, continuation_free_arg_ftype): New | |
2011 | typedefs. | |
2012 | (add_continuation, add_intermediate_continuation) | |
2013 | (add_inferior_continuation): Use them. | |
2014 | * continuations.c (struct continuation): Use them. | |
2015 | (make_continuation_ftype): Delete. | |
2016 | (make_continuation, add_inferior_continuation, add_continuation) | |
2017 | (add_intermediate_continuation): Use continuation_ftype and | |
2018 | continuation_free_arg_ftype. Rename parameters to shorter names. | |
2019 | ||
af1e9a32 PA |
2020 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
2021 | ||
2022 | * continuations.c (make_continuation): Make it return void. | |
2023 | (do_my_continuations): Rename to ... | |
2024 | (do_my_continuations_1): ... this. Remove old_chain parameter and | |
2025 | adjust. | |
2026 | (do_my_continuations): New. | |
2027 | (discard_my_continuations): Rename to ... | |
2028 | (discard_my_continuations_1): ... this. Remove old_chain | |
2029 | parameter and adjust. | |
2030 | (discard_my_continuations): New. | |
2031 | (add_inferior_continuation): Simplify. | |
2032 | (do_all_inferior_continuations): Reimplement on top | |
2033 | do_my_continuations. | |
2034 | (discard_all_inferior_continuations): Simplify. | |
2035 | (add_continuation): Simplify. | |
2036 | (do_all_continuations_ptid): Simplify. | |
2037 | (discard_all_continuations_thread_callback): Simplify. | |
2038 | (add_intermediate_continuation): Simplify. | |
2039 | (discard_all_intermediate_continuations_thread_callback): | |
2040 | Simplify. | |
2041 | ||
50c0c017 PA |
2042 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
2043 | ||
2044 | * utils.c (struct continuation, add_continuation) | |
2045 | (add_inferior_continuation) | |
2046 | (do_all_inferior_continuations, discard_all_inferior_continuations) | |
2047 | (restore_thread_cleanup, do_all_continuations_ptid) | |
2048 | (do_all_continuations_thread_callback) | |
2049 | (do_all_continuations_thread, do_all_continuations) | |
2050 | (discard_all_continuations_thread_callback) | |
2051 | (discard_all_continuations_thread, discard_all_continuations) | |
2052 | (add_intermediate_continuation) | |
2053 | (do_all_intermediate_continuations_thread_callback) | |
2054 | (do_all_intermediate_continuations_thread) | |
2055 | (do_all_intermediate_continuations) | |
2056 | (discard_all_intermediate_continuations_thread_callback) | |
2057 | (discard_all_intermediate_continuations_thread) | |
2058 | (discard_all_intermediate_continuations): Move to ... | |
2059 | * continuations.c: ... this new file, and adjust to no longer | |
2060 | implement continuations on top of cleanups. | |
2061 | * Makefile.in (SFILES): Add continuations.c. | |
2062 | (COMMON_OBS): Add continuations.o. | |
2063 | ||
d8b34453 PA |
2064 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2065 | ||
2066 | * inferior.h (enum exec_direction_kind): Delete EXEC_ERROR. | |
2067 | * infrun.c (show_exec_direction_func): Don't handle EXEC_ERROR. | |
2068 | Internal error on invalid values. | |
2069 | * reverse.c: Don't handle EXEC_ERROR. | |
2070 | * mi/mi-main.c: Don't handle EXEC_ERROR. | |
2071 | ||
32231432 PA |
2072 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2073 | ||
2074 | * record.c: Include event-loop.h, inf-loop.h. | |
2075 | (record_beneath_to_async): New global. | |
2076 | (tmp_to_async): New global. | |
2077 | (record_async_inferior_event_token): New global. | |
2078 | (record_open_1): Don't error out if async is enabled. | |
2079 | (record_open): Handle to_async. Create an async event source in | |
2080 | the event loop. | |
2081 | (record_close): Delete the async event source. | |
2082 | (record_resumed): New global. | |
2083 | (record_execution_dir): New global. | |
2084 | (record_resume, record_core_resume): Set them. Register the | |
2085 | target on the event loop. | |
2086 | (record_wait): Rename to ... | |
2087 | (record_wait_1): ... this. Add more debug output. Handle | |
2088 | TARGET_WNOHANG, and the target beneath returning | |
2089 | TARGET_WAITKIND_IGNORE. | |
2090 | (record_wait): Reimplement on top of record_wait_1. | |
2091 | (record_async_mask_value): New global. | |
2092 | (record_async, record_async_mask, record_can_async_p) | |
2093 | (record_is_async_p, record_execution_direction): New functions. | |
2094 | (init_record_ops, init_record_core_ops): Install new methods. | |
2095 | * infrun.c (fetch_inferior_event): Temporarily switch the global | |
2096 | execution direction to the direction the target was going. | |
2097 | (execution_direction): Change type to int. | |
2098 | * target.c (default_execution_direction): New function. | |
2099 | (update_current_target): Inherit and de_fault | |
2100 | to_execution_direction. | |
2101 | * target.h (struct target_ops) <to_execution_direction>: New | |
2102 | field. | |
2103 | (target_execution_direction): New macro. | |
2104 | * inferior.h (execution_direction): Change type to int. | |
2105 | ||
949dc678 PA |
2106 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2107 | ||
2108 | * infcall.c (call_function_by_hand): Don't allow calling functions | |
2109 | in reverse execution mode. | |
2110 | ||
c13bd2b5 PA |
2111 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2112 | ||
2113 | * infcmd.c (finish_command): Allow async finish in reverse. | |
2114 | ||
6938fd34 YQ |
2115 | 2011-05-26 Yao Qi <yao@codesourcery.com> |
2116 | ||
2117 | * gdb_thread_db.h: Delete. Move to ... | |
2118 | * common/gdb_thread_db.h: ... here. | |
2119 | ||
9da8c2a0 PA |
2120 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2121 | ||
2122 | * infcmd.c (finish_backward): Set a step-resume breakpoint at the | |
2123 | function's entry point instead of a manually managed momentary | |
2124 | breakpoint, and only ever issue one proceed call. | |
2125 | * infrun.c (handle_inferior_event) <BPSTAT_WHAT_STEP_RESUME>: If | |
2126 | doing a reverse-finish, switch to stepi mode, to do another step. | |
2127 | (insert_step_resume_breakpoint_at_sal): Make public. | |
2128 | (normal_stop): No need to save function value return registers if | |
2129 | going reverse. | |
2130 | * inferior.h (insert_step_resume_breakpoint_at_sal): Declare. | |
2131 | ||
2c03e5be PA |
2132 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2133 | ||
2134 | * breakpoint.h (enum bptype) <bp_hp_step_resume>: New. | |
2135 | (enum bpstat_what_main_action): Move BPSTAT_WHAT_STEP_RESUME | |
2136 | before BPSTAT_WHAT_STOP_SILENT. Add BPSTAT_WHAT_HP_STEP_RESUME | |
2137 | at the end. | |
2138 | * breakpoint.c (update_breakpoints_after_exec): Also delete hp | |
2139 | step-resume breakpoints. | |
2140 | (print_it_typical): Handle bp_hp_step_resume. | |
2141 | (bpstat_what): Ditto. | |
2142 | (bptype_string): Ditto. | |
2143 | (print_one_breakpoint_location): Ditto. | |
2144 | (allocate_bp_location): Ditto. | |
2145 | (mention): Ditto. | |
2146 | (breakpoint_re_set_one): Ditto. | |
2147 | * infrun.c (handle_inferior_event): Adjust. Split | |
2148 | BPSTAT_WHAT_STEP_RESUME handling in BPSTAT_WHAT_STEP_RESUME and | |
2149 | BPSTAT_WHAT_HP_STEP_RESUME. | |
2150 | (insert_step_resume_breakpoint_at_sal): Rename to ... | |
2151 | (insert_step_resume_breakpoint_at_sal_1): ... this. Add bptype | |
2152 | parameter. Handle it. | |
2153 | (insert_step_resume_breakpoint_at_sal): Reimplement on top of | |
2154 | insert_step_resume_breakpoint_at_sal_1. | |
2155 | (insert_step_resume_breakpoint_at_frame): Rename to ... | |
2156 | (insert_hp_step_resume_breakpoint_at_frame): ... this. Adjust to | |
2157 | set a high-priority step-resume breakpoint. | |
2158 | (insert_step_resume_breakpoint_at_frame): Adjust comment. | |
2159 | (insert_step_resume_breakpoint_at_caller): Ditto. | |
2160 | ||
51be5b68 PA |
2161 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2162 | ||
2163 | * breakpoint.c (iterate_over_related_breakpoints): New. | |
2164 | (do_map_delete_breakpoint): New. | |
2165 | (delete_command): Pass do_map_delete_breakpoint to | |
2166 | map_breakpoint_numbers. | |
2167 | (do_disable_breakpoint): New. | |
2168 | (do_map_disable_breakpoint): Iterate over the breakpoint's related | |
2169 | breakpoints. | |
2170 | (do_enable_breakpoint): Rename to ... | |
2171 | (enable_breakpoint_disp): ... this. | |
2172 | (enable_breakpoint): Adjust. | |
2173 | (do_enable_breakpoint): New. | |
2174 | (enable_once_breakpoint): Delete. | |
2175 | (do_map_enable_breakpoint): New. | |
2176 | (do_map_enable_once_breakpoint): New. | |
2177 | (enable_once_command, enable_delete_command) | |
2178 | (delete_trace_command): Iterate over the breakpoint's related | |
2179 | breakpoints. | |
2180 | ||
4a1be8d2 PA |
2181 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2182 | ||
2183 | * alpha-tdep.c (alpha_cannot_fetch_register): Don't return true | |
2184 | for ALPHA_ZERO_REGNUM. | |
2185 | (alpha_supply_int_regs): Explicitly supply zero as the value for | |
2186 | ALPHA_ZERO_REGNUM in the register cache. | |
2187 | * alpha-nat.c (fetch_osf_core_registers): Ditto. | |
2188 | ||
59d70315 YQ |
2189 | 2011-05-26 Yao Qi <yao@codesourcery.com> |
2190 | ||
2191 | * gdb/gdb_thread_db.h: Remove HAVE_UINTPTR_T. | |
2192 | ||
251d32d9 TG |
2193 | 2011-05-26 Tristan Gingold <gingold@adacore.com> |
2194 | ||
2195 | * symfile.h (struct dwarf2_section_names): New type. | |
2196 | (struct dwarf2_debug_sections): New type. | |
2197 | (dwarf2_has_info): Add parameter. | |
2198 | * dwarf2read.c (dwarf2_elf_names): New variable. | |
2199 | (INFO_SECTION, ABBREV_SECTION, LINE_SECTION, LOC_SECTION) | |
2200 | (MACINFO_SECTION, STR_SECTION, RANGES_SECTION, TYPES_SECTION) | |
2201 | (FRAME_SECTION, EH_FRAME_SECTION, GDB_INDEX_SECTION): Remove. | |
2202 | (dwarf2_has_info): Add names parameter. Pass names | |
2203 | to dwarf2_locate_sections. | |
2204 | (section_is_p): Rewrite using the names parameter. | |
2205 | (dwarf2_locate_sections): Use section names from the names parameter. | |
2206 | * coffread.c (coff_symfile_read): Adjust call to dwarf2_has_info. | |
2207 | * elfread.c (read_psyms): Ditto. | |
2208 | * machoread.c (macho_symfile_read): Ditto. | |
2209 | ||
652c71b4 AS |
2210 | 2011-05-25 Andreas Schwab <schwab@redhat.com> |
2211 | ||
2212 | PR gdb/8677 | |
2213 | * event-loop.c (handle_file_event): Don't handle POLLHUP as error. | |
2214 | ||
f17170e5 KS |
2215 | 2011-05-24 Keith Seitz <keiths@redhat.com> |
2216 | ||
2217 | PR breakpoint/12803 | |
2218 | * linespec.c (keep_name_info): Add handling for "volatile" keyword. | |
2219 | (decode_compound): Unconditionally call keep_name_info. | |
2220 | ||
cdac0397 PA |
2221 | 2011-05-24 Pedro Alves <pedro@codesourcery.com> |
2222 | ||
2223 | * breakpoint.c (watchpoint_check): If the watchpoint went out of | |
2224 | scope, clear its command list. | |
2225 | (map_breakpoint_numbers): Don't walk the related breakpoints list | |
2226 | of each breakpoint. | |
2227 | ||
91d4fe3f TT |
2228 | 2011-05-24 Tom Tromey <tromey@redhat.com> |
2229 | ||
2230 | * MAINTAINERS: Move Jim Blandy to past maintainers. | |
2231 | ||
3017a003 TG |
2232 | 2011-05-24 Tristan Gingold <gingold@adacore.com> |
2233 | ||
2234 | * symfile.h (enum dwarf2_section_enum): New type. | |
2235 | (dwarf2_get_section_info): New prototype. | |
2236 | * dwarf2read.c (dwarf2_get_section_info): Replace parameter | |
2237 | section_name by sect. Use a switch to select the info. | |
2238 | * dwarf2-frame.c (warf2_get_section_info): Remove prototype. | |
2239 | (dwarf2_build_frame_info): Adjust calls to dwarf2_get_section_info. | |
2240 | ||
c91c8c16 PA |
2241 | 2011-05-24 Pedro Alves <pedro@codesourcery.com> |
2242 | ||
2243 | * solib-svr4.c (svr4_solib_create_inferior_hook): Skip setting | |
2244 | shared library event breakpoint if there's no execution. | |
2245 | ||
77bc418a TJB |
2246 | 2011-05-24 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2247 | ||
2248 | * breakpont.c (remove_hw_watchpoints): Remove unused function. | |
2249 | * breakpoint.h remove_hw_watchpoints(): Remove prototype. | |
2250 | ||
c50491a7 TT |
2251 | 2011-05-23 Tom Tromey <tromey@redhat.com> |
2252 | ||
2253 | * c-lang.c (evaluate_subexp_c): Use expect_type if it is not | |
2254 | NULL. | |
2255 | ||
6d64e6d4 DE |
2256 | 2011-05-23 Doug Evans <dje@google.com> |
2257 | ||
2258 | * python/lib/gdb/printing.py (register_pretty_printer): Add missing | |
2259 | entry for RuntimeError to doc string. | |
2260 | ||
2067c8d4 JG |
2261 | 2011-05-23 Jerome Guitton <guitton@adacore.com> |
2262 | ||
2263 | * sparc-tdep.c (sparc_skip_stack_check): Recognize a new instruction | |
2264 | sequence for probing loops. | |
2265 | ||
b136cd05 PA |
2266 | 2011-05-23 Pedro Alves <pedro@codesourcery.com> |
2267 | ||
2268 | * infrun.c (user_visible_resume_ptid): Fix typos in describing | |
2269 | comment. | |
2270 | ||
22e74ef9 MK |
2271 | 2011-05-21 Mark Kettenis <kettenis@gnu.org> |
2272 | ||
2273 | * sparc-nat.c (sparc_fetch_inferior_registers): Explicitly supply | |
2274 | zero as the value for %g0 in the register cache. | |
2275 | * sparc-tdep.c (sparc32_supply_gregset): Likewise. | |
2276 | * sparc64-tdep.c (sparc64_supply_gregset): Likewise. | |
2277 | ||
842951eb PA |
2278 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2279 | ||
2280 | * infrun.c (proceed): Set previous_inferior_ptid here. | |
2281 | (init_wait_for_inferior): Initialize previous_inferior_ptid from | |
2282 | inferior_ptid, not null_ptid. | |
2283 | (wait_for_inferior): Don't initialize previous_inferior_ptid here. | |
2284 | (fetch_inferior_event): Nor here. | |
2285 | ||
46cf51e6 PA |
2286 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2287 | ||
2288 | * inf-loop.c (inferior_event_handler): Only output a message if | |
2289 | verbose. | |
2290 | ||
29ef4c46 LM |
2291 | 2011-05-20 Luis Machado <lgustavo@codesourcery.com> |
2292 | ||
2293 | * MAINTAINERS: Update my e-mail address. | |
2294 | ||
f148b27e PA |
2295 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2296 | ||
2297 | * infrun.c (proceed): Switch the inferior event loop to | |
2298 | INF_EXEC_COMPLETE if the target refused to resume from a | |
2299 | vfork/fork. | |
2300 | ||
09cee04b PA |
2301 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2302 | ||
2303 | * infcmd.c: Include "inf-loop.h". | |
2304 | (step_once): When stepping into an inline subroutine, pretend the | |
2305 | target has run. If the target can async, switch the inferior | |
2306 | event loop to INF_EXEC_COMPLETE. | |
2307 | * inferior.h (user_visible_resume_ptid): Declare. | |
2308 | * infrun.c (user_visible_resume_ptid): New function, factored out | |
2309 | from `resume'. | |
2310 | (resume): Use it. | |
2311 | * mi/mi-main.c (mi_execute_async_cli_command): Remove assertion | |
2312 | that the current thread is running. Merge async and sync | |
2313 | branches. | |
2314 | ||
751b8ce1 PA |
2315 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2316 | ||
2317 | * infcmd.c (step_1): Simplify synchronous case. | |
2318 | ||
e93a69ed PA |
2319 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2320 | ||
2321 | * tracepoint.c: Include exceptions.h. | |
2322 | (TFILE_PID): Move higher in file. | |
2323 | (tfile_open): Delay pushing the tfile target until we're assured | |
2324 | the tfile header is present in the file. Wrap reading the initial | |
2325 | newline-terminated lines in TRY_CATCH. Pop the target if the | |
2326 | initial setup failed. Add the tfile's thread immediately | |
2327 | aftwards, before any non-essential setup. Don't skip | |
2328 | post_create_inferior if there are no traceframes present in the | |
2329 | file. | |
2330 | (tfile_close): Remove redundant check for null before xfree call. | |
2331 | (tfile_thread_alive): New function. | |
2332 | (init_tfile_ops): Register it as to_thread_alive callback. | |
2333 | ||
6823e2b1 PA |
2334 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2335 | ||
2336 | * tracepoint.c (tfile_open): Delete #if 0'd code. | |
2337 | ||
b3c8eb43 JK |
2338 | 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
2339 | ||
2340 | Fix -readnow for -gdwarf-4 unused type units. | |
2341 | * dwarf2read.c (struct signatured_type): Remove the field offset. | |
2342 | (create_signatured_type_table_from_index): Remove its initialization. | |
2343 | (create_debug_types_hash_table): Likewise. Initialize per_cu.offset | |
2344 | instead. Add a complaint call. | |
2345 | (process_psymtab_comp_unit): Change assignment to gdb_assert. | |
2346 | (process_type_comp_unit, lookup_die_type, dump_die_shallow) | |
2347 | (lookup_signatured_type_at_offset, read_signatured_type) | |
2348 | (write_one_signatured_type): Update the field for per_cu. | |
2349 | ||
310afc76 TT |
2350 | 2011-05-19 Tom Tromey <tromey@redhat.com> |
2351 | ||
2352 | * python/py-inferior.c (python_inferior_exit): Use | |
2353 | target_gdbarch. | |
2354 | (python_on_resume): Likewise. | |
2355 | ||
cf6c5ffb TT |
2356 | 2011-05-19 Matt Rice <ratmice@gmail.com> |
2357 | ||
2358 | * breakpoint.c (bpstat_do_actions_1): Call prevent_dont_repeat. | |
2359 | ||
fb80a3c5 HZ |
2360 | 2011-05-19 Hui Zhu <teawater@gmail.com> |
2361 | ||
2362 | * tracepoint.c (tfile_trace_find): Return directly when num is -1. | |
2363 | ||
3672b1be HZ |
2364 | 2011-05-19 Hui Zhu <teawater@gmail.com> |
2365 | ||
2366 | * xcoffread.c (read_xcoff_symtab): Initialize fcn_aux_saved. | |
2367 | ||
ff355380 TT |
2368 | 2011-05-18 Tom Tromey <tromey@redhat.com> |
2369 | ||
2370 | * dwarf2read.c (dwarf2_add_field): Constify. | |
2371 | * value.c (value_static_field): Constify. | |
2372 | * gdbtypes.h (struct main_type) <field.field_location.physname>: | |
2373 | Now const. | |
2374 | * ax-gdb.c (gen_static_field): Constify | |
2375 | ||
ed731959 JK |
2376 | 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
2377 | ||
2378 | * linux-nat.c (kill_callback): Use SIGKILL first. | |
2379 | ||
967cff16 JB |
2380 | 2011-05-18 Joel Brobecker <brobecker@adacore.com> |
2381 | ||
2382 | * ada-lang.c (print_it_exception): Avoid use of sprintf. | |
2383 | ||
1d06ead6 TT |
2384 | 2011-05-18 Tom Tromey <tromey@redhat.com> |
2385 | ||
2386 | * value.c (value_fn_field): Constify. | |
2387 | * symtab.c (gdb_mangle_name): Constify. | |
2388 | * stabsread.c (update_method_name_from_physname): Make 'physname' | |
2389 | argument const. | |
2390 | * p-typeprint.c (pascal_type_print_method_args): Make arguments | |
2391 | const. Use explicit fputc_filtered loop. | |
2392 | (pascal_type_print_base): Constify. | |
2393 | * p-lang.h (pascal_type_print_method_args): Update. | |
2394 | * linespec.c (add_matching_methods): Constify. | |
2395 | (add_constructors): Likewise. | |
2396 | * jv-typeprint.c (java_type_print_base): Constify. | |
2397 | * gdbtypes.h (struct cplus_struct_type) | |
2398 | <fn_fieldlist.fn_field.physname>: Now const. | |
2399 | * dwarf2read.c (compute_delayed_physnames): Constify. | |
2400 | (dwarf2_add_member_fn): Likewise. | |
2401 | * c-typeprint.c (c_type_print_base): Constify. Use cleanups. | |
2402 | ||
0d9a9a5f PA |
2403 | 2011-05-18 Pedro Alves <pedro@codesourcery.com> |
2404 | ||
2405 | * infrun.c (resume): Mention which is the current thread, and its | |
2406 | current PC in debug output. | |
2407 | (prepare_to_proceed): Mention the thread switching in debug | |
2408 | output. | |
2409 | ||
05386e9e TT |
2410 | 2011-05-18 Tom Tromey <tromey@redhat.com> |
2411 | ||
2412 | * linux-thread-db.c (try_thread_db_load_from_pdir_1): Fix absolute | |
2413 | path check. Use xmalloc and cleanups. | |
2414 | (try_thread_db_load_from_dir): Use xmalloc and cleanups. | |
2415 | ||
ee86786c TT |
2416 | 2011-05-17 Tom Tromey <tromey@redhat.com> |
2417 | ||
2418 | * cp-valprint.c (cp_print_value_fields): Catch errors from | |
2419 | value_static_field. | |
2420 | ||
9ff3b74f TT |
2421 | 2011-05-17 Tom Tromey <tromey@redhat.com> |
2422 | ||
2423 | * dwarf2read.c (dwarf2_get_die_type): Call | |
2424 | get_die_type_at_offset. | |
2425 | * dwarf2expr.c (dwarf_get_base_type): Handle NULL return from | |
2426 | get_base_type function. | |
2427 | ||
cd3da28e PA |
2428 | 2011-05-17 Tomas Martinec <fyzmat@gmail.com> |
2429 | ||
2430 | * infrun.c (handle_inferior_event) <handling deferred step>: Clear | |
2431 | trap_expected. | |
2432 | ||
fd20d931 DE |
2433 | 2011-05-16 Doug Evans <dje@google.com> |
2434 | ||
2435 | * python/py-auto-load.c (source_section_scripts): Mention objfile | |
2436 | name in warning. | |
2437 | ||
75fc9810 DE |
2438 | 2011-05-15 Doug Evans <dje@google.com> |
2439 | ||
290351b8 DE |
2440 | * linux-thread-db.c (try_thread_db_load_from_pdir_1): New function. |
2441 | (try_thread_db_load_from_pdir): Call it. If unable to find | |
2442 | libthread_db in directory of libpthread, see if we're looking at | |
2443 | the separate-debug-info copy. | |
2444 | ||
75fc9810 DE |
2445 | * python/py-autoload.c (print_script): Print "Missing" instead of |
2446 | "No" for missing scripts. | |
2447 | (info_auto_load_scripts): Tweak "Loaded" column to fit "Missing". | |
2448 | ||
9f7bc587 DE |
2449 | 2011-05-13 Doug Evans <dje@google.com> |
2450 | ||
2451 | * ui-file.c (stdio_file_write_async_safe): Add comment. | |
2452 | ||
093cee7d HZ |
2453 | 2011-05-14 Hui Zhu <teawater@gmail.com> |
2454 | ||
2455 | * ui-file.c (stdio_file_write_async_safe): Add empty check for build. | |
2456 | ||
dbaefcf7 DE |
2457 | 2011-05-13 Doug Evans <dje@google.com> |
2458 | ||
98a5dd13 DE |
2459 | Support $pdir and $sdir in libthread-db-search-path. |
2460 | * NEWS: Mention $sdir,$pdir. | |
2461 | * gdb_thread_db.h (LIBTHREAD_DB_SEARCH_PATH): Add $sdir:$pdir. | |
2462 | * linux-thread-db.c (try_thread_db_load_from_pdir): New function. | |
2463 | (try_thread_db_load_from_sdir): New function. | |
2464 | (try_thread_db_load_from_dir): New function. | |
2465 | (thread_db_load_search): Handle $pdir, $sdir. Remove trying of | |
2466 | system directories if search of libthread-db-search-path fails, | |
2467 | that is now done via $sdir. | |
2468 | (has_libpthread): New function. | |
2469 | (thread_db_load): Remove search for libthread_db in directory of | |
2470 | libpthread, that is now done via $pdir. | |
2471 | ||
dbaefcf7 DE |
2472 | * NEWS: Mention "info auto-load-scripts". |
2473 | * python/py-auto-load.c (struct auto_load_pspace_info): New member | |
2474 | script_not_found_warning_printed. | |
2475 | (init_loaded_scripts_info): Renamed from create_loaded_scripts_hash, | |
2476 | all callers updated. Initialize script_not_found_warning_printed. | |
2477 | (get_auto_load_pspace_data_for_loading): New function. | |
2478 | (maybe_add_script): New function. | |
2479 | (source_section_scripts): Simplify. Only print one warning regardless | |
2480 | of the number of auto-load scripts not found. | |
2481 | (clear_section_scripts): Clear script_not_found_warning_printed. | |
2482 | (auto_load_objfile_script): Record script in hash table. | |
2483 | (count_matching_scripts): New function. | |
2484 | (maybe_print_script): Renamed from maybe_print_section_script, all | |
2485 | callers updated. Rewrite to use ui_out_*. | |
2486 | (info_auto_load_scripts): Renamed from | |
2487 | maintenance_print_section_scripts, all callers updated. | |
2488 | (gdbpy_initialize_auto_load): "maintenance print section-scripts" | |
2489 | renamed as "info auto-load-scripts". | |
2490 | ||
9930639c TT |
2491 | 2011-05-13 Tom Tromey <tromey@redhat.com> |
2492 | ||
2493 | * dwarf2expr.c (read_uleb128): Cast intermediate result. | |
2494 | (read_sleb128): Likewise. | |
2495 | ||
06826322 TT |
2496 | 2011-05-13 Tom Tromey <tromey@redhat.com> |
2497 | ||
2498 | * dwarf2loc.c (disassemble_dwarf_expression): Fix instruction | |
2499 | offset display. | |
2500 | ||
01124a23 DE |
2501 | 2011-05-13 Doug Evans <dje@google.com> |
2502 | ||
2503 | * linux-nat.c (debug_linux_nat_async): Delete. | |
2504 | Replace all references to use debug_linux_nat instead. | |
2505 | (show_debug_linux_nat_async): Delete. | |
2506 | (sigchld_handler): Call ui_file_write_async_safe instead of | |
2507 | fprintf_unfiltered. | |
2508 | (_initialize_linux_nat): Remove `set debug lin-lwp-async'. | |
2509 | * ui-file.c (struct ui_file): New member to_write_async_safe. | |
2510 | (null_file_write_async_safe): New function. | |
2511 | (ui_file_write_async_safe): New function. | |
2512 | (set_ui_file_write_async_safe): New function. | |
2513 | (ui_file_new): Initialize to_write_async_safe. | |
2514 | (stdio_file_write_async_safe): New function. | |
2515 | (struct stdio_file): New member fd. | |
2516 | (stdio_file_new): Initialize to_write_async_safe, fd. | |
bbfac39e DE |
2517 | (stdio_file_read, stdio_file_isatty): New stdio->fd instead of calling |
2518 | fileno. | |
01124a23 DE |
2519 | * ui-file.h (ui_file_write_async_safe_ftype): New typedef. |
2520 | (set_ui_file_write_async_safe): Declare. | |
2521 | (ui_file_write_async_safe): Declare. | |
2522 | ||
72fc29ff TT |
2523 | 2011-05-13 Tom Tromey <tromey@redhat.com> |
2524 | ||
2525 | * utils.c (do_value_free): New function. | |
2526 | (make_cleanup_value_free): Likewise. | |
2527 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle value | |
2528 | freeing correctly. | |
2529 | (dwarf2_loc_desc_needs_frame): Call | |
2530 | make_cleanup_value_free_to_mark. | |
2531 | * dwarf2expr.h (struct dwarf_expr_context) <mark>: Remove field. | |
2532 | * dwarf2expr.c (free_dwarf_expr_context): Don't call | |
2533 | value_free_to_mark. | |
2534 | (new_dwarf_expr_context): Don't call value_mark. | |
2535 | * dwarf2-frame.c (execute_stack_op): Call | |
2536 | make_cleanup_value_free_to_mark. | |
2537 | * defs.h (make_cleanup_value_free): Declare. | |
2538 | ||
028d0ed5 TJB |
2539 | 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2540 | ||
2541 | * mi/mi-main.c (mi_cmd_execute): Use cleanup from | |
2542 | prepare_execute_command. | |
2543 | * top.c (prepare_execute_command): Return cleanup. | |
2544 | (execute_command): Use cleanup from prepare_execute_command. | |
2545 | * top.h (prepare_execute_command): Change prototype to return | |
2546 | cleanup. | |
2547 | * defs.h (struct value): Add opaque declaration. | |
2548 | (make_cleanup_value_free_to_mark): Add prototype. | |
2549 | * utils.c (do_value_free_to_mark): New function. | |
2550 | (make_cleanup_value_free_to_mark): Likewise. | |
2551 | ||
b087e0ed TT |
2552 | 2011-05-12 Tom Tromey <tromey@redhat.com> |
2553 | ||
2554 | * dwarf2expr.c (execute_stack_op) <DW_OP_shr>: Unconditionally | |
2555 | cast left-hand-side to unsigned. | |
2556 | ||
8a9b8146 TT |
2557 | 2011-05-12 Tom Tromey <tromey@redhat.com> |
2558 | ||
2559 | PR gdb/12617: | |
2560 | * value.h (value_from_contents): Declare. | |
2561 | * value.c (value_from_contents): New function. | |
2562 | * dwarf2read.c (dwarf_stack_op_name): Add new values. | |
2563 | (dwarf2_get_die_type): New function. | |
2564 | * dwarf2loc.c (dwarf_expr_get_base_type): New function. | |
2565 | (allocate_piece_closure): Acquire reference to values. | |
2566 | (read_pieced_value): Update for value-based expressions. | |
2567 | (write_pieced_value): Likewise. | |
2568 | (free_pieced_value_closure): Call value_free as needed. | |
2569 | (dwarf2_evaluate_loc_desc_full): Set get_base_type field. | |
2570 | Update for value-based expressions. | |
2571 | * dwarf2loc.h (dwarf2_get_die_type): Declare. | |
2572 | * dwarf2expr.h (struct dwarf_stack_value) <value>: Change type. | |
2573 | <get_base_type>: New field. | |
2574 | (struct dwarf_expr_piece) <v.value>: Change type. | |
2575 | <v.regno>: New field. | |
2576 | (struct dwarf_expr_context) <mark>: New field. | |
2577 | (dwarf_expr_piece, dwarf_expr_fetch): Update. | |
2578 | (dwarf_expr_pop, dwarf_expr_push): Remove. | |
2579 | (dwarf_expr_push_address): Declare. | |
2580 | * dwarf2expr.c (dwarf_arch_cookie): New global. | |
2581 | (struct dwarf_gdbarch_types): New. | |
2582 | (dwarf_gdbarch_types_init, dwarf_expr_address_type): New | |
2583 | functions. | |
2584 | (dwarf_expr_push): Change type of 'value' argument. Update. Now | |
2585 | static. | |
2586 | (dwarf_expr_push_address): New function. | |
2587 | (dwarf_expr_pop): Now static. | |
2588 | (dwarf_expr_fetch): Change return type. | |
2589 | (dwarf_require_integral): New function. | |
2590 | (dwarf_expr_fetch): Simplify. | |
2591 | (add_piece): Update. | |
2592 | (base_types_equal_p, dwarf_get_base_type, get_unsigned_type): New | |
2593 | functions. | |
2594 | (execute_stack_op) <sign_ext>: Remove. | |
2595 | Use values for DWARF stack. | |
2596 | <DW_OP_GNU_const_type, DW_OP_GNU_deref_type, | |
2597 | DW_OP_GNU_regval_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret>: | |
2598 | New cases. | |
2599 | (_initialize_dwarf2expr): New function. | |
2600 | (add_piece): Update. | |
2601 | (new_dwarf_expr_context): Set new field. | |
2602 | (free_dwarf_expr_context): Call value_free_to_mark. | |
2603 | * dwarf2-frame.c (no_base_type): New function. | |
2604 | (execute_stack_op): Set get_base_type field. Update. | |
2605 | ||
e8d28ef4 TT |
2606 | 2011-05-12 Tom Tromey <tromey@redhat.com> |
2607 | ||
2608 | * dwarf2read.c (read_common_block): Fix formatting. | |
2609 | ||
d248b706 KY |
2610 | 2011-05-12 Kwok Cheung Yeung <kcy@codesourcery.com> |
2611 | ||
2612 | * breakpoint.c (disable_breakpoint): Disable all locations | |
2613 | associated with a tracepoint on target if a trace experiment is | |
2614 | running. | |
2615 | (disable_command): Disable a specific tracepoint location on target if | |
2616 | a trace experiment is running. | |
2617 | (do_enable_breakpoint): Enable all locations associated with a | |
2618 | tracepoint on target if a trace experiment is running. | |
2619 | (enable_command) Enable a specific tracepoint location on target if a | |
2620 | trace experiment is running. | |
2621 | * target.c (update_current_target): Add INHERIT and de_fault clauses for | |
2622 | to_supports_enable_disable_tracepoint, to_enable_tracepoint and | |
2623 | to_disable_tracepoint. | |
2624 | * target.h: Add declaration of struct bp_location. | |
2625 | (struct target_ops): Add new functions | |
2626 | to_supports_enable_disable_tracepoint, to_enable_tracepoint and | |
2627 | to_disable_tracepoint to target operations. | |
2628 | (target_supports_enable_disable_tracepoint): New macro. | |
2629 | (target_enable_tracepoint): New macro. | |
2630 | (target_disable_tracepoint): New macro. | |
2631 | * remote.c (struct remote_state): Add new field. | |
2632 | (remote_enable_disable_tracepoint_feature): New. | |
2633 | (remote_protocol_features): Add new entry. | |
2634 | (remote_supports_enable_disable_tracepoint): New. | |
2635 | (remote_enable_tracepoint): New. | |
2636 | (remote_disable_tracepoint): New. | |
2637 | (init_remote_ops): Add remote_enable_tracepoint, | |
2638 | remote_disable_tracepoint and remote_supports_enable_disable_tracepoint | |
2639 | to remote operations. | |
2640 | * tracepoint.c (start_tracing): Allow tracing to start without any | |
2641 | tracepoints enabled with just a warning if they can be re-enabled | |
2642 | later. | |
2643 | * NEWS: Add news item for the new behaviour of the enable and disable | |
2644 | GDB commands when applied to tracepoints. | |
2645 | Add news items for the new remote packets QTEnable and QTDisable. | |
2646 | ||
cc88a640 JK |
2647 | 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
2648 | ||
2649 | * config.in: Regenerate. | |
2650 | * configure: Regenerate. | |
2651 | * configure.ac <--with-system-readline> (for readline_echoing_p): | |
2652 | Remove the test. | |
2653 | * tui/tui-io.c (tui_old_readline_echoing_p): Rename to ... | |
2654 | (tui_old_rl_echoing_p): ... here. | |
2655 | (tui_setup_io): Rename extern declaration readline_echoing_p to | |
2656 | _rl_echoing_p. Adjust assignments for the both renames. | |
2657 | ||
1f84b619 TJB |
2658 | 2011-05-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2659 | ||
2660 | * symtab.c (lookup_symtab): Run cleanup before returning. | |
2661 | ||
74ac6d43 TT |
2662 | 2011-05-11 Tom Tromey <tromey@redhat.com> |
2663 | ||
2664 | * dwarf2read.c (handle_data_member_location): New function. | |
2665 | (dwarf2_add_field): Use it. | |
2666 | (read_common_block): Likewise. | |
2667 | ||
5488dafb JK |
2668 | 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
2669 | ||
2670 | Make addrs->SECTINDEX always defined. | |
2671 | * symfile.c (relative_addr_info_to_section_offsets): Check for | |
2672 | SECTINDEX -1, not for zero ADDR. | |
2673 | (addrs_section_compar): Remove checking for invalid SECTINDEX. | |
2674 | (addr_info_make_relative): Set SECTINDEX to -1 for unmatched entries. | |
2675 | * symfile.h (struct section_addr_info) <sectindex>: Update the comment | |
2676 | on its validity. | |
2677 | ||
84e578fb DE |
2678 | 2011-05-10 Doug Evans <dje@google.com> |
2679 | ||
2471d008 DE |
2680 | * linux-thread-db.c: Whitespace cleanup. |
2681 | (try_thread_db_load_1): Fix comment. | |
2682 | ||
84e578fb DE |
2683 | * linux-thread-db.c (set_libthread_db_search_path): New function. |
2684 | (_initialize_thread_db): Add setter for libthread-db-search-path. | |
2685 | ||
673c2bbe DE |
2686 | 2011-05-09 Doug Evans <dje@google.com> |
2687 | ||
478aac75 DE |
2688 | * NEWS: Mention --with-iconv-bin. |
2689 | * configure.ac: New option --with-iconv-bin. | |
2690 | * configure: Regenerate. | |
2691 | * config.in: Regenerate. | |
2692 | * defs.h (relocate_gdb_directory): Declare. | |
2693 | * main.c (relocate_gdb_directory): Renamed from relocate_directory, | |
2694 | removed progname parameter, and exported. All callers updated. | |
2695 | * charset.c (find_charset_names): Use --with-iconv-bin if specified. | |
2696 | ||
673c2bbe DE |
2697 | * linux-nat.c (lin_lwp_attach_lwp): For !WIPSTOPPED case, |
2698 | adding missing call to restore_child_signals_mask. | |
2699 | ||
e4c8541f PA |
2700 | 2011-05-09 Pedro Alves <pedro@codesourcery.com> |
2701 | ||
2702 | * inferior.h (wait_for_inferior): Remove `thread_exec_as_sigtrap' | |
2703 | parameter. | |
2704 | * infrun.c (proceed, start_remote): Adjust. | |
2705 | (wait_for_inferior): Remove `thread_exec_as_sigtrap' parameter, | |
2706 | and adjust to not handle it. | |
2707 | * solib-irix.c (irix_solib_create_inferior_hook): Adjust. | |
2708 | * solib-osf.c (osf_solib_create_inferior_hook): Adjust. | |
2709 | * solib-sunos.c (sunos_solib_create_inferior_hook): Adjust. | |
2710 | * solib-svr4.c (svr4_solib_create_inferior_hook): Adjust. | |
2711 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
2712 | * infcmd.c (attach_command): Adjust. | |
2713 | (notice_new_inferior): Adjust. | |
2714 | ||
a536c6d7 UW |
2715 | 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
2716 | ||
2717 | * ppc-linux-tdep.c (ppu2spu_prev_register): Handle pseudo registers. | |
2718 | (ppu2spu_unwind_register): Mark pseudo registers unavailable. | |
2719 | * spu-tdep.c (op_selb): Use correct value. | |
2720 | ||
7845b013 UW |
2721 | 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
2722 | ||
2723 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Add NULL | |
2724 | "parent" parameter to symbol_file_add_from_bfd call. | |
2725 | ||
9c06b0b4 TJB |
2726 | 2011-05-06 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> |
2727 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
2728 | ||
2729 | Implement support for PowerPC BookE masked watchpoints. | |
2730 | * NEWS: Mention masked watchpoint support. Create "Changed commands" | |
2731 | section. | |
2732 | * breakpoint.h (struct breakpoint_ops) <works_in_software_mode>: New | |
2733 | method. Initialize to NULL in all existing breakpoint_ops instances. | |
2734 | (struct breakpoint) <hw_wp_mask>: New field. | |
2735 | * breakpoint.c (is_masked_watchpoint): Add prototype. | |
2736 | (update_watchpoint): Don't set b->val for masked watchpoints. Call | |
2737 | breakpoint's breakpoint_ops.works_in_software_mode if available. | |
2738 | (watchpoints_triggered): Handle the case of a hardware masked | |
2739 | watchpoint trigger. | |
2740 | (watchpoint_check): Likewise. | |
2741 | (works_in_software_mode_watchpoint): New function. | |
2742 | (insert_masked_watchpoint, remove_masked_watchpoint) | |
2743 | (resources_needed_masked_watchpoint) | |
2744 | (works_in_software_mode_masked_watchpoint, print_it_masked_watchpoint) | |
2745 | (print_one_detail_masked_watchpoint, print_mention_masked_watchpoint) | |
2746 | (print_recreate_masked_watchpoint, is_masked_watchpoint): New | |
2747 | functions. | |
2748 | (masked_watchpoint_breakpoint_ops): New structure. | |
2749 | (watch_command_1): Check for the existence of the `mask' parameter. | |
2750 | Set b->ops according to the type of hardware watchpoint being created. | |
2751 | * ppc-linux-nat.c (ppc_linux_insert_mask_watchpoint) | |
2752 | (ppc_linux_remove_mask_watchpoint) | |
2753 | (ppc_linux_masked_watch_num_registers): New functions. | |
2754 | (_initialize_ppc_linux_nat): Initialize to_insert_mask_watchpoint, | |
2755 | to_remove_mask_watchpoint and to_masked_watch_num_registers. | |
2756 | * target.c (update_current_target): Mention to_insert_mask_watchpoint, | |
2757 | to_remove_mask_watchpoint, and to_masked_watch_num_registers. | |
2758 | (target_insert_mask_watchpoint, target_remove_mask_watchpoint) | |
2759 | (target_masked_watch_num_registers): New functions. | |
2760 | * target.h (struct target_ops) <to_insert_mask_watchpoint>, | |
2761 | <to_remove_mask_watchpoint>, <to_masked_watch_num_registers>: New | |
2762 | methods. | |
2763 | (target_insert_mask_watchpoint, target_remove_mask_watchpoint) | |
2764 | (target_masked_watch_num_registers): Add prototypes. | |
2765 | ||
8be455d7 JK |
2766 | 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
2767 | ||
2768 | PR 12573 | |
2769 | * dwarf2read.c (struct dwarf2_cu): New field has_loclist. | |
2770 | (producer_is_gcc_ge_4_0): New function. | |
2771 | (process_full_comp_unit): Set also symtab->locations_valid. Move the | |
2772 | symtab->language code. | |
2773 | (var_decode_location): Set cu->has_loclist. | |
2774 | * symtab.c (skip_prologue_sal): New variables saved_pc, force_skip and | |
2775 | skip. Intialize force_skip from locations_valid. Move the prologue | |
2776 | skipping code into two passes. | |
2777 | * symtab.h (struct symtab): Make the primary field a bitfield. New | |
2778 | field locations_valid. | |
2779 | ||
d8228535 JK |
2780 | 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
2781 | ||
2782 | * c-exp.y (qualified_name): Call destructor_name_p with $1.type. | |
2783 | (classify_inner_name): Call cp_lookup_nested_type with | |
2784 | yylval.tsym.type. | |
2785 | * cp-namespace.c (cp_lookup_nested_type): New variable | |
2786 | saved_parent_type. Call CHECK_TYPEDEF for parent_type. Call | |
2787 | type_name_no_tag_or_error with saved_parent_type. | |
2788 | * dwarf2read.c (load_partial_dies): Read in any children of | |
2789 | DW_TAG_typedef with complaint in such case. | |
2790 | * gdbtypes.c (type_name_no_tag_or_error): New function. | |
2791 | * gdbtypes.h (type_name_no_tag_or_error): New prototype. | |
2792 | * valops.c (destructor_name_p): New comment for parameter type. Remove | |
2793 | type const. Make dname and cp const. Call type_name_no_tag_or_error. | |
2794 | * value.h (destructor_name_p): Remove type const. | |
2795 | ||
1976171a JK |
2796 | 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
2797 | ||
2798 | * symtab.c (compare_symbol_name): New function. | |
2799 | (completion_list_add_name, expand_partial_symbol_name): Call it, | |
2800 | remove the variable ncmp. | |
2801 | (default_make_symbol_completion_list_break_on): Reduce SYM_TEXT_LEN, | |
2802 | gdb_assert it. | |
2803 | ||
a9634178 TJB |
2804 | 2011-05-05 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2805 | ||
2806 | Demote to sw watchpoint only in update_watchpoint. | |
2807 | * breakpoint.c (update_watchpoint): Change between software and | |
2808 | hardware watchpoint for all kinds of watchpoints, not just | |
2809 | read/write ones. Determine b->exact value here instead of | |
2810 | in watch_command_1. Error out if there are not enough resources | |
2811 | for a read or access hardware watchpoint. | |
2812 | (watch_command_1): Remove logic of checking whether there are | |
2813 | enough resources available, since update_watchpoint will do that | |
2814 | work now. Don't set b->exact here. Catch exceptions thrown by | |
2815 | update_watchpoint and delete the watchpoint. | |
2816 | (can_use_hardware_watchpoint): Remove exact_watchpoints argument. | |
2817 | Use target_exact_watchpoints instead. | |
2818 | (delete_breakpoint): Notify observers only if deleted watchpoint | |
2819 | has a breakpoint number assigned to it. | |
2820 | ||
4c67c798 JJ |
2821 | 2011-05-05 Janis Johnson <janisjo@codesourcery.com> |
2822 | ||
2823 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
2824 | ||
a3fcb948 JG |
2825 | 2011-05-05 Jerome Guitton <guitton@adacore.com> |
2826 | ||
2827 | * i386-tdep.c (i386_in_stack_tramp_p, i386_stack_tramp_frame_sniffer): | |
2828 | New functions. | |
2829 | (i386_stack_tramp_frame_unwind): New static global. | |
2830 | (i386_match_pattern): New function, extracted from i386_match_insn. | |
2831 | (i386_match_insn): Use i386_match_pattern. | |
2832 | (i386_match_insn_block): New function. | |
2833 | (i386_tramp_chain_in_reg_insns) | |
2834 | (i386_tramp_chain_on_stack_insns): New static variables. | |
2835 | (i386_gdbarch_init): Add i386_stack_tramp_frame_unwind to list | |
2836 | of unwinders. | |
2837 | ||
4d393d60 JM |
2838 | 2011-05-04 Joseph Myers <joseph@codesourcery.com> |
2839 | ||
2840 | * configure.host (xscale*): Don't handle target. | |
2841 | * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't | |
2842 | handle targets. | |
2843 | ||
f70bd40b YQ |
2844 | 2011-05-04 Yao Qi <yao@codesourcery.com> |
2845 | ||
2846 | * gdb_wait.h: remove WAITTYPE and WCOREDUMP. | |
2847 | ||
dd3295ee JB |
2848 | 2011-05-03 Joel Brobecker <brobecker@adacore.com> |
2849 | ||
2850 | Revert: | |
2851 | | 2011-03-07 Michael Snyder <msnyder@vmware.com> | |
2852 | | * elfread.c (elf_symtab_read): Stop memory leak. | |
2853 | ||
90375a0e PM |
2854 | 2011-05-03 Pierre Muller <muller@ics.u-strasbg.fr> |
2855 | ||
2856 | * nto-tdep.c (nto_target): Replace deprecated call to | |
2857 | cygwin_conv_to_posix_path functions by cygwin_conv_path calls. | |
2858 | ||
d07205c2 JK |
2859 | 2011-05-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
2860 | ||
2861 | Fix false GCC warning. | |
2862 | * breakpoint.c (do_enable_breakpoint): Initialize orig_enable_state. | |
2863 | ||
1e718ff1 TJB |
2864 | 2011-05-03 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2865 | ||
2866 | * breakpoint.c (update_watchpoint): Move code to change | |
2867 | the enable state of breakpoint from here ... | |
2868 | (do_enable_breakpoint): ... to here. | |
2869 | ||
35bef4fd TT |
2870 | 2011-04-26 Andrew Gontarek <andrewg@cray.com> |
2871 | ||
78290264 PP |
2872 | * valprint.c (val_print_array_elements): Fixed poor performance |
2873 | of printing very large arrays with repeat_count_threshold set | |
2874 | to unlimited. New comment. | |
35bef4fd | 2875 | |
38a714bb TT |
2876 | 2011-04-29 Tom Tromey <tromey@redhat.com> |
2877 | ||
2878 | * mi/mi-parse.c (mi_parse): Remove incorrect sizeof. | |
2879 | (mi_parse): Likewise. | |
2880 | * breakpoint.c (break_range_command): Use sizeof char*, not | |
2881 | char**. | |
2882 | (create_breakpoint): Likewise. | |
2883 | (parse_breakpoint_sals): Likewise. | |
2884 | ||
eb73ad13 PA |
2885 | 2011-04-29 Pedro Alves <pedro@codesourcery.com> |
2886 | ||
2887 | * linux-nat.c (linux_child_remove_fork_catchpoint) | |
2888 | (linux_child_remove_vfork_catchpoint) | |
2889 | (linux_child_remove_exec_catchpoint): New functions. | |
2890 | (linux_target_install_ops): Install them. | |
2891 | ||
d65aec65 PM |
2892 | 2011-04-29 Phil Muldoon <pmuldoon@redhat.com> |
2893 | ||
2894 | PR mi/12531 | |
2895 | ||
2896 | * varobj.c (install_default_visualizer): Do not install a | |
2897 | visualizer if the varobj is CPLUS_FAKE_CHILD. | |
2898 | (construct_visualizer): Likewise. | |
2899 | ||
165195f4 JK |
2900 | 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
2901 | ||
2902 | * symtab.c (expand_partial_symbol_name): New variable NCMP. Support | |
2903 | case insensitive comparison. | |
2904 | ||
30852783 UW |
2905 | 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org> |
2906 | ||
2907 | * infrun.c (proceed): Revert previous change. | |
2908 | (resume): Instead, handle the case of signal delivery while stepping | |
2909 | off a breakpoint location here, and only if software single-stepping | |
2910 | is used. Handle nested signals. | |
2911 | ||
7ff120b4 YQ |
2912 | 2011-04-28 Yao Qi <yao@codesourcery.com> |
2913 | ||
2914 | * arm-tdep.c (copy_unmodified): Rename to ... | |
2915 | (arm_copy_unmodified): .. this. New. | |
2916 | (copy_preload): Move common part to ... | |
2917 | (install_preload): .. this. New. | |
2918 | (arm_copy_preload): New. | |
2919 | (copy_preload_reg): Move common part to ... | |
2920 | (install_preload_reg): ... this. New. | |
2921 | (arm_copy_preload_reg): New. | |
2922 | (copy_b_bl_blx): Move common part to ... | |
2923 | (install_b_bl_blx): .. this. New. | |
2924 | (arm_copy_b_bl_blx): New. | |
2925 | (copy_bx_blx_reg): Move common part to ... | |
2926 | (install_bx_blx_reg): ... this. New. | |
2927 | (arm_copy_bx_blx_reg): New. | |
2928 | (copy_alu_reg): Move common part to ... | |
2929 | (install_alu_reg): ... this. New. | |
2930 | (arm_copy_alu_reg): New. | |
2931 | (copy_alu_shifted_reg): Move common part to ... | |
2932 | (install_alu_shifted_reg): ... this. New. | |
2933 | (copy_ldr_str_ldrb_strb): Move common part to ... | |
2934 | (install_ldr_str_ldrb_strb): ... this. New. | |
2935 | (arm_copy_ldr_str_ldrb_strb): New. | |
2936 | (copy_copro_load_store): Move some common part to ... | |
2937 | (install_copy_copro_load_store): ... this. New. | |
2938 | (arm_copy_copro_load_store): New. | |
2939 | (copy_svc): Delete. | |
2940 | (arm_copy_svc): Renamed from copy_svc. | |
2941 | (copy_undef): Delete. | |
2942 | (arm_copy_undef): Renamed from copy_undef. | |
2943 | (decode_ext_reg_ld_st): Delete. | |
2944 | (arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st. | |
2945 | (decode_svc_copro): Delete. | |
2946 | (arm_decode_svc_copro): Renamed from decode_svc_copro. | |
2947 | (copy_copro_load_store, copy_alu_imm): update callers. | |
2948 | (copy_extra_ld_st, copy_block_xfer): Likewise. | |
2949 | (decode_misc_memhint_neon, decode_unconditional): Likewise. | |
2950 | (decode_miscellaneous, decode_dp_misc): Likewise. | |
2951 | (decode_ld_st_word_ubyte, decode_media): Likewise. | |
2952 | (decode_b_bl_ldmstm, decode_ext_reg_ld_st): Likewise. | |
2953 | (decode_svc_copro, decode_misc_memhint_neon): Likewise. | |
2954 | (decode_unconditional, decode_miscellaneous): Likewise. | |
2955 | (decode_media, decode_b_bl_ldmstm): Likewise. | |
2956 | (arm_process_displaced_insn): Likewise.. | |
2957 | (decode_misc_memhint_neon): Delete. | |
2958 | (arm_decode_misc_memhint_neon): Renamed from decode_misc_memhint_neon. | |
2959 | (decode_miscellaneous): Delete. | |
2960 | (arm_decode_miscellaneous): Renamed from decode_miscellaneous. | |
2961 | (decode_dp_misc): Delete. | |
2962 | (arm_decode_dp_misc): Renamed from decode_dp_misc. | |
2963 | (decode_ld_st_word_ubyte): Delete. | |
2964 | (arm_decode_ld_st_word_ubyte): Renamed from decode_ld_st_word_ubyte. | |
2965 | (decode_media): Delete. | |
2966 | (arm_decode_media): Renamed from decode_media. | |
2967 | (decode_b_bl_ldmstm): Delete. | |
2968 | (arm_decode_b_bl_ldmstm): Renamed from decode_b_bl_ldmstm. | |
2969 | (decode_ext_reg_ld_st): Delete. | |
2970 | (arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st. | |
2971 | (decode_unconditional): Delete. | |
2972 | (arm_decode_unconditional): Renamed from decode_unconditional. | |
2973 | ||
559a7a62 JK |
2974 | 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
2975 | ||
2976 | Case insensitive lookups implementation. | |
2977 | * dwarf2read.c: Include ctype.h. | |
2978 | (struct mapped_index): New field version. | |
2979 | (mapped_index_string_hash): New parameter index_version. New comment | |
2980 | for it. Call tolower appropriately. | |
2981 | (find_slot_in_mapped_hash): New variable cmp, initialize it, use it. | |
2982 | Choose the right index version for mapped_index_string_hash. | |
2983 | (dwarf2_read_index): Support also the index version 5. Initialize the | |
2984 | new struct mapped_index field version. | |
2985 | (hash_strtab_entry): Pass INT_MAX for the new parameter, explain why. | |
2986 | (find_slot): Explain the version needs. Pass INT_MAX for the new | |
2987 | parameter. | |
2988 | (write_psymtabs_to_index): Produce version 5. | |
2989 | * minsyms.c (lookup_minimal_symbol): New variable cmp, initialize it, | |
2990 | use it. New comment for SYMBOL_MATCHES_SEARCH_NAME. | |
2991 | * psymtab.c (lookup_partial_symbol): Find the | |
2992 | SYMBOL_MATCHES_SEARCH_NAME start of the found block of matching | |
2993 | entries. | |
2994 | * symtab.c (lookup_symbol_in_language): Remove the case_sensitive_off | |
2995 | NAME lowercasing. | |
2996 | (search_symbols): Pass REG_ICASE to regcomp for case_sensitive_off. | |
2997 | (completion_list_add_name): New variable ncmp, initialize it, use it. | |
2998 | * symtab.h (SYMBOL_HASH_NEXT): Always call tolower. | |
2999 | * utils.c (strcmp_iw): Support case_sensitive_off. | |
3000 | (strcmp_iw_ordered): Sort in a way compatible with case_sensitive_off. | |
3001 | New function comment part. New variables saved_string1, | |
3002 | saved_string2 and case_pass. Add a proper second pass. | |
3003 | ||
681bf369 JK |
3004 | 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
3005 | ||
3006 | Replace re_comp/re_exec by regcomp/regexec. | |
3007 | * symtab.c (struct search_symbols_data): New fields preg, preg_p. | |
3008 | (search_symbols_name_matches): Use them, use regexec. | |
3009 | (search_symbols): New variable retval_chain, adjust the use of | |
3010 | old_chain against it. Replace re_comp by regcomp. Use the new struct | |
3011 | search_symbols_data fields, use regexec instead of re_exec. | |
3012 | ||
b11b1f88 JK |
3013 | 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
3014 | ||
3015 | Format the code for the next patch. | |
3016 | * dwarf2read.c (struct mapped_index): Include delimiting newlines. | |
3017 | * utils.c (strcmp_iw_ordered): Reformat the code for the next patch. | |
3018 | New variables c1 and c2. | |
3019 | ||
2484c66b UW |
3020 | 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org> |
3021 | ||
3022 | * infrun.c (proceed): Do not single-step into signal delivery | |
3023 | when stepping off a breakpoint location. | |
3024 | (insert_step_resume_breakpoint_at_frame): Move prototype earlier. | |
3025 | (insert_step_resume_breakpoint_at_caller): Likewise. | |
3026 | (insert_step_resume_breakpoint_at_sal): Likewise. | |
3027 | (insert_longjmp_resume_breakpoint): Likewise. | |
3028 | ||
47423772 YQ |
3029 | 2011-04-27 Yao Qi <yao@codesourcery.com> |
3030 | ||
3031 | * common/linux-ptrace.h: Remove include <sys/wait.h>. | |
3032 | ||
13bdd2e7 JB |
3033 | 2011-04-27 Joel Brobecker <brobecker@adacore.com> |
3034 | ||
3035 | * procfs.c (procfs_pass_signals): Fix advance declaration. | |
3036 | ||
2455069d UW |
3037 | 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org> |
3038 | ||
3039 | * target.h (struct target_ops): Remove to_notice_signals; | |
3040 | add to_pass_signals. | |
3041 | (target_notice_signals): Remove. | |
3042 | (target_pass_signals): Add prototype. | |
3043 | * target.c (update_current_target): Remove to_notice_signals; | |
3044 | mention to_pass_signals. | |
3045 | (target_pass_signals): New function. | |
3046 | (debug_to_notice_signals): Remove. | |
3047 | (setup_target_debug): Do not install debug_to_notice_signals. | |
3048 | ||
3049 | * infrun.c (signal_pass): New global. | |
3050 | (resume): Call target_pass_signals. | |
3051 | (handle_inferior_event): Report all signals while stepping over | |
3052 | non-steppable watchpoint. Reset trap_expected to ensure breakpoints | |
3053 | are re-inserted when stepping over a signal handler. | |
3054 | (signal_cache_update): New function. | |
3055 | (signal_stop_update): Call it. | |
3056 | (signal_print_update): Likewise. | |
3057 | (signal_pass_update): Likewise. | |
3058 | (handle_command): Call signal_cache_update and target_pass_signals | |
3059 | instead of target_notice_signals. | |
3060 | (_initialize_infrun): Initialize signal_pass. | |
3061 | ||
3062 | * linux-nat.c (pass_mask): New global. | |
3063 | (linux_nat_pass_signals): New function. | |
3064 | (linux_nat_create_inferior): Report all signals initially. | |
3065 | (linux_nat_attach): Likewise. | |
3066 | (linux_nat_resume): Use pass_mask to decide whether to directly | |
3067 | handle an inferior signal. | |
3068 | (linux_nat_wait_1): Likewise. | |
3069 | (linux_nat_add_target): Install to_pass_signals callback. | |
3070 | ||
3071 | * nto-procfs.c (notice_signals): Remove. | |
3072 | (procfs_resume): Do not call notice_signals. | |
3073 | (procfs_notice_signals): Remove. | |
3074 | (procfs_pass_signals): New function. | |
3075 | (init_procfs_ops): Install to_pass_signals callback instead of | |
3076 | to_notice_signals callback. | |
3077 | (_initialize_procfs): Report all signals initially. | |
3078 | ||
3079 | * procfs.c (procfs_notice_signals): Remove. | |
3080 | (procfs_pass_signals): New function. | |
3081 | (procfs_target): Install to_pass_signals callback instead of | |
3082 | to_notice_signals callback. | |
3083 | (register_gdb_signals): Remove. | |
3084 | (procfs_debug_inferior): Report all signals initially. | |
3085 | (procfs_init_inferior): Remove redundant register_gdb_signals call. | |
3086 | ||
3087 | * remote.c (remote_pass_signals): Add numsigs and pass_signals | |
3088 | parameters; use them instead of calling signal_..._state routines. | |
3089 | (remote_notice_signals): Remove. | |
3090 | (remote_start_remote): Report all signals initially. | |
3091 | (remote_resume): Do not call remote_pass_signals. | |
3092 | (_initialize_remote): Install to_pass_signals callback instead of | |
3093 | to_notice_signals callback. | |
3094 | ||
46c6471b PA |
3095 | 2011-04-27 Pedro Alves <pedro@codesourcery.com> |
3096 | ||
3097 | * breakpoint.c (user_settable_breakpoint): Delete. | |
3098 | (user_breakpoint_p): Remove check on user_settable_breakpoint. | |
3099 | (delete_command): Check user_breakpoint_p instead of looking at | |
3100 | the breakpoint's type. | |
3101 | (disable_command): Ditto. | |
3102 | (enable_command): Ditto. | |
3103 | (delete_trace_command): Use user_breakpoint_p instead of looking | |
3104 | at the breakpoint number directly. When checking if there are | |
3105 | user visible tracepoints, in order to know whether to ask the user | |
3106 | for confirmation, check whether the breakpoint is actually a | |
3107 | tracepoint. | |
3108 | ||
f6d90398 VP |
3109 | 2011-04-27 Vladimir Prus <vladimir@codesourcery.com> |
3110 | ||
3111 | * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix | |
3112 | compilation. | |
3113 | ||
8d3788bd VP |
3114 | 2011-04-27 Vladimir Prus <vladimir@codesourcery.com> |
3115 | ||
3116 | MI breakpoint notifications. | |
3117 | ||
f33edef8 PP |
3118 | * annotate.c (breakpoint_changed): Adjust parameter type. |
3119 | * breakpoint.c (set_breakpoint_condition): Adjust to change | |
3120 | in breakpoint_modified type. | |
3121 | (breakpoint_set_commands): Likewise. | |
3122 | (do_map_commands_command): Likewise. | |
3123 | (bpstat_check_breakpoint_conditions): Notify that breakpoint has | |
3124 | changed after bumping hit count. | |
3125 | (bpstat_stop_status): Likewise. | |
3126 | (print_one_breakpoint_location): Don't wrap in tuple here. | |
3127 | (print_one_breakpoint): Always print individual locations. | |
3128 | For locations, use unnamed tuple. | |
3129 | (disable_breakpoints_in_unloaded_shlib): Notify that breakpoint | |
3130 | has changed. | |
3131 | (create_catchpoint, create_syscall_event_catchpoint): Call | |
3132 | breakpoint_created obsever. | |
3133 | (mention): Don't call breakpoint_created observer. | |
3134 | (create_breakpoint_sal): Call breakpoint_created observer. | |
3135 | (create_breakpoint, watch_command_1): Likewise. | |
3136 | (create_ada_exception_breakpoint): Likewise. | |
3137 | (delete_breakpoint): Call breakpoint_deleted breakpoint. | |
3138 | (locations_are_equal): New. | |
3139 | (update_breakpoint_locations): If locations were changed, notify. | |
3140 | (set_ignore_count, disable_breakpoint, do_enable_breakpoint): | |
3141 | Call breakpoint_modified observer. | |
3142 | ||
3143 | * mi/mi-cmd-break.c (breakpoint_notify): Adjust. | |
3144 | (mi_cmd_break_insert): Don't set observers for modify and delete. | |
3145 | * mi/mi-interp.c (mi_suppress_breakpoint_notifications): New. | |
3146 | (mi_breakpoint_created, mi_breakpoint_deleted) | |
3147 | (mi_breakpoint_modified): New. | |
3148 | (mi_interpreter_init): Hook the above. | |
3149 | * mi/mi-main.c (mi_cmd_execute): Disable breakpoint notifications | |
3150 | while -break-* commands are executing. | |
3151 | * mi/mi-main.h (mi_suppress_breakpoint_notifications): New. | |
3152 | * mi/mi-out.c (struct ui_out_data): New field original_buffer. | |
3153 | (mi_redirect): New. | |
3154 | (mi_ui_out_impl): Hook in mi_redirect. | |
3155 | (mi_field_skip): True to the name, skip the field, don't output | |
3156 | a field with an empty value. | |
3157 | ||
3158 | * python/py-breakpoint.c (gdbpy_breakpoint_created) | |
3159 | (gdbpy_breakpoint_deleted): Adjust. | |
3160 | * tui/tui-hooks.c (tui_event_create_breakpoint) | |
3161 | (tui_event_delete_breakpoint, tui_event_modify_breakpoint): Adjust. | |
8d3788bd | 3162 | |
a8f42b45 UW |
3163 | 2011-04-26 Aleksandar Ristovski <aristovski@qnx.com> |
3164 | ||
3165 | * nto-procfs.c (procfs_insert_hw_watchpoint): Fix prototype. | |
3166 | (procfs_remove_hw_watchpoint): Likewise. | |
3167 | ||
57e12211 TT |
3168 | 2011-04-26 Michael Walle <michael@walle.cc> |
3169 | ||
3170 | * remote.c (remote_start_remote): Ack packet after sending the | |
3171 | interrupt sequence. | |
3172 | ||
af96c192 YQ |
3173 | 2011-04-26 Yao Qi <yao@codesourcery.com> |
3174 | ||
f33edef8 PP |
3175 | * linux-nat.c: Move common macros to ... |
3176 | Include linux-ptrace.h. | |
3177 | * common/linux-ptrace.h: ... here. New. | |
af96c192 | 3178 | |
3e03848b JK |
3179 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
3180 | ||
3181 | * elfread.c (elf_symfile_read): Protect dwarf2_initialize_objfile by | |
3182 | !objfile_has_partial_symbols. New comment. | |
3183 | * objfiles.c (objfile_has_partial_symbols): Call HAS_SYMBOLS if | |
3184 | SYM_READ_PSYMBOLS is not present. Extend the comment. | |
3185 | * symfile.h (struct sym_fns): Extend the sym_read_psymbols comment. | |
3186 | ||
1ae0d051 JK |
3187 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
3188 | ||
3189 | * defs.h (ENUM_BITFIELD): Remove. | |
3190 | ||
03f2bd59 JK |
3191 | 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
3192 | Eli Zaretskii <eliz@gnu.org> | |
3193 | ||
3194 | * NEWS: Document the new gdbserver --once option. | |
3195 | ||
4161fbb0 JZ |
3196 | 2011-04-21 Jie Zhang <jzhang918@gmail.com> |
3197 | ||
3198 | * MAINTAINERS: Update my email address. | |
3199 | ||
bcb28afc PM |
3200 | 2011-04-21 Pierre Muller <muller@ics.u-strasbg.fr> |
3201 | ||
3202 | * gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro. | |
3203 | (INTERMEDIATE_ENCODING): Change value to intermediate_encoding | |
3204 | function call if __STDC_ISO_10646__ macro is defined. | |
3205 | (intermediate_encoding): New prototype. | |
3206 | * charset.c (your_gdb_wchar_t_is_bogus): New extern test variable | |
3207 | to generate compile time error for unsupported gdb_wchar_t size. | |
3208 | (ENDIAN_SUFFIX): New macro. | |
3209 | (intermediate_encoding): New function. | |
3210 | ||
7b08b9eb JK |
3211 | 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
3212 | ||
3213 | * ada-lang.c (struct add_partial_datum): Update the comment for | |
3214 | expand_partial_symbol_name. | |
3215 | (ada_add_partial_symbol_completions): Rename to ... | |
3216 | (ada_expand_partial_symbol_name): ... here, change return type, update | |
3217 | function comment, call symbol_completion_match instead of | |
3218 | symbol_completion_add. | |
3219 | (ada_make_symbol_completion_list): Use now expand_partial_symbol_names | |
3220 | and ada_expand_partial_symbol_name. | |
3221 | * dwarf2read.c (dw2_expand_symtabs_matching): Support NULL | |
3222 | FILE_MATCHER. | |
3223 | (dw2_map_symbol_names): Remove. | |
3224 | (dwarf2_gdb_index_functions): Unlist dw2_map_symbol_names. | |
3225 | * psymtab.c (map_symbol_names_psymtab): Remove. | |
3226 | (expand_symtabs_matching_via_partial): Support NULL FILE_MATCHER. | |
3227 | Support KIND == ALL_DOMAIN. Exchange the NAME_MATCHER and KIND check | |
3228 | order. | |
3229 | (psym_functions): Unlist map_symbol_names_psymtab. | |
3230 | (map_partial_symbol_names): Rename to ... | |
3231 | (expand_partial_symbol_names): ... here, change the FUN type, call | |
3232 | expand_symtabs_matching with ALL_DOMAIN and NULL FILE_MATCHER now. | |
3233 | * psymtab.h (map_partial_symbol_names): Rename to ... | |
3234 | (expand_partial_symbol_names): ... here, change the FUN type. | |
3235 | * symfile.h (struct quick_symbol_functions): Update the description of | |
3236 | expand_symtabs_matching. Remove map_symbol_names. | |
3237 | * symtab.c (search_symbols): Add ALL_DOMAIN to the function comment. | |
3238 | (struct add_name_data): Update the comment for | |
3239 | expand_partial_symbol_name. | |
3240 | (add_partial_symbol_name): Rename to ... | |
3241 | (expand_partial_symbol_name): ... here. Replace | |
3242 | completion_list_add_name call by strncmp. | |
3243 | (default_make_symbol_completion_list_break_on): Use now | |
3244 | expand_partial_symbol_names and expand_partial_symbol_name. | |
3245 | * symtab.h (enum search_domain): New element ALL_DOMAIN. | |
3246 | ||
90476074 TT |
3247 | 2011-04-20 Tom Tromey <tromey@redhat.com> |
3248 | ||
3249 | * dwarf2read.c (save_gdb_index_command): Replace format | |
3250 | documentation with a pointer to the manual. | |
3251 | ||
c21236dc PA |
3252 | 2011-04-20 Pedro Alves <pedro@codesourcery.com> |
3253 | ||
3254 | * regcache.c: Include remote.h. | |
3255 | (enum regcache_dump_what) <regcache_dump_remote>: New enum value. | |
3256 | (regcache_dump): Handle regcache_dump_remote. | |
3257 | (maintenance_print_remote_registers): New function. | |
3258 | (_initialize_regcache): Install "maint print remote-registers" | |
3259 | command. | |
3260 | * remote.c (map_regcache_remote_table): New function, factored out | |
3261 | from ... | |
3262 | (init_remote_state): ... here. | |
3263 | (remote_register_number_and_offset): New. | |
3264 | * remote.h (remote_register_number_and_offset): Declare. | |
3265 | ||
b78974c3 PA |
3266 | 2011-04-20 Pedro Alves <pedro@codesourcery.com> |
3267 | ||
3268 | * regcache.c (get_thread_arch_regcache): If creating a regcache for | |
3269 | null_ptid, assume and allow a NULL address space, instead of | |
3270 | asking the target for the ptid's address space. | |
3271 | * infrun.c (ptid_is_pid): Remove assertion. | |
3272 | ||
7a9dd1b2 TT |
3273 | 2011-04-19 Tom Tromey <tromey@redhat.com> |
3274 | ||
3275 | * windows-tdep.c (windows_xfer_shared_library): | |
3276 | * windows-nat.c (get_module_name, windows_make_so): | |
3277 | * v850-tdep.c (v850_handle_pushm): | |
3278 | * utils.c (null_cleanup, gdb_realpath): | |
3279 | * ui-out.c (get_next_header): | |
3280 | * tracepoint.c (clear_traceframe_info): | |
3281 | * symtab.c (lookup_symtab): | |
3282 | * serial.h (struct serial_ops): | |
3283 | * mipsread.c (read_alphacoff_dynamic_symtab): | |
3284 | * infcmd.c (print_return_value): | |
3285 | * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): | |
3286 | * f-exp.y (parse_number): | |
3287 | * exceptions.c (catch_exceptions): | |
3288 | * dummy-frame.c (dummy_frame_this_id): | |
3289 | * defs.h (struct cleanup): | |
3290 | * breakpoint.c (disable_breakpoints_in_unloaded_shlib): | |
3291 | * arm-tdep.c (arm_push_dummy_call): | |
3292 | * amd64-tdep.h (amd64_collect_xsave): | |
3293 | * amd64-tdep.c (amd64_collect_xsave): | |
3294 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): | |
3295 | * README (typing): Remove duplicate words. | |
3296 | * cli/cli-decode.c (lookup_cmd_composition): Add comma. | |
3297 | * infrun.c (siginfo_value_read): Fix typo. | |
3298 | * solib-frv.c (frv_fdpic_find_global_pointer): Likewise. | |
3299 | * top.c (source_line_number): Add comma. | |
3300 | ||
9941e0c5 MK |
3301 | 2011-04-19 Marc Khouzam <marc.khouzam@ericsson.com> |
3302 | ||
3303 | * thread.c (any_live_thread_of_process): Prioritize threads | |
3304 | that are not executing. | |
3305 | * gdbthread.h (any_live_thread_of_process): Update comment | |
3306 | as per above change. | |
3307 | ||
ed4b0e6a AS |
3308 | 2011-04-19 Andreas Schwab <schwab@linux-m68k.org> |
3309 | ||
3310 | * xcoffread.c (process_xcoff_symbol): Remove useless cast. | |
3311 | (scan_xcoff_symtab): Likewise. | |
3312 | ||
9b13a2db PM |
3313 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
3314 | ||
3315 | * xcoffread.c (process_xcoff_symbol): ARI fix: Avoid assignment | |
3316 | inside if clause. | |
3317 | ||
1c6e1b0d PM |
3318 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
3319 | Pedro Alves <pedro@codesourcery.com> | |
3320 | ||
3321 | * xstormy16-tdep.c (xstormy16_push_dummy_call): Add local | |
3322 | variables to simplify code and avoid == operator at end of | |
3323 | line as this is against GNU coding standards. | |
3324 | ||
74de0234 PM |
3325 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
3326 | ||
3327 | * solib-svr4.c (svr4_keep_data_in_core): Rename local variable | |
3328 | lm_name to name_lm to avoid conflict with lm_name function. | |
3329 | ||
b23518f0 PM |
3330 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
3331 | ||
3332 | ARI fixes: Use only lowercase function name for static functions. | |
3333 | * nto-tdep.c (LM_ADDR): Rename to... | |
3334 | (lm_addr): New function name. | |
3335 | (nto_relocate_section_addresses): Adapt to change above. | |
3336 | * solib-sunos.c (LM_ADDR): Rename to... | |
3337 | (lm_addr): New function name. | |
3338 | (LM_NEXT): Rename to... | |
3339 | (lm_next): New function name. | |
3340 | (sunos_current_sos, sunos_relocate_section_addresses): Adapt to | |
3341 | function name changes above. | |
3342 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Rename to... | |
3343 | (lm_addr_from_link_map): New function name. | |
3344 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
3345 | (has_lm_dynamic_from_link_map): New function name. | |
3346 | (LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
3347 | (lm_dynamic_from_link_map): New function name. | |
3348 | (LM_ADDR_CHECK): Rename to... | |
3349 | (lm_addr_check): New function name. | |
3350 | (LM_NEXT): Rename to... | |
3351 | (lm_next): New function name. | |
3352 | (LM_PREV): Rename to... | |
3353 | (lm_prev): New function name. | |
3354 | (LM_NAME): Rename to... | |
3355 | (lm_name): New function name. | |
3356 | (IGNORE_FIRST_LINK_MAP_ENTRY): Rename to... | |
3357 | (ignore_first_link_map_entry): New function name. | |
3358 | (svr4_keep_data_in_core): Adapt to function name changes above. | |
3359 | (svr4_current_sos): Likewise. | |
3360 | (enable_break): Likewise. | |
3361 | (svr4_relocate_section_addresses): Likewise. | |
3362 | ||
1448a0a2 PM |
3363 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
3364 | ||
3365 | ARI cleanup. | |
3366 | * xtensa-tdep.c (xtensa_register_type): Use xstrprintf instead of | |
3367 | sprintf. Simplify code and avoid loosing memory. | |
3368 | (xtensa_register_reggroup_p): Extract assignment out of IF clause. | |
3369 | (call0_frame_cache): Remove && operator from end of line. | |
3370 | ||
02835898 JK |
3371 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
3372 | ||
3373 | Fix libraries displacement if they change whether they were prelinked. | |
3374 | * solib-svr4.c (LM_ADDR_CHECK): Set L_ADDR even if the DYNAMIC pointer | |
3375 | does not match. Comment why. | |
3376 | ||
9a845ea2 JK |
3377 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
3378 | ||
3379 | * corelow.c: Include wrapper.h. | |
3380 | (core_open): Call now gdb_target_find_new_threads. | |
3381 | * wrapper.c: Include target.h. | |
3382 | (gdb_target_find_new_threads): New. | |
3383 | * wrapper.h (gdb_target_find_new_threads): New declaration. | |
3384 | ||
254f582e JK |
3385 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
3386 | ||
3387 | * linux-thread-db.c (find_new_threads_callback): Exit on zero TI_TID | |
3388 | even if !TARGET_HAS_EXECUTION. | |
3389 | ||
63524580 JK |
3390 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
3391 | ||
3392 | Fix convert_code_addr_to_desc_addr for ppc64 files after eu-strip. | |
3393 | * elfread.c (elf_symfile_read): New variable synth_abfd, pass it to | |
3394 | bfd_get_synthetic_symtab. | |
3395 | * jit.c (jit_register_code): Pass NULL to the new parameter parent. | |
3396 | * machoread.c (macho_add_oso_symfile): Pass main_objfile to the new | |
3397 | parameter parent, remove the call to add_separate_debug_objfile. | |
3398 | * solib.c (solib_read_symbols): Pass NULL to the new parameter parent. | |
3399 | * symfile-mem.c (symbol_file_add_from_memory): Likewise. | |
3400 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New parameter | |
3401 | parent, new comment for it, call add_separate_debug_objfile for it. | |
3402 | (symbol_file_add_separate): Pass objfile as the parameter parent, | |
3403 | remove the call to add_separate_debug_objfile. | |
3404 | (symbol_file_add_from_bfd): New parameter parent, pass it. | |
3405 | (symbol_file_add): Pass NULL to the new parameter parent. | |
3406 | * symfile.h (symbol_file_add_from_bfd): New parameter parent. | |
3407 | ||
90359a16 JK |
3408 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
3409 | ||
3410 | * elfread.c (elf_symtab_read): Do not ignore .L symbols if they are | |
3411 | BSF_SYNTHETIC. | |
3412 | ||
626e7282 JK |
3413 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
3414 | ||
3415 | Fix Python access to inlined frames. | |
3416 | * python/py-frame.c (frapy_read_var): Find BLOCK using get_frame_block. | |
3417 | * python/py-symbol.c (gdbpy_lookup_symbol): Likewise. | |
3418 | ||
cf31e6f9 TT |
3419 | 2011-04-15 Tom Tromey <tromey@redhat.com> |
3420 | ||
3421 | * dwarf2read.c (add_index_entry): Use VEC_last, not VEC_length. | |
3422 | ||
c8d895f1 GB |
3423 | 2011-04-15 Gary Benson <gbenson@redhat.com> |
3424 | ||
3425 | * MAINTAINERS: Add myself to write-after-approval section. | |
3426 | ||
56a9aa1d MF |
3427 | 2011-04-14 Mike Frysinger <vapier@gentoo.org> |
3428 | ||
3429 | * remote-sim.c (sim_command_completer): New function. | |
3430 | (_initialize_remote_sim): Set completer to sim_command_completer. | |
3431 | ||
ba770c9c TJB |
3432 | 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3433 | ||
3434 | * breakpoint.c (print_exception_catchpoint): Rename to ... | |
3435 | (print_it_exception_catchpoint): ... this. | |
3436 | (gnu_v3_exception_catchpoint_ops): Update with new name | |
3437 | for print_it_exception_catchpoint. | |
3438 | ||
51bf2553 EBM |
3439 | 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com> |
3440 | ||
3441 | * MAINTAINERS: Add myself for write after approval privileges. | |
3442 | ||
d242658c MP |
3443 | 2011-04-13 Marek Polacek <mpolacek@redhat.com> |
3444 | ||
3445 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
3446 | ||
4a4106ca TJB |
3447 | 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3448 | ||
3449 | * breakpoint.c (watch_command_1): Remove colon from exp_string. | |
3450 | ||
26063d49 TJB |
3451 | 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3452 | ||
3453 | * breakpoint.c (save_breakpoints): Verify whether | |
3454 | breakpoint_ops.print_recreate is defined before calling it. | |
3455 | ||
7782b183 GB |
3456 | 2011-04-11 Gary Benson <gbenson@redhat.com> |
3457 | ||
3458 | Fix failure with --enable-maintainer-mode. | |
3459 | * Makefile.in (aclocal_m4_deps): Updated gnulib dependencies. | |
3460 | ||
e8930875 JK |
3461 | 2011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
3462 | ||
3463 | Code cleanup. | |
3464 | * symtab.c (search_symbols): Reorder the KIND description in the | |
3465 | function comment. Remove the unused 4th element of types, types2, | |
3466 | types3 and types4. New gdb_assert on KIND. | |
3467 | (symtab_symbol_info): Remove the unused 4th element of classnames. | |
3468 | New gdb_assert on KIND. | |
3469 | * symtab.h (enum search_domain): New warning in the enum comment. | |
3470 | Assign numbers to the elements VARIABLES_DOMAIN, FUNCTIONS_DOMAIN and | |
3471 | TYPES_DOMAIN. | |
3472 | ||
b4f2f049 JK |
3473 | 2011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
3474 | ||
3475 | Fix crash of gdb save-index on a STABS file. | |
3476 | * dwarf2read.c (write_psymtabs_to_index): Return also on no | |
3477 | PSYMTABS_ADDRMAP. | |
3478 | ||
60d5a603 JK |
3479 | 2011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
3480 | ||
3481 | Fix DW_AT_accessibility compatibility with gcc-4.6+. | |
3482 | * dwarf2read.c: Include ctype.h. | |
3483 | (producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New | |
3484 | functions. | |
3485 | (dwarf2_add_field): Fix new_field->accessibility by calling | |
3486 | dwarf2_default_access_attribute. Restructure setting accessibility | |
3487 | vs. virtuality. | |
3488 | (dwarf2_add_member_fn): New variable accessibility. Fix fnp | |
3489 | is_private and is_protected by calling | |
3490 | dwarf2_default_access_attribute. | |
3491 | ||
e0f68161 KB |
3492 | 2011-04-08 Kevin Buettner <kevinb@redhat.com> |
3493 | ||
3494 | * rx-tdep.c (rx_frame_unwind): Add default_frame_unwind_stop_reason | |
3495 | to the initialization. | |
3496 | ||
2e1aae43 SE |
3497 | 2011-04-08 Steve Ellcey <sje@cup.hp.com> |
3498 | ||
3499 | * Add default_frame_unwind_stop_reason value to libunwind_frame_unwind | |
3500 | initalization. | |
3501 | ||
c6ca3dab PM |
3502 | 2011-04-07 Pierre Muller <muller@ics.u-strasbg.fr> |
3503 | ||
3504 | Remove support for old Cygwin 1.5 versions. | |
3505 | * remote-fileio.c: Remove macros used to emulate new cygwin_conv_path | |
3506 | function on old Cygwin version. | |
3507 | * windows-nat.c: Remove cygwin version check and always define | |
3508 | __USEWIDE for Cygwin compilation. | |
3509 | ||
bd18283a YQ |
3510 | 2011-04-07 Yao Qi <yao@codesourcery.com> |
3511 | ||
3512 | * arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN | |
3513 | and TO. | |
3514 | * arm-tdep.c (cleanup_svc): Handle variable instruction size. | |
3515 | (arm_copy_svc): Remove parameters INSN and TO. | |
3516 | (decode_svc_copro): Update caller. | |
3517 | * arm-tdep.h (struct displaced_step_closure): Remove parameters | |
3518 | from function pointer `copy_svc_os'. | |
3519 | ||
8c8dba6d YQ |
3520 | 2011-04-07 Yao Qi <yao@codesourcery.com> |
3521 | ||
3522 | * arm-tdep.c (cleanup_branch): Set a correct return address in | |
3523 | LR for ARM and Thumb. | |
3524 | ||
59d7bcaf JK |
3525 | 2011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
3526 | ||
3527 | Code cleanup. | |
3528 | * dictionary.c (dict_hash): Use SYMBOL_HASH_NEXT. | |
3529 | * dwarf2read.c (mapped_index_string_hash): Refer to SYMBOL_HASH_NEXT | |
3530 | in the function comment, a new note on values compatibility. | |
3531 | * minsyms.c (msymbol_hash_iw, msymbol_hash): Use SYMBOL_HASH_NEXT. | |
3532 | * symtab.h (SYMBOL_HASH_NEXT): New. | |
3533 | ||
e7db58ea TJB |
3534 | 2011-04-06 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3535 | ||
3536 | * ppc-linux-nat.c (check_condition): Add len output parameter. | |
3537 | Set it based on the memory region referenced in the condition | |
3538 | expression. Update all callers. | |
3539 | ||
9f743ef6 JK |
3540 | 2011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
3541 | ||
3542 | Fix crash regression on systems featuring .gdb_index. | |
3543 | * objfiles.c (free_objfile): Move the | |
3544 | forget_cached_source_info_for_objfile call earlier. Comment it. | |
3545 | Extend the comment for objfile_free_data. | |
3546 | ||
9182c5bc JK |
3547 | 2011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
3548 | ||
3549 | Fix regression of displaying the debug format. | |
3550 | * buildsym.c (end_symtab): Set symtab's debugformat and producer from | |
3551 | subfile. | |
3552 | ||
04bd08de TT |
3553 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3554 | ||
3555 | * cli/cli-interp.c (struct captured_execute_command_args): | |
3556 | Remove. | |
3557 | (do_captured_execute_command): Remove. | |
3558 | (safe_execute_command): Use TRY_CATCH. | |
3559 | * cli/cli-script.c (struct wrapped_read_command_file_args): | |
3560 | Remove. | |
3561 | (wrapped_read_command_file): Remove. | |
3562 | (script_from_file): Use TRY_CATCH. | |
3563 | * exceptions.c (catch_exception): Remove. | |
3564 | * exceptions.h (catch_exception): Remove. | |
3565 | (deprecated_throw_reason): Update comment. | |
3566 | * mi/mi-main.c (captured_mi_execute_command): Change 'data' | |
3567 | argument to 'context'. | |
3568 | (mi_execute_command): Use TRY_CATCH. | |
3569 | * remote.c (struct start_remote_args): Remove. | |
3570 | (remote_start_remote): Update; change arguments. | |
3571 | (remote_open_1): Use TRY_CATCH. | |
3572 | ||
58438ac1 TT |
3573 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3574 | ||
3575 | * tracepoint.c (scope_info): Update. | |
3576 | * symtab.c (decode_line_spec): Update. | |
3577 | * python/python.c (gdbpy_decode_line): Update. | |
3578 | * linespec.h (decode_line_1): Update. | |
3579 | * linespec.c (decode_line_1): Remove 'not_found_ptr' argument. | |
3580 | (decode_compound, find_method, symtab_from_filename) | |
3581 | (decode_variable): Likewise. | |
3582 | * cli/cli-cmds.c (edit_command): Update. | |
3583 | (list_command): Update. | |
3584 | * breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr' | |
3585 | argument. | |
3586 | (create_breakpoint): Update. | |
3587 | (until_break_command): Update. | |
3588 | (addr_string_to_sals): Update. | |
3589 | (decode_line_spec_1): Update. | |
3590 | ||
b78a6381 TT |
3591 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3592 | ||
3593 | * breakpoint.c (struct captured_parse_breakpoint_args): Remove. | |
3594 | (do_captured_parse_breakpoint): Remove. | |
3595 | (create_breakpoint): `e' is now volatile. Remove `parse_args'. | |
3596 | Use TRY_CATCH directly. | |
3597 | ||
00174a86 TT |
3598 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3599 | ||
3600 | * symtab.h (free_symtab): Remove. | |
3601 | (forget_cached_source_info_for_objfile): Declare. | |
3602 | * symmisc.c (free_symtab): Remove. | |
3603 | * source.c (forget_cached_source_info_for_objfile): New function. | |
3604 | (forget_cached_source_info): Use it. | |
3605 | * objfiles.c (free_objfile): Simplify check before calling | |
3606 | clear_current_source_symtab_and_line. Call | |
3607 | forget_cached_source_info_for_objfile. | |
3608 | ||
30cc903e TT |
3609 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3610 | ||
3611 | * mdebugread.c (psymtab_to_symtab_1): Copy linetable to obstack. | |
3612 | (new_symtab): Don't set `free_code' on symtab. | |
3613 | (new_linetable): Properly handle size==0. | |
3614 | * symtab.h (struct symtab) <free_code, free_func>: Remove. | |
3615 | * symmisc.c (free_symtab): Don't free the linetable. Don't call | |
3616 | free_func. | |
3617 | * jv-lang.c (struct jv_per_objfile_data): New. | |
3618 | (jv_per_objfile_free): Free the data. | |
3619 | (get_dynamics_objfile): Allocate a jv_per_objfile_data. | |
3620 | (get_java_class_symtab): Set the `dict' field on the | |
3621 | jv_per_objfile_data. | |
3622 | (free_class_block): Remove. | |
3623 | * buildsym.c (end_symtab): Don't set `free_code' or `free_func' on | |
3624 | the symtab. | |
3625 | ||
0c2e6019 TT |
3626 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3627 | ||
3628 | * symfile.c (reread_symbols): Update. | |
3629 | * objfiles.h (struct objfile) <cp_namespace_symtab>: Remove | |
3630 | field. | |
3631 | * objfiles.c (allocate_objfile): Update. | |
3632 | * cp-support.h (cp_check_possible_namespace_symbols): Don't | |
3633 | declare. | |
3634 | * cp-namespace.c (lookup_symbol_file): Don't call | |
3635 | lookup_possible_namespace_symbol. | |
3636 | (initialize_namespace_symtab, get_possible_namespace_block) | |
3637 | (free_namespace_block, cp_check_possible_namespace_symbols) | |
3638 | (check_possible_namespace_symbols_loop) | |
3639 | (check_one_possible_namespace_symbol) | |
3640 | (lookup_possible_namespace_symbol): Remove. | |
3641 | (maintenance_cplus_namespace): Replace with notice. | |
3642 | (_initialize_cp_namespace): Deprecate `maint cplus namespace'. | |
3643 | ||
554d387d TT |
3644 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3645 | ||
3646 | * xcoffread.c (read_xcoff_symtab): Make `debugfmt' const. | |
3647 | * symtab.h (struct symtab) <producer, debugformat>: Now const. | |
3648 | * symmisc.c (free_symtab): Don't free debugformat. | |
3649 | * buildsym.h (struct subfile) <producer, debugformat>: Now const. | |
3650 | (record_debugformat, record_producer): Document. | |
3651 | * buildsym.c (end_symtab): Don't save debugformat and producer | |
3652 | names on obstack. | |
3653 | (end_symtab): Don't free debugformat and producer fields. | |
3654 | (record_debugformat): Don't call xstrdup. | |
3655 | (record_producer): Likewise. | |
3656 | ||
d4d4db8a TT |
3657 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3658 | ||
3659 | * source.c (find_source_lines): Remove LSEEK_NOT_LINEAR code. | |
3660 | (source_line_charpos, source_charpos_line): Remove. | |
3661 | ||
8903c50d TT |
3662 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3663 | ||
3664 | * symtab.h (domain_enum): Split in two... | |
3665 | (enum search_domain): New. | |
3666 | (search_symbols): Update. | |
3667 | * symtab.c (print_symbol_info, symtab_symbol_info): Remove | |
3668 | redundant declarations. | |
3669 | (search_symbols): Change 'kind' argument to search_domain. | |
3670 | Update. | |
3671 | (print_symbol_info): Likewise. | |
3672 | (symtab_symbol_info): Likewise. | |
3673 | * symfile.h (struct quick_symbol_functions) | |
3674 | <pre_expand_symtabs_matching>: Change type of 'kind' argument. | |
3675 | <expand_symtabs_matching>: Likewise. | |
3676 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Update. | |
3677 | (expand_symtabs_matching_via_partial): Update. | |
3678 | * dwarf2read.c (dw2_pre_expand_symtabs_matching): Update. | |
3679 | (dw2_expand_symtabs_for_function): Update. | |
3680 | * block.h: Moved anonymous enum... | |
3681 | * defs.h (enum block_enum): ... here. Now named. | |
3682 | ||
d9351f5f | 3683 | 2011-04-03 Joel Brobecker <brobecker@adacore.com> |
3684 | ||
3685 | GDB 7.3 branch created (branch timestamp: 2011-04-01 01:00 UTC) | |
3686 | * version.in: Bump version to 7.3.50.20110403-cvs. | |
3687 | ||
d6e00af6 JB |
3688 | 2011-04-03 Joel Brobecker <brobecker@adacore.com> |
3689 | ||
3690 | * NEWS: Create a new section for the next release branch. | |
3691 | Rename the section of the current branch, now that it has | |
3692 | been cut. | |
3693 | ||
2b9e5ea6 UW |
3694 | 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
3695 | ||
3696 | * arm-tdep.c (arm_gdbarch_init): Enfore correct register number | |
3697 | for "fpscr" in target description. | |
3698 | ||
0cf03b49 JK |
3699 | 2011-04-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
3700 | ||
3701 | * dwarf2read.c (find_slot_in_mapped_hash): New variable back_to, | |
3702 | initialize it. Delay HASH initialization. Strip the part after open | |
3703 | parenthesis for languages with qualifiers. Call do_cleanups. | |
3704 | ||
5d901a73 TT |
3705 | 2011-04-01 Tom Tromey <tromey@redhat.com> |
3706 | ||
3707 | * utils.c (report_command_stats): Don't print `-' for negative | |
3708 | number. | |
3709 | ||
b0dd7688 JB |
3710 | 2011-04-01 Eric Botcazou <ebotcazou@adacore.com> |
3711 | ||
3712 | * ada-lang.c (ada_is_simple_array_type, ada_value_slice_from_ptr) | |
3713 | (ada_value_slice, empty_array, to_fixed_array_type): Deal with | |
3714 | typedefs. | |
3715 | ||
956a9fb9 JB |
3716 | 2011-04-01 Joel Brobecker <brobecker@adacore.com> |
3717 | ||
3718 | * breakpoint.h (bpdisp_text): Add declaration. | |
3719 | * breakpoint.c (bpdisp_text): Make non-static. | |
3720 | * ada-lang.c: #include "mi/mi-common.h". | |
3721 | (print_it_exception): Rewrite to improve GDB/MI output. | |
3722 | ||
3352110b PA |
3723 | 2011-04-01 Pedro Alves <pedro@codesourcery.com> |
3724 | ||
3725 | * arm-tdep.h (struct address_space): Add forward declaration. | |
3726 | ||
18819fa6 UW |
3727 | 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
3728 | ||
3729 | * arm-tdep.h (arm_insert_single_step_breakpoint): Add prototype. | |
3730 | * arm-tdep.c (arm_override_mode): New global. | |
3731 | (arm_pc_is_thumb): Respect arm_override_mode. Remove single-step | |
3732 | execution mode heuristics. | |
3733 | (thumb_get_next_pc_raw): Remove INSERT_BKTP argument; always insert | |
3734 | second single-step breakpoint if needed, using | |
3735 | arm_insert_single_step_breakpoint. | |
3736 | (arm_get_next_pc_raw): Remove INSERT_BKTP argument. Only handle | |
3737 | ARM execution mode, do not call thumb_get_next_pc_raw. | |
3738 | (arm_get_next_pc): Encode execution mode in return value. Call | |
3739 | either arm_get_next_pc_raw or thumb_get_next_pc_raw. | |
3740 | (arm_insert_single_step_breakpoint): New function. | |
3741 | (arm_software_single_step): Call it. | |
3742 | * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): Add IS_THUMB | |
3743 | argument to return execution mode of sigreturn target. | |
3744 | (arm_linux_syscall_next_pc): Use it. | |
3745 | (arm_linux_copy_svc): Update call. | |
3746 | (arm_linux_software_single_step): Call | |
3747 | arm_insert_single_step_breakpoint. | |
3748 | ||
a6e293d1 JK |
3749 | 2011-03-31 Jan Kratochvil <jan.kratochvil@redhat.com> |
3750 | ||
3751 | * dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in | |
3752 | the comment. | |
3753 | ||
a4c8e806 TT |
3754 | 2011-03-31 Tom Tromey <tromey@redhat.com> |
3755 | ||
3756 | * varobj.c (update_dynamic_varobj_children): Properly handle | |
3757 | errors from iterator. | |
3758 | ||
df5c6c50 JK |
3759 | 2011-03-31 Jan Kratochvil <jan.kratochvil@redhat.com> |
3760 | ||
3761 | * dwarf2read.c (dwarf2_name): Initialize DEMANGLED. Avoid demangling | |
3762 | struct linkage name twice. | |
3763 | ||
1dae3efc TT |
3764 | 2011-03-31 Tom Tromey <tromey@redhat.com> |
3765 | ||
3766 | * python/py-prettyprint.c (print_stack_unless_memory_error): Add | |
3767 | missing ">" to message. | |
3768 | ||
f4f7ab05 TT |
3769 | 2011-03-31 Tom Tromey <tromey@redhat.com> |
3770 | ||
3771 | * varobj.c (instantiate_pretty_printer): Remove duplicate | |
3772 | 'return'. | |
3773 | ||
fcf250e2 UW |
3774 | 2011-03-31 Ulrich Weigand <ulrich.weigand@linaro.org> |
3775 | ||
3776 | * i386-tdep.c (i386_frame_prev_register): Unwind SP from memory | |
3777 | if neither saved value nor register available (e.g. signal frame). | |
3778 | ||
ee6436e3 TJB |
3779 | 2011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3780 | ||
3781 | * macroexp.c (expand): Avoid uninitialized variable | |
3782 | compiler warning. | |
3783 | ||
423f41a5 TJB |
3784 | 2011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3785 | ||
3786 | * breakpoint.c (break_range_command): Fix typo in comment. | |
3787 | ||
f1310107 TJB |
3788 | 2011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3789 | Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> | |
3790 | ||
3791 | Implement support for PowerPC BookE ranged breakpoints. | |
3792 | * NEWS: Mention support for ranged breakpoints on embedded PowerPC. | |
3793 | * breakpoint.h (struct bp_target_info) <length>: New member | |
3794 | variable. | |
3795 | (struct breakpoint_ops) <breakpoint_hit>: Take struct bp_location | |
3796 | instead of struct breakpoint as argument, and also add ASPACE | |
3797 | and BP_ADDR arguments. Update all callers. | |
3798 | (struct breakpoint_ops) <print_one_detail>: New method. | |
3799 | (struct breakpoint) <addr_string_range_end>: New member variable. | |
3800 | * breakpoint.c (breakpoint_location_address_match): Add function | |
3801 | prototype. | |
3802 | (insert_bp_location): Set bl->target_info.length. | |
3803 | (breakpoint_here_p): Call breakpoint_location_address_match. | |
3804 | (moribund_breakpoint_here_p): Likewise. | |
3805 | (regular_breakpoint_inserted_here_p): Likewise. | |
3806 | (breakpoint_thread_match): Likewise. | |
3807 | (bpstat_stop_status): Likewise. | |
3808 | (bpstat_check_location): Move call to | |
3809 | breakpoint_ops.breakpoint_hit to the top. | |
3810 | (print_one_breakpoint_location): Call | |
3811 | breakpoint_ops.print_one_detail if available. | |
3812 | (breakpoint_address_match_range): New function. | |
3813 | (breakpoint_location_address_match): Likewise. | |
3814 | (breakpoint_locations_match): Compare the length field of the | |
3815 | locations too. | |
3816 | (hw_breakpoint_used_count): Count resources used by all locations | |
3817 | in a breakpoint, and use breakpoint_ops.resources_needed if | |
3818 | available. | |
3819 | (breakpoint_hit_ranged_breakpoint): New function. | |
3820 | (resources_needed_ranged_breakpoint): Likewise. | |
3821 | (print_it_ranged_breakpoint): Likewise. | |
3822 | (print_one_ranged_breakpoint): Likewise. | |
3823 | (print_one_detail_ranged_breakpoint): Likewise. | |
3824 | (print_mention_ranged_breakpoint): Likewise. | |
3825 | (print_recreate_ranged_breakpoint): Likewise. | |
3826 | (ranged_breakpoint_ops): New structure. | |
3827 | (find_breakpoint_range_end): New function. | |
3828 | (break_range_command): Likewise. | |
3829 | (delete_breakpoint): Free addr_string_range_end. | |
3830 | (update_breakpoint_locations): Add SALS_END argument. Update | |
3831 | all callers. Calculate breakpoint length if a non-zero SALS_END | |
3832 | is given. Call breakpoint_locations_match instead of | |
3833 | breakpoint_address_match. | |
3834 | (reset_breakpoint): Find SaL of the end of the range if B is a | |
3835 | ranged breakpoint. | |
3836 | (_initialize_breakpoint): Register break-range command. | |
3837 | * defs.h (print_core_address): Add function prototype. | |
3838 | * ppc-linux-nat.c (ppc_linux_ranged_break_num_registers): New | |
3839 | function. | |
3840 | (ppc_linux_insert_hw_breakpoint): Support ranged breakpoints. | |
3841 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
3842 | (_initialize_ppc_linux_nat): Initialize | |
3843 | to_ranged_break_num_registers. | |
3844 | * target.c (update_current_target): Add comment about | |
3845 | to_ranged_break_num_registers. | |
3846 | (target_ranged_break_num_registers): New function. | |
3847 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
3848 | New method. | |
3849 | (target_ranged_break_num_registers): Add function prototype. | |
3850 | * ui-out.c (ui_out_field_core_addr): Move address-printing logic to ... | |
3851 | * utils.c (print_core_address): ... here. | |
3852 | ||
02d20e4a UW |
3853 | 2011-03-31 Ulrich Weigand <uweigand@de.ibm.com> |
3854 | ||
3855 | * breakpoint.c (addr_string_to_sals): Avoid uninitialized | |
3856 | variable compiler warning. | |
3857 | ||
ef23e705 TJB |
3858 | 2011-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3859 | ||
3860 | * breakpoint.c (breakpoint_re_set_one): Factor out breakpoint-resetting | |
3861 | code from here ... | |
3862 | (re_set_breakpoint): ... to here ... | |
3863 | (addr_string_to_sals): ... and here. | |
3864 | ||
311e6ab3 PM |
3865 | 2011-03-29 Pierre Muller <muller@ics.u-strasbg.fr> |
3866 | ||
3867 | * Makefile.in (SFILES): Add missing C sources. | |
3868 | (HFILES_NO_SRCDIR): Remove gdbserver subdirectory headers. | |
3869 | Add missing headers. | |
3870 | ||
acd1d99c MF |
3871 | 2011-03-29 Mike Frysinger <vapier@gentoo.org> |
3872 | ||
3873 | * .gitignore: New file. | |
3874 | ||
66ee2731 MF |
3875 | 2011-03-29 Mike Frysinger <vapier@gentoo.org> |
3876 | ||
3877 | * NEWS: Mention new cfi device simulation. | |
3878 | ||
53832f31 TT |
3879 | 2011-03-29 Tom Tromey <tromey@redhat.com> |
3880 | ||
3881 | * dwarf2read.c (fixup_partial_die): Handle linkage name on | |
3882 | otherwise anonymous types. | |
3883 | (dwarf2_name): Likewise. | |
3884 | * valops.c (value_struct_elt_for_reference): Refine artificial | |
3885 | type logic. Call error if j==-1. | |
3886 | ||
09b58708 JK |
3887 | 2011-03-29 Andreas Tobler <andreast-list@fgznet.ch> |
3888 | ||
3889 | Fix false GCC warning. | |
3890 | * infcall.c (find_function_addr): Initialize funaddr. | |
3891 | ||
6023c606 PM |
3892 | 2011-03-29 Pierre Muller <muller@ics.u-strasbg.fr> |
3893 | ||
3894 | Fix mingw compilation with --enable-targets=all. | |
3895 | * remote-mips.c (gdb_usleep.h): Include header. | |
3896 | (mips_enter_debug): Use gdb_usleep instead of sleep. | |
3897 | ||
0e30163f JK |
3898 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
3899 | ||
3900 | Support resolution of STT_GNU_IFUNC via breakpoints. | |
3901 | * breakpoint.c (print_it_typical): Support bp_gnu_ifunc_resolver and | |
3902 | bp_gnu_ifunc_resolver_return. | |
3903 | (bpstat_what): Rename parameter to bs_head, new variable bs, adjust | |
3904 | the loop. Support bp_gnu_ifunc_resolver and | |
3905 | bp_gnu_ifunc_resolver_return. New comment after the loop. New loop | |
3906 | for bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return | |
3907 | breakpoints. | |
3908 | (bptype_string, print_one_breakpoint_location): Support | |
3909 | bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. | |
3910 | (user_settable_breakpoint): Return true also for | |
3911 | bp_gnu_ifunc_resolver. | |
3912 | (allocate_bp_location): Support bp_gnu_ifunc_resolver and | |
3913 | bp_gnu_ifunc_resolver_return. | |
3914 | (set_breakpoint_location_function): New parameter explicit_loc, | |
3915 | describe it. Call find_pc_partial_function_gnu_ifunc with new | |
3916 | variable IS_GNU_IFUNC and adjust the address for STT_GNU_IFUNC if | |
3917 | EXPLICIT_LOC is not set. | |
3918 | (set_raw_breakpoint): Set EXPLICIT_LOC for | |
3919 | set_breakpoint_location_function. | |
3920 | (clone_momentary_breakpoint): Use true for EXPLICIT_LOC of | |
3921 | set_breakpoint_location_function. | |
3922 | (mention): Support bp_gnu_ifunc_resolver and | |
3923 | bp_gnu_ifunc_resolver_return. | |
3924 | (add_location_to_breakpoint): Set EXPLICIT_LOC for | |
3925 | set_breakpoint_location_function. | |
3926 | (update_breakpoint_locations): Remove static. | |
3927 | (breakpoint_re_set_one): Support bp_gnu_ifunc_resolver and | |
3928 | bp_gnu_ifunc_resolver_return. | |
3929 | * breakpoint.h (enum bptype): New fields bp_gnu_ifunc_resolver and | |
3930 | bp_gnu_ifunc_resolver_return. | |
3931 | (update_breakpoint_locations): New declaration. | |
3932 | * elfread.c: Include gdbthread.h and regcache.h. | |
3933 | (elf_gnu_ifunc_resolver_stop, elf_gnu_ifunc_resolver_return_stop): New | |
3934 | functions. | |
3935 | (elf_gnu_ifunc_fns): Install them. | |
3936 | * minsyms.c (stub_gnu_ifunc_resolver_stop) | |
3937 | (stub_gnu_ifunc_resolver_return_stop): New functions. | |
3938 | (stub_gnu_ifunc_fns): Install them. | |
3939 | * symtab.h (struct gnu_ifunc_fns): New fields gnu_ifunc_resolver_stop | |
3940 | and gnu_ifunc_resolver_return_stop. | |
3941 | (gnu_ifunc_resolver_stop, gnu_ifunc_resolver_return_stop): New. | |
3942 | ||
07be84bf JK |
3943 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
3944 | ||
3945 | STT_GNU_IFUNC reader implementation. | |
3946 | * elfread.c: Include gdbtypes.h, value.h and infcall.h. | |
3947 | (SYMBOL_GOT_PLT_SUFFIX, elf_rel_plt_read) | |
3948 | (elf_objfile_gnu_ifunc_cache_data, struct elf_gnu_ifunc_cache) | |
3949 | (elf_gnu_ifunc_cache_hash, elf_gnu_ifunc_cache_eq) | |
3950 | (elf_gnu_ifunc_record_cache, elf_gnu_ifunc_resolve_by_cache) | |
3951 | (elf_gnu_ifunc_resolve_by_got, elf_gnu_ifunc_resolve_name) | |
3952 | (elf_gnu_ifunc_resolve_addr): New. | |
3953 | (elf_symfile_read): Call elf_rel_plt_read. | |
3954 | (elf_gnu_ifunc_fns): New. | |
3955 | (_initialize_elfread): Initialize elf_objfile_gnu_ifunc_cache_data. | |
3956 | Install elf_gnu_ifunc_fns. | |
3957 | * infcall.c (find_function_return_type): New function. | |
3958 | (find_function_addr): Resolve TYPE_GNU_IFUNC functions, if possible. | |
3959 | * minsyms.c (stub_gnu_ifunc_resolve_addr) | |
3960 | (stub_gnu_ifunc_resolve_name): New functions. | |
3961 | (stub_gnu_ifunc_fns, gnu_ifunc_fns_p): New variables. | |
3962 | * symtab.h (struct gnu_ifunc_fns, gnu_ifunc_resolve_addr) | |
3963 | (gnu_ifunc_resolve_name, gnu_ifunc_fns_p): New. | |
3964 | ||
300f8e10 JK |
3965 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
3966 | ||
3967 | Code cleanup for later STT_GNU_IFUNC support. | |
3968 | * infcall.c (find_function_addr): Remove variable code, use explicit | |
3969 | dereferences for it. Move VALUE_TYPE initialization later. | |
3970 | ||
11c81455 JK |
3971 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
3972 | ||
3973 | GDB find_pc_partial_function support for STT_GNU_IFUNC. | |
3974 | * blockframe.c (cache_pc_function_is_gnu_ifunc): New variable. | |
3975 | (clear_pc_function_cache): Clear it. | |
3976 | (find_pc_partial_function): Rename to ... | |
3977 | (find_pc_partial_function_gnu_ifunc): ... this function. New | |
3978 | parameter is_gnu_ifunc_p, describe it. Set *IS_GNU_IFUNC_P. | |
3979 | (find_pc_partial_function): New wrapper for this function. | |
3980 | * symtab.h (find_pc_partial_function_gnu_ifunc): New declaration. | |
3981 | ||
0875794a JK |
3982 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
3983 | ||
3984 | GDB internal type support for STT_GNU_IFUNC. | |
3985 | * elfread.c (record_minimal_symbol): Support mst_text_gnu_ifunc. | |
3986 | (elf_symtab_read): Set mst_text_gnu_ifunc for | |
3987 | BSF_GNU_INDIRECT_FUNCTION. | |
3988 | * eval.c (evaluate_subexp_standard): Support TYPE_GNU_IFUNC. | |
3989 | * gdbtypes.c (init_type): Support TYPE_FLAG_GNU_IFUNC, | |
3990 | builtin_func_func, nodebug_text_gnu_ifunc_symbol and | |
3991 | nodebug_got_plt_symbol. | |
3992 | * gdbtypes.h (enum type_flag_value): New entry TYPE_FLAG_GNU_IFUNC. | |
3993 | (TYPE_GNU_IFUNC): New. | |
3994 | (struct main_type): New field flag_gnu_ifunc. | |
3995 | (struct builtin_type): New field builtin_func_func. | |
3996 | (struct objfile_type): New fields nodebug_text_gnu_ifunc_symbol and | |
3997 | nodebug_got_plt_symbol. | |
3998 | * minsyms.c (lookup_minimal_symbol_text): Support mst_text_gnu_ifunc. | |
3999 | (in_gnu_ifunc_stub): New. | |
4000 | (prim_record_minimal_symbol, find_solib_trampoline_target): Support | |
4001 | mst_text_gnu_ifunc. | |
4002 | * parse.c (write_exp_msymbol): New variable ifunc_msym. Detect and | |
4003 | support mst_text_gnu_ifunc. Support mst_slot_got_plt. | |
4004 | * solib-svr4.c (svr4_in_dynsym_resolve_code): Return true also for | |
4005 | in_gnu_ifunc_stub. | |
4006 | * symmisc.c (dump_msymbols): Support mst_text_gnu_ifunc. | |
4007 | * symtab.c (search_symbols): Likewise. | |
4008 | * symtab.h (enum minimal_symbol_type): New fields mst_text_gnu_ifunc | |
4009 | and mst_slot_got_plt. | |
4010 | (in_gnu_ifunc_stub): New declaration. | |
4011 | ||
d0fb5eae JK |
4012 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
4013 | ||
4014 | Support a ring of related breakpoints. | |
4015 | * breakpoint.c (watchpoint_del_at_next_stop): New, move here code from | |
4016 | other functions, add gdb_assert. | |
4017 | (update_watchpoint, watchpoint_check): Add gdb_assert. Use | |
4018 | watchpoint_del_at_next_stop. | |
4019 | (bpstat_check_watchpoint): Use watchpoint_del_at_next_stop. | |
4020 | (bpstat_stop_status): Handle ring in related_breakpoint. | |
4021 | (set_raw_breakpoint_without_location): Initialize ring in | |
4022 | related_breakpoint. | |
4023 | (delete_breakpoint): Handle ring in related_breakpoint, use | |
4024 | watchpoint_del_at_next_stop. | |
4025 | (map_breakpoint_numbers): Handle ring in related_breakpoint. | |
4026 | ||
9cded63f TT |
4027 | 2011-03-28 Tom Tromey <tromey@redhat.com> |
4028 | ||
4029 | PR symtab/12441: | |
4030 | * dwarf2read.c (prepare_one_comp_unit): Don't call set_cu_language | |
4031 | with `language_minimal'. | |
4032 | ||
467d42c4 UW |
4033 | 2011-03-25 Ulrich Weigand <ulrich.weigand@linaro.org> |
4034 | ||
4035 | * arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE | |
4036 | instead of checking for STT_ARM_TFUNC symbol type. | |
4037 | ||
62853458 TT |
4038 | 2011-03-25 Tom Tromey <tromey@redhat.com> |
4039 | ||
4040 | * linespec.c (symbol_found): Restore line-based result for | |
4041 | non-LOC_LABEL symbols. | |
4042 | ||
a7417d46 KT |
4043 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
4044 | ||
4045 | * tui/tui-source.c (tui_set_source_content): Use filename_cmp | |
4046 | instead of strcmp for comparison. | |
4047 | (tui_source_is_displayed): Likewise. | |
4048 | * tui/tui-winsource.c (tui_update_breakpoint_info): Likewise. | |
4049 | ||
55f1336d TT |
4050 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
4051 | ||
f33edef8 PP |
4052 | * dwarf2read.c (lookup_signatured_type): Use DW_FORM_ref_sig8 in |
4053 | complaint. | |
4054 | (skip_one_die): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
4055 | (find_partial_die_in_comp_unit): Likewise in comment. | |
4056 | (read_attribute_value): Likewise. | |
4057 | (lookup_die_type): Likewise. | |
4058 | (dwarf_form_name): Likewise. | |
4059 | (dump_die_shallow): Likewise. | |
4060 | (follow_die_ref_or_sig): Likewise. | |
55f1336d | 4061 | |
9ef07c8c TT |
4062 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
4063 | ||
4064 | PR breakpoints/11816: | |
4065 | * linespec.c (decode_line_1): Parse `function:label' linespecs. | |
4066 | (decode_compound): Update. | |
4067 | (find_function_symbol): New function. | |
4068 | (decode_dollar): Update. | |
4069 | (decode_label): Add 'function_symbol' parameter. Handle | |
4070 | function-relative labels. | |
4071 | (decode_variable): Update. | |
4072 | (symbol_found): Add 'function_symbol' parameter. Use label's PC, | |
4073 | not its line. Set `special_display' and canonical name for | |
4074 | labels. | |
4075 | ||
56435ebe TT |
4076 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
4077 | ||
4078 | * linespec.h (struct linespec_result) <special_display>: New | |
4079 | field. | |
4080 | * breakpoint.h (struct breakpoint) <display_canonical>: New | |
4081 | field. | |
4082 | * breakpoint.c (print_breakpoint_location): Respect | |
4083 | display_canonical. | |
4084 | (create_breakpoint_sal): Add 'display_canonical' parameter. | |
4085 | (create_breakpoints_sal): Update. | |
4086 | (create_breakpoint): Update. | |
4087 | ||
7efd8fc2 TT |
4088 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
4089 | ||
4090 | * symtab.c (decode_line_spec): Update. | |
4091 | * linespec.c (build_canonical_line_spec): Change type of | |
4092 | 'canonical'. | |
4093 | (decode_line_2, decode_line_1, decode_objc, decode_compound) | |
4094 | (find_method, decode_all_digits, decode_dollar, decode_label) | |
4095 | (symbol_found): Likewise. | |
4096 | (init_linespec_result): New function. | |
4097 | * breakpoint.c (struct captured_parse_breakpoint_args) | |
4098 | <canonical_p>: New field, replaces addr_string_p. | |
4099 | (create_breakpoints_sal): Add 'canonical' parameter, replacing | |
4100 | 'addr_string'. | |
4101 | (parse_breakpoint_sals): Likewise. | |
4102 | (do_captured_parse_breakpoint): Update. | |
4103 | (create_breakpoint): Use struct linespec_result. | |
4104 | (until_break_command): Update. | |
4105 | (breakpoint_re_set_one): Update. | |
4106 | (decode_line_spec_1): Update. | |
4107 | * linespec.h (struct linespec_result): New. | |
4108 | (init_linespec_result): Declare. | |
4109 | ||
788c8b10 PA |
4110 | 2011-03-23 Pedro Alves <pedro@codesourcery.com> |
4111 | ||
4112 | * regcache.c (regcache_raw_read): If the target didn't supply a | |
4113 | given raw register, mark it as unavailable. | |
4114 | ||
0ba1096a KT |
4115 | 2011-03-23 Kai Tietz <ktietz@redhat.com> |
4116 | ||
4117 | * breakpoint.c (clear_command): Use filename_cmp | |
4118 | instead of strcmp for comparison. | |
4119 | * buildsym.c (watch_main_source_file_lossage): Likewise. | |
4120 | (patch_subfile_names): Use IS_DIR_SEPARATOR instead of | |
4121 | checking just for slash. | |
4122 | * dbxread.c (read_dbx_symtab): Use lbasename instead of | |
4123 | strrchr and filename_cmp instead of strcmp for filenames. | |
4124 | (add_old_header_file): Use filename_cmp | |
4125 | instead of strcmp for comparison. | |
4126 | * exec.c (exec_set_section_address): Likewise. | |
4127 | * macrotab.c (macro_lookup_inclusion): Likewise. | |
4128 | (macro_lookup_inclusion): Likewise. | |
4129 | * elfread.c (_initialize_elfread): Likewise. | |
4130 | (elfstab_offset_sections): Likewise. | |
4131 | (elfstab_offset_sections): Use lbasename instead of | |
4132 | strrchr. | |
4133 | * mdebugread.c (parse_partial_symbols): Likewise. | |
4134 | (arse_partial_symbols): Use filename_(n)cmp instead of | |
4135 | str(n)cmp for comparison. | |
4136 | * minsyms.c (lookup_minimal_symbol): Likewise. | |
4137 | * psymtab.c (read_psymtabs_with_filename): Likewise. | |
4138 | * solib.c (solib_read_symbols): Likewise. | |
4139 | (reload_shared_libraries_1): Likewise. | |
4140 | * symmisc.c (maintenance_print_symbols): Likewise. | |
4141 | * symfile.c (separate_debug_file_exists): Likewise. | |
4142 | (reread_symbols): Likewise. | |
4143 | (find_separate_debug_file_by_debuglink): Likewise. | |
4144 | * remote-fileio.c (remote_fileio_func_rename): Likewise. | |
4145 | * source.c (add_path): Likewise. | |
4146 | * symtab.c (filename_seen): Likewise. | |
4147 | (file_matches): Likewise. | |
4148 | (print_symbol_info): Likewise. | |
4149 | (maybe_add_partial_symtab_filename): Likewise. | |
4150 | (make_source_files_completion_list): Likewise. | |
4151 | * xml-syscall.c (init_sysinfo): Likewise. | |
4152 | * windows-nat.c (_initialize_check_for_gdb_ini): Use | |
4153 | IS_DIR_SEPARATOR for checking for trailing path separator. | |
4154 | ||
dd90784c JK |
4155 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
4156 | ||
4157 | * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_entry_value. New | |
4158 | label abort_expression. | |
4159 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle | |
4160 | DWARF_VALUE_OPTIMIZED_OUT. | |
4161 | ||
3167638f JK |
4162 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
4163 | ||
4164 | Code cleanup. | |
4165 | * c-typeprint.c (c_type_print_args): Change parameter show_artificial | |
4166 | to linkage_name. Invert its value. Update the function comment. | |
4167 | (c_type_print_varspec_suffix): Invert it at the caller. | |
4168 | * dwarf2read.c (dwarf2_compute_name): Invert it at the caller. | |
4169 | ||
ce406537 PA |
4170 | 2011-03-22 Pedro Alves <pedro@codesourcery.com> |
4171 | ||
4172 | * infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR | |
4173 | errors when reading the `stop_pc'. | |
4174 | * printcmd.c (pc_prefix): Use get_frame_pc_if_available instead of | |
4175 | get_frame_pc. | |
4176 | ||
da5d4055 PM |
4177 | 2011-03-22 Phil Muldoon <pmuldoon@redhat.com> |
4178 | ||
4179 | * NEWS: Document gdb.Write stream keyword. | |
4180 | ||
29e0eb9c JK |
4181 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
4182 | ||
4183 | Revert: | |
4184 | 2011-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> | |
4185 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
4186 | (dwarf2_add_field): Fix new_field->accessibility for | |
4187 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
4188 | ||
05775840 PM |
4189 | 2011-03-22 Phil Muldoon <pmuldoon@redhat.com> |
4190 | ||
f33edef8 | 4191 | PR python/12183 |
05775840 PM |
4192 | |
4193 | * python/py-function.c (fnpy_call): Treat GdbErrors differently to | |
4194 | other error classes. Do not print stack trace. | |
4195 | ||
a0cb7835 JK |
4196 | 2011-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
4197 | ||
4198 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
4199 | (dwarf2_add_field): Fix new_field->accessibility for | |
4200 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
4201 | ||
d19f7eee UW |
4202 | 2011-03-21 Ulrich Weigand <ulrich.weigand@linaro.org> |
4203 | ||
4204 | * arm-tdep.c (arm_analyze_prologue): Do not abort parsing when | |
4205 | encountering a load via a non-SP register. | |
4206 | ||
4a2fbb50 UW |
4207 | 2011-03-21 Ulrich Weigand <uweigand@de.ibm.com> |
4208 | ||
4209 | * tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason | |
4210 | field in returned unwinder. | |
4211 | ||
3489610d JB |
4212 | 2012-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
4213 | ||
4214 | * ada-lang.c (replace_operator_with_call): Copy also GDBARCH. | |
4215 | ||
8c1a34e7 JB |
4216 | 2012-03-21 Joel Brobecker <brobecker@adacore.com> |
4217 | ||
4218 | * ada-lang.c (replace_operator_with_call): Use xzalloc instead | |
4219 | of xmalloc. | |
4220 | ||
8fbca658 PA |
4221 | 2012-03-18 Pedro Alves <pedro@codesourcery.com> |
4222 | ||
4223 | * frame.c (frame_unwind_register): Throw an error if unwinding the | |
4224 | register failed. | |
4225 | * get_prev_frame_1 (get_prev_frame_1): Ask the unwinder if there's | |
4226 | an unwind stop reason. | |
4227 | (frame_stop_reason_string): Handle UNWIND_UNAVAILABLE. | |
4228 | * frame.h (enum unwind_stop_reason) <UNWIND_OUTERMOST, | |
4229 | UNWIND_UNAVAILABLE>: New. | |
4230 | * inline-frame.c (inline_frame_unwind): Install | |
4231 | default_frame_unwind_stop_reason. | |
4232 | * frame-unwind.c: Include "exceptions.h". | |
4233 | (frame_unwind_find_by_frame): Swallow NOT_AVAILABLE_ERROR errors. | |
4234 | (default_frame_unwind_stop_reason): New. | |
4235 | * frame-unwind.h (frame_unwind_stop_reason_ftype): New typedef. | |
4236 | (default_frame_unwind_stop_reason): Declare. | |
4237 | (struct frame_unwind) <stop_reason>: New function pointer. | |
4238 | ||
4239 | * dummy-frame.c: Install default_frame_unwind_stop_reason. | |
4240 | * dwarf2-frame.c: Include exceptions.h. | |
4241 | (struct dwarf2_frame_cache) <unavailable_retaddr>: New field. | |
4242 | (dwarf2_frame_cache): Swallow NOT_AVAILABLE_ERROR errors when | |
4243 | computing the CFA. If such an error was thrown, set | |
4244 | unavailable_retaddr. | |
4245 | (dwarf2_frame_unwind_stop_reason): New. | |
4246 | (dwarf2_frame_this_id): Don't build a frame id if the CFA was | |
4247 | unavailable. | |
4248 | (dwarf2_frame_unwind): Install dwarf2_frame_unwind_stop_reason. | |
4249 | (dwarf2_signal_frame_unwind): Ditto. | |
4250 | ||
4251 | * amd64-tdep.c: Include "exceptions.h". | |
4252 | (struct amd64_frame_cache): New field "base_p". | |
4253 | (amd64_init_frame_cache): Clear it. | |
4254 | (amd64_frame_cache_1): New, factored out from amd64_frame_cache. | |
4255 | Avoid reading registers with functions that throw if the register | |
4256 | is not necessary to compute the frame base. | |
4257 | (amd64_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
4258 | swallowing NOT_AVAILABLE_ERROR. | |
4259 | (amd64_frame_unwind_stop_reason): New. | |
4260 | (amd64_frame_this_id): Don't build a frame id if the frame base | |
4261 | was unavailable. | |
4262 | (amd64_frame_unwind): Install amd64_frame_unwind_stop_reason. | |
4263 | (amd64_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
4264 | base_p if the frame base was computable. | |
4265 | (amd64_sigtramp_frame_unwind_stop_reason): New. | |
4266 | (amd64_sigtramp_frame_this_id): Don't build a frame id if the | |
4267 | frame base was unavailable. | |
4268 | (amd64_sigtramp_frame_unwind): Install | |
4269 | amd64_sigtramp_frame_unwind_stop_reason. | |
4270 | (amd64_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
4271 | base_p if the frame base was computable. | |
4272 | (amd64_epilogue_frame_unwind_stop_reason): New. | |
4273 | (amd64_epilogue_frame_this_id): Don't build a frame id if the | |
4274 | frame base was unavailable. | |
4275 | (amd64_epilogue_frame_unwind): Install | |
4276 | amd64_epilogue_frame_unwind_stop_reason. | |
4277 | * i386-tdep.c: Include "exceptions.h". | |
4278 | (struct i386_frame_cache): New field "base_p". | |
4279 | (i386_init_frame_cache): Clear it. | |
4280 | (i386_frame_cache_1): New, factored out from amd64_frame_cache. | |
4281 | Avoid reading registers with functions that throw if the register | |
4282 | is not necessary to compute the frame base. | |
4283 | (i386_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
4284 | swallowing NOT_AVAILABLE_ERROR. | |
4285 | (i386_frame_unwind_stop_reason): New. | |
4286 | (i386_frame_this_id): Don't build a frame id if the frame base was | |
4287 | unavailable. | |
4288 | (i386_frame_prev_register): Handle unavailable SP. | |
4289 | (i386_frame_unwind): Install i386_frame_unwind_stop_reason. | |
4290 | (i386_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
4291 | base_p if the frame base was computable. | |
4292 | (i386_epilogue_frame_unwind_stop_reason): New. | |
4293 | (i386_epilogue_frame_this_id): Don't build a frame id if the frame | |
4294 | base was unavailable. | |
4295 | (i386_epilogue_frame_unwind): Install | |
4296 | i386_epilogue_frame_unwind_stop_reason. | |
4297 | (i386_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
4298 | base_p if the frame base was computable. | |
4299 | (i386_sigtramp_frame_unwind_stop_reason): New. | |
4300 | (i386_sigtramp_frame_this_id): Don't build a frame id if the frame | |
4301 | base was unavailable. | |
4302 | (i386_sigtramp_frame_unwind): Install | |
4303 | i386_sigtramp_frame_unwind_stop_reason. | |
4304 | * sentinel-frame.c (sentinel_frame_prev_register): Use the value | |
4305 | type's size, not the register's. | |
4306 | (sentinel_frame_unwind): Install default_frame_unwind_stop_reason. | |
4307 | ||
4308 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind): Install | |
4309 | default_frame_unwind_stop_reason. | |
4310 | * alpha-tdep.c (alpha_sigtramp_frame_unwind) | |
4311 | (alpha_heuristic_frame_unwind): Ditto. | |
4312 | * amd64obsd-tdep.c (amd64obsd_trapframe_unwind): Ditto. | |
4313 | * arm-tdep.c (arm_prologue_unwind, arm_stub_unwind): Ditto. | |
4314 | * avr-tdep.c (avr_frame_unwind): Ditto. | |
4315 | * cris-tdep.c (cris_sigtramp_frame_unwind, cris_frame_unwind): | |
4316 | Ditto. | |
4317 | * frv-linux-tdep.c (frv_linux_sigtramp_frame_unwind): Ditto. | |
4318 | * frv-tdep.c (frv_frame_unwind): Ditto. | |
4319 | * h8300-tdep.c (h8300_frame_unwind): Ditto. | |
4320 | * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind): Ditto. | |
4321 | * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind): Ditto. | |
4322 | * hppa-tdep.c (hppa_frame_unwind, hppa_fallback_frame_unwind) | |
4323 | (hppa_stub_frame_unwind): Ditto. | |
4324 | * i386obsd-tdep.c (i386obsd_trapframe_unwind): Ditto. | |
4325 | * ia64-tdep.c (ia64_frame_unwind, ia64_sigtramp_frame_unwind) | |
4326 | (ia64_libunwind_frame_unwind) | |
4327 | (ia64_libunwind_sigtramp_frame_unwind): Ditto. | |
4328 | * iq2000-tdep.c (iq2000_frame_unwind): Ditto. | |
4329 | * lm32-tdep.c (lm32_frame_unwind): Ditto. | |
4330 | * m32c-tdep.c (m32c_unwind): Ditto. | |
4331 | * m32r-linux-tdep.c (m32r_linux_sigtramp_frame_unwind): Ditto. | |
4332 | * m32r-tdep.c (m32r_frame_unwind): Ditto. | |
4333 | * m68hc11-tdep.c (m68hc11_frame_unwind): Ditto. | |
4334 | * m68k-tdep.c (m68k_frame_unwind): Ditto. | |
4335 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_unwind): Ditto. | |
4336 | * m88k-tdep.c (m88k_frame_unwind): Ditto. | |
4337 | * mep-tdep.c (mep_frame_unwind): Ditto. | |
4338 | * microblaze-tdep.c (microblaze_frame_unwind): Ditto. | |
4339 | * mips-tdep.c (mips_insn16_frame_unwind, mips_insn32_frame_unwind) | |
4340 | (mips_stub_frame_unwind): Ditto. | |
4341 | * mn10300-tdep.c (mn10300_frame_unwind): Ditto. | |
4342 | * moxie-tdep.c (moxie_frame_unwind): Ditto. | |
4343 | * mt-tdep.c (mt_frame_unwind): Ditto. | |
4344 | * ppc-linux-tdep.c (ppu2spu_unwind): Ditto. | |
4345 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_unwind): Ditto. | |
4346 | * rs6000-tdep.c (rs6000_frame_unwind): Ditto. | |
4347 | * s390-tdep.c (s390_frame_unwind, s390_stub_frame_unwind) | |
4348 | (s390_sigtramp_frame_unwind): Ditto. | |
4349 | * score-tdep.c (score_prologue_unwind): Ditto. | |
4350 | * sh-tdep.c (sh_frame_unwind): Ditto. | |
4351 | * sh64-tdep.c (sh64_frame_unwind): Ditto. | |
4352 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_unwind): Ditto. | |
4353 | * sparc-tdep.c (sparc32_frame_unwind): Ditto. | |
4354 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind): Ditto. | |
4355 | * sparc64-tdep.c (sparc64_frame_unwind): Ditto. | |
4356 | * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_unwind): Ditto. | |
4357 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_unwind): Ditto. | |
4358 | * sparc64obsd-tdep.c (sparc64obsd_frame_unwind) | |
4359 | (sparc64obsd_trapframe_unwind): Ditto. | |
4360 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_unwind): Ditto. | |
4361 | * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_unwind): Ditto. | |
4362 | * spu-tdep.c (spu_frame_unwind, spu2ppu_unwind): Ditto. | |
4363 | * v850-tdep.c (v850_frame_unwind): Ditto. | |
4364 | * vax-tdep.c (vax_frame_unwind): Ditto. | |
4365 | * vaxobsd-tdep.c (vaxobsd_sigtramp_frame_unwind): Ditto. | |
4366 | * xstormy16-tdep.c (frame_unwind xstormy16_frame_unwind): Ditto. | |
4367 | * xtensa-tdep.c (xtensa_unwind): Ditto. | |
4368 | ||
f23d1b92 PA |
4369 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4370 | ||
4371 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Assume | |
4372 | there's always a frame. Use get_frame_pc_if_available instead of | |
4373 | get_frame_pc, and if there's no PC available, don't look up a | |
4374 | symtab. | |
4375 | ||
1d4f5741 PA |
4376 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4377 | ||
4378 | * stack.c (print_frame_local_vars, print_frame_arg_vars): Handle | |
4379 | unavailable PC. | |
4380 | ||
dba09041 PA |
4381 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4382 | ||
4383 | * tracepoint.c (set_traceframe_context): Handle unavailable PC | |
4384 | gracefully. | |
4385 | ||
9a26e44c PA |
4386 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4387 | ||
4388 | * frame.h (frame_unwind_caller_pc_if_available): Declare. | |
4389 | * frame.c (frame_unwind_caller_pc_if_available): New. | |
4390 | * stack.c (frame_info): Handle unavailable PC. | |
4391 | ||
4392 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
4393 | ||
4394 | * frame.c (frame_unwind_pc): Rename to ... | |
4395 | (frame_unwind_pc_if_available): ... this. New `pc' output | |
4396 | parameter. Change return type to int. Gracefully handle | |
4397 | gdbarch_unwind_pc throwing NOT_AVAILABLE_ERROR. Return 0 if that | |
4398 | happened, or 1 otherwise. | |
4399 | (frame_unwind_pc): Reimplement on top of | |
4400 | frame_unwind_pc_if_available. | |
4401 | (get_frame_func): Rename to ... | |
4402 | (get_frame_func_if_available): New `pc' output parameter. Change | |
4403 | return type to int. Gracefully handle the PC not being available. | |
4404 | (get_frame_func): Reimplement on top of | |
4405 | get_frame_func_if_available. | |
4406 | (select_frame): Handle the PC being unavailable. | |
4407 | (get_prev_frame): Handle the PC being unavailable. | |
4408 | (get_frame_pc_if_available): New. | |
4409 | (get_frame_address_in_block_if_available): New. | |
4410 | (find_frame_sal): Handle the frame PC not being available. | |
4411 | * frame.h (get_frame_pc_if_available): Declare. | |
4412 | (get_frame_address_in_block_if_available): Declare. | |
4413 | (get_frame_func_if_available): Declare. | |
4414 | * stack.c (print_frame_info): Handle the PC being unavailable. | |
4415 | (find_frame_funname): Ditto. | |
4416 | (print_frame): Handle the PC being unavailable. | |
4417 | (get_frame_language): Ditto. | |
4418 | * blockframe.c (get_frame_block): Ditto. | |
4419 | * macroscope.c (default_macro_scope): Ditto. | |
4420 | * tui/tui-stack.c (tui_show_frame_info): Ditto. | |
4421 | ||
4422 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
4423 | ||
4424 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Catch | |
4425 | NOT_AVAILABLE_ERROR when evaluating the location expression. | |
4426 | ||
4427 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
4428 | ||
4429 | * dwarf2loc.c (read_pieced_value): Handle get_frame_register_bytes | |
4430 | returning that the register piece is unavailable/optimized out. | |
4431 | (write_pieced_value): Handle get_frame_register_bytes returning | |
4432 | that the register piece is unavailable/optimized out when doing a | |
4433 | read-modify write of a bitfield. | |
4434 | * findvar.c (value_from_register): Handle get_frame_register_bytes | |
4435 | returning that the register piece is unavailable/optimized out. | |
4436 | * frame.c (get_frame_register_bytes): New parameters `optimizedp' | |
4437 | and `unavailablep'. Throw error on bad debug info. Use | |
4438 | frame_register instead of frame_register_read, to fill in the new | |
4439 | arguments. | |
4440 | * frame.h (get_frame_register_bytes): New parameters `optimizedp' | |
4441 | and `unavailablep'. | |
4442 | * valops.c: (value_assign): Adjust, and handle | |
4443 | get_frame_register_bytes failing. | |
4444 | * spu-tdep.c: Include exceptions.h. | |
4445 | (spu_software_single_step): Adjust, and handle | |
4446 | get_frame_register_bytes failing. | |
4447 | (spu_get_longjmp_target): Ditto. | |
4448 | * gdbarch.sh (register_to_value): Change to return int. New | |
4449 | parameters `optimizedp' and `unavailablep'. | |
4450 | * gdbarch.h, gdbarch.c: Regenerate. | |
4451 | * i386-tdep.c (i386_register_to_value): Adjust to new | |
4452 | gdbarch_register_to_value interface. | |
4453 | * i387-tdep.c (i387_register_to_value): Ditto. | |
4454 | * i387-tdep.h (i387_register_to_value): Ditto. | |
4455 | * alpha-tdep.c (alpha_register_to_value): Ditto. | |
4456 | * ia64-tdep.c (ia64_register_to_value): Ditto. | |
4457 | * m68k-tdep.c (m68k_register_to_value): Ditto. | |
4458 | * mips-tdep.c (mips_register_to_value): Ditto. | |
4459 | * rs6000-tdep.c (rs6000_register_to_value): Ditto. | |
4460 | ||
0fdb4f18 PA |
4461 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4462 | ||
4463 | * findvar.c (value_of_register): Mark the value as unavailable, if | |
4464 | the register is unavailable. | |
4465 | * frame.h (frame_register_unwind): New `unavailablep' parameter. | |
4466 | (frame_register): New `unavailablep' parameter. | |
4467 | (frame_register_read): Update comment. | |
4468 | * frame.c (frame_register_unwind): New `unavailablep' parameter. | |
4469 | Set it if the register is unavailable. If the register is | |
4470 | unavailable, clear the output buffer. | |
4471 | (frame_register): New `unavailablep' parameter. Pass it down. | |
4472 | (frame_unwind_register): Adjust. | |
4473 | (put_frame_register): Adjust. | |
4474 | (frame_register_read): Adjust. Also return false if the register | |
4475 | is not available. | |
4476 | (frame_register_unwind_location): Adjust. | |
4477 | * sentinel-frame.c (sentinel_frame_prev_register): If the register | |
4478 | is unavailable, mark the value accordingly. | |
4479 | * stack.c (frame_info): Handle unavailable registers. | |
4480 | ||
e69aa73e PA |
4481 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4482 | ||
4483 | * mi/mi-main.c (register_changed_p): Handle REG_UNAVAILABLE, and | |
4484 | simplify, using regcache_cooked_read. | |
4485 | ||
05d1431c PA |
4486 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4487 | ||
4488 | * regcache.h (regcache_raw_read, regcache_raw_read_signed) | |
4489 | (regcache_raw_read_unsigned, regcache_raw_read_signed) | |
4490 | (regcache_raw_read_unsigned, regcache_raw_read_part) | |
4491 | (regcache_cooked_read, regcache_cooked_read_signed) | |
4492 | (regcache_cooked_read_unsigned, regcache_cooked_read_part) | |
4493 | (regcache_cooked_read_ftype): Change return to enum | |
4494 | register_status. | |
4495 | * regcache.c: Include exceptions.h | |
4496 | (regcache_save): Adjust to handle REG_UNAVAILABLE registers. | |
4497 | (do_cooked_read): Change return to enum register_status. Always | |
4498 | forward to regcache_cooked_read. | |
4499 | (regcache_raw_read): Change return to enum register_status. If | |
4500 | the register is not REG_VALID, memset the buffer. Return the | |
4501 | register's status. | |
4502 | (regcache_raw_read_signed): Handle non-REG_VALID registers and | |
4503 | return the register's status. | |
4504 | (regcache_raw_read_unsigned): Ditto. | |
4505 | (regcache_cooked_read): Change return to enum register_status. | |
4506 | Assert that with read-only regcaches, the register's status must | |
4507 | be known. If the regcache is read-only, and the register is not | |
4508 | REG_VALID, memset the buffer. Return the register's status. | |
4509 | (regcache_cooked_read_signed): Change return to enum | |
4510 | register_status. Handle non-REG_VALID registers and return the | |
4511 | register's status. | |
4512 | (regcache_cooked_read_unsigned): Change return to enum | |
4513 | register_status. Handle non-REG_VALID registers and return the | |
4514 | register's status. | |
4515 | (regcache_xfer_part, regcache_raw_read_part) | |
4516 | (regcache_cooked_read_part): Change return to enum | |
4517 | register_status. Return the register's status. | |
4518 | (regcache_read_pc): Throw NOT_AVAILABLE_ERROR if the register is | |
4519 | unavailable. | |
4520 | (regcache_dump): Handle unavailable cooked registers. | |
4521 | * frame.c (do_frame_register_read): Adjust interface to match | |
4522 | regcache_cooked_read_ftype. | |
4523 | * gdbarch.sh (pseudo_register_read): Change return to enum | |
4524 | register_status. | |
4525 | * gdbarch.h, gdbarch.c: Regenerate. | |
4526 | ||
4527 | * i386-tdep.h (i386_pseudo_register_read): Change return to enum | |
4528 | register_status. | |
4529 | * i386-tdep.c (i386_pseudo_register_read): Change return to enum | |
4530 | register_status. If reading a raw register indicates the raw | |
4531 | register is not valid, return the raw register's status, | |
4532 | otherwise, return REG_VALID. | |
4533 | * amd64-tdep.c (amd64_pseudo_register_read): Change return to enum | |
4534 | register_status. Handle non-REG_VALID raw registers and return | |
4535 | the register's status. | |
4536 | * arm-tdep.c (arm_neon_quad_read) | |
4537 | (arm_pseudo_read): Change return to enum register_status. Handle | |
4538 | non-REG_VALID raw registers and return the register's status. | |
4539 | * avr-tdep.c (avr_pseudo_register_read): Ditto. | |
4540 | * frv-tdep.c (frv_pseudo_register_read): Ditto. | |
4541 | * h8300-tdep.c (h8300_pseudo_register_read): Ditto. | |
4542 | * hppa-tdep.c (hppa_pseudo_register_read): Ditto. | |
4543 | * m32c-tdep.c (m32c_move_reg_t): Change return to enum | |
4544 | register_status. | |
4545 | (m32c_raw_read, m32c_raw_write, m32c_banked_read) | |
4546 | (m32c_banked_write, m32c_sb_read, m32c_sb_write, m32c_part_read) | |
4547 | (m32c_part_write, m32c_cat_read, m32c_cat_write) | |
4548 | (m32c_r3r2r1r0_read, m32c_r3r2r1r0_write) | |
4549 | (m32c_pseudo_register_read): Change return to enum | |
4550 | register_status. Adjust. | |
4551 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Change return to | |
4552 | enum register_status. Return the register's status. | |
4553 | * mep-tdep.c (mep_pseudo_cr32_read): Change return to enum | |
4554 | register_status. Return the register's status. | |
4555 | (mep_pseudo_cr64_read, mep_pseudo_register_read): Ditto. | |
4556 | * mips-tdep.c (mips_pseudo_register_read): Ditto. | |
4557 | * mt-tdep.c (mt_pseudo_register_read): Ditto. | |
4558 | * rs6000-tdep.c (move_ev_register_func): New typedef. | |
4559 | (e500_move_ev_register): Use it. Change return to enum | |
4560 | register_status. Return the register's status. | |
4561 | (do_regcache_raw_read): New function. | |
4562 | (do_regcache_raw_write): New function. | |
4563 | (e500_pseudo_register_read): Change return to enum | |
4564 | register_status. Return the register's status. Use | |
4565 | do_regcache_raw_read. | |
4566 | (e500_pseudo_register_write): Adjust. Use do_regcache_raw_write. | |
4567 | (dfp_pseudo_register_read): Change return to enum register_status. | |
4568 | Return the register's status. | |
4569 | (vsx_pseudo_register_read): Ditto. | |
4570 | (efpr_pseudo_register_read): Ditto. | |
4571 | (rs6000_pseudo_register_read): Ditto. | |
4572 | * s390-tdep.c (s390_pseudo_register_read): Change return to enum | |
4573 | register_status. Return the register's status. | |
4574 | * sh64-tdep.c (pseudo_register_read_portions): New function. | |
4575 | (sh64_pseudo_register_read): Change return to enum | |
4576 | register_status. Use pseudo_register_read_portions. Return the | |
4577 | register's status. | |
4578 | * ia64-tdep.c (ia64_pseudo_register_read): Change return to enum | |
4579 | register_status. Return the register's status. | |
4580 | * sh-tdep.c (pseudo_register_read_portions): New function. | |
4581 | (sh_pseudo_register_read): Change return to enum register_status. | |
4582 | Use pseudo_register_read_portions. Return the register's status. | |
4583 | * sparc-tdep.c (sparc32_pseudo_register_read): Change return to | |
4584 | enum register_status. Return the register's status. | |
4585 | * sparc64-tdep.c (sparc64_pseudo_register_read): Ditto. | |
4586 | * spu-tdep.c (spu_pseudo_register_read_spu) | |
4587 | (spu_pseudo_register_read): Ditto. | |
4588 | * xtensa-tdep.c (xtensa_register_read_masked) | |
4589 | (xtensa_pseudo_register_read): Ditto. | |
4590 | * bfin-tdep.c (bfin_pseudo_register_read): Ditto. | |
4591 | ||
e10abd8f PM |
4592 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4593 | ||
4594 | * python/py-value.c (valpy_getitem): Fix formatting of error function | |
4595 | call. | |
4596 | ||
7ea6d463 PM |
4597 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4598 | ||
4599 | ARI fixes: Add missing internationalization markups throughout | |
4600 | C source files. | |
4601 | * darwin-nat-info.c: Ditto. | |
4602 | * record.c: Ditto. | |
4603 | * remote.c: Ditto. | |
4604 | * mi/mi-main.c: Ditto. | |
4605 | ||
001083c6 PM |
4606 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4607 | ||
4608 | ARI fixes: Add missing internationalization markups throughout | |
4609 | yacc files. | |
4610 | * c-exp.y: Ditto. | |
4611 | * cp-name-parser.y: Ditto. | |
4612 | * f-exp.y: Ditto. | |
4613 | * m2-exp.y: Ditto. | |
4614 | * objc-exp.y: Ditto. | |
4615 | * p-exp.y: Ditto. | |
4616 | ||
4f1cdeec PM |
4617 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4618 | ||
4619 | ARI fixes: Messages should have no trailing new lines. | |
4620 | * darwin-nat.c (mach_check_error): Remove trailing new line from | |
4621 | warning function call message. | |
4622 | * record.c (bfdcore_read): Idem for error call. | |
4623 | ||
28e698f1 PM |
4624 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4625 | ||
4626 | * common/signals.c (target_signal_from_host): Add _ markup to error | |
4627 | function call message. | |
4628 | (target_signal_to_host): Add _ markup and remove trailing new line | |
4629 | from warning call message. | |
4630 | (target_signal_from_command): Add _ markup to error function call | |
4631 | message. | |
4632 | ||
99c3dc11 PM |
4633 | 2011-03-18 Phil Muldoon <pmuldoon@redhat.com> |
4634 | ||
f33edef8 | 4635 | PR python/12149 |
99c3dc11 PM |
4636 | |
4637 | * python/python.c (gdbpy_write): Accept a stream argument and | |
4638 | operate to the appropriate stream. | |
4639 | (gdbpy_flush): Likewise. | |
4640 | (_initialize_python): Add stream constants. | |
4641 | (finish_python_initialization): Add GdbOutputErrorFile class. | |
4642 | ||
c20800be KY |
4643 | 2011-03-18 Kwok Cheung Yeung <kcy@codesourcery.com> |
4644 | ||
4645 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
4646 | ||
f4a1794a KY |
4647 | 2011-03-18 Kwok Cheung Yeung <kcy@codesourcery.com> |
4648 | ||
4649 | * amd64-tdep.c (amd64_relocate_instruction): Fix ordering of arguments | |
f33edef8 PP |
4650 | to store_signed_integer. Add debug message when relocating CALL |
4651 | instructions. Fix formatting of debug message. | |
4652 | * i386-tdep.c (i386_relocate_instruction): Ditto. | |
f4a1794a | 4653 | |
d4862372 JB |
4654 | 2011-03-17 Joel Brobecker <brobecker@gnat.com> |
4655 | ||
4656 | * target.h (struct target_ops): Remove to_lookup_symbol field. | |
4657 | (target_lookup_symbol): Delete macro. | |
4658 | * target.c (nosymbol, debug_to_lookup_symbol): Delete. | |
4659 | (update_current_target, setup_target_debug): Remove handling | |
4660 | of to_lookup_symbol target_ops field. | |
4661 | * ada-tasks.c (get_known_tasks_addr): Remove use of | |
4662 | target_lookup_symbol. | |
4663 | * coffread.c (coff_symtab_read): Likewise. | |
4664 | * dbxread.c (read_dbx_symtab): Ditto. | |
4665 | ||
d645e32e JB |
4666 | 2011-03-17 Joel Brobecker <brobecker@gnat.com> |
4667 | ||
4668 | PR gdb/12116: | |
4669 | * configure.ac: Add getthrds declaration check. | |
4670 | * configure, config.in: Regenerate. | |
4671 | * aix-thread.c (getthrds): Declare only if not already declared | |
4672 | in procinfo.h. More declaration out of get_signaled_thread to | |
4673 | global scope. | |
4674 | ||
29703da4 PM |
4675 | 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> |
4676 | ||
4677 | * python/py-symtab.c: Populate symtab_object_methods, | |
4678 | sal_object_methods. | |
4679 | (stpy_is_valid): New function. | |
4680 | (salpy_is_valid): Ditto. | |
4681 | * python/py-symbol.c: Declare symbol_object_methods. Populate. | |
4682 | (sympy_is_valid): New function. | |
4683 | * python/py-objfile.c: Declare objfile_object_methods. Populate. | |
4684 | (objfpy_is_valid): New function. | |
4685 | * python/py-inferior.c: Populate inferior_object_methods. | |
4686 | (infpy_is_valid): New function. | |
4687 | * python/py-infthread.c: Populate thread_object_methods. | |
4688 | (thpy_is_valid): New function. | |
4689 | * python/py-block.c: Declare block_object_methods. Populate. Declare | |
4690 | block_iterator_object_methods. Populate. | |
4691 | (blpy_is_valid): New function. | |
4692 | (blpy_iter_is_valid): Ditto. | |
4693 | ||
c00f8484 KS |
4694 | 2011-03-16 Keith Seitz <keiths@redhat.com> |
4695 | ||
4696 | * linespec.c (find_methods): Canonicalize NAME before looking | |
4697 | up the symbol. | |
4698 | (name_end): New function. | |
4699 | (keep_name_info): New function. | |
4700 | (decode_line_1): Use keep_name_info. | |
4701 | (decode_compound): Likewise. | |
4702 | * cli/cli-utils.h (remove_trailing_whitespace): New function. | |
4703 | * cli/cli-utils.c (remove_trailing_whitespace): Likewise. | |
4704 | ||
4705 | PR c++/12273 | |
4706 | * linespec.c (locate_first_half): Keep overload information, too. | |
4707 | (decode_compound): Use a string to represent break characters | |
4708 | to escape the loop. | |
4709 | If P points to a break character, do not increment it. | |
4710 | For C++ and Java, keep overload information and relevant keywords. | |
4711 | If we cannot find a symbol, search the minimal symbols. | |
4712 | ||
4713 | PR c++/11734 | |
4714 | * linespec.c (decode_compound): Rename SAVED_ARG to | |
4715 | THE_REAL_SAVED_ARG. | |
4716 | Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip | |
4717 | single-quotes. | |
4718 | Pass a valid block to lookup_symbol. | |
4719 | (lookup_prefix_sym): Likewise. | |
4720 | (find_method): Construct search name based on SYM_CLASS instead | |
4721 | of SAVED_ARG. | |
4722 | * psymtab.c (lookup_partial_symbol): Add language parameter. | |
4723 | (lookup_symbol_aux_psymtabs): Likewise. | |
4724 | Don't assume that the psymtab we found was the right one. Search | |
4725 | for the desired symbol in the symtab to be certain. | |
4726 | (psymtab_search_name): New function. | |
4727 | (lookup_partial_symbol): Use psymtab_search_name. | |
4728 | Add language parameter. | |
4729 | (read_symtabs_for_function): Add language parameter and pass to | |
4730 | lookup_partial_symbol. | |
4731 | (find_symbol_file_from_partial): Likewise. | |
4732 | ||
c91513d8 PP |
4733 | 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com> |
4734 | ||
4735 | PR gdb/12528 | |
4736 | * dwarf2read.c (noop_record_line): New function. | |
4737 | (dwarf_decode_lines): Ignore line tables for GCd functions. | |
4738 | ||
b37520b6 PM |
4739 | 2011-03-16 Pierre Muller <muller@ics.u-strasbg.fr> |
4740 | ||
4741 | Fix ARI warnings about new lines at the end of messages, which | |
4742 | are unneeded as there is a new line added at the end of the message | |
4743 | automatically. | |
4744 | * darwin-nat.c (darwin_stop_inferior): Ditto. | |
4745 | * dec-thread.c (dec_thread_get_ada_task_ptid): Ditto. | |
4746 | * dfp.c (decimal_to_number): Ditto. | |
4747 | * exec.c (print_section_info): Ditto. | |
4748 | * i386-darwin-nat.c (darwin_set_sstep): Ditto. | |
4749 | * osdata.c (get_osdata): Ditto. | |
4750 | * record.c (bfdcore_write): Ditto. | |
4751 | * remote-mips.c (mips_readchar): Ditto. | |
4752 | * remote.c (read_ptid): Ditto. | |
4753 | * ser-mingw.c (ser_windows_raw): Ditto. | |
4754 | * tracepoint.c (add_local_symbols): Ditto. | |
4755 | * windows-nat.c (fake_create_process): Ditto. | |
4756 | ||
b08ee6a2 TT |
4757 | 2011-03-16 Tom Tromey <tromey@redhat.com> |
4758 | ||
4759 | * tracepoint.c (stop_tracing): Don't declare. | |
4760 | * event-top.c (after_char_processing_hook): Add `(void)'. | |
4761 | ||
9a6f1302 PM |
4762 | 2011-03-16 Phil Muldoon <pmuldoon@redhat.com> |
4763 | ||
4764 | * NEWS: Add Parameter sub-classing description. | |
4765 | ||
7ceb86b1 KT |
4766 | 2011-03-16 Kai Tietz <ktietz@redhat.com> |
4767 | ||
4768 | * MAINTAINERS: Update my e-mail address. | |
4769 | ||
efeff6cf AT |
4770 | 2011-03-15 Andreas Tobler <andreast@fgznet.ch> |
4771 | ||
4772 | * MAINTAINERS: Add myself for write after approval privileges. | |
4773 | ||
681c238c MS |
4774 | 2011-03-15 Michael Snyder <msnyder@vmware.com> |
4775 | ||
f3df5b08 MS |
4776 | * frame.c (find_frame_sal): Assert sym is not null. |
4777 | ||
13f6513c MS |
4778 | * dbxread.c (process_one_symbol): Assert 'name' is not null. |
4779 | ||
50412521 MS |
4780 | * objc-lang.c (selectors_info): Check strchr for null result. |
4781 | ||
681c238c MS |
4782 | * stabsread.c (define_symbol): Guard against bad stabstring input. |
4783 | ||
6ced1581 PM |
4784 | 2011-03-15 Pierre Muller <muller@ics.u-strasbg.fr> |
4785 | ||
4786 | Remove trailing spaces and tabulations from pascal language | |
4787 | support sources. | |
4788 | p-exp.y: Ditto. | |
4789 | p-lang.c: Ditto. | |
4790 | p-lang.h: Ditto. | |
4791 | p-valprint.c: Ditto. | |
4792 | ||
9373cf26 JK |
4793 | 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
4794 | ||
4795 | * dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher | |
4796 | than LOW. Comment it. | |
4797 | (read_partial_die): Call complaint for inappropriate zero LOWPC or | |
4798 | HIGHPC not strictly higher than LOWPC. | |
4799 | ||
9a1edae6 PM |
4800 | 2011-03-15 Pierre Muller <muller@ics.u-strasbg.fr> |
4801 | ||
4802 | Fix formatting of function declarations returning a pointer in | |
4803 | previous commit. | |
4804 | * varobj.c (varobj_add_child): Ditto. | |
4805 | * hppa-tdep.h (hppa_init_objfile_priv_data): Ditto. | |
4806 | * inferior.h (get_displaced_step_closure_by_addr): Ditto. | |
4807 | ||
24e9cda0 UW |
4808 | 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com> |
4809 | ||
4810 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support | |
4811 | for the "generic" vector ABI used with GCC 4.3 and later. | |
4812 | (ppc64_sysv_abi_return_value): Likewise. | |
4813 | ||
4814 | 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com> | |
81b4675a UW |
4815 | |
4816 | * infcall.c (call_function_by_hand): Function return value is | |
4817 | always a non_lval, even when using struct_return. | |
4818 | ||
c9174737 PA |
4819 | 2011-03-15 Pedro Alves <pedro@codesourcery.com> |
4820 | ||
4821 | * printcmd.c (ALL_DISPLAYS_SAFE): New. | |
4822 | (map_display_numbers): New. | |
4823 | (do_delete_display): New. | |
4824 | (undisplay_command): Use map_display_numbers. | |
4825 | (do_enable_disable_display): New. | |
4826 | (enable_disable_display_command): New function. | |
4827 | (enable_display): Delete. | |
4828 | (enable_display_command): New. | |
4829 | (disable_display_command): Reimplement. | |
4830 | (_initialize_printcmd): Adjust "enable display" command to use | |
4831 | `enable_display_command' as callback. | |
4832 | ||
350c6c65 PM |
4833 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
4834 | ||
4835 | * NEWS: Add Python breakpoint 'stop' operation. | |
4836 | ||
824446ad PM |
4837 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
4838 | ||
4839 | * NEWS: Delete duplicate entry. Fix typo. | |
4840 | ||
2021ad3a PM |
4841 | 2011-03-14 Pierre Muller <muller@ics.u-strasbg.fr> |
4842 | ||
4843 | Fix ARI warning about function names in first column. | |
4844 | Put prototype declaration on same line as return type. | |
4845 | * objc-exp.y: Ditto. | |
4846 | * p-exp.y: Ditto. | |
4847 | * python/py-stopevent.h: Ditto. | |
4848 | For long function names, split parameters to | |
4849 | allow function name on same line as return type. | |
4850 | * solib-pa64.c: Ditto. | |
4851 | * varobj.c: Ditto. | |
4852 | * varobj.h: Ditto. | |
4853 | For long function declaration, use single line. | |
4854 | * hppa-tdep.h: Ditto. | |
4855 | * inferior.h: Ditto. | |
4856 | ||
7371cf6d PM |
4857 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
4858 | ||
4859 | * python/python.h: Declare gdbpy_should_stop and | |
4860 | gdbpy_breakpoint_has_py_cond. | |
4861 | * python/python.c: Add python.h to includes. Remove python.h from | |
4862 | HAVE_PYTHON definition | |
4863 | (gdbpy_should_stop): New dummy function. | |
4864 | (gdbpy_breakpoint_has_py_cond): New dummy function. | |
4865 | * python/py-breakpoint.c (bppy_init): Rewrite to allow | |
4866 | sub-classing capabilities. | |
4867 | (gdbpy_should_stop): New function. | |
4868 | (gdbpy_breakpoint_has_py_cond): New function. | |
4869 | (local_setattro): New function. | |
4870 | * breakpoint.c (condition_command): Add check for Python 'stop' | |
4871 | operation. | |
4872 | (bpstat_check_breakpoint_conditions): Execute Python 'stop' | |
4873 | operation function as part of stop/continue tests. | |
4874 | ||
37b50a69 TT |
4875 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
4876 | ||
4877 | PR gdb/12576: | |
4878 | * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'. | |
4879 | (needs_frame_dwarf_call): Likewise. | |
4880 | ||
eeae04df PM |
4881 | 2011-03-14 Pierre Muller <muller@ics.u-strasbg.fr> |
4882 | ||
4883 | Fix ARI warning about functions without parameters that do not | |
4884 | use (void). | |
4885 | * breakpoint.c (all_tracepoints): Replace () by (void). | |
4886 | * f-exp.y (match_string_literal): Ditto. | |
4887 | (yylex): Ditto. | |
4888 | * m2-exp.y (yylex): Ditto. | |
4889 | * mep-tdep.c (current_me_module): Ditto. | |
4890 | (current_options): Ditto. | |
4891 | (current_cop_data_bus_width): Ditto. | |
4892 | (current_cr_names): Ditto. | |
4893 | (current_cr_is_float): Ditto. | |
4894 | (current_ccr_names): Ditto. | |
4895 | * objc-exp.y (yylex): Ditto. | |
4896 | * p-exp.y (yylex): Ditto. | |
4897 | * remote.c (send_interrupt_sequence): Ditto. | |
4898 | * tracepoint.c (current_trace_status): Ditto. | |
4899 | * python/py-evts.c (gdbpy_initialize_py_events): Ditto. | |
4900 | * python/py-prettyprint.c (push_dummy_python_frame): Ditto. | |
4901 | ||
6dc3565d MS |
4902 | 2011-03-11 Michael Snyder <msnyder@vmware.com> |
4903 | ||
1427fe5e MS |
4904 | * cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define. |
4905 | * cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS. | |
4906 | (lookup_cmd): Test for CMD_LIST_AMBIGUOUS. | |
4907 | * completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS. | |
4908 | * top.c (set_verbose): Use CMD_LIST_AMBIGUOUS. | |
4909 | ||
60bc018f MS |
4910 | * event-loop-c (delete_async_signal_handler): Assert prev_ptr. |
4911 | (delete_async_event_handler): Ditto. | |
4912 | ||
f3be5b64 MS |
4913 | * python/py-breakpoint.c (bppy_set_condition): Stop memory leak. |
4914 | ||
4c2d5724 MS |
4915 | * python/py-breakpoint.c (bppy_get_commands): Fix memory leak. |
4916 | ||
6dc3565d MS |
4917 | * top.c (set_verbose): Assert showcmd was found. |
4918 | ||
4e6ca6d5 MG |
4919 | 2011-03-11 Maxim Grigoriev <maxim2405@gmail.com> |
4920 | ||
4921 | * xtensa-tdep.c (warning_once): Correct style issues. | |
4922 | ||
815a83e4 YQ |
4923 | 2011-03-11 Yao Qi <yao@codesourcery.com> |
4924 | ||
4925 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements. | |
4926 | ||
f2eb0bc8 AS |
4927 | 2011-03-11 Andreas Schwab <schwab@redhat.com> |
4928 | ||
4929 | * common/aclocal.m4: Remove. | |
4930 | ||
b801de47 MG |
4931 | 2011-03-10 Maxim Grigoriev <maxim2405@gmail.com> |
4932 | ||
4933 | * xtensa-tdep.c (windowing_enabled): Remove inline attribute. | |
4934 | (xtensa_write_register, xtensa_read_register): Likewise. | |
4935 | (xtensa_hextochar): Removed. | |
4936 | (xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code. | |
4937 | ||
dbab50de MG |
4938 | 2011-03-10 Maxim Grigoriev <maxim2405@gmail.com> |
4939 | ||
4940 | * xtensa-tdep.c (xtensa_c0reg_t): Update comments. | |
c2a6b390 | 4941 | (xtensa_call0_frame_cache_t): Update comments. New fields added. |
dbab50de MG |
4942 | (xtensa_alloc_frame_cache): Add initialization for new fields. |
4943 | (xtensa_frame_cache): Change the way how call0_frame_cache () is called. | |
4944 | (warning_once): New function. | |
4945 | (xtensa_insn_kind): New item c0opc_and. | |
4946 | (call0_classify_opcode): Add the case for AND instruction. | |
c2a6b390 MG |
4947 | (call0_track_op): Change arguments. New local variable litbase. |
4948 | Add the case to handle c0opc_and. Update algorithms for c0opc_mov, | |
4949 | c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments | |
4950 | in the prologue. | |
dbab50de | 4951 | Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu. |
c2a6b390 | 4952 | (call0_analyze_prologue): Update the comments. Change arguments. |
dbab50de MG |
4953 | Add the variety of updates to handle extended prologues, which now can |
4954 | conduct dynamic stack adjustments. | |
4955 | (call0_frame_cache): Likewise. | |
4956 | (xtensa_skip_prologue): Update call0_analyze_prologue () function call. | |
4957 | (xtensa_gdbarch_init): Initialize xtensa_session_once_reported. | |
4958 | ||
b2c04452 MS |
4959 | 2011-03-10 Michael Snyder <msnyder@vmware.com> |
4960 | ||
f8f67713 MS |
4961 | * tracepoint.c (cmd_qtv): Discard unused value 'packet'. |
4962 | (cmd_qtframe): Ditto. | |
4963 | (cmd_qtbuffer): Ditto. | |
4964 | (cmd_bigqtbuffer): Ditto. | |
4965 | ||
197f0a60 TT |
4966 | 2011-03-10 Tom Tromey <tromey@redhat.com> |
4967 | ||
4968 | * tracepoint.c (trace_actions_command): Update. | |
4969 | * thread.c (thread_apply_command): Update. | |
4970 | * reverse.c (delete_bookmark_command): Update. | |
4971 | (bookmarks_info): Update. | |
4972 | * printcmd.c (undisplay_command): Update. | |
4973 | * memattr.c (mem_enable_command): Update. | |
4974 | (mem_disable_command): Update. | |
4975 | (mem_delete_command): Update. | |
4976 | * inferior.c (detach_inferior_command): Update. | |
4977 | (kill_inferior_command): Update. | |
4978 | (remove_inferior_command): Update. | |
4979 | * cli/cli-utils.h (struct get_number_or_range_state): New. | |
4980 | (init_number_or_range): Declare. | |
4981 | (get_number_or_range): Update. | |
4982 | * cli/cli-utils.c (init_number_or_range): New function. | |
4983 | (get_number_or_range): Change 'pp' parameter to 'state'. Remove | |
4984 | static variables. | |
4985 | (number_is_in_list): Update. | |
4986 | * breakpoint.h (get_tracepoint_by_number): Update. | |
4987 | * breakpoint.c (map_breakpoint_numbers): Update for change to | |
4988 | get_number_or_range. | |
4989 | (find_location_by_number): Use get_number, not | |
4990 | get_number_or_range. | |
4991 | (trace_pass_set_count): New function. | |
4992 | (trace_pass_command): Update for change to get_number_or_range. | |
4993 | Rework loop logic. | |
4994 | (get_tracepoint_by_number): Remove 'multi_p' parameter; add | |
4995 | 'state' parameter. | |
4996 | ||
ecec24e6 PM |
4997 | 2011-03-10 Phil Muldoon <pmuldoon@redhat.com> |
4998 | ||
4999 | * python/py-param.c (add_setshow_generic): Add set/show callback | |
5000 | parameters. Register Python object context. | |
5001 | (get_show_value): New function. | |
5002 | (get_set_value): New function. | |
5003 | (call_doc_function): New function. | |
5004 | (get_doc_string): Move behind get_show_value/get_set_value. | |
5005 | ||
6d6c6b1f JK |
5006 | 2011-03-10 Andreas Tobler <andreast-list@fgznet.ch> |
5007 | ||
5008 | * fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'. | |
5009 | ||
68d6df83 MG |
5010 | 2011-03-09 Maxim Grigoriev <maxim2405@gmail.com> |
5011 | ||
dbab50de | 5012 | * xtensa-tdep.c (xtensa_read_register): Add comment. |
68d6df83 MG |
5013 | (xtensa_write_register): Likewise. |
5014 | (xtensa_hextochar): Add comment and update to match coding conventions. | |
5015 | (xtensa_frame_cache, xtensa_return_value): Follow coding conventions. | |
5016 | (execute_l32e, execute_s32e, execute_code): Update comments. | |
5017 | (xtensa_exception_handler_t): Update to match coding conventions. | |
5018 | (xtensa_insn_kind): Likewise. | |
5019 | ||
85c9d6a6 MS |
5020 | 2011-03-09 Michael Snyder <msnyder@vmware.com> |
5021 | ||
5022 | * mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak. | |
5023 | ||
91495617 PA |
5024 | 2011-03-09 Pedro Alves <pedro@codesourcery.com> |
5025 | ||
5026 | * nto-tdep.c (nto_find_and_open_solib): Constify local `base'. | |
5027 | ||
eb8c0621 TT |
5028 | 2011-03-09 Tom Tromey <tromey@redhat.com> |
5029 | ||
5030 | * thread.c (restore_selected_frame): Handle frame_level == -1. | |
5031 | (make_cleanup_restore_current_thread): Use | |
5032 | get_selected_frame_if_set. | |
5033 | * frame.h (get_selected_frame_if_set): Declare. | |
5034 | * frame.c (get_selected_frame_if_set): New function. | |
5035 | ||
9f37bbcc PA |
5036 | 2011-03-09 Pedro Alves <pedro@codesourcery.com> |
5037 | ||
5038 | * cli/cli-cmds.c (shell_escape): Use lbasename. | |
5039 | * coffread.c (coff_start_symtab): Constify parameter. | |
5040 | (complete_symtab): Constify `name' parameter. | |
5041 | (coff_symtab_read): Constify `filestring' local. | |
5042 | (coff_getfilename): Constify return and `result' local. | |
5043 | Use lbasename. | |
5044 | * fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename. | |
5045 | * linux-fork.c (info_checkpoints_command): Use lbasename. | |
5046 | * linux-nat.c (linux_nat_make_corefile_notes): Use lbasename. | |
5047 | * minsyms.c (lookup_minimal_symbol): Use lbasename. | |
5048 | * nto-tdep.c (nto_find_and_open_solib): Use lbasename. | |
5049 | * procfs.c (procfs_make_note_section): Use lbasename. | |
5050 | * tui/tui-io.c (printable_part): Constity return and parameter. | |
5051 | Use lbasename. | |
5052 | (print_filename): Constify parameters, and local `s'. | |
5053 | (tui_rl_display_match_list): Constify local `temp'. | |
5054 | ||
f8de3c55 JK |
5055 | 2011-03-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
5056 | ||
5057 | Revert: | |
5058 | 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com> | |
5059 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
5060 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
5061 | cu->header.version >= 3. | |
5062 | ||
d9837b00 YQ |
5063 | 2011-03-09 Yao Qi <yao@codesourcery.com> |
5064 | ||
5065 | * common/Makefile.in: Remove. | |
5066 | * common/configure: Remove. | |
5067 | * common/configure.ac: Remove. | |
5068 | ||
e637a4f5 YQ |
5069 | 2011-03-09 Yao Qi <yao@codesourcery.com> |
5070 | ||
5071 | Revert: | |
5072 | 2011-02-11 Yao Qi <yao@codesourcery.com> | |
5073 | ||
5074 | * common/Makefile.in: Add copyright header. | |
5075 | ||
5076 | 2011-02-11 Yao Qi <yao@codesourcery.com> | |
5077 | ||
5078 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
5079 | libcommon.a. | |
5080 | * configure.ac: Add common to sub dir. | |
5081 | * configure: Regenerate. | |
5082 | ||
f976a05d MG |
5083 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
5084 | ||
5085 | * xtensa-tdep.c (call0_ret): New function. | |
5086 | (xtensa_skip_prologue): Speed up analysis. | |
5087 | ||
57041825 MG |
5088 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
5089 | ||
5090 | * xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers | |
5091 | while executing MI command -data-list-changed-registers. | |
5092 | ||
08b9c608 MG |
5093 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
5094 | ||
5095 | * xtensa-tdep.c (xtensa_read_register): New function. | |
5096 | (xtensa_write_register): New function. | |
5097 | (xtensa_find_register_by_name): New function. | |
5098 | (xtensa_windowed_frame_cache): Update comments in type description. | |
5099 | (xtensa_frame_cache): Likewise. | |
5100 | (xtensa_window_interrupt_insn): New function. | |
5101 | (xtensa_frame_cache): Add analysis for Xtensa Window Exception frames. | |
5102 | (xtensa_insn_kind): Add new instructions. | |
5103 | (rwx_special_register): New function. | |
5104 | (call0_classify_opcode): Add new instructions to the analysis. | |
5105 | (a0_saved, a7_saved, a11_saved): New variables. | |
5106 | (a0_was_saved, a7_was_saved, a11_was_saved): New variables. | |
5107 | (execute_l32e): New function. | |
5108 | (execute_s32e): New function. | |
5109 | (xtensa_exception_handler_t): New type. | |
5110 | (execute_code): New function. | |
5111 | (xtensa_window_interrupt_frame_cache): New function to conduct frame | |
5112 | analysis for Xtensa Window Exception handlers. | |
5113 | ||
4d1acb11 MG |
5114 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
5115 | ||
98689b25 MG |
5116 | * xtensa-tdep.c (TX_PS): New. |
5117 | (windowing_enabled): Update to count for Call0 ABI. | |
5118 | (xtensa_hextochar): New. | |
5119 | (xtensa_init_reggroups): Make algorithm generic. | |
5120 | (xtensa_frame_cache): Use TX_PS on Tiny Xtensa. | |
5121 | ||
5122 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> | |
5123 | ||
5124 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update. | |
4d1acb11 | 5125 | |
d3f323f3 MS |
5126 | 2011-03-08 Michael Snyder <msnyder@vmware.com> |
5127 | ||
3dcabaa8 MS |
5128 | * i386-tdep.c (i386_follow_jump): Check return value of |
5129 | target_read_memory. | |
5130 | (i386_analyze_struct_return): Ditto. | |
5131 | (i386_skip_probe): Ditto. | |
5132 | (i386_match_insn): Ditto. | |
5133 | (i386_skip_noop): Ditto. | |
5134 | (i386_analyze_frame_setup): Ditto. | |
5135 | (i386_analyze_register_saves): Ditto. | |
5136 | (i386_skip_prologue): Ditto. | |
5137 | (i386_skip_main_prologue): Ditto. | |
5138 | ||
13b3fd9b MS |
5139 | * target.c (read_whatever_is_readable): Fix memory leak. |
5140 | ||
d3f323f3 MS |
5141 | * i386-tdep.c (i386_process_record): Document fall through. |
5142 | ||
421d5c74 JK |
5143 | 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
5144 | ||
5145 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
5146 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
5147 | cu->header.version >= 3. | |
5148 | ||
63154eca PA |
5149 | 2011-03-08 Pedro Alves <pedro@codesourcery.com> |
5150 | ||
5151 | * remote.c (remote_check_symbols): Skip if the target has no | |
5152 | execution. | |
5153 | ||
f1a507a1 JB |
5154 | 2011-03-08 Joel Brobecker <brobecker@adacore.com> |
5155 | ||
5156 | * target.c (read_whatever_is_readable): Reformat comment, | |
5157 | with a minor typo fix. Minor reformatting of the code. | |
5158 | ||
36073a92 YQ |
5159 | 2011-03-08 Yao Qi <yao@codesourcery.com> |
5160 | ||
5161 | * arm-tdep.c: Remove prototype declaration displaced_in_arm_mode. | |
5162 | (displaced_read_reg): Add `dsc' parameter, remove `from' parameter. | |
5163 | Use cached result instead of calling displaced_in_arm_mode again. | |
5164 | (branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter. | |
5165 | (displaced_write_reg, copy_preload, copy_preload_reg): Callers update. | |
5166 | (cleanup_copro_load_store, copy_copro_load_store): Likewise. | |
5167 | (cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise. | |
5168 | (cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise. | |
5169 | (copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise. | |
5170 | (copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise. | |
5171 | (cleanup_block_load_all, cleanup_block_store_pc): Likewise. | |
5172 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
5173 | * arm-linux-tdep.c (arm_linux_copy_svc): Callers update. | |
5174 | (arm_catch_kernel_helper_return): Likewise. | |
5175 | * gdb/arm-tdep.h : Update function declarations. | |
5176 | ||
d3f323f3 | 5177 | 2011-03-07 Michael Snyder <msnyder@vmware.com> |
e6040cbd | 5178 | |
e0e40094 MS |
5179 | * dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null. |
5180 | ||
0b2381f5 MS |
5181 | * ser-unix.c (hardwire_get_tty_state): Stop memory leak. |
5182 | ||
0350914a MS |
5183 | * mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment. |
5184 | ||
69feea6f MS |
5185 | * elfread.c (elf_symtab_read): Stop memory leak. |
5186 | ||
e6040cbd MS |
5187 | * main.c (captured_main): Fix memory leak. |
5188 | ||
052874e8 AS |
5189 | 2011-03-07 Andreas Schwab <schwab@linux-m68k.org> |
5190 | ||
5191 | * ada-lang.c (compare_names): Call is_name_suffix with string1 | |
5192 | instead of string2. | |
5193 | ||
b11896a5 TT |
5194 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
5195 | ||
5196 | * xcoffread.c (xcoff_sym_fns): Update. | |
5197 | * symfile.h (struct sym_fns) <sym_read_psymbols>: New field. | |
5198 | (enum symfile_add_flags) <SYMFILE_NO_READ>: New constant. | |
5199 | * symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ. | |
5200 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
5201 | (reread_symbols): Handle OBJF_PSYMTABS_READ. | |
5202 | * somread.c (som_sym_fns): Update. | |
5203 | * psymtab.h (require_partial_symbols): Declare. | |
5204 | * psymtab.c (require_partial_symbols): New function. | |
5205 | (ALL_OBJFILE_PSYMTABS_REQUIRED): New macro. | |
5206 | (ALL_OBJFILE_PSYMTABS): Undef. | |
5207 | (ALL_PSYMTABS): Move from psympriv.h. | |
5208 | (lookup_partial_symtab, find_pc_sect_psymtab) | |
5209 | (lookup_symbol_aux_psymtabs, relocate_psymtabs) | |
5210 | (find_last_source_symtab_from_partial) | |
5211 | (forget_cached_source_info_partial) | |
5212 | (print_psymtab_stats_for_objfile, read_symtabs_for_function) | |
5213 | (expand_partial_symbol_tables, read_psymtabs_with_filename) | |
5214 | (map_symbol_names_psymtab, map_symbol_filenames_psymtab) | |
5215 | (find_symbol_file_from_partial, map_matching_symbols_psymtab) | |
5216 | (expand_symtabs_matching_via_partial, maintenance_info_psymtabs): | |
5217 | Use ALL_OBJFILE_PSYMTABS_REQUIRED. | |
5218 | * psympriv.h (ALL_PSYMTABS): Move to psymtab.c. | |
5219 | * objfiles.h (OBJF_PSYMTABS_READ): New macro. | |
5220 | * objfiles.c (objfile_has_partial_symbols): Handle lazily-read | |
5221 | psymtabs. | |
5222 | * mipsread.c (ecoff_sym_fns): Update. | |
5223 | * machoread.c (macho_sym_fns): Update. | |
5224 | * elfread.c (elf_symfile_read): Set up for lazy psymtab reading. | |
5225 | (read_psyms): New function. | |
5226 | (elf_sym_fns, elf_sym_fns_gdb_index): Update. | |
5227 | (elf_sym_fns_lazy_psyms): New global. | |
5228 | * dwarf2read.c (dwarf2_initialize_objfile): Don't call | |
5229 | dwarf2_build_psymtabs. | |
5230 | * dbxread.c (aout_sym_fns): Update. | |
5231 | * coffread.c (coff_sym_fns): Update. | |
5232 | ||
fda326dd TT |
5233 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
5234 | ||
5235 | * infrun.c (print_exited_reason): Include inferior id and pid in | |
5236 | message. | |
5237 | ||
aeaec162 TT |
5238 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
5239 | ||
5240 | * target.h (struct target_ops) <to_has_execution>: Add ptid_t | |
5241 | parameter. | |
5242 | (target_has_execution_1): Update. | |
5243 | (target_has_execution_current): Declare. | |
5244 | (target_has_execution): Call target_has_execution_current. | |
5245 | (default_child_has_execution): Update. | |
5246 | * target.c (default_child_has_execution): Add 'the_ptid' | |
5247 | parameter. | |
5248 | (target_has_execution_1): Likewise. | |
5249 | (target_has_execution_current): New function. | |
5250 | (add_target): Update. | |
5251 | (init_dummy_target): Update. | |
5252 | * remote-m32r-sdi.c (m32r_has_execution): New function. | |
5253 | (init_m32r_ops): Use it. | |
5254 | * record.c (record_core_has_execution): Now static. Add | |
5255 | 'the_ptid' parameter. | |
5256 | * inferior.c (have_live_inferiors): Don't save current thread. | |
5257 | Use target_has_execution_1. | |
5258 | ||
08e14083 YQ |
5259 | 2011-03-07 Yao Qi <yao@codesourcery.com> |
5260 | ||
5261 | * Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4. | |
5262 | ||
c05d19c5 JB |
5263 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
5264 | ||
5265 | * elfread.c (elf_symtab_read): Minor reformatting. | |
5266 | ||
3e6ef9e4 JB |
5267 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
5268 | ||
5269 | * objc-lang.c (selectors_info): Minor reformatting. | |
5270 | ||
dbb8534f JB |
5271 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
5272 | ||
5273 | * ada-lang.c (compare_names): Add FALLTHROUGH comment. | |
5274 | ||
dd70cc93 JB |
5275 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
5276 | Michael Snyder <msnyder@vmware.com> | |
5277 | ||
5278 | * ada-valprint.c (ada_val_print_array): Move the declaration of | |
5279 | "byte_order" and "elttype" inside the block where these variables | |
5280 | are actually used. Remove some special handling for the case | |
5281 | where "elttype" and "eltlen" are null. Replace by a comment | |
5282 | and a couple of assertion checks. | |
5283 | ||
b27cf2b3 MS |
5284 | 2011-03-05 Michael Snyder <msnyder@vmware.com> |
5285 | ||
5286 | * source.c (add_path): Replace semicolon at end of block. | |
5287 | * dwarf2expr.c (execute_stack_op): Ditto. | |
5288 | ||
5387a0c6 MF |
5289 | 2011-03-05 Mike Frysinger <vapier@gentoo.org> |
5290 | ||
5291 | * bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h. | |
5292 | * configure.tgt (bfin-*-*linux*): Define gdb_sim. | |
5293 | (bfin-*-*): Likewise. | |
5294 | ||
e3aa49af MS |
5295 | 2011-03-05 Michael Snyder <msnyder@vmware.com> |
5296 | ||
82ae4854 MS |
5297 | * dwarf2expr.c (execute_stack_op): Delete superfluous semicolon. |
5298 | * mdebugread.c (parse_symbol): Ditto. | |
5299 | * parse.c (parse_exp_in_context): Ditto. | |
5300 | * source.c (add_path): Ditto. | |
5301 | * utils.c (gnu_debuglink_crc32): Ditto. | |
5302 | * varobj.c (variable_language): Ditto. | |
5303 | ||
e3aa49af MS |
5304 | * linux-tdep.c (linux_get_siginfo_type): Stop memory leak. |
5305 | ||
154f592e MS |
5306 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
5307 | ||
da3ecdc6 MS |
5308 | * linux-fork.c (inferior_call_waitptid): Fix copy/paste error. |
5309 | ||
9cc89665 MS |
5310 | * symfile.c (simple_overlay_update): Check for null return value |
5311 | from lookup_minimal_symbol. | |
5312 | ||
154f592e MS |
5313 | * xml-syscall.c (syscall_start_syscall): Assert name is non null. |
5314 | ||
63ffa6ee TJB |
5315 | 2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
5316 | ||
5317 | * eval.c (parse_and_eval_address_1): Remove function. | |
5318 | * linespec.c (decode_indirect): Call parse_to_comma_and_eval | |
5319 | instead of parse_and_eval_address_1. | |
5320 | * value.h (parse_and_eval_address_1): Remove prototype. | |
5321 | ||
a17d146e MS |
5322 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
5323 | ||
5324 | * remote.c (putpkt_binary): Document that case stmt falls through. | |
5325 | ||
1a6a67de TJB |
5326 | 2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
5327 | ||
5328 | * breakpointc (print_it_typical): Move NULL check from here... | |
5329 | (print_bp_stop_message): ... to here. | |
5330 | ||
488919c4 MS |
5331 | 2011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> |
5332 | ||
5333 | * breakpoint.c (enable_command): Use break instead of continue, | |
5334 | and fill in a missing break. | |
5335 | (disable_command): Ditto. | |
5336 | ||
1e182ce8 UW |
5337 | 2011-03-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
5338 | ||
5339 | * inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate. | |
5340 | (terminal_save_ours): Remove misleading comment. | |
5341 | (inflow_inferior_data_cleanup): Free ttystate. | |
5342 | (inflow_inferior_exit): Likewise. | |
5343 | (copy_terminal_info): Copy ttystate. | |
5344 | ||
5345 | * serial.c (serial_copy_tty_state): New function. | |
5346 | * serial.h (serial_copy_tty_state): Add prototype. | |
5347 | (struct serial_ops): Add copy_tty_state callback. | |
5348 | * ser-base.c (ser_base_copy_tty_state): New function. | |
5349 | * ser-base.h (ser_base_copy_tty_state): Add prototype. | |
5350 | * ser-go32.c (dos_copy_tty_state): New function. | |
5351 | (dos_ops): Install copy_tty_state callback. | |
5352 | * ser-mingw.c (_initialize_ser_windows): Likewise. | |
5353 | * ser-pipe.c (_initialize_ser_pipe): Likewise. | |
5354 | * ser-unix.c (hardwire_copy_tty_state): New function. | |
5355 | (_initialize_ser_hardwire): Install it. | |
5356 | ||
b2c5f112 MS |
5357 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
5358 | ||
2abae994 MS |
5359 | * breakpoint.c (create_breakpoint): Add missing break statement. |
5360 | ||
7f5936f9 MS |
5361 | Reverting this patch: |
5362 | * infcall.c (call_function_by_hand): Add break statements for lint. | |
5363 | ||
b2c5f112 MS |
5364 | Reverting this patch: |
5365 | * cli/cli-script.c (script_from_file): Add break for lint. | |
5366 | ||
42b1321c MS |
5367 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
5368 | ||
5369 | * solib.c (reload_shared_libraries_1): Close memory leak. | |
5370 | ||
3e2a0cee TT |
5371 | 2011-03-03 Tom Tromey <tromey@redhat.com> |
5372 | ||
5373 | PR gdb/12538: | |
5374 | * dwarf2read.c (process_psymtab_comp_unit): Handle case where | |
5375 | DW_STRING is NULL. | |
5376 | ||
58397cb7 MS |
5377 | 2011-03-03 Michael Snyder <msnyder@vmware.com> |
5378 | ||
2e3fd767 MS |
5379 | * remote-fileio.c (remote_fileio_func_fstat): Initialize all |
5380 | fields of struct 'st' to zero. | |
5381 | ||
58397cb7 MS |
5382 | * tui/tui-winsource.c (tui_update_source_window_as_is): Initialize |
5383 | sal.pspace before calling set_current_source_symtab_and_line. | |
5384 | ||
ced54c8f YQ |
5385 | 2011-03-03 Yao Qi <yao@codesourcery.com> |
5386 | ||
5387 | * Makefile.in (configure-common): Remove. Let Makefile | |
5388 | in dir common to rebuild itself. | |
5389 | (common/Makefile): Likewise. | |
5390 | ||
3351ea09 JB |
5391 | 2011-03-03 Joel Brobecker <brobecker@adacore.com> |
5392 | ||
5393 | * utils.c (parse_escape): Add i18n markup in error message. | |
5394 | ||
bf9f652a YQ |
5395 | 2011-03-03 Yao Qi <yao@codesourcery.com> |
5396 | ||
5397 | * gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with | |
5398 | ARM_PC_REGNUM. | |
5399 | (thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise. | |
5400 | (displaced_write_reg, displaced_read_reg): Likewise. | |
5401 | (copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise. | |
5402 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
5403 | (cleanup_branch): Replace magic number 14 and 15 with | |
5404 | ARM_LR_REGNUM and ARM_PC_REGNUM respectively. | |
5405 | ||
d42de051 MS |
5406 | 2011-03-02 Michael Snyder <msnyder@vmware.com> |
5407 | ||
240f9570 MS |
5408 | * maint.c (maintenance_do_deprecate): No need to check for NULL. |
5409 | ||
10dd8b54 MS |
5410 | * cli/cli-script.c (script_from_file): Add break for lint. |
5411 | ||
b98bd911 MS |
5412 | * mdebugread.c (parse_partial_symbols): Fix indent. |
5413 | ||
3494b66d MS |
5414 | * target-descriptions.c (tdesc_gdb_type): No need to call |
5415 | xstrdup, callee saves a copy. | |
5416 | ||
daac021a MS |
5417 | * printcmd.c (print_scalar_formatted): Use strncpy for safety. |
5418 | ||
c38d16a7 MS |
5419 | * infcall.c (call_function_by_hand): Add break statements for lint. |
5420 | ||
905b671b MS |
5421 | * utils.c (parse_escape): Escape the escape char. |
5422 | ||
f2eb0bc8 | 5423 | * python/py-inferior.c (build_inferior_list): Error out if |
2d565757 MS |
5424 | PyList_Append fails. |
5425 | (gdbpy_inferiors): Error out if build_inferior_list fails. | |
5426 | ||
8c6a60d1 MS |
5427 | * linux-nat.c (linux_nat_xfer_partial): Preserve errno around |
5428 | a function call. | |
5429 | ||
d42de051 MS |
5430 | * record.c (record_restore): Move printf to before error return. |
5431 | ||
4db71c0b YQ |
5432 | 2011-03-02 Yao Qi <yao@codesourcery.com> |
5433 | ||
5434 | * arm-tdep.h (struct displaced_step_closure): Add two new fields | |
5435 | is_thumb and insn_size. | |
5436 | * arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset | |
5437 | on both ARM and Thumb mode. | |
5438 | (arm_process_displaced_insn): Set is_thumb and insn_size. | |
5439 | (arm_displaced_init_closure): Handle both 16-bit and 32-bit. | |
5440 | (arm_displaced_step_fixup): Likewise. | |
5441 | ||
a9dc8dcc MS |
5442 | 2011-03-01 Michael Snyder <msnyder@vmware.com> |
5443 | ||
53624a93 MS |
5444 | * cli/cli-dump.c (dump_bfd_file): Check error return and warn. |
5445 | ||
77766669 MS |
5446 | * jv-lang.c (evaluate_subexp_java): Conditional can't be true. |
5447 | ||
62d5b8da MS |
5448 | * dwarf2read.c (dwarf2_compute_name): NAME cannot be null here. |
5449 | ||
5e9e105f MS |
5450 | * cli/cli-dump.c (restore_binary_file): Validate ftell return value. |
5451 | ||
dc19db01 MS |
5452 | * ada-lang.c (ada_make_symbol_completion_list): Replace malloc |
5453 | with xmalloc. | |
5454 | ||
5ce64950 MS |
5455 | * ada-lang.c (aggregate_assign_others): Rename inner scope variable |
5456 | which shadows function parameter. | |
5457 | ||
a0aa2878 MS |
5458 | * tracepoint.c (create_tsv_from_upload): Superfluous call |
5459 | to xstrdup. Callee already calls xstrdup. | |
5460 | ||
e325fb69 MS |
5461 | * linespec.c (decode_line_1): Remove unnecessary null check. |
5462 | ||
21cbba77 MS |
5463 | * tracepoint.c (scope_info): Fix mem leak, remove underused |
5464 | variable. | |
5465 | ||
63360adc MS |
5466 | * python/py-prettyprint.c (apply_val_pretty_printer): Remove |
5467 | superfluous null check. | |
5468 | ||
18ea20ac | 5469 | * std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null. |
23ce9890 | 5470 | (value_of_builtin_frame_fp_reg): Ditto. |
18ea20ac | 5471 | |
d014929c MS |
5472 | * event-top.c (display_gdb_prompt): Remove superfluous null check. |
5473 | ||
6e9130cf MS |
5474 | * python/py-prettyprint.c (apply_val_pretty_printer): VAL may |
5475 | be null. | |
5476 | ||
5f01dbc0 MS |
5477 | * linespec.c (decode_line_1): Check for null before dereference. |
5478 | ||
d684ab85 MS |
5479 | * reverse.c (record_restore): Move null-check to before pointer |
5480 | dereference. | |
5481 | ||
bfffb7e3 MS |
5482 | * python/py-utils.c (gdbpy_obj_to_string): Delete unused variable. |
5483 | ||
a9dc8dcc MS |
5484 | * objc-lang.c (selectors_info): Add explanitory comment. |
5485 | (classes_info): Ditto. | |
5486 | ||
478fd957 UW |
5487 | 2011-03-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
5488 | ||
5489 | * arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define. | |
5490 | (arm_linux_restart_syscall_init): Handle both on-stack and in-kernel | |
5491 | versions of the trampoline. Handle Thumb vs. ARM addresses. | |
5492 | (arm_kernel_linux_restart_syscall_tramp_frame): New global. | |
5493 | (arm_linux_init_abi): Install it. | |
5494 | * arm-tdep.c (arm_psr_thumb_bit): Make global. | |
5495 | * arm-tdep.c (arm_psr_thumb_bit): Add prototype. | |
5496 | ||
0480cefa MS |
5497 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
5498 | ||
ac50ab3b MS |
5499 | * ui-out.c (ui_out_field_core_addr): Make local char buffer |
5500 | a little bigger, to avoid possibility of an overflow. | |
5501 | ||
f63fbe86 MS |
5502 | * breakpoint.c (breakpoint_adjustment_warning): Make local char |
5503 | buffers a little bigger, to avoid possibility of an overflow. | |
5504 | ||
9e91a352 MS |
5505 | * coffread.c (coff_getfilename): Add check to avoid overflow. |
5506 | ||
f2eb0bc8 | 5507 | * objc-lang.c (selectors_info): Add a small safety margin to |
28288541 MS |
5508 | avoid overflow. |
5509 | (classes_info): Error out on too long REGEXP. | |
5510 | ||
098ab512 MS |
5511 | * infrun.c (handle_inferior_event): Remove unused function call. |
5512 | ||
bcbd1de9 MS |
5513 | * fork-child.c (fork_inferior): Remove ifdef'd code and |
5514 | unused variable. | |
5515 | ||
2e456570 MS |
5516 | * linux-thread-db.c (attach_thread): Discard unused value. |
5517 | ||
14571dad MS |
5518 | * linux-nat.c (linux_handle_extended_wait): Delete unused variable. |
5519 | ||
a9cbf802 MS |
5520 | * remote.c (remote_get_noisy_reply): Discard unused value. |
5521 | (remote_vcont_resume): Ditto. | |
5522 | (remote_stop_ns): Ditto. | |
5523 | ||
5715d26e MS |
5524 | * linespec.c (decode_objc): Delete unused variable. |
5525 | ||
4a9bca80 MS |
5526 | * tui/tui-regs.c (tui_register_format): Delete unused variable. |
5527 | ||
f47fb265 MS |
5528 | * dwarf2read.c (add_partial_symbol): Discard unused values. |
5529 | (read_base_type): Delete unused variable. | |
5530 | ||
e81cff30 MS |
5531 | * dbxread.c (read_dbx_symtab): Discard unused value. |
5532 | ||
262acaeb MS |
5533 | * eval.c (evaluate_subexp_standard): Delete unused variable, |
5534 | and discard unused values. | |
5535 | ||
df983543 MS |
5536 | * infcmd.c (_initialize_infcmd): Discard unused values. |
5537 | ||
89acf84d MS |
5538 | * stabsread.c (rs6000_builtin_type): Missing break statement. |
5539 | ||
ab8b8aca MS |
5540 | * dbxread.c (process_one_symbol): Discard unused value. |
5541 | ||
6b4511ab MS |
5542 | * coffread.c (coff_end_symtab): Delete unused variable. |
5543 | ||
e8e80198 MS |
5544 | * dwarf2read.c (dw2_get_file_names): Discard unused value. |
5545 | (dwarf2_add_typedef): Delete unused variable. | |
5546 | (read_namespace): Ditto. | |
5547 | (dwarf_decode_macros): Ditto. | |
5548 | ||
976aa66e MS |
5549 | * m2-lang.c (evaluate_subexp_modula2): Discard unused variable. |
5550 | ||
5b92b49f MS |
5551 | * opencl-lang.c (evaluate_subexp_opencl): Discard unused value. |
5552 | ||
91e8df85 MS |
5553 | * p-valprint.c (pascal_val_print): Discard unused value. |
5554 | ||
899500d6 MS |
5555 | * utils.c (nquery): Call va_end before return; |
5556 | (yquery): Ditto. | |
5557 | (query): Ditto. | |
5558 | ||
0480cefa MS |
5559 | * proc-service.c (ps_plog): Call va_end before return. |
5560 | ||
fb6a3ed3 TT |
5561 | 2011-02-28 Tom Tromey <tromey@redhat.com> |
5562 | ||
5563 | * python/python.c (gdbpy_value_cst): New global. | |
5564 | (_initialize_python): Initialize it. | |
5565 | * python/python-internal.h (gdbpy_value_cst): Declare. | |
5566 | * python/py-value.c (convert_value_from_python): Use | |
5567 | gdbpy_value_cst. | |
5568 | ||
c05202a1 MS |
5569 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
5570 | ||
e463f587 MS |
5571 | * python/py-cmd.c (cmdpy_init): Fix memory leak. |
5572 | ||
c38eea1a MS |
5573 | * breakpoint.c (catch_syscall_completer): Free malloced list. |
5574 | ||
3ef09ab5 MS |
5575 | * jv-lang.c (java_primitive_type_from_name): Add missing break. |
5576 | ||
8f9a01ee MS |
5577 | * opencl-lang.c (lval_func_check_validity): Rename inner variables. |
5578 | (lval_func_check_synthetic_pointer): Ditto. | |
5579 | (lval_func_free_closure): Fix use-after-free. | |
c05202a1 | 5580 | |
477d0d57 TT |
5581 | 2011-02-28 Tom Tromey <tromey@redhat.com> |
5582 | ||
5583 | * psymtab.c (expand_partial_symbol_tables): Use | |
5584 | ALL_OBJFILE_PSYMTABS. | |
5585 | ||
20937029 JK |
5586 | 2011-02-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
5587 | ||
5588 | * objc-lang.c (selectors_info): Error on too long REGEXP. | |
5589 | ||
907b7f4f MS |
5590 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
5591 | ||
92e96192 MS |
5592 | * python/py-param.c (set_parameter_value): Add missing |
5593 | break statement. | |
5594 | ||
907b7f4f MS |
5595 | * linux-record.c (record_linux_system_call): Add missing |
5596 | break statement. | |
5597 | ||
12c5a436 UW |
5598 | 2011-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
5599 | ||
5600 | * breakpoint.c (print_one_breakpoint_location): Remove unused | |
5601 | argument PRINT_ADDRESS_BITS. Update callers. | |
5602 | (print_one_breakpoint): Likewise. | |
5603 | ||
170b53b2 UW |
5604 | 2011-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
5605 | ||
5606 | * breakpoint.c (wrap_indent_at_field): New function. | |
5607 | (print_breakpoint_location): Use it instead of WRAP_INDENT argument. | |
5608 | Allocate ui_stream locally instead of using STB argument. | |
5609 | (print_one_breakpoint_location): Update call. | |
5610 | * ui-out.c (ui_out_query_field): New function. | |
5611 | * ui-out.h (ui_out_query_field): Add prototype. | |
5612 | ||
8ab1f94d JB |
5613 | 2011-02-28 Joel Brobecker <brobecker@adacore.com> |
5614 | ||
5615 | From Michael Snyder <msnyder@vmware.com> | |
5616 | * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. | |
5617 | ||
7d488639 MS |
5618 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
5619 | ||
ae179fba MS |
5620 | * objc-lang.c (selectors_info): Prevent string overrun. |
5621 | ||
086dbf66 MS |
5622 | * tui/tui-stack.c (tui_get_function_from_frame): Fix off by one |
5623 | error in strncpy. | |
5624 | ||
f2eb0bc8 | 5625 | * symtab.c (rbreak_command): Move variable 'file_name' to |
9c1e305a MS |
5626 | outer scope. |
5627 | ||
7d488639 MS |
5628 | * d-valprint.c (dynamic_array_type): Avoid shadowing a function |
5629 | param with a local variable of the same name. | |
5630 | ||
3bd0f5ef MS |
5631 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
5632 | ||
5633 | * value.c (value_from_history_ref): New function. | |
5634 | * value.h (value_from_history_ref): Export. | |
5635 | * cli/cli-utils.c (get_number_trailer): Use value_from_history_ref | |
5636 | to parse value history references. | |
5637 | * cli/cli-utils.h (get_number_trailer): Update comment. | |
5638 | ||
5639 | 2011-02-27 Michael Snyder <msnyder@vmware.com> | |
5640 | ||
5641 | * inferior.c (detach_inferior_command): Use get_number_or_range. | |
5642 | (kill_inferior_command): Ditto. | |
5643 | (remove_inferior_command): Ditto. | |
5644 | (initialize_inferiors): Make command names plural. | |
5645 | Update help strings. | |
5646 | ||
766062f6 MS |
5647 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
5648 | ||
5649 | * darwin-nat-info.c: Fix comment typo. | |
5650 | * dwarf2expr.h: Ditto. | |
5651 | * fbsd-nat.c: Ditto. | |
5652 | * fbsd-nat.h: Ditto. | |
5653 | * frame-unwind.h: Ditto. | |
5654 | * frame.h: Ditto. | |
5655 | * hppa-hpux-tdep.c: Ditto. | |
5656 | * i386-linux-nat.c: Ditto. | |
5657 | * linux-nat.c: Ditto. | |
5658 | * nbsd-nat.c: Ditto. | |
5659 | * nbsd-nat.h: Ditto. | |
5660 | * ppc-linux-tdep.c: Ditto. | |
5661 | * serial.c: Ditto. | |
5662 | * ui-file.h: Ditto. | |
5663 | * tui/tui-winsource.c: Ditto. | |
5664 | ||
f2c4ead5 MS |
5665 | 2011-02-26 Michael Snyder <msnyder@vmware.com> |
5666 | ||
86b887df MS |
5667 | * breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file). |
5668 | ||
66fd3b1e MS |
5669 | * maint.c (maintenance_do_deprecate): Plug a memory leak. |
5670 | ||
8c814cdd MS |
5671 | * dwarf2loc.c (insert_bits): Avoid shadowing a function param |
5672 | with a local variable of the same name. | |
5673 | ||
6d5e094a | 5674 | * i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function |
e5b3d7d6 | 5675 | param with a local variable of the same name. |
6d5e094a | 5676 | (i387_supply_xsave): Ditto. |
e5b3d7d6 | 5677 | |
5eee517d MS |
5678 | * linux-low.c (linux_nat_xfer_osdata): Rename local variable so |
5679 | that it does not shadow a function parameter. | |
5680 | ||
8fbf6b93 MS |
5681 | * i386-nat.c (i386_length_and_rw_bits): Document that case |
5682 | statement is meant to fall through. | |
5683 | ||
cb969d61 MS |
5684 | * expprint.c (dump_subexp_body_standard): Document that case |
5685 | statement is meant to fall through. | |
5686 | ||
f2c4ead5 MS |
5687 | * amd64-linux-tdep.c (amd64_linux_syscall_record): Delete |
5688 | dead if statement. Condition can't be false. | |
5689 | ||
b021a221 MS |
5690 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
5691 | ||
5692 | * arm-tdep.c: Fix typos in comments. | |
5693 | * bsd-uthread.c: Ditto. | |
5694 | * completer.c: Ditto. | |
5695 | * corelow.c: Ditto. | |
5696 | * cp-namespace.c: Ditto. | |
5697 | * cp-support.c: Ditto. | |
5698 | * cris-tdep.c: Ditto. | |
5699 | * dbxread.c: Ditto. | |
5700 | * dwarf2read.c: Ditto. | |
5701 | * frame.h: Ditto. | |
5702 | * gdbtypes.h: Ditto. | |
5703 | * inferior.h: Ditto. | |
5704 | * mdebugread.c: Ditto. | |
5705 | * mips-tdep.c: Ditto. | |
5706 | * ppc-linux-nat.c: Ditto. | |
5707 | * ppc-linux-tdep.c: Ditto. | |
5708 | * printcmd.c: Ditto. | |
5709 | * sol-thread.c: Ditto. | |
5710 | * solib-frv.c: Ditto. | |
5711 | * solist.h: Ditto. | |
5712 | * sparc64-tdep.c: Ditto. | |
5713 | * spu-tdep.c: Ditto. | |
5714 | * stabsread.c: Ditto. | |
5715 | * symfile.c: Ditto. | |
5716 | * valops.c: Ditto. | |
5717 | * varobj.c: Ditto. | |
5718 | * vax-nat.c: Ditto. | |
5719 | * python/py-block.c: Ditto. | |
5720 | * python/py-symbol.c: Ditto. | |
5721 | * python/py-symtab.c: Ditto. | |
5722 | * python/py-value.c: Ditto. | |
5723 | * tui/tui-win.c: Ditto. | |
5724 | ||
c82c0b55 MS |
5725 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
5726 | ||
5727 | * inferior.c (print_inferior): Accept a string instead of an int | |
5728 | for requested_inferiors, and use get_number_or_range to parse it. | |
5729 | (info_inferiors_command): Pass args string to print_inferior. | |
5730 | (initialize_inferiors): Change help string for info inferiors. | |
5731 | * inferior.h (print_inferior): Export prototype change. | |
5732 | ||
ee00cd23 TT |
5733 | 2011-02-25 Tom Tromey <tromey@redhat.com> |
5734 | ||
5735 | * common/ax.def (invalid2): Set to 0x31. | |
5736 | ||
0502ed8c JK |
5737 | 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
5738 | ||
5739 | * dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use | |
5740 | L and plongest. | |
5741 | (disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset, | |
5742 | use L and plongest. | |
5743 | (disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest. | |
5744 | ||
2c9de912 MS |
5745 | 2011-02-24 Michael Snyder <msnyder@vmware.com> |
5746 | ||
5747 | * Makefile.in (clean): Make clean should remove generated files | |
5748 | observer.h and observer.inc. | |
5749 | ||
a04b0428 JB |
5750 | 2011-02-24 Joel Brobecker <brobecker@adacore.com> |
5751 | ||
5752 | Revert the following patch (not approved yet): | |
5753 | 2011-02-21 Hui Zhu <teawater@gmail.com> | |
5754 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
5755 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
5756 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
5757 | * ax-general.c (ax_memcpy): New function. | |
5758 | (ax_print): Handle "printf". | |
5759 | (ax_reqs): Ditto. | |
5760 | * ax.h (ax_memcpy): Forward declare. | |
5761 | * common/ax.def (invalid2): Removed. | |
5762 | (printf): New entry. | |
5763 | * printcmd.c (printcmd.h): New include. | |
5764 | (string_printf): New function. | |
5765 | (ui_printf): Removed. | |
5766 | (printf_command): Remove static. Call string_printf. | |
5767 | (eval_command): Call string_printf. | |
5768 | * printcmd.h: New file. | |
5769 | * tracepoint.c (validate_actionline, | |
5770 | encode_actions_1): handle printf_command. | |
5771 | ||
2b52013f TT |
5772 | 2011-02-23 Tom Tromey <tromey@redhat.com> |
5773 | ||
5774 | * ax-general.c (ax_pick): Add missing newline. | |
5775 | ||
e5a67952 MS |
5776 | 2011-02-23 Michael Snyder <msnyder@vmware.com> |
5777 | ||
5778 | * breakpoint.c (breakpoint_1): Change first argument from an int | |
5779 | to a char pointer, so that the function now accepts a list of | |
f2eb0bc8 | 5780 | breakpoints rather than just one. Use new function |
e5a67952 MS |
5781 | 'number_is_in_list' to implement. |
5782 | (breakpoints_info): Pass char * instead of int to breakpoint_1. | |
5783 | (watchpoints_info): Ditto. | |
5784 | (tracepoints_info): Ditto. | |
5785 | (maintenance_info_breakpoints): Ditto. | |
5786 | (_initialize_breakpoint): Update help strings to reflect the fact | |
5787 | that these functions can now take more than one argument. | |
5788 | * cli/cli-utils.c (number_is_in_list): New function. | |
5789 | * cli/cli-utils.h (number_is_in_list): Export. | |
5790 | ||
5791 | 2011-02-23 Michael Snyder <msnyder@vmware.com> | |
fbcb778d MS |
5792 | |
5793 | * memattr.c (mem_enable_command): Use get_number_or_range. | |
5794 | (mem_disable_command): Ditto. | |
5795 | (mem_delete_command): Ditto. | |
5796 | (_initialize_mem): Tweak usage message to reflect multiple | |
5797 | arguments. | |
5798 | ||
6e6fbe60 DE |
5799 | 2011-02-22 Doug Evans <dje@google.com> |
5800 | ||
5801 | Add gdb.lookup_global_symbol python function. | |
5802 | * NEWS: Add entry. | |
5803 | * python/py-symbol.c (gdbpy_lookup_global_symbol): New function. | |
5804 | * python/python-internal.h (gdbpy_lookup_global_symbol): Declare it. | |
5805 | * python/python.c (GdbMethods): Add entry for lookup_global_symbol. | |
5806 | ||
79b97fa8 TT |
5807 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
5808 | ||
5809 | * language.c (language_class_name_from_physname): Rename | |
5810 | 'curr_language' argument to 'lang'; use in body. | |
5811 | ||
298f437a MS |
5812 | 2011-02-22 Michael Snyder <msnyder@vmware.com> |
5813 | ||
5814 | * cli/cli-utils.c (number_is_in_list): Check for zero return. | |
5815 | ||
b7ea3126 PA |
5816 | 2011-02-22 Pedro Alves <pedro@codesourcery.com> |
5817 | ||
5818 | * frame-unwind.h: Fix comment to mention the this frame, not the | |
5819 | next. | |
5820 | ||
58ee6d60 TT |
5821 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
5822 | ||
5823 | * symfile.c (auto_solib_limit): Remove. | |
5824 | * symfile.h (auto_solib_limit): Remove. | |
5825 | ||
36238dbc JB |
5826 | 2011-02-22 Joel Brobecker <brobecker@adacore.com> |
5827 | ||
5828 | * Makefile.in (INSTALLED_LIBS): Delete. Update comment. | |
5829 | ||
aea5b279 MS |
5830 | 2011-02-21 Michael Snyder <msnyder@vmware.com> |
5831 | ||
5832 | * gdbthread.h (print_thread_info): Change prototype. | |
5833 | * thread.c (print_thread_info): Accept char* instead of int for | |
5834 | requested_threads argument. Use new function number_is_in_list | |
5835 | to determine which threads to list. | |
5836 | (info_threads_command): Pass char* to print_thread_info. | |
5837 | * cli/cli-utils.c (number_is_in_list): New function. | |
5838 | * cli/cli-utils.h (number_is_in_list): Export. | |
f2eb0bc8 | 5839 | * mi/mi-main.c (mi_cmd_thread_info): Pass char* to |
aea5b279 MS |
5840 | print_thread_info. |
5841 | (print_one_inferior): Ditto. | |
5842 | (mi_cmd_list_thread_groups): Ditto. | |
5843 | ||
8caa75ee JK |
5844 | 2011-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
5845 | ||
5846 | * common/Makefile.in (CFLAGS): New. | |
5847 | (COMPILE): Add $(CFLAGS). | |
5848 | ||
ea666128 TT |
5849 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
5850 | ||
5851 | * breakpoint.c (catch_syscall_command_1): Fix typo. | |
5852 | ||
e9cafbcc TT |
5853 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
5854 | ||
5855 | * reverse.c: Include cli-utils.h. | |
5856 | * printcmd.c: Include cli-utils.h. | |
5857 | (string_printf): Use skip_spaces. | |
5858 | * cli/cli-utils.h: New file. | |
5859 | * cli/cli-utils.c: New file. | |
5860 | * cli/cli-dump.h (skip_spaces): Move to cli-utils.h. | |
5861 | * cli/cli-dump.c (skip_spaces): Move to cli-utils.c. | |
5862 | * breakpoint.h (get_number, get_number_or_range): Move to | |
5863 | cli-utils.h. | |
5864 | * breakpoint.c: Include cli-utils.h. | |
5865 | (get_number_trailer, get_number, get_number_or_range) | |
5866 | (ep_skip_leading_whitespace): Move to cli-utils.c. | |
5867 | (create_breakpoint_sal, find_condition_and_thread) | |
5868 | (decode_static_tracepoint_spec, watch_command_1) | |
5869 | (watch_maybe_just_location, ep_parse_optional_if_clause) | |
5870 | (catch_fork_command_1, catch_exec_command_1) | |
5871 | (catch_syscall_command_1): Use skip_spaces, skip_to_space. | |
5872 | * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o. | |
5873 | (SUBDIR_CLI_SRCS): Add cli-utils.c. | |
5874 | (HFILES_NO_SRCDIR): Add cli-utils.h. | |
5875 | (cli-utils.o): New target. | |
5876 | ||
f67fd822 PM |
5877 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
5878 | ||
5879 | * remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID | |
5880 | before calling discard_all_inferiors. | |
5881 | ||
c9def01d UW |
5882 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
5883 | ||
5884 | * opencl-lang.c (STRUCT_OCL_TYPE): Remove. | |
5885 | (struct builtin_opencl_type): Remove. | |
5886 | (builtin_opencl_type): Change return type to "struct type **". | |
5887 | (lookup_opencl_vector_type): Update caller. | |
5888 | (opencl_language_arch_info): Copy primitive type vector from gdbarch. | |
5889 | (build_opencl_types): Install plain array of "struct type *" | |
5890 | instead of "struct builtin_opencl_type". | |
5891 | ||
e3039479 UW |
5892 | 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
5893 | Ulrich Weigand <uweigand@de.ibm.com> | |
5894 | ||
5895 | * arm-linux-nat.c: Include "observer.h" and "gdbthread.h". | |
5896 | (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define. | |
5897 | (struct arm_linux_hwbp_cap): New type. | |
5898 | (arm_linux_get_hwbp_cap): New function. | |
5899 | (arm_linux_get_hw_breakpoint_count): Likewise. | |
5900 | (arm_linux_get_hw_watchpoint_count): Likewise. | |
5901 | (arm_linux_can_use_hw_breakpoint): Likewise. | |
5902 | (arm_hwbp_type): New type. | |
5903 | (arm_hwbp_control_t): Likewise. | |
5904 | (struct arm_linux_hw_breakpoint): Likewise. | |
5905 | (struct arm_linux_thread_points): Likewise. | |
5906 | (arm_threads): New global variable. | |
5907 | (arm_linux_find_breakpoints_by_tid): New function. | |
5908 | (arm_hwbp_control_initialize): Likewise. | |
5909 | (arm_hwbp_control_is_enabled): Likewise. | |
5910 | (arm_hwbp_control_disable): Likewise. | |
5911 | (arm_linux_hw_breakpoint_initialize): Likewise. | |
5912 | (arm_linux_get_hwbp_type): Likewise. | |
5913 | (arm_linux_hw_watchpoint_initialize): Likewise. | |
5914 | (arm_linux_hw_breakpoint_equal): Likewise. | |
5915 | (arm_linux_insert_hw_breakpoint1): Likewise. | |
5916 | (arm_linux_remove_hw_breakpoint1): Likewise. | |
5917 | (arm_linux_insert_hw_breakpoint): Likewise. | |
5918 | (arm_linux_remove_hw_breakpoint): Likewise. | |
5919 | (arm_linux_region_ok_for_hw_watchpoint): Likewise. | |
5920 | (arm_linux_insert_watchpoint): Likewise. | |
5921 | (arm_linux_remove_watchpoint): Likewise. | |
5922 | (arm_linux_stopped_data_address): Likewise. | |
5923 | (arm_linux_stopped_by_watchpoint): Likewise. | |
5924 | (arm_linux_watchpoint_addr_within_range): Likewise. | |
5925 | (arm_linux_new_thread): Likewise. | |
5926 | (arm_linux_thread_exit): Likewise. | |
5927 | (_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint | |
5928 | related target callbacks. Register arm_linux_new_thread and | |
5929 | arm_linux_thread_exit. | |
5930 | * arm-tdep.h (arm_pc_is_thumb): Add prototype. | |
5931 | * arm-tdep.c (arm_pc_is_thumb): Make global. | |
5932 | (arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint. | |
5933 | ||
b5db5dfc UW |
5934 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
5935 | ||
5936 | * breakpoint.c (update_watchpoint): Do not attempt to recreate | |
5937 | per-frame locations while within a function epilogue. | |
5938 | ||
e25b2cfa PM |
5939 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
5940 | ||
5941 | * ser-mingw.c (ser_windows_close): Reformat comment to better conform | |
5942 | to GNU coding standards. | |
5943 | ||
4af53f97 PM |
5944 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
5945 | ||
5946 | Allow use of mingw native on Windows 95 OS. | |
e25b2cfa | 5947 | * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry. |
4af53f97 PM |
5948 | (ser_windows_close): Only call CancelIo if function exists. |
5949 | (_initialize_ser_windows): Use LoadLirary/GetProcAddress | |
5950 | to check for existence of CancelIo function in kernel32 DLL. | |
5951 | ||
d0e92d82 HZ |
5952 | 2011-02-21 Hui Zhu <teawater@gmail.com> |
5953 | ||
5954 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
5955 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
5956 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
5957 | * ax-general.c (ax_memcpy): New function. | |
5958 | (ax_print): Handle "printf". | |
5959 | (ax_reqs): Ditto. | |
5960 | * ax.h (ax_memcpy): Forward declare. | |
5961 | * common/ax.def (invalid2): Removed. | |
5962 | (printf): New entry. | |
5963 | * printcmd.c (printcmd.h): New include. | |
5964 | (string_printf): New function. | |
5965 | (ui_printf): Removed. | |
5966 | (printf_command): Remove static. Call string_printf. | |
5967 | (eval_command): Call string_printf. | |
5968 | * printcmd.h: New file. | |
5969 | * tracepoint.c (validate_actionline, | |
5970 | encode_actions_1): handle printf_command. | |
5971 | ||
7d357efd MS |
5972 | 2011-02-19 Michael Snyder <msnyder@vmware.com> |
5973 | ||
5974 | * reverse.c (delete_one_bookmark): Argument is now bookmark | |
5975 | id rather than pointer to bookmark struct. | |
5976 | (delete_bookmark_command): Use get_number_or_range. | |
5977 | (goto_bookmark_command): Parse with get_number instead of strtoul. | |
5978 | (bookmark_1): New function. Print info for one bookmark. | |
5979 | (bookmarks_info): Use get_number_or_range and bookmark_1. | |
5980 | ||
7a45ebd7 MS |
5981 | 2011-02-18 Michael Snyder <msnyder@vmware.com> |
5982 | ||
f2eb0bc8 | 5983 | * thread.c (info_threads_command): Re-implement using |
7a45ebd7 | 5984 | get_number_or_range. |
65ebfb52 | 5985 | (thread_apply_command): Ditto. |
7a45ebd7 | 5986 | |
94d5e490 TT |
5987 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
5988 | ||
5989 | * common/ax.def: New file. | |
5990 | * ax.h (enum agent_op): Use ax.def. | |
5991 | * ax-general.c (aop_map): Use ax.def. | |
5992 | ||
c7f96d2b TT |
5993 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
5994 | ||
5995 | * ax-general.c (aop_map): Add pick and rot. | |
5996 | * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement. | |
5997 | <DW_OP_rot>: Implement. | |
5998 | * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants. | |
5999 | (ax_pick): Declare. | |
6000 | * ax-general.c (ax_pick): New function. | |
6001 | ||
66694b75 TT |
6002 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
6003 | ||
6004 | * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc. | |
6005 | ||
eeaafae2 JK |
6006 | 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
6007 | Tom Tromey <tromey@redhat.com> | |
6008 | ||
6009 | * cp-support.c (make_symbol_overload_list_namespace): Do not call | |
6010 | make_symbol_overload_list_block with NULL BLOCK. | |
6011 | * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF. | |
6012 | ||
3c3fe74c PA |
6013 | 2011-02-18 Pedro Alves <pedro@codesourcery.com> |
6014 | ||
6015 | * breakpoint.c (get_number_trailer): No longer accept a NULL PP. | |
6016 | * breakpoint.h (get_number_or_range): Declare. | |
6017 | * printcmd.c (ALL_DISPLAYS): Declare. | |
6018 | (delete_display): Reimplement taking a display pointer. | |
6019 | (undisplay_command): Accept a range of displays to delete, using | |
6020 | get_number_or_range. | |
6021 | ||
13163d80 PM |
6022 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
6023 | ||
6024 | * c-valprint.c (c_val_print): Add embedded_offset to address | |
6025 | for arrays of unspecified length. | |
6026 | * p-valprint.c (pascal_val_print): Likewise. | |
6027 | ||
b434a28f YQ |
6028 | 2011-02-18 Yao Qi <yao@codesourcery.com> |
6029 | ||
6030 | * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ... | |
6031 | (arm_process_displaced_insn): .. here. Remove parameter INSN. | |
6032 | (thumb_process_displaced_insn): New. | |
6033 | * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update | |
6034 | call to arm_process_displaced_insn. | |
6035 | * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn. | |
6036 | ||
9f6f94ff TT |
6037 | 2011-02-17 Tom Tromey <tromey@redhat.com> |
6038 | ||
6039 | * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare. | |
6040 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from | |
6041 | compile_dwarf_to_ax. No longer static. Call | |
6042 | dwarf2_compile_cfa_to_ax. | |
6043 | (locexpr_tracepoint_var_ref): Update. | |
6044 | (loclist_tracepoint_var_ref): Update. | |
6045 | * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare. | |
6046 | * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame' | |
6047 | argument; add 'gdbarch' and 'pc'. | |
6048 | (dwarf2_compile_cfa_to_ax): New function. | |
6049 | (dwarf2_frame_cache): Update. | |
6050 | ||
e67ad678 JB |
6051 | 2011-02-17 Joel Brobecker <brobecker@adacore.com> |
6052 | ||
6053 | * ada-lang.c (ada_type_of_array): Fix the size of the array | |
6054 | in the case of an unconstrained packed array. | |
6055 | ||
946ebb0d YQ |
6056 | 2011-02-17 Yao Qi <yao@codesourcery.com> |
6057 | ||
6058 | * common/Makefile.in: Add more targets for make. | |
6059 | ||
1ba1b353 TT |
6060 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
6061 | ||
6062 | * dwarf2loc.c (unimplemented): Fix typo. | |
6063 | ||
b1bfef65 TT |
6064 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
6065 | ||
6066 | * dwarf2loc.c (unimplemented): Handle unnamed opcodes. | |
6067 | (compile_dwarf_to_ax) <default>: Use unimplemented. | |
6068 | <DW_OP_deref>: Update. | |
6069 | (disassemble_dwarf_expression): Update. | |
6070 | * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument. | |
6071 | (decode_locdesc): Update. | |
6072 | * dwarf2expr.h (dwarf_stack_op_name): Update. | |
6073 | ||
5f1e6f19 TT |
6074 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
6075 | ||
6076 | * ax.h (struct aop_map) <name>: Now const. | |
6077 | ||
a0c78a73 PA |
6078 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
6079 | ||
6080 | * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other | |
6081 | than axs_rvalue. | |
6082 | ||
946ebb0d | 6083 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
a42244db YQ |
6084 | |
6085 | * infrun.c (get_displaced_step_closure_by_addr): New. | |
6086 | * inferior.h: Declare it. | |
6087 | * arm-tdep.c: (arm_pc_is_thumb): Call | |
6088 | get_displaced_step_closure_by_addr. Adjust MEMADDR if it | |
6089 | returns non-NULL. | |
6090 | ||
08807d5a PA |
6091 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
6092 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6093 | ||
6094 | gdb/ | |
6095 | * tracepoint.c (memrange_sortmerge): Fix list A's end calculation. | |
6096 | ||
29976f3f PA |
6097 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
6098 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6099 | ||
6100 | * value.c (value_contents_copy_raw): Extend describing comment. | |
6101 | Assert that the destination contents we're overwriting are wholly | |
6102 | available. | |
fb68ae73 | 6103 | (value_contents_copy): Extend describing comment. |
29976f3f | 6104 | |
cd24cfaa PA |
6105 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
6106 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6107 | ||
6108 | * value.c (value_available_contents_eq): Remove redundant local | |
6109 | variables. Fix available contents comparision. | |
6110 | * value.h (value_available_contents_eq): Extend describing | |
6111 | comment. | |
6112 | ||
60bbf338 YQ |
6113 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
6114 | ||
6115 | * thread.c (info_threads_command): Add missing i18n markup and remove | |
6116 | trailing newline. | |
6117 | ||
17450429 PP |
6118 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
6119 | ||
6120 | * breakpoint.c (longjmp_names): New variable. | |
6121 | (struct breakpoint_objfile_data): New type. | |
6122 | (breakpoint_objfile_key): New variable. | |
6123 | (msym_not_found): New variable. | |
6124 | (msym_not_found_p): New predicate. | |
6125 | (get_breakpoint_objfile_data): New function. | |
6126 | (create_overlay_event_breakpoint): Check per-objfile cache for | |
6127 | symbols first. | |
6128 | (create_longjmp_master_breakpoint): Likewise. | |
6129 | (create_std_terminate_master_breakpoint): Likewise. | |
6130 | (create_exception_master_breakpoint): Likewise. | |
6131 | (_initialize_breakpoint): Register per-objfile data key. | |
6132 | ||
af02033e PP |
6133 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
6134 | ||
6135 | * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate | |
6136 | parameter value. | |
6137 | (create_longjmp_master_breakpoint): Loop over longjmp names. | |
6138 | (create_std_terminate_master_breakpoint): Const-propagate parameter | |
6139 | value. | |
6140 | (update_breakpoints_after_exec): Adjust. | |
6141 | (breakpoint_re_set): Adjust. | |
6142 | ||
60f98dde MS |
6143 | 2011-02-15 Michael Snyder <msnyder@vmware.com> |
6144 | ||
cdf99611 MS |
6145 | * thread.c (info_threads_command): Process arg as thread id, |
6146 | or list of thread ids. | |
6147 | (thread_find_command): New command. | |
6148 | (_initialize_thread): Document argument for info threads. | |
6149 | Document 'thread find' command. | |
6150 | * NEWS: Document new command "thread find". | |
60f98dde | 6151 | |
0feedb2c JK |
6152 | 2011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
6153 | ||
6154 | * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'. | |
6155 | * aclocal.m4: Regenerated with aclocal-1.11.1. | |
6156 | * common/configure: Regenerate with autoconf-2.64. | |
6157 | ||
648cd113 KW |
6158 | 2011-02-15 Ken Werner <ken.werner@de.ibm.com> |
6159 | ||
6160 | * opencl-lang.c (build_opencl_types): Set the size of the built-in | |
6161 | bool data type to a size of one byte. | |
6162 | ||
5657161f PA |
6163 | 2011-02-15 Pedro Alves <pedro@codesourcery.com> |
6164 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6165 | ||
6166 | * target.c (memory_xfer_live_readonly_partial): Document where to | |
6167 | look for interface description. | |
6168 | ||
494e194e YQ |
6169 | 2011-02-15 Yao Qi <yao@codesourcery.com> |
6170 | ||
6171 | PR tdep/12352 | |
6172 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in | |
6173 | order to store PC value on stack instead of text section. | |
6174 | ||
d9492458 TJB |
6175 | 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com> |
6176 | ||
6177 | * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for | |
6178 | the EFP register set size. | |
6179 | (efpr_pseudo_register_read): Use regcache_raw_read_part to read | |
6180 | data from the VMX register. | |
6181 | (efpr_pseudo_register_write): Use regcache_raw_write_part to read | |
6182 | and write data from/to the VMX register. | |
6183 | ||
cdf99611 MS |
6184 | 2011-02-14 Michael Snyder <msnyder@vmware.com> |
6185 | ||
6186 | * command.h (enum command_class): New class 'no_set_class', for | |
6187 | "show" commands without a corresponding "set" command. | |
6188 | * value.c (_initialize_values): Use 'no_set_class' for "show values". | |
6189 | * copying.c (_initialize_copying): Ditto for "show copying" and | |
6190 | "show warranty". | |
6191 | * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and | |
6192 | "show version". | |
6193 | * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for | |
6194 | which there is no corresponding "set" command (eg. "show copying"). | |
6195 | ||
424447ee PA |
6196 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6197 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6198 | ||
6199 | * exec.c (section_table_available_memory): Change `len' parameter | |
6200 | type to ULONGEST. | |
6201 | * exec.h (section_table_available_memory): Ditto. | |
6202 | * value.h (read_value_memory): Rename the `offset' parameter to | |
6203 | `embedded_offset'. | |
6204 | ||
c0f61f9c | 6205 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
e0ccc0c7 | 6206 | Jan Kratochvil <jan.kratochvil@redhat.com> |
c0f61f9c PA |
6207 | |
6208 | * memrange.c (compare_mem_ranges): Mention sort order in | |
6209 | describing comment. | |
6210 | (normalize_mem_ranges): Add comment. Fix ra->length calculation. | |
6211 | * tracepoint.c (traceframe_available_memory): Extend comment to | |
6212 | mention what happens to RESULT when the target does not support | |
6213 | the query. | |
6214 | ||
6bfc80c7 PA |
6215 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6216 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6217 | ||
6218 | * value.c (mark_value_bytes_unavailable): Fix indexing the `bef' | |
6219 | range. | |
6220 | ||
e7303042 PA |
6221 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6222 | ||
6223 | * value.c (value_bits_valid, value_bits_synthetic_pointer): | |
6224 | No longer handle NULL values. | |
6225 | ||
8af8e3bc PA |
6226 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6227 | ||
6228 | * exceptions.h (NOT_AVAILABLE_ERROR): New error. | |
6229 | * value.c: Include "exceptions.h". | |
6230 | (require_available): Throw NOT_AVAILABLE_ERROR instead of a | |
6231 | generic error. | |
6232 | * cp-abi.c: Include gdb_assert.h. | |
6233 | (baseclass_offset): Add `embedded_offset' and `val' parameters. | |
6234 | Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR | |
6235 | errors. | |
6236 | * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val' | |
6237 | parameters. No longer returns -1 on error. | |
6238 | (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and | |
6239 | `val' parameters. | |
6240 | * cp-valprint.c: Include exceptions.h. | |
6241 | (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching | |
6242 | the baseclass_offset. Handle unavailable base classes. Use | |
6243 | val_print_invalid_address. | |
6244 | * p-valprint.c: Include exceptions.h. | |
6245 | (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors | |
6246 | when fetching the baseclass_offset. No longer expect | |
6247 | baseclass_offset returning -1. Handle unavailable base classes. | |
6248 | Use val_print_invalid_address. | |
6249 | * valops.c (dynamic_cast_check_1): Rename `contents' parameter to | |
6250 | `valaddr' parameter, and change its type to gdb_byte pointer. Add | |
6251 | `embedded_offset' and `val' parameters. Adjust. | |
6252 | (dynamic_cast_check_2): Rename `contents' parameter to `valaddr' | |
6253 | parameter, and change its type to gdb_byte pointer. Add | |
6254 | `embedded_offset' and `val' parameters. Adjust. No longer expect | |
6255 | baseclass_offset returning -1. | |
6256 | (value_dynamic_cast): Use value_contents_for_printing rather than | |
6257 | value_contents. Adjust. | |
6258 | (search_struct_field): No longer expect baseclass_offset returning | |
6259 | -1. | |
6260 | (search_struct_method): If reading memory from the target is | |
6261 | necessary, wrap it in a new value to pass to baseclass_offset. No | |
6262 | longer expect baseclass_offset returning -1. | |
6263 | (find_method_list): No longer expect baseclass_offset returning | |
6264 | -1. Use value_contents_for_printing rather than value_contents. | |
6265 | * valprint.c (val_print_invalid_address): New function. | |
6266 | * valprint.h (val_print_invalid_address): Declare. | |
6267 | * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset' | |
6268 | and `val' parameters. No longer expect baseclass_offset returning | |
6269 | -1. Adjust. | |
6270 | * gnu-v2-abi.c: Include "exceptions.h". | |
6271 | (gnuv2_baseclass_offset): Add `embedded_offset' and `val' | |
6272 | parameters. Handle unavailable memory. Recurse through | |
6273 | gnuv2_baseclass_offset directly, rather than through | |
6274 | baseclass_offset. No longer returns -1 on not found, instead | |
6275 | throw an error. | |
6276 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and | |
6277 | `val' parameters. Adjust. | |
6278 | ||
1b28d0b3 PA |
6279 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6280 | ||
6281 | * tracepoint.c (memrange_sortmerge): Don't merge ranges that are | |
6282 | almost but not quite adjacent. | |
6283 | ||
ec0a52e1 PA |
6284 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6285 | ||
6286 | * value.h (value_entirely_available): Declare. | |
6287 | * value.c (value_entirely_available): New function. | |
6288 | * c-valprint.c (c_value_print): Don't try fetching the pointer's | |
6289 | real type if the pointer is unavailable. | |
6290 | ||
24e6bcee PA |
6291 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6292 | ||
6293 | * valops.c (value_repeat): Use read_value_memory instead of | |
6294 | read_memory. | |
6295 | ||
39d37385 PA |
6296 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6297 | ||
6298 | * value.h (value_contents_copy, value_contents_copy_raw): Declare. | |
6299 | * value.c (value_contents_copy_raw, value_contents_copy): New | |
6300 | functions. | |
6301 | (value_primitive_field): Use value_contents_copy_raw instead of | |
6302 | memcpy. | |
6303 | * valops.c (value_fetch_lazy): Use value_contents_copy instead of | |
6304 | memcpy. | |
6305 | (value_array, value_slice): Ditto. | |
6306 | * valarith.c (value_subscripted_rvalue): Use | |
6307 | value_contents_copy_raw instead of memcpy. | |
6308 | ||
a3d34bf4 PA |
6309 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6310 | ||
6311 | <unavailable> references. | |
6312 | ||
6313 | * valops.c (get_value_at): Use value_from_contents_and_address, | |
6314 | avoiding read_memory. | |
6315 | ||
9fc6d940 PA |
6316 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6317 | ||
6318 | * c-valprint.c (c_val_print): Print a string with unavailable | |
6319 | contents as an array. | |
6320 | ||
5467c6c8 PA |
6321 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6322 | ||
6323 | * value.h (unpack_bits_as_long): Delete declaration. | |
6324 | (unpack_value_bits_as_long): Declare. | |
6325 | (unpack_value_field_as_long): Declare. | |
6326 | (value_field_bitfield): Declare. | |
6327 | * value.c (unpack_bits_as_long): Rename to... | |
6328 | (unpack_value_bits_as_long_1): ... this. Add embedded_offset and | |
6329 | value parameters. Return the extracted result in a new output | |
6330 | parameter. If the value contents are unavailable, return false, | |
6331 | otherwise return true. | |
6332 | (unpack_value_bits_as_long): New. | |
6333 | (unpack_field_as_long): Rename to... | |
6334 | (unpack_value_field_as_long_1): ... this. Add embedded_offset and | |
6335 | Add embedded_offset and value parameters. Return the extracted | |
6336 | result in a new output parameter. If the value contents are | |
6337 | unavailable, return false, otherwise return true. | |
6338 | (unpack_value_field_as_long): New. | |
6339 | (unpack_field_as_long_1): New. | |
6340 | (unpack_field_as_long): Reimplement as wrapper around | |
6341 | unpack_value_field_as_long_1. | |
6342 | (value_field_bitfield): New function. | |
6343 | * valops.c (value_fetch_lazy): When fetching a bitfield, use | |
6344 | unpack_value_bits_as_long. Mark the value as unavailable, if it | |
6345 | is unavailable. | |
6346 | * jv-valprint.c (java_print_value_fields): Use | |
6347 | value_field_bitfield. | |
6348 | * p-valprint.c (pascal_object_print_value_fields): Use | |
6349 | value_field_bitfield. | |
6350 | * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield. | |
6351 | ||
3158c6ed PA |
6352 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6353 | ||
6354 | * value.c (get_internalvar_integer): Also return the int value of | |
6355 | TYPE_CODE_INT INTERNALVAR_VALUE values. | |
6356 | (set_internalvar): Don't special case TYPE_CODE_INT. | |
6357 | ||
9fbdca0d PA |
6358 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6359 | ||
6360 | * value.c (struct internalvar) <enum internalvar_kind>: Remove | |
6361 | INTERNALVAR_POINTER. | |
6362 | <pointer>: Delete. | |
6363 | (value_of_internalvar): Remove INTERNALVAR_POINTER handling. | |
6364 | (set_internalvar): Remove special TYPE_CODE_PTR handling. | |
6365 | (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling. | |
6366 | ||
c8c1c22f PA |
6367 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6368 | ||
6369 | * value.h (value_available_contents_eq): Declare. | |
6370 | * value.c (find_first_range_overlap): New function. | |
6371 | (value_available_contents_eq): New function. | |
6372 | * valprint.c (val_print_array_elements): Use | |
6373 | value_available_contents_eq. | |
6374 | * ada-valprint.c (val_print_packed_array_elements): Use | |
6375 | value_available_contents_eq. | |
6376 | * jv-valprint.c (java_value_print): Use | |
6377 | value_available_contents_eq. | |
6378 | ||
e6e4e701 PA |
6379 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6380 | ||
6381 | * target.c (target_read_live_memory): New function. | |
6382 | (memory_xfer_live_readonly_partial): New. | |
6383 | (memory_xfer_partial): If reading from a traceframe, fallback to | |
6384 | reading unavailable read-only memory from read-only regions of | |
6385 | live target memory. | |
6386 | * tracepoint.c (disconnect_tracing): Adjust. | |
6387 | (set_current_traceframe): New, factored out from | |
6388 | set_traceframe_number. | |
6389 | (set_traceframe_number): Reimplement to only change the traceframe | |
6390 | number on the GDB side. | |
6391 | (do_restore_current_traceframe_cleanup): Adjust. | |
6392 | (make_cleanup_restore_traceframe_number): New. | |
6393 | (cur_traceframe_number): New global. | |
6394 | (tfile_open): Set cur_traceframe_number to no traceframe. | |
6395 | (set_tfile_traceframe): New function. | |
6396 | (tfile_trace_find): If looking up a traceframe using any method | |
6397 | other than by number, make sure the current tfile traceframe | |
6398 | matches gdb's current traceframe. Update the current tfile | |
6399 | traceframe if the lookup succeeded. | |
6400 | (tfile_fetch_registers, tfile_xfer_partial) | |
6401 | (tfile_get_trace_state_variable_value): Make sure the remote | |
6402 | traceframe matches gdb's current traceframe. | |
6403 | * remote.c (remote_traceframe_number): New global. | |
6404 | (remote_open_1): Set it to -1. | |
6405 | (set_remote_traceframe): New function. | |
6406 | (remote_fetch_registers, remote_store_registers) | |
6407 | (remote_xfer_memory, remote_xfer_partial) | |
6408 | (remote_get_trace_state_variable_value): Make sure the remote | |
6409 | traceframe matches gdb's current traceframe. | |
6410 | (remote_trace_find): If looking up a traceframe using any method | |
6411 | other than by number, make sure the current remote traceframe | |
6412 | matches gdb's current traceframe. Update the current remote | |
6413 | traceframe if the lookup succeeded. | |
6414 | * infrun.c (fetch_inferior_event): Adjust. | |
6415 | * tracepoint.h (set_current_traceframe): Declare. | |
6416 | (get_traceframe_number, set_traceframe_number): Add describing | |
6417 | comments. | |
6418 | ||
e6ca34fc PA |
6419 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6420 | ||
6421 | Mark pieces of values as unavailable if the corresponding memory | |
6422 | is unavailable. | |
6423 | ||
6424 | * valops.c: Include tracepoint.h. | |
6425 | (value_fetch_lazy): Use read_value_memory. | |
6426 | (read_value_memory): New. | |
6427 | * value.h (read_value_memory): Declare. | |
6428 | * dwarf2loc.c (read_pieced_value): Use read_value_memory. | |
6429 | * exec.c (section_table_available_memory): New function. | |
6430 | * exec.h (section_table_available_memory): Declare. | |
6431 | ||
2a7498d8 PA |
6432 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6433 | ||
6434 | * Makefile.in (SFILES): Add memrange.c. | |
6435 | (HFILES_NO_SRCDIR): Add memrange.h. | |
6436 | (COMMON_OBS): Add memrange.o. | |
6437 | * memrange.c: New file. | |
6438 | * memrange.h: New file. | |
6439 | * tracepoint.c: Include memrange.h. | |
6440 | (struct mem_range): Delete. | |
6441 | (mem_range_s): Delete. | |
6442 | (traceframe_available_memory): New function. | |
6443 | * tracepoint.h (traceframe_available_memory): Declare. | |
6444 | ||
b3b9301e PA |
6445 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6446 | ||
6447 | * target.h (struct traceframe_info): Forward declare. | |
6448 | (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO. | |
6449 | (struct target_ops) <to_traceframe_info>: New field. | |
6450 | (target_traceframe_info): New. | |
6451 | * target.c (update_current_target): Inherit and default | |
6452 | to_traceframe_info. | |
6453 | * remote.c (PACKET_qXfer_traceframe_info): New. | |
6454 | (remote_protocol_features): Register qXfer:traceframe-info:read. | |
6455 | (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO. | |
6456 | (remote_traceframe_info): New. | |
6457 | (init_remote_ops): Install it. | |
6458 | (_initialize_remote): Install "set/show remote traceframe-info" | |
6459 | commands. | |
6460 | * tracepoint.h (parse_traceframe_info): Declare. | |
6461 | * tracepoint.c (struct mem_range): New. | |
6462 | (mem_range_s): New typedef. | |
6463 | (struct traceframe_info): New. | |
6464 | (traceframe_info): New global. | |
6465 | (free_traceframe_info): New function. | |
6466 | (clear_traceframe_info): New function. | |
6467 | (start_tracing, tfind_1, set_traceframe_number): Clear traceframe | |
6468 | info. | |
6469 | (build_traceframe_info): New function. | |
6470 | (tfile_traceframe_info): New function. | |
6471 | (init_tfile_ops): Install tfile_traceframe_info. | |
6472 | (traceframe_info_start_memory, free_result): New functions. | |
6473 | (memory_attributes, traceframe_info_elements): New globals. | |
6474 | (parse_traceframe_info, get_traceframe_info): New functions. | |
6475 | * features/traceframe-info.dtd: New file. | |
6476 | * Makefile.in (XMLFILES): Add traceframe-info.dtd. | |
6477 | ||
4e07d55f PA |
6478 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6479 | ||
6480 | Base support for <unavailable> value contents. | |
6481 | ||
4e07d55f PA |
6482 | * value.h (value_bytes_available): Declare. |
6483 | (mark_value_bytes_unavailable): Declare. | |
6484 | * value.c (struct range): New struct. | |
6485 | (range_s): New typedef. | |
6486 | (ranges_overlap): New function. | |
6487 | (range_lessthan): New function. | |
6488 | (ranges_contain_p): New function. | |
6489 | (struct value) <unavailable>: New field. | |
6490 | (value_bytes_available): New function. | |
6491 | (mark_value_bytes_unavailable): New function. | |
6492 | (require_not_optimized_out): Constify parameter. | |
6493 | (require_available): New function. | |
6494 | (value_contents_all, value_contents): Require all bytes be | |
6495 | available. | |
6496 | (value_free): Free `unavailable'. | |
6497 | (value_copy): Copy `unavailable'. | |
6498 | * valprint.h (val_print_unavailable): Declare. | |
6499 | * valprint.c (valprint_check_validity): Rename `offset' parameter | |
6500 | to `embedded_offset'. If printing a scalar, check whether the | |
6501 | value chunk is available. | |
6502 | (val_print_unavailable): New. | |
6503 | (val_print_scalar_formatted): Check whether the value is | |
6504 | available. | |
6505 | * python/py-prettyprint.c (apply_val_pretty_printer): Refuse | |
6506 | pretty-printing unavailable values. | |
6507 | ||
bc9a5551 JK |
6508 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
6509 | ||
6510 | Fix const/volatile qualifiers of C++ types, PR c++/12328. | |
6511 | * c-typeprint.c (c_type_print_args): Update the function comment. New | |
6512 | variable param_type, initialize it. Remove const/volatile qualifiers | |
6513 | for language_cplus and !show_artificial. Use param_type. | |
6514 | ||
93b55aa1 JK |
6515 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
6516 | ||
6517 | * symtab.c (find_pc_sect_line): New variable objfile, initialize it | |
6518 | from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S. | |
6519 | * symtab.h (struct symtab) <next>: Comment extension. | |
6520 | ||
181d9476 YQ |
6521 | 2011-02-12 Yao Qi <yao@codesourcery.com> |
6522 | ||
6523 | * Makefile.in (CLEANDIRS): Remove duplicated common dir. | |
6524 | ||
b708a5c7 JK |
6525 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
6526 | ||
6527 | * common/Makefile.in: Add copyright header. | |
6528 | ||
c5187ac6 PA |
6529 | 2011-02-11 Pedro Alves <pedro@codesourcery.com> |
6530 | ||
6531 | * infrun.c (proceed): Move switching out and in of tfind mode from | |
6532 | here ... | |
6533 | (fetch_inferior_event): ... to here. | |
6534 | ||
4f3e6fb7 YQ |
6535 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
6536 | ||
6537 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
6538 | libcommon.a. | |
6539 | * configure.ac: Add common to sub dir. | |
6540 | * configure: Regenerate. | |
6541 | ||
b708a5c7 JK |
6542 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
6543 | ||
6544 | Build libcommon.a. | |
6545 | ||
6546 | * common/Makefile.in: New. | |
6547 | * common/configure.ac: New. | |
6548 | * common/aclocal.m4: New. | |
6549 | * common/configure: Generate. | |
6550 | ||
2287cc7e PA |
6551 | 2011-02-10 Pedro Alves <pedro@codesourcery.com> |
6552 | ||
6553 | * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right | |
6554 | side of the parenthesis. | |
6555 | ||
6556 | Merge from GCC: | |
6557 | 2010-07-13 Jakub Jelinek <jakub@redhat.com> | |
fc013618 | 6558 | * vec.h (VEC_block_remove): Fix comment. |
2287cc7e | 6559 | |
fd62cb89 MS |
6560 | 2011-02-08 Michael Snyder <msnyder@vmware.com> |
6561 | ||
6562 | * linux-nat.c (linux_nat_filter_event): Fix typo in comment. | |
6563 | ||
56d2815c JK |
6564 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
6565 | ||
6566 | * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes | |
6567 | in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd, | |
6568 | psubd and paddd. | |
6569 | ||
4f7d61a8 JK |
6570 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
6571 | ||
6572 | PR 12361. | |
6573 | * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to | |
6574 | phsubsw. | |
6575 | (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0. | |
6576 | (i386_process_record) <0x0f3807>: Fix the comment to phsubsw. | |
6577 | ||
54fcddd0 UW |
6578 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
6579 | ||
6580 | * dwarf2read.c (read_subroutine_type): Set special calling | |
6581 | convention flag for functions compiled by IBM XL C for OpenCL. | |
6582 | * ppc-sysv-tdep.c: Include "dwarf2.h" | |
6583 | (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types | |
6584 | calling convention. | |
6585 | (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement | |
6586 | IBM OpenCL vector types calling convention. | |
6587 | (ppc_sysv_abi_return_value): Pass through FUNC_TYPE. | |
6588 | (ppc_sysv_abi_broken_return_value): Likewise. | |
6589 | (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector | |
6590 | types calling convention. | |
6591 | (ppc64_sysv_abi_return_value): Likewise. | |
6592 | * spu-tdep.c: Include "dwarf2.h" | |
6593 | (spu_return_value): Implement IBM OpenCL vector types calling | |
6594 | convention. | |
6595 | ||
d6dafb7c UW |
6596 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
6597 | ||
6598 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement | |
6599 | correct ABI for AltiVec vector arguments. | |
6600 | ||
32b72a42 PA |
6601 | 2011-02-07 Pedro Alves <pedro@codesourcery.com> |
6602 | ||
6603 | * valprint.c (val_print): Extend comment. | |
6604 | * ada-valprint.c (ada_valprint): Rewrite comment deferring | |
6605 | interface explanation to val_print. | |
6606 | (ada_val_print_array): Adjust comment to current interface. | |
6607 | (print_field_values): Adjust comment to current interface. | |
6608 | * c-valprint.c (c_val_print): Rewrite comment deferring interface | |
6609 | explanation to val_print. | |
6610 | * f-valprint.c (f_val_print): Ditto. | |
6611 | * jv-valprint.c (java_val_print): Ditto. | |
6612 | * m2-valprint.c (m2_val_print): Ditto. | |
6613 | * p-valprint.c (pascal_val_print): Ditto. | |
6614 | ||
9998af43 TJB |
6615 | 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com> |
6616 | ||
6617 | * breakpoint.c (parse_breakpoint_sals): Fix description. | |
6618 | ||
505500db | 6619 | 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com> |
9998af43 | 6620 | Oguz Kayral <oguzkayral@gmail.com> |
505500db SW |
6621 | |
6622 | * python/py-inferior.c (python_on_normal_stop): New function. | |
6623 | (python_on_resume): New function. | |
6624 | (python_inferior_exit): New function. | |
6625 | (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and | |
6626 | inferior_exit observers. | |
6627 | * python/py-evtregistry.c: New file. | |
6628 | * python/py-threadevent.c : New file. | |
6629 | * python/py-event.c: New file. | |
6630 | * python/py-evts.c: New file. | |
6631 | * python/py-continueevent.c: New file. | |
6632 | * python/py-bpevent.c: New file. | |
6633 | * python/py-signalevent.c: New file. | |
6634 | * python/py-exetiedevent.c: New file. | |
6635 | * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function. | |
6636 | Move struct breakpoint_object from here... | |
6637 | * python/python-internal.h: ... to here. | |
6638 | * python/py-event.h: New file. | |
6639 | * python/py-events.h: New file. | |
6640 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o, | |
6641 | py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o, | |
6642 | py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o. | |
6643 | (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c, | |
6644 | py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c, | |
6645 | py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c. | |
6646 | Add build rules for all the above. | |
6647 | ||
9e0ac564 TT |
6648 | 2011-02-04 Tom Tromey <tromey@redhat.com> |
6649 | ||
6650 | * dwarf2read.c (dwarf2_section_empty_p): New function. | |
6651 | (dwarf2_read_section): Use dwarf2_section_empty_p. | |
6652 | (dwarf2_section_size): New function. | |
6653 | (dwarf2_get_section_info): Unconditionally read section. | |
6654 | (dwarf2_read_index): Use dwarf2_section_empty_p. | |
6655 | (partial_read_comp_unit_head): Use dwarf2_section_size. | |
6656 | (dwarf2_symbol_mark_computed): Likewise. | |
6657 | ||
eee5b35e DD |
6658 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
6659 | ||
6660 | * NEWS: Add item for "catch syscall" on mips*-linux* targets. | |
6661 | ||
385203ed DD |
6662 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
6663 | ||
6664 | * mips-linux-tdep.c: Include xml-syscall.h. | |
6665 | (mips_linux_get_syscall_number): New function. | |
6666 | (mips_linux_init_abi): Add calls to | |
6667 | mips_linux_get_syscall_number() and set_xml_syscall_file_name(). | |
6668 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
6669 | mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml | |
6670 | * syscalls/mips-n32-linux.xml: New file. | |
6671 | * syscalls/mips-n64-linux.xml: New file. | |
6672 | * syscalls/mips-o32-linux.xml: New file. | |
6673 | ||
9277c30c UW |
6674 | 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
6675 | ||
6676 | * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries. | |
6677 | Complain about inverted range entries. | |
6678 | (dwarf2_record_block_ranges): Likewise. | |
6679 | ||
a3be7890 TJB |
6680 | 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
6681 | ||
6682 | Fix some typos. | |
6683 | * breakpoint.c (update_watchpoint): Fix name of the | |
6684 | update_global_location_list function. | |
6685 | (print_one_breakpoint): Fix typo. | |
6686 | (_initialize_breakpoint): Remove extra space in hbreak help | |
6687 | string. | |
6688 | * breakpoint.h (struct bp_location) <length>: Fix field | |
6689 | description. | |
6690 | ||
041274d8 PA |
6691 | 2011-02-04 Pedro Alves <pedro@codesourcery.com> |
6692 | ||
6693 | * regcache.c (registers_changed_ptid): Don't explictly always | |
6694 | clear `current_regcache'. Only clear current_thread_ptid and | |
6695 | current_thread_arch when PTID matches. Only reinit the frame | |
6696 | cache if PTID matches the current inferior_ptid. Move alloca(0) | |
6697 | call to ... | |
6698 | (registers_changed): ... here. | |
6699 | ||
c1c2ab58 UW |
6700 | 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org> |
6701 | ||
6702 | * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that | |
6703 | starts with __stack_chk_guard as stack guard symbol. | |
6704 | ||
9011945e AB |
6705 | 2011-02-03 Andrew Burgess <aburgess@broadcom.com> |
6706 | ||
6707 | * disasm.c (compare_lines): Handle the end of sequence markers | |
6708 | within the line table to better support disassembling over | |
6709 | compilation unit boundaries. | |
6710 | ||
e0634ccf UW |
6711 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
6712 | ||
6713 | * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB | |
6714 | arguments. Skip in-prologue calls to glibc __aeabi_read_tp | |
6715 | implementation even if no symbols are available. | |
6716 | (thumb_analyze_prologue): Update call to skip_prologue_function. | |
6717 | (arm_analyze_prologue): Likewise. | |
6718 | ||
0e9e9abd UW |
6719 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
6720 | ||
6721 | * arm-tdep.c: Include "observer.h". | |
6722 | (arm_prologue_this_id): Use frame PC if get_frame_func returns 0. | |
6723 | (arm_exidx_data_key): New static variable. | |
6724 | (struct arm_exidx_entry, arm_exidx_entry_s): New data types. | |
6725 | (struct arm_exidx_data): Likewise. | |
6726 | (arm_exidx_data_free): New function. | |
6727 | (arm_compare_exidx_entries): Likewise. | |
6728 | (arm_obj_section_from_vma): Likewise. | |
6729 | (arm_exidx_new_objfile): Likewise. | |
6730 | (arm_find_exidx_entry): Likewise. | |
6731 | (arm_exidx_fill_cache): Likewise. | |
6732 | (arm_exidx_unwind_sniffer): Likewise. | |
6733 | (arm_exidx_unwind): New global variable. | |
6734 | (arm_gdbarch_init): Append unwinder arm_exidx_unwind. | |
6735 | (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile | |
6736 | observer. Register arm_exidx_data_key as objfile data. | |
6737 | ||
2e9e421f UW |
6738 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
6739 | ||
6740 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break | |
6741 | due to accessing uninitialized variable. Fix indentation. | |
6742 | ||
580688f3 PA |
6743 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
6744 | ||
6745 | * c-valprint.c (c_value_print): When doing virtual base pointer | |
6746 | adjustment, create a new value with adjusted contents rather than | |
6747 | changing the contents of the value being printed (and getting it | |
6748 | wrong). | |
6749 | ||
3d2c1d41 PA |
6750 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
6751 | ||
6752 | * xml-support.c (xml_find_attribute): New. | |
6753 | (xinclude_start_include): Use it. | |
6754 | * xml-support.h (xml_find_attribute): Declare. | |
6755 | * memory-map.c (memory_map_start_memory) | |
6756 | (memory_map_start_property): Use xml_find_attribute. | |
6757 | * osdata.c (osdata_start_osdata, osdata_start_column): Use | |
6758 | xml_find_attribute. | |
6759 | * remote.c (start_thread): Use xml_find_attribute. | |
6760 | * solib-target.c (library_list_start_segment) | |
6761 | (library_list_start_section, library_list_start_library) | |
6762 | (library_list_start_list): Use xml_find_attribute. | |
6763 | * xml-tdesc.c (tdesc_start_target, tdesc_start_feature) | |
6764 | (tdesc_start_union, tdesc_start_struct, tdesc_start_flags) | |
6765 | (tdesc_start_field): Use xml_find_attribute. | |
6766 | ||
0af3e2db UW |
6767 | 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com> |
6768 | ||
6769 | * opencl-lang.c (STRINGIFY): Rename to OCL_STRING. | |
6770 | (BUILD_OCL_VTYPES): Update. | |
6771 | ||
c1039e3c JB |
6772 | 2011-02-02 Joel Brobecker <brobecker@adacore.com> |
6773 | ||
6774 | * configure.ac: Work around non-GNU sed limitation when computing | |
6775 | python version number. | |
6776 | * configure: Regenerate. | |
6777 | ||
600ea1be JK |
6778 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
6779 | ||
6780 | Fix debug printing of TYPE_INSTANCE. | |
6781 | * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New. | |
6782 | (dump_subexp_body_standard) <TYPE_INSTANCE>: New. | |
6783 | ||
56c12414 JK |
6784 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
6785 | ||
6786 | Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL, | |
6787 | OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME, | |
6788 | OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT. | |
6789 | * ada-operator.inc: Rename the file to ... | |
6790 | * ada-operator.def: ... here, wrap all the entries by macro OP. | |
6791 | * expprint.c (op_name_standard): Remove all the entries. Include | |
6792 | "std-operator.def" instead. | |
6793 | * expression.h (enum exp_opcode): Include "std-operator.def" and | |
6794 | "ada-operator.def". Move all the entries ... | |
6795 | * std-operator.def: ... here, wrap all the entries by macro OP. | |
6796 | ||
c52b559d PP |
6797 | 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com> |
6798 | ||
6799 | * breakpoint.h (remove_jit_event_breakpoints): New prototype. | |
6800 | * breakpoint.c (remove_jit_event_breakpoints): New function. | |
6801 | * jit.c (jit_descriptor_addr): Delete. | |
6802 | (registering_code): Delete. | |
6803 | (clear_int): Delete. | |
6804 | (jit_inferior_data): New variable. | |
6805 | (struct jit_inferior_data): New type. | |
6806 | (get_jit_inferior_data): New function. | |
6807 | (jit_inferior_data_cleanup): New function. | |
6808 | (jit_read_descriptor): Adjust. | |
6809 | (jit_register_code): Adjust. | |
6810 | (jit_breakpoint_re_set_internal): New function; move code here ... | |
6811 | (jit_inferior_init): ... from here. | |
6812 | (jit_breakpoint_re_set): Adjust. | |
6813 | (jit_reset_inferior_data_and_breakpoints): New function. | |
6814 | (jit_inferior_created_observer): Adjust. | |
6815 | (jit_inferior_exit_hook): Adjust. | |
6816 | (jit_executable_changed_observer): New function. | |
6817 | (jit_event_handler): Adjust. | |
6818 | (_initialize_jit): Adjust. | |
6819 | ||
e839132d MS |
6820 | 2011-01-31 Michael Snyder <msnyder@vmware.com> |
6821 | ||
6822 | * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted | |
6823 | line. | |
6824 | ||
47a80e90 TT |
6825 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
6826 | ||
6827 | PR python/12216: | |
6828 | * python/python.c (execute_gdb_command): Call | |
6829 | prevent_dont_repeat. | |
6830 | * top.c (suppress_dont_repeat): New global. | |
6831 | (dont_repeat): Use it. | |
6832 | (prevent_dont_repeat): New function. | |
6833 | * command.h (prevent_dont_repeat): Declare. | |
6834 | ||
45a43567 TT |
6835 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
6836 | ||
6837 | * infcmd.c (finish_backward): Use breakpoint_set_silent. | |
6838 | * python/py-breakpoint.c (bppy_set_silent): Use | |
6839 | breakpoint_set_silent. | |
6840 | (bppy_set_thread): Use breakpoint_set_thread. | |
6841 | (bppy_set_task): Use breakpoint_set_task. | |
6842 | * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread) | |
6843 | (breakpoint_set_task): Declare. | |
6844 | (make_breakpoint_silent): Remove. | |
6845 | * breakpoint.c (breakpoint_set_silent): New function. | |
6846 | (breakpoint_set_thread): Likewise. | |
6847 | (breakpoint_set_task): Likewise. | |
6848 | (make_breakpoint_silent): Remove. | |
6849 | ||
09d682a4 TT |
6850 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
6851 | ||
6852 | * breakpoint.h (user_breakpoint_p): Declare. | |
6853 | * breakpoint.c (user_breakpoint_p): New function. | |
6854 | (breakpoint_1): Use it. | |
6855 | (save_breakpoints): Likewise. | |
6856 | ||
9c4ea6c5 JB |
6857 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
6858 | ||
6859 | * configure.ac: Add handling of Python distribution on Windows. | |
6860 | * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED | |
6861 | sysconfig variables are not defined, then do not use them. | |
6862 | On Windows, if LIBPL is not defined, then use prefix + '/libs' | |
6863 | instead. On Windows, return all paths using forward-slashes | |
6864 | rather than backslashes. | |
6865 | ||
ac534cba JB |
6866 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
6867 | ||
6868 | * configure.ac: Remove fallback behavior for building | |
6869 | against Python. Remove tweaking of Python include path. | |
6870 | Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution. | |
6871 | (AC_TRY_LIBPYTHON): Adjust program used in linking test. | |
6872 | If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS. | |
6873 | Always restore CPPFLAGS and LIBS after linking test. | |
6874 | * configure: Regenerated. | |
6875 | * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@. | |
6876 | (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@. | |
6877 | * python/python-internal.h: Adjust includes of Python .h files. | |
6878 | ||
c2f0d045 JB |
6879 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
6880 | ||
6881 | * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup | |
6882 | in error message. | |
6883 | ||
6b0c4c1f JB |
6884 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
6885 | ||
6886 | * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode | |
6887 | value test. | |
6888 | ||
672c9795 YQ |
6889 | 2011-01-31 Yao Qi <yao@codesourcery.com> |
6890 | ||
6891 | * arm-linux-nat.c: Update calls to regcache_register_status | |
6892 | instead of regcache_valid_p. | |
6893 | * aix-thread.c: Likewise. | |
6894 | * i386gnu-nat.c: Likewise. | |
6895 | ||
80b23b6a JK |
6896 | 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
6897 | ||
6898 | Fix crash. | |
6899 | * valops.c (compare_parameters): Verify TYPE_NFIELDS before | |
6900 | touching TYPE_FIELD_ARTIFICIAL. | |
6901 | ||
4cd712bd RE |
6902 | 2011-01-28 Richard Earnshaw <rearnsha@arm.com> |
6903 | ||
6904 | * MAINTAINERS: Move myself from Responsible Maintainers to Authorized | |
6905 | Committers. | |
6906 | ||
ffd5ec24 PA |
6907 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
6908 | ||
6909 | * tracepoint.c (tfile_xfer_partial): If there's no traceframe | |
6910 | selected, don't try iterating over the traceframe's blocks. | |
6911 | (tfile_has_stack): If there's no traceframe selected, then there's | |
6912 | no stack. | |
6913 | (tfile_has_registers): If there's no traceframe selected, then | |
6914 | there's no registers. | |
6915 | ||
e8c9e0a1 PA |
6916 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
6917 | ||
6918 | * target.c (memory_xfer_partial): No need to restore shadows if we | |
6919 | haven't read anything. | |
6920 | ||
de15c4ab PA |
6921 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
6922 | ||
6923 | * mips-tdep.c (mips_print_register): Use get_frame_register_value | |
6924 | and val_print_scalar_formatted. | |
6925 | ||
9f41c731 PA |
6926 | 2011-01-27 Pedro Alves <pedro@codesourcery.com> |
6927 | ||
6928 | * tracepoint.c (tfile_read): New. | |
6929 | (tfile_open): Use it. | |
6930 | (tfile_get_traceframe_address): Use it. | |
6931 | (tfile_trace_find): Use it. | |
6932 | (walk_blocks_callback_func): New typedef. | |
6933 | (match_blocktype): New function. | |
6934 | (traceframe_walk_blocks): New function. | |
6935 | (traceframe_find_block_type): New function. | |
6936 | (tfile_fetch_registers, tfile_xfer_partial) | |
6937 | (tfile_get_trace_state_variable_value): Use | |
6938 | traceframe_find_block_type and tfile_read. | |
6939 | ||
cdefc55d KB |
6940 | 2011-01-26 Kevin Buettner <kevinb@redhat.com> |
6941 | ||
6942 | * remote-mips.c: Add internationalization mark ups. Remove | |
6943 | trailing \n from already marked up strings. | |
6944 | ||
a81766d8 TT |
6945 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
6946 | ||
6947 | * python/py-prettyprint.c (print_string_repr): Clear | |
6948 | 'addressprint' option when calling val_print_string. | |
6949 | (print_children): Handle Val_pretty_default. Clear 'addressprint' | |
6950 | option when calling val_print_string. | |
6951 | ||
74aedc46 TT |
6952 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
6953 | ||
6954 | * python/python.c (gdbpy_solib_name): Use gdb_py_longest and | |
6955 | GDB_PY_LL_ARG. | |
6956 | * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New | |
6957 | macros. | |
6958 | (gdb_py_longest, gdb_py_ulongest): New typedefs. | |
6959 | (gdb_py_long_from_longest, gdb_py_long_from_ulongest) | |
6960 | (gdb_py_long_as_ulongest): New defines. | |
6961 | (gdb_py_object_from_longest, gdb_py_object_from_ulongest) | |
6962 | (gdb_py_int_as_long): Declare. | |
6963 | * python/py-value.c (valpy_lazy_string): Use gdb_py_longest, | |
6964 | GDB_PY_LL_ARG, gdb_py_object_from_longest. | |
6965 | (valpy_long): Add comment. | |
6966 | * python/py-utils.c (get_addr_from_python): Use | |
6967 | gdb_py_long_as_ulongest. Handle overflow properly. | |
6968 | (gdb_py_object_from_longest): New function. | |
6969 | (gdb_py_object_from_ulongest): Likewise. | |
6970 | (gdb_py_int_as_long): Likewise. | |
6971 | * python/py-type.c (typy_array): Use gdb_py_int_as_long. | |
6972 | * python/py-symtab.c (salpy_get_pc): Use | |
6973 | gdb_py_long_from_ulongest. | |
6974 | (salpy_get_line): Use PyInt_FromLong. | |
6975 | * python/py-param.c (set_parameter_value): Use | |
6976 | gdb_py_int_as_long. | |
6977 | * python/py-lazy-string.c (stpy_get_address): Use | |
6978 | gdb_py_long_from_ulongest. | |
6979 | * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest. | |
6980 | * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long. | |
6981 | * python/py-breakpoint.c (bppy_set_thread): Use | |
6982 | gdb_py_int_as_long. | |
6983 | (bppy_set_task): Likewise. | |
6984 | (bppy_set_ignore_count): Likewise. | |
6985 | (bppy_set_hit_count): Likewise. | |
6986 | * python/py-block.c (blpy_get_start): Use | |
6987 | gdb_py_object_from_ulongest. | |
6988 | (blpy_get_end): Likewise. | |
6989 | (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG. | |
6990 | ||
e4f6d2ec TJB |
6991 | 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr> |
6992 | ||
6993 | PR/symtab 11766: | |
6994 | * gdb/objfiles.h (struct objfile) <addr_low>: New field. | |
6995 | * gdb/solib.c (solib_read_symbols): Check for addr_low in | |
6996 | equality test for objfile, initialize addr_low if needed. | |
6997 | ||
b30aa278 PA |
6998 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
6999 | ||
7000 | * tui/tui-regs.c (tui_register_format): Remove dead code. | |
7001 | ||
ab2188aa PA |
7002 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7003 | ||
7004 | * printcmd.c (print_formatted): Use val_print_scalar_formatted | |
7005 | instead of print_scalar_formatted. | |
7006 | (print_scalar_formatted): Don't handle 's' format strings here, | |
7007 | and add an assertion that we never see such format here. | |
7008 | * valprint.h (val_print_scalar_formatted): Declare. | |
7009 | * valprint.c (val_print_scalar_formatted): New. | |
7010 | * c-valprint.c (c_val_print): Use val_print_scalar_formatted | |
7011 | instead of print_scalar_formatted. | |
7012 | * jv-valprint.c (java_val_print): Ditto. | |
7013 | * p-valprint.c (pascal_val_print): Ditto. | |
7014 | * ada-valprint.c (ada_val_print_1): Ditto. | |
7015 | * f-valprint.c (f_val_print): Ditto. | |
7016 | * infcmd.c (registers_info): Ditto. | |
7017 | * m2-valprint.c (m2_val_print): Ditto. | |
7018 | ||
66d61a4c PA |
7019 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7020 | ||
7021 | * m2-valprint.c (print_unbounded_array): Pass | |
7022 | value_contents_for_printing rather than value_contents, to | |
7023 | m2_print_array_contents. Also pass in the value. | |
7024 | ||
831adc1f JK |
7025 | 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
7026 | ||
7027 | * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index) | |
7028 | (save_gdb_index_command): Switch to .gdb_index version 4. | |
7029 | ||
20622269 PA |
7030 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7031 | ||
7032 | * mi/mi-main.c (get_register): Use get_frame_register_value rather | |
7033 | than frame_register, and always pass a valid value to val_print. | |
7034 | ||
585fdaa1 PA |
7035 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7036 | ||
7037 | Centralize printing "<optimized out>". | |
7038 | ||
7039 | * valprint.h (val_print_optimized_out): Declare. | |
7040 | * cp-valprint.c (cp_print_value_fields): Use | |
7041 | val_print_optimized_out. | |
7042 | * jv-valprint.c (java_print_value_fields): Ditto. | |
7043 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
7044 | * printcmd.c (print_formatted): Ditto. | |
7045 | * valprint.c (valprint_check_validity): Ditto. | |
7046 | (value_check_printable): Ditto. | |
7047 | (val_print_optimized_out): New. | |
7048 | ||
29ec5263 PA |
7049 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7050 | ||
7051 | * infcmd.c (default_print_registers_info): Allocate values so to | |
7052 | never pass a NULL value to val_print. | |
7053 | ||
de4127a3 PA |
7054 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7055 | ||
7056 | * cp-valprint.c (cp_print_value): Treat the 'skip' local as | |
7057 | boolean. Make sure to always pass a value that matches the | |
7058 | contents buffer to callees. Preserve `address' for following | |
7059 | iterations. | |
7060 | * value.c (value_contents_for_printing_const): New. | |
7061 | (value_address): Constify value argument. | |
7062 | * value.h (value_contents_for_printing_const): Declare. | |
7063 | (value_address): Constify value argument. | |
7064 | ||
ee99023e PA |
7065 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7066 | ||
7067 | * regcache.c (struct regcache_descr): Rename | |
7068 | sizeof_raw_register_valid_p field to sizeof_raw_register_status, | |
7069 | and sizeof_cooked_register_valid_p to | |
7070 | sizeof_cooked_register_status. | |
7071 | (init_regcache_descr): Adjust. | |
7072 | (struct regcache): Rename register_valid_p field to | |
7073 | register_status. | |
7074 | (regcache_xmalloc_1, regcache_xfree, regcache_save) | |
7075 | (do_cooked_read): Adjust. | |
7076 | (regcache_valid_p): Rename to ... | |
7077 | (regcache_register_status): ... this. Adjust. | |
7078 | (regcache_invalidate): Adjust. | |
7079 | (regcache_raw_read, regcache_cooked_read, regcache_raw_write): | |
7080 | Adjust. | |
7081 | (regcache_raw_supply): Adjust. If buf i NULL, mark the register | |
7082 | as unavailable, not valid. | |
7083 | (regcache_dump): Adjust. | |
7084 | * regcache.h (enum register_status): New. | |
7085 | (regcache_register_status): Declare. | |
7086 | (regcache_invalidate): Delete declaration. | |
7087 | * corelow.c (get_core_registers): Adjust. | |
7088 | * tracepoint.c (tfile_fetch_registers): Adjust. | |
7089 | * trad-frame.c (REG_VALUE): Rename to ... | |
7090 | (TF_REG_VALUE): ... this. | |
7091 | (REG_UNKNOWN): Rename to ... | |
7092 | (TF_REG_UNKNOWN): ... this. | |
7093 | (trad_frame_set_value, trad_frame_set_unknown): Adjust. | |
7094 | * mi/mi-main.c (register_changed_p): Adjust. | |
7095 | ||
99e42fd8 PA |
7096 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7097 | ||
7098 | * regcache.c (struct regcache_descr): Remove outdated comment. | |
7099 | (init_regcache_descr): Remove sizeof_raw_register_valid_p | |
7100 | overallocate hack. | |
7101 | (regcache_xmalloc): Rename to ... | |
7102 | (regcache_xmalloc_1): ... this. Add `readonly_p' parameter. | |
7103 | Allocate the regcache type accordingly. | |
7104 | (regcache_xmalloc): New as wrapper around regcache_xmalloc_1. | |
7105 | (regcache_xfree): Asser the source is also readonly. Copy sizeof | |
7106 | cooked registers, not raw. | |
7107 | (regcache_dup_no_passthrough): Delete. | |
7108 | (get_thread_arch_regcache): Use regcache_xmalloc_1. | |
7109 | * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not | |
7110 | mention obsolete write_register_bytes. | |
7111 | * regcache.h (regcache_dup_no_passthrough): Delete declaration. | |
7112 | ||
f7605bc2 PA |
7113 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7114 | ||
7115 | Stop remote_read_bytes from handling partial reads itself. | |
7116 | ||
7117 | * remote-fileio.c: Include target.h. | |
7118 | (remote_fileio_write_bytes): Delete. | |
7119 | (remote_fileio_func_open, remote_fileio_func_write) | |
7120 | (remote_fileio_func_rename, remote_fileio_func_unlink): Use | |
7121 | target_read_memory. | |
7122 | (remote_fileio_func_stat): Use target_read_memory and | |
7123 | target_write_memory. | |
7124 | (remote_fileio_func_gettimeofday): Use target_write_memory. | |
7125 | (remote_fileio_func_system): Use target_read_memory. | |
7126 | * remote.c (remote_write_bytes): Make it static. | |
7127 | (remote_read_bytes): Don't handle partial reads here. | |
7128 | * remote.h (remote_read_bytes): Delete declaration. | |
7129 | ||
efc0eabd PA |
7130 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7131 | ||
7132 | Simplify XML parsing a bit. | |
7133 | ||
7134 | * xml-support.h (gdb_xml_parse_quick): Declare. | |
7135 | * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed | |
7136 | from gdb_xml_create_parser_and_cleanup, and added `old_chain' | |
7137 | parameter. | |
7138 | (gdb_xml_create_parser_and_cleanup): Reimplement on top of | |
7139 | gdb_xml_create_parser_and_cleanup_1. | |
7140 | (gdb_xml_parse_quick): New. | |
7141 | * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick. | |
7142 | * osdata.c (osdata_parse): Ditto. | |
7143 | * remote.c (remote_threads_info): Ditto. | |
7144 | * solib-target.c (solib_target_parse_libraries): Ditto. | |
7145 | * xml-syscall.c (syscall_parse_xml): Ditto. | |
7146 | * xml-tdesc.c (tdesc_parse_xml): Ditto. | |
7147 | ||
314d366a KB |
7148 | 2011-01-24 Kevin Buettner <kevinb@redhat.com> |
7149 | ||
7150 | * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but | |
7151 | with remote-mips.o added to gdb_target_obs. | |
7152 | * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o. | |
7153 | ||
a491d753 PA |
7154 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
7155 | ||
7156 | * ada-valprint.c (val_print_packed_array_elements): Pass the | |
7157 | correct struct value to val_print. | |
7158 | (ada_val_print_1): Ditto. | |
7159 | ||
490f124f PA |
7160 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
7161 | ||
7162 | Don't lose embedded_offset in printing routines throughout. | |
7163 | ||
7164 | * valprint.h (val_print_array_elements): Change prototype. | |
7165 | * valprint.c (val_print_array_elements): Add `embedded_offset' | |
7166 | parameter, and adjust to pass it down to val_print, while passing | |
7167 | `valaddr' or `address' unmodified. Take embedded_offset into | |
7168 | account when checking repetitions. | |
7169 | * c-valprint.c (c_val_print): Pass embedded_offset to | |
7170 | val_print_array_elements instead of adjusting `valaddr' and | |
7171 | `address'. | |
7172 | * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass | |
7173 | embedded_offset to val_print_array_elements instead of adjusting | |
7174 | `valaddr'. | |
7175 | * p-lang.h (pascal_object_print_value_fields): Adjust prototype. | |
7176 | * p-valprint.c (pascal_val_print): Pass embedded_offset to | |
7177 | val_print_array_elements and pascal_object_print_value_fields | |
7178 | instead of adjusting `valaddr'. | |
7179 | (pascal_object_print_value_fields): Add `offset' parameter, and | |
7180 | adjust to use it. | |
7181 | (pascal_object_print_value): Add `offset' parameter, and adjust to | |
7182 | use it. | |
7183 | (pascal_object_print_static_field): Use | |
7184 | value_contents_for_printing/value_embedded_offset, rather than | |
7185 | value_contents. | |
7186 | * ada-valprint.c (val_print_packed_array_elements): Add `offset' | |
7187 | parameter, and adjust to use it. Use | |
7188 | value_contents_for_printing/value_embedded_offset, rather than | |
7189 | value_contents. | |
7190 | (ada_val_print): Rename `valaddr0' parameter to `valaddr'. | |
7191 | (ada_val_print_array): Add `offset' parameter, and adjust to use | |
7192 | it. | |
7193 | (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and | |
7194 | `embedded_offset' to `offset'. Don't re-adjust `valaddr'. | |
7195 | Instead work with offsets. Use | |
7196 | value_contents_for_printing/value_embedded_offset, rather than | |
7197 | value_contents. Change `defer_val_int' local type to CORE_ADDR, | |
7198 | and use value_from_pointer to extract a target pointer, rather | |
7199 | than value_from_longest. | |
7200 | (print_variant_part): Add `offset' parameter. Replace | |
7201 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
7202 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
7203 | (ada_value_print): Use | |
7204 | value_contents_for_printing/value_embedded_offset, rather than | |
7205 | value_contents. | |
7206 | (print_record): Add `offset' parameter, and adjust to pass it | |
7207 | down. | |
7208 | (print_field_values): Add `offset' parameter. Replace | |
7209 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
7210 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
7211 | Use value_contents_for_printing/value_embedded_offset, rather than | |
7212 | value_contents. | |
7213 | * d-valprint.c (dynamic_array_type): Use | |
7214 | value_contents_for_printing/value_embedded_offset, rather than | |
7215 | value_contents. | |
7216 | * jv-valprint.c (java_print_value_fields): Add `offset' parameter. | |
7217 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
7218 | (java_print_value_fields): Take `offset' into account. Don't | |
7219 | re-adjust `valaddr'. Instead pass down adjusted offsets. | |
7220 | (java_val_print): Take `embedded_offset' into account. Pass it to | |
7221 | java_print_value_fields. | |
7222 | * f-valprint.c (f77_print_array_1): Add `embedded_offset' | |
7223 | parameter. Don't re-adjust `valaddr' or `address'. Instead pass | |
7224 | down adjusted offsets. | |
7225 | (f77_print_array): Add `embedded_offset' parameter. Pass it down. | |
7226 | (f_val_print): Take `embedded_offset' into account. | |
7227 | ||
7bfc9434 JB |
7228 | 2011-01-21 Joel Brobecker <brobecker@adacore.com> |
7229 | ||
7230 | * inflow.c: Include "gdbcmd.h". | |
7231 | (interactive_mode): New static global, moved here from top.c. | |
7232 | (show_interactive_mode): New function, moved here from top.c. | |
7233 | use gdb_has_a_terminal instead of input_from_terminal_p to | |
7234 | determine the current mode. | |
7235 | (gdb_has_a_terminal): Add handling of the "iteractive-mode" | |
7236 | setting. | |
7237 | (_initialize_inflow): Add the "set/show interactive-mode" | |
7238 | commands. Moved here from top.c, after having adjusted slightly | |
7239 | the help text. | |
7240 | * top.c (interactive_mode, show_interactive_mode): Delete, moved | |
7241 | to inflow.c. | |
7242 | (input_from_terminal_p): Remove handling of "interactive-mode" | |
7243 | setting, moved to infow.c. | |
7244 | (init_main): Remove creation of the "set/show interactive-mode" | |
7245 | commands, moved to inflow.c. | |
7246 | ||
44603653 JB |
7247 | 2011-01-19 Joel Brobecker <brobecker@adacore.com> |
7248 | ||
7249 | * NEWS: Add entry for native ia64-hpux support. | |
7250 | ||
4694da01 TT |
7251 | 2011-01-19 Tom Tromey <tromey@redhat.com> |
7252 | ||
7253 | PR mi/8618: | |
7254 | * thread.c (free_thread): Free 'name'. | |
7255 | (print_thread_info): Emit thread name. Change CLI output. | |
7256 | (thread_name_command): New function. | |
7257 | (do_captured_thread_select): Emit newline. | |
7258 | (_initialize_thread): Register 'thread name' command. | |
7259 | * target.h (struct target_ops) <to_thread_name>: New field. | |
7260 | (target_thread_name): New macro. | |
7261 | * target.c (update_current_target): Handle to_thread_name. | |
7262 | * python/py-infthread.c (thpy_get_name): New function. | |
7263 | (thpy_set_name): Likewise. | |
7264 | (thread_object_getset): Add "name". | |
7265 | * linux-nat.c (linux_nat_thread_name): New function. | |
7266 | (linux_nat_add_target): Set to_thread_name. | |
7267 | * gdbthread.h (struct thread_info) <name>: New field. | |
7268 | ||
10d44370 JB |
7269 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
7270 | ||
7271 | * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast. | |
7272 | (ada_val_print_1): Likewise. | |
7273 | ||
e3acb115 JB |
7274 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
7275 | ||
7276 | * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue | |
7277 | upper limit address is not greater than the function end address | |
7278 | when the upper limit could not be computed using the debugging | |
7279 | info. | |
7280 | ||
dc92e161 TT |
7281 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
7282 | ||
7283 | * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use | |
7284 | get_regcomp_error. | |
7285 | * utils.c: Include gdb_regex.h. | |
7286 | (do_regfree_cleanup): New function. | |
7287 | (make_regfree_cleanup): Likewise. | |
7288 | (get_regcomp_error): Likewise. | |
7289 | * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare. | |
7290 | ||
f55af66d TT |
7291 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
7292 | ||
7293 | * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call | |
7294 | re_compile_fastmap. | |
7295 | ||
a5a44b53 PM |
7296 | 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr> |
7297 | ||
7298 | * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE | |
7299 | for internal variables. | |
7300 | (last_was_structop): New static variable. | |
7301 | (COMPLETE): New token. | |
7302 | (field_exp): New rule to group all '.' suffix handling. | |
7303 | Add mark_struct_expression calls when approriate to be able | |
7304 | to correctly find fields for completion. | |
7305 | (yylex): Adapt to handle field completion and set INTVAR when | |
7306 | required. | |
7307 | ||
2c291032 YQ |
7308 | 2011-01-14 Yao Qi <yao@codesourcery.com> |
7309 | ||
7310 | * arm-tdep.c (arm_register_reggroup_p): FPS register is in | |
7311 | save_reggroup, restore_reggroup and all_reggroup. | |
7312 | ||
447b483c JB |
7313 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
7314 | ||
7315 | * ada-valprint. (ada_printchar): Use the correct type length | |
7316 | in call to ada_emit_char. | |
7317 | * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR. | |
7318 | ||
7b64a93b PM |
7319 | 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr> |
7320 | ||
7321 | * solib-som.h (hpux_major_release): Declare variable here. | |
7322 | * solib-som.c: Remove <sys/utsname.h> header. | |
7323 | (DEFAULT_HPUX_MAJOR_RELEASE): New macro. | |
7324 | (hpux_major_release): Make global, change default value to | |
7325 | DEFAULT_HPUX_MAJOR_RELEASE. | |
f2eb0bc8 | 7326 | (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE. |
7b64a93b PM |
7327 | * hppa-hpux-nat.c: Add <sys/utsname.h> include. |
7328 | Add "solib-som.h" header. | |
7329 | (set_hpux_major_release): New function. | |
7330 | (_initialize_hppa_hpux_nat): Call set_hpux_major_release. | |
7331 | ||
4e18c053 MF |
7332 | 2011-01-14 Mike Frysinger <vapier@gentoo.org> |
7333 | ||
7334 | * configure.tgt (*-*-uclinux*): Match more Linux os targets | |
7335 | ||
a9df6b22 JB |
7336 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
7337 | ||
7338 | * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing | |
7339 | new-line at end of warning message. | |
7340 | (ia64_hpux_store_register): Remove trailing new-line at end of | |
7341 | error message. | |
7342 | * ia64-hpux-tdep.c: Rephrase comment. | |
7343 | * solib-ia64-hpux.c (struct dld_info): Change type of field | |
7344 | dld_flags from "long long" to ULONGEST. | |
7345 | ||
ecb956dd PA |
7346 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
7347 | ||
7348 | * target.h (deprecated_child_ops): Delete declaration. | |
7349 | * target.c (deprecated_child_ops): Delete definition. | |
7350 | ||
76adfcae PA |
7351 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
7352 | ||
7353 | * Makefile.in (hpux-thread.o): Delete rule. | |
7354 | * configure.ac: Don't check for HPUX DCE threads support. | |
7355 | * configure, config.in: Regenerate. | |
7356 | * hppa-hpux-nat.c (child_suppress_run): Delete. | |
7357 | (hppa_hpux_child_can_run): Delete. | |
7358 | (_initialize_hppa_hpux_nat): Don't override to_can_run. | |
7359 | * hpux-thread.c: Delete. | |
7360 | ||
042e866e JB |
7361 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7362 | ||
7363 | * hpux-thread.c (hpux_pid_to_str): Delete. | |
7364 | ||
4ffa5a33 JB |
7365 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7366 | ||
7367 | * ada-valprint.c (ada_emit_char): Remove strange code. | |
7368 | Check that c is <= UCHAR_MAX before passing it to isascii. | |
7369 | (char_at): Do not assume that TYPE_LEN is either 1 or 2. | |
7370 | ||
de8fa76c JB |
7371 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7372 | ||
7373 | * top.c (input_from_terminal_p): Restrict the use of interactive_mode | |
7374 | to the case where instream is stdin. | |
7375 | ||
c4de7027 JB |
7376 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7377 | ||
7378 | * ia64-tdep.h (struct regcache): Forward declare. | |
7379 | (struct ia64_infcall_ops): New struct type. | |
7380 | (struct gdbarch_tdep): New fields "find_global_pointer_from_solib" | |
7381 | and "infcall_ops". | |
7382 | * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section): | |
7383 | Renames ia64_find_global_pointer. | |
7384 | (ia64_find_global_pointer, ia64_allocate_new_rse_frame) | |
7385 | (ia64_store_argument_in_slot, ia64_set_function_addr: New function. | |
7386 | (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops | |
7387 | methods. | |
7388 | (ia64_infcall_ops): New static global constant. | |
7389 | (ia64_gdbarch_init): Set tdep->infcall_ops. | |
7390 | * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function. | |
7391 | (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing. | |
7392 | * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h". | |
7393 | (ia64_hpux_dummy_code): New static global constant. | |
7394 | (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame) | |
7395 | (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr) | |
7396 | (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib): | |
7397 | New function. | |
7398 | (ia64_hpux_infcall_ops): New static global constant. | |
7399 | (ia64_hpux_init_abi): Install gdbarch and tdep methods needed | |
7400 | for inferior function calls to work properly on ia64-hpux. | |
7401 | ||
77ca787b JB |
7402 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7403 | ||
7404 | * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS. | |
7405 | * ia64-tdep.h (struct frame_info): forward declaration. | |
7406 | (struct gdbarch_tdep): Add field size_of_register_frame. | |
7407 | * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame | |
7408 | to determine the size of the register frame. | |
7409 | (ia64_size_of_register_frame): New function. | |
7410 | (ia64_gdbarch_init): Set tdep->size_of_register_frame. | |
7411 | * ia64-hpux-tdep.c: Include "target.h" and "frame.h". | |
7412 | (IA64_HPUX_UREG_REASON): New macro. | |
7413 | (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame): | |
7414 | New functions. | |
7415 | (ia64_hpux_init_abi): Set tdep->size_of_register_frame. | |
7416 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function. | |
7417 | (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS | |
7418 | objects. | |
7419 | ||
92c9a463 JB |
7420 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7421 | ||
7422 | Add support for ia64-hpux. | |
7423 | * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c, | |
7424 | ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files. | |
7425 | ||
7426 | * configure.host: Add handling for ia64-hpux hosts. Add associated | |
7427 | floatformats. | |
7428 | * configure.tgt: Add handling for ia64-hpux targets. | |
7429 | * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o. | |
7430 | (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h. | |
7431 | (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c. | |
7432 | ||
f688d93f JB |
7433 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7434 | ||
7435 | [ttrace] Compute thread list immediately after attach. | |
7436 | * inf_ttrace_attach (inf_ttrace_create_threads_after_attach): | |
7437 | New subprogram. | |
7438 | (inf_ttrace_attach): Use it. | |
7439 | ||
1b89e62f JB |
7440 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7441 | ||
7442 | * libunwind-frame.c (libunwind_frame_cache): Do not return NULL | |
7443 | if we could not determine the frame's function address. Instead, | |
7444 | use the frame's PC, and then continue. | |
7445 | ||
3e5e6e2a JB |
7446 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7447 | ||
7448 | * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if | |
7449 | not already defined. | |
7450 | ||
825d6d8a JB |
7451 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7452 | ||
7453 | * ia64-tdep.c (ia64_struct_type_p): New function. | |
7454 | (ia64_extract_return_value): Handle integral values that are | |
7455 | less than 8 bytes long. | |
7456 | (ia64_push_dummy_call): Likewise. | |
7457 | ||
7458e667 JB |
7458 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7459 | ||
7460 | * ia64-tdep.c (floatformat_ia64_ext_little): Renames | |
7461 | floatformat_ia64_ext. | |
7462 | (floatformat_ia64_ext_big): New static const. | |
7463 | (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big. | |
7464 | ||
1b05df00 TT |
7465 | 2011-01-12 Tom Tromey <tromey@redhat.com> |
7466 | ||
7467 | * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error | |
7468 | messages. | |
7469 | * mi/mi-main.c (mi_cmd_thread_select): Fix error messages. | |
7470 | (mi_cmd_thread_list_ids): Likewise. | |
7471 | (mi_cmd_data_list_changed_registers): Likewise. | |
7472 | (mi_cmd_data_list_register_values): Likewise. | |
7473 | (mi_cmd_data_write_register_values): Likewise. | |
7474 | (mi_cmd_data_evaluate_expression): Likewise. | |
7475 | (mi_cmd_data_read_memory): Likewise. | |
7476 | (mi_cmd_data_read_memory_bytes): Likewise. | |
7477 | (mi_cmd_data_write_memory): Likewise. | |
7478 | (mi_cmd_enable_timings): Likewise. | |
7479 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages. | |
7480 | * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages. | |
7481 | (mi_cmd_var_delete): Likewise. | |
7482 | (mi_cmd_var_set_format): Likewise. | |
7483 | (mi_cmd_var_show_format): Likewise. | |
7484 | (mi_cmd_var_info_num_children): Likewise. | |
7485 | (mi_cmd_var_list_children): Likewise. | |
7486 | (mi_cmd_var_info_type): Likewise. | |
7487 | (mi_cmd_var_info_expression): Likewise. | |
7488 | (mi_cmd_var_show_attributes): Likewise. | |
7489 | (mi_cmd_var_assign): Likewise. | |
7490 | (mi_cmd_var_update): Likewise. | |
7491 | (mi_cmd_enable_pretty_printing): Likewise. | |
7492 | (mi_cmd_var_set_update_range): Likewise. | |
7493 | * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error | |
7494 | messages. | |
7495 | (mi_cmd_target_file_put): Likewise. | |
7496 | (mi_cmd_target_file_delete): Likewise. | |
7497 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error | |
7498 | messages. | |
7499 | (mi_cmd_stack_info_depth): Likewise. | |
7500 | (mi_cmd_stack_list_locals): Likewise. | |
7501 | (mi_cmd_stack_list_args): Likewise. | |
7502 | (mi_cmd_stack_select_frame): Likewise. | |
7503 | (mi_cmd_stack_select_frame): Likewise. | |
7504 | (mi_cmd_stack_info_frame): Likewise. | |
7505 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error | |
7506 | messages. | |
7507 | (mi_cmd_file_list_exec_source_files): Likewise. | |
7508 | * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages. | |
7509 | (mi_cmd_env_cd): Likewise. | |
7510 | (mi_cmd_env_path): Likewise. | |
7511 | (mi_cmd_env_dir): Likewise. | |
7512 | (mi_cmd_inferior_tty_show): Likewise. | |
7513 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages. | |
7514 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages. | |
7515 | (mi_cmd_break_watch): Likewise. | |
7516 | ||
ad422571 TJB |
7517 | 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com> |
7518 | ||
7519 | * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace. | |
7520 | (ppc_linux_insert_hw_breakpoint): Likewise. | |
7521 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
7522 | (ppc_linux_insert_watchpoint): Likewise. | |
7523 | ||
c2ff108b JK |
7524 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
7525 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
7526 | ||
7527 | PR fortran/11104 and DWARF unbound arrays detection. | |
7528 | * dwarf2read.c (read_subrange_type): Set zero length on unspecified | |
7529 | upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on | |
7530 | unspecified upper bound. | |
7531 | * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove | |
7532 | variables array_size_array, tmp_type and offset_item. New variable | |
7533 | array. Remove call to f77_get_upperbound. New variables array_type | |
7534 | and index. Call value_subscripted_rvalue for each dimenasion. Remove | |
7535 | the final call to deprecated_set_value_type. | |
7536 | ||
41e8491f JK |
7537 | 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
7538 | ||
7539 | Make value allocations more lazy. | |
7540 | * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy | |
7541 | instead of allocate_value and set_value_lazy when possible. | |
f2eb0bc8 | 7542 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy |
41e8491f JK |
7543 | instead of allocate_value and set_value_lazy. |
7544 | * findvar.c (value_of_register_lazy): Likewise. | |
7545 | (read_var_value): Remove V preallocation, call just check_typedef in | |
f2eb0bc8 | 7546 | advance. Move allocate_value to LOC_CONST, LOC_LABEL, |
41e8491f JK |
7547 | LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG, |
7548 | LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of | |
7549 | set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and | |
7550 | remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy | |
7551 | in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at | |
7552 | the end, remove set_value_lazy there. | |
7553 | * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy | |
7554 | instead of allocate_value and set_value_lazy when possible. | |
7555 | * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL. | |
7556 | * value.c (allocate_computed_value): Use allocate_value_lazy instead | |
7557 | of allocate_value and set_value_lazy. | |
7558 | (value_from_contents_and_address): Use allocate_value_lazy instead of | |
7559 | allocate_value and set_value_lazy when possible. | |
7560 | ||
b716877b AB |
7561 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
7562 | ||
7563 | * disasm.c (dump_insns): Support dumping opcodes for MI. | |
7564 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control | |
7565 | dumping of instruction opcodes. | |
7566 | ||
d5ae309f JB |
7567 | 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch) |
7568 | ||
7569 | * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' | |
7570 | appropiately. | |
7571 | ||
98871305 TT |
7572 | 2011-01-11 Tom Tromey <tromey@redhat.com> |
7573 | ||
7574 | * thread.c (do_captured_thread_select): Emit newline before | |
7575 | printing frame. | |
7576 | ||
c378eb4e MS |
7577 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
7578 | ||
7579 | * s390-tdep.c: Comment cleanup, mostly periods and spaces. | |
7580 | * score-tdep.c: Ditto. | |
7581 | * score-tdep.h: Ditto. | |
7582 | * ser-base.c: Ditto. | |
7583 | * ser-go32.c: Ditto. | |
7584 | * serial.c: Ditto. | |
7585 | * serial.h: Ditto. | |
7586 | * ser-mingw.c: Ditto. | |
7587 | * ser-pipe.c: Ditto. | |
7588 | * ser-tcp.c: Ditto. | |
7589 | * ser-unix.c: Ditto. | |
7590 | * sh64-tdep.c: Ditto. | |
7591 | * shnbsd-nat.c: Ditto. | |
7592 | * sh-tdep.c: Ditto. | |
7593 | * sh-tdep.h: Ditto. | |
7594 | * solib.c: Ditto. | |
7595 | * solib-darwin.c: Ditto. | |
7596 | * solib-frv.c: Ditto. | |
7597 | * solib.h: Ditto. | |
7598 | * solib-irix.c: Ditto. | |
7599 | * solib-osf.c: Ditto. | |
7600 | * solib-pa64.c: Ditto. | |
7601 | * solib-som.c: Ditto. | |
7602 | * solib-spu.c: Ditto. | |
7603 | * solib-sunos.c: Ditto. | |
7604 | * solib-svr4.c: Ditto. | |
7605 | * solist.h: Ditto. | |
7606 | * sol-thread.c: Ditto. | |
7607 | * somread.c: Ditto. | |
7608 | * source.c: Ditto. | |
7609 | * source.h: Ditto. | |
7610 | * sparc64-linux-tdep.c: Ditto. | |
7611 | * sparc64-tdep.c: Ditto. | |
7612 | * sparc-linux-nat.c: Ditto. | |
7613 | * sparc-linux-tdep.c: Ditto. | |
7614 | * sparc-sol2-nat.c: Ditto. | |
7615 | * sparc-sol2-tdep.c: Ditto. | |
7616 | * sparc-tdep.c: Ditto. | |
7617 | * sparc-tdep.h: Ditto. | |
7618 | * spu-tdep.c: Ditto. | |
7619 | * stabsread.c: Ditto. | |
7620 | * stabsread.h: Ditto. | |
7621 | * stack.c: Ditto. | |
7622 | * symfile.c: Ditto. | |
7623 | * symfile.h: Ditto. | |
7624 | * symmisc.c: Ditto. | |
7625 | * symtab.c: Ditto. | |
7626 | * symtab.h: Ditto. | |
7627 | * target.c: Ditto. | |
7628 | * target-descriptions.c: Ditto. | |
7629 | * target-descriptions.h: Ditto. | |
7630 | * target.h: Ditto. | |
7631 | * target-memory.c: Ditto. | |
7632 | * terminal.h: Ditto. | |
7633 | * thread.c: Ditto. | |
7634 | * top.c: Ditto. | |
7635 | * tracepoint.c: Ditto. | |
7636 | * tracepoint.h: Ditto. | |
7637 | * trad-frame.h: Ditto. | |
7638 | * typeprint.c: Ditto. | |
7639 | ||
581e13c1 MS |
7640 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
7641 | ||
7642 | * ui-file.c: Comment cleanup, mostly periods and spaces. | |
7643 | * ui-file.h: Ditto. | |
7644 | * ui-out.c: Ditto. | |
7645 | * ui-out.h: Ditto. | |
7646 | * utils.c: Ditto. | |
7647 | * v850-tdep.c: Ditto. | |
7648 | * valarith.c: Ditto. | |
7649 | * valops.c: Ditto. | |
7650 | * valprint.c: Ditto. | |
7651 | * valprint.h: Ditto. | |
7652 | * value.c: Ditto. | |
7653 | * value.h: Ditto. | |
7654 | * varobj.c: Ditto. | |
7655 | * varobj.h: Ditto. | |
7656 | * vax-tdep.c: Ditto. | |
7657 | * vec.c: Ditto. | |
7658 | * vec.h: Ditto. | |
7659 | * version.h: Ditto. | |
7660 | * windows-nat.c: Ditto. | |
7661 | * windows-tdep.c: Ditto. | |
7662 | * xcoffread.c: Ditto. | |
7663 | * xcoffsolib.c: Ditto. | |
7664 | * xml-support.c: Ditto. | |
7665 | * xstormy16-tdep.c: Ditto. | |
7666 | * xtensa-tdep.c: Ditto. | |
7667 | * xtensa-tdep.h: Ditto. | |
7668 | ||
90e4670f TJB |
7669 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
7670 | ||
7671 | * breakpoint.c (resources_needed_watchpoint): Fix indentation. | |
7672 | * gdbtypes.c (is_scalar_type_recursive): Fix formatting. | |
7673 | ||
e09342b5 TJB |
7674 | 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> |
7675 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
7676 | ||
7677 | Implement support for PowerPC BookE ranged watchpoints. | |
f2eb0bc8 | 7678 | * breakpoint.h |
e09342b5 TJB |
7679 | (struct breakpoint_ops) <resources_needed>: New method. |
7680 | Initialize to NULL in all existing breakpoint_ops instances. | |
7681 | (struct breakpoint) <exact>: New field. | |
7682 | (target_exact_watchpoints): Declare external global. | |
7683 | * breakpoint.c (target_exact_watchpoints): New global flag. | |
7684 | (update_watchpoint): Set b->type to bp_hardware_watchpoint and | |
7685 | b->enable_state to bp_enabled before calling | |
7686 | hw_watchpoint_used_count. | |
7687 | (hw_watchpoint_used_count): Iterate over all bp_locations in a | |
7688 | watchpoint. Call breakpoint's breakpoint_ops.resources_needed | |
7689 | if available. | |
7690 | (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte | |
7691 | if the watchpoint is exact. | |
7692 | (resources_needed_watchpoint): New function. | |
7693 | (watchpoint_breakpoint_ops): Add resources_needed_watchpoint. | |
7694 | (watch_command_1): Set b->exact if the user asked for an exact | |
7695 | watchpoint and one can be set. | |
7696 | (can_use_hardware_watchpoint): Add exact_watchpoints argument. | |
7697 | Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if | |
7698 | the user asks for an exact watchpoint and one can be set. Return | |
7699 | number of needed debug registers to watch the expression. | |
7700 | * gdbtypes.c (is_scalar_type): New function, based on | |
7701 | valprint.c:scalar_type_p. | |
7702 | (is_scalar_type_recursive): New function. | |
7703 | * gdbtypes.h (is_scalar_type_recursive): Declare. | |
7704 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always | |
7705 | handle regions when ranged watchpoints are available. | |
7706 | (create_watchpoint_request): New function. | |
7707 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
7708 | create_watchpoint_request. | |
7709 | * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function. | |
7710 | (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the | |
7711 | `set powerpc' and `show powerpc' commands. | |
7712 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
7713 | Mention documentation comment in the target macro. | |
7714 | (target_region_ok_for_hw_watchpoint): Document return value. | |
7715 | ||
9fa40276 TJB |
7716 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
7717 | ||
7718 | * breakpoint.c (update_watchpoint): Decide on using a software or | |
7719 | hardware watchpoint after the bp_locations are created. | |
7720 | ||
77b06cd7 TJB |
7721 | 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
7722 | ||
7723 | Convert hardware watchpoints to use breakpoint_ops. | |
7724 | * breakpoint.h (breakpoint_ops) <insert>: Rename to... | |
7725 | <insert_location>: ... this. Return int instead of void. | |
7726 | Accept pointer to struct bp_location instead of pointer to | |
7727 | struct breakpoint. Adapt all implementations. | |
f2eb0bc8 | 7728 | (breakpoint_ops) <remove>: Rename to... |
77b06cd7 TJB |
7729 | <remove_location>: ... this. Accept pointer to struct bp_location |
7730 | instead of pointer to struct breakpoint. Adapt all implementations. | |
7731 | * breakpoint.c (insert_catchpoint): Delete function. | |
7732 | (insert_bp_location): Call the watchpoint or catchpoint's | |
7733 | breakpoint_ops.insert method. | |
7734 | (remove_breakpoint_1): Call the watchpoint or catchpoint's | |
7735 | breakpoint_ops.remove method. | |
7736 | (insert_watchpoint, remove_watchpoint): New functions. | |
7737 | (watchpoint_breakpoint_ops): New structure. | |
7738 | (watch_command_1): Initialize the OPS field. | |
7739 | * inf-child.c (inf_child_insert_fork_catchpoint) | |
7740 | (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint) | |
7741 | (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint) | |
7742 | (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint): | |
7743 | Delete functions. | |
7744 | (inf_child_target): Remove initialization of to_insert_fork_catchpoint, | |
7745 | to_remove_fork_catchpoint, to_insert_vfork_catchpoint, | |
7746 | to_remove_vfork_catchpoint, to_insert_exec_catchpoint, | |
7747 | to_remove_exec_catchpoint and to_set_syscall_catchpoint. | |
7748 | * target.c (update_current_target): Change default implementation of | |
7749 | to_insert_fork_catchpoint, to_remove_fork_catchpoint, | |
7750 | to_insert_vfork_catchpoint, to_remove_vfork_catchpoint, | |
7751 | to_insert_exec_catchpoint, to_remove_exec_catchpoint and | |
7752 | to_set_syscall_catchpoint to return_one. | |
7753 | (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint) | |
7754 | (debug_to_insert_exec_catchpoint): Report return value. | |
7755 | * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint) | |
7756 | (to_insert_exec_catchpoint): Change declaration to return int instead | |
7757 | of void. | |
7758 | ||
9b20d036 MS |
7759 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
7760 | ||
7761 | * arm-tdep.c: Internationalization. | |
7762 | * c-lang.c: Ditto. | |
7763 | * charset.c: Ditto. | |
7764 | * fork-child.c: Ditto. | |
7765 | * nto-procfs.c: Ditto. | |
7766 | * ppc-sysv-tdep.c: Ditto. | |
7767 | * procfs.c: Ditto. | |
7768 | * remote-mips.c: Ditto. | |
7769 | * remote.c: Ditto. | |
7770 | * rs6000-nat.c: Ditto. | |
7771 | * rs6000-tdep.c: Ditto. | |
7772 | * target.c: Ditto. | |
7773 | * valops.c: Ditto. | |
7774 | * value.c: Ditto. | |
7775 | * xml-support.c: Ditto. | |
7776 | * mi/mi-cmd-break.c: Ditto. | |
7777 | * mi/mi-cmd-var.c: Ditto. | |
7778 | * mi/mi-interp.c: Ditto. | |
7779 | * mi/mi-main.c: Ditto. | |
7780 | ||
dae477fe AB |
7781 | 2011-01-11 Andrew Burgess <aburgess@broadcom.com> |
7782 | ||
7783 | * remote-sim.c (gdbsim_store_register): Update API to | |
7784 | sim_store_register to check more error conditions. | |
7785 | ||
0df8b418 MS |
7786 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
7787 | ||
7788 | * nto-procfs.c: Comment cleanup, mostly periods and spaces. | |
7789 | * nto-tdep.c: Ditto. | |
7790 | * nto-tdep.h: Ditto. | |
7791 | * objc-exp.y: Ditto. | |
7792 | * objc-lang.c: Ditto. | |
7793 | * objfiles.c: Ditto. | |
7794 | * objfiles.h: Ditto. | |
7795 | * observer.c: Ditto. | |
7796 | * opencl-lang.c: Ditto. | |
7797 | * osabi.c: Ditto. | |
7798 | * parse.c: Ditto. | |
7799 | * parser-defs.h: Ditto. | |
7800 | * p-exp.y: Ditto. | |
7801 | * p-lang.c: Ditto. | |
7802 | * posix-hdep.c: Ditto. | |
7803 | * ppcbug-rom.c: Ditto. | |
7804 | * ppc-linux-nat.c: Ditto. | |
7805 | * ppc-linux-tdep.c: Ditto. | |
7806 | * ppc-linux-tdep.h: Ditto. | |
7807 | * ppcnbsd-tdep.c: Ditto. | |
7808 | * ppcobsd-tdep.c: Ditto. | |
7809 | * ppcobsd-tdep.h: Ditto. | |
7810 | * ppc-sysv-tdep.c: Ditto. | |
7811 | * ppc-tdep.h: Ditto. | |
7812 | * printcmd.c: Ditto. | |
7813 | * proc-abi.c: Ditto. | |
7814 | * proc-flags.c: Ditto. | |
7815 | * procfs.c: Ditto. | |
7816 | * proc-utils.h: Ditto. | |
7817 | * progspace.h: Ditto. | |
7818 | * prologue-value.c: Ditto. | |
7819 | * prologue-value.h: Ditto. | |
7820 | * psympriv.h: Ditto. | |
7821 | * psymtab.c: Ditto. | |
7822 | * p-typeprint.c: Ditto. | |
7823 | * p-valprint.c: Ditto. | |
7824 | * ravenscar-sparc-thread.c: Ditto. | |
7825 | * ravenscar-thread.c: Ditto. | |
7826 | * ravenscar-thread.h: Ditto. | |
7827 | * record.c: Ditto. | |
7828 | * regcache.c: Ditto. | |
7829 | * regcache.h: Ditto. | |
7830 | * remote.c: Ditto. | |
7831 | * remote-fileio.c: Ditto. | |
7832 | * remote-fileio.h: Ditto. | |
7833 | * remote.h: Ditto. | |
7834 | * remote-m32r-sdi.c: Ditto. | |
7835 | * remote-mips.c: Ditto. | |
7836 | * remote-sim.c: Ditto. | |
7837 | * rs6000-aix-tdep.c: Ditto. | |
7838 | * rs6000-nat.c: Ditto. | |
7839 | * rs6000-tdep.c: Ditto. | |
7840 | ||
0d7a18f7 MS |
7841 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
7842 | ||
7843 | * charset.c (validate): Internationalization. | |
7844 | * coffread.c (read_one_sym): Ditto. | |
7845 | * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto. | |
7846 | * h8300-tdep.c (H8300_extract_return_value): Ditto. | |
7847 | * inflow.c (new_tty): Ditto. | |
7848 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto. | |
7849 | * m32c-tdep.c (m32c_return_value): Ditto. | |
7850 | * mep-tdep.c (mep_store_return_value): Ditto. | |
7851 | * score-tdep.c (score7_fetch_insn): Ditto. | |
7852 | * ser-mingw.c (pipe_windows_open): Ditto. | |
7853 | * sh64-tdep.c (sh64_extract_return_value): Ditto. | |
7854 | * spu-tdep.c (spu_register_type): Ditto. | |
7855 | * tracepoint.c (trace_find_command): Ditto. | |
7856 | * valarith.c (value_pos): Ditto. | |
7857 | ||
9a153e0b JB |
7858 | 2011-01-10 Joel Brobecker <brobecker@adacore.com> |
7859 | ||
7860 | * ada-valprint.c (printstr): Minor comment reformatting. | |
7861 | ||
35ecd2d6 MS |
7862 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
7863 | ||
7864 | * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _ | |
7865 | markup. | |
7866 | ||
1777feb0 MS |
7867 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
7868 | ||
7869 | * h8300-tdep.c: Comment cleanup, mostly periods and spaces. | |
7870 | * hppa-hpux-tdep.c: Ditto. | |
7871 | * hppa-linux-nat.c: Ditto. | |
7872 | * hppa-linux-tdep.c: Ditto. | |
7873 | * hppanbsd-tdep.c: Ditto. | |
7874 | * hppa-tdep.c: Ditto. | |
7875 | * hppa-tdep.h: Ditto. | |
7876 | * hpux-thread.c: Ditto. | |
7877 | * i386-cygwin-tdep.c: Ditto. | |
7878 | * i386-darwin-nat.c: Ditto. | |
7879 | * i386gnu-nat.c: Ditto. | |
7880 | * i386-linux-nat.c: Ditto. | |
7881 | * i386-linux-tdep.c: Ditto. | |
7882 | * i386-nat.c: Ditto. | |
7883 | * i386-nat.h: Ditto. | |
7884 | * i386nbsd-tdep.c: Ditto. | |
7885 | * i386-sol2-nat.c: Ditto. | |
7886 | * i386-stub.c: Ditto. | |
7887 | * i386-tdep.c: Ditto. | |
7888 | * i386-tdep.h: Ditto. | |
7889 | * i387-tdep.c: Ditto. | |
7890 | * ia64-linux-nat.c: Ditto. | |
7891 | * ia64-linux-tdep.c: Ditto. | |
7892 | * ia64-tdep.c: Ditto. | |
7893 | * infcall.c: Ditto. | |
7894 | * infcall.h: Ditto. | |
7895 | * infcmd.c: Ditto. | |
7896 | * inferior.c: Ditto. | |
7897 | * inferior.h: Ditto. | |
7898 | * infloop.c: Ditto. | |
7899 | * inflow.c: Ditto. | |
7900 | * infrun.c: Ditto. | |
7901 | * interps.c: Ditto. | |
7902 | * interps.h: Ditto. | |
7903 | * iq2000-tdep.c: Ditto. | |
7904 | * irix5-nat.c: Ditto. | |
7905 | * jit.c: Ditto. | |
7906 | * jit.h: Ditto. | |
7907 | * jv-exp.y: Ditto. | |
7908 | * jv-lang.c: Ditto. | |
7909 | * jv-lang.h: Ditto. | |
7910 | * jv-typeprint.c: Ditto. | |
7911 | * jv-valprint.c: Ditto. | |
7912 | * language.c: Ditto. | |
7913 | * language.h: Ditto. | |
7914 | * linespec.c: Ditto. | |
7915 | * linux-fork.c: Ditto. | |
7916 | * linux-nat.c: Ditto. | |
7917 | * linux-thread-db.c: Ditto. | |
7918 | * lm32-tdep.c: Ditto. | |
7919 | ||
025bb325 MS |
7920 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
7921 | ||
7922 | * m2-exp.y: Comment cleanup, mostly periods and spaces. | |
7923 | * m2-lang.c: Ditto. | |
7924 | * m2-typeprint.c: Ditto. | |
7925 | * m2-valprint.c: Ditto. | |
7926 | * m32c-tdep.c: Ditto. | |
7927 | * m32r-linux-nat.c: Ditto. | |
7928 | * m32r-rom.c: Ditto. | |
7929 | * m32r-tdep.c: Ditto. | |
7930 | * m32r-tdep.h: Ditto. | |
7931 | * m68hc11-tdep.c: Ditto. | |
7932 | * m58klinux-nat.c: Ditto. | |
7933 | * m68k-tdep.c: Ditto. | |
7934 | * m88k-tdep.c: Ditto. | |
7935 | * m88k-tdep.h: Ditto. | |
7936 | * machoread.c: Ditto. | |
7937 | * macrocmd.c: Ditto. | |
7938 | * macroexp.c: Ditto. | |
7939 | * macrotab.c: Ditto. | |
7940 | * main.c: Ditto. | |
7941 | * maint.c: Ditto. | |
7942 | * mdebugread.c: Ditto. | |
7943 | * mdebugread.h: Ditto. | |
7944 | * memattr.c: Ditto. | |
7945 | * memattr.h: Ditto. | |
7946 | * memory-map.h: Ditto. | |
7947 | * mep-tdep.c: Ditto. | |
7948 | * microblaze-rom.c: Ditto. | |
7949 | * microblaze-tdep.c: Ditto. | |
7950 | * minsyms.c: Ditto. | |
7951 | * mips-irix-tdep.c: Ditto. | |
7952 | * mips-linux-nat.c: Ditto. | |
7953 | * mips-linux-tdep.c: Ditto. | |
7954 | * mips-linux-tdep.h: Ditto. | |
7955 | * mipsnbsd-nat.c: Ditto. | |
7956 | * mipsnbsd-tdep.c: Ditto. | |
7957 | * mipsread.c: Ditto. | |
7958 | * mips-tdep.c: Ditto. | |
7959 | * mips-tdep.h: Ditto. | |
7960 | * mn10300-linux-tdep.c: Ditto. | |
7961 | * mn10300-tdep.c: Ditto. | |
7962 | * mn10300-tdep.h: Ditto. | |
7963 | * monitor.c: Ditto. | |
7964 | * monitor.h: Ditto. | |
7965 | * moxie-tdep.c: Ditto. | |
7966 | * moxie-tdep.h: Ditto. | |
7967 | * mt-tdep.c: Ditto. | |
7968 | ||
1642781b MF |
7969 | 2011-01-08 Mike Frysinger <vapier@gentoo.org> |
7970 | ||
7971 | * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name. | |
7972 | ||
394b0adb JB |
7973 | 2011-01-08 Robert Millan <rmh@gnu.org> |
7974 | ||
7975 | * fbsd-nat.c (fbsd_find_memory_regions): Fix typo. | |
7976 | ||
b670013c MS |
7977 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
7978 | ||
7979 | * charset.c (_initialize_charset): Fix typo in string. | |
7980 | ||
a743e542 MS |
7981 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
7982 | ||
7983 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message | |
7984 | for i18n. | |
f2eb0bc8 | 7985 | * tui/tui-layout.c (tui_set_layout_for_display_command): |
a743e542 MS |
7986 | Split line so that operator goes to beginning of line. |
7987 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Move | |
7988 | assignment out of if statement. | |
7989 | ||
0963b4bd MS |
7990 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
7991 | ||
7992 | * ada-lang.c: Comment cleanup, mostly periods and spaces. | |
7993 | * ada-lang.h: Ditto. | |
7994 | * ada-tasks.c: Ditto. | |
7995 | * ada-valprint.c: Ditto. | |
7996 | * aix-threads.c: Ditto. | |
7997 | * alpha-linux-nat.c: Ditto. | |
7998 | * alpha-linux-tdep.c: Ditto. | |
7999 | * alpha-mdebug-tdep.c: Ditto. | |
8000 | * alpha-nat.c: Ditto. | |
8001 | * alpha-osf1-tdep.c: Ditto. | |
8002 | * alpha-tdep.c: Ditto. | |
8003 | * alphabsd-nat.c: Ditto. | |
8004 | * alphabsd-tdep.c: Ditto. | |
8005 | * amd64-darwin-tdep.c: Ditto. | |
8006 | * amd64-linux-nat.c: Ditto. | |
8007 | * amd64-linux-tdep.c: Ditto. | |
8008 | * amd64-sol2-tdep.c: Ditto. | |
8009 | * amd64-tdep.c: Ditto. | |
8010 | * amd64-fbsd-tdep.c: Ditto. | |
8011 | * amd64-nbsd-tdep.c: Ditto. | |
8012 | * amd64-obsd-tdep.c: Ditto. | |
8013 | * amd64-linux-nat.c: Ditto. | |
8014 | * amd64-linux-tdep.c: Ditto. | |
8015 | * arm-tdep.c: Ditto. | |
8016 | * arm-tdep.h: Ditto. | |
8017 | * armnbsd-nat.c: Ditto. | |
8018 | * avr-tdep.c: Ditto. | |
8019 | * bfin-tdep.c: Ditto. | |
8020 | * bsd-kvm.c: Ditto. | |
8021 | * c-typeprintc: Ditto. | |
8022 | * c-valprint.c: Ditto. | |
8023 | * coff-pe-read.h: Ditto. | |
8024 | * coffreead.c: Ditto. | |
8025 | * cris-tdep.c: Ditto. | |
8026 | * d-lang.c: Ditto. | |
8027 | * darwin-nat-info.c: Ditto. | |
8028 | * darwin-nat.c: Ditto. | |
8029 | * dbug-rom.c: Ditto. | |
8030 | * dbxread.c: Ditto. | |
8031 | * dcache.c: Ditto. | |
8032 | * dcache.h: Ditto. | |
8033 | * dec-thread.c: Ditto. | |
8034 | * defs.h: Ditto. | |
8035 | * demangle.c: Ditto. | |
8036 | * dicos-tdep.c: Ditto. | |
8037 | * dictionary.c: Ditto. | |
8038 | * dictionary.h: Ditto. | |
8039 | * dink32-rom.c: Ditto. | |
8040 | * disasm.c: Ditto. | |
8041 | * doublest.c: Ditto. | |
8042 | * dsrec.c: Ditto. | |
8043 | * dummy-frame.c: Ditto. | |
8044 | * dwarf2-frame.c: Ditto. | |
8045 | * dwarf2expr.c: Ditto. | |
8046 | * dwarf2loc.c: Ditto. | |
8047 | * dwarf2read.c: Ditto. | |
8048 | * elfread.c: Ditto. | |
8049 | * environ.c: Ditto. | |
8050 | * eval.c: Ditto. | |
8051 | * event-top.h: Ditto. | |
8052 | * exceptions.c: Ditto. | |
8053 | * exceptions.h: Ditto. | |
8054 | * exec.c: Ditto. | |
8055 | * expprint.c: Ditto. | |
8056 | * expression.h: Ditto. | |
8057 | * f-exp.y: Ditto. | |
8058 | * f-lang.c: Ditto. | |
8059 | * f-lang.h: Ditto. | |
8060 | * f-typeprint.c: Ditto. | |
8061 | * f-valprint.c: Ditto. | |
8062 | * fbsd-nat.c: Ditto. | |
8063 | * findvar.c: Ditto. | |
8064 | * fork-child.c: Ditto. | |
8065 | * frame.c: Ditto. | |
8066 | * frame.h: Ditto. | |
8067 | * frv-linux-tdep.c: Ditto. | |
8068 | * frv-tdep.c: Ditto. | |
8069 | * gcore.c: Ditto. | |
8070 | * gdb-stabs.h: Ditto. | |
8071 | * gdb_assert.h: Ditto. | |
8072 | * gdb_string.h: Ditto. | |
8073 | * gdb_thread_db.h: Ditto. | |
8074 | * gdb_wait.h: Ditto. | |
8075 | * gdbarch.sh: Ditto. | |
8076 | * gdbcore.h: Ditto. | |
8077 | * gdbthread.h: Ditto. | |
8078 | * gdbtypes.c: Ditto. | |
8079 | * gdbtypes.h: Ditto. | |
8080 | * gnu-nat.c: Ditto. | |
8081 | * gnu-nat.h: Ditto. | |
8082 | * gnu-v2-abi.c: Ditto. | |
8083 | * gnu-v3-abi.c: Ditto. | |
8084 | * go32-nat.c: Ditto. | |
8085 | * gdbarch.c: Regenerate. | |
8086 | * gdbarch.h: Regenerate. | |
8087 | ||
ac74f770 MS |
8088 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
8089 | ||
8090 | * ax-gdb.c: Adjust some long output strings. | |
8091 | * breakpoint.c: Ditto. | |
8092 | * charset.c: Ditto. | |
8093 | * cp-abi.c: Ditto. | |
8094 | * infcall.c: Ditto. | |
8095 | * infrun.c: Ditto. | |
8096 | * linux-nat.c: Ditto. | |
8097 | * solib-pa64.c: Ditto. | |
8098 | * solib-som.c: Ditto. | |
8099 | ||
d8e22779 TT |
8100 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
8101 | ||
8102 | PR python/12367: | |
8103 | * NEWS: Add item. | |
8104 | * python/python.c (GdbMethods): Add "newest_frame" method. | |
8105 | * python/python-internal.h (gdbpy_newest_frame): Declare. | |
8106 | * python/py-frame.c (gdbpy_newest_frame): New function. | |
8107 | ||
a255712f PP |
8108 | 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com> |
8109 | ||
8110 | * jit.h (struct jit_code_entry): use ULONGEST for symfile_size. | |
8111 | * jit.c (jit_debug): New variable. | |
8112 | (show_jit_debug): New function. | |
8113 | (struct target_buffer): Use ULONGEST. | |
8114 | (bfd_open_from_target_memory): Likewise. | |
8115 | (jit_register_code, jit_inferior_init): Add debug output. | |
8116 | (_initialize_jit): Register "debug jit" command. | |
8117 | ||
ccfc3d6e TT |
8118 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
8119 | ||
8120 | * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment. | |
8121 | * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME | |
8122 | and ARCH_FRAME. | |
8123 | ||
57126e4a TT |
8124 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
8125 | ||
8126 | * python/py-frame.c (frapy_block): Use get_frame_block. | |
8127 | ||
16dfc9ce JB |
8128 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
8129 | ||
8130 | Do not stop on SIGPRIO signals by default | |
8131 | * infrun.c (_initialize_infrun): Unset signal_stop and | |
8132 | signal_print for TARGET_SIGNAL_PRIO. | |
8133 | ||
b1ce2347 JB |
8134 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
8135 | ||
8136 | * ada-tasks.c: Fix style violation in comment. | |
8137 | ||
8f7e195f JB |
8138 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
8139 | ||
8140 | * linespec.c (decode_compound, find_method): Remove trailing \n | |
8141 | at end of error string. | |
8142 | * solib-irix.c (irix_current_sos): Likewise. | |
8143 | * varobj.c (uninstall_variable): Likewise. | |
8144 | ||
e9bdf92c JB |
8145 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
8146 | ||
8147 | * copyright.py: New script. | |
8148 | * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. | |
8149 | Launch emacs without exec'ing. Call copyright.py afterwards. | |
8150 | ||
3e43a32a MS |
8151 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
8152 | ||
8153 | * addrmap.c: Shorten lines of >= 80 columns. | |
8154 | * arch-utils.c: Ditto. | |
8155 | * arch-utils.h: Ditto. | |
8156 | * ax-gdb.c: Ditto. | |
8157 | * ax-general.c: Ditto. | |
8158 | * bcache.c: Ditto. | |
8159 | * blockframe.c: Ditto. | |
8160 | * breakpoint.c: Ditto. | |
8161 | * buildsym.c: Ditto. | |
8162 | * c-lang.c: Ditto. | |
8163 | * c-typeprint.c: Ditto. | |
8164 | * charset.c: Ditto. | |
8165 | * coffread.c: Ditto. | |
8166 | * command.h: Ditto. | |
8167 | * corelow.c: Ditto. | |
8168 | * cp-abi.c: Ditto. | |
8169 | * cp-namespace.c: Ditto. | |
8170 | * cp-support.c: Ditto. | |
8171 | * dbug-rom.c: Ditto. | |
8172 | * dbxread.c: Ditto. | |
8173 | * defs.h: Ditto. | |
8174 | * dfp.c: Ditto. | |
8175 | * dfp.h: Ditto. | |
8176 | * dictionary.c: Ditto. | |
8177 | * disasm.c: Ditto. | |
8178 | * doublest.c: Ditto. | |
8179 | * dwarf2-frame.c: Ditto. | |
8180 | * dwarf2expr.c: Ditto. | |
8181 | * dwarf2loc.c: Ditto. | |
8182 | * dwarf2read.c: Ditto. | |
8183 | * elfread.c: Ditto. | |
8184 | * eval.c: Ditto. | |
8185 | * event-loop.c: Ditto. | |
8186 | * event-loop.h: Ditto. | |
8187 | * exceptions.h: Ditto. | |
8188 | * exec.c: Ditto. | |
8189 | * expprint.c: Ditto. | |
8190 | * expression.h: Ditto. | |
8191 | * f-lang.c: Ditto. | |
8192 | * f-valprint.c: Ditto. | |
8193 | * findcmd.c: Ditto. | |
8194 | * frame-base.c: Ditto. | |
8195 | * frame-unwind.c: Ditto. | |
8196 | * frame-unwind.h: Ditto. | |
8197 | * frame.c: Ditto. | |
8198 | * frame.h: Ditto. | |
8199 | * gcore.c: Ditto. | |
8200 | * gdb-stabs.h: Ditto. | |
8201 | * gdb_assert.h: Ditto. | |
8202 | * gdb_dirent.h: Ditto. | |
8203 | * gdb_obstack.h: Ditto. | |
8204 | * gdbcore.h: Ditto. | |
8205 | * gdbtypes.c: Ditto. | |
8206 | * gdbtypes.h: Ditto. | |
8207 | * inf-ttrace.c: Ditto. | |
8208 | * infcall.c: Ditto. | |
8209 | * infcmd.c: Ditto. | |
8210 | * inflow.c: Ditto. | |
8211 | * infrun.c: Ditto. | |
8212 | * inline-frame.h: Ditto. | |
8213 | * language.c: Ditto. | |
8214 | * language.h: Ditto. | |
8215 | * libunwind-frame.c: Ditto. | |
8216 | * libunwind-frame.h: Ditto. | |
8217 | * linespec.c: Ditto. | |
8218 | * linux-nat.c: Ditto. | |
8219 | * linux-nat.h: Ditto. | |
8220 | * linux-thread-db.c: Ditto. | |
8221 | * machoread.c: Ditto. | |
8222 | * macroexp.c: Ditto. | |
8223 | * macrotab.c: Ditto. | |
8224 | * main.c: Ditto. | |
8225 | * maint.c: Ditto. | |
8226 | * mdebugread.c: Ditto. | |
8227 | * memattr.c: Ditto. | |
8228 | * minsyms.c: Ditto. | |
8229 | * monitor.c: Ditto. | |
8230 | * monitor.h: Ditto. | |
8231 | * objfiles.c: Ditto. | |
8232 | * objfiles.h: Ditto. | |
8233 | * osabi.c: Ditto. | |
8234 | * p-typeprint.c: Ditto. | |
8235 | * p-valprint.c: Ditto. | |
8236 | * parse.c: Ditto. | |
8237 | * printcmd.c: Ditto. | |
8238 | * proc-events.c: Ditto. | |
8239 | * procfs.c: Ditto. | |
8240 | * progspace.c: Ditto. | |
8241 | * progspace.h: Ditto. | |
8242 | * psympriv.h: Ditto. | |
8243 | * psymtab.c: Ditto. | |
8244 | * record.c: Ditto. | |
8245 | * regcache.c: Ditto. | |
8246 | * regcache.h: Ditto. | |
8247 | * remote-fileio.c: Ditto. | |
8248 | * remote.c: Ditto. | |
8249 | * ser-mingw.c: Ditto. | |
8250 | * ser-tcp.c: Ditto. | |
8251 | * ser-unix.c: Ditto. | |
8252 | * serial.c: Ditto. | |
8253 | * serial.h: Ditto. | |
8254 | * solib-frv.c: Ditto. | |
8255 | * solib-irix.c: Ditto. | |
8256 | * solib-osf.c: Ditto. | |
8257 | * solib-pa64.c: Ditto. | |
8258 | * solib-som.c: Ditto. | |
8259 | * solib-sunos.c: Ditto. | |
8260 | * solib-svr4.c: Ditto. | |
8261 | * solib-target.c: Ditto. | |
8262 | * solib.c: Ditto. | |
8263 | * somread.c: Ditto. | |
8264 | * source.c: Ditto. | |
8265 | * stabsread.c: Ditto. | |
8266 | * stabsread.c: Ditto. | |
8267 | * stack.c: Ditto. | |
8268 | * stack.h: Ditto. | |
8269 | * symfile-mem.c: Ditto. | |
8270 | * symfile.c: Ditto. | |
8271 | * symfile.h: Ditto. | |
8272 | * symmisc.c: Ditto. | |
8273 | * symtab.c: Ditto. | |
8274 | * symtab.h: Ditto. | |
8275 | * target-descriptions.c: Ditto. | |
8276 | * target-memory.c: Ditto. | |
8277 | * target.c: Ditto. | |
8278 | * target.h: Ditto. | |
8279 | * terminal.h: Ditto. | |
8280 | * thread.c: Ditto. | |
8281 | * top.c: Ditto. | |
8282 | * tracepoint.c: Ditto. | |
8283 | * tracepoint.h: Ditto. | |
8284 | * ui-file.c: Ditto. | |
8285 | * ui-file.h: Ditto. | |
8286 | * ui-out.h: Ditto. | |
8287 | * user-regs.c: Ditto. | |
8288 | * user-regs.h: Ditto. | |
8289 | * utils.c: Ditto. | |
8290 | * valarith.c: Ditto. | |
8291 | * valops.c: Ditto. | |
8292 | * valprint.c: Ditto. | |
8293 | * valprint.h: Ditto. | |
8294 | * value.c: Ditto. | |
8295 | * varobj.c: Ditto. | |
8296 | * varobj.h: Ditto. | |
8297 | * vec.h: Ditto. | |
8298 | * xcoffread.c: Ditto. | |
8299 | * xcoffsolib.c: Ditto. | |
8300 | * xcoffsolib.h: Ditto. | |
8301 | * xml-syscall.c: Ditto. | |
8302 | * xml-tdesc.c: Ditto. | |
8303 | ||
9a2b4c1b MS |
8304 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
8305 | ||
8306 | * cli/cli-cmds.c: Shorten lines of >= 80 columns. | |
8307 | * cli/cli-decode.c: Ditto. | |
8308 | * cli/cli-dump.c: Ditto. | |
8309 | * cli/cli-logging.c: Ditto. | |
8310 | * cli/cli-script.c: Ditto. | |
8311 | * cli/cli-setshow.c: Ditto. | |
8312 | * common/signals.c: Ditto. | |
8313 | * mi/mi-cmd-break.c: Ditto. | |
8314 | * mi/mi-cmd-disas.c: Ditto. | |
8315 | * mi/mi-cmd-stack.c: Ditto. | |
8316 | * mi/mi-cmd-var.c: Ditto. | |
8317 | * mi/mi-cmds.c: Ditto. | |
8318 | * mi/mi-common.h: Ditto. | |
8319 | * mi/mi-console.c: Ditto. | |
8320 | * mi/mi-interp.c: Ditto. | |
8321 | * mi/mi-main.c: Ditto. | |
8322 | * osf-share/cma_attr.c: Ditto. | |
8323 | * osf-share/cma_deb_core.h: Ditto. | |
8324 | * osf-share/cma_debug_client.h: Ditto. | |
8325 | * osf-share/cma_handle.h: Ditto. | |
8326 | * osf-share/cma_mutex.h: Ditto. | |
8327 | * osf-share/cma_stack_int.h: Ditto. | |
8328 | * osf-share/cma_tcb_defs.h: Ditto. | |
8329 | * python/py-auto-load.c: Ditto. | |
8330 | * python/py-breakpoint.c: Ditto. | |
8331 | * python/py-cmd.c: Ditto. | |
8332 | * python/py-frame.c: Ditto. | |
8333 | * python/py-objfile.c: Ditto. | |
8334 | * python/py-param.c: Ditto. | |
8335 | * python/py-progspace.c: Ditto. | |
8336 | * python/py-symbol.c: Ditto. | |
8337 | * python/py-value.c: Ditto. | |
8338 | * python/python-internal.h: Ditto. | |
8339 | * python/python.c: Ditto. | |
8340 | * tui/tui-data.c: Ditto. | |
8341 | * tui/tui-disasm.c: Ditto. | |
8342 | * tui/tui-hooks.c: Ditto. | |
8343 | * tui/tui-io.c: Ditto. | |
8344 | * tui/tui-layout.c: Ditto. | |
8345 | * tui/tui-regs.c: Ditto. | |
8346 | * tui/tui-source.c: Ditto. | |
8347 | * tui/tui-stack.c: Ditto. | |
8348 | * tui/tui-win.c: Ditto. | |
8349 | * tui/tui-windata.c: Ditto. | |
8350 | * tui/tui-winsource.c: Ditto. | |
8351 | ||
44944448 JB |
8352 | 2011-01-05 Joel Brobecker <brobecker@adacore.com> |
8353 | ||
8354 | * configure.ac, gdb.1: Copyright year update. | |
8355 | ||
ebedcab5 JK |
8356 | 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
8357 | ||
8358 | * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables | |
8359 | this_pc_in_block, morestack_msym and morestack_name. Check for | |
8360 | "__morestack" minimal symbol there. | |
8361 | ||
e5cc9f32 JB |
8362 | 2011-01-03 Joel Brobecker <brobecker@adacore.com> |
8363 | ||
8364 | * symfile.c (find_sym_fns): Add call to dont_repeat. | |
8365 | ||
7b6bb8da JB |
8366 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
8367 | ||
8368 | Copyright year update in most files (performed by copyright.sh). | |
8369 | ||
71ce852c JB |
8370 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
8371 | ||
8372 | * top.c (print_gdb_version): Update copyright year in version output. | |
0e2de366 | 8373 | |
c3c1ebe8 | 8374 | For older changes see ChangeLog-2010. |
c906108c SS |
8375 | \f |
8376 | Local Variables: | |
8377 | mode: change-log | |
8378 | left-margin: 8 | |
8379 | fill-column: 74 | |
8380 | version-control: never | |
57da7796 | 8381 | coding: utf-8 |
c906108c | 8382 | End: |