]>
Commit | Line | Data |
---|---|---|
4c67c798 JJ |
1 | 2011-05-05 Janis Johnson <janisjo@codesourcery.com> |
2 | ||
3 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
4 | ||
a3fcb948 JG |
5 | 2011-05-05 Jerome Guitton <guitton@adacore.com> |
6 | ||
7 | * i386-tdep.c (i386_in_stack_tramp_p, i386_stack_tramp_frame_sniffer): | |
8 | New functions. | |
9 | (i386_stack_tramp_frame_unwind): New static global. | |
10 | (i386_match_pattern): New function, extracted from i386_match_insn. | |
11 | (i386_match_insn): Use i386_match_pattern. | |
12 | (i386_match_insn_block): New function. | |
13 | (i386_tramp_chain_in_reg_insns) | |
14 | (i386_tramp_chain_on_stack_insns): New static variables. | |
15 | (i386_gdbarch_init): Add i386_stack_tramp_frame_unwind to list | |
16 | of unwinders. | |
17 | ||
4d393d60 JM |
18 | 2011-05-04 Joseph Myers <joseph@codesourcery.com> |
19 | ||
20 | * configure.host (xscale*): Don't handle target. | |
21 | * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't | |
22 | handle targets. | |
23 | ||
f70bd40b YQ |
24 | 2011-05-04 Yao Qi <yao@codesourcery.com> |
25 | ||
26 | * gdb_wait.h: remove WAITTYPE and WCOREDUMP. | |
27 | ||
dd3295ee JB |
28 | 2011-05-03 Joel Brobecker <brobecker@adacore.com> |
29 | ||
30 | Revert: | |
31 | | 2011-03-07 Michael Snyder <msnyder@vmware.com> | |
32 | | * elfread.c (elf_symtab_read): Stop memory leak. | |
33 | ||
90375a0e PM |
34 | 2011-05-03 Pierre Muller <muller@ics.u-strasbg.fr> |
35 | ||
36 | * nto-tdep.c (nto_target): Replace deprecated call to | |
37 | cygwin_conv_to_posix_path functions by cygwin_conv_path calls. | |
38 | ||
d07205c2 JK |
39 | 2011-05-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
40 | ||
41 | Fix false GCC warning. | |
42 | * breakpoint.c (do_enable_breakpoint): Initialize orig_enable_state. | |
43 | ||
1e718ff1 TJB |
44 | 2011-05-03 Thiago Jung Bauermann <bauerman@br.ibm.com> |
45 | ||
46 | * breakpoint.c (update_watchpoint): Move code to change | |
47 | the enable state of breakpoint from here ... | |
48 | (do_enable_breakpoint): ... to here. | |
49 | ||
35bef4fd TT |
50 | 2011-04-26 Andrew Gontarek <andrewg@cray.com> |
51 | ||
78290264 PP |
52 | * valprint.c (val_print_array_elements): Fixed poor performance |
53 | of printing very large arrays with repeat_count_threshold set | |
54 | to unlimited. New comment. | |
35bef4fd | 55 | |
38a714bb TT |
56 | 2011-04-29 Tom Tromey <tromey@redhat.com> |
57 | ||
58 | * mi/mi-parse.c (mi_parse): Remove incorrect sizeof. | |
59 | (mi_parse): Likewise. | |
60 | * breakpoint.c (break_range_command): Use sizeof char*, not | |
61 | char**. | |
62 | (create_breakpoint): Likewise. | |
63 | (parse_breakpoint_sals): Likewise. | |
64 | ||
eb73ad13 PA |
65 | 2011-04-29 Pedro Alves <pedro@codesourcery.com> |
66 | ||
67 | * linux-nat.c (linux_child_remove_fork_catchpoint) | |
68 | (linux_child_remove_vfork_catchpoint) | |
69 | (linux_child_remove_exec_catchpoint): New functions. | |
70 | (linux_target_install_ops): Install them. | |
71 | ||
d65aec65 PM |
72 | 2011-04-29 Phil Muldoon <pmuldoon@redhat.com> |
73 | ||
74 | PR mi/12531 | |
75 | ||
76 | * varobj.c (install_default_visualizer): Do not install a | |
77 | visualizer if the varobj is CPLUS_FAKE_CHILD. | |
78 | (construct_visualizer): Likewise. | |
79 | ||
165195f4 JK |
80 | 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
81 | ||
82 | * symtab.c (expand_partial_symbol_name): New variable NCMP. Support | |
83 | case insensitive comparison. | |
84 | ||
30852783 UW |
85 | 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org> |
86 | ||
87 | * infrun.c (proceed): Revert previous change. | |
88 | (resume): Instead, handle the case of signal delivery while stepping | |
89 | off a breakpoint location here, and only if software single-stepping | |
90 | is used. Handle nested signals. | |
91 | ||
7ff120b4 YQ |
92 | 2011-04-28 Yao Qi <yao@codesourcery.com> |
93 | ||
94 | * arm-tdep.c (copy_unmodified): Rename to ... | |
95 | (arm_copy_unmodified): .. this. New. | |
96 | (copy_preload): Move common part to ... | |
97 | (install_preload): .. this. New. | |
98 | (arm_copy_preload): New. | |
99 | (copy_preload_reg): Move common part to ... | |
100 | (install_preload_reg): ... this. New. | |
101 | (arm_copy_preload_reg): New. | |
102 | (copy_b_bl_blx): Move common part to ... | |
103 | (install_b_bl_blx): .. this. New. | |
104 | (arm_copy_b_bl_blx): New. | |
105 | (copy_bx_blx_reg): Move common part to ... | |
106 | (install_bx_blx_reg): ... this. New. | |
107 | (arm_copy_bx_blx_reg): New. | |
108 | (copy_alu_reg): Move common part to ... | |
109 | (install_alu_reg): ... this. New. | |
110 | (arm_copy_alu_reg): New. | |
111 | (copy_alu_shifted_reg): Move common part to ... | |
112 | (install_alu_shifted_reg): ... this. New. | |
113 | (copy_ldr_str_ldrb_strb): Move common part to ... | |
114 | (install_ldr_str_ldrb_strb): ... this. New. | |
115 | (arm_copy_ldr_str_ldrb_strb): New. | |
116 | (copy_copro_load_store): Move some common part to ... | |
117 | (install_copy_copro_load_store): ... this. New. | |
118 | (arm_copy_copro_load_store): New. | |
119 | (copy_svc): Delete. | |
120 | (arm_copy_svc): Renamed from copy_svc. | |
121 | (copy_undef): Delete. | |
122 | (arm_copy_undef): Renamed from copy_undef. | |
123 | (decode_ext_reg_ld_st): Delete. | |
124 | (arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st. | |
125 | (decode_svc_copro): Delete. | |
126 | (arm_decode_svc_copro): Renamed from decode_svc_copro. | |
127 | (copy_copro_load_store, copy_alu_imm): update callers. | |
128 | (copy_extra_ld_st, copy_block_xfer): Likewise. | |
129 | (decode_misc_memhint_neon, decode_unconditional): Likewise. | |
130 | (decode_miscellaneous, decode_dp_misc): Likewise. | |
131 | (decode_ld_st_word_ubyte, decode_media): Likewise. | |
132 | (decode_b_bl_ldmstm, decode_ext_reg_ld_st): Likewise. | |
133 | (decode_svc_copro, decode_misc_memhint_neon): Likewise. | |
134 | (decode_unconditional, decode_miscellaneous): Likewise. | |
135 | (decode_media, decode_b_bl_ldmstm): Likewise. | |
136 | (arm_process_displaced_insn): Likewise.. | |
137 | (decode_misc_memhint_neon): Delete. | |
138 | (arm_decode_misc_memhint_neon): Renamed from decode_misc_memhint_neon. | |
139 | (decode_miscellaneous): Delete. | |
140 | (arm_decode_miscellaneous): Renamed from decode_miscellaneous. | |
141 | (decode_dp_misc): Delete. | |
142 | (arm_decode_dp_misc): Renamed from decode_dp_misc. | |
143 | (decode_ld_st_word_ubyte): Delete. | |
144 | (arm_decode_ld_st_word_ubyte): Renamed from decode_ld_st_word_ubyte. | |
145 | (decode_media): Delete. | |
146 | (arm_decode_media): Renamed from decode_media. | |
147 | (decode_b_bl_ldmstm): Delete. | |
148 | (arm_decode_b_bl_ldmstm): Renamed from decode_b_bl_ldmstm. | |
149 | (decode_ext_reg_ld_st): Delete. | |
150 | (arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st. | |
151 | (decode_unconditional): Delete. | |
152 | (arm_decode_unconditional): Renamed from decode_unconditional. | |
153 | ||
559a7a62 JK |
154 | 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
155 | ||
156 | Case insensitive lookups implementation. | |
157 | * dwarf2read.c: Include ctype.h. | |
158 | (struct mapped_index): New field version. | |
159 | (mapped_index_string_hash): New parameter index_version. New comment | |
160 | for it. Call tolower appropriately. | |
161 | (find_slot_in_mapped_hash): New variable cmp, initialize it, use it. | |
162 | Choose the right index version for mapped_index_string_hash. | |
163 | (dwarf2_read_index): Support also the index version 5. Initialize the | |
164 | new struct mapped_index field version. | |
165 | (hash_strtab_entry): Pass INT_MAX for the new parameter, explain why. | |
166 | (find_slot): Explain the version needs. Pass INT_MAX for the new | |
167 | parameter. | |
168 | (write_psymtabs_to_index): Produce version 5. | |
169 | * minsyms.c (lookup_minimal_symbol): New variable cmp, initialize it, | |
170 | use it. New comment for SYMBOL_MATCHES_SEARCH_NAME. | |
171 | * psymtab.c (lookup_partial_symbol): Find the | |
172 | SYMBOL_MATCHES_SEARCH_NAME start of the found block of matching | |
173 | entries. | |
174 | * symtab.c (lookup_symbol_in_language): Remove the case_sensitive_off | |
175 | NAME lowercasing. | |
176 | (search_symbols): Pass REG_ICASE to regcomp for case_sensitive_off. | |
177 | (completion_list_add_name): New variable ncmp, initialize it, use it. | |
178 | * symtab.h (SYMBOL_HASH_NEXT): Always call tolower. | |
179 | * utils.c (strcmp_iw): Support case_sensitive_off. | |
180 | (strcmp_iw_ordered): Sort in a way compatible with case_sensitive_off. | |
181 | New function comment part. New variables saved_string1, | |
182 | saved_string2 and case_pass. Add a proper second pass. | |
183 | ||
681bf369 JK |
184 | 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
185 | ||
186 | Replace re_comp/re_exec by regcomp/regexec. | |
187 | * symtab.c (struct search_symbols_data): New fields preg, preg_p. | |
188 | (search_symbols_name_matches): Use them, use regexec. | |
189 | (search_symbols): New variable retval_chain, adjust the use of | |
190 | old_chain against it. Replace re_comp by regcomp. Use the new struct | |
191 | search_symbols_data fields, use regexec instead of re_exec. | |
192 | ||
b11b1f88 JK |
193 | 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
194 | ||
195 | Format the code for the next patch. | |
196 | * dwarf2read.c (struct mapped_index): Include delimiting newlines. | |
197 | * utils.c (strcmp_iw_ordered): Reformat the code for the next patch. | |
198 | New variables c1 and c2. | |
199 | ||
2484c66b UW |
200 | 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org> |
201 | ||
202 | * infrun.c (proceed): Do not single-step into signal delivery | |
203 | when stepping off a breakpoint location. | |
204 | (insert_step_resume_breakpoint_at_frame): Move prototype earlier. | |
205 | (insert_step_resume_breakpoint_at_caller): Likewise. | |
206 | (insert_step_resume_breakpoint_at_sal): Likewise. | |
207 | (insert_longjmp_resume_breakpoint): Likewise. | |
208 | ||
47423772 YQ |
209 | 2011-04-27 Yao Qi <yao@codesourcery.com> |
210 | ||
211 | * common/linux-ptrace.h: Remove include <sys/wait.h>. | |
212 | ||
13bdd2e7 JB |
213 | 2011-04-27 Joel Brobecker <brobecker@adacore.com> |
214 | ||
215 | * procfs.c (procfs_pass_signals): Fix advance declaration. | |
216 | ||
2455069d UW |
217 | 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org> |
218 | ||
219 | * target.h (struct target_ops): Remove to_notice_signals; | |
220 | add to_pass_signals. | |
221 | (target_notice_signals): Remove. | |
222 | (target_pass_signals): Add prototype. | |
223 | * target.c (update_current_target): Remove to_notice_signals; | |
224 | mention to_pass_signals. | |
225 | (target_pass_signals): New function. | |
226 | (debug_to_notice_signals): Remove. | |
227 | (setup_target_debug): Do not install debug_to_notice_signals. | |
228 | ||
229 | * infrun.c (signal_pass): New global. | |
230 | (resume): Call target_pass_signals. | |
231 | (handle_inferior_event): Report all signals while stepping over | |
232 | non-steppable watchpoint. Reset trap_expected to ensure breakpoints | |
233 | are re-inserted when stepping over a signal handler. | |
234 | (signal_cache_update): New function. | |
235 | (signal_stop_update): Call it. | |
236 | (signal_print_update): Likewise. | |
237 | (signal_pass_update): Likewise. | |
238 | (handle_command): Call signal_cache_update and target_pass_signals | |
239 | instead of target_notice_signals. | |
240 | (_initialize_infrun): Initialize signal_pass. | |
241 | ||
242 | * linux-nat.c (pass_mask): New global. | |
243 | (linux_nat_pass_signals): New function. | |
244 | (linux_nat_create_inferior): Report all signals initially. | |
245 | (linux_nat_attach): Likewise. | |
246 | (linux_nat_resume): Use pass_mask to decide whether to directly | |
247 | handle an inferior signal. | |
248 | (linux_nat_wait_1): Likewise. | |
249 | (linux_nat_add_target): Install to_pass_signals callback. | |
250 | ||
251 | * nto-procfs.c (notice_signals): Remove. | |
252 | (procfs_resume): Do not call notice_signals. | |
253 | (procfs_notice_signals): Remove. | |
254 | (procfs_pass_signals): New function. | |
255 | (init_procfs_ops): Install to_pass_signals callback instead of | |
256 | to_notice_signals callback. | |
257 | (_initialize_procfs): Report all signals initially. | |
258 | ||
259 | * procfs.c (procfs_notice_signals): Remove. | |
260 | (procfs_pass_signals): New function. | |
261 | (procfs_target): Install to_pass_signals callback instead of | |
262 | to_notice_signals callback. | |
263 | (register_gdb_signals): Remove. | |
264 | (procfs_debug_inferior): Report all signals initially. | |
265 | (procfs_init_inferior): Remove redundant register_gdb_signals call. | |
266 | ||
267 | * remote.c (remote_pass_signals): Add numsigs and pass_signals | |
268 | parameters; use them instead of calling signal_..._state routines. | |
269 | (remote_notice_signals): Remove. | |
270 | (remote_start_remote): Report all signals initially. | |
271 | (remote_resume): Do not call remote_pass_signals. | |
272 | (_initialize_remote): Install to_pass_signals callback instead of | |
273 | to_notice_signals callback. | |
274 | ||
46c6471b PA |
275 | 2011-04-27 Pedro Alves <pedro@codesourcery.com> |
276 | ||
277 | * breakpoint.c (user_settable_breakpoint): Delete. | |
278 | (user_breakpoint_p): Remove check on user_settable_breakpoint. | |
279 | (delete_command): Check user_breakpoint_p instead of looking at | |
280 | the breakpoint's type. | |
281 | (disable_command): Ditto. | |
282 | (enable_command): Ditto. | |
283 | (delete_trace_command): Use user_breakpoint_p instead of looking | |
284 | at the breakpoint number directly. When checking if there are | |
285 | user visible tracepoints, in order to know whether to ask the user | |
286 | for confirmation, check whether the breakpoint is actually a | |
287 | tracepoint. | |
288 | ||
f6d90398 VP |
289 | 2011-04-27 Vladimir Prus <vladimir@codesourcery.com> |
290 | ||
291 | * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix | |
292 | compilation. | |
293 | ||
8d3788bd VP |
294 | 2011-04-27 Vladimir Prus <vladimir@codesourcery.com> |
295 | ||
296 | MI breakpoint notifications. | |
297 | ||
f33edef8 PP |
298 | * annotate.c (breakpoint_changed): Adjust parameter type. |
299 | * breakpoint.c (set_breakpoint_condition): Adjust to change | |
300 | in breakpoint_modified type. | |
301 | (breakpoint_set_commands): Likewise. | |
302 | (do_map_commands_command): Likewise. | |
303 | (bpstat_check_breakpoint_conditions): Notify that breakpoint has | |
304 | changed after bumping hit count. | |
305 | (bpstat_stop_status): Likewise. | |
306 | (print_one_breakpoint_location): Don't wrap in tuple here. | |
307 | (print_one_breakpoint): Always print individual locations. | |
308 | For locations, use unnamed tuple. | |
309 | (disable_breakpoints_in_unloaded_shlib): Notify that breakpoint | |
310 | has changed. | |
311 | (create_catchpoint, create_syscall_event_catchpoint): Call | |
312 | breakpoint_created obsever. | |
313 | (mention): Don't call breakpoint_created observer. | |
314 | (create_breakpoint_sal): Call breakpoint_created observer. | |
315 | (create_breakpoint, watch_command_1): Likewise. | |
316 | (create_ada_exception_breakpoint): Likewise. | |
317 | (delete_breakpoint): Call breakpoint_deleted breakpoint. | |
318 | (locations_are_equal): New. | |
319 | (update_breakpoint_locations): If locations were changed, notify. | |
320 | (set_ignore_count, disable_breakpoint, do_enable_breakpoint): | |
321 | Call breakpoint_modified observer. | |
322 | ||
323 | * mi/mi-cmd-break.c (breakpoint_notify): Adjust. | |
324 | (mi_cmd_break_insert): Don't set observers for modify and delete. | |
325 | * mi/mi-interp.c (mi_suppress_breakpoint_notifications): New. | |
326 | (mi_breakpoint_created, mi_breakpoint_deleted) | |
327 | (mi_breakpoint_modified): New. | |
328 | (mi_interpreter_init): Hook the above. | |
329 | * mi/mi-main.c (mi_cmd_execute): Disable breakpoint notifications | |
330 | while -break-* commands are executing. | |
331 | * mi/mi-main.h (mi_suppress_breakpoint_notifications): New. | |
332 | * mi/mi-out.c (struct ui_out_data): New field original_buffer. | |
333 | (mi_redirect): New. | |
334 | (mi_ui_out_impl): Hook in mi_redirect. | |
335 | (mi_field_skip): True to the name, skip the field, don't output | |
336 | a field with an empty value. | |
337 | ||
338 | * python/py-breakpoint.c (gdbpy_breakpoint_created) | |
339 | (gdbpy_breakpoint_deleted): Adjust. | |
340 | * tui/tui-hooks.c (tui_event_create_breakpoint) | |
341 | (tui_event_delete_breakpoint, tui_event_modify_breakpoint): Adjust. | |
8d3788bd | 342 | |
a8f42b45 UW |
343 | 2011-04-26 Aleksandar Ristovski <aristovski@qnx.com> |
344 | ||
345 | * nto-procfs.c (procfs_insert_hw_watchpoint): Fix prototype. | |
346 | (procfs_remove_hw_watchpoint): Likewise. | |
347 | ||
57e12211 TT |
348 | 2011-04-26 Michael Walle <michael@walle.cc> |
349 | ||
350 | * remote.c (remote_start_remote): Ack packet after sending the | |
351 | interrupt sequence. | |
352 | ||
af96c192 YQ |
353 | 2011-04-26 Yao Qi <yao@codesourcery.com> |
354 | ||
f33edef8 PP |
355 | * linux-nat.c: Move common macros to ... |
356 | Include linux-ptrace.h. | |
357 | * common/linux-ptrace.h: ... here. New. | |
af96c192 | 358 | |
3e03848b JK |
359 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
360 | ||
361 | * elfread.c (elf_symfile_read): Protect dwarf2_initialize_objfile by | |
362 | !objfile_has_partial_symbols. New comment. | |
363 | * objfiles.c (objfile_has_partial_symbols): Call HAS_SYMBOLS if | |
364 | SYM_READ_PSYMBOLS is not present. Extend the comment. | |
365 | * symfile.h (struct sym_fns): Extend the sym_read_psymbols comment. | |
366 | ||
1ae0d051 JK |
367 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
368 | ||
369 | * defs.h (ENUM_BITFIELD): Remove. | |
370 | ||
03f2bd59 JK |
371 | 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
372 | Eli Zaretskii <eliz@gnu.org> | |
373 | ||
374 | * NEWS: Document the new gdbserver --once option. | |
375 | ||
4161fbb0 JZ |
376 | 2011-04-21 Jie Zhang <jzhang918@gmail.com> |
377 | ||
378 | * MAINTAINERS: Update my email address. | |
379 | ||
bcb28afc PM |
380 | 2011-04-21 Pierre Muller <muller@ics.u-strasbg.fr> |
381 | ||
382 | * gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro. | |
383 | (INTERMEDIATE_ENCODING): Change value to intermediate_encoding | |
384 | function call if __STDC_ISO_10646__ macro is defined. | |
385 | (intermediate_encoding): New prototype. | |
386 | * charset.c (your_gdb_wchar_t_is_bogus): New extern test variable | |
387 | to generate compile time error for unsupported gdb_wchar_t size. | |
388 | (ENDIAN_SUFFIX): New macro. | |
389 | (intermediate_encoding): New function. | |
390 | ||
7b08b9eb JK |
391 | 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
392 | ||
393 | * ada-lang.c (struct add_partial_datum): Update the comment for | |
394 | expand_partial_symbol_name. | |
395 | (ada_add_partial_symbol_completions): Rename to ... | |
396 | (ada_expand_partial_symbol_name): ... here, change return type, update | |
397 | function comment, call symbol_completion_match instead of | |
398 | symbol_completion_add. | |
399 | (ada_make_symbol_completion_list): Use now expand_partial_symbol_names | |
400 | and ada_expand_partial_symbol_name. | |
401 | * dwarf2read.c (dw2_expand_symtabs_matching): Support NULL | |
402 | FILE_MATCHER. | |
403 | (dw2_map_symbol_names): Remove. | |
404 | (dwarf2_gdb_index_functions): Unlist dw2_map_symbol_names. | |
405 | * psymtab.c (map_symbol_names_psymtab): Remove. | |
406 | (expand_symtabs_matching_via_partial): Support NULL FILE_MATCHER. | |
407 | Support KIND == ALL_DOMAIN. Exchange the NAME_MATCHER and KIND check | |
408 | order. | |
409 | (psym_functions): Unlist map_symbol_names_psymtab. | |
410 | (map_partial_symbol_names): Rename to ... | |
411 | (expand_partial_symbol_names): ... here, change the FUN type, call | |
412 | expand_symtabs_matching with ALL_DOMAIN and NULL FILE_MATCHER now. | |
413 | * psymtab.h (map_partial_symbol_names): Rename to ... | |
414 | (expand_partial_symbol_names): ... here, change the FUN type. | |
415 | * symfile.h (struct quick_symbol_functions): Update the description of | |
416 | expand_symtabs_matching. Remove map_symbol_names. | |
417 | * symtab.c (search_symbols): Add ALL_DOMAIN to the function comment. | |
418 | (struct add_name_data): Update the comment for | |
419 | expand_partial_symbol_name. | |
420 | (add_partial_symbol_name): Rename to ... | |
421 | (expand_partial_symbol_name): ... here. Replace | |
422 | completion_list_add_name call by strncmp. | |
423 | (default_make_symbol_completion_list_break_on): Use now | |
424 | expand_partial_symbol_names and expand_partial_symbol_name. | |
425 | * symtab.h (enum search_domain): New element ALL_DOMAIN. | |
426 | ||
90476074 TT |
427 | 2011-04-20 Tom Tromey <tromey@redhat.com> |
428 | ||
429 | * dwarf2read.c (save_gdb_index_command): Replace format | |
430 | documentation with a pointer to the manual. | |
431 | ||
c21236dc PA |
432 | 2011-04-20 Pedro Alves <pedro@codesourcery.com> |
433 | ||
434 | * regcache.c: Include remote.h. | |
435 | (enum regcache_dump_what) <regcache_dump_remote>: New enum value. | |
436 | (regcache_dump): Handle regcache_dump_remote. | |
437 | (maintenance_print_remote_registers): New function. | |
438 | (_initialize_regcache): Install "maint print remote-registers" | |
439 | command. | |
440 | * remote.c (map_regcache_remote_table): New function, factored out | |
441 | from ... | |
442 | (init_remote_state): ... here. | |
443 | (remote_register_number_and_offset): New. | |
444 | * remote.h (remote_register_number_and_offset): Declare. | |
445 | ||
b78974c3 PA |
446 | 2011-04-20 Pedro Alves <pedro@codesourcery.com> |
447 | ||
448 | * regcache.c (get_thread_arch_regcache): If creating a regcache for | |
449 | null_ptid, assume and allow a NULL address space, instead of | |
450 | asking the target for the ptid's address space. | |
451 | * infrun.c (ptid_is_pid): Remove assertion. | |
452 | ||
7a9dd1b2 TT |
453 | 2011-04-19 Tom Tromey <tromey@redhat.com> |
454 | ||
455 | * windows-tdep.c (windows_xfer_shared_library): | |
456 | * windows-nat.c (get_module_name, windows_make_so): | |
457 | * v850-tdep.c (v850_handle_pushm): | |
458 | * utils.c (null_cleanup, gdb_realpath): | |
459 | * ui-out.c (get_next_header): | |
460 | * tracepoint.c (clear_traceframe_info): | |
461 | * symtab.c (lookup_symtab): | |
462 | * serial.h (struct serial_ops): | |
463 | * mipsread.c (read_alphacoff_dynamic_symtab): | |
464 | * infcmd.c (print_return_value): | |
465 | * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): | |
466 | * f-exp.y (parse_number): | |
467 | * exceptions.c (catch_exceptions): | |
468 | * dummy-frame.c (dummy_frame_this_id): | |
469 | * defs.h (struct cleanup): | |
470 | * breakpoint.c (disable_breakpoints_in_unloaded_shlib): | |
471 | * arm-tdep.c (arm_push_dummy_call): | |
472 | * amd64-tdep.h (amd64_collect_xsave): | |
473 | * amd64-tdep.c (amd64_collect_xsave): | |
474 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): | |
475 | * README (typing): Remove duplicate words. | |
476 | * cli/cli-decode.c (lookup_cmd_composition): Add comma. | |
477 | * infrun.c (siginfo_value_read): Fix typo. | |
478 | * solib-frv.c (frv_fdpic_find_global_pointer): Likewise. | |
479 | * top.c (source_line_number): Add comma. | |
480 | ||
9941e0c5 MK |
481 | 2011-04-19 Marc Khouzam <marc.khouzam@ericsson.com> |
482 | ||
483 | * thread.c (any_live_thread_of_process): Prioritize threads | |
484 | that are not executing. | |
485 | * gdbthread.h (any_live_thread_of_process): Update comment | |
486 | as per above change. | |
487 | ||
ed4b0e6a AS |
488 | 2011-04-19 Andreas Schwab <schwab@linux-m68k.org> |
489 | ||
490 | * xcoffread.c (process_xcoff_symbol): Remove useless cast. | |
491 | (scan_xcoff_symtab): Likewise. | |
492 | ||
9b13a2db PM |
493 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
494 | ||
495 | * xcoffread.c (process_xcoff_symbol): ARI fix: Avoid assignment | |
496 | inside if clause. | |
497 | ||
1c6e1b0d PM |
498 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
499 | Pedro Alves <pedro@codesourcery.com> | |
500 | ||
501 | * xstormy16-tdep.c (xstormy16_push_dummy_call): Add local | |
502 | variables to simplify code and avoid == operator at end of | |
503 | line as this is against GNU coding standards. | |
504 | ||
74de0234 PM |
505 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
506 | ||
507 | * solib-svr4.c (svr4_keep_data_in_core): Rename local variable | |
508 | lm_name to name_lm to avoid conflict with lm_name function. | |
509 | ||
b23518f0 PM |
510 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
511 | ||
512 | ARI fixes: Use only lowercase function name for static functions. | |
513 | * nto-tdep.c (LM_ADDR): Rename to... | |
514 | (lm_addr): New function name. | |
515 | (nto_relocate_section_addresses): Adapt to change above. | |
516 | * solib-sunos.c (LM_ADDR): Rename to... | |
517 | (lm_addr): New function name. | |
518 | (LM_NEXT): Rename to... | |
519 | (lm_next): New function name. | |
520 | (sunos_current_sos, sunos_relocate_section_addresses): Adapt to | |
521 | function name changes above. | |
522 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Rename to... | |
523 | (lm_addr_from_link_map): New function name. | |
524 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
525 | (has_lm_dynamic_from_link_map): New function name. | |
526 | (LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
527 | (lm_dynamic_from_link_map): New function name. | |
528 | (LM_ADDR_CHECK): Rename to... | |
529 | (lm_addr_check): New function name. | |
530 | (LM_NEXT): Rename to... | |
531 | (lm_next): New function name. | |
532 | (LM_PREV): Rename to... | |
533 | (lm_prev): New function name. | |
534 | (LM_NAME): Rename to... | |
535 | (lm_name): New function name. | |
536 | (IGNORE_FIRST_LINK_MAP_ENTRY): Rename to... | |
537 | (ignore_first_link_map_entry): New function name. | |
538 | (svr4_keep_data_in_core): Adapt to function name changes above. | |
539 | (svr4_current_sos): Likewise. | |
540 | (enable_break): Likewise. | |
541 | (svr4_relocate_section_addresses): Likewise. | |
542 | ||
1448a0a2 PM |
543 | 2011-04-19 Pierre Muller <muller@ics.u-strasbg.fr> |
544 | ||
545 | ARI cleanup. | |
546 | * xtensa-tdep.c (xtensa_register_type): Use xstrprintf instead of | |
547 | sprintf. Simplify code and avoid loosing memory. | |
548 | (xtensa_register_reggroup_p): Extract assignment out of IF clause. | |
549 | (call0_frame_cache): Remove && operator from end of line. | |
550 | ||
02835898 JK |
551 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
552 | ||
553 | Fix libraries displacement if they change whether they were prelinked. | |
554 | * solib-svr4.c (LM_ADDR_CHECK): Set L_ADDR even if the DYNAMIC pointer | |
555 | does not match. Comment why. | |
556 | ||
9a845ea2 JK |
557 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
558 | ||
559 | * corelow.c: Include wrapper.h. | |
560 | (core_open): Call now gdb_target_find_new_threads. | |
561 | * wrapper.c: Include target.h. | |
562 | (gdb_target_find_new_threads): New. | |
563 | * wrapper.h (gdb_target_find_new_threads): New declaration. | |
564 | ||
254f582e JK |
565 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
566 | ||
567 | * linux-thread-db.c (find_new_threads_callback): Exit on zero TI_TID | |
568 | even if !TARGET_HAS_EXECUTION. | |
569 | ||
63524580 JK |
570 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
571 | ||
572 | Fix convert_code_addr_to_desc_addr for ppc64 files after eu-strip. | |
573 | * elfread.c (elf_symfile_read): New variable synth_abfd, pass it to | |
574 | bfd_get_synthetic_symtab. | |
575 | * jit.c (jit_register_code): Pass NULL to the new parameter parent. | |
576 | * machoread.c (macho_add_oso_symfile): Pass main_objfile to the new | |
577 | parameter parent, remove the call to add_separate_debug_objfile. | |
578 | * solib.c (solib_read_symbols): Pass NULL to the new parameter parent. | |
579 | * symfile-mem.c (symbol_file_add_from_memory): Likewise. | |
580 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New parameter | |
581 | parent, new comment for it, call add_separate_debug_objfile for it. | |
582 | (symbol_file_add_separate): Pass objfile as the parameter parent, | |
583 | remove the call to add_separate_debug_objfile. | |
584 | (symbol_file_add_from_bfd): New parameter parent, pass it. | |
585 | (symbol_file_add): Pass NULL to the new parameter parent. | |
586 | * symfile.h (symbol_file_add_from_bfd): New parameter parent. | |
587 | ||
90359a16 JK |
588 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
589 | ||
590 | * elfread.c (elf_symtab_read): Do not ignore .L symbols if they are | |
591 | BSF_SYNTHETIC. | |
592 | ||
626e7282 JK |
593 | 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
594 | ||
595 | Fix Python access to inlined frames. | |
596 | * python/py-frame.c (frapy_read_var): Find BLOCK using get_frame_block. | |
597 | * python/py-symbol.c (gdbpy_lookup_symbol): Likewise. | |
598 | ||
cf31e6f9 TT |
599 | 2011-04-15 Tom Tromey <tromey@redhat.com> |
600 | ||
601 | * dwarf2read.c (add_index_entry): Use VEC_last, not VEC_length. | |
602 | ||
c8d895f1 GB |
603 | 2011-04-15 Gary Benson <gbenson@redhat.com> |
604 | ||
605 | * MAINTAINERS: Add myself to write-after-approval section. | |
606 | ||
56a9aa1d MF |
607 | 2011-04-14 Mike Frysinger <vapier@gentoo.org> |
608 | ||
609 | * remote-sim.c (sim_command_completer): New function. | |
610 | (_initialize_remote_sim): Set completer to sim_command_completer. | |
611 | ||
ba770c9c TJB |
612 | 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
613 | ||
614 | * breakpoint.c (print_exception_catchpoint): Rename to ... | |
615 | (print_it_exception_catchpoint): ... this. | |
616 | (gnu_v3_exception_catchpoint_ops): Update with new name | |
617 | for print_it_exception_catchpoint. | |
618 | ||
51bf2553 EBM |
619 | 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com> |
620 | ||
621 | * MAINTAINERS: Add myself for write after approval privileges. | |
622 | ||
d242658c MP |
623 | 2011-04-13 Marek Polacek <mpolacek@redhat.com> |
624 | ||
625 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
626 | ||
4a4106ca TJB |
627 | 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
628 | ||
629 | * breakpoint.c (watch_command_1): Remove colon from exp_string. | |
630 | ||
26063d49 TJB |
631 | 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
632 | ||
633 | * breakpoint.c (save_breakpoints): Verify whether | |
634 | breakpoint_ops.print_recreate is defined before calling it. | |
635 | ||
7782b183 GB |
636 | 2011-04-11 Gary Benson <gbenson@redhat.com> |
637 | ||
638 | Fix failure with --enable-maintainer-mode. | |
639 | * Makefile.in (aclocal_m4_deps): Updated gnulib dependencies. | |
640 | ||
e8930875 JK |
641 | 2011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
642 | ||
643 | Code cleanup. | |
644 | * symtab.c (search_symbols): Reorder the KIND description in the | |
645 | function comment. Remove the unused 4th element of types, types2, | |
646 | types3 and types4. New gdb_assert on KIND. | |
647 | (symtab_symbol_info): Remove the unused 4th element of classnames. | |
648 | New gdb_assert on KIND. | |
649 | * symtab.h (enum search_domain): New warning in the enum comment. | |
650 | Assign numbers to the elements VARIABLES_DOMAIN, FUNCTIONS_DOMAIN and | |
651 | TYPES_DOMAIN. | |
652 | ||
b4f2f049 JK |
653 | 2011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
654 | ||
655 | Fix crash of gdb save-index on a STABS file. | |
656 | * dwarf2read.c (write_psymtabs_to_index): Return also on no | |
657 | PSYMTABS_ADDRMAP. | |
658 | ||
60d5a603 JK |
659 | 2011-04-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
660 | ||
661 | Fix DW_AT_accessibility compatibility with gcc-4.6+. | |
662 | * dwarf2read.c: Include ctype.h. | |
663 | (producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New | |
664 | functions. | |
665 | (dwarf2_add_field): Fix new_field->accessibility by calling | |
666 | dwarf2_default_access_attribute. Restructure setting accessibility | |
667 | vs. virtuality. | |
668 | (dwarf2_add_member_fn): New variable accessibility. Fix fnp | |
669 | is_private and is_protected by calling | |
670 | dwarf2_default_access_attribute. | |
671 | ||
e0f68161 KB |
672 | 2011-04-08 Kevin Buettner <kevinb@redhat.com> |
673 | ||
674 | * rx-tdep.c (rx_frame_unwind): Add default_frame_unwind_stop_reason | |
675 | to the initialization. | |
676 | ||
2e1aae43 SE |
677 | 2011-04-08 Steve Ellcey <sje@cup.hp.com> |
678 | ||
679 | * Add default_frame_unwind_stop_reason value to libunwind_frame_unwind | |
680 | initalization. | |
681 | ||
c6ca3dab PM |
682 | 2011-04-07 Pierre Muller <muller@ics.u-strasbg.fr> |
683 | ||
684 | Remove support for old Cygwin 1.5 versions. | |
685 | * remote-fileio.c: Remove macros used to emulate new cygwin_conv_path | |
686 | function on old Cygwin version. | |
687 | * windows-nat.c: Remove cygwin version check and always define | |
688 | __USEWIDE for Cygwin compilation. | |
689 | ||
bd18283a YQ |
690 | 2011-04-07 Yao Qi <yao@codesourcery.com> |
691 | ||
692 | * arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN | |
693 | and TO. | |
694 | * arm-tdep.c (cleanup_svc): Handle variable instruction size. | |
695 | (arm_copy_svc): Remove parameters INSN and TO. | |
696 | (decode_svc_copro): Update caller. | |
697 | * arm-tdep.h (struct displaced_step_closure): Remove parameters | |
698 | from function pointer `copy_svc_os'. | |
699 | ||
8c8dba6d YQ |
700 | 2011-04-07 Yao Qi <yao@codesourcery.com> |
701 | ||
702 | * arm-tdep.c (cleanup_branch): Set a correct return address in | |
703 | LR for ARM and Thumb. | |
704 | ||
59d7bcaf JK |
705 | 2011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
706 | ||
707 | Code cleanup. | |
708 | * dictionary.c (dict_hash): Use SYMBOL_HASH_NEXT. | |
709 | * dwarf2read.c (mapped_index_string_hash): Refer to SYMBOL_HASH_NEXT | |
710 | in the function comment, a new note on values compatibility. | |
711 | * minsyms.c (msymbol_hash_iw, msymbol_hash): Use SYMBOL_HASH_NEXT. | |
712 | * symtab.h (SYMBOL_HASH_NEXT): New. | |
713 | ||
e7db58ea TJB |
714 | 2011-04-06 Thiago Jung Bauermann <bauerman@br.ibm.com> |
715 | ||
716 | * ppc-linux-nat.c (check_condition): Add len output parameter. | |
717 | Set it based on the memory region referenced in the condition | |
718 | expression. Update all callers. | |
719 | ||
9f743ef6 JK |
720 | 2011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
721 | ||
722 | Fix crash regression on systems featuring .gdb_index. | |
723 | * objfiles.c (free_objfile): Move the | |
724 | forget_cached_source_info_for_objfile call earlier. Comment it. | |
725 | Extend the comment for objfile_free_data. | |
726 | ||
9182c5bc JK |
727 | 2011-04-06 Jan Kratochvil <jan.kratochvil@redhat.com> |
728 | ||
729 | Fix regression of displaying the debug format. | |
730 | * buildsym.c (end_symtab): Set symtab's debugformat and producer from | |
731 | subfile. | |
732 | ||
04bd08de TT |
733 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
734 | ||
735 | * cli/cli-interp.c (struct captured_execute_command_args): | |
736 | Remove. | |
737 | (do_captured_execute_command): Remove. | |
738 | (safe_execute_command): Use TRY_CATCH. | |
739 | * cli/cli-script.c (struct wrapped_read_command_file_args): | |
740 | Remove. | |
741 | (wrapped_read_command_file): Remove. | |
742 | (script_from_file): Use TRY_CATCH. | |
743 | * exceptions.c (catch_exception): Remove. | |
744 | * exceptions.h (catch_exception): Remove. | |
745 | (deprecated_throw_reason): Update comment. | |
746 | * mi/mi-main.c (captured_mi_execute_command): Change 'data' | |
747 | argument to 'context'. | |
748 | (mi_execute_command): Use TRY_CATCH. | |
749 | * remote.c (struct start_remote_args): Remove. | |
750 | (remote_start_remote): Update; change arguments. | |
751 | (remote_open_1): Use TRY_CATCH. | |
752 | ||
58438ac1 TT |
753 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
754 | ||
755 | * tracepoint.c (scope_info): Update. | |
756 | * symtab.c (decode_line_spec): Update. | |
757 | * python/python.c (gdbpy_decode_line): Update. | |
758 | * linespec.h (decode_line_1): Update. | |
759 | * linespec.c (decode_line_1): Remove 'not_found_ptr' argument. | |
760 | (decode_compound, find_method, symtab_from_filename) | |
761 | (decode_variable): Likewise. | |
762 | * cli/cli-cmds.c (edit_command): Update. | |
763 | (list_command): Update. | |
764 | * breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr' | |
765 | argument. | |
766 | (create_breakpoint): Update. | |
767 | (until_break_command): Update. | |
768 | (addr_string_to_sals): Update. | |
769 | (decode_line_spec_1): Update. | |
770 | ||
b78a6381 TT |
771 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
772 | ||
773 | * breakpoint.c (struct captured_parse_breakpoint_args): Remove. | |
774 | (do_captured_parse_breakpoint): Remove. | |
775 | (create_breakpoint): `e' is now volatile. Remove `parse_args'. | |
776 | Use TRY_CATCH directly. | |
777 | ||
00174a86 TT |
778 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
779 | ||
780 | * symtab.h (free_symtab): Remove. | |
781 | (forget_cached_source_info_for_objfile): Declare. | |
782 | * symmisc.c (free_symtab): Remove. | |
783 | * source.c (forget_cached_source_info_for_objfile): New function. | |
784 | (forget_cached_source_info): Use it. | |
785 | * objfiles.c (free_objfile): Simplify check before calling | |
786 | clear_current_source_symtab_and_line. Call | |
787 | forget_cached_source_info_for_objfile. | |
788 | ||
30cc903e TT |
789 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
790 | ||
791 | * mdebugread.c (psymtab_to_symtab_1): Copy linetable to obstack. | |
792 | (new_symtab): Don't set `free_code' on symtab. | |
793 | (new_linetable): Properly handle size==0. | |
794 | * symtab.h (struct symtab) <free_code, free_func>: Remove. | |
795 | * symmisc.c (free_symtab): Don't free the linetable. Don't call | |
796 | free_func. | |
797 | * jv-lang.c (struct jv_per_objfile_data): New. | |
798 | (jv_per_objfile_free): Free the data. | |
799 | (get_dynamics_objfile): Allocate a jv_per_objfile_data. | |
800 | (get_java_class_symtab): Set the `dict' field on the | |
801 | jv_per_objfile_data. | |
802 | (free_class_block): Remove. | |
803 | * buildsym.c (end_symtab): Don't set `free_code' or `free_func' on | |
804 | the symtab. | |
805 | ||
0c2e6019 TT |
806 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
807 | ||
808 | * symfile.c (reread_symbols): Update. | |
809 | * objfiles.h (struct objfile) <cp_namespace_symtab>: Remove | |
810 | field. | |
811 | * objfiles.c (allocate_objfile): Update. | |
812 | * cp-support.h (cp_check_possible_namespace_symbols): Don't | |
813 | declare. | |
814 | * cp-namespace.c (lookup_symbol_file): Don't call | |
815 | lookup_possible_namespace_symbol. | |
816 | (initialize_namespace_symtab, get_possible_namespace_block) | |
817 | (free_namespace_block, cp_check_possible_namespace_symbols) | |
818 | (check_possible_namespace_symbols_loop) | |
819 | (check_one_possible_namespace_symbol) | |
820 | (lookup_possible_namespace_symbol): Remove. | |
821 | (maintenance_cplus_namespace): Replace with notice. | |
822 | (_initialize_cp_namespace): Deprecate `maint cplus namespace'. | |
823 | ||
554d387d TT |
824 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
825 | ||
826 | * xcoffread.c (read_xcoff_symtab): Make `debugfmt' const. | |
827 | * symtab.h (struct symtab) <producer, debugformat>: Now const. | |
828 | * symmisc.c (free_symtab): Don't free debugformat. | |
829 | * buildsym.h (struct subfile) <producer, debugformat>: Now const. | |
830 | (record_debugformat, record_producer): Document. | |
831 | * buildsym.c (end_symtab): Don't save debugformat and producer | |
832 | names on obstack. | |
833 | (end_symtab): Don't free debugformat and producer fields. | |
834 | (record_debugformat): Don't call xstrdup. | |
835 | (record_producer): Likewise. | |
836 | ||
d4d4db8a TT |
837 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
838 | ||
839 | * source.c (find_source_lines): Remove LSEEK_NOT_LINEAR code. | |
840 | (source_line_charpos, source_charpos_line): Remove. | |
841 | ||
8903c50d TT |
842 | 2011-04-04 Tom Tromey <tromey@redhat.com> |
843 | ||
844 | * symtab.h (domain_enum): Split in two... | |
845 | (enum search_domain): New. | |
846 | (search_symbols): Update. | |
847 | * symtab.c (print_symbol_info, symtab_symbol_info): Remove | |
848 | redundant declarations. | |
849 | (search_symbols): Change 'kind' argument to search_domain. | |
850 | Update. | |
851 | (print_symbol_info): Likewise. | |
852 | (symtab_symbol_info): Likewise. | |
853 | * symfile.h (struct quick_symbol_functions) | |
854 | <pre_expand_symtabs_matching>: Change type of 'kind' argument. | |
855 | <expand_symtabs_matching>: Likewise. | |
856 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Update. | |
857 | (expand_symtabs_matching_via_partial): Update. | |
858 | * dwarf2read.c (dw2_pre_expand_symtabs_matching): Update. | |
859 | (dw2_expand_symtabs_for_function): Update. | |
860 | * block.h: Moved anonymous enum... | |
861 | * defs.h (enum block_enum): ... here. Now named. | |
862 | ||
d9351f5f | 863 | 2011-04-03 Joel Brobecker <brobecker@adacore.com> |
864 | ||
865 | GDB 7.3 branch created (branch timestamp: 2011-04-01 01:00 UTC) | |
866 | * version.in: Bump version to 7.3.50.20110403-cvs. | |
867 | ||
d6e00af6 JB |
868 | 2011-04-03 Joel Brobecker <brobecker@adacore.com> |
869 | ||
870 | * NEWS: Create a new section for the next release branch. | |
871 | Rename the section of the current branch, now that it has | |
872 | been cut. | |
873 | ||
2b9e5ea6 UW |
874 | 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
875 | ||
876 | * arm-tdep.c (arm_gdbarch_init): Enfore correct register number | |
877 | for "fpscr" in target description. | |
878 | ||
0cf03b49 JK |
879 | 2011-04-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
880 | ||
881 | * dwarf2read.c (find_slot_in_mapped_hash): New variable back_to, | |
882 | initialize it. Delay HASH initialization. Strip the part after open | |
883 | parenthesis for languages with qualifiers. Call do_cleanups. | |
884 | ||
5d901a73 TT |
885 | 2011-04-01 Tom Tromey <tromey@redhat.com> |
886 | ||
887 | * utils.c (report_command_stats): Don't print `-' for negative | |
888 | number. | |
889 | ||
b0dd7688 JB |
890 | 2011-04-01 Eric Botcazou <ebotcazou@adacore.com> |
891 | ||
892 | * ada-lang.c (ada_is_simple_array_type, ada_value_slice_from_ptr) | |
893 | (ada_value_slice, empty_array, to_fixed_array_type): Deal with | |
894 | typedefs. | |
895 | ||
956a9fb9 JB |
896 | 2011-04-01 Joel Brobecker <brobecker@adacore.com> |
897 | ||
898 | * breakpoint.h (bpdisp_text): Add declaration. | |
899 | * breakpoint.c (bpdisp_text): Make non-static. | |
900 | * ada-lang.c: #include "mi/mi-common.h". | |
901 | (print_it_exception): Rewrite to improve GDB/MI output. | |
902 | ||
3352110b PA |
903 | 2011-04-01 Pedro Alves <pedro@codesourcery.com> |
904 | ||
905 | * arm-tdep.h (struct address_space): Add forward declaration. | |
906 | ||
18819fa6 UW |
907 | 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
908 | ||
909 | * arm-tdep.h (arm_insert_single_step_breakpoint): Add prototype. | |
910 | * arm-tdep.c (arm_override_mode): New global. | |
911 | (arm_pc_is_thumb): Respect arm_override_mode. Remove single-step | |
912 | execution mode heuristics. | |
913 | (thumb_get_next_pc_raw): Remove INSERT_BKTP argument; always insert | |
914 | second single-step breakpoint if needed, using | |
915 | arm_insert_single_step_breakpoint. | |
916 | (arm_get_next_pc_raw): Remove INSERT_BKTP argument. Only handle | |
917 | ARM execution mode, do not call thumb_get_next_pc_raw. | |
918 | (arm_get_next_pc): Encode execution mode in return value. Call | |
919 | either arm_get_next_pc_raw or thumb_get_next_pc_raw. | |
920 | (arm_insert_single_step_breakpoint): New function. | |
921 | (arm_software_single_step): Call it. | |
922 | * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): Add IS_THUMB | |
923 | argument to return execution mode of sigreturn target. | |
924 | (arm_linux_syscall_next_pc): Use it. | |
925 | (arm_linux_copy_svc): Update call. | |
926 | (arm_linux_software_single_step): Call | |
927 | arm_insert_single_step_breakpoint. | |
928 | ||
a6e293d1 JK |
929 | 2011-03-31 Jan Kratochvil <jan.kratochvil@redhat.com> |
930 | ||
931 | * dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in | |
932 | the comment. | |
933 | ||
a4c8e806 TT |
934 | 2011-03-31 Tom Tromey <tromey@redhat.com> |
935 | ||
936 | * varobj.c (update_dynamic_varobj_children): Properly handle | |
937 | errors from iterator. | |
938 | ||
df5c6c50 JK |
939 | 2011-03-31 Jan Kratochvil <jan.kratochvil@redhat.com> |
940 | ||
941 | * dwarf2read.c (dwarf2_name): Initialize DEMANGLED. Avoid demangling | |
942 | struct linkage name twice. | |
943 | ||
1dae3efc TT |
944 | 2011-03-31 Tom Tromey <tromey@redhat.com> |
945 | ||
946 | * python/py-prettyprint.c (print_stack_unless_memory_error): Add | |
947 | missing ">" to message. | |
948 | ||
f4f7ab05 TT |
949 | 2011-03-31 Tom Tromey <tromey@redhat.com> |
950 | ||
951 | * varobj.c (instantiate_pretty_printer): Remove duplicate | |
952 | 'return'. | |
953 | ||
fcf250e2 UW |
954 | 2011-03-31 Ulrich Weigand <ulrich.weigand@linaro.org> |
955 | ||
956 | * i386-tdep.c (i386_frame_prev_register): Unwind SP from memory | |
957 | if neither saved value nor register available (e.g. signal frame). | |
958 | ||
ee6436e3 TJB |
959 | 2011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
960 | ||
961 | * macroexp.c (expand): Avoid uninitialized variable | |
962 | compiler warning. | |
963 | ||
423f41a5 TJB |
964 | 2011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
965 | ||
966 | * breakpoint.c (break_range_command): Fix typo in comment. | |
967 | ||
f1310107 TJB |
968 | 2011-03-31 Thiago Jung Bauermann <bauerman@br.ibm.com> |
969 | Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> | |
970 | ||
971 | Implement support for PowerPC BookE ranged breakpoints. | |
972 | * NEWS: Mention support for ranged breakpoints on embedded PowerPC. | |
973 | * breakpoint.h (struct bp_target_info) <length>: New member | |
974 | variable. | |
975 | (struct breakpoint_ops) <breakpoint_hit>: Take struct bp_location | |
976 | instead of struct breakpoint as argument, and also add ASPACE | |
977 | and BP_ADDR arguments. Update all callers. | |
978 | (struct breakpoint_ops) <print_one_detail>: New method. | |
979 | (struct breakpoint) <addr_string_range_end>: New member variable. | |
980 | * breakpoint.c (breakpoint_location_address_match): Add function | |
981 | prototype. | |
982 | (insert_bp_location): Set bl->target_info.length. | |
983 | (breakpoint_here_p): Call breakpoint_location_address_match. | |
984 | (moribund_breakpoint_here_p): Likewise. | |
985 | (regular_breakpoint_inserted_here_p): Likewise. | |
986 | (breakpoint_thread_match): Likewise. | |
987 | (bpstat_stop_status): Likewise. | |
988 | (bpstat_check_location): Move call to | |
989 | breakpoint_ops.breakpoint_hit to the top. | |
990 | (print_one_breakpoint_location): Call | |
991 | breakpoint_ops.print_one_detail if available. | |
992 | (breakpoint_address_match_range): New function. | |
993 | (breakpoint_location_address_match): Likewise. | |
994 | (breakpoint_locations_match): Compare the length field of the | |
995 | locations too. | |
996 | (hw_breakpoint_used_count): Count resources used by all locations | |
997 | in a breakpoint, and use breakpoint_ops.resources_needed if | |
998 | available. | |
999 | (breakpoint_hit_ranged_breakpoint): New function. | |
1000 | (resources_needed_ranged_breakpoint): Likewise. | |
1001 | (print_it_ranged_breakpoint): Likewise. | |
1002 | (print_one_ranged_breakpoint): Likewise. | |
1003 | (print_one_detail_ranged_breakpoint): Likewise. | |
1004 | (print_mention_ranged_breakpoint): Likewise. | |
1005 | (print_recreate_ranged_breakpoint): Likewise. | |
1006 | (ranged_breakpoint_ops): New structure. | |
1007 | (find_breakpoint_range_end): New function. | |
1008 | (break_range_command): Likewise. | |
1009 | (delete_breakpoint): Free addr_string_range_end. | |
1010 | (update_breakpoint_locations): Add SALS_END argument. Update | |
1011 | all callers. Calculate breakpoint length if a non-zero SALS_END | |
1012 | is given. Call breakpoint_locations_match instead of | |
1013 | breakpoint_address_match. | |
1014 | (reset_breakpoint): Find SaL of the end of the range if B is a | |
1015 | ranged breakpoint. | |
1016 | (_initialize_breakpoint): Register break-range command. | |
1017 | * defs.h (print_core_address): Add function prototype. | |
1018 | * ppc-linux-nat.c (ppc_linux_ranged_break_num_registers): New | |
1019 | function. | |
1020 | (ppc_linux_insert_hw_breakpoint): Support ranged breakpoints. | |
1021 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
1022 | (_initialize_ppc_linux_nat): Initialize | |
1023 | to_ranged_break_num_registers. | |
1024 | * target.c (update_current_target): Add comment about | |
1025 | to_ranged_break_num_registers. | |
1026 | (target_ranged_break_num_registers): New function. | |
1027 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
1028 | New method. | |
1029 | (target_ranged_break_num_registers): Add function prototype. | |
1030 | * ui-out.c (ui_out_field_core_addr): Move address-printing logic to ... | |
1031 | * utils.c (print_core_address): ... here. | |
1032 | ||
02d20e4a UW |
1033 | 2011-03-31 Ulrich Weigand <uweigand@de.ibm.com> |
1034 | ||
1035 | * breakpoint.c (addr_string_to_sals): Avoid uninitialized | |
1036 | variable compiler warning. | |
1037 | ||
ef23e705 TJB |
1038 | 2011-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1039 | ||
1040 | * breakpoint.c (breakpoint_re_set_one): Factor out breakpoint-resetting | |
1041 | code from here ... | |
1042 | (re_set_breakpoint): ... to here ... | |
1043 | (addr_string_to_sals): ... and here. | |
1044 | ||
311e6ab3 PM |
1045 | 2011-03-29 Pierre Muller <muller@ics.u-strasbg.fr> |
1046 | ||
1047 | * Makefile.in (SFILES): Add missing C sources. | |
1048 | (HFILES_NO_SRCDIR): Remove gdbserver subdirectory headers. | |
1049 | Add missing headers. | |
1050 | ||
acd1d99c MF |
1051 | 2011-03-29 Mike Frysinger <vapier@gentoo.org> |
1052 | ||
1053 | * .gitignore: New file. | |
1054 | ||
66ee2731 MF |
1055 | 2011-03-29 Mike Frysinger <vapier@gentoo.org> |
1056 | ||
1057 | * NEWS: Mention new cfi device simulation. | |
1058 | ||
53832f31 TT |
1059 | 2011-03-29 Tom Tromey <tromey@redhat.com> |
1060 | ||
1061 | * dwarf2read.c (fixup_partial_die): Handle linkage name on | |
1062 | otherwise anonymous types. | |
1063 | (dwarf2_name): Likewise. | |
1064 | * valops.c (value_struct_elt_for_reference): Refine artificial | |
1065 | type logic. Call error if j==-1. | |
1066 | ||
09b58708 JK |
1067 | 2011-03-29 Andreas Tobler <andreast-list@fgznet.ch> |
1068 | ||
1069 | Fix false GCC warning. | |
1070 | * infcall.c (find_function_addr): Initialize funaddr. | |
1071 | ||
6023c606 PM |
1072 | 2011-03-29 Pierre Muller <muller@ics.u-strasbg.fr> |
1073 | ||
1074 | Fix mingw compilation with --enable-targets=all. | |
1075 | * remote-mips.c (gdb_usleep.h): Include header. | |
1076 | (mips_enter_debug): Use gdb_usleep instead of sleep. | |
1077 | ||
0e30163f JK |
1078 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
1079 | ||
1080 | Support resolution of STT_GNU_IFUNC via breakpoints. | |
1081 | * breakpoint.c (print_it_typical): Support bp_gnu_ifunc_resolver and | |
1082 | bp_gnu_ifunc_resolver_return. | |
1083 | (bpstat_what): Rename parameter to bs_head, new variable bs, adjust | |
1084 | the loop. Support bp_gnu_ifunc_resolver and | |
1085 | bp_gnu_ifunc_resolver_return. New comment after the loop. New loop | |
1086 | for bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return | |
1087 | breakpoints. | |
1088 | (bptype_string, print_one_breakpoint_location): Support | |
1089 | bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. | |
1090 | (user_settable_breakpoint): Return true also for | |
1091 | bp_gnu_ifunc_resolver. | |
1092 | (allocate_bp_location): Support bp_gnu_ifunc_resolver and | |
1093 | bp_gnu_ifunc_resolver_return. | |
1094 | (set_breakpoint_location_function): New parameter explicit_loc, | |
1095 | describe it. Call find_pc_partial_function_gnu_ifunc with new | |
1096 | variable IS_GNU_IFUNC and adjust the address for STT_GNU_IFUNC if | |
1097 | EXPLICIT_LOC is not set. | |
1098 | (set_raw_breakpoint): Set EXPLICIT_LOC for | |
1099 | set_breakpoint_location_function. | |
1100 | (clone_momentary_breakpoint): Use true for EXPLICIT_LOC of | |
1101 | set_breakpoint_location_function. | |
1102 | (mention): Support bp_gnu_ifunc_resolver and | |
1103 | bp_gnu_ifunc_resolver_return. | |
1104 | (add_location_to_breakpoint): Set EXPLICIT_LOC for | |
1105 | set_breakpoint_location_function. | |
1106 | (update_breakpoint_locations): Remove static. | |
1107 | (breakpoint_re_set_one): Support bp_gnu_ifunc_resolver and | |
1108 | bp_gnu_ifunc_resolver_return. | |
1109 | * breakpoint.h (enum bptype): New fields bp_gnu_ifunc_resolver and | |
1110 | bp_gnu_ifunc_resolver_return. | |
1111 | (update_breakpoint_locations): New declaration. | |
1112 | * elfread.c: Include gdbthread.h and regcache.h. | |
1113 | (elf_gnu_ifunc_resolver_stop, elf_gnu_ifunc_resolver_return_stop): New | |
1114 | functions. | |
1115 | (elf_gnu_ifunc_fns): Install them. | |
1116 | * minsyms.c (stub_gnu_ifunc_resolver_stop) | |
1117 | (stub_gnu_ifunc_resolver_return_stop): New functions. | |
1118 | (stub_gnu_ifunc_fns): Install them. | |
1119 | * symtab.h (struct gnu_ifunc_fns): New fields gnu_ifunc_resolver_stop | |
1120 | and gnu_ifunc_resolver_return_stop. | |
1121 | (gnu_ifunc_resolver_stop, gnu_ifunc_resolver_return_stop): New. | |
1122 | ||
07be84bf JK |
1123 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
1124 | ||
1125 | STT_GNU_IFUNC reader implementation. | |
1126 | * elfread.c: Include gdbtypes.h, value.h and infcall.h. | |
1127 | (SYMBOL_GOT_PLT_SUFFIX, elf_rel_plt_read) | |
1128 | (elf_objfile_gnu_ifunc_cache_data, struct elf_gnu_ifunc_cache) | |
1129 | (elf_gnu_ifunc_cache_hash, elf_gnu_ifunc_cache_eq) | |
1130 | (elf_gnu_ifunc_record_cache, elf_gnu_ifunc_resolve_by_cache) | |
1131 | (elf_gnu_ifunc_resolve_by_got, elf_gnu_ifunc_resolve_name) | |
1132 | (elf_gnu_ifunc_resolve_addr): New. | |
1133 | (elf_symfile_read): Call elf_rel_plt_read. | |
1134 | (elf_gnu_ifunc_fns): New. | |
1135 | (_initialize_elfread): Initialize elf_objfile_gnu_ifunc_cache_data. | |
1136 | Install elf_gnu_ifunc_fns. | |
1137 | * infcall.c (find_function_return_type): New function. | |
1138 | (find_function_addr): Resolve TYPE_GNU_IFUNC functions, if possible. | |
1139 | * minsyms.c (stub_gnu_ifunc_resolve_addr) | |
1140 | (stub_gnu_ifunc_resolve_name): New functions. | |
1141 | (stub_gnu_ifunc_fns, gnu_ifunc_fns_p): New variables. | |
1142 | * symtab.h (struct gnu_ifunc_fns, gnu_ifunc_resolve_addr) | |
1143 | (gnu_ifunc_resolve_name, gnu_ifunc_fns_p): New. | |
1144 | ||
300f8e10 JK |
1145 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
1146 | ||
1147 | Code cleanup for later STT_GNU_IFUNC support. | |
1148 | * infcall.c (find_function_addr): Remove variable code, use explicit | |
1149 | dereferences for it. Move VALUE_TYPE initialization later. | |
1150 | ||
11c81455 JK |
1151 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
1152 | ||
1153 | GDB find_pc_partial_function support for STT_GNU_IFUNC. | |
1154 | * blockframe.c (cache_pc_function_is_gnu_ifunc): New variable. | |
1155 | (clear_pc_function_cache): Clear it. | |
1156 | (find_pc_partial_function): Rename to ... | |
1157 | (find_pc_partial_function_gnu_ifunc): ... this function. New | |
1158 | parameter is_gnu_ifunc_p, describe it. Set *IS_GNU_IFUNC_P. | |
1159 | (find_pc_partial_function): New wrapper for this function. | |
1160 | * symtab.h (find_pc_partial_function_gnu_ifunc): New declaration. | |
1161 | ||
0875794a JK |
1162 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
1163 | ||
1164 | GDB internal type support for STT_GNU_IFUNC. | |
1165 | * elfread.c (record_minimal_symbol): Support mst_text_gnu_ifunc. | |
1166 | (elf_symtab_read): Set mst_text_gnu_ifunc for | |
1167 | BSF_GNU_INDIRECT_FUNCTION. | |
1168 | * eval.c (evaluate_subexp_standard): Support TYPE_GNU_IFUNC. | |
1169 | * gdbtypes.c (init_type): Support TYPE_FLAG_GNU_IFUNC, | |
1170 | builtin_func_func, nodebug_text_gnu_ifunc_symbol and | |
1171 | nodebug_got_plt_symbol. | |
1172 | * gdbtypes.h (enum type_flag_value): New entry TYPE_FLAG_GNU_IFUNC. | |
1173 | (TYPE_GNU_IFUNC): New. | |
1174 | (struct main_type): New field flag_gnu_ifunc. | |
1175 | (struct builtin_type): New field builtin_func_func. | |
1176 | (struct objfile_type): New fields nodebug_text_gnu_ifunc_symbol and | |
1177 | nodebug_got_plt_symbol. | |
1178 | * minsyms.c (lookup_minimal_symbol_text): Support mst_text_gnu_ifunc. | |
1179 | (in_gnu_ifunc_stub): New. | |
1180 | (prim_record_minimal_symbol, find_solib_trampoline_target): Support | |
1181 | mst_text_gnu_ifunc. | |
1182 | * parse.c (write_exp_msymbol): New variable ifunc_msym. Detect and | |
1183 | support mst_text_gnu_ifunc. Support mst_slot_got_plt. | |
1184 | * solib-svr4.c (svr4_in_dynsym_resolve_code): Return true also for | |
1185 | in_gnu_ifunc_stub. | |
1186 | * symmisc.c (dump_msymbols): Support mst_text_gnu_ifunc. | |
1187 | * symtab.c (search_symbols): Likewise. | |
1188 | * symtab.h (enum minimal_symbol_type): New fields mst_text_gnu_ifunc | |
1189 | and mst_slot_got_plt. | |
1190 | (in_gnu_ifunc_stub): New declaration. | |
1191 | ||
d0fb5eae JK |
1192 | 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
1193 | ||
1194 | Support a ring of related breakpoints. | |
1195 | * breakpoint.c (watchpoint_del_at_next_stop): New, move here code from | |
1196 | other functions, add gdb_assert. | |
1197 | (update_watchpoint, watchpoint_check): Add gdb_assert. Use | |
1198 | watchpoint_del_at_next_stop. | |
1199 | (bpstat_check_watchpoint): Use watchpoint_del_at_next_stop. | |
1200 | (bpstat_stop_status): Handle ring in related_breakpoint. | |
1201 | (set_raw_breakpoint_without_location): Initialize ring in | |
1202 | related_breakpoint. | |
1203 | (delete_breakpoint): Handle ring in related_breakpoint, use | |
1204 | watchpoint_del_at_next_stop. | |
1205 | (map_breakpoint_numbers): Handle ring in related_breakpoint. | |
1206 | ||
9cded63f TT |
1207 | 2011-03-28 Tom Tromey <tromey@redhat.com> |
1208 | ||
1209 | PR symtab/12441: | |
1210 | * dwarf2read.c (prepare_one_comp_unit): Don't call set_cu_language | |
1211 | with `language_minimal'. | |
1212 | ||
467d42c4 UW |
1213 | 2011-03-25 Ulrich Weigand <ulrich.weigand@linaro.org> |
1214 | ||
1215 | * arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE | |
1216 | instead of checking for STT_ARM_TFUNC symbol type. | |
1217 | ||
62853458 TT |
1218 | 2011-03-25 Tom Tromey <tromey@redhat.com> |
1219 | ||
1220 | * linespec.c (symbol_found): Restore line-based result for | |
1221 | non-LOC_LABEL symbols. | |
1222 | ||
a7417d46 KT |
1223 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
1224 | ||
1225 | * tui/tui-source.c (tui_set_source_content): Use filename_cmp | |
1226 | instead of strcmp for comparison. | |
1227 | (tui_source_is_displayed): Likewise. | |
1228 | * tui/tui-winsource.c (tui_update_breakpoint_info): Likewise. | |
1229 | ||
55f1336d TT |
1230 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
1231 | ||
f33edef8 PP |
1232 | * dwarf2read.c (lookup_signatured_type): Use DW_FORM_ref_sig8 in |
1233 | complaint. | |
1234 | (skip_one_die): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
1235 | (find_partial_die_in_comp_unit): Likewise in comment. | |
1236 | (read_attribute_value): Likewise. | |
1237 | (lookup_die_type): Likewise. | |
1238 | (dwarf_form_name): Likewise. | |
1239 | (dump_die_shallow): Likewise. | |
1240 | (follow_die_ref_or_sig): Likewise. | |
55f1336d | 1241 | |
9ef07c8c TT |
1242 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
1243 | ||
1244 | PR breakpoints/11816: | |
1245 | * linespec.c (decode_line_1): Parse `function:label' linespecs. | |
1246 | (decode_compound): Update. | |
1247 | (find_function_symbol): New function. | |
1248 | (decode_dollar): Update. | |
1249 | (decode_label): Add 'function_symbol' parameter. Handle | |
1250 | function-relative labels. | |
1251 | (decode_variable): Update. | |
1252 | (symbol_found): Add 'function_symbol' parameter. Use label's PC, | |
1253 | not its line. Set `special_display' and canonical name for | |
1254 | labels. | |
1255 | ||
56435ebe TT |
1256 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
1257 | ||
1258 | * linespec.h (struct linespec_result) <special_display>: New | |
1259 | field. | |
1260 | * breakpoint.h (struct breakpoint) <display_canonical>: New | |
1261 | field. | |
1262 | * breakpoint.c (print_breakpoint_location): Respect | |
1263 | display_canonical. | |
1264 | (create_breakpoint_sal): Add 'display_canonical' parameter. | |
1265 | (create_breakpoints_sal): Update. | |
1266 | (create_breakpoint): Update. | |
1267 | ||
7efd8fc2 TT |
1268 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
1269 | ||
1270 | * symtab.c (decode_line_spec): Update. | |
1271 | * linespec.c (build_canonical_line_spec): Change type of | |
1272 | 'canonical'. | |
1273 | (decode_line_2, decode_line_1, decode_objc, decode_compound) | |
1274 | (find_method, decode_all_digits, decode_dollar, decode_label) | |
1275 | (symbol_found): Likewise. | |
1276 | (init_linespec_result): New function. | |
1277 | * breakpoint.c (struct captured_parse_breakpoint_args) | |
1278 | <canonical_p>: New field, replaces addr_string_p. | |
1279 | (create_breakpoints_sal): Add 'canonical' parameter, replacing | |
1280 | 'addr_string'. | |
1281 | (parse_breakpoint_sals): Likewise. | |
1282 | (do_captured_parse_breakpoint): Update. | |
1283 | (create_breakpoint): Use struct linespec_result. | |
1284 | (until_break_command): Update. | |
1285 | (breakpoint_re_set_one): Update. | |
1286 | (decode_line_spec_1): Update. | |
1287 | * linespec.h (struct linespec_result): New. | |
1288 | (init_linespec_result): Declare. | |
1289 | ||
788c8b10 PA |
1290 | 2011-03-23 Pedro Alves <pedro@codesourcery.com> |
1291 | ||
1292 | * regcache.c (regcache_raw_read): If the target didn't supply a | |
1293 | given raw register, mark it as unavailable. | |
1294 | ||
0ba1096a KT |
1295 | 2011-03-23 Kai Tietz <ktietz@redhat.com> |
1296 | ||
1297 | * breakpoint.c (clear_command): Use filename_cmp | |
1298 | instead of strcmp for comparison. | |
1299 | * buildsym.c (watch_main_source_file_lossage): Likewise. | |
1300 | (patch_subfile_names): Use IS_DIR_SEPARATOR instead of | |
1301 | checking just for slash. | |
1302 | * dbxread.c (read_dbx_symtab): Use lbasename instead of | |
1303 | strrchr and filename_cmp instead of strcmp for filenames. | |
1304 | (add_old_header_file): Use filename_cmp | |
1305 | instead of strcmp for comparison. | |
1306 | * exec.c (exec_set_section_address): Likewise. | |
1307 | * macrotab.c (macro_lookup_inclusion): Likewise. | |
1308 | (macro_lookup_inclusion): Likewise. | |
1309 | * elfread.c (_initialize_elfread): Likewise. | |
1310 | (elfstab_offset_sections): Likewise. | |
1311 | (elfstab_offset_sections): Use lbasename instead of | |
1312 | strrchr. | |
1313 | * mdebugread.c (parse_partial_symbols): Likewise. | |
1314 | (arse_partial_symbols): Use filename_(n)cmp instead of | |
1315 | str(n)cmp for comparison. | |
1316 | * minsyms.c (lookup_minimal_symbol): Likewise. | |
1317 | * psymtab.c (read_psymtabs_with_filename): Likewise. | |
1318 | * solib.c (solib_read_symbols): Likewise. | |
1319 | (reload_shared_libraries_1): Likewise. | |
1320 | * symmisc.c (maintenance_print_symbols): Likewise. | |
1321 | * symfile.c (separate_debug_file_exists): Likewise. | |
1322 | (reread_symbols): Likewise. | |
1323 | (find_separate_debug_file_by_debuglink): Likewise. | |
1324 | * remote-fileio.c (remote_fileio_func_rename): Likewise. | |
1325 | * source.c (add_path): Likewise. | |
1326 | * symtab.c (filename_seen): Likewise. | |
1327 | (file_matches): Likewise. | |
1328 | (print_symbol_info): Likewise. | |
1329 | (maybe_add_partial_symtab_filename): Likewise. | |
1330 | (make_source_files_completion_list): Likewise. | |
1331 | * xml-syscall.c (init_sysinfo): Likewise. | |
1332 | * windows-nat.c (_initialize_check_for_gdb_ini): Use | |
1333 | IS_DIR_SEPARATOR for checking for trailing path separator. | |
1334 | ||
dd90784c JK |
1335 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
1336 | ||
1337 | * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_entry_value. New | |
1338 | label abort_expression. | |
1339 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle | |
1340 | DWARF_VALUE_OPTIMIZED_OUT. | |
1341 | ||
3167638f JK |
1342 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
1343 | ||
1344 | Code cleanup. | |
1345 | * c-typeprint.c (c_type_print_args): Change parameter show_artificial | |
1346 | to linkage_name. Invert its value. Update the function comment. | |
1347 | (c_type_print_varspec_suffix): Invert it at the caller. | |
1348 | * dwarf2read.c (dwarf2_compute_name): Invert it at the caller. | |
1349 | ||
ce406537 PA |
1350 | 2011-03-22 Pedro Alves <pedro@codesourcery.com> |
1351 | ||
1352 | * infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR | |
1353 | errors when reading the `stop_pc'. | |
1354 | * printcmd.c (pc_prefix): Use get_frame_pc_if_available instead of | |
1355 | get_frame_pc. | |
1356 | ||
da5d4055 PM |
1357 | 2011-03-22 Phil Muldoon <pmuldoon@redhat.com> |
1358 | ||
1359 | * NEWS: Document gdb.Write stream keyword. | |
1360 | ||
29e0eb9c JK |
1361 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
1362 | ||
1363 | Revert: | |
1364 | 2011-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> | |
1365 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
1366 | (dwarf2_add_field): Fix new_field->accessibility for | |
1367 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
1368 | ||
05775840 PM |
1369 | 2011-03-22 Phil Muldoon <pmuldoon@redhat.com> |
1370 | ||
f33edef8 | 1371 | PR python/12183 |
05775840 PM |
1372 | |
1373 | * python/py-function.c (fnpy_call): Treat GdbErrors differently to | |
1374 | other error classes. Do not print stack trace. | |
1375 | ||
a0cb7835 JK |
1376 | 2011-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
1377 | ||
1378 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
1379 | (dwarf2_add_field): Fix new_field->accessibility for | |
1380 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
1381 | ||
d19f7eee UW |
1382 | 2011-03-21 Ulrich Weigand <ulrich.weigand@linaro.org> |
1383 | ||
1384 | * arm-tdep.c (arm_analyze_prologue): Do not abort parsing when | |
1385 | encountering a load via a non-SP register. | |
1386 | ||
4a2fbb50 UW |
1387 | 2011-03-21 Ulrich Weigand <uweigand@de.ibm.com> |
1388 | ||
1389 | * tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason | |
1390 | field in returned unwinder. | |
1391 | ||
3489610d JB |
1392 | 2012-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
1393 | ||
1394 | * ada-lang.c (replace_operator_with_call): Copy also GDBARCH. | |
1395 | ||
8c1a34e7 JB |
1396 | 2012-03-21 Joel Brobecker <brobecker@adacore.com> |
1397 | ||
1398 | * ada-lang.c (replace_operator_with_call): Use xzalloc instead | |
1399 | of xmalloc. | |
1400 | ||
8fbca658 PA |
1401 | 2012-03-18 Pedro Alves <pedro@codesourcery.com> |
1402 | ||
1403 | * frame.c (frame_unwind_register): Throw an error if unwinding the | |
1404 | register failed. | |
1405 | * get_prev_frame_1 (get_prev_frame_1): Ask the unwinder if there's | |
1406 | an unwind stop reason. | |
1407 | (frame_stop_reason_string): Handle UNWIND_UNAVAILABLE. | |
1408 | * frame.h (enum unwind_stop_reason) <UNWIND_OUTERMOST, | |
1409 | UNWIND_UNAVAILABLE>: New. | |
1410 | * inline-frame.c (inline_frame_unwind): Install | |
1411 | default_frame_unwind_stop_reason. | |
1412 | * frame-unwind.c: Include "exceptions.h". | |
1413 | (frame_unwind_find_by_frame): Swallow NOT_AVAILABLE_ERROR errors. | |
1414 | (default_frame_unwind_stop_reason): New. | |
1415 | * frame-unwind.h (frame_unwind_stop_reason_ftype): New typedef. | |
1416 | (default_frame_unwind_stop_reason): Declare. | |
1417 | (struct frame_unwind) <stop_reason>: New function pointer. | |
1418 | ||
1419 | * dummy-frame.c: Install default_frame_unwind_stop_reason. | |
1420 | * dwarf2-frame.c: Include exceptions.h. | |
1421 | (struct dwarf2_frame_cache) <unavailable_retaddr>: New field. | |
1422 | (dwarf2_frame_cache): Swallow NOT_AVAILABLE_ERROR errors when | |
1423 | computing the CFA. If such an error was thrown, set | |
1424 | unavailable_retaddr. | |
1425 | (dwarf2_frame_unwind_stop_reason): New. | |
1426 | (dwarf2_frame_this_id): Don't build a frame id if the CFA was | |
1427 | unavailable. | |
1428 | (dwarf2_frame_unwind): Install dwarf2_frame_unwind_stop_reason. | |
1429 | (dwarf2_signal_frame_unwind): Ditto. | |
1430 | ||
1431 | * amd64-tdep.c: Include "exceptions.h". | |
1432 | (struct amd64_frame_cache): New field "base_p". | |
1433 | (amd64_init_frame_cache): Clear it. | |
1434 | (amd64_frame_cache_1): New, factored out from amd64_frame_cache. | |
1435 | Avoid reading registers with functions that throw if the register | |
1436 | is not necessary to compute the frame base. | |
1437 | (amd64_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
1438 | swallowing NOT_AVAILABLE_ERROR. | |
1439 | (amd64_frame_unwind_stop_reason): New. | |
1440 | (amd64_frame_this_id): Don't build a frame id if the frame base | |
1441 | was unavailable. | |
1442 | (amd64_frame_unwind): Install amd64_frame_unwind_stop_reason. | |
1443 | (amd64_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
1444 | base_p if the frame base was computable. | |
1445 | (amd64_sigtramp_frame_unwind_stop_reason): New. | |
1446 | (amd64_sigtramp_frame_this_id): Don't build a frame id if the | |
1447 | frame base was unavailable. | |
1448 | (amd64_sigtramp_frame_unwind): Install | |
1449 | amd64_sigtramp_frame_unwind_stop_reason. | |
1450 | (amd64_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
1451 | base_p if the frame base was computable. | |
1452 | (amd64_epilogue_frame_unwind_stop_reason): New. | |
1453 | (amd64_epilogue_frame_this_id): Don't build a frame id if the | |
1454 | frame base was unavailable. | |
1455 | (amd64_epilogue_frame_unwind): Install | |
1456 | amd64_epilogue_frame_unwind_stop_reason. | |
1457 | * i386-tdep.c: Include "exceptions.h". | |
1458 | (struct i386_frame_cache): New field "base_p". | |
1459 | (i386_init_frame_cache): Clear it. | |
1460 | (i386_frame_cache_1): New, factored out from amd64_frame_cache. | |
1461 | Avoid reading registers with functions that throw if the register | |
1462 | is not necessary to compute the frame base. | |
1463 | (i386_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
1464 | swallowing NOT_AVAILABLE_ERROR. | |
1465 | (i386_frame_unwind_stop_reason): New. | |
1466 | (i386_frame_this_id): Don't build a frame id if the frame base was | |
1467 | unavailable. | |
1468 | (i386_frame_prev_register): Handle unavailable SP. | |
1469 | (i386_frame_unwind): Install i386_frame_unwind_stop_reason. | |
1470 | (i386_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
1471 | base_p if the frame base was computable. | |
1472 | (i386_epilogue_frame_unwind_stop_reason): New. | |
1473 | (i386_epilogue_frame_this_id): Don't build a frame id if the frame | |
1474 | base was unavailable. | |
1475 | (i386_epilogue_frame_unwind): Install | |
1476 | i386_epilogue_frame_unwind_stop_reason. | |
1477 | (i386_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
1478 | base_p if the frame base was computable. | |
1479 | (i386_sigtramp_frame_unwind_stop_reason): New. | |
1480 | (i386_sigtramp_frame_this_id): Don't build a frame id if the frame | |
1481 | base was unavailable. | |
1482 | (i386_sigtramp_frame_unwind): Install | |
1483 | i386_sigtramp_frame_unwind_stop_reason. | |
1484 | * sentinel-frame.c (sentinel_frame_prev_register): Use the value | |
1485 | type's size, not the register's. | |
1486 | (sentinel_frame_unwind): Install default_frame_unwind_stop_reason. | |
1487 | ||
1488 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind): Install | |
1489 | default_frame_unwind_stop_reason. | |
1490 | * alpha-tdep.c (alpha_sigtramp_frame_unwind) | |
1491 | (alpha_heuristic_frame_unwind): Ditto. | |
1492 | * amd64obsd-tdep.c (amd64obsd_trapframe_unwind): Ditto. | |
1493 | * arm-tdep.c (arm_prologue_unwind, arm_stub_unwind): Ditto. | |
1494 | * avr-tdep.c (avr_frame_unwind): Ditto. | |
1495 | * cris-tdep.c (cris_sigtramp_frame_unwind, cris_frame_unwind): | |
1496 | Ditto. | |
1497 | * frv-linux-tdep.c (frv_linux_sigtramp_frame_unwind): Ditto. | |
1498 | * frv-tdep.c (frv_frame_unwind): Ditto. | |
1499 | * h8300-tdep.c (h8300_frame_unwind): Ditto. | |
1500 | * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind): Ditto. | |
1501 | * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind): Ditto. | |
1502 | * hppa-tdep.c (hppa_frame_unwind, hppa_fallback_frame_unwind) | |
1503 | (hppa_stub_frame_unwind): Ditto. | |
1504 | * i386obsd-tdep.c (i386obsd_trapframe_unwind): Ditto. | |
1505 | * ia64-tdep.c (ia64_frame_unwind, ia64_sigtramp_frame_unwind) | |
1506 | (ia64_libunwind_frame_unwind) | |
1507 | (ia64_libunwind_sigtramp_frame_unwind): Ditto. | |
1508 | * iq2000-tdep.c (iq2000_frame_unwind): Ditto. | |
1509 | * lm32-tdep.c (lm32_frame_unwind): Ditto. | |
1510 | * m32c-tdep.c (m32c_unwind): Ditto. | |
1511 | * m32r-linux-tdep.c (m32r_linux_sigtramp_frame_unwind): Ditto. | |
1512 | * m32r-tdep.c (m32r_frame_unwind): Ditto. | |
1513 | * m68hc11-tdep.c (m68hc11_frame_unwind): Ditto. | |
1514 | * m68k-tdep.c (m68k_frame_unwind): Ditto. | |
1515 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_unwind): Ditto. | |
1516 | * m88k-tdep.c (m88k_frame_unwind): Ditto. | |
1517 | * mep-tdep.c (mep_frame_unwind): Ditto. | |
1518 | * microblaze-tdep.c (microblaze_frame_unwind): Ditto. | |
1519 | * mips-tdep.c (mips_insn16_frame_unwind, mips_insn32_frame_unwind) | |
1520 | (mips_stub_frame_unwind): Ditto. | |
1521 | * mn10300-tdep.c (mn10300_frame_unwind): Ditto. | |
1522 | * moxie-tdep.c (moxie_frame_unwind): Ditto. | |
1523 | * mt-tdep.c (mt_frame_unwind): Ditto. | |
1524 | * ppc-linux-tdep.c (ppu2spu_unwind): Ditto. | |
1525 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_unwind): Ditto. | |
1526 | * rs6000-tdep.c (rs6000_frame_unwind): Ditto. | |
1527 | * s390-tdep.c (s390_frame_unwind, s390_stub_frame_unwind) | |
1528 | (s390_sigtramp_frame_unwind): Ditto. | |
1529 | * score-tdep.c (score_prologue_unwind): Ditto. | |
1530 | * sh-tdep.c (sh_frame_unwind): Ditto. | |
1531 | * sh64-tdep.c (sh64_frame_unwind): Ditto. | |
1532 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_unwind): Ditto. | |
1533 | * sparc-tdep.c (sparc32_frame_unwind): Ditto. | |
1534 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind): Ditto. | |
1535 | * sparc64-tdep.c (sparc64_frame_unwind): Ditto. | |
1536 | * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_unwind): Ditto. | |
1537 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_unwind): Ditto. | |
1538 | * sparc64obsd-tdep.c (sparc64obsd_frame_unwind) | |
1539 | (sparc64obsd_trapframe_unwind): Ditto. | |
1540 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_unwind): Ditto. | |
1541 | * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_unwind): Ditto. | |
1542 | * spu-tdep.c (spu_frame_unwind, spu2ppu_unwind): Ditto. | |
1543 | * v850-tdep.c (v850_frame_unwind): Ditto. | |
1544 | * vax-tdep.c (vax_frame_unwind): Ditto. | |
1545 | * vaxobsd-tdep.c (vaxobsd_sigtramp_frame_unwind): Ditto. | |
1546 | * xstormy16-tdep.c (frame_unwind xstormy16_frame_unwind): Ditto. | |
1547 | * xtensa-tdep.c (xtensa_unwind): Ditto. | |
1548 | ||
f23d1b92 PA |
1549 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
1550 | ||
1551 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Assume | |
1552 | there's always a frame. Use get_frame_pc_if_available instead of | |
1553 | get_frame_pc, and if there's no PC available, don't look up a | |
1554 | symtab. | |
1555 | ||
1d4f5741 PA |
1556 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
1557 | ||
1558 | * stack.c (print_frame_local_vars, print_frame_arg_vars): Handle | |
1559 | unavailable PC. | |
1560 | ||
dba09041 PA |
1561 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
1562 | ||
1563 | * tracepoint.c (set_traceframe_context): Handle unavailable PC | |
1564 | gracefully. | |
1565 | ||
9a26e44c PA |
1566 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
1567 | ||
1568 | * frame.h (frame_unwind_caller_pc_if_available): Declare. | |
1569 | * frame.c (frame_unwind_caller_pc_if_available): New. | |
1570 | * stack.c (frame_info): Handle unavailable PC. | |
1571 | ||
1572 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
1573 | ||
1574 | * frame.c (frame_unwind_pc): Rename to ... | |
1575 | (frame_unwind_pc_if_available): ... this. New `pc' output | |
1576 | parameter. Change return type to int. Gracefully handle | |
1577 | gdbarch_unwind_pc throwing NOT_AVAILABLE_ERROR. Return 0 if that | |
1578 | happened, or 1 otherwise. | |
1579 | (frame_unwind_pc): Reimplement on top of | |
1580 | frame_unwind_pc_if_available. | |
1581 | (get_frame_func): Rename to ... | |
1582 | (get_frame_func_if_available): New `pc' output parameter. Change | |
1583 | return type to int. Gracefully handle the PC not being available. | |
1584 | (get_frame_func): Reimplement on top of | |
1585 | get_frame_func_if_available. | |
1586 | (select_frame): Handle the PC being unavailable. | |
1587 | (get_prev_frame): Handle the PC being unavailable. | |
1588 | (get_frame_pc_if_available): New. | |
1589 | (get_frame_address_in_block_if_available): New. | |
1590 | (find_frame_sal): Handle the frame PC not being available. | |
1591 | * frame.h (get_frame_pc_if_available): Declare. | |
1592 | (get_frame_address_in_block_if_available): Declare. | |
1593 | (get_frame_func_if_available): Declare. | |
1594 | * stack.c (print_frame_info): Handle the PC being unavailable. | |
1595 | (find_frame_funname): Ditto. | |
1596 | (print_frame): Handle the PC being unavailable. | |
1597 | (get_frame_language): Ditto. | |
1598 | * blockframe.c (get_frame_block): Ditto. | |
1599 | * macroscope.c (default_macro_scope): Ditto. | |
1600 | * tui/tui-stack.c (tui_show_frame_info): Ditto. | |
1601 | ||
1602 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
1603 | ||
1604 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Catch | |
1605 | NOT_AVAILABLE_ERROR when evaluating the location expression. | |
1606 | ||
1607 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
1608 | ||
1609 | * dwarf2loc.c (read_pieced_value): Handle get_frame_register_bytes | |
1610 | returning that the register piece is unavailable/optimized out. | |
1611 | (write_pieced_value): Handle get_frame_register_bytes returning | |
1612 | that the register piece is unavailable/optimized out when doing a | |
1613 | read-modify write of a bitfield. | |
1614 | * findvar.c (value_from_register): Handle get_frame_register_bytes | |
1615 | returning that the register piece is unavailable/optimized out. | |
1616 | * frame.c (get_frame_register_bytes): New parameters `optimizedp' | |
1617 | and `unavailablep'. Throw error on bad debug info. Use | |
1618 | frame_register instead of frame_register_read, to fill in the new | |
1619 | arguments. | |
1620 | * frame.h (get_frame_register_bytes): New parameters `optimizedp' | |
1621 | and `unavailablep'. | |
1622 | * valops.c: (value_assign): Adjust, and handle | |
1623 | get_frame_register_bytes failing. | |
1624 | * spu-tdep.c: Include exceptions.h. | |
1625 | (spu_software_single_step): Adjust, and handle | |
1626 | get_frame_register_bytes failing. | |
1627 | (spu_get_longjmp_target): Ditto. | |
1628 | * gdbarch.sh (register_to_value): Change to return int. New | |
1629 | parameters `optimizedp' and `unavailablep'. | |
1630 | * gdbarch.h, gdbarch.c: Regenerate. | |
1631 | * i386-tdep.c (i386_register_to_value): Adjust to new | |
1632 | gdbarch_register_to_value interface. | |
1633 | * i387-tdep.c (i387_register_to_value): Ditto. | |
1634 | * i387-tdep.h (i387_register_to_value): Ditto. | |
1635 | * alpha-tdep.c (alpha_register_to_value): Ditto. | |
1636 | * ia64-tdep.c (ia64_register_to_value): Ditto. | |
1637 | * m68k-tdep.c (m68k_register_to_value): Ditto. | |
1638 | * mips-tdep.c (mips_register_to_value): Ditto. | |
1639 | * rs6000-tdep.c (rs6000_register_to_value): Ditto. | |
1640 | ||
0fdb4f18 PA |
1641 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
1642 | ||
1643 | * findvar.c (value_of_register): Mark the value as unavailable, if | |
1644 | the register is unavailable. | |
1645 | * frame.h (frame_register_unwind): New `unavailablep' parameter. | |
1646 | (frame_register): New `unavailablep' parameter. | |
1647 | (frame_register_read): Update comment. | |
1648 | * frame.c (frame_register_unwind): New `unavailablep' parameter. | |
1649 | Set it if the register is unavailable. If the register is | |
1650 | unavailable, clear the output buffer. | |
1651 | (frame_register): New `unavailablep' parameter. Pass it down. | |
1652 | (frame_unwind_register): Adjust. | |
1653 | (put_frame_register): Adjust. | |
1654 | (frame_register_read): Adjust. Also return false if the register | |
1655 | is not available. | |
1656 | (frame_register_unwind_location): Adjust. | |
1657 | * sentinel-frame.c (sentinel_frame_prev_register): If the register | |
1658 | is unavailable, mark the value accordingly. | |
1659 | * stack.c (frame_info): Handle unavailable registers. | |
1660 | ||
e69aa73e PA |
1661 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
1662 | ||
1663 | * mi/mi-main.c (register_changed_p): Handle REG_UNAVAILABLE, and | |
1664 | simplify, using regcache_cooked_read. | |
1665 | ||
05d1431c PA |
1666 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
1667 | ||
1668 | * regcache.h (regcache_raw_read, regcache_raw_read_signed) | |
1669 | (regcache_raw_read_unsigned, regcache_raw_read_signed) | |
1670 | (regcache_raw_read_unsigned, regcache_raw_read_part) | |
1671 | (regcache_cooked_read, regcache_cooked_read_signed) | |
1672 | (regcache_cooked_read_unsigned, regcache_cooked_read_part) | |
1673 | (regcache_cooked_read_ftype): Change return to enum | |
1674 | register_status. | |
1675 | * regcache.c: Include exceptions.h | |
1676 | (regcache_save): Adjust to handle REG_UNAVAILABLE registers. | |
1677 | (do_cooked_read): Change return to enum register_status. Always | |
1678 | forward to regcache_cooked_read. | |
1679 | (regcache_raw_read): Change return to enum register_status. If | |
1680 | the register is not REG_VALID, memset the buffer. Return the | |
1681 | register's status. | |
1682 | (regcache_raw_read_signed): Handle non-REG_VALID registers and | |
1683 | return the register's status. | |
1684 | (regcache_raw_read_unsigned): Ditto. | |
1685 | (regcache_cooked_read): Change return to enum register_status. | |
1686 | Assert that with read-only regcaches, the register's status must | |
1687 | be known. If the regcache is read-only, and the register is not | |
1688 | REG_VALID, memset the buffer. Return the register's status. | |
1689 | (regcache_cooked_read_signed): Change return to enum | |
1690 | register_status. Handle non-REG_VALID registers and return the | |
1691 | register's status. | |
1692 | (regcache_cooked_read_unsigned): Change return to enum | |
1693 | register_status. Handle non-REG_VALID registers and return the | |
1694 | register's status. | |
1695 | (regcache_xfer_part, regcache_raw_read_part) | |
1696 | (regcache_cooked_read_part): Change return to enum | |
1697 | register_status. Return the register's status. | |
1698 | (regcache_read_pc): Throw NOT_AVAILABLE_ERROR if the register is | |
1699 | unavailable. | |
1700 | (regcache_dump): Handle unavailable cooked registers. | |
1701 | * frame.c (do_frame_register_read): Adjust interface to match | |
1702 | regcache_cooked_read_ftype. | |
1703 | * gdbarch.sh (pseudo_register_read): Change return to enum | |
1704 | register_status. | |
1705 | * gdbarch.h, gdbarch.c: Regenerate. | |
1706 | ||
1707 | * i386-tdep.h (i386_pseudo_register_read): Change return to enum | |
1708 | register_status. | |
1709 | * i386-tdep.c (i386_pseudo_register_read): Change return to enum | |
1710 | register_status. If reading a raw register indicates the raw | |
1711 | register is not valid, return the raw register's status, | |
1712 | otherwise, return REG_VALID. | |
1713 | * amd64-tdep.c (amd64_pseudo_register_read): Change return to enum | |
1714 | register_status. Handle non-REG_VALID raw registers and return | |
1715 | the register's status. | |
1716 | * arm-tdep.c (arm_neon_quad_read) | |
1717 | (arm_pseudo_read): Change return to enum register_status. Handle | |
1718 | non-REG_VALID raw registers and return the register's status. | |
1719 | * avr-tdep.c (avr_pseudo_register_read): Ditto. | |
1720 | * frv-tdep.c (frv_pseudo_register_read): Ditto. | |
1721 | * h8300-tdep.c (h8300_pseudo_register_read): Ditto. | |
1722 | * hppa-tdep.c (hppa_pseudo_register_read): Ditto. | |
1723 | * m32c-tdep.c (m32c_move_reg_t): Change return to enum | |
1724 | register_status. | |
1725 | (m32c_raw_read, m32c_raw_write, m32c_banked_read) | |
1726 | (m32c_banked_write, m32c_sb_read, m32c_sb_write, m32c_part_read) | |
1727 | (m32c_part_write, m32c_cat_read, m32c_cat_write) | |
1728 | (m32c_r3r2r1r0_read, m32c_r3r2r1r0_write) | |
1729 | (m32c_pseudo_register_read): Change return to enum | |
1730 | register_status. Adjust. | |
1731 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Change return to | |
1732 | enum register_status. Return the register's status. | |
1733 | * mep-tdep.c (mep_pseudo_cr32_read): Change return to enum | |
1734 | register_status. Return the register's status. | |
1735 | (mep_pseudo_cr64_read, mep_pseudo_register_read): Ditto. | |
1736 | * mips-tdep.c (mips_pseudo_register_read): Ditto. | |
1737 | * mt-tdep.c (mt_pseudo_register_read): Ditto. | |
1738 | * rs6000-tdep.c (move_ev_register_func): New typedef. | |
1739 | (e500_move_ev_register): Use it. Change return to enum | |
1740 | register_status. Return the register's status. | |
1741 | (do_regcache_raw_read): New function. | |
1742 | (do_regcache_raw_write): New function. | |
1743 | (e500_pseudo_register_read): Change return to enum | |
1744 | register_status. Return the register's status. Use | |
1745 | do_regcache_raw_read. | |
1746 | (e500_pseudo_register_write): Adjust. Use do_regcache_raw_write. | |
1747 | (dfp_pseudo_register_read): Change return to enum register_status. | |
1748 | Return the register's status. | |
1749 | (vsx_pseudo_register_read): Ditto. | |
1750 | (efpr_pseudo_register_read): Ditto. | |
1751 | (rs6000_pseudo_register_read): Ditto. | |
1752 | * s390-tdep.c (s390_pseudo_register_read): Change return to enum | |
1753 | register_status. Return the register's status. | |
1754 | * sh64-tdep.c (pseudo_register_read_portions): New function. | |
1755 | (sh64_pseudo_register_read): Change return to enum | |
1756 | register_status. Use pseudo_register_read_portions. Return the | |
1757 | register's status. | |
1758 | * ia64-tdep.c (ia64_pseudo_register_read): Change return to enum | |
1759 | register_status. Return the register's status. | |
1760 | * sh-tdep.c (pseudo_register_read_portions): New function. | |
1761 | (sh_pseudo_register_read): Change return to enum register_status. | |
1762 | Use pseudo_register_read_portions. Return the register's status. | |
1763 | * sparc-tdep.c (sparc32_pseudo_register_read): Change return to | |
1764 | enum register_status. Return the register's status. | |
1765 | * sparc64-tdep.c (sparc64_pseudo_register_read): Ditto. | |
1766 | * spu-tdep.c (spu_pseudo_register_read_spu) | |
1767 | (spu_pseudo_register_read): Ditto. | |
1768 | * xtensa-tdep.c (xtensa_register_read_masked) | |
1769 | (xtensa_pseudo_register_read): Ditto. | |
1770 | * bfin-tdep.c (bfin_pseudo_register_read): Ditto. | |
1771 | ||
e10abd8f PM |
1772 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
1773 | ||
1774 | * python/py-value.c (valpy_getitem): Fix formatting of error function | |
1775 | call. | |
1776 | ||
7ea6d463 PM |
1777 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
1778 | ||
1779 | ARI fixes: Add missing internationalization markups throughout | |
1780 | C source files. | |
1781 | * darwin-nat-info.c: Ditto. | |
1782 | * record.c: Ditto. | |
1783 | * remote.c: Ditto. | |
1784 | * mi/mi-main.c: Ditto. | |
1785 | ||
001083c6 PM |
1786 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
1787 | ||
1788 | ARI fixes: Add missing internationalization markups throughout | |
1789 | yacc files. | |
1790 | * c-exp.y: Ditto. | |
1791 | * cp-name-parser.y: Ditto. | |
1792 | * f-exp.y: Ditto. | |
1793 | * m2-exp.y: Ditto. | |
1794 | * objc-exp.y: Ditto. | |
1795 | * p-exp.y: Ditto. | |
1796 | ||
4f1cdeec PM |
1797 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
1798 | ||
1799 | ARI fixes: Messages should have no trailing new lines. | |
1800 | * darwin-nat.c (mach_check_error): Remove trailing new line from | |
1801 | warning function call message. | |
1802 | * record.c (bfdcore_read): Idem for error call. | |
1803 | ||
28e698f1 PM |
1804 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
1805 | ||
1806 | * common/signals.c (target_signal_from_host): Add _ markup to error | |
1807 | function call message. | |
1808 | (target_signal_to_host): Add _ markup and remove trailing new line | |
1809 | from warning call message. | |
1810 | (target_signal_from_command): Add _ markup to error function call | |
1811 | message. | |
1812 | ||
99c3dc11 PM |
1813 | 2011-03-18 Phil Muldoon <pmuldoon@redhat.com> |
1814 | ||
f33edef8 | 1815 | PR python/12149 |
99c3dc11 PM |
1816 | |
1817 | * python/python.c (gdbpy_write): Accept a stream argument and | |
1818 | operate to the appropriate stream. | |
1819 | (gdbpy_flush): Likewise. | |
1820 | (_initialize_python): Add stream constants. | |
1821 | (finish_python_initialization): Add GdbOutputErrorFile class. | |
1822 | ||
c20800be KY |
1823 | 2011-03-18 Kwok Cheung Yeung <kcy@codesourcery.com> |
1824 | ||
1825 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
1826 | ||
f4a1794a KY |
1827 | 2011-03-18 Kwok Cheung Yeung <kcy@codesourcery.com> |
1828 | ||
1829 | * amd64-tdep.c (amd64_relocate_instruction): Fix ordering of arguments | |
f33edef8 PP |
1830 | to store_signed_integer. Add debug message when relocating CALL |
1831 | instructions. Fix formatting of debug message. | |
1832 | * i386-tdep.c (i386_relocate_instruction): Ditto. | |
f4a1794a | 1833 | |
d4862372 JB |
1834 | 2011-03-17 Joel Brobecker <brobecker@gnat.com> |
1835 | ||
1836 | * target.h (struct target_ops): Remove to_lookup_symbol field. | |
1837 | (target_lookup_symbol): Delete macro. | |
1838 | * target.c (nosymbol, debug_to_lookup_symbol): Delete. | |
1839 | (update_current_target, setup_target_debug): Remove handling | |
1840 | of to_lookup_symbol target_ops field. | |
1841 | * ada-tasks.c (get_known_tasks_addr): Remove use of | |
1842 | target_lookup_symbol. | |
1843 | * coffread.c (coff_symtab_read): Likewise. | |
1844 | * dbxread.c (read_dbx_symtab): Ditto. | |
1845 | ||
d645e32e JB |
1846 | 2011-03-17 Joel Brobecker <brobecker@gnat.com> |
1847 | ||
1848 | PR gdb/12116: | |
1849 | * configure.ac: Add getthrds declaration check. | |
1850 | * configure, config.in: Regenerate. | |
1851 | * aix-thread.c (getthrds): Declare only if not already declared | |
1852 | in procinfo.h. More declaration out of get_signaled_thread to | |
1853 | global scope. | |
1854 | ||
29703da4 PM |
1855 | 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> |
1856 | ||
1857 | * python/py-symtab.c: Populate symtab_object_methods, | |
1858 | sal_object_methods. | |
1859 | (stpy_is_valid): New function. | |
1860 | (salpy_is_valid): Ditto. | |
1861 | * python/py-symbol.c: Declare symbol_object_methods. Populate. | |
1862 | (sympy_is_valid): New function. | |
1863 | * python/py-objfile.c: Declare objfile_object_methods. Populate. | |
1864 | (objfpy_is_valid): New function. | |
1865 | * python/py-inferior.c: Populate inferior_object_methods. | |
1866 | (infpy_is_valid): New function. | |
1867 | * python/py-infthread.c: Populate thread_object_methods. | |
1868 | (thpy_is_valid): New function. | |
1869 | * python/py-block.c: Declare block_object_methods. Populate. Declare | |
1870 | block_iterator_object_methods. Populate. | |
1871 | (blpy_is_valid): New function. | |
1872 | (blpy_iter_is_valid): Ditto. | |
1873 | ||
c00f8484 KS |
1874 | 2011-03-16 Keith Seitz <keiths@redhat.com> |
1875 | ||
1876 | * linespec.c (find_methods): Canonicalize NAME before looking | |
1877 | up the symbol. | |
1878 | (name_end): New function. | |
1879 | (keep_name_info): New function. | |
1880 | (decode_line_1): Use keep_name_info. | |
1881 | (decode_compound): Likewise. | |
1882 | * cli/cli-utils.h (remove_trailing_whitespace): New function. | |
1883 | * cli/cli-utils.c (remove_trailing_whitespace): Likewise. | |
1884 | ||
1885 | PR c++/12273 | |
1886 | * linespec.c (locate_first_half): Keep overload information, too. | |
1887 | (decode_compound): Use a string to represent break characters | |
1888 | to escape the loop. | |
1889 | If P points to a break character, do not increment it. | |
1890 | For C++ and Java, keep overload information and relevant keywords. | |
1891 | If we cannot find a symbol, search the minimal symbols. | |
1892 | ||
1893 | PR c++/11734 | |
1894 | * linespec.c (decode_compound): Rename SAVED_ARG to | |
1895 | THE_REAL_SAVED_ARG. | |
1896 | Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip | |
1897 | single-quotes. | |
1898 | Pass a valid block to lookup_symbol. | |
1899 | (lookup_prefix_sym): Likewise. | |
1900 | (find_method): Construct search name based on SYM_CLASS instead | |
1901 | of SAVED_ARG. | |
1902 | * psymtab.c (lookup_partial_symbol): Add language parameter. | |
1903 | (lookup_symbol_aux_psymtabs): Likewise. | |
1904 | Don't assume that the psymtab we found was the right one. Search | |
1905 | for the desired symbol in the symtab to be certain. | |
1906 | (psymtab_search_name): New function. | |
1907 | (lookup_partial_symbol): Use psymtab_search_name. | |
1908 | Add language parameter. | |
1909 | (read_symtabs_for_function): Add language parameter and pass to | |
1910 | lookup_partial_symbol. | |
1911 | (find_symbol_file_from_partial): Likewise. | |
1912 | ||
c91513d8 PP |
1913 | 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com> |
1914 | ||
1915 | PR gdb/12528 | |
1916 | * dwarf2read.c (noop_record_line): New function. | |
1917 | (dwarf_decode_lines): Ignore line tables for GCd functions. | |
1918 | ||
b37520b6 PM |
1919 | 2011-03-16 Pierre Muller <muller@ics.u-strasbg.fr> |
1920 | ||
1921 | Fix ARI warnings about new lines at the end of messages, which | |
1922 | are unneeded as there is a new line added at the end of the message | |
1923 | automatically. | |
1924 | * darwin-nat.c (darwin_stop_inferior): Ditto. | |
1925 | * dec-thread.c (dec_thread_get_ada_task_ptid): Ditto. | |
1926 | * dfp.c (decimal_to_number): Ditto. | |
1927 | * exec.c (print_section_info): Ditto. | |
1928 | * i386-darwin-nat.c (darwin_set_sstep): Ditto. | |
1929 | * osdata.c (get_osdata): Ditto. | |
1930 | * record.c (bfdcore_write): Ditto. | |
1931 | * remote-mips.c (mips_readchar): Ditto. | |
1932 | * remote.c (read_ptid): Ditto. | |
1933 | * ser-mingw.c (ser_windows_raw): Ditto. | |
1934 | * tracepoint.c (add_local_symbols): Ditto. | |
1935 | * windows-nat.c (fake_create_process): Ditto. | |
1936 | ||
b08ee6a2 TT |
1937 | 2011-03-16 Tom Tromey <tromey@redhat.com> |
1938 | ||
1939 | * tracepoint.c (stop_tracing): Don't declare. | |
1940 | * event-top.c (after_char_processing_hook): Add `(void)'. | |
1941 | ||
9a6f1302 PM |
1942 | 2011-03-16 Phil Muldoon <pmuldoon@redhat.com> |
1943 | ||
1944 | * NEWS: Add Parameter sub-classing description. | |
1945 | ||
7ceb86b1 KT |
1946 | 2011-03-16 Kai Tietz <ktietz@redhat.com> |
1947 | ||
1948 | * MAINTAINERS: Update my e-mail address. | |
1949 | ||
efeff6cf AT |
1950 | 2011-03-15 Andreas Tobler <andreast@fgznet.ch> |
1951 | ||
1952 | * MAINTAINERS: Add myself for write after approval privileges. | |
1953 | ||
681c238c MS |
1954 | 2011-03-15 Michael Snyder <msnyder@vmware.com> |
1955 | ||
f3df5b08 MS |
1956 | * frame.c (find_frame_sal): Assert sym is not null. |
1957 | ||
13f6513c MS |
1958 | * dbxread.c (process_one_symbol): Assert 'name' is not null. |
1959 | ||
50412521 MS |
1960 | * objc-lang.c (selectors_info): Check strchr for null result. |
1961 | ||
681c238c MS |
1962 | * stabsread.c (define_symbol): Guard against bad stabstring input. |
1963 | ||
6ced1581 PM |
1964 | 2011-03-15 Pierre Muller <muller@ics.u-strasbg.fr> |
1965 | ||
1966 | Remove trailing spaces and tabulations from pascal language | |
1967 | support sources. | |
1968 | p-exp.y: Ditto. | |
1969 | p-lang.c: Ditto. | |
1970 | p-lang.h: Ditto. | |
1971 | p-valprint.c: Ditto. | |
1972 | ||
9373cf26 JK |
1973 | 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
1974 | ||
1975 | * dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher | |
1976 | than LOW. Comment it. | |
1977 | (read_partial_die): Call complaint for inappropriate zero LOWPC or | |
1978 | HIGHPC not strictly higher than LOWPC. | |
1979 | ||
9a1edae6 PM |
1980 | 2011-03-15 Pierre Muller <muller@ics.u-strasbg.fr> |
1981 | ||
1982 | Fix formatting of function declarations returning a pointer in | |
1983 | previous commit. | |
1984 | * varobj.c (varobj_add_child): Ditto. | |
1985 | * hppa-tdep.h (hppa_init_objfile_priv_data): Ditto. | |
1986 | * inferior.h (get_displaced_step_closure_by_addr): Ditto. | |
1987 | ||
24e9cda0 UW |
1988 | 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com> |
1989 | ||
1990 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support | |
1991 | for the "generic" vector ABI used with GCC 4.3 and later. | |
1992 | (ppc64_sysv_abi_return_value): Likewise. | |
1993 | ||
1994 | 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com> | |
81b4675a UW |
1995 | |
1996 | * infcall.c (call_function_by_hand): Function return value is | |
1997 | always a non_lval, even when using struct_return. | |
1998 | ||
c9174737 PA |
1999 | 2011-03-15 Pedro Alves <pedro@codesourcery.com> |
2000 | ||
2001 | * printcmd.c (ALL_DISPLAYS_SAFE): New. | |
2002 | (map_display_numbers): New. | |
2003 | (do_delete_display): New. | |
2004 | (undisplay_command): Use map_display_numbers. | |
2005 | (do_enable_disable_display): New. | |
2006 | (enable_disable_display_command): New function. | |
2007 | (enable_display): Delete. | |
2008 | (enable_display_command): New. | |
2009 | (disable_display_command): Reimplement. | |
2010 | (_initialize_printcmd): Adjust "enable display" command to use | |
2011 | `enable_display_command' as callback. | |
2012 | ||
350c6c65 PM |
2013 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
2014 | ||
2015 | * NEWS: Add Python breakpoint 'stop' operation. | |
2016 | ||
824446ad PM |
2017 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
2018 | ||
2019 | * NEWS: Delete duplicate entry. Fix typo. | |
2020 | ||
2021ad3a PM |
2021 | 2011-03-14 Pierre Muller <muller@ics.u-strasbg.fr> |
2022 | ||
2023 | Fix ARI warning about function names in first column. | |
2024 | Put prototype declaration on same line as return type. | |
2025 | * objc-exp.y: Ditto. | |
2026 | * p-exp.y: Ditto. | |
2027 | * python/py-stopevent.h: Ditto. | |
2028 | For long function names, split parameters to | |
2029 | allow function name on same line as return type. | |
2030 | * solib-pa64.c: Ditto. | |
2031 | * varobj.c: Ditto. | |
2032 | * varobj.h: Ditto. | |
2033 | For long function declaration, use single line. | |
2034 | * hppa-tdep.h: Ditto. | |
2035 | * inferior.h: Ditto. | |
2036 | ||
7371cf6d PM |
2037 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
2038 | ||
2039 | * python/python.h: Declare gdbpy_should_stop and | |
2040 | gdbpy_breakpoint_has_py_cond. | |
2041 | * python/python.c: Add python.h to includes. Remove python.h from | |
2042 | HAVE_PYTHON definition | |
2043 | (gdbpy_should_stop): New dummy function. | |
2044 | (gdbpy_breakpoint_has_py_cond): New dummy function. | |
2045 | * python/py-breakpoint.c (bppy_init): Rewrite to allow | |
2046 | sub-classing capabilities. | |
2047 | (gdbpy_should_stop): New function. | |
2048 | (gdbpy_breakpoint_has_py_cond): New function. | |
2049 | (local_setattro): New function. | |
2050 | * breakpoint.c (condition_command): Add check for Python 'stop' | |
2051 | operation. | |
2052 | (bpstat_check_breakpoint_conditions): Execute Python 'stop' | |
2053 | operation function as part of stop/continue tests. | |
2054 | ||
37b50a69 TT |
2055 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
2056 | ||
2057 | PR gdb/12576: | |
2058 | * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'. | |
2059 | (needs_frame_dwarf_call): Likewise. | |
2060 | ||
eeae04df PM |
2061 | 2011-03-14 Pierre Muller <muller@ics.u-strasbg.fr> |
2062 | ||
2063 | Fix ARI warning about functions without parameters that do not | |
2064 | use (void). | |
2065 | * breakpoint.c (all_tracepoints): Replace () by (void). | |
2066 | * f-exp.y (match_string_literal): Ditto. | |
2067 | (yylex): Ditto. | |
2068 | * m2-exp.y (yylex): Ditto. | |
2069 | * mep-tdep.c (current_me_module): Ditto. | |
2070 | (current_options): Ditto. | |
2071 | (current_cop_data_bus_width): Ditto. | |
2072 | (current_cr_names): Ditto. | |
2073 | (current_cr_is_float): Ditto. | |
2074 | (current_ccr_names): Ditto. | |
2075 | * objc-exp.y (yylex): Ditto. | |
2076 | * p-exp.y (yylex): Ditto. | |
2077 | * remote.c (send_interrupt_sequence): Ditto. | |
2078 | * tracepoint.c (current_trace_status): Ditto. | |
2079 | * python/py-evts.c (gdbpy_initialize_py_events): Ditto. | |
2080 | * python/py-prettyprint.c (push_dummy_python_frame): Ditto. | |
2081 | ||
6dc3565d MS |
2082 | 2011-03-11 Michael Snyder <msnyder@vmware.com> |
2083 | ||
1427fe5e MS |
2084 | * cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define. |
2085 | * cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS. | |
2086 | (lookup_cmd): Test for CMD_LIST_AMBIGUOUS. | |
2087 | * completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS. | |
2088 | * top.c (set_verbose): Use CMD_LIST_AMBIGUOUS. | |
2089 | ||
60bc018f MS |
2090 | * event-loop-c (delete_async_signal_handler): Assert prev_ptr. |
2091 | (delete_async_event_handler): Ditto. | |
2092 | ||
f3be5b64 MS |
2093 | * python/py-breakpoint.c (bppy_set_condition): Stop memory leak. |
2094 | ||
4c2d5724 MS |
2095 | * python/py-breakpoint.c (bppy_get_commands): Fix memory leak. |
2096 | ||
6dc3565d MS |
2097 | * top.c (set_verbose): Assert showcmd was found. |
2098 | ||
4e6ca6d5 MG |
2099 | 2011-03-11 Maxim Grigoriev <maxim2405@gmail.com> |
2100 | ||
2101 | * xtensa-tdep.c (warning_once): Correct style issues. | |
2102 | ||
815a83e4 YQ |
2103 | 2011-03-11 Yao Qi <yao@codesourcery.com> |
2104 | ||
2105 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements. | |
2106 | ||
f2eb0bc8 AS |
2107 | 2011-03-11 Andreas Schwab <schwab@redhat.com> |
2108 | ||
2109 | * common/aclocal.m4: Remove. | |
2110 | ||
b801de47 MG |
2111 | 2011-03-10 Maxim Grigoriev <maxim2405@gmail.com> |
2112 | ||
2113 | * xtensa-tdep.c (windowing_enabled): Remove inline attribute. | |
2114 | (xtensa_write_register, xtensa_read_register): Likewise. | |
2115 | (xtensa_hextochar): Removed. | |
2116 | (xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code. | |
2117 | ||
dbab50de MG |
2118 | 2011-03-10 Maxim Grigoriev <maxim2405@gmail.com> |
2119 | ||
2120 | * xtensa-tdep.c (xtensa_c0reg_t): Update comments. | |
c2a6b390 | 2121 | (xtensa_call0_frame_cache_t): Update comments. New fields added. |
dbab50de MG |
2122 | (xtensa_alloc_frame_cache): Add initialization for new fields. |
2123 | (xtensa_frame_cache): Change the way how call0_frame_cache () is called. | |
2124 | (warning_once): New function. | |
2125 | (xtensa_insn_kind): New item c0opc_and. | |
2126 | (call0_classify_opcode): Add the case for AND instruction. | |
c2a6b390 MG |
2127 | (call0_track_op): Change arguments. New local variable litbase. |
2128 | Add the case to handle c0opc_and. Update algorithms for c0opc_mov, | |
2129 | c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments | |
2130 | in the prologue. | |
dbab50de | 2131 | Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu. |
c2a6b390 | 2132 | (call0_analyze_prologue): Update the comments. Change arguments. |
dbab50de MG |
2133 | Add the variety of updates to handle extended prologues, which now can |
2134 | conduct dynamic stack adjustments. | |
2135 | (call0_frame_cache): Likewise. | |
2136 | (xtensa_skip_prologue): Update call0_analyze_prologue () function call. | |
2137 | (xtensa_gdbarch_init): Initialize xtensa_session_once_reported. | |
2138 | ||
b2c04452 MS |
2139 | 2011-03-10 Michael Snyder <msnyder@vmware.com> |
2140 | ||
f8f67713 MS |
2141 | * tracepoint.c (cmd_qtv): Discard unused value 'packet'. |
2142 | (cmd_qtframe): Ditto. | |
2143 | (cmd_qtbuffer): Ditto. | |
2144 | (cmd_bigqtbuffer): Ditto. | |
2145 | ||
197f0a60 TT |
2146 | 2011-03-10 Tom Tromey <tromey@redhat.com> |
2147 | ||
2148 | * tracepoint.c (trace_actions_command): Update. | |
2149 | * thread.c (thread_apply_command): Update. | |
2150 | * reverse.c (delete_bookmark_command): Update. | |
2151 | (bookmarks_info): Update. | |
2152 | * printcmd.c (undisplay_command): Update. | |
2153 | * memattr.c (mem_enable_command): Update. | |
2154 | (mem_disable_command): Update. | |
2155 | (mem_delete_command): Update. | |
2156 | * inferior.c (detach_inferior_command): Update. | |
2157 | (kill_inferior_command): Update. | |
2158 | (remove_inferior_command): Update. | |
2159 | * cli/cli-utils.h (struct get_number_or_range_state): New. | |
2160 | (init_number_or_range): Declare. | |
2161 | (get_number_or_range): Update. | |
2162 | * cli/cli-utils.c (init_number_or_range): New function. | |
2163 | (get_number_or_range): Change 'pp' parameter to 'state'. Remove | |
2164 | static variables. | |
2165 | (number_is_in_list): Update. | |
2166 | * breakpoint.h (get_tracepoint_by_number): Update. | |
2167 | * breakpoint.c (map_breakpoint_numbers): Update for change to | |
2168 | get_number_or_range. | |
2169 | (find_location_by_number): Use get_number, not | |
2170 | get_number_or_range. | |
2171 | (trace_pass_set_count): New function. | |
2172 | (trace_pass_command): Update for change to get_number_or_range. | |
2173 | Rework loop logic. | |
2174 | (get_tracepoint_by_number): Remove 'multi_p' parameter; add | |
2175 | 'state' parameter. | |
2176 | ||
ecec24e6 PM |
2177 | 2011-03-10 Phil Muldoon <pmuldoon@redhat.com> |
2178 | ||
2179 | * python/py-param.c (add_setshow_generic): Add set/show callback | |
2180 | parameters. Register Python object context. | |
2181 | (get_show_value): New function. | |
2182 | (get_set_value): New function. | |
2183 | (call_doc_function): New function. | |
2184 | (get_doc_string): Move behind get_show_value/get_set_value. | |
2185 | ||
6d6c6b1f JK |
2186 | 2011-03-10 Andreas Tobler <andreast-list@fgznet.ch> |
2187 | ||
2188 | * fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'. | |
2189 | ||
68d6df83 MG |
2190 | 2011-03-09 Maxim Grigoriev <maxim2405@gmail.com> |
2191 | ||
dbab50de | 2192 | * xtensa-tdep.c (xtensa_read_register): Add comment. |
68d6df83 MG |
2193 | (xtensa_write_register): Likewise. |
2194 | (xtensa_hextochar): Add comment and update to match coding conventions. | |
2195 | (xtensa_frame_cache, xtensa_return_value): Follow coding conventions. | |
2196 | (execute_l32e, execute_s32e, execute_code): Update comments. | |
2197 | (xtensa_exception_handler_t): Update to match coding conventions. | |
2198 | (xtensa_insn_kind): Likewise. | |
2199 | ||
85c9d6a6 MS |
2200 | 2011-03-09 Michael Snyder <msnyder@vmware.com> |
2201 | ||
2202 | * mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak. | |
2203 | ||
91495617 PA |
2204 | 2011-03-09 Pedro Alves <pedro@codesourcery.com> |
2205 | ||
2206 | * nto-tdep.c (nto_find_and_open_solib): Constify local `base'. | |
2207 | ||
eb8c0621 TT |
2208 | 2011-03-09 Tom Tromey <tromey@redhat.com> |
2209 | ||
2210 | * thread.c (restore_selected_frame): Handle frame_level == -1. | |
2211 | (make_cleanup_restore_current_thread): Use | |
2212 | get_selected_frame_if_set. | |
2213 | * frame.h (get_selected_frame_if_set): Declare. | |
2214 | * frame.c (get_selected_frame_if_set): New function. | |
2215 | ||
9f37bbcc PA |
2216 | 2011-03-09 Pedro Alves <pedro@codesourcery.com> |
2217 | ||
2218 | * cli/cli-cmds.c (shell_escape): Use lbasename. | |
2219 | * coffread.c (coff_start_symtab): Constify parameter. | |
2220 | (complete_symtab): Constify `name' parameter. | |
2221 | (coff_symtab_read): Constify `filestring' local. | |
2222 | (coff_getfilename): Constify return and `result' local. | |
2223 | Use lbasename. | |
2224 | * fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename. | |
2225 | * linux-fork.c (info_checkpoints_command): Use lbasename. | |
2226 | * linux-nat.c (linux_nat_make_corefile_notes): Use lbasename. | |
2227 | * minsyms.c (lookup_minimal_symbol): Use lbasename. | |
2228 | * nto-tdep.c (nto_find_and_open_solib): Use lbasename. | |
2229 | * procfs.c (procfs_make_note_section): Use lbasename. | |
2230 | * tui/tui-io.c (printable_part): Constity return and parameter. | |
2231 | Use lbasename. | |
2232 | (print_filename): Constify parameters, and local `s'. | |
2233 | (tui_rl_display_match_list): Constify local `temp'. | |
2234 | ||
f8de3c55 JK |
2235 | 2011-03-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
2236 | ||
2237 | Revert: | |
2238 | 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com> | |
2239 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
2240 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
2241 | cu->header.version >= 3. | |
2242 | ||
d9837b00 YQ |
2243 | 2011-03-09 Yao Qi <yao@codesourcery.com> |
2244 | ||
2245 | * common/Makefile.in: Remove. | |
2246 | * common/configure: Remove. | |
2247 | * common/configure.ac: Remove. | |
2248 | ||
e637a4f5 YQ |
2249 | 2011-03-09 Yao Qi <yao@codesourcery.com> |
2250 | ||
2251 | Revert: | |
2252 | 2011-02-11 Yao Qi <yao@codesourcery.com> | |
2253 | ||
2254 | * common/Makefile.in: Add copyright header. | |
2255 | ||
2256 | 2011-02-11 Yao Qi <yao@codesourcery.com> | |
2257 | ||
2258 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
2259 | libcommon.a. | |
2260 | * configure.ac: Add common to sub dir. | |
2261 | * configure: Regenerate. | |
2262 | ||
f976a05d MG |
2263 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
2264 | ||
2265 | * xtensa-tdep.c (call0_ret): New function. | |
2266 | (xtensa_skip_prologue): Speed up analysis. | |
2267 | ||
57041825 MG |
2268 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
2269 | ||
2270 | * xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers | |
2271 | while executing MI command -data-list-changed-registers. | |
2272 | ||
08b9c608 MG |
2273 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
2274 | ||
2275 | * xtensa-tdep.c (xtensa_read_register): New function. | |
2276 | (xtensa_write_register): New function. | |
2277 | (xtensa_find_register_by_name): New function. | |
2278 | (xtensa_windowed_frame_cache): Update comments in type description. | |
2279 | (xtensa_frame_cache): Likewise. | |
2280 | (xtensa_window_interrupt_insn): New function. | |
2281 | (xtensa_frame_cache): Add analysis for Xtensa Window Exception frames. | |
2282 | (xtensa_insn_kind): Add new instructions. | |
2283 | (rwx_special_register): New function. | |
2284 | (call0_classify_opcode): Add new instructions to the analysis. | |
2285 | (a0_saved, a7_saved, a11_saved): New variables. | |
2286 | (a0_was_saved, a7_was_saved, a11_was_saved): New variables. | |
2287 | (execute_l32e): New function. | |
2288 | (execute_s32e): New function. | |
2289 | (xtensa_exception_handler_t): New type. | |
2290 | (execute_code): New function. | |
2291 | (xtensa_window_interrupt_frame_cache): New function to conduct frame | |
2292 | analysis for Xtensa Window Exception handlers. | |
2293 | ||
4d1acb11 MG |
2294 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
2295 | ||
98689b25 MG |
2296 | * xtensa-tdep.c (TX_PS): New. |
2297 | (windowing_enabled): Update to count for Call0 ABI. | |
2298 | (xtensa_hextochar): New. | |
2299 | (xtensa_init_reggroups): Make algorithm generic. | |
2300 | (xtensa_frame_cache): Use TX_PS on Tiny Xtensa. | |
2301 | ||
2302 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> | |
2303 | ||
2304 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update. | |
4d1acb11 | 2305 | |
d3f323f3 MS |
2306 | 2011-03-08 Michael Snyder <msnyder@vmware.com> |
2307 | ||
3dcabaa8 MS |
2308 | * i386-tdep.c (i386_follow_jump): Check return value of |
2309 | target_read_memory. | |
2310 | (i386_analyze_struct_return): Ditto. | |
2311 | (i386_skip_probe): Ditto. | |
2312 | (i386_match_insn): Ditto. | |
2313 | (i386_skip_noop): Ditto. | |
2314 | (i386_analyze_frame_setup): Ditto. | |
2315 | (i386_analyze_register_saves): Ditto. | |
2316 | (i386_skip_prologue): Ditto. | |
2317 | (i386_skip_main_prologue): Ditto. | |
2318 | ||
13b3fd9b MS |
2319 | * target.c (read_whatever_is_readable): Fix memory leak. |
2320 | ||
d3f323f3 MS |
2321 | * i386-tdep.c (i386_process_record): Document fall through. |
2322 | ||
421d5c74 JK |
2323 | 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
2324 | ||
2325 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
2326 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
2327 | cu->header.version >= 3. | |
2328 | ||
63154eca PA |
2329 | 2011-03-08 Pedro Alves <pedro@codesourcery.com> |
2330 | ||
2331 | * remote.c (remote_check_symbols): Skip if the target has no | |
2332 | execution. | |
2333 | ||
f1a507a1 JB |
2334 | 2011-03-08 Joel Brobecker <brobecker@adacore.com> |
2335 | ||
2336 | * target.c (read_whatever_is_readable): Reformat comment, | |
2337 | with a minor typo fix. Minor reformatting of the code. | |
2338 | ||
36073a92 YQ |
2339 | 2011-03-08 Yao Qi <yao@codesourcery.com> |
2340 | ||
2341 | * arm-tdep.c: Remove prototype declaration displaced_in_arm_mode. | |
2342 | (displaced_read_reg): Add `dsc' parameter, remove `from' parameter. | |
2343 | Use cached result instead of calling displaced_in_arm_mode again. | |
2344 | (branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter. | |
2345 | (displaced_write_reg, copy_preload, copy_preload_reg): Callers update. | |
2346 | (cleanup_copro_load_store, copy_copro_load_store): Likewise. | |
2347 | (cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise. | |
2348 | (cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise. | |
2349 | (copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise. | |
2350 | (copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise. | |
2351 | (cleanup_block_load_all, cleanup_block_store_pc): Likewise. | |
2352 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
2353 | * arm-linux-tdep.c (arm_linux_copy_svc): Callers update. | |
2354 | (arm_catch_kernel_helper_return): Likewise. | |
2355 | * gdb/arm-tdep.h : Update function declarations. | |
2356 | ||
d3f323f3 | 2357 | 2011-03-07 Michael Snyder <msnyder@vmware.com> |
e6040cbd | 2358 | |
e0e40094 MS |
2359 | * dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null. |
2360 | ||
0b2381f5 MS |
2361 | * ser-unix.c (hardwire_get_tty_state): Stop memory leak. |
2362 | ||
0350914a MS |
2363 | * mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment. |
2364 | ||
69feea6f MS |
2365 | * elfread.c (elf_symtab_read): Stop memory leak. |
2366 | ||
e6040cbd MS |
2367 | * main.c (captured_main): Fix memory leak. |
2368 | ||
052874e8 AS |
2369 | 2011-03-07 Andreas Schwab <schwab@linux-m68k.org> |
2370 | ||
2371 | * ada-lang.c (compare_names): Call is_name_suffix with string1 | |
2372 | instead of string2. | |
2373 | ||
b11896a5 TT |
2374 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
2375 | ||
2376 | * xcoffread.c (xcoff_sym_fns): Update. | |
2377 | * symfile.h (struct sym_fns) <sym_read_psymbols>: New field. | |
2378 | (enum symfile_add_flags) <SYMFILE_NO_READ>: New constant. | |
2379 | * symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ. | |
2380 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
2381 | (reread_symbols): Handle OBJF_PSYMTABS_READ. | |
2382 | * somread.c (som_sym_fns): Update. | |
2383 | * psymtab.h (require_partial_symbols): Declare. | |
2384 | * psymtab.c (require_partial_symbols): New function. | |
2385 | (ALL_OBJFILE_PSYMTABS_REQUIRED): New macro. | |
2386 | (ALL_OBJFILE_PSYMTABS): Undef. | |
2387 | (ALL_PSYMTABS): Move from psympriv.h. | |
2388 | (lookup_partial_symtab, find_pc_sect_psymtab) | |
2389 | (lookup_symbol_aux_psymtabs, relocate_psymtabs) | |
2390 | (find_last_source_symtab_from_partial) | |
2391 | (forget_cached_source_info_partial) | |
2392 | (print_psymtab_stats_for_objfile, read_symtabs_for_function) | |
2393 | (expand_partial_symbol_tables, read_psymtabs_with_filename) | |
2394 | (map_symbol_names_psymtab, map_symbol_filenames_psymtab) | |
2395 | (find_symbol_file_from_partial, map_matching_symbols_psymtab) | |
2396 | (expand_symtabs_matching_via_partial, maintenance_info_psymtabs): | |
2397 | Use ALL_OBJFILE_PSYMTABS_REQUIRED. | |
2398 | * psympriv.h (ALL_PSYMTABS): Move to psymtab.c. | |
2399 | * objfiles.h (OBJF_PSYMTABS_READ): New macro. | |
2400 | * objfiles.c (objfile_has_partial_symbols): Handle lazily-read | |
2401 | psymtabs. | |
2402 | * mipsread.c (ecoff_sym_fns): Update. | |
2403 | * machoread.c (macho_sym_fns): Update. | |
2404 | * elfread.c (elf_symfile_read): Set up for lazy psymtab reading. | |
2405 | (read_psyms): New function. | |
2406 | (elf_sym_fns, elf_sym_fns_gdb_index): Update. | |
2407 | (elf_sym_fns_lazy_psyms): New global. | |
2408 | * dwarf2read.c (dwarf2_initialize_objfile): Don't call | |
2409 | dwarf2_build_psymtabs. | |
2410 | * dbxread.c (aout_sym_fns): Update. | |
2411 | * coffread.c (coff_sym_fns): Update. | |
2412 | ||
fda326dd TT |
2413 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
2414 | ||
2415 | * infrun.c (print_exited_reason): Include inferior id and pid in | |
2416 | message. | |
2417 | ||
aeaec162 TT |
2418 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
2419 | ||
2420 | * target.h (struct target_ops) <to_has_execution>: Add ptid_t | |
2421 | parameter. | |
2422 | (target_has_execution_1): Update. | |
2423 | (target_has_execution_current): Declare. | |
2424 | (target_has_execution): Call target_has_execution_current. | |
2425 | (default_child_has_execution): Update. | |
2426 | * target.c (default_child_has_execution): Add 'the_ptid' | |
2427 | parameter. | |
2428 | (target_has_execution_1): Likewise. | |
2429 | (target_has_execution_current): New function. | |
2430 | (add_target): Update. | |
2431 | (init_dummy_target): Update. | |
2432 | * remote-m32r-sdi.c (m32r_has_execution): New function. | |
2433 | (init_m32r_ops): Use it. | |
2434 | * record.c (record_core_has_execution): Now static. Add | |
2435 | 'the_ptid' parameter. | |
2436 | * inferior.c (have_live_inferiors): Don't save current thread. | |
2437 | Use target_has_execution_1. | |
2438 | ||
08e14083 YQ |
2439 | 2011-03-07 Yao Qi <yao@codesourcery.com> |
2440 | ||
2441 | * Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4. | |
2442 | ||
c05d19c5 JB |
2443 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
2444 | ||
2445 | * elfread.c (elf_symtab_read): Minor reformatting. | |
2446 | ||
3e6ef9e4 JB |
2447 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
2448 | ||
2449 | * objc-lang.c (selectors_info): Minor reformatting. | |
2450 | ||
dbb8534f JB |
2451 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
2452 | ||
2453 | * ada-lang.c (compare_names): Add FALLTHROUGH comment. | |
2454 | ||
dd70cc93 JB |
2455 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
2456 | Michael Snyder <msnyder@vmware.com> | |
2457 | ||
2458 | * ada-valprint.c (ada_val_print_array): Move the declaration of | |
2459 | "byte_order" and "elttype" inside the block where these variables | |
2460 | are actually used. Remove some special handling for the case | |
2461 | where "elttype" and "eltlen" are null. Replace by a comment | |
2462 | and a couple of assertion checks. | |
2463 | ||
b27cf2b3 MS |
2464 | 2011-03-05 Michael Snyder <msnyder@vmware.com> |
2465 | ||
2466 | * source.c (add_path): Replace semicolon at end of block. | |
2467 | * dwarf2expr.c (execute_stack_op): Ditto. | |
2468 | ||
5387a0c6 MF |
2469 | 2011-03-05 Mike Frysinger <vapier@gentoo.org> |
2470 | ||
2471 | * bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h. | |
2472 | * configure.tgt (bfin-*-*linux*): Define gdb_sim. | |
2473 | (bfin-*-*): Likewise. | |
2474 | ||
e3aa49af MS |
2475 | 2011-03-05 Michael Snyder <msnyder@vmware.com> |
2476 | ||
82ae4854 MS |
2477 | * dwarf2expr.c (execute_stack_op): Delete superfluous semicolon. |
2478 | * mdebugread.c (parse_symbol): Ditto. | |
2479 | * parse.c (parse_exp_in_context): Ditto. | |
2480 | * source.c (add_path): Ditto. | |
2481 | * utils.c (gnu_debuglink_crc32): Ditto. | |
2482 | * varobj.c (variable_language): Ditto. | |
2483 | ||
e3aa49af MS |
2484 | * linux-tdep.c (linux_get_siginfo_type): Stop memory leak. |
2485 | ||
154f592e MS |
2486 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
2487 | ||
da3ecdc6 MS |
2488 | * linux-fork.c (inferior_call_waitptid): Fix copy/paste error. |
2489 | ||
9cc89665 MS |
2490 | * symfile.c (simple_overlay_update): Check for null return value |
2491 | from lookup_minimal_symbol. | |
2492 | ||
154f592e MS |
2493 | * xml-syscall.c (syscall_start_syscall): Assert name is non null. |
2494 | ||
63ffa6ee TJB |
2495 | 2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2496 | ||
2497 | * eval.c (parse_and_eval_address_1): Remove function. | |
2498 | * linespec.c (decode_indirect): Call parse_to_comma_and_eval | |
2499 | instead of parse_and_eval_address_1. | |
2500 | * value.h (parse_and_eval_address_1): Remove prototype. | |
2501 | ||
a17d146e MS |
2502 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
2503 | ||
2504 | * remote.c (putpkt_binary): Document that case stmt falls through. | |
2505 | ||
1a6a67de TJB |
2506 | 2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2507 | ||
2508 | * breakpointc (print_it_typical): Move NULL check from here... | |
2509 | (print_bp_stop_message): ... to here. | |
2510 | ||
488919c4 MS |
2511 | 2011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> |
2512 | ||
2513 | * breakpoint.c (enable_command): Use break instead of continue, | |
2514 | and fill in a missing break. | |
2515 | (disable_command): Ditto. | |
2516 | ||
1e182ce8 UW |
2517 | 2011-03-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
2518 | ||
2519 | * inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate. | |
2520 | (terminal_save_ours): Remove misleading comment. | |
2521 | (inflow_inferior_data_cleanup): Free ttystate. | |
2522 | (inflow_inferior_exit): Likewise. | |
2523 | (copy_terminal_info): Copy ttystate. | |
2524 | ||
2525 | * serial.c (serial_copy_tty_state): New function. | |
2526 | * serial.h (serial_copy_tty_state): Add prototype. | |
2527 | (struct serial_ops): Add copy_tty_state callback. | |
2528 | * ser-base.c (ser_base_copy_tty_state): New function. | |
2529 | * ser-base.h (ser_base_copy_tty_state): Add prototype. | |
2530 | * ser-go32.c (dos_copy_tty_state): New function. | |
2531 | (dos_ops): Install copy_tty_state callback. | |
2532 | * ser-mingw.c (_initialize_ser_windows): Likewise. | |
2533 | * ser-pipe.c (_initialize_ser_pipe): Likewise. | |
2534 | * ser-unix.c (hardwire_copy_tty_state): New function. | |
2535 | (_initialize_ser_hardwire): Install it. | |
2536 | ||
b2c5f112 MS |
2537 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
2538 | ||
2abae994 MS |
2539 | * breakpoint.c (create_breakpoint): Add missing break statement. |
2540 | ||
7f5936f9 MS |
2541 | Reverting this patch: |
2542 | * infcall.c (call_function_by_hand): Add break statements for lint. | |
2543 | ||
b2c5f112 MS |
2544 | Reverting this patch: |
2545 | * cli/cli-script.c (script_from_file): Add break for lint. | |
2546 | ||
42b1321c MS |
2547 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
2548 | ||
2549 | * solib.c (reload_shared_libraries_1): Close memory leak. | |
2550 | ||
3e2a0cee TT |
2551 | 2011-03-03 Tom Tromey <tromey@redhat.com> |
2552 | ||
2553 | PR gdb/12538: | |
2554 | * dwarf2read.c (process_psymtab_comp_unit): Handle case where | |
2555 | DW_STRING is NULL. | |
2556 | ||
58397cb7 MS |
2557 | 2011-03-03 Michael Snyder <msnyder@vmware.com> |
2558 | ||
2e3fd767 MS |
2559 | * remote-fileio.c (remote_fileio_func_fstat): Initialize all |
2560 | fields of struct 'st' to zero. | |
2561 | ||
58397cb7 MS |
2562 | * tui/tui-winsource.c (tui_update_source_window_as_is): Initialize |
2563 | sal.pspace before calling set_current_source_symtab_and_line. | |
2564 | ||
ced54c8f YQ |
2565 | 2011-03-03 Yao Qi <yao@codesourcery.com> |
2566 | ||
2567 | * Makefile.in (configure-common): Remove. Let Makefile | |
2568 | in dir common to rebuild itself. | |
2569 | (common/Makefile): Likewise. | |
2570 | ||
3351ea09 JB |
2571 | 2011-03-03 Joel Brobecker <brobecker@adacore.com> |
2572 | ||
2573 | * utils.c (parse_escape): Add i18n markup in error message. | |
2574 | ||
bf9f652a YQ |
2575 | 2011-03-03 Yao Qi <yao@codesourcery.com> |
2576 | ||
2577 | * gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with | |
2578 | ARM_PC_REGNUM. | |
2579 | (thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise. | |
2580 | (displaced_write_reg, displaced_read_reg): Likewise. | |
2581 | (copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise. | |
2582 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
2583 | (cleanup_branch): Replace magic number 14 and 15 with | |
2584 | ARM_LR_REGNUM and ARM_PC_REGNUM respectively. | |
2585 | ||
d42de051 MS |
2586 | 2011-03-02 Michael Snyder <msnyder@vmware.com> |
2587 | ||
240f9570 MS |
2588 | * maint.c (maintenance_do_deprecate): No need to check for NULL. |
2589 | ||
10dd8b54 MS |
2590 | * cli/cli-script.c (script_from_file): Add break for lint. |
2591 | ||
b98bd911 MS |
2592 | * mdebugread.c (parse_partial_symbols): Fix indent. |
2593 | ||
3494b66d MS |
2594 | * target-descriptions.c (tdesc_gdb_type): No need to call |
2595 | xstrdup, callee saves a copy. | |
2596 | ||
daac021a MS |
2597 | * printcmd.c (print_scalar_formatted): Use strncpy for safety. |
2598 | ||
c38d16a7 MS |
2599 | * infcall.c (call_function_by_hand): Add break statements for lint. |
2600 | ||
905b671b MS |
2601 | * utils.c (parse_escape): Escape the escape char. |
2602 | ||
f2eb0bc8 | 2603 | * python/py-inferior.c (build_inferior_list): Error out if |
2d565757 MS |
2604 | PyList_Append fails. |
2605 | (gdbpy_inferiors): Error out if build_inferior_list fails. | |
2606 | ||
8c6a60d1 MS |
2607 | * linux-nat.c (linux_nat_xfer_partial): Preserve errno around |
2608 | a function call. | |
2609 | ||
d42de051 MS |
2610 | * record.c (record_restore): Move printf to before error return. |
2611 | ||
4db71c0b YQ |
2612 | 2011-03-02 Yao Qi <yao@codesourcery.com> |
2613 | ||
2614 | * arm-tdep.h (struct displaced_step_closure): Add two new fields | |
2615 | is_thumb and insn_size. | |
2616 | * arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset | |
2617 | on both ARM and Thumb mode. | |
2618 | (arm_process_displaced_insn): Set is_thumb and insn_size. | |
2619 | (arm_displaced_init_closure): Handle both 16-bit and 32-bit. | |
2620 | (arm_displaced_step_fixup): Likewise. | |
2621 | ||
a9dc8dcc MS |
2622 | 2011-03-01 Michael Snyder <msnyder@vmware.com> |
2623 | ||
53624a93 MS |
2624 | * cli/cli-dump.c (dump_bfd_file): Check error return and warn. |
2625 | ||
77766669 MS |
2626 | * jv-lang.c (evaluate_subexp_java): Conditional can't be true. |
2627 | ||
62d5b8da MS |
2628 | * dwarf2read.c (dwarf2_compute_name): NAME cannot be null here. |
2629 | ||
5e9e105f MS |
2630 | * cli/cli-dump.c (restore_binary_file): Validate ftell return value. |
2631 | ||
dc19db01 MS |
2632 | * ada-lang.c (ada_make_symbol_completion_list): Replace malloc |
2633 | with xmalloc. | |
2634 | ||
5ce64950 MS |
2635 | * ada-lang.c (aggregate_assign_others): Rename inner scope variable |
2636 | which shadows function parameter. | |
2637 | ||
a0aa2878 MS |
2638 | * tracepoint.c (create_tsv_from_upload): Superfluous call |
2639 | to xstrdup. Callee already calls xstrdup. | |
2640 | ||
e325fb69 MS |
2641 | * linespec.c (decode_line_1): Remove unnecessary null check. |
2642 | ||
21cbba77 MS |
2643 | * tracepoint.c (scope_info): Fix mem leak, remove underused |
2644 | variable. | |
2645 | ||
63360adc MS |
2646 | * python/py-prettyprint.c (apply_val_pretty_printer): Remove |
2647 | superfluous null check. | |
2648 | ||
18ea20ac | 2649 | * std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null. |
23ce9890 | 2650 | (value_of_builtin_frame_fp_reg): Ditto. |
18ea20ac | 2651 | |
d014929c MS |
2652 | * event-top.c (display_gdb_prompt): Remove superfluous null check. |
2653 | ||
6e9130cf MS |
2654 | * python/py-prettyprint.c (apply_val_pretty_printer): VAL may |
2655 | be null. | |
2656 | ||
5f01dbc0 MS |
2657 | * linespec.c (decode_line_1): Check for null before dereference. |
2658 | ||
d684ab85 MS |
2659 | * reverse.c (record_restore): Move null-check to before pointer |
2660 | dereference. | |
2661 | ||
bfffb7e3 MS |
2662 | * python/py-utils.c (gdbpy_obj_to_string): Delete unused variable. |
2663 | ||
a9dc8dcc MS |
2664 | * objc-lang.c (selectors_info): Add explanitory comment. |
2665 | (classes_info): Ditto. | |
2666 | ||
478fd957 UW |
2667 | 2011-03-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
2668 | ||
2669 | * arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define. | |
2670 | (arm_linux_restart_syscall_init): Handle both on-stack and in-kernel | |
2671 | versions of the trampoline. Handle Thumb vs. ARM addresses. | |
2672 | (arm_kernel_linux_restart_syscall_tramp_frame): New global. | |
2673 | (arm_linux_init_abi): Install it. | |
2674 | * arm-tdep.c (arm_psr_thumb_bit): Make global. | |
2675 | * arm-tdep.c (arm_psr_thumb_bit): Add prototype. | |
2676 | ||
0480cefa MS |
2677 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
2678 | ||
ac50ab3b MS |
2679 | * ui-out.c (ui_out_field_core_addr): Make local char buffer |
2680 | a little bigger, to avoid possibility of an overflow. | |
2681 | ||
f63fbe86 MS |
2682 | * breakpoint.c (breakpoint_adjustment_warning): Make local char |
2683 | buffers a little bigger, to avoid possibility of an overflow. | |
2684 | ||
9e91a352 MS |
2685 | * coffread.c (coff_getfilename): Add check to avoid overflow. |
2686 | ||
f2eb0bc8 | 2687 | * objc-lang.c (selectors_info): Add a small safety margin to |
28288541 MS |
2688 | avoid overflow. |
2689 | (classes_info): Error out on too long REGEXP. | |
2690 | ||
098ab512 MS |
2691 | * infrun.c (handle_inferior_event): Remove unused function call. |
2692 | ||
bcbd1de9 MS |
2693 | * fork-child.c (fork_inferior): Remove ifdef'd code and |
2694 | unused variable. | |
2695 | ||
2e456570 MS |
2696 | * linux-thread-db.c (attach_thread): Discard unused value. |
2697 | ||
14571dad MS |
2698 | * linux-nat.c (linux_handle_extended_wait): Delete unused variable. |
2699 | ||
a9cbf802 MS |
2700 | * remote.c (remote_get_noisy_reply): Discard unused value. |
2701 | (remote_vcont_resume): Ditto. | |
2702 | (remote_stop_ns): Ditto. | |
2703 | ||
5715d26e MS |
2704 | * linespec.c (decode_objc): Delete unused variable. |
2705 | ||
4a9bca80 MS |
2706 | * tui/tui-regs.c (tui_register_format): Delete unused variable. |
2707 | ||
f47fb265 MS |
2708 | * dwarf2read.c (add_partial_symbol): Discard unused values. |
2709 | (read_base_type): Delete unused variable. | |
2710 | ||
e81cff30 MS |
2711 | * dbxread.c (read_dbx_symtab): Discard unused value. |
2712 | ||
262acaeb MS |
2713 | * eval.c (evaluate_subexp_standard): Delete unused variable, |
2714 | and discard unused values. | |
2715 | ||
df983543 MS |
2716 | * infcmd.c (_initialize_infcmd): Discard unused values. |
2717 | ||
89acf84d MS |
2718 | * stabsread.c (rs6000_builtin_type): Missing break statement. |
2719 | ||
ab8b8aca MS |
2720 | * dbxread.c (process_one_symbol): Discard unused value. |
2721 | ||
6b4511ab MS |
2722 | * coffread.c (coff_end_symtab): Delete unused variable. |
2723 | ||
e8e80198 MS |
2724 | * dwarf2read.c (dw2_get_file_names): Discard unused value. |
2725 | (dwarf2_add_typedef): Delete unused variable. | |
2726 | (read_namespace): Ditto. | |
2727 | (dwarf_decode_macros): Ditto. | |
2728 | ||
976aa66e MS |
2729 | * m2-lang.c (evaluate_subexp_modula2): Discard unused variable. |
2730 | ||
5b92b49f MS |
2731 | * opencl-lang.c (evaluate_subexp_opencl): Discard unused value. |
2732 | ||
91e8df85 MS |
2733 | * p-valprint.c (pascal_val_print): Discard unused value. |
2734 | ||
899500d6 MS |
2735 | * utils.c (nquery): Call va_end before return; |
2736 | (yquery): Ditto. | |
2737 | (query): Ditto. | |
2738 | ||
0480cefa MS |
2739 | * proc-service.c (ps_plog): Call va_end before return. |
2740 | ||
fb6a3ed3 TT |
2741 | 2011-02-28 Tom Tromey <tromey@redhat.com> |
2742 | ||
2743 | * python/python.c (gdbpy_value_cst): New global. | |
2744 | (_initialize_python): Initialize it. | |
2745 | * python/python-internal.h (gdbpy_value_cst): Declare. | |
2746 | * python/py-value.c (convert_value_from_python): Use | |
2747 | gdbpy_value_cst. | |
2748 | ||
c05202a1 MS |
2749 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
2750 | ||
e463f587 MS |
2751 | * python/py-cmd.c (cmdpy_init): Fix memory leak. |
2752 | ||
c38eea1a MS |
2753 | * breakpoint.c (catch_syscall_completer): Free malloced list. |
2754 | ||
3ef09ab5 MS |
2755 | * jv-lang.c (java_primitive_type_from_name): Add missing break. |
2756 | ||
8f9a01ee MS |
2757 | * opencl-lang.c (lval_func_check_validity): Rename inner variables. |
2758 | (lval_func_check_synthetic_pointer): Ditto. | |
2759 | (lval_func_free_closure): Fix use-after-free. | |
c05202a1 | 2760 | |
477d0d57 TT |
2761 | 2011-02-28 Tom Tromey <tromey@redhat.com> |
2762 | ||
2763 | * psymtab.c (expand_partial_symbol_tables): Use | |
2764 | ALL_OBJFILE_PSYMTABS. | |
2765 | ||
20937029 JK |
2766 | 2011-02-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
2767 | ||
2768 | * objc-lang.c (selectors_info): Error on too long REGEXP. | |
2769 | ||
907b7f4f MS |
2770 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
2771 | ||
92e96192 MS |
2772 | * python/py-param.c (set_parameter_value): Add missing |
2773 | break statement. | |
2774 | ||
907b7f4f MS |
2775 | * linux-record.c (record_linux_system_call): Add missing |
2776 | break statement. | |
2777 | ||
12c5a436 UW |
2778 | 2011-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
2779 | ||
2780 | * breakpoint.c (print_one_breakpoint_location): Remove unused | |
2781 | argument PRINT_ADDRESS_BITS. Update callers. | |
2782 | (print_one_breakpoint): Likewise. | |
2783 | ||
170b53b2 UW |
2784 | 2011-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
2785 | ||
2786 | * breakpoint.c (wrap_indent_at_field): New function. | |
2787 | (print_breakpoint_location): Use it instead of WRAP_INDENT argument. | |
2788 | Allocate ui_stream locally instead of using STB argument. | |
2789 | (print_one_breakpoint_location): Update call. | |
2790 | * ui-out.c (ui_out_query_field): New function. | |
2791 | * ui-out.h (ui_out_query_field): Add prototype. | |
2792 | ||
8ab1f94d JB |
2793 | 2011-02-28 Joel Brobecker <brobecker@adacore.com> |
2794 | ||
2795 | From Michael Snyder <msnyder@vmware.com> | |
2796 | * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. | |
2797 | ||
7d488639 MS |
2798 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
2799 | ||
ae179fba MS |
2800 | * objc-lang.c (selectors_info): Prevent string overrun. |
2801 | ||
086dbf66 MS |
2802 | * tui/tui-stack.c (tui_get_function_from_frame): Fix off by one |
2803 | error in strncpy. | |
2804 | ||
f2eb0bc8 | 2805 | * symtab.c (rbreak_command): Move variable 'file_name' to |
9c1e305a MS |
2806 | outer scope. |
2807 | ||
7d488639 MS |
2808 | * d-valprint.c (dynamic_array_type): Avoid shadowing a function |
2809 | param with a local variable of the same name. | |
2810 | ||
3bd0f5ef MS |
2811 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
2812 | ||
2813 | * value.c (value_from_history_ref): New function. | |
2814 | * value.h (value_from_history_ref): Export. | |
2815 | * cli/cli-utils.c (get_number_trailer): Use value_from_history_ref | |
2816 | to parse value history references. | |
2817 | * cli/cli-utils.h (get_number_trailer): Update comment. | |
2818 | ||
2819 | 2011-02-27 Michael Snyder <msnyder@vmware.com> | |
2820 | ||
2821 | * inferior.c (detach_inferior_command): Use get_number_or_range. | |
2822 | (kill_inferior_command): Ditto. | |
2823 | (remove_inferior_command): Ditto. | |
2824 | (initialize_inferiors): Make command names plural. | |
2825 | Update help strings. | |
2826 | ||
766062f6 MS |
2827 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
2828 | ||
2829 | * darwin-nat-info.c: Fix comment typo. | |
2830 | * dwarf2expr.h: Ditto. | |
2831 | * fbsd-nat.c: Ditto. | |
2832 | * fbsd-nat.h: Ditto. | |
2833 | * frame-unwind.h: Ditto. | |
2834 | * frame.h: Ditto. | |
2835 | * hppa-hpux-tdep.c: Ditto. | |
2836 | * i386-linux-nat.c: Ditto. | |
2837 | * linux-nat.c: Ditto. | |
2838 | * nbsd-nat.c: Ditto. | |
2839 | * nbsd-nat.h: Ditto. | |
2840 | * ppc-linux-tdep.c: Ditto. | |
2841 | * serial.c: Ditto. | |
2842 | * ui-file.h: Ditto. | |
2843 | * tui/tui-winsource.c: Ditto. | |
2844 | ||
f2c4ead5 MS |
2845 | 2011-02-26 Michael Snyder <msnyder@vmware.com> |
2846 | ||
86b887df MS |
2847 | * breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file). |
2848 | ||
66fd3b1e MS |
2849 | * maint.c (maintenance_do_deprecate): Plug a memory leak. |
2850 | ||
8c814cdd MS |
2851 | * dwarf2loc.c (insert_bits): Avoid shadowing a function param |
2852 | with a local variable of the same name. | |
2853 | ||
6d5e094a | 2854 | * i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function |
e5b3d7d6 | 2855 | param with a local variable of the same name. |
6d5e094a | 2856 | (i387_supply_xsave): Ditto. |
e5b3d7d6 | 2857 | |
5eee517d MS |
2858 | * linux-low.c (linux_nat_xfer_osdata): Rename local variable so |
2859 | that it does not shadow a function parameter. | |
2860 | ||
8fbf6b93 MS |
2861 | * i386-nat.c (i386_length_and_rw_bits): Document that case |
2862 | statement is meant to fall through. | |
2863 | ||
cb969d61 MS |
2864 | * expprint.c (dump_subexp_body_standard): Document that case |
2865 | statement is meant to fall through. | |
2866 | ||
f2c4ead5 MS |
2867 | * amd64-linux-tdep.c (amd64_linux_syscall_record): Delete |
2868 | dead if statement. Condition can't be false. | |
2869 | ||
b021a221 MS |
2870 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
2871 | ||
2872 | * arm-tdep.c: Fix typos in comments. | |
2873 | * bsd-uthread.c: Ditto. | |
2874 | * completer.c: Ditto. | |
2875 | * corelow.c: Ditto. | |
2876 | * cp-namespace.c: Ditto. | |
2877 | * cp-support.c: Ditto. | |
2878 | * cris-tdep.c: Ditto. | |
2879 | * dbxread.c: Ditto. | |
2880 | * dwarf2read.c: Ditto. | |
2881 | * frame.h: Ditto. | |
2882 | * gdbtypes.h: Ditto. | |
2883 | * inferior.h: Ditto. | |
2884 | * mdebugread.c: Ditto. | |
2885 | * mips-tdep.c: Ditto. | |
2886 | * ppc-linux-nat.c: Ditto. | |
2887 | * ppc-linux-tdep.c: Ditto. | |
2888 | * printcmd.c: Ditto. | |
2889 | * sol-thread.c: Ditto. | |
2890 | * solib-frv.c: Ditto. | |
2891 | * solist.h: Ditto. | |
2892 | * sparc64-tdep.c: Ditto. | |
2893 | * spu-tdep.c: Ditto. | |
2894 | * stabsread.c: Ditto. | |
2895 | * symfile.c: Ditto. | |
2896 | * valops.c: Ditto. | |
2897 | * varobj.c: Ditto. | |
2898 | * vax-nat.c: Ditto. | |
2899 | * python/py-block.c: Ditto. | |
2900 | * python/py-symbol.c: Ditto. | |
2901 | * python/py-symtab.c: Ditto. | |
2902 | * python/py-value.c: Ditto. | |
2903 | * tui/tui-win.c: Ditto. | |
2904 | ||
c82c0b55 MS |
2905 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
2906 | ||
2907 | * inferior.c (print_inferior): Accept a string instead of an int | |
2908 | for requested_inferiors, and use get_number_or_range to parse it. | |
2909 | (info_inferiors_command): Pass args string to print_inferior. | |
2910 | (initialize_inferiors): Change help string for info inferiors. | |
2911 | * inferior.h (print_inferior): Export prototype change. | |
2912 | ||
ee00cd23 TT |
2913 | 2011-02-25 Tom Tromey <tromey@redhat.com> |
2914 | ||
2915 | * common/ax.def (invalid2): Set to 0x31. | |
2916 | ||
0502ed8c JK |
2917 | 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
2918 | ||
2919 | * dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use | |
2920 | L and plongest. | |
2921 | (disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset, | |
2922 | use L and plongest. | |
2923 | (disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest. | |
2924 | ||
2c9de912 MS |
2925 | 2011-02-24 Michael Snyder <msnyder@vmware.com> |
2926 | ||
2927 | * Makefile.in (clean): Make clean should remove generated files | |
2928 | observer.h and observer.inc. | |
2929 | ||
a04b0428 JB |
2930 | 2011-02-24 Joel Brobecker <brobecker@adacore.com> |
2931 | ||
2932 | Revert the following patch (not approved yet): | |
2933 | 2011-02-21 Hui Zhu <teawater@gmail.com> | |
2934 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
2935 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
2936 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
2937 | * ax-general.c (ax_memcpy): New function. | |
2938 | (ax_print): Handle "printf". | |
2939 | (ax_reqs): Ditto. | |
2940 | * ax.h (ax_memcpy): Forward declare. | |
2941 | * common/ax.def (invalid2): Removed. | |
2942 | (printf): New entry. | |
2943 | * printcmd.c (printcmd.h): New include. | |
2944 | (string_printf): New function. | |
2945 | (ui_printf): Removed. | |
2946 | (printf_command): Remove static. Call string_printf. | |
2947 | (eval_command): Call string_printf. | |
2948 | * printcmd.h: New file. | |
2949 | * tracepoint.c (validate_actionline, | |
2950 | encode_actions_1): handle printf_command. | |
2951 | ||
2b52013f TT |
2952 | 2011-02-23 Tom Tromey <tromey@redhat.com> |
2953 | ||
2954 | * ax-general.c (ax_pick): Add missing newline. | |
2955 | ||
e5a67952 MS |
2956 | 2011-02-23 Michael Snyder <msnyder@vmware.com> |
2957 | ||
2958 | * breakpoint.c (breakpoint_1): Change first argument from an int | |
2959 | to a char pointer, so that the function now accepts a list of | |
f2eb0bc8 | 2960 | breakpoints rather than just one. Use new function |
e5a67952 MS |
2961 | 'number_is_in_list' to implement. |
2962 | (breakpoints_info): Pass char * instead of int to breakpoint_1. | |
2963 | (watchpoints_info): Ditto. | |
2964 | (tracepoints_info): Ditto. | |
2965 | (maintenance_info_breakpoints): Ditto. | |
2966 | (_initialize_breakpoint): Update help strings to reflect the fact | |
2967 | that these functions can now take more than one argument. | |
2968 | * cli/cli-utils.c (number_is_in_list): New function. | |
2969 | * cli/cli-utils.h (number_is_in_list): Export. | |
2970 | ||
2971 | 2011-02-23 Michael Snyder <msnyder@vmware.com> | |
fbcb778d MS |
2972 | |
2973 | * memattr.c (mem_enable_command): Use get_number_or_range. | |
2974 | (mem_disable_command): Ditto. | |
2975 | (mem_delete_command): Ditto. | |
2976 | (_initialize_mem): Tweak usage message to reflect multiple | |
2977 | arguments. | |
2978 | ||
6e6fbe60 DE |
2979 | 2011-02-22 Doug Evans <dje@google.com> |
2980 | ||
2981 | Add gdb.lookup_global_symbol python function. | |
2982 | * NEWS: Add entry. | |
2983 | * python/py-symbol.c (gdbpy_lookup_global_symbol): New function. | |
2984 | * python/python-internal.h (gdbpy_lookup_global_symbol): Declare it. | |
2985 | * python/python.c (GdbMethods): Add entry for lookup_global_symbol. | |
2986 | ||
79b97fa8 TT |
2987 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
2988 | ||
2989 | * language.c (language_class_name_from_physname): Rename | |
2990 | 'curr_language' argument to 'lang'; use in body. | |
2991 | ||
298f437a MS |
2992 | 2011-02-22 Michael Snyder <msnyder@vmware.com> |
2993 | ||
2994 | * cli/cli-utils.c (number_is_in_list): Check for zero return. | |
2995 | ||
b7ea3126 PA |
2996 | 2011-02-22 Pedro Alves <pedro@codesourcery.com> |
2997 | ||
2998 | * frame-unwind.h: Fix comment to mention the this frame, not the | |
2999 | next. | |
3000 | ||
58ee6d60 TT |
3001 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
3002 | ||
3003 | * symfile.c (auto_solib_limit): Remove. | |
3004 | * symfile.h (auto_solib_limit): Remove. | |
3005 | ||
36238dbc JB |
3006 | 2011-02-22 Joel Brobecker <brobecker@adacore.com> |
3007 | ||
3008 | * Makefile.in (INSTALLED_LIBS): Delete. Update comment. | |
3009 | ||
aea5b279 MS |
3010 | 2011-02-21 Michael Snyder <msnyder@vmware.com> |
3011 | ||
3012 | * gdbthread.h (print_thread_info): Change prototype. | |
3013 | * thread.c (print_thread_info): Accept char* instead of int for | |
3014 | requested_threads argument. Use new function number_is_in_list | |
3015 | to determine which threads to list. | |
3016 | (info_threads_command): Pass char* to print_thread_info. | |
3017 | * cli/cli-utils.c (number_is_in_list): New function. | |
3018 | * cli/cli-utils.h (number_is_in_list): Export. | |
f2eb0bc8 | 3019 | * mi/mi-main.c (mi_cmd_thread_info): Pass char* to |
aea5b279 MS |
3020 | print_thread_info. |
3021 | (print_one_inferior): Ditto. | |
3022 | (mi_cmd_list_thread_groups): Ditto. | |
3023 | ||
8caa75ee JK |
3024 | 2011-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
3025 | ||
3026 | * common/Makefile.in (CFLAGS): New. | |
3027 | (COMPILE): Add $(CFLAGS). | |
3028 | ||
ea666128 TT |
3029 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
3030 | ||
3031 | * breakpoint.c (catch_syscall_command_1): Fix typo. | |
3032 | ||
e9cafbcc TT |
3033 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
3034 | ||
3035 | * reverse.c: Include cli-utils.h. | |
3036 | * printcmd.c: Include cli-utils.h. | |
3037 | (string_printf): Use skip_spaces. | |
3038 | * cli/cli-utils.h: New file. | |
3039 | * cli/cli-utils.c: New file. | |
3040 | * cli/cli-dump.h (skip_spaces): Move to cli-utils.h. | |
3041 | * cli/cli-dump.c (skip_spaces): Move to cli-utils.c. | |
3042 | * breakpoint.h (get_number, get_number_or_range): Move to | |
3043 | cli-utils.h. | |
3044 | * breakpoint.c: Include cli-utils.h. | |
3045 | (get_number_trailer, get_number, get_number_or_range) | |
3046 | (ep_skip_leading_whitespace): Move to cli-utils.c. | |
3047 | (create_breakpoint_sal, find_condition_and_thread) | |
3048 | (decode_static_tracepoint_spec, watch_command_1) | |
3049 | (watch_maybe_just_location, ep_parse_optional_if_clause) | |
3050 | (catch_fork_command_1, catch_exec_command_1) | |
3051 | (catch_syscall_command_1): Use skip_spaces, skip_to_space. | |
3052 | * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o. | |
3053 | (SUBDIR_CLI_SRCS): Add cli-utils.c. | |
3054 | (HFILES_NO_SRCDIR): Add cli-utils.h. | |
3055 | (cli-utils.o): New target. | |
3056 | ||
f67fd822 PM |
3057 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
3058 | ||
3059 | * remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID | |
3060 | before calling discard_all_inferiors. | |
3061 | ||
c9def01d UW |
3062 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
3063 | ||
3064 | * opencl-lang.c (STRUCT_OCL_TYPE): Remove. | |
3065 | (struct builtin_opencl_type): Remove. | |
3066 | (builtin_opencl_type): Change return type to "struct type **". | |
3067 | (lookup_opencl_vector_type): Update caller. | |
3068 | (opencl_language_arch_info): Copy primitive type vector from gdbarch. | |
3069 | (build_opencl_types): Install plain array of "struct type *" | |
3070 | instead of "struct builtin_opencl_type". | |
3071 | ||
e3039479 UW |
3072 | 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
3073 | Ulrich Weigand <uweigand@de.ibm.com> | |
3074 | ||
3075 | * arm-linux-nat.c: Include "observer.h" and "gdbthread.h". | |
3076 | (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define. | |
3077 | (struct arm_linux_hwbp_cap): New type. | |
3078 | (arm_linux_get_hwbp_cap): New function. | |
3079 | (arm_linux_get_hw_breakpoint_count): Likewise. | |
3080 | (arm_linux_get_hw_watchpoint_count): Likewise. | |
3081 | (arm_linux_can_use_hw_breakpoint): Likewise. | |
3082 | (arm_hwbp_type): New type. | |
3083 | (arm_hwbp_control_t): Likewise. | |
3084 | (struct arm_linux_hw_breakpoint): Likewise. | |
3085 | (struct arm_linux_thread_points): Likewise. | |
3086 | (arm_threads): New global variable. | |
3087 | (arm_linux_find_breakpoints_by_tid): New function. | |
3088 | (arm_hwbp_control_initialize): Likewise. | |
3089 | (arm_hwbp_control_is_enabled): Likewise. | |
3090 | (arm_hwbp_control_disable): Likewise. | |
3091 | (arm_linux_hw_breakpoint_initialize): Likewise. | |
3092 | (arm_linux_get_hwbp_type): Likewise. | |
3093 | (arm_linux_hw_watchpoint_initialize): Likewise. | |
3094 | (arm_linux_hw_breakpoint_equal): Likewise. | |
3095 | (arm_linux_insert_hw_breakpoint1): Likewise. | |
3096 | (arm_linux_remove_hw_breakpoint1): Likewise. | |
3097 | (arm_linux_insert_hw_breakpoint): Likewise. | |
3098 | (arm_linux_remove_hw_breakpoint): Likewise. | |
3099 | (arm_linux_region_ok_for_hw_watchpoint): Likewise. | |
3100 | (arm_linux_insert_watchpoint): Likewise. | |
3101 | (arm_linux_remove_watchpoint): Likewise. | |
3102 | (arm_linux_stopped_data_address): Likewise. | |
3103 | (arm_linux_stopped_by_watchpoint): Likewise. | |
3104 | (arm_linux_watchpoint_addr_within_range): Likewise. | |
3105 | (arm_linux_new_thread): Likewise. | |
3106 | (arm_linux_thread_exit): Likewise. | |
3107 | (_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint | |
3108 | related target callbacks. Register arm_linux_new_thread and | |
3109 | arm_linux_thread_exit. | |
3110 | * arm-tdep.h (arm_pc_is_thumb): Add prototype. | |
3111 | * arm-tdep.c (arm_pc_is_thumb): Make global. | |
3112 | (arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint. | |
3113 | ||
b5db5dfc UW |
3114 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
3115 | ||
3116 | * breakpoint.c (update_watchpoint): Do not attempt to recreate | |
3117 | per-frame locations while within a function epilogue. | |
3118 | ||
e25b2cfa PM |
3119 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
3120 | ||
3121 | * ser-mingw.c (ser_windows_close): Reformat comment to better conform | |
3122 | to GNU coding standards. | |
3123 | ||
4af53f97 PM |
3124 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
3125 | ||
3126 | Allow use of mingw native on Windows 95 OS. | |
e25b2cfa | 3127 | * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry. |
4af53f97 PM |
3128 | (ser_windows_close): Only call CancelIo if function exists. |
3129 | (_initialize_ser_windows): Use LoadLirary/GetProcAddress | |
3130 | to check for existence of CancelIo function in kernel32 DLL. | |
3131 | ||
d0e92d82 HZ |
3132 | 2011-02-21 Hui Zhu <teawater@gmail.com> |
3133 | ||
3134 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
3135 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
3136 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
3137 | * ax-general.c (ax_memcpy): New function. | |
3138 | (ax_print): Handle "printf". | |
3139 | (ax_reqs): Ditto. | |
3140 | * ax.h (ax_memcpy): Forward declare. | |
3141 | * common/ax.def (invalid2): Removed. | |
3142 | (printf): New entry. | |
3143 | * printcmd.c (printcmd.h): New include. | |
3144 | (string_printf): New function. | |
3145 | (ui_printf): Removed. | |
3146 | (printf_command): Remove static. Call string_printf. | |
3147 | (eval_command): Call string_printf. | |
3148 | * printcmd.h: New file. | |
3149 | * tracepoint.c (validate_actionline, | |
3150 | encode_actions_1): handle printf_command. | |
3151 | ||
7d357efd MS |
3152 | 2011-02-19 Michael Snyder <msnyder@vmware.com> |
3153 | ||
3154 | * reverse.c (delete_one_bookmark): Argument is now bookmark | |
3155 | id rather than pointer to bookmark struct. | |
3156 | (delete_bookmark_command): Use get_number_or_range. | |
3157 | (goto_bookmark_command): Parse with get_number instead of strtoul. | |
3158 | (bookmark_1): New function. Print info for one bookmark. | |
3159 | (bookmarks_info): Use get_number_or_range and bookmark_1. | |
3160 | ||
7a45ebd7 MS |
3161 | 2011-02-18 Michael Snyder <msnyder@vmware.com> |
3162 | ||
f2eb0bc8 | 3163 | * thread.c (info_threads_command): Re-implement using |
7a45ebd7 | 3164 | get_number_or_range. |
65ebfb52 | 3165 | (thread_apply_command): Ditto. |
7a45ebd7 | 3166 | |
94d5e490 TT |
3167 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
3168 | ||
3169 | * common/ax.def: New file. | |
3170 | * ax.h (enum agent_op): Use ax.def. | |
3171 | * ax-general.c (aop_map): Use ax.def. | |
3172 | ||
c7f96d2b TT |
3173 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
3174 | ||
3175 | * ax-general.c (aop_map): Add pick and rot. | |
3176 | * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement. | |
3177 | <DW_OP_rot>: Implement. | |
3178 | * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants. | |
3179 | (ax_pick): Declare. | |
3180 | * ax-general.c (ax_pick): New function. | |
3181 | ||
66694b75 TT |
3182 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
3183 | ||
3184 | * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc. | |
3185 | ||
eeaafae2 JK |
3186 | 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
3187 | Tom Tromey <tromey@redhat.com> | |
3188 | ||
3189 | * cp-support.c (make_symbol_overload_list_namespace): Do not call | |
3190 | make_symbol_overload_list_block with NULL BLOCK. | |
3191 | * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF. | |
3192 | ||
3c3fe74c PA |
3193 | 2011-02-18 Pedro Alves <pedro@codesourcery.com> |
3194 | ||
3195 | * breakpoint.c (get_number_trailer): No longer accept a NULL PP. | |
3196 | * breakpoint.h (get_number_or_range): Declare. | |
3197 | * printcmd.c (ALL_DISPLAYS): Declare. | |
3198 | (delete_display): Reimplement taking a display pointer. | |
3199 | (undisplay_command): Accept a range of displays to delete, using | |
3200 | get_number_or_range. | |
3201 | ||
13163d80 PM |
3202 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
3203 | ||
3204 | * c-valprint.c (c_val_print): Add embedded_offset to address | |
3205 | for arrays of unspecified length. | |
3206 | * p-valprint.c (pascal_val_print): Likewise. | |
3207 | ||
b434a28f YQ |
3208 | 2011-02-18 Yao Qi <yao@codesourcery.com> |
3209 | ||
3210 | * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ... | |
3211 | (arm_process_displaced_insn): .. here. Remove parameter INSN. | |
3212 | (thumb_process_displaced_insn): New. | |
3213 | * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update | |
3214 | call to arm_process_displaced_insn. | |
3215 | * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn. | |
3216 | ||
9f6f94ff TT |
3217 | 2011-02-17 Tom Tromey <tromey@redhat.com> |
3218 | ||
3219 | * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare. | |
3220 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from | |
3221 | compile_dwarf_to_ax. No longer static. Call | |
3222 | dwarf2_compile_cfa_to_ax. | |
3223 | (locexpr_tracepoint_var_ref): Update. | |
3224 | (loclist_tracepoint_var_ref): Update. | |
3225 | * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare. | |
3226 | * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame' | |
3227 | argument; add 'gdbarch' and 'pc'. | |
3228 | (dwarf2_compile_cfa_to_ax): New function. | |
3229 | (dwarf2_frame_cache): Update. | |
3230 | ||
e67ad678 JB |
3231 | 2011-02-17 Joel Brobecker <brobecker@adacore.com> |
3232 | ||
3233 | * ada-lang.c (ada_type_of_array): Fix the size of the array | |
3234 | in the case of an unconstrained packed array. | |
3235 | ||
946ebb0d YQ |
3236 | 2011-02-17 Yao Qi <yao@codesourcery.com> |
3237 | ||
3238 | * common/Makefile.in: Add more targets for make. | |
3239 | ||
1ba1b353 TT |
3240 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
3241 | ||
3242 | * dwarf2loc.c (unimplemented): Fix typo. | |
3243 | ||
b1bfef65 TT |
3244 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
3245 | ||
3246 | * dwarf2loc.c (unimplemented): Handle unnamed opcodes. | |
3247 | (compile_dwarf_to_ax) <default>: Use unimplemented. | |
3248 | <DW_OP_deref>: Update. | |
3249 | (disassemble_dwarf_expression): Update. | |
3250 | * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument. | |
3251 | (decode_locdesc): Update. | |
3252 | * dwarf2expr.h (dwarf_stack_op_name): Update. | |
3253 | ||
5f1e6f19 TT |
3254 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
3255 | ||
3256 | * ax.h (struct aop_map) <name>: Now const. | |
3257 | ||
a0c78a73 PA |
3258 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
3259 | ||
3260 | * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other | |
3261 | than axs_rvalue. | |
3262 | ||
946ebb0d | 3263 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
a42244db YQ |
3264 | |
3265 | * infrun.c (get_displaced_step_closure_by_addr): New. | |
3266 | * inferior.h: Declare it. | |
3267 | * arm-tdep.c: (arm_pc_is_thumb): Call | |
3268 | get_displaced_step_closure_by_addr. Adjust MEMADDR if it | |
3269 | returns non-NULL. | |
3270 | ||
08807d5a PA |
3271 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
3272 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
3273 | ||
3274 | gdb/ | |
3275 | * tracepoint.c (memrange_sortmerge): Fix list A's end calculation. | |
3276 | ||
29976f3f PA |
3277 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
3278 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
3279 | ||
3280 | * value.c (value_contents_copy_raw): Extend describing comment. | |
3281 | Assert that the destination contents we're overwriting are wholly | |
3282 | available. | |
fb68ae73 | 3283 | (value_contents_copy): Extend describing comment. |
29976f3f | 3284 | |
cd24cfaa PA |
3285 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
3286 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
3287 | ||
3288 | * value.c (value_available_contents_eq): Remove redundant local | |
3289 | variables. Fix available contents comparision. | |
3290 | * value.h (value_available_contents_eq): Extend describing | |
3291 | comment. | |
3292 | ||
60bbf338 YQ |
3293 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
3294 | ||
3295 | * thread.c (info_threads_command): Add missing i18n markup and remove | |
3296 | trailing newline. | |
3297 | ||
17450429 PP |
3298 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
3299 | ||
3300 | * breakpoint.c (longjmp_names): New variable. | |
3301 | (struct breakpoint_objfile_data): New type. | |
3302 | (breakpoint_objfile_key): New variable. | |
3303 | (msym_not_found): New variable. | |
3304 | (msym_not_found_p): New predicate. | |
3305 | (get_breakpoint_objfile_data): New function. | |
3306 | (create_overlay_event_breakpoint): Check per-objfile cache for | |
3307 | symbols first. | |
3308 | (create_longjmp_master_breakpoint): Likewise. | |
3309 | (create_std_terminate_master_breakpoint): Likewise. | |
3310 | (create_exception_master_breakpoint): Likewise. | |
3311 | (_initialize_breakpoint): Register per-objfile data key. | |
3312 | ||
af02033e PP |
3313 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
3314 | ||
3315 | * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate | |
3316 | parameter value. | |
3317 | (create_longjmp_master_breakpoint): Loop over longjmp names. | |
3318 | (create_std_terminate_master_breakpoint): Const-propagate parameter | |
3319 | value. | |
3320 | (update_breakpoints_after_exec): Adjust. | |
3321 | (breakpoint_re_set): Adjust. | |
3322 | ||
60f98dde MS |
3323 | 2011-02-15 Michael Snyder <msnyder@vmware.com> |
3324 | ||
cdf99611 MS |
3325 | * thread.c (info_threads_command): Process arg as thread id, |
3326 | or list of thread ids. | |
3327 | (thread_find_command): New command. | |
3328 | (_initialize_thread): Document argument for info threads. | |
3329 | Document 'thread find' command. | |
3330 | * NEWS: Document new command "thread find". | |
60f98dde | 3331 | |
0feedb2c JK |
3332 | 2011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
3333 | ||
3334 | * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'. | |
3335 | * aclocal.m4: Regenerated with aclocal-1.11.1. | |
3336 | * common/configure: Regenerate with autoconf-2.64. | |
3337 | ||
648cd113 KW |
3338 | 2011-02-15 Ken Werner <ken.werner@de.ibm.com> |
3339 | ||
3340 | * opencl-lang.c (build_opencl_types): Set the size of the built-in | |
3341 | bool data type to a size of one byte. | |
3342 | ||
5657161f PA |
3343 | 2011-02-15 Pedro Alves <pedro@codesourcery.com> |
3344 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
3345 | ||
3346 | * target.c (memory_xfer_live_readonly_partial): Document where to | |
3347 | look for interface description. | |
3348 | ||
494e194e YQ |
3349 | 2011-02-15 Yao Qi <yao@codesourcery.com> |
3350 | ||
3351 | PR tdep/12352 | |
3352 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in | |
3353 | order to store PC value on stack instead of text section. | |
3354 | ||
d9492458 TJB |
3355 | 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3356 | ||
3357 | * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for | |
3358 | the EFP register set size. | |
3359 | (efpr_pseudo_register_read): Use regcache_raw_read_part to read | |
3360 | data from the VMX register. | |
3361 | (efpr_pseudo_register_write): Use regcache_raw_write_part to read | |
3362 | and write data from/to the VMX register. | |
3363 | ||
cdf99611 MS |
3364 | 2011-02-14 Michael Snyder <msnyder@vmware.com> |
3365 | ||
3366 | * command.h (enum command_class): New class 'no_set_class', for | |
3367 | "show" commands without a corresponding "set" command. | |
3368 | * value.c (_initialize_values): Use 'no_set_class' for "show values". | |
3369 | * copying.c (_initialize_copying): Ditto for "show copying" and | |
3370 | "show warranty". | |
3371 | * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and | |
3372 | "show version". | |
3373 | * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for | |
3374 | which there is no corresponding "set" command (eg. "show copying"). | |
3375 | ||
424447ee PA |
3376 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3377 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
3378 | ||
3379 | * exec.c (section_table_available_memory): Change `len' parameter | |
3380 | type to ULONGEST. | |
3381 | * exec.h (section_table_available_memory): Ditto. | |
3382 | * value.h (read_value_memory): Rename the `offset' parameter to | |
3383 | `embedded_offset'. | |
3384 | ||
c0f61f9c | 3385 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
e0ccc0c7 | 3386 | Jan Kratochvil <jan.kratochvil@redhat.com> |
c0f61f9c PA |
3387 | |
3388 | * memrange.c (compare_mem_ranges): Mention sort order in | |
3389 | describing comment. | |
3390 | (normalize_mem_ranges): Add comment. Fix ra->length calculation. | |
3391 | * tracepoint.c (traceframe_available_memory): Extend comment to | |
3392 | mention what happens to RESULT when the target does not support | |
3393 | the query. | |
3394 | ||
6bfc80c7 PA |
3395 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3396 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
3397 | ||
3398 | * value.c (mark_value_bytes_unavailable): Fix indexing the `bef' | |
3399 | range. | |
3400 | ||
e7303042 PA |
3401 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3402 | ||
3403 | * value.c (value_bits_valid, value_bits_synthetic_pointer): | |
3404 | No longer handle NULL values. | |
3405 | ||
8af8e3bc PA |
3406 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3407 | ||
3408 | * exceptions.h (NOT_AVAILABLE_ERROR): New error. | |
3409 | * value.c: Include "exceptions.h". | |
3410 | (require_available): Throw NOT_AVAILABLE_ERROR instead of a | |
3411 | generic error. | |
3412 | * cp-abi.c: Include gdb_assert.h. | |
3413 | (baseclass_offset): Add `embedded_offset' and `val' parameters. | |
3414 | Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR | |
3415 | errors. | |
3416 | * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val' | |
3417 | parameters. No longer returns -1 on error. | |
3418 | (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and | |
3419 | `val' parameters. | |
3420 | * cp-valprint.c: Include exceptions.h. | |
3421 | (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching | |
3422 | the baseclass_offset. Handle unavailable base classes. Use | |
3423 | val_print_invalid_address. | |
3424 | * p-valprint.c: Include exceptions.h. | |
3425 | (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors | |
3426 | when fetching the baseclass_offset. No longer expect | |
3427 | baseclass_offset returning -1. Handle unavailable base classes. | |
3428 | Use val_print_invalid_address. | |
3429 | * valops.c (dynamic_cast_check_1): Rename `contents' parameter to | |
3430 | `valaddr' parameter, and change its type to gdb_byte pointer. Add | |
3431 | `embedded_offset' and `val' parameters. Adjust. | |
3432 | (dynamic_cast_check_2): Rename `contents' parameter to `valaddr' | |
3433 | parameter, and change its type to gdb_byte pointer. Add | |
3434 | `embedded_offset' and `val' parameters. Adjust. No longer expect | |
3435 | baseclass_offset returning -1. | |
3436 | (value_dynamic_cast): Use value_contents_for_printing rather than | |
3437 | value_contents. Adjust. | |
3438 | (search_struct_field): No longer expect baseclass_offset returning | |
3439 | -1. | |
3440 | (search_struct_method): If reading memory from the target is | |
3441 | necessary, wrap it in a new value to pass to baseclass_offset. No | |
3442 | longer expect baseclass_offset returning -1. | |
3443 | (find_method_list): No longer expect baseclass_offset returning | |
3444 | -1. Use value_contents_for_printing rather than value_contents. | |
3445 | * valprint.c (val_print_invalid_address): New function. | |
3446 | * valprint.h (val_print_invalid_address): Declare. | |
3447 | * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset' | |
3448 | and `val' parameters. No longer expect baseclass_offset returning | |
3449 | -1. Adjust. | |
3450 | * gnu-v2-abi.c: Include "exceptions.h". | |
3451 | (gnuv2_baseclass_offset): Add `embedded_offset' and `val' | |
3452 | parameters. Handle unavailable memory. Recurse through | |
3453 | gnuv2_baseclass_offset directly, rather than through | |
3454 | baseclass_offset. No longer returns -1 on not found, instead | |
3455 | throw an error. | |
3456 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and | |
3457 | `val' parameters. Adjust. | |
3458 | ||
1b28d0b3 PA |
3459 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3460 | ||
3461 | * tracepoint.c (memrange_sortmerge): Don't merge ranges that are | |
3462 | almost but not quite adjacent. | |
3463 | ||
ec0a52e1 PA |
3464 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3465 | ||
3466 | * value.h (value_entirely_available): Declare. | |
3467 | * value.c (value_entirely_available): New function. | |
3468 | * c-valprint.c (c_value_print): Don't try fetching the pointer's | |
3469 | real type if the pointer is unavailable. | |
3470 | ||
24e6bcee PA |
3471 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3472 | ||
3473 | * valops.c (value_repeat): Use read_value_memory instead of | |
3474 | read_memory. | |
3475 | ||
39d37385 PA |
3476 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3477 | ||
3478 | * value.h (value_contents_copy, value_contents_copy_raw): Declare. | |
3479 | * value.c (value_contents_copy_raw, value_contents_copy): New | |
3480 | functions. | |
3481 | (value_primitive_field): Use value_contents_copy_raw instead of | |
3482 | memcpy. | |
3483 | * valops.c (value_fetch_lazy): Use value_contents_copy instead of | |
3484 | memcpy. | |
3485 | (value_array, value_slice): Ditto. | |
3486 | * valarith.c (value_subscripted_rvalue): Use | |
3487 | value_contents_copy_raw instead of memcpy. | |
3488 | ||
a3d34bf4 PA |
3489 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3490 | ||
3491 | <unavailable> references. | |
3492 | ||
3493 | * valops.c (get_value_at): Use value_from_contents_and_address, | |
3494 | avoiding read_memory. | |
3495 | ||
9fc6d940 PA |
3496 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3497 | ||
3498 | * c-valprint.c (c_val_print): Print a string with unavailable | |
3499 | contents as an array. | |
3500 | ||
5467c6c8 PA |
3501 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3502 | ||
3503 | * value.h (unpack_bits_as_long): Delete declaration. | |
3504 | (unpack_value_bits_as_long): Declare. | |
3505 | (unpack_value_field_as_long): Declare. | |
3506 | (value_field_bitfield): Declare. | |
3507 | * value.c (unpack_bits_as_long): Rename to... | |
3508 | (unpack_value_bits_as_long_1): ... this. Add embedded_offset and | |
3509 | value parameters. Return the extracted result in a new output | |
3510 | parameter. If the value contents are unavailable, return false, | |
3511 | otherwise return true. | |
3512 | (unpack_value_bits_as_long): New. | |
3513 | (unpack_field_as_long): Rename to... | |
3514 | (unpack_value_field_as_long_1): ... this. Add embedded_offset and | |
3515 | Add embedded_offset and value parameters. Return the extracted | |
3516 | result in a new output parameter. If the value contents are | |
3517 | unavailable, return false, otherwise return true. | |
3518 | (unpack_value_field_as_long): New. | |
3519 | (unpack_field_as_long_1): New. | |
3520 | (unpack_field_as_long): Reimplement as wrapper around | |
3521 | unpack_value_field_as_long_1. | |
3522 | (value_field_bitfield): New function. | |
3523 | * valops.c (value_fetch_lazy): When fetching a bitfield, use | |
3524 | unpack_value_bits_as_long. Mark the value as unavailable, if it | |
3525 | is unavailable. | |
3526 | * jv-valprint.c (java_print_value_fields): Use | |
3527 | value_field_bitfield. | |
3528 | * p-valprint.c (pascal_object_print_value_fields): Use | |
3529 | value_field_bitfield. | |
3530 | * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield. | |
3531 | ||
3158c6ed PA |
3532 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3533 | ||
3534 | * value.c (get_internalvar_integer): Also return the int value of | |
3535 | TYPE_CODE_INT INTERNALVAR_VALUE values. | |
3536 | (set_internalvar): Don't special case TYPE_CODE_INT. | |
3537 | ||
9fbdca0d PA |
3538 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3539 | ||
3540 | * value.c (struct internalvar) <enum internalvar_kind>: Remove | |
3541 | INTERNALVAR_POINTER. | |
3542 | <pointer>: Delete. | |
3543 | (value_of_internalvar): Remove INTERNALVAR_POINTER handling. | |
3544 | (set_internalvar): Remove special TYPE_CODE_PTR handling. | |
3545 | (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling. | |
3546 | ||
c8c1c22f PA |
3547 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3548 | ||
3549 | * value.h (value_available_contents_eq): Declare. | |
3550 | * value.c (find_first_range_overlap): New function. | |
3551 | (value_available_contents_eq): New function. | |
3552 | * valprint.c (val_print_array_elements): Use | |
3553 | value_available_contents_eq. | |
3554 | * ada-valprint.c (val_print_packed_array_elements): Use | |
3555 | value_available_contents_eq. | |
3556 | * jv-valprint.c (java_value_print): Use | |
3557 | value_available_contents_eq. | |
3558 | ||
e6e4e701 PA |
3559 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3560 | ||
3561 | * target.c (target_read_live_memory): New function. | |
3562 | (memory_xfer_live_readonly_partial): New. | |
3563 | (memory_xfer_partial): If reading from a traceframe, fallback to | |
3564 | reading unavailable read-only memory from read-only regions of | |
3565 | live target memory. | |
3566 | * tracepoint.c (disconnect_tracing): Adjust. | |
3567 | (set_current_traceframe): New, factored out from | |
3568 | set_traceframe_number. | |
3569 | (set_traceframe_number): Reimplement to only change the traceframe | |
3570 | number on the GDB side. | |
3571 | (do_restore_current_traceframe_cleanup): Adjust. | |
3572 | (make_cleanup_restore_traceframe_number): New. | |
3573 | (cur_traceframe_number): New global. | |
3574 | (tfile_open): Set cur_traceframe_number to no traceframe. | |
3575 | (set_tfile_traceframe): New function. | |
3576 | (tfile_trace_find): If looking up a traceframe using any method | |
3577 | other than by number, make sure the current tfile traceframe | |
3578 | matches gdb's current traceframe. Update the current tfile | |
3579 | traceframe if the lookup succeeded. | |
3580 | (tfile_fetch_registers, tfile_xfer_partial) | |
3581 | (tfile_get_trace_state_variable_value): Make sure the remote | |
3582 | traceframe matches gdb's current traceframe. | |
3583 | * remote.c (remote_traceframe_number): New global. | |
3584 | (remote_open_1): Set it to -1. | |
3585 | (set_remote_traceframe): New function. | |
3586 | (remote_fetch_registers, remote_store_registers) | |
3587 | (remote_xfer_memory, remote_xfer_partial) | |
3588 | (remote_get_trace_state_variable_value): Make sure the remote | |
3589 | traceframe matches gdb's current traceframe. | |
3590 | (remote_trace_find): If looking up a traceframe using any method | |
3591 | other than by number, make sure the current remote traceframe | |
3592 | matches gdb's current traceframe. Update the current remote | |
3593 | traceframe if the lookup succeeded. | |
3594 | * infrun.c (fetch_inferior_event): Adjust. | |
3595 | * tracepoint.h (set_current_traceframe): Declare. | |
3596 | (get_traceframe_number, set_traceframe_number): Add describing | |
3597 | comments. | |
3598 | ||
e6ca34fc PA |
3599 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3600 | ||
3601 | Mark pieces of values as unavailable if the corresponding memory | |
3602 | is unavailable. | |
3603 | ||
3604 | * valops.c: Include tracepoint.h. | |
3605 | (value_fetch_lazy): Use read_value_memory. | |
3606 | (read_value_memory): New. | |
3607 | * value.h (read_value_memory): Declare. | |
3608 | * dwarf2loc.c (read_pieced_value): Use read_value_memory. | |
3609 | * exec.c (section_table_available_memory): New function. | |
3610 | * exec.h (section_table_available_memory): Declare. | |
3611 | ||
2a7498d8 PA |
3612 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3613 | ||
3614 | * Makefile.in (SFILES): Add memrange.c. | |
3615 | (HFILES_NO_SRCDIR): Add memrange.h. | |
3616 | (COMMON_OBS): Add memrange.o. | |
3617 | * memrange.c: New file. | |
3618 | * memrange.h: New file. | |
3619 | * tracepoint.c: Include memrange.h. | |
3620 | (struct mem_range): Delete. | |
3621 | (mem_range_s): Delete. | |
3622 | (traceframe_available_memory): New function. | |
3623 | * tracepoint.h (traceframe_available_memory): Declare. | |
3624 | ||
b3b9301e PA |
3625 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3626 | ||
3627 | * target.h (struct traceframe_info): Forward declare. | |
3628 | (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO. | |
3629 | (struct target_ops) <to_traceframe_info>: New field. | |
3630 | (target_traceframe_info): New. | |
3631 | * target.c (update_current_target): Inherit and default | |
3632 | to_traceframe_info. | |
3633 | * remote.c (PACKET_qXfer_traceframe_info): New. | |
3634 | (remote_protocol_features): Register qXfer:traceframe-info:read. | |
3635 | (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO. | |
3636 | (remote_traceframe_info): New. | |
3637 | (init_remote_ops): Install it. | |
3638 | (_initialize_remote): Install "set/show remote traceframe-info" | |
3639 | commands. | |
3640 | * tracepoint.h (parse_traceframe_info): Declare. | |
3641 | * tracepoint.c (struct mem_range): New. | |
3642 | (mem_range_s): New typedef. | |
3643 | (struct traceframe_info): New. | |
3644 | (traceframe_info): New global. | |
3645 | (free_traceframe_info): New function. | |
3646 | (clear_traceframe_info): New function. | |
3647 | (start_tracing, tfind_1, set_traceframe_number): Clear traceframe | |
3648 | info. | |
3649 | (build_traceframe_info): New function. | |
3650 | (tfile_traceframe_info): New function. | |
3651 | (init_tfile_ops): Install tfile_traceframe_info. | |
3652 | (traceframe_info_start_memory, free_result): New functions. | |
3653 | (memory_attributes, traceframe_info_elements): New globals. | |
3654 | (parse_traceframe_info, get_traceframe_info): New functions. | |
3655 | * features/traceframe-info.dtd: New file. | |
3656 | * Makefile.in (XMLFILES): Add traceframe-info.dtd. | |
3657 | ||
4e07d55f PA |
3658 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
3659 | ||
3660 | Base support for <unavailable> value contents. | |
3661 | ||
4e07d55f PA |
3662 | * value.h (value_bytes_available): Declare. |
3663 | (mark_value_bytes_unavailable): Declare. | |
3664 | * value.c (struct range): New struct. | |
3665 | (range_s): New typedef. | |
3666 | (ranges_overlap): New function. | |
3667 | (range_lessthan): New function. | |
3668 | (ranges_contain_p): New function. | |
3669 | (struct value) <unavailable>: New field. | |
3670 | (value_bytes_available): New function. | |
3671 | (mark_value_bytes_unavailable): New function. | |
3672 | (require_not_optimized_out): Constify parameter. | |
3673 | (require_available): New function. | |
3674 | (value_contents_all, value_contents): Require all bytes be | |
3675 | available. | |
3676 | (value_free): Free `unavailable'. | |
3677 | (value_copy): Copy `unavailable'. | |
3678 | * valprint.h (val_print_unavailable): Declare. | |
3679 | * valprint.c (valprint_check_validity): Rename `offset' parameter | |
3680 | to `embedded_offset'. If printing a scalar, check whether the | |
3681 | value chunk is available. | |
3682 | (val_print_unavailable): New. | |
3683 | (val_print_scalar_formatted): Check whether the value is | |
3684 | available. | |
3685 | * python/py-prettyprint.c (apply_val_pretty_printer): Refuse | |
3686 | pretty-printing unavailable values. | |
3687 | ||
bc9a5551 JK |
3688 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
3689 | ||
3690 | Fix const/volatile qualifiers of C++ types, PR c++/12328. | |
3691 | * c-typeprint.c (c_type_print_args): Update the function comment. New | |
3692 | variable param_type, initialize it. Remove const/volatile qualifiers | |
3693 | for language_cplus and !show_artificial. Use param_type. | |
3694 | ||
93b55aa1 JK |
3695 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
3696 | ||
3697 | * symtab.c (find_pc_sect_line): New variable objfile, initialize it | |
3698 | from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S. | |
3699 | * symtab.h (struct symtab) <next>: Comment extension. | |
3700 | ||
181d9476 YQ |
3701 | 2011-02-12 Yao Qi <yao@codesourcery.com> |
3702 | ||
3703 | * Makefile.in (CLEANDIRS): Remove duplicated common dir. | |
3704 | ||
b708a5c7 JK |
3705 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
3706 | ||
3707 | * common/Makefile.in: Add copyright header. | |
3708 | ||
c5187ac6 PA |
3709 | 2011-02-11 Pedro Alves <pedro@codesourcery.com> |
3710 | ||
3711 | * infrun.c (proceed): Move switching out and in of tfind mode from | |
3712 | here ... | |
3713 | (fetch_inferior_event): ... to here. | |
3714 | ||
4f3e6fb7 YQ |
3715 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
3716 | ||
3717 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
3718 | libcommon.a. | |
3719 | * configure.ac: Add common to sub dir. | |
3720 | * configure: Regenerate. | |
3721 | ||
b708a5c7 JK |
3722 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
3723 | ||
3724 | Build libcommon.a. | |
3725 | ||
3726 | * common/Makefile.in: New. | |
3727 | * common/configure.ac: New. | |
3728 | * common/aclocal.m4: New. | |
3729 | * common/configure: Generate. | |
3730 | ||
2287cc7e PA |
3731 | 2011-02-10 Pedro Alves <pedro@codesourcery.com> |
3732 | ||
3733 | * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right | |
3734 | side of the parenthesis. | |
3735 | ||
3736 | Merge from GCC: | |
3737 | 2010-07-13 Jakub Jelinek <jakub@redhat.com> | |
fc013618 | 3738 | * vec.h (VEC_block_remove): Fix comment. |
2287cc7e | 3739 | |
fd62cb89 MS |
3740 | 2011-02-08 Michael Snyder <msnyder@vmware.com> |
3741 | ||
3742 | * linux-nat.c (linux_nat_filter_event): Fix typo in comment. | |
3743 | ||
56d2815c JK |
3744 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
3745 | ||
3746 | * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes | |
3747 | in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd, | |
3748 | psubd and paddd. | |
3749 | ||
4f7d61a8 JK |
3750 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
3751 | ||
3752 | PR 12361. | |
3753 | * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to | |
3754 | phsubsw. | |
3755 | (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0. | |
3756 | (i386_process_record) <0x0f3807>: Fix the comment to phsubsw. | |
3757 | ||
54fcddd0 UW |
3758 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
3759 | ||
3760 | * dwarf2read.c (read_subroutine_type): Set special calling | |
3761 | convention flag for functions compiled by IBM XL C for OpenCL. | |
3762 | * ppc-sysv-tdep.c: Include "dwarf2.h" | |
3763 | (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types | |
3764 | calling convention. | |
3765 | (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement | |
3766 | IBM OpenCL vector types calling convention. | |
3767 | (ppc_sysv_abi_return_value): Pass through FUNC_TYPE. | |
3768 | (ppc_sysv_abi_broken_return_value): Likewise. | |
3769 | (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector | |
3770 | types calling convention. | |
3771 | (ppc64_sysv_abi_return_value): Likewise. | |
3772 | * spu-tdep.c: Include "dwarf2.h" | |
3773 | (spu_return_value): Implement IBM OpenCL vector types calling | |
3774 | convention. | |
3775 | ||
d6dafb7c UW |
3776 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
3777 | ||
3778 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement | |
3779 | correct ABI for AltiVec vector arguments. | |
3780 | ||
32b72a42 PA |
3781 | 2011-02-07 Pedro Alves <pedro@codesourcery.com> |
3782 | ||
3783 | * valprint.c (val_print): Extend comment. | |
3784 | * ada-valprint.c (ada_valprint): Rewrite comment deferring | |
3785 | interface explanation to val_print. | |
3786 | (ada_val_print_array): Adjust comment to current interface. | |
3787 | (print_field_values): Adjust comment to current interface. | |
3788 | * c-valprint.c (c_val_print): Rewrite comment deferring interface | |
3789 | explanation to val_print. | |
3790 | * f-valprint.c (f_val_print): Ditto. | |
3791 | * jv-valprint.c (java_val_print): Ditto. | |
3792 | * m2-valprint.c (m2_val_print): Ditto. | |
3793 | * p-valprint.c (pascal_val_print): Ditto. | |
3794 | ||
9998af43 TJB |
3795 | 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3796 | ||
3797 | * breakpoint.c (parse_breakpoint_sals): Fix description. | |
3798 | ||
505500db | 3799 | 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com> |
9998af43 | 3800 | Oguz Kayral <oguzkayral@gmail.com> |
505500db SW |
3801 | |
3802 | * python/py-inferior.c (python_on_normal_stop): New function. | |
3803 | (python_on_resume): New function. | |
3804 | (python_inferior_exit): New function. | |
3805 | (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and | |
3806 | inferior_exit observers. | |
3807 | * python/py-evtregistry.c: New file. | |
3808 | * python/py-threadevent.c : New file. | |
3809 | * python/py-event.c: New file. | |
3810 | * python/py-evts.c: New file. | |
3811 | * python/py-continueevent.c: New file. | |
3812 | * python/py-bpevent.c: New file. | |
3813 | * python/py-signalevent.c: New file. | |
3814 | * python/py-exetiedevent.c: New file. | |
3815 | * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function. | |
3816 | Move struct breakpoint_object from here... | |
3817 | * python/python-internal.h: ... to here. | |
3818 | * python/py-event.h: New file. | |
3819 | * python/py-events.h: New file. | |
3820 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o, | |
3821 | py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o, | |
3822 | py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o. | |
3823 | (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c, | |
3824 | py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c, | |
3825 | py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c. | |
3826 | Add build rules for all the above. | |
3827 | ||
9e0ac564 TT |
3828 | 2011-02-04 Tom Tromey <tromey@redhat.com> |
3829 | ||
3830 | * dwarf2read.c (dwarf2_section_empty_p): New function. | |
3831 | (dwarf2_read_section): Use dwarf2_section_empty_p. | |
3832 | (dwarf2_section_size): New function. | |
3833 | (dwarf2_get_section_info): Unconditionally read section. | |
3834 | (dwarf2_read_index): Use dwarf2_section_empty_p. | |
3835 | (partial_read_comp_unit_head): Use dwarf2_section_size. | |
3836 | (dwarf2_symbol_mark_computed): Likewise. | |
3837 | ||
eee5b35e DD |
3838 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
3839 | ||
3840 | * NEWS: Add item for "catch syscall" on mips*-linux* targets. | |
3841 | ||
385203ed DD |
3842 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
3843 | ||
3844 | * mips-linux-tdep.c: Include xml-syscall.h. | |
3845 | (mips_linux_get_syscall_number): New function. | |
3846 | (mips_linux_init_abi): Add calls to | |
3847 | mips_linux_get_syscall_number() and set_xml_syscall_file_name(). | |
3848 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
3849 | mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml | |
3850 | * syscalls/mips-n32-linux.xml: New file. | |
3851 | * syscalls/mips-n64-linux.xml: New file. | |
3852 | * syscalls/mips-o32-linux.xml: New file. | |
3853 | ||
9277c30c UW |
3854 | 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
3855 | ||
3856 | * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries. | |
3857 | Complain about inverted range entries. | |
3858 | (dwarf2_record_block_ranges): Likewise. | |
3859 | ||
a3be7890 TJB |
3860 | 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3861 | ||
3862 | Fix some typos. | |
3863 | * breakpoint.c (update_watchpoint): Fix name of the | |
3864 | update_global_location_list function. | |
3865 | (print_one_breakpoint): Fix typo. | |
3866 | (_initialize_breakpoint): Remove extra space in hbreak help | |
3867 | string. | |
3868 | * breakpoint.h (struct bp_location) <length>: Fix field | |
3869 | description. | |
3870 | ||
041274d8 PA |
3871 | 2011-02-04 Pedro Alves <pedro@codesourcery.com> |
3872 | ||
3873 | * regcache.c (registers_changed_ptid): Don't explictly always | |
3874 | clear `current_regcache'. Only clear current_thread_ptid and | |
3875 | current_thread_arch when PTID matches. Only reinit the frame | |
3876 | cache if PTID matches the current inferior_ptid. Move alloca(0) | |
3877 | call to ... | |
3878 | (registers_changed): ... here. | |
3879 | ||
c1c2ab58 UW |
3880 | 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org> |
3881 | ||
3882 | * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that | |
3883 | starts with __stack_chk_guard as stack guard symbol. | |
3884 | ||
9011945e AB |
3885 | 2011-02-03 Andrew Burgess <aburgess@broadcom.com> |
3886 | ||
3887 | * disasm.c (compare_lines): Handle the end of sequence markers | |
3888 | within the line table to better support disassembling over | |
3889 | compilation unit boundaries. | |
3890 | ||
e0634ccf UW |
3891 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
3892 | ||
3893 | * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB | |
3894 | arguments. Skip in-prologue calls to glibc __aeabi_read_tp | |
3895 | implementation even if no symbols are available. | |
3896 | (thumb_analyze_prologue): Update call to skip_prologue_function. | |
3897 | (arm_analyze_prologue): Likewise. | |
3898 | ||
0e9e9abd UW |
3899 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
3900 | ||
3901 | * arm-tdep.c: Include "observer.h". | |
3902 | (arm_prologue_this_id): Use frame PC if get_frame_func returns 0. | |
3903 | (arm_exidx_data_key): New static variable. | |
3904 | (struct arm_exidx_entry, arm_exidx_entry_s): New data types. | |
3905 | (struct arm_exidx_data): Likewise. | |
3906 | (arm_exidx_data_free): New function. | |
3907 | (arm_compare_exidx_entries): Likewise. | |
3908 | (arm_obj_section_from_vma): Likewise. | |
3909 | (arm_exidx_new_objfile): Likewise. | |
3910 | (arm_find_exidx_entry): Likewise. | |
3911 | (arm_exidx_fill_cache): Likewise. | |
3912 | (arm_exidx_unwind_sniffer): Likewise. | |
3913 | (arm_exidx_unwind): New global variable. | |
3914 | (arm_gdbarch_init): Append unwinder arm_exidx_unwind. | |
3915 | (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile | |
3916 | observer. Register arm_exidx_data_key as objfile data. | |
3917 | ||
2e9e421f UW |
3918 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
3919 | ||
3920 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break | |
3921 | due to accessing uninitialized variable. Fix indentation. | |
3922 | ||
580688f3 PA |
3923 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
3924 | ||
3925 | * c-valprint.c (c_value_print): When doing virtual base pointer | |
3926 | adjustment, create a new value with adjusted contents rather than | |
3927 | changing the contents of the value being printed (and getting it | |
3928 | wrong). | |
3929 | ||
3d2c1d41 PA |
3930 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
3931 | ||
3932 | * xml-support.c (xml_find_attribute): New. | |
3933 | (xinclude_start_include): Use it. | |
3934 | * xml-support.h (xml_find_attribute): Declare. | |
3935 | * memory-map.c (memory_map_start_memory) | |
3936 | (memory_map_start_property): Use xml_find_attribute. | |
3937 | * osdata.c (osdata_start_osdata, osdata_start_column): Use | |
3938 | xml_find_attribute. | |
3939 | * remote.c (start_thread): Use xml_find_attribute. | |
3940 | * solib-target.c (library_list_start_segment) | |
3941 | (library_list_start_section, library_list_start_library) | |
3942 | (library_list_start_list): Use xml_find_attribute. | |
3943 | * xml-tdesc.c (tdesc_start_target, tdesc_start_feature) | |
3944 | (tdesc_start_union, tdesc_start_struct, tdesc_start_flags) | |
3945 | (tdesc_start_field): Use xml_find_attribute. | |
3946 | ||
0af3e2db UW |
3947 | 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com> |
3948 | ||
3949 | * opencl-lang.c (STRINGIFY): Rename to OCL_STRING. | |
3950 | (BUILD_OCL_VTYPES): Update. | |
3951 | ||
c1039e3c JB |
3952 | 2011-02-02 Joel Brobecker <brobecker@adacore.com> |
3953 | ||
3954 | * configure.ac: Work around non-GNU sed limitation when computing | |
3955 | python version number. | |
3956 | * configure: Regenerate. | |
3957 | ||
600ea1be JK |
3958 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
3959 | ||
3960 | Fix debug printing of TYPE_INSTANCE. | |
3961 | * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New. | |
3962 | (dump_subexp_body_standard) <TYPE_INSTANCE>: New. | |
3963 | ||
56c12414 JK |
3964 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
3965 | ||
3966 | Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL, | |
3967 | OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME, | |
3968 | OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT. | |
3969 | * ada-operator.inc: Rename the file to ... | |
3970 | * ada-operator.def: ... here, wrap all the entries by macro OP. | |
3971 | * expprint.c (op_name_standard): Remove all the entries. Include | |
3972 | "std-operator.def" instead. | |
3973 | * expression.h (enum exp_opcode): Include "std-operator.def" and | |
3974 | "ada-operator.def". Move all the entries ... | |
3975 | * std-operator.def: ... here, wrap all the entries by macro OP. | |
3976 | ||
c52b559d PP |
3977 | 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com> |
3978 | ||
3979 | * breakpoint.h (remove_jit_event_breakpoints): New prototype. | |
3980 | * breakpoint.c (remove_jit_event_breakpoints): New function. | |
3981 | * jit.c (jit_descriptor_addr): Delete. | |
3982 | (registering_code): Delete. | |
3983 | (clear_int): Delete. | |
3984 | (jit_inferior_data): New variable. | |
3985 | (struct jit_inferior_data): New type. | |
3986 | (get_jit_inferior_data): New function. | |
3987 | (jit_inferior_data_cleanup): New function. | |
3988 | (jit_read_descriptor): Adjust. | |
3989 | (jit_register_code): Adjust. | |
3990 | (jit_breakpoint_re_set_internal): New function; move code here ... | |
3991 | (jit_inferior_init): ... from here. | |
3992 | (jit_breakpoint_re_set): Adjust. | |
3993 | (jit_reset_inferior_data_and_breakpoints): New function. | |
3994 | (jit_inferior_created_observer): Adjust. | |
3995 | (jit_inferior_exit_hook): Adjust. | |
3996 | (jit_executable_changed_observer): New function. | |
3997 | (jit_event_handler): Adjust. | |
3998 | (_initialize_jit): Adjust. | |
3999 | ||
e839132d MS |
4000 | 2011-01-31 Michael Snyder <msnyder@vmware.com> |
4001 | ||
4002 | * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted | |
4003 | line. | |
4004 | ||
47a80e90 TT |
4005 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
4006 | ||
4007 | PR python/12216: | |
4008 | * python/python.c (execute_gdb_command): Call | |
4009 | prevent_dont_repeat. | |
4010 | * top.c (suppress_dont_repeat): New global. | |
4011 | (dont_repeat): Use it. | |
4012 | (prevent_dont_repeat): New function. | |
4013 | * command.h (prevent_dont_repeat): Declare. | |
4014 | ||
45a43567 TT |
4015 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
4016 | ||
4017 | * infcmd.c (finish_backward): Use breakpoint_set_silent. | |
4018 | * python/py-breakpoint.c (bppy_set_silent): Use | |
4019 | breakpoint_set_silent. | |
4020 | (bppy_set_thread): Use breakpoint_set_thread. | |
4021 | (bppy_set_task): Use breakpoint_set_task. | |
4022 | * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread) | |
4023 | (breakpoint_set_task): Declare. | |
4024 | (make_breakpoint_silent): Remove. | |
4025 | * breakpoint.c (breakpoint_set_silent): New function. | |
4026 | (breakpoint_set_thread): Likewise. | |
4027 | (breakpoint_set_task): Likewise. | |
4028 | (make_breakpoint_silent): Remove. | |
4029 | ||
09d682a4 TT |
4030 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
4031 | ||
4032 | * breakpoint.h (user_breakpoint_p): Declare. | |
4033 | * breakpoint.c (user_breakpoint_p): New function. | |
4034 | (breakpoint_1): Use it. | |
4035 | (save_breakpoints): Likewise. | |
4036 | ||
9c4ea6c5 JB |
4037 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
4038 | ||
4039 | * configure.ac: Add handling of Python distribution on Windows. | |
4040 | * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED | |
4041 | sysconfig variables are not defined, then do not use them. | |
4042 | On Windows, if LIBPL is not defined, then use prefix + '/libs' | |
4043 | instead. On Windows, return all paths using forward-slashes | |
4044 | rather than backslashes. | |
4045 | ||
ac534cba JB |
4046 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
4047 | ||
4048 | * configure.ac: Remove fallback behavior for building | |
4049 | against Python. Remove tweaking of Python include path. | |
4050 | Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution. | |
4051 | (AC_TRY_LIBPYTHON): Adjust program used in linking test. | |
4052 | If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS. | |
4053 | Always restore CPPFLAGS and LIBS after linking test. | |
4054 | * configure: Regenerated. | |
4055 | * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@. | |
4056 | (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@. | |
4057 | * python/python-internal.h: Adjust includes of Python .h files. | |
4058 | ||
c2f0d045 JB |
4059 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
4060 | ||
4061 | * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup | |
4062 | in error message. | |
4063 | ||
6b0c4c1f JB |
4064 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
4065 | ||
4066 | * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode | |
4067 | value test. | |
4068 | ||
672c9795 YQ |
4069 | 2011-01-31 Yao Qi <yao@codesourcery.com> |
4070 | ||
4071 | * arm-linux-nat.c: Update calls to regcache_register_status | |
4072 | instead of regcache_valid_p. | |
4073 | * aix-thread.c: Likewise. | |
4074 | * i386gnu-nat.c: Likewise. | |
4075 | ||
80b23b6a JK |
4076 | 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
4077 | ||
4078 | Fix crash. | |
4079 | * valops.c (compare_parameters): Verify TYPE_NFIELDS before | |
4080 | touching TYPE_FIELD_ARTIFICIAL. | |
4081 | ||
4cd712bd RE |
4082 | 2011-01-28 Richard Earnshaw <rearnsha@arm.com> |
4083 | ||
4084 | * MAINTAINERS: Move myself from Responsible Maintainers to Authorized | |
4085 | Committers. | |
4086 | ||
ffd5ec24 PA |
4087 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
4088 | ||
4089 | * tracepoint.c (tfile_xfer_partial): If there's no traceframe | |
4090 | selected, don't try iterating over the traceframe's blocks. | |
4091 | (tfile_has_stack): If there's no traceframe selected, then there's | |
4092 | no stack. | |
4093 | (tfile_has_registers): If there's no traceframe selected, then | |
4094 | there's no registers. | |
4095 | ||
e8c9e0a1 PA |
4096 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
4097 | ||
4098 | * target.c (memory_xfer_partial): No need to restore shadows if we | |
4099 | haven't read anything. | |
4100 | ||
de15c4ab PA |
4101 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
4102 | ||
4103 | * mips-tdep.c (mips_print_register): Use get_frame_register_value | |
4104 | and val_print_scalar_formatted. | |
4105 | ||
9f41c731 PA |
4106 | 2011-01-27 Pedro Alves <pedro@codesourcery.com> |
4107 | ||
4108 | * tracepoint.c (tfile_read): New. | |
4109 | (tfile_open): Use it. | |
4110 | (tfile_get_traceframe_address): Use it. | |
4111 | (tfile_trace_find): Use it. | |
4112 | (walk_blocks_callback_func): New typedef. | |
4113 | (match_blocktype): New function. | |
4114 | (traceframe_walk_blocks): New function. | |
4115 | (traceframe_find_block_type): New function. | |
4116 | (tfile_fetch_registers, tfile_xfer_partial) | |
4117 | (tfile_get_trace_state_variable_value): Use | |
4118 | traceframe_find_block_type and tfile_read. | |
4119 | ||
cdefc55d KB |
4120 | 2011-01-26 Kevin Buettner <kevinb@redhat.com> |
4121 | ||
4122 | * remote-mips.c: Add internationalization mark ups. Remove | |
4123 | trailing \n from already marked up strings. | |
4124 | ||
a81766d8 TT |
4125 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
4126 | ||
4127 | * python/py-prettyprint.c (print_string_repr): Clear | |
4128 | 'addressprint' option when calling val_print_string. | |
4129 | (print_children): Handle Val_pretty_default. Clear 'addressprint' | |
4130 | option when calling val_print_string. | |
4131 | ||
74aedc46 TT |
4132 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
4133 | ||
4134 | * python/python.c (gdbpy_solib_name): Use gdb_py_longest and | |
4135 | GDB_PY_LL_ARG. | |
4136 | * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New | |
4137 | macros. | |
4138 | (gdb_py_longest, gdb_py_ulongest): New typedefs. | |
4139 | (gdb_py_long_from_longest, gdb_py_long_from_ulongest) | |
4140 | (gdb_py_long_as_ulongest): New defines. | |
4141 | (gdb_py_object_from_longest, gdb_py_object_from_ulongest) | |
4142 | (gdb_py_int_as_long): Declare. | |
4143 | * python/py-value.c (valpy_lazy_string): Use gdb_py_longest, | |
4144 | GDB_PY_LL_ARG, gdb_py_object_from_longest. | |
4145 | (valpy_long): Add comment. | |
4146 | * python/py-utils.c (get_addr_from_python): Use | |
4147 | gdb_py_long_as_ulongest. Handle overflow properly. | |
4148 | (gdb_py_object_from_longest): New function. | |
4149 | (gdb_py_object_from_ulongest): Likewise. | |
4150 | (gdb_py_int_as_long): Likewise. | |
4151 | * python/py-type.c (typy_array): Use gdb_py_int_as_long. | |
4152 | * python/py-symtab.c (salpy_get_pc): Use | |
4153 | gdb_py_long_from_ulongest. | |
4154 | (salpy_get_line): Use PyInt_FromLong. | |
4155 | * python/py-param.c (set_parameter_value): Use | |
4156 | gdb_py_int_as_long. | |
4157 | * python/py-lazy-string.c (stpy_get_address): Use | |
4158 | gdb_py_long_from_ulongest. | |
4159 | * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest. | |
4160 | * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long. | |
4161 | * python/py-breakpoint.c (bppy_set_thread): Use | |
4162 | gdb_py_int_as_long. | |
4163 | (bppy_set_task): Likewise. | |
4164 | (bppy_set_ignore_count): Likewise. | |
4165 | (bppy_set_hit_count): Likewise. | |
4166 | * python/py-block.c (blpy_get_start): Use | |
4167 | gdb_py_object_from_ulongest. | |
4168 | (blpy_get_end): Likewise. | |
4169 | (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG. | |
4170 | ||
e4f6d2ec TJB |
4171 | 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr> |
4172 | ||
4173 | PR/symtab 11766: | |
4174 | * gdb/objfiles.h (struct objfile) <addr_low>: New field. | |
4175 | * gdb/solib.c (solib_read_symbols): Check for addr_low in | |
4176 | equality test for objfile, initialize addr_low if needed. | |
4177 | ||
b30aa278 PA |
4178 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
4179 | ||
4180 | * tui/tui-regs.c (tui_register_format): Remove dead code. | |
4181 | ||
ab2188aa PA |
4182 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
4183 | ||
4184 | * printcmd.c (print_formatted): Use val_print_scalar_formatted | |
4185 | instead of print_scalar_formatted. | |
4186 | (print_scalar_formatted): Don't handle 's' format strings here, | |
4187 | and add an assertion that we never see such format here. | |
4188 | * valprint.h (val_print_scalar_formatted): Declare. | |
4189 | * valprint.c (val_print_scalar_formatted): New. | |
4190 | * c-valprint.c (c_val_print): Use val_print_scalar_formatted | |
4191 | instead of print_scalar_formatted. | |
4192 | * jv-valprint.c (java_val_print): Ditto. | |
4193 | * p-valprint.c (pascal_val_print): Ditto. | |
4194 | * ada-valprint.c (ada_val_print_1): Ditto. | |
4195 | * f-valprint.c (f_val_print): Ditto. | |
4196 | * infcmd.c (registers_info): Ditto. | |
4197 | * m2-valprint.c (m2_val_print): Ditto. | |
4198 | ||
66d61a4c PA |
4199 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
4200 | ||
4201 | * m2-valprint.c (print_unbounded_array): Pass | |
4202 | value_contents_for_printing rather than value_contents, to | |
4203 | m2_print_array_contents. Also pass in the value. | |
4204 | ||
831adc1f JK |
4205 | 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
4206 | ||
4207 | * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index) | |
4208 | (save_gdb_index_command): Switch to .gdb_index version 4. | |
4209 | ||
20622269 PA |
4210 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
4211 | ||
4212 | * mi/mi-main.c (get_register): Use get_frame_register_value rather | |
4213 | than frame_register, and always pass a valid value to val_print. | |
4214 | ||
585fdaa1 PA |
4215 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
4216 | ||
4217 | Centralize printing "<optimized out>". | |
4218 | ||
4219 | * valprint.h (val_print_optimized_out): Declare. | |
4220 | * cp-valprint.c (cp_print_value_fields): Use | |
4221 | val_print_optimized_out. | |
4222 | * jv-valprint.c (java_print_value_fields): Ditto. | |
4223 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
4224 | * printcmd.c (print_formatted): Ditto. | |
4225 | * valprint.c (valprint_check_validity): Ditto. | |
4226 | (value_check_printable): Ditto. | |
4227 | (val_print_optimized_out): New. | |
4228 | ||
29ec5263 PA |
4229 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
4230 | ||
4231 | * infcmd.c (default_print_registers_info): Allocate values so to | |
4232 | never pass a NULL value to val_print. | |
4233 | ||
de4127a3 PA |
4234 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
4235 | ||
4236 | * cp-valprint.c (cp_print_value): Treat the 'skip' local as | |
4237 | boolean. Make sure to always pass a value that matches the | |
4238 | contents buffer to callees. Preserve `address' for following | |
4239 | iterations. | |
4240 | * value.c (value_contents_for_printing_const): New. | |
4241 | (value_address): Constify value argument. | |
4242 | * value.h (value_contents_for_printing_const): Declare. | |
4243 | (value_address): Constify value argument. | |
4244 | ||
ee99023e PA |
4245 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
4246 | ||
4247 | * regcache.c (struct regcache_descr): Rename | |
4248 | sizeof_raw_register_valid_p field to sizeof_raw_register_status, | |
4249 | and sizeof_cooked_register_valid_p to | |
4250 | sizeof_cooked_register_status. | |
4251 | (init_regcache_descr): Adjust. | |
4252 | (struct regcache): Rename register_valid_p field to | |
4253 | register_status. | |
4254 | (regcache_xmalloc_1, regcache_xfree, regcache_save) | |
4255 | (do_cooked_read): Adjust. | |
4256 | (regcache_valid_p): Rename to ... | |
4257 | (regcache_register_status): ... this. Adjust. | |
4258 | (regcache_invalidate): Adjust. | |
4259 | (regcache_raw_read, regcache_cooked_read, regcache_raw_write): | |
4260 | Adjust. | |
4261 | (regcache_raw_supply): Adjust. If buf i NULL, mark the register | |
4262 | as unavailable, not valid. | |
4263 | (regcache_dump): Adjust. | |
4264 | * regcache.h (enum register_status): New. | |
4265 | (regcache_register_status): Declare. | |
4266 | (regcache_invalidate): Delete declaration. | |
4267 | * corelow.c (get_core_registers): Adjust. | |
4268 | * tracepoint.c (tfile_fetch_registers): Adjust. | |
4269 | * trad-frame.c (REG_VALUE): Rename to ... | |
4270 | (TF_REG_VALUE): ... this. | |
4271 | (REG_UNKNOWN): Rename to ... | |
4272 | (TF_REG_UNKNOWN): ... this. | |
4273 | (trad_frame_set_value, trad_frame_set_unknown): Adjust. | |
4274 | * mi/mi-main.c (register_changed_p): Adjust. | |
4275 | ||
99e42fd8 PA |
4276 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
4277 | ||
4278 | * regcache.c (struct regcache_descr): Remove outdated comment. | |
4279 | (init_regcache_descr): Remove sizeof_raw_register_valid_p | |
4280 | overallocate hack. | |
4281 | (regcache_xmalloc): Rename to ... | |
4282 | (regcache_xmalloc_1): ... this. Add `readonly_p' parameter. | |
4283 | Allocate the regcache type accordingly. | |
4284 | (regcache_xmalloc): New as wrapper around regcache_xmalloc_1. | |
4285 | (regcache_xfree): Asser the source is also readonly. Copy sizeof | |
4286 | cooked registers, not raw. | |
4287 | (regcache_dup_no_passthrough): Delete. | |
4288 | (get_thread_arch_regcache): Use regcache_xmalloc_1. | |
4289 | * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not | |
4290 | mention obsolete write_register_bytes. | |
4291 | * regcache.h (regcache_dup_no_passthrough): Delete declaration. | |
4292 | ||
f7605bc2 PA |
4293 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
4294 | ||
4295 | Stop remote_read_bytes from handling partial reads itself. | |
4296 | ||
4297 | * remote-fileio.c: Include target.h. | |
4298 | (remote_fileio_write_bytes): Delete. | |
4299 | (remote_fileio_func_open, remote_fileio_func_write) | |
4300 | (remote_fileio_func_rename, remote_fileio_func_unlink): Use | |
4301 | target_read_memory. | |
4302 | (remote_fileio_func_stat): Use target_read_memory and | |
4303 | target_write_memory. | |
4304 | (remote_fileio_func_gettimeofday): Use target_write_memory. | |
4305 | (remote_fileio_func_system): Use target_read_memory. | |
4306 | * remote.c (remote_write_bytes): Make it static. | |
4307 | (remote_read_bytes): Don't handle partial reads here. | |
4308 | * remote.h (remote_read_bytes): Delete declaration. | |
4309 | ||
efc0eabd PA |
4310 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
4311 | ||
4312 | Simplify XML parsing a bit. | |
4313 | ||
4314 | * xml-support.h (gdb_xml_parse_quick): Declare. | |
4315 | * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed | |
4316 | from gdb_xml_create_parser_and_cleanup, and added `old_chain' | |
4317 | parameter. | |
4318 | (gdb_xml_create_parser_and_cleanup): Reimplement on top of | |
4319 | gdb_xml_create_parser_and_cleanup_1. | |
4320 | (gdb_xml_parse_quick): New. | |
4321 | * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick. | |
4322 | * osdata.c (osdata_parse): Ditto. | |
4323 | * remote.c (remote_threads_info): Ditto. | |
4324 | * solib-target.c (solib_target_parse_libraries): Ditto. | |
4325 | * xml-syscall.c (syscall_parse_xml): Ditto. | |
4326 | * xml-tdesc.c (tdesc_parse_xml): Ditto. | |
4327 | ||
314d366a KB |
4328 | 2011-01-24 Kevin Buettner <kevinb@redhat.com> |
4329 | ||
4330 | * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but | |
4331 | with remote-mips.o added to gdb_target_obs. | |
4332 | * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o. | |
4333 | ||
a491d753 PA |
4334 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
4335 | ||
4336 | * ada-valprint.c (val_print_packed_array_elements): Pass the | |
4337 | correct struct value to val_print. | |
4338 | (ada_val_print_1): Ditto. | |
4339 | ||
490f124f PA |
4340 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
4341 | ||
4342 | Don't lose embedded_offset in printing routines throughout. | |
4343 | ||
4344 | * valprint.h (val_print_array_elements): Change prototype. | |
4345 | * valprint.c (val_print_array_elements): Add `embedded_offset' | |
4346 | parameter, and adjust to pass it down to val_print, while passing | |
4347 | `valaddr' or `address' unmodified. Take embedded_offset into | |
4348 | account when checking repetitions. | |
4349 | * c-valprint.c (c_val_print): Pass embedded_offset to | |
4350 | val_print_array_elements instead of adjusting `valaddr' and | |
4351 | `address'. | |
4352 | * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass | |
4353 | embedded_offset to val_print_array_elements instead of adjusting | |
4354 | `valaddr'. | |
4355 | * p-lang.h (pascal_object_print_value_fields): Adjust prototype. | |
4356 | * p-valprint.c (pascal_val_print): Pass embedded_offset to | |
4357 | val_print_array_elements and pascal_object_print_value_fields | |
4358 | instead of adjusting `valaddr'. | |
4359 | (pascal_object_print_value_fields): Add `offset' parameter, and | |
4360 | adjust to use it. | |
4361 | (pascal_object_print_value): Add `offset' parameter, and adjust to | |
4362 | use it. | |
4363 | (pascal_object_print_static_field): Use | |
4364 | value_contents_for_printing/value_embedded_offset, rather than | |
4365 | value_contents. | |
4366 | * ada-valprint.c (val_print_packed_array_elements): Add `offset' | |
4367 | parameter, and adjust to use it. Use | |
4368 | value_contents_for_printing/value_embedded_offset, rather than | |
4369 | value_contents. | |
4370 | (ada_val_print): Rename `valaddr0' parameter to `valaddr'. | |
4371 | (ada_val_print_array): Add `offset' parameter, and adjust to use | |
4372 | it. | |
4373 | (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and | |
4374 | `embedded_offset' to `offset'. Don't re-adjust `valaddr'. | |
4375 | Instead work with offsets. Use | |
4376 | value_contents_for_printing/value_embedded_offset, rather than | |
4377 | value_contents. Change `defer_val_int' local type to CORE_ADDR, | |
4378 | and use value_from_pointer to extract a target pointer, rather | |
4379 | than value_from_longest. | |
4380 | (print_variant_part): Add `offset' parameter. Replace | |
4381 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
4382 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
4383 | (ada_value_print): Use | |
4384 | value_contents_for_printing/value_embedded_offset, rather than | |
4385 | value_contents. | |
4386 | (print_record): Add `offset' parameter, and adjust to pass it | |
4387 | down. | |
4388 | (print_field_values): Add `offset' parameter. Replace | |
4389 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
4390 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
4391 | Use value_contents_for_printing/value_embedded_offset, rather than | |
4392 | value_contents. | |
4393 | * d-valprint.c (dynamic_array_type): Use | |
4394 | value_contents_for_printing/value_embedded_offset, rather than | |
4395 | value_contents. | |
4396 | * jv-valprint.c (java_print_value_fields): Add `offset' parameter. | |
4397 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
4398 | (java_print_value_fields): Take `offset' into account. Don't | |
4399 | re-adjust `valaddr'. Instead pass down adjusted offsets. | |
4400 | (java_val_print): Take `embedded_offset' into account. Pass it to | |
4401 | java_print_value_fields. | |
4402 | * f-valprint.c (f77_print_array_1): Add `embedded_offset' | |
4403 | parameter. Don't re-adjust `valaddr' or `address'. Instead pass | |
4404 | down adjusted offsets. | |
4405 | (f77_print_array): Add `embedded_offset' parameter. Pass it down. | |
4406 | (f_val_print): Take `embedded_offset' into account. | |
4407 | ||
7bfc9434 JB |
4408 | 2011-01-21 Joel Brobecker <brobecker@adacore.com> |
4409 | ||
4410 | * inflow.c: Include "gdbcmd.h". | |
4411 | (interactive_mode): New static global, moved here from top.c. | |
4412 | (show_interactive_mode): New function, moved here from top.c. | |
4413 | use gdb_has_a_terminal instead of input_from_terminal_p to | |
4414 | determine the current mode. | |
4415 | (gdb_has_a_terminal): Add handling of the "iteractive-mode" | |
4416 | setting. | |
4417 | (_initialize_inflow): Add the "set/show interactive-mode" | |
4418 | commands. Moved here from top.c, after having adjusted slightly | |
4419 | the help text. | |
4420 | * top.c (interactive_mode, show_interactive_mode): Delete, moved | |
4421 | to inflow.c. | |
4422 | (input_from_terminal_p): Remove handling of "interactive-mode" | |
4423 | setting, moved to infow.c. | |
4424 | (init_main): Remove creation of the "set/show interactive-mode" | |
4425 | commands, moved to inflow.c. | |
4426 | ||
44603653 JB |
4427 | 2011-01-19 Joel Brobecker <brobecker@adacore.com> |
4428 | ||
4429 | * NEWS: Add entry for native ia64-hpux support. | |
4430 | ||
4694da01 TT |
4431 | 2011-01-19 Tom Tromey <tromey@redhat.com> |
4432 | ||
4433 | PR mi/8618: | |
4434 | * thread.c (free_thread): Free 'name'. | |
4435 | (print_thread_info): Emit thread name. Change CLI output. | |
4436 | (thread_name_command): New function. | |
4437 | (do_captured_thread_select): Emit newline. | |
4438 | (_initialize_thread): Register 'thread name' command. | |
4439 | * target.h (struct target_ops) <to_thread_name>: New field. | |
4440 | (target_thread_name): New macro. | |
4441 | * target.c (update_current_target): Handle to_thread_name. | |
4442 | * python/py-infthread.c (thpy_get_name): New function. | |
4443 | (thpy_set_name): Likewise. | |
4444 | (thread_object_getset): Add "name". | |
4445 | * linux-nat.c (linux_nat_thread_name): New function. | |
4446 | (linux_nat_add_target): Set to_thread_name. | |
4447 | * gdbthread.h (struct thread_info) <name>: New field. | |
4448 | ||
10d44370 JB |
4449 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
4450 | ||
4451 | * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast. | |
4452 | (ada_val_print_1): Likewise. | |
4453 | ||
e3acb115 JB |
4454 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
4455 | ||
4456 | * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue | |
4457 | upper limit address is not greater than the function end address | |
4458 | when the upper limit could not be computed using the debugging | |
4459 | info. | |
4460 | ||
dc92e161 TT |
4461 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
4462 | ||
4463 | * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use | |
4464 | get_regcomp_error. | |
4465 | * utils.c: Include gdb_regex.h. | |
4466 | (do_regfree_cleanup): New function. | |
4467 | (make_regfree_cleanup): Likewise. | |
4468 | (get_regcomp_error): Likewise. | |
4469 | * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare. | |
4470 | ||
f55af66d TT |
4471 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
4472 | ||
4473 | * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call | |
4474 | re_compile_fastmap. | |
4475 | ||
a5a44b53 PM |
4476 | 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr> |
4477 | ||
4478 | * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE | |
4479 | for internal variables. | |
4480 | (last_was_structop): New static variable. | |
4481 | (COMPLETE): New token. | |
4482 | (field_exp): New rule to group all '.' suffix handling. | |
4483 | Add mark_struct_expression calls when approriate to be able | |
4484 | to correctly find fields for completion. | |
4485 | (yylex): Adapt to handle field completion and set INTVAR when | |
4486 | required. | |
4487 | ||
2c291032 YQ |
4488 | 2011-01-14 Yao Qi <yao@codesourcery.com> |
4489 | ||
4490 | * arm-tdep.c (arm_register_reggroup_p): FPS register is in | |
4491 | save_reggroup, restore_reggroup and all_reggroup. | |
4492 | ||
447b483c JB |
4493 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
4494 | ||
4495 | * ada-valprint. (ada_printchar): Use the correct type length | |
4496 | in call to ada_emit_char. | |
4497 | * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR. | |
4498 | ||
7b64a93b PM |
4499 | 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr> |
4500 | ||
4501 | * solib-som.h (hpux_major_release): Declare variable here. | |
4502 | * solib-som.c: Remove <sys/utsname.h> header. | |
4503 | (DEFAULT_HPUX_MAJOR_RELEASE): New macro. | |
4504 | (hpux_major_release): Make global, change default value to | |
4505 | DEFAULT_HPUX_MAJOR_RELEASE. | |
f2eb0bc8 | 4506 | (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE. |
7b64a93b PM |
4507 | * hppa-hpux-nat.c: Add <sys/utsname.h> include. |
4508 | Add "solib-som.h" header. | |
4509 | (set_hpux_major_release): New function. | |
4510 | (_initialize_hppa_hpux_nat): Call set_hpux_major_release. | |
4511 | ||
4e18c053 MF |
4512 | 2011-01-14 Mike Frysinger <vapier@gentoo.org> |
4513 | ||
4514 | * configure.tgt (*-*-uclinux*): Match more Linux os targets | |
4515 | ||
a9df6b22 JB |
4516 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
4517 | ||
4518 | * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing | |
4519 | new-line at end of warning message. | |
4520 | (ia64_hpux_store_register): Remove trailing new-line at end of | |
4521 | error message. | |
4522 | * ia64-hpux-tdep.c: Rephrase comment. | |
4523 | * solib-ia64-hpux.c (struct dld_info): Change type of field | |
4524 | dld_flags from "long long" to ULONGEST. | |
4525 | ||
ecb956dd PA |
4526 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
4527 | ||
4528 | * target.h (deprecated_child_ops): Delete declaration. | |
4529 | * target.c (deprecated_child_ops): Delete definition. | |
4530 | ||
76adfcae PA |
4531 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
4532 | ||
4533 | * Makefile.in (hpux-thread.o): Delete rule. | |
4534 | * configure.ac: Don't check for HPUX DCE threads support. | |
4535 | * configure, config.in: Regenerate. | |
4536 | * hppa-hpux-nat.c (child_suppress_run): Delete. | |
4537 | (hppa_hpux_child_can_run): Delete. | |
4538 | (_initialize_hppa_hpux_nat): Don't override to_can_run. | |
4539 | * hpux-thread.c: Delete. | |
4540 | ||
042e866e JB |
4541 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
4542 | ||
4543 | * hpux-thread.c (hpux_pid_to_str): Delete. | |
4544 | ||
4ffa5a33 JB |
4545 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
4546 | ||
4547 | * ada-valprint.c (ada_emit_char): Remove strange code. | |
4548 | Check that c is <= UCHAR_MAX before passing it to isascii. | |
4549 | (char_at): Do not assume that TYPE_LEN is either 1 or 2. | |
4550 | ||
de8fa76c JB |
4551 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
4552 | ||
4553 | * top.c (input_from_terminal_p): Restrict the use of interactive_mode | |
4554 | to the case where instream is stdin. | |
4555 | ||
c4de7027 JB |
4556 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
4557 | ||
4558 | * ia64-tdep.h (struct regcache): Forward declare. | |
4559 | (struct ia64_infcall_ops): New struct type. | |
4560 | (struct gdbarch_tdep): New fields "find_global_pointer_from_solib" | |
4561 | and "infcall_ops". | |
4562 | * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section): | |
4563 | Renames ia64_find_global_pointer. | |
4564 | (ia64_find_global_pointer, ia64_allocate_new_rse_frame) | |
4565 | (ia64_store_argument_in_slot, ia64_set_function_addr: New function. | |
4566 | (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops | |
4567 | methods. | |
4568 | (ia64_infcall_ops): New static global constant. | |
4569 | (ia64_gdbarch_init): Set tdep->infcall_ops. | |
4570 | * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function. | |
4571 | (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing. | |
4572 | * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h". | |
4573 | (ia64_hpux_dummy_code): New static global constant. | |
4574 | (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame) | |
4575 | (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr) | |
4576 | (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib): | |
4577 | New function. | |
4578 | (ia64_hpux_infcall_ops): New static global constant. | |
4579 | (ia64_hpux_init_abi): Install gdbarch and tdep methods needed | |
4580 | for inferior function calls to work properly on ia64-hpux. | |
4581 | ||
77ca787b JB |
4582 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
4583 | ||
4584 | * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS. | |
4585 | * ia64-tdep.h (struct frame_info): forward declaration. | |
4586 | (struct gdbarch_tdep): Add field size_of_register_frame. | |
4587 | * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame | |
4588 | to determine the size of the register frame. | |
4589 | (ia64_size_of_register_frame): New function. | |
4590 | (ia64_gdbarch_init): Set tdep->size_of_register_frame. | |
4591 | * ia64-hpux-tdep.c: Include "target.h" and "frame.h". | |
4592 | (IA64_HPUX_UREG_REASON): New macro. | |
4593 | (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame): | |
4594 | New functions. | |
4595 | (ia64_hpux_init_abi): Set tdep->size_of_register_frame. | |
4596 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function. | |
4597 | (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS | |
4598 | objects. | |
4599 | ||
92c9a463 JB |
4600 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
4601 | ||
4602 | Add support for ia64-hpux. | |
4603 | * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c, | |
4604 | ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files. | |
4605 | ||
4606 | * configure.host: Add handling for ia64-hpux hosts. Add associated | |
4607 | floatformats. | |
4608 | * configure.tgt: Add handling for ia64-hpux targets. | |
4609 | * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o. | |
4610 | (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h. | |
4611 | (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c. | |
4612 | ||
f688d93f JB |
4613 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
4614 | ||
4615 | [ttrace] Compute thread list immediately after attach. | |
4616 | * inf_ttrace_attach (inf_ttrace_create_threads_after_attach): | |
4617 | New subprogram. | |
4618 | (inf_ttrace_attach): Use it. | |
4619 | ||
1b89e62f JB |
4620 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
4621 | ||
4622 | * libunwind-frame.c (libunwind_frame_cache): Do not return NULL | |
4623 | if we could not determine the frame's function address. Instead, | |
4624 | use the frame's PC, and then continue. | |
4625 | ||
3e5e6e2a JB |
4626 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
4627 | ||
4628 | * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if | |
4629 | not already defined. | |
4630 | ||
825d6d8a JB |
4631 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
4632 | ||
4633 | * ia64-tdep.c (ia64_struct_type_p): New function. | |
4634 | (ia64_extract_return_value): Handle integral values that are | |
4635 | less than 8 bytes long. | |
4636 | (ia64_push_dummy_call): Likewise. | |
4637 | ||
7458e667 JB |
4638 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
4639 | ||
4640 | * ia64-tdep.c (floatformat_ia64_ext_little): Renames | |
4641 | floatformat_ia64_ext. | |
4642 | (floatformat_ia64_ext_big): New static const. | |
4643 | (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big. | |
4644 | ||
1b05df00 TT |
4645 | 2011-01-12 Tom Tromey <tromey@redhat.com> |
4646 | ||
4647 | * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error | |
4648 | messages. | |
4649 | * mi/mi-main.c (mi_cmd_thread_select): Fix error messages. | |
4650 | (mi_cmd_thread_list_ids): Likewise. | |
4651 | (mi_cmd_data_list_changed_registers): Likewise. | |
4652 | (mi_cmd_data_list_register_values): Likewise. | |
4653 | (mi_cmd_data_write_register_values): Likewise. | |
4654 | (mi_cmd_data_evaluate_expression): Likewise. | |
4655 | (mi_cmd_data_read_memory): Likewise. | |
4656 | (mi_cmd_data_read_memory_bytes): Likewise. | |
4657 | (mi_cmd_data_write_memory): Likewise. | |
4658 | (mi_cmd_enable_timings): Likewise. | |
4659 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages. | |
4660 | * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages. | |
4661 | (mi_cmd_var_delete): Likewise. | |
4662 | (mi_cmd_var_set_format): Likewise. | |
4663 | (mi_cmd_var_show_format): Likewise. | |
4664 | (mi_cmd_var_info_num_children): Likewise. | |
4665 | (mi_cmd_var_list_children): Likewise. | |
4666 | (mi_cmd_var_info_type): Likewise. | |
4667 | (mi_cmd_var_info_expression): Likewise. | |
4668 | (mi_cmd_var_show_attributes): Likewise. | |
4669 | (mi_cmd_var_assign): Likewise. | |
4670 | (mi_cmd_var_update): Likewise. | |
4671 | (mi_cmd_enable_pretty_printing): Likewise. | |
4672 | (mi_cmd_var_set_update_range): Likewise. | |
4673 | * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error | |
4674 | messages. | |
4675 | (mi_cmd_target_file_put): Likewise. | |
4676 | (mi_cmd_target_file_delete): Likewise. | |
4677 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error | |
4678 | messages. | |
4679 | (mi_cmd_stack_info_depth): Likewise. | |
4680 | (mi_cmd_stack_list_locals): Likewise. | |
4681 | (mi_cmd_stack_list_args): Likewise. | |
4682 | (mi_cmd_stack_select_frame): Likewise. | |
4683 | (mi_cmd_stack_select_frame): Likewise. | |
4684 | (mi_cmd_stack_info_frame): Likewise. | |
4685 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error | |
4686 | messages. | |
4687 | (mi_cmd_file_list_exec_source_files): Likewise. | |
4688 | * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages. | |
4689 | (mi_cmd_env_cd): Likewise. | |
4690 | (mi_cmd_env_path): Likewise. | |
4691 | (mi_cmd_env_dir): Likewise. | |
4692 | (mi_cmd_inferior_tty_show): Likewise. | |
4693 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages. | |
4694 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages. | |
4695 | (mi_cmd_break_watch): Likewise. | |
4696 | ||
ad422571 TJB |
4697 | 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com> |
4698 | ||
4699 | * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace. | |
4700 | (ppc_linux_insert_hw_breakpoint): Likewise. | |
4701 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
4702 | (ppc_linux_insert_watchpoint): Likewise. | |
4703 | ||
c2ff108b JK |
4704 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
4705 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
4706 | ||
4707 | PR fortran/11104 and DWARF unbound arrays detection. | |
4708 | * dwarf2read.c (read_subrange_type): Set zero length on unspecified | |
4709 | upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on | |
4710 | unspecified upper bound. | |
4711 | * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove | |
4712 | variables array_size_array, tmp_type and offset_item. New variable | |
4713 | array. Remove call to f77_get_upperbound. New variables array_type | |
4714 | and index. Call value_subscripted_rvalue for each dimenasion. Remove | |
4715 | the final call to deprecated_set_value_type. | |
4716 | ||
41e8491f JK |
4717 | 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
4718 | ||
4719 | Make value allocations more lazy. | |
4720 | * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy | |
4721 | instead of allocate_value and set_value_lazy when possible. | |
f2eb0bc8 | 4722 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy |
41e8491f JK |
4723 | instead of allocate_value and set_value_lazy. |
4724 | * findvar.c (value_of_register_lazy): Likewise. | |
4725 | (read_var_value): Remove V preallocation, call just check_typedef in | |
f2eb0bc8 | 4726 | advance. Move allocate_value to LOC_CONST, LOC_LABEL, |
41e8491f JK |
4727 | LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG, |
4728 | LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of | |
4729 | set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and | |
4730 | remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy | |
4731 | in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at | |
4732 | the end, remove set_value_lazy there. | |
4733 | * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy | |
4734 | instead of allocate_value and set_value_lazy when possible. | |
4735 | * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL. | |
4736 | * value.c (allocate_computed_value): Use allocate_value_lazy instead | |
4737 | of allocate_value and set_value_lazy. | |
4738 | (value_from_contents_and_address): Use allocate_value_lazy instead of | |
4739 | allocate_value and set_value_lazy when possible. | |
4740 | ||
b716877b AB |
4741 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
4742 | ||
4743 | * disasm.c (dump_insns): Support dumping opcodes for MI. | |
4744 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control | |
4745 | dumping of instruction opcodes. | |
4746 | ||
d5ae309f JB |
4747 | 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch) |
4748 | ||
4749 | * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' | |
4750 | appropiately. | |
4751 | ||
98871305 TT |
4752 | 2011-01-11 Tom Tromey <tromey@redhat.com> |
4753 | ||
4754 | * thread.c (do_captured_thread_select): Emit newline before | |
4755 | printing frame. | |
4756 | ||
c378eb4e MS |
4757 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
4758 | ||
4759 | * s390-tdep.c: Comment cleanup, mostly periods and spaces. | |
4760 | * score-tdep.c: Ditto. | |
4761 | * score-tdep.h: Ditto. | |
4762 | * ser-base.c: Ditto. | |
4763 | * ser-go32.c: Ditto. | |
4764 | * serial.c: Ditto. | |
4765 | * serial.h: Ditto. | |
4766 | * ser-mingw.c: Ditto. | |
4767 | * ser-pipe.c: Ditto. | |
4768 | * ser-tcp.c: Ditto. | |
4769 | * ser-unix.c: Ditto. | |
4770 | * sh64-tdep.c: Ditto. | |
4771 | * shnbsd-nat.c: Ditto. | |
4772 | * sh-tdep.c: Ditto. | |
4773 | * sh-tdep.h: Ditto. | |
4774 | * solib.c: Ditto. | |
4775 | * solib-darwin.c: Ditto. | |
4776 | * solib-frv.c: Ditto. | |
4777 | * solib.h: Ditto. | |
4778 | * solib-irix.c: Ditto. | |
4779 | * solib-osf.c: Ditto. | |
4780 | * solib-pa64.c: Ditto. | |
4781 | * solib-som.c: Ditto. | |
4782 | * solib-spu.c: Ditto. | |
4783 | * solib-sunos.c: Ditto. | |
4784 | * solib-svr4.c: Ditto. | |
4785 | * solist.h: Ditto. | |
4786 | * sol-thread.c: Ditto. | |
4787 | * somread.c: Ditto. | |
4788 | * source.c: Ditto. | |
4789 | * source.h: Ditto. | |
4790 | * sparc64-linux-tdep.c: Ditto. | |
4791 | * sparc64-tdep.c: Ditto. | |
4792 | * sparc-linux-nat.c: Ditto. | |
4793 | * sparc-linux-tdep.c: Ditto. | |
4794 | * sparc-sol2-nat.c: Ditto. | |
4795 | * sparc-sol2-tdep.c: Ditto. | |
4796 | * sparc-tdep.c: Ditto. | |
4797 | * sparc-tdep.h: Ditto. | |
4798 | * spu-tdep.c: Ditto. | |
4799 | * stabsread.c: Ditto. | |
4800 | * stabsread.h: Ditto. | |
4801 | * stack.c: Ditto. | |
4802 | * symfile.c: Ditto. | |
4803 | * symfile.h: Ditto. | |
4804 | * symmisc.c: Ditto. | |
4805 | * symtab.c: Ditto. | |
4806 | * symtab.h: Ditto. | |
4807 | * target.c: Ditto. | |
4808 | * target-descriptions.c: Ditto. | |
4809 | * target-descriptions.h: Ditto. | |
4810 | * target.h: Ditto. | |
4811 | * target-memory.c: Ditto. | |
4812 | * terminal.h: Ditto. | |
4813 | * thread.c: Ditto. | |
4814 | * top.c: Ditto. | |
4815 | * tracepoint.c: Ditto. | |
4816 | * tracepoint.h: Ditto. | |
4817 | * trad-frame.h: Ditto. | |
4818 | * typeprint.c: Ditto. | |
4819 | ||
581e13c1 MS |
4820 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
4821 | ||
4822 | * ui-file.c: Comment cleanup, mostly periods and spaces. | |
4823 | * ui-file.h: Ditto. | |
4824 | * ui-out.c: Ditto. | |
4825 | * ui-out.h: Ditto. | |
4826 | * utils.c: Ditto. | |
4827 | * v850-tdep.c: Ditto. | |
4828 | * valarith.c: Ditto. | |
4829 | * valops.c: Ditto. | |
4830 | * valprint.c: Ditto. | |
4831 | * valprint.h: Ditto. | |
4832 | * value.c: Ditto. | |
4833 | * value.h: Ditto. | |
4834 | * varobj.c: Ditto. | |
4835 | * varobj.h: Ditto. | |
4836 | * vax-tdep.c: Ditto. | |
4837 | * vec.c: Ditto. | |
4838 | * vec.h: Ditto. | |
4839 | * version.h: Ditto. | |
4840 | * windows-nat.c: Ditto. | |
4841 | * windows-tdep.c: Ditto. | |
4842 | * xcoffread.c: Ditto. | |
4843 | * xcoffsolib.c: Ditto. | |
4844 | * xml-support.c: Ditto. | |
4845 | * xstormy16-tdep.c: Ditto. | |
4846 | * xtensa-tdep.c: Ditto. | |
4847 | * xtensa-tdep.h: Ditto. | |
4848 | ||
90e4670f TJB |
4849 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
4850 | ||
4851 | * breakpoint.c (resources_needed_watchpoint): Fix indentation. | |
4852 | * gdbtypes.c (is_scalar_type_recursive): Fix formatting. | |
4853 | ||
e09342b5 TJB |
4854 | 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> |
4855 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
4856 | ||
4857 | Implement support for PowerPC BookE ranged watchpoints. | |
f2eb0bc8 | 4858 | * breakpoint.h |
e09342b5 TJB |
4859 | (struct breakpoint_ops) <resources_needed>: New method. |
4860 | Initialize to NULL in all existing breakpoint_ops instances. | |
4861 | (struct breakpoint) <exact>: New field. | |
4862 | (target_exact_watchpoints): Declare external global. | |
4863 | * breakpoint.c (target_exact_watchpoints): New global flag. | |
4864 | (update_watchpoint): Set b->type to bp_hardware_watchpoint and | |
4865 | b->enable_state to bp_enabled before calling | |
4866 | hw_watchpoint_used_count. | |
4867 | (hw_watchpoint_used_count): Iterate over all bp_locations in a | |
4868 | watchpoint. Call breakpoint's breakpoint_ops.resources_needed | |
4869 | if available. | |
4870 | (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte | |
4871 | if the watchpoint is exact. | |
4872 | (resources_needed_watchpoint): New function. | |
4873 | (watchpoint_breakpoint_ops): Add resources_needed_watchpoint. | |
4874 | (watch_command_1): Set b->exact if the user asked for an exact | |
4875 | watchpoint and one can be set. | |
4876 | (can_use_hardware_watchpoint): Add exact_watchpoints argument. | |
4877 | Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if | |
4878 | the user asks for an exact watchpoint and one can be set. Return | |
4879 | number of needed debug registers to watch the expression. | |
4880 | * gdbtypes.c (is_scalar_type): New function, based on | |
4881 | valprint.c:scalar_type_p. | |
4882 | (is_scalar_type_recursive): New function. | |
4883 | * gdbtypes.h (is_scalar_type_recursive): Declare. | |
4884 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always | |
4885 | handle regions when ranged watchpoints are available. | |
4886 | (create_watchpoint_request): New function. | |
4887 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
4888 | create_watchpoint_request. | |
4889 | * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function. | |
4890 | (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the | |
4891 | `set powerpc' and `show powerpc' commands. | |
4892 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
4893 | Mention documentation comment in the target macro. | |
4894 | (target_region_ok_for_hw_watchpoint): Document return value. | |
4895 | ||
9fa40276 TJB |
4896 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
4897 | ||
4898 | * breakpoint.c (update_watchpoint): Decide on using a software or | |
4899 | hardware watchpoint after the bp_locations are created. | |
4900 | ||
77b06cd7 TJB |
4901 | 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
4902 | ||
4903 | Convert hardware watchpoints to use breakpoint_ops. | |
4904 | * breakpoint.h (breakpoint_ops) <insert>: Rename to... | |
4905 | <insert_location>: ... this. Return int instead of void. | |
4906 | Accept pointer to struct bp_location instead of pointer to | |
4907 | struct breakpoint. Adapt all implementations. | |
f2eb0bc8 | 4908 | (breakpoint_ops) <remove>: Rename to... |
77b06cd7 TJB |
4909 | <remove_location>: ... this. Accept pointer to struct bp_location |
4910 | instead of pointer to struct breakpoint. Adapt all implementations. | |
4911 | * breakpoint.c (insert_catchpoint): Delete function. | |
4912 | (insert_bp_location): Call the watchpoint or catchpoint's | |
4913 | breakpoint_ops.insert method. | |
4914 | (remove_breakpoint_1): Call the watchpoint or catchpoint's | |
4915 | breakpoint_ops.remove method. | |
4916 | (insert_watchpoint, remove_watchpoint): New functions. | |
4917 | (watchpoint_breakpoint_ops): New structure. | |
4918 | (watch_command_1): Initialize the OPS field. | |
4919 | * inf-child.c (inf_child_insert_fork_catchpoint) | |
4920 | (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint) | |
4921 | (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint) | |
4922 | (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint): | |
4923 | Delete functions. | |
4924 | (inf_child_target): Remove initialization of to_insert_fork_catchpoint, | |
4925 | to_remove_fork_catchpoint, to_insert_vfork_catchpoint, | |
4926 | to_remove_vfork_catchpoint, to_insert_exec_catchpoint, | |
4927 | to_remove_exec_catchpoint and to_set_syscall_catchpoint. | |
4928 | * target.c (update_current_target): Change default implementation of | |
4929 | to_insert_fork_catchpoint, to_remove_fork_catchpoint, | |
4930 | to_insert_vfork_catchpoint, to_remove_vfork_catchpoint, | |
4931 | to_insert_exec_catchpoint, to_remove_exec_catchpoint and | |
4932 | to_set_syscall_catchpoint to return_one. | |
4933 | (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint) | |
4934 | (debug_to_insert_exec_catchpoint): Report return value. | |
4935 | * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint) | |
4936 | (to_insert_exec_catchpoint): Change declaration to return int instead | |
4937 | of void. | |
4938 | ||
9b20d036 MS |
4939 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
4940 | ||
4941 | * arm-tdep.c: Internationalization. | |
4942 | * c-lang.c: Ditto. | |
4943 | * charset.c: Ditto. | |
4944 | * fork-child.c: Ditto. | |
4945 | * nto-procfs.c: Ditto. | |
4946 | * ppc-sysv-tdep.c: Ditto. | |
4947 | * procfs.c: Ditto. | |
4948 | * remote-mips.c: Ditto. | |
4949 | * remote.c: Ditto. | |
4950 | * rs6000-nat.c: Ditto. | |
4951 | * rs6000-tdep.c: Ditto. | |
4952 | * target.c: Ditto. | |
4953 | * valops.c: Ditto. | |
4954 | * value.c: Ditto. | |
4955 | * xml-support.c: Ditto. | |
4956 | * mi/mi-cmd-break.c: Ditto. | |
4957 | * mi/mi-cmd-var.c: Ditto. | |
4958 | * mi/mi-interp.c: Ditto. | |
4959 | * mi/mi-main.c: Ditto. | |
4960 | ||
dae477fe AB |
4961 | 2011-01-11 Andrew Burgess <aburgess@broadcom.com> |
4962 | ||
4963 | * remote-sim.c (gdbsim_store_register): Update API to | |
4964 | sim_store_register to check more error conditions. | |
4965 | ||
0df8b418 MS |
4966 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
4967 | ||
4968 | * nto-procfs.c: Comment cleanup, mostly periods and spaces. | |
4969 | * nto-tdep.c: Ditto. | |
4970 | * nto-tdep.h: Ditto. | |
4971 | * objc-exp.y: Ditto. | |
4972 | * objc-lang.c: Ditto. | |
4973 | * objfiles.c: Ditto. | |
4974 | * objfiles.h: Ditto. | |
4975 | * observer.c: Ditto. | |
4976 | * opencl-lang.c: Ditto. | |
4977 | * osabi.c: Ditto. | |
4978 | * parse.c: Ditto. | |
4979 | * parser-defs.h: Ditto. | |
4980 | * p-exp.y: Ditto. | |
4981 | * p-lang.c: Ditto. | |
4982 | * posix-hdep.c: Ditto. | |
4983 | * ppcbug-rom.c: Ditto. | |
4984 | * ppc-linux-nat.c: Ditto. | |
4985 | * ppc-linux-tdep.c: Ditto. | |
4986 | * ppc-linux-tdep.h: Ditto. | |
4987 | * ppcnbsd-tdep.c: Ditto. | |
4988 | * ppcobsd-tdep.c: Ditto. | |
4989 | * ppcobsd-tdep.h: Ditto. | |
4990 | * ppc-sysv-tdep.c: Ditto. | |
4991 | * ppc-tdep.h: Ditto. | |
4992 | * printcmd.c: Ditto. | |
4993 | * proc-abi.c: Ditto. | |
4994 | * proc-flags.c: Ditto. | |
4995 | * procfs.c: Ditto. | |
4996 | * proc-utils.h: Ditto. | |
4997 | * progspace.h: Ditto. | |
4998 | * prologue-value.c: Ditto. | |
4999 | * prologue-value.h: Ditto. | |
5000 | * psympriv.h: Ditto. | |
5001 | * psymtab.c: Ditto. | |
5002 | * p-typeprint.c: Ditto. | |
5003 | * p-valprint.c: Ditto. | |
5004 | * ravenscar-sparc-thread.c: Ditto. | |
5005 | * ravenscar-thread.c: Ditto. | |
5006 | * ravenscar-thread.h: Ditto. | |
5007 | * record.c: Ditto. | |
5008 | * regcache.c: Ditto. | |
5009 | * regcache.h: Ditto. | |
5010 | * remote.c: Ditto. | |
5011 | * remote-fileio.c: Ditto. | |
5012 | * remote-fileio.h: Ditto. | |
5013 | * remote.h: Ditto. | |
5014 | * remote-m32r-sdi.c: Ditto. | |
5015 | * remote-mips.c: Ditto. | |
5016 | * remote-sim.c: Ditto. | |
5017 | * rs6000-aix-tdep.c: Ditto. | |
5018 | * rs6000-nat.c: Ditto. | |
5019 | * rs6000-tdep.c: Ditto. | |
5020 | ||
0d7a18f7 MS |
5021 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
5022 | ||
5023 | * charset.c (validate): Internationalization. | |
5024 | * coffread.c (read_one_sym): Ditto. | |
5025 | * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto. | |
5026 | * h8300-tdep.c (H8300_extract_return_value): Ditto. | |
5027 | * inflow.c (new_tty): Ditto. | |
5028 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto. | |
5029 | * m32c-tdep.c (m32c_return_value): Ditto. | |
5030 | * mep-tdep.c (mep_store_return_value): Ditto. | |
5031 | * score-tdep.c (score7_fetch_insn): Ditto. | |
5032 | * ser-mingw.c (pipe_windows_open): Ditto. | |
5033 | * sh64-tdep.c (sh64_extract_return_value): Ditto. | |
5034 | * spu-tdep.c (spu_register_type): Ditto. | |
5035 | * tracepoint.c (trace_find_command): Ditto. | |
5036 | * valarith.c (value_pos): Ditto. | |
5037 | ||
9a153e0b JB |
5038 | 2011-01-10 Joel Brobecker <brobecker@adacore.com> |
5039 | ||
5040 | * ada-valprint.c (printstr): Minor comment reformatting. | |
5041 | ||
35ecd2d6 MS |
5042 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
5043 | ||
5044 | * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _ | |
5045 | markup. | |
5046 | ||
1777feb0 MS |
5047 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
5048 | ||
5049 | * h8300-tdep.c: Comment cleanup, mostly periods and spaces. | |
5050 | * hppa-hpux-tdep.c: Ditto. | |
5051 | * hppa-linux-nat.c: Ditto. | |
5052 | * hppa-linux-tdep.c: Ditto. | |
5053 | * hppanbsd-tdep.c: Ditto. | |
5054 | * hppa-tdep.c: Ditto. | |
5055 | * hppa-tdep.h: Ditto. | |
5056 | * hpux-thread.c: Ditto. | |
5057 | * i386-cygwin-tdep.c: Ditto. | |
5058 | * i386-darwin-nat.c: Ditto. | |
5059 | * i386gnu-nat.c: Ditto. | |
5060 | * i386-linux-nat.c: Ditto. | |
5061 | * i386-linux-tdep.c: Ditto. | |
5062 | * i386-nat.c: Ditto. | |
5063 | * i386-nat.h: Ditto. | |
5064 | * i386nbsd-tdep.c: Ditto. | |
5065 | * i386-sol2-nat.c: Ditto. | |
5066 | * i386-stub.c: Ditto. | |
5067 | * i386-tdep.c: Ditto. | |
5068 | * i386-tdep.h: Ditto. | |
5069 | * i387-tdep.c: Ditto. | |
5070 | * ia64-linux-nat.c: Ditto. | |
5071 | * ia64-linux-tdep.c: Ditto. | |
5072 | * ia64-tdep.c: Ditto. | |
5073 | * infcall.c: Ditto. | |
5074 | * infcall.h: Ditto. | |
5075 | * infcmd.c: Ditto. | |
5076 | * inferior.c: Ditto. | |
5077 | * inferior.h: Ditto. | |
5078 | * infloop.c: Ditto. | |
5079 | * inflow.c: Ditto. | |
5080 | * infrun.c: Ditto. | |
5081 | * interps.c: Ditto. | |
5082 | * interps.h: Ditto. | |
5083 | * iq2000-tdep.c: Ditto. | |
5084 | * irix5-nat.c: Ditto. | |
5085 | * jit.c: Ditto. | |
5086 | * jit.h: Ditto. | |
5087 | * jv-exp.y: Ditto. | |
5088 | * jv-lang.c: Ditto. | |
5089 | * jv-lang.h: Ditto. | |
5090 | * jv-typeprint.c: Ditto. | |
5091 | * jv-valprint.c: Ditto. | |
5092 | * language.c: Ditto. | |
5093 | * language.h: Ditto. | |
5094 | * linespec.c: Ditto. | |
5095 | * linux-fork.c: Ditto. | |
5096 | * linux-nat.c: Ditto. | |
5097 | * linux-thread-db.c: Ditto. | |
5098 | * lm32-tdep.c: Ditto. | |
5099 | ||
025bb325 MS |
5100 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
5101 | ||
5102 | * m2-exp.y: Comment cleanup, mostly periods and spaces. | |
5103 | * m2-lang.c: Ditto. | |
5104 | * m2-typeprint.c: Ditto. | |
5105 | * m2-valprint.c: Ditto. | |
5106 | * m32c-tdep.c: Ditto. | |
5107 | * m32r-linux-nat.c: Ditto. | |
5108 | * m32r-rom.c: Ditto. | |
5109 | * m32r-tdep.c: Ditto. | |
5110 | * m32r-tdep.h: Ditto. | |
5111 | * m68hc11-tdep.c: Ditto. | |
5112 | * m58klinux-nat.c: Ditto. | |
5113 | * m68k-tdep.c: Ditto. | |
5114 | * m88k-tdep.c: Ditto. | |
5115 | * m88k-tdep.h: Ditto. | |
5116 | * machoread.c: Ditto. | |
5117 | * macrocmd.c: Ditto. | |
5118 | * macroexp.c: Ditto. | |
5119 | * macrotab.c: Ditto. | |
5120 | * main.c: Ditto. | |
5121 | * maint.c: Ditto. | |
5122 | * mdebugread.c: Ditto. | |
5123 | * mdebugread.h: Ditto. | |
5124 | * memattr.c: Ditto. | |
5125 | * memattr.h: Ditto. | |
5126 | * memory-map.h: Ditto. | |
5127 | * mep-tdep.c: Ditto. | |
5128 | * microblaze-rom.c: Ditto. | |
5129 | * microblaze-tdep.c: Ditto. | |
5130 | * minsyms.c: Ditto. | |
5131 | * mips-irix-tdep.c: Ditto. | |
5132 | * mips-linux-nat.c: Ditto. | |
5133 | * mips-linux-tdep.c: Ditto. | |
5134 | * mips-linux-tdep.h: Ditto. | |
5135 | * mipsnbsd-nat.c: Ditto. | |
5136 | * mipsnbsd-tdep.c: Ditto. | |
5137 | * mipsread.c: Ditto. | |
5138 | * mips-tdep.c: Ditto. | |
5139 | * mips-tdep.h: Ditto. | |
5140 | * mn10300-linux-tdep.c: Ditto. | |
5141 | * mn10300-tdep.c: Ditto. | |
5142 | * mn10300-tdep.h: Ditto. | |
5143 | * monitor.c: Ditto. | |
5144 | * monitor.h: Ditto. | |
5145 | * moxie-tdep.c: Ditto. | |
5146 | * moxie-tdep.h: Ditto. | |
5147 | * mt-tdep.c: Ditto. | |
5148 | ||
1642781b MF |
5149 | 2011-01-08 Mike Frysinger <vapier@gentoo.org> |
5150 | ||
5151 | * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name. | |
5152 | ||
394b0adb JB |
5153 | 2011-01-08 Robert Millan <rmh@gnu.org> |
5154 | ||
5155 | * fbsd-nat.c (fbsd_find_memory_regions): Fix typo. | |
5156 | ||
b670013c MS |
5157 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
5158 | ||
5159 | * charset.c (_initialize_charset): Fix typo in string. | |
5160 | ||
a743e542 MS |
5161 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
5162 | ||
5163 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message | |
5164 | for i18n. | |
f2eb0bc8 | 5165 | * tui/tui-layout.c (tui_set_layout_for_display_command): |
a743e542 MS |
5166 | Split line so that operator goes to beginning of line. |
5167 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Move | |
5168 | assignment out of if statement. | |
5169 | ||
0963b4bd MS |
5170 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
5171 | ||
5172 | * ada-lang.c: Comment cleanup, mostly periods and spaces. | |
5173 | * ada-lang.h: Ditto. | |
5174 | * ada-tasks.c: Ditto. | |
5175 | * ada-valprint.c: Ditto. | |
5176 | * aix-threads.c: Ditto. | |
5177 | * alpha-linux-nat.c: Ditto. | |
5178 | * alpha-linux-tdep.c: Ditto. | |
5179 | * alpha-mdebug-tdep.c: Ditto. | |
5180 | * alpha-nat.c: Ditto. | |
5181 | * alpha-osf1-tdep.c: Ditto. | |
5182 | * alpha-tdep.c: Ditto. | |
5183 | * alphabsd-nat.c: Ditto. | |
5184 | * alphabsd-tdep.c: Ditto. | |
5185 | * amd64-darwin-tdep.c: Ditto. | |
5186 | * amd64-linux-nat.c: Ditto. | |
5187 | * amd64-linux-tdep.c: Ditto. | |
5188 | * amd64-sol2-tdep.c: Ditto. | |
5189 | * amd64-tdep.c: Ditto. | |
5190 | * amd64-fbsd-tdep.c: Ditto. | |
5191 | * amd64-nbsd-tdep.c: Ditto. | |
5192 | * amd64-obsd-tdep.c: Ditto. | |
5193 | * amd64-linux-nat.c: Ditto. | |
5194 | * amd64-linux-tdep.c: Ditto. | |
5195 | * arm-tdep.c: Ditto. | |
5196 | * arm-tdep.h: Ditto. | |
5197 | * armnbsd-nat.c: Ditto. | |
5198 | * avr-tdep.c: Ditto. | |
5199 | * bfin-tdep.c: Ditto. | |
5200 | * bsd-kvm.c: Ditto. | |
5201 | * c-typeprintc: Ditto. | |
5202 | * c-valprint.c: Ditto. | |
5203 | * coff-pe-read.h: Ditto. | |
5204 | * coffreead.c: Ditto. | |
5205 | * cris-tdep.c: Ditto. | |
5206 | * d-lang.c: Ditto. | |
5207 | * darwin-nat-info.c: Ditto. | |
5208 | * darwin-nat.c: Ditto. | |
5209 | * dbug-rom.c: Ditto. | |
5210 | * dbxread.c: Ditto. | |
5211 | * dcache.c: Ditto. | |
5212 | * dcache.h: Ditto. | |
5213 | * dec-thread.c: Ditto. | |
5214 | * defs.h: Ditto. | |
5215 | * demangle.c: Ditto. | |
5216 | * dicos-tdep.c: Ditto. | |
5217 | * dictionary.c: Ditto. | |
5218 | * dictionary.h: Ditto. | |
5219 | * dink32-rom.c: Ditto. | |
5220 | * disasm.c: Ditto. | |
5221 | * doublest.c: Ditto. | |
5222 | * dsrec.c: Ditto. | |
5223 | * dummy-frame.c: Ditto. | |
5224 | * dwarf2-frame.c: Ditto. | |
5225 | * dwarf2expr.c: Ditto. | |
5226 | * dwarf2loc.c: Ditto. | |
5227 | * dwarf2read.c: Ditto. | |
5228 | * elfread.c: Ditto. | |
5229 | * environ.c: Ditto. | |
5230 | * eval.c: Ditto. | |
5231 | * event-top.h: Ditto. | |
5232 | * exceptions.c: Ditto. | |
5233 | * exceptions.h: Ditto. | |
5234 | * exec.c: Ditto. | |
5235 | * expprint.c: Ditto. | |
5236 | * expression.h: Ditto. | |
5237 | * f-exp.y: Ditto. | |
5238 | * f-lang.c: Ditto. | |
5239 | * f-lang.h: Ditto. | |
5240 | * f-typeprint.c: Ditto. | |
5241 | * f-valprint.c: Ditto. | |
5242 | * fbsd-nat.c: Ditto. | |
5243 | * findvar.c: Ditto. | |
5244 | * fork-child.c: Ditto. | |
5245 | * frame.c: Ditto. | |
5246 | * frame.h: Ditto. | |
5247 | * frv-linux-tdep.c: Ditto. | |
5248 | * frv-tdep.c: Ditto. | |
5249 | * gcore.c: Ditto. | |
5250 | * gdb-stabs.h: Ditto. | |
5251 | * gdb_assert.h: Ditto. | |
5252 | * gdb_string.h: Ditto. | |
5253 | * gdb_thread_db.h: Ditto. | |
5254 | * gdb_wait.h: Ditto. | |
5255 | * gdbarch.sh: Ditto. | |
5256 | * gdbcore.h: Ditto. | |
5257 | * gdbthread.h: Ditto. | |
5258 | * gdbtypes.c: Ditto. | |
5259 | * gdbtypes.h: Ditto. | |
5260 | * gnu-nat.c: Ditto. | |
5261 | * gnu-nat.h: Ditto. | |
5262 | * gnu-v2-abi.c: Ditto. | |
5263 | * gnu-v3-abi.c: Ditto. | |
5264 | * go32-nat.c: Ditto. | |
5265 | * gdbarch.c: Regenerate. | |
5266 | * gdbarch.h: Regenerate. | |
5267 | ||
ac74f770 MS |
5268 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
5269 | ||
5270 | * ax-gdb.c: Adjust some long output strings. | |
5271 | * breakpoint.c: Ditto. | |
5272 | * charset.c: Ditto. | |
5273 | * cp-abi.c: Ditto. | |
5274 | * infcall.c: Ditto. | |
5275 | * infrun.c: Ditto. | |
5276 | * linux-nat.c: Ditto. | |
5277 | * solib-pa64.c: Ditto. | |
5278 | * solib-som.c: Ditto. | |
5279 | ||
d8e22779 TT |
5280 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
5281 | ||
5282 | PR python/12367: | |
5283 | * NEWS: Add item. | |
5284 | * python/python.c (GdbMethods): Add "newest_frame" method. | |
5285 | * python/python-internal.h (gdbpy_newest_frame): Declare. | |
5286 | * python/py-frame.c (gdbpy_newest_frame): New function. | |
5287 | ||
a255712f PP |
5288 | 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com> |
5289 | ||
5290 | * jit.h (struct jit_code_entry): use ULONGEST for symfile_size. | |
5291 | * jit.c (jit_debug): New variable. | |
5292 | (show_jit_debug): New function. | |
5293 | (struct target_buffer): Use ULONGEST. | |
5294 | (bfd_open_from_target_memory): Likewise. | |
5295 | (jit_register_code, jit_inferior_init): Add debug output. | |
5296 | (_initialize_jit): Register "debug jit" command. | |
5297 | ||
ccfc3d6e TT |
5298 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
5299 | ||
5300 | * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment. | |
5301 | * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME | |
5302 | and ARCH_FRAME. | |
5303 | ||
57126e4a TT |
5304 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
5305 | ||
5306 | * python/py-frame.c (frapy_block): Use get_frame_block. | |
5307 | ||
16dfc9ce JB |
5308 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
5309 | ||
5310 | Do not stop on SIGPRIO signals by default | |
5311 | * infrun.c (_initialize_infrun): Unset signal_stop and | |
5312 | signal_print for TARGET_SIGNAL_PRIO. | |
5313 | ||
b1ce2347 JB |
5314 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
5315 | ||
5316 | * ada-tasks.c: Fix style violation in comment. | |
5317 | ||
8f7e195f JB |
5318 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
5319 | ||
5320 | * linespec.c (decode_compound, find_method): Remove trailing \n | |
5321 | at end of error string. | |
5322 | * solib-irix.c (irix_current_sos): Likewise. | |
5323 | * varobj.c (uninstall_variable): Likewise. | |
5324 | ||
e9bdf92c JB |
5325 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
5326 | ||
5327 | * copyright.py: New script. | |
5328 | * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. | |
5329 | Launch emacs without exec'ing. Call copyright.py afterwards. | |
5330 | ||
3e43a32a MS |
5331 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
5332 | ||
5333 | * addrmap.c: Shorten lines of >= 80 columns. | |
5334 | * arch-utils.c: Ditto. | |
5335 | * arch-utils.h: Ditto. | |
5336 | * ax-gdb.c: Ditto. | |
5337 | * ax-general.c: Ditto. | |
5338 | * bcache.c: Ditto. | |
5339 | * blockframe.c: Ditto. | |
5340 | * breakpoint.c: Ditto. | |
5341 | * buildsym.c: Ditto. | |
5342 | * c-lang.c: Ditto. | |
5343 | * c-typeprint.c: Ditto. | |
5344 | * charset.c: Ditto. | |
5345 | * coffread.c: Ditto. | |
5346 | * command.h: Ditto. | |
5347 | * corelow.c: Ditto. | |
5348 | * cp-abi.c: Ditto. | |
5349 | * cp-namespace.c: Ditto. | |
5350 | * cp-support.c: Ditto. | |
5351 | * dbug-rom.c: Ditto. | |
5352 | * dbxread.c: Ditto. | |
5353 | * defs.h: Ditto. | |
5354 | * dfp.c: Ditto. | |
5355 | * dfp.h: Ditto. | |
5356 | * dictionary.c: Ditto. | |
5357 | * disasm.c: Ditto. | |
5358 | * doublest.c: Ditto. | |
5359 | * dwarf2-frame.c: Ditto. | |
5360 | * dwarf2expr.c: Ditto. | |
5361 | * dwarf2loc.c: Ditto. | |
5362 | * dwarf2read.c: Ditto. | |
5363 | * elfread.c: Ditto. | |
5364 | * eval.c: Ditto. | |
5365 | * event-loop.c: Ditto. | |
5366 | * event-loop.h: Ditto. | |
5367 | * exceptions.h: Ditto. | |
5368 | * exec.c: Ditto. | |
5369 | * expprint.c: Ditto. | |
5370 | * expression.h: Ditto. | |
5371 | * f-lang.c: Ditto. | |
5372 | * f-valprint.c: Ditto. | |
5373 | * findcmd.c: Ditto. | |
5374 | * frame-base.c: Ditto. | |
5375 | * frame-unwind.c: Ditto. | |
5376 | * frame-unwind.h: Ditto. | |
5377 | * frame.c: Ditto. | |
5378 | * frame.h: Ditto. | |
5379 | * gcore.c: Ditto. | |
5380 | * gdb-stabs.h: Ditto. | |
5381 | * gdb_assert.h: Ditto. | |
5382 | * gdb_dirent.h: Ditto. | |
5383 | * gdb_obstack.h: Ditto. | |
5384 | * gdbcore.h: Ditto. | |
5385 | * gdbtypes.c: Ditto. | |
5386 | * gdbtypes.h: Ditto. | |
5387 | * inf-ttrace.c: Ditto. | |
5388 | * infcall.c: Ditto. | |
5389 | * infcmd.c: Ditto. | |
5390 | * inflow.c: Ditto. | |
5391 | * infrun.c: Ditto. | |
5392 | * inline-frame.h: Ditto. | |
5393 | * language.c: Ditto. | |
5394 | * language.h: Ditto. | |
5395 | * libunwind-frame.c: Ditto. | |
5396 | * libunwind-frame.h: Ditto. | |
5397 | * linespec.c: Ditto. | |
5398 | * linux-nat.c: Ditto. | |
5399 | * linux-nat.h: Ditto. | |
5400 | * linux-thread-db.c: Ditto. | |
5401 | * machoread.c: Ditto. | |
5402 | * macroexp.c: Ditto. | |
5403 | * macrotab.c: Ditto. | |
5404 | * main.c: Ditto. | |
5405 | * maint.c: Ditto. | |
5406 | * mdebugread.c: Ditto. | |
5407 | * memattr.c: Ditto. | |
5408 | * minsyms.c: Ditto. | |
5409 | * monitor.c: Ditto. | |
5410 | * monitor.h: Ditto. | |
5411 | * objfiles.c: Ditto. | |
5412 | * objfiles.h: Ditto. | |
5413 | * osabi.c: Ditto. | |
5414 | * p-typeprint.c: Ditto. | |
5415 | * p-valprint.c: Ditto. | |
5416 | * parse.c: Ditto. | |
5417 | * printcmd.c: Ditto. | |
5418 | * proc-events.c: Ditto. | |
5419 | * procfs.c: Ditto. | |
5420 | * progspace.c: Ditto. | |
5421 | * progspace.h: Ditto. | |
5422 | * psympriv.h: Ditto. | |
5423 | * psymtab.c: Ditto. | |
5424 | * record.c: Ditto. | |
5425 | * regcache.c: Ditto. | |
5426 | * regcache.h: Ditto. | |
5427 | * remote-fileio.c: Ditto. | |
5428 | * remote.c: Ditto. | |
5429 | * ser-mingw.c: Ditto. | |
5430 | * ser-tcp.c: Ditto. | |
5431 | * ser-unix.c: Ditto. | |
5432 | * serial.c: Ditto. | |
5433 | * serial.h: Ditto. | |
5434 | * solib-frv.c: Ditto. | |
5435 | * solib-irix.c: Ditto. | |
5436 | * solib-osf.c: Ditto. | |
5437 | * solib-pa64.c: Ditto. | |
5438 | * solib-som.c: Ditto. | |
5439 | * solib-sunos.c: Ditto. | |
5440 | * solib-svr4.c: Ditto. | |
5441 | * solib-target.c: Ditto. | |
5442 | * solib.c: Ditto. | |
5443 | * somread.c: Ditto. | |
5444 | * source.c: Ditto. | |
5445 | * stabsread.c: Ditto. | |
5446 | * stabsread.c: Ditto. | |
5447 | * stack.c: Ditto. | |
5448 | * stack.h: Ditto. | |
5449 | * symfile-mem.c: Ditto. | |
5450 | * symfile.c: Ditto. | |
5451 | * symfile.h: Ditto. | |
5452 | * symmisc.c: Ditto. | |
5453 | * symtab.c: Ditto. | |
5454 | * symtab.h: Ditto. | |
5455 | * target-descriptions.c: Ditto. | |
5456 | * target-memory.c: Ditto. | |
5457 | * target.c: Ditto. | |
5458 | * target.h: Ditto. | |
5459 | * terminal.h: Ditto. | |
5460 | * thread.c: Ditto. | |
5461 | * top.c: Ditto. | |
5462 | * tracepoint.c: Ditto. | |
5463 | * tracepoint.h: Ditto. | |
5464 | * ui-file.c: Ditto. | |
5465 | * ui-file.h: Ditto. | |
5466 | * ui-out.h: Ditto. | |
5467 | * user-regs.c: Ditto. | |
5468 | * user-regs.h: Ditto. | |
5469 | * utils.c: Ditto. | |
5470 | * valarith.c: Ditto. | |
5471 | * valops.c: Ditto. | |
5472 | * valprint.c: Ditto. | |
5473 | * valprint.h: Ditto. | |
5474 | * value.c: Ditto. | |
5475 | * varobj.c: Ditto. | |
5476 | * varobj.h: Ditto. | |
5477 | * vec.h: Ditto. | |
5478 | * xcoffread.c: Ditto. | |
5479 | * xcoffsolib.c: Ditto. | |
5480 | * xcoffsolib.h: Ditto. | |
5481 | * xml-syscall.c: Ditto. | |
5482 | * xml-tdesc.c: Ditto. | |
5483 | ||
9a2b4c1b MS |
5484 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
5485 | ||
5486 | * cli/cli-cmds.c: Shorten lines of >= 80 columns. | |
5487 | * cli/cli-decode.c: Ditto. | |
5488 | * cli/cli-dump.c: Ditto. | |
5489 | * cli/cli-logging.c: Ditto. | |
5490 | * cli/cli-script.c: Ditto. | |
5491 | * cli/cli-setshow.c: Ditto. | |
5492 | * common/signals.c: Ditto. | |
5493 | * mi/mi-cmd-break.c: Ditto. | |
5494 | * mi/mi-cmd-disas.c: Ditto. | |
5495 | * mi/mi-cmd-stack.c: Ditto. | |
5496 | * mi/mi-cmd-var.c: Ditto. | |
5497 | * mi/mi-cmds.c: Ditto. | |
5498 | * mi/mi-common.h: Ditto. | |
5499 | * mi/mi-console.c: Ditto. | |
5500 | * mi/mi-interp.c: Ditto. | |
5501 | * mi/mi-main.c: Ditto. | |
5502 | * osf-share/cma_attr.c: Ditto. | |
5503 | * osf-share/cma_deb_core.h: Ditto. | |
5504 | * osf-share/cma_debug_client.h: Ditto. | |
5505 | * osf-share/cma_handle.h: Ditto. | |
5506 | * osf-share/cma_mutex.h: Ditto. | |
5507 | * osf-share/cma_stack_int.h: Ditto. | |
5508 | * osf-share/cma_tcb_defs.h: Ditto. | |
5509 | * python/py-auto-load.c: Ditto. | |
5510 | * python/py-breakpoint.c: Ditto. | |
5511 | * python/py-cmd.c: Ditto. | |
5512 | * python/py-frame.c: Ditto. | |
5513 | * python/py-objfile.c: Ditto. | |
5514 | * python/py-param.c: Ditto. | |
5515 | * python/py-progspace.c: Ditto. | |
5516 | * python/py-symbol.c: Ditto. | |
5517 | * python/py-value.c: Ditto. | |
5518 | * python/python-internal.h: Ditto. | |
5519 | * python/python.c: Ditto. | |
5520 | * tui/tui-data.c: Ditto. | |
5521 | * tui/tui-disasm.c: Ditto. | |
5522 | * tui/tui-hooks.c: Ditto. | |
5523 | * tui/tui-io.c: Ditto. | |
5524 | * tui/tui-layout.c: Ditto. | |
5525 | * tui/tui-regs.c: Ditto. | |
5526 | * tui/tui-source.c: Ditto. | |
5527 | * tui/tui-stack.c: Ditto. | |
5528 | * tui/tui-win.c: Ditto. | |
5529 | * tui/tui-windata.c: Ditto. | |
5530 | * tui/tui-winsource.c: Ditto. | |
5531 | ||
44944448 JB |
5532 | 2011-01-05 Joel Brobecker <brobecker@adacore.com> |
5533 | ||
5534 | * configure.ac, gdb.1: Copyright year update. | |
5535 | ||
ebedcab5 JK |
5536 | 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
5537 | ||
5538 | * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables | |
5539 | this_pc_in_block, morestack_msym and morestack_name. Check for | |
5540 | "__morestack" minimal symbol there. | |
5541 | ||
e5cc9f32 JB |
5542 | 2011-01-03 Joel Brobecker <brobecker@adacore.com> |
5543 | ||
5544 | * symfile.c (find_sym_fns): Add call to dont_repeat. | |
5545 | ||
7b6bb8da JB |
5546 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
5547 | ||
5548 | Copyright year update in most files (performed by copyright.sh). | |
5549 | ||
71ce852c JB |
5550 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
5551 | ||
5552 | * top.c (print_gdb_version): Update copyright year in version output. | |
0e2de366 | 5553 | |
c3c1ebe8 | 5554 | For older changes see ChangeLog-2010. |
c906108c SS |
5555 | \f |
5556 | Local Variables: | |
5557 | mode: change-log | |
5558 | left-margin: 8 | |
5559 | fill-column: 74 | |
5560 | version-control: never | |
57da7796 | 5561 | coding: utf-8 |
c906108c | 5562 | End: |