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