Commit | Line | Data |
---|---|---|
523f3620 JK |
1 | 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
2 | ||
3 | * dwarf2-frame.c (no_get_frame_base, no_get_frame_cfa, no_get_frame_pc) | |
4 | (no_get_tls_address, no_dwarf_call, no_base_type): Move to the other | |
5 | file. | |
6 | (dwarf2_frame_ctx_funcs): Reference the renamed functions. | |
7 | * dwarf2expr.c (ctx_no_get_frame_base, ctx_no_get_frame_cfa) | |
8 | (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call) | |
9 | (ctx_no_get_base_type): Move the functions here. | |
10 | * dwarf2expr.h (ctx_no_get_frame_base, ctx_no_get_frame_cfa) | |
11 | (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call) | |
12 | (ctx_no_get_base_type): New declarations. | |
13 | ||
24d3216f TT |
14 | 2011-07-27 Tom Tromey <tromey@redhat.com> |
15 | ||
16 | * xcoffread.c (dwarf2_xcoff_names): Add 'macro' and 'sentinel' | |
17 | entries. | |
18 | * symfile.h (struct dwarf2_debug_sections) <sentinel>: New field. | |
19 | * dwarf2read.c (dwarf2_elf_names): Add sentinel entry. | |
20 | ||
5005c8a9 PP |
21 | 2011-07-26 Sterling Augustine <saugustine@google.com> |
22 | ||
23 | * cli/cli-dump.c (dump_binary_file): Change parameter type to | |
24 | ULONGEST. | |
25 | (dump_bfd_file): Likewise. | |
26 | ||
480a3f21 PW |
27 | 2011-07-26 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
28 | ||
29 | * remote.c (remote_region_ok_for_hw_watchpoint): New function. | |
30 | (remote_hw_watchpoint_length_limit): New variable. | |
31 | (_initialize_remote) add set,show cmds for this new variable. | |
32 | * gdb.texinfo: document these new commands. | |
33 | * NEWS: Mention these new commands. | |
34 | ||
efa80663 PA |
35 | 2011-07-26 Pedro Alves <pedro@codesourcery.com> |
36 | ||
37 | * breakpoint.c (works_in_software_mode_watchpoint): Also return | |
38 | true for software watchpoints. | |
39 | ||
dbdaa232 | 40 | 2011-07-26 Joel Brobecker <brobecker@adacore.com> |
41 | ||
42 | GDB 7.3 released. | |
43 | ||
cf2c3c16 TT |
44 | 2011-07-26 Tom Tromey <tromey@redhat.com> |
45 | ||
46 | * symfile.h (struct dwarf2_debug_sections) <macro>: New field. | |
47 | * dwarf2read.c (read_indirect_string_at_offset): New function. | |
48 | (read_indirect_string): Use it. | |
49 | (dwarf_decode_macro_bytes): New function, taken from | |
50 | dwarf_decode_macros. Handle DW_MACRO_GNU_*. | |
51 | (dwarf_decode_macros): Use it. handle DW_MACRO_GNU_*. | |
52 | (dwarf_parse_macro_header, skip_form_bytes, skip_unknown_opcode): | |
53 | New functions. | |
54 | (struct dwarf2_per_objfile) <macro>: New field. | |
55 | (dwarf2_elf_names): Add .debug_macro. | |
56 | (dwarf2_macros_too_long_complaint): Add 'section' argument. | |
57 | (dwarf2_locate_sections): Handle new section. | |
58 | (read_file_scope): Handle DW_AT_GNU_macros. | |
59 | (dwarf2_per_objfile_free): Unmap the .debug_macro section. | |
60 | ||
1a532630 PP |
61 | 2011-07-26 Paul Pluzhnikov <ppluzhnikov@google.com> |
62 | ||
63 | * NEWS: Mention dcache configuration. | |
64 | * dcache.c (dcache_set_list, dcache_show_list): New variables. | |
65 | (dcache_size, dcache_line_size): New variables. | |
66 | (LINE_SIZE_MASK, XFORM, MASK): Adjust. | |
67 | (struct dcache_block): Make it expandable. | |
68 | (struct dcache_struct): New field. | |
69 | (dcache_invalidate): Discard freelist upon dcache_line_size changes. | |
70 | (dcache_hit, dcache_alloc, dcache_peek_byte): Adjust. | |
71 | (dcache_poke_byte, dcache_print_line): Adjust. | |
72 | (set_dcache_size, set_dcache_line_size): New functions. | |
73 | (set_dcache_command, show_dcache_command): New functions. | |
74 | (_initialize_dcache): Add new commands. | |
75 | ||
2eff07b3 PP |
76 | 2011-07-26 Paul Pluzhnikov <ppluzhnikov@google.com> |
77 | ||
78 | * progspace.h (struct program_space): Add solib_add_generation. | |
79 | * infcmd.c (post_create_inferior): Only call solib_add if not | |
80 | already done. | |
81 | * solib.c (solib_add): Increment solib_add_generation. | |
82 | ||
543305c9 JK |
83 | 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
84 | ||
85 | Fix implicit pointer offsets. | |
86 | * dwarf2loc.c (indirect_pieced_value): Comment byte_offset. Use also | |
87 | ptr.OFFSET. | |
88 | ||
c0a91b2b TT |
89 | 2011-07-25 Tom Tromey <tromey@redhat.com> |
90 | ||
91 | * ada-lang.c (ada_exception_breakpoint_ops): Make return type | |
92 | const. | |
93 | (ada_exception_sal): Make 'ops' const. | |
94 | (ada_decode_exception_location): Likewise. | |
95 | (ada_decode_assert_location): Likewise. | |
96 | (catch_assert_command): Update. | |
97 | (catch_ada_exception_command): Update. | |
98 | (create_ada_exception_catchpoint): Make 'ops' const. | |
99 | * breakpoint.c (set_raw_breakpoint_without_location) | |
100 | (set_raw_breakpoint, momentary_breakpoint_from_master): Make 'ops' | |
101 | const. | |
102 | (create_internal_breakpoint): Update. | |
103 | (init_raw_breakpoint_without_location): Make 'ops' const. | |
104 | (init_raw_breakpoint, init_catchpoint) | |
105 | (create_fork_vfork_event_catchpoint) | |
106 | (create_syscall_event_catchpoint, init_breakpoint_sal) | |
107 | (create_breakpoint_sal, create_breakpoints_sal) | |
108 | (create_breakpoint, init_ada_exception_breakpoint): Likewise. | |
109 | * breakpoint.h (struct breakpoint) <ops>: Now const. | |
110 | (init_ada_exception_breakpoint, create_breakpoint): Make 'ops' | |
111 | const. | |
112 | ||
6cb9b55b PP |
113 | 2011-07-25 Paul Pluzhnikov <ppluzhnikov@google.com> |
114 | ||
115 | * linux-thread-db.c (thread_from_lwp): Initialize th.th_unique. | |
116 | ||
d9b3f62e PA |
117 | 2011-07-25 Pedro Alves <pedro@codesourcery.com> |
118 | ||
119 | * breakpoint.h (print_recreate_thread): Declare. | |
120 | (struct breakpoint): Move step_count, pass_count, | |
121 | number_on_target, static_trace_marker_id, | |
122 | static_trace_marker_id_idx ... | |
123 | (struct tracepoint): ... to this new struct. | |
124 | (get_tracepoint, get_tracepoint_by_number_on_target) | |
125 | (get_tracepoint_by_number): Change return type to struct | |
126 | tracepoint pointer. | |
127 | * breakpoint.c (is_tracepoint_type): New, factored out from | |
128 | is_tracepoint. | |
129 | (is_tracepoint): Adjust. | |
130 | (print_one_breakpoint_location): Cast to struct tracepoint as | |
131 | necessary, and adjust. | |
132 | (print_recreate_catch_fork, print_recreate_catch_vfork) | |
133 | (print_recreate_catch_syscall, print_recreate_catch_exec): Call | |
134 | print_recreate_thread. | |
135 | (init_breakpoint_sal): New, factored out from | |
136 | create_breakpoint_sal. | |
137 | (create_breakpoint_sal): Reimplement. | |
138 | (create_breakpoint): Allocate a struct tracecepoint if the caller | |
139 | wanted a tracepoint. Use init_breakpoint_sal and | |
140 | install_breakpoint. | |
141 | (print_recreate_ranged_breakpoint, print_recreate_watchpoint) | |
142 | (print_recreate_masked_watchpoint) | |
143 | (print_recreate_exception_catchpoint): Call print_recreate_thread. | |
144 | (tracepoint_print_one_detail): Adjust. | |
145 | (tracepoint_print_recreate): Adjust. Call print_recreate_thread. | |
146 | Dump the pass count here. | |
147 | (update_static_tracepoint): Adjust. | |
148 | (addr_string_to_sals): Adjust. | |
149 | (create_tracepoint_from_upload): Adjust. Change return type to | |
150 | struct tracepoint pointer. | |
151 | (trace_pass_set_count): Change parameter type to struct tracepoint | |
152 | pointer, and adjust. | |
153 | (trace_pass_command): Adjust. | |
154 | (get_tracepoint, get_tracepoint_by_number_on_target) | |
155 | (get_tracepoint_by_number): Change return type to struct | |
156 | tracepoint pointer, and adjust. | |
157 | (print_recreate_thread): New, factored out from save_breakpoints. | |
158 | (save_breakpoints): Don't print thread and task and passcount | |
159 | recreation here. | |
160 | * remote.c (remote_download_tracepoint): Adjust. | |
161 | * tracepoint.c (trace_actions_command, validate_actionline) | |
162 | (start_tracing, tfind_1, trace_find_tracepoint_command) | |
163 | (trace_dump_command): Adjust. | |
164 | (find_matching_tracepoint): Change return type to struct | |
165 | tracepoint pointer, and adjust. | |
166 | (merge_uploaded_tracepoints, tfile_get_traceframe_address) | |
167 | (tfile_trace_find, tfile_fetch_registers): Adjust. | |
168 | * tracepoint.h (create_tracepoint_from_upload): Change return type | |
169 | to struct tracepoint pointer. | |
170 | * ada-lang.c (print_recreate_exception): Call | |
171 | print_recreate_thread. | |
172 | * mi/mi-cmd-break.c (mi_cmd_break_passcount): Adjust. | |
173 | ||
3a5c3e22 PA |
174 | 2011-07-25 Pedro Alves <pedro@codesourcery.com> |
175 | ||
176 | * breakpoint.h (struct breakpoint): Move ops as first field. Move | |
177 | exp_string, exp_string_reparse, exp, exp_valid_block, cond_exp, | |
178 | cond_exp_valid_block, val, val_valid, watchpoint_frame, | |
179 | watchpoint_thread, watchpoint_triggered ... | |
180 | (struct watchpoint): ... to this new struct. | |
181 | (is_watchpoint): Declare. | |
182 | (install_breakpoint): Add new `internal' parameter. | |
183 | * breakpoint.c (is_watchpoint): Delete declaration. | |
184 | (set_breakpoint_condition): Handle watchpoints. | |
185 | (is_watchpoint): Make public. | |
186 | (watchpoint_in_thread_scope): Change parameter type to struct | |
187 | watchpoint. | |
188 | (watchpoint_del_at_next_stop): Change parameter type to struct | |
189 | watchpoint. Remove assertion. Adjust. | |
190 | (update_watchpoint): Ditto. | |
191 | (insert_breakpoints, breakpoint_init_inferior) | |
192 | (watchpoints_triggered, watchpoint_check) | |
193 | (bpstat_check_watchpoint, bpstat_check_breakpoint_conditions) | |
194 | (bpstat_stop_status, print_one_breakpoint_location) | |
195 | (print_one_breakpoint_location, watchpoint_locations_match): Cast | |
196 | to struct watchpoint as necessary, and adjust. | |
197 | (install_breakpoint): Add `internal' argument. If true, don't | |
198 | mention the new breakpoint. Use set_breakpoint_number. | |
199 | (create_fork_vfork_event_catchpoint) | |
200 | (create_syscall_event_catchpoint): Adjust. | |
201 | (dtor_watchpoint): New. | |
202 | (re_set_watchpoint, insert_watchpoint, remove_watchpoint) | |
203 | (breakpoint_hit_watchpoint, resources_needed_watchpoint) | |
204 | (print_it_watchpoint, print_mention_watchpoint) | |
205 | (print_recreate_watchpoint, insert_masked_watchpoint) | |
206 | (remove_masked_watchpoint, resources_needed_masked_watchpoint) | |
207 | (print_one_detail_masked_watchpoint) | |
208 | (print_mention_masked_watchpoint) | |
209 | (print_recreate_masked_watchpoint): Cast to struct watchpoint as | |
210 | necessary, and adjust. | |
211 | (watch_command_1): Allocate and initialize a struct watchpoint | |
212 | instead of a struct breakpoint. Use install_breakpoint. | |
213 | (catch_exec_command_1): Adjust. | |
214 | (base_breakpoint_dtor): Delete accesses to watchpoint specific | |
215 | fields. | |
216 | (delete_breakpoint, enable_breakpoint_disp) | |
217 | (invalidate_bp_value_on_memory_change): Cast to struct watchpoint | |
218 | as necessary, and adjust. | |
219 | (initialize_breakpoint_ops): Install dtor_watchpoint as | |
220 | watchpoints' dtor method. | |
221 | * ada-lang.c (create_ada_exception_catchpoint): Adjust. | |
222 | * python/py-breakpoint.c (bppy_get_expression): Use is_watchpoint. | |
223 | to struct watchpoint as necessary, and adjust. | |
224 | ||
2060206e PA |
225 | 2011-07-25 Pedro Alves <pedro@codesourcery.com> |
226 | ||
227 | * ada-lang.c (dtor_exception, re_set_exception): Indirect through | |
228 | the the base class ops table. | |
229 | (catch_exception_breakpoint_ops) | |
230 | (catch_exception_unhandled_breakpoint_ops) | |
231 | (catch_assert_breakpoint_ops): Don't statically initialize. | |
232 | (initialize_ada_catchpoint_ops): New. | |
233 | (_initialize_ada_language): Call it. | |
234 | * breakpoint.c (base_breakpoint_ops, bkpt_base_breakpoint_ops) | |
235 | (bkpt_breakpoint_ops): Forward declare. | |
236 | (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops) | |
237 | (catch_syscall_breakpoint_ops, catch_exec_breakpoint_ops) | |
238 | (ranged_breakpoint_ops, watchpoint_breakpoint_ops) | |
239 | (masked_watchpoint_breakpoint_ops) | |
240 | (gnu_v3_exception_catchpoint_ops): Don't statically initialize. | |
241 | (dtor_catch_syscall, dtor_catch_exec): Indirect through the the | |
242 | base class ops table. | |
243 | (null_re_set, null_check_status, null_works_in_software_mode) | |
244 | (null_resources_needed, null_print_one_detail): Delete. | |
245 | (bkpt_dtor): Rename to ... | |
246 | (base_breakpoint_dtor): ... this. Make static. | |
247 | (bkpt_allocate_location): Rename to ... | |
248 | (base_breakpoint_allocate_location): ... this. Make static. | |
249 | (base_breakpoint_re_set): New. | |
250 | (internal_error_pure_virtual_called): New. | |
251 | (base_breakpoint_insert_location, base_breakpoint_remove_location) | |
252 | (base_breakpoint_breakpoint_hit, base_breakpoint_check_status) | |
253 | (base_breakpoint_works_in_software_mode) | |
254 | (base_breakpoint_resources_needed, base_breakpoint_print_it) | |
255 | (base_breakpoint_print_one_detail, base_breakpoint_print_mention) | |
256 | (base_breakpoint_print_recreate): New functions. | |
257 | (base_breakpoint_ops): New global. | |
258 | (bkpt_re_set, bkpt_insert_location, bkpt_remove_location) | |
259 | (bkpt_breakpoint_hit): Make static. | |
260 | (bkpt_check_status): Delete. | |
261 | (bkpt_resources_needed): Make static. | |
262 | (bkpt_works_in_software_mode): Delete. | |
263 | (bkpt_print_it, bkpt_print_mention, bkpt_print_recreate): Make | |
264 | static. | |
265 | (bkpt_breakpoint_ops, internal_breakpoint_ops) | |
266 | (momentary_breakpoint_ops): Don't statically initialize. | |
267 | (internal_bkpt_print_recreate, momentary_bkpt_print_recreate): | |
268 | Delete. | |
269 | (tracepoint_insert_location, tracepoint_remove_location) | |
270 | (tracepoint_check_status, tracepoint_works_in_software_mode) | |
271 | (tracepoint_print_it): Delete. | |
272 | (tracepoint_breakpoint_ops): Don't statically initialize. | |
273 | (initialize_breakpoint_ops): New. | |
274 | (_initialize_breakpoint): Call it. | |
275 | * breakpoint.h (null_re_set, null_works_in_software_mode) | |
276 | (null_resources_needed, null_check_status, null_print_one_detail): | |
277 | (bkpt_dtor, bkpt_allocate_location, bkpt_re_set) | |
278 | (bkpt_insert_location, bkpt_remove_location, bkpt_breakpoint_hit) | |
279 | (bkpt_check_status, bkpt_resources_needed) | |
280 | (bkpt_works_in_software_mode, bkpt_print_it) | |
281 | (null_print_one_detail, bkpt_print_mention, bkpt_print_recreate): | |
282 | Delete declarations. | |
283 | (initialize_breakpoint_ops): Declare. | |
284 | ||
001c8c33 PA |
285 | 2011-07-25 Pedro Alves <pedro@codesourcery.com> |
286 | ||
287 | * breakpoint.c (bkpt_print_it, internal_bkpt_print_it) | |
288 | (momentary_bkpt_print_it): Simplify. | |
289 | ||
06edf0c0 PA |
290 | 2011-07-25 Pedro Alves <pedro@codesourcery.com> |
291 | ||
292 | Split internal, momentary and user breakpoints breakpoint_ops | |
293 | tables. | |
294 | ||
295 | * breakpoint.c (internal_breakpoint_ops) | |
296 | (momentary_breakpoint_ops): Forward declare. | |
297 | (create_internal_breakpoint): Add new breakpoint_ops parameter. | |
298 | Pass it down, rather than hardcoding bkpt_breakpoint_ops. | |
299 | (create_overlay_event_breakpoint) | |
300 | (create_std_terminate_master_breakpoint) | |
301 | (create_exception_master_breakpoint): Create breakpoints with | |
302 | internal_breakpoint_ops vtable. | |
303 | (set_longjmp_breakpoint): Create momentary breakpoints with | |
304 | momentary_breakpoint_ops vtable, using | |
305 | momentary_breakpoint_from_master. | |
306 | (create_thread_event_breakpoint, create_jit_event_breakpoint) | |
307 | (create_solib_event_breakpoint): Create breakpoints with | |
308 | internal_breakpoint_ops vtable. | |
309 | (set_momentary_breakpoint): Create breakpoints with | |
310 | momentary_breakpoint_ops vtable. | |
311 | (momentary_breakpoint_from_master): New, factored out from | |
312 | clone_momentary_breakpoint. | |
313 | (clone_momentary_breakpoint): Adjust. | |
314 | (watch_command_1): Create scope breakpoints with | |
315 | momentary_breakpoint_ops vtable. | |
316 | (bkpt_re_set): Remove handling of internal and momentary | |
317 | breakpoints. | |
318 | (bkpt_print_mention, bkpt_print_recreate): New. | |
319 | (bkpt_breakpoint_ops): Adjust. | |
320 | (internal_bkpt_re_set, internal_bkpt_check_status) | |
321 | (internal_bkpt_print_it, internal_bkpt_print_mention) | |
322 | (internal_bkpt_print_recreate, internal_breakpoint_ops): New. | |
323 | (momentary_bkpt_re_set, momentary_bkpt_check_status) | |
324 | (momentary_bkpt_print_it, momentary_bkpt_print_mention) | |
325 | (momentary_bkpt_print_recreate): New. | |
326 | (momentary_breakpoint_ops): New. | |
327 | ||
348d480f PA |
328 | 2011-07-25 Pedro Alves <pedro@codesourcery.com> |
329 | ||
330 | Implement most breakpoint_ops methods for all breakpoint types, | |
331 | and move the default handlings to the proper callbacks. | |
332 | ||
333 | * breakpoint.c (update_watchpoint): Always call the breakpoint's | |
334 | works_in_software_mode method. | |
335 | (insert_bp_location): Go through breakpoint_ops->insert_location | |
336 | for software and hardware watchpoints. | |
337 | (create_internal_breakpoint): Pass bkpt_breakpoint_ops as | |
338 | breakpoint_ops. | |
339 | (remove_breakpoint_1): Go through breakpoint_ops->remove_location | |
340 | for software and hardware watchpoints. | |
341 | (print_it_typical): Delete. | |
342 | (print_bp_stop_message): Always call the breakpoint_ops->print_it | |
343 | method. | |
344 | (watchpoint_check): Adjust comment. | |
345 | (bpstat_check_location): Simply always call the breakpoint's | |
346 | breakpoint_hit method. | |
347 | (bpstat_stop_status): Always call the breakpoint's check_status | |
348 | method. Remove special cases for watchpoints and internal event | |
349 | breakpoints from here (moved to the check_status implementations). | |
350 | (print_one_breakpoint_location): Assume b->ops is never NULL. | |
351 | Remove static tracepoint marker id printing from here (moved to | |
352 | the print_one_detail callback implementation of tracepoints). | |
353 | (init_bp_location): Assert OPS is never NULL. | |
354 | (allocate_bp_location): Always call the breakpoint's | |
355 | allocate_location method, and remove the default code from here. | |
356 | (free_bp_location): Always call the location's dtor method, and | |
357 | remove the default code from here. | |
358 | (init_raw_breakpoint_without_location): Assert OPS is never NULL. | |
359 | (set_raw_breakpoint_without_location): Add new breakpoint_ops | |
360 | parameter. Pass it down. | |
361 | (set_raw_breakpoint): Ditto. | |
362 | (print_it_catch_fork): Adjust to take a bpstat as argument. | |
363 | (catch_fork_breakpoint_ops): Install methods. | |
364 | (print_it_catch_vfork): Adjust to take a bpstat as argument. | |
365 | (catch_vfork_breakpoint_ops): Install methods. | |
366 | (dtor_catch_syscall): Call the base dtor. | |
367 | (print_it_catch_syscall): Adjust to take a bpstat as argument. | |
368 | (catch_syscall_breakpoint_ops): Install methods. | |
369 | (dtor_catch_exec): Call the base dtor. | |
370 | (print_it_catch_exec): Adjust to take a bpstat as argument. | |
371 | (catch_exec_breakpoint_ops): Install methods. | |
372 | (hw_breakpoint_used_count, hw_watchpoint_used_count): Always call | |
373 | the breakpoint's resources_needed method, and remove the default | |
374 | code from here. | |
375 | (set_momentary_breakpoint): Pass bkpt_breakpoint_ops as | |
376 | breakpoint_ops. | |
377 | (clone_momentary_breakpoint): Clone the original's ops. | |
378 | (mention): Always call the breakpoint's print_mention method, and | |
379 | remove the default code from here. | |
380 | (create_breakpoint_sal): Adjust to pass the ops to | |
381 | set_raw_breakpoint rather than setting it manually. | |
382 | (create_breakpoint): Assert ops is never NULL. Adjust to pass the | |
383 | ops to set_raw_breakpoint_without_location rather than setting it | |
384 | manually. | |
385 | (break_command_1): Pass bkpt_breakpoint_ops as breakpoint_ops. | |
386 | (print_it_ranged_breakpoint): Adjust to take a bpstat as argument. | |
387 | (ranged_breakpoint_ops): Install methods. | |
388 | (break_range_command): Adjust to pass the ops to | |
389 | set_raw_breakpoint rather than setting it manually. | |
390 | (re_set_watchpoint, breakpoint_hit_watchpoint) | |
391 | (check_status_watchpoint, resources_needed_watchpoint) | |
392 | (works_in_software_mode_watchpoint, print_it_watchpoint) | |
393 | (print_mention_watchpoint, print_recreate_watchpoint): New | |
394 | functions. | |
395 | (watchpoint_breakpoint_ops): Install new methods. | |
396 | (print_it_masked_watchpoint): New function. | |
397 | (masked_watchpoint_breakpoint_ops): Install new methods. | |
398 | (watch_command_1): Adjust to pass the right breakpoint_ops to | |
399 | set_raw_breakpoint_without_location rather than setting it | |
400 | manually later. Record the current pspace. | |
401 | (print_it_exception_catchpoint): Adjust to take a bpstat as | |
402 | argument. | |
403 | (gnu_v3_exception_catchpoint_ops): Install new methods. | |
404 | (say_where): New function. | |
405 | (null_re_set, null_check_status, null_works_in_software_mode) | |
406 | (null_resources_needed, null_print_one_detail, bp_location_dtor): | |
407 | New functions. | |
408 | (bp_location_ops): New global. | |
409 | (bkpt_dtor, bkpt_allocate_location, bkpt_re_set) | |
410 | (bkpt_insert_location, bkpt_remove_location, bkpt_breakpoint_hit) | |
411 | (bkpt_check_status, bkpt_resources_needed) | |
412 | (bkpt_works_in_software_mode, bkpt_print_it, bkpt_print_mention) | |
413 | (bkpt_print_recreate): New functions. | |
414 | (bkpt_breakpoint_ops): New global. | |
415 | (tracepoint_re_set, tracepoint_insert_location) | |
416 | (tracepoint_remove_location, tracepoint_breakpoint_hit) | |
417 | (tracepoint_check_status, tracepoint_works_in_software_mode) | |
418 | (tracepoint_print_it, tracepoint_print_one_detail) | |
419 | (tracepoint_print_mention, tracepoint_print_recreate): New | |
420 | functions. | |
421 | (tracepoint_breakpoint_ops): New global. | |
422 | (delete_breakpoint): Always call the breakpoint's dtor method, and | |
423 | remove the default handling from here. | |
424 | (breakpoint_re_set_default): Make static. | |
425 | (breakpoint_re_set_one): Always call the breakpoints re_set | |
426 | method, and remove the default handling from here. | |
427 | (trace_command, ftrace_command, strace_command) | |
428 | (create_tracepoint_from_upload): Pass appropriate breakpoints_ops | |
429 | to create_breakpoint. | |
430 | (save_breakpoints): Always call the breakpoint's print_recreate | |
431 | method, and remove the default handling from here. | |
432 | ||
433 | * ada-lang.c (dtor_exception): Call the base dtor. | |
434 | (re_set_exception): Call the base method. | |
435 | (print_it_exception, print_it_catch_exception): Adjust to take a | |
436 | bpstat as argument. | |
437 | (catch_exception_breakpoint_ops): Install methods. | |
438 | (print_it_catch_exception_unhandled): Adjust to take a bpstat as | |
439 | argument. | |
440 | (catch_exception_unhandled_breakpoint_ops): Install methods. | |
441 | (print_it_catch_assert): Adjust to take a bpstat as argument. | |
442 | (catch_assert_breakpoint_ops): Install methods. | |
443 | ||
444 | * breakpoint.h (struct breakpoint_ops): Adjust the print_it method | |
445 | to take a bpstat as argument. | |
446 | (enum print_stop_action): Add describing comments to each enum | |
447 | value. | |
448 | (breakpoint_re_set_default): Delete declaration. | |
449 | (null_re_set, null_works_in_software_mode, null_resources_needed) | |
450 | (null_check_status, null_print_one_detail): Declare. | |
451 | (bkpt_breakpoint_ops): Declare. | |
452 | (bkpt_dtor, bkpt_allocate_location, bkpt_re_set) | |
453 | (bkpt_insert_location, bkpt_remove_location, bkpt_breakpoint_hit) | |
454 | (bkpt_check_status, bkpt_resources_needed) | |
455 | (bkpt_works_in_software_mode, bkpt_print_it) | |
456 | (null_print_one_detail, bkpt_print_mention, bkpt_print_recreate): | |
457 | Declare. | |
458 | ||
459 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust to pass | |
460 | bkpt_breakpoint_ops. | |
461 | * python/py-breakpoint.c (bppy_init): Ditto. | |
462 | ||
be8f8133 PW |
463 | 2011-07-15 Philippe Waroquiers <philippe.waroquiers@skynet.be> |
464 | ||
465 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
466 | ||
3807f613 PP |
467 | 2011-07-23 Paul Pluzhnikov <ppluzhnikov@google.com> |
468 | ||
469 | * elfread.c (elf_rel_plt_read): Fix off-by-one bug. | |
470 | ||
1ced966e PA |
471 | 2011-07-22 Pedro Alves <pedro@codesourcery.com> |
472 | ||
473 | * i386-nat.c (I386_DR_VACANT, I386_DR_LOCAL_ENABLE) | |
474 | (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN) | |
475 | (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): Add state parameter and | |
476 | adjust. | |
477 | (dr_mirror, dr_status_mirror, dr_control_mirror): Delete. | |
478 | (struct i386_debug_reg_state): New. | |
479 | (i386_init_dregs): New. | |
480 | (dr_mirror): New. | |
481 | (i386_cleanup_dregs): Use i386_init_dregs. | |
482 | (i386_show_dr): Add state parameter and adjust. | |
483 | (i386_insert_aligned_watchpoint): Ditto. Don't pass the info to | |
484 | the inferior here. | |
485 | (i386_remove_aligned_watchpoint): Likewise. | |
486 | (i386_handle_nonaligned_watchpoint): Add state parameter and adjust. | |
487 | (i386_update_inferior_debug_regs): New. | |
488 | (i386_insert_watchpoint): Work on a local mirror of the debug | |
489 | registers, and only update the inferior on success. | |
490 | (i386_remove_watchpoint): Ditto. | |
491 | (i386_region_ok_for_watchpoint): Adjust. | |
492 | (i386_stopped_data_address): Adjust. | |
493 | (i386_insert_hw_breakpoint): Adjust. | |
494 | (i386_remove_hw_breakpoint): Adjust. | |
495 | ||
3543a589 TT |
496 | 2011-07-22 Tom Tromey <tromey@redhat.com> |
497 | ||
498 | * amd64-tdep.c (amd64_pseudo_register_read_value): Rename | |
499 | from amd64_pseudo_register_read. Change arguments. Call | |
500 | mark_value_bytes_unavailable when needed. | |
501 | (amd64_init_abi): Use set_gdbarch_pseudo_register_read_value, not | |
502 | set_gdbarch_pseudo_register_read. | |
503 | * sentinel-frame.c (sentinel_frame_prev_register): Use | |
504 | regcache_cooked_read_value. | |
505 | * regcache.h (regcache_cooked_read_value): Declare. | |
506 | * regcache.c (regcache_cooked_read_value): New function. | |
507 | (regcache_cooked_read): Call | |
508 | gdbarch_pseudo_register_read_value if available. | |
509 | * i386-tdep.h (i386_pseudo_register_read_value): Declare. | |
510 | (i386_pseudo_register_read): Remove. | |
511 | * i386-tdep.c (i386_pseudo_register_read_into_value): Rename from | |
512 | i386_pseudo_register_read. Change arguments. Call | |
513 | mark_value_bytes_unavailable when needed. | |
514 | (i386_pseudo_register_read_value): New function. | |
515 | (i386_gdbarch_init): Call set_gdbarch_pseudo_register_read_value, | |
516 | not set_gdbarch_pseudo_register_read. | |
517 | * gdbarch.sh (pseudo_register_read_value): New method. | |
518 | * gdbarch.c, gdbarch.h: Rebuild. | |
519 | * findvar.c (value_from_register): Call get_frame_register_value. | |
520 | ||
95298e72 PM |
521 | 2011-07-22 Phil Muldoon <pmuldoon@redhat.com> |
522 | ||
523 | * event-top.c (cli_command_loop): Use get_prompt, get_suffix, | |
524 | get_prefix. | |
525 | (display_gdb_prompt): Likewise. | |
526 | (change_annotation_level): Likewise. | |
527 | (push_prompt): Likewise. | |
528 | (pop_prompt): Likewise. | |
529 | (handle_stop_sig): Use get_prompt with a level. | |
530 | * top.c (command_loop): Use get_prompt with a level. | |
531 | (set_async_annotation_level): Use set_prompt with a level. | |
532 | (get_prefix): New function. | |
533 | (set_prefix): Ditto. | |
534 | (set_suffix): Ditto. | |
535 | (get_suffix): Ditto. | |
536 | (get_prompt): Accept a level argument. | |
537 | (set_prompt): Accept a level argument. Free old prompts. Set | |
538 | new_async_prompt if level is 0. | |
539 | (init_main): Use set_prompt with a level. Do not set | |
540 | new_async_prompt. | |
541 | * event-top.h (PROMPT, SUFFIX, PREFIX): Move to top.c | |
542 | * top.h: Declare set_suffix, get_suffix, set_prefix, get_prefix. | |
543 | Modify set_prompt, get_prompt to account for levels. | |
544 | * tui/tui-interp.c (tui_command_loop): Use get_prompt with a | |
545 | level. | |
546 | * python/python.c (before_prompt_hook): Use set_prompt. | |
547 | ||
d26e3629 KY |
548 | 2011-07-22 Kwok Cheung Yeung <kcy@codesourcery.com> |
549 | ||
550 | * defs.h: Add guard against inclusion in gdbserver. | |
551 | (struct ptid, ptid_t): Move to common/ptid.h. | |
552 | (xfree, xzalloc, xasprintf, xvasprintf, xstrprintf, xstrvprintf, | |
553 | xsnprintf, internal_error): Move to common/common-utils.h. | |
554 | (nomem): Delete. | |
555 | * gdb_assert.h: Move into common/ sub-directory. | |
556 | * gdb_locale.h: Ditto. | |
557 | * gdb_dirent.h: Ditto. | |
558 | * inferior.h (minus_one_ptid, null_ptid, ptid_build, pid_to_ptid, | |
559 | ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid): | |
560 | Move into common/ptid.h. | |
561 | * xml-support.c (xml_escape_text): Move into common/xml-utils.c. | |
562 | (gdb_xml_create_parser_and_cleanup_1, xml_fetch_context_from_file): | |
563 | Change nomem to malloc_failure. | |
564 | * xml-support.h (xml_escape_text): Move into common/xml-utils.h. | |
565 | * utils.c (nomem): Rename to malloc_failure. | |
566 | (xmalloc, xzalloc, xrealloc, xcalloc, xfree, xstrprintf, xasprintf, | |
567 | xvasprintf, xstrvprintf, xsnprintf): Move to common/common-utils.c. | |
568 | (gdb_buildargv): Change nomem to malloc_failure. | |
569 | * infrun.c (null_ptid, minus_one_ptid, ptid_build, pid_to_ptid, | |
570 | ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, | |
571 | ptid_is_pid): Move into common/ptid.c. | |
572 | (initialize_infrun): Delete initialization of null_ptid and | |
573 | minus_one_ptid. | |
574 | * linux-nat.c (linux_nat_xfer_osdata): Defer to | |
575 | linux_common_xfer_osdata. | |
576 | * Makefile.in (SFILES): Add common/common-utils.c, common/xml-utils.c, | |
577 | common/ptid.c and common/buffer.c. | |
578 | (HFILES_NO_SRCDIR): Add common/common-utils.h, common/xml-utils.h, | |
579 | common/ptid.h, common/buffer.h and common/linux-osdata.h. | |
580 | (COMMON_OBS): Add xml-utils.o, common-utils.o, buffer.o and ptid.o. | |
581 | (common-utils.o, xml-utils.o, ptid.o, buffer.o, linux-osdata.o): New | |
582 | rules. | |
583 | * common/gdb_assert.h: New. | |
584 | * common/gdb_dirent.h: New. | |
585 | * common/gdb_locale.h: New. | |
586 | * common/buffer.c: New. | |
587 | * common/buffer.h: New. | |
588 | * common/ptid.c: New. | |
589 | * common/ptid.h: New. | |
590 | * common/xml-utils.c: New. | |
591 | * common/xml-utils.h: New. | |
592 | * common/common-utils.c: New. | |
593 | * common/common-utils.h: New. | |
594 | * common/linux-osdata.c: New. | |
595 | * common/linux-osdata.h: New. | |
596 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-osdata.o. | |
597 | * config/arm/linux.mh (NATDEPFILES): Ditto. | |
598 | * config/i386/linux.mh (NATDEPFILES): Ditto. | |
599 | * config/i386/linux64.mh (NATDEPFILES): Ditto. | |
600 | * config/ia64/linux.mh (NATDEPFILES): Ditto. | |
601 | * config/m32r/linux.mh (NATDEPFILES): Ditto. | |
602 | * config/m68k/linux.mh (NATDEPFILES): Ditto. | |
603 | * config/mips/linux.mh (NATDEPFILES): Ditto. | |
604 | * config/pa/linux.mh (NATDEPFILES): Ditto. | |
605 | * config/powerpc/linux.mh (NATDEPFILES): Ditto. | |
606 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Ditto. | |
607 | * config/s390/s390.mh (NATDEPFILES): Ditto. | |
608 | * config/sparc/linux.mh (NATDEPFILES): Ditto. | |
609 | * config/sparc/linux64.mh (NATDEPFILES): Ditto. | |
610 | * config/xtensa/linux.mh (NATDEPFILES): Ditto. | |
611 | ||
edc84990 | 612 | 2011-07-21 Matt Rice <ratmice@gmail.com> |
613 | ||
614 | * NEWS: Add info macros and info definitions commands. | |
615 | ||
3a7bf607 PM |
616 | 2011-07-21 Phil Muldoon <pmuldoon@redhat.com> |
617 | ||
618 | * NEWS: Document Python prompt substitution hook. | |
619 | ||
9b158ba0 | 620 | 2011-07-18 Matt Rice <ratmice@gmail.com> |
621 | ||
622 | PR macros/12999 | |
623 | * macrotab.h (macro_callback_fn): Add new arguments to callback. | |
624 | * macrotab.c (foreach_macro): Ditto. | |
625 | (foreach_macro_in_scope): Ditto. | |
626 | * macrocmd.c (print_macro_callback): New function. | |
627 | (info_macro_command): Move some code to print_macro_definition. | |
628 | (print_macro_definition): New function. | |
629 | (print_one_macro): Add new arguments to callback. | |
630 | (info_definitions_command): New function. | |
631 | (info_macros_command): Ditto. | |
632 | (_initialize_macrocmd): Add info macros and info definitions commands. | |
633 | * symtab.c (add_macro_name): Add new arguments to callback. | |
634 | ||
d17b6f81 PM |
635 | 2011-07-21 Phil Muldoon <pmuldoon@redhat.com> |
636 | Tom Tromey <tromey@redhat.com> | |
637 | ||
638 | * top.c (set_prompt): Rewrite to free previous prompt, free | |
639 | asynch_new_prompt and set both on new prompts. | |
640 | * event-top.c (display_gdb_prompt): Add prompt substitution | |
641 | logic. | |
642 | * python/python.c (before_prompt_hook): New function. | |
643 | ||
1364323a | 644 | 2011-07-20 Matt Rice <ratmice@gmail.com> |
645 | ||
646 | * bfin-tdep.c (bfin_extract_return_value): Fix swapped | |
647 | arguments to store_unsigned_integer. | |
648 | ||
8b70b953 TT |
649 | 2011-07-20 Tom Tromey <tromey@redhat.com> |
650 | ||
6c83ed52 TT |
651 | * dwarf2read.c (process_enumeration_scope): Do not call new_symbol |
652 | in some declaration-only cases. | |
653 | ||
654 | 2011-07-18 Tom Tromey <tromey@redhat.com> | |
655 | ||
8b70b953 TT |
656 | PR symtab/12984: |
657 | * dwarf2read.c (dwarf2_section_info_def): New typedef. | |
658 | (struct dwarf2_per_objfile) <types>: Change to a VEC. | |
659 | (struct dwarf2_per_cu_data) <from_debug_types>: Remove. | |
660 | <debug_type_section>: New field. | |
661 | (dwarf2_locate_sections): Push .debug_types sections onto VEC. | |
662 | (load_cu): Use appropriate section. | |
663 | (create_signatured_type_table_from_index): Add 'section' | |
664 | argument. | |
665 | (dwarf2_read_index): Only allow a single .debug_types section. | |
666 | (dw2_get_file_names): Use appropriate section. | |
667 | (read_type_comp_unit_head): Add 'section' argument. | |
668 | (create_debug_types_hash_table): Loop over all .debug_types | |
669 | sections. | |
670 | (init_cu_die_reader): Use appropriate section. | |
671 | (process_psymtab_comp_unit, load_partial_comp_unit) | |
672 | (load_full_comp_unit, read_die_and_children, find_partial_die) | |
673 | (lookup_die_type, determine_prefix, follow_die_offset): Update. | |
674 | (lookup_signatured_type_at_offset): Add 'section' argument. | |
675 | (read_signatured_type_at_offset): Add 'sect' argument. | |
676 | (read_signatured_type): Use appropriate section. | |
677 | (set_die_type, get_die_type_at_offset): Update. | |
678 | (dwarf2_per_objfile_free): Free all .debug_types sections, and | |
679 | VEC. | |
680 | (write_psymtabs_to_index): Don't allow index with more than one | |
681 | .debug_types section. | |
682 | ||
918dd910 JK |
683 | 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
684 | ||
685 | Fix crash if referenced CU is aged out. | |
686 | * dwarf2loc.c (per_cu_dwarf_call): New variable back_to, use to for | |
687 | xfree of block.data. | |
688 | (indirect_pieced_value): New variable back_to, use to for xfree of | |
689 | baton.data. | |
690 | (dwarf2_compile_expr_to_ax): New variable back_to, use to for xfree of | |
691 | block.data. | |
692 | * dwarf2read.c (dwarf2_find_base_address): New prototype. | |
693 | (load_cu): New function from ... | |
694 | (dw2_do_instantiate_symtab): ... the code here ... | |
695 | (process_full_comp_unit): ... and here. | |
696 | (dwarf2_fetch_die_location_block): Call load_cu first. Call xmemdup on | |
697 | retval.data. | |
698 | ||
0e37a63c JK |
699 | 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
700 | ||
701 | * dwarf2loc.c (indirect_pieced_value): Use check_typedef for VALUE's | |
702 | type. | |
703 | ||
7e324e48 GB |
704 | 2011-07-19 Gary Benson <gbenson@redhat.com> |
705 | ||
706 | * infrun.c (struct execution_control_state): New member | |
707 | stop_func_filled_in. | |
708 | (clear_stop_func, fill_in_stop_func): New functions. | |
709 | (handle_inferior_event): Call clear_stop_func rather than | |
710 | manipulating the execution control state directly. | |
711 | Call fill_in_stop_func lazily as required rather than | |
712 | directly calling find_pc_partial_function in all cases. | |
713 | ||
d48323d8 TT |
714 | 2011-07-18 Tom Tromey <tromey@redhat.com> |
715 | ||
716 | * dwarf2read.c (read_subrange_type): Use attr_form_is_block when | |
717 | checking for variable-sized array. | |
718 | ||
40591b7d JCD |
719 | 2011-07-18 Jean-Charles Delay <delay@adacore.com> |
720 | ||
721 | * varobj.h (varobj_languages): Add vlang_ada definition to the list | |
722 | of supported languages. | |
723 | * varobj.c: Add top definitions and basic implementation of the | |
724 | following callbacks: ada_number_of_children, ada_name_of_variable, | |
725 | ada_name_of_child, ada_path_expr_of_child, ada_value_of_root, | |
726 | ada_value_of_child, ada_type_of_child, ada_value_of_variable. | |
727 | (languages): Register Ada-specific callbacks. | |
728 | (variable_language): Add the Ada case in the language setter switch. | |
729 | ||
2e424e08 JK |
730 | 2011-07-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
731 | ||
732 | * remote-mips.c (pmon_download): Fix ignored return value GCC warning. | |
733 | ||
9e8b7a03 JK |
734 | 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
735 | ||
736 | Code cleanup. | |
737 | * dwarf2-frame.c (dwarf2_frame_ctx_funcs): New. | |
738 | (execute_stack_op): Use dwarf2_frame_ctx_funcs | |
739 | * dwarf2expr.c (dwarf_get_base_type): Access get_base_type via funcs. | |
740 | (execute_stack_op): Access read_reg, get_frame_base, read_mem, | |
741 | get_frame_cfa, get_tls_address and dwarf_call via funcs. | |
742 | * dwarf2expr.h (struct dwarf_expr_context): New forward declaration. | |
743 | (struct dwarf_expr_context_funcs): New, move here methods from ... | |
744 | (struct dwarf_expr_context): ... here. New fields funcs. | |
745 | * dwarf2loc.c (dwarf_expr_dwarf_call): Access get_frame_pc via funcs. | |
746 | (dwarf_expr_ctx_funcs): New. | |
747 | (dwarf2_evaluate_loc_desc_full): Use dwarf_expr_ctx_funcs. | |
748 | (needs_frame_dwarf_call): Access get_frame_pc via funcs. | |
749 | (needs_frame_ctx_funcs): New. | |
750 | (dwarf2_loc_desc_needs_frame): Use needs_frame_ctx_funcs. | |
751 | ||
2b1260ab FM |
752 | 2011-07-15 Fawzi Mohamed <fawzi.mohamed@nokia.com> |
753 | ||
754 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
755 | ||
8bd90839 FM |
756 | 2011-07-15 Fawzi Mohamed <fawzi.mohamed@nokia.com> |
757 | ||
758 | * dwarf2-frame.c (decode_frame_entry, decode_frame_entry_1): Ensure | |
759 | that CIE pointer of an FDE really points to a CIE . | |
760 | ||
953b98d1 HZ |
761 | 2011-07-15 Hui Zhu <teawater@gmail.com> |
762 | ||
763 | * remote.c (remote_get_trace_status): Add comments. | |
764 | ||
c8f2448a JK |
765 | 2011-07-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
766 | ||
767 | Code cleanup - constify struct lval_funcs. | |
768 | * dwarf2loc.c (pieced_value_funcs): Make it const. | |
769 | * infrun.c (siginfo_value_funcs): Likewise. | |
770 | * opencl-lang.c (opencl_value_funcs): Likewise. | |
771 | * valops.c (value_assign, value_ind): Make the funcs variable const. | |
772 | * value.c (struct value): Make location.computed.funcs target const. | |
773 | Rearrange the comments. | |
774 | (allocate_computed_value): Make the funcs parameter target const. | |
775 | (value_computed_funcs): Return the funcs target const. | |
776 | (value_free, value_copy, set_value_component_location): Make the funcs | |
777 | variable const. | |
778 | * value.h (allocate_computed_value): Make the funcs parameter target | |
779 | const. | |
780 | (value_computed_funcs): Return the funcs target const. | |
781 | * windows-tdep.c (tlb_value_funcs): Make it const. | |
782 | ||
f652de6f HZ |
783 | 2011-07-14 Hui Zhu <teawater@gmail.com> |
784 | ||
785 | * remote.c (remote_get_trace_status): Initialize p. | |
786 | ||
67f41397 JK |
787 | 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
788 | ||
789 | Work around kgdb. | |
790 | * remote.c (remote_get_trace_status): New variable ex. Put | |
791 | remote_get_noisy_reply into TRY_CATCH. Call exception_fprintf for it. | |
792 | ||
d1b66e6d TT |
793 | 2011-07-13 Tom Tromey <tromey@redhat.com> |
794 | ||
795 | * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_regval_type>: Use | |
796 | value_from_contents for final conversion. | |
797 | ||
1632a688 JK |
798 | 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
799 | ||
800 | Code cleanup. | |
801 | * dwarf2loc.c (dwarf_expr_frame_base_1, dwarf2_evaluate_loc_desc_full): | |
802 | Indent prototypes so they do not get into tags. | |
803 | ||
a7035dbb JK |
804 | 2011-07-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
805 | ||
806 | Code cleanup making also optimized out values lazy. | |
807 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use | |
808 | allocate_optimized_out_value. Twice. | |
809 | (loclist_read_variable) Use allocate_optimized_out_value. Once. | |
810 | * findvar.c (read_var_value): Likewise. | |
811 | * value.c (allocate_optimized_out_value): New function. | |
812 | * value.h (allocate_optimized_out_value): New declaration. | |
813 | ||
d07ed419 JK |
814 | 2011-07-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
815 | ||
816 | Fix occasional crash of CTRL-C during DWARF read in. | |
817 | * dwarf2read.c (dwarf2_mark_helper): Return on NULL CU. | |
818 | ||
86d31898 TT |
819 | 2011-07-11 Tom Tromey <tromey@redhat.com> |
820 | ||
821 | * regcache.c (struct regcache_descr): Fix typo. | |
822 | * i387-tdep.c (i387_supply_xsave): Fix typo. | |
823 | ||
2ab95328 TT |
824 | 2011-07-11 Tom Tromey <tromey@redhat.com> |
825 | ||
826 | * dwarf2read.c (handle_DW_AT_stmt_list): New function. | |
827 | (read_file_scope, read_type_unit_scope): Use it. | |
828 | ||
04ad99e6 JK |
829 | 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
830 | ||
831 | * dwarf2expr.c (read_sleb128): Fix signed extension overflowing host | |
832 | `int'. | |
833 | ||
713389e0 PM |
834 | 2011-07-11 Phil Muldoon <pmuldoon@redhat.com> |
835 | ||
836 | PR python/12438 | |
837 | * python/python.c: Set gdbpy_should_print_stack default to off. | |
838 | (set_python): Deprecate maint set python print-stack to | |
839 | class_deprecate. | |
840 | (_initialize_python): Deprecate maint set/show python print-stack. | |
841 | Add new prefix command, python. Add new setting, print-backtrace. | |
842 | * NEWS: Document set python print-stack. Document default change. | |
843 | ||
754eadd1 PM |
844 | 2011-07-11 Phil Muldoon <pmuldoon@redhat.com> |
845 | ||
846 | * python/py-inferior.c (infpy_dealloc): New function. | |
847 | (inferior_to_inferior_object): Return a new object, or a | |
848 | new reference to the existing object. | |
849 | (find_thread_object): Cleanup references to inferior. | |
850 | (delete_thread_object): Ditto. | |
851 | * python/py-infthread.c (create_thread_object): Do not increment | |
852 | inferior reference count. | |
853 | ||
5e44ecb3 TT |
854 | 2011-07-08 Tom Tromey <tromey@redhat.com> |
855 | ||
856 | * dwarf2loc.c (locexpr_regname): New function. | |
857 | (locexpr_describe_location_piece): Use it. | |
858 | (disassemble_dwarf_expression): Add per_cu argument. Use | |
859 | locexpr_regname. | |
860 | <DW_OP_GNU_deref_type, DW_OP_GNU_const_type, | |
861 | DW_OP_GNU_regval_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret>: | |
862 | New cases. | |
863 | (locexpr_describe_location_1): Add per_cu argument. | |
864 | (locexpr_describe_location): Update. | |
865 | (loclist_describe_location): Update. | |
866 | ||
e0e9434c TT |
867 | 2011-07-08 Tom Tromey <tromey@redhat.com> |
868 | ||
869 | * dwarf2expr.c (execute_stack_op): Add QUIT. | |
870 | ||
26afc0d7 HZ |
871 | 2011-07-07 Hui Zhu <teawater@gmail.com> |
872 | ||
873 | Revert: | |
874 | 2011-07-06 Hui Zhu <teawater@gmail.com> | |
875 | * remote.c (remote_start_remote): Add TRY_CATCH for | |
876 | remote_get_trace_status. | |
877 | * tracepoint.c (disconnect_tracing): Ditto. | |
878 | ||
a40a111f AB |
879 | 2011-07-07 Andrew Burgess <aburgess@broadcom.com> |
880 | ||
881 | * cli/cli-setshow.c (do_setshow_command): Display var_zinteger | |
882 | variables as signed, not unsigned. | |
883 | ||
e2bd3b15 JB |
884 | 2011-07-06 Joel Brobecker <brobecker@adacore.com> |
885 | ||
886 | * jit.c (jit_inferior_init): Reformat forward declaration. | |
887 | ||
e3d961fe | 888 | 2011-07-06 Matt Rice <ratmice@gmail.com> |
889 | ||
890 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
891 | ||
0f3428f0 HZ |
892 | 2011-07-06 Hui Zhu <teawater@gmail.com> |
893 | ||
894 | * remote.c (remote_start_remote): Add TRY_CATCH for | |
895 | remote_get_trace_status. | |
896 | * tracepoint.c (disconnect_tracing): Ditto. | |
897 | ||
fc9f3a69 TT |
898 | 2011-07-05 Tom Tromey <tromey@redhat.com> |
899 | ||
900 | * symtab.c (operator_chars): Now static. | |
901 | * linespec.c (operator_chars): Don't declare. | |
902 | ||
26e519b9 TJB |
903 | 2011-07-05 Thiago Jung Bauermann <bauerman@br.ibm.com> |
904 | ||
905 | * ui-out.h (ui_out_field_core_addr): Fix typo in comment. | |
906 | ||
eb2a6f42 TT |
907 | 2011-07-05 Tom Tromey <tromey@redhat.com> |
908 | ||
909 | * gnu-v3-abi.c (gnuv3_rtti_type): Check TYPE_CPLUS_REALLY_JAVA. | |
910 | * gdbtypes.h (struct cplus_struct_type) <is_java>: New field. | |
911 | (TYPE_CPLUS_REALLY_JAVA): New macro. | |
912 | * dwarf2read.c (process_structure_scope): Set | |
913 | TYPE_CPLUS_REALLY_JAVA. | |
914 | ||
21083d0f | 915 | 2011-07-05 Thiago Jung Bauermann <bauerman@br.ibm.com> |
177b42fe TJB |
916 | |
917 | * ada-lang.c: Fix typos. | |
918 | * amd64-tdep.c: Likewise. | |
919 | * breakpoint.c: Likewise. | |
920 | * cli/cli-decode.c: Likewise. | |
921 | * findcmd.c: Likewise. | |
922 | * inline-frame.c: Likewise. | |
923 | * mi/mi-main.c: Likewise. | |
924 | * minsyms.c: Likewise. | |
925 | * monitor.c: Likewise. | |
926 | * monitor.h: Likewise. | |
927 | * prologue-value.c: Likewise. | |
928 | * reverse.c: Likewise. | |
929 | * s390-tdep.c: Likewise. | |
930 | ||
3b2a0cf2 JB |
931 | 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com> |
932 | ||
933 | * jit.c (jit_inferior_init): Forward declare. | |
934 | (jit_breakpoint_re_set_internal): Call jit_inferior_init. | |
935 | ||
efae1d92 JB |
936 | 2011-07-04 Joel Brobecker <brobecker@adacore.com> |
937 | ||
938 | * osabi.c (generic_elf_osabi_sniffer): Minor comment reformatting. | |
939 | ||
6040a59d JB |
940 | 2011-07-04 Tristan Gingold <gingold@adacore.com> |
941 | ||
942 | * ada-tasks.c (KNOWN_TASKS_LIST): New macro. | |
943 | (tcb_fieldno): Add activation_link field. | |
944 | (get_known_tasks_addr): Moved and rewritten. | |
945 | (get_tcb_types_info): Set activation_link field. | |
946 | (read_known_tasks_array): Add parameter. Rewritten. | |
947 | (read_known_tasks_list): New function. | |
948 | (read_known_tasks): New function. | |
949 | (ada_build_task_list): Call read_known_tasks instead of | |
950 | read_known_tasks_array. | |
951 | * ravenscar-thread.c: Add first_task_name constant. | |
952 | (has_ravenscar_runtime): Check for task list too. | |
953 | ||
cb741e45 JB |
954 | 2011-07-04 Tristan Gingold <gingold@adacore.com> |
955 | ||
956 | * ada-tasks.c: Renames fieldno to actb_fieldno. | |
957 | (ada_get_task_number): Indentation. | |
958 | (get_tcb_types_info): Remove all parameters. Write directly | |
959 | the globals. | |
960 | (ptid_from_atcb_common): Adjust. | |
961 | (read_atcb): Adjust. | |
962 | ||
7475b06c TJB |
963 | 2011-07-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
964 | ||
965 | * symtab.c (in_prologue): Remove mention of ppc's refine_prologue_limit. | |
966 | ||
15230f37 TJB |
967 | 2011-07-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
968 | ||
969 | * ui-out.c (ui_out_field_core_addr): Mention that the function | |
970 | description is in the header file. | |
971 | * ui-out.h (ui_out_field_core_addr): Document function. | |
972 | ||
65743aba TJB |
973 | 2011-07-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
974 | ||
975 | * ui-out.c (ui_out_get_field_separator): Remove unused function. | |
976 | * ui-out.h (ui_out_get_field_separator): Remove prototype. | |
977 | ||
c37a5aab TJB |
978 | 2011-07-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
979 | ||
980 | * symtab.c (expand_line_sal): Remove empty line. | |
981 | ||
59adf69e TS |
982 | 2011-07-04 Thomas Schwinge <thomas@schwinge.name> |
983 | ||
984 | * osabi.c (generic_elf_osabi_sniffer) <ELFOSABI_GNU>: Handle in the | |
985 | same way as ELFOSABI_NONE. | |
986 | <ELFOSABI_LINUX, ELFOSABI_HURD>: Remove cases. | |
987 | ||
e5dd4106 TJB |
988 | 2011-07-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
989 | ||
990 | * breakpoint.c: Fix typos in comments. | |
991 | * linespec.c: Likewise. | |
992 | * symtab.c: Likewise. | |
993 | ||
d40102a1 JB |
994 | 2011-07-04 Joel Brobecker <brobecker@adacore.com> |
995 | ||
996 | * dwarf2-frame.c (dwarf2_build_frame_info): Do not load .eh_frame | |
997 | section in separate object files. | |
998 | ||
2f741504 JK |
999 | 2011-07-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
1000 | ||
1001 | Fix false GCC warning. | |
1002 | * linespec.c (decode_line_1): Initialize values. | |
1003 | ||
418c7cf7 JK |
1004 | 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1005 | ||
1006 | * linespec.c (find_method): Accept the function type automatically only | |
1007 | if it was specified with parameter types. | |
1008 | ||
3d50dd94 JK |
1009 | 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1010 | ||
1011 | Stop on first linespec terminator instead of eating what we can. | |
1012 | * linespec.c (is_linespec_boundary): New function. | |
1013 | (name_end): Remove function. | |
1014 | (keep_name_info): New parameter on_boundary, replace the body. | |
1015 | (decode_line_1): Provide the parameter to keep_name_info. | |
1016 | (decode_compound): Likewise. Drop the trailing java return type | |
1017 | handling. Twice. | |
1018 | ||
dcf9f4ab JK |
1019 | 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1020 | ||
1021 | Fall back linespec to minimal symbols. | |
1022 | * linespec.c (decode_line_1): New variable ex, saved_argptr. Protect | |
1023 | decode_compound by TRY_CATCH, fall back on minsyms if it failed. | |
1024 | (find_method, symbol_found): Change error to cplusplus_error. | |
1025 | ||
3f542ed1 JK |
1026 | 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1027 | ||
bc68c4e5 | 1028 | * symtab.c (symbol_find_demangled_name): Remove DMGL_VERBOSE. |
3f542ed1 | 1029 | |
900e11f9 JK |
1030 | 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1031 | Tom Tromey <tromey@redhat.com> | |
1032 | ||
1033 | * dwarf2read.c (check_physname): New variable. | |
1034 | (dwarf2_physname): Prefer DW_AT_linkage_name over dwarf2_compute_name. | |
1035 | (show_check_physname): New function. | |
1036 | (_initialize_dwarf2_read): Add `check-physname' for check_physname. | |
1037 | ||
2301925d JB |
1038 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1039 | ||
1040 | * machoread.c (macho_symfile_read): Delete OBE comment. | |
1041 | ||
38947cca JB |
1042 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1043 | ||
1044 | * machoread.c (struct macho_oso_data): Delete. | |
1045 | (current_oso): Delete. | |
1046 | (macho_relocate_common_syms): New function, mostly extracted | |
1047 | out of | |
1048 | (macho_add_oso_symfile): Call macho_relocate_common_syms. | |
1049 | Remove code that sets and unset current_oso. | |
1050 | (macho_symfile_relocate): Delete handling of common symbols, | |
1051 | now moved to macho_relocate_common_syms. | |
1052 | ||
a7aa0d73 JB |
1053 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1054 | ||
1055 | * darwin-nat.c (darwin_ptrace): Add documentation. | |
1056 | Set errno to zero before calling ptrace. If ptrace returns | |
1057 | -1 and errno is zero, then change then return zero. | |
1058 | (darwin_kill_inferior): Issue a warning instead of triggering | |
1059 | a failed assertion when the PT_KILL ptrace operations returned | |
1060 | nonzero. | |
1061 | ||
5e9bc145 JB |
1062 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1063 | ||
1064 | * darwin-nat.c (darwin_detach): Call darwin_resume_inferior | |
1065 | only when inf->private->no_ptrace. | |
1066 | ||
00eb2c4a JB |
1067 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1068 | ||
1069 | * ada-lang.c (print_it_exception): Print temporary catchpoints | |
1070 | as "Temporary catchpoint". | |
1071 | (print_mention_exception): Likewise. | |
1072 | ||
127c81bc TT |
1073 | 2011-07-01 Tom Tromey <tromey@redhat.com> |
1074 | ||
1075 | * jv-lang.c (java_language_defn): Use java_printchar, | |
1076 | java_printstr. | |
1077 | (java_get_encoding): New function. | |
1078 | (java_emit_char): Use generic_emit_char. | |
1079 | (java_printchar): New function. | |
1080 | (java_printstr): Likewise. | |
1081 | ||
25552254 JB |
1082 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1083 | ||
1084 | * ada-typeprint.c (print_record_type): If unable to decode | |
1085 | the name of the parent type, use the encoded name. | |
1086 | ||
d2d43431 JB |
1087 | 2011-07-01 Jean-Charles Delay <delay@adacore.com> |
1088 | ||
1089 | * ada-typeprint.c (ada_print_type): Fix both PAD type and | |
1090 | pointer to constrained packed array type output. | |
1091 | * ada-valprint.c (ada_val_print_1): Fix pointer to constrained | |
1092 | packed array output. | |
1093 | ||
54ae186f JB |
1094 | 2011-07-01 Jean-Charles Delay <delay@adacore.com> |
1095 | ||
1096 | * ada-typeprint.c (print_array_type): removed if condition on show | |
1097 | being negative for bounds printing. | |
1098 | ||
8f17729f JB |
1099 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1100 | ||
1101 | * ada-lang.c (ada_identical_enum_types_p): New function. | |
1102 | (symbols_are_identical_enums): New function. | |
1103 | (remove_extra_symbols): Do nothing if NSYMS < 2. | |
1104 | Use symbols_are_identical_enums. | |
1105 | ||
f5aa6869 JB |
1106 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1107 | ||
1108 | * ada-valprint.c (ada_value_print): Handle typedefs. | |
1109 | ||
8f465ea7 JB |
1110 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1111 | ||
1112 | * ada-lang.c (ada_evaluate_subexp): Add missing word in comment. | |
1113 | ||
828292f2 JB |
1114 | 2011-07-01 Eric Botcazou <ebotcazou@adacore.com> |
1115 | ||
1116 | * ada-lang.c (thin_descriptor_type): Deal with typedefs. | |
1117 | (decode_constrained_packed_array): Likewise. | |
1118 | (ada_evaluate_subexp) <TERNOP_SLICE>: Likewise. | |
1119 | ||
18920c42 JB |
1120 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1121 | ||
1122 | * ada-exp.y (convert_char_literal): Handle typedef types. | |
1123 | ||
c90092fe JB |
1124 | 2011-07-01 Joel Brobecker <brobecker@adacore.com> |
1125 | ||
1126 | * ada-lang.c (ada_remove_trailing_digits): Expand documentation. | |
1127 | ||
f748fb40 TT |
1128 | 2011-06-30 Tom Tromey <tromey@redhat.com> |
1129 | ||
1130 | * varobj.c (varobj_create): Call do_cleanups on early exit path. | |
1131 | * valops.c (find_overload_match): Call do_cleanups on early exit | |
1132 | path. | |
1133 | * solib.c (solib_find): Call do_cleanups on early exit path. | |
1134 | ||
3bb47e8b TT |
1135 | 2011-06-30 Tom Tromey <tromey@redhat.com> |
1136 | ||
1137 | * symfile-mem.c (symbol_file_add_from_memory): Call do_cleanups. | |
1138 | * solib-svr4.c (open_symbol_file_object): Call do_cleanups on all | |
1139 | return paths. Defer final do_cleanups until last return. | |
1140 | * arm-tdep.c (arm_exidx_new_objfile): Make null cleanup after | |
1141 | early return. | |
1142 | ||
4727bad3 TT |
1143 | 2011-06-30 Tom Tromey <tromey@redhat.com> |
1144 | ||
1145 | * Makefile.in (SUBDIR_MI_CFLAGS): Don't add -DMI_OUT=1. | |
1146 | ||
bb361dbf AB |
1147 | 2011-06-30 Andrew Burgess <aburgess@broadcom.com> |
1148 | ||
1149 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
1150 | ||
e0d00bc7 JK |
1151 | 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
1152 | ||
1153 | Disable epilogue unwinders on recent GCCs. | |
1154 | * amd64-tdep.c (amd64_in_function_epilogue_p): New variable symtab, | |
1155 | initialize it, return 0 on EPILOGUE_UNWIND_VALID. | |
1156 | * dwarf2read.c (process_full_comp_unit): Initialize | |
1157 | EPILOGUE_UNWIND_VALID. | |
1158 | * i386-tdep.c (i386_in_function_epilogue_p): New variable symtab, | |
1159 | initialize it, return 0 on EPILOGUE_UNWIND_VALID. | |
1160 | * symtab.h (struct symtab): New field epilogue_unwind_valid. | |
1161 | ||
4632c0d0 JK |
1162 | 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
1163 | ||
1164 | Code cleanup - reformatting. | |
1165 | * dwarf2read.c (producer_is_gcc_ge_4_0): Rename to ... | |
1166 | (producer_is_gcc_ge_4): ... here, change the return value. | |
1167 | (process_full_comp_unit): New variable gcc_4_minor, adjust the value | |
1168 | interpretation. | |
1169 | ||
32019081 JK |
1170 | 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
1171 | ||
1172 | Fix non-only rename list for Fortran modules import. | |
1173 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Adjust the | |
1174 | cp_add_using_directive caller. | |
1175 | (cp_add_using_directive): New parameter excludes, describe it. New | |
1176 | variables ix and param. Compare if also excludes match. Allocate NEW | |
1177 | with variable size, initialize EXCLUDES there. | |
1178 | (cp_lookup_symbol_imports): New variable excludep, test | |
1179 | current->EXCLUDES with it. | |
1180 | * cp-support.h: Include vec.h. | |
1181 | (struct using_direct): New field excludes, describe it. | |
1182 | (DEF_VEC_P (const_char_ptr)): New. | |
1183 | (cp_add_using_directive): New parameter excludes. | |
1184 | * defs.h (const_char_ptr): New typedef. | |
1185 | * dwarf2read.c (read_import_statement): New variables child_die, | |
1186 | excludes and cleanups, read in excludes. | |
1187 | (read_namespace): Adjust the cp_add_using_directive caller. | |
1188 | ||
70c622a3 JK |
1189 | 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
1190 | ||
1191 | Code cleanup. | |
1192 | * cp-namespace.c (cp_add_using_directive): Turn positive comparison to | |
1193 | negative comparisons. | |
1194 | ||
39c4d40a TT |
1195 | 2011-06-29 André Pönitz <andre.poenitz@nokia.com> |
1196 | ||
1197 | * mi/mi-main.c (mi_cmd_list_features): Emit | |
1198 | breakpoint-notifications. | |
1199 | ||
3b2b8fea TT |
1200 | 2011-06-29 Tom Tromey <tromey@redhat.com> |
1201 | ||
1202 | PR fortran/10036: | |
1203 | * valprint.h (generic_emit_char, generic_printstr): Declare. | |
1204 | * valprint.c (wchar_printable, append_string_as_wide) | |
1205 | (print_wchar): Move from c-lang.c. | |
1206 | (generic_emit_char): New function; mostly taken from c_emit_char. | |
1207 | (generic_printstr): New function; mostly taken from c_printstr. | |
1208 | * f-valprint.c (f_val_print) <TYPE_CODE_ARRAY>: Handle strings | |
1209 | represented as arrays. | |
1210 | <TYPE_CODE_CHAR>: Treat as TYPE_CODE_INT; recognize as character | |
1211 | type. | |
1212 | * f-typeprint.c (f_type_print_base) <TYPE_CODE_CHAR>: Treat | |
1213 | identically to TYPE_CODE_INT. | |
1214 | * f-lang.c (f_get_encoding): New function. | |
1215 | (f_emit_char): Use generic_emit_char. | |
1216 | (f_printchar): Replace comment. | |
1217 | (f_printstr): Use generic_printstr. | |
1218 | * dwarf2read.c (read_base_type) <DW_ATE_unsigned>: Handle Fortran | |
1219 | "character" types specially. | |
1220 | <DW_ATE_signed_char, DW_ATE_unsigned_char>: Make TYPE_CODE_CHAR | |
1221 | for Fortran. | |
1222 | * c-lang.c (wchar_printable, append_string_as_wide, print_wchar): | |
1223 | Move to valprint.c | |
1224 | (c_emit_char): Call generic_emit_char. | |
1225 | (c_printstr): Call generic_printstr. | |
1226 | ||
168e6d44 GB |
1227 | 2011-06-29 Gary Benson <gbenson@redhat.com> |
1228 | ||
1229 | * breakpoint.c (bpstat_what): Removed duplicated case. | |
1230 | ||
1c033f8c TT |
1231 | 2011-06-28 Tom Tromey <tromey@redhat.com> |
1232 | ||
1233 | * python/python-internal.h (PY_SSIZE_T_CLEAN): Define. | |
1234 | ||
5fe41fbf TT |
1235 | 2011-06-27 Tom Tromey <tromey@redhat.com> |
1236 | ||
1237 | * valops.c (find_overload_match): Call do_cleanups before early | |
1238 | return. | |
1239 | * top.c (execute_command): Call do_cleanups before early return. | |
1240 | (command_loop): Likewise. | |
1241 | * stack.c (backtrace_command): Make a null cleanup early. Don't | |
1242 | conditionally call do_cleanups. | |
1243 | * python/py-value.c (TRY_CATCH): Move cleanup handling into | |
1244 | TRY_CATCH. | |
1245 | * python/py-breakpoint.c (gdbpy_breakpoint_has_py_cond): Rearrange | |
1246 | so cleanups are always run. | |
1247 | * mi/mi-cmd-var.c (mi_cmd_var_delete): Reset old_cleanups. | |
1248 | * findcmd.c (parse_find_args): Call do_cleanups on early return | |
1249 | path. | |
1250 | * dbxread.c (elfstab_build_psymtabs): Make a null cleanup early. | |
1251 | Don't conditionally call do_cleanups. | |
1252 | * cli/cli-script.c (execute_user_command): Initialize 'old_chain' | |
1253 | later. | |
1254 | ||
e26bd57d EB |
1255 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
1256 | ||
1257 | * MAINTAINERS (Write After Approval): Use default email address. | |
1258 | ||
6c3097fc JB |
1259 | 2011-06-27 Joel Brobecker <brobecker@adacore.com> |
1260 | ||
1261 | * MAINTAINERS (Write After Approval): Add Eric Botcazou. | |
1262 | ||
369c397b JB |
1263 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
1264 | ||
1265 | * sparc-tdep.h (struct sparc_frame_cache): Add frame_offset, | |
1266 | saved_regs_mask and copied_regs_mask fields. | |
1267 | (sparc_record_save_insn): New prototype. | |
1268 | * sparc-tdep.c (sparc_alloc_frame_cache): Initialize the new fields. | |
1269 | (sparc_record_save_insn): New function. | |
1270 | (sparc_analyze_prologue): Add head comment. Recognize store insns | |
1271 | of call-saved registers. Use OFFSET consistently. Recognize flat | |
1272 | frames and cache their settings. | |
1273 | (sparc32_skip_prologue): Handle flat frames. | |
1274 | (sparc_frame_cache): Add frame_offset to the base address. | |
1275 | (sparc32_frame_cache): Adjust to new frame description. | |
1276 | (sparc32_frame_prev_register): Likewise. | |
1277 | * sparc64-tdep.c (sparc64_frame_prev_register): Likewise. | |
1278 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise. | |
1279 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise. | |
1280 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_cache): Force the | |
1281 | frame by calling sparc_record_save_insn. | |
1282 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_cache): Likewise. | |
1283 | * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_cache): Likewise. | |
1284 | * sparc64obsd-tdep.c (sparc64obsd_frame_cache): Likewise. | |
1285 | ||
b315ab21 TG |
1286 | 2011-06-27 Tristan Gingold <gingold@adacore.com> |
1287 | ||
1288 | * dwarf2read.c (struct dwarf2_section_info): Replace was_mmapped | |
1289 | field by map_addr and map_len. | |
1290 | (dwarf2_read_section): Adjust for the new bfd_mmap api. | |
1291 | (munmap_section_buffer): Likewise. | |
1292 | ||
ddd49eee TT |
1293 | 2011-06-24 Tom Tromey <tromey@redhat.com> |
1294 | ||
1295 | * varobj.c (update_dynamic_varobj_children): Make 'name' const. | |
1296 | * symtab.h (lookup_struct, lookup_union, lookup_enum): Update. | |
1297 | * python/python.c (gdbpy_parameter): Make 'arg' const. | |
1298 | (execute_gdb_command): Likewise. | |
1299 | (gdbpy_decode_line): Likewise. Copy it. | |
1300 | (gdbpy_parse_and_eval): Make 'expr_string' const. Copy it. | |
1301 | (gdbpy_write): Make 'arg' const. | |
1302 | * python/py-type.c (typy_lookup_typename): Make 'type_name' | |
1303 | const. | |
1304 | (gdbpy_lookup_type): Likewise. | |
1305 | * python/py-prettyprint.c (print_children): Make 'name' const. | |
1306 | * python/py-param.c (parmpy_init): Make 'name' const. Copy it. | |
1307 | * python/py-inferior.c (infpy_write_memory): Make 'buf_len' a | |
1308 | Py_ssize_t. | |
1309 | * python/py-function.c (fnpy_init): Make 'name' const. | |
1310 | * python/py-cmd.c (cmdpy_init): Make 'name' const. Copy it. | |
1311 | (gdbpy_string_to_argv): Make 'input' const. | |
1312 | * python/py-breakpoint.c (bppy_init): Make 'spec' const. Copy | |
1313 | it. | |
1314 | * gdbtypes.h (lookup_typename): Update. | |
1315 | * gdbtypes.c (lookup_typename): Make 'name' const. | |
1316 | (lookup_struct): Likewise. | |
1317 | (lookup_union): Likewise. | |
1318 | (lookup_enum): Likewise. | |
1319 | ||
5998129b TT |
1320 | 2011-06-24 Tom Tromey <tromey@redhat.com> |
1321 | ||
1322 | * Makefile.in (HFILES_NO_SRCDIR): Add "common/" to | |
1323 | gdb_thread_db.h. Move all common/ entries to be together. | |
1324 | (TAGS): Don't depend on DEPFILES. | |
1325 | ||
6e586cc5 YQ |
1326 | 2011-06-23 Yao Qi <yao@codesourcery.com> |
1327 | ||
1328 | * infrun.c (start_remote): Move call init_wait_for_inferior to ... | |
1329 | * remote.c (remote_start_remote): ... here. | |
1330 | * monitor.c (monitor_open): ... here. | |
1331 | ||
86c3c1fc AB |
1332 | 2011-06-23 Andrew Burgess <aburgess@broadcom.com> |
1333 | ||
1334 | * gdbtypes.c (append_composite_type_field_aligned): Fix | |
1335 | calculation of bit position based on alignment. | |
1336 | ||
28010a5d PA |
1337 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1338 | ||
1339 | * breakpoint.c (bpstat_stop_status): Call the check_status | |
1340 | breakpoint_ops method. | |
1341 | (print_one_breakpoint_location): Also print the condition for Ada | |
1342 | exception catchpoints. | |
1343 | (allocate_bp_location): New, factored out from | |
1344 | allocate_bp_location. | |
1345 | (allocate_bp_location): Adjust. Call the owner breakpoint's | |
1346 | allocate_location method, if there is one. | |
1347 | (free_bp_location): Call the locations's dtor method, if there is | |
1348 | one. | |
1349 | (init_raw_breakpoint_without_location): New breakpoint_ops | |
1350 | parameter. Use it. | |
1351 | (set_raw_breakpoint_without_location): Adjust. | |
1352 | (init_raw_breakpoint): New breakpoint_ops parameter. Pass it down. | |
1353 | (set_raw_breakpoint): Adjust. | |
1354 | (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops) | |
1355 | (catch_syscall_breakpoint_ops): Install NULL allocate_location, | |
1356 | re_set and check_status methods. | |
1357 | (init_catchpoint): Don't memset, initialize thread, addr_string | |
1358 | and enable_state. Pass the ops down to init_raw_breakpoint. | |
1359 | (install_catchpoint): Rename to ... | |
1360 | (install_breakpoint): ... this, and make extern. | |
1361 | (create_fork_vfork_event_catchpoint): Adjust. | |
1362 | (catch_exec_breakpoint_ops): Install NULL allocate_location, | |
1363 | re_set and check_status methods. | |
1364 | (create_syscall_event_catchpoint): Adjust. | |
1365 | (ranged_breakpoint_ops, watchpoint_breakpoint_ops) | |
1366 | (masked_watchpoint_breakpoint_ops): Install NULL | |
1367 | allocate_location, re_set and check_status methods. | |
1368 | (catch_exec_command_1): Adjust. | |
1369 | (gnu_v3_exception_catchpoint_ops): Install NULL allocate_location, | |
1370 | re_set and check_status methods. | |
1371 | (create_ada_exception_breakpoint): Rename to ... | |
1372 | (init_ada_exception_breakpoint): ... this. Add a struct | |
1373 | breakpoint parameter, and delete the exp_string, cond_string and | |
1374 | cond parameters. Use init_raw_breakpoint, and don't install or | |
1375 | mention the breakpoint yet. Don't clear breakpoint fields that | |
1376 | init_raw_breakpoint already clears. | |
1377 | (re_set_breakpoint): Delete, split into ... | |
1378 | (breakpoint_re_set_default, prepare_re_set_context): ... these new | |
1379 | functions. | |
1380 | (breakpoint_re_set_one): Call the breakpoint's | |
1381 | breakpoint_ops->re_set implementation, if there's one. Adjust. | |
1382 | * breakpoint.h: Forward declare struct bpstats and struct bp_location. | |
1383 | (struct bp_location_ops): New type. | |
1384 | (struct bp_location): New field `ops'. | |
1385 | (struct breakpoint_ops): New `allocate_location', `re_set' and | |
1386 | `check_status' fields. Make `breakpoint_hit''s description match | |
1387 | reality. | |
1388 | (init_bp_location): Declare. | |
1389 | (breakpoint_re_set_default): Declare. | |
1390 | (create_ada_exception_breakpoint): Rename to ... | |
1391 | (init_ada_exception_breakpoint): ... this. Add a struct | |
1392 | breakpoint parameter, and delete the exp_string, cond_string and | |
1393 | cond parameters. | |
1394 | (install_breakpoint): Declare. | |
1395 | * ada-lang.c: Include exceptions.h. | |
1396 | <Ada exceptions description>: Update. | |
1397 | (struct ada_catchpoint_location): New type. | |
1398 | (ada_catchpoint_location_dtor): New function. | |
1399 | (ada_catchpoint_location_ops): New global. | |
1400 | (ada_catchpoint): New type. | |
1401 | (create_excep_cond_exprs): New function. | |
1402 | (dtor_exception, allocate_location_exception, re_set_exception) | |
1403 | (should_stop_exception, check_status_exception): New functions. | |
1404 | (print_one_exception, print_mention_exception) | |
1405 | (print_recreate_exception): Adjust. | |
1406 | (dtor_catch_exception, allocate_location_catch_exception) | |
1407 | (re_set_catch_exception, check_status_catch_exception): New | |
1408 | functions. | |
1409 | (catch_exception_breakpoint_ops): Install them. | |
1410 | (dtor_catch_exception_unhandled) | |
1411 | (allocate_location_catch_exception_unhandled) | |
1412 | (re_set_catch_exception_unhandled) | |
1413 | (check_status_catch_exception_unhandled): New functions. | |
1414 | (catch_exception_unhandled_breakpoint_ops): Install them. | |
1415 | (dtor_catch_assert, allocate_location_catch_assert) | |
1416 | (re_set_catch_assert, check_status_catch_assert): New functions. | |
1417 | (catch_assert_breakpoint_ops): Install them. | |
1418 | (ada_exception_catchpoint_p): Delete. | |
1419 | (catch_ada_exception_command_split) | |
1420 | (ada_exception_catchpoint_cond_string): Rename exp_string | |
1421 | parameter to excep_string. Adjust. | |
1422 | (ada_parse_catchpoint_condition): Delete. | |
1423 | (ada_exception_sal): Rename the exp_string parameter to | |
1424 | excep_string. Delete the cond_string and cond parameters. | |
1425 | Adjust. | |
1426 | (ada_decode_exception_location): Rename the exp_string parameter | |
1427 | to excep_string. Delete the cond_string and cond parameters. | |
1428 | Adjust. | |
1429 | (create_ada_exception_catchpoint): New function. | |
1430 | (catch_ada_exception_command, ada_decode_assert_location) | |
1431 | (catch_assert_command): Adjust. | |
1432 | * ada-lang.h (ada_exception_catchpoint_p): Delete declaration. | |
1433 | ||
9ac4176b PA |
1434 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1435 | ||
1436 | * ada-lang.c: Include arch-utils.h. | |
1437 | (ada_decode_exception_location): Make static. | |
1438 | (catch_ada_exception_command): Moved here from breakpoint.c. | |
1439 | (ada_decode_assert_location): Make static. | |
1440 | (catch_assert_command): Moved here from breakpoint.c. | |
1441 | (_initialize_ada_lang): Install the exception and assert | |
1442 | catchpoint commands here. | |
1443 | * ada-lang.h (ada_decode_exception_location) | |
1444 | (ada_decode_assert_location): Delete declarations. | |
1445 | * breakpoint.c (CATCH_PERMANENT, CATCH_TEMPORARY): Moved to | |
1446 | breakpoint.h. | |
1447 | (create_ada_exception_breakpoint): Make extern. | |
1448 | (catch_ada_exception_command, catch_assert_command): Moved to | |
1449 | ada-lang.c. | |
1450 | (add_catch_command): Make extern. | |
1451 | (_initilize_breakpoint): Don't install the exception and assert | |
1452 | catchpoint commands here. | |
1453 | * breakpoint.h (CATCH_PERMANENT, CATCH_TEMPORARY): Moved from | |
1454 | breakpoint.c | |
1455 | (add_catch_command, create_ada_exception_breakpoint): Declare. | |
1456 | ||
c56053d2 PA |
1457 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1458 | ||
1459 | * breakpoint.c (init_raw_breakpoint_without_location): Don't add | |
1460 | the breakpoint to the breakpoint chain here. | |
1461 | (set_raw_breakpoint_without_location): Add the breakpoint to the | |
1462 | breakpoint chain here. | |
1463 | (init_raw_breakpoint): Adjust comments. | |
1464 | (set_raw_breakpoint): Add the breakpoint to the breakpoint chain | |
1465 | here. | |
1466 | (init_catchpoint): Don't set the catchpoint's breakpoint number | |
1467 | here. | |
1468 | (install_catchpoint): New function. | |
1469 | (create_fork_vfork_event_catchpoint) | |
1470 | (create_syscall_event_catchpoint, catch_exec_command_1): Adjust to | |
1471 | use install_catchpoint. | |
1472 | ||
d2f3fc74 PA |
1473 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1474 | ||
1475 | * breakpoint.c (create_catchpoint_without_mention) | |
1476 | (create_catchpoint): Delete. | |
1477 | ||
b4d90040 PA |
1478 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1479 | ||
1480 | * breakpoint.h (struct breakpoint): Delete field `exec_pathname'. | |
1481 | * breakpoint.c (init_raw_breakpoint_without_location): Remove | |
1482 | reference to exec_pathname. | |
1483 | (struct exec_catchpoint): New type. | |
1484 | (dtor_catch_exec): New function. | |
1485 | (insert_catch_exec, print_it_catch_exec, print_one_catch_exec): Adjust. | |
1486 | (catch_exec_breakpoint_ops): Install dtor_catch_syscall. | |
1487 | (catch_exec_command_1): Adjust to use init_catchpoint. | |
1488 | (delete_breakpoint): Remove reference to exec_pathname. | |
1489 | ||
be5c67c1 PA |
1490 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1491 | ||
1492 | * breakpoint.h (struct breakpoint_ops): New field `dtor'. | |
1493 | (struct breakpoint): Delete field `syscalls_to_be_caught'. | |
1494 | * breakpoint.c (init_raw_breakpoint_without_location): Remove | |
1495 | reference to syscalls_to_be_caught. | |
1496 | (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops): Install a | |
1497 | NULL `dtor'. | |
1498 | (struct syscall_catchpoint): New type. | |
1499 | (dtor_catch_syscall): New function. | |
1500 | (insert_catch_syscall, remove_catch_syscall) | |
1501 | (breakpoint_hit_catch_syscall, print_one_catch_syscall) | |
1502 | (print_recreate_catch_syscall): Adjust. | |
1503 | (catch_syscall_breakpoint_ops): Install dtor_catch_syscall. | |
1504 | (catch_exec_breakpoint_ops): Install a NULL `dtor'. | |
1505 | (create_syscall_event_catchpoint): Adjust to use init_catchpoint. | |
1506 | (ranged_breakpoint_ops, watchpoint_breakpoint_ops) | |
1507 | (masked_watchpoint_breakpoint_ops) | |
1508 | (gnu_v3_exception_catchpoint_ops): Install a NULL `dtor'. | |
1509 | (delete_breakpoint): Call the `dtor' breakpoint_ops method, if | |
1510 | there is one. Remove references to syscalls_to_be_caught. | |
1511 | (catching_syscall_number): Adjust. | |
1512 | * ada-lang.c (catch_exception_breakpoint_ops) | |
1513 | (catch_exception_unhandled_breakpoint_ops) | |
1514 | (catch_assert_breakpoint_ops): Install a NULL `dtor'. | |
1515 | ||
e29a4733 PA |
1516 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1517 | ||
1518 | * breakpoint.h (struct breakpoint): Delete forked_inferior_pid | |
1519 | field. | |
1520 | * breakpoint.c (init_raw_breakpoint_without_location): Remove | |
1521 | reference to forked_inferior_pid. | |
1522 | (struct fork_catchpoint): New type. | |
1523 | (breakpoint_hit_catch_fork, print_it_catch_fork) | |
1524 | (print_one_catch_fork, breakpoint_hit_catch_vfork) | |
1525 | (print_it_catch_vfork, print_one_catch_vfork): Adjust. | |
1526 | (create_fork_vfork_event_catchpoint): Adjust to use | |
1527 | init_catchpoint. | |
1528 | ||
346774a9 PA |
1529 | 2011-06-22 Pedro Alves <pedro@codesourcery.com> |
1530 | ||
1531 | * breakpoint.c (add_to_breakpoint_chain) | |
1532 | (init_raw_breakpoint_without_location): New functions, factored | |
1533 | out from ... | |
1534 | (set_raw_breakpoint_without_location): ... this one. | |
1535 | (init_raw_breakpoint): New function, factored out from | |
1536 | set_raw_breakpoint and adjusted to use | |
1537 | init_raw_breakpoint_without_location. | |
1538 | (set_raw_breakpoint): Adjust. | |
1539 | (init_catchpoint): New function, factored out from | |
1540 | create_catchpoint_without_mention and adjusted to use | |
1541 | init_raw_breakpoint. | |
1542 | (create_catchpoint_without_mention): Adjust. | |
1543 | ||
c38c4bc5 TT |
1544 | 2011-06-22 Tom Tromey <tromey@redhat.com> |
1545 | ||
1546 | * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_convert>: Treat type | |
1547 | argument of 0 specially. | |
1548 | ||
b138ce37 YQ |
1549 | 2011-06-22 Yao Qi <yao@codesourcery.com> |
1550 | ||
1551 | * infrun.c (handle_inferior_event): Remove write-only local variable | |
1552 | `sw_single_step_trap_p'. | |
1553 | ||
03de6823 TT |
1554 | 2011-06-20 Tom Tromey <tromey@redhat.com> |
1555 | ||
1556 | * symtab.c (lookup_language_this): End loop if block is NULL. | |
1557 | ||
66a17cb6 TT |
1558 | 2011-06-17 Tom Tromey <tromey@redhat.com> |
1559 | ||
1560 | * valops.c (value_of_this): Use lookup_language_this. | |
1561 | * symtab.h (lookup_language_this): Declare. | |
1562 | * symtab.c (lookup_language_this): New function. | |
1563 | (lookup_symbol_aux): Use lookup_language_this. | |
1564 | * ax-gdb.c (gen_expr) <OP_THIS>: Use lookup_language_this. | |
1565 | ||
7518bff5 TT |
1566 | 2011-06-17 Tom Tromey <tromey@redhat.com> |
1567 | ||
1568 | * value.h (value_of_this): Update. | |
1569 | (value_of_local): Remove. | |
1570 | * valops.c (value_of_this): Rename from value_of_local. Change | |
1571 | parameters. | |
1572 | * p-exp.y (exp): Update. | |
1573 | (variable): Likewise. | |
1574 | * eval.c (evaluate_subexp_standard) <OP_THIS>: Use value_of_this. | |
1575 | ||
aee28ec6 TT |
1576 | 2011-06-17 Tom Tromey <tromey@redhat.com> |
1577 | ||
1578 | * valops.c (value_of_local): Complain if NAME is NULL. | |
1579 | * std-operator.def (OP_OBJC_SELF): Remove. | |
1580 | * parse.c (operator_length_standard) <OP_OBJC_SELF>: Remove. | |
1581 | * objc-exp.y (name_not_typename): Use OP_THIS. | |
1582 | * expprint.c (print_subexp_standard) <OP_THIS>: Print language's | |
1583 | name for "this". | |
1584 | <OP_OBJC_SELF>: Remove. | |
1585 | * eval.c (evaluate_subexp_standard) <OP_OBJC_SELF>: Remove. | |
1586 | ||
eed8f803 TG |
1587 | 2011-06-16 Tristan Gingold <gingold@adacore.com> |
1588 | ||
1589 | * python/py-events.h (gdb_py_events): Make it extern. | |
1590 | * python/py-evtregistry.c (gdb_py_events): Declare. | |
1591 | ||
864ac8a7 HZ |
1592 | 2011-06-16 Hui Zhu <teawater@gmail.com> |
1593 | ||
1594 | * remote.c (remote_trace_set_readonly_regions): Add check for | |
1595 | remote_protocol_packets[PACKET_qXfer_traceframe_info].support before | |
1596 | output warning. | |
1597 | ||
ef7e8358 UW |
1598 | 2011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org> |
1599 | ||
1600 | * arm-linux-tdep.c: Include "auxv.h". | |
1601 | (AT_HWCAP): Define. | |
1602 | (ARM_LINUX_SIZEOF_VFP): Define. | |
1603 | (arm_linux_supply_vfp): New function. | |
1604 | (arm_linux_collect_vfp): Likewise. | |
1605 | (arm_linux_regset_from_core_section): Handle .reg-arm-vfp sections. | |
1606 | (arm_linux_fpa_regset_sections): New variable. | |
1607 | (arm_linux_vfp_regset_sections): Likewise. | |
1608 | (arm_linux_core_read_description): New function. | |
1609 | (arm_linux_init_abi): Install arm_linux_core_read_description and | |
1610 | arm_linux_fpa_regset_sections or arm_linux_vfp_regset_sections as | |
1611 | appropriate for the architecture. | |
1612 | * arm-tdep.h (struct gdbarch_tdep): Add member "vfpregset". | |
1613 | (tdesc_arm_with_m): Declare. | |
1614 | (tdesc_arm_with_iwmmxt): Likewise. | |
1615 | (tdesc_arm_with_vfpv2): Likewise. | |
1616 | (tdesc_arm_with_vfpv3): Likewise. | |
1617 | (tdesc_arm_with_neon): Likewise. | |
1618 | * arm-linux-nat.c: Move features/*.c includes ... | |
1619 | * arm-tdep.c: ... here. | |
1620 | * arm-linux-nat.c (arm_linux_read_description): Move initializing | |
1621 | target description data structures ... | |
1622 | * arm-tdep.c (_initialize_arm_tdep): ... here. | |
1623 | * arm-linux-nat.c (HWCAP_VFP, HWCAP_IWMMXT, HWCAP_NEON, HWCAP_VFPv3, | |
1624 | HWCAP_VFPv3D16): Move definitions ... | |
1625 | * arm-linux-tdep.h: ... here. | |
1626 | ||
c2fa21f1 HZ |
1627 | 2011-06-15 Hui Zhu <teawater@gmail.com> |
1628 | ||
1629 | * remote.c (remote_trace_set_readonly_regions): Add a check for | |
1630 | target_buf_size. | |
1631 | ||
dd707e8e TT |
1632 | 2011-06-14 Tom Tromey <tromey@redhat.com> |
1633 | ||
1634 | * coffread.c (coffread_objfile): Rename from current_objfile. | |
1635 | * dbxread.c (dbxread_objfile): Rename from current_objfile. | |
1636 | * mdebugread.c (mdebugread_objfile): Rename from current_objfile. | |
1637 | ||
86cc0029 TT |
1638 | 2011-06-14 Tom Tromey <tromey@redhat.com> |
1639 | ||
1640 | * jv-lang.c (jv_type_objfile_data_key, dynamics_objfile) | |
1641 | (class_symtab): Remove. | |
1642 | (jv_dynamics_progspace_key): New global. | |
1643 | (jv_per_objfile_free): Reset program space data. Update assert. | |
1644 | Don't clear globals. | |
1645 | (get_dynamics_objfile): Use and set program space data. | |
1646 | (get_java_class_symtab): Use get_dynamics_objfile. | |
1647 | (add_class_symbol): Likewise. | |
1648 | (java_link_class_type): Likewise. | |
1649 | (java_object_type, jv_clear_object_type, set_java_object_type): | |
1650 | Remove. | |
1651 | (get_java_object_type): Update. Don't cache result. | |
1652 | (is_object_type): Don't call set_java_object_type. | |
1653 | (_initialize_java_language): Don't set jv_type_objfile_data_key; | |
1654 | initialize jv_dynamics_progspace_key. | |
1655 | ||
91a81f69 TT |
1656 | 2011-06-14 Tom Tromey <tromey@redhat.com> |
1657 | ||
1658 | * symtab.h (current_objfile): Don't declare. | |
1659 | * objfiles.h (current_objfile): Don't declare. | |
1660 | * objfiles.c (current_objfile): Remove. | |
1661 | * mdebugread.c (current_objfile): New file-scope global. | |
1662 | * dbxread.c (current_objfile): New file-scope global. | |
1663 | * coffread.c (current_objfile): New file-scope global. | |
1664 | ||
dc7eb48e PA |
1665 | 2011-06-13 Pedro Alves <pedro@codesourcery.com> |
1666 | ||
1667 | * top.h (line): Rename to ... | |
1668 | (saved_command_line): ... this. | |
1669 | (linesize): Rename to ... | |
1670 | (saved_command_line_size): ... this. | |
1671 | * top.c (line): Rename to ... | |
1672 | (saved_command_line): ... this. | |
1673 | (linesize): Rename to ... | |
1674 | (saved_command_line_size): ... this. | |
1675 | (dont_repeat, command_line_input, dont_repeat_command): Adjust. | |
1676 | * event-top.c (command_line_handler): Adjust. | |
1677 | * main.c (captured_main): Adjust. | |
1678 | ||
0d6c2135 MK |
1679 | 2011-06-12 Mark Kettenis <kettenis@gnu.org> |
1680 | ||
1681 | * i386-tdep.c (i386_epilogue_frame_cache): Simplify code. Call | |
1682 | get_frame_func instead of get_frame_pc to determine the code | |
1683 | address used to construct the frame ID. | |
1684 | (i386_epilogue_frame_unwind_stop_reason): Fix coding style. | |
1685 | (i386_epilogue_frame_this_id): Likewise. | |
1686 | (i386_epilogue_frame_prev_register): New function. | |
1687 | (i386_epilogue_frame_unwind): Use i386_epilogue_frame_prev_register. | |
1688 | (i386_stack_tramp_frame_sniffer): Fix coding style. | |
1689 | (i386_stack_tramp_frame_unwind): Use i386_epilogue_frame_prev_register. | |
1690 | (i386_gdbarch_init): Fix comments. | |
1691 | ||
8bbdd3f4 MK |
1692 | 2011-06-12 Mark Kettenis <kettenis@gnu.org> |
1693 | ||
1694 | * i386-tdep.c (i386_match_insn_block): Use length of the proper | |
1695 | instruction when walking back through the instruction stream. | |
1696 | ||
533a737e JK |
1697 | 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
1698 | ||
1699 | * symtab.c (output_partial_symbol_filename): Exchange the filename and | |
1700 | fullname parameters order. | |
1701 | ||
44b13c5a JK |
1702 | 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
1703 | ||
1704 | Code cleanup. | |
1705 | * dwarf2read.c (dw2_map_symbol_filenames): Use symbol_filename_ftype | |
1706 | for fun. | |
1707 | * psymtab.c (map_symbol_filenames_psymtab) | |
1708 | (map_partial_symbol_filenames): Likewise. | |
1709 | * psymtab.h: Include symfile.h. | |
1710 | (map_partial_symbol_filenames): Use symbol_filename_ftype for fun. | |
1711 | * symfile.h (symbol_filename_ftype): New. | |
1712 | (struct quick_symbol_functions): Use symbol_filename_ftype for fun of | |
1713 | map_symbol_filenames, clarify more the naming in comment. | |
1714 | ||
0b5574da DE |
1715 | 2011-06-07 Doug Evans <dje@google.com> |
1716 | ||
1717 | * cc-with-index.sh: Fix typos in comment. | |
b8e9bd6c | 1718 | Look for ../../gdb, for fullname.exp. |
0b5574da | 1719 | |
5be4dfca JK |
1720 | 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
1721 | Pedro Alves <pedro@codesourcery.com> | |
1722 | ||
1723 | * cli/cli-cmds.c (shell_escape): Use waitpid. | |
1724 | * rs6000-nat.c (exec_one_dummy_insn): Likewise. | |
1725 | ||
316a8b21 TG |
1726 | 2011-06-07 Tristan Gingold <gingold@adacore.com> |
1727 | ||
1728 | * xcoffread.c (dwarf2_xcoff_names): New variable. | |
1729 | (aix_process_linenos): Add a guard. | |
1730 | (xcoff_symfile_finish): Free dwarf2. | |
1731 | (xcoff_initial_scan): Add dwarf2 support. | |
1732 | ||
3dd5b83d PA |
1733 | 2011-06-06 Pedro Alves <pedro@codesourcery.com> |
1734 | ||
1735 | * infcall.c (run_inferior_call): Don't mask async. Instead force | |
1736 | a synchronous wait, if the target can async. | |
1737 | ||
1738 | * target.h (struct target_ops): Delete to_async_mask. | |
1739 | (target_async_mask): Delete. | |
1740 | * target.c (update_current_target): Delete references to to_async_mask. | |
1741 | * linux-nat.c (linux_nat_async_mask_value): Delete. | |
1742 | (linux_nat_is_async_p, linux_nat_can_async_p): Remove references | |
1743 | to linux_nat_async_mask_value. | |
1744 | (linux_nat_async_mask): Delete. | |
1745 | (linux_nat_async, linux_nat_close): Remove references to | |
1746 | linux_nat_async_mask_value. | |
1747 | * record.c (record_async_mask_value): Delete. | |
1748 | (record_async): Remove references to record_async_mask_value. | |
1749 | (record_async_mask): Delete. | |
1750 | (record_can_async_p, record_is_async_p): Remove references to | |
1751 | record_async_mask_value. | |
1752 | (init_record_ops, init_record_core_ops): Remove references to | |
1753 | record_async_mask. | |
1754 | * remote.c (remote_async_mask_value): Delete. | |
1755 | (init_remote_ops): Remove reference to remote_async_mask. | |
1756 | (remote_can_async_p, remote_is_async_p): Remove references to | |
1757 | remote_async_mask_value. | |
1758 | (remote_async): Remove references to remote_async_mask_value. | |
1759 | (remote_async_mask): Delete. | |
1760 | ||
1761 | * infrun.c (fetch_inferior_event): Don't claim registers changed | |
1762 | if the current thread is already not executing. | |
1763 | ||
64b9b334 JB |
1764 | 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix) |
1765 | ||
1766 | From Stephen Kitt <steve@sk2.org> | |
1767 | * breakpoint.c, breakpoint.h, cli/cli-dump.c, dwarf2expr.c, | |
1768 | gdbarch.c, gdbarch.sh, remote.c: Various spelling fixes. | |
1769 | ||
325663dc JB |
1770 | 2011-06-03 Joel Brobecker <brobecker@adacore.com> |
1771 | ||
1772 | * dwarf2expr.c (execute_stack_op) [DW_OP_deref]: Handle | |
1773 | the case where ADDR_SIZE is different from TYPE_LENGTH (type). | |
1774 | ||
8cf64490 TT |
1775 | 2011-06-03 Tom Tromey <tromey@redhat.com> |
1776 | ||
1777 | * python/py-inferior.c (python_inferior_exit): Use inferior's exit | |
1778 | code fields. | |
1779 | * python/py-exitedevent.c (create_exited_event_object): Change | |
1780 | type of 'exit_code'. Optionally add exit_code attribute. | |
1781 | (emit_exited_event): Change type of 'exit_code'. | |
1782 | * python/py-event.h (emit_exited_event): Update. | |
1783 | * mi/mi-interp.c (mi_inferior_exit): Print exit code. | |
1784 | * infrun.c (handle_inferior_event): Set exit code fields on | |
1785 | inferior. | |
1786 | * inferior.h (struct inferior) <has_exit_code, exit_code>: New | |
1787 | fields. | |
1788 | * inferior.c (exit_inferior_1): Initialize new fields. | |
1789 | ||
8ddd9a20 TT |
1790 | 2011-06-03 Tom Tromey <tromey@redhat.com> |
1791 | ||
1792 | * dwarf2expr.c (get_signed_type): New function. | |
1793 | (execute_stack_op) <DW_OP_shra>: Always perform a signed shift. | |
1794 | ||
8dfd1e6d KS |
1795 | 2011-06-02 Keith Seitz <keiths@redhat.com> |
1796 | ||
1797 | * objc-lang.c (find_methods): Increment objfile_csym earlier. | |
1798 | ||
65fdb766 PA |
1799 | 2011-06-02 Pedro Alves <pedro@codesourcery.com> |
1800 | ||
1801 | * top.h (simplified_command_loop): Delete declaration. | |
1802 | ||
f4b8c29b MF |
1803 | 2011-06-01 Mike Frysinger <vapier@gentoo.org> |
1804 | ||
1805 | * remote-sim.c (gdbsim_open): Add the strlen of " --sysroot=" and | |
1806 | gdb_sysroot to the "len" variable. Append both to "arg_buf". | |
1807 | ||
1706c199 YQ |
1808 | 2011-06-01 Yao Qi <yao@codesourcery.com> |
1809 | ||
1810 | * objfiles.h (obj_section_addr): Update reference to objfile from | |
1811 | `abfd' to `obfd'. | |
1812 | (obj_section_endaddr): Likewise. | |
1813 | ||
d19cd713 | 1814 | 2011-06-01 Daniel Jacobowitz <drow@false.org> |
8d07004d DJ |
1815 | |
1816 | * MAINTAINERS: Update my email address and affiliation. Also | |
1817 | update Ian Lance Taylor's affiliation. Use UTF-8 for ludo@gnu.org. | |
1818 | ||
e8eb7bc5 KS |
1819 | 2010-05-31 Keith Seitz <keiths@redhat.com> |
1820 | ||
1821 | PR c++/12750 | |
1822 | * linespec.c (get_search_block): New function. | |
1823 | (find_methods): Add FILE_SYMTATB parameter and use it and | |
1824 | get_search_block to pass an appropriate block to | |
1825 | lookup_symbol_in_namespace. | |
1826 | (decode_line_1): Record if *ARGPTR is single-quote enclosed. | |
1827 | Check if *ARGPTR starts with a filename first. | |
1828 | If it does, call locate_first_half again to locate the next | |
1829 | "first half" of the linespec. | |
1830 | Pass FILE_SYMTATB to decode_objc and decode_compound. | |
1831 | Swallow the trailing single-quote if IS_SQUOTE_ENCLOSED. | |
1832 | (locate_first_half): Stop on the first colon seen. | |
1833 | (decode_compound): Add FILE_SYMTAB parameter. | |
1834 | Pass FILE_SYMTAB to lookup_prefix_sym and find_method. | |
1835 | (lookup_prefix_sym): Add FILE_SYMTAB parameter and use | |
1836 | get_search_block with lookup_symbol. | |
1837 | (find_method): Add FILE_SYMTAB parameter and pass it to | |
1838 | find_methods. | |
1839 | (decode_objc): Use get_search_block. | |
1840 | ||
2b1dbab0 KS |
1841 | 2010-05-31 Keith Seitz <keiths@redhat.com> |
1842 | ||
1843 | PR symtab/12704 | |
1844 | * cp-namespace.c (ANONYMOUS_NAMESPACE_LEN): Remove. | |
1845 | (cp_scan_for_anonymous_namespaces): Use CP_ANONYMOUS_NAMESPACE_STR | |
1846 | and CP_ANONYMOUS_NAMESPACE_LEN. | |
1847 | (cp_is_anonymous): Likewise. | |
1848 | * cp-support.h (CP_ANONYMOUS_NAMESPACE_STR): Define. | |
1849 | (CP_ANONYMOUS_NAMESPACE_LEN): Define. | |
1850 | * dwarf2read.c (namespace_name): Likewise. | |
1851 | (fixup_partial_die): Likewise. | |
1852 | * linespec.c (decode_compound): If CP_ANONYMOUS_NAMESPACE_STR is | |
1853 | seen in the input, keep it. | |
1854 | ||
6d549500 PA |
1855 | 2011-05-30 Pedro Alves <pedro@codesourcery.com> |
1856 | ||
1857 | * target.h (enum inferior_event_type): Delete INF_QUIT_REQ. | |
1858 | * inf-loop.h (inferior_event_handler_wrapper): Delete. | |
1859 | * inf-loop.c (inferior_event_handler_wrapper): Delete. | |
1860 | (inferior_event_handler): Don't handle INF_QUIT_REQ. | |
1861 | * remote.c (_initialize_remote): Register | |
1862 | async_remote_interrupt_twice directly as | |
1863 | sigint_remote_twice_token event. | |
1864 | ||
395bff70 PA |
1865 | 2011-05-30 Pedro Alves <pedro@codesourcery.com> |
1866 | ||
1867 | * target.h (enum inferior_event_type): Delete INF_ERROR. | |
1868 | * inf-loop.c (inferior_event_handler): Don't handle INF_ERROR. | |
1869 | ||
97224164 PA |
1870 | 2011-05-30 Pedro Alves <pedro@codesourcery.com> |
1871 | ||
1872 | * interps.c (interp_set): Don't cancel continuations. | |
1873 | ||
07e78767 JK |
1874 | 2011-05-30 Jan Kratochvil <jan.kratochvil@redhat.com> |
1875 | ||
1876 | * linux-nat.c (linux_lwp_is_zombie): Use xsnprintf. | |
1877 | ||
fa4cd53f PA |
1878 | 2011-05-30 Pedro Alves <pedro@codesourcery.com> |
1879 | ||
1880 | * continuations.h (continuation_ftype): Add `err' parameter. | |
1881 | Document parameters. | |
1882 | (do_all_continuations, do_all_continuations_thread) | |
1883 | (do_all_intermediate_continuations) | |
1884 | (do_all_intermediate_continuations_thread) | |
1885 | (do_all_inferior_continuations): Add `err' parameter. | |
1886 | * continuations.c (do_my_continuations_1, do_my_continuations) | |
1887 | (do_all_inferior_continuations, do_all_continuations_ptid) | |
1888 | (do_all_continuations_thread_callback) | |
1889 | (do_all_continuations_thread, do_all_continuations) | |
1890 | (do_all_intermediate_continuations_thread_callback) | |
1891 | (do_all_intermediate_continuations_thread) | |
1892 | (do_all_intermediate_continuations): Add `err' parameter, and pass | |
1893 | it down all the way to the continuations proper. | |
1894 | * inf-loop.c (inferior_event_handler): If fetching an inferior | |
1895 | event throws an error, don't pop the target, and still call the | |
1896 | continuations, but with `err' set. Adjust all other continuation | |
1897 | calls. | |
1898 | * breakpoint.c (until_break_command_continuation): Add `err' | |
1899 | parameter. | |
1900 | * infcmd.c (step_1_continuation): Add `err' parameter. Don't | |
1901 | issue another step if `err' is set. | |
1902 | (struct until_next_continuation_args): New. | |
1903 | (until_next_continuation): Add `err' parameter. Adjust. | |
1904 | (until_next_command): Adjust. | |
1905 | (struct finish_command_continuation_args): Add `thread' field. | |
1906 | (finish_command_continuation): Add `err' parameter. Handle it. | |
1907 | (finish_forward): Adjust. | |
1908 | (attach_command_continuation): Add `err' parameter. Handle it. | |
1909 | * infrun.c (infrun_thread_stop_requested_callback): Adjust to | |
1910 | cancel the continuations. | |
1911 | * interps.c (interp_set): Adjust to cancel the continuations. | |
1912 | * thread.c (clear_thread_inferior_resources): Adjust to cancel the | |
1913 | continuations rather than discarding. | |
1914 | (free_thread): Don't clear thread inferior resources here. | |
1915 | (delete_thread_1): Do it here instead. And do it before removing | |
1916 | the thread from the threads list. Tag the thread as exited before | |
1917 | clearing thread inferior resources. | |
1918 | ||
c2949be0 JB |
1919 | 2011-05-30 Joel Brobecker <brobecker@adacore.com> |
1920 | ||
1921 | * infcall.c (call_function_by_hand): Rephrase error message. | |
1922 | ||
619cebe8 PA |
1923 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
1924 | ||
1925 | * defs.h (struct thread_info, struct inferior): Delete forward | |
1926 | declarations. | |
1927 | * breakpoint.h (struct thread_info): New forward declaration. | |
1928 | * observer.sh (struct inferior): New forward declaration. | |
1929 | * python/python-internal.h (struct inferior): New forward | |
1930 | declaration. | |
1931 | ||
be34f849 PA |
1932 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
1933 | ||
1934 | * defs.h (struct continuation, continuation_ftype) | |
1935 | (continuation_free_arg_ftype, add_continuation) | |
1936 | (do_all_continuations, do_all_continuations_thread) | |
1937 | (discard_all_continuations, discard_all_continuations_thread) | |
1938 | (add_intermediate_continuation, do_all_intermediate_continuations) | |
1939 | (do_all_intermediate_continuations_thread) | |
1940 | (discard_all_intermediate_continuations) | |
1941 | (discard_all_intermediate_continuations_thread) | |
1942 | (add_inferior_continuation, do_all_inferior_continuations) | |
1943 | (discard_all_inferior_continuations): Move to ... | |
1944 | * continuations.h: ... this new file. | |
1945 | * breakpoint.c, continuations.c, event-top.c, inf-loop.c, | |
1946 | infcmd.c, inferior.c, infrun.c, interps.c: Include | |
1947 | continuations.h. | |
1948 | ||
432b4d03 JK |
1949 | 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
1950 | Doug Evans <dje@google.com> | |
1951 | ||
1952 | Fix PR 10970, PR 12702. | |
1953 | * linux-nat.c (linux_lwp_is_zombie): New function. | |
1954 | (wait_lwp): Initialize status. New variable prev_mask. Block signals. | |
1955 | Check for linux_lwp_is_zombie. Use WNOHANG and sigsuspend. | |
1956 | ||
b0f260d6 PA |
1957 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
1958 | ||
1959 | * defs.h (continuation_ftype, continuation_free_arg_ftype): New | |
1960 | typedefs. | |
1961 | (add_continuation, add_intermediate_continuation) | |
1962 | (add_inferior_continuation): Use them. | |
1963 | * continuations.c (struct continuation): Use them. | |
1964 | (make_continuation_ftype): Delete. | |
1965 | (make_continuation, add_inferior_continuation, add_continuation) | |
1966 | (add_intermediate_continuation): Use continuation_ftype and | |
1967 | continuation_free_arg_ftype. Rename parameters to shorter names. | |
1968 | ||
af1e9a32 PA |
1969 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
1970 | ||
1971 | * continuations.c (make_continuation): Make it return void. | |
1972 | (do_my_continuations): Rename to ... | |
1973 | (do_my_continuations_1): ... this. Remove old_chain parameter and | |
1974 | adjust. | |
1975 | (do_my_continuations): New. | |
1976 | (discard_my_continuations): Rename to ... | |
1977 | (discard_my_continuations_1): ... this. Remove old_chain | |
1978 | parameter and adjust. | |
1979 | (discard_my_continuations): New. | |
1980 | (add_inferior_continuation): Simplify. | |
1981 | (do_all_inferior_continuations): Reimplement on top | |
1982 | do_my_continuations. | |
1983 | (discard_all_inferior_continuations): Simplify. | |
1984 | (add_continuation): Simplify. | |
1985 | (do_all_continuations_ptid): Simplify. | |
1986 | (discard_all_continuations_thread_callback): Simplify. | |
1987 | (add_intermediate_continuation): Simplify. | |
1988 | (discard_all_intermediate_continuations_thread_callback): | |
1989 | Simplify. | |
1990 | ||
50c0c017 PA |
1991 | 2011-05-27 Pedro Alves <pedro@codesourcery.com> |
1992 | ||
1993 | * utils.c (struct continuation, add_continuation) | |
1994 | (add_inferior_continuation) | |
1995 | (do_all_inferior_continuations, discard_all_inferior_continuations) | |
1996 | (restore_thread_cleanup, do_all_continuations_ptid) | |
1997 | (do_all_continuations_thread_callback) | |
1998 | (do_all_continuations_thread, do_all_continuations) | |
1999 | (discard_all_continuations_thread_callback) | |
2000 | (discard_all_continuations_thread, discard_all_continuations) | |
2001 | (add_intermediate_continuation) | |
2002 | (do_all_intermediate_continuations_thread_callback) | |
2003 | (do_all_intermediate_continuations_thread) | |
2004 | (do_all_intermediate_continuations) | |
2005 | (discard_all_intermediate_continuations_thread_callback) | |
2006 | (discard_all_intermediate_continuations_thread) | |
2007 | (discard_all_intermediate_continuations): Move to ... | |
2008 | * continuations.c: ... this new file, and adjust to no longer | |
2009 | implement continuations on top of cleanups. | |
2010 | * Makefile.in (SFILES): Add continuations.c. | |
2011 | (COMMON_OBS): Add continuations.o. | |
2012 | ||
d8b34453 PA |
2013 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2014 | ||
2015 | * inferior.h (enum exec_direction_kind): Delete EXEC_ERROR. | |
2016 | * infrun.c (show_exec_direction_func): Don't handle EXEC_ERROR. | |
2017 | Internal error on invalid values. | |
2018 | * reverse.c: Don't handle EXEC_ERROR. | |
2019 | * mi/mi-main.c: Don't handle EXEC_ERROR. | |
2020 | ||
32231432 PA |
2021 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2022 | ||
2023 | * record.c: Include event-loop.h, inf-loop.h. | |
2024 | (record_beneath_to_async): New global. | |
2025 | (tmp_to_async): New global. | |
2026 | (record_async_inferior_event_token): New global. | |
2027 | (record_open_1): Don't error out if async is enabled. | |
2028 | (record_open): Handle to_async. Create an async event source in | |
2029 | the event loop. | |
2030 | (record_close): Delete the async event source. | |
2031 | (record_resumed): New global. | |
2032 | (record_execution_dir): New global. | |
2033 | (record_resume, record_core_resume): Set them. Register the | |
2034 | target on the event loop. | |
2035 | (record_wait): Rename to ... | |
2036 | (record_wait_1): ... this. Add more debug output. Handle | |
2037 | TARGET_WNOHANG, and the target beneath returning | |
2038 | TARGET_WAITKIND_IGNORE. | |
2039 | (record_wait): Reimplement on top of record_wait_1. | |
2040 | (record_async_mask_value): New global. | |
2041 | (record_async, record_async_mask, record_can_async_p) | |
2042 | (record_is_async_p, record_execution_direction): New functions. | |
2043 | (init_record_ops, init_record_core_ops): Install new methods. | |
2044 | * infrun.c (fetch_inferior_event): Temporarily switch the global | |
2045 | execution direction to the direction the target was going. | |
2046 | (execution_direction): Change type to int. | |
2047 | * target.c (default_execution_direction): New function. | |
2048 | (update_current_target): Inherit and de_fault | |
2049 | to_execution_direction. | |
2050 | * target.h (struct target_ops) <to_execution_direction>: New | |
2051 | field. | |
2052 | (target_execution_direction): New macro. | |
2053 | * inferior.h (execution_direction): Change type to int. | |
2054 | ||
949dc678 PA |
2055 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2056 | ||
2057 | * infcall.c (call_function_by_hand): Don't allow calling functions | |
2058 | in reverse execution mode. | |
2059 | ||
c13bd2b5 PA |
2060 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2061 | ||
2062 | * infcmd.c (finish_command): Allow async finish in reverse. | |
2063 | ||
6938fd34 YQ |
2064 | 2011-05-26 Yao Qi <yao@codesourcery.com> |
2065 | ||
2066 | * gdb_thread_db.h: Delete. Move to ... | |
2067 | * common/gdb_thread_db.h: ... here. | |
2068 | ||
9da8c2a0 PA |
2069 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2070 | ||
2071 | * infcmd.c (finish_backward): Set a step-resume breakpoint at the | |
2072 | function's entry point instead of a manually managed momentary | |
2073 | breakpoint, and only ever issue one proceed call. | |
2074 | * infrun.c (handle_inferior_event) <BPSTAT_WHAT_STEP_RESUME>: If | |
2075 | doing a reverse-finish, switch to stepi mode, to do another step. | |
2076 | (insert_step_resume_breakpoint_at_sal): Make public. | |
2077 | (normal_stop): No need to save function value return registers if | |
2078 | going reverse. | |
2079 | * inferior.h (insert_step_resume_breakpoint_at_sal): Declare. | |
2080 | ||
2c03e5be PA |
2081 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2082 | ||
2083 | * breakpoint.h (enum bptype) <bp_hp_step_resume>: New. | |
2084 | (enum bpstat_what_main_action): Move BPSTAT_WHAT_STEP_RESUME | |
2085 | before BPSTAT_WHAT_STOP_SILENT. Add BPSTAT_WHAT_HP_STEP_RESUME | |
2086 | at the end. | |
2087 | * breakpoint.c (update_breakpoints_after_exec): Also delete hp | |
2088 | step-resume breakpoints. | |
2089 | (print_it_typical): Handle bp_hp_step_resume. | |
2090 | (bpstat_what): Ditto. | |
2091 | (bptype_string): Ditto. | |
2092 | (print_one_breakpoint_location): Ditto. | |
2093 | (allocate_bp_location): Ditto. | |
2094 | (mention): Ditto. | |
2095 | (breakpoint_re_set_one): Ditto. | |
2096 | * infrun.c (handle_inferior_event): Adjust. Split | |
2097 | BPSTAT_WHAT_STEP_RESUME handling in BPSTAT_WHAT_STEP_RESUME and | |
2098 | BPSTAT_WHAT_HP_STEP_RESUME. | |
2099 | (insert_step_resume_breakpoint_at_sal): Rename to ... | |
2100 | (insert_step_resume_breakpoint_at_sal_1): ... this. Add bptype | |
2101 | parameter. Handle it. | |
2102 | (insert_step_resume_breakpoint_at_sal): Reimplement on top of | |
2103 | insert_step_resume_breakpoint_at_sal_1. | |
2104 | (insert_step_resume_breakpoint_at_frame): Rename to ... | |
2105 | (insert_hp_step_resume_breakpoint_at_frame): ... this. Adjust to | |
2106 | set a high-priority step-resume breakpoint. | |
2107 | (insert_step_resume_breakpoint_at_frame): Adjust comment. | |
2108 | (insert_step_resume_breakpoint_at_caller): Ditto. | |
2109 | ||
51be5b68 PA |
2110 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2111 | ||
2112 | * breakpoint.c (iterate_over_related_breakpoints): New. | |
2113 | (do_map_delete_breakpoint): New. | |
2114 | (delete_command): Pass do_map_delete_breakpoint to | |
2115 | map_breakpoint_numbers. | |
2116 | (do_disable_breakpoint): New. | |
2117 | (do_map_disable_breakpoint): Iterate over the breakpoint's related | |
2118 | breakpoints. | |
2119 | (do_enable_breakpoint): Rename to ... | |
2120 | (enable_breakpoint_disp): ... this. | |
2121 | (enable_breakpoint): Adjust. | |
2122 | (do_enable_breakpoint): New. | |
2123 | (enable_once_breakpoint): Delete. | |
2124 | (do_map_enable_breakpoint): New. | |
2125 | (do_map_enable_once_breakpoint): New. | |
2126 | (enable_once_command, enable_delete_command) | |
2127 | (delete_trace_command): Iterate over the breakpoint's related | |
2128 | breakpoints. | |
2129 | ||
4a1be8d2 PA |
2130 | 2011-05-26 Pedro Alves <pedro@codesourcery.com> |
2131 | ||
2132 | * alpha-tdep.c (alpha_cannot_fetch_register): Don't return true | |
2133 | for ALPHA_ZERO_REGNUM. | |
2134 | (alpha_supply_int_regs): Explicitly supply zero as the value for | |
2135 | ALPHA_ZERO_REGNUM in the register cache. | |
2136 | * alpha-nat.c (fetch_osf_core_registers): Ditto. | |
2137 | ||
59d70315 YQ |
2138 | 2011-05-26 Yao Qi <yao@codesourcery.com> |
2139 | ||
2140 | * gdb/gdb_thread_db.h: Remove HAVE_UINTPTR_T. | |
2141 | ||
251d32d9 TG |
2142 | 2011-05-26 Tristan Gingold <gingold@adacore.com> |
2143 | ||
2144 | * symfile.h (struct dwarf2_section_names): New type. | |
2145 | (struct dwarf2_debug_sections): New type. | |
2146 | (dwarf2_has_info): Add parameter. | |
2147 | * dwarf2read.c (dwarf2_elf_names): New variable. | |
2148 | (INFO_SECTION, ABBREV_SECTION, LINE_SECTION, LOC_SECTION) | |
2149 | (MACINFO_SECTION, STR_SECTION, RANGES_SECTION, TYPES_SECTION) | |
2150 | (FRAME_SECTION, EH_FRAME_SECTION, GDB_INDEX_SECTION): Remove. | |
2151 | (dwarf2_has_info): Add names parameter. Pass names | |
2152 | to dwarf2_locate_sections. | |
2153 | (section_is_p): Rewrite using the names parameter. | |
2154 | (dwarf2_locate_sections): Use section names from the names parameter. | |
2155 | * coffread.c (coff_symfile_read): Adjust call to dwarf2_has_info. | |
2156 | * elfread.c (read_psyms): Ditto. | |
2157 | * machoread.c (macho_symfile_read): Ditto. | |
2158 | ||
652c71b4 AS |
2159 | 2011-05-25 Andreas Schwab <schwab@redhat.com> |
2160 | ||
2161 | PR gdb/8677 | |
2162 | * event-loop.c (handle_file_event): Don't handle POLLHUP as error. | |
2163 | ||
f17170e5 KS |
2164 | 2011-05-24 Keith Seitz <keiths@redhat.com> |
2165 | ||
2166 | PR breakpoint/12803 | |
2167 | * linespec.c (keep_name_info): Add handling for "volatile" keyword. | |
2168 | (decode_compound): Unconditionally call keep_name_info. | |
2169 | ||
cdac0397 PA |
2170 | 2011-05-24 Pedro Alves <pedro@codesourcery.com> |
2171 | ||
2172 | * breakpoint.c (watchpoint_check): If the watchpoint went out of | |
2173 | scope, clear its command list. | |
2174 | (map_breakpoint_numbers): Don't walk the related breakpoints list | |
2175 | of each breakpoint. | |
2176 | ||
91d4fe3f TT |
2177 | 2011-05-24 Tom Tromey <tromey@redhat.com> |
2178 | ||
2179 | * MAINTAINERS: Move Jim Blandy to past maintainers. | |
2180 | ||
3017a003 TG |
2181 | 2011-05-24 Tristan Gingold <gingold@adacore.com> |
2182 | ||
2183 | * symfile.h (enum dwarf2_section_enum): New type. | |
2184 | (dwarf2_get_section_info): New prototype. | |
2185 | * dwarf2read.c (dwarf2_get_section_info): Replace parameter | |
2186 | section_name by sect. Use a switch to select the info. | |
2187 | * dwarf2-frame.c (warf2_get_section_info): Remove prototype. | |
2188 | (dwarf2_build_frame_info): Adjust calls to dwarf2_get_section_info. | |
2189 | ||
c91c8c16 PA |
2190 | 2011-05-24 Pedro Alves <pedro@codesourcery.com> |
2191 | ||
2192 | * solib-svr4.c (svr4_solib_create_inferior_hook): Skip setting | |
2193 | shared library event breakpoint if there's no execution. | |
2194 | ||
77bc418a TJB |
2195 | 2011-05-24 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2196 | ||
2197 | * breakpont.c (remove_hw_watchpoints): Remove unused function. | |
2198 | * breakpoint.h remove_hw_watchpoints(): Remove prototype. | |
2199 | ||
c50491a7 TT |
2200 | 2011-05-23 Tom Tromey <tromey@redhat.com> |
2201 | ||
2202 | * c-lang.c (evaluate_subexp_c): Use expect_type if it is not | |
2203 | NULL. | |
2204 | ||
6d64e6d4 DE |
2205 | 2011-05-23 Doug Evans <dje@google.com> |
2206 | ||
2207 | * python/lib/gdb/printing.py (register_pretty_printer): Add missing | |
2208 | entry for RuntimeError to doc string. | |
2209 | ||
2067c8d4 JG |
2210 | 2011-05-23 Jerome Guitton <guitton@adacore.com> |
2211 | ||
2212 | * sparc-tdep.c (sparc_skip_stack_check): Recognize a new instruction | |
2213 | sequence for probing loops. | |
2214 | ||
b136cd05 PA |
2215 | 2011-05-23 Pedro Alves <pedro@codesourcery.com> |
2216 | ||
2217 | * infrun.c (user_visible_resume_ptid): Fix typos in describing | |
2218 | comment. | |
2219 | ||
22e74ef9 MK |
2220 | 2011-05-21 Mark Kettenis <kettenis@gnu.org> |
2221 | ||
2222 | * sparc-nat.c (sparc_fetch_inferior_registers): Explicitly supply | |
2223 | zero as the value for %g0 in the register cache. | |
2224 | * sparc-tdep.c (sparc32_supply_gregset): Likewise. | |
2225 | * sparc64-tdep.c (sparc64_supply_gregset): Likewise. | |
2226 | ||
842951eb PA |
2227 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2228 | ||
2229 | * infrun.c (proceed): Set previous_inferior_ptid here. | |
2230 | (init_wait_for_inferior): Initialize previous_inferior_ptid from | |
2231 | inferior_ptid, not null_ptid. | |
2232 | (wait_for_inferior): Don't initialize previous_inferior_ptid here. | |
2233 | (fetch_inferior_event): Nor here. | |
2234 | ||
46cf51e6 PA |
2235 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2236 | ||
2237 | * inf-loop.c (inferior_event_handler): Only output a message if | |
2238 | verbose. | |
2239 | ||
29ef4c46 LM |
2240 | 2011-05-20 Luis Machado <lgustavo@codesourcery.com> |
2241 | ||
2242 | * MAINTAINERS: Update my e-mail address. | |
2243 | ||
f148b27e PA |
2244 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2245 | ||
2246 | * infrun.c (proceed): Switch the inferior event loop to | |
2247 | INF_EXEC_COMPLETE if the target refused to resume from a | |
2248 | vfork/fork. | |
2249 | ||
09cee04b PA |
2250 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2251 | ||
2252 | * infcmd.c: Include "inf-loop.h". | |
2253 | (step_once): When stepping into an inline subroutine, pretend the | |
2254 | target has run. If the target can async, switch the inferior | |
2255 | event loop to INF_EXEC_COMPLETE. | |
2256 | * inferior.h (user_visible_resume_ptid): Declare. | |
2257 | * infrun.c (user_visible_resume_ptid): New function, factored out | |
2258 | from `resume'. | |
2259 | (resume): Use it. | |
2260 | * mi/mi-main.c (mi_execute_async_cli_command): Remove assertion | |
2261 | that the current thread is running. Merge async and sync | |
2262 | branches. | |
2263 | ||
751b8ce1 PA |
2264 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2265 | ||
2266 | * infcmd.c (step_1): Simplify synchronous case. | |
2267 | ||
e93a69ed PA |
2268 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2269 | ||
2270 | * tracepoint.c: Include exceptions.h. | |
2271 | (TFILE_PID): Move higher in file. | |
2272 | (tfile_open): Delay pushing the tfile target until we're assured | |
2273 | the tfile header is present in the file. Wrap reading the initial | |
2274 | newline-terminated lines in TRY_CATCH. Pop the target if the | |
2275 | initial setup failed. Add the tfile's thread immediately | |
2276 | aftwards, before any non-essential setup. Don't skip | |
2277 | post_create_inferior if there are no traceframes present in the | |
2278 | file. | |
2279 | (tfile_close): Remove redundant check for null before xfree call. | |
2280 | (tfile_thread_alive): New function. | |
2281 | (init_tfile_ops): Register it as to_thread_alive callback. | |
2282 | ||
6823e2b1 PA |
2283 | 2011-05-20 Pedro Alves <pedro@codesourcery.com> |
2284 | ||
2285 | * tracepoint.c (tfile_open): Delete #if 0'd code. | |
2286 | ||
b3c8eb43 JK |
2287 | 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
2288 | ||
2289 | Fix -readnow for -gdwarf-4 unused type units. | |
2290 | * dwarf2read.c (struct signatured_type): Remove the field offset. | |
2291 | (create_signatured_type_table_from_index): Remove its initialization. | |
2292 | (create_debug_types_hash_table): Likewise. Initialize per_cu.offset | |
2293 | instead. Add a complaint call. | |
2294 | (process_psymtab_comp_unit): Change assignment to gdb_assert. | |
2295 | (process_type_comp_unit, lookup_die_type, dump_die_shallow) | |
2296 | (lookup_signatured_type_at_offset, read_signatured_type) | |
2297 | (write_one_signatured_type): Update the field for per_cu. | |
2298 | ||
310afc76 TT |
2299 | 2011-05-19 Tom Tromey <tromey@redhat.com> |
2300 | ||
2301 | * python/py-inferior.c (python_inferior_exit): Use | |
2302 | target_gdbarch. | |
2303 | (python_on_resume): Likewise. | |
2304 | ||
cf6c5ffb TT |
2305 | 2011-05-19 Matt Rice <ratmice@gmail.com> |
2306 | ||
2307 | * breakpoint.c (bpstat_do_actions_1): Call prevent_dont_repeat. | |
2308 | ||
fb80a3c5 HZ |
2309 | 2011-05-19 Hui Zhu <teawater@gmail.com> |
2310 | ||
2311 | * tracepoint.c (tfile_trace_find): Return directly when num is -1. | |
2312 | ||
3672b1be HZ |
2313 | 2011-05-19 Hui Zhu <teawater@gmail.com> |
2314 | ||
2315 | * xcoffread.c (read_xcoff_symtab): Initialize fcn_aux_saved. | |
2316 | ||
ff355380 TT |
2317 | 2011-05-18 Tom Tromey <tromey@redhat.com> |
2318 | ||
2319 | * dwarf2read.c (dwarf2_add_field): Constify. | |
2320 | * value.c (value_static_field): Constify. | |
2321 | * gdbtypes.h (struct main_type) <field.field_location.physname>: | |
2322 | Now const. | |
2323 | * ax-gdb.c (gen_static_field): Constify | |
2324 | ||
ed731959 JK |
2325 | 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
2326 | ||
2327 | * linux-nat.c (kill_callback): Use SIGKILL first. | |
2328 | ||
967cff16 JB |
2329 | 2011-05-18 Joel Brobecker <brobecker@adacore.com> |
2330 | ||
2331 | * ada-lang.c (print_it_exception): Avoid use of sprintf. | |
2332 | ||
1d06ead6 TT |
2333 | 2011-05-18 Tom Tromey <tromey@redhat.com> |
2334 | ||
2335 | * value.c (value_fn_field): Constify. | |
2336 | * symtab.c (gdb_mangle_name): Constify. | |
2337 | * stabsread.c (update_method_name_from_physname): Make 'physname' | |
2338 | argument const. | |
2339 | * p-typeprint.c (pascal_type_print_method_args): Make arguments | |
2340 | const. Use explicit fputc_filtered loop. | |
2341 | (pascal_type_print_base): Constify. | |
2342 | * p-lang.h (pascal_type_print_method_args): Update. | |
2343 | * linespec.c (add_matching_methods): Constify. | |
2344 | (add_constructors): Likewise. | |
2345 | * jv-typeprint.c (java_type_print_base): Constify. | |
2346 | * gdbtypes.h (struct cplus_struct_type) | |
2347 | <fn_fieldlist.fn_field.physname>: Now const. | |
2348 | * dwarf2read.c (compute_delayed_physnames): Constify. | |
2349 | (dwarf2_add_member_fn): Likewise. | |
2350 | * c-typeprint.c (c_type_print_base): Constify. Use cleanups. | |
2351 | ||
0d9a9a5f PA |
2352 | 2011-05-18 Pedro Alves <pedro@codesourcery.com> |
2353 | ||
2354 | * infrun.c (resume): Mention which is the current thread, and its | |
2355 | current PC in debug output. | |
2356 | (prepare_to_proceed): Mention the thread switching in debug | |
2357 | output. | |
2358 | ||
05386e9e TT |
2359 | 2011-05-18 Tom Tromey <tromey@redhat.com> |
2360 | ||
2361 | * linux-thread-db.c (try_thread_db_load_from_pdir_1): Fix absolute | |
2362 | path check. Use xmalloc and cleanups. | |
2363 | (try_thread_db_load_from_dir): Use xmalloc and cleanups. | |
2364 | ||
ee86786c TT |
2365 | 2011-05-17 Tom Tromey <tromey@redhat.com> |
2366 | ||
2367 | * cp-valprint.c (cp_print_value_fields): Catch errors from | |
2368 | value_static_field. | |
2369 | ||
9ff3b74f TT |
2370 | 2011-05-17 Tom Tromey <tromey@redhat.com> |
2371 | ||
2372 | * dwarf2read.c (dwarf2_get_die_type): Call | |
2373 | get_die_type_at_offset. | |
2374 | * dwarf2expr.c (dwarf_get_base_type): Handle NULL return from | |
2375 | get_base_type function. | |
2376 | ||
cd3da28e PA |
2377 | 2011-05-17 Tomas Martinec <fyzmat@gmail.com> |
2378 | ||
2379 | * infrun.c (handle_inferior_event) <handling deferred step>: Clear | |
2380 | trap_expected. | |
2381 | ||
fd20d931 DE |
2382 | 2011-05-16 Doug Evans <dje@google.com> |
2383 | ||
2384 | * python/py-auto-load.c (source_section_scripts): Mention objfile | |
2385 | name in warning. | |
2386 | ||
75fc9810 DE |
2387 | 2011-05-15 Doug Evans <dje@google.com> |
2388 | ||
290351b8 DE |
2389 | * linux-thread-db.c (try_thread_db_load_from_pdir_1): New function. |
2390 | (try_thread_db_load_from_pdir): Call it. If unable to find | |
2391 | libthread_db in directory of libpthread, see if we're looking at | |
2392 | the separate-debug-info copy. | |
2393 | ||
75fc9810 DE |
2394 | * python/py-autoload.c (print_script): Print "Missing" instead of |
2395 | "No" for missing scripts. | |
2396 | (info_auto_load_scripts): Tweak "Loaded" column to fit "Missing". | |
2397 | ||
9f7bc587 DE |
2398 | 2011-05-13 Doug Evans <dje@google.com> |
2399 | ||
2400 | * ui-file.c (stdio_file_write_async_safe): Add comment. | |
2401 | ||
093cee7d HZ |
2402 | 2011-05-14 Hui Zhu <teawater@gmail.com> |
2403 | ||
2404 | * ui-file.c (stdio_file_write_async_safe): Add empty check for build. | |
2405 | ||
dbaefcf7 DE |
2406 | 2011-05-13 Doug Evans <dje@google.com> |
2407 | ||
98a5dd13 DE |
2408 | Support $pdir and $sdir in libthread-db-search-path. |
2409 | * NEWS: Mention $sdir,$pdir. | |
2410 | * gdb_thread_db.h (LIBTHREAD_DB_SEARCH_PATH): Add $sdir:$pdir. | |
2411 | * linux-thread-db.c (try_thread_db_load_from_pdir): New function. | |
2412 | (try_thread_db_load_from_sdir): New function. | |
2413 | (try_thread_db_load_from_dir): New function. | |
2414 | (thread_db_load_search): Handle $pdir, $sdir. Remove trying of | |
2415 | system directories if search of libthread-db-search-path fails, | |
2416 | that is now done via $sdir. | |
2417 | (has_libpthread): New function. | |
2418 | (thread_db_load): Remove search for libthread_db in directory of | |
2419 | libpthread, that is now done via $pdir. | |
2420 | ||
dbaefcf7 DE |
2421 | * NEWS: Mention "info auto-load-scripts". |
2422 | * python/py-auto-load.c (struct auto_load_pspace_info): New member | |
2423 | script_not_found_warning_printed. | |
2424 | (init_loaded_scripts_info): Renamed from create_loaded_scripts_hash, | |
2425 | all callers updated. Initialize script_not_found_warning_printed. | |
2426 | (get_auto_load_pspace_data_for_loading): New function. | |
2427 | (maybe_add_script): New function. | |
2428 | (source_section_scripts): Simplify. Only print one warning regardless | |
2429 | of the number of auto-load scripts not found. | |
2430 | (clear_section_scripts): Clear script_not_found_warning_printed. | |
2431 | (auto_load_objfile_script): Record script in hash table. | |
2432 | (count_matching_scripts): New function. | |
2433 | (maybe_print_script): Renamed from maybe_print_section_script, all | |
2434 | callers updated. Rewrite to use ui_out_*. | |
2435 | (info_auto_load_scripts): Renamed from | |
2436 | maintenance_print_section_scripts, all callers updated. | |
2437 | (gdbpy_initialize_auto_load): "maintenance print section-scripts" | |
2438 | renamed as "info auto-load-scripts". | |
2439 | ||
9930639c TT |
2440 | 2011-05-13 Tom Tromey <tromey@redhat.com> |
2441 | ||
2442 | * dwarf2expr.c (read_uleb128): Cast intermediate result. | |
2443 | (read_sleb128): Likewise. | |
2444 | ||
06826322 TT |
2445 | 2011-05-13 Tom Tromey <tromey@redhat.com> |
2446 | ||
2447 | * dwarf2loc.c (disassemble_dwarf_expression): Fix instruction | |
2448 | offset display. | |
2449 | ||
01124a23 DE |
2450 | 2011-05-13 Doug Evans <dje@google.com> |
2451 | ||
2452 | * linux-nat.c (debug_linux_nat_async): Delete. | |
2453 | Replace all references to use debug_linux_nat instead. | |
2454 | (show_debug_linux_nat_async): Delete. | |
2455 | (sigchld_handler): Call ui_file_write_async_safe instead of | |
2456 | fprintf_unfiltered. | |
2457 | (_initialize_linux_nat): Remove `set debug lin-lwp-async'. | |
2458 | * ui-file.c (struct ui_file): New member to_write_async_safe. | |
2459 | (null_file_write_async_safe): New function. | |
2460 | (ui_file_write_async_safe): New function. | |
2461 | (set_ui_file_write_async_safe): New function. | |
2462 | (ui_file_new): Initialize to_write_async_safe. | |
2463 | (stdio_file_write_async_safe): New function. | |
2464 | (struct stdio_file): New member fd. | |
2465 | (stdio_file_new): Initialize to_write_async_safe, fd. | |
bbfac39e DE |
2466 | (stdio_file_read, stdio_file_isatty): New stdio->fd instead of calling |
2467 | fileno. | |
01124a23 DE |
2468 | * ui-file.h (ui_file_write_async_safe_ftype): New typedef. |
2469 | (set_ui_file_write_async_safe): Declare. | |
2470 | (ui_file_write_async_safe): Declare. | |
2471 | ||
72fc29ff TT |
2472 | 2011-05-13 Tom Tromey <tromey@redhat.com> |
2473 | ||
2474 | * utils.c (do_value_free): New function. | |
2475 | (make_cleanup_value_free): Likewise. | |
2476 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle value | |
2477 | freeing correctly. | |
2478 | (dwarf2_loc_desc_needs_frame): Call | |
2479 | make_cleanup_value_free_to_mark. | |
2480 | * dwarf2expr.h (struct dwarf_expr_context) <mark>: Remove field. | |
2481 | * dwarf2expr.c (free_dwarf_expr_context): Don't call | |
2482 | value_free_to_mark. | |
2483 | (new_dwarf_expr_context): Don't call value_mark. | |
2484 | * dwarf2-frame.c (execute_stack_op): Call | |
2485 | make_cleanup_value_free_to_mark. | |
2486 | * defs.h (make_cleanup_value_free): Declare. | |
2487 | ||
028d0ed5 TJB |
2488 | 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2489 | ||
2490 | * mi/mi-main.c (mi_cmd_execute): Use cleanup from | |
2491 | prepare_execute_command. | |
2492 | * top.c (prepare_execute_command): Return cleanup. | |
2493 | (execute_command): Use cleanup from prepare_execute_command. | |
2494 | * top.h (prepare_execute_command): Change prototype to return | |
2495 | cleanup. | |
2496 | * defs.h (struct value): Add opaque declaration. | |
2497 | (make_cleanup_value_free_to_mark): Add prototype. | |
2498 | * utils.c (do_value_free_to_mark): New function. | |
2499 | (make_cleanup_value_free_to_mark): Likewise. | |
2500 | ||
b087e0ed TT |
2501 | 2011-05-12 Tom Tromey <tromey@redhat.com> |
2502 | ||
2503 | * dwarf2expr.c (execute_stack_op) <DW_OP_shr>: Unconditionally | |
2504 | cast left-hand-side to unsigned. | |
2505 | ||
8a9b8146 TT |
2506 | 2011-05-12 Tom Tromey <tromey@redhat.com> |
2507 | ||
2508 | PR gdb/12617: | |
2509 | * value.h (value_from_contents): Declare. | |
2510 | * value.c (value_from_contents): New function. | |
2511 | * dwarf2read.c (dwarf_stack_op_name): Add new values. | |
2512 | (dwarf2_get_die_type): New function. | |
2513 | * dwarf2loc.c (dwarf_expr_get_base_type): New function. | |
2514 | (allocate_piece_closure): Acquire reference to values. | |
2515 | (read_pieced_value): Update for value-based expressions. | |
2516 | (write_pieced_value): Likewise. | |
2517 | (free_pieced_value_closure): Call value_free as needed. | |
2518 | (dwarf2_evaluate_loc_desc_full): Set get_base_type field. | |
2519 | Update for value-based expressions. | |
2520 | * dwarf2loc.h (dwarf2_get_die_type): Declare. | |
2521 | * dwarf2expr.h (struct dwarf_stack_value) <value>: Change type. | |
2522 | <get_base_type>: New field. | |
2523 | (struct dwarf_expr_piece) <v.value>: Change type. | |
2524 | <v.regno>: New field. | |
2525 | (struct dwarf_expr_context) <mark>: New field. | |
2526 | (dwarf_expr_piece, dwarf_expr_fetch): Update. | |
2527 | (dwarf_expr_pop, dwarf_expr_push): Remove. | |
2528 | (dwarf_expr_push_address): Declare. | |
2529 | * dwarf2expr.c (dwarf_arch_cookie): New global. | |
2530 | (struct dwarf_gdbarch_types): New. | |
2531 | (dwarf_gdbarch_types_init, dwarf_expr_address_type): New | |
2532 | functions. | |
2533 | (dwarf_expr_push): Change type of 'value' argument. Update. Now | |
2534 | static. | |
2535 | (dwarf_expr_push_address): New function. | |
2536 | (dwarf_expr_pop): Now static. | |
2537 | (dwarf_expr_fetch): Change return type. | |
2538 | (dwarf_require_integral): New function. | |
2539 | (dwarf_expr_fetch): Simplify. | |
2540 | (add_piece): Update. | |
2541 | (base_types_equal_p, dwarf_get_base_type, get_unsigned_type): New | |
2542 | functions. | |
2543 | (execute_stack_op) <sign_ext>: Remove. | |
2544 | Use values for DWARF stack. | |
2545 | <DW_OP_GNU_const_type, DW_OP_GNU_deref_type, | |
2546 | DW_OP_GNU_regval_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret>: | |
2547 | New cases. | |
2548 | (_initialize_dwarf2expr): New function. | |
2549 | (add_piece): Update. | |
2550 | (new_dwarf_expr_context): Set new field. | |
2551 | (free_dwarf_expr_context): Call value_free_to_mark. | |
2552 | * dwarf2-frame.c (no_base_type): New function. | |
2553 | (execute_stack_op): Set get_base_type field. Update. | |
2554 | ||
e8d28ef4 TT |
2555 | 2011-05-12 Tom Tromey <tromey@redhat.com> |
2556 | ||
2557 | * dwarf2read.c (read_common_block): Fix formatting. | |
2558 | ||
d248b706 KY |
2559 | 2011-05-12 Kwok Cheung Yeung <kcy@codesourcery.com> |
2560 | ||
2561 | * breakpoint.c (disable_breakpoint): Disable all locations | |
2562 | associated with a tracepoint on target if a trace experiment is | |
2563 | running. | |
2564 | (disable_command): Disable a specific tracepoint location on target if | |
2565 | a trace experiment is running. | |
2566 | (do_enable_breakpoint): Enable all locations associated with a | |
2567 | tracepoint on target if a trace experiment is running. | |
2568 | (enable_command) Enable a specific tracepoint location on target if a | |
2569 | trace experiment is running. | |
2570 | * target.c (update_current_target): Add INHERIT and de_fault clauses for | |
2571 | to_supports_enable_disable_tracepoint, to_enable_tracepoint and | |
2572 | to_disable_tracepoint. | |
2573 | * target.h: Add declaration of struct bp_location. | |
2574 | (struct target_ops): Add new functions | |
2575 | to_supports_enable_disable_tracepoint, to_enable_tracepoint and | |
2576 | to_disable_tracepoint to target operations. | |
2577 | (target_supports_enable_disable_tracepoint): New macro. | |
2578 | (target_enable_tracepoint): New macro. | |
2579 | (target_disable_tracepoint): New macro. | |
2580 | * remote.c (struct remote_state): Add new field. | |
2581 | (remote_enable_disable_tracepoint_feature): New. | |
2582 | (remote_protocol_features): Add new entry. | |
2583 | (remote_supports_enable_disable_tracepoint): New. | |
2584 | (remote_enable_tracepoint): New. | |
2585 | (remote_disable_tracepoint): New. | |
2586 | (init_remote_ops): Add remote_enable_tracepoint, | |
2587 | remote_disable_tracepoint and remote_supports_enable_disable_tracepoint | |
2588 | to remote operations. | |
2589 | * tracepoint.c (start_tracing): Allow tracing to start without any | |
2590 | tracepoints enabled with just a warning if they can be re-enabled | |
2591 | later. | |
2592 | * NEWS: Add news item for the new behaviour of the enable and disable | |
2593 | GDB commands when applied to tracepoints. | |
2594 | Add news items for the new remote packets QTEnable and QTDisable. | |
2595 | ||
cc88a640 JK |
2596 | 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
2597 | ||
2598 | * config.in: Regenerate. | |
2599 | * configure: Regenerate. | |
2600 | * configure.ac <--with-system-readline> (for readline_echoing_p): | |
2601 | Remove the test. | |
2602 | * tui/tui-io.c (tui_old_readline_echoing_p): Rename to ... | |
2603 | (tui_old_rl_echoing_p): ... here. | |
2604 | (tui_setup_io): Rename extern declaration readline_echoing_p to | |
2605 | _rl_echoing_p. Adjust assignments for the both renames. | |
2606 | ||
1f84b619 TJB |
2607 | 2011-05-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2608 | ||
2609 | * symtab.c (lookup_symtab): Run cleanup before returning. | |
2610 | ||
74ac6d43 TT |
2611 | 2011-05-11 Tom Tromey <tromey@redhat.com> |
2612 | ||
2613 | * dwarf2read.c (handle_data_member_location): New function. | |
2614 | (dwarf2_add_field): Use it. | |
2615 | (read_common_block): Likewise. | |
2616 | ||
5488dafb JK |
2617 | 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
2618 | ||
2619 | Make addrs->SECTINDEX always defined. | |
2620 | * symfile.c (relative_addr_info_to_section_offsets): Check for | |
2621 | SECTINDEX -1, not for zero ADDR. | |
2622 | (addrs_section_compar): Remove checking for invalid SECTINDEX. | |
2623 | (addr_info_make_relative): Set SECTINDEX to -1 for unmatched entries. | |
2624 | * symfile.h (struct section_addr_info) <sectindex>: Update the comment | |
2625 | on its validity. | |
2626 | ||
84e578fb DE |
2627 | 2011-05-10 Doug Evans <dje@google.com> |
2628 | ||
2471d008 DE |
2629 | * linux-thread-db.c: Whitespace cleanup. |
2630 | (try_thread_db_load_1): Fix comment. | |
2631 | ||
84e578fb DE |
2632 | * linux-thread-db.c (set_libthread_db_search_path): New function. |
2633 | (_initialize_thread_db): Add setter for libthread-db-search-path. | |
2634 | ||
673c2bbe DE |
2635 | 2011-05-09 Doug Evans <dje@google.com> |
2636 | ||
478aac75 DE |
2637 | * NEWS: Mention --with-iconv-bin. |
2638 | * configure.ac: New option --with-iconv-bin. | |
2639 | * configure: Regenerate. | |
2640 | * config.in: Regenerate. | |
2641 | * defs.h (relocate_gdb_directory): Declare. | |
2642 | * main.c (relocate_gdb_directory): Renamed from relocate_directory, | |
2643 | removed progname parameter, and exported. All callers updated. | |
2644 | * charset.c (find_charset_names): Use --with-iconv-bin if specified. | |
2645 | ||
673c2bbe DE |
2646 | * linux-nat.c (lin_lwp_attach_lwp): For !WIPSTOPPED case, |
2647 | adding missing call to restore_child_signals_mask. | |
2648 | ||
e4c8541f PA |
2649 | 2011-05-09 Pedro Alves <pedro@codesourcery.com> |
2650 | ||
2651 | * inferior.h (wait_for_inferior): Remove `thread_exec_as_sigtrap' | |
2652 | parameter. | |
2653 | * infrun.c (proceed, start_remote): Adjust. | |
2654 | (wait_for_inferior): Remove `thread_exec_as_sigtrap' parameter, | |
2655 | and adjust to not handle it. | |
2656 | * solib-irix.c (irix_solib_create_inferior_hook): Adjust. | |
2657 | * solib-osf.c (osf_solib_create_inferior_hook): Adjust. | |
2658 | * solib-sunos.c (sunos_solib_create_inferior_hook): Adjust. | |
2659 | * solib-svr4.c (svr4_solib_create_inferior_hook): Adjust. | |
2660 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
2661 | * infcmd.c (attach_command): Adjust. | |
2662 | (notice_new_inferior): Adjust. | |
2663 | ||
a536c6d7 UW |
2664 | 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
2665 | ||
2666 | * ppc-linux-tdep.c (ppu2spu_prev_register): Handle pseudo registers. | |
2667 | (ppu2spu_unwind_register): Mark pseudo registers unavailable. | |
2668 | * spu-tdep.c (op_selb): Use correct value. | |
2669 | ||
7845b013 UW |
2670 | 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
2671 | ||
2672 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Add NULL | |
2673 | "parent" parameter to symbol_file_add_from_bfd call. | |
2674 | ||
9c06b0b4 TJB |
2675 | 2011-05-06 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> |
2676 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
2677 | ||
2678 | Implement support for PowerPC BookE masked watchpoints. | |
2679 | * NEWS: Mention masked watchpoint support. Create "Changed commands" | |
2680 | section. | |
2681 | * breakpoint.h (struct breakpoint_ops) <works_in_software_mode>: New | |
2682 | method. Initialize to NULL in all existing breakpoint_ops instances. | |
2683 | (struct breakpoint) <hw_wp_mask>: New field. | |
2684 | * breakpoint.c (is_masked_watchpoint): Add prototype. | |
2685 | (update_watchpoint): Don't set b->val for masked watchpoints. Call | |
2686 | breakpoint's breakpoint_ops.works_in_software_mode if available. | |
2687 | (watchpoints_triggered): Handle the case of a hardware masked | |
2688 | watchpoint trigger. | |
2689 | (watchpoint_check): Likewise. | |
2690 | (works_in_software_mode_watchpoint): New function. | |
2691 | (insert_masked_watchpoint, remove_masked_watchpoint) | |
2692 | (resources_needed_masked_watchpoint) | |
2693 | (works_in_software_mode_masked_watchpoint, print_it_masked_watchpoint) | |
2694 | (print_one_detail_masked_watchpoint, print_mention_masked_watchpoint) | |
2695 | (print_recreate_masked_watchpoint, is_masked_watchpoint): New | |
2696 | functions. | |
2697 | (masked_watchpoint_breakpoint_ops): New structure. | |
2698 | (watch_command_1): Check for the existence of the `mask' parameter. | |
2699 | Set b->ops according to the type of hardware watchpoint being created. | |
2700 | * ppc-linux-nat.c (ppc_linux_insert_mask_watchpoint) | |
2701 | (ppc_linux_remove_mask_watchpoint) | |
2702 | (ppc_linux_masked_watch_num_registers): New functions. | |
2703 | (_initialize_ppc_linux_nat): Initialize to_insert_mask_watchpoint, | |
2704 | to_remove_mask_watchpoint and to_masked_watch_num_registers. | |
2705 | * target.c (update_current_target): Mention to_insert_mask_watchpoint, | |
2706 | to_remove_mask_watchpoint, and to_masked_watch_num_registers. | |
2707 | (target_insert_mask_watchpoint, target_remove_mask_watchpoint) | |
2708 | (target_masked_watch_num_registers): New functions. | |
2709 | * target.h (struct target_ops) <to_insert_mask_watchpoint>, | |
2710 | <to_remove_mask_watchpoint>, <to_masked_watch_num_registers>: New | |
2711 | methods. | |
2712 | (target_insert_mask_watchpoint, target_remove_mask_watchpoint) | |
2713 | (target_masked_watch_num_registers): Add prototypes. | |
2714 | ||
8be455d7 JK |
2715 | 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
2716 | ||
2717 | PR 12573 | |
2718 | * dwarf2read.c (struct dwarf2_cu): New field has_loclist. | |
2719 | (producer_is_gcc_ge_4_0): New function. | |
2720 | (process_full_comp_unit): Set also symtab->locations_valid. Move the | |
2721 | symtab->language code. | |
2722 | (var_decode_location): Set cu->has_loclist. | |
2723 | * symtab.c (skip_prologue_sal): New variables saved_pc, force_skip and | |
2724 | skip. Intialize force_skip from locations_valid. Move the prologue | |
2725 | skipping code into two passes. | |
2726 | * symtab.h (struct symtab): Make the primary field a bitfield. New | |
2727 | field locations_valid. | |
2728 | ||
d8228535 JK |
2729 | 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
2730 | ||
2731 | * c-exp.y (qualified_name): Call destructor_name_p with $1.type. | |
2732 | (classify_inner_name): Call cp_lookup_nested_type with | |
2733 | yylval.tsym.type. | |
2734 | * cp-namespace.c (cp_lookup_nested_type): New variable | |
2735 | saved_parent_type. Call CHECK_TYPEDEF for parent_type. Call | |
2736 | type_name_no_tag_or_error with saved_parent_type. | |
2737 | * dwarf2read.c (load_partial_dies): Read in any children of | |
2738 | DW_TAG_typedef with complaint in such case. | |
2739 | * gdbtypes.c (type_name_no_tag_or_error): New function. | |
2740 | * gdbtypes.h (type_name_no_tag_or_error): New prototype. | |
2741 | * valops.c (destructor_name_p): New comment for parameter type. Remove | |
2742 | type const. Make dname and cp const. Call type_name_no_tag_or_error. | |
2743 | * value.h (destructor_name_p): Remove type const. | |
2744 | ||
1976171a JK |
2745 | 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
2746 | ||
2747 | * symtab.c (compare_symbol_name): New function. | |
2748 | (completion_list_add_name, expand_partial_symbol_name): Call it, | |
2749 | remove the variable ncmp. | |
2750 | (default_make_symbol_completion_list_break_on): Reduce SYM_TEXT_LEN, | |
2751 | gdb_assert it. | |
2752 | ||
a9634178 TJB |
2753 | 2011-05-05 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2754 | ||
2755 | Demote to sw watchpoint only in update_watchpoint. | |
2756 | * breakpoint.c (update_watchpoint): Change between software and | |
2757 | hardware watchpoint for all kinds of watchpoints, not just | |
2758 | read/write ones. Determine b->exact value here instead of | |
2759 | in watch_command_1. Error out if there are not enough resources | |
2760 | for a read or access hardware watchpoint. | |
2761 | (watch_command_1): Remove logic of checking whether there are | |
2762 | enough resources available, since update_watchpoint will do that | |
2763 | work now. Don't set b->exact here. Catch exceptions thrown by | |
2764 | update_watchpoint and delete the watchpoint. | |
2765 | (can_use_hardware_watchpoint): Remove exact_watchpoints argument. | |
2766 | Use target_exact_watchpoints instead. | |
2767 | (delete_breakpoint): Notify observers only if deleted watchpoint | |
2768 | has a breakpoint number assigned to it. | |
2769 | ||
4c67c798 JJ |
2770 | 2011-05-05 Janis Johnson <janisjo@codesourcery.com> |
2771 | ||
2772 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
2773 | ||
a3fcb948 JG |
2774 | 2011-05-05 Jerome Guitton <guitton@adacore.com> |
2775 | ||
2776 | * i386-tdep.c (i386_in_stack_tramp_p, i386_stack_tramp_frame_sniffer): | |
2777 | New functions. | |
2778 | (i386_stack_tramp_frame_unwind): New static global. | |
2779 | (i386_match_pattern): New function, extracted from i386_match_insn. | |
2780 | (i386_match_insn): Use i386_match_pattern. | |
2781 | (i386_match_insn_block): New function. | |
2782 | (i386_tramp_chain_in_reg_insns) | |
2783 | (i386_tramp_chain_on_stack_insns): New static variables. | |
2784 | (i386_gdbarch_init): Add i386_stack_tramp_frame_unwind to list | |
2785 | of unwinders. | |
2786 | ||
4d393d60 JM |
2787 | 2011-05-04 Joseph Myers <joseph@codesourcery.com> |
2788 | ||
2789 | * configure.host (xscale*): Don't handle target. | |
2790 | * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't | |
2791 | handle targets. | |
2792 | ||
f70bd40b YQ |
2793 | 2011-05-04 Yao Qi <yao@codesourcery.com> |
2794 | ||
2795 | * gdb_wait.h: remove WAITTYPE and WCOREDUMP. | |
2796 | ||
dd3295ee JB |
2797 | 2011-05-03 Joel Brobecker <brobecker@adacore.com> |
2798 | ||
2799 | Revert: | |
2800 | | 2011-03-07 Michael Snyder <msnyder@vmware.com> | |
2801 | | * elfread.c (elf_symtab_read): Stop memory leak. | |
2802 | ||
90375a0e PM |
2803 | 2011-05-03 Pierre Muller <muller@ics.u-strasbg.fr> |
2804 | ||
2805 | * nto-tdep.c (nto_target): Replace deprecated call to | |
2806 | cygwin_conv_to_posix_path functions by cygwin_conv_path calls. | |
2807 | ||
d07205c2 JK |
2808 | 2011-05-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
2809 | ||
2810 | Fix false GCC warning. | |
2811 | * breakpoint.c (do_enable_breakpoint): Initialize orig_enable_state. | |
2812 | ||
1e718ff1 TJB |
2813 | 2011-05-03 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2814 | ||
2815 | * breakpoint.c (update_watchpoint): Move code to change | |
2816 | the enable state of breakpoint from here ... | |
2817 | (do_enable_breakpoint): ... to here. | |
2818 | ||
35bef4fd TT |
2819 | 2011-04-26 Andrew Gontarek <andrewg@cray.com> |
2820 | ||
78290264 PP |
2821 | * valprint.c (val_print_array_elements): Fixed poor performance |
2822 | of printing very large arrays with repeat_count_threshold set | |
2823 | to unlimited. New comment. | |
35bef4fd | 2824 | |
38a714bb TT |
2825 | 2011-04-29 Tom Tromey <tromey@redhat.com> |
2826 | ||
2827 | * mi/mi-parse.c (mi_parse): Remove incorrect sizeof. | |
2828 | (mi_parse): Likewise. | |
2829 | * breakpoint.c (break_range_command): Use sizeof char*, not | |
2830 | char**. | |
2831 | (create_breakpoint): Likewise. | |
2832 | (parse_breakpoint_sals): Likewise. | |
2833 | ||
eb73ad13 PA |
2834 | 2011-04-29 Pedro Alves <pedro@codesourcery.com> |
2835 | ||
2836 | * linux-nat.c (linux_child_remove_fork_catchpoint) | |
2837 | (linux_child_remove_vfork_catchpoint) | |
2838 | (linux_child_remove_exec_catchpoint): New functions. | |
2839 | (linux_target_install_ops): Install them. | |
2840 | ||
d65aec65 PM |
2841 | 2011-04-29 Phil Muldoon <pmuldoon@redhat.com> |
2842 | ||
2843 | PR mi/12531 | |
2844 | ||
2845 | * varobj.c (install_default_visualizer): Do not install a | |
2846 | visualizer if the varobj is CPLUS_FAKE_CHILD. | |
2847 | (construct_visualizer): Likewise. | |
2848 | ||
165195f4 JK |
2849 | 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
2850 | ||
2851 | * symtab.c (expand_partial_symbol_name): New variable NCMP. Support | |
2852 | case insensitive comparison. | |
2853 | ||
30852783 UW |
2854 | 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org> |
2855 | ||
2856 | * infrun.c (proceed): Revert previous change. | |
2857 | (resume): Instead, handle the case of signal delivery while stepping | |
2858 | off a breakpoint location here, and only if software single-stepping | |
2859 | is used. Handle nested signals. | |
2860 | ||
7ff120b4 YQ |
2861 | 2011-04-28 Yao Qi <yao@codesourcery.com> |
2862 | ||
2863 | * arm-tdep.c (copy_unmodified): Rename to ... | |
2864 | (arm_copy_unmodified): .. this. New. | |
2865 | (copy_preload): Move common part to ... | |
2866 | (install_preload): .. this. New. | |
2867 | (arm_copy_preload): New. | |
2868 | (copy_preload_reg): Move common part to ... | |
2869 | (install_preload_reg): ... this. New. | |
2870 | (arm_copy_preload_reg): New. | |
2871 | (copy_b_bl_blx): Move common part to ... | |
2872 | (install_b_bl_blx): .. this. New. | |
2873 | (arm_copy_b_bl_blx): New. | |
2874 | (copy_bx_blx_reg): Move common part to ... | |
2875 | (install_bx_blx_reg): ... this. New. | |
2876 | (arm_copy_bx_blx_reg): New. | |
2877 | (copy_alu_reg): Move common part to ... | |
2878 | (install_alu_reg): ... this. New. | |
2879 | (arm_copy_alu_reg): New. | |
2880 | (copy_alu_shifted_reg): Move common part to ... | |
2881 | (install_alu_shifted_reg): ... this. New. | |
2882 | (copy_ldr_str_ldrb_strb): Move common part to ... | |
2883 | (install_ldr_str_ldrb_strb): ... this. New. | |
2884 | (arm_copy_ldr_str_ldrb_strb): New. | |
2885 | (copy_copro_load_store): Move some common part to ... | |
2886 | (install_copy_copro_load_store): ... this. New. | |
2887 | (arm_copy_copro_load_store): New. | |
2888 | (copy_svc): Delete. | |
2889 | (arm_copy_svc): Renamed from copy_svc. | |
2890 | (copy_undef): Delete. | |
2891 | (arm_copy_undef): Renamed from copy_undef. | |
2892 | (decode_ext_reg_ld_st): Delete. | |
2893 | (arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st. | |
2894 | (decode_svc_copro): Delete. | |
2895 | (arm_decode_svc_copro): Renamed from decode_svc_copro. | |
2896 | (copy_copro_load_store, copy_alu_imm): update callers. | |
2897 | (copy_extra_ld_st, copy_block_xfer): Likewise. | |
2898 | (decode_misc_memhint_neon, decode_unconditional): Likewise. | |
2899 | (decode_miscellaneous, decode_dp_misc): Likewise. | |
2900 | (decode_ld_st_word_ubyte, decode_media): Likewise. | |
2901 | (decode_b_bl_ldmstm, decode_ext_reg_ld_st): Likewise. | |
2902 | (decode_svc_copro, decode_misc_memhint_neon): Likewise. | |
2903 | (decode_unconditional, decode_miscellaneous): Likewise. | |
2904 | (decode_media, decode_b_bl_ldmstm): Likewise. | |
2905 | (arm_process_displaced_insn): Likewise.. | |
2906 | (decode_misc_memhint_neon): Delete. | |
2907 | (arm_decode_misc_memhint_neon): Renamed from decode_misc_memhint_neon. | |
2908 | (decode_miscellaneous): Delete. | |
2909 | (arm_decode_miscellaneous): Renamed from decode_miscellaneous. | |
2910 | (decode_dp_misc): Delete. | |
2911 | (arm_decode_dp_misc): Renamed from decode_dp_misc. | |
2912 | (decode_ld_st_word_ubyte): Delete. | |
2913 | (arm_decode_ld_st_word_ubyte): Renamed from decode_ld_st_word_ubyte. | |
2914 | (decode_media): Delete. | |
2915 | (arm_decode_media): Renamed from decode_media. | |
2916 | (decode_b_bl_ldmstm): Delete. | |
2917 | (arm_decode_b_bl_ldmstm): Renamed from decode_b_bl_ldmstm. | |
2918 | (decode_ext_reg_ld_st): Delete. | |
2919 | (arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st. | |
2920 | (decode_unconditional): Delete. | |
2921 | (arm_decode_unconditional): Renamed from decode_unconditional. | |
2922 | ||
559a7a62 JK |
2923 | 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
2924 | ||
2925 | Case insensitive lookups implementation. | |
2926 | * dwarf2read.c: Include ctype.h. | |
2927 | (struct mapped_index): New field version. | |
2928 | (mapped_index_string_hash): New parameter index_version. New comment | |
2929 | for it. Call tolower appropriately. | |
2930 | (find_slot_in_mapped_hash): New variable cmp, initialize it, use it. | |
2931 | Choose the right index version for mapped_index_string_hash. | |
2932 | (dwarf2_read_index): Support also the index version 5. Initialize the | |
2933 | new struct mapped_index field version. | |
2934 | (hash_strtab_entry): Pass INT_MAX for the new parameter, explain why. | |
2935 | (find_slot): Explain the version needs. Pass INT_MAX for the new | |
2936 | parameter. | |
2937 | (write_psymtabs_to_index): Produce version 5. | |
2938 | * minsyms.c (lookup_minimal_symbol): New variable cmp, initialize it, | |
2939 | use it. New comment for SYMBOL_MATCHES_SEARCH_NAME. | |
2940 | * psymtab.c (lookup_partial_symbol): Find the | |
2941 | SYMBOL_MATCHES_SEARCH_NAME start of the found block of matching | |
2942 | entries. | |
2943 | * symtab.c (lookup_symbol_in_language): Remove the case_sensitive_off | |
2944 | NAME lowercasing. | |
2945 | (search_symbols): Pass REG_ICASE to regcomp for case_sensitive_off. | |
2946 | (completion_list_add_name): New variable ncmp, initialize it, use it. | |
2947 | * symtab.h (SYMBOL_HASH_NEXT): Always call tolower. | |
2948 | * utils.c (strcmp_iw): Support case_sensitive_off. | |
2949 | (strcmp_iw_ordered): Sort in a way compatible with case_sensitive_off. | |
2950 | New function comment part. New variables saved_string1, | |
2951 | saved_string2 and case_pass. Add a proper second pass. | |
2952 | ||
681bf369 JK |
2953 | 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
2954 | ||
2955 | Replace re_comp/re_exec by regcomp/regexec. | |
2956 | * symtab.c (struct search_symbols_data): New fields preg, preg_p. | |
2957 | (search_symbols_name_matches): Use them, use regexec. | |
2958 | (search_symbols): New variable retval_chain, adjust the use of | |
2959 | old_chain against it. Replace re_comp by regcomp. Use the new struct | |
2960 | search_symbols_data fields, use regexec instead of re_exec. | |
2961 | ||
b11b1f88 JK |
2962 | 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
2963 | ||
2964 | Format the code for the next patch. | |
2965 | * dwarf2read.c (struct mapped_index): Include delimiting newlines. | |
2966 | * utils.c (strcmp_iw_ordered): Reformat the code for the next patch. | |
2967 | New variables c1 and c2. | |
2968 | ||
2484c66b UW |
2969 | 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org> |
2970 | ||
2971 | * infrun.c (proceed): Do not single-step into signal delivery | |
2972 | when stepping off a breakpoint location. | |
2973 | (insert_step_resume_breakpoint_at_frame): Move prototype earlier. | |
2974 | (insert_step_resume_breakpoint_at_caller): Likewise. | |
2975 | (insert_step_resume_breakpoint_at_sal): Likewise. | |
2976 | (insert_longjmp_resume_breakpoint): Likewise. | |
2977 | ||
47423772 YQ |
2978 | 2011-04-27 Yao Qi <yao@codesourcery.com> |
2979 | ||
2980 | * common/linux-ptrace.h: Remove include <sys/wait.h>. | |
2981 | ||
13bdd2e7 JB |
2982 | 2011-04-27 Joel Brobecker <brobecker@adacore.com> |
2983 | ||
2984 | * procfs.c (procfs_pass_signals): Fix advance declaration. | |
2985 | ||
2455069d UW |
2986 | 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org> |
2987 | ||
2988 | * target.h (struct target_ops): Remove to_notice_signals; | |
2989 | add to_pass_signals. | |
2990 | (target_notice_signals): Remove. | |
2991 | (target_pass_signals): Add prototype. | |
2992 | * target.c (update_current_target): Remove to_notice_signals; | |
2993 | mention to_pass_signals. | |
2994 | (target_pass_signals): New function. | |
2995 | (debug_to_notice_signals): Remove. | |
2996 | (setup_target_debug): Do not install debug_to_notice_signals. | |
2997 | ||
2998 | * infrun.c (signal_pass): New global. | |
2999 | (resume): Call target_pass_signals. | |
3000 | (handle_inferior_event): Report all signals while stepping over | |
3001 | non-steppable watchpoint. Reset trap_expected to ensure breakpoints | |
3002 | are re-inserted when stepping over a signal handler. | |
3003 | (signal_cache_update): New function. | |
3004 | (signal_stop_update): Call it. | |
3005 | (signal_print_update): Likewise. | |
3006 | (signal_pass_update): Likewise. | |
3007 | (handle_command): Call signal_cache_update and target_pass_signals | |
3008 | instead of target_notice_signals. | |
3009 | (_initialize_infrun): Initialize signal_pass. | |
3010 | ||
3011 | * linux-nat.c (pass_mask): New global. | |
3012 | (linux_nat_pass_signals): New function. | |
3013 | (linux_nat_create_inferior): Report all signals initially. | |
3014 | (linux_nat_attach): Likewise. | |
3015 | (linux_nat_resume): Use pass_mask to decide whether to directly | |
3016 | handle an inferior signal. | |
3017 | (linux_nat_wait_1): Likewise. | |
3018 | (linux_nat_add_target): Install to_pass_signals callback. | |
3019 | ||
3020 | * nto-procfs.c (notice_signals): Remove. | |
3021 | (procfs_resume): Do not call notice_signals. | |
3022 | (procfs_notice_signals): Remove. | |
3023 | (procfs_pass_signals): New function. | |
3024 | (init_procfs_ops): Install to_pass_signals callback instead of | |
3025 | to_notice_signals callback. | |
3026 | (_initialize_procfs): Report all signals initially. | |
3027 | ||
3028 | * procfs.c (procfs_notice_signals): Remove. | |
3029 | (procfs_pass_signals): New function. | |
3030 | (procfs_target): Install to_pass_signals callback instead of | |
3031 | to_notice_signals callback. | |
3032 | (register_gdb_signals): Remove. | |
3033 | (procfs_debug_inferior): Report all signals initially. | |
3034 | (procfs_init_inferior): Remove redundant register_gdb_signals call. | |
3035 | ||
3036 | * remote.c (remote_pass_signals): Add numsigs and pass_signals | |
3037 | parameters; use them instead of calling signal_..._state routines. | |
3038 | (remote_notice_signals): Remove. | |
3039 | (remote_start_remote): Report all signals initially. | |
3040 | (remote_resume): Do not call remote_pass_signals. | |
3041 | (_initialize_remote): Install to_pass_signals callback instead of | |
3042 | to_notice_signals callback. | |
3043 | ||
46c6471b PA |
3044 | 2011-04-27 Pedro Alves <pedro@codesourcery.com> |
3045 | ||
3046 | * breakpoint.c (user_settable_breakpoint): Delete. | |
3047 | (user_breakpoint_p): Remove check on user_settable_breakpoint. | |
3048 | (delete_command): Check user_breakpoint_p instead of looking at | |
3049 | the breakpoint's type. | |
3050 | (disable_command): Ditto. | |
3051 | (enable_command): Ditto. | |
3052 | (delete_trace_command): Use user_breakpoint_p instead of looking | |
3053 | at the breakpoint number directly. When checking if there are | |
3054 | user visible tracepoints, in order to know whether to ask the user | |
3055 | for confirmation, check whether the breakpoint is actually a | |
3056 | tracepoint. | |
3057 | ||
f6d90398 VP |
3058 | 2011-04-27 Vladimir Prus <vladimir@codesourcery.com> |
3059 | ||
3060 | * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix | |
3061 | compilation. | |
3062 | ||
8d3788bd VP |
3063 | 2011-04-27 Vladimir Prus <vladimir@codesourcery.com> |
3064 | ||
3065 | MI breakpoint notifications. | |
3066 | ||
f33edef8 PP |
3067 | * annotate.c (breakpoint_changed): Adjust parameter type. |
3068 | * breakpoint.c (set_breakpoint_condition): Adjust to change | |
3069 | in breakpoint_modified type. | |
3070 | (breakpoint_set_commands): Likewise. | |
3071 | (do_map_commands_command): Likewise. | |
3072 | (bpstat_check_breakpoint_conditions): Notify that breakpoint has | |
3073 | changed after bumping hit count. | |
3074 | (bpstat_stop_status): Likewise. | |
3075 | (print_one_breakpoint_location): Don't wrap in tuple here. | |
3076 | (print_one_breakpoint): Always print individual locations. | |
3077 | For locations, use unnamed tuple. | |
3078 | (disable_breakpoints_in_unloaded_shlib): Notify that breakpoint | |
3079 | has changed. | |
3080 | (create_catchpoint, create_syscall_event_catchpoint): Call | |
3081 | breakpoint_created obsever. | |
3082 | (mention): Don't call breakpoint_created observer. | |
3083 | (create_breakpoint_sal): Call breakpoint_created observer. | |
3084 | (create_breakpoint, watch_command_1): Likewise. | |
3085 | (create_ada_exception_breakpoint): Likewise. | |
3086 | (delete_breakpoint): Call breakpoint_deleted breakpoint. | |
3087 | (locations_are_equal): New. | |
3088 | (update_breakpoint_locations): If locations were changed, notify. | |
3089 | (set_ignore_count, disable_breakpoint, do_enable_breakpoint): | |
3090 | Call breakpoint_modified observer. | |
3091 | ||
3092 | * mi/mi-cmd-break.c (breakpoint_notify): Adjust. | |
3093 | (mi_cmd_break_insert): Don't set observers for modify and delete. | |
3094 | * mi/mi-interp.c (mi_suppress_breakpoint_notifications): New. | |
3095 | (mi_breakpoint_created, mi_breakpoint_deleted) | |
3096 | (mi_breakpoint_modified): New. | |
3097 | (mi_interpreter_init): Hook the above. | |
3098 | * mi/mi-main.c (mi_cmd_execute): Disable breakpoint notifications | |
3099 | while -break-* commands are executing. | |
3100 | * mi/mi-main.h (mi_suppress_breakpoint_notifications): New. | |
3101 | * mi/mi-out.c (struct ui_out_data): New field original_buffer. | |
3102 | (mi_redirect): New. | |
3103 | (mi_ui_out_impl): Hook in mi_redirect. | |
3104 | (mi_field_skip): True to the name, skip the field, don't output | |
3105 | a field with an empty value. | |
3106 | ||
3107 | * python/py-breakpoint.c (gdbpy_breakpoint_created) | |
3108 | (gdbpy_breakpoint_deleted): Adjust. | |
3109 | * tui/tui-hooks.c (tui_event_create_breakpoint) | |
3110 | (tui_event_delete_breakpoint, tui_event_modify_breakpoint): Adjust. | |
8d3788bd | 3111 | |
a8f42b45 UW |
3112 | 2011-04-26 Aleksandar Ristovski <aristovski@qnx.com> |
3113 | ||
3114 | * nto-procfs.c (procfs_insert_hw_watchpoint): Fix prototype. | |
3115 | (procfs_remove_hw_watchpoint): Likewise. | |
3116 | ||
57e12211 TT |
3117 | 2011-04-26 Michael Walle <michael@walle.cc> |
3118 | ||
3119 | * remote.c (remote_start_remote): Ack packet after sending the | |
3120 | interrupt sequence. | |
3121 | ||
af96c192 YQ |
3122 | 2011-04-26 Yao Qi <yao@codesourcery.com> |
3123 | ||
f33edef8 PP |
3124 | * linux-nat.c: Move common macros to ... |
3125 | Include linux-ptrace.h. | |
3126 | * common/linux-ptrace.h: ... here. New. | |
af96c192 | 3127 | |
3e03848b JK |
3128 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
3129 | ||
3130 | * elfread.c (elf_symfile_read): Protect dwarf2_initialize_objfile by | |
3131 | !objfile_has_partial_symbols. New comment. | |
3132 | * objfiles.c (objfile_has_partial_symbols): Call HAS_SYMBOLS if | |
3133 | SYM_READ_PSYMBOLS is not present. Extend the comment. | |
3134 | * symfile.h (struct sym_fns): Extend the sym_read_psymbols comment. | |
3135 | ||
1ae0d051 JK |
3136 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
3137 | ||
3138 | * defs.h (ENUM_BITFIELD): Remove. | |
3139 | ||
03f2bd59 JK |
3140 | 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
3141 | Eli Zaretskii <eliz@gnu.org> | |
3142 | ||
3143 | * NEWS: Document the new gdbserver --once option. | |
3144 | ||
4161fbb0 JZ |
3145 | 2011-04-21 Jie Zhang <jzhang918@gmail.com> |
3146 | ||
3147 | * MAINTAINERS: Update my email address. | |
3148 | ||
bcb28afc PM |
3149 | 2011-04-21 Pierre Muller <muller@ics.u-strasbg.fr> |
3150 | ||
3151 | * gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro. | |
3152 | (INTERMEDIATE_ENCODING): Change value to intermediate_encoding | |
3153 | function call if __STDC_ISO_10646__ macro is defined. | |
3154 | (intermediate_encoding): New prototype. | |
3155 | * charset.c (your_gdb_wchar_t_is_bogus): New extern test variable | |
3156 | to generate compile time error for unsupported gdb_wchar_t size. | |
3157 | (ENDIAN_SUFFIX): New macro. | |
3158 | (intermediate_encoding): New function. | |
3159 | ||
7b08b9eb JK |
3160 | 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
3161 | ||
3162 | * ada-lang.c (struct add_partial_datum): Update the comment for | |
3163 | expand_partial_symbol_name. | |
3164 | (ada_add_partial_symbol_completions): Rename to ... | |
3165 | (ada_expand_partial_symbol_name): ... here, change return type, update | |
3166 | function comment, call symbol_completion_match instead of | |
3167 | symbol_completion_add. | |
3168 | (ada_make_symbol_completion_list): Use now expand_partial_symbol_names | |
3169 | and ada_expand_partial_symbol_name. | |
3170 | * dwarf2read.c (dw2_expand_symtabs_matching): Support NULL | |
3171 | FILE_MATCHER. | |
3172 | (dw2_map_symbol_names): Remove. | |
3173 | (dwarf2_gdb_index_functions): Unlist dw2_map_symbol_names. | |
3174 | * psymtab.c (map_symbol_names_psymtab): Remove. | |
3175 | (expand_symtabs_matching_via_partial): Support NULL FILE_MATCHER. | |
3176 | Support KIND == ALL_DOMAIN. Exchange the NAME_MATCHER and KIND check | |
3177 | order. | |
3178 | (psym_functions): Unlist map_symbol_names_psymtab. | |
3179 | (map_partial_symbol_names): Rename to ... | |
3180 | (expand_partial_symbol_names): ... here, change the FUN type, call | |
3181 | expand_symtabs_matching with ALL_DOMAIN and NULL FILE_MATCHER now. | |
3182 | * psymtab.h (map_partial_symbol_names): Rename to ... | |
3183 | (expand_partial_symbol_names): ... here, change the FUN type. | |
3184 | * symfile.h (struct quick_symbol_functions): Update the description of | |
3185 | expand_symtabs_matching. Remove map_symbol_names. | |
3186 | * symtab.c (search_symbols): Add ALL_DOMAIN to the function comment. | |
3187 | (struct add_name_data): Update the comment for | |
3188 | expand_partial_symbol_name. | |
3189 | (add_partial_symbol_name): Rename to ... | |
3190 | (expand_partial_symbol_name): ... here. Replace | |
3191 | completion_list_add_name call by strncmp. | |
3192 | (default_make_symbol_completion_list_break_on): Use now | |
3193 | expand_partial_symbol_names and expand_partial_symbol_name. | |
3194 | * symtab.h (enum search_domain): New element ALL_DOMAIN. | |
3195 | ||
90476074 TT |
3196 | 2011-04-20 Tom Tromey <tromey@redhat.com> |
3197 | ||
3198 | * dwarf2read.c (save_gdb_index_command): Replace format | |
3199 | documentation with a pointer to the manual. | |
3200 | ||
c21236dc PA |
3201 | 2011-04-20 Pedro Alves <pedro@codesourcery.com> |
3202 | ||
3203 | * regcache.c: Include remote.h. | |
3204 | (enum regcache_dump_what) <regcache_dump_remote>: New enum value. | |
3205 | (regcache_dump): Handle regcache_dump_remote. | |
3206 | (maintenance_print_remote_registers): New function. | |
3207 | (_initialize_regcache): Install "maint print remote-registers" | |
3208 | command. | |
3209 | * remote.c (map_regcache_remote_table): New function, factored out | |
3210 | from ... | |
3211 | (init_remote_state): ... here. | |
3212 | (remote_register_number_and_offset): New. | |
3213 | * remote.h (remote_register_number_and_offset): Declare. | |
3214 | ||
b78974c3 PA |
3215 | 2011-04-20 Pedro Alves <pedro@codesourcery.com> |
3216 | ||
3217 | * regcache.c (get_thread_arch_regcache): If creating a regcache for | |
3218 | null_ptid, assume and allow a NULL address space, instead of | |
3219 | asking the target for the ptid's address space. | |
3220 | * infrun.c (ptid_is_pid): Remove assertion. | |
3221 | ||
7a9dd1b2 TT |
3222 | 2011-04-19 Tom Tromey <tromey@redhat.com> |
3223 | ||
3224 | * windows-tdep.c (windows_xfer_shared_library): | |
3225 | * windows-nat.c (get_module_name, windows_make_so): | |
3226 | * v850-tdep.c (v850_handle_pushm): | |
3227 | * utils.c (null_cleanup, gdb_realpath): | |
3228 | * ui-out.c (get_next_header): | |
3229 | * tracepoint.c (clear_traceframe_info): | |
3230 | * symtab.c (lookup_symtab): | |
3231 | * serial.h (struct serial_ops): | |
3232 | * mipsread.c (read_alphacoff_dynamic_symtab): | |
3233 | * infcmd.c (print_return_value): | |
3234 | * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): | |
3235 | * f-exp.y (parse_number): | |
3236 | * exceptions.c (catch_exceptions): | |
3237 | * dummy-frame.c (dummy_frame_this_id): | |
3238 | * defs.h (struct cleanup): | |
3239 | * breakpoint.c (disable_breakpoints_in_unloaded_shlib): | |
3240 | * arm-tdep.c (arm_push_dummy_call): | |
3241 | * amd64-tdep.h (amd64_collect_xsave): | |
3242 | * amd64-tdep.c (amd64_collect_xsave): | |
3243 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): | |
3244 | * README (typing): Remove duplicate words. | |
3245 | * cli/cli-decode.c (lookup_cmd_composition): Add comma. | |
3246 | * infrun.c (siginfo_value_read): Fix typo. | |
3247 | * solib-frv.c (frv_fdpic_find_global_pointer): Likewise. | |
3248 | * top.c (source_line_number): Add comma. | |
3249 | ||
9941e0c5 MK |
3250 | 2011-04-19 Marc Khouzam <marc.khouzam@ericsson.com> |
3251 | ||
3252 | * thread.c (any_live_thread_of_process): Prioritize threads | |
3253 | that are not executing. | |
3254 | * gdbthread.h (any_live_thread_of_process): Update comment | |
3255 | as per above change. | |
3256 | ||
ed4b0e6a AS |
3257 | 2011-04-19 Andreas Schwab <schwab@linux-m68k.org> |
3258 | ||
3259 | * xcoffread.c (process_xcoff_symbol): Remove useless cast. | |
3260 | (scan_xcoff_symtab): Likewise. | |
3261 | ||
9b13a2db PM |
3262 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
3263 | ||
3264 | * xcoffread.c (process_xcoff_symbol): ARI fix: Avoid assignment | |
3265 | inside if clause. | |
3266 | ||
1c6e1b0d PM |
3267 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
3268 | Pedro Alves <pedro@codesourcery.com> | |
3269 | ||
3270 | * xstormy16-tdep.c (xstormy16_push_dummy_call): Add local | |
3271 | variables to simplify code and avoid == operator at end of | |
3272 | line as this is against GNU coding standards. | |
3273 | ||
74de0234 PM |
3274 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
3275 | ||
3276 | * solib-svr4.c (svr4_keep_data_in_core): Rename local variable | |
3277 | lm_name to name_lm to avoid conflict with lm_name function. | |
3278 | ||
b23518f0 PM |
3279 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
3280 | ||
3281 | ARI fixes: Use only lowercase function name for static functions. | |
3282 | * nto-tdep.c (LM_ADDR): Rename to... | |
3283 | (lm_addr): New function name. | |
3284 | (nto_relocate_section_addresses): Adapt to change above. | |
3285 | * solib-sunos.c (LM_ADDR): Rename to... | |
3286 | (lm_addr): New function name. | |
3287 | (LM_NEXT): Rename to... | |
3288 | (lm_next): New function name. | |
3289 | (sunos_current_sos, sunos_relocate_section_addresses): Adapt to | |
3290 | function name changes above. | |
3291 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Rename to... | |
3292 | (lm_addr_from_link_map): New function name. | |
3293 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
3294 | (has_lm_dynamic_from_link_map): New function name. | |
3295 | (LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
3296 | (lm_dynamic_from_link_map): New function name. | |
3297 | (LM_ADDR_CHECK): Rename to... | |
3298 | (lm_addr_check): New function name. | |
3299 | (LM_NEXT): Rename to... | |
3300 | (lm_next): New function name. | |
3301 | (LM_PREV): Rename to... | |
3302 | (lm_prev): New function name. | |
3303 | (LM_NAME): Rename to... | |
3304 | (lm_name): New function name. | |
3305 | (IGNORE_FIRST_LINK_MAP_ENTRY): Rename to... | |
3306 | (ignore_first_link_map_entry): New function name. | |
3307 | (svr4_keep_data_in_core): Adapt to function name changes above. | |
3308 | (svr4_current_sos): Likewise. | |
3309 | (enable_break): Likewise. | |
3310 | (svr4_relocate_section_addresses): Likewise. | |
3311 | ||
1448a0a2 PM |
3312 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
3313 | ||
3314 | ARI cleanup. | |
3315 | * xtensa-tdep.c (xtensa_register_type): Use xstrprintf instead of | |
3316 | sprintf. Simplify code and avoid loosing memory. | |
3317 | (xtensa_register_reggroup_p): Extract assignment out of IF clause. | |
3318 | (call0_frame_cache): Remove && operator from end of line. | |
3319 | ||
02835898 JK |
3320 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
3321 | ||
3322 | Fix libraries displacement if they change whether they were prelinked. | |
3323 | * solib-svr4.c (LM_ADDR_CHECK): Set L_ADDR even if the DYNAMIC pointer | |
3324 | does not match. Comment why. | |
3325 | ||
9a845ea2 JK |
3326 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
3327 | ||
3328 | * corelow.c: Include wrapper.h. | |
3329 | (core_open): Call now gdb_target_find_new_threads. | |
3330 | * wrapper.c: Include target.h. | |
3331 | (gdb_target_find_new_threads): New. | |
3332 | * wrapper.h (gdb_target_find_new_threads): New declaration. | |
3333 | ||
254f582e JK |
3334 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
3335 | ||
3336 | * linux-thread-db.c (find_new_threads_callback): Exit on zero TI_TID | |
3337 | even if !TARGET_HAS_EXECUTION. | |
3338 | ||
63524580 JK |
3339 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
3340 | ||
3341 | Fix convert_code_addr_to_desc_addr for ppc64 files after eu-strip. | |
3342 | * elfread.c (elf_symfile_read): New variable synth_abfd, pass it to | |
3343 | bfd_get_synthetic_symtab. | |
3344 | * jit.c (jit_register_code): Pass NULL to the new parameter parent. | |
3345 | * machoread.c (macho_add_oso_symfile): Pass main_objfile to the new | |
3346 | parameter parent, remove the call to add_separate_debug_objfile. | |
3347 | * solib.c (solib_read_symbols): Pass NULL to the new parameter parent. | |
3348 | * symfile-mem.c (symbol_file_add_from_memory): Likewise. | |
3349 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New parameter | |
3350 | parent, new comment for it, call add_separate_debug_objfile for it. | |
3351 | (symbol_file_add_separate): Pass objfile as the parameter parent, | |
3352 | remove the call to add_separate_debug_objfile. | |
3353 | (symbol_file_add_from_bfd): New parameter parent, pass it. | |
3354 | (symbol_file_add): Pass NULL to the new parameter parent. | |
3355 | * symfile.h (symbol_file_add_from_bfd): New parameter parent. | |
3356 | ||
90359a16 JK |
3357 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
3358 | ||
3359 | * elfread.c (elf_symtab_read): Do not ignore .L symbols if they are | |
3360 | BSF_SYNTHETIC. | |
3361 | ||
626e7282 JK |
3362 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
3363 | ||
3364 | Fix Python access to inlined frames. | |
3365 | * python/py-frame.c (frapy_read_var): Find BLOCK using get_frame_block. | |
3366 | * python/py-symbol.c (gdbpy_lookup_symbol): Likewise. | |
3367 | ||
cf31e6f9 TT |
3368 | 2011-04-15 Tom Tromey <tromey@redhat.com> |
3369 | ||
3370 | * dwarf2read.c (add_index_entry): Use VEC_last, not VEC_length. | |
3371 | ||
c8d895f1 GB |
3372 | 2011-04-15 Gary Benson <gbenson@redhat.com> |
3373 | ||
3374 | * MAINTAINERS: Add myself to write-after-approval section. | |
3375 | ||
56a9aa1d MF |
3376 | 2011-04-14 Mike Frysinger <vapier@gentoo.org> |
3377 | ||
3378 | * remote-sim.c (sim_command_completer): New function. | |
3379 | (_initialize_remote_sim): Set completer to sim_command_completer. | |
3380 | ||
ba770c9c TJB |
3381 | 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3382 | ||
3383 | * breakpoint.c (print_exception_catchpoint): Rename to ... | |
3384 | (print_it_exception_catchpoint): ... this. | |
3385 | (gnu_v3_exception_catchpoint_ops): Update with new name | |
3386 | for print_it_exception_catchpoint. | |
3387 | ||
51bf2553 EBM |
3388 | 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com> |
3389 | ||
3390 | * MAINTAINERS: Add myself for write after approval privileges. | |
3391 | ||
d242658c MP |
3392 | 2011-04-13 Marek Polacek <mpolacek@redhat.com> |
3393 | ||
3394 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
3395 | ||
4a4106ca TJB |
3396 | 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3397 | ||
3398 | * breakpoint.c (watch_command_1): Remove colon from exp_string. | |
3399 | ||
26063d49 TJB |
3400 | 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3401 | ||
3402 | * breakpoint.c (save_breakpoints): Verify whether | |
3403 | breakpoint_ops.print_recreate is defined before calling it. | |
3404 | ||
7782b183 GB |
3405 | 2011-04-11 Gary Benson <gbenson@redhat.com> |
3406 | ||
3407 | Fix failure with --enable-maintainer-mode. | |
3408 | * Makefile.in (aclocal_m4_deps): Updated gnulib dependencies. | |
3409 | ||
e8930875 JK |
3410 | 2011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
3411 | ||
3412 | Code cleanup. | |
3413 | * symtab.c (search_symbols): Reorder the KIND description in the | |
3414 | function comment. Remove the unused 4th element of types, types2, | |
3415 | types3 and types4. New gdb_assert on KIND. | |
3416 | (symtab_symbol_info): Remove the unused 4th element of classnames. | |
3417 | New gdb_assert on KIND. | |
3418 | * symtab.h (enum search_domain): New warning in the enum comment. | |
3419 | Assign numbers to the elements VARIABLES_DOMAIN, FUNCTIONS_DOMAIN and | |
3420 | TYPES_DOMAIN. | |
3421 | ||
b4f2f049 JK |
3422 | 2011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
3423 | ||
3424 | Fix crash of gdb save-index on a STABS file. | |
3425 | * dwarf2read.c (write_psymtabs_to_index): Return also on no | |
3426 | PSYMTABS_ADDRMAP. | |
3427 | ||
60d5a603 JK |
3428 | 2011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
3429 | ||
3430 | Fix DW_AT_accessibility compatibility with gcc-4.6+. | |
3431 | * dwarf2read.c: Include ctype.h. | |
3432 | (producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New | |
3433 | functions. | |
3434 | (dwarf2_add_field): Fix new_field->accessibility by calling | |
3435 | dwarf2_default_access_attribute. Restructure setting accessibility | |
3436 | vs. virtuality. | |
3437 | (dwarf2_add_member_fn): New variable accessibility. Fix fnp | |
3438 | is_private and is_protected by calling | |
3439 | dwarf2_default_access_attribute. | |
3440 | ||
e0f68161 KB |
3441 | 2011-04-08 Kevin Buettner <kevinb@redhat.com> |
3442 | ||
3443 | * rx-tdep.c (rx_frame_unwind): Add default_frame_unwind_stop_reason | |
3444 | to the initialization. | |
3445 | ||
2e1aae43 SE |
3446 | 2011-04-08 Steve Ellcey <sje@cup.hp.com> |
3447 | ||
3448 | * Add default_frame_unwind_stop_reason value to libunwind_frame_unwind | |
3449 | initalization. | |
3450 | ||
c6ca3dab PM |
3451 | 2011-04-07 Pierre Muller <muller@ics.u-strasbg.fr> |
3452 | ||
3453 | Remove support for old Cygwin 1.5 versions. | |
3454 | * remote-fileio.c: Remove macros used to emulate new cygwin_conv_path | |
3455 | function on old Cygwin version. | |
3456 | * windows-nat.c: Remove cygwin version check and always define | |
3457 | __USEWIDE for Cygwin compilation. | |
3458 | ||
bd18283a YQ |
3459 | 2011-04-07 Yao Qi <yao@codesourcery.com> |
3460 | ||
3461 | * arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN | |
3462 | and TO. | |
3463 | * arm-tdep.c (cleanup_svc): Handle variable instruction size. | |
3464 | (arm_copy_svc): Remove parameters INSN and TO. | |
3465 | (decode_svc_copro): Update caller. | |
3466 | * arm-tdep.h (struct displaced_step_closure): Remove parameters | |
3467 | from function pointer `copy_svc_os'. | |
3468 | ||
8c8dba6d YQ |
3469 | 2011-04-07 Yao Qi <yao@codesourcery.com> |
3470 | ||
3471 | * arm-tdep.c (cleanup_branch): Set a correct return address in | |
3472 | LR for ARM and Thumb. | |
3473 | ||
59d7bcaf JK |
3474 | 2011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
3475 | ||
3476 | Code cleanup. | |
3477 | * dictionary.c (dict_hash): Use SYMBOL_HASH_NEXT. | |
3478 | * dwarf2read.c (mapped_index_string_hash): Refer to SYMBOL_HASH_NEXT | |
3479 | in the function comment, a new note on values compatibility. | |
3480 | * minsyms.c (msymbol_hash_iw, msymbol_hash): Use SYMBOL_HASH_NEXT. | |
3481 | * symtab.h (SYMBOL_HASH_NEXT): New. | |
3482 | ||
e7db58ea TJB |
3483 | 2011-04-06 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3484 | ||
3485 | * ppc-linux-nat.c (check_condition): Add len output parameter. | |
3486 | Set it based on the memory region referenced in the condition | |
3487 | expression. Update all callers. | |
3488 | ||
9f743ef6 JK |
3489 | 2011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
3490 | ||
3491 | Fix crash regression on systems featuring .gdb_index. | |
3492 | * objfiles.c (free_objfile): Move the | |
3493 | forget_cached_source_info_for_objfile call earlier. Comment it. | |
3494 | Extend the comment for objfile_free_data. | |
3495 | ||
9182c5bc JK |
3496 | 2011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
3497 | ||
3498 | Fix regression of displaying the debug format. | |
3499 | * buildsym.c (end_symtab): Set symtab's debugformat and producer from | |
3500 | subfile. | |
3501 | ||
04bd08de TT |
3502 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3503 | ||
3504 | * cli/cli-interp.c (struct captured_execute_command_args): | |
3505 | Remove. | |
3506 | (do_captured_execute_command): Remove. | |
3507 | (safe_execute_command): Use TRY_CATCH. | |
3508 | * cli/cli-script.c (struct wrapped_read_command_file_args): | |
3509 | Remove. | |
3510 | (wrapped_read_command_file): Remove. | |
3511 | (script_from_file): Use TRY_CATCH. | |
3512 | * exceptions.c (catch_exception): Remove. | |
3513 | * exceptions.h (catch_exception): Remove. | |
3514 | (deprecated_throw_reason): Update comment. | |
3515 | * mi/mi-main.c (captured_mi_execute_command): Change 'data' | |
3516 | argument to 'context'. | |
3517 | (mi_execute_command): Use TRY_CATCH. | |
3518 | * remote.c (struct start_remote_args): Remove. | |
3519 | (remote_start_remote): Update; change arguments. | |
3520 | (remote_open_1): Use TRY_CATCH. | |
3521 | ||
58438ac1 TT |
3522 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3523 | ||
3524 | * tracepoint.c (scope_info): Update. | |
3525 | * symtab.c (decode_line_spec): Update. | |
3526 | * python/python.c (gdbpy_decode_line): Update. | |
3527 | * linespec.h (decode_line_1): Update. | |
3528 | * linespec.c (decode_line_1): Remove 'not_found_ptr' argument. | |
3529 | (decode_compound, find_method, symtab_from_filename) | |
3530 | (decode_variable): Likewise. | |
3531 | * cli/cli-cmds.c (edit_command): Update. | |
3532 | (list_command): Update. | |
3533 | * breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr' | |
3534 | argument. | |
3535 | (create_breakpoint): Update. | |
3536 | (until_break_command): Update. | |
3537 | (addr_string_to_sals): Update. | |
3538 | (decode_line_spec_1): Update. | |
3539 | ||
b78a6381 TT |
3540 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3541 | ||
3542 | * breakpoint.c (struct captured_parse_breakpoint_args): Remove. | |
3543 | (do_captured_parse_breakpoint): Remove. | |
3544 | (create_breakpoint): `e' is now volatile. Remove `parse_args'. | |
3545 | Use TRY_CATCH directly. | |
3546 | ||
00174a86 TT |
3547 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3548 | ||
3549 | * symtab.h (free_symtab): Remove. | |
3550 | (forget_cached_source_info_for_objfile): Declare. | |
3551 | * symmisc.c (free_symtab): Remove. | |
3552 | * source.c (forget_cached_source_info_for_objfile): New function. | |
3553 | (forget_cached_source_info): Use it. | |
3554 | * objfiles.c (free_objfile): Simplify check before calling | |
3555 | clear_current_source_symtab_and_line. Call | |
3556 | forget_cached_source_info_for_objfile. | |
3557 | ||
30cc903e TT |
3558 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3559 | ||
3560 | * mdebugread.c (psymtab_to_symtab_1): Copy linetable to obstack. | |
3561 | (new_symtab): Don't set `free_code' on symtab. | |
3562 | (new_linetable): Properly handle size==0. | |
3563 | * symtab.h (struct symtab) <free_code, free_func>: Remove. | |
3564 | * symmisc.c (free_symtab): Don't free the linetable. Don't call | |
3565 | free_func. | |
3566 | * jv-lang.c (struct jv_per_objfile_data): New. | |
3567 | (jv_per_objfile_free): Free the data. | |
3568 | (get_dynamics_objfile): Allocate a jv_per_objfile_data. | |
3569 | (get_java_class_symtab): Set the `dict' field on the | |
3570 | jv_per_objfile_data. | |
3571 | (free_class_block): Remove. | |
3572 | * buildsym.c (end_symtab): Don't set `free_code' or `free_func' on | |
3573 | the symtab. | |
3574 | ||
0c2e6019 TT |
3575 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3576 | ||
3577 | * symfile.c (reread_symbols): Update. | |
3578 | * objfiles.h (struct objfile) <cp_namespace_symtab>: Remove | |
3579 | field. | |
3580 | * objfiles.c (allocate_objfile): Update. | |
3581 | * cp-support.h (cp_check_possible_namespace_symbols): Don't | |
3582 | declare. | |
3583 | * cp-namespace.c (lookup_symbol_file): Don't call | |
3584 | lookup_possible_namespace_symbol. | |
3585 | (initialize_namespace_symtab, get_possible_namespace_block) | |
3586 | (free_namespace_block, cp_check_possible_namespace_symbols) | |
3587 | (check_possible_namespace_symbols_loop) | |
3588 | (check_one_possible_namespace_symbol) | |
3589 | (lookup_possible_namespace_symbol): Remove. | |
3590 | (maintenance_cplus_namespace): Replace with notice. | |
3591 | (_initialize_cp_namespace): Deprecate `maint cplus namespace'. | |
3592 | ||
554d387d TT |
3593 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3594 | ||
3595 | * xcoffread.c (read_xcoff_symtab): Make `debugfmt' const. | |
3596 | * symtab.h (struct symtab) <producer, debugformat>: Now const. | |
3597 | * symmisc.c (free_symtab): Don't free debugformat. | |
3598 | * buildsym.h (struct subfile) <producer, debugformat>: Now const. | |
3599 | (record_debugformat, record_producer): Document. | |
3600 | * buildsym.c (end_symtab): Don't save debugformat and producer | |
3601 | names on obstack. | |
3602 | (end_symtab): Don't free debugformat and producer fields. | |
3603 | (record_debugformat): Don't call xstrdup. | |
3604 | (record_producer): Likewise. | |
3605 | ||
d4d4db8a TT |
3606 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3607 | ||
3608 | * source.c (find_source_lines): Remove LSEEK_NOT_LINEAR code. | |
3609 | (source_line_charpos, source_charpos_line): Remove. | |
3610 | ||
8903c50d TT |
3611 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
3612 | ||
3613 | * symtab.h (domain_enum): Split in two... | |
3614 | (enum search_domain): New. | |
3615 | (search_symbols): Update. | |
3616 | * symtab.c (print_symbol_info, symtab_symbol_info): Remove | |
3617 | redundant declarations. | |
3618 | (search_symbols): Change 'kind' argument to search_domain. | |
3619 | Update. | |
3620 | (print_symbol_info): Likewise. | |
3621 | (symtab_symbol_info): Likewise. | |
3622 | * symfile.h (struct quick_symbol_functions) | |
3623 | <pre_expand_symtabs_matching>: Change type of 'kind' argument. | |
3624 | <expand_symtabs_matching>: Likewise. | |
3625 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Update. | |
3626 | (expand_symtabs_matching_via_partial): Update. | |
3627 | * dwarf2read.c (dw2_pre_expand_symtabs_matching): Update. | |
3628 | (dw2_expand_symtabs_for_function): Update. | |
3629 | * block.h: Moved anonymous enum... | |
3630 | * defs.h (enum block_enum): ... here. Now named. | |
3631 | ||
d9351f5f | 3632 | 2011-04-03 Joel Brobecker <brobecker@adacore.com> |
3633 | ||
3634 | GDB 7.3 branch created (branch timestamp: 2011-04-01 01:00 UTC) | |
3635 | * version.in: Bump version to 7.3.50.20110403-cvs. | |
3636 | ||
d6e00af6 JB |
3637 | 2011-04-03 Joel Brobecker <brobecker@adacore.com> |
3638 | ||
3639 | * NEWS: Create a new section for the next release branch. | |
3640 | Rename the section of the current branch, now that it has | |
3641 | been cut. | |
3642 | ||
2b9e5ea6 UW |
3643 | 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
3644 | ||
3645 | * arm-tdep.c (arm_gdbarch_init): Enfore correct register number | |
3646 | for "fpscr" in target description. | |
3647 | ||
0cf03b49 JK |
3648 | 2011-04-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
3649 | ||
3650 | * dwarf2read.c (find_slot_in_mapped_hash): New variable back_to, | |
3651 | initialize it. Delay HASH initialization. Strip the part after open | |
3652 | parenthesis for languages with qualifiers. Call do_cleanups. | |
3653 | ||
5d901a73 TT |
3654 | 2011-04-01 Tom Tromey <tromey@redhat.com> |
3655 | ||
3656 | * utils.c (report_command_stats): Don't print `-' for negative | |
3657 | number. | |
3658 | ||
b0dd7688 JB |
3659 | 2011-04-01 Eric Botcazou <ebotcazou@adacore.com> |
3660 | ||
3661 | * ada-lang.c (ada_is_simple_array_type, ada_value_slice_from_ptr) | |
3662 | (ada_value_slice, empty_array, to_fixed_array_type): Deal with | |
3663 | typedefs. | |
3664 | ||
956a9fb9 JB |
3665 | 2011-04-01 Joel Brobecker <brobecker@adacore.com> |
3666 | ||
3667 | * breakpoint.h (bpdisp_text): Add declaration. | |
3668 | * breakpoint.c (bpdisp_text): Make non-static. | |
3669 | * ada-lang.c: #include "mi/mi-common.h". | |
3670 | (print_it_exception): Rewrite to improve GDB/MI output. | |
3671 | ||
3352110b PA |
3672 | 2011-04-01 Pedro Alves <pedro@codesourcery.com> |
3673 | ||
3674 | * arm-tdep.h (struct address_space): Add forward declaration. | |
3675 | ||
18819fa6 UW |
3676 | 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
3677 | ||
3678 | * arm-tdep.h (arm_insert_single_step_breakpoint): Add prototype. | |
3679 | * arm-tdep.c (arm_override_mode): New global. | |
3680 | (arm_pc_is_thumb): Respect arm_override_mode. Remove single-step | |
3681 | execution mode heuristics. | |
3682 | (thumb_get_next_pc_raw): Remove INSERT_BKTP argument; always insert | |
3683 | second single-step breakpoint if needed, using | |
3684 | arm_insert_single_step_breakpoint. | |
3685 | (arm_get_next_pc_raw): Remove INSERT_BKTP argument. Only handle | |
3686 | ARM execution mode, do not call thumb_get_next_pc_raw. | |
3687 | (arm_get_next_pc): Encode execution mode in return value. Call | |
3688 | either arm_get_next_pc_raw or thumb_get_next_pc_raw. | |
3689 | (arm_insert_single_step_breakpoint): New function. | |
3690 | (arm_software_single_step): Call it. | |
3691 | * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): Add IS_THUMB | |
3692 | argument to return execution mode of sigreturn target. | |
3693 | (arm_linux_syscall_next_pc): Use it. | |
3694 | (arm_linux_copy_svc): Update call. | |
3695 | (arm_linux_software_single_step): Call | |
3696 | arm_insert_single_step_breakpoint. | |
3697 | ||
a6e293d1 JK |
3698 | 2011-03-31 Jan Kratochvil <jan.kratochvil@redhat.com> |
3699 | ||
3700 | * dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in | |
3701 | the comment. | |
3702 | ||
a4c8e806 TT |
3703 | 2011-03-31 Tom Tromey <tromey@redhat.com> |
3704 | ||
3705 | * varobj.c (update_dynamic_varobj_children): Properly handle | |
3706 | errors from iterator. | |
3707 | ||
df5c6c50 JK |
3708 | 2011-03-31 Jan Kratochvil <jan.kratochvil@redhat.com> |
3709 | ||
3710 | * dwarf2read.c (dwarf2_name): Initialize DEMANGLED. Avoid demangling | |
3711 | struct linkage name twice. | |
3712 | ||
1dae3efc TT |
3713 | 2011-03-31 Tom Tromey <tromey@redhat.com> |
3714 | ||
3715 | * python/py-prettyprint.c (print_stack_unless_memory_error): Add | |
3716 | missing ">" to message. | |
3717 | ||
f4f7ab05 TT |
3718 | 2011-03-31 Tom Tromey <tromey@redhat.com> |
3719 | ||
3720 | * varobj.c (instantiate_pretty_printer): Remove duplicate | |
3721 | 'return'. | |
3722 | ||
fcf250e2 UW |
3723 | 2011-03-31 Ulrich Weigand <ulrich.weigand@linaro.org> |
3724 | ||
3725 | * i386-tdep.c (i386_frame_prev_register): Unwind SP from memory | |
3726 | if neither saved value nor register available (e.g. signal frame). | |
3727 | ||
ee6436e3 TJB |
3728 | 2011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3729 | ||
3730 | * macroexp.c (expand): Avoid uninitialized variable | |
3731 | compiler warning. | |
3732 | ||
423f41a5 TJB |
3733 | 2011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3734 | ||
3735 | * breakpoint.c (break_range_command): Fix typo in comment. | |
3736 | ||
f1310107 TJB |
3737 | 2011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3738 | Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> | |
3739 | ||
3740 | Implement support for PowerPC BookE ranged breakpoints. | |
3741 | * NEWS: Mention support for ranged breakpoints on embedded PowerPC. | |
3742 | * breakpoint.h (struct bp_target_info) <length>: New member | |
3743 | variable. | |
3744 | (struct breakpoint_ops) <breakpoint_hit>: Take struct bp_location | |
3745 | instead of struct breakpoint as argument, and also add ASPACE | |
3746 | and BP_ADDR arguments. Update all callers. | |
3747 | (struct breakpoint_ops) <print_one_detail>: New method. | |
3748 | (struct breakpoint) <addr_string_range_end>: New member variable. | |
3749 | * breakpoint.c (breakpoint_location_address_match): Add function | |
3750 | prototype. | |
3751 | (insert_bp_location): Set bl->target_info.length. | |
3752 | (breakpoint_here_p): Call breakpoint_location_address_match. | |
3753 | (moribund_breakpoint_here_p): Likewise. | |
3754 | (regular_breakpoint_inserted_here_p): Likewise. | |
3755 | (breakpoint_thread_match): Likewise. | |
3756 | (bpstat_stop_status): Likewise. | |
3757 | (bpstat_check_location): Move call to | |
3758 | breakpoint_ops.breakpoint_hit to the top. | |
3759 | (print_one_breakpoint_location): Call | |
3760 | breakpoint_ops.print_one_detail if available. | |
3761 | (breakpoint_address_match_range): New function. | |
3762 | (breakpoint_location_address_match): Likewise. | |
3763 | (breakpoint_locations_match): Compare the length field of the | |
3764 | locations too. | |
3765 | (hw_breakpoint_used_count): Count resources used by all locations | |
3766 | in a breakpoint, and use breakpoint_ops.resources_needed if | |
3767 | available. | |
3768 | (breakpoint_hit_ranged_breakpoint): New function. | |
3769 | (resources_needed_ranged_breakpoint): Likewise. | |
3770 | (print_it_ranged_breakpoint): Likewise. | |
3771 | (print_one_ranged_breakpoint): Likewise. | |
3772 | (print_one_detail_ranged_breakpoint): Likewise. | |
3773 | (print_mention_ranged_breakpoint): Likewise. | |
3774 | (print_recreate_ranged_breakpoint): Likewise. | |
3775 | (ranged_breakpoint_ops): New structure. | |
3776 | (find_breakpoint_range_end): New function. | |
3777 | (break_range_command): Likewise. | |
3778 | (delete_breakpoint): Free addr_string_range_end. | |
3779 | (update_breakpoint_locations): Add SALS_END argument. Update | |
3780 | all callers. Calculate breakpoint length if a non-zero SALS_END | |
3781 | is given. Call breakpoint_locations_match instead of | |
3782 | breakpoint_address_match. | |
3783 | (reset_breakpoint): Find SaL of the end of the range if B is a | |
3784 | ranged breakpoint. | |
3785 | (_initialize_breakpoint): Register break-range command. | |
3786 | * defs.h (print_core_address): Add function prototype. | |
3787 | * ppc-linux-nat.c (ppc_linux_ranged_break_num_registers): New | |
3788 | function. | |
3789 | (ppc_linux_insert_hw_breakpoint): Support ranged breakpoints. | |
3790 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
3791 | (_initialize_ppc_linux_nat): Initialize | |
3792 | to_ranged_break_num_registers. | |
3793 | * target.c (update_current_target): Add comment about | |
3794 | to_ranged_break_num_registers. | |
3795 | (target_ranged_break_num_registers): New function. | |
3796 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
3797 | New method. | |
3798 | (target_ranged_break_num_registers): Add function prototype. | |
3799 | * ui-out.c (ui_out_field_core_addr): Move address-printing logic to ... | |
3800 | * utils.c (print_core_address): ... here. | |
3801 | ||
02d20e4a UW |
3802 | 2011-03-31 Ulrich Weigand <uweigand@de.ibm.com> |
3803 | ||
3804 | * breakpoint.c (addr_string_to_sals): Avoid uninitialized | |
3805 | variable compiler warning. | |
3806 | ||
ef23e705 TJB |
3807 | 2011-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3808 | ||
3809 | * breakpoint.c (breakpoint_re_set_one): Factor out breakpoint-resetting | |
3810 | code from here ... | |
3811 | (re_set_breakpoint): ... to here ... | |
3812 | (addr_string_to_sals): ... and here. | |
3813 | ||
311e6ab3 PM |
3814 | 2011-03-29 Pierre Muller <muller@ics.u-strasbg.fr> |
3815 | ||
3816 | * Makefile.in (SFILES): Add missing C sources. | |
3817 | (HFILES_NO_SRCDIR): Remove gdbserver subdirectory headers. | |
3818 | Add missing headers. | |
3819 | ||
acd1d99c MF |
3820 | 2011-03-29 Mike Frysinger <vapier@gentoo.org> |
3821 | ||
3822 | * .gitignore: New file. | |
3823 | ||
66ee2731 MF |
3824 | 2011-03-29 Mike Frysinger <vapier@gentoo.org> |
3825 | ||
3826 | * NEWS: Mention new cfi device simulation. | |
3827 | ||
53832f31 TT |
3828 | 2011-03-29 Tom Tromey <tromey@redhat.com> |
3829 | ||
3830 | * dwarf2read.c (fixup_partial_die): Handle linkage name on | |
3831 | otherwise anonymous types. | |
3832 | (dwarf2_name): Likewise. | |
3833 | * valops.c (value_struct_elt_for_reference): Refine artificial | |
3834 | type logic. Call error if j==-1. | |
3835 | ||
09b58708 JK |
3836 | 2011-03-29 Andreas Tobler <andreast-list@fgznet.ch> |
3837 | ||
3838 | Fix false GCC warning. | |
3839 | * infcall.c (find_function_addr): Initialize funaddr. | |
3840 | ||
6023c606 PM |
3841 | 2011-03-29 Pierre Muller <muller@ics.u-strasbg.fr> |
3842 | ||
3843 | Fix mingw compilation with --enable-targets=all. | |
3844 | * remote-mips.c (gdb_usleep.h): Include header. | |
3845 | (mips_enter_debug): Use gdb_usleep instead of sleep. | |
3846 | ||
0e30163f JK |
3847 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
3848 | ||
3849 | Support resolution of STT_GNU_IFUNC via breakpoints. | |
3850 | * breakpoint.c (print_it_typical): Support bp_gnu_ifunc_resolver and | |
3851 | bp_gnu_ifunc_resolver_return. | |
3852 | (bpstat_what): Rename parameter to bs_head, new variable bs, adjust | |
3853 | the loop. Support bp_gnu_ifunc_resolver and | |
3854 | bp_gnu_ifunc_resolver_return. New comment after the loop. New loop | |
3855 | for bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return | |
3856 | breakpoints. | |
3857 | (bptype_string, print_one_breakpoint_location): Support | |
3858 | bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. | |
3859 | (user_settable_breakpoint): Return true also for | |
3860 | bp_gnu_ifunc_resolver. | |
3861 | (allocate_bp_location): Support bp_gnu_ifunc_resolver and | |
3862 | bp_gnu_ifunc_resolver_return. | |
3863 | (set_breakpoint_location_function): New parameter explicit_loc, | |
3864 | describe it. Call find_pc_partial_function_gnu_ifunc with new | |
3865 | variable IS_GNU_IFUNC and adjust the address for STT_GNU_IFUNC if | |
3866 | EXPLICIT_LOC is not set. | |
3867 | (set_raw_breakpoint): Set EXPLICIT_LOC for | |
3868 | set_breakpoint_location_function. | |
3869 | (clone_momentary_breakpoint): Use true for EXPLICIT_LOC of | |
3870 | set_breakpoint_location_function. | |
3871 | (mention): Support bp_gnu_ifunc_resolver and | |
3872 | bp_gnu_ifunc_resolver_return. | |
3873 | (add_location_to_breakpoint): Set EXPLICIT_LOC for | |
3874 | set_breakpoint_location_function. | |
3875 | (update_breakpoint_locations): Remove static. | |
3876 | (breakpoint_re_set_one): Support bp_gnu_ifunc_resolver and | |
3877 | bp_gnu_ifunc_resolver_return. | |
3878 | * breakpoint.h (enum bptype): New fields bp_gnu_ifunc_resolver and | |
3879 | bp_gnu_ifunc_resolver_return. | |
3880 | (update_breakpoint_locations): New declaration. | |
3881 | * elfread.c: Include gdbthread.h and regcache.h. | |
3882 | (elf_gnu_ifunc_resolver_stop, elf_gnu_ifunc_resolver_return_stop): New | |
3883 | functions. | |
3884 | (elf_gnu_ifunc_fns): Install them. | |
3885 | * minsyms.c (stub_gnu_ifunc_resolver_stop) | |
3886 | (stub_gnu_ifunc_resolver_return_stop): New functions. | |
3887 | (stub_gnu_ifunc_fns): Install them. | |
3888 | * symtab.h (struct gnu_ifunc_fns): New fields gnu_ifunc_resolver_stop | |
3889 | and gnu_ifunc_resolver_return_stop. | |
3890 | (gnu_ifunc_resolver_stop, gnu_ifunc_resolver_return_stop): New. | |
3891 | ||
07be84bf JK |
3892 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
3893 | ||
3894 | STT_GNU_IFUNC reader implementation. | |
3895 | * elfread.c: Include gdbtypes.h, value.h and infcall.h. | |
3896 | (SYMBOL_GOT_PLT_SUFFIX, elf_rel_plt_read) | |
3897 | (elf_objfile_gnu_ifunc_cache_data, struct elf_gnu_ifunc_cache) | |
3898 | (elf_gnu_ifunc_cache_hash, elf_gnu_ifunc_cache_eq) | |
3899 | (elf_gnu_ifunc_record_cache, elf_gnu_ifunc_resolve_by_cache) | |
3900 | (elf_gnu_ifunc_resolve_by_got, elf_gnu_ifunc_resolve_name) | |
3901 | (elf_gnu_ifunc_resolve_addr): New. | |
3902 | (elf_symfile_read): Call elf_rel_plt_read. | |
3903 | (elf_gnu_ifunc_fns): New. | |
3904 | (_initialize_elfread): Initialize elf_objfile_gnu_ifunc_cache_data. | |
3905 | Install elf_gnu_ifunc_fns. | |
3906 | * infcall.c (find_function_return_type): New function. | |
3907 | (find_function_addr): Resolve TYPE_GNU_IFUNC functions, if possible. | |
3908 | * minsyms.c (stub_gnu_ifunc_resolve_addr) | |
3909 | (stub_gnu_ifunc_resolve_name): New functions. | |
3910 | (stub_gnu_ifunc_fns, gnu_ifunc_fns_p): New variables. | |
3911 | * symtab.h (struct gnu_ifunc_fns, gnu_ifunc_resolve_addr) | |
3912 | (gnu_ifunc_resolve_name, gnu_ifunc_fns_p): New. | |
3913 | ||
300f8e10 JK |
3914 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
3915 | ||
3916 | Code cleanup for later STT_GNU_IFUNC support. | |
3917 | * infcall.c (find_function_addr): Remove variable code, use explicit | |
3918 | dereferences for it. Move VALUE_TYPE initialization later. | |
3919 | ||
11c81455 JK |
3920 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
3921 | ||
3922 | GDB find_pc_partial_function support for STT_GNU_IFUNC. | |
3923 | * blockframe.c (cache_pc_function_is_gnu_ifunc): New variable. | |
3924 | (clear_pc_function_cache): Clear it. | |
3925 | (find_pc_partial_function): Rename to ... | |
3926 | (find_pc_partial_function_gnu_ifunc): ... this function. New | |
3927 | parameter is_gnu_ifunc_p, describe it. Set *IS_GNU_IFUNC_P. | |
3928 | (find_pc_partial_function): New wrapper for this function. | |
3929 | * symtab.h (find_pc_partial_function_gnu_ifunc): New declaration. | |
3930 | ||
0875794a JK |
3931 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
3932 | ||
3933 | GDB internal type support for STT_GNU_IFUNC. | |
3934 | * elfread.c (record_minimal_symbol): Support mst_text_gnu_ifunc. | |
3935 | (elf_symtab_read): Set mst_text_gnu_ifunc for | |
3936 | BSF_GNU_INDIRECT_FUNCTION. | |
3937 | * eval.c (evaluate_subexp_standard): Support TYPE_GNU_IFUNC. | |
3938 | * gdbtypes.c (init_type): Support TYPE_FLAG_GNU_IFUNC, | |
3939 | builtin_func_func, nodebug_text_gnu_ifunc_symbol and | |
3940 | nodebug_got_plt_symbol. | |
3941 | * gdbtypes.h (enum type_flag_value): New entry TYPE_FLAG_GNU_IFUNC. | |
3942 | (TYPE_GNU_IFUNC): New. | |
3943 | (struct main_type): New field flag_gnu_ifunc. | |
3944 | (struct builtin_type): New field builtin_func_func. | |
3945 | (struct objfile_type): New fields nodebug_text_gnu_ifunc_symbol and | |
3946 | nodebug_got_plt_symbol. | |
3947 | * minsyms.c (lookup_minimal_symbol_text): Support mst_text_gnu_ifunc. | |
3948 | (in_gnu_ifunc_stub): New. | |
3949 | (prim_record_minimal_symbol, find_solib_trampoline_target): Support | |
3950 | mst_text_gnu_ifunc. | |
3951 | * parse.c (write_exp_msymbol): New variable ifunc_msym. Detect and | |
3952 | support mst_text_gnu_ifunc. Support mst_slot_got_plt. | |
3953 | * solib-svr4.c (svr4_in_dynsym_resolve_code): Return true also for | |
3954 | in_gnu_ifunc_stub. | |
3955 | * symmisc.c (dump_msymbols): Support mst_text_gnu_ifunc. | |
3956 | * symtab.c (search_symbols): Likewise. | |
3957 | * symtab.h (enum minimal_symbol_type): New fields mst_text_gnu_ifunc | |
3958 | and mst_slot_got_plt. | |
3959 | (in_gnu_ifunc_stub): New declaration. | |
3960 | ||
d0fb5eae JK |
3961 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
3962 | ||
3963 | Support a ring of related breakpoints. | |
3964 | * breakpoint.c (watchpoint_del_at_next_stop): New, move here code from | |
3965 | other functions, add gdb_assert. | |
3966 | (update_watchpoint, watchpoint_check): Add gdb_assert. Use | |
3967 | watchpoint_del_at_next_stop. | |
3968 | (bpstat_check_watchpoint): Use watchpoint_del_at_next_stop. | |
3969 | (bpstat_stop_status): Handle ring in related_breakpoint. | |
3970 | (set_raw_breakpoint_without_location): Initialize ring in | |
3971 | related_breakpoint. | |
3972 | (delete_breakpoint): Handle ring in related_breakpoint, use | |
3973 | watchpoint_del_at_next_stop. | |
3974 | (map_breakpoint_numbers): Handle ring in related_breakpoint. | |
3975 | ||
9cded63f TT |
3976 | 2011-03-28 Tom Tromey <tromey@redhat.com> |
3977 | ||
3978 | PR symtab/12441: | |
3979 | * dwarf2read.c (prepare_one_comp_unit): Don't call set_cu_language | |
3980 | with `language_minimal'. | |
3981 | ||
467d42c4 UW |
3982 | 2011-03-25 Ulrich Weigand <ulrich.weigand@linaro.org> |
3983 | ||
3984 | * arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE | |
3985 | instead of checking for STT_ARM_TFUNC symbol type. | |
3986 | ||
62853458 TT |
3987 | 2011-03-25 Tom Tromey <tromey@redhat.com> |
3988 | ||
3989 | * linespec.c (symbol_found): Restore line-based result for | |
3990 | non-LOC_LABEL symbols. | |
3991 | ||
a7417d46 KT |
3992 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
3993 | ||
3994 | * tui/tui-source.c (tui_set_source_content): Use filename_cmp | |
3995 | instead of strcmp for comparison. | |
3996 | (tui_source_is_displayed): Likewise. | |
3997 | * tui/tui-winsource.c (tui_update_breakpoint_info): Likewise. | |
3998 | ||
55f1336d TT |
3999 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
4000 | ||
f33edef8 PP |
4001 | * dwarf2read.c (lookup_signatured_type): Use DW_FORM_ref_sig8 in |
4002 | complaint. | |
4003 | (skip_one_die): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
4004 | (find_partial_die_in_comp_unit): Likewise in comment. | |
4005 | (read_attribute_value): Likewise. | |
4006 | (lookup_die_type): Likewise. | |
4007 | (dwarf_form_name): Likewise. | |
4008 | (dump_die_shallow): Likewise. | |
4009 | (follow_die_ref_or_sig): Likewise. | |
55f1336d | 4010 | |
9ef07c8c TT |
4011 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
4012 | ||
4013 | PR breakpoints/11816: | |
4014 | * linespec.c (decode_line_1): Parse `function:label' linespecs. | |
4015 | (decode_compound): Update. | |
4016 | (find_function_symbol): New function. | |
4017 | (decode_dollar): Update. | |
4018 | (decode_label): Add 'function_symbol' parameter. Handle | |
4019 | function-relative labels. | |
4020 | (decode_variable): Update. | |
4021 | (symbol_found): Add 'function_symbol' parameter. Use label's PC, | |
4022 | not its line. Set `special_display' and canonical name for | |
4023 | labels. | |
4024 | ||
56435ebe TT |
4025 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
4026 | ||
4027 | * linespec.h (struct linespec_result) <special_display>: New | |
4028 | field. | |
4029 | * breakpoint.h (struct breakpoint) <display_canonical>: New | |
4030 | field. | |
4031 | * breakpoint.c (print_breakpoint_location): Respect | |
4032 | display_canonical. | |
4033 | (create_breakpoint_sal): Add 'display_canonical' parameter. | |
4034 | (create_breakpoints_sal): Update. | |
4035 | (create_breakpoint): Update. | |
4036 | ||
7efd8fc2 TT |
4037 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
4038 | ||
4039 | * symtab.c (decode_line_spec): Update. | |
4040 | * linespec.c (build_canonical_line_spec): Change type of | |
4041 | 'canonical'. | |
4042 | (decode_line_2, decode_line_1, decode_objc, decode_compound) | |
4043 | (find_method, decode_all_digits, decode_dollar, decode_label) | |
4044 | (symbol_found): Likewise. | |
4045 | (init_linespec_result): New function. | |
4046 | * breakpoint.c (struct captured_parse_breakpoint_args) | |
4047 | <canonical_p>: New field, replaces addr_string_p. | |
4048 | (create_breakpoints_sal): Add 'canonical' parameter, replacing | |
4049 | 'addr_string'. | |
4050 | (parse_breakpoint_sals): Likewise. | |
4051 | (do_captured_parse_breakpoint): Update. | |
4052 | (create_breakpoint): Use struct linespec_result. | |
4053 | (until_break_command): Update. | |
4054 | (breakpoint_re_set_one): Update. | |
4055 | (decode_line_spec_1): Update. | |
4056 | * linespec.h (struct linespec_result): New. | |
4057 | (init_linespec_result): Declare. | |
4058 | ||
788c8b10 PA |
4059 | 2011-03-23 Pedro Alves <pedro@codesourcery.com> |
4060 | ||
4061 | * regcache.c (regcache_raw_read): If the target didn't supply a | |
4062 | given raw register, mark it as unavailable. | |
4063 | ||
0ba1096a KT |
4064 | 2011-03-23 Kai Tietz <ktietz@redhat.com> |
4065 | ||
4066 | * breakpoint.c (clear_command): Use filename_cmp | |
4067 | instead of strcmp for comparison. | |
4068 | * buildsym.c (watch_main_source_file_lossage): Likewise. | |
4069 | (patch_subfile_names): Use IS_DIR_SEPARATOR instead of | |
4070 | checking just for slash. | |
4071 | * dbxread.c (read_dbx_symtab): Use lbasename instead of | |
4072 | strrchr and filename_cmp instead of strcmp for filenames. | |
4073 | (add_old_header_file): Use filename_cmp | |
4074 | instead of strcmp for comparison. | |
4075 | * exec.c (exec_set_section_address): Likewise. | |
4076 | * macrotab.c (macro_lookup_inclusion): Likewise. | |
4077 | (macro_lookup_inclusion): Likewise. | |
4078 | * elfread.c (_initialize_elfread): Likewise. | |
4079 | (elfstab_offset_sections): Likewise. | |
4080 | (elfstab_offset_sections): Use lbasename instead of | |
4081 | strrchr. | |
4082 | * mdebugread.c (parse_partial_symbols): Likewise. | |
4083 | (arse_partial_symbols): Use filename_(n)cmp instead of | |
4084 | str(n)cmp for comparison. | |
4085 | * minsyms.c (lookup_minimal_symbol): Likewise. | |
4086 | * psymtab.c (read_psymtabs_with_filename): Likewise. | |
4087 | * solib.c (solib_read_symbols): Likewise. | |
4088 | (reload_shared_libraries_1): Likewise. | |
4089 | * symmisc.c (maintenance_print_symbols): Likewise. | |
4090 | * symfile.c (separate_debug_file_exists): Likewise. | |
4091 | (reread_symbols): Likewise. | |
4092 | (find_separate_debug_file_by_debuglink): Likewise. | |
4093 | * remote-fileio.c (remote_fileio_func_rename): Likewise. | |
4094 | * source.c (add_path): Likewise. | |
4095 | * symtab.c (filename_seen): Likewise. | |
4096 | (file_matches): Likewise. | |
4097 | (print_symbol_info): Likewise. | |
4098 | (maybe_add_partial_symtab_filename): Likewise. | |
4099 | (make_source_files_completion_list): Likewise. | |
4100 | * xml-syscall.c (init_sysinfo): Likewise. | |
4101 | * windows-nat.c (_initialize_check_for_gdb_ini): Use | |
4102 | IS_DIR_SEPARATOR for checking for trailing path separator. | |
4103 | ||
dd90784c JK |
4104 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
4105 | ||
4106 | * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_entry_value. New | |
4107 | label abort_expression. | |
4108 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle | |
4109 | DWARF_VALUE_OPTIMIZED_OUT. | |
4110 | ||
3167638f JK |
4111 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
4112 | ||
4113 | Code cleanup. | |
4114 | * c-typeprint.c (c_type_print_args): Change parameter show_artificial | |
4115 | to linkage_name. Invert its value. Update the function comment. | |
4116 | (c_type_print_varspec_suffix): Invert it at the caller. | |
4117 | * dwarf2read.c (dwarf2_compute_name): Invert it at the caller. | |
4118 | ||
ce406537 PA |
4119 | 2011-03-22 Pedro Alves <pedro@codesourcery.com> |
4120 | ||
4121 | * infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR | |
4122 | errors when reading the `stop_pc'. | |
4123 | * printcmd.c (pc_prefix): Use get_frame_pc_if_available instead of | |
4124 | get_frame_pc. | |
4125 | ||
da5d4055 PM |
4126 | 2011-03-22 Phil Muldoon <pmuldoon@redhat.com> |
4127 | ||
4128 | * NEWS: Document gdb.Write stream keyword. | |
4129 | ||
29e0eb9c JK |
4130 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
4131 | ||
4132 | Revert: | |
4133 | 2011-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> | |
4134 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
4135 | (dwarf2_add_field): Fix new_field->accessibility for | |
4136 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
4137 | ||
05775840 PM |
4138 | 2011-03-22 Phil Muldoon <pmuldoon@redhat.com> |
4139 | ||
f33edef8 | 4140 | PR python/12183 |
05775840 PM |
4141 | |
4142 | * python/py-function.c (fnpy_call): Treat GdbErrors differently to | |
4143 | other error classes. Do not print stack trace. | |
4144 | ||
a0cb7835 JK |
4145 | 2011-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
4146 | ||
4147 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
4148 | (dwarf2_add_field): Fix new_field->accessibility for | |
4149 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
4150 | ||
d19f7eee UW |
4151 | 2011-03-21 Ulrich Weigand <ulrich.weigand@linaro.org> |
4152 | ||
4153 | * arm-tdep.c (arm_analyze_prologue): Do not abort parsing when | |
4154 | encountering a load via a non-SP register. | |
4155 | ||
4a2fbb50 UW |
4156 | 2011-03-21 Ulrich Weigand <uweigand@de.ibm.com> |
4157 | ||
4158 | * tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason | |
4159 | field in returned unwinder. | |
4160 | ||
3489610d JB |
4161 | 2012-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
4162 | ||
4163 | * ada-lang.c (replace_operator_with_call): Copy also GDBARCH. | |
4164 | ||
8c1a34e7 JB |
4165 | 2012-03-21 Joel Brobecker <brobecker@adacore.com> |
4166 | ||
4167 | * ada-lang.c (replace_operator_with_call): Use xzalloc instead | |
4168 | of xmalloc. | |
4169 | ||
8fbca658 PA |
4170 | 2012-03-18 Pedro Alves <pedro@codesourcery.com> |
4171 | ||
4172 | * frame.c (frame_unwind_register): Throw an error if unwinding the | |
4173 | register failed. | |
4174 | * get_prev_frame_1 (get_prev_frame_1): Ask the unwinder if there's | |
4175 | an unwind stop reason. | |
4176 | (frame_stop_reason_string): Handle UNWIND_UNAVAILABLE. | |
4177 | * frame.h (enum unwind_stop_reason) <UNWIND_OUTERMOST, | |
4178 | UNWIND_UNAVAILABLE>: New. | |
4179 | * inline-frame.c (inline_frame_unwind): Install | |
4180 | default_frame_unwind_stop_reason. | |
4181 | * frame-unwind.c: Include "exceptions.h". | |
4182 | (frame_unwind_find_by_frame): Swallow NOT_AVAILABLE_ERROR errors. | |
4183 | (default_frame_unwind_stop_reason): New. | |
4184 | * frame-unwind.h (frame_unwind_stop_reason_ftype): New typedef. | |
4185 | (default_frame_unwind_stop_reason): Declare. | |
4186 | (struct frame_unwind) <stop_reason>: New function pointer. | |
4187 | ||
4188 | * dummy-frame.c: Install default_frame_unwind_stop_reason. | |
4189 | * dwarf2-frame.c: Include exceptions.h. | |
4190 | (struct dwarf2_frame_cache) <unavailable_retaddr>: New field. | |
4191 | (dwarf2_frame_cache): Swallow NOT_AVAILABLE_ERROR errors when | |
4192 | computing the CFA. If such an error was thrown, set | |
4193 | unavailable_retaddr. | |
4194 | (dwarf2_frame_unwind_stop_reason): New. | |
4195 | (dwarf2_frame_this_id): Don't build a frame id if the CFA was | |
4196 | unavailable. | |
4197 | (dwarf2_frame_unwind): Install dwarf2_frame_unwind_stop_reason. | |
4198 | (dwarf2_signal_frame_unwind): Ditto. | |
4199 | ||
4200 | * amd64-tdep.c: Include "exceptions.h". | |
4201 | (struct amd64_frame_cache): New field "base_p". | |
4202 | (amd64_init_frame_cache): Clear it. | |
4203 | (amd64_frame_cache_1): New, factored out from amd64_frame_cache. | |
4204 | Avoid reading registers with functions that throw if the register | |
4205 | is not necessary to compute the frame base. | |
4206 | (amd64_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
4207 | swallowing NOT_AVAILABLE_ERROR. | |
4208 | (amd64_frame_unwind_stop_reason): New. | |
4209 | (amd64_frame_this_id): Don't build a frame id if the frame base | |
4210 | was unavailable. | |
4211 | (amd64_frame_unwind): Install amd64_frame_unwind_stop_reason. | |
4212 | (amd64_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
4213 | base_p if the frame base was computable. | |
4214 | (amd64_sigtramp_frame_unwind_stop_reason): New. | |
4215 | (amd64_sigtramp_frame_this_id): Don't build a frame id if the | |
4216 | frame base was unavailable. | |
4217 | (amd64_sigtramp_frame_unwind): Install | |
4218 | amd64_sigtramp_frame_unwind_stop_reason. | |
4219 | (amd64_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
4220 | base_p if the frame base was computable. | |
4221 | (amd64_epilogue_frame_unwind_stop_reason): New. | |
4222 | (amd64_epilogue_frame_this_id): Don't build a frame id if the | |
4223 | frame base was unavailable. | |
4224 | (amd64_epilogue_frame_unwind): Install | |
4225 | amd64_epilogue_frame_unwind_stop_reason. | |
4226 | * i386-tdep.c: Include "exceptions.h". | |
4227 | (struct i386_frame_cache): New field "base_p". | |
4228 | (i386_init_frame_cache): Clear it. | |
4229 | (i386_frame_cache_1): New, factored out from amd64_frame_cache. | |
4230 | Avoid reading registers with functions that throw if the register | |
4231 | is not necessary to compute the frame base. | |
4232 | (i386_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
4233 | swallowing NOT_AVAILABLE_ERROR. | |
4234 | (i386_frame_unwind_stop_reason): New. | |
4235 | (i386_frame_this_id): Don't build a frame id if the frame base was | |
4236 | unavailable. | |
4237 | (i386_frame_prev_register): Handle unavailable SP. | |
4238 | (i386_frame_unwind): Install i386_frame_unwind_stop_reason. | |
4239 | (i386_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
4240 | base_p if the frame base was computable. | |
4241 | (i386_epilogue_frame_unwind_stop_reason): New. | |
4242 | (i386_epilogue_frame_this_id): Don't build a frame id if the frame | |
4243 | base was unavailable. | |
4244 | (i386_epilogue_frame_unwind): Install | |
4245 | i386_epilogue_frame_unwind_stop_reason. | |
4246 | (i386_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
4247 | base_p if the frame base was computable. | |
4248 | (i386_sigtramp_frame_unwind_stop_reason): New. | |
4249 | (i386_sigtramp_frame_this_id): Don't build a frame id if the frame | |
4250 | base was unavailable. | |
4251 | (i386_sigtramp_frame_unwind): Install | |
4252 | i386_sigtramp_frame_unwind_stop_reason. | |
4253 | * sentinel-frame.c (sentinel_frame_prev_register): Use the value | |
4254 | type's size, not the register's. | |
4255 | (sentinel_frame_unwind): Install default_frame_unwind_stop_reason. | |
4256 | ||
4257 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind): Install | |
4258 | default_frame_unwind_stop_reason. | |
4259 | * alpha-tdep.c (alpha_sigtramp_frame_unwind) | |
4260 | (alpha_heuristic_frame_unwind): Ditto. | |
4261 | * amd64obsd-tdep.c (amd64obsd_trapframe_unwind): Ditto. | |
4262 | * arm-tdep.c (arm_prologue_unwind, arm_stub_unwind): Ditto. | |
4263 | * avr-tdep.c (avr_frame_unwind): Ditto. | |
4264 | * cris-tdep.c (cris_sigtramp_frame_unwind, cris_frame_unwind): | |
4265 | Ditto. | |
4266 | * frv-linux-tdep.c (frv_linux_sigtramp_frame_unwind): Ditto. | |
4267 | * frv-tdep.c (frv_frame_unwind): Ditto. | |
4268 | * h8300-tdep.c (h8300_frame_unwind): Ditto. | |
4269 | * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind): Ditto. | |
4270 | * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind): Ditto. | |
4271 | * hppa-tdep.c (hppa_frame_unwind, hppa_fallback_frame_unwind) | |
4272 | (hppa_stub_frame_unwind): Ditto. | |
4273 | * i386obsd-tdep.c (i386obsd_trapframe_unwind): Ditto. | |
4274 | * ia64-tdep.c (ia64_frame_unwind, ia64_sigtramp_frame_unwind) | |
4275 | (ia64_libunwind_frame_unwind) | |
4276 | (ia64_libunwind_sigtramp_frame_unwind): Ditto. | |
4277 | * iq2000-tdep.c (iq2000_frame_unwind): Ditto. | |
4278 | * lm32-tdep.c (lm32_frame_unwind): Ditto. | |
4279 | * m32c-tdep.c (m32c_unwind): Ditto. | |
4280 | * m32r-linux-tdep.c (m32r_linux_sigtramp_frame_unwind): Ditto. | |
4281 | * m32r-tdep.c (m32r_frame_unwind): Ditto. | |
4282 | * m68hc11-tdep.c (m68hc11_frame_unwind): Ditto. | |
4283 | * m68k-tdep.c (m68k_frame_unwind): Ditto. | |
4284 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_unwind): Ditto. | |
4285 | * m88k-tdep.c (m88k_frame_unwind): Ditto. | |
4286 | * mep-tdep.c (mep_frame_unwind): Ditto. | |
4287 | * microblaze-tdep.c (microblaze_frame_unwind): Ditto. | |
4288 | * mips-tdep.c (mips_insn16_frame_unwind, mips_insn32_frame_unwind) | |
4289 | (mips_stub_frame_unwind): Ditto. | |
4290 | * mn10300-tdep.c (mn10300_frame_unwind): Ditto. | |
4291 | * moxie-tdep.c (moxie_frame_unwind): Ditto. | |
4292 | * mt-tdep.c (mt_frame_unwind): Ditto. | |
4293 | * ppc-linux-tdep.c (ppu2spu_unwind): Ditto. | |
4294 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_unwind): Ditto. | |
4295 | * rs6000-tdep.c (rs6000_frame_unwind): Ditto. | |
4296 | * s390-tdep.c (s390_frame_unwind, s390_stub_frame_unwind) | |
4297 | (s390_sigtramp_frame_unwind): Ditto. | |
4298 | * score-tdep.c (score_prologue_unwind): Ditto. | |
4299 | * sh-tdep.c (sh_frame_unwind): Ditto. | |
4300 | * sh64-tdep.c (sh64_frame_unwind): Ditto. | |
4301 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_unwind): Ditto. | |
4302 | * sparc-tdep.c (sparc32_frame_unwind): Ditto. | |
4303 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind): Ditto. | |
4304 | * sparc64-tdep.c (sparc64_frame_unwind): Ditto. | |
4305 | * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_unwind): Ditto. | |
4306 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_unwind): Ditto. | |
4307 | * sparc64obsd-tdep.c (sparc64obsd_frame_unwind) | |
4308 | (sparc64obsd_trapframe_unwind): Ditto. | |
4309 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_unwind): Ditto. | |
4310 | * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_unwind): Ditto. | |
4311 | * spu-tdep.c (spu_frame_unwind, spu2ppu_unwind): Ditto. | |
4312 | * v850-tdep.c (v850_frame_unwind): Ditto. | |
4313 | * vax-tdep.c (vax_frame_unwind): Ditto. | |
4314 | * vaxobsd-tdep.c (vaxobsd_sigtramp_frame_unwind): Ditto. | |
4315 | * xstormy16-tdep.c (frame_unwind xstormy16_frame_unwind): Ditto. | |
4316 | * xtensa-tdep.c (xtensa_unwind): Ditto. | |
4317 | ||
f23d1b92 PA |
4318 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4319 | ||
4320 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Assume | |
4321 | there's always a frame. Use get_frame_pc_if_available instead of | |
4322 | get_frame_pc, and if there's no PC available, don't look up a | |
4323 | symtab. | |
4324 | ||
1d4f5741 PA |
4325 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4326 | ||
4327 | * stack.c (print_frame_local_vars, print_frame_arg_vars): Handle | |
4328 | unavailable PC. | |
4329 | ||
dba09041 PA |
4330 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4331 | ||
4332 | * tracepoint.c (set_traceframe_context): Handle unavailable PC | |
4333 | gracefully. | |
4334 | ||
9a26e44c PA |
4335 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4336 | ||
4337 | * frame.h (frame_unwind_caller_pc_if_available): Declare. | |
4338 | * frame.c (frame_unwind_caller_pc_if_available): New. | |
4339 | * stack.c (frame_info): Handle unavailable PC. | |
4340 | ||
4341 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
4342 | ||
4343 | * frame.c (frame_unwind_pc): Rename to ... | |
4344 | (frame_unwind_pc_if_available): ... this. New `pc' output | |
4345 | parameter. Change return type to int. Gracefully handle | |
4346 | gdbarch_unwind_pc throwing NOT_AVAILABLE_ERROR. Return 0 if that | |
4347 | happened, or 1 otherwise. | |
4348 | (frame_unwind_pc): Reimplement on top of | |
4349 | frame_unwind_pc_if_available. | |
4350 | (get_frame_func): Rename to ... | |
4351 | (get_frame_func_if_available): New `pc' output parameter. Change | |
4352 | return type to int. Gracefully handle the PC not being available. | |
4353 | (get_frame_func): Reimplement on top of | |
4354 | get_frame_func_if_available. | |
4355 | (select_frame): Handle the PC being unavailable. | |
4356 | (get_prev_frame): Handle the PC being unavailable. | |
4357 | (get_frame_pc_if_available): New. | |
4358 | (get_frame_address_in_block_if_available): New. | |
4359 | (find_frame_sal): Handle the frame PC not being available. | |
4360 | * frame.h (get_frame_pc_if_available): Declare. | |
4361 | (get_frame_address_in_block_if_available): Declare. | |
4362 | (get_frame_func_if_available): Declare. | |
4363 | * stack.c (print_frame_info): Handle the PC being unavailable. | |
4364 | (find_frame_funname): Ditto. | |
4365 | (print_frame): Handle the PC being unavailable. | |
4366 | (get_frame_language): Ditto. | |
4367 | * blockframe.c (get_frame_block): Ditto. | |
4368 | * macroscope.c (default_macro_scope): Ditto. | |
4369 | * tui/tui-stack.c (tui_show_frame_info): Ditto. | |
4370 | ||
4371 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
4372 | ||
4373 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Catch | |
4374 | NOT_AVAILABLE_ERROR when evaluating the location expression. | |
4375 | ||
4376 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
4377 | ||
4378 | * dwarf2loc.c (read_pieced_value): Handle get_frame_register_bytes | |
4379 | returning that the register piece is unavailable/optimized out. | |
4380 | (write_pieced_value): Handle get_frame_register_bytes returning | |
4381 | that the register piece is unavailable/optimized out when doing a | |
4382 | read-modify write of a bitfield. | |
4383 | * findvar.c (value_from_register): Handle get_frame_register_bytes | |
4384 | returning that the register piece is unavailable/optimized out. | |
4385 | * frame.c (get_frame_register_bytes): New parameters `optimizedp' | |
4386 | and `unavailablep'. Throw error on bad debug info. Use | |
4387 | frame_register instead of frame_register_read, to fill in the new | |
4388 | arguments. | |
4389 | * frame.h (get_frame_register_bytes): New parameters `optimizedp' | |
4390 | and `unavailablep'. | |
4391 | * valops.c: (value_assign): Adjust, and handle | |
4392 | get_frame_register_bytes failing. | |
4393 | * spu-tdep.c: Include exceptions.h. | |
4394 | (spu_software_single_step): Adjust, and handle | |
4395 | get_frame_register_bytes failing. | |
4396 | (spu_get_longjmp_target): Ditto. | |
4397 | * gdbarch.sh (register_to_value): Change to return int. New | |
4398 | parameters `optimizedp' and `unavailablep'. | |
4399 | * gdbarch.h, gdbarch.c: Regenerate. | |
4400 | * i386-tdep.c (i386_register_to_value): Adjust to new | |
4401 | gdbarch_register_to_value interface. | |
4402 | * i387-tdep.c (i387_register_to_value): Ditto. | |
4403 | * i387-tdep.h (i387_register_to_value): Ditto. | |
4404 | * alpha-tdep.c (alpha_register_to_value): Ditto. | |
4405 | * ia64-tdep.c (ia64_register_to_value): Ditto. | |
4406 | * m68k-tdep.c (m68k_register_to_value): Ditto. | |
4407 | * mips-tdep.c (mips_register_to_value): Ditto. | |
4408 | * rs6000-tdep.c (rs6000_register_to_value): Ditto. | |
4409 | ||
0fdb4f18 PA |
4410 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4411 | ||
4412 | * findvar.c (value_of_register): Mark the value as unavailable, if | |
4413 | the register is unavailable. | |
4414 | * frame.h (frame_register_unwind): New `unavailablep' parameter. | |
4415 | (frame_register): New `unavailablep' parameter. | |
4416 | (frame_register_read): Update comment. | |
4417 | * frame.c (frame_register_unwind): New `unavailablep' parameter. | |
4418 | Set it if the register is unavailable. If the register is | |
4419 | unavailable, clear the output buffer. | |
4420 | (frame_register): New `unavailablep' parameter. Pass it down. | |
4421 | (frame_unwind_register): Adjust. | |
4422 | (put_frame_register): Adjust. | |
4423 | (frame_register_read): Adjust. Also return false if the register | |
4424 | is not available. | |
4425 | (frame_register_unwind_location): Adjust. | |
4426 | * sentinel-frame.c (sentinel_frame_prev_register): If the register | |
4427 | is unavailable, mark the value accordingly. | |
4428 | * stack.c (frame_info): Handle unavailable registers. | |
4429 | ||
e69aa73e PA |
4430 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4431 | ||
4432 | * mi/mi-main.c (register_changed_p): Handle REG_UNAVAILABLE, and | |
4433 | simplify, using regcache_cooked_read. | |
4434 | ||
05d1431c PA |
4435 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
4436 | ||
4437 | * regcache.h (regcache_raw_read, regcache_raw_read_signed) | |
4438 | (regcache_raw_read_unsigned, regcache_raw_read_signed) | |
4439 | (regcache_raw_read_unsigned, regcache_raw_read_part) | |
4440 | (regcache_cooked_read, regcache_cooked_read_signed) | |
4441 | (regcache_cooked_read_unsigned, regcache_cooked_read_part) | |
4442 | (regcache_cooked_read_ftype): Change return to enum | |
4443 | register_status. | |
4444 | * regcache.c: Include exceptions.h | |
4445 | (regcache_save): Adjust to handle REG_UNAVAILABLE registers. | |
4446 | (do_cooked_read): Change return to enum register_status. Always | |
4447 | forward to regcache_cooked_read. | |
4448 | (regcache_raw_read): Change return to enum register_status. If | |
4449 | the register is not REG_VALID, memset the buffer. Return the | |
4450 | register's status. | |
4451 | (regcache_raw_read_signed): Handle non-REG_VALID registers and | |
4452 | return the register's status. | |
4453 | (regcache_raw_read_unsigned): Ditto. | |
4454 | (regcache_cooked_read): Change return to enum register_status. | |
4455 | Assert that with read-only regcaches, the register's status must | |
4456 | be known. If the regcache is read-only, and the register is not | |
4457 | REG_VALID, memset the buffer. Return the register's status. | |
4458 | (regcache_cooked_read_signed): Change return to enum | |
4459 | register_status. Handle non-REG_VALID registers and return the | |
4460 | register's status. | |
4461 | (regcache_cooked_read_unsigned): Change return to enum | |
4462 | register_status. Handle non-REG_VALID registers and return the | |
4463 | register's status. | |
4464 | (regcache_xfer_part, regcache_raw_read_part) | |
4465 | (regcache_cooked_read_part): Change return to enum | |
4466 | register_status. Return the register's status. | |
4467 | (regcache_read_pc): Throw NOT_AVAILABLE_ERROR if the register is | |
4468 | unavailable. | |
4469 | (regcache_dump): Handle unavailable cooked registers. | |
4470 | * frame.c (do_frame_register_read): Adjust interface to match | |
4471 | regcache_cooked_read_ftype. | |
4472 | * gdbarch.sh (pseudo_register_read): Change return to enum | |
4473 | register_status. | |
4474 | * gdbarch.h, gdbarch.c: Regenerate. | |
4475 | ||
4476 | * i386-tdep.h (i386_pseudo_register_read): Change return to enum | |
4477 | register_status. | |
4478 | * i386-tdep.c (i386_pseudo_register_read): Change return to enum | |
4479 | register_status. If reading a raw register indicates the raw | |
4480 | register is not valid, return the raw register's status, | |
4481 | otherwise, return REG_VALID. | |
4482 | * amd64-tdep.c (amd64_pseudo_register_read): Change return to enum | |
4483 | register_status. Handle non-REG_VALID raw registers and return | |
4484 | the register's status. | |
4485 | * arm-tdep.c (arm_neon_quad_read) | |
4486 | (arm_pseudo_read): Change return to enum register_status. Handle | |
4487 | non-REG_VALID raw registers and return the register's status. | |
4488 | * avr-tdep.c (avr_pseudo_register_read): Ditto. | |
4489 | * frv-tdep.c (frv_pseudo_register_read): Ditto. | |
4490 | * h8300-tdep.c (h8300_pseudo_register_read): Ditto. | |
4491 | * hppa-tdep.c (hppa_pseudo_register_read): Ditto. | |
4492 | * m32c-tdep.c (m32c_move_reg_t): Change return to enum | |
4493 | register_status. | |
4494 | (m32c_raw_read, m32c_raw_write, m32c_banked_read) | |
4495 | (m32c_banked_write, m32c_sb_read, m32c_sb_write, m32c_part_read) | |
4496 | (m32c_part_write, m32c_cat_read, m32c_cat_write) | |
4497 | (m32c_r3r2r1r0_read, m32c_r3r2r1r0_write) | |
4498 | (m32c_pseudo_register_read): Change return to enum | |
4499 | register_status. Adjust. | |
4500 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Change return to | |
4501 | enum register_status. Return the register's status. | |
4502 | * mep-tdep.c (mep_pseudo_cr32_read): Change return to enum | |
4503 | register_status. Return the register's status. | |
4504 | (mep_pseudo_cr64_read, mep_pseudo_register_read): Ditto. | |
4505 | * mips-tdep.c (mips_pseudo_register_read): Ditto. | |
4506 | * mt-tdep.c (mt_pseudo_register_read): Ditto. | |
4507 | * rs6000-tdep.c (move_ev_register_func): New typedef. | |
4508 | (e500_move_ev_register): Use it. Change return to enum | |
4509 | register_status. Return the register's status. | |
4510 | (do_regcache_raw_read): New function. | |
4511 | (do_regcache_raw_write): New function. | |
4512 | (e500_pseudo_register_read): Change return to enum | |
4513 | register_status. Return the register's status. Use | |
4514 | do_regcache_raw_read. | |
4515 | (e500_pseudo_register_write): Adjust. Use do_regcache_raw_write. | |
4516 | (dfp_pseudo_register_read): Change return to enum register_status. | |
4517 | Return the register's status. | |
4518 | (vsx_pseudo_register_read): Ditto. | |
4519 | (efpr_pseudo_register_read): Ditto. | |
4520 | (rs6000_pseudo_register_read): Ditto. | |
4521 | * s390-tdep.c (s390_pseudo_register_read): Change return to enum | |
4522 | register_status. Return the register's status. | |
4523 | * sh64-tdep.c (pseudo_register_read_portions): New function. | |
4524 | (sh64_pseudo_register_read): Change return to enum | |
4525 | register_status. Use pseudo_register_read_portions. Return the | |
4526 | register's status. | |
4527 | * ia64-tdep.c (ia64_pseudo_register_read): Change return to enum | |
4528 | register_status. Return the register's status. | |
4529 | * sh-tdep.c (pseudo_register_read_portions): New function. | |
4530 | (sh_pseudo_register_read): Change return to enum register_status. | |
4531 | Use pseudo_register_read_portions. Return the register's status. | |
4532 | * sparc-tdep.c (sparc32_pseudo_register_read): Change return to | |
4533 | enum register_status. Return the register's status. | |
4534 | * sparc64-tdep.c (sparc64_pseudo_register_read): Ditto. | |
4535 | * spu-tdep.c (spu_pseudo_register_read_spu) | |
4536 | (spu_pseudo_register_read): Ditto. | |
4537 | * xtensa-tdep.c (xtensa_register_read_masked) | |
4538 | (xtensa_pseudo_register_read): Ditto. | |
4539 | * bfin-tdep.c (bfin_pseudo_register_read): Ditto. | |
4540 | ||
e10abd8f PM |
4541 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4542 | ||
4543 | * python/py-value.c (valpy_getitem): Fix formatting of error function | |
4544 | call. | |
4545 | ||
7ea6d463 PM |
4546 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4547 | ||
4548 | ARI fixes: Add missing internationalization markups throughout | |
4549 | C source files. | |
4550 | * darwin-nat-info.c: Ditto. | |
4551 | * record.c: Ditto. | |
4552 | * remote.c: Ditto. | |
4553 | * mi/mi-main.c: Ditto. | |
4554 | ||
001083c6 PM |
4555 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4556 | ||
4557 | ARI fixes: Add missing internationalization markups throughout | |
4558 | yacc files. | |
4559 | * c-exp.y: Ditto. | |
4560 | * cp-name-parser.y: Ditto. | |
4561 | * f-exp.y: Ditto. | |
4562 | * m2-exp.y: Ditto. | |
4563 | * objc-exp.y: Ditto. | |
4564 | * p-exp.y: Ditto. | |
4565 | ||
4f1cdeec PM |
4566 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4567 | ||
4568 | ARI fixes: Messages should have no trailing new lines. | |
4569 | * darwin-nat.c (mach_check_error): Remove trailing new line from | |
4570 | warning function call message. | |
4571 | * record.c (bfdcore_read): Idem for error call. | |
4572 | ||
28e698f1 PM |
4573 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4574 | ||
4575 | * common/signals.c (target_signal_from_host): Add _ markup to error | |
4576 | function call message. | |
4577 | (target_signal_to_host): Add _ markup and remove trailing new line | |
4578 | from warning call message. | |
4579 | (target_signal_from_command): Add _ markup to error function call | |
4580 | message. | |
4581 | ||
99c3dc11 PM |
4582 | 2011-03-18 Phil Muldoon <pmuldoon@redhat.com> |
4583 | ||
f33edef8 | 4584 | PR python/12149 |
99c3dc11 PM |
4585 | |
4586 | * python/python.c (gdbpy_write): Accept a stream argument and | |
4587 | operate to the appropriate stream. | |
4588 | (gdbpy_flush): Likewise. | |
4589 | (_initialize_python): Add stream constants. | |
4590 | (finish_python_initialization): Add GdbOutputErrorFile class. | |
4591 | ||
c20800be KY |
4592 | 2011-03-18 Kwok Cheung Yeung <kcy@codesourcery.com> |
4593 | ||
4594 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
4595 | ||
f4a1794a KY |
4596 | 2011-03-18 Kwok Cheung Yeung <kcy@codesourcery.com> |
4597 | ||
4598 | * amd64-tdep.c (amd64_relocate_instruction): Fix ordering of arguments | |
f33edef8 PP |
4599 | to store_signed_integer. Add debug message when relocating CALL |
4600 | instructions. Fix formatting of debug message. | |
4601 | * i386-tdep.c (i386_relocate_instruction): Ditto. | |
f4a1794a | 4602 | |
d4862372 JB |
4603 | 2011-03-17 Joel Brobecker <brobecker@gnat.com> |
4604 | ||
4605 | * target.h (struct target_ops): Remove to_lookup_symbol field. | |
4606 | (target_lookup_symbol): Delete macro. | |
4607 | * target.c (nosymbol, debug_to_lookup_symbol): Delete. | |
4608 | (update_current_target, setup_target_debug): Remove handling | |
4609 | of to_lookup_symbol target_ops field. | |
4610 | * ada-tasks.c (get_known_tasks_addr): Remove use of | |
4611 | target_lookup_symbol. | |
4612 | * coffread.c (coff_symtab_read): Likewise. | |
4613 | * dbxread.c (read_dbx_symtab): Ditto. | |
4614 | ||
d645e32e JB |
4615 | 2011-03-17 Joel Brobecker <brobecker@gnat.com> |
4616 | ||
4617 | PR gdb/12116: | |
4618 | * configure.ac: Add getthrds declaration check. | |
4619 | * configure, config.in: Regenerate. | |
4620 | * aix-thread.c (getthrds): Declare only if not already declared | |
4621 | in procinfo.h. More declaration out of get_signaled_thread to | |
4622 | global scope. | |
4623 | ||
29703da4 PM |
4624 | 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> |
4625 | ||
4626 | * python/py-symtab.c: Populate symtab_object_methods, | |
4627 | sal_object_methods. | |
4628 | (stpy_is_valid): New function. | |
4629 | (salpy_is_valid): Ditto. | |
4630 | * python/py-symbol.c: Declare symbol_object_methods. Populate. | |
4631 | (sympy_is_valid): New function. | |
4632 | * python/py-objfile.c: Declare objfile_object_methods. Populate. | |
4633 | (objfpy_is_valid): New function. | |
4634 | * python/py-inferior.c: Populate inferior_object_methods. | |
4635 | (infpy_is_valid): New function. | |
4636 | * python/py-infthread.c: Populate thread_object_methods. | |
4637 | (thpy_is_valid): New function. | |
4638 | * python/py-block.c: Declare block_object_methods. Populate. Declare | |
4639 | block_iterator_object_methods. Populate. | |
4640 | (blpy_is_valid): New function. | |
4641 | (blpy_iter_is_valid): Ditto. | |
4642 | ||
c00f8484 KS |
4643 | 2011-03-16 Keith Seitz <keiths@redhat.com> |
4644 | ||
4645 | * linespec.c (find_methods): Canonicalize NAME before looking | |
4646 | up the symbol. | |
4647 | (name_end): New function. | |
4648 | (keep_name_info): New function. | |
4649 | (decode_line_1): Use keep_name_info. | |
4650 | (decode_compound): Likewise. | |
4651 | * cli/cli-utils.h (remove_trailing_whitespace): New function. | |
4652 | * cli/cli-utils.c (remove_trailing_whitespace): Likewise. | |
4653 | ||
4654 | PR c++/12273 | |
4655 | * linespec.c (locate_first_half): Keep overload information, too. | |
4656 | (decode_compound): Use a string to represent break characters | |
4657 | to escape the loop. | |
4658 | If P points to a break character, do not increment it. | |
4659 | For C++ and Java, keep overload information and relevant keywords. | |
4660 | If we cannot find a symbol, search the minimal symbols. | |
4661 | ||
4662 | PR c++/11734 | |
4663 | * linespec.c (decode_compound): Rename SAVED_ARG to | |
4664 | THE_REAL_SAVED_ARG. | |
4665 | Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip | |
4666 | single-quotes. | |
4667 | Pass a valid block to lookup_symbol. | |
4668 | (lookup_prefix_sym): Likewise. | |
4669 | (find_method): Construct search name based on SYM_CLASS instead | |
4670 | of SAVED_ARG. | |
4671 | * psymtab.c (lookup_partial_symbol): Add language parameter. | |
4672 | (lookup_symbol_aux_psymtabs): Likewise. | |
4673 | Don't assume that the psymtab we found was the right one. Search | |
4674 | for the desired symbol in the symtab to be certain. | |
4675 | (psymtab_search_name): New function. | |
4676 | (lookup_partial_symbol): Use psymtab_search_name. | |
4677 | Add language parameter. | |
4678 | (read_symtabs_for_function): Add language parameter and pass to | |
4679 | lookup_partial_symbol. | |
4680 | (find_symbol_file_from_partial): Likewise. | |
4681 | ||
c91513d8 PP |
4682 | 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com> |
4683 | ||
4684 | PR gdb/12528 | |
4685 | * dwarf2read.c (noop_record_line): New function. | |
4686 | (dwarf_decode_lines): Ignore line tables for GCd functions. | |
4687 | ||
b37520b6 PM |
4688 | 2011-03-16 Pierre Muller <muller@ics.u-strasbg.fr> |
4689 | ||
4690 | Fix ARI warnings about new lines at the end of messages, which | |
4691 | are unneeded as there is a new line added at the end of the message | |
4692 | automatically. | |
4693 | * darwin-nat.c (darwin_stop_inferior): Ditto. | |
4694 | * dec-thread.c (dec_thread_get_ada_task_ptid): Ditto. | |
4695 | * dfp.c (decimal_to_number): Ditto. | |
4696 | * exec.c (print_section_info): Ditto. | |
4697 | * i386-darwin-nat.c (darwin_set_sstep): Ditto. | |
4698 | * osdata.c (get_osdata): Ditto. | |
4699 | * record.c (bfdcore_write): Ditto. | |
4700 | * remote-mips.c (mips_readchar): Ditto. | |
4701 | * remote.c (read_ptid): Ditto. | |
4702 | * ser-mingw.c (ser_windows_raw): Ditto. | |
4703 | * tracepoint.c (add_local_symbols): Ditto. | |
4704 | * windows-nat.c (fake_create_process): Ditto. | |
4705 | ||
b08ee6a2 TT |
4706 | 2011-03-16 Tom Tromey <tromey@redhat.com> |
4707 | ||
4708 | * tracepoint.c (stop_tracing): Don't declare. | |
4709 | * event-top.c (after_char_processing_hook): Add `(void)'. | |
4710 | ||
9a6f1302 PM |
4711 | 2011-03-16 Phil Muldoon <pmuldoon@redhat.com> |
4712 | ||
4713 | * NEWS: Add Parameter sub-classing description. | |
4714 | ||
7ceb86b1 KT |
4715 | 2011-03-16 Kai Tietz <ktietz@redhat.com> |
4716 | ||
4717 | * MAINTAINERS: Update my e-mail address. | |
4718 | ||
efeff6cf AT |
4719 | 2011-03-15 Andreas Tobler <andreast@fgznet.ch> |
4720 | ||
4721 | * MAINTAINERS: Add myself for write after approval privileges. | |
4722 | ||
681c238c MS |
4723 | 2011-03-15 Michael Snyder <msnyder@vmware.com> |
4724 | ||
f3df5b08 MS |
4725 | * frame.c (find_frame_sal): Assert sym is not null. |
4726 | ||
13f6513c MS |
4727 | * dbxread.c (process_one_symbol): Assert 'name' is not null. |
4728 | ||
50412521 MS |
4729 | * objc-lang.c (selectors_info): Check strchr for null result. |
4730 | ||
681c238c MS |
4731 | * stabsread.c (define_symbol): Guard against bad stabstring input. |
4732 | ||
6ced1581 PM |
4733 | 2011-03-15 Pierre Muller <muller@ics.u-strasbg.fr> |
4734 | ||
4735 | Remove trailing spaces and tabulations from pascal language | |
4736 | support sources. | |
4737 | p-exp.y: Ditto. | |
4738 | p-lang.c: Ditto. | |
4739 | p-lang.h: Ditto. | |
4740 | p-valprint.c: Ditto. | |
4741 | ||
9373cf26 JK |
4742 | 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
4743 | ||
4744 | * dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher | |
4745 | than LOW. Comment it. | |
4746 | (read_partial_die): Call complaint for inappropriate zero LOWPC or | |
4747 | HIGHPC not strictly higher than LOWPC. | |
4748 | ||
9a1edae6 PM |
4749 | 2011-03-15 Pierre Muller <muller@ics.u-strasbg.fr> |
4750 | ||
4751 | Fix formatting of function declarations returning a pointer in | |
4752 | previous commit. | |
4753 | * varobj.c (varobj_add_child): Ditto. | |
4754 | * hppa-tdep.h (hppa_init_objfile_priv_data): Ditto. | |
4755 | * inferior.h (get_displaced_step_closure_by_addr): Ditto. | |
4756 | ||
24e9cda0 UW |
4757 | 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com> |
4758 | ||
4759 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support | |
4760 | for the "generic" vector ABI used with GCC 4.3 and later. | |
4761 | (ppc64_sysv_abi_return_value): Likewise. | |
4762 | ||
4763 | 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com> | |
81b4675a UW |
4764 | |
4765 | * infcall.c (call_function_by_hand): Function return value is | |
4766 | always a non_lval, even when using struct_return. | |
4767 | ||
c9174737 PA |
4768 | 2011-03-15 Pedro Alves <pedro@codesourcery.com> |
4769 | ||
4770 | * printcmd.c (ALL_DISPLAYS_SAFE): New. | |
4771 | (map_display_numbers): New. | |
4772 | (do_delete_display): New. | |
4773 | (undisplay_command): Use map_display_numbers. | |
4774 | (do_enable_disable_display): New. | |
4775 | (enable_disable_display_command): New function. | |
4776 | (enable_display): Delete. | |
4777 | (enable_display_command): New. | |
4778 | (disable_display_command): Reimplement. | |
4779 | (_initialize_printcmd): Adjust "enable display" command to use | |
4780 | `enable_display_command' as callback. | |
4781 | ||
350c6c65 PM |
4782 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
4783 | ||
4784 | * NEWS: Add Python breakpoint 'stop' operation. | |
4785 | ||
824446ad PM |
4786 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
4787 | ||
4788 | * NEWS: Delete duplicate entry. Fix typo. | |
4789 | ||
2021ad3a PM |
4790 | 2011-03-14 Pierre Muller <muller@ics.u-strasbg.fr> |
4791 | ||
4792 | Fix ARI warning about function names in first column. | |
4793 | Put prototype declaration on same line as return type. | |
4794 | * objc-exp.y: Ditto. | |
4795 | * p-exp.y: Ditto. | |
4796 | * python/py-stopevent.h: Ditto. | |
4797 | For long function names, split parameters to | |
4798 | allow function name on same line as return type. | |
4799 | * solib-pa64.c: Ditto. | |
4800 | * varobj.c: Ditto. | |
4801 | * varobj.h: Ditto. | |
4802 | For long function declaration, use single line. | |
4803 | * hppa-tdep.h: Ditto. | |
4804 | * inferior.h: Ditto. | |
4805 | ||
7371cf6d PM |
4806 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
4807 | ||
4808 | * python/python.h: Declare gdbpy_should_stop and | |
4809 | gdbpy_breakpoint_has_py_cond. | |
4810 | * python/python.c: Add python.h to includes. Remove python.h from | |
4811 | HAVE_PYTHON definition | |
4812 | (gdbpy_should_stop): New dummy function. | |
4813 | (gdbpy_breakpoint_has_py_cond): New dummy function. | |
4814 | * python/py-breakpoint.c (bppy_init): Rewrite to allow | |
4815 | sub-classing capabilities. | |
4816 | (gdbpy_should_stop): New function. | |
4817 | (gdbpy_breakpoint_has_py_cond): New function. | |
4818 | (local_setattro): New function. | |
4819 | * breakpoint.c (condition_command): Add check for Python 'stop' | |
4820 | operation. | |
4821 | (bpstat_check_breakpoint_conditions): Execute Python 'stop' | |
4822 | operation function as part of stop/continue tests. | |
4823 | ||
37b50a69 TT |
4824 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
4825 | ||
4826 | PR gdb/12576: | |
4827 | * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'. | |
4828 | (needs_frame_dwarf_call): Likewise. | |
4829 | ||
eeae04df PM |
4830 | 2011-03-14 Pierre Muller <muller@ics.u-strasbg.fr> |
4831 | ||
4832 | Fix ARI warning about functions without parameters that do not | |
4833 | use (void). | |
4834 | * breakpoint.c (all_tracepoints): Replace () by (void). | |
4835 | * f-exp.y (match_string_literal): Ditto. | |
4836 | (yylex): Ditto. | |
4837 | * m2-exp.y (yylex): Ditto. | |
4838 | * mep-tdep.c (current_me_module): Ditto. | |
4839 | (current_options): Ditto. | |
4840 | (current_cop_data_bus_width): Ditto. | |
4841 | (current_cr_names): Ditto. | |
4842 | (current_cr_is_float): Ditto. | |
4843 | (current_ccr_names): Ditto. | |
4844 | * objc-exp.y (yylex): Ditto. | |
4845 | * p-exp.y (yylex): Ditto. | |
4846 | * remote.c (send_interrupt_sequence): Ditto. | |
4847 | * tracepoint.c (current_trace_status): Ditto. | |
4848 | * python/py-evts.c (gdbpy_initialize_py_events): Ditto. | |
4849 | * python/py-prettyprint.c (push_dummy_python_frame): Ditto. | |
4850 | ||
6dc3565d MS |
4851 | 2011-03-11 Michael Snyder <msnyder@vmware.com> |
4852 | ||
1427fe5e MS |
4853 | * cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define. |
4854 | * cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS. | |
4855 | (lookup_cmd): Test for CMD_LIST_AMBIGUOUS. | |
4856 | * completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS. | |
4857 | * top.c (set_verbose): Use CMD_LIST_AMBIGUOUS. | |
4858 | ||
60bc018f MS |
4859 | * event-loop-c (delete_async_signal_handler): Assert prev_ptr. |
4860 | (delete_async_event_handler): Ditto. | |
4861 | ||
f3be5b64 MS |
4862 | * python/py-breakpoint.c (bppy_set_condition): Stop memory leak. |
4863 | ||
4c2d5724 MS |
4864 | * python/py-breakpoint.c (bppy_get_commands): Fix memory leak. |
4865 | ||
6dc3565d MS |
4866 | * top.c (set_verbose): Assert showcmd was found. |
4867 | ||
4e6ca6d5 MG |
4868 | 2011-03-11 Maxim Grigoriev <maxim2405@gmail.com> |
4869 | ||
4870 | * xtensa-tdep.c (warning_once): Correct style issues. | |
4871 | ||
815a83e4 YQ |
4872 | 2011-03-11 Yao Qi <yao@codesourcery.com> |
4873 | ||
4874 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements. | |
4875 | ||
f2eb0bc8 AS |
4876 | 2011-03-11 Andreas Schwab <schwab@redhat.com> |
4877 | ||
4878 | * common/aclocal.m4: Remove. | |
4879 | ||
b801de47 MG |
4880 | 2011-03-10 Maxim Grigoriev <maxim2405@gmail.com> |
4881 | ||
4882 | * xtensa-tdep.c (windowing_enabled): Remove inline attribute. | |
4883 | (xtensa_write_register, xtensa_read_register): Likewise. | |
4884 | (xtensa_hextochar): Removed. | |
4885 | (xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code. | |
4886 | ||
dbab50de MG |
4887 | 2011-03-10 Maxim Grigoriev <maxim2405@gmail.com> |
4888 | ||
4889 | * xtensa-tdep.c (xtensa_c0reg_t): Update comments. | |
c2a6b390 | 4890 | (xtensa_call0_frame_cache_t): Update comments. New fields added. |
dbab50de MG |
4891 | (xtensa_alloc_frame_cache): Add initialization for new fields. |
4892 | (xtensa_frame_cache): Change the way how call0_frame_cache () is called. | |
4893 | (warning_once): New function. | |
4894 | (xtensa_insn_kind): New item c0opc_and. | |
4895 | (call0_classify_opcode): Add the case for AND instruction. | |
c2a6b390 MG |
4896 | (call0_track_op): Change arguments. New local variable litbase. |
4897 | Add the case to handle c0opc_and. Update algorithms for c0opc_mov, | |
4898 | c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments | |
4899 | in the prologue. | |
dbab50de | 4900 | Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu. |
c2a6b390 | 4901 | (call0_analyze_prologue): Update the comments. Change arguments. |
dbab50de MG |
4902 | Add the variety of updates to handle extended prologues, which now can |
4903 | conduct dynamic stack adjustments. | |
4904 | (call0_frame_cache): Likewise. | |
4905 | (xtensa_skip_prologue): Update call0_analyze_prologue () function call. | |
4906 | (xtensa_gdbarch_init): Initialize xtensa_session_once_reported. | |
4907 | ||
b2c04452 MS |
4908 | 2011-03-10 Michael Snyder <msnyder@vmware.com> |
4909 | ||
f8f67713 MS |
4910 | * tracepoint.c (cmd_qtv): Discard unused value 'packet'. |
4911 | (cmd_qtframe): Ditto. | |
4912 | (cmd_qtbuffer): Ditto. | |
4913 | (cmd_bigqtbuffer): Ditto. | |
4914 | ||
197f0a60 TT |
4915 | 2011-03-10 Tom Tromey <tromey@redhat.com> |
4916 | ||
4917 | * tracepoint.c (trace_actions_command): Update. | |
4918 | * thread.c (thread_apply_command): Update. | |
4919 | * reverse.c (delete_bookmark_command): Update. | |
4920 | (bookmarks_info): Update. | |
4921 | * printcmd.c (undisplay_command): Update. | |
4922 | * memattr.c (mem_enable_command): Update. | |
4923 | (mem_disable_command): Update. | |
4924 | (mem_delete_command): Update. | |
4925 | * inferior.c (detach_inferior_command): Update. | |
4926 | (kill_inferior_command): Update. | |
4927 | (remove_inferior_command): Update. | |
4928 | * cli/cli-utils.h (struct get_number_or_range_state): New. | |
4929 | (init_number_or_range): Declare. | |
4930 | (get_number_or_range): Update. | |
4931 | * cli/cli-utils.c (init_number_or_range): New function. | |
4932 | (get_number_or_range): Change 'pp' parameter to 'state'. Remove | |
4933 | static variables. | |
4934 | (number_is_in_list): Update. | |
4935 | * breakpoint.h (get_tracepoint_by_number): Update. | |
4936 | * breakpoint.c (map_breakpoint_numbers): Update for change to | |
4937 | get_number_or_range. | |
4938 | (find_location_by_number): Use get_number, not | |
4939 | get_number_or_range. | |
4940 | (trace_pass_set_count): New function. | |
4941 | (trace_pass_command): Update for change to get_number_or_range. | |
4942 | Rework loop logic. | |
4943 | (get_tracepoint_by_number): Remove 'multi_p' parameter; add | |
4944 | 'state' parameter. | |
4945 | ||
ecec24e6 PM |
4946 | 2011-03-10 Phil Muldoon <pmuldoon@redhat.com> |
4947 | ||
4948 | * python/py-param.c (add_setshow_generic): Add set/show callback | |
4949 | parameters. Register Python object context. | |
4950 | (get_show_value): New function. | |
4951 | (get_set_value): New function. | |
4952 | (call_doc_function): New function. | |
4953 | (get_doc_string): Move behind get_show_value/get_set_value. | |
4954 | ||
6d6c6b1f JK |
4955 | 2011-03-10 Andreas Tobler <andreast-list@fgznet.ch> |
4956 | ||
4957 | * fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'. | |
4958 | ||
68d6df83 MG |
4959 | 2011-03-09 Maxim Grigoriev <maxim2405@gmail.com> |
4960 | ||
dbab50de | 4961 | * xtensa-tdep.c (xtensa_read_register): Add comment. |
68d6df83 MG |
4962 | (xtensa_write_register): Likewise. |
4963 | (xtensa_hextochar): Add comment and update to match coding conventions. | |
4964 | (xtensa_frame_cache, xtensa_return_value): Follow coding conventions. | |
4965 | (execute_l32e, execute_s32e, execute_code): Update comments. | |
4966 | (xtensa_exception_handler_t): Update to match coding conventions. | |
4967 | (xtensa_insn_kind): Likewise. | |
4968 | ||
85c9d6a6 MS |
4969 | 2011-03-09 Michael Snyder <msnyder@vmware.com> |
4970 | ||
4971 | * mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak. | |
4972 | ||
91495617 PA |
4973 | 2011-03-09 Pedro Alves <pedro@codesourcery.com> |
4974 | ||
4975 | * nto-tdep.c (nto_find_and_open_solib): Constify local `base'. | |
4976 | ||
eb8c0621 TT |
4977 | 2011-03-09 Tom Tromey <tromey@redhat.com> |
4978 | ||
4979 | * thread.c (restore_selected_frame): Handle frame_level == -1. | |
4980 | (make_cleanup_restore_current_thread): Use | |
4981 | get_selected_frame_if_set. | |
4982 | * frame.h (get_selected_frame_if_set): Declare. | |
4983 | * frame.c (get_selected_frame_if_set): New function. | |
4984 | ||
9f37bbcc PA |
4985 | 2011-03-09 Pedro Alves <pedro@codesourcery.com> |
4986 | ||
4987 | * cli/cli-cmds.c (shell_escape): Use lbasename. | |
4988 | * coffread.c (coff_start_symtab): Constify parameter. | |
4989 | (complete_symtab): Constify `name' parameter. | |
4990 | (coff_symtab_read): Constify `filestring' local. | |
4991 | (coff_getfilename): Constify return and `result' local. | |
4992 | Use lbasename. | |
4993 | * fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename. | |
4994 | * linux-fork.c (info_checkpoints_command): Use lbasename. | |
4995 | * linux-nat.c (linux_nat_make_corefile_notes): Use lbasename. | |
4996 | * minsyms.c (lookup_minimal_symbol): Use lbasename. | |
4997 | * nto-tdep.c (nto_find_and_open_solib): Use lbasename. | |
4998 | * procfs.c (procfs_make_note_section): Use lbasename. | |
4999 | * tui/tui-io.c (printable_part): Constity return and parameter. | |
5000 | Use lbasename. | |
5001 | (print_filename): Constify parameters, and local `s'. | |
5002 | (tui_rl_display_match_list): Constify local `temp'. | |
5003 | ||
f8de3c55 JK |
5004 | 2011-03-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
5005 | ||
5006 | Revert: | |
5007 | 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com> | |
5008 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
5009 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
5010 | cu->header.version >= 3. | |
5011 | ||
d9837b00 YQ |
5012 | 2011-03-09 Yao Qi <yao@codesourcery.com> |
5013 | ||
5014 | * common/Makefile.in: Remove. | |
5015 | * common/configure: Remove. | |
5016 | * common/configure.ac: Remove. | |
5017 | ||
e637a4f5 YQ |
5018 | 2011-03-09 Yao Qi <yao@codesourcery.com> |
5019 | ||
5020 | Revert: | |
5021 | 2011-02-11 Yao Qi <yao@codesourcery.com> | |
5022 | ||
5023 | * common/Makefile.in: Add copyright header. | |
5024 | ||
5025 | 2011-02-11 Yao Qi <yao@codesourcery.com> | |
5026 | ||
5027 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
5028 | libcommon.a. | |
5029 | * configure.ac: Add common to sub dir. | |
5030 | * configure: Regenerate. | |
5031 | ||
f976a05d MG |
5032 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
5033 | ||
5034 | * xtensa-tdep.c (call0_ret): New function. | |
5035 | (xtensa_skip_prologue): Speed up analysis. | |
5036 | ||
57041825 MG |
5037 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
5038 | ||
5039 | * xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers | |
5040 | while executing MI command -data-list-changed-registers. | |
5041 | ||
08b9c608 MG |
5042 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
5043 | ||
5044 | * xtensa-tdep.c (xtensa_read_register): New function. | |
5045 | (xtensa_write_register): New function. | |
5046 | (xtensa_find_register_by_name): New function. | |
5047 | (xtensa_windowed_frame_cache): Update comments in type description. | |
5048 | (xtensa_frame_cache): Likewise. | |
5049 | (xtensa_window_interrupt_insn): New function. | |
5050 | (xtensa_frame_cache): Add analysis for Xtensa Window Exception frames. | |
5051 | (xtensa_insn_kind): Add new instructions. | |
5052 | (rwx_special_register): New function. | |
5053 | (call0_classify_opcode): Add new instructions to the analysis. | |
5054 | (a0_saved, a7_saved, a11_saved): New variables. | |
5055 | (a0_was_saved, a7_was_saved, a11_was_saved): New variables. | |
5056 | (execute_l32e): New function. | |
5057 | (execute_s32e): New function. | |
5058 | (xtensa_exception_handler_t): New type. | |
5059 | (execute_code): New function. | |
5060 | (xtensa_window_interrupt_frame_cache): New function to conduct frame | |
5061 | analysis for Xtensa Window Exception handlers. | |
5062 | ||
4d1acb11 MG |
5063 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
5064 | ||
98689b25 MG |
5065 | * xtensa-tdep.c (TX_PS): New. |
5066 | (windowing_enabled): Update to count for Call0 ABI. | |
5067 | (xtensa_hextochar): New. | |
5068 | (xtensa_init_reggroups): Make algorithm generic. | |
5069 | (xtensa_frame_cache): Use TX_PS on Tiny Xtensa. | |
5070 | ||
5071 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> | |
5072 | ||
5073 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update. | |
4d1acb11 | 5074 | |
d3f323f3 MS |
5075 | 2011-03-08 Michael Snyder <msnyder@vmware.com> |
5076 | ||
3dcabaa8 MS |
5077 | * i386-tdep.c (i386_follow_jump): Check return value of |
5078 | target_read_memory. | |
5079 | (i386_analyze_struct_return): Ditto. | |
5080 | (i386_skip_probe): Ditto. | |
5081 | (i386_match_insn): Ditto. | |
5082 | (i386_skip_noop): Ditto. | |
5083 | (i386_analyze_frame_setup): Ditto. | |
5084 | (i386_analyze_register_saves): Ditto. | |
5085 | (i386_skip_prologue): Ditto. | |
5086 | (i386_skip_main_prologue): Ditto. | |
5087 | ||
13b3fd9b MS |
5088 | * target.c (read_whatever_is_readable): Fix memory leak. |
5089 | ||
d3f323f3 MS |
5090 | * i386-tdep.c (i386_process_record): Document fall through. |
5091 | ||
421d5c74 JK |
5092 | 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
5093 | ||
5094 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
5095 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
5096 | cu->header.version >= 3. | |
5097 | ||
63154eca PA |
5098 | 2011-03-08 Pedro Alves <pedro@codesourcery.com> |
5099 | ||
5100 | * remote.c (remote_check_symbols): Skip if the target has no | |
5101 | execution. | |
5102 | ||
f1a507a1 JB |
5103 | 2011-03-08 Joel Brobecker <brobecker@adacore.com> |
5104 | ||
5105 | * target.c (read_whatever_is_readable): Reformat comment, | |
5106 | with a minor typo fix. Minor reformatting of the code. | |
5107 | ||
36073a92 YQ |
5108 | 2011-03-08 Yao Qi <yao@codesourcery.com> |
5109 | ||
5110 | * arm-tdep.c: Remove prototype declaration displaced_in_arm_mode. | |
5111 | (displaced_read_reg): Add `dsc' parameter, remove `from' parameter. | |
5112 | Use cached result instead of calling displaced_in_arm_mode again. | |
5113 | (branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter. | |
5114 | (displaced_write_reg, copy_preload, copy_preload_reg): Callers update. | |
5115 | (cleanup_copro_load_store, copy_copro_load_store): Likewise. | |
5116 | (cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise. | |
5117 | (cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise. | |
5118 | (copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise. | |
5119 | (copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise. | |
5120 | (cleanup_block_load_all, cleanup_block_store_pc): Likewise. | |
5121 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
5122 | * arm-linux-tdep.c (arm_linux_copy_svc): Callers update. | |
5123 | (arm_catch_kernel_helper_return): Likewise. | |
5124 | * gdb/arm-tdep.h : Update function declarations. | |
5125 | ||
d3f323f3 | 5126 | 2011-03-07 Michael Snyder <msnyder@vmware.com> |
e6040cbd | 5127 | |
e0e40094 MS |
5128 | * dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null. |
5129 | ||
0b2381f5 MS |
5130 | * ser-unix.c (hardwire_get_tty_state): Stop memory leak. |
5131 | ||
0350914a MS |
5132 | * mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment. |
5133 | ||
69feea6f MS |
5134 | * elfread.c (elf_symtab_read): Stop memory leak. |
5135 | ||
e6040cbd MS |
5136 | * main.c (captured_main): Fix memory leak. |
5137 | ||
052874e8 AS |
5138 | 2011-03-07 Andreas Schwab <schwab@linux-m68k.org> |
5139 | ||
5140 | * ada-lang.c (compare_names): Call is_name_suffix with string1 | |
5141 | instead of string2. | |
5142 | ||
b11896a5 TT |
5143 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
5144 | ||
5145 | * xcoffread.c (xcoff_sym_fns): Update. | |
5146 | * symfile.h (struct sym_fns) <sym_read_psymbols>: New field. | |
5147 | (enum symfile_add_flags) <SYMFILE_NO_READ>: New constant. | |
5148 | * symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ. | |
5149 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
5150 | (reread_symbols): Handle OBJF_PSYMTABS_READ. | |
5151 | * somread.c (som_sym_fns): Update. | |
5152 | * psymtab.h (require_partial_symbols): Declare. | |
5153 | * psymtab.c (require_partial_symbols): New function. | |
5154 | (ALL_OBJFILE_PSYMTABS_REQUIRED): New macro. | |
5155 | (ALL_OBJFILE_PSYMTABS): Undef. | |
5156 | (ALL_PSYMTABS): Move from psympriv.h. | |
5157 | (lookup_partial_symtab, find_pc_sect_psymtab) | |
5158 | (lookup_symbol_aux_psymtabs, relocate_psymtabs) | |
5159 | (find_last_source_symtab_from_partial) | |
5160 | (forget_cached_source_info_partial) | |
5161 | (print_psymtab_stats_for_objfile, read_symtabs_for_function) | |
5162 | (expand_partial_symbol_tables, read_psymtabs_with_filename) | |
5163 | (map_symbol_names_psymtab, map_symbol_filenames_psymtab) | |
5164 | (find_symbol_file_from_partial, map_matching_symbols_psymtab) | |
5165 | (expand_symtabs_matching_via_partial, maintenance_info_psymtabs): | |
5166 | Use ALL_OBJFILE_PSYMTABS_REQUIRED. | |
5167 | * psympriv.h (ALL_PSYMTABS): Move to psymtab.c. | |
5168 | * objfiles.h (OBJF_PSYMTABS_READ): New macro. | |
5169 | * objfiles.c (objfile_has_partial_symbols): Handle lazily-read | |
5170 | psymtabs. | |
5171 | * mipsread.c (ecoff_sym_fns): Update. | |
5172 | * machoread.c (macho_sym_fns): Update. | |
5173 | * elfread.c (elf_symfile_read): Set up for lazy psymtab reading. | |
5174 | (read_psyms): New function. | |
5175 | (elf_sym_fns, elf_sym_fns_gdb_index): Update. | |
5176 | (elf_sym_fns_lazy_psyms): New global. | |
5177 | * dwarf2read.c (dwarf2_initialize_objfile): Don't call | |
5178 | dwarf2_build_psymtabs. | |
5179 | * dbxread.c (aout_sym_fns): Update. | |
5180 | * coffread.c (coff_sym_fns): Update. | |
5181 | ||
fda326dd TT |
5182 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
5183 | ||
5184 | * infrun.c (print_exited_reason): Include inferior id and pid in | |
5185 | message. | |
5186 | ||
aeaec162 TT |
5187 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
5188 | ||
5189 | * target.h (struct target_ops) <to_has_execution>: Add ptid_t | |
5190 | parameter. | |
5191 | (target_has_execution_1): Update. | |
5192 | (target_has_execution_current): Declare. | |
5193 | (target_has_execution): Call target_has_execution_current. | |
5194 | (default_child_has_execution): Update. | |
5195 | * target.c (default_child_has_execution): Add 'the_ptid' | |
5196 | parameter. | |
5197 | (target_has_execution_1): Likewise. | |
5198 | (target_has_execution_current): New function. | |
5199 | (add_target): Update. | |
5200 | (init_dummy_target): Update. | |
5201 | * remote-m32r-sdi.c (m32r_has_execution): New function. | |
5202 | (init_m32r_ops): Use it. | |
5203 | * record.c (record_core_has_execution): Now static. Add | |
5204 | 'the_ptid' parameter. | |
5205 | * inferior.c (have_live_inferiors): Don't save current thread. | |
5206 | Use target_has_execution_1. | |
5207 | ||
08e14083 YQ |
5208 | 2011-03-07 Yao Qi <yao@codesourcery.com> |
5209 | ||
5210 | * Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4. | |
5211 | ||
c05d19c5 JB |
5212 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
5213 | ||
5214 | * elfread.c (elf_symtab_read): Minor reformatting. | |
5215 | ||
3e6ef9e4 JB |
5216 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
5217 | ||
5218 | * objc-lang.c (selectors_info): Minor reformatting. | |
5219 | ||
dbb8534f JB |
5220 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
5221 | ||
5222 | * ada-lang.c (compare_names): Add FALLTHROUGH comment. | |
5223 | ||
dd70cc93 JB |
5224 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
5225 | Michael Snyder <msnyder@vmware.com> | |
5226 | ||
5227 | * ada-valprint.c (ada_val_print_array): Move the declaration of | |
5228 | "byte_order" and "elttype" inside the block where these variables | |
5229 | are actually used. Remove some special handling for the case | |
5230 | where "elttype" and "eltlen" are null. Replace by a comment | |
5231 | and a couple of assertion checks. | |
5232 | ||
b27cf2b3 MS |
5233 | 2011-03-05 Michael Snyder <msnyder@vmware.com> |
5234 | ||
5235 | * source.c (add_path): Replace semicolon at end of block. | |
5236 | * dwarf2expr.c (execute_stack_op): Ditto. | |
5237 | ||
5387a0c6 MF |
5238 | 2011-03-05 Mike Frysinger <vapier@gentoo.org> |
5239 | ||
5240 | * bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h. | |
5241 | * configure.tgt (bfin-*-*linux*): Define gdb_sim. | |
5242 | (bfin-*-*): Likewise. | |
5243 | ||
e3aa49af MS |
5244 | 2011-03-05 Michael Snyder <msnyder@vmware.com> |
5245 | ||
82ae4854 MS |
5246 | * dwarf2expr.c (execute_stack_op): Delete superfluous semicolon. |
5247 | * mdebugread.c (parse_symbol): Ditto. | |
5248 | * parse.c (parse_exp_in_context): Ditto. | |
5249 | * source.c (add_path): Ditto. | |
5250 | * utils.c (gnu_debuglink_crc32): Ditto. | |
5251 | * varobj.c (variable_language): Ditto. | |
5252 | ||
e3aa49af MS |
5253 | * linux-tdep.c (linux_get_siginfo_type): Stop memory leak. |
5254 | ||
154f592e MS |
5255 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
5256 | ||
da3ecdc6 MS |
5257 | * linux-fork.c (inferior_call_waitptid): Fix copy/paste error. |
5258 | ||
9cc89665 MS |
5259 | * symfile.c (simple_overlay_update): Check for null return value |
5260 | from lookup_minimal_symbol. | |
5261 | ||
154f592e MS |
5262 | * xml-syscall.c (syscall_start_syscall): Assert name is non null. |
5263 | ||
63ffa6ee TJB |
5264 | 2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
5265 | ||
5266 | * eval.c (parse_and_eval_address_1): Remove function. | |
5267 | * linespec.c (decode_indirect): Call parse_to_comma_and_eval | |
5268 | instead of parse_and_eval_address_1. | |
5269 | * value.h (parse_and_eval_address_1): Remove prototype. | |
5270 | ||
a17d146e MS |
5271 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
5272 | ||
5273 | * remote.c (putpkt_binary): Document that case stmt falls through. | |
5274 | ||
1a6a67de TJB |
5275 | 2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
5276 | ||
5277 | * breakpointc (print_it_typical): Move NULL check from here... | |
5278 | (print_bp_stop_message): ... to here. | |
5279 | ||
488919c4 MS |
5280 | 2011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> |
5281 | ||
5282 | * breakpoint.c (enable_command): Use break instead of continue, | |
5283 | and fill in a missing break. | |
5284 | (disable_command): Ditto. | |
5285 | ||
1e182ce8 UW |
5286 | 2011-03-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
5287 | ||
5288 | * inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate. | |
5289 | (terminal_save_ours): Remove misleading comment. | |
5290 | (inflow_inferior_data_cleanup): Free ttystate. | |
5291 | (inflow_inferior_exit): Likewise. | |
5292 | (copy_terminal_info): Copy ttystate. | |
5293 | ||
5294 | * serial.c (serial_copy_tty_state): New function. | |
5295 | * serial.h (serial_copy_tty_state): Add prototype. | |
5296 | (struct serial_ops): Add copy_tty_state callback. | |
5297 | * ser-base.c (ser_base_copy_tty_state): New function. | |
5298 | * ser-base.h (ser_base_copy_tty_state): Add prototype. | |
5299 | * ser-go32.c (dos_copy_tty_state): New function. | |
5300 | (dos_ops): Install copy_tty_state callback. | |
5301 | * ser-mingw.c (_initialize_ser_windows): Likewise. | |
5302 | * ser-pipe.c (_initialize_ser_pipe): Likewise. | |
5303 | * ser-unix.c (hardwire_copy_tty_state): New function. | |
5304 | (_initialize_ser_hardwire): Install it. | |
5305 | ||
b2c5f112 MS |
5306 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
5307 | ||
2abae994 MS |
5308 | * breakpoint.c (create_breakpoint): Add missing break statement. |
5309 | ||
7f5936f9 MS |
5310 | Reverting this patch: |
5311 | * infcall.c (call_function_by_hand): Add break statements for lint. | |
5312 | ||
b2c5f112 MS |
5313 | Reverting this patch: |
5314 | * cli/cli-script.c (script_from_file): Add break for lint. | |
5315 | ||
42b1321c MS |
5316 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
5317 | ||
5318 | * solib.c (reload_shared_libraries_1): Close memory leak. | |
5319 | ||
3e2a0cee TT |
5320 | 2011-03-03 Tom Tromey <tromey@redhat.com> |
5321 | ||
5322 | PR gdb/12538: | |
5323 | * dwarf2read.c (process_psymtab_comp_unit): Handle case where | |
5324 | DW_STRING is NULL. | |
5325 | ||
58397cb7 MS |
5326 | 2011-03-03 Michael Snyder <msnyder@vmware.com> |
5327 | ||
2e3fd767 MS |
5328 | * remote-fileio.c (remote_fileio_func_fstat): Initialize all |
5329 | fields of struct 'st' to zero. | |
5330 | ||
58397cb7 MS |
5331 | * tui/tui-winsource.c (tui_update_source_window_as_is): Initialize |
5332 | sal.pspace before calling set_current_source_symtab_and_line. | |
5333 | ||
ced54c8f YQ |
5334 | 2011-03-03 Yao Qi <yao@codesourcery.com> |
5335 | ||
5336 | * Makefile.in (configure-common): Remove. Let Makefile | |
5337 | in dir common to rebuild itself. | |
5338 | (common/Makefile): Likewise. | |
5339 | ||
3351ea09 JB |
5340 | 2011-03-03 Joel Brobecker <brobecker@adacore.com> |
5341 | ||
5342 | * utils.c (parse_escape): Add i18n markup in error message. | |
5343 | ||
bf9f652a YQ |
5344 | 2011-03-03 Yao Qi <yao@codesourcery.com> |
5345 | ||
5346 | * gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with | |
5347 | ARM_PC_REGNUM. | |
5348 | (thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise. | |
5349 | (displaced_write_reg, displaced_read_reg): Likewise. | |
5350 | (copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise. | |
5351 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
5352 | (cleanup_branch): Replace magic number 14 and 15 with | |
5353 | ARM_LR_REGNUM and ARM_PC_REGNUM respectively. | |
5354 | ||
d42de051 MS |
5355 | 2011-03-02 Michael Snyder <msnyder@vmware.com> |
5356 | ||
240f9570 MS |
5357 | * maint.c (maintenance_do_deprecate): No need to check for NULL. |
5358 | ||
10dd8b54 MS |
5359 | * cli/cli-script.c (script_from_file): Add break for lint. |
5360 | ||
b98bd911 MS |
5361 | * mdebugread.c (parse_partial_symbols): Fix indent. |
5362 | ||
3494b66d MS |
5363 | * target-descriptions.c (tdesc_gdb_type): No need to call |
5364 | xstrdup, callee saves a copy. | |
5365 | ||
daac021a MS |
5366 | * printcmd.c (print_scalar_formatted): Use strncpy for safety. |
5367 | ||
c38d16a7 MS |
5368 | * infcall.c (call_function_by_hand): Add break statements for lint. |
5369 | ||
905b671b MS |
5370 | * utils.c (parse_escape): Escape the escape char. |
5371 | ||
f2eb0bc8 | 5372 | * python/py-inferior.c (build_inferior_list): Error out if |
2d565757 MS |
5373 | PyList_Append fails. |
5374 | (gdbpy_inferiors): Error out if build_inferior_list fails. | |
5375 | ||
8c6a60d1 MS |
5376 | * linux-nat.c (linux_nat_xfer_partial): Preserve errno around |
5377 | a function call. | |
5378 | ||
d42de051 MS |
5379 | * record.c (record_restore): Move printf to before error return. |
5380 | ||
4db71c0b YQ |
5381 | 2011-03-02 Yao Qi <yao@codesourcery.com> |
5382 | ||
5383 | * arm-tdep.h (struct displaced_step_closure): Add two new fields | |
5384 | is_thumb and insn_size. | |
5385 | * arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset | |
5386 | on both ARM and Thumb mode. | |
5387 | (arm_process_displaced_insn): Set is_thumb and insn_size. | |
5388 | (arm_displaced_init_closure): Handle both 16-bit and 32-bit. | |
5389 | (arm_displaced_step_fixup): Likewise. | |
5390 | ||
a9dc8dcc MS |
5391 | 2011-03-01 Michael Snyder <msnyder@vmware.com> |
5392 | ||
53624a93 MS |
5393 | * cli/cli-dump.c (dump_bfd_file): Check error return and warn. |
5394 | ||
77766669 MS |
5395 | * jv-lang.c (evaluate_subexp_java): Conditional can't be true. |
5396 | ||
62d5b8da MS |
5397 | * dwarf2read.c (dwarf2_compute_name): NAME cannot be null here. |
5398 | ||
5e9e105f MS |
5399 | * cli/cli-dump.c (restore_binary_file): Validate ftell return value. |
5400 | ||
dc19db01 MS |
5401 | * ada-lang.c (ada_make_symbol_completion_list): Replace malloc |
5402 | with xmalloc. | |
5403 | ||
5ce64950 MS |
5404 | * ada-lang.c (aggregate_assign_others): Rename inner scope variable |
5405 | which shadows function parameter. | |
5406 | ||
a0aa2878 MS |
5407 | * tracepoint.c (create_tsv_from_upload): Superfluous call |
5408 | to xstrdup. Callee already calls xstrdup. | |
5409 | ||
e325fb69 MS |
5410 | * linespec.c (decode_line_1): Remove unnecessary null check. |
5411 | ||
21cbba77 MS |
5412 | * tracepoint.c (scope_info): Fix mem leak, remove underused |
5413 | variable. | |
5414 | ||
63360adc MS |
5415 | * python/py-prettyprint.c (apply_val_pretty_printer): Remove |
5416 | superfluous null check. | |
5417 | ||
18ea20ac | 5418 | * std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null. |
23ce9890 | 5419 | (value_of_builtin_frame_fp_reg): Ditto. |
18ea20ac | 5420 | |
d014929c MS |
5421 | * event-top.c (display_gdb_prompt): Remove superfluous null check. |
5422 | ||
6e9130cf MS |
5423 | * python/py-prettyprint.c (apply_val_pretty_printer): VAL may |
5424 | be null. | |
5425 | ||
5f01dbc0 MS |
5426 | * linespec.c (decode_line_1): Check for null before dereference. |
5427 | ||
d684ab85 MS |
5428 | * reverse.c (record_restore): Move null-check to before pointer |
5429 | dereference. | |
5430 | ||
bfffb7e3 MS |
5431 | * python/py-utils.c (gdbpy_obj_to_string): Delete unused variable. |
5432 | ||
a9dc8dcc MS |
5433 | * objc-lang.c (selectors_info): Add explanitory comment. |
5434 | (classes_info): Ditto. | |
5435 | ||
478fd957 UW |
5436 | 2011-03-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
5437 | ||
5438 | * arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define. | |
5439 | (arm_linux_restart_syscall_init): Handle both on-stack and in-kernel | |
5440 | versions of the trampoline. Handle Thumb vs. ARM addresses. | |
5441 | (arm_kernel_linux_restart_syscall_tramp_frame): New global. | |
5442 | (arm_linux_init_abi): Install it. | |
5443 | * arm-tdep.c (arm_psr_thumb_bit): Make global. | |
5444 | * arm-tdep.c (arm_psr_thumb_bit): Add prototype. | |
5445 | ||
0480cefa MS |
5446 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
5447 | ||
ac50ab3b MS |
5448 | * ui-out.c (ui_out_field_core_addr): Make local char buffer |
5449 | a little bigger, to avoid possibility of an overflow. | |
5450 | ||
f63fbe86 MS |
5451 | * breakpoint.c (breakpoint_adjustment_warning): Make local char |
5452 | buffers a little bigger, to avoid possibility of an overflow. | |
5453 | ||
9e91a352 MS |
5454 | * coffread.c (coff_getfilename): Add check to avoid overflow. |
5455 | ||
f2eb0bc8 | 5456 | * objc-lang.c (selectors_info): Add a small safety margin to |
28288541 MS |
5457 | avoid overflow. |
5458 | (classes_info): Error out on too long REGEXP. | |
5459 | ||
098ab512 MS |
5460 | * infrun.c (handle_inferior_event): Remove unused function call. |
5461 | ||
bcbd1de9 MS |
5462 | * fork-child.c (fork_inferior): Remove ifdef'd code and |
5463 | unused variable. | |
5464 | ||
2e456570 MS |
5465 | * linux-thread-db.c (attach_thread): Discard unused value. |
5466 | ||
14571dad MS |
5467 | * linux-nat.c (linux_handle_extended_wait): Delete unused variable. |
5468 | ||
a9cbf802 MS |
5469 | * remote.c (remote_get_noisy_reply): Discard unused value. |
5470 | (remote_vcont_resume): Ditto. | |
5471 | (remote_stop_ns): Ditto. | |
5472 | ||
5715d26e MS |
5473 | * linespec.c (decode_objc): Delete unused variable. |
5474 | ||
4a9bca80 MS |
5475 | * tui/tui-regs.c (tui_register_format): Delete unused variable. |
5476 | ||
f47fb265 MS |
5477 | * dwarf2read.c (add_partial_symbol): Discard unused values. |
5478 | (read_base_type): Delete unused variable. | |
5479 | ||
e81cff30 MS |
5480 | * dbxread.c (read_dbx_symtab): Discard unused value. |
5481 | ||
262acaeb MS |
5482 | * eval.c (evaluate_subexp_standard): Delete unused variable, |
5483 | and discard unused values. | |
5484 | ||
df983543 MS |
5485 | * infcmd.c (_initialize_infcmd): Discard unused values. |
5486 | ||
89acf84d MS |
5487 | * stabsread.c (rs6000_builtin_type): Missing break statement. |
5488 | ||
ab8b8aca MS |
5489 | * dbxread.c (process_one_symbol): Discard unused value. |
5490 | ||
6b4511ab MS |
5491 | * coffread.c (coff_end_symtab): Delete unused variable. |
5492 | ||
e8e80198 MS |
5493 | * dwarf2read.c (dw2_get_file_names): Discard unused value. |
5494 | (dwarf2_add_typedef): Delete unused variable. | |
5495 | (read_namespace): Ditto. | |
5496 | (dwarf_decode_macros): Ditto. | |
5497 | ||
976aa66e MS |
5498 | * m2-lang.c (evaluate_subexp_modula2): Discard unused variable. |
5499 | ||
5b92b49f MS |
5500 | * opencl-lang.c (evaluate_subexp_opencl): Discard unused value. |
5501 | ||
91e8df85 MS |
5502 | * p-valprint.c (pascal_val_print): Discard unused value. |
5503 | ||
899500d6 MS |
5504 | * utils.c (nquery): Call va_end before return; |
5505 | (yquery): Ditto. | |
5506 | (query): Ditto. | |
5507 | ||
0480cefa MS |
5508 | * proc-service.c (ps_plog): Call va_end before return. |
5509 | ||
fb6a3ed3 TT |
5510 | 2011-02-28 Tom Tromey <tromey@redhat.com> |
5511 | ||
5512 | * python/python.c (gdbpy_value_cst): New global. | |
5513 | (_initialize_python): Initialize it. | |
5514 | * python/python-internal.h (gdbpy_value_cst): Declare. | |
5515 | * python/py-value.c (convert_value_from_python): Use | |
5516 | gdbpy_value_cst. | |
5517 | ||
c05202a1 MS |
5518 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
5519 | ||
e463f587 MS |
5520 | * python/py-cmd.c (cmdpy_init): Fix memory leak. |
5521 | ||
c38eea1a MS |
5522 | * breakpoint.c (catch_syscall_completer): Free malloced list. |
5523 | ||
3ef09ab5 MS |
5524 | * jv-lang.c (java_primitive_type_from_name): Add missing break. |
5525 | ||
8f9a01ee MS |
5526 | * opencl-lang.c (lval_func_check_validity): Rename inner variables. |
5527 | (lval_func_check_synthetic_pointer): Ditto. | |
5528 | (lval_func_free_closure): Fix use-after-free. | |
c05202a1 | 5529 | |
477d0d57 TT |
5530 | 2011-02-28 Tom Tromey <tromey@redhat.com> |
5531 | ||
5532 | * psymtab.c (expand_partial_symbol_tables): Use | |
5533 | ALL_OBJFILE_PSYMTABS. | |
5534 | ||
20937029 JK |
5535 | 2011-02-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
5536 | ||
5537 | * objc-lang.c (selectors_info): Error on too long REGEXP. | |
5538 | ||
907b7f4f MS |
5539 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
5540 | ||
92e96192 MS |
5541 | * python/py-param.c (set_parameter_value): Add missing |
5542 | break statement. | |
5543 | ||
907b7f4f MS |
5544 | * linux-record.c (record_linux_system_call): Add missing |
5545 | break statement. | |
5546 | ||
12c5a436 UW |
5547 | 2011-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
5548 | ||
5549 | * breakpoint.c (print_one_breakpoint_location): Remove unused | |
5550 | argument PRINT_ADDRESS_BITS. Update callers. | |
5551 | (print_one_breakpoint): Likewise. | |
5552 | ||
170b53b2 UW |
5553 | 2011-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
5554 | ||
5555 | * breakpoint.c (wrap_indent_at_field): New function. | |
5556 | (print_breakpoint_location): Use it instead of WRAP_INDENT argument. | |
5557 | Allocate ui_stream locally instead of using STB argument. | |
5558 | (print_one_breakpoint_location): Update call. | |
5559 | * ui-out.c (ui_out_query_field): New function. | |
5560 | * ui-out.h (ui_out_query_field): Add prototype. | |
5561 | ||
8ab1f94d JB |
5562 | 2011-02-28 Joel Brobecker <brobecker@adacore.com> |
5563 | ||
5564 | From Michael Snyder <msnyder@vmware.com> | |
5565 | * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. | |
5566 | ||
7d488639 MS |
5567 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
5568 | ||
ae179fba MS |
5569 | * objc-lang.c (selectors_info): Prevent string overrun. |
5570 | ||
086dbf66 MS |
5571 | * tui/tui-stack.c (tui_get_function_from_frame): Fix off by one |
5572 | error in strncpy. | |
5573 | ||
f2eb0bc8 | 5574 | * symtab.c (rbreak_command): Move variable 'file_name' to |
9c1e305a MS |
5575 | outer scope. |
5576 | ||
7d488639 MS |
5577 | * d-valprint.c (dynamic_array_type): Avoid shadowing a function |
5578 | param with a local variable of the same name. | |
5579 | ||
3bd0f5ef MS |
5580 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
5581 | ||
5582 | * value.c (value_from_history_ref): New function. | |
5583 | * value.h (value_from_history_ref): Export. | |
5584 | * cli/cli-utils.c (get_number_trailer): Use value_from_history_ref | |
5585 | to parse value history references. | |
5586 | * cli/cli-utils.h (get_number_trailer): Update comment. | |
5587 | ||
5588 | 2011-02-27 Michael Snyder <msnyder@vmware.com> | |
5589 | ||
5590 | * inferior.c (detach_inferior_command): Use get_number_or_range. | |
5591 | (kill_inferior_command): Ditto. | |
5592 | (remove_inferior_command): Ditto. | |
5593 | (initialize_inferiors): Make command names plural. | |
5594 | Update help strings. | |
5595 | ||
766062f6 MS |
5596 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
5597 | ||
5598 | * darwin-nat-info.c: Fix comment typo. | |
5599 | * dwarf2expr.h: Ditto. | |
5600 | * fbsd-nat.c: Ditto. | |
5601 | * fbsd-nat.h: Ditto. | |
5602 | * frame-unwind.h: Ditto. | |
5603 | * frame.h: Ditto. | |
5604 | * hppa-hpux-tdep.c: Ditto. | |
5605 | * i386-linux-nat.c: Ditto. | |
5606 | * linux-nat.c: Ditto. | |
5607 | * nbsd-nat.c: Ditto. | |
5608 | * nbsd-nat.h: Ditto. | |
5609 | * ppc-linux-tdep.c: Ditto. | |
5610 | * serial.c: Ditto. | |
5611 | * ui-file.h: Ditto. | |
5612 | * tui/tui-winsource.c: Ditto. | |
5613 | ||
f2c4ead5 MS |
5614 | 2011-02-26 Michael Snyder <msnyder@vmware.com> |
5615 | ||
86b887df MS |
5616 | * breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file). |
5617 | ||
66fd3b1e MS |
5618 | * maint.c (maintenance_do_deprecate): Plug a memory leak. |
5619 | ||
8c814cdd MS |
5620 | * dwarf2loc.c (insert_bits): Avoid shadowing a function param |
5621 | with a local variable of the same name. | |
5622 | ||
6d5e094a | 5623 | * i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function |
e5b3d7d6 | 5624 | param with a local variable of the same name. |
6d5e094a | 5625 | (i387_supply_xsave): Ditto. |
e5b3d7d6 | 5626 | |
5eee517d MS |
5627 | * linux-low.c (linux_nat_xfer_osdata): Rename local variable so |
5628 | that it does not shadow a function parameter. | |
5629 | ||
8fbf6b93 MS |
5630 | * i386-nat.c (i386_length_and_rw_bits): Document that case |
5631 | statement is meant to fall through. | |
5632 | ||
cb969d61 MS |
5633 | * expprint.c (dump_subexp_body_standard): Document that case |
5634 | statement is meant to fall through. | |
5635 | ||
f2c4ead5 MS |
5636 | * amd64-linux-tdep.c (amd64_linux_syscall_record): Delete |
5637 | dead if statement. Condition can't be false. | |
5638 | ||
b021a221 MS |
5639 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
5640 | ||
5641 | * arm-tdep.c: Fix typos in comments. | |
5642 | * bsd-uthread.c: Ditto. | |
5643 | * completer.c: Ditto. | |
5644 | * corelow.c: Ditto. | |
5645 | * cp-namespace.c: Ditto. | |
5646 | * cp-support.c: Ditto. | |
5647 | * cris-tdep.c: Ditto. | |
5648 | * dbxread.c: Ditto. | |
5649 | * dwarf2read.c: Ditto. | |
5650 | * frame.h: Ditto. | |
5651 | * gdbtypes.h: Ditto. | |
5652 | * inferior.h: Ditto. | |
5653 | * mdebugread.c: Ditto. | |
5654 | * mips-tdep.c: Ditto. | |
5655 | * ppc-linux-nat.c: Ditto. | |
5656 | * ppc-linux-tdep.c: Ditto. | |
5657 | * printcmd.c: Ditto. | |
5658 | * sol-thread.c: Ditto. | |
5659 | * solib-frv.c: Ditto. | |
5660 | * solist.h: Ditto. | |
5661 | * sparc64-tdep.c: Ditto. | |
5662 | * spu-tdep.c: Ditto. | |
5663 | * stabsread.c: Ditto. | |
5664 | * symfile.c: Ditto. | |
5665 | * valops.c: Ditto. | |
5666 | * varobj.c: Ditto. | |
5667 | * vax-nat.c: Ditto. | |
5668 | * python/py-block.c: Ditto. | |
5669 | * python/py-symbol.c: Ditto. | |
5670 | * python/py-symtab.c: Ditto. | |
5671 | * python/py-value.c: Ditto. | |
5672 | * tui/tui-win.c: Ditto. | |
5673 | ||
c82c0b55 MS |
5674 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
5675 | ||
5676 | * inferior.c (print_inferior): Accept a string instead of an int | |
5677 | for requested_inferiors, and use get_number_or_range to parse it. | |
5678 | (info_inferiors_command): Pass args string to print_inferior. | |
5679 | (initialize_inferiors): Change help string for info inferiors. | |
5680 | * inferior.h (print_inferior): Export prototype change. | |
5681 | ||
ee00cd23 TT |
5682 | 2011-02-25 Tom Tromey <tromey@redhat.com> |
5683 | ||
5684 | * common/ax.def (invalid2): Set to 0x31. | |
5685 | ||
0502ed8c JK |
5686 | 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
5687 | ||
5688 | * dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use | |
5689 | L and plongest. | |
5690 | (disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset, | |
5691 | use L and plongest. | |
5692 | (disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest. | |
5693 | ||
2c9de912 MS |
5694 | 2011-02-24 Michael Snyder <msnyder@vmware.com> |
5695 | ||
5696 | * Makefile.in (clean): Make clean should remove generated files | |
5697 | observer.h and observer.inc. | |
5698 | ||
a04b0428 JB |
5699 | 2011-02-24 Joel Brobecker <brobecker@adacore.com> |
5700 | ||
5701 | Revert the following patch (not approved yet): | |
5702 | 2011-02-21 Hui Zhu <teawater@gmail.com> | |
5703 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
5704 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
5705 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
5706 | * ax-general.c (ax_memcpy): New function. | |
5707 | (ax_print): Handle "printf". | |
5708 | (ax_reqs): Ditto. | |
5709 | * ax.h (ax_memcpy): Forward declare. | |
5710 | * common/ax.def (invalid2): Removed. | |
5711 | (printf): New entry. | |
5712 | * printcmd.c (printcmd.h): New include. | |
5713 | (string_printf): New function. | |
5714 | (ui_printf): Removed. | |
5715 | (printf_command): Remove static. Call string_printf. | |
5716 | (eval_command): Call string_printf. | |
5717 | * printcmd.h: New file. | |
5718 | * tracepoint.c (validate_actionline, | |
5719 | encode_actions_1): handle printf_command. | |
5720 | ||
2b52013f TT |
5721 | 2011-02-23 Tom Tromey <tromey@redhat.com> |
5722 | ||
5723 | * ax-general.c (ax_pick): Add missing newline. | |
5724 | ||
e5a67952 MS |
5725 | 2011-02-23 Michael Snyder <msnyder@vmware.com> |
5726 | ||
5727 | * breakpoint.c (breakpoint_1): Change first argument from an int | |
5728 | to a char pointer, so that the function now accepts a list of | |
f2eb0bc8 | 5729 | breakpoints rather than just one. Use new function |
e5a67952 MS |
5730 | 'number_is_in_list' to implement. |
5731 | (breakpoints_info): Pass char * instead of int to breakpoint_1. | |
5732 | (watchpoints_info): Ditto. | |
5733 | (tracepoints_info): Ditto. | |
5734 | (maintenance_info_breakpoints): Ditto. | |
5735 | (_initialize_breakpoint): Update help strings to reflect the fact | |
5736 | that these functions can now take more than one argument. | |
5737 | * cli/cli-utils.c (number_is_in_list): New function. | |
5738 | * cli/cli-utils.h (number_is_in_list): Export. | |
5739 | ||
5740 | 2011-02-23 Michael Snyder <msnyder@vmware.com> | |
fbcb778d MS |
5741 | |
5742 | * memattr.c (mem_enable_command): Use get_number_or_range. | |
5743 | (mem_disable_command): Ditto. | |
5744 | (mem_delete_command): Ditto. | |
5745 | (_initialize_mem): Tweak usage message to reflect multiple | |
5746 | arguments. | |
5747 | ||
6e6fbe60 DE |
5748 | 2011-02-22 Doug Evans <dje@google.com> |
5749 | ||
5750 | Add gdb.lookup_global_symbol python function. | |
5751 | * NEWS: Add entry. | |
5752 | * python/py-symbol.c (gdbpy_lookup_global_symbol): New function. | |
5753 | * python/python-internal.h (gdbpy_lookup_global_symbol): Declare it. | |
5754 | * python/python.c (GdbMethods): Add entry for lookup_global_symbol. | |
5755 | ||
79b97fa8 TT |
5756 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
5757 | ||
5758 | * language.c (language_class_name_from_physname): Rename | |
5759 | 'curr_language' argument to 'lang'; use in body. | |
5760 | ||
298f437a MS |
5761 | 2011-02-22 Michael Snyder <msnyder@vmware.com> |
5762 | ||
5763 | * cli/cli-utils.c (number_is_in_list): Check for zero return. | |
5764 | ||
b7ea3126 PA |
5765 | 2011-02-22 Pedro Alves <pedro@codesourcery.com> |
5766 | ||
5767 | * frame-unwind.h: Fix comment to mention the this frame, not the | |
5768 | next. | |
5769 | ||
58ee6d60 TT |
5770 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
5771 | ||
5772 | * symfile.c (auto_solib_limit): Remove. | |
5773 | * symfile.h (auto_solib_limit): Remove. | |
5774 | ||
36238dbc JB |
5775 | 2011-02-22 Joel Brobecker <brobecker@adacore.com> |
5776 | ||
5777 | * Makefile.in (INSTALLED_LIBS): Delete. Update comment. | |
5778 | ||
aea5b279 MS |
5779 | 2011-02-21 Michael Snyder <msnyder@vmware.com> |
5780 | ||
5781 | * gdbthread.h (print_thread_info): Change prototype. | |
5782 | * thread.c (print_thread_info): Accept char* instead of int for | |
5783 | requested_threads argument. Use new function number_is_in_list | |
5784 | to determine which threads to list. | |
5785 | (info_threads_command): Pass char* to print_thread_info. | |
5786 | * cli/cli-utils.c (number_is_in_list): New function. | |
5787 | * cli/cli-utils.h (number_is_in_list): Export. | |
f2eb0bc8 | 5788 | * mi/mi-main.c (mi_cmd_thread_info): Pass char* to |
aea5b279 MS |
5789 | print_thread_info. |
5790 | (print_one_inferior): Ditto. | |
5791 | (mi_cmd_list_thread_groups): Ditto. | |
5792 | ||
8caa75ee JK |
5793 | 2011-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
5794 | ||
5795 | * common/Makefile.in (CFLAGS): New. | |
5796 | (COMPILE): Add $(CFLAGS). | |
5797 | ||
ea666128 TT |
5798 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
5799 | ||
5800 | * breakpoint.c (catch_syscall_command_1): Fix typo. | |
5801 | ||
e9cafbcc TT |
5802 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
5803 | ||
5804 | * reverse.c: Include cli-utils.h. | |
5805 | * printcmd.c: Include cli-utils.h. | |
5806 | (string_printf): Use skip_spaces. | |
5807 | * cli/cli-utils.h: New file. | |
5808 | * cli/cli-utils.c: New file. | |
5809 | * cli/cli-dump.h (skip_spaces): Move to cli-utils.h. | |
5810 | * cli/cli-dump.c (skip_spaces): Move to cli-utils.c. | |
5811 | * breakpoint.h (get_number, get_number_or_range): Move to | |
5812 | cli-utils.h. | |
5813 | * breakpoint.c: Include cli-utils.h. | |
5814 | (get_number_trailer, get_number, get_number_or_range) | |
5815 | (ep_skip_leading_whitespace): Move to cli-utils.c. | |
5816 | (create_breakpoint_sal, find_condition_and_thread) | |
5817 | (decode_static_tracepoint_spec, watch_command_1) | |
5818 | (watch_maybe_just_location, ep_parse_optional_if_clause) | |
5819 | (catch_fork_command_1, catch_exec_command_1) | |
5820 | (catch_syscall_command_1): Use skip_spaces, skip_to_space. | |
5821 | * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o. | |
5822 | (SUBDIR_CLI_SRCS): Add cli-utils.c. | |
5823 | (HFILES_NO_SRCDIR): Add cli-utils.h. | |
5824 | (cli-utils.o): New target. | |
5825 | ||
f67fd822 PM |
5826 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
5827 | ||
5828 | * remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID | |
5829 | before calling discard_all_inferiors. | |
5830 | ||
c9def01d UW |
5831 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
5832 | ||
5833 | * opencl-lang.c (STRUCT_OCL_TYPE): Remove. | |
5834 | (struct builtin_opencl_type): Remove. | |
5835 | (builtin_opencl_type): Change return type to "struct type **". | |
5836 | (lookup_opencl_vector_type): Update caller. | |
5837 | (opencl_language_arch_info): Copy primitive type vector from gdbarch. | |
5838 | (build_opencl_types): Install plain array of "struct type *" | |
5839 | instead of "struct builtin_opencl_type". | |
5840 | ||
e3039479 UW |
5841 | 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
5842 | Ulrich Weigand <uweigand@de.ibm.com> | |
5843 | ||
5844 | * arm-linux-nat.c: Include "observer.h" and "gdbthread.h". | |
5845 | (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define. | |
5846 | (struct arm_linux_hwbp_cap): New type. | |
5847 | (arm_linux_get_hwbp_cap): New function. | |
5848 | (arm_linux_get_hw_breakpoint_count): Likewise. | |
5849 | (arm_linux_get_hw_watchpoint_count): Likewise. | |
5850 | (arm_linux_can_use_hw_breakpoint): Likewise. | |
5851 | (arm_hwbp_type): New type. | |
5852 | (arm_hwbp_control_t): Likewise. | |
5853 | (struct arm_linux_hw_breakpoint): Likewise. | |
5854 | (struct arm_linux_thread_points): Likewise. | |
5855 | (arm_threads): New global variable. | |
5856 | (arm_linux_find_breakpoints_by_tid): New function. | |
5857 | (arm_hwbp_control_initialize): Likewise. | |
5858 | (arm_hwbp_control_is_enabled): Likewise. | |
5859 | (arm_hwbp_control_disable): Likewise. | |
5860 | (arm_linux_hw_breakpoint_initialize): Likewise. | |
5861 | (arm_linux_get_hwbp_type): Likewise. | |
5862 | (arm_linux_hw_watchpoint_initialize): Likewise. | |
5863 | (arm_linux_hw_breakpoint_equal): Likewise. | |
5864 | (arm_linux_insert_hw_breakpoint1): Likewise. | |
5865 | (arm_linux_remove_hw_breakpoint1): Likewise. | |
5866 | (arm_linux_insert_hw_breakpoint): Likewise. | |
5867 | (arm_linux_remove_hw_breakpoint): Likewise. | |
5868 | (arm_linux_region_ok_for_hw_watchpoint): Likewise. | |
5869 | (arm_linux_insert_watchpoint): Likewise. | |
5870 | (arm_linux_remove_watchpoint): Likewise. | |
5871 | (arm_linux_stopped_data_address): Likewise. | |
5872 | (arm_linux_stopped_by_watchpoint): Likewise. | |
5873 | (arm_linux_watchpoint_addr_within_range): Likewise. | |
5874 | (arm_linux_new_thread): Likewise. | |
5875 | (arm_linux_thread_exit): Likewise. | |
5876 | (_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint | |
5877 | related target callbacks. Register arm_linux_new_thread and | |
5878 | arm_linux_thread_exit. | |
5879 | * arm-tdep.h (arm_pc_is_thumb): Add prototype. | |
5880 | * arm-tdep.c (arm_pc_is_thumb): Make global. | |
5881 | (arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint. | |
5882 | ||
b5db5dfc UW |
5883 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
5884 | ||
5885 | * breakpoint.c (update_watchpoint): Do not attempt to recreate | |
5886 | per-frame locations while within a function epilogue. | |
5887 | ||
e25b2cfa PM |
5888 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
5889 | ||
5890 | * ser-mingw.c (ser_windows_close): Reformat comment to better conform | |
5891 | to GNU coding standards. | |
5892 | ||
4af53f97 PM |
5893 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
5894 | ||
5895 | Allow use of mingw native on Windows 95 OS. | |
e25b2cfa | 5896 | * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry. |
4af53f97 PM |
5897 | (ser_windows_close): Only call CancelIo if function exists. |
5898 | (_initialize_ser_windows): Use LoadLirary/GetProcAddress | |
5899 | to check for existence of CancelIo function in kernel32 DLL. | |
5900 | ||
d0e92d82 HZ |
5901 | 2011-02-21 Hui Zhu <teawater@gmail.com> |
5902 | ||
5903 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
5904 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
5905 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
5906 | * ax-general.c (ax_memcpy): New function. | |
5907 | (ax_print): Handle "printf". | |
5908 | (ax_reqs): Ditto. | |
5909 | * ax.h (ax_memcpy): Forward declare. | |
5910 | * common/ax.def (invalid2): Removed. | |
5911 | (printf): New entry. | |
5912 | * printcmd.c (printcmd.h): New include. | |
5913 | (string_printf): New function. | |
5914 | (ui_printf): Removed. | |
5915 | (printf_command): Remove static. Call string_printf. | |
5916 | (eval_command): Call string_printf. | |
5917 | * printcmd.h: New file. | |
5918 | * tracepoint.c (validate_actionline, | |
5919 | encode_actions_1): handle printf_command. | |
5920 | ||
7d357efd MS |
5921 | 2011-02-19 Michael Snyder <msnyder@vmware.com> |
5922 | ||
5923 | * reverse.c (delete_one_bookmark): Argument is now bookmark | |
5924 | id rather than pointer to bookmark struct. | |
5925 | (delete_bookmark_command): Use get_number_or_range. | |
5926 | (goto_bookmark_command): Parse with get_number instead of strtoul. | |
5927 | (bookmark_1): New function. Print info for one bookmark. | |
5928 | (bookmarks_info): Use get_number_or_range and bookmark_1. | |
5929 | ||
7a45ebd7 MS |
5930 | 2011-02-18 Michael Snyder <msnyder@vmware.com> |
5931 | ||
f2eb0bc8 | 5932 | * thread.c (info_threads_command): Re-implement using |
7a45ebd7 | 5933 | get_number_or_range. |
65ebfb52 | 5934 | (thread_apply_command): Ditto. |
7a45ebd7 | 5935 | |
94d5e490 TT |
5936 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
5937 | ||
5938 | * common/ax.def: New file. | |
5939 | * ax.h (enum agent_op): Use ax.def. | |
5940 | * ax-general.c (aop_map): Use ax.def. | |
5941 | ||
c7f96d2b TT |
5942 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
5943 | ||
5944 | * ax-general.c (aop_map): Add pick and rot. | |
5945 | * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement. | |
5946 | <DW_OP_rot>: Implement. | |
5947 | * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants. | |
5948 | (ax_pick): Declare. | |
5949 | * ax-general.c (ax_pick): New function. | |
5950 | ||
66694b75 TT |
5951 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
5952 | ||
5953 | * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc. | |
5954 | ||
eeaafae2 JK |
5955 | 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
5956 | Tom Tromey <tromey@redhat.com> | |
5957 | ||
5958 | * cp-support.c (make_symbol_overload_list_namespace): Do not call | |
5959 | make_symbol_overload_list_block with NULL BLOCK. | |
5960 | * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF. | |
5961 | ||
3c3fe74c PA |
5962 | 2011-02-18 Pedro Alves <pedro@codesourcery.com> |
5963 | ||
5964 | * breakpoint.c (get_number_trailer): No longer accept a NULL PP. | |
5965 | * breakpoint.h (get_number_or_range): Declare. | |
5966 | * printcmd.c (ALL_DISPLAYS): Declare. | |
5967 | (delete_display): Reimplement taking a display pointer. | |
5968 | (undisplay_command): Accept a range of displays to delete, using | |
5969 | get_number_or_range. | |
5970 | ||
13163d80 PM |
5971 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
5972 | ||
5973 | * c-valprint.c (c_val_print): Add embedded_offset to address | |
5974 | for arrays of unspecified length. | |
5975 | * p-valprint.c (pascal_val_print): Likewise. | |
5976 | ||
b434a28f YQ |
5977 | 2011-02-18 Yao Qi <yao@codesourcery.com> |
5978 | ||
5979 | * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ... | |
5980 | (arm_process_displaced_insn): .. here. Remove parameter INSN. | |
5981 | (thumb_process_displaced_insn): New. | |
5982 | * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update | |
5983 | call to arm_process_displaced_insn. | |
5984 | * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn. | |
5985 | ||
9f6f94ff TT |
5986 | 2011-02-17 Tom Tromey <tromey@redhat.com> |
5987 | ||
5988 | * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare. | |
5989 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from | |
5990 | compile_dwarf_to_ax. No longer static. Call | |
5991 | dwarf2_compile_cfa_to_ax. | |
5992 | (locexpr_tracepoint_var_ref): Update. | |
5993 | (loclist_tracepoint_var_ref): Update. | |
5994 | * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare. | |
5995 | * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame' | |
5996 | argument; add 'gdbarch' and 'pc'. | |
5997 | (dwarf2_compile_cfa_to_ax): New function. | |
5998 | (dwarf2_frame_cache): Update. | |
5999 | ||
e67ad678 JB |
6000 | 2011-02-17 Joel Brobecker <brobecker@adacore.com> |
6001 | ||
6002 | * ada-lang.c (ada_type_of_array): Fix the size of the array | |
6003 | in the case of an unconstrained packed array. | |
6004 | ||
946ebb0d YQ |
6005 | 2011-02-17 Yao Qi <yao@codesourcery.com> |
6006 | ||
6007 | * common/Makefile.in: Add more targets for make. | |
6008 | ||
1ba1b353 TT |
6009 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
6010 | ||
6011 | * dwarf2loc.c (unimplemented): Fix typo. | |
6012 | ||
b1bfef65 TT |
6013 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
6014 | ||
6015 | * dwarf2loc.c (unimplemented): Handle unnamed opcodes. | |
6016 | (compile_dwarf_to_ax) <default>: Use unimplemented. | |
6017 | <DW_OP_deref>: Update. | |
6018 | (disassemble_dwarf_expression): Update. | |
6019 | * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument. | |
6020 | (decode_locdesc): Update. | |
6021 | * dwarf2expr.h (dwarf_stack_op_name): Update. | |
6022 | ||
5f1e6f19 TT |
6023 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
6024 | ||
6025 | * ax.h (struct aop_map) <name>: Now const. | |
6026 | ||
a0c78a73 PA |
6027 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
6028 | ||
6029 | * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other | |
6030 | than axs_rvalue. | |
6031 | ||
946ebb0d | 6032 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
a42244db YQ |
6033 | |
6034 | * infrun.c (get_displaced_step_closure_by_addr): New. | |
6035 | * inferior.h: Declare it. | |
6036 | * arm-tdep.c: (arm_pc_is_thumb): Call | |
6037 | get_displaced_step_closure_by_addr. Adjust MEMADDR if it | |
6038 | returns non-NULL. | |
6039 | ||
08807d5a PA |
6040 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
6041 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6042 | ||
6043 | gdb/ | |
6044 | * tracepoint.c (memrange_sortmerge): Fix list A's end calculation. | |
6045 | ||
29976f3f PA |
6046 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
6047 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6048 | ||
6049 | * value.c (value_contents_copy_raw): Extend describing comment. | |
6050 | Assert that the destination contents we're overwriting are wholly | |
6051 | available. | |
fb68ae73 | 6052 | (value_contents_copy): Extend describing comment. |
29976f3f | 6053 | |
cd24cfaa PA |
6054 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
6055 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6056 | ||
6057 | * value.c (value_available_contents_eq): Remove redundant local | |
6058 | variables. Fix available contents comparision. | |
6059 | * value.h (value_available_contents_eq): Extend describing | |
6060 | comment. | |
6061 | ||
60bbf338 YQ |
6062 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
6063 | ||
6064 | * thread.c (info_threads_command): Add missing i18n markup and remove | |
6065 | trailing newline. | |
6066 | ||
17450429 PP |
6067 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
6068 | ||
6069 | * breakpoint.c (longjmp_names): New variable. | |
6070 | (struct breakpoint_objfile_data): New type. | |
6071 | (breakpoint_objfile_key): New variable. | |
6072 | (msym_not_found): New variable. | |
6073 | (msym_not_found_p): New predicate. | |
6074 | (get_breakpoint_objfile_data): New function. | |
6075 | (create_overlay_event_breakpoint): Check per-objfile cache for | |
6076 | symbols first. | |
6077 | (create_longjmp_master_breakpoint): Likewise. | |
6078 | (create_std_terminate_master_breakpoint): Likewise. | |
6079 | (create_exception_master_breakpoint): Likewise. | |
6080 | (_initialize_breakpoint): Register per-objfile data key. | |
6081 | ||
af02033e PP |
6082 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
6083 | ||
6084 | * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate | |
6085 | parameter value. | |
6086 | (create_longjmp_master_breakpoint): Loop over longjmp names. | |
6087 | (create_std_terminate_master_breakpoint): Const-propagate parameter | |
6088 | value. | |
6089 | (update_breakpoints_after_exec): Adjust. | |
6090 | (breakpoint_re_set): Adjust. | |
6091 | ||
60f98dde MS |
6092 | 2011-02-15 Michael Snyder <msnyder@vmware.com> |
6093 | ||
cdf99611 MS |
6094 | * thread.c (info_threads_command): Process arg as thread id, |
6095 | or list of thread ids. | |
6096 | (thread_find_command): New command. | |
6097 | (_initialize_thread): Document argument for info threads. | |
6098 | Document 'thread find' command. | |
6099 | * NEWS: Document new command "thread find". | |
60f98dde | 6100 | |
0feedb2c JK |
6101 | 2011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
6102 | ||
6103 | * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'. | |
6104 | * aclocal.m4: Regenerated with aclocal-1.11.1. | |
6105 | * common/configure: Regenerate with autoconf-2.64. | |
6106 | ||
648cd113 KW |
6107 | 2011-02-15 Ken Werner <ken.werner@de.ibm.com> |
6108 | ||
6109 | * opencl-lang.c (build_opencl_types): Set the size of the built-in | |
6110 | bool data type to a size of one byte. | |
6111 | ||
5657161f PA |
6112 | 2011-02-15 Pedro Alves <pedro@codesourcery.com> |
6113 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6114 | ||
6115 | * target.c (memory_xfer_live_readonly_partial): Document where to | |
6116 | look for interface description. | |
6117 | ||
494e194e YQ |
6118 | 2011-02-15 Yao Qi <yao@codesourcery.com> |
6119 | ||
6120 | PR tdep/12352 | |
6121 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in | |
6122 | order to store PC value on stack instead of text section. | |
6123 | ||
d9492458 TJB |
6124 | 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com> |
6125 | ||
6126 | * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for | |
6127 | the EFP register set size. | |
6128 | (efpr_pseudo_register_read): Use regcache_raw_read_part to read | |
6129 | data from the VMX register. | |
6130 | (efpr_pseudo_register_write): Use regcache_raw_write_part to read | |
6131 | and write data from/to the VMX register. | |
6132 | ||
cdf99611 MS |
6133 | 2011-02-14 Michael Snyder <msnyder@vmware.com> |
6134 | ||
6135 | * command.h (enum command_class): New class 'no_set_class', for | |
6136 | "show" commands without a corresponding "set" command. | |
6137 | * value.c (_initialize_values): Use 'no_set_class' for "show values". | |
6138 | * copying.c (_initialize_copying): Ditto for "show copying" and | |
6139 | "show warranty". | |
6140 | * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and | |
6141 | "show version". | |
6142 | * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for | |
6143 | which there is no corresponding "set" command (eg. "show copying"). | |
6144 | ||
424447ee PA |
6145 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6146 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6147 | ||
6148 | * exec.c (section_table_available_memory): Change `len' parameter | |
6149 | type to ULONGEST. | |
6150 | * exec.h (section_table_available_memory): Ditto. | |
6151 | * value.h (read_value_memory): Rename the `offset' parameter to | |
6152 | `embedded_offset'. | |
6153 | ||
c0f61f9c | 6154 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
e0ccc0c7 | 6155 | Jan Kratochvil <jan.kratochvil@redhat.com> |
c0f61f9c PA |
6156 | |
6157 | * memrange.c (compare_mem_ranges): Mention sort order in | |
6158 | describing comment. | |
6159 | (normalize_mem_ranges): Add comment. Fix ra->length calculation. | |
6160 | * tracepoint.c (traceframe_available_memory): Extend comment to | |
6161 | mention what happens to RESULT when the target does not support | |
6162 | the query. | |
6163 | ||
6bfc80c7 PA |
6164 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6165 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
6166 | ||
6167 | * value.c (mark_value_bytes_unavailable): Fix indexing the `bef' | |
6168 | range. | |
6169 | ||
e7303042 PA |
6170 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6171 | ||
6172 | * value.c (value_bits_valid, value_bits_synthetic_pointer): | |
6173 | No longer handle NULL values. | |
6174 | ||
8af8e3bc PA |
6175 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6176 | ||
6177 | * exceptions.h (NOT_AVAILABLE_ERROR): New error. | |
6178 | * value.c: Include "exceptions.h". | |
6179 | (require_available): Throw NOT_AVAILABLE_ERROR instead of a | |
6180 | generic error. | |
6181 | * cp-abi.c: Include gdb_assert.h. | |
6182 | (baseclass_offset): Add `embedded_offset' and `val' parameters. | |
6183 | Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR | |
6184 | errors. | |
6185 | * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val' | |
6186 | parameters. No longer returns -1 on error. | |
6187 | (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and | |
6188 | `val' parameters. | |
6189 | * cp-valprint.c: Include exceptions.h. | |
6190 | (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching | |
6191 | the baseclass_offset. Handle unavailable base classes. Use | |
6192 | val_print_invalid_address. | |
6193 | * p-valprint.c: Include exceptions.h. | |
6194 | (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors | |
6195 | when fetching the baseclass_offset. No longer expect | |
6196 | baseclass_offset returning -1. Handle unavailable base classes. | |
6197 | Use val_print_invalid_address. | |
6198 | * valops.c (dynamic_cast_check_1): Rename `contents' parameter to | |
6199 | `valaddr' parameter, and change its type to gdb_byte pointer. Add | |
6200 | `embedded_offset' and `val' parameters. Adjust. | |
6201 | (dynamic_cast_check_2): Rename `contents' parameter to `valaddr' | |
6202 | parameter, and change its type to gdb_byte pointer. Add | |
6203 | `embedded_offset' and `val' parameters. Adjust. No longer expect | |
6204 | baseclass_offset returning -1. | |
6205 | (value_dynamic_cast): Use value_contents_for_printing rather than | |
6206 | value_contents. Adjust. | |
6207 | (search_struct_field): No longer expect baseclass_offset returning | |
6208 | -1. | |
6209 | (search_struct_method): If reading memory from the target is | |
6210 | necessary, wrap it in a new value to pass to baseclass_offset. No | |
6211 | longer expect baseclass_offset returning -1. | |
6212 | (find_method_list): No longer expect baseclass_offset returning | |
6213 | -1. Use value_contents_for_printing rather than value_contents. | |
6214 | * valprint.c (val_print_invalid_address): New function. | |
6215 | * valprint.h (val_print_invalid_address): Declare. | |
6216 | * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset' | |
6217 | and `val' parameters. No longer expect baseclass_offset returning | |
6218 | -1. Adjust. | |
6219 | * gnu-v2-abi.c: Include "exceptions.h". | |
6220 | (gnuv2_baseclass_offset): Add `embedded_offset' and `val' | |
6221 | parameters. Handle unavailable memory. Recurse through | |
6222 | gnuv2_baseclass_offset directly, rather than through | |
6223 | baseclass_offset. No longer returns -1 on not found, instead | |
6224 | throw an error. | |
6225 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and | |
6226 | `val' parameters. Adjust. | |
6227 | ||
1b28d0b3 PA |
6228 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6229 | ||
6230 | * tracepoint.c (memrange_sortmerge): Don't merge ranges that are | |
6231 | almost but not quite adjacent. | |
6232 | ||
ec0a52e1 PA |
6233 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6234 | ||
6235 | * value.h (value_entirely_available): Declare. | |
6236 | * value.c (value_entirely_available): New function. | |
6237 | * c-valprint.c (c_value_print): Don't try fetching the pointer's | |
6238 | real type if the pointer is unavailable. | |
6239 | ||
24e6bcee PA |
6240 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6241 | ||
6242 | * valops.c (value_repeat): Use read_value_memory instead of | |
6243 | read_memory. | |
6244 | ||
39d37385 PA |
6245 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6246 | ||
6247 | * value.h (value_contents_copy, value_contents_copy_raw): Declare. | |
6248 | * value.c (value_contents_copy_raw, value_contents_copy): New | |
6249 | functions. | |
6250 | (value_primitive_field): Use value_contents_copy_raw instead of | |
6251 | memcpy. | |
6252 | * valops.c (value_fetch_lazy): Use value_contents_copy instead of | |
6253 | memcpy. | |
6254 | (value_array, value_slice): Ditto. | |
6255 | * valarith.c (value_subscripted_rvalue): Use | |
6256 | value_contents_copy_raw instead of memcpy. | |
6257 | ||
a3d34bf4 PA |
6258 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6259 | ||
6260 | <unavailable> references. | |
6261 | ||
6262 | * valops.c (get_value_at): Use value_from_contents_and_address, | |
6263 | avoiding read_memory. | |
6264 | ||
9fc6d940 PA |
6265 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6266 | ||
6267 | * c-valprint.c (c_val_print): Print a string with unavailable | |
6268 | contents as an array. | |
6269 | ||
5467c6c8 PA |
6270 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6271 | ||
6272 | * value.h (unpack_bits_as_long): Delete declaration. | |
6273 | (unpack_value_bits_as_long): Declare. | |
6274 | (unpack_value_field_as_long): Declare. | |
6275 | (value_field_bitfield): Declare. | |
6276 | * value.c (unpack_bits_as_long): Rename to... | |
6277 | (unpack_value_bits_as_long_1): ... this. Add embedded_offset and | |
6278 | value parameters. Return the extracted result in a new output | |
6279 | parameter. If the value contents are unavailable, return false, | |
6280 | otherwise return true. | |
6281 | (unpack_value_bits_as_long): New. | |
6282 | (unpack_field_as_long): Rename to... | |
6283 | (unpack_value_field_as_long_1): ... this. Add embedded_offset and | |
6284 | Add embedded_offset and value parameters. Return the extracted | |
6285 | result in a new output parameter. If the value contents are | |
6286 | unavailable, return false, otherwise return true. | |
6287 | (unpack_value_field_as_long): New. | |
6288 | (unpack_field_as_long_1): New. | |
6289 | (unpack_field_as_long): Reimplement as wrapper around | |
6290 | unpack_value_field_as_long_1. | |
6291 | (value_field_bitfield): New function. | |
6292 | * valops.c (value_fetch_lazy): When fetching a bitfield, use | |
6293 | unpack_value_bits_as_long. Mark the value as unavailable, if it | |
6294 | is unavailable. | |
6295 | * jv-valprint.c (java_print_value_fields): Use | |
6296 | value_field_bitfield. | |
6297 | * p-valprint.c (pascal_object_print_value_fields): Use | |
6298 | value_field_bitfield. | |
6299 | * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield. | |
6300 | ||
3158c6ed PA |
6301 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6302 | ||
6303 | * value.c (get_internalvar_integer): Also return the int value of | |
6304 | TYPE_CODE_INT INTERNALVAR_VALUE values. | |
6305 | (set_internalvar): Don't special case TYPE_CODE_INT. | |
6306 | ||
9fbdca0d PA |
6307 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6308 | ||
6309 | * value.c (struct internalvar) <enum internalvar_kind>: Remove | |
6310 | INTERNALVAR_POINTER. | |
6311 | <pointer>: Delete. | |
6312 | (value_of_internalvar): Remove INTERNALVAR_POINTER handling. | |
6313 | (set_internalvar): Remove special TYPE_CODE_PTR handling. | |
6314 | (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling. | |
6315 | ||
c8c1c22f PA |
6316 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6317 | ||
6318 | * value.h (value_available_contents_eq): Declare. | |
6319 | * value.c (find_first_range_overlap): New function. | |
6320 | (value_available_contents_eq): New function. | |
6321 | * valprint.c (val_print_array_elements): Use | |
6322 | value_available_contents_eq. | |
6323 | * ada-valprint.c (val_print_packed_array_elements): Use | |
6324 | value_available_contents_eq. | |
6325 | * jv-valprint.c (java_value_print): Use | |
6326 | value_available_contents_eq. | |
6327 | ||
e6e4e701 PA |
6328 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6329 | ||
6330 | * target.c (target_read_live_memory): New function. | |
6331 | (memory_xfer_live_readonly_partial): New. | |
6332 | (memory_xfer_partial): If reading from a traceframe, fallback to | |
6333 | reading unavailable read-only memory from read-only regions of | |
6334 | live target memory. | |
6335 | * tracepoint.c (disconnect_tracing): Adjust. | |
6336 | (set_current_traceframe): New, factored out from | |
6337 | set_traceframe_number. | |
6338 | (set_traceframe_number): Reimplement to only change the traceframe | |
6339 | number on the GDB side. | |
6340 | (do_restore_current_traceframe_cleanup): Adjust. | |
6341 | (make_cleanup_restore_traceframe_number): New. | |
6342 | (cur_traceframe_number): New global. | |
6343 | (tfile_open): Set cur_traceframe_number to no traceframe. | |
6344 | (set_tfile_traceframe): New function. | |
6345 | (tfile_trace_find): If looking up a traceframe using any method | |
6346 | other than by number, make sure the current tfile traceframe | |
6347 | matches gdb's current traceframe. Update the current tfile | |
6348 | traceframe if the lookup succeeded. | |
6349 | (tfile_fetch_registers, tfile_xfer_partial) | |
6350 | (tfile_get_trace_state_variable_value): Make sure the remote | |
6351 | traceframe matches gdb's current traceframe. | |
6352 | * remote.c (remote_traceframe_number): New global. | |
6353 | (remote_open_1): Set it to -1. | |
6354 | (set_remote_traceframe): New function. | |
6355 | (remote_fetch_registers, remote_store_registers) | |
6356 | (remote_xfer_memory, remote_xfer_partial) | |
6357 | (remote_get_trace_state_variable_value): Make sure the remote | |
6358 | traceframe matches gdb's current traceframe. | |
6359 | (remote_trace_find): If looking up a traceframe using any method | |
6360 | other than by number, make sure the current remote traceframe | |
6361 | matches gdb's current traceframe. Update the current remote | |
6362 | traceframe if the lookup succeeded. | |
6363 | * infrun.c (fetch_inferior_event): Adjust. | |
6364 | * tracepoint.h (set_current_traceframe): Declare. | |
6365 | (get_traceframe_number, set_traceframe_number): Add describing | |
6366 | comments. | |
6367 | ||
e6ca34fc PA |
6368 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6369 | ||
6370 | Mark pieces of values as unavailable if the corresponding memory | |
6371 | is unavailable. | |
6372 | ||
6373 | * valops.c: Include tracepoint.h. | |
6374 | (value_fetch_lazy): Use read_value_memory. | |
6375 | (read_value_memory): New. | |
6376 | * value.h (read_value_memory): Declare. | |
6377 | * dwarf2loc.c (read_pieced_value): Use read_value_memory. | |
6378 | * exec.c (section_table_available_memory): New function. | |
6379 | * exec.h (section_table_available_memory): Declare. | |
6380 | ||
2a7498d8 PA |
6381 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6382 | ||
6383 | * Makefile.in (SFILES): Add memrange.c. | |
6384 | (HFILES_NO_SRCDIR): Add memrange.h. | |
6385 | (COMMON_OBS): Add memrange.o. | |
6386 | * memrange.c: New file. | |
6387 | * memrange.h: New file. | |
6388 | * tracepoint.c: Include memrange.h. | |
6389 | (struct mem_range): Delete. | |
6390 | (mem_range_s): Delete. | |
6391 | (traceframe_available_memory): New function. | |
6392 | * tracepoint.h (traceframe_available_memory): Declare. | |
6393 | ||
b3b9301e PA |
6394 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6395 | ||
6396 | * target.h (struct traceframe_info): Forward declare. | |
6397 | (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO. | |
6398 | (struct target_ops) <to_traceframe_info>: New field. | |
6399 | (target_traceframe_info): New. | |
6400 | * target.c (update_current_target): Inherit and default | |
6401 | to_traceframe_info. | |
6402 | * remote.c (PACKET_qXfer_traceframe_info): New. | |
6403 | (remote_protocol_features): Register qXfer:traceframe-info:read. | |
6404 | (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO. | |
6405 | (remote_traceframe_info): New. | |
6406 | (init_remote_ops): Install it. | |
6407 | (_initialize_remote): Install "set/show remote traceframe-info" | |
6408 | commands. | |
6409 | * tracepoint.h (parse_traceframe_info): Declare. | |
6410 | * tracepoint.c (struct mem_range): New. | |
6411 | (mem_range_s): New typedef. | |
6412 | (struct traceframe_info): New. | |
6413 | (traceframe_info): New global. | |
6414 | (free_traceframe_info): New function. | |
6415 | (clear_traceframe_info): New function. | |
6416 | (start_tracing, tfind_1, set_traceframe_number): Clear traceframe | |
6417 | info. | |
6418 | (build_traceframe_info): New function. | |
6419 | (tfile_traceframe_info): New function. | |
6420 | (init_tfile_ops): Install tfile_traceframe_info. | |
6421 | (traceframe_info_start_memory, free_result): New functions. | |
6422 | (memory_attributes, traceframe_info_elements): New globals. | |
6423 | (parse_traceframe_info, get_traceframe_info): New functions. | |
6424 | * features/traceframe-info.dtd: New file. | |
6425 | * Makefile.in (XMLFILES): Add traceframe-info.dtd. | |
6426 | ||
4e07d55f PA |
6427 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
6428 | ||
6429 | Base support for <unavailable> value contents. | |
6430 | ||
4e07d55f PA |
6431 | * value.h (value_bytes_available): Declare. |
6432 | (mark_value_bytes_unavailable): Declare. | |
6433 | * value.c (struct range): New struct. | |
6434 | (range_s): New typedef. | |
6435 | (ranges_overlap): New function. | |
6436 | (range_lessthan): New function. | |
6437 | (ranges_contain_p): New function. | |
6438 | (struct value) <unavailable>: New field. | |
6439 | (value_bytes_available): New function. | |
6440 | (mark_value_bytes_unavailable): New function. | |
6441 | (require_not_optimized_out): Constify parameter. | |
6442 | (require_available): New function. | |
6443 | (value_contents_all, value_contents): Require all bytes be | |
6444 | available. | |
6445 | (value_free): Free `unavailable'. | |
6446 | (value_copy): Copy `unavailable'. | |
6447 | * valprint.h (val_print_unavailable): Declare. | |
6448 | * valprint.c (valprint_check_validity): Rename `offset' parameter | |
6449 | to `embedded_offset'. If printing a scalar, check whether the | |
6450 | value chunk is available. | |
6451 | (val_print_unavailable): New. | |
6452 | (val_print_scalar_formatted): Check whether the value is | |
6453 | available. | |
6454 | * python/py-prettyprint.c (apply_val_pretty_printer): Refuse | |
6455 | pretty-printing unavailable values. | |
6456 | ||
bc9a5551 JK |
6457 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
6458 | ||
6459 | Fix const/volatile qualifiers of C++ types, PR c++/12328. | |
6460 | * c-typeprint.c (c_type_print_args): Update the function comment. New | |
6461 | variable param_type, initialize it. Remove const/volatile qualifiers | |
6462 | for language_cplus and !show_artificial. Use param_type. | |
6463 | ||
93b55aa1 JK |
6464 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
6465 | ||
6466 | * symtab.c (find_pc_sect_line): New variable objfile, initialize it | |
6467 | from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S. | |
6468 | * symtab.h (struct symtab) <next>: Comment extension. | |
6469 | ||
181d9476 YQ |
6470 | 2011-02-12 Yao Qi <yao@codesourcery.com> |
6471 | ||
6472 | * Makefile.in (CLEANDIRS): Remove duplicated common dir. | |
6473 | ||
b708a5c7 JK |
6474 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
6475 | ||
6476 | * common/Makefile.in: Add copyright header. | |
6477 | ||
c5187ac6 PA |
6478 | 2011-02-11 Pedro Alves <pedro@codesourcery.com> |
6479 | ||
6480 | * infrun.c (proceed): Move switching out and in of tfind mode from | |
6481 | here ... | |
6482 | (fetch_inferior_event): ... to here. | |
6483 | ||
4f3e6fb7 YQ |
6484 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
6485 | ||
6486 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
6487 | libcommon.a. | |
6488 | * configure.ac: Add common to sub dir. | |
6489 | * configure: Regenerate. | |
6490 | ||
b708a5c7 JK |
6491 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
6492 | ||
6493 | Build libcommon.a. | |
6494 | ||
6495 | * common/Makefile.in: New. | |
6496 | * common/configure.ac: New. | |
6497 | * common/aclocal.m4: New. | |
6498 | * common/configure: Generate. | |
6499 | ||
2287cc7e PA |
6500 | 2011-02-10 Pedro Alves <pedro@codesourcery.com> |
6501 | ||
6502 | * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right | |
6503 | side of the parenthesis. | |
6504 | ||
6505 | Merge from GCC: | |
6506 | 2010-07-13 Jakub Jelinek <jakub@redhat.com> | |
fc013618 | 6507 | * vec.h (VEC_block_remove): Fix comment. |
2287cc7e | 6508 | |
fd62cb89 MS |
6509 | 2011-02-08 Michael Snyder <msnyder@vmware.com> |
6510 | ||
6511 | * linux-nat.c (linux_nat_filter_event): Fix typo in comment. | |
6512 | ||
56d2815c JK |
6513 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
6514 | ||
6515 | * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes | |
6516 | in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd, | |
6517 | psubd and paddd. | |
6518 | ||
4f7d61a8 JK |
6519 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
6520 | ||
6521 | PR 12361. | |
6522 | * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to | |
6523 | phsubsw. | |
6524 | (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0. | |
6525 | (i386_process_record) <0x0f3807>: Fix the comment to phsubsw. | |
6526 | ||
54fcddd0 UW |
6527 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
6528 | ||
6529 | * dwarf2read.c (read_subroutine_type): Set special calling | |
6530 | convention flag for functions compiled by IBM XL C for OpenCL. | |
6531 | * ppc-sysv-tdep.c: Include "dwarf2.h" | |
6532 | (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types | |
6533 | calling convention. | |
6534 | (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement | |
6535 | IBM OpenCL vector types calling convention. | |
6536 | (ppc_sysv_abi_return_value): Pass through FUNC_TYPE. | |
6537 | (ppc_sysv_abi_broken_return_value): Likewise. | |
6538 | (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector | |
6539 | types calling convention. | |
6540 | (ppc64_sysv_abi_return_value): Likewise. | |
6541 | * spu-tdep.c: Include "dwarf2.h" | |
6542 | (spu_return_value): Implement IBM OpenCL vector types calling | |
6543 | convention. | |
6544 | ||
d6dafb7c UW |
6545 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
6546 | ||
6547 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement | |
6548 | correct ABI for AltiVec vector arguments. | |
6549 | ||
32b72a42 PA |
6550 | 2011-02-07 Pedro Alves <pedro@codesourcery.com> |
6551 | ||
6552 | * valprint.c (val_print): Extend comment. | |
6553 | * ada-valprint.c (ada_valprint): Rewrite comment deferring | |
6554 | interface explanation to val_print. | |
6555 | (ada_val_print_array): Adjust comment to current interface. | |
6556 | (print_field_values): Adjust comment to current interface. | |
6557 | * c-valprint.c (c_val_print): Rewrite comment deferring interface | |
6558 | explanation to val_print. | |
6559 | * f-valprint.c (f_val_print): Ditto. | |
6560 | * jv-valprint.c (java_val_print): Ditto. | |
6561 | * m2-valprint.c (m2_val_print): Ditto. | |
6562 | * p-valprint.c (pascal_val_print): Ditto. | |
6563 | ||
9998af43 TJB |
6564 | 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com> |
6565 | ||
6566 | * breakpoint.c (parse_breakpoint_sals): Fix description. | |
6567 | ||
505500db | 6568 | 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com> |
9998af43 | 6569 | Oguz Kayral <oguzkayral@gmail.com> |
505500db SW |
6570 | |
6571 | * python/py-inferior.c (python_on_normal_stop): New function. | |
6572 | (python_on_resume): New function. | |
6573 | (python_inferior_exit): New function. | |
6574 | (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and | |
6575 | inferior_exit observers. | |
6576 | * python/py-evtregistry.c: New file. | |
6577 | * python/py-threadevent.c : New file. | |
6578 | * python/py-event.c: New file. | |
6579 | * python/py-evts.c: New file. | |
6580 | * python/py-continueevent.c: New file. | |
6581 | * python/py-bpevent.c: New file. | |
6582 | * python/py-signalevent.c: New file. | |
6583 | * python/py-exetiedevent.c: New file. | |
6584 | * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function. | |
6585 | Move struct breakpoint_object from here... | |
6586 | * python/python-internal.h: ... to here. | |
6587 | * python/py-event.h: New file. | |
6588 | * python/py-events.h: New file. | |
6589 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o, | |
6590 | py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o, | |
6591 | py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o. | |
6592 | (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c, | |
6593 | py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c, | |
6594 | py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c. | |
6595 | Add build rules for all the above. | |
6596 | ||
9e0ac564 TT |
6597 | 2011-02-04 Tom Tromey <tromey@redhat.com> |
6598 | ||
6599 | * dwarf2read.c (dwarf2_section_empty_p): New function. | |
6600 | (dwarf2_read_section): Use dwarf2_section_empty_p. | |
6601 | (dwarf2_section_size): New function. | |
6602 | (dwarf2_get_section_info): Unconditionally read section. | |
6603 | (dwarf2_read_index): Use dwarf2_section_empty_p. | |
6604 | (partial_read_comp_unit_head): Use dwarf2_section_size. | |
6605 | (dwarf2_symbol_mark_computed): Likewise. | |
6606 | ||
eee5b35e DD |
6607 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
6608 | ||
6609 | * NEWS: Add item for "catch syscall" on mips*-linux* targets. | |
6610 | ||
385203ed DD |
6611 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
6612 | ||
6613 | * mips-linux-tdep.c: Include xml-syscall.h. | |
6614 | (mips_linux_get_syscall_number): New function. | |
6615 | (mips_linux_init_abi): Add calls to | |
6616 | mips_linux_get_syscall_number() and set_xml_syscall_file_name(). | |
6617 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
6618 | mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml | |
6619 | * syscalls/mips-n32-linux.xml: New file. | |
6620 | * syscalls/mips-n64-linux.xml: New file. | |
6621 | * syscalls/mips-o32-linux.xml: New file. | |
6622 | ||
9277c30c UW |
6623 | 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
6624 | ||
6625 | * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries. | |
6626 | Complain about inverted range entries. | |
6627 | (dwarf2_record_block_ranges): Likewise. | |
6628 | ||
a3be7890 TJB |
6629 | 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
6630 | ||
6631 | Fix some typos. | |
6632 | * breakpoint.c (update_watchpoint): Fix name of the | |
6633 | update_global_location_list function. | |
6634 | (print_one_breakpoint): Fix typo. | |
6635 | (_initialize_breakpoint): Remove extra space in hbreak help | |
6636 | string. | |
6637 | * breakpoint.h (struct bp_location) <length>: Fix field | |
6638 | description. | |
6639 | ||
041274d8 PA |
6640 | 2011-02-04 Pedro Alves <pedro@codesourcery.com> |
6641 | ||
6642 | * regcache.c (registers_changed_ptid): Don't explictly always | |
6643 | clear `current_regcache'. Only clear current_thread_ptid and | |
6644 | current_thread_arch when PTID matches. Only reinit the frame | |
6645 | cache if PTID matches the current inferior_ptid. Move alloca(0) | |
6646 | call to ... | |
6647 | (registers_changed): ... here. | |
6648 | ||
c1c2ab58 UW |
6649 | 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org> |
6650 | ||
6651 | * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that | |
6652 | starts with __stack_chk_guard as stack guard symbol. | |
6653 | ||
9011945e AB |
6654 | 2011-02-03 Andrew Burgess <aburgess@broadcom.com> |
6655 | ||
6656 | * disasm.c (compare_lines): Handle the end of sequence markers | |
6657 | within the line table to better support disassembling over | |
6658 | compilation unit boundaries. | |
6659 | ||
e0634ccf UW |
6660 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
6661 | ||
6662 | * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB | |
6663 | arguments. Skip in-prologue calls to glibc __aeabi_read_tp | |
6664 | implementation even if no symbols are available. | |
6665 | (thumb_analyze_prologue): Update call to skip_prologue_function. | |
6666 | (arm_analyze_prologue): Likewise. | |
6667 | ||
0e9e9abd UW |
6668 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
6669 | ||
6670 | * arm-tdep.c: Include "observer.h". | |
6671 | (arm_prologue_this_id): Use frame PC if get_frame_func returns 0. | |
6672 | (arm_exidx_data_key): New static variable. | |
6673 | (struct arm_exidx_entry, arm_exidx_entry_s): New data types. | |
6674 | (struct arm_exidx_data): Likewise. | |
6675 | (arm_exidx_data_free): New function. | |
6676 | (arm_compare_exidx_entries): Likewise. | |
6677 | (arm_obj_section_from_vma): Likewise. | |
6678 | (arm_exidx_new_objfile): Likewise. | |
6679 | (arm_find_exidx_entry): Likewise. | |
6680 | (arm_exidx_fill_cache): Likewise. | |
6681 | (arm_exidx_unwind_sniffer): Likewise. | |
6682 | (arm_exidx_unwind): New global variable. | |
6683 | (arm_gdbarch_init): Append unwinder arm_exidx_unwind. | |
6684 | (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile | |
6685 | observer. Register arm_exidx_data_key as objfile data. | |
6686 | ||
2e9e421f UW |
6687 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
6688 | ||
6689 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break | |
6690 | due to accessing uninitialized variable. Fix indentation. | |
6691 | ||
580688f3 PA |
6692 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
6693 | ||
6694 | * c-valprint.c (c_value_print): When doing virtual base pointer | |
6695 | adjustment, create a new value with adjusted contents rather than | |
6696 | changing the contents of the value being printed (and getting it | |
6697 | wrong). | |
6698 | ||
3d2c1d41 PA |
6699 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
6700 | ||
6701 | * xml-support.c (xml_find_attribute): New. | |
6702 | (xinclude_start_include): Use it. | |
6703 | * xml-support.h (xml_find_attribute): Declare. | |
6704 | * memory-map.c (memory_map_start_memory) | |
6705 | (memory_map_start_property): Use xml_find_attribute. | |
6706 | * osdata.c (osdata_start_osdata, osdata_start_column): Use | |
6707 | xml_find_attribute. | |
6708 | * remote.c (start_thread): Use xml_find_attribute. | |
6709 | * solib-target.c (library_list_start_segment) | |
6710 | (library_list_start_section, library_list_start_library) | |
6711 | (library_list_start_list): Use xml_find_attribute. | |
6712 | * xml-tdesc.c (tdesc_start_target, tdesc_start_feature) | |
6713 | (tdesc_start_union, tdesc_start_struct, tdesc_start_flags) | |
6714 | (tdesc_start_field): Use xml_find_attribute. | |
6715 | ||
0af3e2db UW |
6716 | 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com> |
6717 | ||
6718 | * opencl-lang.c (STRINGIFY): Rename to OCL_STRING. | |
6719 | (BUILD_OCL_VTYPES): Update. | |
6720 | ||
c1039e3c JB |
6721 | 2011-02-02 Joel Brobecker <brobecker@adacore.com> |
6722 | ||
6723 | * configure.ac: Work around non-GNU sed limitation when computing | |
6724 | python version number. | |
6725 | * configure: Regenerate. | |
6726 | ||
600ea1be JK |
6727 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
6728 | ||
6729 | Fix debug printing of TYPE_INSTANCE. | |
6730 | * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New. | |
6731 | (dump_subexp_body_standard) <TYPE_INSTANCE>: New. | |
6732 | ||
56c12414 JK |
6733 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
6734 | ||
6735 | Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL, | |
6736 | OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME, | |
6737 | OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT. | |
6738 | * ada-operator.inc: Rename the file to ... | |
6739 | * ada-operator.def: ... here, wrap all the entries by macro OP. | |
6740 | * expprint.c (op_name_standard): Remove all the entries. Include | |
6741 | "std-operator.def" instead. | |
6742 | * expression.h (enum exp_opcode): Include "std-operator.def" and | |
6743 | "ada-operator.def". Move all the entries ... | |
6744 | * std-operator.def: ... here, wrap all the entries by macro OP. | |
6745 | ||
c52b559d PP |
6746 | 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com> |
6747 | ||
6748 | * breakpoint.h (remove_jit_event_breakpoints): New prototype. | |
6749 | * breakpoint.c (remove_jit_event_breakpoints): New function. | |
6750 | * jit.c (jit_descriptor_addr): Delete. | |
6751 | (registering_code): Delete. | |
6752 | (clear_int): Delete. | |
6753 | (jit_inferior_data): New variable. | |
6754 | (struct jit_inferior_data): New type. | |
6755 | (get_jit_inferior_data): New function. | |
6756 | (jit_inferior_data_cleanup): New function. | |
6757 | (jit_read_descriptor): Adjust. | |
6758 | (jit_register_code): Adjust. | |
6759 | (jit_breakpoint_re_set_internal): New function; move code here ... | |
6760 | (jit_inferior_init): ... from here. | |
6761 | (jit_breakpoint_re_set): Adjust. | |
6762 | (jit_reset_inferior_data_and_breakpoints): New function. | |
6763 | (jit_inferior_created_observer): Adjust. | |
6764 | (jit_inferior_exit_hook): Adjust. | |
6765 | (jit_executable_changed_observer): New function. | |
6766 | (jit_event_handler): Adjust. | |
6767 | (_initialize_jit): Adjust. | |
6768 | ||
e839132d MS |
6769 | 2011-01-31 Michael Snyder <msnyder@vmware.com> |
6770 | ||
6771 | * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted | |
6772 | line. | |
6773 | ||
47a80e90 TT |
6774 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
6775 | ||
6776 | PR python/12216: | |
6777 | * python/python.c (execute_gdb_command): Call | |
6778 | prevent_dont_repeat. | |
6779 | * top.c (suppress_dont_repeat): New global. | |
6780 | (dont_repeat): Use it. | |
6781 | (prevent_dont_repeat): New function. | |
6782 | * command.h (prevent_dont_repeat): Declare. | |
6783 | ||
45a43567 TT |
6784 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
6785 | ||
6786 | * infcmd.c (finish_backward): Use breakpoint_set_silent. | |
6787 | * python/py-breakpoint.c (bppy_set_silent): Use | |
6788 | breakpoint_set_silent. | |
6789 | (bppy_set_thread): Use breakpoint_set_thread. | |
6790 | (bppy_set_task): Use breakpoint_set_task. | |
6791 | * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread) | |
6792 | (breakpoint_set_task): Declare. | |
6793 | (make_breakpoint_silent): Remove. | |
6794 | * breakpoint.c (breakpoint_set_silent): New function. | |
6795 | (breakpoint_set_thread): Likewise. | |
6796 | (breakpoint_set_task): Likewise. | |
6797 | (make_breakpoint_silent): Remove. | |
6798 | ||
09d682a4 TT |
6799 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
6800 | ||
6801 | * breakpoint.h (user_breakpoint_p): Declare. | |
6802 | * breakpoint.c (user_breakpoint_p): New function. | |
6803 | (breakpoint_1): Use it. | |
6804 | (save_breakpoints): Likewise. | |
6805 | ||
9c4ea6c5 JB |
6806 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
6807 | ||
6808 | * configure.ac: Add handling of Python distribution on Windows. | |
6809 | * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED | |
6810 | sysconfig variables are not defined, then do not use them. | |
6811 | On Windows, if LIBPL is not defined, then use prefix + '/libs' | |
6812 | instead. On Windows, return all paths using forward-slashes | |
6813 | rather than backslashes. | |
6814 | ||
ac534cba JB |
6815 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
6816 | ||
6817 | * configure.ac: Remove fallback behavior for building | |
6818 | against Python. Remove tweaking of Python include path. | |
6819 | Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution. | |
6820 | (AC_TRY_LIBPYTHON): Adjust program used in linking test. | |
6821 | If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS. | |
6822 | Always restore CPPFLAGS and LIBS after linking test. | |
6823 | * configure: Regenerated. | |
6824 | * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@. | |
6825 | (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@. | |
6826 | * python/python-internal.h: Adjust includes of Python .h files. | |
6827 | ||
c2f0d045 JB |
6828 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
6829 | ||
6830 | * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup | |
6831 | in error message. | |
6832 | ||
6b0c4c1f JB |
6833 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
6834 | ||
6835 | * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode | |
6836 | value test. | |
6837 | ||
672c9795 YQ |
6838 | 2011-01-31 Yao Qi <yao@codesourcery.com> |
6839 | ||
6840 | * arm-linux-nat.c: Update calls to regcache_register_status | |
6841 | instead of regcache_valid_p. | |
6842 | * aix-thread.c: Likewise. | |
6843 | * i386gnu-nat.c: Likewise. | |
6844 | ||
80b23b6a JK |
6845 | 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
6846 | ||
6847 | Fix crash. | |
6848 | * valops.c (compare_parameters): Verify TYPE_NFIELDS before | |
6849 | touching TYPE_FIELD_ARTIFICIAL. | |
6850 | ||
4cd712bd RE |
6851 | 2011-01-28 Richard Earnshaw <rearnsha@arm.com> |
6852 | ||
6853 | * MAINTAINERS: Move myself from Responsible Maintainers to Authorized | |
6854 | Committers. | |
6855 | ||
ffd5ec24 PA |
6856 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
6857 | ||
6858 | * tracepoint.c (tfile_xfer_partial): If there's no traceframe | |
6859 | selected, don't try iterating over the traceframe's blocks. | |
6860 | (tfile_has_stack): If there's no traceframe selected, then there's | |
6861 | no stack. | |
6862 | (tfile_has_registers): If there's no traceframe selected, then | |
6863 | there's no registers. | |
6864 | ||
e8c9e0a1 PA |
6865 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
6866 | ||
6867 | * target.c (memory_xfer_partial): No need to restore shadows if we | |
6868 | haven't read anything. | |
6869 | ||
de15c4ab PA |
6870 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
6871 | ||
6872 | * mips-tdep.c (mips_print_register): Use get_frame_register_value | |
6873 | and val_print_scalar_formatted. | |
6874 | ||
9f41c731 PA |
6875 | 2011-01-27 Pedro Alves <pedro@codesourcery.com> |
6876 | ||
6877 | * tracepoint.c (tfile_read): New. | |
6878 | (tfile_open): Use it. | |
6879 | (tfile_get_traceframe_address): Use it. | |
6880 | (tfile_trace_find): Use it. | |
6881 | (walk_blocks_callback_func): New typedef. | |
6882 | (match_blocktype): New function. | |
6883 | (traceframe_walk_blocks): New function. | |
6884 | (traceframe_find_block_type): New function. | |
6885 | (tfile_fetch_registers, tfile_xfer_partial) | |
6886 | (tfile_get_trace_state_variable_value): Use | |
6887 | traceframe_find_block_type and tfile_read. | |
6888 | ||
cdefc55d KB |
6889 | 2011-01-26 Kevin Buettner <kevinb@redhat.com> |
6890 | ||
6891 | * remote-mips.c: Add internationalization mark ups. Remove | |
6892 | trailing \n from already marked up strings. | |
6893 | ||
a81766d8 TT |
6894 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
6895 | ||
6896 | * python/py-prettyprint.c (print_string_repr): Clear | |
6897 | 'addressprint' option when calling val_print_string. | |
6898 | (print_children): Handle Val_pretty_default. Clear 'addressprint' | |
6899 | option when calling val_print_string. | |
6900 | ||
74aedc46 TT |
6901 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
6902 | ||
6903 | * python/python.c (gdbpy_solib_name): Use gdb_py_longest and | |
6904 | GDB_PY_LL_ARG. | |
6905 | * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New | |
6906 | macros. | |
6907 | (gdb_py_longest, gdb_py_ulongest): New typedefs. | |
6908 | (gdb_py_long_from_longest, gdb_py_long_from_ulongest) | |
6909 | (gdb_py_long_as_ulongest): New defines. | |
6910 | (gdb_py_object_from_longest, gdb_py_object_from_ulongest) | |
6911 | (gdb_py_int_as_long): Declare. | |
6912 | * python/py-value.c (valpy_lazy_string): Use gdb_py_longest, | |
6913 | GDB_PY_LL_ARG, gdb_py_object_from_longest. | |
6914 | (valpy_long): Add comment. | |
6915 | * python/py-utils.c (get_addr_from_python): Use | |
6916 | gdb_py_long_as_ulongest. Handle overflow properly. | |
6917 | (gdb_py_object_from_longest): New function. | |
6918 | (gdb_py_object_from_ulongest): Likewise. | |
6919 | (gdb_py_int_as_long): Likewise. | |
6920 | * python/py-type.c (typy_array): Use gdb_py_int_as_long. | |
6921 | * python/py-symtab.c (salpy_get_pc): Use | |
6922 | gdb_py_long_from_ulongest. | |
6923 | (salpy_get_line): Use PyInt_FromLong. | |
6924 | * python/py-param.c (set_parameter_value): Use | |
6925 | gdb_py_int_as_long. | |
6926 | * python/py-lazy-string.c (stpy_get_address): Use | |
6927 | gdb_py_long_from_ulongest. | |
6928 | * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest. | |
6929 | * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long. | |
6930 | * python/py-breakpoint.c (bppy_set_thread): Use | |
6931 | gdb_py_int_as_long. | |
6932 | (bppy_set_task): Likewise. | |
6933 | (bppy_set_ignore_count): Likewise. | |
6934 | (bppy_set_hit_count): Likewise. | |
6935 | * python/py-block.c (blpy_get_start): Use | |
6936 | gdb_py_object_from_ulongest. | |
6937 | (blpy_get_end): Likewise. | |
6938 | (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG. | |
6939 | ||
e4f6d2ec TJB |
6940 | 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr> |
6941 | ||
6942 | PR/symtab 11766: | |
6943 | * gdb/objfiles.h (struct objfile) <addr_low>: New field. | |
6944 | * gdb/solib.c (solib_read_symbols): Check for addr_low in | |
6945 | equality test for objfile, initialize addr_low if needed. | |
6946 | ||
b30aa278 PA |
6947 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
6948 | ||
6949 | * tui/tui-regs.c (tui_register_format): Remove dead code. | |
6950 | ||
ab2188aa PA |
6951 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
6952 | ||
6953 | * printcmd.c (print_formatted): Use val_print_scalar_formatted | |
6954 | instead of print_scalar_formatted. | |
6955 | (print_scalar_formatted): Don't handle 's' format strings here, | |
6956 | and add an assertion that we never see such format here. | |
6957 | * valprint.h (val_print_scalar_formatted): Declare. | |
6958 | * valprint.c (val_print_scalar_formatted): New. | |
6959 | * c-valprint.c (c_val_print): Use val_print_scalar_formatted | |
6960 | instead of print_scalar_formatted. | |
6961 | * jv-valprint.c (java_val_print): Ditto. | |
6962 | * p-valprint.c (pascal_val_print): Ditto. | |
6963 | * ada-valprint.c (ada_val_print_1): Ditto. | |
6964 | * f-valprint.c (f_val_print): Ditto. | |
6965 | * infcmd.c (registers_info): Ditto. | |
6966 | * m2-valprint.c (m2_val_print): Ditto. | |
6967 | ||
66d61a4c PA |
6968 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
6969 | ||
6970 | * m2-valprint.c (print_unbounded_array): Pass | |
6971 | value_contents_for_printing rather than value_contents, to | |
6972 | m2_print_array_contents. Also pass in the value. | |
6973 | ||
831adc1f JK |
6974 | 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
6975 | ||
6976 | * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index) | |
6977 | (save_gdb_index_command): Switch to .gdb_index version 4. | |
6978 | ||
20622269 PA |
6979 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
6980 | ||
6981 | * mi/mi-main.c (get_register): Use get_frame_register_value rather | |
6982 | than frame_register, and always pass a valid value to val_print. | |
6983 | ||
585fdaa1 PA |
6984 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
6985 | ||
6986 | Centralize printing "<optimized out>". | |
6987 | ||
6988 | * valprint.h (val_print_optimized_out): Declare. | |
6989 | * cp-valprint.c (cp_print_value_fields): Use | |
6990 | val_print_optimized_out. | |
6991 | * jv-valprint.c (java_print_value_fields): Ditto. | |
6992 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
6993 | * printcmd.c (print_formatted): Ditto. | |
6994 | * valprint.c (valprint_check_validity): Ditto. | |
6995 | (value_check_printable): Ditto. | |
6996 | (val_print_optimized_out): New. | |
6997 | ||
29ec5263 PA |
6998 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
6999 | ||
7000 | * infcmd.c (default_print_registers_info): Allocate values so to | |
7001 | never pass a NULL value to val_print. | |
7002 | ||
de4127a3 PA |
7003 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7004 | ||
7005 | * cp-valprint.c (cp_print_value): Treat the 'skip' local as | |
7006 | boolean. Make sure to always pass a value that matches the | |
7007 | contents buffer to callees. Preserve `address' for following | |
7008 | iterations. | |
7009 | * value.c (value_contents_for_printing_const): New. | |
7010 | (value_address): Constify value argument. | |
7011 | * value.h (value_contents_for_printing_const): Declare. | |
7012 | (value_address): Constify value argument. | |
7013 | ||
ee99023e PA |
7014 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7015 | ||
7016 | * regcache.c (struct regcache_descr): Rename | |
7017 | sizeof_raw_register_valid_p field to sizeof_raw_register_status, | |
7018 | and sizeof_cooked_register_valid_p to | |
7019 | sizeof_cooked_register_status. | |
7020 | (init_regcache_descr): Adjust. | |
7021 | (struct regcache): Rename register_valid_p field to | |
7022 | register_status. | |
7023 | (regcache_xmalloc_1, regcache_xfree, regcache_save) | |
7024 | (do_cooked_read): Adjust. | |
7025 | (regcache_valid_p): Rename to ... | |
7026 | (regcache_register_status): ... this. Adjust. | |
7027 | (regcache_invalidate): Adjust. | |
7028 | (regcache_raw_read, regcache_cooked_read, regcache_raw_write): | |
7029 | Adjust. | |
7030 | (regcache_raw_supply): Adjust. If buf i NULL, mark the register | |
7031 | as unavailable, not valid. | |
7032 | (regcache_dump): Adjust. | |
7033 | * regcache.h (enum register_status): New. | |
7034 | (regcache_register_status): Declare. | |
7035 | (regcache_invalidate): Delete declaration. | |
7036 | * corelow.c (get_core_registers): Adjust. | |
7037 | * tracepoint.c (tfile_fetch_registers): Adjust. | |
7038 | * trad-frame.c (REG_VALUE): Rename to ... | |
7039 | (TF_REG_VALUE): ... this. | |
7040 | (REG_UNKNOWN): Rename to ... | |
7041 | (TF_REG_UNKNOWN): ... this. | |
7042 | (trad_frame_set_value, trad_frame_set_unknown): Adjust. | |
7043 | * mi/mi-main.c (register_changed_p): Adjust. | |
7044 | ||
99e42fd8 PA |
7045 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7046 | ||
7047 | * regcache.c (struct regcache_descr): Remove outdated comment. | |
7048 | (init_regcache_descr): Remove sizeof_raw_register_valid_p | |
7049 | overallocate hack. | |
7050 | (regcache_xmalloc): Rename to ... | |
7051 | (regcache_xmalloc_1): ... this. Add `readonly_p' parameter. | |
7052 | Allocate the regcache type accordingly. | |
7053 | (regcache_xmalloc): New as wrapper around regcache_xmalloc_1. | |
7054 | (regcache_xfree): Asser the source is also readonly. Copy sizeof | |
7055 | cooked registers, not raw. | |
7056 | (regcache_dup_no_passthrough): Delete. | |
7057 | (get_thread_arch_regcache): Use regcache_xmalloc_1. | |
7058 | * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not | |
7059 | mention obsolete write_register_bytes. | |
7060 | * regcache.h (regcache_dup_no_passthrough): Delete declaration. | |
7061 | ||
f7605bc2 PA |
7062 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7063 | ||
7064 | Stop remote_read_bytes from handling partial reads itself. | |
7065 | ||
7066 | * remote-fileio.c: Include target.h. | |
7067 | (remote_fileio_write_bytes): Delete. | |
7068 | (remote_fileio_func_open, remote_fileio_func_write) | |
7069 | (remote_fileio_func_rename, remote_fileio_func_unlink): Use | |
7070 | target_read_memory. | |
7071 | (remote_fileio_func_stat): Use target_read_memory and | |
7072 | target_write_memory. | |
7073 | (remote_fileio_func_gettimeofday): Use target_write_memory. | |
7074 | (remote_fileio_func_system): Use target_read_memory. | |
7075 | * remote.c (remote_write_bytes): Make it static. | |
7076 | (remote_read_bytes): Don't handle partial reads here. | |
7077 | * remote.h (remote_read_bytes): Delete declaration. | |
7078 | ||
efc0eabd PA |
7079 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
7080 | ||
7081 | Simplify XML parsing a bit. | |
7082 | ||
7083 | * xml-support.h (gdb_xml_parse_quick): Declare. | |
7084 | * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed | |
7085 | from gdb_xml_create_parser_and_cleanup, and added `old_chain' | |
7086 | parameter. | |
7087 | (gdb_xml_create_parser_and_cleanup): Reimplement on top of | |
7088 | gdb_xml_create_parser_and_cleanup_1. | |
7089 | (gdb_xml_parse_quick): New. | |
7090 | * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick. | |
7091 | * osdata.c (osdata_parse): Ditto. | |
7092 | * remote.c (remote_threads_info): Ditto. | |
7093 | * solib-target.c (solib_target_parse_libraries): Ditto. | |
7094 | * xml-syscall.c (syscall_parse_xml): Ditto. | |
7095 | * xml-tdesc.c (tdesc_parse_xml): Ditto. | |
7096 | ||
314d366a KB |
7097 | 2011-01-24 Kevin Buettner <kevinb@redhat.com> |
7098 | ||
7099 | * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but | |
7100 | with remote-mips.o added to gdb_target_obs. | |
7101 | * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o. | |
7102 | ||
a491d753 PA |
7103 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
7104 | ||
7105 | * ada-valprint.c (val_print_packed_array_elements): Pass the | |
7106 | correct struct value to val_print. | |
7107 | (ada_val_print_1): Ditto. | |
7108 | ||
490f124f PA |
7109 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
7110 | ||
7111 | Don't lose embedded_offset in printing routines throughout. | |
7112 | ||
7113 | * valprint.h (val_print_array_elements): Change prototype. | |
7114 | * valprint.c (val_print_array_elements): Add `embedded_offset' | |
7115 | parameter, and adjust to pass it down to val_print, while passing | |
7116 | `valaddr' or `address' unmodified. Take embedded_offset into | |
7117 | account when checking repetitions. | |
7118 | * c-valprint.c (c_val_print): Pass embedded_offset to | |
7119 | val_print_array_elements instead of adjusting `valaddr' and | |
7120 | `address'. | |
7121 | * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass | |
7122 | embedded_offset to val_print_array_elements instead of adjusting | |
7123 | `valaddr'. | |
7124 | * p-lang.h (pascal_object_print_value_fields): Adjust prototype. | |
7125 | * p-valprint.c (pascal_val_print): Pass embedded_offset to | |
7126 | val_print_array_elements and pascal_object_print_value_fields | |
7127 | instead of adjusting `valaddr'. | |
7128 | (pascal_object_print_value_fields): Add `offset' parameter, and | |
7129 | adjust to use it. | |
7130 | (pascal_object_print_value): Add `offset' parameter, and adjust to | |
7131 | use it. | |
7132 | (pascal_object_print_static_field): Use | |
7133 | value_contents_for_printing/value_embedded_offset, rather than | |
7134 | value_contents. | |
7135 | * ada-valprint.c (val_print_packed_array_elements): Add `offset' | |
7136 | parameter, and adjust to use it. Use | |
7137 | value_contents_for_printing/value_embedded_offset, rather than | |
7138 | value_contents. | |
7139 | (ada_val_print): Rename `valaddr0' parameter to `valaddr'. | |
7140 | (ada_val_print_array): Add `offset' parameter, and adjust to use | |
7141 | it. | |
7142 | (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and | |
7143 | `embedded_offset' to `offset'. Don't re-adjust `valaddr'. | |
7144 | Instead work with offsets. Use | |
7145 | value_contents_for_printing/value_embedded_offset, rather than | |
7146 | value_contents. Change `defer_val_int' local type to CORE_ADDR, | |
7147 | and use value_from_pointer to extract a target pointer, rather | |
7148 | than value_from_longest. | |
7149 | (print_variant_part): Add `offset' parameter. Replace | |
7150 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
7151 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
7152 | (ada_value_print): Use | |
7153 | value_contents_for_printing/value_embedded_offset, rather than | |
7154 | value_contents. | |
7155 | (print_record): Add `offset' parameter, and adjust to pass it | |
7156 | down. | |
7157 | (print_field_values): Add `offset' parameter. Replace | |
7158 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
7159 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
7160 | Use value_contents_for_printing/value_embedded_offset, rather than | |
7161 | value_contents. | |
7162 | * d-valprint.c (dynamic_array_type): Use | |
7163 | value_contents_for_printing/value_embedded_offset, rather than | |
7164 | value_contents. | |
7165 | * jv-valprint.c (java_print_value_fields): Add `offset' parameter. | |
7166 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
7167 | (java_print_value_fields): Take `offset' into account. Don't | |
7168 | re-adjust `valaddr'. Instead pass down adjusted offsets. | |
7169 | (java_val_print): Take `embedded_offset' into account. Pass it to | |
7170 | java_print_value_fields. | |
7171 | * f-valprint.c (f77_print_array_1): Add `embedded_offset' | |
7172 | parameter. Don't re-adjust `valaddr' or `address'. Instead pass | |
7173 | down adjusted offsets. | |
7174 | (f77_print_array): Add `embedded_offset' parameter. Pass it down. | |
7175 | (f_val_print): Take `embedded_offset' into account. | |
7176 | ||
7bfc9434 JB |
7177 | 2011-01-21 Joel Brobecker <brobecker@adacore.com> |
7178 | ||
7179 | * inflow.c: Include "gdbcmd.h". | |
7180 | (interactive_mode): New static global, moved here from top.c. | |
7181 | (show_interactive_mode): New function, moved here from top.c. | |
7182 | use gdb_has_a_terminal instead of input_from_terminal_p to | |
7183 | determine the current mode. | |
7184 | (gdb_has_a_terminal): Add handling of the "iteractive-mode" | |
7185 | setting. | |
7186 | (_initialize_inflow): Add the "set/show interactive-mode" | |
7187 | commands. Moved here from top.c, after having adjusted slightly | |
7188 | the help text. | |
7189 | * top.c (interactive_mode, show_interactive_mode): Delete, moved | |
7190 | to inflow.c. | |
7191 | (input_from_terminal_p): Remove handling of "interactive-mode" | |
7192 | setting, moved to infow.c. | |
7193 | (init_main): Remove creation of the "set/show interactive-mode" | |
7194 | commands, moved to inflow.c. | |
7195 | ||
44603653 JB |
7196 | 2011-01-19 Joel Brobecker <brobecker@adacore.com> |
7197 | ||
7198 | * NEWS: Add entry for native ia64-hpux support. | |
7199 | ||
4694da01 TT |
7200 | 2011-01-19 Tom Tromey <tromey@redhat.com> |
7201 | ||
7202 | PR mi/8618: | |
7203 | * thread.c (free_thread): Free 'name'. | |
7204 | (print_thread_info): Emit thread name. Change CLI output. | |
7205 | (thread_name_command): New function. | |
7206 | (do_captured_thread_select): Emit newline. | |
7207 | (_initialize_thread): Register 'thread name' command. | |
7208 | * target.h (struct target_ops) <to_thread_name>: New field. | |
7209 | (target_thread_name): New macro. | |
7210 | * target.c (update_current_target): Handle to_thread_name. | |
7211 | * python/py-infthread.c (thpy_get_name): New function. | |
7212 | (thpy_set_name): Likewise. | |
7213 | (thread_object_getset): Add "name". | |
7214 | * linux-nat.c (linux_nat_thread_name): New function. | |
7215 | (linux_nat_add_target): Set to_thread_name. | |
7216 | * gdbthread.h (struct thread_info) <name>: New field. | |
7217 | ||
10d44370 JB |
7218 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
7219 | ||
7220 | * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast. | |
7221 | (ada_val_print_1): Likewise. | |
7222 | ||
e3acb115 JB |
7223 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
7224 | ||
7225 | * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue | |
7226 | upper limit address is not greater than the function end address | |
7227 | when the upper limit could not be computed using the debugging | |
7228 | info. | |
7229 | ||
dc92e161 TT |
7230 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
7231 | ||
7232 | * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use | |
7233 | get_regcomp_error. | |
7234 | * utils.c: Include gdb_regex.h. | |
7235 | (do_regfree_cleanup): New function. | |
7236 | (make_regfree_cleanup): Likewise. | |
7237 | (get_regcomp_error): Likewise. | |
7238 | * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare. | |
7239 | ||
f55af66d TT |
7240 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
7241 | ||
7242 | * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call | |
7243 | re_compile_fastmap. | |
7244 | ||
a5a44b53 PM |
7245 | 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr> |
7246 | ||
7247 | * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE | |
7248 | for internal variables. | |
7249 | (last_was_structop): New static variable. | |
7250 | (COMPLETE): New token. | |
7251 | (field_exp): New rule to group all '.' suffix handling. | |
7252 | Add mark_struct_expression calls when approriate to be able | |
7253 | to correctly find fields for completion. | |
7254 | (yylex): Adapt to handle field completion and set INTVAR when | |
7255 | required. | |
7256 | ||
2c291032 YQ |
7257 | 2011-01-14 Yao Qi <yao@codesourcery.com> |
7258 | ||
7259 | * arm-tdep.c (arm_register_reggroup_p): FPS register is in | |
7260 | save_reggroup, restore_reggroup and all_reggroup. | |
7261 | ||
447b483c JB |
7262 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
7263 | ||
7264 | * ada-valprint. (ada_printchar): Use the correct type length | |
7265 | in call to ada_emit_char. | |
7266 | * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR. | |
7267 | ||
7b64a93b PM |
7268 | 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr> |
7269 | ||
7270 | * solib-som.h (hpux_major_release): Declare variable here. | |
7271 | * solib-som.c: Remove <sys/utsname.h> header. | |
7272 | (DEFAULT_HPUX_MAJOR_RELEASE): New macro. | |
7273 | (hpux_major_release): Make global, change default value to | |
7274 | DEFAULT_HPUX_MAJOR_RELEASE. | |
f2eb0bc8 | 7275 | (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE. |
7b64a93b PM |
7276 | * hppa-hpux-nat.c: Add <sys/utsname.h> include. |
7277 | Add "solib-som.h" header. | |
7278 | (set_hpux_major_release): New function. | |
7279 | (_initialize_hppa_hpux_nat): Call set_hpux_major_release. | |
7280 | ||
4e18c053 MF |
7281 | 2011-01-14 Mike Frysinger <vapier@gentoo.org> |
7282 | ||
7283 | * configure.tgt (*-*-uclinux*): Match more Linux os targets | |
7284 | ||
a9df6b22 JB |
7285 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
7286 | ||
7287 | * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing | |
7288 | new-line at end of warning message. | |
7289 | (ia64_hpux_store_register): Remove trailing new-line at end of | |
7290 | error message. | |
7291 | * ia64-hpux-tdep.c: Rephrase comment. | |
7292 | * solib-ia64-hpux.c (struct dld_info): Change type of field | |
7293 | dld_flags from "long long" to ULONGEST. | |
7294 | ||
ecb956dd PA |
7295 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
7296 | ||
7297 | * target.h (deprecated_child_ops): Delete declaration. | |
7298 | * target.c (deprecated_child_ops): Delete definition. | |
7299 | ||
76adfcae PA |
7300 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
7301 | ||
7302 | * Makefile.in (hpux-thread.o): Delete rule. | |
7303 | * configure.ac: Don't check for HPUX DCE threads support. | |
7304 | * configure, config.in: Regenerate. | |
7305 | * hppa-hpux-nat.c (child_suppress_run): Delete. | |
7306 | (hppa_hpux_child_can_run): Delete. | |
7307 | (_initialize_hppa_hpux_nat): Don't override to_can_run. | |
7308 | * hpux-thread.c: Delete. | |
7309 | ||
042e866e JB |
7310 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7311 | ||
7312 | * hpux-thread.c (hpux_pid_to_str): Delete. | |
7313 | ||
4ffa5a33 JB |
7314 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7315 | ||
7316 | * ada-valprint.c (ada_emit_char): Remove strange code. | |
7317 | Check that c is <= UCHAR_MAX before passing it to isascii. | |
7318 | (char_at): Do not assume that TYPE_LEN is either 1 or 2. | |
7319 | ||
de8fa76c JB |
7320 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7321 | ||
7322 | * top.c (input_from_terminal_p): Restrict the use of interactive_mode | |
7323 | to the case where instream is stdin. | |
7324 | ||
c4de7027 JB |
7325 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7326 | ||
7327 | * ia64-tdep.h (struct regcache): Forward declare. | |
7328 | (struct ia64_infcall_ops): New struct type. | |
7329 | (struct gdbarch_tdep): New fields "find_global_pointer_from_solib" | |
7330 | and "infcall_ops". | |
7331 | * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section): | |
7332 | Renames ia64_find_global_pointer. | |
7333 | (ia64_find_global_pointer, ia64_allocate_new_rse_frame) | |
7334 | (ia64_store_argument_in_slot, ia64_set_function_addr: New function. | |
7335 | (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops | |
7336 | methods. | |
7337 | (ia64_infcall_ops): New static global constant. | |
7338 | (ia64_gdbarch_init): Set tdep->infcall_ops. | |
7339 | * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function. | |
7340 | (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing. | |
7341 | * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h". | |
7342 | (ia64_hpux_dummy_code): New static global constant. | |
7343 | (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame) | |
7344 | (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr) | |
7345 | (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib): | |
7346 | New function. | |
7347 | (ia64_hpux_infcall_ops): New static global constant. | |
7348 | (ia64_hpux_init_abi): Install gdbarch and tdep methods needed | |
7349 | for inferior function calls to work properly on ia64-hpux. | |
7350 | ||
77ca787b JB |
7351 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7352 | ||
7353 | * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS. | |
7354 | * ia64-tdep.h (struct frame_info): forward declaration. | |
7355 | (struct gdbarch_tdep): Add field size_of_register_frame. | |
7356 | * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame | |
7357 | to determine the size of the register frame. | |
7358 | (ia64_size_of_register_frame): New function. | |
7359 | (ia64_gdbarch_init): Set tdep->size_of_register_frame. | |
7360 | * ia64-hpux-tdep.c: Include "target.h" and "frame.h". | |
7361 | (IA64_HPUX_UREG_REASON): New macro. | |
7362 | (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame): | |
7363 | New functions. | |
7364 | (ia64_hpux_init_abi): Set tdep->size_of_register_frame. | |
7365 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function. | |
7366 | (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS | |
7367 | objects. | |
7368 | ||
92c9a463 JB |
7369 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7370 | ||
7371 | Add support for ia64-hpux. | |
7372 | * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c, | |
7373 | ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files. | |
7374 | ||
7375 | * configure.host: Add handling for ia64-hpux hosts. Add associated | |
7376 | floatformats. | |
7377 | * configure.tgt: Add handling for ia64-hpux targets. | |
7378 | * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o. | |
7379 | (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h. | |
7380 | (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c. | |
7381 | ||
f688d93f JB |
7382 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7383 | ||
7384 | [ttrace] Compute thread list immediately after attach. | |
7385 | * inf_ttrace_attach (inf_ttrace_create_threads_after_attach): | |
7386 | New subprogram. | |
7387 | (inf_ttrace_attach): Use it. | |
7388 | ||
1b89e62f JB |
7389 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7390 | ||
7391 | * libunwind-frame.c (libunwind_frame_cache): Do not return NULL | |
7392 | if we could not determine the frame's function address. Instead, | |
7393 | use the frame's PC, and then continue. | |
7394 | ||
3e5e6e2a JB |
7395 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7396 | ||
7397 | * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if | |
7398 | not already defined. | |
7399 | ||
825d6d8a JB |
7400 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7401 | ||
7402 | * ia64-tdep.c (ia64_struct_type_p): New function. | |
7403 | (ia64_extract_return_value): Handle integral values that are | |
7404 | less than 8 bytes long. | |
7405 | (ia64_push_dummy_call): Likewise. | |
7406 | ||
7458e667 JB |
7407 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
7408 | ||
7409 | * ia64-tdep.c (floatformat_ia64_ext_little): Renames | |
7410 | floatformat_ia64_ext. | |
7411 | (floatformat_ia64_ext_big): New static const. | |
7412 | (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big. | |
7413 | ||
1b05df00 TT |
7414 | 2011-01-12 Tom Tromey <tromey@redhat.com> |
7415 | ||
7416 | * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error | |
7417 | messages. | |
7418 | * mi/mi-main.c (mi_cmd_thread_select): Fix error messages. | |
7419 | (mi_cmd_thread_list_ids): Likewise. | |
7420 | (mi_cmd_data_list_changed_registers): Likewise. | |
7421 | (mi_cmd_data_list_register_values): Likewise. | |
7422 | (mi_cmd_data_write_register_values): Likewise. | |
7423 | (mi_cmd_data_evaluate_expression): Likewise. | |
7424 | (mi_cmd_data_read_memory): Likewise. | |
7425 | (mi_cmd_data_read_memory_bytes): Likewise. | |
7426 | (mi_cmd_data_write_memory): Likewise. | |
7427 | (mi_cmd_enable_timings): Likewise. | |
7428 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages. | |
7429 | * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages. | |
7430 | (mi_cmd_var_delete): Likewise. | |
7431 | (mi_cmd_var_set_format): Likewise. | |
7432 | (mi_cmd_var_show_format): Likewise. | |
7433 | (mi_cmd_var_info_num_children): Likewise. | |
7434 | (mi_cmd_var_list_children): Likewise. | |
7435 | (mi_cmd_var_info_type): Likewise. | |
7436 | (mi_cmd_var_info_expression): Likewise. | |
7437 | (mi_cmd_var_show_attributes): Likewise. | |
7438 | (mi_cmd_var_assign): Likewise. | |
7439 | (mi_cmd_var_update): Likewise. | |
7440 | (mi_cmd_enable_pretty_printing): Likewise. | |
7441 | (mi_cmd_var_set_update_range): Likewise. | |
7442 | * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error | |
7443 | messages. | |
7444 | (mi_cmd_target_file_put): Likewise. | |
7445 | (mi_cmd_target_file_delete): Likewise. | |
7446 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error | |
7447 | messages. | |
7448 | (mi_cmd_stack_info_depth): Likewise. | |
7449 | (mi_cmd_stack_list_locals): Likewise. | |
7450 | (mi_cmd_stack_list_args): Likewise. | |
7451 | (mi_cmd_stack_select_frame): Likewise. | |
7452 | (mi_cmd_stack_select_frame): Likewise. | |
7453 | (mi_cmd_stack_info_frame): Likewise. | |
7454 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error | |
7455 | messages. | |
7456 | (mi_cmd_file_list_exec_source_files): Likewise. | |
7457 | * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages. | |
7458 | (mi_cmd_env_cd): Likewise. | |
7459 | (mi_cmd_env_path): Likewise. | |
7460 | (mi_cmd_env_dir): Likewise. | |
7461 | (mi_cmd_inferior_tty_show): Likewise. | |
7462 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages. | |
7463 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages. | |
7464 | (mi_cmd_break_watch): Likewise. | |
7465 | ||
ad422571 TJB |
7466 | 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com> |
7467 | ||
7468 | * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace. | |
7469 | (ppc_linux_insert_hw_breakpoint): Likewise. | |
7470 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
7471 | (ppc_linux_insert_watchpoint): Likewise. | |
7472 | ||
c2ff108b JK |
7473 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
7474 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
7475 | ||
7476 | PR fortran/11104 and DWARF unbound arrays detection. | |
7477 | * dwarf2read.c (read_subrange_type): Set zero length on unspecified | |
7478 | upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on | |
7479 | unspecified upper bound. | |
7480 | * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove | |
7481 | variables array_size_array, tmp_type and offset_item. New variable | |
7482 | array. Remove call to f77_get_upperbound. New variables array_type | |
7483 | and index. Call value_subscripted_rvalue for each dimenasion. Remove | |
7484 | the final call to deprecated_set_value_type. | |
7485 | ||
41e8491f JK |
7486 | 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
7487 | ||
7488 | Make value allocations more lazy. | |
7489 | * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy | |
7490 | instead of allocate_value and set_value_lazy when possible. | |
f2eb0bc8 | 7491 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy |
41e8491f JK |
7492 | instead of allocate_value and set_value_lazy. |
7493 | * findvar.c (value_of_register_lazy): Likewise. | |
7494 | (read_var_value): Remove V preallocation, call just check_typedef in | |
f2eb0bc8 | 7495 | advance. Move allocate_value to LOC_CONST, LOC_LABEL, |
41e8491f JK |
7496 | LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG, |
7497 | LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of | |
7498 | set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and | |
7499 | remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy | |
7500 | in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at | |
7501 | the end, remove set_value_lazy there. | |
7502 | * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy | |
7503 | instead of allocate_value and set_value_lazy when possible. | |
7504 | * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL. | |
7505 | * value.c (allocate_computed_value): Use allocate_value_lazy instead | |
7506 | of allocate_value and set_value_lazy. | |
7507 | (value_from_contents_and_address): Use allocate_value_lazy instead of | |
7508 | allocate_value and set_value_lazy when possible. | |
7509 | ||
b716877b AB |
7510 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
7511 | ||
7512 | * disasm.c (dump_insns): Support dumping opcodes for MI. | |
7513 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control | |
7514 | dumping of instruction opcodes. | |
7515 | ||
d5ae309f JB |
7516 | 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch) |
7517 | ||
7518 | * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' | |
7519 | appropiately. | |
7520 | ||
98871305 TT |
7521 | 2011-01-11 Tom Tromey <tromey@redhat.com> |
7522 | ||
7523 | * thread.c (do_captured_thread_select): Emit newline before | |
7524 | printing frame. | |
7525 | ||
c378eb4e MS |
7526 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
7527 | ||
7528 | * s390-tdep.c: Comment cleanup, mostly periods and spaces. | |
7529 | * score-tdep.c: Ditto. | |
7530 | * score-tdep.h: Ditto. | |
7531 | * ser-base.c: Ditto. | |
7532 | * ser-go32.c: Ditto. | |
7533 | * serial.c: Ditto. | |
7534 | * serial.h: Ditto. | |
7535 | * ser-mingw.c: Ditto. | |
7536 | * ser-pipe.c: Ditto. | |
7537 | * ser-tcp.c: Ditto. | |
7538 | * ser-unix.c: Ditto. | |
7539 | * sh64-tdep.c: Ditto. | |
7540 | * shnbsd-nat.c: Ditto. | |
7541 | * sh-tdep.c: Ditto. | |
7542 | * sh-tdep.h: Ditto. | |
7543 | * solib.c: Ditto. | |
7544 | * solib-darwin.c: Ditto. | |
7545 | * solib-frv.c: Ditto. | |
7546 | * solib.h: Ditto. | |
7547 | * solib-irix.c: Ditto. | |
7548 | * solib-osf.c: Ditto. | |
7549 | * solib-pa64.c: Ditto. | |
7550 | * solib-som.c: Ditto. | |
7551 | * solib-spu.c: Ditto. | |
7552 | * solib-sunos.c: Ditto. | |
7553 | * solib-svr4.c: Ditto. | |
7554 | * solist.h: Ditto. | |
7555 | * sol-thread.c: Ditto. | |
7556 | * somread.c: Ditto. | |
7557 | * source.c: Ditto. | |
7558 | * source.h: Ditto. | |
7559 | * sparc64-linux-tdep.c: Ditto. | |
7560 | * sparc64-tdep.c: Ditto. | |
7561 | * sparc-linux-nat.c: Ditto. | |
7562 | * sparc-linux-tdep.c: Ditto. | |
7563 | * sparc-sol2-nat.c: Ditto. | |
7564 | * sparc-sol2-tdep.c: Ditto. | |
7565 | * sparc-tdep.c: Ditto. | |
7566 | * sparc-tdep.h: Ditto. | |
7567 | * spu-tdep.c: Ditto. | |
7568 | * stabsread.c: Ditto. | |
7569 | * stabsread.h: Ditto. | |
7570 | * stack.c: Ditto. | |
7571 | * symfile.c: Ditto. | |
7572 | * symfile.h: Ditto. | |
7573 | * symmisc.c: Ditto. | |
7574 | * symtab.c: Ditto. | |
7575 | * symtab.h: Ditto. | |
7576 | * target.c: Ditto. | |
7577 | * target-descriptions.c: Ditto. | |
7578 | * target-descriptions.h: Ditto. | |
7579 | * target.h: Ditto. | |
7580 | * target-memory.c: Ditto. | |
7581 | * terminal.h: Ditto. | |
7582 | * thread.c: Ditto. | |
7583 | * top.c: Ditto. | |
7584 | * tracepoint.c: Ditto. | |
7585 | * tracepoint.h: Ditto. | |
7586 | * trad-frame.h: Ditto. | |
7587 | * typeprint.c: Ditto. | |
7588 | ||
581e13c1 MS |
7589 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
7590 | ||
7591 | * ui-file.c: Comment cleanup, mostly periods and spaces. | |
7592 | * ui-file.h: Ditto. | |
7593 | * ui-out.c: Ditto. | |
7594 | * ui-out.h: Ditto. | |
7595 | * utils.c: Ditto. | |
7596 | * v850-tdep.c: Ditto. | |
7597 | * valarith.c: Ditto. | |
7598 | * valops.c: Ditto. | |
7599 | * valprint.c: Ditto. | |
7600 | * valprint.h: Ditto. | |
7601 | * value.c: Ditto. | |
7602 | * value.h: Ditto. | |
7603 | * varobj.c: Ditto. | |
7604 | * varobj.h: Ditto. | |
7605 | * vax-tdep.c: Ditto. | |
7606 | * vec.c: Ditto. | |
7607 | * vec.h: Ditto. | |
7608 | * version.h: Ditto. | |
7609 | * windows-nat.c: Ditto. | |
7610 | * windows-tdep.c: Ditto. | |
7611 | * xcoffread.c: Ditto. | |
7612 | * xcoffsolib.c: Ditto. | |
7613 | * xml-support.c: Ditto. | |
7614 | * xstormy16-tdep.c: Ditto. | |
7615 | * xtensa-tdep.c: Ditto. | |
7616 | * xtensa-tdep.h: Ditto. | |
7617 | ||
90e4670f TJB |
7618 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
7619 | ||
7620 | * breakpoint.c (resources_needed_watchpoint): Fix indentation. | |
7621 | * gdbtypes.c (is_scalar_type_recursive): Fix formatting. | |
7622 | ||
e09342b5 TJB |
7623 | 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> |
7624 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
7625 | ||
7626 | Implement support for PowerPC BookE ranged watchpoints. | |
f2eb0bc8 | 7627 | * breakpoint.h |
e09342b5 TJB |
7628 | (struct breakpoint_ops) <resources_needed>: New method. |
7629 | Initialize to NULL in all existing breakpoint_ops instances. | |
7630 | (struct breakpoint) <exact>: New field. | |
7631 | (target_exact_watchpoints): Declare external global. | |
7632 | * breakpoint.c (target_exact_watchpoints): New global flag. | |
7633 | (update_watchpoint): Set b->type to bp_hardware_watchpoint and | |
7634 | b->enable_state to bp_enabled before calling | |
7635 | hw_watchpoint_used_count. | |
7636 | (hw_watchpoint_used_count): Iterate over all bp_locations in a | |
7637 | watchpoint. Call breakpoint's breakpoint_ops.resources_needed | |
7638 | if available. | |
7639 | (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte | |
7640 | if the watchpoint is exact. | |
7641 | (resources_needed_watchpoint): New function. | |
7642 | (watchpoint_breakpoint_ops): Add resources_needed_watchpoint. | |
7643 | (watch_command_1): Set b->exact if the user asked for an exact | |
7644 | watchpoint and one can be set. | |
7645 | (can_use_hardware_watchpoint): Add exact_watchpoints argument. | |
7646 | Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if | |
7647 | the user asks for an exact watchpoint and one can be set. Return | |
7648 | number of needed debug registers to watch the expression. | |
7649 | * gdbtypes.c (is_scalar_type): New function, based on | |
7650 | valprint.c:scalar_type_p. | |
7651 | (is_scalar_type_recursive): New function. | |
7652 | * gdbtypes.h (is_scalar_type_recursive): Declare. | |
7653 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always | |
7654 | handle regions when ranged watchpoints are available. | |
7655 | (create_watchpoint_request): New function. | |
7656 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
7657 | create_watchpoint_request. | |
7658 | * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function. | |
7659 | (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the | |
7660 | `set powerpc' and `show powerpc' commands. | |
7661 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
7662 | Mention documentation comment in the target macro. | |
7663 | (target_region_ok_for_hw_watchpoint): Document return value. | |
7664 | ||
9fa40276 TJB |
7665 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
7666 | ||
7667 | * breakpoint.c (update_watchpoint): Decide on using a software or | |
7668 | hardware watchpoint after the bp_locations are created. | |
7669 | ||
77b06cd7 TJB |
7670 | 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
7671 | ||
7672 | Convert hardware watchpoints to use breakpoint_ops. | |
7673 | * breakpoint.h (breakpoint_ops) <insert>: Rename to... | |
7674 | <insert_location>: ... this. Return int instead of void. | |
7675 | Accept pointer to struct bp_location instead of pointer to | |
7676 | struct breakpoint. Adapt all implementations. | |
f2eb0bc8 | 7677 | (breakpoint_ops) <remove>: Rename to... |
77b06cd7 TJB |
7678 | <remove_location>: ... this. Accept pointer to struct bp_location |
7679 | instead of pointer to struct breakpoint. Adapt all implementations. | |
7680 | * breakpoint.c (insert_catchpoint): Delete function. | |
7681 | (insert_bp_location): Call the watchpoint or catchpoint's | |
7682 | breakpoint_ops.insert method. | |
7683 | (remove_breakpoint_1): Call the watchpoint or catchpoint's | |
7684 | breakpoint_ops.remove method. | |
7685 | (insert_watchpoint, remove_watchpoint): New functions. | |
7686 | (watchpoint_breakpoint_ops): New structure. | |
7687 | (watch_command_1): Initialize the OPS field. | |
7688 | * inf-child.c (inf_child_insert_fork_catchpoint) | |
7689 | (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint) | |
7690 | (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint) | |
7691 | (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint): | |
7692 | Delete functions. | |
7693 | (inf_child_target): Remove initialization of to_insert_fork_catchpoint, | |
7694 | to_remove_fork_catchpoint, to_insert_vfork_catchpoint, | |
7695 | to_remove_vfork_catchpoint, to_insert_exec_catchpoint, | |
7696 | to_remove_exec_catchpoint and to_set_syscall_catchpoint. | |
7697 | * target.c (update_current_target): Change default implementation of | |
7698 | to_insert_fork_catchpoint, to_remove_fork_catchpoint, | |
7699 | to_insert_vfork_catchpoint, to_remove_vfork_catchpoint, | |
7700 | to_insert_exec_catchpoint, to_remove_exec_catchpoint and | |
7701 | to_set_syscall_catchpoint to return_one. | |
7702 | (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint) | |
7703 | (debug_to_insert_exec_catchpoint): Report return value. | |
7704 | * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint) | |
7705 | (to_insert_exec_catchpoint): Change declaration to return int instead | |
7706 | of void. | |
7707 | ||
9b20d036 MS |
7708 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
7709 | ||
7710 | * arm-tdep.c: Internationalization. | |
7711 | * c-lang.c: Ditto. | |
7712 | * charset.c: Ditto. | |
7713 | * fork-child.c: Ditto. | |
7714 | * nto-procfs.c: Ditto. | |
7715 | * ppc-sysv-tdep.c: Ditto. | |
7716 | * procfs.c: Ditto. | |
7717 | * remote-mips.c: Ditto. | |
7718 | * remote.c: Ditto. | |
7719 | * rs6000-nat.c: Ditto. | |
7720 | * rs6000-tdep.c: Ditto. | |
7721 | * target.c: Ditto. | |
7722 | * valops.c: Ditto. | |
7723 | * value.c: Ditto. | |
7724 | * xml-support.c: Ditto. | |
7725 | * mi/mi-cmd-break.c: Ditto. | |
7726 | * mi/mi-cmd-var.c: Ditto. | |
7727 | * mi/mi-interp.c: Ditto. | |
7728 | * mi/mi-main.c: Ditto. | |
7729 | ||
dae477fe AB |
7730 | 2011-01-11 Andrew Burgess <aburgess@broadcom.com> |
7731 | ||
7732 | * remote-sim.c (gdbsim_store_register): Update API to | |
7733 | sim_store_register to check more error conditions. | |
7734 | ||
0df8b418 MS |
7735 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
7736 | ||
7737 | * nto-procfs.c: Comment cleanup, mostly periods and spaces. | |
7738 | * nto-tdep.c: Ditto. | |
7739 | * nto-tdep.h: Ditto. | |
7740 | * objc-exp.y: Ditto. | |
7741 | * objc-lang.c: Ditto. | |
7742 | * objfiles.c: Ditto. | |
7743 | * objfiles.h: Ditto. | |
7744 | * observer.c: Ditto. | |
7745 | * opencl-lang.c: Ditto. | |
7746 | * osabi.c: Ditto. | |
7747 | * parse.c: Ditto. | |
7748 | * parser-defs.h: Ditto. | |
7749 | * p-exp.y: Ditto. | |
7750 | * p-lang.c: Ditto. | |
7751 | * posix-hdep.c: Ditto. | |
7752 | * ppcbug-rom.c: Ditto. | |
7753 | * ppc-linux-nat.c: Ditto. | |
7754 | * ppc-linux-tdep.c: Ditto. | |
7755 | * ppc-linux-tdep.h: Ditto. | |
7756 | * ppcnbsd-tdep.c: Ditto. | |
7757 | * ppcobsd-tdep.c: Ditto. | |
7758 | * ppcobsd-tdep.h: Ditto. | |
7759 | * ppc-sysv-tdep.c: Ditto. | |
7760 | * ppc-tdep.h: Ditto. | |
7761 | * printcmd.c: Ditto. | |
7762 | * proc-abi.c: Ditto. | |
7763 | * proc-flags.c: Ditto. | |
7764 | * procfs.c: Ditto. | |
7765 | * proc-utils.h: Ditto. | |
7766 | * progspace.h: Ditto. | |
7767 | * prologue-value.c: Ditto. | |
7768 | * prologue-value.h: Ditto. | |
7769 | * psympriv.h: Ditto. | |
7770 | * psymtab.c: Ditto. | |
7771 | * p-typeprint.c: Ditto. | |
7772 | * p-valprint.c: Ditto. | |
7773 | * ravenscar-sparc-thread.c: Ditto. | |
7774 | * ravenscar-thread.c: Ditto. | |
7775 | * ravenscar-thread.h: Ditto. | |
7776 | * record.c: Ditto. | |
7777 | * regcache.c: Ditto. | |
7778 | * regcache.h: Ditto. | |
7779 | * remote.c: Ditto. | |
7780 | * remote-fileio.c: Ditto. | |
7781 | * remote-fileio.h: Ditto. | |
7782 | * remote.h: Ditto. | |
7783 | * remote-m32r-sdi.c: Ditto. | |
7784 | * remote-mips.c: Ditto. | |
7785 | * remote-sim.c: Ditto. | |
7786 | * rs6000-aix-tdep.c: Ditto. | |
7787 | * rs6000-nat.c: Ditto. | |
7788 | * rs6000-tdep.c: Ditto. | |
7789 | ||
0d7a18f7 MS |
7790 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
7791 | ||
7792 | * charset.c (validate): Internationalization. | |
7793 | * coffread.c (read_one_sym): Ditto. | |
7794 | * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto. | |
7795 | * h8300-tdep.c (H8300_extract_return_value): Ditto. | |
7796 | * inflow.c (new_tty): Ditto. | |
7797 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto. | |
7798 | * m32c-tdep.c (m32c_return_value): Ditto. | |
7799 | * mep-tdep.c (mep_store_return_value): Ditto. | |
7800 | * score-tdep.c (score7_fetch_insn): Ditto. | |
7801 | * ser-mingw.c (pipe_windows_open): Ditto. | |
7802 | * sh64-tdep.c (sh64_extract_return_value): Ditto. | |
7803 | * spu-tdep.c (spu_register_type): Ditto. | |
7804 | * tracepoint.c (trace_find_command): Ditto. | |
7805 | * valarith.c (value_pos): Ditto. | |
7806 | ||
9a153e0b JB |
7807 | 2011-01-10 Joel Brobecker <brobecker@adacore.com> |
7808 | ||
7809 | * ada-valprint.c (printstr): Minor comment reformatting. | |
7810 | ||
35ecd2d6 MS |
7811 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
7812 | ||
7813 | * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _ | |
7814 | markup. | |
7815 | ||
1777feb0 MS |
7816 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
7817 | ||
7818 | * h8300-tdep.c: Comment cleanup, mostly periods and spaces. | |
7819 | * hppa-hpux-tdep.c: Ditto. | |
7820 | * hppa-linux-nat.c: Ditto. | |
7821 | * hppa-linux-tdep.c: Ditto. | |
7822 | * hppanbsd-tdep.c: Ditto. | |
7823 | * hppa-tdep.c: Ditto. | |
7824 | * hppa-tdep.h: Ditto. | |
7825 | * hpux-thread.c: Ditto. | |
7826 | * i386-cygwin-tdep.c: Ditto. | |
7827 | * i386-darwin-nat.c: Ditto. | |
7828 | * i386gnu-nat.c: Ditto. | |
7829 | * i386-linux-nat.c: Ditto. | |
7830 | * i386-linux-tdep.c: Ditto. | |
7831 | * i386-nat.c: Ditto. | |
7832 | * i386-nat.h: Ditto. | |
7833 | * i386nbsd-tdep.c: Ditto. | |
7834 | * i386-sol2-nat.c: Ditto. | |
7835 | * i386-stub.c: Ditto. | |
7836 | * i386-tdep.c: Ditto. | |
7837 | * i386-tdep.h: Ditto. | |
7838 | * i387-tdep.c: Ditto. | |
7839 | * ia64-linux-nat.c: Ditto. | |
7840 | * ia64-linux-tdep.c: Ditto. | |
7841 | * ia64-tdep.c: Ditto. | |
7842 | * infcall.c: Ditto. | |
7843 | * infcall.h: Ditto. | |
7844 | * infcmd.c: Ditto. | |
7845 | * inferior.c: Ditto. | |
7846 | * inferior.h: Ditto. | |
7847 | * infloop.c: Ditto. | |
7848 | * inflow.c: Ditto. | |
7849 | * infrun.c: Ditto. | |
7850 | * interps.c: Ditto. | |
7851 | * interps.h: Ditto. | |
7852 | * iq2000-tdep.c: Ditto. | |
7853 | * irix5-nat.c: Ditto. | |
7854 | * jit.c: Ditto. | |
7855 | * jit.h: Ditto. | |
7856 | * jv-exp.y: Ditto. | |
7857 | * jv-lang.c: Ditto. | |
7858 | * jv-lang.h: Ditto. | |
7859 | * jv-typeprint.c: Ditto. | |
7860 | * jv-valprint.c: Ditto. | |
7861 | * language.c: Ditto. | |
7862 | * language.h: Ditto. | |
7863 | * linespec.c: Ditto. | |
7864 | * linux-fork.c: Ditto. | |
7865 | * linux-nat.c: Ditto. | |
7866 | * linux-thread-db.c: Ditto. | |
7867 | * lm32-tdep.c: Ditto. | |
7868 | ||
025bb325 MS |
7869 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
7870 | ||
7871 | * m2-exp.y: Comment cleanup, mostly periods and spaces. | |
7872 | * m2-lang.c: Ditto. | |
7873 | * m2-typeprint.c: Ditto. | |
7874 | * m2-valprint.c: Ditto. | |
7875 | * m32c-tdep.c: Ditto. | |
7876 | * m32r-linux-nat.c: Ditto. | |
7877 | * m32r-rom.c: Ditto. | |
7878 | * m32r-tdep.c: Ditto. | |
7879 | * m32r-tdep.h: Ditto. | |
7880 | * m68hc11-tdep.c: Ditto. | |
7881 | * m58klinux-nat.c: Ditto. | |
7882 | * m68k-tdep.c: Ditto. | |
7883 | * m88k-tdep.c: Ditto. | |
7884 | * m88k-tdep.h: Ditto. | |
7885 | * machoread.c: Ditto. | |
7886 | * macrocmd.c: Ditto. | |
7887 | * macroexp.c: Ditto. | |
7888 | * macrotab.c: Ditto. | |
7889 | * main.c: Ditto. | |
7890 | * maint.c: Ditto. | |
7891 | * mdebugread.c: Ditto. | |
7892 | * mdebugread.h: Ditto. | |
7893 | * memattr.c: Ditto. | |
7894 | * memattr.h: Ditto. | |
7895 | * memory-map.h: Ditto. | |
7896 | * mep-tdep.c: Ditto. | |
7897 | * microblaze-rom.c: Ditto. | |
7898 | * microblaze-tdep.c: Ditto. | |
7899 | * minsyms.c: Ditto. | |
7900 | * mips-irix-tdep.c: Ditto. | |
7901 | * mips-linux-nat.c: Ditto. | |
7902 | * mips-linux-tdep.c: Ditto. | |
7903 | * mips-linux-tdep.h: Ditto. | |
7904 | * mipsnbsd-nat.c: Ditto. | |
7905 | * mipsnbsd-tdep.c: Ditto. | |
7906 | * mipsread.c: Ditto. | |
7907 | * mips-tdep.c: Ditto. | |
7908 | * mips-tdep.h: Ditto. | |
7909 | * mn10300-linux-tdep.c: Ditto. | |
7910 | * mn10300-tdep.c: Ditto. | |
7911 | * mn10300-tdep.h: Ditto. | |
7912 | * monitor.c: Ditto. | |
7913 | * monitor.h: Ditto. | |
7914 | * moxie-tdep.c: Ditto. | |
7915 | * moxie-tdep.h: Ditto. | |
7916 | * mt-tdep.c: Ditto. | |
7917 | ||
1642781b MF |
7918 | 2011-01-08 Mike Frysinger <vapier@gentoo.org> |
7919 | ||
7920 | * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name. | |
7921 | ||
394b0adb JB |
7922 | 2011-01-08 Robert Millan <rmh@gnu.org> |
7923 | ||
7924 | * fbsd-nat.c (fbsd_find_memory_regions): Fix typo. | |
7925 | ||
b670013c MS |
7926 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
7927 | ||
7928 | * charset.c (_initialize_charset): Fix typo in string. | |
7929 | ||
a743e542 MS |
7930 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
7931 | ||
7932 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message | |
7933 | for i18n. | |
f2eb0bc8 | 7934 | * tui/tui-layout.c (tui_set_layout_for_display_command): |
a743e542 MS |
7935 | Split line so that operator goes to beginning of line. |
7936 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Move | |
7937 | assignment out of if statement. | |
7938 | ||
0963b4bd MS |
7939 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
7940 | ||
7941 | * ada-lang.c: Comment cleanup, mostly periods and spaces. | |
7942 | * ada-lang.h: Ditto. | |
7943 | * ada-tasks.c: Ditto. | |
7944 | * ada-valprint.c: Ditto. | |
7945 | * aix-threads.c: Ditto. | |
7946 | * alpha-linux-nat.c: Ditto. | |
7947 | * alpha-linux-tdep.c: Ditto. | |
7948 | * alpha-mdebug-tdep.c: Ditto. | |
7949 | * alpha-nat.c: Ditto. | |
7950 | * alpha-osf1-tdep.c: Ditto. | |
7951 | * alpha-tdep.c: Ditto. | |
7952 | * alphabsd-nat.c: Ditto. | |
7953 | * alphabsd-tdep.c: Ditto. | |
7954 | * amd64-darwin-tdep.c: Ditto. | |
7955 | * amd64-linux-nat.c: Ditto. | |
7956 | * amd64-linux-tdep.c: Ditto. | |
7957 | * amd64-sol2-tdep.c: Ditto. | |
7958 | * amd64-tdep.c: Ditto. | |
7959 | * amd64-fbsd-tdep.c: Ditto. | |
7960 | * amd64-nbsd-tdep.c: Ditto. | |
7961 | * amd64-obsd-tdep.c: Ditto. | |
7962 | * amd64-linux-nat.c: Ditto. | |
7963 | * amd64-linux-tdep.c: Ditto. | |
7964 | * arm-tdep.c: Ditto. | |
7965 | * arm-tdep.h: Ditto. | |
7966 | * armnbsd-nat.c: Ditto. | |
7967 | * avr-tdep.c: Ditto. | |
7968 | * bfin-tdep.c: Ditto. | |
7969 | * bsd-kvm.c: Ditto. | |
7970 | * c-typeprintc: Ditto. | |
7971 | * c-valprint.c: Ditto. | |
7972 | * coff-pe-read.h: Ditto. | |
7973 | * coffreead.c: Ditto. | |
7974 | * cris-tdep.c: Ditto. | |
7975 | * d-lang.c: Ditto. | |
7976 | * darwin-nat-info.c: Ditto. | |
7977 | * darwin-nat.c: Ditto. | |
7978 | * dbug-rom.c: Ditto. | |
7979 | * dbxread.c: Ditto. | |
7980 | * dcache.c: Ditto. | |
7981 | * dcache.h: Ditto. | |
7982 | * dec-thread.c: Ditto. | |
7983 | * defs.h: Ditto. | |
7984 | * demangle.c: Ditto. | |
7985 | * dicos-tdep.c: Ditto. | |
7986 | * dictionary.c: Ditto. | |
7987 | * dictionary.h: Ditto. | |
7988 | * dink32-rom.c: Ditto. | |
7989 | * disasm.c: Ditto. | |
7990 | * doublest.c: Ditto. | |
7991 | * dsrec.c: Ditto. | |
7992 | * dummy-frame.c: Ditto. | |
7993 | * dwarf2-frame.c: Ditto. | |
7994 | * dwarf2expr.c: Ditto. | |
7995 | * dwarf2loc.c: Ditto. | |
7996 | * dwarf2read.c: Ditto. | |
7997 | * elfread.c: Ditto. | |
7998 | * environ.c: Ditto. | |
7999 | * eval.c: Ditto. | |
8000 | * event-top.h: Ditto. | |
8001 | * exceptions.c: Ditto. | |
8002 | * exceptions.h: Ditto. | |
8003 | * exec.c: Ditto. | |
8004 | * expprint.c: Ditto. | |
8005 | * expression.h: Ditto. | |
8006 | * f-exp.y: Ditto. | |
8007 | * f-lang.c: Ditto. | |
8008 | * f-lang.h: Ditto. | |
8009 | * f-typeprint.c: Ditto. | |
8010 | * f-valprint.c: Ditto. | |
8011 | * fbsd-nat.c: Ditto. | |
8012 | * findvar.c: Ditto. | |
8013 | * fork-child.c: Ditto. | |
8014 | * frame.c: Ditto. | |
8015 | * frame.h: Ditto. | |
8016 | * frv-linux-tdep.c: Ditto. | |
8017 | * frv-tdep.c: Ditto. | |
8018 | * gcore.c: Ditto. | |
8019 | * gdb-stabs.h: Ditto. | |
8020 | * gdb_assert.h: Ditto. | |
8021 | * gdb_string.h: Ditto. | |
8022 | * gdb_thread_db.h: Ditto. | |
8023 | * gdb_wait.h: Ditto. | |
8024 | * gdbarch.sh: Ditto. | |
8025 | * gdbcore.h: Ditto. | |
8026 | * gdbthread.h: Ditto. | |
8027 | * gdbtypes.c: Ditto. | |
8028 | * gdbtypes.h: Ditto. | |
8029 | * gnu-nat.c: Ditto. | |
8030 | * gnu-nat.h: Ditto. | |
8031 | * gnu-v2-abi.c: Ditto. | |
8032 | * gnu-v3-abi.c: Ditto. | |
8033 | * go32-nat.c: Ditto. | |
8034 | * gdbarch.c: Regenerate. | |
8035 | * gdbarch.h: Regenerate. | |
8036 | ||
ac74f770 MS |
8037 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
8038 | ||
8039 | * ax-gdb.c: Adjust some long output strings. | |
8040 | * breakpoint.c: Ditto. | |
8041 | * charset.c: Ditto. | |
8042 | * cp-abi.c: Ditto. | |
8043 | * infcall.c: Ditto. | |
8044 | * infrun.c: Ditto. | |
8045 | * linux-nat.c: Ditto. | |
8046 | * solib-pa64.c: Ditto. | |
8047 | * solib-som.c: Ditto. | |
8048 | ||
d8e22779 TT |
8049 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
8050 | ||
8051 | PR python/12367: | |
8052 | * NEWS: Add item. | |
8053 | * python/python.c (GdbMethods): Add "newest_frame" method. | |
8054 | * python/python-internal.h (gdbpy_newest_frame): Declare. | |
8055 | * python/py-frame.c (gdbpy_newest_frame): New function. | |
8056 | ||
a255712f PP |
8057 | 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com> |
8058 | ||
8059 | * jit.h (struct jit_code_entry): use ULONGEST for symfile_size. | |
8060 | * jit.c (jit_debug): New variable. | |
8061 | (show_jit_debug): New function. | |
8062 | (struct target_buffer): Use ULONGEST. | |
8063 | (bfd_open_from_target_memory): Likewise. | |
8064 | (jit_register_code, jit_inferior_init): Add debug output. | |
8065 | (_initialize_jit): Register "debug jit" command. | |
8066 | ||
ccfc3d6e TT |
8067 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
8068 | ||
8069 | * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment. | |
8070 | * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME | |
8071 | and ARCH_FRAME. | |
8072 | ||
57126e4a TT |
8073 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
8074 | ||
8075 | * python/py-frame.c (frapy_block): Use get_frame_block. | |
8076 | ||
16dfc9ce JB |
8077 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
8078 | ||
8079 | Do not stop on SIGPRIO signals by default | |
8080 | * infrun.c (_initialize_infrun): Unset signal_stop and | |
8081 | signal_print for TARGET_SIGNAL_PRIO. | |
8082 | ||
b1ce2347 JB |
8083 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
8084 | ||
8085 | * ada-tasks.c: Fix style violation in comment. | |
8086 | ||
8f7e195f JB |
8087 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
8088 | ||
8089 | * linespec.c (decode_compound, find_method): Remove trailing \n | |
8090 | at end of error string. | |
8091 | * solib-irix.c (irix_current_sos): Likewise. | |
8092 | * varobj.c (uninstall_variable): Likewise. | |
8093 | ||
e9bdf92c JB |
8094 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
8095 | ||
8096 | * copyright.py: New script. | |
8097 | * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. | |
8098 | Launch emacs without exec'ing. Call copyright.py afterwards. | |
8099 | ||
3e43a32a MS |
8100 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
8101 | ||
8102 | * addrmap.c: Shorten lines of >= 80 columns. | |
8103 | * arch-utils.c: Ditto. | |
8104 | * arch-utils.h: Ditto. | |
8105 | * ax-gdb.c: Ditto. | |
8106 | * ax-general.c: Ditto. | |
8107 | * bcache.c: Ditto. | |
8108 | * blockframe.c: Ditto. | |
8109 | * breakpoint.c: Ditto. | |
8110 | * buildsym.c: Ditto. | |
8111 | * c-lang.c: Ditto. | |
8112 | * c-typeprint.c: Ditto. | |
8113 | * charset.c: Ditto. | |
8114 | * coffread.c: Ditto. | |
8115 | * command.h: Ditto. | |
8116 | * corelow.c: Ditto. | |
8117 | * cp-abi.c: Ditto. | |
8118 | * cp-namespace.c: Ditto. | |
8119 | * cp-support.c: Ditto. | |
8120 | * dbug-rom.c: Ditto. | |
8121 | * dbxread.c: Ditto. | |
8122 | * defs.h: Ditto. | |
8123 | * dfp.c: Ditto. | |
8124 | * dfp.h: Ditto. | |
8125 | * dictionary.c: Ditto. | |
8126 | * disasm.c: Ditto. | |
8127 | * doublest.c: Ditto. | |
8128 | * dwarf2-frame.c: Ditto. | |
8129 | * dwarf2expr.c: Ditto. | |
8130 | * dwarf2loc.c: Ditto. | |
8131 | * dwarf2read.c: Ditto. | |
8132 | * elfread.c: Ditto. | |
8133 | * eval.c: Ditto. | |
8134 | * event-loop.c: Ditto. | |
8135 | * event-loop.h: Ditto. | |
8136 | * exceptions.h: Ditto. | |
8137 | * exec.c: Ditto. | |
8138 | * expprint.c: Ditto. | |
8139 | * expression.h: Ditto. | |
8140 | * f-lang.c: Ditto. | |
8141 | * f-valprint.c: Ditto. | |
8142 | * findcmd.c: Ditto. | |
8143 | * frame-base.c: Ditto. | |
8144 | * frame-unwind.c: Ditto. | |
8145 | * frame-unwind.h: Ditto. | |
8146 | * frame.c: Ditto. | |
8147 | * frame.h: Ditto. | |
8148 | * gcore.c: Ditto. | |
8149 | * gdb-stabs.h: Ditto. | |
8150 | * gdb_assert.h: Ditto. | |
8151 | * gdb_dirent.h: Ditto. | |
8152 | * gdb_obstack.h: Ditto. | |
8153 | * gdbcore.h: Ditto. | |
8154 | * gdbtypes.c: Ditto. | |
8155 | * gdbtypes.h: Ditto. | |
8156 | * inf-ttrace.c: Ditto. | |
8157 | * infcall.c: Ditto. | |
8158 | * infcmd.c: Ditto. | |
8159 | * inflow.c: Ditto. | |
8160 | * infrun.c: Ditto. | |
8161 | * inline-frame.h: Ditto. | |
8162 | * language.c: Ditto. | |
8163 | * language.h: Ditto. | |
8164 | * libunwind-frame.c: Ditto. | |
8165 | * libunwind-frame.h: Ditto. | |
8166 | * linespec.c: Ditto. | |
8167 | * linux-nat.c: Ditto. | |
8168 | * linux-nat.h: Ditto. | |
8169 | * linux-thread-db.c: Ditto. | |
8170 | * machoread.c: Ditto. | |
8171 | * macroexp.c: Ditto. | |
8172 | * macrotab.c: Ditto. | |
8173 | * main.c: Ditto. | |
8174 | * maint.c: Ditto. | |
8175 | * mdebugread.c: Ditto. | |
8176 | * memattr.c: Ditto. | |
8177 | * minsyms.c: Ditto. | |
8178 | * monitor.c: Ditto. | |
8179 | * monitor.h: Ditto. | |
8180 | * objfiles.c: Ditto. | |
8181 | * objfiles.h: Ditto. | |
8182 | * osabi.c: Ditto. | |
8183 | * p-typeprint.c: Ditto. | |
8184 | * p-valprint.c: Ditto. | |
8185 | * parse.c: Ditto. | |
8186 | * printcmd.c: Ditto. | |
8187 | * proc-events.c: Ditto. | |
8188 | * procfs.c: Ditto. | |
8189 | * progspace.c: Ditto. | |
8190 | * progspace.h: Ditto. | |
8191 | * psympriv.h: Ditto. | |
8192 | * psymtab.c: Ditto. | |
8193 | * record.c: Ditto. | |
8194 | * regcache.c: Ditto. | |
8195 | * regcache.h: Ditto. | |
8196 | * remote-fileio.c: Ditto. | |
8197 | * remote.c: Ditto. | |
8198 | * ser-mingw.c: Ditto. | |
8199 | * ser-tcp.c: Ditto. | |
8200 | * ser-unix.c: Ditto. | |
8201 | * serial.c: Ditto. | |
8202 | * serial.h: Ditto. | |
8203 | * solib-frv.c: Ditto. | |
8204 | * solib-irix.c: Ditto. | |
8205 | * solib-osf.c: Ditto. | |
8206 | * solib-pa64.c: Ditto. | |
8207 | * solib-som.c: Ditto. | |
8208 | * solib-sunos.c: Ditto. | |
8209 | * solib-svr4.c: Ditto. | |
8210 | * solib-target.c: Ditto. | |
8211 | * solib.c: Ditto. | |
8212 | * somread.c: Ditto. | |
8213 | * source.c: Ditto. | |
8214 | * stabsread.c: Ditto. | |
8215 | * stabsread.c: Ditto. | |
8216 | * stack.c: Ditto. | |
8217 | * stack.h: Ditto. | |
8218 | * symfile-mem.c: Ditto. | |
8219 | * symfile.c: Ditto. | |
8220 | * symfile.h: Ditto. | |
8221 | * symmisc.c: Ditto. | |
8222 | * symtab.c: Ditto. | |
8223 | * symtab.h: Ditto. | |
8224 | * target-descriptions.c: Ditto. | |
8225 | * target-memory.c: Ditto. | |
8226 | * target.c: Ditto. | |
8227 | * target.h: Ditto. | |
8228 | * terminal.h: Ditto. | |
8229 | * thread.c: Ditto. | |
8230 | * top.c: Ditto. | |
8231 | * tracepoint.c: Ditto. | |
8232 | * tracepoint.h: Ditto. | |
8233 | * ui-file.c: Ditto. | |
8234 | * ui-file.h: Ditto. | |
8235 | * ui-out.h: Ditto. | |
8236 | * user-regs.c: Ditto. | |
8237 | * user-regs.h: Ditto. | |
8238 | * utils.c: Ditto. | |
8239 | * valarith.c: Ditto. | |
8240 | * valops.c: Ditto. | |
8241 | * valprint.c: Ditto. | |
8242 | * valprint.h: Ditto. | |
8243 | * value.c: Ditto. | |
8244 | * varobj.c: Ditto. | |
8245 | * varobj.h: Ditto. | |
8246 | * vec.h: Ditto. | |
8247 | * xcoffread.c: Ditto. | |
8248 | * xcoffsolib.c: Ditto. | |
8249 | * xcoffsolib.h: Ditto. | |
8250 | * xml-syscall.c: Ditto. | |
8251 | * xml-tdesc.c: Ditto. | |
8252 | ||
9a2b4c1b MS |
8253 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
8254 | ||
8255 | * cli/cli-cmds.c: Shorten lines of >= 80 columns. | |
8256 | * cli/cli-decode.c: Ditto. | |
8257 | * cli/cli-dump.c: Ditto. | |
8258 | * cli/cli-logging.c: Ditto. | |
8259 | * cli/cli-script.c: Ditto. | |
8260 | * cli/cli-setshow.c: Ditto. | |
8261 | * common/signals.c: Ditto. | |
8262 | * mi/mi-cmd-break.c: Ditto. | |
8263 | * mi/mi-cmd-disas.c: Ditto. | |
8264 | * mi/mi-cmd-stack.c: Ditto. | |
8265 | * mi/mi-cmd-var.c: Ditto. | |
8266 | * mi/mi-cmds.c: Ditto. | |
8267 | * mi/mi-common.h: Ditto. | |
8268 | * mi/mi-console.c: Ditto. | |
8269 | * mi/mi-interp.c: Ditto. | |
8270 | * mi/mi-main.c: Ditto. | |
8271 | * osf-share/cma_attr.c: Ditto. | |
8272 | * osf-share/cma_deb_core.h: Ditto. | |
8273 | * osf-share/cma_debug_client.h: Ditto. | |
8274 | * osf-share/cma_handle.h: Ditto. | |
8275 | * osf-share/cma_mutex.h: Ditto. | |
8276 | * osf-share/cma_stack_int.h: Ditto. | |
8277 | * osf-share/cma_tcb_defs.h: Ditto. | |
8278 | * python/py-auto-load.c: Ditto. | |
8279 | * python/py-breakpoint.c: Ditto. | |
8280 | * python/py-cmd.c: Ditto. | |
8281 | * python/py-frame.c: Ditto. | |
8282 | * python/py-objfile.c: Ditto. | |
8283 | * python/py-param.c: Ditto. | |
8284 | * python/py-progspace.c: Ditto. | |
8285 | * python/py-symbol.c: Ditto. | |
8286 | * python/py-value.c: Ditto. | |
8287 | * python/python-internal.h: Ditto. | |
8288 | * python/python.c: Ditto. | |
8289 | * tui/tui-data.c: Ditto. | |
8290 | * tui/tui-disasm.c: Ditto. | |
8291 | * tui/tui-hooks.c: Ditto. | |
8292 | * tui/tui-io.c: Ditto. | |
8293 | * tui/tui-layout.c: Ditto. | |
8294 | * tui/tui-regs.c: Ditto. | |
8295 | * tui/tui-source.c: Ditto. | |
8296 | * tui/tui-stack.c: Ditto. | |
8297 | * tui/tui-win.c: Ditto. | |
8298 | * tui/tui-windata.c: Ditto. | |
8299 | * tui/tui-winsource.c: Ditto. | |
8300 | ||
44944448 JB |
8301 | 2011-01-05 Joel Brobecker <brobecker@adacore.com> |
8302 | ||
8303 | * configure.ac, gdb.1: Copyright year update. | |
8304 | ||
ebedcab5 JK |
8305 | 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
8306 | ||
8307 | * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables | |
8308 | this_pc_in_block, morestack_msym and morestack_name. Check for | |
8309 | "__morestack" minimal symbol there. | |
8310 | ||
e5cc9f32 JB |
8311 | 2011-01-03 Joel Brobecker <brobecker@adacore.com> |
8312 | ||
8313 | * symfile.c (find_sym_fns): Add call to dont_repeat. | |
8314 | ||
7b6bb8da JB |
8315 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
8316 | ||
8317 | Copyright year update in most files (performed by copyright.sh). | |
8318 | ||
71ce852c JB |
8319 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
8320 | ||
8321 | * top.c (print_gdb_version): Update copyright year in version output. | |
0e2de366 | 8322 | |
c3c1ebe8 | 8323 | For older changes see ChangeLog-2010. |
c906108c SS |
8324 | \f |
8325 | Local Variables: | |
8326 | mode: change-log | |
8327 | left-margin: 8 | |
8328 | fill-column: 74 | |
8329 | version-control: never | |
57da7796 | 8330 | coding: utf-8 |
c906108c | 8331 | End: |