Commit | Line | Data |
---|---|---|
55f1336d TT |
1 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
2 | ||
3 | * dwarf2read.c (lookup_signatured_type): Use DW_FORM_ref_sig8 in | |
4 | complaint. | |
5 | (skip_one_die): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
6 | (find_partial_die_in_comp_unit): Likewise in comment. | |
7 | (read_attribute_value): Likewise. | |
8 | (lookup_die_type): Likewise. | |
9 | (dwarf_form_name): Likewise. | |
10 | (dump_die_shallow): Likewise. | |
11 | (follow_die_ref_or_sig): Likewise. | |
12 | ||
9ef07c8c TT |
13 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
14 | ||
15 | PR breakpoints/11816: | |
16 | * linespec.c (decode_line_1): Parse `function:label' linespecs. | |
17 | (decode_compound): Update. | |
18 | (find_function_symbol): New function. | |
19 | (decode_dollar): Update. | |
20 | (decode_label): Add 'function_symbol' parameter. Handle | |
21 | function-relative labels. | |
22 | (decode_variable): Update. | |
23 | (symbol_found): Add 'function_symbol' parameter. Use label's PC, | |
24 | not its line. Set `special_display' and canonical name for | |
25 | labels. | |
26 | ||
56435ebe TT |
27 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
28 | ||
29 | * linespec.h (struct linespec_result) <special_display>: New | |
30 | field. | |
31 | * breakpoint.h (struct breakpoint) <display_canonical>: New | |
32 | field. | |
33 | * breakpoint.c (print_breakpoint_location): Respect | |
34 | display_canonical. | |
35 | (create_breakpoint_sal): Add 'display_canonical' parameter. | |
36 | (create_breakpoints_sal): Update. | |
37 | (create_breakpoint): Update. | |
38 | ||
7efd8fc2 TT |
39 | 2011-03-24 Tom Tromey <tromey@redhat.com> |
40 | ||
41 | * symtab.c (decode_line_spec): Update. | |
42 | * linespec.c (build_canonical_line_spec): Change type of | |
43 | 'canonical'. | |
44 | (decode_line_2, decode_line_1, decode_objc, decode_compound) | |
45 | (find_method, decode_all_digits, decode_dollar, decode_label) | |
46 | (symbol_found): Likewise. | |
47 | (init_linespec_result): New function. | |
48 | * breakpoint.c (struct captured_parse_breakpoint_args) | |
49 | <canonical_p>: New field, replaces addr_string_p. | |
50 | (create_breakpoints_sal): Add 'canonical' parameter, replacing | |
51 | 'addr_string'. | |
52 | (parse_breakpoint_sals): Likewise. | |
53 | (do_captured_parse_breakpoint): Update. | |
54 | (create_breakpoint): Use struct linespec_result. | |
55 | (until_break_command): Update. | |
56 | (breakpoint_re_set_one): Update. | |
57 | (decode_line_spec_1): Update. | |
58 | * linespec.h (struct linespec_result): New. | |
59 | (init_linespec_result): Declare. | |
60 | ||
788c8b10 PA |
61 | 2011-03-23 Pedro Alves <pedro@codesourcery.com> |
62 | ||
63 | * regcache.c (regcache_raw_read): If the target didn't supply a | |
64 | given raw register, mark it as unavailable. | |
65 | ||
0ba1096a KT |
66 | 2011-03-23 Kai Tietz <ktietz@redhat.com> |
67 | ||
68 | * breakpoint.c (clear_command): Use filename_cmp | |
69 | instead of strcmp for comparison. | |
70 | * buildsym.c (watch_main_source_file_lossage): Likewise. | |
71 | (patch_subfile_names): Use IS_DIR_SEPARATOR instead of | |
72 | checking just for slash. | |
73 | * dbxread.c (read_dbx_symtab): Use lbasename instead of | |
74 | strrchr and filename_cmp instead of strcmp for filenames. | |
75 | (add_old_header_file): Use filename_cmp | |
76 | instead of strcmp for comparison. | |
77 | * exec.c (exec_set_section_address): Likewise. | |
78 | * macrotab.c (macro_lookup_inclusion): Likewise. | |
79 | (macro_lookup_inclusion): Likewise. | |
80 | * elfread.c (_initialize_elfread): Likewise. | |
81 | (elfstab_offset_sections): Likewise. | |
82 | (elfstab_offset_sections): Use lbasename instead of | |
83 | strrchr. | |
84 | * mdebugread.c (parse_partial_symbols): Likewise. | |
85 | (arse_partial_symbols): Use filename_(n)cmp instead of | |
86 | str(n)cmp for comparison. | |
87 | * minsyms.c (lookup_minimal_symbol): Likewise. | |
88 | * psymtab.c (read_psymtabs_with_filename): Likewise. | |
89 | * solib.c (solib_read_symbols): Likewise. | |
90 | (reload_shared_libraries_1): Likewise. | |
91 | * symmisc.c (maintenance_print_symbols): Likewise. | |
92 | * symfile.c (separate_debug_file_exists): Likewise. | |
93 | (reread_symbols): Likewise. | |
94 | (find_separate_debug_file_by_debuglink): Likewise. | |
95 | * remote-fileio.c (remote_fileio_func_rename): Likewise. | |
96 | * source.c (add_path): Likewise. | |
97 | * symtab.c (filename_seen): Likewise. | |
98 | (file_matches): Likewise. | |
99 | (print_symbol_info): Likewise. | |
100 | (maybe_add_partial_symtab_filename): Likewise. | |
101 | (make_source_files_completion_list): Likewise. | |
102 | * xml-syscall.c (init_sysinfo): Likewise. | |
103 | * windows-nat.c (_initialize_check_for_gdb_ini): Use | |
104 | IS_DIR_SEPARATOR for checking for trailing path separator. | |
105 | ||
dd90784c JK |
106 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
107 | ||
108 | * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_entry_value. New | |
109 | label abort_expression. | |
110 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle | |
111 | DWARF_VALUE_OPTIMIZED_OUT. | |
112 | ||
3167638f JK |
113 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
114 | ||
115 | Code cleanup. | |
116 | * c-typeprint.c (c_type_print_args): Change parameter show_artificial | |
117 | to linkage_name. Invert its value. Update the function comment. | |
118 | (c_type_print_varspec_suffix): Invert it at the caller. | |
119 | * dwarf2read.c (dwarf2_compute_name): Invert it at the caller. | |
120 | ||
ce406537 PA |
121 | 2011-03-22 Pedro Alves <pedro@codesourcery.com> |
122 | ||
123 | * infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR | |
124 | errors when reading the `stop_pc'. | |
125 | * printcmd.c (pc_prefix): Use get_frame_pc_if_available instead of | |
126 | get_frame_pc. | |
127 | ||
da5d4055 PM |
128 | 2011-03-22 Phil Muldoon <pmuldoon@redhat.com> |
129 | ||
130 | * NEWS: Document gdb.Write stream keyword. | |
131 | ||
29e0eb9c JK |
132 | 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
133 | ||
134 | Revert: | |
135 | 2011-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> | |
136 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
137 | (dwarf2_add_field): Fix new_field->accessibility for | |
138 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
139 | ||
05775840 PM |
140 | 2011-03-22 Phil Muldoon <pmuldoon@redhat.com> |
141 | ||
142 | PR python/12183 | |
143 | ||
144 | * python/py-function.c (fnpy_call): Treat GdbErrors differently to | |
145 | other error classes. Do not print stack trace. | |
146 | ||
a0cb7835 JK |
147 | 2011-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
148 | ||
149 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
150 | (dwarf2_add_field): Fix new_field->accessibility for | |
151 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
152 | ||
d19f7eee UW |
153 | 2011-03-21 Ulrich Weigand <ulrich.weigand@linaro.org> |
154 | ||
155 | * arm-tdep.c (arm_analyze_prologue): Do not abort parsing when | |
156 | encountering a load via a non-SP register. | |
157 | ||
4a2fbb50 UW |
158 | 2011-03-21 Ulrich Weigand <uweigand@de.ibm.com> |
159 | ||
160 | * tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason | |
161 | field in returned unwinder. | |
162 | ||
3489610d JB |
163 | 2012-03-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
164 | ||
165 | * ada-lang.c (replace_operator_with_call): Copy also GDBARCH. | |
166 | ||
8c1a34e7 JB |
167 | 2012-03-21 Joel Brobecker <brobecker@adacore.com> |
168 | ||
169 | * ada-lang.c (replace_operator_with_call): Use xzalloc instead | |
170 | of xmalloc. | |
171 | ||
8fbca658 PA |
172 | 2012-03-18 Pedro Alves <pedro@codesourcery.com> |
173 | ||
174 | * frame.c (frame_unwind_register): Throw an error if unwinding the | |
175 | register failed. | |
176 | * get_prev_frame_1 (get_prev_frame_1): Ask the unwinder if there's | |
177 | an unwind stop reason. | |
178 | (frame_stop_reason_string): Handle UNWIND_UNAVAILABLE. | |
179 | * frame.h (enum unwind_stop_reason) <UNWIND_OUTERMOST, | |
180 | UNWIND_UNAVAILABLE>: New. | |
181 | * inline-frame.c (inline_frame_unwind): Install | |
182 | default_frame_unwind_stop_reason. | |
183 | * frame-unwind.c: Include "exceptions.h". | |
184 | (frame_unwind_find_by_frame): Swallow NOT_AVAILABLE_ERROR errors. | |
185 | (default_frame_unwind_stop_reason): New. | |
186 | * frame-unwind.h (frame_unwind_stop_reason_ftype): New typedef. | |
187 | (default_frame_unwind_stop_reason): Declare. | |
188 | (struct frame_unwind) <stop_reason>: New function pointer. | |
189 | ||
190 | * dummy-frame.c: Install default_frame_unwind_stop_reason. | |
191 | * dwarf2-frame.c: Include exceptions.h. | |
192 | (struct dwarf2_frame_cache) <unavailable_retaddr>: New field. | |
193 | (dwarf2_frame_cache): Swallow NOT_AVAILABLE_ERROR errors when | |
194 | computing the CFA. If such an error was thrown, set | |
195 | unavailable_retaddr. | |
196 | (dwarf2_frame_unwind_stop_reason): New. | |
197 | (dwarf2_frame_this_id): Don't build a frame id if the CFA was | |
198 | unavailable. | |
199 | (dwarf2_frame_unwind): Install dwarf2_frame_unwind_stop_reason. | |
200 | (dwarf2_signal_frame_unwind): Ditto. | |
201 | ||
202 | * amd64-tdep.c: Include "exceptions.h". | |
203 | (struct amd64_frame_cache): New field "base_p". | |
204 | (amd64_init_frame_cache): Clear it. | |
205 | (amd64_frame_cache_1): New, factored out from amd64_frame_cache. | |
206 | Avoid reading registers with functions that throw if the register | |
207 | is not necessary to compute the frame base. | |
208 | (amd64_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
209 | swallowing NOT_AVAILABLE_ERROR. | |
210 | (amd64_frame_unwind_stop_reason): New. | |
211 | (amd64_frame_this_id): Don't build a frame id if the frame base | |
212 | was unavailable. | |
213 | (amd64_frame_unwind): Install amd64_frame_unwind_stop_reason. | |
214 | (amd64_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
215 | base_p if the frame base was computable. | |
216 | (amd64_sigtramp_frame_unwind_stop_reason): New. | |
217 | (amd64_sigtramp_frame_this_id): Don't build a frame id if the | |
218 | frame base was unavailable. | |
219 | (amd64_sigtramp_frame_unwind): Install | |
220 | amd64_sigtramp_frame_unwind_stop_reason. | |
221 | (amd64_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
222 | base_p if the frame base was computable. | |
223 | (amd64_epilogue_frame_unwind_stop_reason): New. | |
224 | (amd64_epilogue_frame_this_id): Don't build a frame id if the | |
225 | frame base was unavailable. | |
226 | (amd64_epilogue_frame_unwind): Install | |
227 | amd64_epilogue_frame_unwind_stop_reason. | |
228 | * i386-tdep.c: Include "exceptions.h". | |
229 | (struct i386_frame_cache): New field "base_p". | |
230 | (i386_init_frame_cache): Clear it. | |
231 | (i386_frame_cache_1): New, factored out from amd64_frame_cache. | |
232 | Avoid reading registers with functions that throw if the register | |
233 | is not necessary to compute the frame base. | |
234 | (i386_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
235 | swallowing NOT_AVAILABLE_ERROR. | |
236 | (i386_frame_unwind_stop_reason): New. | |
237 | (i386_frame_this_id): Don't build a frame id if the frame base was | |
238 | unavailable. | |
239 | (i386_frame_prev_register): Handle unavailable SP. | |
240 | (i386_frame_unwind): Install i386_frame_unwind_stop_reason. | |
241 | (i386_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
242 | base_p if the frame base was computable. | |
243 | (i386_epilogue_frame_unwind_stop_reason): New. | |
244 | (i386_epilogue_frame_this_id): Don't build a frame id if the frame | |
245 | base was unavailable. | |
246 | (i386_epilogue_frame_unwind): Install | |
247 | i386_epilogue_frame_unwind_stop_reason. | |
248 | (i386_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
249 | base_p if the frame base was computable. | |
250 | (i386_sigtramp_frame_unwind_stop_reason): New. | |
251 | (i386_sigtramp_frame_this_id): Don't build a frame id if the frame | |
252 | base was unavailable. | |
253 | (i386_sigtramp_frame_unwind): Install | |
254 | i386_sigtramp_frame_unwind_stop_reason. | |
255 | * sentinel-frame.c (sentinel_frame_prev_register): Use the value | |
256 | type's size, not the register's. | |
257 | (sentinel_frame_unwind): Install default_frame_unwind_stop_reason. | |
258 | ||
259 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind): Install | |
260 | default_frame_unwind_stop_reason. | |
261 | * alpha-tdep.c (alpha_sigtramp_frame_unwind) | |
262 | (alpha_heuristic_frame_unwind): Ditto. | |
263 | * amd64obsd-tdep.c (amd64obsd_trapframe_unwind): Ditto. | |
264 | * arm-tdep.c (arm_prologue_unwind, arm_stub_unwind): Ditto. | |
265 | * avr-tdep.c (avr_frame_unwind): Ditto. | |
266 | * cris-tdep.c (cris_sigtramp_frame_unwind, cris_frame_unwind): | |
267 | Ditto. | |
268 | * frv-linux-tdep.c (frv_linux_sigtramp_frame_unwind): Ditto. | |
269 | * frv-tdep.c (frv_frame_unwind): Ditto. | |
270 | * h8300-tdep.c (h8300_frame_unwind): Ditto. | |
271 | * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind): Ditto. | |
272 | * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind): Ditto. | |
273 | * hppa-tdep.c (hppa_frame_unwind, hppa_fallback_frame_unwind) | |
274 | (hppa_stub_frame_unwind): Ditto. | |
275 | * i386obsd-tdep.c (i386obsd_trapframe_unwind): Ditto. | |
276 | * ia64-tdep.c (ia64_frame_unwind, ia64_sigtramp_frame_unwind) | |
277 | (ia64_libunwind_frame_unwind) | |
278 | (ia64_libunwind_sigtramp_frame_unwind): Ditto. | |
279 | * iq2000-tdep.c (iq2000_frame_unwind): Ditto. | |
280 | * lm32-tdep.c (lm32_frame_unwind): Ditto. | |
281 | * m32c-tdep.c (m32c_unwind): Ditto. | |
282 | * m32r-linux-tdep.c (m32r_linux_sigtramp_frame_unwind): Ditto. | |
283 | * m32r-tdep.c (m32r_frame_unwind): Ditto. | |
284 | * m68hc11-tdep.c (m68hc11_frame_unwind): Ditto. | |
285 | * m68k-tdep.c (m68k_frame_unwind): Ditto. | |
286 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_unwind): Ditto. | |
287 | * m88k-tdep.c (m88k_frame_unwind): Ditto. | |
288 | * mep-tdep.c (mep_frame_unwind): Ditto. | |
289 | * microblaze-tdep.c (microblaze_frame_unwind): Ditto. | |
290 | * mips-tdep.c (mips_insn16_frame_unwind, mips_insn32_frame_unwind) | |
291 | (mips_stub_frame_unwind): Ditto. | |
292 | * mn10300-tdep.c (mn10300_frame_unwind): Ditto. | |
293 | * moxie-tdep.c (moxie_frame_unwind): Ditto. | |
294 | * mt-tdep.c (mt_frame_unwind): Ditto. | |
295 | * ppc-linux-tdep.c (ppu2spu_unwind): Ditto. | |
296 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_unwind): Ditto. | |
297 | * rs6000-tdep.c (rs6000_frame_unwind): Ditto. | |
298 | * s390-tdep.c (s390_frame_unwind, s390_stub_frame_unwind) | |
299 | (s390_sigtramp_frame_unwind): Ditto. | |
300 | * score-tdep.c (score_prologue_unwind): Ditto. | |
301 | * sh-tdep.c (sh_frame_unwind): Ditto. | |
302 | * sh64-tdep.c (sh64_frame_unwind): Ditto. | |
303 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_unwind): Ditto. | |
304 | * sparc-tdep.c (sparc32_frame_unwind): Ditto. | |
305 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind): Ditto. | |
306 | * sparc64-tdep.c (sparc64_frame_unwind): Ditto. | |
307 | * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_unwind): Ditto. | |
308 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_unwind): Ditto. | |
309 | * sparc64obsd-tdep.c (sparc64obsd_frame_unwind) | |
310 | (sparc64obsd_trapframe_unwind): Ditto. | |
311 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_unwind): Ditto. | |
312 | * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_unwind): Ditto. | |
313 | * spu-tdep.c (spu_frame_unwind, spu2ppu_unwind): Ditto. | |
314 | * v850-tdep.c (v850_frame_unwind): Ditto. | |
315 | * vax-tdep.c (vax_frame_unwind): Ditto. | |
316 | * vaxobsd-tdep.c (vaxobsd_sigtramp_frame_unwind): Ditto. | |
317 | * xstormy16-tdep.c (frame_unwind xstormy16_frame_unwind): Ditto. | |
318 | * xtensa-tdep.c (xtensa_unwind): Ditto. | |
319 | ||
f23d1b92 PA |
320 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
321 | ||
322 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Assume | |
323 | there's always a frame. Use get_frame_pc_if_available instead of | |
324 | get_frame_pc, and if there's no PC available, don't look up a | |
325 | symtab. | |
326 | ||
1d4f5741 PA |
327 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
328 | ||
329 | * stack.c (print_frame_local_vars, print_frame_arg_vars): Handle | |
330 | unavailable PC. | |
331 | ||
dba09041 PA |
332 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
333 | ||
334 | * tracepoint.c (set_traceframe_context): Handle unavailable PC | |
335 | gracefully. | |
336 | ||
9a26e44c PA |
337 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
338 | ||
339 | * frame.h (frame_unwind_caller_pc_if_available): Declare. | |
340 | * frame.c (frame_unwind_caller_pc_if_available): New. | |
341 | * stack.c (frame_info): Handle unavailable PC. | |
342 | ||
343 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
344 | ||
345 | * frame.c (frame_unwind_pc): Rename to ... | |
346 | (frame_unwind_pc_if_available): ... this. New `pc' output | |
347 | parameter. Change return type to int. Gracefully handle | |
348 | gdbarch_unwind_pc throwing NOT_AVAILABLE_ERROR. Return 0 if that | |
349 | happened, or 1 otherwise. | |
350 | (frame_unwind_pc): Reimplement on top of | |
351 | frame_unwind_pc_if_available. | |
352 | (get_frame_func): Rename to ... | |
353 | (get_frame_func_if_available): New `pc' output parameter. Change | |
354 | return type to int. Gracefully handle the PC not being available. | |
355 | (get_frame_func): Reimplement on top of | |
356 | get_frame_func_if_available. | |
357 | (select_frame): Handle the PC being unavailable. | |
358 | (get_prev_frame): Handle the PC being unavailable. | |
359 | (get_frame_pc_if_available): New. | |
360 | (get_frame_address_in_block_if_available): New. | |
361 | (find_frame_sal): Handle the frame PC not being available. | |
362 | * frame.h (get_frame_pc_if_available): Declare. | |
363 | (get_frame_address_in_block_if_available): Declare. | |
364 | (get_frame_func_if_available): Declare. | |
365 | * stack.c (print_frame_info): Handle the PC being unavailable. | |
366 | (find_frame_funname): Ditto. | |
367 | (print_frame): Handle the PC being unavailable. | |
368 | (get_frame_language): Ditto. | |
369 | * blockframe.c (get_frame_block): Ditto. | |
370 | * macroscope.c (default_macro_scope): Ditto. | |
371 | * tui/tui-stack.c (tui_show_frame_info): Ditto. | |
372 | ||
373 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
374 | ||
375 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Catch | |
376 | NOT_AVAILABLE_ERROR when evaluating the location expression. | |
377 | ||
378 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> | |
379 | ||
380 | * dwarf2loc.c (read_pieced_value): Handle get_frame_register_bytes | |
381 | returning that the register piece is unavailable/optimized out. | |
382 | (write_pieced_value): Handle get_frame_register_bytes returning | |
383 | that the register piece is unavailable/optimized out when doing a | |
384 | read-modify write of a bitfield. | |
385 | * findvar.c (value_from_register): Handle get_frame_register_bytes | |
386 | returning that the register piece is unavailable/optimized out. | |
387 | * frame.c (get_frame_register_bytes): New parameters `optimizedp' | |
388 | and `unavailablep'. Throw error on bad debug info. Use | |
389 | frame_register instead of frame_register_read, to fill in the new | |
390 | arguments. | |
391 | * frame.h (get_frame_register_bytes): New parameters `optimizedp' | |
392 | and `unavailablep'. | |
393 | * valops.c: (value_assign): Adjust, and handle | |
394 | get_frame_register_bytes failing. | |
395 | * spu-tdep.c: Include exceptions.h. | |
396 | (spu_software_single_step): Adjust, and handle | |
397 | get_frame_register_bytes failing. | |
398 | (spu_get_longjmp_target): Ditto. | |
399 | * gdbarch.sh (register_to_value): Change to return int. New | |
400 | parameters `optimizedp' and `unavailablep'. | |
401 | * gdbarch.h, gdbarch.c: Regenerate. | |
402 | * i386-tdep.c (i386_register_to_value): Adjust to new | |
403 | gdbarch_register_to_value interface. | |
404 | * i387-tdep.c (i387_register_to_value): Ditto. | |
405 | * i387-tdep.h (i387_register_to_value): Ditto. | |
406 | * alpha-tdep.c (alpha_register_to_value): Ditto. | |
407 | * ia64-tdep.c (ia64_register_to_value): Ditto. | |
408 | * m68k-tdep.c (m68k_register_to_value): Ditto. | |
409 | * mips-tdep.c (mips_register_to_value): Ditto. | |
410 | * rs6000-tdep.c (rs6000_register_to_value): Ditto. | |
411 | ||
0fdb4f18 PA |
412 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
413 | ||
414 | * findvar.c (value_of_register): Mark the value as unavailable, if | |
415 | the register is unavailable. | |
416 | * frame.h (frame_register_unwind): New `unavailablep' parameter. | |
417 | (frame_register): New `unavailablep' parameter. | |
418 | (frame_register_read): Update comment. | |
419 | * frame.c (frame_register_unwind): New `unavailablep' parameter. | |
420 | Set it if the register is unavailable. If the register is | |
421 | unavailable, clear the output buffer. | |
422 | (frame_register): New `unavailablep' parameter. Pass it down. | |
423 | (frame_unwind_register): Adjust. | |
424 | (put_frame_register): Adjust. | |
425 | (frame_register_read): Adjust. Also return false if the register | |
426 | is not available. | |
427 | (frame_register_unwind_location): Adjust. | |
428 | * sentinel-frame.c (sentinel_frame_prev_register): If the register | |
429 | is unavailable, mark the value accordingly. | |
430 | * stack.c (frame_info): Handle unavailable registers. | |
431 | ||
e69aa73e PA |
432 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
433 | ||
434 | * mi/mi-main.c (register_changed_p): Handle REG_UNAVAILABLE, and | |
435 | simplify, using regcache_cooked_read. | |
436 | ||
05d1431c PA |
437 | 2011-03-18 Pedro Alves <pedro@codesourcery.com> |
438 | ||
439 | * regcache.h (regcache_raw_read, regcache_raw_read_signed) | |
440 | (regcache_raw_read_unsigned, regcache_raw_read_signed) | |
441 | (regcache_raw_read_unsigned, regcache_raw_read_part) | |
442 | (regcache_cooked_read, regcache_cooked_read_signed) | |
443 | (regcache_cooked_read_unsigned, regcache_cooked_read_part) | |
444 | (regcache_cooked_read_ftype): Change return to enum | |
445 | register_status. | |
446 | * regcache.c: Include exceptions.h | |
447 | (regcache_save): Adjust to handle REG_UNAVAILABLE registers. | |
448 | (do_cooked_read): Change return to enum register_status. Always | |
449 | forward to regcache_cooked_read. | |
450 | (regcache_raw_read): Change return to enum register_status. If | |
451 | the register is not REG_VALID, memset the buffer. Return the | |
452 | register's status. | |
453 | (regcache_raw_read_signed): Handle non-REG_VALID registers and | |
454 | return the register's status. | |
455 | (regcache_raw_read_unsigned): Ditto. | |
456 | (regcache_cooked_read): Change return to enum register_status. | |
457 | Assert that with read-only regcaches, the register's status must | |
458 | be known. If the regcache is read-only, and the register is not | |
459 | REG_VALID, memset the buffer. Return the register's status. | |
460 | (regcache_cooked_read_signed): Change return to enum | |
461 | register_status. Handle non-REG_VALID registers and return the | |
462 | register's status. | |
463 | (regcache_cooked_read_unsigned): Change return to enum | |
464 | register_status. Handle non-REG_VALID registers and return the | |
465 | register's status. | |
466 | (regcache_xfer_part, regcache_raw_read_part) | |
467 | (regcache_cooked_read_part): Change return to enum | |
468 | register_status. Return the register's status. | |
469 | (regcache_read_pc): Throw NOT_AVAILABLE_ERROR if the register is | |
470 | unavailable. | |
471 | (regcache_dump): Handle unavailable cooked registers. | |
472 | * frame.c (do_frame_register_read): Adjust interface to match | |
473 | regcache_cooked_read_ftype. | |
474 | * gdbarch.sh (pseudo_register_read): Change return to enum | |
475 | register_status. | |
476 | * gdbarch.h, gdbarch.c: Regenerate. | |
477 | ||
478 | * i386-tdep.h (i386_pseudo_register_read): Change return to enum | |
479 | register_status. | |
480 | * i386-tdep.c (i386_pseudo_register_read): Change return to enum | |
481 | register_status. If reading a raw register indicates the raw | |
482 | register is not valid, return the raw register's status, | |
483 | otherwise, return REG_VALID. | |
484 | * amd64-tdep.c (amd64_pseudo_register_read): Change return to enum | |
485 | register_status. Handle non-REG_VALID raw registers and return | |
486 | the register's status. | |
487 | * arm-tdep.c (arm_neon_quad_read) | |
488 | (arm_pseudo_read): Change return to enum register_status. Handle | |
489 | non-REG_VALID raw registers and return the register's status. | |
490 | * avr-tdep.c (avr_pseudo_register_read): Ditto. | |
491 | * frv-tdep.c (frv_pseudo_register_read): Ditto. | |
492 | * h8300-tdep.c (h8300_pseudo_register_read): Ditto. | |
493 | * hppa-tdep.c (hppa_pseudo_register_read): Ditto. | |
494 | * m32c-tdep.c (m32c_move_reg_t): Change return to enum | |
495 | register_status. | |
496 | (m32c_raw_read, m32c_raw_write, m32c_banked_read) | |
497 | (m32c_banked_write, m32c_sb_read, m32c_sb_write, m32c_part_read) | |
498 | (m32c_part_write, m32c_cat_read, m32c_cat_write) | |
499 | (m32c_r3r2r1r0_read, m32c_r3r2r1r0_write) | |
500 | (m32c_pseudo_register_read): Change return to enum | |
501 | register_status. Adjust. | |
502 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Change return to | |
503 | enum register_status. Return the register's status. | |
504 | * mep-tdep.c (mep_pseudo_cr32_read): Change return to enum | |
505 | register_status. Return the register's status. | |
506 | (mep_pseudo_cr64_read, mep_pseudo_register_read): Ditto. | |
507 | * mips-tdep.c (mips_pseudo_register_read): Ditto. | |
508 | * mt-tdep.c (mt_pseudo_register_read): Ditto. | |
509 | * rs6000-tdep.c (move_ev_register_func): New typedef. | |
510 | (e500_move_ev_register): Use it. Change return to enum | |
511 | register_status. Return the register's status. | |
512 | (do_regcache_raw_read): New function. | |
513 | (do_regcache_raw_write): New function. | |
514 | (e500_pseudo_register_read): Change return to enum | |
515 | register_status. Return the register's status. Use | |
516 | do_regcache_raw_read. | |
517 | (e500_pseudo_register_write): Adjust. Use do_regcache_raw_write. | |
518 | (dfp_pseudo_register_read): Change return to enum register_status. | |
519 | Return the register's status. | |
520 | (vsx_pseudo_register_read): Ditto. | |
521 | (efpr_pseudo_register_read): Ditto. | |
522 | (rs6000_pseudo_register_read): Ditto. | |
523 | * s390-tdep.c (s390_pseudo_register_read): Change return to enum | |
524 | register_status. Return the register's status. | |
525 | * sh64-tdep.c (pseudo_register_read_portions): New function. | |
526 | (sh64_pseudo_register_read): Change return to enum | |
527 | register_status. Use pseudo_register_read_portions. Return the | |
528 | register's status. | |
529 | * ia64-tdep.c (ia64_pseudo_register_read): Change return to enum | |
530 | register_status. Return the register's status. | |
531 | * sh-tdep.c (pseudo_register_read_portions): New function. | |
532 | (sh_pseudo_register_read): Change return to enum register_status. | |
533 | Use pseudo_register_read_portions. Return the register's status. | |
534 | * sparc-tdep.c (sparc32_pseudo_register_read): Change return to | |
535 | enum register_status. Return the register's status. | |
536 | * sparc64-tdep.c (sparc64_pseudo_register_read): Ditto. | |
537 | * spu-tdep.c (spu_pseudo_register_read_spu) | |
538 | (spu_pseudo_register_read): Ditto. | |
539 | * xtensa-tdep.c (xtensa_register_read_masked) | |
540 | (xtensa_pseudo_register_read): Ditto. | |
541 | * bfin-tdep.c (bfin_pseudo_register_read): Ditto. | |
542 | ||
e10abd8f PM |
543 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
544 | ||
545 | * python/py-value.c (valpy_getitem): Fix formatting of error function | |
546 | call. | |
547 | ||
7ea6d463 PM |
548 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
549 | ||
550 | ARI fixes: Add missing internationalization markups throughout | |
551 | C source files. | |
552 | * darwin-nat-info.c: Ditto. | |
553 | * record.c: Ditto. | |
554 | * remote.c: Ditto. | |
555 | * mi/mi-main.c: Ditto. | |
556 | ||
001083c6 PM |
557 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
558 | ||
559 | ARI fixes: Add missing internationalization markups throughout | |
560 | yacc files. | |
561 | * c-exp.y: Ditto. | |
562 | * cp-name-parser.y: Ditto. | |
563 | * f-exp.y: Ditto. | |
564 | * m2-exp.y: Ditto. | |
565 | * objc-exp.y: Ditto. | |
566 | * p-exp.y: Ditto. | |
567 | ||
4f1cdeec PM |
568 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
569 | ||
570 | ARI fixes: Messages should have no trailing new lines. | |
571 | * darwin-nat.c (mach_check_error): Remove trailing new line from | |
572 | warning function call message. | |
573 | * record.c (bfdcore_read): Idem for error call. | |
574 | ||
28e698f1 PM |
575 | 2011-03-18 Pierre Muller <muller@ics.u-strasbg.fr> |
576 | ||
577 | * common/signals.c (target_signal_from_host): Add _ markup to error | |
578 | function call message. | |
579 | (target_signal_to_host): Add _ markup and remove trailing new line | |
580 | from warning call message. | |
581 | (target_signal_from_command): Add _ markup to error function call | |
582 | message. | |
583 | ||
99c3dc11 PM |
584 | 2011-03-18 Phil Muldoon <pmuldoon@redhat.com> |
585 | ||
586 | PR python/12149 | |
587 | ||
588 | * python/python.c (gdbpy_write): Accept a stream argument and | |
589 | operate to the appropriate stream. | |
590 | (gdbpy_flush): Likewise. | |
591 | (_initialize_python): Add stream constants. | |
592 | (finish_python_initialization): Add GdbOutputErrorFile class. | |
593 | ||
c20800be KY |
594 | 2011-03-18 Kwok Cheung Yeung <kcy@codesourcery.com> |
595 | ||
596 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
597 | ||
f4a1794a KY |
598 | 2011-03-18 Kwok Cheung Yeung <kcy@codesourcery.com> |
599 | ||
600 | * amd64-tdep.c (amd64_relocate_instruction): Fix ordering of arguments | |
601 | to store_signed_integer. Add debug message when relocating CALL | |
602 | instructions. Fix formatting of debug message. | |
603 | * i386-tdep.c (i386_relocate_instruction): Ditto. | |
604 | ||
d4862372 JB |
605 | 2011-03-17 Joel Brobecker <brobecker@gnat.com> |
606 | ||
607 | * target.h (struct target_ops): Remove to_lookup_symbol field. | |
608 | (target_lookup_symbol): Delete macro. | |
609 | * target.c (nosymbol, debug_to_lookup_symbol): Delete. | |
610 | (update_current_target, setup_target_debug): Remove handling | |
611 | of to_lookup_symbol target_ops field. | |
612 | * ada-tasks.c (get_known_tasks_addr): Remove use of | |
613 | target_lookup_symbol. | |
614 | * coffread.c (coff_symtab_read): Likewise. | |
615 | * dbxread.c (read_dbx_symtab): Ditto. | |
616 | ||
d645e32e JB |
617 | 2011-03-17 Joel Brobecker <brobecker@gnat.com> |
618 | ||
619 | PR gdb/12116: | |
620 | * configure.ac: Add getthrds declaration check. | |
621 | * configure, config.in: Regenerate. | |
622 | * aix-thread.c (getthrds): Declare only if not already declared | |
623 | in procinfo.h. More declaration out of get_signaled_thread to | |
624 | global scope. | |
625 | ||
29703da4 PM |
626 | 2011-03-17 Phil Muldoon <pmuldoon@redhat.com> |
627 | ||
628 | * python/py-symtab.c: Populate symtab_object_methods, | |
629 | sal_object_methods. | |
630 | (stpy_is_valid): New function. | |
631 | (salpy_is_valid): Ditto. | |
632 | * python/py-symbol.c: Declare symbol_object_methods. Populate. | |
633 | (sympy_is_valid): New function. | |
634 | * python/py-objfile.c: Declare objfile_object_methods. Populate. | |
635 | (objfpy_is_valid): New function. | |
636 | * python/py-inferior.c: Populate inferior_object_methods. | |
637 | (infpy_is_valid): New function. | |
638 | * python/py-infthread.c: Populate thread_object_methods. | |
639 | (thpy_is_valid): New function. | |
640 | * python/py-block.c: Declare block_object_methods. Populate. Declare | |
641 | block_iterator_object_methods. Populate. | |
642 | (blpy_is_valid): New function. | |
643 | (blpy_iter_is_valid): Ditto. | |
644 | ||
c00f8484 KS |
645 | 2011-03-16 Keith Seitz <keiths@redhat.com> |
646 | ||
647 | * linespec.c (find_methods): Canonicalize NAME before looking | |
648 | up the symbol. | |
649 | (name_end): New function. | |
650 | (keep_name_info): New function. | |
651 | (decode_line_1): Use keep_name_info. | |
652 | (decode_compound): Likewise. | |
653 | * cli/cli-utils.h (remove_trailing_whitespace): New function. | |
654 | * cli/cli-utils.c (remove_trailing_whitespace): Likewise. | |
655 | ||
656 | PR c++/12273 | |
657 | * linespec.c (locate_first_half): Keep overload information, too. | |
658 | (decode_compound): Use a string to represent break characters | |
659 | to escape the loop. | |
660 | If P points to a break character, do not increment it. | |
661 | For C++ and Java, keep overload information and relevant keywords. | |
662 | If we cannot find a symbol, search the minimal symbols. | |
663 | ||
664 | PR c++/11734 | |
665 | * linespec.c (decode_compound): Rename SAVED_ARG to | |
666 | THE_REAL_SAVED_ARG. | |
667 | Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip | |
668 | single-quotes. | |
669 | Pass a valid block to lookup_symbol. | |
670 | (lookup_prefix_sym): Likewise. | |
671 | (find_method): Construct search name based on SYM_CLASS instead | |
672 | of SAVED_ARG. | |
673 | * psymtab.c (lookup_partial_symbol): Add language parameter. | |
674 | (lookup_symbol_aux_psymtabs): Likewise. | |
675 | Don't assume that the psymtab we found was the right one. Search | |
676 | for the desired symbol in the symtab to be certain. | |
677 | (psymtab_search_name): New function. | |
678 | (lookup_partial_symbol): Use psymtab_search_name. | |
679 | Add language parameter. | |
680 | (read_symtabs_for_function): Add language parameter and pass to | |
681 | lookup_partial_symbol. | |
682 | (find_symbol_file_from_partial): Likewise. | |
683 | ||
c91513d8 PP |
684 | 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com> |
685 | ||
686 | PR gdb/12528 | |
687 | * dwarf2read.c (noop_record_line): New function. | |
688 | (dwarf_decode_lines): Ignore line tables for GCd functions. | |
689 | ||
b37520b6 PM |
690 | 2011-03-16 Pierre Muller <muller@ics.u-strasbg.fr> |
691 | ||
692 | Fix ARI warnings about new lines at the end of messages, which | |
693 | are unneeded as there is a new line added at the end of the message | |
694 | automatically. | |
695 | * darwin-nat.c (darwin_stop_inferior): Ditto. | |
696 | * dec-thread.c (dec_thread_get_ada_task_ptid): Ditto. | |
697 | * dfp.c (decimal_to_number): Ditto. | |
698 | * exec.c (print_section_info): Ditto. | |
699 | * i386-darwin-nat.c (darwin_set_sstep): Ditto. | |
700 | * osdata.c (get_osdata): Ditto. | |
701 | * record.c (bfdcore_write): Ditto. | |
702 | * remote-mips.c (mips_readchar): Ditto. | |
703 | * remote.c (read_ptid): Ditto. | |
704 | * ser-mingw.c (ser_windows_raw): Ditto. | |
705 | * tracepoint.c (add_local_symbols): Ditto. | |
706 | * windows-nat.c (fake_create_process): Ditto. | |
707 | ||
b08ee6a2 TT |
708 | 2011-03-16 Tom Tromey <tromey@redhat.com> |
709 | ||
710 | * tracepoint.c (stop_tracing): Don't declare. | |
711 | * event-top.c (after_char_processing_hook): Add `(void)'. | |
712 | ||
9a6f1302 PM |
713 | 2011-03-16 Phil Muldoon <pmuldoon@redhat.com> |
714 | ||
715 | * NEWS: Add Parameter sub-classing description. | |
716 | ||
7ceb86b1 KT |
717 | 2011-03-16 Kai Tietz <ktietz@redhat.com> |
718 | ||
719 | * MAINTAINERS: Update my e-mail address. | |
720 | ||
efeff6cf AT |
721 | 2011-03-15 Andreas Tobler <andreast@fgznet.ch> |
722 | ||
723 | * MAINTAINERS: Add myself for write after approval privileges. | |
724 | ||
681c238c MS |
725 | 2011-03-15 Michael Snyder <msnyder@vmware.com> |
726 | ||
f3df5b08 MS |
727 | * frame.c (find_frame_sal): Assert sym is not null. |
728 | ||
13f6513c MS |
729 | * dbxread.c (process_one_symbol): Assert 'name' is not null. |
730 | ||
50412521 MS |
731 | * objc-lang.c (selectors_info): Check strchr for null result. |
732 | ||
681c238c MS |
733 | * stabsread.c (define_symbol): Guard against bad stabstring input. |
734 | ||
6ced1581 PM |
735 | 2011-03-15 Pierre Muller <muller@ics.u-strasbg.fr> |
736 | ||
737 | Remove trailing spaces and tabulations from pascal language | |
738 | support sources. | |
739 | p-exp.y: Ditto. | |
740 | p-lang.c: Ditto. | |
741 | p-lang.h: Ditto. | |
742 | p-valprint.c: Ditto. | |
743 | ||
9373cf26 JK |
744 | 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
745 | ||
746 | * dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher | |
747 | than LOW. Comment it. | |
748 | (read_partial_die): Call complaint for inappropriate zero LOWPC or | |
749 | HIGHPC not strictly higher than LOWPC. | |
750 | ||
9a1edae6 PM |
751 | 2011-03-15 Pierre Muller <muller@ics.u-strasbg.fr> |
752 | ||
753 | Fix formatting of function declarations returning a pointer in | |
754 | previous commit. | |
755 | * varobj.c (varobj_add_child): Ditto. | |
756 | * hppa-tdep.h (hppa_init_objfile_priv_data): Ditto. | |
757 | * inferior.h (get_displaced_step_closure_by_addr): Ditto. | |
758 | ||
24e9cda0 UW |
759 | 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com> |
760 | ||
761 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support | |
762 | for the "generic" vector ABI used with GCC 4.3 and later. | |
763 | (ppc64_sysv_abi_return_value): Likewise. | |
764 | ||
765 | 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com> | |
81b4675a UW |
766 | |
767 | * infcall.c (call_function_by_hand): Function return value is | |
768 | always a non_lval, even when using struct_return. | |
769 | ||
c9174737 PA |
770 | 2011-03-15 Pedro Alves <pedro@codesourcery.com> |
771 | ||
772 | * printcmd.c (ALL_DISPLAYS_SAFE): New. | |
773 | (map_display_numbers): New. | |
774 | (do_delete_display): New. | |
775 | (undisplay_command): Use map_display_numbers. | |
776 | (do_enable_disable_display): New. | |
777 | (enable_disable_display_command): New function. | |
778 | (enable_display): Delete. | |
779 | (enable_display_command): New. | |
780 | (disable_display_command): Reimplement. | |
781 | (_initialize_printcmd): Adjust "enable display" command to use | |
782 | `enable_display_command' as callback. | |
783 | ||
350c6c65 PM |
784 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
785 | ||
786 | * NEWS: Add Python breakpoint 'stop' operation. | |
787 | ||
824446ad PM |
788 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
789 | ||
790 | * NEWS: Delete duplicate entry. Fix typo. | |
791 | ||
2021ad3a PM |
792 | 2011-03-14 Pierre Muller <muller@ics.u-strasbg.fr> |
793 | ||
794 | Fix ARI warning about function names in first column. | |
795 | Put prototype declaration on same line as return type. | |
796 | * objc-exp.y: Ditto. | |
797 | * p-exp.y: Ditto. | |
798 | * python/py-stopevent.h: Ditto. | |
799 | For long function names, split parameters to | |
800 | allow function name on same line as return type. | |
801 | * solib-pa64.c: Ditto. | |
802 | * varobj.c: Ditto. | |
803 | * varobj.h: Ditto. | |
804 | For long function declaration, use single line. | |
805 | * hppa-tdep.h: Ditto. | |
806 | * inferior.h: Ditto. | |
807 | ||
7371cf6d PM |
808 | 2011-03-14 Phil Muldoon <pmuldoon@redhat.com> |
809 | ||
810 | * python/python.h: Declare gdbpy_should_stop and | |
811 | gdbpy_breakpoint_has_py_cond. | |
812 | * python/python.c: Add python.h to includes. Remove python.h from | |
813 | HAVE_PYTHON definition | |
814 | (gdbpy_should_stop): New dummy function. | |
815 | (gdbpy_breakpoint_has_py_cond): New dummy function. | |
816 | * python/py-breakpoint.c (bppy_init): Rewrite to allow | |
817 | sub-classing capabilities. | |
818 | (gdbpy_should_stop): New function. | |
819 | (gdbpy_breakpoint_has_py_cond): New function. | |
820 | (local_setattro): New function. | |
821 | * breakpoint.c (condition_command): Add check for Python 'stop' | |
822 | operation. | |
823 | (bpstat_check_breakpoint_conditions): Execute Python 'stop' | |
824 | operation function as part of stop/continue tests. | |
825 | ||
37b50a69 TT |
826 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
827 | ||
828 | PR gdb/12576: | |
829 | * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'. | |
830 | (needs_frame_dwarf_call): Likewise. | |
831 | ||
eeae04df PM |
832 | 2011-03-14 Pierre Muller <muller@ics.u-strasbg.fr> |
833 | ||
834 | Fix ARI warning about functions without parameters that do not | |
835 | use (void). | |
836 | * breakpoint.c (all_tracepoints): Replace () by (void). | |
837 | * f-exp.y (match_string_literal): Ditto. | |
838 | (yylex): Ditto. | |
839 | * m2-exp.y (yylex): Ditto. | |
840 | * mep-tdep.c (current_me_module): Ditto. | |
841 | (current_options): Ditto. | |
842 | (current_cop_data_bus_width): Ditto. | |
843 | (current_cr_names): Ditto. | |
844 | (current_cr_is_float): Ditto. | |
845 | (current_ccr_names): Ditto. | |
846 | * objc-exp.y (yylex): Ditto. | |
847 | * p-exp.y (yylex): Ditto. | |
848 | * remote.c (send_interrupt_sequence): Ditto. | |
849 | * tracepoint.c (current_trace_status): Ditto. | |
850 | * python/py-evts.c (gdbpy_initialize_py_events): Ditto. | |
851 | * python/py-prettyprint.c (push_dummy_python_frame): Ditto. | |
852 | ||
6dc3565d MS |
853 | 2011-03-11 Michael Snyder <msnyder@vmware.com> |
854 | ||
1427fe5e MS |
855 | * cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define. |
856 | * cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS. | |
857 | (lookup_cmd): Test for CMD_LIST_AMBIGUOUS. | |
858 | * completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS. | |
859 | * top.c (set_verbose): Use CMD_LIST_AMBIGUOUS. | |
860 | ||
60bc018f MS |
861 | * event-loop-c (delete_async_signal_handler): Assert prev_ptr. |
862 | (delete_async_event_handler): Ditto. | |
863 | ||
f3be5b64 MS |
864 | * python/py-breakpoint.c (bppy_set_condition): Stop memory leak. |
865 | ||
4c2d5724 MS |
866 | * python/py-breakpoint.c (bppy_get_commands): Fix memory leak. |
867 | ||
6dc3565d MS |
868 | * top.c (set_verbose): Assert showcmd was found. |
869 | ||
4e6ca6d5 MG |
870 | 2011-03-11 Maxim Grigoriev <maxim2405@gmail.com> |
871 | ||
872 | * xtensa-tdep.c (warning_once): Correct style issues. | |
873 | ||
815a83e4 YQ |
874 | 2011-03-11 Yao Qi <yao@codesourcery.com> |
875 | ||
876 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements. | |
877 | ||
f2eb0bc8 AS |
878 | 2011-03-11 Andreas Schwab <schwab@redhat.com> |
879 | ||
880 | * common/aclocal.m4: Remove. | |
881 | ||
b801de47 MG |
882 | 2011-03-10 Maxim Grigoriev <maxim2405@gmail.com> |
883 | ||
884 | * xtensa-tdep.c (windowing_enabled): Remove inline attribute. | |
885 | (xtensa_write_register, xtensa_read_register): Likewise. | |
886 | (xtensa_hextochar): Removed. | |
887 | (xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code. | |
888 | ||
dbab50de MG |
889 | 2011-03-10 Maxim Grigoriev <maxim2405@gmail.com> |
890 | ||
891 | * xtensa-tdep.c (xtensa_c0reg_t): Update comments. | |
c2a6b390 | 892 | (xtensa_call0_frame_cache_t): Update comments. New fields added. |
dbab50de MG |
893 | (xtensa_alloc_frame_cache): Add initialization for new fields. |
894 | (xtensa_frame_cache): Change the way how call0_frame_cache () is called. | |
895 | (warning_once): New function. | |
896 | (xtensa_insn_kind): New item c0opc_and. | |
897 | (call0_classify_opcode): Add the case for AND instruction. | |
c2a6b390 MG |
898 | (call0_track_op): Change arguments. New local variable litbase. |
899 | Add the case to handle c0opc_and. Update algorithms for c0opc_mov, | |
900 | c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments | |
901 | in the prologue. | |
dbab50de | 902 | Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu. |
c2a6b390 | 903 | (call0_analyze_prologue): Update the comments. Change arguments. |
dbab50de MG |
904 | Add the variety of updates to handle extended prologues, which now can |
905 | conduct dynamic stack adjustments. | |
906 | (call0_frame_cache): Likewise. | |
907 | (xtensa_skip_prologue): Update call0_analyze_prologue () function call. | |
908 | (xtensa_gdbarch_init): Initialize xtensa_session_once_reported. | |
909 | ||
b2c04452 MS |
910 | 2011-03-10 Michael Snyder <msnyder@vmware.com> |
911 | ||
f8f67713 MS |
912 | * tracepoint.c (cmd_qtv): Discard unused value 'packet'. |
913 | (cmd_qtframe): Ditto. | |
914 | (cmd_qtbuffer): Ditto. | |
915 | (cmd_bigqtbuffer): Ditto. | |
916 | ||
197f0a60 TT |
917 | 2011-03-10 Tom Tromey <tromey@redhat.com> |
918 | ||
919 | * tracepoint.c (trace_actions_command): Update. | |
920 | * thread.c (thread_apply_command): Update. | |
921 | * reverse.c (delete_bookmark_command): Update. | |
922 | (bookmarks_info): Update. | |
923 | * printcmd.c (undisplay_command): Update. | |
924 | * memattr.c (mem_enable_command): Update. | |
925 | (mem_disable_command): Update. | |
926 | (mem_delete_command): Update. | |
927 | * inferior.c (detach_inferior_command): Update. | |
928 | (kill_inferior_command): Update. | |
929 | (remove_inferior_command): Update. | |
930 | * cli/cli-utils.h (struct get_number_or_range_state): New. | |
931 | (init_number_or_range): Declare. | |
932 | (get_number_or_range): Update. | |
933 | * cli/cli-utils.c (init_number_or_range): New function. | |
934 | (get_number_or_range): Change 'pp' parameter to 'state'. Remove | |
935 | static variables. | |
936 | (number_is_in_list): Update. | |
937 | * breakpoint.h (get_tracepoint_by_number): Update. | |
938 | * breakpoint.c (map_breakpoint_numbers): Update for change to | |
939 | get_number_or_range. | |
940 | (find_location_by_number): Use get_number, not | |
941 | get_number_or_range. | |
942 | (trace_pass_set_count): New function. | |
943 | (trace_pass_command): Update for change to get_number_or_range. | |
944 | Rework loop logic. | |
945 | (get_tracepoint_by_number): Remove 'multi_p' parameter; add | |
946 | 'state' parameter. | |
947 | ||
ecec24e6 PM |
948 | 2011-03-10 Phil Muldoon <pmuldoon@redhat.com> |
949 | ||
950 | * python/py-param.c (add_setshow_generic): Add set/show callback | |
951 | parameters. Register Python object context. | |
952 | (get_show_value): New function. | |
953 | (get_set_value): New function. | |
954 | (call_doc_function): New function. | |
955 | (get_doc_string): Move behind get_show_value/get_set_value. | |
956 | ||
6d6c6b1f JK |
957 | 2011-03-10 Andreas Tobler <andreast-list@fgznet.ch> |
958 | ||
959 | * fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'. | |
960 | ||
68d6df83 MG |
961 | 2011-03-09 Maxim Grigoriev <maxim2405@gmail.com> |
962 | ||
dbab50de | 963 | * xtensa-tdep.c (xtensa_read_register): Add comment. |
68d6df83 MG |
964 | (xtensa_write_register): Likewise. |
965 | (xtensa_hextochar): Add comment and update to match coding conventions. | |
966 | (xtensa_frame_cache, xtensa_return_value): Follow coding conventions. | |
967 | (execute_l32e, execute_s32e, execute_code): Update comments. | |
968 | (xtensa_exception_handler_t): Update to match coding conventions. | |
969 | (xtensa_insn_kind): Likewise. | |
970 | ||
85c9d6a6 MS |
971 | 2011-03-09 Michael Snyder <msnyder@vmware.com> |
972 | ||
973 | * mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak. | |
974 | ||
91495617 PA |
975 | 2011-03-09 Pedro Alves <pedro@codesourcery.com> |
976 | ||
977 | * nto-tdep.c (nto_find_and_open_solib): Constify local `base'. | |
978 | ||
eb8c0621 TT |
979 | 2011-03-09 Tom Tromey <tromey@redhat.com> |
980 | ||
981 | * thread.c (restore_selected_frame): Handle frame_level == -1. | |
982 | (make_cleanup_restore_current_thread): Use | |
983 | get_selected_frame_if_set. | |
984 | * frame.h (get_selected_frame_if_set): Declare. | |
985 | * frame.c (get_selected_frame_if_set): New function. | |
986 | ||
9f37bbcc PA |
987 | 2011-03-09 Pedro Alves <pedro@codesourcery.com> |
988 | ||
989 | * cli/cli-cmds.c (shell_escape): Use lbasename. | |
990 | * coffread.c (coff_start_symtab): Constify parameter. | |
991 | (complete_symtab): Constify `name' parameter. | |
992 | (coff_symtab_read): Constify `filestring' local. | |
993 | (coff_getfilename): Constify return and `result' local. | |
994 | Use lbasename. | |
995 | * fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename. | |
996 | * linux-fork.c (info_checkpoints_command): Use lbasename. | |
997 | * linux-nat.c (linux_nat_make_corefile_notes): Use lbasename. | |
998 | * minsyms.c (lookup_minimal_symbol): Use lbasename. | |
999 | * nto-tdep.c (nto_find_and_open_solib): Use lbasename. | |
1000 | * procfs.c (procfs_make_note_section): Use lbasename. | |
1001 | * tui/tui-io.c (printable_part): Constity return and parameter. | |
1002 | Use lbasename. | |
1003 | (print_filename): Constify parameters, and local `s'. | |
1004 | (tui_rl_display_match_list): Constify local `temp'. | |
1005 | ||
f8de3c55 JK |
1006 | 2011-03-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
1007 | ||
1008 | Revert: | |
1009 | 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com> | |
1010 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
1011 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
1012 | cu->header.version >= 3. | |
1013 | ||
d9837b00 YQ |
1014 | 2011-03-09 Yao Qi <yao@codesourcery.com> |
1015 | ||
1016 | * common/Makefile.in: Remove. | |
1017 | * common/configure: Remove. | |
1018 | * common/configure.ac: Remove. | |
1019 | ||
e637a4f5 YQ |
1020 | 2011-03-09 Yao Qi <yao@codesourcery.com> |
1021 | ||
1022 | Revert: | |
1023 | 2011-02-11 Yao Qi <yao@codesourcery.com> | |
1024 | ||
1025 | * common/Makefile.in: Add copyright header. | |
1026 | ||
1027 | 2011-02-11 Yao Qi <yao@codesourcery.com> | |
1028 | ||
1029 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
1030 | libcommon.a. | |
1031 | * configure.ac: Add common to sub dir. | |
1032 | * configure: Regenerate. | |
1033 | ||
f976a05d MG |
1034 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
1035 | ||
1036 | * xtensa-tdep.c (call0_ret): New function. | |
1037 | (xtensa_skip_prologue): Speed up analysis. | |
1038 | ||
57041825 MG |
1039 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
1040 | ||
1041 | * xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers | |
1042 | while executing MI command -data-list-changed-registers. | |
1043 | ||
08b9c608 MG |
1044 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
1045 | ||
1046 | * xtensa-tdep.c (xtensa_read_register): New function. | |
1047 | (xtensa_write_register): New function. | |
1048 | (xtensa_find_register_by_name): New function. | |
1049 | (xtensa_windowed_frame_cache): Update comments in type description. | |
1050 | (xtensa_frame_cache): Likewise. | |
1051 | (xtensa_window_interrupt_insn): New function. | |
1052 | (xtensa_frame_cache): Add analysis for Xtensa Window Exception frames. | |
1053 | (xtensa_insn_kind): Add new instructions. | |
1054 | (rwx_special_register): New function. | |
1055 | (call0_classify_opcode): Add new instructions to the analysis. | |
1056 | (a0_saved, a7_saved, a11_saved): New variables. | |
1057 | (a0_was_saved, a7_was_saved, a11_was_saved): New variables. | |
1058 | (execute_l32e): New function. | |
1059 | (execute_s32e): New function. | |
1060 | (xtensa_exception_handler_t): New type. | |
1061 | (execute_code): New function. | |
1062 | (xtensa_window_interrupt_frame_cache): New function to conduct frame | |
1063 | analysis for Xtensa Window Exception handlers. | |
1064 | ||
4d1acb11 MG |
1065 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> |
1066 | ||
98689b25 MG |
1067 | * xtensa-tdep.c (TX_PS): New. |
1068 | (windowing_enabled): Update to count for Call0 ABI. | |
1069 | (xtensa_hextochar): New. | |
1070 | (xtensa_init_reggroups): Make algorithm generic. | |
1071 | (xtensa_frame_cache): Use TX_PS on Tiny Xtensa. | |
1072 | ||
1073 | 2011-03-08 Maxim Grigoriev <maxim2405@gmail.com> | |
1074 | ||
1075 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update. | |
4d1acb11 | 1076 | |
d3f323f3 MS |
1077 | 2011-03-08 Michael Snyder <msnyder@vmware.com> |
1078 | ||
3dcabaa8 MS |
1079 | * i386-tdep.c (i386_follow_jump): Check return value of |
1080 | target_read_memory. | |
1081 | (i386_analyze_struct_return): Ditto. | |
1082 | (i386_skip_probe): Ditto. | |
1083 | (i386_match_insn): Ditto. | |
1084 | (i386_skip_noop): Ditto. | |
1085 | (i386_analyze_frame_setup): Ditto. | |
1086 | (i386_analyze_register_saves): Ditto. | |
1087 | (i386_skip_prologue): Ditto. | |
1088 | (i386_skip_main_prologue): Ditto. | |
1089 | ||
13b3fd9b MS |
1090 | * target.c (read_whatever_is_readable): Fix memory leak. |
1091 | ||
d3f323f3 MS |
1092 | * i386-tdep.c (i386_process_record): Document fall through. |
1093 | ||
421d5c74 JK |
1094 | 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
1095 | ||
1096 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
1097 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
1098 | cu->header.version >= 3. | |
1099 | ||
63154eca PA |
1100 | 2011-03-08 Pedro Alves <pedro@codesourcery.com> |
1101 | ||
1102 | * remote.c (remote_check_symbols): Skip if the target has no | |
1103 | execution. | |
1104 | ||
f1a507a1 JB |
1105 | 2011-03-08 Joel Brobecker <brobecker@adacore.com> |
1106 | ||
1107 | * target.c (read_whatever_is_readable): Reformat comment, | |
1108 | with a minor typo fix. Minor reformatting of the code. | |
1109 | ||
36073a92 YQ |
1110 | 2011-03-08 Yao Qi <yao@codesourcery.com> |
1111 | ||
1112 | * arm-tdep.c: Remove prototype declaration displaced_in_arm_mode. | |
1113 | (displaced_read_reg): Add `dsc' parameter, remove `from' parameter. | |
1114 | Use cached result instead of calling displaced_in_arm_mode again. | |
1115 | (branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter. | |
1116 | (displaced_write_reg, copy_preload, copy_preload_reg): Callers update. | |
1117 | (cleanup_copro_load_store, copy_copro_load_store): Likewise. | |
1118 | (cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise. | |
1119 | (cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise. | |
1120 | (copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise. | |
1121 | (copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise. | |
1122 | (cleanup_block_load_all, cleanup_block_store_pc): Likewise. | |
1123 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
1124 | * arm-linux-tdep.c (arm_linux_copy_svc): Callers update. | |
1125 | (arm_catch_kernel_helper_return): Likewise. | |
1126 | * gdb/arm-tdep.h : Update function declarations. | |
1127 | ||
d3f323f3 | 1128 | 2011-03-07 Michael Snyder <msnyder@vmware.com> |
e6040cbd | 1129 | |
e0e40094 MS |
1130 | * dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null. |
1131 | ||
0b2381f5 MS |
1132 | * ser-unix.c (hardwire_get_tty_state): Stop memory leak. |
1133 | ||
0350914a MS |
1134 | * mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment. |
1135 | ||
69feea6f MS |
1136 | * elfread.c (elf_symtab_read): Stop memory leak. |
1137 | ||
e6040cbd MS |
1138 | * main.c (captured_main): Fix memory leak. |
1139 | ||
052874e8 AS |
1140 | 2011-03-07 Andreas Schwab <schwab@linux-m68k.org> |
1141 | ||
1142 | * ada-lang.c (compare_names): Call is_name_suffix with string1 | |
1143 | instead of string2. | |
1144 | ||
b11896a5 TT |
1145 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
1146 | ||
1147 | * xcoffread.c (xcoff_sym_fns): Update. | |
1148 | * symfile.h (struct sym_fns) <sym_read_psymbols>: New field. | |
1149 | (enum symfile_add_flags) <SYMFILE_NO_READ>: New constant. | |
1150 | * symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ. | |
1151 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
1152 | (reread_symbols): Handle OBJF_PSYMTABS_READ. | |
1153 | * somread.c (som_sym_fns): Update. | |
1154 | * psymtab.h (require_partial_symbols): Declare. | |
1155 | * psymtab.c (require_partial_symbols): New function. | |
1156 | (ALL_OBJFILE_PSYMTABS_REQUIRED): New macro. | |
1157 | (ALL_OBJFILE_PSYMTABS): Undef. | |
1158 | (ALL_PSYMTABS): Move from psympriv.h. | |
1159 | (lookup_partial_symtab, find_pc_sect_psymtab) | |
1160 | (lookup_symbol_aux_psymtabs, relocate_psymtabs) | |
1161 | (find_last_source_symtab_from_partial) | |
1162 | (forget_cached_source_info_partial) | |
1163 | (print_psymtab_stats_for_objfile, read_symtabs_for_function) | |
1164 | (expand_partial_symbol_tables, read_psymtabs_with_filename) | |
1165 | (map_symbol_names_psymtab, map_symbol_filenames_psymtab) | |
1166 | (find_symbol_file_from_partial, map_matching_symbols_psymtab) | |
1167 | (expand_symtabs_matching_via_partial, maintenance_info_psymtabs): | |
1168 | Use ALL_OBJFILE_PSYMTABS_REQUIRED. | |
1169 | * psympriv.h (ALL_PSYMTABS): Move to psymtab.c. | |
1170 | * objfiles.h (OBJF_PSYMTABS_READ): New macro. | |
1171 | * objfiles.c (objfile_has_partial_symbols): Handle lazily-read | |
1172 | psymtabs. | |
1173 | * mipsread.c (ecoff_sym_fns): Update. | |
1174 | * machoread.c (macho_sym_fns): Update. | |
1175 | * elfread.c (elf_symfile_read): Set up for lazy psymtab reading. | |
1176 | (read_psyms): New function. | |
1177 | (elf_sym_fns, elf_sym_fns_gdb_index): Update. | |
1178 | (elf_sym_fns_lazy_psyms): New global. | |
1179 | * dwarf2read.c (dwarf2_initialize_objfile): Don't call | |
1180 | dwarf2_build_psymtabs. | |
1181 | * dbxread.c (aout_sym_fns): Update. | |
1182 | * coffread.c (coff_sym_fns): Update. | |
1183 | ||
fda326dd TT |
1184 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
1185 | ||
1186 | * infrun.c (print_exited_reason): Include inferior id and pid in | |
1187 | message. | |
1188 | ||
aeaec162 TT |
1189 | 2011-03-07 Tom Tromey <tromey@redhat.com> |
1190 | ||
1191 | * target.h (struct target_ops) <to_has_execution>: Add ptid_t | |
1192 | parameter. | |
1193 | (target_has_execution_1): Update. | |
1194 | (target_has_execution_current): Declare. | |
1195 | (target_has_execution): Call target_has_execution_current. | |
1196 | (default_child_has_execution): Update. | |
1197 | * target.c (default_child_has_execution): Add 'the_ptid' | |
1198 | parameter. | |
1199 | (target_has_execution_1): Likewise. | |
1200 | (target_has_execution_current): New function. | |
1201 | (add_target): Update. | |
1202 | (init_dummy_target): Update. | |
1203 | * remote-m32r-sdi.c (m32r_has_execution): New function. | |
1204 | (init_m32r_ops): Use it. | |
1205 | * record.c (record_core_has_execution): Now static. Add | |
1206 | 'the_ptid' parameter. | |
1207 | * inferior.c (have_live_inferiors): Don't save current thread. | |
1208 | Use target_has_execution_1. | |
1209 | ||
08e14083 YQ |
1210 | 2011-03-07 Yao Qi <yao@codesourcery.com> |
1211 | ||
1212 | * Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4. | |
1213 | ||
c05d19c5 JB |
1214 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
1215 | ||
1216 | * elfread.c (elf_symtab_read): Minor reformatting. | |
1217 | ||
3e6ef9e4 JB |
1218 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
1219 | ||
1220 | * objc-lang.c (selectors_info): Minor reformatting. | |
1221 | ||
dbb8534f JB |
1222 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
1223 | ||
1224 | * ada-lang.c (compare_names): Add FALLTHROUGH comment. | |
1225 | ||
dd70cc93 JB |
1226 | 2011-03-07 Joel Brobecker <brobecker@adacore.com> |
1227 | Michael Snyder <msnyder@vmware.com> | |
1228 | ||
1229 | * ada-valprint.c (ada_val_print_array): Move the declaration of | |
1230 | "byte_order" and "elttype" inside the block where these variables | |
1231 | are actually used. Remove some special handling for the case | |
1232 | where "elttype" and "eltlen" are null. Replace by a comment | |
1233 | and a couple of assertion checks. | |
1234 | ||
b27cf2b3 MS |
1235 | 2011-03-05 Michael Snyder <msnyder@vmware.com> |
1236 | ||
1237 | * source.c (add_path): Replace semicolon at end of block. | |
1238 | * dwarf2expr.c (execute_stack_op): Ditto. | |
1239 | ||
5387a0c6 MF |
1240 | 2011-03-05 Mike Frysinger <vapier@gentoo.org> |
1241 | ||
1242 | * bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h. | |
1243 | * configure.tgt (bfin-*-*linux*): Define gdb_sim. | |
1244 | (bfin-*-*): Likewise. | |
1245 | ||
e3aa49af MS |
1246 | 2011-03-05 Michael Snyder <msnyder@vmware.com> |
1247 | ||
82ae4854 MS |
1248 | * dwarf2expr.c (execute_stack_op): Delete superfluous semicolon. |
1249 | * mdebugread.c (parse_symbol): Ditto. | |
1250 | * parse.c (parse_exp_in_context): Ditto. | |
1251 | * source.c (add_path): Ditto. | |
1252 | * utils.c (gnu_debuglink_crc32): Ditto. | |
1253 | * varobj.c (variable_language): Ditto. | |
1254 | ||
e3aa49af MS |
1255 | * linux-tdep.c (linux_get_siginfo_type): Stop memory leak. |
1256 | ||
154f592e MS |
1257 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
1258 | ||
da3ecdc6 MS |
1259 | * linux-fork.c (inferior_call_waitptid): Fix copy/paste error. |
1260 | ||
9cc89665 MS |
1261 | * symfile.c (simple_overlay_update): Check for null return value |
1262 | from lookup_minimal_symbol. | |
1263 | ||
154f592e MS |
1264 | * xml-syscall.c (syscall_start_syscall): Assert name is non null. |
1265 | ||
63ffa6ee TJB |
1266 | 2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1267 | ||
1268 | * eval.c (parse_and_eval_address_1): Remove function. | |
1269 | * linespec.c (decode_indirect): Call parse_to_comma_and_eval | |
1270 | instead of parse_and_eval_address_1. | |
1271 | * value.h (parse_and_eval_address_1): Remove prototype. | |
1272 | ||
a17d146e MS |
1273 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
1274 | ||
1275 | * remote.c (putpkt_binary): Document that case stmt falls through. | |
1276 | ||
1a6a67de TJB |
1277 | 2011-03-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1278 | ||
1279 | * breakpointc (print_it_typical): Move NULL check from here... | |
1280 | (print_bp_stop_message): ... to here. | |
1281 | ||
488919c4 MS |
1282 | 2011-03-04 Michael Snyder <msnyder@msnyder-server.eng.vmware.com> |
1283 | ||
1284 | * breakpoint.c (enable_command): Use break instead of continue, | |
1285 | and fill in a missing break. | |
1286 | (disable_command): Ditto. | |
1287 | ||
1e182ce8 UW |
1288 | 2011-03-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
1289 | ||
1290 | * inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate. | |
1291 | (terminal_save_ours): Remove misleading comment. | |
1292 | (inflow_inferior_data_cleanup): Free ttystate. | |
1293 | (inflow_inferior_exit): Likewise. | |
1294 | (copy_terminal_info): Copy ttystate. | |
1295 | ||
1296 | * serial.c (serial_copy_tty_state): New function. | |
1297 | * serial.h (serial_copy_tty_state): Add prototype. | |
1298 | (struct serial_ops): Add copy_tty_state callback. | |
1299 | * ser-base.c (ser_base_copy_tty_state): New function. | |
1300 | * ser-base.h (ser_base_copy_tty_state): Add prototype. | |
1301 | * ser-go32.c (dos_copy_tty_state): New function. | |
1302 | (dos_ops): Install copy_tty_state callback. | |
1303 | * ser-mingw.c (_initialize_ser_windows): Likewise. | |
1304 | * ser-pipe.c (_initialize_ser_pipe): Likewise. | |
1305 | * ser-unix.c (hardwire_copy_tty_state): New function. | |
1306 | (_initialize_ser_hardwire): Install it. | |
1307 | ||
b2c5f112 MS |
1308 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
1309 | ||
2abae994 MS |
1310 | * breakpoint.c (create_breakpoint): Add missing break statement. |
1311 | ||
7f5936f9 MS |
1312 | Reverting this patch: |
1313 | * infcall.c (call_function_by_hand): Add break statements for lint. | |
1314 | ||
b2c5f112 MS |
1315 | Reverting this patch: |
1316 | * cli/cli-script.c (script_from_file): Add break for lint. | |
1317 | ||
42b1321c MS |
1318 | 2011-03-04 Michael Snyder <msnyder@vmware.com> |
1319 | ||
1320 | * solib.c (reload_shared_libraries_1): Close memory leak. | |
1321 | ||
3e2a0cee TT |
1322 | 2011-03-03 Tom Tromey <tromey@redhat.com> |
1323 | ||
1324 | PR gdb/12538: | |
1325 | * dwarf2read.c (process_psymtab_comp_unit): Handle case where | |
1326 | DW_STRING is NULL. | |
1327 | ||
58397cb7 MS |
1328 | 2011-03-03 Michael Snyder <msnyder@vmware.com> |
1329 | ||
2e3fd767 MS |
1330 | * remote-fileio.c (remote_fileio_func_fstat): Initialize all |
1331 | fields of struct 'st' to zero. | |
1332 | ||
58397cb7 MS |
1333 | * tui/tui-winsource.c (tui_update_source_window_as_is): Initialize |
1334 | sal.pspace before calling set_current_source_symtab_and_line. | |
1335 | ||
ced54c8f YQ |
1336 | 2011-03-03 Yao Qi <yao@codesourcery.com> |
1337 | ||
1338 | * Makefile.in (configure-common): Remove. Let Makefile | |
1339 | in dir common to rebuild itself. | |
1340 | (common/Makefile): Likewise. | |
1341 | ||
3351ea09 JB |
1342 | 2011-03-03 Joel Brobecker <brobecker@adacore.com> |
1343 | ||
1344 | * utils.c (parse_escape): Add i18n markup in error message. | |
1345 | ||
bf9f652a YQ |
1346 | 2011-03-03 Yao Qi <yao@codesourcery.com> |
1347 | ||
1348 | * gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with | |
1349 | ARM_PC_REGNUM. | |
1350 | (thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise. | |
1351 | (displaced_write_reg, displaced_read_reg): Likewise. | |
1352 | (copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise. | |
1353 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
1354 | (cleanup_branch): Replace magic number 14 and 15 with | |
1355 | ARM_LR_REGNUM and ARM_PC_REGNUM respectively. | |
1356 | ||
d42de051 MS |
1357 | 2011-03-02 Michael Snyder <msnyder@vmware.com> |
1358 | ||
240f9570 MS |
1359 | * maint.c (maintenance_do_deprecate): No need to check for NULL. |
1360 | ||
10dd8b54 MS |
1361 | * cli/cli-script.c (script_from_file): Add break for lint. |
1362 | ||
b98bd911 MS |
1363 | * mdebugread.c (parse_partial_symbols): Fix indent. |
1364 | ||
3494b66d MS |
1365 | * target-descriptions.c (tdesc_gdb_type): No need to call |
1366 | xstrdup, callee saves a copy. | |
1367 | ||
daac021a MS |
1368 | * printcmd.c (print_scalar_formatted): Use strncpy for safety. |
1369 | ||
c38d16a7 MS |
1370 | * infcall.c (call_function_by_hand): Add break statements for lint. |
1371 | ||
905b671b MS |
1372 | * utils.c (parse_escape): Escape the escape char. |
1373 | ||
f2eb0bc8 | 1374 | * python/py-inferior.c (build_inferior_list): Error out if |
2d565757 MS |
1375 | PyList_Append fails. |
1376 | (gdbpy_inferiors): Error out if build_inferior_list fails. | |
1377 | ||
8c6a60d1 MS |
1378 | * linux-nat.c (linux_nat_xfer_partial): Preserve errno around |
1379 | a function call. | |
1380 | ||
d42de051 MS |
1381 | * record.c (record_restore): Move printf to before error return. |
1382 | ||
4db71c0b YQ |
1383 | 2011-03-02 Yao Qi <yao@codesourcery.com> |
1384 | ||
1385 | * arm-tdep.h (struct displaced_step_closure): Add two new fields | |
1386 | is_thumb and insn_size. | |
1387 | * arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset | |
1388 | on both ARM and Thumb mode. | |
1389 | (arm_process_displaced_insn): Set is_thumb and insn_size. | |
1390 | (arm_displaced_init_closure): Handle both 16-bit and 32-bit. | |
1391 | (arm_displaced_step_fixup): Likewise. | |
1392 | ||
a9dc8dcc MS |
1393 | 2011-03-01 Michael Snyder <msnyder@vmware.com> |
1394 | ||
53624a93 MS |
1395 | * cli/cli-dump.c (dump_bfd_file): Check error return and warn. |
1396 | ||
77766669 MS |
1397 | * jv-lang.c (evaluate_subexp_java): Conditional can't be true. |
1398 | ||
62d5b8da MS |
1399 | * dwarf2read.c (dwarf2_compute_name): NAME cannot be null here. |
1400 | ||
5e9e105f MS |
1401 | * cli/cli-dump.c (restore_binary_file): Validate ftell return value. |
1402 | ||
dc19db01 MS |
1403 | * ada-lang.c (ada_make_symbol_completion_list): Replace malloc |
1404 | with xmalloc. | |
1405 | ||
5ce64950 MS |
1406 | * ada-lang.c (aggregate_assign_others): Rename inner scope variable |
1407 | which shadows function parameter. | |
1408 | ||
a0aa2878 MS |
1409 | * tracepoint.c (create_tsv_from_upload): Superfluous call |
1410 | to xstrdup. Callee already calls xstrdup. | |
1411 | ||
e325fb69 MS |
1412 | * linespec.c (decode_line_1): Remove unnecessary null check. |
1413 | ||
21cbba77 MS |
1414 | * tracepoint.c (scope_info): Fix mem leak, remove underused |
1415 | variable. | |
1416 | ||
63360adc MS |
1417 | * python/py-prettyprint.c (apply_val_pretty_printer): Remove |
1418 | superfluous null check. | |
1419 | ||
18ea20ac | 1420 | * std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null. |
23ce9890 | 1421 | (value_of_builtin_frame_fp_reg): Ditto. |
18ea20ac | 1422 | |
d014929c MS |
1423 | * event-top.c (display_gdb_prompt): Remove superfluous null check. |
1424 | ||
6e9130cf MS |
1425 | * python/py-prettyprint.c (apply_val_pretty_printer): VAL may |
1426 | be null. | |
1427 | ||
5f01dbc0 MS |
1428 | * linespec.c (decode_line_1): Check for null before dereference. |
1429 | ||
d684ab85 MS |
1430 | * reverse.c (record_restore): Move null-check to before pointer |
1431 | dereference. | |
1432 | ||
bfffb7e3 MS |
1433 | * python/py-utils.c (gdbpy_obj_to_string): Delete unused variable. |
1434 | ||
a9dc8dcc MS |
1435 | * objc-lang.c (selectors_info): Add explanitory comment. |
1436 | (classes_info): Ditto. | |
1437 | ||
478fd957 UW |
1438 | 2011-03-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
1439 | ||
1440 | * arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define. | |
1441 | (arm_linux_restart_syscall_init): Handle both on-stack and in-kernel | |
1442 | versions of the trampoline. Handle Thumb vs. ARM addresses. | |
1443 | (arm_kernel_linux_restart_syscall_tramp_frame): New global. | |
1444 | (arm_linux_init_abi): Install it. | |
1445 | * arm-tdep.c (arm_psr_thumb_bit): Make global. | |
1446 | * arm-tdep.c (arm_psr_thumb_bit): Add prototype. | |
1447 | ||
0480cefa MS |
1448 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
1449 | ||
ac50ab3b MS |
1450 | * ui-out.c (ui_out_field_core_addr): Make local char buffer |
1451 | a little bigger, to avoid possibility of an overflow. | |
1452 | ||
f63fbe86 MS |
1453 | * breakpoint.c (breakpoint_adjustment_warning): Make local char |
1454 | buffers a little bigger, to avoid possibility of an overflow. | |
1455 | ||
9e91a352 MS |
1456 | * coffread.c (coff_getfilename): Add check to avoid overflow. |
1457 | ||
f2eb0bc8 | 1458 | * objc-lang.c (selectors_info): Add a small safety margin to |
28288541 MS |
1459 | avoid overflow. |
1460 | (classes_info): Error out on too long REGEXP. | |
1461 | ||
098ab512 MS |
1462 | * infrun.c (handle_inferior_event): Remove unused function call. |
1463 | ||
bcbd1de9 MS |
1464 | * fork-child.c (fork_inferior): Remove ifdef'd code and |
1465 | unused variable. | |
1466 | ||
2e456570 MS |
1467 | * linux-thread-db.c (attach_thread): Discard unused value. |
1468 | ||
14571dad MS |
1469 | * linux-nat.c (linux_handle_extended_wait): Delete unused variable. |
1470 | ||
a9cbf802 MS |
1471 | * remote.c (remote_get_noisy_reply): Discard unused value. |
1472 | (remote_vcont_resume): Ditto. | |
1473 | (remote_stop_ns): Ditto. | |
1474 | ||
5715d26e MS |
1475 | * linespec.c (decode_objc): Delete unused variable. |
1476 | ||
4a9bca80 MS |
1477 | * tui/tui-regs.c (tui_register_format): Delete unused variable. |
1478 | ||
f47fb265 MS |
1479 | * dwarf2read.c (add_partial_symbol): Discard unused values. |
1480 | (read_base_type): Delete unused variable. | |
1481 | ||
e81cff30 MS |
1482 | * dbxread.c (read_dbx_symtab): Discard unused value. |
1483 | ||
262acaeb MS |
1484 | * eval.c (evaluate_subexp_standard): Delete unused variable, |
1485 | and discard unused values. | |
1486 | ||
df983543 MS |
1487 | * infcmd.c (_initialize_infcmd): Discard unused values. |
1488 | ||
89acf84d MS |
1489 | * stabsread.c (rs6000_builtin_type): Missing break statement. |
1490 | ||
ab8b8aca MS |
1491 | * dbxread.c (process_one_symbol): Discard unused value. |
1492 | ||
6b4511ab MS |
1493 | * coffread.c (coff_end_symtab): Delete unused variable. |
1494 | ||
e8e80198 MS |
1495 | * dwarf2read.c (dw2_get_file_names): Discard unused value. |
1496 | (dwarf2_add_typedef): Delete unused variable. | |
1497 | (read_namespace): Ditto. | |
1498 | (dwarf_decode_macros): Ditto. | |
1499 | ||
976aa66e MS |
1500 | * m2-lang.c (evaluate_subexp_modula2): Discard unused variable. |
1501 | ||
5b92b49f MS |
1502 | * opencl-lang.c (evaluate_subexp_opencl): Discard unused value. |
1503 | ||
91e8df85 MS |
1504 | * p-valprint.c (pascal_val_print): Discard unused value. |
1505 | ||
899500d6 MS |
1506 | * utils.c (nquery): Call va_end before return; |
1507 | (yquery): Ditto. | |
1508 | (query): Ditto. | |
1509 | ||
0480cefa MS |
1510 | * proc-service.c (ps_plog): Call va_end before return. |
1511 | ||
fb6a3ed3 TT |
1512 | 2011-02-28 Tom Tromey <tromey@redhat.com> |
1513 | ||
1514 | * python/python.c (gdbpy_value_cst): New global. | |
1515 | (_initialize_python): Initialize it. | |
1516 | * python/python-internal.h (gdbpy_value_cst): Declare. | |
1517 | * python/py-value.c (convert_value_from_python): Use | |
1518 | gdbpy_value_cst. | |
1519 | ||
c05202a1 MS |
1520 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
1521 | ||
e463f587 MS |
1522 | * python/py-cmd.c (cmdpy_init): Fix memory leak. |
1523 | ||
c38eea1a MS |
1524 | * breakpoint.c (catch_syscall_completer): Free malloced list. |
1525 | ||
3ef09ab5 MS |
1526 | * jv-lang.c (java_primitive_type_from_name): Add missing break. |
1527 | ||
8f9a01ee MS |
1528 | * opencl-lang.c (lval_func_check_validity): Rename inner variables. |
1529 | (lval_func_check_synthetic_pointer): Ditto. | |
1530 | (lval_func_free_closure): Fix use-after-free. | |
c05202a1 | 1531 | |
477d0d57 TT |
1532 | 2011-02-28 Tom Tromey <tromey@redhat.com> |
1533 | ||
1534 | * psymtab.c (expand_partial_symbol_tables): Use | |
1535 | ALL_OBJFILE_PSYMTABS. | |
1536 | ||
20937029 JK |
1537 | 2011-02-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
1538 | ||
1539 | * objc-lang.c (selectors_info): Error on too long REGEXP. | |
1540 | ||
907b7f4f MS |
1541 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
1542 | ||
92e96192 MS |
1543 | * python/py-param.c (set_parameter_value): Add missing |
1544 | break statement. | |
1545 | ||
907b7f4f MS |
1546 | * linux-record.c (record_linux_system_call): Add missing |
1547 | break statement. | |
1548 | ||
12c5a436 UW |
1549 | 2011-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
1550 | ||
1551 | * breakpoint.c (print_one_breakpoint_location): Remove unused | |
1552 | argument PRINT_ADDRESS_BITS. Update callers. | |
1553 | (print_one_breakpoint): Likewise. | |
1554 | ||
170b53b2 UW |
1555 | 2011-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
1556 | ||
1557 | * breakpoint.c (wrap_indent_at_field): New function. | |
1558 | (print_breakpoint_location): Use it instead of WRAP_INDENT argument. | |
1559 | Allocate ui_stream locally instead of using STB argument. | |
1560 | (print_one_breakpoint_location): Update call. | |
1561 | * ui-out.c (ui_out_query_field): New function. | |
1562 | * ui-out.h (ui_out_query_field): Add prototype. | |
1563 | ||
8ab1f94d JB |
1564 | 2011-02-28 Joel Brobecker <brobecker@adacore.com> |
1565 | ||
1566 | From Michael Snyder <msnyder@vmware.com> | |
1567 | * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. | |
1568 | ||
7d488639 MS |
1569 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
1570 | ||
ae179fba MS |
1571 | * objc-lang.c (selectors_info): Prevent string overrun. |
1572 | ||
086dbf66 MS |
1573 | * tui/tui-stack.c (tui_get_function_from_frame): Fix off by one |
1574 | error in strncpy. | |
1575 | ||
f2eb0bc8 | 1576 | * symtab.c (rbreak_command): Move variable 'file_name' to |
9c1e305a MS |
1577 | outer scope. |
1578 | ||
7d488639 MS |
1579 | * d-valprint.c (dynamic_array_type): Avoid shadowing a function |
1580 | param with a local variable of the same name. | |
1581 | ||
3bd0f5ef MS |
1582 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
1583 | ||
1584 | * value.c (value_from_history_ref): New function. | |
1585 | * value.h (value_from_history_ref): Export. | |
1586 | * cli/cli-utils.c (get_number_trailer): Use value_from_history_ref | |
1587 | to parse value history references. | |
1588 | * cli/cli-utils.h (get_number_trailer): Update comment. | |
1589 | ||
1590 | 2011-02-27 Michael Snyder <msnyder@vmware.com> | |
1591 | ||
1592 | * inferior.c (detach_inferior_command): Use get_number_or_range. | |
1593 | (kill_inferior_command): Ditto. | |
1594 | (remove_inferior_command): Ditto. | |
1595 | (initialize_inferiors): Make command names plural. | |
1596 | Update help strings. | |
1597 | ||
766062f6 MS |
1598 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
1599 | ||
1600 | * darwin-nat-info.c: Fix comment typo. | |
1601 | * dwarf2expr.h: Ditto. | |
1602 | * fbsd-nat.c: Ditto. | |
1603 | * fbsd-nat.h: Ditto. | |
1604 | * frame-unwind.h: Ditto. | |
1605 | * frame.h: Ditto. | |
1606 | * hppa-hpux-tdep.c: Ditto. | |
1607 | * i386-linux-nat.c: Ditto. | |
1608 | * linux-nat.c: Ditto. | |
1609 | * nbsd-nat.c: Ditto. | |
1610 | * nbsd-nat.h: Ditto. | |
1611 | * ppc-linux-tdep.c: Ditto. | |
1612 | * serial.c: Ditto. | |
1613 | * ui-file.h: Ditto. | |
1614 | * tui/tui-winsource.c: Ditto. | |
1615 | ||
f2c4ead5 MS |
1616 | 2011-02-26 Michael Snyder <msnyder@vmware.com> |
1617 | ||
86b887df MS |
1618 | * breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file). |
1619 | ||
66fd3b1e MS |
1620 | * maint.c (maintenance_do_deprecate): Plug a memory leak. |
1621 | ||
8c814cdd MS |
1622 | * dwarf2loc.c (insert_bits): Avoid shadowing a function param |
1623 | with a local variable of the same name. | |
1624 | ||
6d5e094a | 1625 | * i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function |
e5b3d7d6 | 1626 | param with a local variable of the same name. |
6d5e094a | 1627 | (i387_supply_xsave): Ditto. |
e5b3d7d6 | 1628 | |
5eee517d MS |
1629 | * linux-low.c (linux_nat_xfer_osdata): Rename local variable so |
1630 | that it does not shadow a function parameter. | |
1631 | ||
8fbf6b93 MS |
1632 | * i386-nat.c (i386_length_and_rw_bits): Document that case |
1633 | statement is meant to fall through. | |
1634 | ||
cb969d61 MS |
1635 | * expprint.c (dump_subexp_body_standard): Document that case |
1636 | statement is meant to fall through. | |
1637 | ||
f2c4ead5 MS |
1638 | * amd64-linux-tdep.c (amd64_linux_syscall_record): Delete |
1639 | dead if statement. Condition can't be false. | |
1640 | ||
b021a221 MS |
1641 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
1642 | ||
1643 | * arm-tdep.c: Fix typos in comments. | |
1644 | * bsd-uthread.c: Ditto. | |
1645 | * completer.c: Ditto. | |
1646 | * corelow.c: Ditto. | |
1647 | * cp-namespace.c: Ditto. | |
1648 | * cp-support.c: Ditto. | |
1649 | * cris-tdep.c: Ditto. | |
1650 | * dbxread.c: Ditto. | |
1651 | * dwarf2read.c: Ditto. | |
1652 | * frame.h: Ditto. | |
1653 | * gdbtypes.h: Ditto. | |
1654 | * inferior.h: Ditto. | |
1655 | * mdebugread.c: Ditto. | |
1656 | * mips-tdep.c: Ditto. | |
1657 | * ppc-linux-nat.c: Ditto. | |
1658 | * ppc-linux-tdep.c: Ditto. | |
1659 | * printcmd.c: Ditto. | |
1660 | * sol-thread.c: Ditto. | |
1661 | * solib-frv.c: Ditto. | |
1662 | * solist.h: Ditto. | |
1663 | * sparc64-tdep.c: Ditto. | |
1664 | * spu-tdep.c: Ditto. | |
1665 | * stabsread.c: Ditto. | |
1666 | * symfile.c: Ditto. | |
1667 | * valops.c: Ditto. | |
1668 | * varobj.c: Ditto. | |
1669 | * vax-nat.c: Ditto. | |
1670 | * python/py-block.c: Ditto. | |
1671 | * python/py-symbol.c: Ditto. | |
1672 | * python/py-symtab.c: Ditto. | |
1673 | * python/py-value.c: Ditto. | |
1674 | * tui/tui-win.c: Ditto. | |
1675 | ||
c82c0b55 MS |
1676 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
1677 | ||
1678 | * inferior.c (print_inferior): Accept a string instead of an int | |
1679 | for requested_inferiors, and use get_number_or_range to parse it. | |
1680 | (info_inferiors_command): Pass args string to print_inferior. | |
1681 | (initialize_inferiors): Change help string for info inferiors. | |
1682 | * inferior.h (print_inferior): Export prototype change. | |
1683 | ||
ee00cd23 TT |
1684 | 2011-02-25 Tom Tromey <tromey@redhat.com> |
1685 | ||
1686 | * common/ax.def (invalid2): Set to 0x31. | |
1687 | ||
0502ed8c JK |
1688 | 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
1689 | ||
1690 | * dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use | |
1691 | L and plongest. | |
1692 | (disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset, | |
1693 | use L and plongest. | |
1694 | (disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest. | |
1695 | ||
2c9de912 MS |
1696 | 2011-02-24 Michael Snyder <msnyder@vmware.com> |
1697 | ||
1698 | * Makefile.in (clean): Make clean should remove generated files | |
1699 | observer.h and observer.inc. | |
1700 | ||
a04b0428 JB |
1701 | 2011-02-24 Joel Brobecker <brobecker@adacore.com> |
1702 | ||
1703 | Revert the following patch (not approved yet): | |
1704 | 2011-02-21 Hui Zhu <teawater@gmail.com> | |
1705 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
1706 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
1707 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
1708 | * ax-general.c (ax_memcpy): New function. | |
1709 | (ax_print): Handle "printf". | |
1710 | (ax_reqs): Ditto. | |
1711 | * ax.h (ax_memcpy): Forward declare. | |
1712 | * common/ax.def (invalid2): Removed. | |
1713 | (printf): New entry. | |
1714 | * printcmd.c (printcmd.h): New include. | |
1715 | (string_printf): New function. | |
1716 | (ui_printf): Removed. | |
1717 | (printf_command): Remove static. Call string_printf. | |
1718 | (eval_command): Call string_printf. | |
1719 | * printcmd.h: New file. | |
1720 | * tracepoint.c (validate_actionline, | |
1721 | encode_actions_1): handle printf_command. | |
1722 | ||
2b52013f TT |
1723 | 2011-02-23 Tom Tromey <tromey@redhat.com> |
1724 | ||
1725 | * ax-general.c (ax_pick): Add missing newline. | |
1726 | ||
e5a67952 MS |
1727 | 2011-02-23 Michael Snyder <msnyder@vmware.com> |
1728 | ||
1729 | * breakpoint.c (breakpoint_1): Change first argument from an int | |
1730 | to a char pointer, so that the function now accepts a list of | |
f2eb0bc8 | 1731 | breakpoints rather than just one. Use new function |
e5a67952 MS |
1732 | 'number_is_in_list' to implement. |
1733 | (breakpoints_info): Pass char * instead of int to breakpoint_1. | |
1734 | (watchpoints_info): Ditto. | |
1735 | (tracepoints_info): Ditto. | |
1736 | (maintenance_info_breakpoints): Ditto. | |
1737 | (_initialize_breakpoint): Update help strings to reflect the fact | |
1738 | that these functions can now take more than one argument. | |
1739 | * cli/cli-utils.c (number_is_in_list): New function. | |
1740 | * cli/cli-utils.h (number_is_in_list): Export. | |
1741 | ||
1742 | 2011-02-23 Michael Snyder <msnyder@vmware.com> | |
fbcb778d MS |
1743 | |
1744 | * memattr.c (mem_enable_command): Use get_number_or_range. | |
1745 | (mem_disable_command): Ditto. | |
1746 | (mem_delete_command): Ditto. | |
1747 | (_initialize_mem): Tweak usage message to reflect multiple | |
1748 | arguments. | |
1749 | ||
6e6fbe60 DE |
1750 | 2011-02-22 Doug Evans <dje@google.com> |
1751 | ||
1752 | Add gdb.lookup_global_symbol python function. | |
1753 | * NEWS: Add entry. | |
1754 | * python/py-symbol.c (gdbpy_lookup_global_symbol): New function. | |
1755 | * python/python-internal.h (gdbpy_lookup_global_symbol): Declare it. | |
1756 | * python/python.c (GdbMethods): Add entry for lookup_global_symbol. | |
1757 | ||
79b97fa8 TT |
1758 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
1759 | ||
1760 | * language.c (language_class_name_from_physname): Rename | |
1761 | 'curr_language' argument to 'lang'; use in body. | |
1762 | ||
298f437a MS |
1763 | 2011-02-22 Michael Snyder <msnyder@vmware.com> |
1764 | ||
1765 | * cli/cli-utils.c (number_is_in_list): Check for zero return. | |
1766 | ||
b7ea3126 PA |
1767 | 2011-02-22 Pedro Alves <pedro@codesourcery.com> |
1768 | ||
1769 | * frame-unwind.h: Fix comment to mention the this frame, not the | |
1770 | next. | |
1771 | ||
58ee6d60 TT |
1772 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
1773 | ||
1774 | * symfile.c (auto_solib_limit): Remove. | |
1775 | * symfile.h (auto_solib_limit): Remove. | |
1776 | ||
36238dbc JB |
1777 | 2011-02-22 Joel Brobecker <brobecker@adacore.com> |
1778 | ||
1779 | * Makefile.in (INSTALLED_LIBS): Delete. Update comment. | |
1780 | ||
aea5b279 MS |
1781 | 2011-02-21 Michael Snyder <msnyder@vmware.com> |
1782 | ||
1783 | * gdbthread.h (print_thread_info): Change prototype. | |
1784 | * thread.c (print_thread_info): Accept char* instead of int for | |
1785 | requested_threads argument. Use new function number_is_in_list | |
1786 | to determine which threads to list. | |
1787 | (info_threads_command): Pass char* to print_thread_info. | |
1788 | * cli/cli-utils.c (number_is_in_list): New function. | |
1789 | * cli/cli-utils.h (number_is_in_list): Export. | |
f2eb0bc8 | 1790 | * mi/mi-main.c (mi_cmd_thread_info): Pass char* to |
aea5b279 MS |
1791 | print_thread_info. |
1792 | (print_one_inferior): Ditto. | |
1793 | (mi_cmd_list_thread_groups): Ditto. | |
1794 | ||
8caa75ee JK |
1795 | 2011-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
1796 | ||
1797 | * common/Makefile.in (CFLAGS): New. | |
1798 | (COMPILE): Add $(CFLAGS). | |
1799 | ||
ea666128 TT |
1800 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
1801 | ||
1802 | * breakpoint.c (catch_syscall_command_1): Fix typo. | |
1803 | ||
e9cafbcc TT |
1804 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
1805 | ||
1806 | * reverse.c: Include cli-utils.h. | |
1807 | * printcmd.c: Include cli-utils.h. | |
1808 | (string_printf): Use skip_spaces. | |
1809 | * cli/cli-utils.h: New file. | |
1810 | * cli/cli-utils.c: New file. | |
1811 | * cli/cli-dump.h (skip_spaces): Move to cli-utils.h. | |
1812 | * cli/cli-dump.c (skip_spaces): Move to cli-utils.c. | |
1813 | * breakpoint.h (get_number, get_number_or_range): Move to | |
1814 | cli-utils.h. | |
1815 | * breakpoint.c: Include cli-utils.h. | |
1816 | (get_number_trailer, get_number, get_number_or_range) | |
1817 | (ep_skip_leading_whitespace): Move to cli-utils.c. | |
1818 | (create_breakpoint_sal, find_condition_and_thread) | |
1819 | (decode_static_tracepoint_spec, watch_command_1) | |
1820 | (watch_maybe_just_location, ep_parse_optional_if_clause) | |
1821 | (catch_fork_command_1, catch_exec_command_1) | |
1822 | (catch_syscall_command_1): Use skip_spaces, skip_to_space. | |
1823 | * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o. | |
1824 | (SUBDIR_CLI_SRCS): Add cli-utils.c. | |
1825 | (HFILES_NO_SRCDIR): Add cli-utils.h. | |
1826 | (cli-utils.o): New target. | |
1827 | ||
f67fd822 PM |
1828 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
1829 | ||
1830 | * remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID | |
1831 | before calling discard_all_inferiors. | |
1832 | ||
c9def01d UW |
1833 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
1834 | ||
1835 | * opencl-lang.c (STRUCT_OCL_TYPE): Remove. | |
1836 | (struct builtin_opencl_type): Remove. | |
1837 | (builtin_opencl_type): Change return type to "struct type **". | |
1838 | (lookup_opencl_vector_type): Update caller. | |
1839 | (opencl_language_arch_info): Copy primitive type vector from gdbarch. | |
1840 | (build_opencl_types): Install plain array of "struct type *" | |
1841 | instead of "struct builtin_opencl_type". | |
1842 | ||
e3039479 UW |
1843 | 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
1844 | Ulrich Weigand <uweigand@de.ibm.com> | |
1845 | ||
1846 | * arm-linux-nat.c: Include "observer.h" and "gdbthread.h". | |
1847 | (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define. | |
1848 | (struct arm_linux_hwbp_cap): New type. | |
1849 | (arm_linux_get_hwbp_cap): New function. | |
1850 | (arm_linux_get_hw_breakpoint_count): Likewise. | |
1851 | (arm_linux_get_hw_watchpoint_count): Likewise. | |
1852 | (arm_linux_can_use_hw_breakpoint): Likewise. | |
1853 | (arm_hwbp_type): New type. | |
1854 | (arm_hwbp_control_t): Likewise. | |
1855 | (struct arm_linux_hw_breakpoint): Likewise. | |
1856 | (struct arm_linux_thread_points): Likewise. | |
1857 | (arm_threads): New global variable. | |
1858 | (arm_linux_find_breakpoints_by_tid): New function. | |
1859 | (arm_hwbp_control_initialize): Likewise. | |
1860 | (arm_hwbp_control_is_enabled): Likewise. | |
1861 | (arm_hwbp_control_disable): Likewise. | |
1862 | (arm_linux_hw_breakpoint_initialize): Likewise. | |
1863 | (arm_linux_get_hwbp_type): Likewise. | |
1864 | (arm_linux_hw_watchpoint_initialize): Likewise. | |
1865 | (arm_linux_hw_breakpoint_equal): Likewise. | |
1866 | (arm_linux_insert_hw_breakpoint1): Likewise. | |
1867 | (arm_linux_remove_hw_breakpoint1): Likewise. | |
1868 | (arm_linux_insert_hw_breakpoint): Likewise. | |
1869 | (arm_linux_remove_hw_breakpoint): Likewise. | |
1870 | (arm_linux_region_ok_for_hw_watchpoint): Likewise. | |
1871 | (arm_linux_insert_watchpoint): Likewise. | |
1872 | (arm_linux_remove_watchpoint): Likewise. | |
1873 | (arm_linux_stopped_data_address): Likewise. | |
1874 | (arm_linux_stopped_by_watchpoint): Likewise. | |
1875 | (arm_linux_watchpoint_addr_within_range): Likewise. | |
1876 | (arm_linux_new_thread): Likewise. | |
1877 | (arm_linux_thread_exit): Likewise. | |
1878 | (_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint | |
1879 | related target callbacks. Register arm_linux_new_thread and | |
1880 | arm_linux_thread_exit. | |
1881 | * arm-tdep.h (arm_pc_is_thumb): Add prototype. | |
1882 | * arm-tdep.c (arm_pc_is_thumb): Make global. | |
1883 | (arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint. | |
1884 | ||
b5db5dfc UW |
1885 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
1886 | ||
1887 | * breakpoint.c (update_watchpoint): Do not attempt to recreate | |
1888 | per-frame locations while within a function epilogue. | |
1889 | ||
e25b2cfa PM |
1890 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
1891 | ||
1892 | * ser-mingw.c (ser_windows_close): Reformat comment to better conform | |
1893 | to GNU coding standards. | |
1894 | ||
4af53f97 PM |
1895 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
1896 | ||
1897 | Allow use of mingw native on Windows 95 OS. | |
e25b2cfa | 1898 | * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry. |
4af53f97 PM |
1899 | (ser_windows_close): Only call CancelIo if function exists. |
1900 | (_initialize_ser_windows): Use LoadLirary/GetProcAddress | |
1901 | to check for existence of CancelIo function in kernel32 DLL. | |
1902 | ||
d0e92d82 HZ |
1903 | 2011-02-21 Hui Zhu <teawater@gmail.com> |
1904 | ||
1905 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
1906 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
1907 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
1908 | * ax-general.c (ax_memcpy): New function. | |
1909 | (ax_print): Handle "printf". | |
1910 | (ax_reqs): Ditto. | |
1911 | * ax.h (ax_memcpy): Forward declare. | |
1912 | * common/ax.def (invalid2): Removed. | |
1913 | (printf): New entry. | |
1914 | * printcmd.c (printcmd.h): New include. | |
1915 | (string_printf): New function. | |
1916 | (ui_printf): Removed. | |
1917 | (printf_command): Remove static. Call string_printf. | |
1918 | (eval_command): Call string_printf. | |
1919 | * printcmd.h: New file. | |
1920 | * tracepoint.c (validate_actionline, | |
1921 | encode_actions_1): handle printf_command. | |
1922 | ||
7d357efd MS |
1923 | 2011-02-19 Michael Snyder <msnyder@vmware.com> |
1924 | ||
1925 | * reverse.c (delete_one_bookmark): Argument is now bookmark | |
1926 | id rather than pointer to bookmark struct. | |
1927 | (delete_bookmark_command): Use get_number_or_range. | |
1928 | (goto_bookmark_command): Parse with get_number instead of strtoul. | |
1929 | (bookmark_1): New function. Print info for one bookmark. | |
1930 | (bookmarks_info): Use get_number_or_range and bookmark_1. | |
1931 | ||
7a45ebd7 MS |
1932 | 2011-02-18 Michael Snyder <msnyder@vmware.com> |
1933 | ||
f2eb0bc8 | 1934 | * thread.c (info_threads_command): Re-implement using |
7a45ebd7 | 1935 | get_number_or_range. |
65ebfb52 | 1936 | (thread_apply_command): Ditto. |
7a45ebd7 | 1937 | |
94d5e490 TT |
1938 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
1939 | ||
1940 | * common/ax.def: New file. | |
1941 | * ax.h (enum agent_op): Use ax.def. | |
1942 | * ax-general.c (aop_map): Use ax.def. | |
1943 | ||
c7f96d2b TT |
1944 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
1945 | ||
1946 | * ax-general.c (aop_map): Add pick and rot. | |
1947 | * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement. | |
1948 | <DW_OP_rot>: Implement. | |
1949 | * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants. | |
1950 | (ax_pick): Declare. | |
1951 | * ax-general.c (ax_pick): New function. | |
1952 | ||
66694b75 TT |
1953 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
1954 | ||
1955 | * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc. | |
1956 | ||
eeaafae2 JK |
1957 | 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
1958 | Tom Tromey <tromey@redhat.com> | |
1959 | ||
1960 | * cp-support.c (make_symbol_overload_list_namespace): Do not call | |
1961 | make_symbol_overload_list_block with NULL BLOCK. | |
1962 | * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF. | |
1963 | ||
3c3fe74c PA |
1964 | 2011-02-18 Pedro Alves <pedro@codesourcery.com> |
1965 | ||
1966 | * breakpoint.c (get_number_trailer): No longer accept a NULL PP. | |
1967 | * breakpoint.h (get_number_or_range): Declare. | |
1968 | * printcmd.c (ALL_DISPLAYS): Declare. | |
1969 | (delete_display): Reimplement taking a display pointer. | |
1970 | (undisplay_command): Accept a range of displays to delete, using | |
1971 | get_number_or_range. | |
1972 | ||
13163d80 PM |
1973 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
1974 | ||
1975 | * c-valprint.c (c_val_print): Add embedded_offset to address | |
1976 | for arrays of unspecified length. | |
1977 | * p-valprint.c (pascal_val_print): Likewise. | |
1978 | ||
b434a28f YQ |
1979 | 2011-02-18 Yao Qi <yao@codesourcery.com> |
1980 | ||
1981 | * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ... | |
1982 | (arm_process_displaced_insn): .. here. Remove parameter INSN. | |
1983 | (thumb_process_displaced_insn): New. | |
1984 | * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update | |
1985 | call to arm_process_displaced_insn. | |
1986 | * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn. | |
1987 | ||
9f6f94ff TT |
1988 | 2011-02-17 Tom Tromey <tromey@redhat.com> |
1989 | ||
1990 | * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare. | |
1991 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from | |
1992 | compile_dwarf_to_ax. No longer static. Call | |
1993 | dwarf2_compile_cfa_to_ax. | |
1994 | (locexpr_tracepoint_var_ref): Update. | |
1995 | (loclist_tracepoint_var_ref): Update. | |
1996 | * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare. | |
1997 | * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame' | |
1998 | argument; add 'gdbarch' and 'pc'. | |
1999 | (dwarf2_compile_cfa_to_ax): New function. | |
2000 | (dwarf2_frame_cache): Update. | |
2001 | ||
e67ad678 JB |
2002 | 2011-02-17 Joel Brobecker <brobecker@adacore.com> |
2003 | ||
2004 | * ada-lang.c (ada_type_of_array): Fix the size of the array | |
2005 | in the case of an unconstrained packed array. | |
2006 | ||
946ebb0d YQ |
2007 | 2011-02-17 Yao Qi <yao@codesourcery.com> |
2008 | ||
2009 | * common/Makefile.in: Add more targets for make. | |
2010 | ||
1ba1b353 TT |
2011 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
2012 | ||
2013 | * dwarf2loc.c (unimplemented): Fix typo. | |
2014 | ||
b1bfef65 TT |
2015 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
2016 | ||
2017 | * dwarf2loc.c (unimplemented): Handle unnamed opcodes. | |
2018 | (compile_dwarf_to_ax) <default>: Use unimplemented. | |
2019 | <DW_OP_deref>: Update. | |
2020 | (disassemble_dwarf_expression): Update. | |
2021 | * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument. | |
2022 | (decode_locdesc): Update. | |
2023 | * dwarf2expr.h (dwarf_stack_op_name): Update. | |
2024 | ||
5f1e6f19 TT |
2025 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
2026 | ||
2027 | * ax.h (struct aop_map) <name>: Now const. | |
2028 | ||
a0c78a73 PA |
2029 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
2030 | ||
2031 | * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other | |
2032 | than axs_rvalue. | |
2033 | ||
946ebb0d | 2034 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
a42244db YQ |
2035 | |
2036 | * infrun.c (get_displaced_step_closure_by_addr): New. | |
2037 | * inferior.h: Declare it. | |
2038 | * arm-tdep.c: (arm_pc_is_thumb): Call | |
2039 | get_displaced_step_closure_by_addr. Adjust MEMADDR if it | |
2040 | returns non-NULL. | |
2041 | ||
08807d5a PA |
2042 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
2043 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
2044 | ||
2045 | gdb/ | |
2046 | * tracepoint.c (memrange_sortmerge): Fix list A's end calculation. | |
2047 | ||
29976f3f PA |
2048 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
2049 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
2050 | ||
2051 | * value.c (value_contents_copy_raw): Extend describing comment. | |
2052 | Assert that the destination contents we're overwriting are wholly | |
2053 | available. | |
fb68ae73 | 2054 | (value_contents_copy): Extend describing comment. |
29976f3f | 2055 | |
cd24cfaa PA |
2056 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
2057 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
2058 | ||
2059 | * value.c (value_available_contents_eq): Remove redundant local | |
2060 | variables. Fix available contents comparision. | |
2061 | * value.h (value_available_contents_eq): Extend describing | |
2062 | comment. | |
2063 | ||
60bbf338 YQ |
2064 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
2065 | ||
2066 | * thread.c (info_threads_command): Add missing i18n markup and remove | |
2067 | trailing newline. | |
2068 | ||
17450429 PP |
2069 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
2070 | ||
2071 | * breakpoint.c (longjmp_names): New variable. | |
2072 | (struct breakpoint_objfile_data): New type. | |
2073 | (breakpoint_objfile_key): New variable. | |
2074 | (msym_not_found): New variable. | |
2075 | (msym_not_found_p): New predicate. | |
2076 | (get_breakpoint_objfile_data): New function. | |
2077 | (create_overlay_event_breakpoint): Check per-objfile cache for | |
2078 | symbols first. | |
2079 | (create_longjmp_master_breakpoint): Likewise. | |
2080 | (create_std_terminate_master_breakpoint): Likewise. | |
2081 | (create_exception_master_breakpoint): Likewise. | |
2082 | (_initialize_breakpoint): Register per-objfile data key. | |
2083 | ||
af02033e PP |
2084 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
2085 | ||
2086 | * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate | |
2087 | parameter value. | |
2088 | (create_longjmp_master_breakpoint): Loop over longjmp names. | |
2089 | (create_std_terminate_master_breakpoint): Const-propagate parameter | |
2090 | value. | |
2091 | (update_breakpoints_after_exec): Adjust. | |
2092 | (breakpoint_re_set): Adjust. | |
2093 | ||
60f98dde MS |
2094 | 2011-02-15 Michael Snyder <msnyder@vmware.com> |
2095 | ||
cdf99611 MS |
2096 | * thread.c (info_threads_command): Process arg as thread id, |
2097 | or list of thread ids. | |
2098 | (thread_find_command): New command. | |
2099 | (_initialize_thread): Document argument for info threads. | |
2100 | Document 'thread find' command. | |
2101 | * NEWS: Document new command "thread find". | |
60f98dde | 2102 | |
0feedb2c JK |
2103 | 2011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
2104 | ||
2105 | * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'. | |
2106 | * aclocal.m4: Regenerated with aclocal-1.11.1. | |
2107 | * common/configure: Regenerate with autoconf-2.64. | |
2108 | ||
648cd113 KW |
2109 | 2011-02-15 Ken Werner <ken.werner@de.ibm.com> |
2110 | ||
2111 | * opencl-lang.c (build_opencl_types): Set the size of the built-in | |
2112 | bool data type to a size of one byte. | |
2113 | ||
5657161f PA |
2114 | 2011-02-15 Pedro Alves <pedro@codesourcery.com> |
2115 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
2116 | ||
2117 | * target.c (memory_xfer_live_readonly_partial): Document where to | |
2118 | look for interface description. | |
2119 | ||
494e194e YQ |
2120 | 2011-02-15 Yao Qi <yao@codesourcery.com> |
2121 | ||
2122 | PR tdep/12352 | |
2123 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in | |
2124 | order to store PC value on stack instead of text section. | |
2125 | ||
d9492458 TJB |
2126 | 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2127 | ||
2128 | * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for | |
2129 | the EFP register set size. | |
2130 | (efpr_pseudo_register_read): Use regcache_raw_read_part to read | |
2131 | data from the VMX register. | |
2132 | (efpr_pseudo_register_write): Use regcache_raw_write_part to read | |
2133 | and write data from/to the VMX register. | |
2134 | ||
cdf99611 MS |
2135 | 2011-02-14 Michael Snyder <msnyder@vmware.com> |
2136 | ||
2137 | * command.h (enum command_class): New class 'no_set_class', for | |
2138 | "show" commands without a corresponding "set" command. | |
2139 | * value.c (_initialize_values): Use 'no_set_class' for "show values". | |
2140 | * copying.c (_initialize_copying): Ditto for "show copying" and | |
2141 | "show warranty". | |
2142 | * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and | |
2143 | "show version". | |
2144 | * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for | |
2145 | which there is no corresponding "set" command (eg. "show copying"). | |
2146 | ||
424447ee PA |
2147 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2148 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
2149 | ||
2150 | * exec.c (section_table_available_memory): Change `len' parameter | |
2151 | type to ULONGEST. | |
2152 | * exec.h (section_table_available_memory): Ditto. | |
2153 | * value.h (read_value_memory): Rename the `offset' parameter to | |
2154 | `embedded_offset'. | |
2155 | ||
c0f61f9c | 2156 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
e0ccc0c7 | 2157 | Jan Kratochvil <jan.kratochvil@redhat.com> |
c0f61f9c PA |
2158 | |
2159 | * memrange.c (compare_mem_ranges): Mention sort order in | |
2160 | describing comment. | |
2161 | (normalize_mem_ranges): Add comment. Fix ra->length calculation. | |
2162 | * tracepoint.c (traceframe_available_memory): Extend comment to | |
2163 | mention what happens to RESULT when the target does not support | |
2164 | the query. | |
2165 | ||
6bfc80c7 PA |
2166 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2167 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
2168 | ||
2169 | * value.c (mark_value_bytes_unavailable): Fix indexing the `bef' | |
2170 | range. | |
2171 | ||
e7303042 PA |
2172 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2173 | ||
2174 | * value.c (value_bits_valid, value_bits_synthetic_pointer): | |
2175 | No longer handle NULL values. | |
2176 | ||
8af8e3bc PA |
2177 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2178 | ||
2179 | * exceptions.h (NOT_AVAILABLE_ERROR): New error. | |
2180 | * value.c: Include "exceptions.h". | |
2181 | (require_available): Throw NOT_AVAILABLE_ERROR instead of a | |
2182 | generic error. | |
2183 | * cp-abi.c: Include gdb_assert.h. | |
2184 | (baseclass_offset): Add `embedded_offset' and `val' parameters. | |
2185 | Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR | |
2186 | errors. | |
2187 | * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val' | |
2188 | parameters. No longer returns -1 on error. | |
2189 | (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and | |
2190 | `val' parameters. | |
2191 | * cp-valprint.c: Include exceptions.h. | |
2192 | (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching | |
2193 | the baseclass_offset. Handle unavailable base classes. Use | |
2194 | val_print_invalid_address. | |
2195 | * p-valprint.c: Include exceptions.h. | |
2196 | (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors | |
2197 | when fetching the baseclass_offset. No longer expect | |
2198 | baseclass_offset returning -1. Handle unavailable base classes. | |
2199 | Use val_print_invalid_address. | |
2200 | * valops.c (dynamic_cast_check_1): Rename `contents' parameter to | |
2201 | `valaddr' parameter, and change its type to gdb_byte pointer. Add | |
2202 | `embedded_offset' and `val' parameters. Adjust. | |
2203 | (dynamic_cast_check_2): Rename `contents' parameter to `valaddr' | |
2204 | parameter, and change its type to gdb_byte pointer. Add | |
2205 | `embedded_offset' and `val' parameters. Adjust. No longer expect | |
2206 | baseclass_offset returning -1. | |
2207 | (value_dynamic_cast): Use value_contents_for_printing rather than | |
2208 | value_contents. Adjust. | |
2209 | (search_struct_field): No longer expect baseclass_offset returning | |
2210 | -1. | |
2211 | (search_struct_method): If reading memory from the target is | |
2212 | necessary, wrap it in a new value to pass to baseclass_offset. No | |
2213 | longer expect baseclass_offset returning -1. | |
2214 | (find_method_list): No longer expect baseclass_offset returning | |
2215 | -1. Use value_contents_for_printing rather than value_contents. | |
2216 | * valprint.c (val_print_invalid_address): New function. | |
2217 | * valprint.h (val_print_invalid_address): Declare. | |
2218 | * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset' | |
2219 | and `val' parameters. No longer expect baseclass_offset returning | |
2220 | -1. Adjust. | |
2221 | * gnu-v2-abi.c: Include "exceptions.h". | |
2222 | (gnuv2_baseclass_offset): Add `embedded_offset' and `val' | |
2223 | parameters. Handle unavailable memory. Recurse through | |
2224 | gnuv2_baseclass_offset directly, rather than through | |
2225 | baseclass_offset. No longer returns -1 on not found, instead | |
2226 | throw an error. | |
2227 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and | |
2228 | `val' parameters. Adjust. | |
2229 | ||
1b28d0b3 PA |
2230 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2231 | ||
2232 | * tracepoint.c (memrange_sortmerge): Don't merge ranges that are | |
2233 | almost but not quite adjacent. | |
2234 | ||
ec0a52e1 PA |
2235 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2236 | ||
2237 | * value.h (value_entirely_available): Declare. | |
2238 | * value.c (value_entirely_available): New function. | |
2239 | * c-valprint.c (c_value_print): Don't try fetching the pointer's | |
2240 | real type if the pointer is unavailable. | |
2241 | ||
24e6bcee PA |
2242 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2243 | ||
2244 | * valops.c (value_repeat): Use read_value_memory instead of | |
2245 | read_memory. | |
2246 | ||
39d37385 PA |
2247 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2248 | ||
2249 | * value.h (value_contents_copy, value_contents_copy_raw): Declare. | |
2250 | * value.c (value_contents_copy_raw, value_contents_copy): New | |
2251 | functions. | |
2252 | (value_primitive_field): Use value_contents_copy_raw instead of | |
2253 | memcpy. | |
2254 | * valops.c (value_fetch_lazy): Use value_contents_copy instead of | |
2255 | memcpy. | |
2256 | (value_array, value_slice): Ditto. | |
2257 | * valarith.c (value_subscripted_rvalue): Use | |
2258 | value_contents_copy_raw instead of memcpy. | |
2259 | ||
a3d34bf4 PA |
2260 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2261 | ||
2262 | <unavailable> references. | |
2263 | ||
2264 | * valops.c (get_value_at): Use value_from_contents_and_address, | |
2265 | avoiding read_memory. | |
2266 | ||
9fc6d940 PA |
2267 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2268 | ||
2269 | * c-valprint.c (c_val_print): Print a string with unavailable | |
2270 | contents as an array. | |
2271 | ||
5467c6c8 PA |
2272 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2273 | ||
2274 | * value.h (unpack_bits_as_long): Delete declaration. | |
2275 | (unpack_value_bits_as_long): Declare. | |
2276 | (unpack_value_field_as_long): Declare. | |
2277 | (value_field_bitfield): Declare. | |
2278 | * value.c (unpack_bits_as_long): Rename to... | |
2279 | (unpack_value_bits_as_long_1): ... this. Add embedded_offset and | |
2280 | value parameters. Return the extracted result in a new output | |
2281 | parameter. If the value contents are unavailable, return false, | |
2282 | otherwise return true. | |
2283 | (unpack_value_bits_as_long): New. | |
2284 | (unpack_field_as_long): Rename to... | |
2285 | (unpack_value_field_as_long_1): ... this. Add embedded_offset and | |
2286 | Add embedded_offset and value parameters. Return the extracted | |
2287 | result in a new output parameter. If the value contents are | |
2288 | unavailable, return false, otherwise return true. | |
2289 | (unpack_value_field_as_long): New. | |
2290 | (unpack_field_as_long_1): New. | |
2291 | (unpack_field_as_long): Reimplement as wrapper around | |
2292 | unpack_value_field_as_long_1. | |
2293 | (value_field_bitfield): New function. | |
2294 | * valops.c (value_fetch_lazy): When fetching a bitfield, use | |
2295 | unpack_value_bits_as_long. Mark the value as unavailable, if it | |
2296 | is unavailable. | |
2297 | * jv-valprint.c (java_print_value_fields): Use | |
2298 | value_field_bitfield. | |
2299 | * p-valprint.c (pascal_object_print_value_fields): Use | |
2300 | value_field_bitfield. | |
2301 | * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield. | |
2302 | ||
3158c6ed PA |
2303 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2304 | ||
2305 | * value.c (get_internalvar_integer): Also return the int value of | |
2306 | TYPE_CODE_INT INTERNALVAR_VALUE values. | |
2307 | (set_internalvar): Don't special case TYPE_CODE_INT. | |
2308 | ||
9fbdca0d PA |
2309 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2310 | ||
2311 | * value.c (struct internalvar) <enum internalvar_kind>: Remove | |
2312 | INTERNALVAR_POINTER. | |
2313 | <pointer>: Delete. | |
2314 | (value_of_internalvar): Remove INTERNALVAR_POINTER handling. | |
2315 | (set_internalvar): Remove special TYPE_CODE_PTR handling. | |
2316 | (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling. | |
2317 | ||
c8c1c22f PA |
2318 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2319 | ||
2320 | * value.h (value_available_contents_eq): Declare. | |
2321 | * value.c (find_first_range_overlap): New function. | |
2322 | (value_available_contents_eq): New function. | |
2323 | * valprint.c (val_print_array_elements): Use | |
2324 | value_available_contents_eq. | |
2325 | * ada-valprint.c (val_print_packed_array_elements): Use | |
2326 | value_available_contents_eq. | |
2327 | * jv-valprint.c (java_value_print): Use | |
2328 | value_available_contents_eq. | |
2329 | ||
e6e4e701 PA |
2330 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2331 | ||
2332 | * target.c (target_read_live_memory): New function. | |
2333 | (memory_xfer_live_readonly_partial): New. | |
2334 | (memory_xfer_partial): If reading from a traceframe, fallback to | |
2335 | reading unavailable read-only memory from read-only regions of | |
2336 | live target memory. | |
2337 | * tracepoint.c (disconnect_tracing): Adjust. | |
2338 | (set_current_traceframe): New, factored out from | |
2339 | set_traceframe_number. | |
2340 | (set_traceframe_number): Reimplement to only change the traceframe | |
2341 | number on the GDB side. | |
2342 | (do_restore_current_traceframe_cleanup): Adjust. | |
2343 | (make_cleanup_restore_traceframe_number): New. | |
2344 | (cur_traceframe_number): New global. | |
2345 | (tfile_open): Set cur_traceframe_number to no traceframe. | |
2346 | (set_tfile_traceframe): New function. | |
2347 | (tfile_trace_find): If looking up a traceframe using any method | |
2348 | other than by number, make sure the current tfile traceframe | |
2349 | matches gdb's current traceframe. Update the current tfile | |
2350 | traceframe if the lookup succeeded. | |
2351 | (tfile_fetch_registers, tfile_xfer_partial) | |
2352 | (tfile_get_trace_state_variable_value): Make sure the remote | |
2353 | traceframe matches gdb's current traceframe. | |
2354 | * remote.c (remote_traceframe_number): New global. | |
2355 | (remote_open_1): Set it to -1. | |
2356 | (set_remote_traceframe): New function. | |
2357 | (remote_fetch_registers, remote_store_registers) | |
2358 | (remote_xfer_memory, remote_xfer_partial) | |
2359 | (remote_get_trace_state_variable_value): Make sure the remote | |
2360 | traceframe matches gdb's current traceframe. | |
2361 | (remote_trace_find): If looking up a traceframe using any method | |
2362 | other than by number, make sure the current remote traceframe | |
2363 | matches gdb's current traceframe. Update the current remote | |
2364 | traceframe if the lookup succeeded. | |
2365 | * infrun.c (fetch_inferior_event): Adjust. | |
2366 | * tracepoint.h (set_current_traceframe): Declare. | |
2367 | (get_traceframe_number, set_traceframe_number): Add describing | |
2368 | comments. | |
2369 | ||
e6ca34fc PA |
2370 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2371 | ||
2372 | Mark pieces of values as unavailable if the corresponding memory | |
2373 | is unavailable. | |
2374 | ||
2375 | * valops.c: Include tracepoint.h. | |
2376 | (value_fetch_lazy): Use read_value_memory. | |
2377 | (read_value_memory): New. | |
2378 | * value.h (read_value_memory): Declare. | |
2379 | * dwarf2loc.c (read_pieced_value): Use read_value_memory. | |
2380 | * exec.c (section_table_available_memory): New function. | |
2381 | * exec.h (section_table_available_memory): Declare. | |
2382 | ||
2a7498d8 PA |
2383 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2384 | ||
2385 | * Makefile.in (SFILES): Add memrange.c. | |
2386 | (HFILES_NO_SRCDIR): Add memrange.h. | |
2387 | (COMMON_OBS): Add memrange.o. | |
2388 | * memrange.c: New file. | |
2389 | * memrange.h: New file. | |
2390 | * tracepoint.c: Include memrange.h. | |
2391 | (struct mem_range): Delete. | |
2392 | (mem_range_s): Delete. | |
2393 | (traceframe_available_memory): New function. | |
2394 | * tracepoint.h (traceframe_available_memory): Declare. | |
2395 | ||
b3b9301e PA |
2396 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2397 | ||
2398 | * target.h (struct traceframe_info): Forward declare. | |
2399 | (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO. | |
2400 | (struct target_ops) <to_traceframe_info>: New field. | |
2401 | (target_traceframe_info): New. | |
2402 | * target.c (update_current_target): Inherit and default | |
2403 | to_traceframe_info. | |
2404 | * remote.c (PACKET_qXfer_traceframe_info): New. | |
2405 | (remote_protocol_features): Register qXfer:traceframe-info:read. | |
2406 | (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO. | |
2407 | (remote_traceframe_info): New. | |
2408 | (init_remote_ops): Install it. | |
2409 | (_initialize_remote): Install "set/show remote traceframe-info" | |
2410 | commands. | |
2411 | * tracepoint.h (parse_traceframe_info): Declare. | |
2412 | * tracepoint.c (struct mem_range): New. | |
2413 | (mem_range_s): New typedef. | |
2414 | (struct traceframe_info): New. | |
2415 | (traceframe_info): New global. | |
2416 | (free_traceframe_info): New function. | |
2417 | (clear_traceframe_info): New function. | |
2418 | (start_tracing, tfind_1, set_traceframe_number): Clear traceframe | |
2419 | info. | |
2420 | (build_traceframe_info): New function. | |
2421 | (tfile_traceframe_info): New function. | |
2422 | (init_tfile_ops): Install tfile_traceframe_info. | |
2423 | (traceframe_info_start_memory, free_result): New functions. | |
2424 | (memory_attributes, traceframe_info_elements): New globals. | |
2425 | (parse_traceframe_info, get_traceframe_info): New functions. | |
2426 | * features/traceframe-info.dtd: New file. | |
2427 | * Makefile.in (XMLFILES): Add traceframe-info.dtd. | |
2428 | ||
4e07d55f PA |
2429 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
2430 | ||
2431 | Base support for <unavailable> value contents. | |
2432 | ||
4e07d55f PA |
2433 | * value.h (value_bytes_available): Declare. |
2434 | (mark_value_bytes_unavailable): Declare. | |
2435 | * value.c (struct range): New struct. | |
2436 | (range_s): New typedef. | |
2437 | (ranges_overlap): New function. | |
2438 | (range_lessthan): New function. | |
2439 | (ranges_contain_p): New function. | |
2440 | (struct value) <unavailable>: New field. | |
2441 | (value_bytes_available): New function. | |
2442 | (mark_value_bytes_unavailable): New function. | |
2443 | (require_not_optimized_out): Constify parameter. | |
2444 | (require_available): New function. | |
2445 | (value_contents_all, value_contents): Require all bytes be | |
2446 | available. | |
2447 | (value_free): Free `unavailable'. | |
2448 | (value_copy): Copy `unavailable'. | |
2449 | * valprint.h (val_print_unavailable): Declare. | |
2450 | * valprint.c (valprint_check_validity): Rename `offset' parameter | |
2451 | to `embedded_offset'. If printing a scalar, check whether the | |
2452 | value chunk is available. | |
2453 | (val_print_unavailable): New. | |
2454 | (val_print_scalar_formatted): Check whether the value is | |
2455 | available. | |
2456 | * python/py-prettyprint.c (apply_val_pretty_printer): Refuse | |
2457 | pretty-printing unavailable values. | |
2458 | ||
bc9a5551 JK |
2459 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
2460 | ||
2461 | Fix const/volatile qualifiers of C++ types, PR c++/12328. | |
2462 | * c-typeprint.c (c_type_print_args): Update the function comment. New | |
2463 | variable param_type, initialize it. Remove const/volatile qualifiers | |
2464 | for language_cplus and !show_artificial. Use param_type. | |
2465 | ||
93b55aa1 JK |
2466 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
2467 | ||
2468 | * symtab.c (find_pc_sect_line): New variable objfile, initialize it | |
2469 | from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S. | |
2470 | * symtab.h (struct symtab) <next>: Comment extension. | |
2471 | ||
181d9476 YQ |
2472 | 2011-02-12 Yao Qi <yao@codesourcery.com> |
2473 | ||
2474 | * Makefile.in (CLEANDIRS): Remove duplicated common dir. | |
2475 | ||
b708a5c7 JK |
2476 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
2477 | ||
2478 | * common/Makefile.in: Add copyright header. | |
2479 | ||
c5187ac6 PA |
2480 | 2011-02-11 Pedro Alves <pedro@codesourcery.com> |
2481 | ||
2482 | * infrun.c (proceed): Move switching out and in of tfind mode from | |
2483 | here ... | |
2484 | (fetch_inferior_event): ... to here. | |
2485 | ||
4f3e6fb7 YQ |
2486 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
2487 | ||
2488 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
2489 | libcommon.a. | |
2490 | * configure.ac: Add common to sub dir. | |
2491 | * configure: Regenerate. | |
2492 | ||
b708a5c7 JK |
2493 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
2494 | ||
2495 | Build libcommon.a. | |
2496 | ||
2497 | * common/Makefile.in: New. | |
2498 | * common/configure.ac: New. | |
2499 | * common/aclocal.m4: New. | |
2500 | * common/configure: Generate. | |
2501 | ||
2287cc7e PA |
2502 | 2011-02-10 Pedro Alves <pedro@codesourcery.com> |
2503 | ||
2504 | * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right | |
2505 | side of the parenthesis. | |
2506 | ||
2507 | Merge from GCC: | |
2508 | 2010-07-13 Jakub Jelinek <jakub@redhat.com> | |
fc013618 | 2509 | * vec.h (VEC_block_remove): Fix comment. |
2287cc7e | 2510 | |
fd62cb89 MS |
2511 | 2011-02-08 Michael Snyder <msnyder@vmware.com> |
2512 | ||
2513 | * linux-nat.c (linux_nat_filter_event): Fix typo in comment. | |
2514 | ||
56d2815c JK |
2515 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
2516 | ||
2517 | * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes | |
2518 | in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd, | |
2519 | psubd and paddd. | |
2520 | ||
4f7d61a8 JK |
2521 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
2522 | ||
2523 | PR 12361. | |
2524 | * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to | |
2525 | phsubsw. | |
2526 | (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0. | |
2527 | (i386_process_record) <0x0f3807>: Fix the comment to phsubsw. | |
2528 | ||
54fcddd0 UW |
2529 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
2530 | ||
2531 | * dwarf2read.c (read_subroutine_type): Set special calling | |
2532 | convention flag for functions compiled by IBM XL C for OpenCL. | |
2533 | * ppc-sysv-tdep.c: Include "dwarf2.h" | |
2534 | (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types | |
2535 | calling convention. | |
2536 | (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement | |
2537 | IBM OpenCL vector types calling convention. | |
2538 | (ppc_sysv_abi_return_value): Pass through FUNC_TYPE. | |
2539 | (ppc_sysv_abi_broken_return_value): Likewise. | |
2540 | (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector | |
2541 | types calling convention. | |
2542 | (ppc64_sysv_abi_return_value): Likewise. | |
2543 | * spu-tdep.c: Include "dwarf2.h" | |
2544 | (spu_return_value): Implement IBM OpenCL vector types calling | |
2545 | convention. | |
2546 | ||
d6dafb7c UW |
2547 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
2548 | ||
2549 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement | |
2550 | correct ABI for AltiVec vector arguments. | |
2551 | ||
32b72a42 PA |
2552 | 2011-02-07 Pedro Alves <pedro@codesourcery.com> |
2553 | ||
2554 | * valprint.c (val_print): Extend comment. | |
2555 | * ada-valprint.c (ada_valprint): Rewrite comment deferring | |
2556 | interface explanation to val_print. | |
2557 | (ada_val_print_array): Adjust comment to current interface. | |
2558 | (print_field_values): Adjust comment to current interface. | |
2559 | * c-valprint.c (c_val_print): Rewrite comment deferring interface | |
2560 | explanation to val_print. | |
2561 | * f-valprint.c (f_val_print): Ditto. | |
2562 | * jv-valprint.c (java_val_print): Ditto. | |
2563 | * m2-valprint.c (m2_val_print): Ditto. | |
2564 | * p-valprint.c (pascal_val_print): Ditto. | |
2565 | ||
9998af43 TJB |
2566 | 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2567 | ||
2568 | * breakpoint.c (parse_breakpoint_sals): Fix description. | |
2569 | ||
505500db | 2570 | 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com> |
9998af43 | 2571 | Oguz Kayral <oguzkayral@gmail.com> |
505500db SW |
2572 | |
2573 | * python/py-inferior.c (python_on_normal_stop): New function. | |
2574 | (python_on_resume): New function. | |
2575 | (python_inferior_exit): New function. | |
2576 | (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and | |
2577 | inferior_exit observers. | |
2578 | * python/py-evtregistry.c: New file. | |
2579 | * python/py-threadevent.c : New file. | |
2580 | * python/py-event.c: New file. | |
2581 | * python/py-evts.c: New file. | |
2582 | * python/py-continueevent.c: New file. | |
2583 | * python/py-bpevent.c: New file. | |
2584 | * python/py-signalevent.c: New file. | |
2585 | * python/py-exetiedevent.c: New file. | |
2586 | * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function. | |
2587 | Move struct breakpoint_object from here... | |
2588 | * python/python-internal.h: ... to here. | |
2589 | * python/py-event.h: New file. | |
2590 | * python/py-events.h: New file. | |
2591 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o, | |
2592 | py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o, | |
2593 | py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o. | |
2594 | (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c, | |
2595 | py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c, | |
2596 | py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c. | |
2597 | Add build rules for all the above. | |
2598 | ||
9e0ac564 TT |
2599 | 2011-02-04 Tom Tromey <tromey@redhat.com> |
2600 | ||
2601 | * dwarf2read.c (dwarf2_section_empty_p): New function. | |
2602 | (dwarf2_read_section): Use dwarf2_section_empty_p. | |
2603 | (dwarf2_section_size): New function. | |
2604 | (dwarf2_get_section_info): Unconditionally read section. | |
2605 | (dwarf2_read_index): Use dwarf2_section_empty_p. | |
2606 | (partial_read_comp_unit_head): Use dwarf2_section_size. | |
2607 | (dwarf2_symbol_mark_computed): Likewise. | |
2608 | ||
eee5b35e DD |
2609 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
2610 | ||
2611 | * NEWS: Add item for "catch syscall" on mips*-linux* targets. | |
2612 | ||
385203ed DD |
2613 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
2614 | ||
2615 | * mips-linux-tdep.c: Include xml-syscall.h. | |
2616 | (mips_linux_get_syscall_number): New function. | |
2617 | (mips_linux_init_abi): Add calls to | |
2618 | mips_linux_get_syscall_number() and set_xml_syscall_file_name(). | |
2619 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
2620 | mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml | |
2621 | * syscalls/mips-n32-linux.xml: New file. | |
2622 | * syscalls/mips-n64-linux.xml: New file. | |
2623 | * syscalls/mips-o32-linux.xml: New file. | |
2624 | ||
9277c30c UW |
2625 | 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
2626 | ||
2627 | * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries. | |
2628 | Complain about inverted range entries. | |
2629 | (dwarf2_record_block_ranges): Likewise. | |
2630 | ||
a3be7890 TJB |
2631 | 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2632 | ||
2633 | Fix some typos. | |
2634 | * breakpoint.c (update_watchpoint): Fix name of the | |
2635 | update_global_location_list function. | |
2636 | (print_one_breakpoint): Fix typo. | |
2637 | (_initialize_breakpoint): Remove extra space in hbreak help | |
2638 | string. | |
2639 | * breakpoint.h (struct bp_location) <length>: Fix field | |
2640 | description. | |
2641 | ||
041274d8 PA |
2642 | 2011-02-04 Pedro Alves <pedro@codesourcery.com> |
2643 | ||
2644 | * regcache.c (registers_changed_ptid): Don't explictly always | |
2645 | clear `current_regcache'. Only clear current_thread_ptid and | |
2646 | current_thread_arch when PTID matches. Only reinit the frame | |
2647 | cache if PTID matches the current inferior_ptid. Move alloca(0) | |
2648 | call to ... | |
2649 | (registers_changed): ... here. | |
2650 | ||
c1c2ab58 UW |
2651 | 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org> |
2652 | ||
2653 | * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that | |
2654 | starts with __stack_chk_guard as stack guard symbol. | |
2655 | ||
9011945e AB |
2656 | 2011-02-03 Andrew Burgess <aburgess@broadcom.com> |
2657 | ||
2658 | * disasm.c (compare_lines): Handle the end of sequence markers | |
2659 | within the line table to better support disassembling over | |
2660 | compilation unit boundaries. | |
2661 | ||
e0634ccf UW |
2662 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
2663 | ||
2664 | * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB | |
2665 | arguments. Skip in-prologue calls to glibc __aeabi_read_tp | |
2666 | implementation even if no symbols are available. | |
2667 | (thumb_analyze_prologue): Update call to skip_prologue_function. | |
2668 | (arm_analyze_prologue): Likewise. | |
2669 | ||
0e9e9abd UW |
2670 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
2671 | ||
2672 | * arm-tdep.c: Include "observer.h". | |
2673 | (arm_prologue_this_id): Use frame PC if get_frame_func returns 0. | |
2674 | (arm_exidx_data_key): New static variable. | |
2675 | (struct arm_exidx_entry, arm_exidx_entry_s): New data types. | |
2676 | (struct arm_exidx_data): Likewise. | |
2677 | (arm_exidx_data_free): New function. | |
2678 | (arm_compare_exidx_entries): Likewise. | |
2679 | (arm_obj_section_from_vma): Likewise. | |
2680 | (arm_exidx_new_objfile): Likewise. | |
2681 | (arm_find_exidx_entry): Likewise. | |
2682 | (arm_exidx_fill_cache): Likewise. | |
2683 | (arm_exidx_unwind_sniffer): Likewise. | |
2684 | (arm_exidx_unwind): New global variable. | |
2685 | (arm_gdbarch_init): Append unwinder arm_exidx_unwind. | |
2686 | (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile | |
2687 | observer. Register arm_exidx_data_key as objfile data. | |
2688 | ||
2e9e421f UW |
2689 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
2690 | ||
2691 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break | |
2692 | due to accessing uninitialized variable. Fix indentation. | |
2693 | ||
580688f3 PA |
2694 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
2695 | ||
2696 | * c-valprint.c (c_value_print): When doing virtual base pointer | |
2697 | adjustment, create a new value with adjusted contents rather than | |
2698 | changing the contents of the value being printed (and getting it | |
2699 | wrong). | |
2700 | ||
3d2c1d41 PA |
2701 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
2702 | ||
2703 | * xml-support.c (xml_find_attribute): New. | |
2704 | (xinclude_start_include): Use it. | |
2705 | * xml-support.h (xml_find_attribute): Declare. | |
2706 | * memory-map.c (memory_map_start_memory) | |
2707 | (memory_map_start_property): Use xml_find_attribute. | |
2708 | * osdata.c (osdata_start_osdata, osdata_start_column): Use | |
2709 | xml_find_attribute. | |
2710 | * remote.c (start_thread): Use xml_find_attribute. | |
2711 | * solib-target.c (library_list_start_segment) | |
2712 | (library_list_start_section, library_list_start_library) | |
2713 | (library_list_start_list): Use xml_find_attribute. | |
2714 | * xml-tdesc.c (tdesc_start_target, tdesc_start_feature) | |
2715 | (tdesc_start_union, tdesc_start_struct, tdesc_start_flags) | |
2716 | (tdesc_start_field): Use xml_find_attribute. | |
2717 | ||
0af3e2db UW |
2718 | 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com> |
2719 | ||
2720 | * opencl-lang.c (STRINGIFY): Rename to OCL_STRING. | |
2721 | (BUILD_OCL_VTYPES): Update. | |
2722 | ||
c1039e3c JB |
2723 | 2011-02-02 Joel Brobecker <brobecker@adacore.com> |
2724 | ||
2725 | * configure.ac: Work around non-GNU sed limitation when computing | |
2726 | python version number. | |
2727 | * configure: Regenerate. | |
2728 | ||
600ea1be JK |
2729 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
2730 | ||
2731 | Fix debug printing of TYPE_INSTANCE. | |
2732 | * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New. | |
2733 | (dump_subexp_body_standard) <TYPE_INSTANCE>: New. | |
2734 | ||
56c12414 JK |
2735 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
2736 | ||
2737 | Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL, | |
2738 | OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME, | |
2739 | OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT. | |
2740 | * ada-operator.inc: Rename the file to ... | |
2741 | * ada-operator.def: ... here, wrap all the entries by macro OP. | |
2742 | * expprint.c (op_name_standard): Remove all the entries. Include | |
2743 | "std-operator.def" instead. | |
2744 | * expression.h (enum exp_opcode): Include "std-operator.def" and | |
2745 | "ada-operator.def". Move all the entries ... | |
2746 | * std-operator.def: ... here, wrap all the entries by macro OP. | |
2747 | ||
c52b559d PP |
2748 | 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com> |
2749 | ||
2750 | * breakpoint.h (remove_jit_event_breakpoints): New prototype. | |
2751 | * breakpoint.c (remove_jit_event_breakpoints): New function. | |
2752 | * jit.c (jit_descriptor_addr): Delete. | |
2753 | (registering_code): Delete. | |
2754 | (clear_int): Delete. | |
2755 | (jit_inferior_data): New variable. | |
2756 | (struct jit_inferior_data): New type. | |
2757 | (get_jit_inferior_data): New function. | |
2758 | (jit_inferior_data_cleanup): New function. | |
2759 | (jit_read_descriptor): Adjust. | |
2760 | (jit_register_code): Adjust. | |
2761 | (jit_breakpoint_re_set_internal): New function; move code here ... | |
2762 | (jit_inferior_init): ... from here. | |
2763 | (jit_breakpoint_re_set): Adjust. | |
2764 | (jit_reset_inferior_data_and_breakpoints): New function. | |
2765 | (jit_inferior_created_observer): Adjust. | |
2766 | (jit_inferior_exit_hook): Adjust. | |
2767 | (jit_executable_changed_observer): New function. | |
2768 | (jit_event_handler): Adjust. | |
2769 | (_initialize_jit): Adjust. | |
2770 | ||
e839132d MS |
2771 | 2011-01-31 Michael Snyder <msnyder@vmware.com> |
2772 | ||
2773 | * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted | |
2774 | line. | |
2775 | ||
47a80e90 TT |
2776 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
2777 | ||
2778 | PR python/12216: | |
2779 | * python/python.c (execute_gdb_command): Call | |
2780 | prevent_dont_repeat. | |
2781 | * top.c (suppress_dont_repeat): New global. | |
2782 | (dont_repeat): Use it. | |
2783 | (prevent_dont_repeat): New function. | |
2784 | * command.h (prevent_dont_repeat): Declare. | |
2785 | ||
45a43567 TT |
2786 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
2787 | ||
2788 | * infcmd.c (finish_backward): Use breakpoint_set_silent. | |
2789 | * python/py-breakpoint.c (bppy_set_silent): Use | |
2790 | breakpoint_set_silent. | |
2791 | (bppy_set_thread): Use breakpoint_set_thread. | |
2792 | (bppy_set_task): Use breakpoint_set_task. | |
2793 | * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread) | |
2794 | (breakpoint_set_task): Declare. | |
2795 | (make_breakpoint_silent): Remove. | |
2796 | * breakpoint.c (breakpoint_set_silent): New function. | |
2797 | (breakpoint_set_thread): Likewise. | |
2798 | (breakpoint_set_task): Likewise. | |
2799 | (make_breakpoint_silent): Remove. | |
2800 | ||
09d682a4 TT |
2801 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
2802 | ||
2803 | * breakpoint.h (user_breakpoint_p): Declare. | |
2804 | * breakpoint.c (user_breakpoint_p): New function. | |
2805 | (breakpoint_1): Use it. | |
2806 | (save_breakpoints): Likewise. | |
2807 | ||
9c4ea6c5 JB |
2808 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
2809 | ||
2810 | * configure.ac: Add handling of Python distribution on Windows. | |
2811 | * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED | |
2812 | sysconfig variables are not defined, then do not use them. | |
2813 | On Windows, if LIBPL is not defined, then use prefix + '/libs' | |
2814 | instead. On Windows, return all paths using forward-slashes | |
2815 | rather than backslashes. | |
2816 | ||
ac534cba JB |
2817 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
2818 | ||
2819 | * configure.ac: Remove fallback behavior for building | |
2820 | against Python. Remove tweaking of Python include path. | |
2821 | Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution. | |
2822 | (AC_TRY_LIBPYTHON): Adjust program used in linking test. | |
2823 | If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS. | |
2824 | Always restore CPPFLAGS and LIBS after linking test. | |
2825 | * configure: Regenerated. | |
2826 | * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@. | |
2827 | (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@. | |
2828 | * python/python-internal.h: Adjust includes of Python .h files. | |
2829 | ||
c2f0d045 JB |
2830 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
2831 | ||
2832 | * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup | |
2833 | in error message. | |
2834 | ||
6b0c4c1f JB |
2835 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
2836 | ||
2837 | * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode | |
2838 | value test. | |
2839 | ||
672c9795 YQ |
2840 | 2011-01-31 Yao Qi <yao@codesourcery.com> |
2841 | ||
2842 | * arm-linux-nat.c: Update calls to regcache_register_status | |
2843 | instead of regcache_valid_p. | |
2844 | * aix-thread.c: Likewise. | |
2845 | * i386gnu-nat.c: Likewise. | |
2846 | ||
80b23b6a JK |
2847 | 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
2848 | ||
2849 | Fix crash. | |
2850 | * valops.c (compare_parameters): Verify TYPE_NFIELDS before | |
2851 | touching TYPE_FIELD_ARTIFICIAL. | |
2852 | ||
4cd712bd RE |
2853 | 2011-01-28 Richard Earnshaw <rearnsha@arm.com> |
2854 | ||
2855 | * MAINTAINERS: Move myself from Responsible Maintainers to Authorized | |
2856 | Committers. | |
2857 | ||
ffd5ec24 PA |
2858 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
2859 | ||
2860 | * tracepoint.c (tfile_xfer_partial): If there's no traceframe | |
2861 | selected, don't try iterating over the traceframe's blocks. | |
2862 | (tfile_has_stack): If there's no traceframe selected, then there's | |
2863 | no stack. | |
2864 | (tfile_has_registers): If there's no traceframe selected, then | |
2865 | there's no registers. | |
2866 | ||
e8c9e0a1 PA |
2867 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
2868 | ||
2869 | * target.c (memory_xfer_partial): No need to restore shadows if we | |
2870 | haven't read anything. | |
2871 | ||
de15c4ab PA |
2872 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
2873 | ||
2874 | * mips-tdep.c (mips_print_register): Use get_frame_register_value | |
2875 | and val_print_scalar_formatted. | |
2876 | ||
9f41c731 PA |
2877 | 2011-01-27 Pedro Alves <pedro@codesourcery.com> |
2878 | ||
2879 | * tracepoint.c (tfile_read): New. | |
2880 | (tfile_open): Use it. | |
2881 | (tfile_get_traceframe_address): Use it. | |
2882 | (tfile_trace_find): Use it. | |
2883 | (walk_blocks_callback_func): New typedef. | |
2884 | (match_blocktype): New function. | |
2885 | (traceframe_walk_blocks): New function. | |
2886 | (traceframe_find_block_type): New function. | |
2887 | (tfile_fetch_registers, tfile_xfer_partial) | |
2888 | (tfile_get_trace_state_variable_value): Use | |
2889 | traceframe_find_block_type and tfile_read. | |
2890 | ||
cdefc55d KB |
2891 | 2011-01-26 Kevin Buettner <kevinb@redhat.com> |
2892 | ||
2893 | * remote-mips.c: Add internationalization mark ups. Remove | |
2894 | trailing \n from already marked up strings. | |
2895 | ||
a81766d8 TT |
2896 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
2897 | ||
2898 | * python/py-prettyprint.c (print_string_repr): Clear | |
2899 | 'addressprint' option when calling val_print_string. | |
2900 | (print_children): Handle Val_pretty_default. Clear 'addressprint' | |
2901 | option when calling val_print_string. | |
2902 | ||
74aedc46 TT |
2903 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
2904 | ||
2905 | * python/python.c (gdbpy_solib_name): Use gdb_py_longest and | |
2906 | GDB_PY_LL_ARG. | |
2907 | * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New | |
2908 | macros. | |
2909 | (gdb_py_longest, gdb_py_ulongest): New typedefs. | |
2910 | (gdb_py_long_from_longest, gdb_py_long_from_ulongest) | |
2911 | (gdb_py_long_as_ulongest): New defines. | |
2912 | (gdb_py_object_from_longest, gdb_py_object_from_ulongest) | |
2913 | (gdb_py_int_as_long): Declare. | |
2914 | * python/py-value.c (valpy_lazy_string): Use gdb_py_longest, | |
2915 | GDB_PY_LL_ARG, gdb_py_object_from_longest. | |
2916 | (valpy_long): Add comment. | |
2917 | * python/py-utils.c (get_addr_from_python): Use | |
2918 | gdb_py_long_as_ulongest. Handle overflow properly. | |
2919 | (gdb_py_object_from_longest): New function. | |
2920 | (gdb_py_object_from_ulongest): Likewise. | |
2921 | (gdb_py_int_as_long): Likewise. | |
2922 | * python/py-type.c (typy_array): Use gdb_py_int_as_long. | |
2923 | * python/py-symtab.c (salpy_get_pc): Use | |
2924 | gdb_py_long_from_ulongest. | |
2925 | (salpy_get_line): Use PyInt_FromLong. | |
2926 | * python/py-param.c (set_parameter_value): Use | |
2927 | gdb_py_int_as_long. | |
2928 | * python/py-lazy-string.c (stpy_get_address): Use | |
2929 | gdb_py_long_from_ulongest. | |
2930 | * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest. | |
2931 | * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long. | |
2932 | * python/py-breakpoint.c (bppy_set_thread): Use | |
2933 | gdb_py_int_as_long. | |
2934 | (bppy_set_task): Likewise. | |
2935 | (bppy_set_ignore_count): Likewise. | |
2936 | (bppy_set_hit_count): Likewise. | |
2937 | * python/py-block.c (blpy_get_start): Use | |
2938 | gdb_py_object_from_ulongest. | |
2939 | (blpy_get_end): Likewise. | |
2940 | (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG. | |
2941 | ||
e4f6d2ec TJB |
2942 | 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr> |
2943 | ||
2944 | PR/symtab 11766: | |
2945 | * gdb/objfiles.h (struct objfile) <addr_low>: New field. | |
2946 | * gdb/solib.c (solib_read_symbols): Check for addr_low in | |
2947 | equality test for objfile, initialize addr_low if needed. | |
2948 | ||
b30aa278 PA |
2949 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
2950 | ||
2951 | * tui/tui-regs.c (tui_register_format): Remove dead code. | |
2952 | ||
ab2188aa PA |
2953 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
2954 | ||
2955 | * printcmd.c (print_formatted): Use val_print_scalar_formatted | |
2956 | instead of print_scalar_formatted. | |
2957 | (print_scalar_formatted): Don't handle 's' format strings here, | |
2958 | and add an assertion that we never see such format here. | |
2959 | * valprint.h (val_print_scalar_formatted): Declare. | |
2960 | * valprint.c (val_print_scalar_formatted): New. | |
2961 | * c-valprint.c (c_val_print): Use val_print_scalar_formatted | |
2962 | instead of print_scalar_formatted. | |
2963 | * jv-valprint.c (java_val_print): Ditto. | |
2964 | * p-valprint.c (pascal_val_print): Ditto. | |
2965 | * ada-valprint.c (ada_val_print_1): Ditto. | |
2966 | * f-valprint.c (f_val_print): Ditto. | |
2967 | * infcmd.c (registers_info): Ditto. | |
2968 | * m2-valprint.c (m2_val_print): Ditto. | |
2969 | ||
66d61a4c PA |
2970 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
2971 | ||
2972 | * m2-valprint.c (print_unbounded_array): Pass | |
2973 | value_contents_for_printing rather than value_contents, to | |
2974 | m2_print_array_contents. Also pass in the value. | |
2975 | ||
831adc1f JK |
2976 | 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
2977 | ||
2978 | * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index) | |
2979 | (save_gdb_index_command): Switch to .gdb_index version 4. | |
2980 | ||
20622269 PA |
2981 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
2982 | ||
2983 | * mi/mi-main.c (get_register): Use get_frame_register_value rather | |
2984 | than frame_register, and always pass a valid value to val_print. | |
2985 | ||
585fdaa1 PA |
2986 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
2987 | ||
2988 | Centralize printing "<optimized out>". | |
2989 | ||
2990 | * valprint.h (val_print_optimized_out): Declare. | |
2991 | * cp-valprint.c (cp_print_value_fields): Use | |
2992 | val_print_optimized_out. | |
2993 | * jv-valprint.c (java_print_value_fields): Ditto. | |
2994 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
2995 | * printcmd.c (print_formatted): Ditto. | |
2996 | * valprint.c (valprint_check_validity): Ditto. | |
2997 | (value_check_printable): Ditto. | |
2998 | (val_print_optimized_out): New. | |
2999 | ||
29ec5263 PA |
3000 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
3001 | ||
3002 | * infcmd.c (default_print_registers_info): Allocate values so to | |
3003 | never pass a NULL value to val_print. | |
3004 | ||
de4127a3 PA |
3005 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
3006 | ||
3007 | * cp-valprint.c (cp_print_value): Treat the 'skip' local as | |
3008 | boolean. Make sure to always pass a value that matches the | |
3009 | contents buffer to callees. Preserve `address' for following | |
3010 | iterations. | |
3011 | * value.c (value_contents_for_printing_const): New. | |
3012 | (value_address): Constify value argument. | |
3013 | * value.h (value_contents_for_printing_const): Declare. | |
3014 | (value_address): Constify value argument. | |
3015 | ||
ee99023e PA |
3016 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
3017 | ||
3018 | * regcache.c (struct regcache_descr): Rename | |
3019 | sizeof_raw_register_valid_p field to sizeof_raw_register_status, | |
3020 | and sizeof_cooked_register_valid_p to | |
3021 | sizeof_cooked_register_status. | |
3022 | (init_regcache_descr): Adjust. | |
3023 | (struct regcache): Rename register_valid_p field to | |
3024 | register_status. | |
3025 | (regcache_xmalloc_1, regcache_xfree, regcache_save) | |
3026 | (do_cooked_read): Adjust. | |
3027 | (regcache_valid_p): Rename to ... | |
3028 | (regcache_register_status): ... this. Adjust. | |
3029 | (regcache_invalidate): Adjust. | |
3030 | (regcache_raw_read, regcache_cooked_read, regcache_raw_write): | |
3031 | Adjust. | |
3032 | (regcache_raw_supply): Adjust. If buf i NULL, mark the register | |
3033 | as unavailable, not valid. | |
3034 | (regcache_dump): Adjust. | |
3035 | * regcache.h (enum register_status): New. | |
3036 | (regcache_register_status): Declare. | |
3037 | (regcache_invalidate): Delete declaration. | |
3038 | * corelow.c (get_core_registers): Adjust. | |
3039 | * tracepoint.c (tfile_fetch_registers): Adjust. | |
3040 | * trad-frame.c (REG_VALUE): Rename to ... | |
3041 | (TF_REG_VALUE): ... this. | |
3042 | (REG_UNKNOWN): Rename to ... | |
3043 | (TF_REG_UNKNOWN): ... this. | |
3044 | (trad_frame_set_value, trad_frame_set_unknown): Adjust. | |
3045 | * mi/mi-main.c (register_changed_p): Adjust. | |
3046 | ||
99e42fd8 PA |
3047 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
3048 | ||
3049 | * regcache.c (struct regcache_descr): Remove outdated comment. | |
3050 | (init_regcache_descr): Remove sizeof_raw_register_valid_p | |
3051 | overallocate hack. | |
3052 | (regcache_xmalloc): Rename to ... | |
3053 | (regcache_xmalloc_1): ... this. Add `readonly_p' parameter. | |
3054 | Allocate the regcache type accordingly. | |
3055 | (regcache_xmalloc): New as wrapper around regcache_xmalloc_1. | |
3056 | (regcache_xfree): Asser the source is also readonly. Copy sizeof | |
3057 | cooked registers, not raw. | |
3058 | (regcache_dup_no_passthrough): Delete. | |
3059 | (get_thread_arch_regcache): Use regcache_xmalloc_1. | |
3060 | * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not | |
3061 | mention obsolete write_register_bytes. | |
3062 | * regcache.h (regcache_dup_no_passthrough): Delete declaration. | |
3063 | ||
f7605bc2 PA |
3064 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
3065 | ||
3066 | Stop remote_read_bytes from handling partial reads itself. | |
3067 | ||
3068 | * remote-fileio.c: Include target.h. | |
3069 | (remote_fileio_write_bytes): Delete. | |
3070 | (remote_fileio_func_open, remote_fileio_func_write) | |
3071 | (remote_fileio_func_rename, remote_fileio_func_unlink): Use | |
3072 | target_read_memory. | |
3073 | (remote_fileio_func_stat): Use target_read_memory and | |
3074 | target_write_memory. | |
3075 | (remote_fileio_func_gettimeofday): Use target_write_memory. | |
3076 | (remote_fileio_func_system): Use target_read_memory. | |
3077 | * remote.c (remote_write_bytes): Make it static. | |
3078 | (remote_read_bytes): Don't handle partial reads here. | |
3079 | * remote.h (remote_read_bytes): Delete declaration. | |
3080 | ||
efc0eabd PA |
3081 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
3082 | ||
3083 | Simplify XML parsing a bit. | |
3084 | ||
3085 | * xml-support.h (gdb_xml_parse_quick): Declare. | |
3086 | * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed | |
3087 | from gdb_xml_create_parser_and_cleanup, and added `old_chain' | |
3088 | parameter. | |
3089 | (gdb_xml_create_parser_and_cleanup): Reimplement on top of | |
3090 | gdb_xml_create_parser_and_cleanup_1. | |
3091 | (gdb_xml_parse_quick): New. | |
3092 | * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick. | |
3093 | * osdata.c (osdata_parse): Ditto. | |
3094 | * remote.c (remote_threads_info): Ditto. | |
3095 | * solib-target.c (solib_target_parse_libraries): Ditto. | |
3096 | * xml-syscall.c (syscall_parse_xml): Ditto. | |
3097 | * xml-tdesc.c (tdesc_parse_xml): Ditto. | |
3098 | ||
314d366a KB |
3099 | 2011-01-24 Kevin Buettner <kevinb@redhat.com> |
3100 | ||
3101 | * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but | |
3102 | with remote-mips.o added to gdb_target_obs. | |
3103 | * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o. | |
3104 | ||
a491d753 PA |
3105 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
3106 | ||
3107 | * ada-valprint.c (val_print_packed_array_elements): Pass the | |
3108 | correct struct value to val_print. | |
3109 | (ada_val_print_1): Ditto. | |
3110 | ||
490f124f PA |
3111 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
3112 | ||
3113 | Don't lose embedded_offset in printing routines throughout. | |
3114 | ||
3115 | * valprint.h (val_print_array_elements): Change prototype. | |
3116 | * valprint.c (val_print_array_elements): Add `embedded_offset' | |
3117 | parameter, and adjust to pass it down to val_print, while passing | |
3118 | `valaddr' or `address' unmodified. Take embedded_offset into | |
3119 | account when checking repetitions. | |
3120 | * c-valprint.c (c_val_print): Pass embedded_offset to | |
3121 | val_print_array_elements instead of adjusting `valaddr' and | |
3122 | `address'. | |
3123 | * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass | |
3124 | embedded_offset to val_print_array_elements instead of adjusting | |
3125 | `valaddr'. | |
3126 | * p-lang.h (pascal_object_print_value_fields): Adjust prototype. | |
3127 | * p-valprint.c (pascal_val_print): Pass embedded_offset to | |
3128 | val_print_array_elements and pascal_object_print_value_fields | |
3129 | instead of adjusting `valaddr'. | |
3130 | (pascal_object_print_value_fields): Add `offset' parameter, and | |
3131 | adjust to use it. | |
3132 | (pascal_object_print_value): Add `offset' parameter, and adjust to | |
3133 | use it. | |
3134 | (pascal_object_print_static_field): Use | |
3135 | value_contents_for_printing/value_embedded_offset, rather than | |
3136 | value_contents. | |
3137 | * ada-valprint.c (val_print_packed_array_elements): Add `offset' | |
3138 | parameter, and adjust to use it. Use | |
3139 | value_contents_for_printing/value_embedded_offset, rather than | |
3140 | value_contents. | |
3141 | (ada_val_print): Rename `valaddr0' parameter to `valaddr'. | |
3142 | (ada_val_print_array): Add `offset' parameter, and adjust to use | |
3143 | it. | |
3144 | (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and | |
3145 | `embedded_offset' to `offset'. Don't re-adjust `valaddr'. | |
3146 | Instead work with offsets. Use | |
3147 | value_contents_for_printing/value_embedded_offset, rather than | |
3148 | value_contents. Change `defer_val_int' local type to CORE_ADDR, | |
3149 | and use value_from_pointer to extract a target pointer, rather | |
3150 | than value_from_longest. | |
3151 | (print_variant_part): Add `offset' parameter. Replace | |
3152 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
3153 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
3154 | (ada_value_print): Use | |
3155 | value_contents_for_printing/value_embedded_offset, rather than | |
3156 | value_contents. | |
3157 | (print_record): Add `offset' parameter, and adjust to pass it | |
3158 | down. | |
3159 | (print_field_values): Add `offset' parameter. Replace | |
3160 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
3161 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
3162 | Use value_contents_for_printing/value_embedded_offset, rather than | |
3163 | value_contents. | |
3164 | * d-valprint.c (dynamic_array_type): Use | |
3165 | value_contents_for_printing/value_embedded_offset, rather than | |
3166 | value_contents. | |
3167 | * jv-valprint.c (java_print_value_fields): Add `offset' parameter. | |
3168 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
3169 | (java_print_value_fields): Take `offset' into account. Don't | |
3170 | re-adjust `valaddr'. Instead pass down adjusted offsets. | |
3171 | (java_val_print): Take `embedded_offset' into account. Pass it to | |
3172 | java_print_value_fields. | |
3173 | * f-valprint.c (f77_print_array_1): Add `embedded_offset' | |
3174 | parameter. Don't re-adjust `valaddr' or `address'. Instead pass | |
3175 | down adjusted offsets. | |
3176 | (f77_print_array): Add `embedded_offset' parameter. Pass it down. | |
3177 | (f_val_print): Take `embedded_offset' into account. | |
3178 | ||
7bfc9434 JB |
3179 | 2011-01-21 Joel Brobecker <brobecker@adacore.com> |
3180 | ||
3181 | * inflow.c: Include "gdbcmd.h". | |
3182 | (interactive_mode): New static global, moved here from top.c. | |
3183 | (show_interactive_mode): New function, moved here from top.c. | |
3184 | use gdb_has_a_terminal instead of input_from_terminal_p to | |
3185 | determine the current mode. | |
3186 | (gdb_has_a_terminal): Add handling of the "iteractive-mode" | |
3187 | setting. | |
3188 | (_initialize_inflow): Add the "set/show interactive-mode" | |
3189 | commands. Moved here from top.c, after having adjusted slightly | |
3190 | the help text. | |
3191 | * top.c (interactive_mode, show_interactive_mode): Delete, moved | |
3192 | to inflow.c. | |
3193 | (input_from_terminal_p): Remove handling of "interactive-mode" | |
3194 | setting, moved to infow.c. | |
3195 | (init_main): Remove creation of the "set/show interactive-mode" | |
3196 | commands, moved to inflow.c. | |
3197 | ||
44603653 JB |
3198 | 2011-01-19 Joel Brobecker <brobecker@adacore.com> |
3199 | ||
3200 | * NEWS: Add entry for native ia64-hpux support. | |
3201 | ||
4694da01 TT |
3202 | 2011-01-19 Tom Tromey <tromey@redhat.com> |
3203 | ||
3204 | PR mi/8618: | |
3205 | * thread.c (free_thread): Free 'name'. | |
3206 | (print_thread_info): Emit thread name. Change CLI output. | |
3207 | (thread_name_command): New function. | |
3208 | (do_captured_thread_select): Emit newline. | |
3209 | (_initialize_thread): Register 'thread name' command. | |
3210 | * target.h (struct target_ops) <to_thread_name>: New field. | |
3211 | (target_thread_name): New macro. | |
3212 | * target.c (update_current_target): Handle to_thread_name. | |
3213 | * python/py-infthread.c (thpy_get_name): New function. | |
3214 | (thpy_set_name): Likewise. | |
3215 | (thread_object_getset): Add "name". | |
3216 | * linux-nat.c (linux_nat_thread_name): New function. | |
3217 | (linux_nat_add_target): Set to_thread_name. | |
3218 | * gdbthread.h (struct thread_info) <name>: New field. | |
3219 | ||
10d44370 JB |
3220 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
3221 | ||
3222 | * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast. | |
3223 | (ada_val_print_1): Likewise. | |
3224 | ||
e3acb115 JB |
3225 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
3226 | ||
3227 | * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue | |
3228 | upper limit address is not greater than the function end address | |
3229 | when the upper limit could not be computed using the debugging | |
3230 | info. | |
3231 | ||
dc92e161 TT |
3232 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
3233 | ||
3234 | * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use | |
3235 | get_regcomp_error. | |
3236 | * utils.c: Include gdb_regex.h. | |
3237 | (do_regfree_cleanup): New function. | |
3238 | (make_regfree_cleanup): Likewise. | |
3239 | (get_regcomp_error): Likewise. | |
3240 | * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare. | |
3241 | ||
f55af66d TT |
3242 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
3243 | ||
3244 | * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call | |
3245 | re_compile_fastmap. | |
3246 | ||
a5a44b53 PM |
3247 | 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr> |
3248 | ||
3249 | * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE | |
3250 | for internal variables. | |
3251 | (last_was_structop): New static variable. | |
3252 | (COMPLETE): New token. | |
3253 | (field_exp): New rule to group all '.' suffix handling. | |
3254 | Add mark_struct_expression calls when approriate to be able | |
3255 | to correctly find fields for completion. | |
3256 | (yylex): Adapt to handle field completion and set INTVAR when | |
3257 | required. | |
3258 | ||
2c291032 YQ |
3259 | 2011-01-14 Yao Qi <yao@codesourcery.com> |
3260 | ||
3261 | * arm-tdep.c (arm_register_reggroup_p): FPS register is in | |
3262 | save_reggroup, restore_reggroup and all_reggroup. | |
3263 | ||
447b483c JB |
3264 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
3265 | ||
3266 | * ada-valprint. (ada_printchar): Use the correct type length | |
3267 | in call to ada_emit_char. | |
3268 | * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR. | |
3269 | ||
7b64a93b PM |
3270 | 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr> |
3271 | ||
3272 | * solib-som.h (hpux_major_release): Declare variable here. | |
3273 | * solib-som.c: Remove <sys/utsname.h> header. | |
3274 | (DEFAULT_HPUX_MAJOR_RELEASE): New macro. | |
3275 | (hpux_major_release): Make global, change default value to | |
3276 | DEFAULT_HPUX_MAJOR_RELEASE. | |
f2eb0bc8 | 3277 | (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE. |
7b64a93b PM |
3278 | * hppa-hpux-nat.c: Add <sys/utsname.h> include. |
3279 | Add "solib-som.h" header. | |
3280 | (set_hpux_major_release): New function. | |
3281 | (_initialize_hppa_hpux_nat): Call set_hpux_major_release. | |
3282 | ||
4e18c053 MF |
3283 | 2011-01-14 Mike Frysinger <vapier@gentoo.org> |
3284 | ||
3285 | * configure.tgt (*-*-uclinux*): Match more Linux os targets | |
3286 | ||
a9df6b22 JB |
3287 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
3288 | ||
3289 | * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing | |
3290 | new-line at end of warning message. | |
3291 | (ia64_hpux_store_register): Remove trailing new-line at end of | |
3292 | error message. | |
3293 | * ia64-hpux-tdep.c: Rephrase comment. | |
3294 | * solib-ia64-hpux.c (struct dld_info): Change type of field | |
3295 | dld_flags from "long long" to ULONGEST. | |
3296 | ||
ecb956dd PA |
3297 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
3298 | ||
3299 | * target.h (deprecated_child_ops): Delete declaration. | |
3300 | * target.c (deprecated_child_ops): Delete definition. | |
3301 | ||
76adfcae PA |
3302 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
3303 | ||
3304 | * Makefile.in (hpux-thread.o): Delete rule. | |
3305 | * configure.ac: Don't check for HPUX DCE threads support. | |
3306 | * configure, config.in: Regenerate. | |
3307 | * hppa-hpux-nat.c (child_suppress_run): Delete. | |
3308 | (hppa_hpux_child_can_run): Delete. | |
3309 | (_initialize_hppa_hpux_nat): Don't override to_can_run. | |
3310 | * hpux-thread.c: Delete. | |
3311 | ||
042e866e JB |
3312 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
3313 | ||
3314 | * hpux-thread.c (hpux_pid_to_str): Delete. | |
3315 | ||
4ffa5a33 JB |
3316 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
3317 | ||
3318 | * ada-valprint.c (ada_emit_char): Remove strange code. | |
3319 | Check that c is <= UCHAR_MAX before passing it to isascii. | |
3320 | (char_at): Do not assume that TYPE_LEN is either 1 or 2. | |
3321 | ||
de8fa76c JB |
3322 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
3323 | ||
3324 | * top.c (input_from_terminal_p): Restrict the use of interactive_mode | |
3325 | to the case where instream is stdin. | |
3326 | ||
c4de7027 JB |
3327 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
3328 | ||
3329 | * ia64-tdep.h (struct regcache): Forward declare. | |
3330 | (struct ia64_infcall_ops): New struct type. | |
3331 | (struct gdbarch_tdep): New fields "find_global_pointer_from_solib" | |
3332 | and "infcall_ops". | |
3333 | * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section): | |
3334 | Renames ia64_find_global_pointer. | |
3335 | (ia64_find_global_pointer, ia64_allocate_new_rse_frame) | |
3336 | (ia64_store_argument_in_slot, ia64_set_function_addr: New function. | |
3337 | (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops | |
3338 | methods. | |
3339 | (ia64_infcall_ops): New static global constant. | |
3340 | (ia64_gdbarch_init): Set tdep->infcall_ops. | |
3341 | * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function. | |
3342 | (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing. | |
3343 | * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h". | |
3344 | (ia64_hpux_dummy_code): New static global constant. | |
3345 | (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame) | |
3346 | (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr) | |
3347 | (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib): | |
3348 | New function. | |
3349 | (ia64_hpux_infcall_ops): New static global constant. | |
3350 | (ia64_hpux_init_abi): Install gdbarch and tdep methods needed | |
3351 | for inferior function calls to work properly on ia64-hpux. | |
3352 | ||
77ca787b JB |
3353 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
3354 | ||
3355 | * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS. | |
3356 | * ia64-tdep.h (struct frame_info): forward declaration. | |
3357 | (struct gdbarch_tdep): Add field size_of_register_frame. | |
3358 | * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame | |
3359 | to determine the size of the register frame. | |
3360 | (ia64_size_of_register_frame): New function. | |
3361 | (ia64_gdbarch_init): Set tdep->size_of_register_frame. | |
3362 | * ia64-hpux-tdep.c: Include "target.h" and "frame.h". | |
3363 | (IA64_HPUX_UREG_REASON): New macro. | |
3364 | (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame): | |
3365 | New functions. | |
3366 | (ia64_hpux_init_abi): Set tdep->size_of_register_frame. | |
3367 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function. | |
3368 | (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS | |
3369 | objects. | |
3370 | ||
92c9a463 JB |
3371 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
3372 | ||
3373 | Add support for ia64-hpux. | |
3374 | * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c, | |
3375 | ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files. | |
3376 | ||
3377 | * configure.host: Add handling for ia64-hpux hosts. Add associated | |
3378 | floatformats. | |
3379 | * configure.tgt: Add handling for ia64-hpux targets. | |
3380 | * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o. | |
3381 | (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h. | |
3382 | (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c. | |
3383 | ||
f688d93f JB |
3384 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
3385 | ||
3386 | [ttrace] Compute thread list immediately after attach. | |
3387 | * inf_ttrace_attach (inf_ttrace_create_threads_after_attach): | |
3388 | New subprogram. | |
3389 | (inf_ttrace_attach): Use it. | |
3390 | ||
1b89e62f JB |
3391 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
3392 | ||
3393 | * libunwind-frame.c (libunwind_frame_cache): Do not return NULL | |
3394 | if we could not determine the frame's function address. Instead, | |
3395 | use the frame's PC, and then continue. | |
3396 | ||
3e5e6e2a JB |
3397 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
3398 | ||
3399 | * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if | |
3400 | not already defined. | |
3401 | ||
825d6d8a JB |
3402 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
3403 | ||
3404 | * ia64-tdep.c (ia64_struct_type_p): New function. | |
3405 | (ia64_extract_return_value): Handle integral values that are | |
3406 | less than 8 bytes long. | |
3407 | (ia64_push_dummy_call): Likewise. | |
3408 | ||
7458e667 JB |
3409 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
3410 | ||
3411 | * ia64-tdep.c (floatformat_ia64_ext_little): Renames | |
3412 | floatformat_ia64_ext. | |
3413 | (floatformat_ia64_ext_big): New static const. | |
3414 | (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big. | |
3415 | ||
1b05df00 TT |
3416 | 2011-01-12 Tom Tromey <tromey@redhat.com> |
3417 | ||
3418 | * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error | |
3419 | messages. | |
3420 | * mi/mi-main.c (mi_cmd_thread_select): Fix error messages. | |
3421 | (mi_cmd_thread_list_ids): Likewise. | |
3422 | (mi_cmd_data_list_changed_registers): Likewise. | |
3423 | (mi_cmd_data_list_register_values): Likewise. | |
3424 | (mi_cmd_data_write_register_values): Likewise. | |
3425 | (mi_cmd_data_evaluate_expression): Likewise. | |
3426 | (mi_cmd_data_read_memory): Likewise. | |
3427 | (mi_cmd_data_read_memory_bytes): Likewise. | |
3428 | (mi_cmd_data_write_memory): Likewise. | |
3429 | (mi_cmd_enable_timings): Likewise. | |
3430 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages. | |
3431 | * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages. | |
3432 | (mi_cmd_var_delete): Likewise. | |
3433 | (mi_cmd_var_set_format): Likewise. | |
3434 | (mi_cmd_var_show_format): Likewise. | |
3435 | (mi_cmd_var_info_num_children): Likewise. | |
3436 | (mi_cmd_var_list_children): Likewise. | |
3437 | (mi_cmd_var_info_type): Likewise. | |
3438 | (mi_cmd_var_info_expression): Likewise. | |
3439 | (mi_cmd_var_show_attributes): Likewise. | |
3440 | (mi_cmd_var_assign): Likewise. | |
3441 | (mi_cmd_var_update): Likewise. | |
3442 | (mi_cmd_enable_pretty_printing): Likewise. | |
3443 | (mi_cmd_var_set_update_range): Likewise. | |
3444 | * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error | |
3445 | messages. | |
3446 | (mi_cmd_target_file_put): Likewise. | |
3447 | (mi_cmd_target_file_delete): Likewise. | |
3448 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error | |
3449 | messages. | |
3450 | (mi_cmd_stack_info_depth): Likewise. | |
3451 | (mi_cmd_stack_list_locals): Likewise. | |
3452 | (mi_cmd_stack_list_args): Likewise. | |
3453 | (mi_cmd_stack_select_frame): Likewise. | |
3454 | (mi_cmd_stack_select_frame): Likewise. | |
3455 | (mi_cmd_stack_info_frame): Likewise. | |
3456 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error | |
3457 | messages. | |
3458 | (mi_cmd_file_list_exec_source_files): Likewise. | |
3459 | * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages. | |
3460 | (mi_cmd_env_cd): Likewise. | |
3461 | (mi_cmd_env_path): Likewise. | |
3462 | (mi_cmd_env_dir): Likewise. | |
3463 | (mi_cmd_inferior_tty_show): Likewise. | |
3464 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages. | |
3465 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages. | |
3466 | (mi_cmd_break_watch): Likewise. | |
3467 | ||
ad422571 TJB |
3468 | 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3469 | ||
3470 | * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace. | |
3471 | (ppc_linux_insert_hw_breakpoint): Likewise. | |
3472 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
3473 | (ppc_linux_insert_watchpoint): Likewise. | |
3474 | ||
c2ff108b JK |
3475 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
3476 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
3477 | ||
3478 | PR fortran/11104 and DWARF unbound arrays detection. | |
3479 | * dwarf2read.c (read_subrange_type): Set zero length on unspecified | |
3480 | upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on | |
3481 | unspecified upper bound. | |
3482 | * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove | |
3483 | variables array_size_array, tmp_type and offset_item. New variable | |
3484 | array. Remove call to f77_get_upperbound. New variables array_type | |
3485 | and index. Call value_subscripted_rvalue for each dimenasion. Remove | |
3486 | the final call to deprecated_set_value_type. | |
3487 | ||
41e8491f JK |
3488 | 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
3489 | ||
3490 | Make value allocations more lazy. | |
3491 | * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy | |
3492 | instead of allocate_value and set_value_lazy when possible. | |
f2eb0bc8 | 3493 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy |
41e8491f JK |
3494 | instead of allocate_value and set_value_lazy. |
3495 | * findvar.c (value_of_register_lazy): Likewise. | |
3496 | (read_var_value): Remove V preallocation, call just check_typedef in | |
f2eb0bc8 | 3497 | advance. Move allocate_value to LOC_CONST, LOC_LABEL, |
41e8491f JK |
3498 | LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG, |
3499 | LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of | |
3500 | set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and | |
3501 | remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy | |
3502 | in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at | |
3503 | the end, remove set_value_lazy there. | |
3504 | * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy | |
3505 | instead of allocate_value and set_value_lazy when possible. | |
3506 | * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL. | |
3507 | * value.c (allocate_computed_value): Use allocate_value_lazy instead | |
3508 | of allocate_value and set_value_lazy. | |
3509 | (value_from_contents_and_address): Use allocate_value_lazy instead of | |
3510 | allocate_value and set_value_lazy when possible. | |
3511 | ||
b716877b AB |
3512 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
3513 | ||
3514 | * disasm.c (dump_insns): Support dumping opcodes for MI. | |
3515 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control | |
3516 | dumping of instruction opcodes. | |
3517 | ||
d5ae309f JB |
3518 | 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch) |
3519 | ||
3520 | * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' | |
3521 | appropiately. | |
3522 | ||
98871305 TT |
3523 | 2011-01-11 Tom Tromey <tromey@redhat.com> |
3524 | ||
3525 | * thread.c (do_captured_thread_select): Emit newline before | |
3526 | printing frame. | |
3527 | ||
c378eb4e MS |
3528 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
3529 | ||
3530 | * s390-tdep.c: Comment cleanup, mostly periods and spaces. | |
3531 | * score-tdep.c: Ditto. | |
3532 | * score-tdep.h: Ditto. | |
3533 | * ser-base.c: Ditto. | |
3534 | * ser-go32.c: Ditto. | |
3535 | * serial.c: Ditto. | |
3536 | * serial.h: Ditto. | |
3537 | * ser-mingw.c: Ditto. | |
3538 | * ser-pipe.c: Ditto. | |
3539 | * ser-tcp.c: Ditto. | |
3540 | * ser-unix.c: Ditto. | |
3541 | * sh64-tdep.c: Ditto. | |
3542 | * shnbsd-nat.c: Ditto. | |
3543 | * sh-tdep.c: Ditto. | |
3544 | * sh-tdep.h: Ditto. | |
3545 | * solib.c: Ditto. | |
3546 | * solib-darwin.c: Ditto. | |
3547 | * solib-frv.c: Ditto. | |
3548 | * solib.h: Ditto. | |
3549 | * solib-irix.c: Ditto. | |
3550 | * solib-osf.c: Ditto. | |
3551 | * solib-pa64.c: Ditto. | |
3552 | * solib-som.c: Ditto. | |
3553 | * solib-spu.c: Ditto. | |
3554 | * solib-sunos.c: Ditto. | |
3555 | * solib-svr4.c: Ditto. | |
3556 | * solist.h: Ditto. | |
3557 | * sol-thread.c: Ditto. | |
3558 | * somread.c: Ditto. | |
3559 | * source.c: Ditto. | |
3560 | * source.h: Ditto. | |
3561 | * sparc64-linux-tdep.c: Ditto. | |
3562 | * sparc64-tdep.c: Ditto. | |
3563 | * sparc-linux-nat.c: Ditto. | |
3564 | * sparc-linux-tdep.c: Ditto. | |
3565 | * sparc-sol2-nat.c: Ditto. | |
3566 | * sparc-sol2-tdep.c: Ditto. | |
3567 | * sparc-tdep.c: Ditto. | |
3568 | * sparc-tdep.h: Ditto. | |
3569 | * spu-tdep.c: Ditto. | |
3570 | * stabsread.c: Ditto. | |
3571 | * stabsread.h: Ditto. | |
3572 | * stack.c: Ditto. | |
3573 | * symfile.c: Ditto. | |
3574 | * symfile.h: Ditto. | |
3575 | * symmisc.c: Ditto. | |
3576 | * symtab.c: Ditto. | |
3577 | * symtab.h: Ditto. | |
3578 | * target.c: Ditto. | |
3579 | * target-descriptions.c: Ditto. | |
3580 | * target-descriptions.h: Ditto. | |
3581 | * target.h: Ditto. | |
3582 | * target-memory.c: Ditto. | |
3583 | * terminal.h: Ditto. | |
3584 | * thread.c: Ditto. | |
3585 | * top.c: Ditto. | |
3586 | * tracepoint.c: Ditto. | |
3587 | * tracepoint.h: Ditto. | |
3588 | * trad-frame.h: Ditto. | |
3589 | * typeprint.c: Ditto. | |
3590 | ||
581e13c1 MS |
3591 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
3592 | ||
3593 | * ui-file.c: Comment cleanup, mostly periods and spaces. | |
3594 | * ui-file.h: Ditto. | |
3595 | * ui-out.c: Ditto. | |
3596 | * ui-out.h: Ditto. | |
3597 | * utils.c: Ditto. | |
3598 | * v850-tdep.c: Ditto. | |
3599 | * valarith.c: Ditto. | |
3600 | * valops.c: Ditto. | |
3601 | * valprint.c: Ditto. | |
3602 | * valprint.h: Ditto. | |
3603 | * value.c: Ditto. | |
3604 | * value.h: Ditto. | |
3605 | * varobj.c: Ditto. | |
3606 | * varobj.h: Ditto. | |
3607 | * vax-tdep.c: Ditto. | |
3608 | * vec.c: Ditto. | |
3609 | * vec.h: Ditto. | |
3610 | * version.h: Ditto. | |
3611 | * windows-nat.c: Ditto. | |
3612 | * windows-tdep.c: Ditto. | |
3613 | * xcoffread.c: Ditto. | |
3614 | * xcoffsolib.c: Ditto. | |
3615 | * xml-support.c: Ditto. | |
3616 | * xstormy16-tdep.c: Ditto. | |
3617 | * xtensa-tdep.c: Ditto. | |
3618 | * xtensa-tdep.h: Ditto. | |
3619 | ||
90e4670f TJB |
3620 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3621 | ||
3622 | * breakpoint.c (resources_needed_watchpoint): Fix indentation. | |
3623 | * gdbtypes.c (is_scalar_type_recursive): Fix formatting. | |
3624 | ||
e09342b5 TJB |
3625 | 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> |
3626 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
3627 | ||
3628 | Implement support for PowerPC BookE ranged watchpoints. | |
f2eb0bc8 | 3629 | * breakpoint.h |
e09342b5 TJB |
3630 | (struct breakpoint_ops) <resources_needed>: New method. |
3631 | Initialize to NULL in all existing breakpoint_ops instances. | |
3632 | (struct breakpoint) <exact>: New field. | |
3633 | (target_exact_watchpoints): Declare external global. | |
3634 | * breakpoint.c (target_exact_watchpoints): New global flag. | |
3635 | (update_watchpoint): Set b->type to bp_hardware_watchpoint and | |
3636 | b->enable_state to bp_enabled before calling | |
3637 | hw_watchpoint_used_count. | |
3638 | (hw_watchpoint_used_count): Iterate over all bp_locations in a | |
3639 | watchpoint. Call breakpoint's breakpoint_ops.resources_needed | |
3640 | if available. | |
3641 | (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte | |
3642 | if the watchpoint is exact. | |
3643 | (resources_needed_watchpoint): New function. | |
3644 | (watchpoint_breakpoint_ops): Add resources_needed_watchpoint. | |
3645 | (watch_command_1): Set b->exact if the user asked for an exact | |
3646 | watchpoint and one can be set. | |
3647 | (can_use_hardware_watchpoint): Add exact_watchpoints argument. | |
3648 | Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if | |
3649 | the user asks for an exact watchpoint and one can be set. Return | |
3650 | number of needed debug registers to watch the expression. | |
3651 | * gdbtypes.c (is_scalar_type): New function, based on | |
3652 | valprint.c:scalar_type_p. | |
3653 | (is_scalar_type_recursive): New function. | |
3654 | * gdbtypes.h (is_scalar_type_recursive): Declare. | |
3655 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always | |
3656 | handle regions when ranged watchpoints are available. | |
3657 | (create_watchpoint_request): New function. | |
3658 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
3659 | create_watchpoint_request. | |
3660 | * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function. | |
3661 | (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the | |
3662 | `set powerpc' and `show powerpc' commands. | |
3663 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
3664 | Mention documentation comment in the target macro. | |
3665 | (target_region_ok_for_hw_watchpoint): Document return value. | |
3666 | ||
9fa40276 TJB |
3667 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3668 | ||
3669 | * breakpoint.c (update_watchpoint): Decide on using a software or | |
3670 | hardware watchpoint after the bp_locations are created. | |
3671 | ||
77b06cd7 TJB |
3672 | 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
3673 | ||
3674 | Convert hardware watchpoints to use breakpoint_ops. | |
3675 | * breakpoint.h (breakpoint_ops) <insert>: Rename to... | |
3676 | <insert_location>: ... this. Return int instead of void. | |
3677 | Accept pointer to struct bp_location instead of pointer to | |
3678 | struct breakpoint. Adapt all implementations. | |
f2eb0bc8 | 3679 | (breakpoint_ops) <remove>: Rename to... |
77b06cd7 TJB |
3680 | <remove_location>: ... this. Accept pointer to struct bp_location |
3681 | instead of pointer to struct breakpoint. Adapt all implementations. | |
3682 | * breakpoint.c (insert_catchpoint): Delete function. | |
3683 | (insert_bp_location): Call the watchpoint or catchpoint's | |
3684 | breakpoint_ops.insert method. | |
3685 | (remove_breakpoint_1): Call the watchpoint or catchpoint's | |
3686 | breakpoint_ops.remove method. | |
3687 | (insert_watchpoint, remove_watchpoint): New functions. | |
3688 | (watchpoint_breakpoint_ops): New structure. | |
3689 | (watch_command_1): Initialize the OPS field. | |
3690 | * inf-child.c (inf_child_insert_fork_catchpoint) | |
3691 | (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint) | |
3692 | (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint) | |
3693 | (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint): | |
3694 | Delete functions. | |
3695 | (inf_child_target): Remove initialization of to_insert_fork_catchpoint, | |
3696 | to_remove_fork_catchpoint, to_insert_vfork_catchpoint, | |
3697 | to_remove_vfork_catchpoint, to_insert_exec_catchpoint, | |
3698 | to_remove_exec_catchpoint and to_set_syscall_catchpoint. | |
3699 | * target.c (update_current_target): Change default implementation of | |
3700 | to_insert_fork_catchpoint, to_remove_fork_catchpoint, | |
3701 | to_insert_vfork_catchpoint, to_remove_vfork_catchpoint, | |
3702 | to_insert_exec_catchpoint, to_remove_exec_catchpoint and | |
3703 | to_set_syscall_catchpoint to return_one. | |
3704 | (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint) | |
3705 | (debug_to_insert_exec_catchpoint): Report return value. | |
3706 | * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint) | |
3707 | (to_insert_exec_catchpoint): Change declaration to return int instead | |
3708 | of void. | |
3709 | ||
9b20d036 MS |
3710 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
3711 | ||
3712 | * arm-tdep.c: Internationalization. | |
3713 | * c-lang.c: Ditto. | |
3714 | * charset.c: Ditto. | |
3715 | * fork-child.c: Ditto. | |
3716 | * nto-procfs.c: Ditto. | |
3717 | * ppc-sysv-tdep.c: Ditto. | |
3718 | * procfs.c: Ditto. | |
3719 | * remote-mips.c: Ditto. | |
3720 | * remote.c: Ditto. | |
3721 | * rs6000-nat.c: Ditto. | |
3722 | * rs6000-tdep.c: Ditto. | |
3723 | * target.c: Ditto. | |
3724 | * valops.c: Ditto. | |
3725 | * value.c: Ditto. | |
3726 | * xml-support.c: Ditto. | |
3727 | * mi/mi-cmd-break.c: Ditto. | |
3728 | * mi/mi-cmd-var.c: Ditto. | |
3729 | * mi/mi-interp.c: Ditto. | |
3730 | * mi/mi-main.c: Ditto. | |
3731 | ||
dae477fe AB |
3732 | 2011-01-11 Andrew Burgess <aburgess@broadcom.com> |
3733 | ||
3734 | * remote-sim.c (gdbsim_store_register): Update API to | |
3735 | sim_store_register to check more error conditions. | |
3736 | ||
0df8b418 MS |
3737 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
3738 | ||
3739 | * nto-procfs.c: Comment cleanup, mostly periods and spaces. | |
3740 | * nto-tdep.c: Ditto. | |
3741 | * nto-tdep.h: Ditto. | |
3742 | * objc-exp.y: Ditto. | |
3743 | * objc-lang.c: Ditto. | |
3744 | * objfiles.c: Ditto. | |
3745 | * objfiles.h: Ditto. | |
3746 | * observer.c: Ditto. | |
3747 | * opencl-lang.c: Ditto. | |
3748 | * osabi.c: Ditto. | |
3749 | * parse.c: Ditto. | |
3750 | * parser-defs.h: Ditto. | |
3751 | * p-exp.y: Ditto. | |
3752 | * p-lang.c: Ditto. | |
3753 | * posix-hdep.c: Ditto. | |
3754 | * ppcbug-rom.c: Ditto. | |
3755 | * ppc-linux-nat.c: Ditto. | |
3756 | * ppc-linux-tdep.c: Ditto. | |
3757 | * ppc-linux-tdep.h: Ditto. | |
3758 | * ppcnbsd-tdep.c: Ditto. | |
3759 | * ppcobsd-tdep.c: Ditto. | |
3760 | * ppcobsd-tdep.h: Ditto. | |
3761 | * ppc-sysv-tdep.c: Ditto. | |
3762 | * ppc-tdep.h: Ditto. | |
3763 | * printcmd.c: Ditto. | |
3764 | * proc-abi.c: Ditto. | |
3765 | * proc-flags.c: Ditto. | |
3766 | * procfs.c: Ditto. | |
3767 | * proc-utils.h: Ditto. | |
3768 | * progspace.h: Ditto. | |
3769 | * prologue-value.c: Ditto. | |
3770 | * prologue-value.h: Ditto. | |
3771 | * psympriv.h: Ditto. | |
3772 | * psymtab.c: Ditto. | |
3773 | * p-typeprint.c: Ditto. | |
3774 | * p-valprint.c: Ditto. | |
3775 | * ravenscar-sparc-thread.c: Ditto. | |
3776 | * ravenscar-thread.c: Ditto. | |
3777 | * ravenscar-thread.h: Ditto. | |
3778 | * record.c: Ditto. | |
3779 | * regcache.c: Ditto. | |
3780 | * regcache.h: Ditto. | |
3781 | * remote.c: Ditto. | |
3782 | * remote-fileio.c: Ditto. | |
3783 | * remote-fileio.h: Ditto. | |
3784 | * remote.h: Ditto. | |
3785 | * remote-m32r-sdi.c: Ditto. | |
3786 | * remote-mips.c: Ditto. | |
3787 | * remote-sim.c: Ditto. | |
3788 | * rs6000-aix-tdep.c: Ditto. | |
3789 | * rs6000-nat.c: Ditto. | |
3790 | * rs6000-tdep.c: Ditto. | |
3791 | ||
0d7a18f7 MS |
3792 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
3793 | ||
3794 | * charset.c (validate): Internationalization. | |
3795 | * coffread.c (read_one_sym): Ditto. | |
3796 | * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto. | |
3797 | * h8300-tdep.c (H8300_extract_return_value): Ditto. | |
3798 | * inflow.c (new_tty): Ditto. | |
3799 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto. | |
3800 | * m32c-tdep.c (m32c_return_value): Ditto. | |
3801 | * mep-tdep.c (mep_store_return_value): Ditto. | |
3802 | * score-tdep.c (score7_fetch_insn): Ditto. | |
3803 | * ser-mingw.c (pipe_windows_open): Ditto. | |
3804 | * sh64-tdep.c (sh64_extract_return_value): Ditto. | |
3805 | * spu-tdep.c (spu_register_type): Ditto. | |
3806 | * tracepoint.c (trace_find_command): Ditto. | |
3807 | * valarith.c (value_pos): Ditto. | |
3808 | ||
9a153e0b JB |
3809 | 2011-01-10 Joel Brobecker <brobecker@adacore.com> |
3810 | ||
3811 | * ada-valprint.c (printstr): Minor comment reformatting. | |
3812 | ||
35ecd2d6 MS |
3813 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
3814 | ||
3815 | * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _ | |
3816 | markup. | |
3817 | ||
1777feb0 MS |
3818 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
3819 | ||
3820 | * h8300-tdep.c: Comment cleanup, mostly periods and spaces. | |
3821 | * hppa-hpux-tdep.c: Ditto. | |
3822 | * hppa-linux-nat.c: Ditto. | |
3823 | * hppa-linux-tdep.c: Ditto. | |
3824 | * hppanbsd-tdep.c: Ditto. | |
3825 | * hppa-tdep.c: Ditto. | |
3826 | * hppa-tdep.h: Ditto. | |
3827 | * hpux-thread.c: Ditto. | |
3828 | * i386-cygwin-tdep.c: Ditto. | |
3829 | * i386-darwin-nat.c: Ditto. | |
3830 | * i386gnu-nat.c: Ditto. | |
3831 | * i386-linux-nat.c: Ditto. | |
3832 | * i386-linux-tdep.c: Ditto. | |
3833 | * i386-nat.c: Ditto. | |
3834 | * i386-nat.h: Ditto. | |
3835 | * i386nbsd-tdep.c: Ditto. | |
3836 | * i386-sol2-nat.c: Ditto. | |
3837 | * i386-stub.c: Ditto. | |
3838 | * i386-tdep.c: Ditto. | |
3839 | * i386-tdep.h: Ditto. | |
3840 | * i387-tdep.c: Ditto. | |
3841 | * ia64-linux-nat.c: Ditto. | |
3842 | * ia64-linux-tdep.c: Ditto. | |
3843 | * ia64-tdep.c: Ditto. | |
3844 | * infcall.c: Ditto. | |
3845 | * infcall.h: Ditto. | |
3846 | * infcmd.c: Ditto. | |
3847 | * inferior.c: Ditto. | |
3848 | * inferior.h: Ditto. | |
3849 | * infloop.c: Ditto. | |
3850 | * inflow.c: Ditto. | |
3851 | * infrun.c: Ditto. | |
3852 | * interps.c: Ditto. | |
3853 | * interps.h: Ditto. | |
3854 | * iq2000-tdep.c: Ditto. | |
3855 | * irix5-nat.c: Ditto. | |
3856 | * jit.c: Ditto. | |
3857 | * jit.h: Ditto. | |
3858 | * jv-exp.y: Ditto. | |
3859 | * jv-lang.c: Ditto. | |
3860 | * jv-lang.h: Ditto. | |
3861 | * jv-typeprint.c: Ditto. | |
3862 | * jv-valprint.c: Ditto. | |
3863 | * language.c: Ditto. | |
3864 | * language.h: Ditto. | |
3865 | * linespec.c: Ditto. | |
3866 | * linux-fork.c: Ditto. | |
3867 | * linux-nat.c: Ditto. | |
3868 | * linux-thread-db.c: Ditto. | |
3869 | * lm32-tdep.c: Ditto. | |
3870 | ||
025bb325 MS |
3871 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
3872 | ||
3873 | * m2-exp.y: Comment cleanup, mostly periods and spaces. | |
3874 | * m2-lang.c: Ditto. | |
3875 | * m2-typeprint.c: Ditto. | |
3876 | * m2-valprint.c: Ditto. | |
3877 | * m32c-tdep.c: Ditto. | |
3878 | * m32r-linux-nat.c: Ditto. | |
3879 | * m32r-rom.c: Ditto. | |
3880 | * m32r-tdep.c: Ditto. | |
3881 | * m32r-tdep.h: Ditto. | |
3882 | * m68hc11-tdep.c: Ditto. | |
3883 | * m58klinux-nat.c: Ditto. | |
3884 | * m68k-tdep.c: Ditto. | |
3885 | * m88k-tdep.c: Ditto. | |
3886 | * m88k-tdep.h: Ditto. | |
3887 | * machoread.c: Ditto. | |
3888 | * macrocmd.c: Ditto. | |
3889 | * macroexp.c: Ditto. | |
3890 | * macrotab.c: Ditto. | |
3891 | * main.c: Ditto. | |
3892 | * maint.c: Ditto. | |
3893 | * mdebugread.c: Ditto. | |
3894 | * mdebugread.h: Ditto. | |
3895 | * memattr.c: Ditto. | |
3896 | * memattr.h: Ditto. | |
3897 | * memory-map.h: Ditto. | |
3898 | * mep-tdep.c: Ditto. | |
3899 | * microblaze-rom.c: Ditto. | |
3900 | * microblaze-tdep.c: Ditto. | |
3901 | * minsyms.c: Ditto. | |
3902 | * mips-irix-tdep.c: Ditto. | |
3903 | * mips-linux-nat.c: Ditto. | |
3904 | * mips-linux-tdep.c: Ditto. | |
3905 | * mips-linux-tdep.h: Ditto. | |
3906 | * mipsnbsd-nat.c: Ditto. | |
3907 | * mipsnbsd-tdep.c: Ditto. | |
3908 | * mipsread.c: Ditto. | |
3909 | * mips-tdep.c: Ditto. | |
3910 | * mips-tdep.h: Ditto. | |
3911 | * mn10300-linux-tdep.c: Ditto. | |
3912 | * mn10300-tdep.c: Ditto. | |
3913 | * mn10300-tdep.h: Ditto. | |
3914 | * monitor.c: Ditto. | |
3915 | * monitor.h: Ditto. | |
3916 | * moxie-tdep.c: Ditto. | |
3917 | * moxie-tdep.h: Ditto. | |
3918 | * mt-tdep.c: Ditto. | |
3919 | ||
1642781b MF |
3920 | 2011-01-08 Mike Frysinger <vapier@gentoo.org> |
3921 | ||
3922 | * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name. | |
3923 | ||
394b0adb JB |
3924 | 2011-01-08 Robert Millan <rmh@gnu.org> |
3925 | ||
3926 | * fbsd-nat.c (fbsd_find_memory_regions): Fix typo. | |
3927 | ||
b670013c MS |
3928 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
3929 | ||
3930 | * charset.c (_initialize_charset): Fix typo in string. | |
3931 | ||
a743e542 MS |
3932 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
3933 | ||
3934 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message | |
3935 | for i18n. | |
f2eb0bc8 | 3936 | * tui/tui-layout.c (tui_set_layout_for_display_command): |
a743e542 MS |
3937 | Split line so that operator goes to beginning of line. |
3938 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Move | |
3939 | assignment out of if statement. | |
3940 | ||
0963b4bd MS |
3941 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
3942 | ||
3943 | * ada-lang.c: Comment cleanup, mostly periods and spaces. | |
3944 | * ada-lang.h: Ditto. | |
3945 | * ada-tasks.c: Ditto. | |
3946 | * ada-valprint.c: Ditto. | |
3947 | * aix-threads.c: Ditto. | |
3948 | * alpha-linux-nat.c: Ditto. | |
3949 | * alpha-linux-tdep.c: Ditto. | |
3950 | * alpha-mdebug-tdep.c: Ditto. | |
3951 | * alpha-nat.c: Ditto. | |
3952 | * alpha-osf1-tdep.c: Ditto. | |
3953 | * alpha-tdep.c: Ditto. | |
3954 | * alphabsd-nat.c: Ditto. | |
3955 | * alphabsd-tdep.c: Ditto. | |
3956 | * amd64-darwin-tdep.c: Ditto. | |
3957 | * amd64-linux-nat.c: Ditto. | |
3958 | * amd64-linux-tdep.c: Ditto. | |
3959 | * amd64-sol2-tdep.c: Ditto. | |
3960 | * amd64-tdep.c: Ditto. | |
3961 | * amd64-fbsd-tdep.c: Ditto. | |
3962 | * amd64-nbsd-tdep.c: Ditto. | |
3963 | * amd64-obsd-tdep.c: Ditto. | |
3964 | * amd64-linux-nat.c: Ditto. | |
3965 | * amd64-linux-tdep.c: Ditto. | |
3966 | * arm-tdep.c: Ditto. | |
3967 | * arm-tdep.h: Ditto. | |
3968 | * armnbsd-nat.c: Ditto. | |
3969 | * avr-tdep.c: Ditto. | |
3970 | * bfin-tdep.c: Ditto. | |
3971 | * bsd-kvm.c: Ditto. | |
3972 | * c-typeprintc: Ditto. | |
3973 | * c-valprint.c: Ditto. | |
3974 | * coff-pe-read.h: Ditto. | |
3975 | * coffreead.c: Ditto. | |
3976 | * cris-tdep.c: Ditto. | |
3977 | * d-lang.c: Ditto. | |
3978 | * darwin-nat-info.c: Ditto. | |
3979 | * darwin-nat.c: Ditto. | |
3980 | * dbug-rom.c: Ditto. | |
3981 | * dbxread.c: Ditto. | |
3982 | * dcache.c: Ditto. | |
3983 | * dcache.h: Ditto. | |
3984 | * dec-thread.c: Ditto. | |
3985 | * defs.h: Ditto. | |
3986 | * demangle.c: Ditto. | |
3987 | * dicos-tdep.c: Ditto. | |
3988 | * dictionary.c: Ditto. | |
3989 | * dictionary.h: Ditto. | |
3990 | * dink32-rom.c: Ditto. | |
3991 | * disasm.c: Ditto. | |
3992 | * doublest.c: Ditto. | |
3993 | * dsrec.c: Ditto. | |
3994 | * dummy-frame.c: Ditto. | |
3995 | * dwarf2-frame.c: Ditto. | |
3996 | * dwarf2expr.c: Ditto. | |
3997 | * dwarf2loc.c: Ditto. | |
3998 | * dwarf2read.c: Ditto. | |
3999 | * elfread.c: Ditto. | |
4000 | * environ.c: Ditto. | |
4001 | * eval.c: Ditto. | |
4002 | * event-top.h: Ditto. | |
4003 | * exceptions.c: Ditto. | |
4004 | * exceptions.h: Ditto. | |
4005 | * exec.c: Ditto. | |
4006 | * expprint.c: Ditto. | |
4007 | * expression.h: Ditto. | |
4008 | * f-exp.y: Ditto. | |
4009 | * f-lang.c: Ditto. | |
4010 | * f-lang.h: Ditto. | |
4011 | * f-typeprint.c: Ditto. | |
4012 | * f-valprint.c: Ditto. | |
4013 | * fbsd-nat.c: Ditto. | |
4014 | * findvar.c: Ditto. | |
4015 | * fork-child.c: Ditto. | |
4016 | * frame.c: Ditto. | |
4017 | * frame.h: Ditto. | |
4018 | * frv-linux-tdep.c: Ditto. | |
4019 | * frv-tdep.c: Ditto. | |
4020 | * gcore.c: Ditto. | |
4021 | * gdb-stabs.h: Ditto. | |
4022 | * gdb_assert.h: Ditto. | |
4023 | * gdb_string.h: Ditto. | |
4024 | * gdb_thread_db.h: Ditto. | |
4025 | * gdb_wait.h: Ditto. | |
4026 | * gdbarch.sh: Ditto. | |
4027 | * gdbcore.h: Ditto. | |
4028 | * gdbthread.h: Ditto. | |
4029 | * gdbtypes.c: Ditto. | |
4030 | * gdbtypes.h: Ditto. | |
4031 | * gnu-nat.c: Ditto. | |
4032 | * gnu-nat.h: Ditto. | |
4033 | * gnu-v2-abi.c: Ditto. | |
4034 | * gnu-v3-abi.c: Ditto. | |
4035 | * go32-nat.c: Ditto. | |
4036 | * gdbarch.c: Regenerate. | |
4037 | * gdbarch.h: Regenerate. | |
4038 | ||
ac74f770 MS |
4039 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
4040 | ||
4041 | * ax-gdb.c: Adjust some long output strings. | |
4042 | * breakpoint.c: Ditto. | |
4043 | * charset.c: Ditto. | |
4044 | * cp-abi.c: Ditto. | |
4045 | * infcall.c: Ditto. | |
4046 | * infrun.c: Ditto. | |
4047 | * linux-nat.c: Ditto. | |
4048 | * solib-pa64.c: Ditto. | |
4049 | * solib-som.c: Ditto. | |
4050 | ||
d8e22779 TT |
4051 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
4052 | ||
4053 | PR python/12367: | |
4054 | * NEWS: Add item. | |
4055 | * python/python.c (GdbMethods): Add "newest_frame" method. | |
4056 | * python/python-internal.h (gdbpy_newest_frame): Declare. | |
4057 | * python/py-frame.c (gdbpy_newest_frame): New function. | |
4058 | ||
a255712f PP |
4059 | 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com> |
4060 | ||
4061 | * jit.h (struct jit_code_entry): use ULONGEST for symfile_size. | |
4062 | * jit.c (jit_debug): New variable. | |
4063 | (show_jit_debug): New function. | |
4064 | (struct target_buffer): Use ULONGEST. | |
4065 | (bfd_open_from_target_memory): Likewise. | |
4066 | (jit_register_code, jit_inferior_init): Add debug output. | |
4067 | (_initialize_jit): Register "debug jit" command. | |
4068 | ||
ccfc3d6e TT |
4069 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
4070 | ||
4071 | * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment. | |
4072 | * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME | |
4073 | and ARCH_FRAME. | |
4074 | ||
57126e4a TT |
4075 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
4076 | ||
4077 | * python/py-frame.c (frapy_block): Use get_frame_block. | |
4078 | ||
16dfc9ce JB |
4079 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
4080 | ||
4081 | Do not stop on SIGPRIO signals by default | |
4082 | * infrun.c (_initialize_infrun): Unset signal_stop and | |
4083 | signal_print for TARGET_SIGNAL_PRIO. | |
4084 | ||
b1ce2347 JB |
4085 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
4086 | ||
4087 | * ada-tasks.c: Fix style violation in comment. | |
4088 | ||
8f7e195f JB |
4089 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
4090 | ||
4091 | * linespec.c (decode_compound, find_method): Remove trailing \n | |
4092 | at end of error string. | |
4093 | * solib-irix.c (irix_current_sos): Likewise. | |
4094 | * varobj.c (uninstall_variable): Likewise. | |
4095 | ||
e9bdf92c JB |
4096 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
4097 | ||
4098 | * copyright.py: New script. | |
4099 | * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. | |
4100 | Launch emacs without exec'ing. Call copyright.py afterwards. | |
4101 | ||
3e43a32a MS |
4102 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
4103 | ||
4104 | * addrmap.c: Shorten lines of >= 80 columns. | |
4105 | * arch-utils.c: Ditto. | |
4106 | * arch-utils.h: Ditto. | |
4107 | * ax-gdb.c: Ditto. | |
4108 | * ax-general.c: Ditto. | |
4109 | * bcache.c: Ditto. | |
4110 | * blockframe.c: Ditto. | |
4111 | * breakpoint.c: Ditto. | |
4112 | * buildsym.c: Ditto. | |
4113 | * c-lang.c: Ditto. | |
4114 | * c-typeprint.c: Ditto. | |
4115 | * charset.c: Ditto. | |
4116 | * coffread.c: Ditto. | |
4117 | * command.h: Ditto. | |
4118 | * corelow.c: Ditto. | |
4119 | * cp-abi.c: Ditto. | |
4120 | * cp-namespace.c: Ditto. | |
4121 | * cp-support.c: Ditto. | |
4122 | * dbug-rom.c: Ditto. | |
4123 | * dbxread.c: Ditto. | |
4124 | * defs.h: Ditto. | |
4125 | * dfp.c: Ditto. | |
4126 | * dfp.h: Ditto. | |
4127 | * dictionary.c: Ditto. | |
4128 | * disasm.c: Ditto. | |
4129 | * doublest.c: Ditto. | |
4130 | * dwarf2-frame.c: Ditto. | |
4131 | * dwarf2expr.c: Ditto. | |
4132 | * dwarf2loc.c: Ditto. | |
4133 | * dwarf2read.c: Ditto. | |
4134 | * elfread.c: Ditto. | |
4135 | * eval.c: Ditto. | |
4136 | * event-loop.c: Ditto. | |
4137 | * event-loop.h: Ditto. | |
4138 | * exceptions.h: Ditto. | |
4139 | * exec.c: Ditto. | |
4140 | * expprint.c: Ditto. | |
4141 | * expression.h: Ditto. | |
4142 | * f-lang.c: Ditto. | |
4143 | * f-valprint.c: Ditto. | |
4144 | * findcmd.c: Ditto. | |
4145 | * frame-base.c: Ditto. | |
4146 | * frame-unwind.c: Ditto. | |
4147 | * frame-unwind.h: Ditto. | |
4148 | * frame.c: Ditto. | |
4149 | * frame.h: Ditto. | |
4150 | * gcore.c: Ditto. | |
4151 | * gdb-stabs.h: Ditto. | |
4152 | * gdb_assert.h: Ditto. | |
4153 | * gdb_dirent.h: Ditto. | |
4154 | * gdb_obstack.h: Ditto. | |
4155 | * gdbcore.h: Ditto. | |
4156 | * gdbtypes.c: Ditto. | |
4157 | * gdbtypes.h: Ditto. | |
4158 | * inf-ttrace.c: Ditto. | |
4159 | * infcall.c: Ditto. | |
4160 | * infcmd.c: Ditto. | |
4161 | * inflow.c: Ditto. | |
4162 | * infrun.c: Ditto. | |
4163 | * inline-frame.h: Ditto. | |
4164 | * language.c: Ditto. | |
4165 | * language.h: Ditto. | |
4166 | * libunwind-frame.c: Ditto. | |
4167 | * libunwind-frame.h: Ditto. | |
4168 | * linespec.c: Ditto. | |
4169 | * linux-nat.c: Ditto. | |
4170 | * linux-nat.h: Ditto. | |
4171 | * linux-thread-db.c: Ditto. | |
4172 | * machoread.c: Ditto. | |
4173 | * macroexp.c: Ditto. | |
4174 | * macrotab.c: Ditto. | |
4175 | * main.c: Ditto. | |
4176 | * maint.c: Ditto. | |
4177 | * mdebugread.c: Ditto. | |
4178 | * memattr.c: Ditto. | |
4179 | * minsyms.c: Ditto. | |
4180 | * monitor.c: Ditto. | |
4181 | * monitor.h: Ditto. | |
4182 | * objfiles.c: Ditto. | |
4183 | * objfiles.h: Ditto. | |
4184 | * osabi.c: Ditto. | |
4185 | * p-typeprint.c: Ditto. | |
4186 | * p-valprint.c: Ditto. | |
4187 | * parse.c: Ditto. | |
4188 | * printcmd.c: Ditto. | |
4189 | * proc-events.c: Ditto. | |
4190 | * procfs.c: Ditto. | |
4191 | * progspace.c: Ditto. | |
4192 | * progspace.h: Ditto. | |
4193 | * psympriv.h: Ditto. | |
4194 | * psymtab.c: Ditto. | |
4195 | * record.c: Ditto. | |
4196 | * regcache.c: Ditto. | |
4197 | * regcache.h: Ditto. | |
4198 | * remote-fileio.c: Ditto. | |
4199 | * remote.c: Ditto. | |
4200 | * ser-mingw.c: Ditto. | |
4201 | * ser-tcp.c: Ditto. | |
4202 | * ser-unix.c: Ditto. | |
4203 | * serial.c: Ditto. | |
4204 | * serial.h: Ditto. | |
4205 | * solib-frv.c: Ditto. | |
4206 | * solib-irix.c: Ditto. | |
4207 | * solib-osf.c: Ditto. | |
4208 | * solib-pa64.c: Ditto. | |
4209 | * solib-som.c: Ditto. | |
4210 | * solib-sunos.c: Ditto. | |
4211 | * solib-svr4.c: Ditto. | |
4212 | * solib-target.c: Ditto. | |
4213 | * solib.c: Ditto. | |
4214 | * somread.c: Ditto. | |
4215 | * source.c: Ditto. | |
4216 | * stabsread.c: Ditto. | |
4217 | * stabsread.c: Ditto. | |
4218 | * stack.c: Ditto. | |
4219 | * stack.h: Ditto. | |
4220 | * symfile-mem.c: Ditto. | |
4221 | * symfile.c: Ditto. | |
4222 | * symfile.h: Ditto. | |
4223 | * symmisc.c: Ditto. | |
4224 | * symtab.c: Ditto. | |
4225 | * symtab.h: Ditto. | |
4226 | * target-descriptions.c: Ditto. | |
4227 | * target-memory.c: Ditto. | |
4228 | * target.c: Ditto. | |
4229 | * target.h: Ditto. | |
4230 | * terminal.h: Ditto. | |
4231 | * thread.c: Ditto. | |
4232 | * top.c: Ditto. | |
4233 | * tracepoint.c: Ditto. | |
4234 | * tracepoint.h: Ditto. | |
4235 | * ui-file.c: Ditto. | |
4236 | * ui-file.h: Ditto. | |
4237 | * ui-out.h: Ditto. | |
4238 | * user-regs.c: Ditto. | |
4239 | * user-regs.h: Ditto. | |
4240 | * utils.c: Ditto. | |
4241 | * valarith.c: Ditto. | |
4242 | * valops.c: Ditto. | |
4243 | * valprint.c: Ditto. | |
4244 | * valprint.h: Ditto. | |
4245 | * value.c: Ditto. | |
4246 | * varobj.c: Ditto. | |
4247 | * varobj.h: Ditto. | |
4248 | * vec.h: Ditto. | |
4249 | * xcoffread.c: Ditto. | |
4250 | * xcoffsolib.c: Ditto. | |
4251 | * xcoffsolib.h: Ditto. | |
4252 | * xml-syscall.c: Ditto. | |
4253 | * xml-tdesc.c: Ditto. | |
4254 | ||
9a2b4c1b MS |
4255 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
4256 | ||
4257 | * cli/cli-cmds.c: Shorten lines of >= 80 columns. | |
4258 | * cli/cli-decode.c: Ditto. | |
4259 | * cli/cli-dump.c: Ditto. | |
4260 | * cli/cli-logging.c: Ditto. | |
4261 | * cli/cli-script.c: Ditto. | |
4262 | * cli/cli-setshow.c: Ditto. | |
4263 | * common/signals.c: Ditto. | |
4264 | * mi/mi-cmd-break.c: Ditto. | |
4265 | * mi/mi-cmd-disas.c: Ditto. | |
4266 | * mi/mi-cmd-stack.c: Ditto. | |
4267 | * mi/mi-cmd-var.c: Ditto. | |
4268 | * mi/mi-cmds.c: Ditto. | |
4269 | * mi/mi-common.h: Ditto. | |
4270 | * mi/mi-console.c: Ditto. | |
4271 | * mi/mi-interp.c: Ditto. | |
4272 | * mi/mi-main.c: Ditto. | |
4273 | * osf-share/cma_attr.c: Ditto. | |
4274 | * osf-share/cma_deb_core.h: Ditto. | |
4275 | * osf-share/cma_debug_client.h: Ditto. | |
4276 | * osf-share/cma_handle.h: Ditto. | |
4277 | * osf-share/cma_mutex.h: Ditto. | |
4278 | * osf-share/cma_stack_int.h: Ditto. | |
4279 | * osf-share/cma_tcb_defs.h: Ditto. | |
4280 | * python/py-auto-load.c: Ditto. | |
4281 | * python/py-breakpoint.c: Ditto. | |
4282 | * python/py-cmd.c: Ditto. | |
4283 | * python/py-frame.c: Ditto. | |
4284 | * python/py-objfile.c: Ditto. | |
4285 | * python/py-param.c: Ditto. | |
4286 | * python/py-progspace.c: Ditto. | |
4287 | * python/py-symbol.c: Ditto. | |
4288 | * python/py-value.c: Ditto. | |
4289 | * python/python-internal.h: Ditto. | |
4290 | * python/python.c: Ditto. | |
4291 | * tui/tui-data.c: Ditto. | |
4292 | * tui/tui-disasm.c: Ditto. | |
4293 | * tui/tui-hooks.c: Ditto. | |
4294 | * tui/tui-io.c: Ditto. | |
4295 | * tui/tui-layout.c: Ditto. | |
4296 | * tui/tui-regs.c: Ditto. | |
4297 | * tui/tui-source.c: Ditto. | |
4298 | * tui/tui-stack.c: Ditto. | |
4299 | * tui/tui-win.c: Ditto. | |
4300 | * tui/tui-windata.c: Ditto. | |
4301 | * tui/tui-winsource.c: Ditto. | |
4302 | ||
44944448 JB |
4303 | 2011-01-05 Joel Brobecker <brobecker@adacore.com> |
4304 | ||
4305 | * configure.ac, gdb.1: Copyright year update. | |
4306 | ||
ebedcab5 JK |
4307 | 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
4308 | ||
4309 | * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables | |
4310 | this_pc_in_block, morestack_msym and morestack_name. Check for | |
4311 | "__morestack" minimal symbol there. | |
4312 | ||
e5cc9f32 JB |
4313 | 2011-01-03 Joel Brobecker <brobecker@adacore.com> |
4314 | ||
4315 | * symfile.c (find_sym_fns): Add call to dont_repeat. | |
4316 | ||
7b6bb8da JB |
4317 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
4318 | ||
4319 | Copyright year update in most files (performed by copyright.sh). | |
4320 | ||
71ce852c JB |
4321 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
4322 | ||
4323 | * top.c (print_gdb_version): Update copyright year in version output. | |
0e2de366 | 4324 | |
c3c1ebe8 | 4325 | For older changes see ChangeLog-2010. |
c906108c SS |
4326 | \f |
4327 | Local Variables: | |
4328 | mode: change-log | |
4329 | left-margin: 8 | |
4330 | fill-column: 74 | |
4331 | version-control: never | |
57da7796 | 4332 | coding: utf-8 |
c906108c | 4333 | End: |