]>
Commit | Line | Data |
---|---|---|
913460fc PK |
1 | 2011-10-25 Paul Koning <[email protected]> |
2 | ||
3 | PR python/13327 | |
4 | ||
5 | * python/py-value.c (value_to_value_object): Remove fetching of | |
6 | the value if it was lazy. | |
7 | (valpy_get_is_lazy): New function. | |
8 | (valpy_fetch_lazy): New function. | |
9 | ||
2b5b9d09 JB |
10 | 2011-10-24 Joel Brobecker <[email protected]> |
11 | ||
12 | * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Do not check | |
13 | FUNC_TYPE's calling convention if FUNC_TYPE is not a function. | |
14 | ||
e21ffe51 PA |
15 | 2011-10-24 Pedro Alves <[email protected]> |
16 | ||
17 | * linux-nat.c (linux_handle_extended_wait): When handling a clone | |
18 | event, in non-stop, if not stopping, make sure the new lwp has | |
19 | last_resume_kind set to resume_continue. Assert that when we're | |
20 | resuming the new lwp, its last_resume_kind is resume_continue. | |
21 | ||
7aee8dc2 PA |
22 | 2011-10-24 Pedro Alves <[email protected]> |
23 | ||
24 | * infrun.c (handle_inferior_event): Don't assume inferior_ptid is | |
25 | already set when marking the event thread as not executing in | |
26 | non-stop mode. | |
27 | ||
4b4e080e PA |
28 | 2011-10-24 Pedro Alves <[email protected]> |
29 | ||
30 | * infrun.c (handle_inferior_event): Add debug output for | |
31 | TARGET_WAITKIND_NO_HISTORY. | |
32 | ||
baacfb07 PM |
33 | 2011-10-24 Phil Muldoon <[email protected]> |
34 | ||
35 | * NEWS: Move set/show extended-prompt to "New Options". Expand | |
36 | description. Fix typos. | |
37 | ||
8432bc41 PM |
38 | 2011-10-24 Phil Muldoon <[email protected]> |
39 | ||
40 | PR python/13310 | |
41 | ||
42 | * python/py-param.c (call_doc_function): Correctly deference on | |
43 | function exit. | |
44 | ||
6cda5a20 JB |
45 | 2011-10-21 Joel Brobecker <[email protected]> |
46 | ||
47 | * ada-tasks.c (print_ada_task_info): Fix computation of | |
48 | number of tasks displayed in command output. | |
49 | ||
13294f7d JK |
50 | 2011-10-20 Jan Kratochvil <[email protected]> |
51 | Ulrich Weigand <[email protected]> | |
52 | ||
53 | * dwarf2-frame-tailcall.c: Include dwarf2-frame.h. | |
54 | (dwarf2_tailcall_prev_register_first): Use dwarf2_frame_cfa. | |
55 | (dwarf2_tailcall_sniffer_first): Remove variable pc_regnum. Replace | |
56 | gdbarch_pc_regnum and frame_unwind_register_unsigned by | |
57 | gdbarch_unwind_pc. | |
58 | ||
460c1c54 CC |
59 | 2011-10-20 Cary Coutant <[email protected]> |
60 | ||
61 | * dwarf2read.c (dw2_get_file_names): Move adjustment for type | |
62 | section to... | |
63 | (partial_read_comp_unit_head): ...here. Add is_debug_type_section | |
64 | flag. Adjust all callers. | |
65 | (process_psymtab_comp_unit): Remove adjustment for type section. | |
66 | ||
a10964d1 AR |
67 | 2011-10-20 Aleksandar Ristovski <[email protected]> |
68 | ||
69 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Changed function | |
70 | arguments by adding OBJFILE. Instead of getting objfile from | |
71 | symbol's symtab, use new argument OBJFILE. | |
72 | * cp-support.h (cp_scan_for_anonymous_namespaces): Changed function | |
73 | arguments by adding OBJFILE. | |
74 | * gdb/dwarf2read.c (new_symbol_full): Change call to | |
75 | cp_scan_for_anonymous_namespaces to match new signature. | |
76 | * gdb/stabsread.c (define_symbol): Change call to | |
77 | cp_scan_for_anonymous_namespaces to match new signature. | |
78 | ||
27ca1a5b PM |
79 | 2011-10-20 Phil Muldoon <[email protected]> |
80 | ||
81 | PR python/13308 | |
82 | PR python/13309 | |
83 | ||
84 | * python/py-breakpoint.c (gdbpy_breakpoints): Fix List reference | |
85 | leak. | |
86 | * python/py-inferior.c (gdbpy_inferiors): Fix List reference | |
87 | leak. Delete unused variables. | |
88 | ||
9df2fbc4 PM |
89 | 2011-10-20 Phil Muldoon <[email protected]> |
90 | ||
91 | PR python/12656 | |
92 | ||
93 | * python/py-frame.c (frapy_read_var): Use const struct *block. | |
94 | * python/py-type.c (typy_lookup_typename): Likewise. | |
95 | (typy_lookup_type): Likewise. | |
96 | (typy_legacy_template_argument): Likewise. | |
97 | (typy_template_argument): Likewise. | |
98 | (gdbpy_lookup_type): Likewise. | |
99 | * python/py-symbol.c (gdbpy_lookup_symbol): Likewise. | |
100 | * python/py-block.c (blpy_block_object): Likewise. | |
101 | (blpy_iter): Likewise. | |
102 | (blpy_get_start): Likewise. | |
103 | (blpy_get_end): Likewise. | |
104 | (blpy_get_function): Likewise. | |
105 | (blpy_get_superblock): Likewise. | |
106 | (set_block): Likewise. | |
107 | (block_to_block_object): Likewise. | |
108 | (block_object_to_block): Likewise. | |
109 | (blpy_is_valid): Likewise. | |
110 | (blpy_get_global_block): New function. | |
111 | (blpy_get_static_block): New function. | |
112 | (blpy_is_global): New function. | |
113 | (blpy_is_static): New function. | |
114 | * blockframe.c (block_innermost_frame): Likewise. | |
115 | * valops.c (value_of_variable): Likewise. | |
116 | * frame.h: Update prototypes. | |
117 | * python/python-internal.h: Likewise. | |
118 | * value.h: Likewise. | |
119 | ||
4743b735 CC |
120 | 2011-10-19 Cary Coutant <[email protected]> |
121 | ||
122 | * dwarf2read.c (create_debug_types_hash_table): Fix size of | |
123 | type_offset field. | |
124 | ||
6caca83c CC |
125 | 2011-10-19 Cary Coutant <[email protected]> |
126 | ||
127 | * dwarf2read.c (peek_abbrev_code): New function. | |
128 | (dw2_get_file_names): Check for dummy compilation units. | |
129 | (create_debug_types_hash_table): Likewise. | |
130 | (process_psymtab_comp_unit): Likewise. | |
131 | (load_partial_comp_unit): Likewise. | |
132 | (load_full_comp_unit): Likewise. | |
133 | ||
43136979 AR |
134 | 2011-10-18 Aleksandar Ristovski <[email protected]> |
135 | ||
136 | * solib-svr4.c (read_program_header): New variables pt_phdr, pt_phdr_p, | |
137 | initialize them from target PT_PHDR p_vaddr, relocate sect_addr by | |
138 | pt_phdr if PT_PHDR was found. | |
139 | ||
0a07729b TT |
140 | 2011-10-17 Joost van der Sluis <[email protected]> |
141 | ||
142 | * gdbtypes.h: Added TYPE_SAFE_NAME macro to get the name of a | |
143 | type or "<unnamed type"> when there is no name assigned. | |
144 | * gnu-v3-abi.c (gnuv3_rtti_type): Use TYPE_SAFE_NAME macro to | |
145 | avoid a sigint when no name is assigned. | |
146 | ||
21ae7a4d JK |
147 | 2011-10-17 Jan Kratochvil <[email protected]> |
148 | ||
149 | Revert: | |
150 | 2011-07-27 Jan Kratochvil <[email protected]> | |
151 | * dwarf2expr.c (ctx_no_read_reg): New function. | |
152 | * dwarf2expr.h (ctx_no_read_reg): New declaration. | |
153 | * dwarf2read.c (read_2_signed_bytes, read_4_signed_bytes): Remove. | |
154 | (decode_locdesc_read_mem, decode_locdesc_ctx_funcs): New. | |
155 | (decode_locdesc): Replace by a caller of dwarf_expr_eval. | |
156 | ||
32d1c362 DE |
157 | 2011-10-16 Doug Evans <[email protected]> |
158 | ||
159 | * NEWS: Document python gdb.printing.register_pretty_printer's new | |
160 | `replace' parameter. | |
161 | ||
da096638 KS |
162 | 2011-10-14 Keith Seitz <[email protected]> |
163 | ||
164 | PR c++/13225 | |
165 | * eval.c (evaluate_subexp_standard): Do not construct | |
166 | an array of types; pass the value array directly to | |
167 | find_overload_match. | |
168 | * gdbtypes.h (NULL_POINTER_CONVERSION_BADNESS): Declare. | |
169 | (rank_function): Take an array of values instead of types. | |
170 | (rank_one_type): Add struct value * parameter. | |
171 | * gdbtypes.c (NULL_POINTER_CONVERSION_BADNESS): Define. | |
172 | (rank_function): For each argument, pass the argument's | |
173 | value to rank_one_type. | |
174 | (rank_one_type): Add VALUE parameter. | |
175 | If the parameter type is a pointer and the argument type | |
176 | is an integer, return NULL_POINTER_CONVERSION_BADNESS if | |
177 | VALUE is zero. | |
178 | Update all calls to rank_one_type, passing NULL for new | |
179 | VALUE parameter. | |
180 | * valarith.c (value_user_defined_cpp_op): Do not construct | |
181 | an array of types; pass the value array directly to | |
182 | find_overload_match. | |
183 | * valops.c (find_overload_method_list): Take an array of | |
184 | values instead of types. | |
185 | Save the type of OBJP for later use. | |
186 | Update calls to find_oload_champ, and find_oload_champ_namespace. | |
187 | (find_oload_champ_namespace): Take an array of values instead | |
188 | of types. | |
189 | (find_oload_champ_namespace_loop): Likewise. | |
190 | (find_oload_champ): Likewise. | |
191 | (classify_oload_match): Inspect all arguments | |
192 | until INCOMPATIBLE is found. Return the worst badness found | |
193 | otherwise. | |
194 | (compare_parameters): Update call to rank_one_type. | |
195 | * value.h (find_overload_match): Take an array of values instead | |
196 | of types. | |
197 | ||
3957565a JK |
198 | 2011-10-14 Jan Kratochvil <[email protected]> |
199 | ||
200 | Drop lazy lm_info reading. | |
201 | * solib-svr4.c (struct lm_info): Remove field lm. New fields l_addr_p, | |
202 | l_addr_inferior, l_ld, l_next, l_prev and l_name. | |
203 | (lm_info_read): New function. | |
204 | (lm_addr_from_link_map, lm_dynamic_from_link_map): Remove. | |
205 | (lm_addr_check): Use l_addr_p. No longer use lm_addr_from_link_map and | |
206 | lm_dynamic_from_link_map. | |
207 | (lm_next, lm_prev, lm_name): Remove. | |
208 | (svr4_keep_data_in_core): Use lm_info_read, drop the lm_info entries | |
209 | initialization incl. read_memory. No longer use lm_name. | |
210 | (svr4_free_so): Drop lm_info->lm freeing. | |
211 | (svr4_default_sos): Initialize lminfo with zeroes. Use l_addr_p. Drop | |
212 | explicit lm_addr and lm initialization. | |
213 | (svr4_read_so_list): Use lm_info_read, drop the initailization of | |
214 | fields by hand, incl. read_memory. No longer use lm_next, lm_prev and | |
215 | lm_name. | |
216 | ||
cb08cc53 JK |
217 | 2011-10-14 Jan Kratochvil <[email protected]> |
218 | Paul Pluzhnikov <[email protected]> | |
219 | ||
220 | * defs.h (struct so_list): New forward declaration. | |
221 | (make_cleanup_free_so): New declaration. | |
222 | * solib-svr4.c (ignore_first_link_map_entry): Remove. | |
223 | (svr4_free_so): Move the function here from downwards. Handle NULL | |
224 | so->lm_info. | |
225 | (svr4_free_library_list): New. | |
226 | (svr4_read_so_list): New, moved here code from svr4_current_sos. | |
227 | Use more cleanups. Use new parameter ignore_first instead of | |
228 | ignore_first_link_map_entry. | |
229 | (svr4_current_sos): New variable ignore_first, initialize it. New | |
230 | variable back_to, use it for svr4_free_library_list protection. | |
231 | (svr4_free_so): Remove - move upwards. | |
232 | * utils.c: Include solist.h. | |
233 | (do_free_so, make_cleanup_free_so): New functions. | |
234 | ||
22c05d8a JK |
235 | 2011-10-13 Jan Kratochvil <[email protected]> |
236 | ||
237 | Fix internal error regression. | |
238 | * value.c (value_primitive_field): Handle value_optimized_out. Move | |
239 | packed bitfields comment. | |
240 | ||
d930d06e TT |
241 | 2011-10-13 Tom Tromey <[email protected]> |
242 | ||
243 | * python/py-breakpoint.c (gdbpy_breakpoint_deleted): Ensure GIL is | |
244 | always released. | |
245 | ||
2ff6b080 TT |
246 | 2011-10-13 Tom Tromey <[email protected]> |
247 | ||
248 | * python/py-type.c (typy_has_key): Make 'field' const. | |
249 | ||
d6c5869f LM |
250 | 2011-10-13 Luis Machado <[email protected]> |
251 | ||
252 | * remote.c (remote_save_trace_data): Invert comparison. | |
253 | ||
a70633a2 LM |
254 | 2011-10-13 Luis Machado <[email protected]> |
255 | ||
256 | * tracepoint.c (trace_save_command): Use filename instead of | |
257 | args when printing. | |
258 | ||
e103e986 JK |
259 | 2011-10-13 Jan Kratochvil <[email protected]> |
260 | ||
261 | * dwarf2read.c (dwarf2_fetch_die_location_block): Initialize .data even | |
262 | if .size is 0. | |
263 | ||
db24da6d YQ |
264 | 2011-10-13 Yao Qi <[email protected]> |
265 | ||
266 | PR gdb/12703 | |
267 | * arm-tdep.c (thumb_analyze_prologue): Call thumb_insn_size to check | |
268 | whether insn is a 32-bit Thumb-2 instruction. | |
269 | (thumb_in_function_epilogue_p): Likewise. | |
270 | (thumb_get_next_pc_raw): Likewise. | |
271 | (arm_breakpoint_from_pc): Likewise. | |
272 | ||
1d6edc3c JK |
273 | 2011-10-12 Jan Kratochvil <[email protected]> |
274 | ||
275 | Fix empty DWARF expressions DATA vs. SIZE conditionals. | |
276 | * dwarf2loc.c (dwarf2_find_location_expression): Clear *LOCEXPR_LENGTH. | |
277 | (dwarf_expr_frame_base_1): Indicate unavailability via zero *LENGTH. | |
278 | (locexpr_tracepoint_var_ref): Check only zero SIZE, not zero DATA. | |
279 | (loclist_read_variable, loclist_tracepoint_var_ref): Do not check for | |
280 | zero DATA. | |
281 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Comment DATA vs. SIZE | |
282 | validity. | |
283 | * dwarf2read.c (struct dwarf_block): Comment DATA validity. | |
284 | (dwarf2_fetch_die_location_block, dwarf2_symbol_mark_computed): Do not | |
285 | clear DATA on zero SIZE. | |
286 | ||
adabb602 DE |
287 | 2011-10-12 Doug Evans <[email protected]> |
288 | ||
289 | * dwarf2read.c (partial_read_comp_unit_head): Set header->offset, | |
290 | header->first_die_offset here. All callers updated. | |
291 | ||
5048e516 JK |
292 | 2011-10-12 Jan Kratochvil <[email protected]> |
293 | ||
294 | Fix compatibility with texinfo versions older than 4.12. | |
295 | * Makefile.in (MAKEINFO): Set to @MAKEINFO@. | |
296 | (MAKEINFOFLAGS, MAKEINFO_EXTRA_FLAGS, MAKEINFO_CMD): New. | |
297 | (MAKEHTMLFLAGS): Use MAKEINFO_CMD. | |
298 | (FLAGS_TO_PASS): Add MAKEINFOFLAGS and MAKEINFO_EXTRA_FLAGS. | |
299 | * configure: Regenerate. | |
300 | * configure.ac (MAKEINFO): Find it, from libiberty/configure.ac. | |
301 | (MAKEINFOFLAGS): Pre-set it to --split-size=5000000. | |
302 | (MAKEINFO_EXTRA_FLAGS): New test for -DHAVE_MAKEINFO_CLICK. | |
303 | ||
0574c78f GB |
304 | 2011-10-12 Gary Benson <[email protected]> |
305 | ||
306 | * breakpoint.h (pc_at_non_inline_function): Declare. | |
307 | * breakpoint.c (is_non_inline_function, | |
308 | pc_at_non_inline_function): New functions. | |
309 | * infrun.c (handle_inferior_event): Don't call skip_inline_frames | |
310 | if the stop is at a location where functions cannot be inlined. | |
311 | ||
12d9289a PA |
312 | 2011-10-12 Pedro Alves <[email protected]> |
313 | ||
314 | * linux-nat.c (stop_and_resume_callback): Don't re-resume LWPs if | |
315 | the core wanted them stopped, or if they now have a pending event | |
316 | to report. | |
ecf8e7f5 PA |
317 | (linux_nat_filter_event): New parameter `new_pending_p'. Pass it |
318 | down to stop_and_resume_callback. | |
319 | (linux_nat_wait_1): Always clear `options' when retrying. Handle | |
320 | having new pending events after calling linux_nat_filter_event. | |
12d9289a | 321 | |
96408a79 SA |
322 | 2011-10-11 Sterling Augustine <[email protected]> |
323 | ||
324 | * dwarf2read.c: Undo inadvertent changes in previous commit. | |
325 | ||
9c6c53f7 SA |
326 | 2011-10-11 Sterling Augustine <[email protected]> |
327 | ||
328 | * dwarf2read.c (partial_die_parent_scope): Rearrange conditional | |
329 | logic. | |
330 | ||
0e8aefe7 UW |
331 | 2011-10-11 Ulrich Weigand <[email protected]> |
332 | ||
333 | * symfile.c (separate_debug_file_exists): Fix condition. | |
334 | ||
349d1385 DM |
335 | 2011-10-11 David S. Miller <[email protected]> |
336 | ||
337 | * regcache.c (regcache_restore): Do not write unavailable regs, mark | |
338 | static. | |
339 | * regcache.h (regcache_restore): Remove declaration. | |
340 | ||
205c306f DM |
341 | * gdbarch.sh: New field 'long_long_align_bit'. |
342 | * gdbarch.c, gdbarch.h: Regenerate. | |
343 | * i386-tdep.c (i386_gdbarch_init): Set long_long_align_bit to 32. | |
344 | * jit.c (jit_read_code_entry): Use it to determine correct size offset. | |
345 | ||
941b2081 JK |
346 | 2011-10-11 Jan Kratochvil <[email protected]> |
347 | ||
348 | Revert this part of: | |
349 | 2011-10-09 Jan Kratochvil <[email protected]> | |
350 | Support @entry in input expressions. | |
351 | * c-exp.y (ENTRY, unknown_cpp_name): New. | |
352 | (exp: UNKNOWN_CPP_NAME): Change to `exp: unknown_cpp_name'. | |
353 | (unknown_cpp_name: UNKNOWN_CPP_NAME, unknown_cpp_name: ENTRY) | |
354 | (variable: name_not_typename '@' ENTRY, name: ENTRY) | |
355 | (name_not_typename: ENTRY): New. | |
356 | (yylex): Recognize ENTRY. | |
357 | ||
358 | Reimplement @entry in input expressions. | |
359 | * c-exp.y (ENTRY): New. | |
360 | (variable: name_not_typename ENTRY): New. | |
361 | (lex_one_token): Optionally return ENTRY instead of the '@' lex. | |
362 | ||
3c4d7e12 PA |
363 | 2011-10-11 Pedro Alves <[email protected]> |
364 | ||
365 | * linux-nat.c (linux_handle_extended_wait): Always dump both the | |
366 | parent and child's pids as soon as we detect a clone event. | |
367 | Adjust another debug message. | |
368 | ||
ea23808b PA |
369 | 2011-10-11 Pedro Alves <[email protected]> |
370 | ||
371 | * linux-nat.c (linux_lwp_is_zombie): Return early if the LWP is | |
372 | not zombie instead of reading the whole file. | |
373 | ||
904578ed JK |
374 | 2011-10-11 Jan Kratochvil <[email protected]> |
375 | ||
376 | Fix separate debuginfo warning with "remote:" access. | |
377 | * objfiles.h (struct objfile): New fields crc32 and crc32_p. | |
378 | * symfile.c (get_file_crc): New function with the code moved from ... | |
379 | (separate_debug_file_exists): ... this function, specifically variables | |
380 | buffer and count. New variable verified_as_different, set it. Remove | |
381 | file_crc initialization. Verify also if both files are not the same | |
382 | manually, if needed. | |
383 | ||
51370a33 YQ |
384 | 2011-10-11 Yao Qi <[email protected]> |
385 | ||
386 | * arm-tdep.c (arm_get_next_pc_raw): Use read_memory_unsigned_integer | |
387 | to get address. | |
388 | ||
0838fb57 DE |
389 | 2011-10-10 Doug Evans <[email protected]> |
390 | ||
391 | * linux-thread-db.c (thread_db_new_objfile): Only try to load | |
392 | libthread_db when we load libpthread or the main symbol file. | |
393 | (thread_db_inferior_created): New function. | |
394 | (_initialize_thread_db): Attach inferior_created observer. | |
395 | * linux-nat.c (linux_child_post_attach): Remove call to | |
396 | check_for_thread_db. | |
397 | (linux_child_post_startup_inferior): Ditto. | |
398 | * objfiles.h (OBJF_MAINLINE): Define. | |
399 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Pass it to | |
400 | allocate_objfile when appropriate. | |
401 | ||
623bd5b7 UW |
402 | 2011-10-10 Ulrich Weigand <[email protected]> |
403 | ||
404 | PR gdb/13218 | |
405 | * arm-linux-nat.c (os_version, os_major, os_minor, os_release): | |
406 | Remove unused variables. | |
407 | (get_linux_version): Remove function. | |
408 | (_initialize_arm_linux_nat): Do not call it. | |
409 | ||
79395f92 PA |
410 | 2011-10-10 Pedro Alves <[email protected]> |
411 | ||
412 | * linux-nat.c (linux_handle_extended_wait): Don't resume the new | |
413 | new clone lwp if the core asked it to stop. Don't pass on | |
414 | unexpected signals to the new clone; leave them pending instead. | |
415 | ||
eff3df78 PA |
416 | 2011-10-10 Pedro Alves <[email protected]> |
417 | ||
418 | * linux-nat.c (resume_lwp): Remove redundant debug output. | |
419 | ||
4b60df3d PA |
420 | 2011-10-10 Pedro Alves <[email protected]> |
421 | ||
422 | * linux-nat.c (linux_nat_wait_1): Copy the event lwp's | |
423 | last_resume_kind before clearing it, and use the copy instead to | |
424 | determine whether to report a SIGSTOP as TARGET_SIGNAL_0. Use | |
425 | resume_clear_callback in the non-stop path too. | |
426 | ||
6501578c YQ |
427 | 2011-10-09 Yao Qi <[email protected]> |
428 | ||
429 | * valprint.c (value_check_printable): Add one parameter OPTIONS. | |
430 | Honor OPTIONS and VAL's type. | |
431 | (common_val_print, value_print): Update to pass one more parameter. | |
432 | ||
5a56e9c5 DE |
433 | 2011-10-09 Doug Evans <[email protected]> |
434 | ||
435 | Add new "alias" command. | |
436 | * NEWS: Mention new command. | |
437 | * command.h (valid_user_defined_cmd_name_p): Declare. | |
438 | * defs.h (make_cleanup_dyn_string_delete): Declare. | |
439 | * utils.c: #include "dyn-string.h". | |
440 | (do_dyn_string_delete, make_cleanup_dyn_string_delete): New functions. | |
441 | * cli/cli-cmds.c: #include "dyn-string.h". | |
442 | (argv_to_dyn_string, valid_command_p, alias_command): New functions. | |
443 | (init_cli_cmds): Add new command. | |
444 | * cli/cli-decode.c (valid_user_defined_cmd_name_p): New function. | |
445 | ||
509f0fd9 JK |
446 | 2011-10-09 Jan Kratochvil <[email protected]> |
447 | ||
448 | Fix compatibility with older GCCs. | |
449 | * dwarf2loc.c (dwarf_expr_reg_to_entry_parameter): Initialize parameter. | |
450 | * stack.c (read_frame_arg): Initialize val_deref. | |
451 | ||
2bda9cc5 JK |
452 | 2011-10-09 Jan Kratochvil <[email protected]> |
453 | ||
454 | Entry values NEWS entries, DWARF disassembly support. | |
455 | * NEWS: New entry values entry. | |
456 | (set print entry-values, show print entry-values) | |
457 | (set debug entry-values, show debug entry-values): New entries. | |
458 | * dwarf2loc.c (disassemble_dwarf_expression): New parameters start and | |
459 | indent. Remove variable start. Move header printing out. Respect | |
460 | INDENT. Support DW_OP_GNU_entry_value. | |
461 | (locexpr_describe_location_1): Move the header printing here, extend | |
462 | the disassemble_dwarf_expression passed parameters. | |
463 | ||
a471c594 JK |
464 | 2011-10-09 Jan Kratochvil <[email protected]> |
465 | ||
466 | Display @entry parameter values even for references. | |
467 | * ada-valprint.c (ada_val_print_1) <TYPE_CODE_REF>: Try also | |
468 | coerce_ref_if_computed. | |
469 | * c-valprint.c (c_val_print) <TYPE_CODE_REF>: Likewise. | |
470 | * dwarf2expr.c (dwarf_block_to_dwarf_reg_deref): New function. | |
471 | (execute_stack_op) <DW_OP_GNU_entry_value>: Add -1 deref_size to the | |
472 | existing push_dwarf_reg_entry_value call. Add new detection calling | |
473 | dwarf_block_to_dwarf_reg_deref. Update the error message. | |
474 | (ctx_no_push_dwarf_reg_entry_value): New parameter deref_size. | |
475 | * dwarf2expr.h | |
476 | (struct dwarf_expr_context_funcs) <push_dwarf_reg_entry_value>: Add new | |
477 | parameter deref_size, describe it in the comment. | |
478 | (ctx_no_push_dwarf_reg_entry_value): Add new parameter deref_size. | |
479 | (dwarf_block_to_dwarf_reg_deref): New declaration. | |
480 | * dwarf2loc.c (dwarf_entry_parameter_to_value): Add new parameter | |
481 | deref_size, describe it in the function comment. New variables | |
482 | data_src and size, fetch the alternative block accoring to DEREF_SIZE. | |
483 | (dwarf_expr_push_dwarf_reg_entry_value): Add new parameter deref_size, | |
484 | describe it in the function comment. Fetch the alternative block | |
485 | accoring to DEREF_SIZE. | |
486 | (entry_data_value_coerce_ref, entry_data_value_copy_closure) | |
487 | (entry_data_value_free_closure, entry_data_value_funcs): New. | |
488 | (value_of_dwarf_reg_entry): New variables checked_type, target_type, | |
489 | outer_val, target_val, val and addr. Try to fetch and create also | |
490 | referenced value content. | |
491 | (pieced_value_funcs): NULL value for coerce_ref. | |
492 | (needs_dwarf_reg_entry_value): Add new parameter deref_size. | |
493 | * f-valprint.c (f_val_print) <TYPE_CODE_REF>: Try also | |
494 | coerce_ref_if_computed. | |
495 | * opencl-lang.c (opencl_value_funcs): NULL value for coerce_ref. | |
496 | * p-valprint.c (pascal_val_print) <TYPE_CODE_REF>: Likewise. | |
497 | * stack.c (read_frame_arg): Compare also dereferenced values. | |
498 | * value.c (value_computed_funcs): Make the parameter v const, use | |
499 | value_lval_const for it. | |
500 | (value_lval_const, coerce_ref_if_computed): New function. | |
501 | (coerce_ref): New variable retval. Call also coerce_ref_if_computed. | |
502 | * value.h (struct lval_funcs): New field coerce_ref. | |
503 | (value_computed_funcs): Make the parameter v const. | |
504 | (value_lval_const, coerce_ref_if_computed): New declarations. | |
505 | ||
36b11add JK |
506 | 2011-10-09 Jan Kratochvil <[email protected]> |
507 | ||
508 | Support @entry in input expressions. | |
509 | * c-exp.y (ENTRY, unknown_cpp_name): New. | |
510 | (exp: UNKNOWN_CPP_NAME): Change to `exp: unknown_cpp_name'. | |
511 | (unknown_cpp_name: UNKNOWN_CPP_NAME, unknown_cpp_name: ENTRY) | |
512 | (variable: name_not_typename '@' ENTRY, name: ENTRY) | |
513 | (name_not_typename: ENTRY): New. | |
514 | (yylex): Recognize ENTRY. | |
515 | * eval.c (evaluate_subexp_standard): Support also OP_VAR_ENTRY_VALUE. | |
516 | * expprint.c (print_subexp_standard, dump_subexp_body_standard): | |
517 | Likewise. | |
518 | * parse.c (operator_length_standard): Likewise. | |
519 | * std-operator.def: New operator OP_VAR_ENTRY_VALUE. | |
520 | ||
3343315b JK |
521 | 2011-10-09 Jan Kratochvil <[email protected]> |
522 | ||
523 | Display referenced values in backtraces. | |
524 | * printcmd.c (print_variable_and_value): Set OPTS.DEREF_REF to 1. | |
525 | * stack.c (print_frame_arg): Likewise. | |
526 | ||
ac71a68c JK |
527 | 2011-10-09 Jan Kratochvil <[email protected]> |
528 | ||
529 | Make some lval_funcs methods to default on NULL. | |
530 | * valops.c (value_fetch_lazy): Check if lval_computed read method is | |
531 | NULL. | |
532 | (value_assign): Check if lval_computed write method is NULL. | |
533 | * value.h (struct lval_funcs): Comment NULL values for read and write | |
534 | methods. | |
535 | ||
e18b2753 JK |
536 | 2011-10-09 Jan Kratochvil <[email protected]> |
537 | ||
538 | Display @entry parameter values (without references). | |
539 | * dwarf2expr.c (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): | |
540 | New functions. | |
541 | * dwarf2expr.h (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): | |
542 | New declarations. | |
543 | * dwarf2loc.c (dwarf2_find_location_expression): Support location list | |
544 | entry record. | |
545 | (dwarf_entry_parameter_to_value, value_of_dwarf_reg_entry) | |
546 | (value_of_dwarf_block_entry, locexpr_read_variable_at_entry): New | |
547 | functions. | |
548 | (dwarf2_locexpr_funcs): Install locexpr_read_variable_at_entry. | |
549 | (loclist_read_variable_at_entry): New function. | |
550 | (dwarf2_loclist_funcs): Install loclist_read_variable_at_entry. | |
551 | * dwarf2read.c (read_call_site_scope): Support also DW_OP_fbreg in | |
552 | DW_AT_location, call dwarf_block_to_sp_offset for it. | |
553 | * frame.h (print_entry_values_no, print_entry_values_only) | |
554 | (print_entry_values_preferred, print_entry_values_if_needed) | |
555 | (print_entry_values_both, print_entry_values_compact) | |
556 | (print_entry_values_default, print_entry_values): New declarations. | |
557 | (struct frame_arg): New field entry_kind. | |
558 | (read_frame_arg): New parameter entryargp. | |
559 | * mi/mi-cmd-stack.c (list_arg_or_local): New gdb_assert for | |
560 | arg->entry_kind. Optionally print the `@entry' suffix. | |
561 | (list_args_or_locals): New variable entryarg, initialize it. | |
562 | Initialize also entry_kind of arg and entryarg. Conditionalize | |
563 | list_arg_or_local for arg, add list_arg_or_local for entryarg. Call | |
564 | xfree for entryarg.error. | |
565 | * stack.c (print_entry_values_no, print_entry_values_only) | |
566 | (print_entry_values_preferred, print_entry_values_if_needed) | |
567 | (print_entry_values_both, print_entry_values_compact) | |
568 | (print_entry_values_default, print_entry_values_choices) | |
569 | (print_entry_values): New variables. | |
570 | (print_frame_arg): New gdb_assert for arg->entry_kind. Optionally | |
571 | print the `@entry' suffix, possibly in combination for | |
572 | print_entry_values_compact. | |
573 | (read_frame_arg): New parameter entryargp, new variables entryval, | |
574 | entryval_error and val_equal. Read in also entryargp, respect | |
575 | print_entry_values, compare the values using val_equal, fill in also | |
576 | argp->entry_kind (together with entryargp->entry_kind). | |
577 | (print_frame_args): New variable entryarg, initialize it. | |
578 | Conditionalize print_frame_arg for arg, add print_frame_arg for | |
579 | entryarg. Call xfree for entryarg.error. | |
580 | (_initialize_stack): Call add_setshow_enum_cmd for `entry-values'. | |
581 | * symtab.h (struct symbol_computed_ops): New field | |
582 | read_variable_at_entry. | |
583 | ||
93d86cef JK |
584 | 2011-10-09 Jan Kratochvil <[email protected]> |
585 | ||
586 | Code reshuffle. | |
587 | * frame.h (struct frame_arg): New definition. | |
588 | (read_frame_arg): New declaration. | |
589 | * mi/mi-cmd-stack.c (list_arg_or_local): New functiom from ... | |
590 | (list_args_or_locals): ... the code here. New variable arg, call | |
591 | read_frame_arg and list_arg_or_local with it. Unify the | |
592 | PRINT_SIMPLE_VALUES and PRINT_ALL_VALUES cases. Call xfree for | |
593 | arg.error. | |
594 | * stack.c (print_frame_arg): New functiom from the code of | |
595 | print_frame_args. | |
596 | (read_frame_arg): New function. | |
597 | (print_frame_args): Remove variable val. New variable arg, call | |
598 | read_frame_arg and print_frame_arg with it. Call xfree for arg.error. | |
599 | ||
2d6c5dc2 JK |
600 | 2011-10-09 Jan Kratochvil <[email protected]> |
601 | ||
602 | Protect entry values against self tail calls. | |
603 | * dwarf2loc.c (VEC (CORE_ADDR), func_verify_no_selftailcall): New. | |
604 | (dwarf_expr_dwarf_reg_entry_value): Call func_verify_no_selftailcall. | |
605 | ||
111c6489 JK |
606 | 2011-10-09 Jan Kratochvil <[email protected]> |
607 | ||
608 | Recognize virtual tail call frames. | |
609 | * Makefile.in (SFILES): Add dwarf2-frame-tailcall.c. | |
610 | (HFILES_NO_SRCDIR): Add dwarf2-frame-tailcall.h. | |
611 | (COMMON_OBS): Add dwarf2-frame-tailcall.o. | |
612 | * dwarf2-frame-tailcall.c: New file. | |
613 | * dwarf2-frame-tailcall.h: New file. | |
614 | * dwarf2-frame.c: Include dwarf2-frame-tailcall.h. | |
615 | (execute_cfa_program): New function comment. Return INSN_PTR. Reset | |
616 | REGS.PREV only after CIE execution. | |
617 | (struct dwarf2_frame_cache): New field tailcall_cache. | |
618 | (dwarf2_frame_cache): New variables entry_pc, entry_cfa_sp_offset, | |
619 | entry_cfa_sp_offset_p and instr. Execute FDE instructions in two | |
620 | parts, try to find entry_cfa_sp_offset. Call | |
621 | dwarf2_tailcall_sniffer_first. | |
622 | (dwarf2_frame_prev_register): Call dwarf2_tailcall_prev_register_first | |
623 | when appropriate. | |
624 | (dwarf2_frame_dealloc_cache): New function. | |
625 | (dwarf2_frame_sniffer): Preinitialize cache by dwarf2_frame_cache. | |
626 | (dwarf2_frame_unwind): Install dwarf2_frame_dealloc_cache. | |
627 | (dwarf2_signal_frame_unwind): Do not install dwarf2_frame_dealloc_cache. | |
628 | (dwarf2_append_unwinders): Add dwarf2_tailcall_frame_unwind. | |
629 | (dwarf2_frame_cfa): Support also dwarf2_tailcall_frame_unwind. | |
630 | * dwarf2loc.c (func_addr_to_tail_call_list) | |
631 | (tailcall_dump, call_sitep, VEC (call_sitep), chain_candidate) | |
632 | (call_site_find_chain_1, call_site_find_chain): New. | |
633 | * dwarf2loc.h (struct call_site_chain): New. | |
634 | (call_site_find_chain): New declaration. | |
635 | * frame.c (get_frame_address_in_block): Support also TAILCALL_FRAME. | |
636 | * frame.h (enum frame_type): New entry TAILCALL_FRAME. | |
637 | * python/py-frame.c (gdbpy_initialize_frames): Add TAILCALL_FRAME. | |
638 | * stack.c (frame_info): Support also TAILCALL_FRAME. | |
639 | ||
bb984ff1 JK |
640 | 2011-10-09 Jan Kratochvil <[email protected]> |
641 | ||
642 | Tail call sites reader implementation. | |
643 | * dwarf2read.c (read_call_site_scope): Recognize DW_AT_GNU_tail_call, | |
644 | fill in TYPE_TAIL_CALL_LIST. | |
645 | * gdbtypes.h (struct func_type): New field tail_call_list. | |
646 | (struct call_site): New field tail_call_next. | |
647 | (TYPE_TAIL_CALL_LIST): New definition. | |
648 | ||
8e3b41a9 JK |
649 | 2011-10-09 Jan Kratochvil <[email protected]> |
650 | ||
651 | Implement basic support for DW_TAG_GNU_call_site. | |
652 | * block.c: Include gdbtypes.h and exceptions.h. | |
653 | (call_site_for_pc): New function. | |
654 | * block.h (call_site_for_pc): New declaration. | |
655 | * defs.h: Include hashtab.h. | |
656 | (make_cleanup_htab_delete, core_addr_hash, core_addr_eq): New | |
657 | declarations. | |
658 | * dwarf2-frame.c (dwarf2_frame_ctx_funcs): Install | |
659 | ctx_no_push_dwarf_reg_entry_value. | |
660 | * dwarf2expr.c (read_uleb128, read_sleb128): Support R as NULL. | |
661 | (dwarf_block_to_dwarf_reg): New function. | |
662 | (execute_stack_op) <DW_OP_GNU_entry_value>: Implement it. | |
663 | (ctx_no_push_dwarf_reg_entry_value): New function. | |
664 | * dwarf2expr.h (struct dwarf_expr_context_funcs): New field | |
665 | push_dwarf_reg_entry_value. | |
666 | (ctx_no_push_dwarf_reg_entry_value, dwarf_block_to_dwarf_reg): New | |
667 | declarations. | |
668 | * dwarf2loc.c: Include gdbcmd.h. | |
669 | (dwarf_expr_ctx_funcs): New forward declaration. | |
670 | (entry_values_debug, show_entry_values_debug, call_site_to_target_addr) | |
671 | (dwarf_expr_reg_to_entry_parameter) | |
672 | (dwarf_expr_push_dwarf_reg_entry_value): New. | |
673 | (dwarf_expr_ctx_funcs): Install dwarf_expr_push_dwarf_reg_entry_value. | |
674 | (dwarf2_evaluate_loc_desc_full): Handle NO_ENTRY_VALUE_ERROR. | |
675 | (needs_dwarf_reg_entry_value): New function. | |
676 | (needs_frame_ctx_funcs): Install it. | |
677 | (_initialize_dwarf2loc): New function. | |
678 | * dwarf2loc.h (entry_values_debug): New declaration. | |
679 | * dwarf2read.c (struct dwarf2_cu): New field call_site_htab. | |
680 | (read_call_site_scope): New forward declaration. | |
681 | (process_full_comp_unit): Copy call_site_htab. | |
682 | (process_die): Support DW_TAG_GNU_call_site. | |
683 | (read_call_site_scope): New function. | |
684 | (dwarf2_get_pc_bounds): Support NULL HIGHPC. | |
685 | (dwarf_tag_name): Support DW_TAG_GNU_call_site. | |
686 | (cleanup_htab): Delete. | |
687 | (write_psymtabs_to_index): Use make_cleanup_htab_delete instead of it. | |
688 | * exceptions.h (enum errors): New NO_ENTRY_VALUE_ERROR. | |
689 | * gdb-gdb.py (StructMainTypePrettyPrinter): Support | |
690 | FIELD_LOC_KIND_DWARF_BLOCK. | |
691 | * gdbtypes.h (enum field_loc_kind): New entry | |
692 | FIELD_LOC_KIND_DWARF_BLOCK. | |
693 | (struct main_type): New loc entry dwarf_block. | |
694 | (struct call_site, FIELD_DWARF_BLOCK, SET_FIELD_DWARF_BLOCK) | |
695 | (TYPE_FIELD_DWARF_BLOCK): New. | |
696 | * python/py-type.c: Include dwarf2loc.h. | |
697 | (check_types_equal): Support FIELD_LOC_KIND_DWARF_BLOCK. New | |
698 | internal_error call on unknown FIELD_LOC_KIND. | |
699 | * symtab.h (struct symtab): New field call_site_htab. | |
700 | * utils.c (do_htab_delete_cleanup, make_cleanup_htab_delete) | |
701 | (core_addr_hash, core_addr_eq): New functions. | |
702 | ||
b6cdc2c1 JK |
703 | 2011-10-09 Jan Kratochvil <[email protected]> |
704 | ||
705 | Code reshuffle. | |
706 | * gdb-gdb.py (StructMainTypePrettyPrinter): Change | |
707 | TYPE_SPECIFIC_CALLING_CONVENTION to TYPE_SPECIFIC_FUNC. Move | |
708 | calling_convention under func_stuff there. | |
709 | * gdbtypes.c (make_function_type): Call INIT_FUNC_SPECIFIC. | |
710 | (init_type) <TYPE_CODE_FUNC>: Likewise. | |
711 | (recursive_dump_type): Change TYPE_SPECIFIC_CALLING_CONVENTION to | |
712 | TYPE_SPECIFIC_FUNC. New comment for tail_call_list. | |
713 | * gdbtypes.h (enum type_specific_kind): Change | |
714 | TYPE_SPECIFIC_CALLING_CONVENTION to TYPE_SPECIFIC_FUNC. | |
715 | (struct main_type) <type_specific>: Change calling_convention to | |
716 | func_stuff. Move calling_convention to ... | |
717 | (struct func_type): ... this new struct. | |
718 | (INIT_FUNC_SPECIFIC): New #define. | |
719 | (TYPE_CALLING_CONVENTION): Change calling_convention to func_stuff. | |
720 | ||
181cebd4 JK |
721 | 2011-10-09 Jan Kratochvil <[email protected]> |
722 | ||
723 | Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches. | |
724 | * dwarf2-frame.c (execute_stack_op): Initialize ctx->ref_addr_size. | |
725 | * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_implicit_pointer>: Use | |
726 | ctx->ref_addr_size. Handle its invalid value. | |
727 | * dwarf2expr.h (struct dwarf_expr_context): New field ref_addr_size. | |
728 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full) | |
729 | (dwarf2_loc_desc_needs_frame): Initialize ctx->ref_addr_size. | |
730 | * dwarf2loc.h (dwarf2_per_cu_ref_addr_size): New declaration. | |
731 | * dwarf2read.c (decode_locdesc): Initialize ctx->ref_addr_size. | |
732 | (dwarf2_per_cu_ref_addr_size): New function. | |
733 | ||
c471e790 JK |
734 | 2011-10-09 Jan Kratochvil <[email protected]> |
735 | ||
736 | Code cleanup. | |
737 | * dwarf2read.c (per_cu_header_read_in): New function. | |
738 | (dwarf2_per_cu_addr_size, dwarf2_per_cu_offset_size): Use it, with new | |
739 | variables cu_header_local and cu_headerp. | |
740 | ||
741f5e3c JK |
741 | 2011-10-09 Jan Kratochvil <[email protected]> |
742 | ||
743 | Fix initial language detection with -readnow. | |
744 | * dwarf2read.c (dw2_find_symbol_file): Handle OBJF_READNOW case. | |
745 | * symfile.h (struct quick_symbol_functions): State find_symbol_file | |
746 | searches only for global symbols. | |
747 | ||
a73d2258 JK |
748 | 2011-10-09 Jan Kratochvil <[email protected]> |
749 | ||
750 | Fix printed anonymous struct name. | |
751 | * dwarf2read.c (fixup_partial_die): Handle for anonymous structs also | |
752 | DW_TAG_interface_type. Strip for anonymous structs any prefixes. | |
753 | (anonymous_struct_prefix): New function. | |
754 | (determine_prefix): New variables retval. Call anonymous_struct_prefix. | |
755 | (dwarf2_name): Strip for anonymous structs any prefixes. | |
756 | ||
749fd4ea DE |
757 | 2011-10-07 Doug Evans <[email protected]> |
758 | ||
1fa57852 DE |
759 | * python/lib/gdb/printing.py (register_pretty_printer): New argument |
760 | `replace'. | |
761 | ||
690a4937 DE |
762 | * python/lib/gdb/printing.py: Whitespace cleanup. |
763 | ||
749fd4ea DE |
764 | * python/py-value.c (valpy_call): Initialize ftype to avoid compiler |
765 | warning. | |
766 | ||
4c38200f PA |
767 | 2011-10-07 Pedro Alves <[email protected]> |
768 | ||
769 | * linux-nat.h (ALL_LWPS): Remove the ptid parameter. | |
770 | * amd64-linux-nat.c (amd64_linux_dr_set_control) | |
771 | (amd64_linux_dr_set_addr, amd64_linux_dr_unset_status): Adjust. | |
772 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint) | |
773 | (arm_linux_remove_hw_breakpoint, arm_linux_insert_watchpoint) | |
774 | (arm_linux_remove_watchpoint): Adjust. | |
775 | * i386-linux-nat.c (i386_linux_dr_set_control) | |
776 | (i386_linux_dr_set_addr, i386_linux_dr_unset_status): Adjust. | |
777 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint) | |
778 | (ia64_linux_remove_watchpoint): Adjust. | |
779 | * mips-linux-nat.c (write_watchpoint_regs): Adjust. | |
780 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint) | |
781 | (ppc_linux_insert_hw_breakpoint, ppc_linux_remove_hw_breakpoint) | |
782 | (ppc_linux_insert_mask_watchpoint) | |
783 | (ppc_linux_remove_mask_watchpoint, ppc_linux_insert_watchpoint) | |
784 | (ppc_linux_remove_watchpoint): Adjust. | |
785 | * s390-nat.c (s390_insert_watchpoint, s390_remove_watchpoint): | |
786 | Adjust. | |
787 | ||
b7ff339d CV |
788 | 2011-10-07 Corinna Vinschen <[email protected]> |
789 | ||
790 | * windows-nat.c: Include wchar.h to avoid compiler warnings. | |
791 | (clear_win32_environment): New function for Cygwin to clear out | |
792 | Win32 environment. | |
793 | (windows_create_inferior): Prepare new environment from in_env | |
794 | for Cygwin, too. | |
795 | ||
f287c1f3 PM |
796 | 2011-10-07 Phil Muldoon <[email protected]> |
797 | ||
5631e596 | 798 | PR python/13264 |
f287c1f3 PM |
799 | * python/py-value.c (valpy_call): Check that arguments are |
800 | a tuple. | |
801 | (is_intlike): Remove call to CHECK_TYPEDEF. | |
802 | (valpy_nonzero): Catch GDB exceptions. | |
803 | (valpy_absolute): Ditto. | |
804 | (valpy_lazy_string): Ditto. | |
805 | (valpy_call): Ditto. | |
806 | (valpy_get_is_optimized_out): Ditto. | |
807 | (valpy_long): Ditto. | |
808 | (valpy_float): Ditto. | |
809 | (valpy_int): Call CHECK_TYPEDEF. Catch GDB exceptions. | |
810 | (valpy_richcompare): Ditto. | |
811 | ||
03583c20 UW |
812 | 2011-10-07 Ulrich Weigand <[email protected]> |
813 | ||
814 | * inferior.h (disable_randomization): Declare. | |
815 | * infrun.c (disable_randomization): New global variable. | |
816 | (show_disable_randomization): New function. | |
817 | (set_disable_randomization): Likewise. | |
818 | (_initialize_infrun): Install set/show disable-randomization | |
819 | commands. | |
820 | * linux-nat.c (disable_randomization): Remove. | |
821 | (show_disable_randomization): Likewise. | |
822 | (set_disable_randomization): Likewise. | |
823 | (_initialize_linux_nat): No longer install set/show | |
824 | disable-randomization commands here. | |
825 | (linux_nat_supports_disable_randomization): New function. | |
826 | (linux_nat_add_target): Install it. | |
827 | * remote.c (PACKET_QDisableRandomization): New enum value. | |
828 | (remote_protocol_packets): Support QDisableRandomization. | |
829 | (_initialize_remote): Likewise. | |
830 | (remote_supports_disable_randomization): New function. | |
831 | (init_remote_ops): Install it. | |
832 | (extended_remote_supports_disable_randomization): New function. | |
833 | (init_extended_remote_ops): Install it. | |
834 | (extended_remote_disable_randomization): New function. | |
835 | (extended_remote_create_inferior_1): Call it. | |
836 | * target.h (struct target_ops): Add to_supports_disable_randomization. | |
837 | (target_supports_disable_randomization): Add prototype. | |
838 | * target.c (target_supports_disable_randomization): New function. | |
839 | (find_default_supports_disable_randomization): Likewise. | |
840 | (init_dummy_target): Install it. | |
841 | ||
20c168b5 KP |
842 | 2011-10-07 Kevin Pouget <[email protected]> |
843 | ||
844 | Allow Python notification of new object-file loadings. | |
845 | * Makefile.in (SUBDIR_PYTHON_SRCS): Add py-newobjfilevent.c. | |
846 | (SUBDIR_PYTHON_OBS): Add py-newobjfileevent.o. | |
847 | Add build rule for this file. | |
848 | * python/py-event.h (emit_new_objfile_event): New prototype. | |
849 | (newobjfile): New Python event emitter. | |
850 | * python/py-evts.c (gdbpy_initialize_py_events): Add new_objfile to | |
851 | Python event registry. | |
852 | * python/py-inferior.c: Include objfiles.h | |
853 | (python_new_objfile): New function. | |
854 | (gdbpy_initialize_inferior): Add python_new_objfile to the new objfile | |
855 | observers. | |
856 | * python/py-newobjfileevent.c: New file. | |
857 | * python-internal.h (gdbpy_initialize_new_objfile_event): New | |
858 | prototype. | |
859 | * python/python.c (_initialize_python): Add | |
860 | gdbpy_initialize_new_objfile_event call. | |
861 | * NEWS: Add item for new Python event "gdb.newobjfile" | |
862 | ||
b1c8db38 TG |
863 | 2011-10-05 Tristan Gingold <[email protected]> |
864 | ||
865 | * ada-tasks.c (read_atcb): Make ravenscar_task_name static. | |
866 | Extract the ravenscar task name from the symbol for the atcb. | |
867 | ||
0dab82e9 PK |
868 | 2011-10-04 Paul Koning <[email protected]> |
869 | ||
870 | * python/py-type.c (typy_make_iter): Add forward declaration. | |
871 | (typy_fields_items): Use the gdb.Type iterator. | |
872 | ||
84ad80e6 PK |
873 | 2011-10-04 Paul Koning <[email protected]> |
874 | ||
875 | * NEWS: Add entry for Python gdb.Type mapping methods. | |
876 | ||
cb6be26b KP |
877 | 2011-10-04 Kevin Pouget <[email protected]> |
878 | ||
879 | PR python/12691: Add the inferior to Python exited event | |
880 | * python/py-exitedevent.c (create_exited_event_object): Add inferior | |
881 | to exited_event. | |
882 | * python/py-event.h (emit_exited_event): Likewise | |
883 | * python/-inferior.c (python_inferior_exit): Likewise | |
884 | ||
6005b210 JB |
885 | 2011-10-03 Joel Brobecker <[email protected]> |
886 | ||
887 | * ada-tasks.c (print_ada_task_info): Add "thread-id" field | |
888 | in output of -ada-task-info GDB/MI command. | |
889 | ||
75082e8c JB |
890 | 2011-10-03 Joel Brobecker <[email protected]> |
891 | ||
892 | * ada-lang.h (struct inferior): Declare. | |
893 | (print_ada_task_info): Add declaration. | |
894 | * ada-tasks.c (print_ada_task_info): Make non-static. | |
895 | * mi/mi-cmds.c (mi_cmds): Add "ada-task-info". | |
896 | * mi/mi-cmds.h (mi_cmd_ada_task_info): Add declaration. | |
897 | * mi/mi-main.c: #include "ada-lang.h". | |
898 | (mi_cmd_list_features): Add "ada-task-info" to the list | |
899 | of supported features. | |
900 | (mi_cmd_ada_task_info): New function. | |
901 | ||
7ed7d719 JB |
902 | 2011-10-03 Joel Brobecker <[email protected]> |
903 | ||
904 | * python/python.c (python_run_simple_file): New function. | |
905 | (source_python_script, source_python_script_for_objfile): | |
906 | Replace call to PyRun_SimpleFile by call to | |
907 | python_run_simple_file. | |
908 | ||
3fcaed38 PK |
909 | 2011-10-03 Paul Koning <[email protected]> |
910 | ||
911 | * python/py-value.c (valpy_get_address): Use Py_XINCREF. | |
912 | (value_to_value_object): Fetch value if it was lazy. | |
913 | ||
8e5c319d JK |
914 | 2011-10-02 Jan Kratochvil <[email protected]> |
915 | ||
916 | Code cleanup. | |
917 | * solib-svr4.c (svr4_default_sos): Remove variables head and link_ptr. | |
918 | Rearrange the code for it. | |
919 | ||
dd11a36c JB |
920 | 2011-10-02 Joel Brobecker <[email protected]> |
921 | ||
922 | * breakpoint.c (bkpt_print_recreate): Add call to | |
923 | print_recreate_thread. | |
924 | ||
723b724b MF |
925 | 2011-09-29 Mike Frysinger <[email protected]> |
926 | ||
927 | * common/linux-ptrace.h (PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC, | |
928 | PTRACE_GETFDPIC_INTERP): Define. | |
929 | ||
412946b6 YQ |
930 | 2011-09-28 Yao Qi <[email protected]> |
931 | ||
932 | * symfile.c (add_symbol_file_command): Update message on usage. | |
933 | ||
a73bb892 PK |
934 | 2011-09-28 Paul Koning <[email protected]> |
935 | ||
936 | * python/py-type.c (make_fielditem, typy_field_names, typy_items) | |
937 | (typy_length, typy_get, typy_has_key, typy_make_iter) | |
938 | (typy_iterkeys, typy_iteritems, typy_itervalues, typy_iter) | |
939 | (typy_iterator_iter, typy_iterator_iternext) | |
940 | (typy_iterator_dealloc): New functions to implement standard | |
941 | Python mapping methods on gdb.Type object. | |
942 | (gdb.TypeIterator): New Python type. | |
943 | * python/python-internal.h (gdbpy_iter_kind): New enum. | |
a73bb892 | 944 | |
fe10a582 DM |
945 | 2011-09-28 David S. Miller <[email protected]> |
946 | ||
947 | * sparc-tdep.h (SPARC_F2_REGNUM, SPARC_F3_REGNUM, SPARC_F4_REGNUM, | |
948 | SPARC_F5_REGNUM, SPARC_F6_REGNUM, SPARC_F7_REGNUM): New enums. | |
949 | * sparc-tdep.c (sparc_complex_floating_p): New function. | |
950 | (sparc32_store_arguments): Handle complex floats. | |
951 | (sparc32_extract_return_value): Likewise. | |
952 | (sparc32_store_return_value): Likewise. | |
953 | (sparc32_stabs_argument_has_addr): Likewise. | |
954 | * sparc64-tdep.c (sparc64_complex_floating_p): New function. | |
955 | (sparc64_store_floating_fields): Handle complex floats. | |
956 | (sparc64_store_arguments): Likewise. | |
957 | (sparc64_store_return_value): Likewise. | |
958 | ||
c93dbcba EZ |
959 | 2011-09-28 Eli Zaretskii <[email protected]> |
960 | ||
961 | * windows-nat.c (env_sort) [!__CYGWIN__]: Function restored from | |
962 | before the change on 2006-12-09. | |
963 | (windows_create_inferior) [!__CYGWIN__]: Restore code that | |
964 | generates the environment block for CreateProcessA, modulo the | |
965 | Cygwin-specific parts that are not needed here. | |
966 | ||
f00c55f8 TG |
967 | 2011-09-27 Tristan Gingold <[email protected]> |
968 | ||
969 | * target.h (enum target_object): Add TARGET_OBJECT_DARWIN_DYLD_INFO. | |
970 | * solib-darwin.c (DYLD_VERSION_MAX): Update number. | |
971 | (darwin_solib_get_all_image_info_addr_at_init): New function. | |
972 | (darwin_solib_read_all_image_info_addr): Likewise. | |
973 | (darwin_solib_create_inferior_hook): Use the above two functions. | |
974 | * darwin-nat.c (darwin_execvp): Renames retval to res. | |
975 | (darwin_read_write_inferior): Update comment. | |
976 | (darwin_read_dyld_info): New function. | |
977 | (darwin_xfer_partial): Handle DYLD_INFO. | |
978 | ||
6710bf39 SS |
979 | 2011-09-27 Stan Shebs <[email protected]> |
980 | ||
981 | Add return address collection for tracepoints. | |
982 | * tracepoint.c (encode_actions_1): Add case for $_ret. | |
983 | (validate_actionline): Check for $_ret. | |
984 | (trace_dump_actions): Ditto. | |
985 | * ax-gdb.h (gen_trace_for_return_address): Declare. | |
986 | * ax-gdb.c: Include arch-utils.h. | |
987 | (gen_trace_for_return_address): New function. | |
988 | (agent_command): Add return address special case. | |
989 | * amd64-tdep.c: Include ax.h and ax-gdb.h. | |
990 | (amd64_gen_return_address): New function. | |
991 | (amd64_init_abi): Call it. | |
992 | * i386-tdep.c: Include ax.h and ax-gdb.h. | |
993 | (i386_gen_return_address): New function. | |
994 | (i386_init_abi): Call it. | |
995 | * arch-utils.h (default_gen_return_address): Declare. | |
996 | * arch-utils.c (default_gen_return_address): New function. | |
997 | * gdbarch.sh (gen_return_address): New method. | |
998 | * gdbarch.h, gdbarch.c: Regenerate. | |
999 | ||
e04e5beb JM |
1000 | 2011-09-23 Joseph Myers <[email protected]> |
1001 | ||
1002 | PR gdb/13079 | |
1003 | * i386-tdep.c (i386_frame_align): New. | |
1004 | (i386_gdbarch_init): Use i386_frame_align. | |
1005 | ||
f3d6df6d YQ |
1006 | 2011-09-23 Yao Qi <[email protected]> |
1007 | ||
1008 | * i386-linux-nat.c (i386_linux_resume): Use read_memory_unsigned_integer | |
1009 | to get address. | |
1010 | ||
e69860f1 TG |
1011 | 2011-09-22 Tristan Gingold <[email protected]> |
1012 | ||
1013 | * fork-child.c (fork_inferior): Add exec_fun parameter. | |
1014 | Call exec_fun or execvp. | |
1015 | * inferior.h: Adjust prototype. | |
1016 | * gnu-nat.c (gnu_create_inferior): Adjust fork_inferior call. | |
1017 | * inf-ttrace.c (inf_ttrace_create_inferior): Ditto. | |
1018 | * inf-ptrace.c (inf_ptrace_create_inferior): Ditto. | |
1019 | * procfs.c (procfs_create_inferior): Ditto. | |
1020 | * darwin-nat.c (darwin_execvp): New function. | |
1021 | (darwin_create_inferior): Use it. | |
1022 | ||
4b51d87b YQ |
1023 | 2011-09-22 Yao Qi <[email protected]> |
1024 | ||
1025 | * infrun.c (context_switch): Print debug message when switching to | |
1026 | a different thread. | |
1027 | ||
56b9d9ac UW |
1028 | 2011-09-21 Ulrich Weigand <[email protected]> |
1029 | ||
1030 | * s390-tdep.c (s390_function_arg_pass_by_reference): Handle | |
1031 | complex and vector types. | |
1032 | (s390_return_value_convention): Likewise. | |
1033 | ||
1034 | (s390_value_from_register): Call check_typedef. | |
1035 | (extend_simple_arg): Likewise. | |
1036 | (alignment_of): Likewise. | |
1037 | (s390_push_dummy_call): Likewise. | |
1038 | (s390_return_value): Likewise. | |
1039 | ||
b2cd6b29 JM |
1040 | 2011-09-21 Joseph Myers <[email protected]> |
1041 | ||
1042 | * event-top.c (async_disconnect): If an exception is thrown from | |
1043 | quit_cover, call pop_all_targets. Use TRY_CATCH instead of | |
1044 | catch_errors. | |
1045 | * top.c (quit_cover): Return void and take no arguments. | |
1046 | * top.h (quit_cover): Update prototype. | |
1047 | ||
67ba4e42 JM |
1048 | 2011-09-20 Joseph Myers <[email protected]> |
1049 | ||
1050 | * mi/mi-main.c (mi_load_progress): Restore saved_uiout value to | |
1051 | current_uiout, not uiout. | |
1052 | ||
562f943b DE |
1053 | 2011-09-19 Doug Evans <[email protected]> |
1054 | ||
1055 | * python/py-auto-load.c (source_section_scripts): Fix file | |
1056 | descriptor leak. | |
1057 | * python/python.c (source_python_script_for_objfile): Tweak comments. | |
1058 | ||
34518530 YQ |
1059 | 2011-09-18 Yao Qi <[email protected]> |
1060 | Ulrich Weigand <[email protected]> | |
1061 | ||
1062 | Support displaced stepping for Thumb 16-bit insns. | |
1063 | * arm-tdep.c (THUMB_NOP) Define. | |
1064 | (thumb_copy_unmodified_16bit): New. | |
1065 | (thumb_copy_b, thumb_copy_bx_blx_reg): New. | |
1066 | (thumb_copy_alu_reg): New. | |
1067 | (arm_copy_svc): Move some common code to ... | |
1068 | (install_svc): ... here. New. | |
1069 | (thumb_copy_svc): New. | |
1070 | (install_pc_relative): New. | |
1071 | (thumb_copy_pc_relative_16bit): New. | |
1072 | (thumb_decode_pc_relative_16bit): New. | |
1073 | (thumb_copy_16bit_ldr_literal): New. | |
1074 | (thumb_copy_cbnz_cbz): New. | |
1075 | (cleanup_pop_pc_16bit_all): New. | |
1076 | (thumb_copy_pop_pc_16bit): New. | |
1077 | (thumb_process_displaced_16bit_insn): New. | |
1078 | (thumb_process_displaced_32bit_insn): New. | |
1079 | (thumb_process_displaced_insn): process thumb instruction. | |
1080 | ||
1081 | Support displaced stepping for Thumb 32-bit insns. | |
1082 | * arm-tdep.c (thumb_copy_unmodified_32bit): New. | |
1083 | (thumb2_copy_preload): New. | |
1084 | (thumb2_copy_copro_load_store): New. | |
1085 | (thumb2_copy_b_bl_blx): New. | |
1086 | (thumb2_copy_alu_imm): New. | |
1087 | (thumb2_copy_load_reg_imm): New. | |
1088 | (thumb2_copy_load_literal): New | |
1089 | (thumb2_copy_block_xfer): New. | |
1090 | (thumb_32bit_copy_undef): New. | |
1091 | (thumb_32bit_copy_unpred): New. | |
1092 | (thumb2_decode_ext_reg_ld_st): New. | |
1093 | (thumb2_decode_svc_copro): New. | |
1094 | (decode_thumb_32bit_store_single_data_item): New. | |
1095 | (thumb_copy_pc_relative_32bit): New. | |
1096 | (thumb_decode_pc_relative_32bit): New. | |
1097 | (decode_thumb_32bit_ld_mem_hints): New. | |
1098 | (thumb2_copy_table_branch): New | |
1099 | (thumb_process_displaced_32bit_insn): Process Thumb 32-bit | |
1100 | instructions. | |
1101 | ||
2b16b2e3 YQ |
1102 | 2011-09-18 Yao Qi <[email protected]> |
1103 | ||
1104 | * arm-tdep.c (install_copro_load_store): PC is set 4-byte aligned. | |
1105 | (install_b_bl_blx): Likewise. | |
1106 | ||
0f6f04ba YQ |
1107 | 2011-09-17 Yao Qi <[email protected]> |
1108 | ||
1109 | * arm-tdep.c (install_ldr_str_ldrb_strb): Renamed to ... | |
1110 | (install_load_store): ... this. New. | |
1111 | Change parameter BYTE to SIZE. | |
1112 | (arm_copy_ldr_str_ldrb_strb): Update caller. | |
1113 | (arm_decode_ld_st_word_ubyte): Update caller. | |
1114 | ||
e2d96639 YQ |
1115 | 2011-09-17 Yao Qi <[email protected]> |
1116 | ||
1117 | * infrun.c (displaced_step_fixup): Move some code ... | |
1118 | (displaced_step_restore): ... here. New function. | |
1119 | (handle_inferior_event): Cleanup displaced stepping state for both | |
1120 | child and parent when get forked or vforked event. | |
1121 | * regcache.c (get_thread_arch_aspace_regcache): New function. | |
1122 | get_thread_arch_regcache (): Call it. | |
1123 | ||
a8123151 JB |
1124 | 2011-09-16 Joel Brobecker <[email protected]> |
1125 | ||
1126 | * ada-tasks.c (print_ada_task_info): New function, merging | |
1127 | short_task_info and info_tasks together. Reimplement using | |
1128 | ui-out instead of printing to stdout directly. Move the code | |
1129 | building and checking the task list here, instead of leaving it | |
1130 | in info_tasks_command. | |
1131 | (info_task): Move the code building and checking the task | |
1132 | list here, instead of leaving it in info_tasks_command. | |
1133 | (info_tasks_command): Delete code building and checking | |
1134 | the task list - moved elsewhere. Update calls to info_tasks | |
1135 | and info_task. | |
1136 | ||
fbf06824 JB |
1137 | 2011-09-16 Joel Brobecker <[email protected]> |
1138 | ||
1139 | * ada-tasks.c (info_task): Delete parameter `from_tty'. | |
1140 | ||
34a0bc90 JB |
1141 | 2011-09-16 Joel Brobecker <[email protected]> |
1142 | ||
1143 | * ada-tasks.c (info_tasks): Delete parameter `from_tty'. | |
1144 | ||
79779fa9 JB |
1145 | 2011-09-16 Joel Brobecker <[email protected]> |
1146 | ||
1147 | * ada-lang.h (ada_build_task_list): Remove parameter | |
1148 | `warn_if_null'. | |
1149 | * ada-tasks.c (ada_build_task_list): Remove parameter | |
1150 | `warn_if_null'. Adjust implementation and documentation. | |
1151 | (valid_task_id, ada_get_environment_task) | |
1152 | iterate_over_live_ada_tasks): Adjust call to ada_build_task_list. | |
1153 | (info_tasks_command): Adjust implementation. | |
1154 | (task_command): Likewise. | |
1155 | * ravenscar-thread.c (ravenscar_find_new_threads): Fix call | |
1156 | to ada_build_task_list. | |
1157 | ||
e225eb91 JB |
1158 | 2011-09-16 Joel Brobecker <[email protected]> |
1159 | ||
1160 | * ada-tasks.c (ada_tasks_check_symbol_table, task_list): Delete. | |
1161 | (enum ada_known_tasks_kind, struct ada_tasks_inferior_data): New. | |
1162 | (ada_tasks_inferior_data_handle): New static global. | |
1163 | (get_ada_tasks_inferior_data): New function. | |
1164 | (ada_get_task_number, get_task_number_from_id, valid_task_id) | |
1165 | (ada_get_environment_task, iterate_over_live_ada_tasks) | |
1166 | (add_ada_task, read_known_tasks_array, read_known_tasks_list): | |
1167 | Adjust. | |
1168 | (ada_set_current_inferior_known_tasks_addr): New function. | |
1169 | (read_known_tasks, ada_build_task_list, short_task_info) | |
1170 | (info_tasks, info_task, info_tasks_command, task_command_1) | |
1171 | (task_command, ada_task_list_changed): Adjust. | |
1172 | (ada_tasks_invalidate_inferior_data): New function. | |
1173 | (ada_normal_stop_observer, ada_new_objfile_observer): Adjust. | |
1174 | (_initialize_tasks): Set ada_tasks_inferior_data_handle. | |
1175 | * ada-lang.h (struct inferior): Add declaration. | |
1176 | (ada_task_list_changed): Update profile. | |
1177 | * remote-wtx-pd.c: #include "inferior.h". | |
1178 | (switch_to_pd_internal): Update call to ada_task_list_changed. | |
1179 | ||
6da9ca05 JB |
1180 | 2011-09-16 Joel Brobecker <[email protected]> |
1181 | ||
1182 | * ada-tasks.c: #include "progspace.h" and "objfiles.h". | |
1183 | (atcb_type, atcb_common_type, atcb_ll_type, atcb_call_type) | |
1184 | (atcb_fieldno): Delete these static globals. | |
1185 | (struct ada_tasks_pspace_data): New struct. | |
1186 | (ada_tasks_pspace_data_handle): New static global. | |
1187 | (get_ada_tasks_pspace_data): New function. | |
1188 | (ada_tasks_invalidate_pspace_data): New function. | |
1189 | (get_tcb_types_info, ptid_from_atcb_common, read_atcb) | |
1190 | (read_known_tasks_list, ada_new_objfile_observer): Adjust. | |
1191 | (_initialize_tasks): Create this module's per-progspace | |
1192 | data handle. | |
1193 | ||
dccd3cbd JB |
1194 | 2011-09-16 Joel Brobecker <[email protected]> |
1195 | ||
1196 | * ada-tasks.c (struct atcb_fieldnos): Renames struct tcb_fieldnos. | |
1197 | ||
f877b031 TG |
1198 | 2011-09-16 Tristan Gingold <[email protected]> |
1199 | ||
1200 | * fork-child.c (fork_inferior): Update comment. Use alloca | |
1201 | instead of xmalloc for argv. Move len and shell_command | |
1202 | declarations in the block where they are used. | |
1203 | Only call execvp. Factorize failure code. | |
1204 | ||
ae0c443d JK |
1205 | 2011-09-16 Abhijit Halder <[email protected]> |
1206 | ||
1207 | Code cleanup. | |
1208 | * parse.c (write_exp_elt): Change argument to pass a pointer of union | |
1209 | `exp_element' instead of an element of the same and make the function | |
1210 | static. | |
1211 | (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block) | |
1212 | (write_exp_elt_objfile, write_exp_elt_longcst, write_exp_elt_dblcst) | |
1213 | (write_exp_elt_decfloatcst, write_exp_elt_type, write_exp_elt_intern): | |
1214 | Change argument of `write_exp_elt' function call. | |
1215 | Remove extra spaces from comments. | |
1216 | * parser-defs.h (write_exp_elt): Remove prototype. | |
1217 | ||
5af65ec0 PK |
1218 | 2011-09-15 Paul Koning <[email protected]> |
1219 | ||
1220 | * python/py-cmd.c (gdbpy_string_to_argv): Decrement reference | |
1221 | count of item appended to list. | |
1222 | * python/py-type.c (typy_fields): Likewise. | |
1223 | ||
72be8ccc PK |
1224 | 2011-09-15 Paul Koning <[email protected]> |
1225 | ||
883640a8 | 1226 | * MAINTAINERS (Write After Approval): Add myself to the list. |
72be8ccc | 1227 | |
92f6badc KP |
1228 | 2011-09-15 Kevin Pouget <[email protected]> |
1229 | ||
1230 | PR threads/12628 | |
1231 | * linux-fork.c (checkpoint_command): Disallow checkpointing of | |
1232 | processes with multiple threads. | |
1233 | (inf_has_multiple_thread_cb): New function. | |
1234 | (inf_has_multiple_threads): New function. | |
1235 | ||
0672bf41 | 1236 | 2011-09-15 Kevin Pouget <[email protected]> |
2aa48337 KP |
1237 | |
1238 | PR Python/12692 Add gdb.selected_inferior() to Python interface. | |
1239 | * python/py-inferior.c (GdbMethods): New Python method definition. | |
1240 | ||
6839b47f KP |
1241 | 2011-09-15 Kevin Pouget <[email protected]> |
1242 | ||
1243 | Handle multiple breakpoint hits in Python interface: | |
1244 | * python/py-bpevent.c (create_breakpoint_event_object): Rename C/Python | |
1245 | variable to breakpoints. | |
1246 | * python/py-stopevent.c (emit_stop_event): Return a Python tuple of | |
1247 | bps instead of single breakpoint. Fix some space typos. | |
1248 | * python/py-stopevent.c (create_breakpoint_event_object): Rename | |
1249 | variable to breakpoints. | |
1250 | ||
672f9b60 KP |
1251 | 2011-09-15 Kevin Pouget <[email protected]> |
1252 | ||
1253 | * breakpoint.c (describe_other_breakpoints): Do not write 'duplicate' | |
1254 | note if the breakpoint is internal. | |
1255 | ||
43675ae4 KP |
1256 | 2011-09-15 Kevin Pouget <[email protected]> |
1257 | ||
0672bf41 | 1258 | * MAINTAINERS (Write After Approval): Add myself to the list |
43675ae4 | 1259 | |
15148d6a PA |
1260 | 2011-09-14 Pedro Alves <[email protected]> |
1261 | ||
1262 | * infrun.c (prepare_for_detach, wait_for_inferior) | |
1263 | (fetch_inferior_event): Don't flush the register cache. | |
1264 | * remote.c (struct stop_reply) <regcache>: Add comment. | |
1265 | ||
d83e736b JK |
1266 | 2011-09-13 Jan Kratochvil <[email protected]> |
1267 | ||
1268 | Remove excessive DWARF expressions memory duplication. | |
1269 | * dwarf2loc.c (per_cu_dwarf_call): Remove variable back_to and its use | |
1270 | for block.data. | |
1271 | (indirect_pieced_value): Remove variable result. Remove variable | |
1272 | back_to and its use for baton.data. | |
1273 | (dwarf2_compile_expr_to_ax): Remove variable back_to and its use for | |
1274 | block.data. | |
1275 | * dwarf2read.c (dwarf2_fetch_die_location_block): Remove xmemdup. | |
1276 | Update the function comment. | |
1277 | ||
c65b3e0d PA |
1278 | 2011-09-13 Pedro Alves <[email protected]> |
1279 | ||
1280 | * inferior.h (ALL_INFERIORS): New. | |
1281 | * linux-thread-db.c (thread_db_find_new_threads_2): Remove check | |
1282 | for a stopped thread. | |
1283 | (thread_db_find_new_threads): Look for threads in all inferiors. | |
1284 | ||
a1398e0c PA |
1285 | 2011-09-13 Pedro Alves <[email protected]> |
1286 | ||
1287 | * breakpoint.c (update_watchpoint): Handle the case of the | |
1288 | watchpoint to update not being in the breakpoint list yet. | |
1289 | (hw_watchpoint_use_count): New, factored out from | |
1290 | hw_watchpoint_used_count. | |
1291 | (hw_watchpoint_used_count): Rename to ... | |
1292 | (hw_watchpoint_used_count_others): ... this. Add `except' | |
1293 | parameter. Don't count resources of `except'. Use | |
1294 | hw_watchpoint_use_count. | |
1295 | ||
30596231 PA |
1296 | 2011-09-13 Pedro Alves <[email protected]> |
1297 | ||
1298 | * gdbthread.h (enum thread_state): Moved here. | |
1299 | (struct thread_info): Rename `executing_' field to `executing' and | |
1300 | `state_' to `state'. | |
1301 | * thread.c (enum thread_state): Moved to gdbthread.h. | |
1302 | (new_thread, add_thread_silent, delete_thread_1) | |
1303 | (any_live_thread_of_process, thread_alive, set_running) | |
1304 | (set_running, is_thread_state, any_running, is_executing) | |
1305 | (set_executing, finish_thread_state, print_thread_info) | |
1306 | (do_captured_thread_select): Adjust. | |
1307 | ||
bede5f5f JK |
1308 | 2011-09-13 Jan Kratochvil <[email protected]> |
1309 | ||
1310 | Fix compatibility with gcc < 4.3 and non-gcc compilers. | |
1311 | * amd64-tdep.c (amd64_skip_xmm_prologue): Convert 0b constants. | |
1312 | ||
4801a9a3 PA |
1313 | 2011-09-12 Pedro Alves <[email protected]> |
1314 | Matt Rice <[email protected]> | |
1315 | ||
1316 | PR gdb/13175 | |
1317 | ||
1318 | * interps.c (struct interp) <interpreter_out>: Delete field. | |
1319 | (interp_new): Remove the data and uiout parameters and adjust. | |
1320 | (interp_set): Only set the current_uiout from the interpreter's | |
1321 | uiout after initializing the interpreter. Adjust call to | |
1322 | init_proc. | |
1323 | (interp_ui_out): Adjust to call procs->ui_out_proc. | |
1324 | (interp_data, interp_name): New. | |
1325 | * interps.h (interp_init_ftype): Add `self' parameter. | |
1326 | (interp_ui_out_ftype): New typedef. | |
1327 | (struct interp_procs) <ui_out_proc>: New method pointer. | |
1328 | (interp_new): Remove the data and uiout parameters. | |
1329 | (interp_data, interp_name): Declare. | |
1330 | * tui/tui-interp.c (tui_init): Adjust prototype. | |
1331 | (tui_ui_out): New. | |
1332 | (_initialize_tui_interp): Install tui_ui_out. Don't instanciate | |
1333 | tui_out here. Adjust call to interp_new. | |
1334 | * tui/tui-io.c (tui_initialize_io): Don't set current_uiout here. | |
1335 | * cli/cli-interp.c (cli_interpreter_init): Adjust prototype. | |
1336 | (cli_ui_out): New. | |
1337 | (_initialize_cli_interp): Install it. Adjust call to interp_new. | |
1338 | * mi/mi-common.h (struct mi_interp) <uiout>: New field. | |
1339 | * mi/mi-interp.c (mi_interpreter_init): Adjust prototype. | |
1340 | Initialize mi->uiout depending on the mi_version as extracted from | |
1341 | the interpreter's name. | |
1342 | (mi_ui_out): New. | |
1343 | (_initialize_mi_interp): Install mi_ui_out. Adjust calls to | |
1344 | interp_new. Don't allocate the ui_out's of the interpreters here. | |
1345 | ||
d0afda03 | 1346 | 2011-09-12 Aleksandar Ristovski <[email protected]> |
59145f8c | 1347 | |
d0afda03 | 1348 | * solib.c (solib_used): New function. |
59145f8c AR |
1349 | (update_solib_list, reload_shared_libraries_1): Check if objfile is used |
1350 | by another so_list object before freeing it. | |
1351 | ||
bdaf8d4a JK |
1352 | 2011-09-11 Jan Kratochvil <[email protected]> |
1353 | ||
1354 | Code cleanup. | |
1355 | * mi/mi-cmd-stack.c (list_args_or_locals): Use enum for the parameter | |
1356 | values. | |
1357 | ||
df15bd07 JK |
1358 | 2011-09-09 Jan Kratochvil <[email protected]> |
1359 | ||
1360 | Code cleanup. | |
1361 | * amd64-tdep.c (amd64_skip_prologue): Move the XMM code to ... | |
1362 | (amd64_skip_xmm_prologue): ... this new function. Describe its | |
1363 | parameters. No longer use amd64_prologue_line_bug. | |
1364 | * defs.h (producer_is_gcc_ge_4): New declaration. | |
1365 | * dwarf2read.c (producer_is_gcc_ge_4): Move to utils.c. | |
1366 | (process_full_comp_unit): Update its caller. Remove | |
1367 | amd64_prologue_line_bug initialization. | |
1368 | * symtab.h (struct symtab): Remove field amd64_prologue_line_bug. | |
1369 | * utils.c (producer_is_gcc_ge_4): Moved here from dwarf2read.c. | |
1370 | ||
25289eb2 PA |
1371 | 2011-09-09 Pedro Alves <[email protected]> |
1372 | ||
1373 | * linux-nat.h (enum resume_kind): New. | |
1374 | (struct lwp_info) <last_resume_kind>: New field. | |
ddf17726 PA |
1375 | * linux-nat.c (linux_child_follow_fork): Set last_resume_kind to |
1376 | resume_stop on the new lwp. | |
25289eb2 PA |
1377 | (add_lwp): Set last_resume_kind as resume_continue by default. |
1378 | (lin_lwp_attach_lwp): Set last_resume_kind as resume_stop. | |
1379 | (resume_lwp): New, factored out from resume_callback. Also check | |
1380 | for pending status in lp->waitstatus. | |
1381 | (resume_callback): Reimplement. | |
1382 | (resume_clear_callback): Set last_resume_kind as resume_stop. | |
1383 | (resume_set_callback): Set last_resume_kind as resume_continue. | |
1384 | (linux_nat_resume, linux_handle_extended_wait): Set | |
1385 | last_resume_kind. | |
1386 | (running_callback): Also check lp->waitstatus for pending events. | |
1387 | (select_singlestep_lwp_callback): Check that lp->last_resume_kind | |
1388 | is resume_step. | |
1389 | (stop_and_resume_callback): Don't re-resume if the core wanted the | |
1390 | lwp stopped. Use resume_lwp instead of resume_callback. Avoid | |
1391 | using an invalidated pointer. | |
1392 | (linux_nat_filter_event): Don't discard SIGSTOPs as delayed | |
1393 | SIGSTOPs if the core wanted the LWP to stop. | |
1394 | (linux_nat_wait_1) Don't consume a pending SIGSTOP if the core | |
1395 | wanted the lwp to stop. If the core wanted the lwp to stop, and | |
1396 | the lwp stopped with a SIGSTOP, report a TARGET_SIGNAL_0 instead | |
1397 | of TARGET_SIGNAL_STOP. | |
1398 | (linux_nat_stop_lwp): Don't synchronously wait for the lwp to stop | |
1399 | here. Instead, signal the lwp, and set the last_resume_kind to | |
1400 | resume_stop. | |
1401 | ||
f687d035 PA |
1402 | 2011-09-09 Pedro Alves <[email protected]> |
1403 | ||
1404 | * linux-nat.c (lin_lwp_attach_lwp): Return 1 (ignore) instead of | |
1405 | -1 (error), if the lwp exits right after attaching. | |
1406 | ||
bc587a6b DE |
1407 | 2011-09-08 Doug Evans <[email protected]> |
1408 | ||
63d97a20 DE |
1409 | * py-cmd.c: Some minor formatting fixes. |
1410 | (gdbpy_parse_command_name): Rename text arg to name, make const. | |
1411 | All callers updated. | |
1412 | * python-internal.h (gdbpy_parse_command_name): Update. | |
1413 | ||
bc587a6b DE |
1414 | * cli/cli-decode.c (add_cmd): Add comment. |
1415 | ||
08711b9a JK |
1416 | 2011-09-08 Jan Kratochvil <[email protected]> |
1417 | ||
1418 | PR breakpoints/12435 | |
1419 | * amd64-tdep.c (amd64_skip_prologue): New variables start_pc_sal, | |
1420 | next_sal, buf, offset and xmmreg. Advance PC if it sees the PR. | |
1421 | * dwarf2read.c (process_full_comp_unit): Initialize | |
1422 | amd64_prologue_line_bug. | |
1423 | * symtab.h (struct symtab): New field amd64_prologue_line_bug. | |
1424 | ||
b2e7f004 JK |
1425 | 2011-09-08 Jan Kratochvil <[email protected]> |
1426 | ||
1427 | Fix TUI screen corruption. | |
1428 | * utils.c (fputs_maybe_filtered): Replace !input_from_terminal_p by | |
1429 | batch_flag. | |
1430 | ||
8afd712c JK |
1431 | 2011-09-08 Jan Kratochvil <[email protected]> |
1432 | ||
1433 | * findvar.c (read_var_value): Never return NULL, throw an error | |
1434 | instead. Update the function comment. State symbol name in the error | |
1435 | messages. | |
1436 | * python/py-frame.c (frapy_read_var): Remove handling of NULL from | |
1437 | read_var_value. | |
1438 | * stack.c (print_frame_args): Likewise. | |
1439 | * valops.c (value_of_variable): Likewise. | |
1440 | ||
b99b5f66 JK |
1441 | 2011-09-08 Jan Kratochvil <[email protected]> |
1442 | ||
1443 | * stack.c (print_frame_args): New variable except. Wrap | |
1444 | read_var_value and common_val_print into TRY_CATCH. | |
1445 | ||
85bc8cb7 JK |
1446 | 2011-09-08 Jan Kratochvil <[email protected]> |
1447 | ||
1448 | * eval.c (evaluate_subexp_standard) <OP_THIS>: Update the value_of_this | |
1449 | caller to value_of_this. | |
1450 | * p-exp.y: Update the value_of_this caller to value_of_this_silent. | |
1451 | Twice. | |
1452 | * valops.c (value_of_this): Remove parameter complain and variable ret. | |
1453 | Update function comment. Never return NULL by this code. | |
1454 | (value_of_this_silent): New function. | |
1455 | * value.h (value_of_this): Remove parameter complain. | |
1456 | (value_of_this_silent): New declaration. | |
1457 | ||
ede1849f YQ |
1458 | 2011-09-07 Yao Qi <[email protected]> |
1459 | ||
1460 | * gdbthread.h (struct thread_info): Remove fields | |
1461 | `stepping_through_solib_after_catch' and | |
1462 | `stepping_through_solib_catchpoints'. | |
1463 | * infrun.c (init_thread_stepping_state): Update. | |
1464 | (process_event_stop_test, currently_stepping): Update. | |
1465 | (currently_stepping_or_nexting_callback): Update. | |
1466 | ||
6aa27652 YQ |
1467 | 2011-09-07 Yao Qi <[email protected]> |
1468 | ||
1469 | * gdbthread.h (struct thread_info): Comment on field | |
1470 | `step_after_step_resume_breakpoint'. | |
1471 | ||
00db5b94 PA |
1472 | 2011-09-07 Abhijit Halder <[email protected]> |
1473 | ||
1474 | * remote.c (remote_console_output): Reindent. | |
1475 | ||
861152be LM |
1476 | 2011-09-06 Luis Machado <[email protected]> |
1477 | ||
1478 | * frame.c (has_stack_frames): Check for currently selected | |
1479 | traceframe. | |
1480 | ||
ab821bc6 PA |
1481 | 2011-09-06 Pedro Alves <[email protected]> |
1482 | ||
1483 | * event-top.h (MAXPROMPTS, struct prompts): Delete. | |
1484 | (set_async_annotation_level, set_async_prompt, pop_prompt) | |
1485 | (push_prompt, new_async_prompt): Delete declarations. | |
1486 | * top.h (get_prompt, set_prompt): Change prototype. | |
1487 | (get_prefix, set_prefix, get_suffix, set_suffix): Delete | |
1488 | declarations. | |
1489 | * top.c (command_loop): | |
1490 | (top_prompt): New global. | |
1491 | (get_prefix, set_prefix, get_suffix, ): Delete. | |
1492 | (get_prompt, set_prompt): Rewrite. | |
1493 | (show_new_async_prompt): Rename to ... | |
1494 | (show_prompt): ... this. | |
1495 | (init_main): Adjust. Don't handle --annotate=2 here. | |
1496 | * event-top.c (new_async_prompt): Delete. | |
1497 | (the_prompts): Delete. | |
1498 | (more_to_come): Make static. | |
1499 | (display_gdb_prompt): Use top_level_prompt() to compute the top | |
1500 | level prompt, and don't notify the before_prompt observers | |
1501 | directly here. Always trick readline into not trying to display | |
1502 | the prompt if sync_execution and displaying the primary prompt. | |
1503 | If displaying a local/secondary prompt, always show it, even if | |
1504 | sync_execution is set. | |
1505 | (change_annotation_level): Delete. | |
1506 | (top_level_prompt): New, based on change_annotation_level. | |
1507 | (push_prompt, pop_prompt): Delete. | |
1508 | (async_disable_stdin): No longer pushes prompt. | |
1509 | (command_line_handler): No longer pushes or pops prompt. If more | |
1510 | input is expected, call display_gdb_prompt with an explicit empty | |
1511 | prompt. | |
1512 | (async_stop_sig): Adjust. | |
1513 | (set_async_annotation_level, set_async_prompt): Delete. | |
1514 | * python/python.c (before_prompt_hook): Adjust. | |
1515 | ||
f1d90504 PA |
1516 | 2011-09-05 Pedro Alves <[email protected]> |
1517 | ||
1518 | PR cli/13110 | |
1519 | ||
1520 | * infrun.c (fetch_inferior_event): Check if there's a selected | |
1521 | thread before checking if the selected thread is executing. | |
1522 | ||
0f641c01 PA |
1523 | 2011-09-05 Pedro Alves <[email protected]> |
1524 | ||
1525 | * inf-loop.c (execute_command): Don't check if the current thread | |
1526 | if running before synchronously waiting for command completion. | |
1527 | * infrun.c (fetch_inferior_event): Handle "set exec-done-display" | |
1528 | here. | |
1529 | (normal_stop): Call async_enable_stdin here. | |
1530 | * inf-loop.c (inferior_event_handler): Don't call | |
1531 | async_enable_stdin, nor handle "set exec-done-display" here. | |
1532 | ||
30368258 | 1533 | 2011-09-04 Joel Brobecker <[email protected]> |
1534 | ||
1535 | GDB 7.3.1 released. | |
1536 | ||
31916278 JB |
1537 | 2011-09-04 Joel Brobecker <[email protected]> |
1538 | ||
1539 | * NEWS: Change `7.3' into `7.3.1' in `Changes since GDB 7.3'. | |
1540 | ||
e8d56f18 JB |
1541 | 2011-09-04 Joel Brobecker <[email protected]> |
1542 | ||
1543 | * NEWS: Add entry for OpenBSD/NetBSD build failure. | |
1544 | ||
5dd05d8c JK |
1545 | 2011-09-02 Jan Kratochvil <[email protected]> |
1546 | ||
1547 | * config/s390/s390.mh (NATDEPFILES): Add linux-procfs.o dependency. | |
1548 | ||
7d8e6458 | 1549 | 2011-09-02 Matt Rice <[email protected]> |
1550 | ||
1551 | PR gdb/10720 | |
1552 | * event-top.c (cli_command_loop): Replace readline setup with | |
1553 | direct call to display_gdb_prompt. | |
1554 | (display_gdb_prompt): Do not call observer mechanism during | |
1555 | synchronous execution. | |
1556 | ||
84636d28 PA |
1557 | 2011-09-02 Pedro Alves <[email protected]> |
1558 | ||
1559 | * linux-nat.c (in_pid_list_p): New. | |
1560 | (linux_record_stopped_pid): Delete. | |
1561 | (lin_lwp_attach_lwp): Check if PTRACE_ATTACH failed because we're | |
1562 | already attached to the LWP. Return an indication if so. | |
1563 | (linux_nat_filter_event): Adjust. | |
1564 | * linux-thread-db.c (attach_thread): Handle lin_lwp_attach_lwp | |
1565 | returning an indication to ignore this thread. | |
1566 | ||
b4a14fd0 PA |
1567 | 2011-09-02 Pedro Alves <[email protected]> |
1568 | ||
1569 | * top.c: Include interps.h. | |
1570 | (execute_command): If the target can async, but the interpreter is | |
1571 | in sync mode, synchronously wait for the command to finish before | |
1572 | returning. | |
1573 | (execute_command_to_string): Force the interpreter to sync mode. | |
1574 | * infrun.c: Include interps.h. | |
1575 | (fetch_inferior_event): Don't restore the prompt yet if the | |
1576 | interpreter is in sync mode. | |
1577 | * interps.c (interpreter_async): New global. | |
1578 | * interps.h (interpreter_async): Declare. | |
1579 | * inf-loop.c: Include interps.h. | |
1580 | (inferior_event_handler): Don't print the language change or run | |
1581 | breakpoint commands yet if the interpreter in is sync mode. | |
1582 | * main.c (captured_command_loop): Flip the interpreter to async | |
1583 | mode. | |
1584 | * cli/cli-script.c: Include interps.h. | |
1585 | (execute_user_command, while_command, if_command): Force the | |
1586 | interpreter to sync mode. | |
1587 | * python/python.c: Include interps.h. | |
1588 | (python_command, execute_gdb_command): Force the interpreter to | |
1589 | sync mode. | |
1590 | ||
c709acd1 PA |
1591 | 2011-09-02 Pedro Alves <[email protected]> |
1592 | ||
1593 | * value.c (show_convenience): Catch errors thrown while printing | |
1594 | each internal variable. | |
1595 | * infrun.c (validate_siginfo_access): New function. | |
1596 | (siginfo_value_read, siginfo_value_write): Call it. | |
1597 | ||
9655e943 JK |
1598 | 2011-09-01 Jan Kratochvil <[email protected]> |
1599 | ||
1600 | Revert: | |
1601 | 2010-05-21 Pierre Muller <[email protected]> | |
1602 | * dwarf2read.c (new_symbol): Handle DW_AT_variable_parameter | |
1603 | attribute. | |
1604 | ||
cb457ae2 YQ |
1605 | 2011-08-29 Yao Qi <[email protected]> |
1606 | ||
1607 | * solib-dsbt.c (bfd_lookup_symbol): Removed. | |
1608 | (cmp_name): New. | |
1609 | (enable_break2): Update caller. | |
1610 | * solib-frv.c (bfd_lookup_symbol): Removed. | |
1611 | (cmp_name): New. | |
1612 | (enable_break2): Update caller. | |
1613 | * solib-pa64.c (bfd_lookup_symbol): Removed. | |
1614 | (cmp_name): New. | |
1615 | * solib-svr4.c (bfd_lookup_symbol): Removed. | |
1616 | (cmp_name_and_sec_flags): New. | |
1617 | (enable_break): Update caller. | |
1618 | * solib.c (gdb_bfd_lookup_symbol_from_symtab): New. | |
1619 | (gdb_bfd_lookup_symbol_from_dyn_symtab): New. | |
1620 | (gdb_bfd_lookup_symbol): New. | |
1621 | * solib.h: Functions declarations. | |
1622 | ||
83d1a36a YQ |
1623 | 2011-08-29 Yao Qi <[email protected]> |
1624 | ||
1625 | * Makefile.in (ALL_TARGET_OBS): Add tic6x-tdep.o tic6x-linux-tdep.o | |
1626 | and solib-dsbt.o. | |
1627 | ||
c04b3e8f JK |
1628 | 2011-08-29 Jan Kratochvil <[email protected]> |
1629 | ||
1630 | Fix TUI stepi on code without symbols. | |
1631 | * tui/tui-stack.c (tui_show_frame_info): Remove error, set LOW for | |
1632 | current PC instead. | |
1633 | ||
cb0fd152 JK |
1634 | 2011-08-28 Jan Kratochvil <[email protected]> |
1635 | ||
1636 | Code cleanup. | |
1637 | * mi/mi-cmd-stack.c (list_args_or_locals): Remove stb initialization | |
1638 | and the static keyword. | |
1639 | * mi/mi-cmd-target.c (mi_cmd_target_file_get, mi_cmd_target_file_put): | |
1640 | Make prefix an array. | |
1641 | * mi/mi-cmd-target.c (mi_cmd_target_file_delete): Likewise. | |
1642 | * mi/mi-main.c (get_register): Remove stb initialization and the static | |
1643 | keyword. | |
1644 | ||
91174723 JK |
1645 | 2011-08-28 Jan Kratochvil <[email protected]> |
1646 | ||
1647 | Code cleanup - make mi_opt const. | |
1648 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Make | |
1649 | opts const. | |
1650 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. | |
1651 | * mi/mi-cmd-env.c (mi_cmd_env_path): Likewise. | |
1652 | (mi_cmd_env_dir): Likewise. | |
1653 | * mi/mi-cmd-target.c (mi_cmd_target_file_get): Likewise. | |
1654 | (mi_cmd_target_file_put): Likewise. | |
1655 | * mi/mi-cmd-target.c (mi_cmd_target_file_delete): Likewise. | |
1656 | * mi/mi-cmd-var.c (mi_cmd_var_evaluate_expression): Likewise. | |
1657 | * mi/mi-getopt.c (mi_getopt): Make opts and opt const. | |
1658 | (mi_valid_noargs): Make opts const. | |
1659 | * mi/mi-getopt.h (mi_getopt): Make opts and opt const. | |
1660 | * mi/mi-main.c (mi_cmd_list_thread_groups): Make opts const. | |
1661 | (mi_cmd_data_read_memory): Likewise. | |
1662 | (mi_cmd_data_read_memory_bytes): Likewise. | |
1663 | (mi_cmd_data_write_memory): Likewise. | |
1664 | ||
5068b8e8 | 1665 | 2011-08-26 Matt Rice <[email protected]> |
1666 | ||
1667 | * solib-sunos.c (allocate_rt_common_objfile): Add missing arguments to | |
1668 | bcache_xmalloc, replace bcache_xmalloc with call to | |
1669 | psymbol_bcache_init for psymbol_cache. | |
1670 | * symfile.c (reread_symbols): Remove extra calls to bcache_xmalloc. | |
1671 | ||
a4f2ce05 JK |
1672 | 2011-08-26 Jan Kratochvil <[email protected]> |
1673 | ||
1674 | * inf-loop.c (inferior_event_handler): Add exception_print in | |
1675 | INF_EXEC_COMPLETE. | |
1676 | ||
353d1d73 JK |
1677 | 2011-08-26 Jan Kratochvil <[email protected]> |
1678 | ||
1679 | * breakpoint.c (bpstat_do_actions): New variable cleanup_if_error, call | |
1680 | make_bpstat_clear_actions_cleanup and discard_cleanups for it. | |
1681 | * defs.h (make_bpstat_clear_actions_cleanup): New declaration. | |
1682 | * exceptions.c (throw_exception): Remove the bpstat_clear_actions call. | |
1683 | * inf-loop.c (inferior_event_handler): New variable cleanup_if_error, | |
1684 | call make_bpstat_clear_actions_cleanup and discard_cleanups for it. | |
1685 | Call bpstat_clear_actions for failed fetch_inferior_event_wrapper. | |
1686 | * infrun.c (fetch_inferior_event): Call | |
1687 | make_bpstat_clear_actions_cleanup. | |
1688 | * top.c (execute_command): New variable cleanup_if_error, call | |
1689 | make_bpstat_clear_actions_cleanup and discard_cleanups for it. | |
1690 | * utils.c (do_bpstat_clear_actions_cleanup) | |
1691 | (make_bpstat_clear_actions_cleanup): New functions. | |
1692 | ||
3ced3da4 PA |
1693 | 2011-08-26 Pedro Alves <[email protected]> |
1694 | ||
1695 | * linux-nat.c (linux_child_follow_fork): Don't set lp->resumed on | |
1696 | either the parent or the child forks. Rename a couple locals. | |
1697 | ||
a9f4bb21 PA |
1698 | 2011-08-26 Pedro Alves <[email protected]> |
1699 | ||
1700 | * linux-nat.c (wait_lwp): Avoid assuming errno is preserved by a | |
1701 | library call. Avoid reading the `status' local if all waitpid | |
1702 | calls failed. | |
1703 | ||
e5798bef PA |
1704 | 2011-08-26 Pedro Alves <[email protected]> |
1705 | ||
1706 | * common/linux-osdata.c (get_cores_used_by_process): Don't assume | |
1707 | opening /proc/PID/task always succeeds. | |
1708 | ||
edb2aadf AR |
1709 | 2011-08-26 Aleksandar Ristovski <[email protected]> |
1710 | ||
1711 | * linespec.c (symtab_from_filename): Check for the end of string. | |
1712 | ||
0d932b2f MK |
1713 | 2011-08-26 Marc Khouzam <[email protected]> |
1714 | ||
1715 | PR mi/11912 | |
1716 | * varobj.c (cplus_describe_child): Add the keyword | |
1717 | 'class' to the output of the method when dealing | |
1718 | with a cast to a base class. | |
1719 | ||
e93ca019 JK |
1720 | 2011-08-26 Jan Kratochvil <[email protected]> |
1721 | ||
1722 | No functionality change. | |
1723 | * breakpoint.c (bpstat_clear_actions): Remove the BS parameter, make | |
1724 | function comment a reference, new variables tp and bs, move here code | |
1725 | from throw_exception. | |
1726 | * breakpoint.h (bpstat_clear_actions): Remove the BS parameter, | |
1727 | describe it in the comment. | |
1728 | * exceptions.c (throw_exception): Remove variable tp, move the code for | |
1729 | bpstat_clear_actions to bpstat_clear_actions. | |
1730 | ||
13da1c97 LM |
1731 | 2011-08-24 Luis Machado <[email protected]> |
1732 | ||
1733 | * linux-nat.h (linux_proc_get_tgid): Remove declaration. | |
1734 | * linux-nat.c: Include linux-procfs.h. | |
1735 | (linux_proc_get_tgid): Move to ... | |
1736 | * common/linux-procfs.c: ... here. New file. | |
1737 | * common/linux-procfs.h: New file. | |
1738 | * linux-thread-db.c: Include linux-procfs.h. | |
1739 | * Makefile.in: Update dependencies. | |
1740 | * config/alpha/alpha-linux.mh: Add linux-procfs.o dependency. | |
1741 | * config/arm/linux.mh: Likewise. | |
1742 | * config/i386/linux.mh: Likewise. | |
1743 | * config/i386/linux64.mh: Likewise. | |
1744 | * config/ia64/linux.mh: Likewise. | |
1745 | * config/m32r/linux.mh: Likewise. | |
1746 | * config/m68k/linux.mh: Likewise. | |
1747 | * config/mips/linux.mh: Likewise. | |
1748 | * config/pa/linux.mh: Likewise. | |
1749 | * config/pa/linux.mh: Likewise. | |
1750 | * config/powerpc/linux.mh: Likewise. | |
1751 | * config/powerpc/ppc64-linux.mh: Likewise. | |
1752 | * config/powerpc/spu-linux.mh: Likewise. | |
1753 | * config/sparc/linux.mh: Likewise. | |
1754 | * config/sparc/linux64.mh: Likewise. | |
1755 | * config/xtensa/linux.mh: Likewise. | |
1756 | ||
4e5c165d HZ |
1757 | 2011-08-24 Hui Zhu <[email protected]> |
1758 | ||
1759 | * tracepoint.c (cond_string_is_same): New function. | |
1760 | (find_matching_tracepoint): Add condition check | |
1761 | by cond_string_is_same. | |
1762 | ||
6e2f5b22 JK |
1763 | 2011-08-23 Josh Matthews <[email protected]> |
1764 | ||
1765 | Fix build error in Darwin port. | |
1766 | * darwin-nat-info.c (darwin_debug_regions_recurse): New variable uiout. | |
1767 | ||
abf85f46 JK |
1768 | 2011-08-21 Jan Kratochvil <[email protected]> |
1769 | ||
1770 | Code cleanup. | |
1771 | * breakpoint.c (bpstat_clear_actions): Remove clearing of commands_left. | |
1772 | (command_line_is_silent): New function. | |
1773 | (bpstat_do_actions_1): No longer use commands_left, use | |
1774 | command_line_is_silent for commands. | |
1775 | (bpstat_alloc): Remove clearing of commands_left. | |
1776 | (bpstat_stop_status): Remove initialization of commands_left, use | |
1777 | command_line_is_silent. | |
1778 | * breakpoint.h (struct bpstats): Remove commands_left. | |
1779 | ||
3a93a0c2 KS |
1780 | 2011-08-18 Keith Seitz <[email protected]> |
1781 | ||
1782 | PR c++/12266 | |
1783 | * cp-name-parser.y (struct demangle_info): Remove unused | |
1784 | member PREV. | |
1785 | (d_grab): Likewise. | |
1786 | (allocate_info): Change return type to struct demangle_info *. | |
1787 | Always allocate a new demangle_info. | |
1788 | Remove unused PREV pointer. | |
1789 | (cp_new_demangle_parse_info): New function. | |
1790 | (cp_demangled_name_parse_free): New function. | |
1791 | (do_demangled_name_parse_free_cleanup): New function. | |
1792 | (make_cleanup_cp_demangled_name_parse_free): New function. | |
1793 | (cp_demangled_name_to_comp): Change return type to | |
1794 | struct demangle_parse_info *. | |
1795 | Allocate a new storage for each call. | |
1796 | (main): Update usage for cp_demangled_name_to_comp | |
1797 | API change. | |
1798 | * cp-support.h (struct demangle_parse_info): New structure. | |
1799 | (cp_demangled_name_to_comp): Update API change for | |
1800 | return type. | |
1801 | (cp_new_demangle_parse_info): Declare. | |
1802 | (make_cleanup_cp_demangled_name_parse_free): New declaration. | |
1803 | (cp_demangled_name_parse_free): Declare. | |
1804 | * cp-support.c (cp_canonicalize_string): Update API | |
1805 | change for cp_demangled_name_to_comp. | |
1806 | (mangled_name_to_comp): Likewise. | |
1807 | Return struct demangle_parse_info, too. | |
1808 | (cp_class_name_from_physname): Update mangled_name_to_comp | |
1809 | API change. | |
1810 | (method_name_from_physname): Likewise. | |
1811 | (cp_func_name): Update API change for cp_demangled_name_to_comp. | |
1812 | (cp_remove_params): Likewise. | |
1813 | * python/py-type.c (typy_legacy_template_argument): Likewise. | |
1814 | ||
1815 | * cp-support.h (cp_canonicalize_string_no_typedefs): Declare. | |
1816 | (cp_merge_demangle_parse_infos): Declare. | |
1817 | * cp-support.c (ignore_typedefs): New file global. | |
1818 | (copy_string_to_obstack): New function. | |
1819 | (inspect_type): New function. | |
1820 | (replace_typedefs): New function. | |
1821 | (replace_typedefs_qualified_name): New function. | |
1822 | (cp_canonicalize_string_no_typedefs): New function. | |
1823 | * cp-name-parser.y (cp_merge_demangle_parse_infos): New function. | |
1824 | (cp_new_demangle__parse_info): Allocate and initialize the obstack. | |
1825 | * linespec.c (find_methods): Use cp_canonicalize_string_no_typedefs | |
1826 | instead of cp_canonicalize_string. | |
1827 | (find_method): Likewise. | |
1828 | (decode_compound): Before looking up the name, call | |
1829 | cp_canonicalize_string_no_typedefs. | |
1830 | (decode_variable): Likewise. | |
1831 | ||
fa3a4f15 PM |
1832 | 2011-08-17 Phil Muldoon <[email protected]> |
1833 | Tom Tromey <[email protected]> | |
1834 | Matt Rice <[email protected]> | |
1835 | ||
1836 | * python/lib/gdb/prompt.py: New file. | |
1837 | * python/lib/gdb/command/prompt.py: New file. | |
1838 | * NEWS: Document set extended-prompt and gdb.prompt library | |
1839 | ||
85661b1e YQ |
1840 | 2011-08-16 Yao Qi <[email protected]> |
1841 | ||
1842 | * tic6x-linux-tdep.c: Move const arrays definition from here... | |
1843 | * tic6x-tdep.c: to here ... | |
1844 | ||
11315641 YQ |
1845 | 2011-08-14 Yao Qi <[email protected]> |
1846 | ||
1847 | * NEWS: New port to Texas Instruments TMS320C6x. | |
1848 | ||
8cd64e00 YQ |
1849 | 2011-08-14 Andrew Jenner <[email protected]> |
1850 | Bernd Schmidt <[email protected]> | |
1851 | Yao Qi <[email protected]> | |
1852 | ||
1853 | * configure.tgt: Handle tic6x-*-*linux and tic6x-*-*. | |
1854 | * solib-dsbt.c: New file. Support DSBT shared object. | |
1855 | * tic6x-linux-tdep.c: New file. | |
1856 | * tic6x-tdep.c: New file. | |
1857 | * tic6x-tdep.h: New file. | |
1858 | ||
78d85199 YQ |
1859 | 2011-08-14 Andrew Stubbs <[email protected]> |
1860 | Yao Qi <[email protected]> | |
1861 | ||
1862 | * remote.c (PACKET_qXfer_fdpic): New enum value. | |
1863 | (remote_protocol_features): Add qXfer:fdpic:read packet. | |
1864 | (remote_xfer_partial): Support TARGET_OBJECT_FDPIC. | |
1865 | (_initialize_remote): Add set/show remote read-fdpic-loadmap command. | |
1866 | * target.h (enum target_object): Add TARGET_OBJECT_FDPIC. | |
1867 | ||
224bbe49 YQ |
1868 | 2011-08-14 Yao Qi <[email protected]> |
1869 | ||
1870 | Target description for tic6x. | |
1871 | * features/Makefile (WHICH): Add tic6x-c64xp tic6x-c64x tic6x-c62x | |
1872 | tic6x-c64xp-linux tic6x-c64x-linux and tic6x-c62x-linux. | |
1873 | * features/tic6x-c6xp.xml, features/tic6x-core.xml: New. | |
1874 | * features/tic6x-gp.xml, features/tic6x-c62x.xml: New. | |
1875 | * features/tic6x-c64x.xml, features/tic6x-c64xp.xml: New. | |
1876 | * features/tic6x-c62x-linux.xml, features/tic6x-c64x-linux.xml: New. | |
1877 | * features/tic6x-c64xp-linux.xml: New. | |
1878 | * features/tic6x-c64xp.c, features/tic6x-c64x.c: Generated. | |
1879 | * features/tic6x-c62x.c, features/tic6x-c64xp-linux.c: Generated. | |
1880 | * features/tic6x-c64x-linux.c, features/tic6x-c62x-linux.c: Generated. | |
1881 | * regformats/tic6x-c62x.dat, regformats/tic6x-c64x.dat: Generated. | |
f040079f HZ |
1882 | * regformats/tic6x-c64xp.dat, |
1883 | regformats/tic6x-c62x-linux.dat: Generated. | |
1884 | * regformats/tic6x-c64x-linux.dat, | |
1885 | regformats/tic6x-c64xp-linux.dat: Generated. | |
224bbe49 YQ |
1886 | * config/djgpp/fnchange.lst: Add features/tic6x-*.xml and |
1887 | features/tic6x-*.c files. | |
1888 | Add regformats/tic6x-*.dat files. | |
1889 | ||
457e09f0 DE |
1890 | 2011-08-12 Doug Evans <[email protected]> |
1891 | ||
1892 | * NEWS: Mention new "type" attribute of python gdb.Symbol objects. | |
1893 | * python/py-symbol.c (sympy_get_type): New function. | |
1894 | (symbol_object_getset): Add "type". | |
1895 | ||
d20c1c3f PA |
1896 | 2011-08-12 Pedro Alves <[email protected]> |
1897 | ||
1898 | PR tui/13073 | |
1899 | ||
1900 | * tui/tui-regs.c (tui_show_register_group): Skip registers with an | |
1901 | empty name. | |
1902 | (tui_show_register_group): Don't store a byte buffer in the data | |
1903 | element's value. | |
1904 | (tui_register_format): Skip registers with an empty name. | |
1905 | (tui_get_register): Store a struct value in the data element's | |
1906 | value field instead of a byte buffer holding the raw register | |
1907 | contents. Account for optimized-out and unavailable registers | |
1908 | when comparing register contents. | |
1909 | ||
9d8fa392 PA |
1910 | 2011-08-09 Pedro Alves <[email protected]> |
1911 | ||
1912 | * printcmd.c (current_display_number): Update comment. | |
1913 | (disable_current_display_cleanup): Delete. | |
1914 | (do_one_display): Use make_cleanup_restore_integer. Gracefully | |
1915 | catch errors thrown while evaluating and printing the display. | |
1916 | ||
401a70b8 TT |
1917 | 2011-08-09 Tom Tromey <[email protected]> |
1918 | ||
1919 | * mi/mi-cmd-break.c (mi_cmd_break_passcount): Fix typo. | |
1920 | ||
7f86f058 PA |
1921 | 2011-08-09 Pedro Alves <[email protected]> |
1922 | ||
94b71cca | 1923 | * elfread.c (elf_symtab_read): Rework comments. |
7f86f058 PA |
1924 | * maint.c (maintenance_command): Ditto. |
1925 | * somread.c (som_symtab_read): Ditto. | |
1926 | * solib.c (solib_find, solib_map_sections, update_solib_list) | |
1927 | (solib_add, info_sharedlibrary_command, solib_name_from_address) | |
1928 | (solib_create_inferior_hook, in_solib_dynsym_resolve_code) | |
94b71cca | 1929 | (sharedlibrary_command, no_shared_libraries): Ditto. |
7f86f058 PA |
1930 | * solib-irix.c (locate_base, disable_break, enable_break) |
1931 | (irix_solib_create_inferior_hook, irix_solib_create_inferior_hook) | |
1932 | (irix_current_sos, irix_open_symbol_file_object) | |
1933 | (irix_special_symbol_handling): Ditto. | |
1934 | * solib-sunos.c (locate_base, first_link_map_member) | |
1935 | (sunos_current_sos, disable_break, enable_break) | |
1936 | (sunos_special_symbol_handling, sunos_solib_create_inferior_hook): | |
1937 | Ditto. | |
1938 | * solib-svr4.c (bfd_lookup_symbol, elf_locate_base, locate_base) | |
1939 | (open_symbol_file_object, svr4_current_sos, enable_break) | |
1940 | (svr4_special_symbol_handling, svr4_solib_create_inferior_hook): | |
1941 | Ditto. | |
1942 | * solib-frv.c (bfd_lookup_symbol, open_symbol_file_object) | |
1943 | (frv_current_sos, enable_break, frv_special_symbol_handling) | |
1944 | (frv_solib_create_inferior_hook): Ditto. | |
1945 | * solist.h (struct target_so_ops): Extend the comments of the | |
1946 | special_symbol_handling, current_sos and open_symbol_file_object | |
1947 | methods. | |
1948 | ||
5e239b84 PM |
1949 | 2011-08-09 Phil Muldoon <[email protected]> |
1950 | ||
1951 | * python/lib/gdb/__init__.py: Auto-load files in command and | |
1952 | function directories. | |
1953 | * python/python.c (finish_python_initialization): Use | |
1954 | os.path.join. | |
1955 | * python/lib/gdb/command/pretty_printers.py: Self register | |
1956 | command. | |
1957 | * NEWS: Document auto-loading. | |
1958 | ||
b6cede78 JK |
1959 | 2011-08-08 Jan Kratochvil <[email protected]> |
1960 | ||
1961 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full) <DWARF_VALUE_STACK> | |
1962 | (dwarf2_evaluate_loc_desc_full) <DWARF_VALUE_LITERAL>: New variable | |
1963 | objfile_gdbarch. Fix BFD_ENDIAN_BIG case. | |
1964 | ||
29d0bb3d TT |
1965 | 2011-08-08 Tom Tromey <[email protected]> |
1966 | ||
1967 | * breakpoint.c (clean_up_filters): Remove. | |
1968 | (catch_syscall_split_args): Use VEC_cleanup. | |
1969 | ||
2f7fb8e4 JK |
1970 | 2011-08-06 Jan Kratochvil <[email protected]> |
1971 | ||
1972 | * cp-name-parser.y (xfree): Wrap the name free by CONCAT2. | |
1973 | (main): Uncomment "Demangling error\n". | |
1974 | ||
d6c10e95 PP |
1975 | 2011-08-05 Paul Pluzhnikov <[email protected]> |
1976 | ||
1977 | * solib-target.c (segment_attributes): Make them static. | |
1978 | (section_attributes, library_children, library_attributes): Likewise. | |
1979 | (library_list_children, library_list_attributes): Likesise. | |
1980 | (library_list_elements): Likewise. | |
1981 | ||
af6e93b2 PA |
1982 | 2011-08-05 Pedro Alves <[email protected]> |
1983 | ||
1984 | * exceptions.c (throw_exception): Don't disable the current | |
1985 | display. | |
1986 | * printcmd.c (disable_current_display_cleanup): New function. | |
1987 | (do_one_display): Install a cleanup to disable the current display | |
1988 | if doing the display throws. | |
1989 | ||
6a1b1664 EZ |
1990 | 2011-08-05 Eli Zaretskii <[email protected]> |
1991 | ||
1992 | * python/py-breakpoint.c (gdbpy_initialize_breakpoints): Move the | |
1993 | initialization of the tp_new member to the corresponding | |
1994 | gdbpy_initialize_* function. | |
1995 | * python/py-cmd.c (gdbpy_initialize_commands): Likewise. | |
1996 | * python/py-frame.c (gdbpy_initialize_frames): Likewise. | |
1997 | * python/py-function.c (gdbpy_initialize_functions): Likewise. | |
1998 | * python/py-inferior.c (gdbpy_initialize_inferior): Likewise. | |
1999 | * python/py-param.c (gdbpy_initialize_parameters): Likewise. | |
2000 | ||
31a0ae49 JK |
2001 | 2011-08-05 Jan Kratochvil <[email protected]> |
2002 | ||
2003 | * spu-tdep.c (info_spu_event_command, info_spu_signal_command) | |
2004 | (info_spu_mailbox_list, info_spu_mailbox_command, info_spu_dma_cmdlist) | |
2005 | (info_spu_dma_command, info_spu_proxydma_command): Rename uiout | |
2006 | references to current_uiout. | |
2007 | ||
e0dd0826 PA |
2008 | 2011-08-04 Pedro Alves <[email protected]> |
2009 | ||
2010 | * event-loop.c (gdb_do_one_event): Remove `data' parameter. | |
2011 | (start_event_loop): Use TRY_CATCH instead of catch_errors. | |
2012 | * event-loop.h (gdb_do_one_event): Remove `data' parameter. | |
2013 | * top.c (gdb_readline_wrapper): Adjust. | |
2014 | * tui/tui-interp.c (tui_command_loop): | |
2015 | (_initialize_tui_interp): Don't install it. | |
2016 | ||
79a45e25 PA |
2017 | 2011-08-04 Pedro Alves <[email protected]> |
2018 | ||
2019 | * ui-out.h (uiout): Rename to ... | |
2020 | (current_uiout): ... this. | |
2021 | * ui-out.c (uiout): Rename to ... | |
2022 | (current_uiout): ... this. | |
2023 | * ada-lang.c (print_it_exception, print_one_exception) | |
2024 | (print_mention_exception): Adjust. | |
2025 | * breakpoint.c (watchpoint_check): Adjust. | |
2026 | (print_breakpoint_location, print_one_breakpoint, breakpoint_1) | |
2027 | (default_collect_info, watchpoints_info, print_one_catch_fork) | |
2028 | (print_one_catch_vfork, print_one_catch_syscall) | |
2029 | (print_one_catch_exec, mention, print_it_ranged_breakpoint) | |
2030 | (print_one_ranged_breakpoint, print_mention_ranged_breakpoint) | |
2031 | (print_it_watchpoint, print_mention_watchpoint) | |
2032 | (print_it_masked_watchpoint, print_mention_masked_watchpoint) | |
2033 | (print_it_exception_catchpoint, print_one_exception_catchpoint) | |
2034 | (print_mention_exception_catchpoint, say_where, bkpt_print_it) | |
2035 | (bkpt_print_mention, momentary_bkpt_print_it) | |
2036 | (tracepoint_print_mention, update_static_tracepoint) | |
2037 | (tracepoints_info, save_breakpoints): Adjust. | |
2038 | * cli-out.c (field_separator): Adjust. | |
2039 | * cp-abi.c (list_cp_abis, show_cp_abi_cmd): Adjust. | |
2040 | * exceptions.c (catch_exceptions_with_msg, catch_errors): Adjust. | |
2041 | * frame.c (get_current_frame): Adjust. | |
2042 | * infcmd.c (run_command_1, print_return_value): Adjust. | |
2043 | * inferior.c (inferior_command, info_inferiors_command): Adjust. | |
2044 | * infrun.c (print_end_stepping_range_reason): Adjust. | |
2045 | (print_signal_exited_reason, print_exited_reason): Adjust. | |
2046 | (print_signal_received_reason, print_no_history_reason): Adjust. | |
2047 | * interps.c (interp_set): Adjust. | |
2048 | * osdata.c (info_osdata_command): Adjust. | |
2049 | * progspace.c (maintenance_info_program_spaces_command): Adjust. | |
2050 | * remote-fileio.c (remote_fileio_request): Adjust. | |
2051 | * remote.c (show_remote_cmd): Adjust. | |
2052 | * solib.c (info_sharedlibrary_command): Adjust. | |
2053 | * source.c (print_source_lines_base): Adjust. | |
2054 | * stack.c (print_stack_frame): Adjust. | |
2055 | (do_gdb_disassembly, print_frame_info, print_frame): Adjust. | |
2056 | * symfile-mem.c (add_vsyscall_page): Adjust. | |
2057 | * symfile.c (load_progress, generic_load) | |
2058 | (print_transfer_performance): Adjust. | |
2059 | * thread.c (info_threads_command, restore_selected_frame) | |
2060 | (thread_command): Adjust. | |
2061 | * top.c (make_cleanup_restore_ui_file): Adjust. | |
2062 | * tracepoint.c (tvariables_info_1, trace_status_mi, tfind_1) | |
2063 | (print_one_static_tracepoint_marker): Adjust. | |
2064 | * cli/cli-cmds.c (print_disassembly): Adjust. | |
2065 | * cli/cli-decode.c (print_doc_line): Adjust. | |
2066 | * cli/cli-interp.c (safe_execute_command): Adjust. | |
2067 | * cli/cli-logging.c (set_logging_redirect, pop_output_files) | |
2068 | (handle_redirections): Adjust. | |
2069 | * cli/cli-script.c (show_user_1): Adjust. | |
2070 | * cli/cli-setshow.c (do_setshow_command, cmd_show_list): Adjust. | |
2071 | * mi/mi-cmd-break.c (breakpoint_notify): Adjust. | |
2072 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Adjust. | |
2073 | * mi/mi-cmd-env.c (mi_cmd_env_pwd, mi_cmd_env_path) | |
2074 | (mi_cmd_env_dir): Adjust. | |
2075 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file) | |
2076 | (print_partial_file_name, mi_cmd_file_list_exec_source_files): Adjust. | |
2077 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames) | |
2078 | (mi_cmd_stack_info_depth, mi_cmd_stack_list_args) | |
2079 | (list_args_or_locals): Adjust. | |
2080 | * mi/mi-cmd-var.c (print_varobj, mi_cmd_var_create) | |
2081 | (mi_cmd_var_delete, mi_cmd_var_set_format, mi_cmd_var_set_frozen) | |
2082 | (mi_cmd_var_show_format, mi_cmd_var_info_num_children) | |
2083 | (mi_cmd_var_list_children, mi_cmd_var_info_type) | |
2084 | (mi_cmd_var_info_path_expression, mi_cmd_var_info_expression) | |
2085 | (mi_cmd_var_show_attributes, mi_cmd_var_evaluate_expression) | |
2086 | (mi_cmd_var_assign, mi_cmd_var_update, varobj_update_one): Adjust. | |
2087 | * mi/mi-interp.c (mi_on_normal_stop): Adjust. | |
2088 | * mi/mi-main.c (mi_cmd_gdb_exit, mi_cmd_thread_select) | |
2089 | (mi_cmd_thread_list_ids, mi_cmd_thread_info, print_one_inferior) | |
2090 | (list_available_thread_groups, mi_cmd_list_thread_groups) | |
2091 | (mi_cmd_data_list_register_names) | |
2092 | (mi_cmd_data_list_changed_registers) | |
2093 | (mi_cmd_data_list_register_values, get_register) | |
2094 | (mi_cmd_data_evaluate_expression, mi_cmd_data_read_memory) | |
2095 | (mi_cmd_data_read_memory_bytes, mi_cmd_list_features) | |
2096 | (mi_cmd_list_target_features, mi_cmd_add_inferior) | |
2097 | (mi_execute_command, mi_load_progress): Adjust. | |
2098 | * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Adjust. | |
2099 | * python/py-auto-load.c (print_script, info_auto_load_scripts): | |
2100 | Adjust. | |
2101 | * python/py-breakpoint.c (bppy_get_commands): Adjust. | |
2102 | * tui/tui-interp.c (tui_command_loop): Adjust. | |
2103 | * tui/tui-io.c (tui_setup_io, tui_initialize_io): Adjust. | |
2104 | ||
f9679975 PA |
2105 | 2011-08-04 Pedro Alves <[email protected]> |
2106 | ||
2107 | * exceptions.c (struct catcher): Remove saved_uiout field. | |
2108 | (exceptions_state_mc_init): Remove the `func_uiout' parameter, and | |
2109 | no longer save/resvore the global ui_out builder. | |
2110 | (catch_exceptions_with_msg): Save/override/restore the global | |
2111 | ui_out builder manually instead of relying on TRY_CATCH to do it. | |
2112 | (catch_errors): Save/restore the global ui_out builder manually | |
2113 | instead of relying on TRY_CATCH to do it. | |
2114 | * exceptions.h (exceptions_state_mc_init): Remove the `func_uiout' | |
2115 | parameter. | |
2116 | (TRY_CATCH): Adjust. | |
2117 | * cli/cli-interp.c (safe_execute_command): Save/override/restore | |
2118 | the global ui_out builder manually instead of relying on TRY_CATCH | |
2119 | to do it. | |
2120 | ||
934709f0 PW |
2121 | 2011-08-03 Philippe Waroquiers <[email protected]> |
2122 | ||
2123 | * breakpoint.c (update_global_location_list): Ensure | |
2124 | invariant 'first loc marked not duplicated and inserted, | |
2125 | following locs marked duplicated/not inserted' is respected | |
2126 | for multiple locations at the same address. | |
2127 | (unduplicated_should_be_inserted) New function. | |
2128 | (swap_insertion) New function. | |
2129 | ||
2421fe6f JK |
2130 | 2011-08-03 Jan Kratochvil <[email protected]> |
2131 | ||
2132 | * stack.c (print_frame_arguments_choices): Comment typo fix. | |
2133 | ||
3fbb6ffa TJB |
2134 | 2011-08-01 Thiago Jung Bauermann <[email protected]> |
2135 | ||
2136 | Revert: | |
2137 | 2011-07-31 Thiago Jung Bauermann <[email protected]> | |
2138 | * breakpoint.c (insert_bp_location): Remove disabled_breaks | |
2139 | argument. Update callers. | |
2140 | ||
fbe12357 PP |
2141 | 2011-08-01 Paul Pluzhnikov <[email protected]> |
2142 | ||
2143 | PR gdb/13045 | |
2144 | * doublest.c (convert_doublest_to_floatformat): Pass correct | |
2145 | mantissa length to put_field. | |
2146 | ||
b1d288d3 JK |
2147 | 2011-08-01 Jan Kratochvil <[email protected]> |
2148 | ||
2149 | * stack.c (do_gdb_disassembly): Use RETURN_MASK_ERROR, simplify the | |
2150 | exception_print code path. | |
2151 | (backtrace_command): Remove variable e. Protect arg by make_cleanup in | |
2152 | advance. Simplify memset. Remove TRY_CATCH. Remove explicit xfree. | |
2153 | (backtrace_full_command): Remove variable e. Remove TRY_CATCH. | |
2154 | ||
311b5970 JK |
2155 | 2011-08-01 Jan Kratochvil <[email protected]> |
2156 | ||
2157 | Code cleanup. | |
2158 | * stack.c (struct print_stack_frame_args, print_stack_frame_stub): | |
2159 | Remove, merge them into ... | |
2160 | (print_stack_frame): ... here with a TRY_CATCH. New variable e, remove | |
2161 | variable args and its initialization. | |
2162 | (struct print_args_args, print_args_stub): Remove, merge them into | |
2163 | print_frame. | |
2164 | (struct gdb_disassembly_stub_args, gdb_disassembly_stub): Remove, merge | |
2165 | them into ... | |
2166 | (do_gdb_disassembly): ... here. Remove variable args and its | |
2167 | initialization. | |
2168 | (print_frame): Remove variable args and its initialization, new | |
2169 | variable gdbarch and numargs (from print_args_stub), inline here | |
2170 | print_args_stub with a TRY_CATCH. | |
2171 | (struct backtrace_command_args, backtrace_command_stub): Remove, merge | |
2172 | them into ... | |
2173 | (backtrace_command, backtrace_full_command): ... here with a TRY_CATCH. | |
fbe12357 | 2174 | New variable e, remove variable btargs and its initialization. |
311b5970 | 2175 | |
484a26a8 TG |
2176 | 2011-08-01 Tristan Gingold <[email protected]> |
2177 | ||
2178 | * darwin-nat.c (darwin_decode_exception_message): Adjust assertion. | |
2179 | ||
c30eee59 TJB |
2180 | 2011-07-31 Thiago Jung Bauermann <[email protected]> |
2181 | ||
2182 | * breakpoint.c (insert_bp_location): Document return value. | |
2183 | (insert_breakpoint_locations): Fix documentation. | |
2184 | (remove_breakpoints): Add documentation. | |
2185 | ||
f116073b TJB |
2186 | 2011-07-31 Thiago Jung Bauermann <[email protected]> |
2187 | ||
2188 | * breakpoint.c (insert_bp_location): Remove disabled_breaks | |
2189 | argument. Update callers. | |
2190 | ||
65aa373f JK |
2191 | 2011-07-30 Jan Kratochvil <[email protected]> |
2192 | ||
2193 | * stack.c (print_frame_info): Comment typo fix. | |
2194 | ||
a50242fb SA |
2195 | 2011-07-29 Sterling Augustine <[email protected]> |
2196 | ||
2197 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
2198 | ||
267f6504 TT |
2199 | 2011-07-29 Tom Tromey <[email protected]> |
2200 | ||
2201 | * solib-target.c: Use DEF_VEC_I, not DEF_VEC_O. | |
2202 | (library_list_start_segment): Update. | |
2203 | (library_list_start_section): Update. | |
2204 | ||
00bd41d6 PM |
2205 | 2011-07-28 Phil Muldoon <[email protected]> |
2206 | ||
2207 | * varobj.c (value_get_print_value): Move hint check later into the | |
2208 | function. Comment function. Free thevalue before reusing it. | |
2209 | ||
18a46dbe JK |
2210 | 2011-07-27 Jan Kratochvil <[email protected]> |
2211 | Pedro Alves <[email protected]> | |
2212 | ||
2213 | * eval.c (evaluate_subexp_standard): Remove not_lval from all calls of | |
2214 | value_one. | |
2215 | * valops.c (value_one): Remove parameter lv. Do not pass it to itself. | |
2216 | Assert the result kind. | |
2217 | * value.h (value_one): Remove parameter lv. | |
2218 | ||
bb7da2bf JK |
2219 | 2011-07-27 Jan Kratochvil <[email protected]> |
2220 | ||
2221 | Fix crash on lval_computed values. | |
2222 | * valops.c (value_zero): Use not_lval for lval_computed. | |
2223 | ||
2d5213f8 TT |
2224 | 2011-07-27 Tom Tromey <[email protected]> |
2225 | ||
2226 | * Makefile.in (HFILES_NO_SRCDIR): Add 'common' prefix for | |
2227 | gdb_assert.h, gdb_locale.h, gdb_dirent.h. | |
2228 | ||
11081198 JK |
2229 | 2011-07-27 Jan Kratochvil <[email protected]> |
2230 | ||
2231 | * typeprint.c (_initialize_typeprint): Extend the help of "whatis" and | |
2232 | "ptype" by their typedefs difference. | |
2233 | ||
3c6e0cb3 JK |
2234 | 2011-07-27 Jan Kratochvil <[email protected]> |
2235 | ||
2236 | * dwarf2expr.c (ctx_no_read_reg): New function. | |
2237 | * dwarf2expr.h (ctx_no_read_reg): New declaration. | |
2238 | * dwarf2read.c (read_2_signed_bytes, read_4_signed_bytes): Remove. | |
2239 | (decode_locdesc_read_mem, decode_locdesc_ctx_funcs): New. | |
2240 | (decode_locdesc): Replace by a caller of dwarf_expr_eval. | |
2241 | ||
523f3620 JK |
2242 | 2011-07-27 Jan Kratochvil <[email protected]> |
2243 | ||
2244 | * dwarf2-frame.c (no_get_frame_base, no_get_frame_cfa, no_get_frame_pc) | |
2245 | (no_get_tls_address, no_dwarf_call, no_base_type): Move to the other | |
2246 | file. | |
2247 | (dwarf2_frame_ctx_funcs): Reference the renamed functions. | |
2248 | * dwarf2expr.c (ctx_no_get_frame_base, ctx_no_get_frame_cfa) | |
2249 | (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call) | |
2250 | (ctx_no_get_base_type): Move the functions here. | |
2251 | * dwarf2expr.h (ctx_no_get_frame_base, ctx_no_get_frame_cfa) | |
2252 | (ctx_no_get_frame_pc, ctx_no_get_tls_address, ctx_no_dwarf_call) | |
2253 | (ctx_no_get_base_type): New declarations. | |
2254 | ||
24d3216f TT |
2255 | 2011-07-27 Tom Tromey <[email protected]> |
2256 | ||
2257 | * xcoffread.c (dwarf2_xcoff_names): Add 'macro' and 'sentinel' | |
2258 | entries. | |
2259 | * symfile.h (struct dwarf2_debug_sections) <sentinel>: New field. | |
2260 | * dwarf2read.c (dwarf2_elf_names): Add sentinel entry. | |
2261 | ||
5005c8a9 PP |
2262 | 2011-07-26 Sterling Augustine <[email protected]> |
2263 | ||
2264 | * cli/cli-dump.c (dump_binary_file): Change parameter type to | |
2265 | ULONGEST. | |
2266 | (dump_bfd_file): Likewise. | |
2267 | ||
480a3f21 PW |
2268 | 2011-07-26 Philippe Waroquiers <[email protected]> |
2269 | ||
2270 | * remote.c (remote_region_ok_for_hw_watchpoint): New function. | |
2271 | (remote_hw_watchpoint_length_limit): New variable. | |
2272 | (_initialize_remote) add set,show cmds for this new variable. | |
2273 | * gdb.texinfo: document these new commands. | |
2274 | * NEWS: Mention these new commands. | |
2275 | ||
efa80663 PA |
2276 | 2011-07-26 Pedro Alves <[email protected]> |
2277 | ||
2278 | * breakpoint.c (works_in_software_mode_watchpoint): Also return | |
2279 | true for software watchpoints. | |
2280 | ||
dbdaa232 | 2281 | 2011-07-26 Joel Brobecker <[email protected]> |
2282 | ||
2283 | GDB 7.3 released. | |
2284 | ||
cf2c3c16 TT |
2285 | 2011-07-26 Tom Tromey <[email protected]> |
2286 | ||
2287 | * symfile.h (struct dwarf2_debug_sections) <macro>: New field. | |
2288 | * dwarf2read.c (read_indirect_string_at_offset): New function. | |
2289 | (read_indirect_string): Use it. | |
2290 | (dwarf_decode_macro_bytes): New function, taken from | |
2291 | dwarf_decode_macros. Handle DW_MACRO_GNU_*. | |
2292 | (dwarf_decode_macros): Use it. handle DW_MACRO_GNU_*. | |
2293 | (dwarf_parse_macro_header, skip_form_bytes, skip_unknown_opcode): | |
2294 | New functions. | |
2295 | (struct dwarf2_per_objfile) <macro>: New field. | |
2296 | (dwarf2_elf_names): Add .debug_macro. | |
2297 | (dwarf2_macros_too_long_complaint): Add 'section' argument. | |
2298 | (dwarf2_locate_sections): Handle new section. | |
2299 | (read_file_scope): Handle DW_AT_GNU_macros. | |
2300 | (dwarf2_per_objfile_free): Unmap the .debug_macro section. | |
2301 | ||
1a532630 PP |
2302 | 2011-07-26 Paul Pluzhnikov <[email protected]> |
2303 | ||
2304 | * NEWS: Mention dcache configuration. | |
2305 | * dcache.c (dcache_set_list, dcache_show_list): New variables. | |
2306 | (dcache_size, dcache_line_size): New variables. | |
2307 | (LINE_SIZE_MASK, XFORM, MASK): Adjust. | |
2308 | (struct dcache_block): Make it expandable. | |
2309 | (struct dcache_struct): New field. | |
2310 | (dcache_invalidate): Discard freelist upon dcache_line_size changes. | |
2311 | (dcache_hit, dcache_alloc, dcache_peek_byte): Adjust. | |
2312 | (dcache_poke_byte, dcache_print_line): Adjust. | |
2313 | (set_dcache_size, set_dcache_line_size): New functions. | |
2314 | (set_dcache_command, show_dcache_command): New functions. | |
2315 | (_initialize_dcache): Add new commands. | |
2316 | ||
2eff07b3 PP |
2317 | 2011-07-26 Paul Pluzhnikov <[email protected]> |
2318 | ||
2319 | * progspace.h (struct program_space): Add solib_add_generation. | |
2320 | * infcmd.c (post_create_inferior): Only call solib_add if not | |
2321 | already done. | |
2322 | * solib.c (solib_add): Increment solib_add_generation. | |
2323 | ||
543305c9 JK |
2324 | 2011-07-25 Jan Kratochvil <[email protected]> |
2325 | ||
2326 | Fix implicit pointer offsets. | |
2327 | * dwarf2loc.c (indirect_pieced_value): Comment byte_offset. Use also | |
2328 | ptr.OFFSET. | |
2329 | ||
c0a91b2b TT |
2330 | 2011-07-25 Tom Tromey <[email protected]> |
2331 | ||
2332 | * ada-lang.c (ada_exception_breakpoint_ops): Make return type | |
2333 | const. | |
2334 | (ada_exception_sal): Make 'ops' const. | |
2335 | (ada_decode_exception_location): Likewise. | |
2336 | (ada_decode_assert_location): Likewise. | |
2337 | (catch_assert_command): Update. | |
2338 | (catch_ada_exception_command): Update. | |
2339 | (create_ada_exception_catchpoint): Make 'ops' const. | |
2340 | * breakpoint.c (set_raw_breakpoint_without_location) | |
2341 | (set_raw_breakpoint, momentary_breakpoint_from_master): Make 'ops' | |
2342 | const. | |
2343 | (create_internal_breakpoint): Update. | |
2344 | (init_raw_breakpoint_without_location): Make 'ops' const. | |
2345 | (init_raw_breakpoint, init_catchpoint) | |
2346 | (create_fork_vfork_event_catchpoint) | |
2347 | (create_syscall_event_catchpoint, init_breakpoint_sal) | |
2348 | (create_breakpoint_sal, create_breakpoints_sal) | |
2349 | (create_breakpoint, init_ada_exception_breakpoint): Likewise. | |
2350 | * breakpoint.h (struct breakpoint) <ops>: Now const. | |
2351 | (init_ada_exception_breakpoint, create_breakpoint): Make 'ops' | |
2352 | const. | |
2353 | ||
6cb9b55b PP |
2354 | 2011-07-25 Paul Pluzhnikov <[email protected]> |
2355 | ||
2356 | * linux-thread-db.c (thread_from_lwp): Initialize th.th_unique. | |
2357 | ||
d9b3f62e PA |
2358 | 2011-07-25 Pedro Alves <[email protected]> |
2359 | ||
2360 | * breakpoint.h (print_recreate_thread): Declare. | |
2361 | (struct breakpoint): Move step_count, pass_count, | |
2362 | number_on_target, static_trace_marker_id, | |
2363 | static_trace_marker_id_idx ... | |
2364 | (struct tracepoint): ... to this new struct. | |
2365 | (get_tracepoint, get_tracepoint_by_number_on_target) | |
2366 | (get_tracepoint_by_number): Change return type to struct | |
2367 | tracepoint pointer. | |
2368 | * breakpoint.c (is_tracepoint_type): New, factored out from | |
2369 | is_tracepoint. | |
2370 | (is_tracepoint): Adjust. | |
2371 | (print_one_breakpoint_location): Cast to struct tracepoint as | |
2372 | necessary, and adjust. | |
2373 | (print_recreate_catch_fork, print_recreate_catch_vfork) | |
2374 | (print_recreate_catch_syscall, print_recreate_catch_exec): Call | |
2375 | print_recreate_thread. | |
2376 | (init_breakpoint_sal): New, factored out from | |
2377 | create_breakpoint_sal. | |
2378 | (create_breakpoint_sal): Reimplement. | |
2379 | (create_breakpoint): Allocate a struct tracecepoint if the caller | |
2380 | wanted a tracepoint. Use init_breakpoint_sal and | |
2381 | install_breakpoint. | |
2382 | (print_recreate_ranged_breakpoint, print_recreate_watchpoint) | |
2383 | (print_recreate_masked_watchpoint) | |
2384 | (print_recreate_exception_catchpoint): Call print_recreate_thread. | |
2385 | (tracepoint_print_one_detail): Adjust. | |
2386 | (tracepoint_print_recreate): Adjust. Call print_recreate_thread. | |
2387 | Dump the pass count here. | |
2388 | (update_static_tracepoint): Adjust. | |
2389 | (addr_string_to_sals): Adjust. | |
2390 | (create_tracepoint_from_upload): Adjust. Change return type to | |
2391 | struct tracepoint pointer. | |
2392 | (trace_pass_set_count): Change parameter type to struct tracepoint | |
2393 | pointer, and adjust. | |
2394 | (trace_pass_command): Adjust. | |
2395 | (get_tracepoint, get_tracepoint_by_number_on_target) | |
2396 | (get_tracepoint_by_number): Change return type to struct | |
2397 | tracepoint pointer, and adjust. | |
2398 | (print_recreate_thread): New, factored out from save_breakpoints. | |
2399 | (save_breakpoints): Don't print thread and task and passcount | |
2400 | recreation here. | |
2401 | * remote.c (remote_download_tracepoint): Adjust. | |
2402 | * tracepoint.c (trace_actions_command, validate_actionline) | |
2403 | (start_tracing, tfind_1, trace_find_tracepoint_command) | |
2404 | (trace_dump_command): Adjust. | |
2405 | (find_matching_tracepoint): Change return type to struct | |
2406 | tracepoint pointer, and adjust. | |
2407 | (merge_uploaded_tracepoints, tfile_get_traceframe_address) | |
2408 | (tfile_trace_find, tfile_fetch_registers): Adjust. | |
2409 | * tracepoint.h (create_tracepoint_from_upload): Change return type | |
2410 | to struct tracepoint pointer. | |
2411 | * ada-lang.c (print_recreate_exception): Call | |
2412 | print_recreate_thread. | |
2413 | * mi/mi-cmd-break.c (mi_cmd_break_passcount): Adjust. | |
2414 | ||
3a5c3e22 PA |
2415 | 2011-07-25 Pedro Alves <[email protected]> |
2416 | ||
2417 | * breakpoint.h (struct breakpoint): Move ops as first field. Move | |
2418 | exp_string, exp_string_reparse, exp, exp_valid_block, cond_exp, | |
2419 | cond_exp_valid_block, val, val_valid, watchpoint_frame, | |
2420 | watchpoint_thread, watchpoint_triggered ... | |
2421 | (struct watchpoint): ... to this new struct. | |
2422 | (is_watchpoint): Declare. | |
2423 | (install_breakpoint): Add new `internal' parameter. | |
2424 | * breakpoint.c (is_watchpoint): Delete declaration. | |
2425 | (set_breakpoint_condition): Handle watchpoints. | |
2426 | (is_watchpoint): Make public. | |
2427 | (watchpoint_in_thread_scope): Change parameter type to struct | |
2428 | watchpoint. | |
2429 | (watchpoint_del_at_next_stop): Change parameter type to struct | |
2430 | watchpoint. Remove assertion. Adjust. | |
2431 | (update_watchpoint): Ditto. | |
2432 | (insert_breakpoints, breakpoint_init_inferior) | |
2433 | (watchpoints_triggered, watchpoint_check) | |
2434 | (bpstat_check_watchpoint, bpstat_check_breakpoint_conditions) | |
2435 | (bpstat_stop_status, print_one_breakpoint_location) | |
2436 | (print_one_breakpoint_location, watchpoint_locations_match): Cast | |
2437 | to struct watchpoint as necessary, and adjust. | |
2438 | (install_breakpoint): Add `internal' argument. If true, don't | |
2439 | mention the new breakpoint. Use set_breakpoint_number. | |
2440 | (create_fork_vfork_event_catchpoint) | |
2441 | (create_syscall_event_catchpoint): Adjust. | |
2442 | (dtor_watchpoint): New. | |
2443 | (re_set_watchpoint, insert_watchpoint, remove_watchpoint) | |
2444 | (breakpoint_hit_watchpoint, resources_needed_watchpoint) | |
2445 | (print_it_watchpoint, print_mention_watchpoint) | |
2446 | (print_recreate_watchpoint, insert_masked_watchpoint) | |
2447 | (remove_masked_watchpoint, resources_needed_masked_watchpoint) | |
2448 | (print_one_detail_masked_watchpoint) | |
2449 | (print_mention_masked_watchpoint) | |
2450 | (print_recreate_masked_watchpoint): Cast to struct watchpoint as | |
2451 | necessary, and adjust. | |
2452 | (watch_command_1): Allocate and initialize a struct watchpoint | |
2453 | instead of a struct breakpoint. Use install_breakpoint. | |
2454 | (catch_exec_command_1): Adjust. | |
2455 | (base_breakpoint_dtor): Delete accesses to watchpoint specific | |
2456 | fields. | |
2457 | (delete_breakpoint, enable_breakpoint_disp) | |
2458 | (invalidate_bp_value_on_memory_change): Cast to struct watchpoint | |
2459 | as necessary, and adjust. | |
2460 | (initialize_breakpoint_ops): Install dtor_watchpoint as | |
2461 | watchpoints' dtor method. | |
2462 | * ada-lang.c (create_ada_exception_catchpoint): Adjust. | |
2463 | * python/py-breakpoint.c (bppy_get_expression): Use is_watchpoint. | |
2464 | to struct watchpoint as necessary, and adjust. | |
2465 | ||
2060206e PA |
2466 | 2011-07-25 Pedro Alves <[email protected]> |
2467 | ||
2468 | * ada-lang.c (dtor_exception, re_set_exception): Indirect through | |
2469 | the the base class ops table. | |
2470 | (catch_exception_breakpoint_ops) | |
2471 | (catch_exception_unhandled_breakpoint_ops) | |
2472 | (catch_assert_breakpoint_ops): Don't statically initialize. | |
2473 | (initialize_ada_catchpoint_ops): New. | |
2474 | (_initialize_ada_language): Call it. | |
2475 | * breakpoint.c (base_breakpoint_ops, bkpt_base_breakpoint_ops) | |
2476 | (bkpt_breakpoint_ops): Forward declare. | |
2477 | (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops) | |
2478 | (catch_syscall_breakpoint_ops, catch_exec_breakpoint_ops) | |
2479 | (ranged_breakpoint_ops, watchpoint_breakpoint_ops) | |
2480 | (masked_watchpoint_breakpoint_ops) | |
2481 | (gnu_v3_exception_catchpoint_ops): Don't statically initialize. | |
2482 | (dtor_catch_syscall, dtor_catch_exec): Indirect through the the | |
2483 | base class ops table. | |
2484 | (null_re_set, null_check_status, null_works_in_software_mode) | |
2485 | (null_resources_needed, null_print_one_detail): Delete. | |
2486 | (bkpt_dtor): Rename to ... | |
2487 | (base_breakpoint_dtor): ... this. Make static. | |
2488 | (bkpt_allocate_location): Rename to ... | |
2489 | (base_breakpoint_allocate_location): ... this. Make static. | |
2490 | (base_breakpoint_re_set): New. | |
2491 | (internal_error_pure_virtual_called): New. | |
2492 | (base_breakpoint_insert_location, base_breakpoint_remove_location) | |
2493 | (base_breakpoint_breakpoint_hit, base_breakpoint_check_status) | |
2494 | (base_breakpoint_works_in_software_mode) | |
2495 | (base_breakpoint_resources_needed, base_breakpoint_print_it) | |
2496 | (base_breakpoint_print_one_detail, base_breakpoint_print_mention) | |
2497 | (base_breakpoint_print_recreate): New functions. | |
2498 | (base_breakpoint_ops): New global. | |
2499 | (bkpt_re_set, bkpt_insert_location, bkpt_remove_location) | |
2500 | (bkpt_breakpoint_hit): Make static. | |
2501 | (bkpt_check_status): Delete. | |
2502 | (bkpt_resources_needed): Make static. | |
2503 | (bkpt_works_in_software_mode): Delete. | |
2504 | (bkpt_print_it, bkpt_print_mention, bkpt_print_recreate): Make | |
2505 | static. | |
2506 | (bkpt_breakpoint_ops, internal_breakpoint_ops) | |
2507 | (momentary_breakpoint_ops): Don't statically initialize. | |
2508 | (internal_bkpt_print_recreate, momentary_bkpt_print_recreate): | |
2509 | Delete. | |
2510 | (tracepoint_insert_location, tracepoint_remove_location) | |
2511 | (tracepoint_check_status, tracepoint_works_in_software_mode) | |
2512 | (tracepoint_print_it): Delete. | |
2513 | (tracepoint_breakpoint_ops): Don't statically initialize. | |
2514 | (initialize_breakpoint_ops): New. | |
2515 | (_initialize_breakpoint): Call it. | |
2516 | * breakpoint.h (null_re_set, null_works_in_software_mode) | |
2517 | (null_resources_needed, null_check_status, null_print_one_detail): | |
2518 | (bkpt_dtor, bkpt_allocate_location, bkpt_re_set) | |
2519 | (bkpt_insert_location, bkpt_remove_location, bkpt_breakpoint_hit) | |
2520 | (bkpt_check_status, bkpt_resources_needed) | |
2521 | (bkpt_works_in_software_mode, bkpt_print_it) | |
2522 | (null_print_one_detail, bkpt_print_mention, bkpt_print_recreate): | |
2523 | Delete declarations. | |
2524 | (initialize_breakpoint_ops): Declare. | |
2525 | ||
001c8c33 PA |
2526 | 2011-07-25 Pedro Alves <[email protected]> |
2527 | ||
2528 | * breakpoint.c (bkpt_print_it, internal_bkpt_print_it) | |
2529 | (momentary_bkpt_print_it): Simplify. | |
2530 | ||
06edf0c0 PA |
2531 | 2011-07-25 Pedro Alves <[email protected]> |
2532 | ||
2533 | Split internal, momentary and user breakpoints breakpoint_ops | |
2534 | tables. | |
2535 | ||
2536 | * breakpoint.c (internal_breakpoint_ops) | |
2537 | (momentary_breakpoint_ops): Forward declare. | |
2538 | (create_internal_breakpoint): Add new breakpoint_ops parameter. | |
2539 | Pass it down, rather than hardcoding bkpt_breakpoint_ops. | |
2540 | (create_overlay_event_breakpoint) | |
2541 | (create_std_terminate_master_breakpoint) | |
2542 | (create_exception_master_breakpoint): Create breakpoints with | |
2543 | internal_breakpoint_ops vtable. | |
2544 | (set_longjmp_breakpoint): Create momentary breakpoints with | |
2545 | momentary_breakpoint_ops vtable, using | |
2546 | momentary_breakpoint_from_master. | |
2547 | (create_thread_event_breakpoint, create_jit_event_breakpoint) | |
2548 | (create_solib_event_breakpoint): Create breakpoints with | |
2549 | internal_breakpoint_ops vtable. | |
2550 | (set_momentary_breakpoint): Create breakpoints with | |
2551 | momentary_breakpoint_ops vtable. | |
2552 | (momentary_breakpoint_from_master): New, factored out from | |
2553 | clone_momentary_breakpoint. | |
2554 | (clone_momentary_breakpoint): Adjust. | |
2555 | (watch_command_1): Create scope breakpoints with | |
2556 | momentary_breakpoint_ops vtable. | |
2557 | (bkpt_re_set): Remove handling of internal and momentary | |
2558 | breakpoints. | |
2559 | (bkpt_print_mention, bkpt_print_recreate): New. | |
2560 | (bkpt_breakpoint_ops): Adjust. | |
2561 | (internal_bkpt_re_set, internal_bkpt_check_status) | |
2562 | (internal_bkpt_print_it, internal_bkpt_print_mention) | |
2563 | (internal_bkpt_print_recreate, internal_breakpoint_ops): New. | |
2564 | (momentary_bkpt_re_set, momentary_bkpt_check_status) | |
2565 | (momentary_bkpt_print_it, momentary_bkpt_print_mention) | |
2566 | (momentary_bkpt_print_recreate): New. | |
2567 | (momentary_breakpoint_ops): New. | |
2568 | ||
348d480f PA |
2569 | 2011-07-25 Pedro Alves <[email protected]> |
2570 | ||
2571 | Implement most breakpoint_ops methods for all breakpoint types, | |
2572 | and move the default handlings to the proper callbacks. | |
2573 | ||
2574 | * breakpoint.c (update_watchpoint): Always call the breakpoint's | |
2575 | works_in_software_mode method. | |
2576 | (insert_bp_location): Go through breakpoint_ops->insert_location | |
2577 | for software and hardware watchpoints. | |
2578 | (create_internal_breakpoint): Pass bkpt_breakpoint_ops as | |
2579 | breakpoint_ops. | |
2580 | (remove_breakpoint_1): Go through breakpoint_ops->remove_location | |
2581 | for software and hardware watchpoints. | |
2582 | (print_it_typical): Delete. | |
2583 | (print_bp_stop_message): Always call the breakpoint_ops->print_it | |
2584 | method. | |
2585 | (watchpoint_check): Adjust comment. | |
2586 | (bpstat_check_location): Simply always call the breakpoint's | |
2587 | breakpoint_hit method. | |
2588 | (bpstat_stop_status): Always call the breakpoint's check_status | |
2589 | method. Remove special cases for watchpoints and internal event | |
2590 | breakpoints from here (moved to the check_status implementations). | |
2591 | (print_one_breakpoint_location): Assume b->ops is never NULL. | |
2592 | Remove static tracepoint marker id printing from here (moved to | |
2593 | the print_one_detail callback implementation of tracepoints). | |
2594 | (init_bp_location): Assert OPS is never NULL. | |
2595 | (allocate_bp_location): Always call the breakpoint's | |
2596 | allocate_location method, and remove the default code from here. | |
2597 | (free_bp_location): Always call the location's dtor method, and | |
2598 | remove the default code from here. | |
2599 | (init_raw_breakpoint_without_location): Assert OPS is never NULL. | |
2600 | (set_raw_breakpoint_without_location): Add new breakpoint_ops | |
2601 | parameter. Pass it down. | |
2602 | (set_raw_breakpoint): Ditto. | |
2603 | (print_it_catch_fork): Adjust to take a bpstat as argument. | |
2604 | (catch_fork_breakpoint_ops): Install methods. | |
2605 | (print_it_catch_vfork): Adjust to take a bpstat as argument. | |
2606 | (catch_vfork_breakpoint_ops): Install methods. | |
2607 | (dtor_catch_syscall): Call the base dtor. | |
2608 | (print_it_catch_syscall): Adjust to take a bpstat as argument. | |
2609 | (catch_syscall_breakpoint_ops): Install methods. | |
2610 | (dtor_catch_exec): Call the base dtor. | |
2611 | (print_it_catch_exec): Adjust to take a bpstat as argument. | |
2612 | (catch_exec_breakpoint_ops): Install methods. | |
2613 | (hw_breakpoint_used_count, hw_watchpoint_used_count): Always call | |
2614 | the breakpoint's resources_needed method, and remove the default | |
2615 | code from here. | |
2616 | (set_momentary_breakpoint): Pass bkpt_breakpoint_ops as | |
2617 | breakpoint_ops. | |
2618 | (clone_momentary_breakpoint): Clone the original's ops. | |
2619 | (mention): Always call the breakpoint's print_mention method, and | |
2620 | remove the default code from here. | |
2621 | (create_breakpoint_sal): Adjust to pass the ops to | |
2622 | set_raw_breakpoint rather than setting it manually. | |
2623 | (create_breakpoint): Assert ops is never NULL. Adjust to pass the | |
2624 | ops to set_raw_breakpoint_without_location rather than setting it | |
2625 | manually. | |
2626 | (break_command_1): Pass bkpt_breakpoint_ops as breakpoint_ops. | |
2627 | (print_it_ranged_breakpoint): Adjust to take a bpstat as argument. | |
2628 | (ranged_breakpoint_ops): Install methods. | |
2629 | (break_range_command): Adjust to pass the ops to | |
2630 | set_raw_breakpoint rather than setting it manually. | |
2631 | (re_set_watchpoint, breakpoint_hit_watchpoint) | |
2632 | (check_status_watchpoint, resources_needed_watchpoint) | |
2633 | (works_in_software_mode_watchpoint, print_it_watchpoint) | |
2634 | (print_mention_watchpoint, print_recreate_watchpoint): New | |
2635 | functions. | |
2636 | (watchpoint_breakpoint_ops): Install new methods. | |
2637 | (print_it_masked_watchpoint): New function. | |
2638 | (masked_watchpoint_breakpoint_ops): Install new methods. | |
2639 | (watch_command_1): Adjust to pass the right breakpoint_ops to | |
2640 | set_raw_breakpoint_without_location rather than setting it | |
2641 | manually later. Record the current pspace. | |
2642 | (print_it_exception_catchpoint): Adjust to take a bpstat as | |
2643 | argument. | |
2644 | (gnu_v3_exception_catchpoint_ops): Install new methods. | |
2645 | (say_where): New function. | |
2646 | (null_re_set, null_check_status, null_works_in_software_mode) | |
2647 | (null_resources_needed, null_print_one_detail, bp_location_dtor): | |
2648 | New functions. | |
2649 | (bp_location_ops): New global. | |
2650 | (bkpt_dtor, bkpt_allocate_location, bkpt_re_set) | |
2651 | (bkpt_insert_location, bkpt_remove_location, bkpt_breakpoint_hit) | |
2652 | (bkpt_check_status, bkpt_resources_needed) | |
2653 | (bkpt_works_in_software_mode, bkpt_print_it, bkpt_print_mention) | |
2654 | (bkpt_print_recreate): New functions. | |
2655 | (bkpt_breakpoint_ops): New global. | |
2656 | (tracepoint_re_set, tracepoint_insert_location) | |
2657 | (tracepoint_remove_location, tracepoint_breakpoint_hit) | |
2658 | (tracepoint_check_status, tracepoint_works_in_software_mode) | |
2659 | (tracepoint_print_it, tracepoint_print_one_detail) | |
2660 | (tracepoint_print_mention, tracepoint_print_recreate): New | |
2661 | functions. | |
2662 | (tracepoint_breakpoint_ops): New global. | |
2663 | (delete_breakpoint): Always call the breakpoint's dtor method, and | |
2664 | remove the default handling from here. | |
2665 | (breakpoint_re_set_default): Make static. | |
2666 | (breakpoint_re_set_one): Always call the breakpoints re_set | |
2667 | method, and remove the default handling from here. | |
2668 | (trace_command, ftrace_command, strace_command) | |
2669 | (create_tracepoint_from_upload): Pass appropriate breakpoints_ops | |
2670 | to create_breakpoint. | |
2671 | (save_breakpoints): Always call the breakpoint's print_recreate | |
2672 | method, and remove the default handling from here. | |
2673 | ||
2674 | * ada-lang.c (dtor_exception): Call the base dtor. | |
2675 | (re_set_exception): Call the base method. | |
2676 | (print_it_exception, print_it_catch_exception): Adjust to take a | |
2677 | bpstat as argument. | |
2678 | (catch_exception_breakpoint_ops): Install methods. | |
2679 | (print_it_catch_exception_unhandled): Adjust to take a bpstat as | |
2680 | argument. | |
2681 | (catch_exception_unhandled_breakpoint_ops): Install methods. | |
2682 | (print_it_catch_assert): Adjust to take a bpstat as argument. | |
2683 | (catch_assert_breakpoint_ops): Install methods. | |
2684 | ||
2685 | * breakpoint.h (struct breakpoint_ops): Adjust the print_it method | |
2686 | to take a bpstat as argument. | |
2687 | (enum print_stop_action): Add describing comments to each enum | |
2688 | value. | |
2689 | (breakpoint_re_set_default): Delete declaration. | |
2690 | (null_re_set, null_works_in_software_mode, null_resources_needed) | |
2691 | (null_check_status, null_print_one_detail): Declare. | |
2692 | (bkpt_breakpoint_ops): Declare. | |
2693 | (bkpt_dtor, bkpt_allocate_location, bkpt_re_set) | |
2694 | (bkpt_insert_location, bkpt_remove_location, bkpt_breakpoint_hit) | |
2695 | (bkpt_check_status, bkpt_resources_needed) | |
2696 | (bkpt_works_in_software_mode, bkpt_print_it) | |
2697 | (null_print_one_detail, bkpt_print_mention, bkpt_print_recreate): | |
2698 | Declare. | |
2699 | ||
2700 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust to pass | |
2701 | bkpt_breakpoint_ops. | |
2702 | * python/py-breakpoint.c (bppy_init): Ditto. | |
2703 | ||
be8f8133 PW |
2704 | 2011-07-15 Philippe Waroquiers <[email protected]> |
2705 | ||
2706 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
2707 | ||
3807f613 PP |
2708 | 2011-07-23 Paul Pluzhnikov <[email protected]> |
2709 | ||
2710 | * elfread.c (elf_rel_plt_read): Fix off-by-one bug. | |
2711 | ||
1ced966e PA |
2712 | 2011-07-22 Pedro Alves <[email protected]> |
2713 | ||
2714 | * i386-nat.c (I386_DR_VACANT, I386_DR_LOCAL_ENABLE) | |
2715 | (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN) | |
2716 | (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): Add state parameter and | |
2717 | adjust. | |
2718 | (dr_mirror, dr_status_mirror, dr_control_mirror): Delete. | |
2719 | (struct i386_debug_reg_state): New. | |
2720 | (i386_init_dregs): New. | |
2721 | (dr_mirror): New. | |
2722 | (i386_cleanup_dregs): Use i386_init_dregs. | |
2723 | (i386_show_dr): Add state parameter and adjust. | |
2724 | (i386_insert_aligned_watchpoint): Ditto. Don't pass the info to | |
2725 | the inferior here. | |
2726 | (i386_remove_aligned_watchpoint): Likewise. | |
2727 | (i386_handle_nonaligned_watchpoint): Add state parameter and adjust. | |
2728 | (i386_update_inferior_debug_regs): New. | |
2729 | (i386_insert_watchpoint): Work on a local mirror of the debug | |
2730 | registers, and only update the inferior on success. | |
2731 | (i386_remove_watchpoint): Ditto. | |
2732 | (i386_region_ok_for_watchpoint): Adjust. | |
2733 | (i386_stopped_data_address): Adjust. | |
2734 | (i386_insert_hw_breakpoint): Adjust. | |
2735 | (i386_remove_hw_breakpoint): Adjust. | |
2736 | ||
3543a589 TT |
2737 | 2011-07-22 Tom Tromey <[email protected]> |
2738 | ||
2739 | * amd64-tdep.c (amd64_pseudo_register_read_value): Rename | |
2740 | from amd64_pseudo_register_read. Change arguments. Call | |
2741 | mark_value_bytes_unavailable when needed. | |
2742 | (amd64_init_abi): Use set_gdbarch_pseudo_register_read_value, not | |
2743 | set_gdbarch_pseudo_register_read. | |
2744 | * sentinel-frame.c (sentinel_frame_prev_register): Use | |
2745 | regcache_cooked_read_value. | |
2746 | * regcache.h (regcache_cooked_read_value): Declare. | |
2747 | * regcache.c (regcache_cooked_read_value): New function. | |
2748 | (regcache_cooked_read): Call | |
2749 | gdbarch_pseudo_register_read_value if available. | |
2750 | * i386-tdep.h (i386_pseudo_register_read_value): Declare. | |
2751 | (i386_pseudo_register_read): Remove. | |
2752 | * i386-tdep.c (i386_pseudo_register_read_into_value): Rename from | |
2753 | i386_pseudo_register_read. Change arguments. Call | |
2754 | mark_value_bytes_unavailable when needed. | |
2755 | (i386_pseudo_register_read_value): New function. | |
2756 | (i386_gdbarch_init): Call set_gdbarch_pseudo_register_read_value, | |
2757 | not set_gdbarch_pseudo_register_read. | |
2758 | * gdbarch.sh (pseudo_register_read_value): New method. | |
2759 | * gdbarch.c, gdbarch.h: Rebuild. | |
2760 | * findvar.c (value_from_register): Call get_frame_register_value. | |
2761 | ||
95298e72 PM |
2762 | 2011-07-22 Phil Muldoon <[email protected]> |
2763 | ||
2764 | * event-top.c (cli_command_loop): Use get_prompt, get_suffix, | |
2765 | get_prefix. | |
2766 | (display_gdb_prompt): Likewise. | |
2767 | (change_annotation_level): Likewise. | |
2768 | (push_prompt): Likewise. | |
2769 | (pop_prompt): Likewise. | |
2770 | (handle_stop_sig): Use get_prompt with a level. | |
2771 | * top.c (command_loop): Use get_prompt with a level. | |
2772 | (set_async_annotation_level): Use set_prompt with a level. | |
2773 | (get_prefix): New function. | |
2774 | (set_prefix): Ditto. | |
2775 | (set_suffix): Ditto. | |
2776 | (get_suffix): Ditto. | |
2777 | (get_prompt): Accept a level argument. | |
2778 | (set_prompt): Accept a level argument. Free old prompts. Set | |
2779 | new_async_prompt if level is 0. | |
2780 | (init_main): Use set_prompt with a level. Do not set | |
2781 | new_async_prompt. | |
2782 | * event-top.h (PROMPT, SUFFIX, PREFIX): Move to top.c | |
2783 | * top.h: Declare set_suffix, get_suffix, set_prefix, get_prefix. | |
2784 | Modify set_prompt, get_prompt to account for levels. | |
2785 | * tui/tui-interp.c (tui_command_loop): Use get_prompt with a | |
2786 | level. | |
2787 | * python/python.c (before_prompt_hook): Use set_prompt. | |
2788 | ||
d26e3629 KY |
2789 | 2011-07-22 Kwok Cheung Yeung <[email protected]> |
2790 | ||
2791 | * defs.h: Add guard against inclusion in gdbserver. | |
2792 | (struct ptid, ptid_t): Move to common/ptid.h. | |
2793 | (xfree, xzalloc, xasprintf, xvasprintf, xstrprintf, xstrvprintf, | |
2794 | xsnprintf, internal_error): Move to common/common-utils.h. | |
2795 | (nomem): Delete. | |
2796 | * gdb_assert.h: Move into common/ sub-directory. | |
2797 | * gdb_locale.h: Ditto. | |
2798 | * gdb_dirent.h: Ditto. | |
2799 | * inferior.h (minus_one_ptid, null_ptid, ptid_build, pid_to_ptid, | |
2800 | ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, ptid_is_pid): | |
2801 | Move into common/ptid.h. | |
2802 | * xml-support.c (xml_escape_text): Move into common/xml-utils.c. | |
2803 | (gdb_xml_create_parser_and_cleanup_1, xml_fetch_context_from_file): | |
2804 | Change nomem to malloc_failure. | |
2805 | * xml-support.h (xml_escape_text): Move into common/xml-utils.h. | |
2806 | * utils.c (nomem): Rename to malloc_failure. | |
2807 | (xmalloc, xzalloc, xrealloc, xcalloc, xfree, xstrprintf, xasprintf, | |
2808 | xvasprintf, xstrvprintf, xsnprintf): Move to common/common-utils.c. | |
2809 | (gdb_buildargv): Change nomem to malloc_failure. | |
2810 | * infrun.c (null_ptid, minus_one_ptid, ptid_build, pid_to_ptid, | |
2811 | ptid_get_pid, ptid_get_lwp, ptid_get_tid, ptid_equal, | |
2812 | ptid_is_pid): Move into common/ptid.c. | |
2813 | (initialize_infrun): Delete initialization of null_ptid and | |
2814 | minus_one_ptid. | |
2815 | * linux-nat.c (linux_nat_xfer_osdata): Defer to | |
2816 | linux_common_xfer_osdata. | |
2817 | * Makefile.in (SFILES): Add common/common-utils.c, common/xml-utils.c, | |
2818 | common/ptid.c and common/buffer.c. | |
2819 | (HFILES_NO_SRCDIR): Add common/common-utils.h, common/xml-utils.h, | |
2820 | common/ptid.h, common/buffer.h and common/linux-osdata.h. | |
2821 | (COMMON_OBS): Add xml-utils.o, common-utils.o, buffer.o and ptid.o. | |
2822 | (common-utils.o, xml-utils.o, ptid.o, buffer.o, linux-osdata.o): New | |
2823 | rules. | |
2824 | * common/gdb_assert.h: New. | |
2825 | * common/gdb_dirent.h: New. | |
2826 | * common/gdb_locale.h: New. | |
2827 | * common/buffer.c: New. | |
2828 | * common/buffer.h: New. | |
2829 | * common/ptid.c: New. | |
2830 | * common/ptid.h: New. | |
2831 | * common/xml-utils.c: New. | |
2832 | * common/xml-utils.h: New. | |
2833 | * common/common-utils.c: New. | |
2834 | * common/common-utils.h: New. | |
2835 | * common/linux-osdata.c: New. | |
2836 | * common/linux-osdata.h: New. | |
2837 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-osdata.o. | |
2838 | * config/arm/linux.mh (NATDEPFILES): Ditto. | |
2839 | * config/i386/linux.mh (NATDEPFILES): Ditto. | |
2840 | * config/i386/linux64.mh (NATDEPFILES): Ditto. | |
2841 | * config/ia64/linux.mh (NATDEPFILES): Ditto. | |
2842 | * config/m32r/linux.mh (NATDEPFILES): Ditto. | |
2843 | * config/m68k/linux.mh (NATDEPFILES): Ditto. | |
2844 | * config/mips/linux.mh (NATDEPFILES): Ditto. | |
2845 | * config/pa/linux.mh (NATDEPFILES): Ditto. | |
2846 | * config/powerpc/linux.mh (NATDEPFILES): Ditto. | |
2847 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Ditto. | |
2848 | * config/s390/s390.mh (NATDEPFILES): Ditto. | |
2849 | * config/sparc/linux.mh (NATDEPFILES): Ditto. | |
2850 | * config/sparc/linux64.mh (NATDEPFILES): Ditto. | |
2851 | * config/xtensa/linux.mh (NATDEPFILES): Ditto. | |
2852 | ||
edc84990 | 2853 | 2011-07-21 Matt Rice <[email protected]> |
2854 | ||
2855 | * NEWS: Add info macros and info definitions commands. | |
2856 | ||
3a7bf607 PM |
2857 | 2011-07-21 Phil Muldoon <[email protected]> |
2858 | ||
2859 | * NEWS: Document Python prompt substitution hook. | |
2860 | ||
9b158ba0 | 2861 | 2011-07-18 Matt Rice <[email protected]> |
2862 | ||
2863 | PR macros/12999 | |
2864 | * macrotab.h (macro_callback_fn): Add new arguments to callback. | |
2865 | * macrotab.c (foreach_macro): Ditto. | |
2866 | (foreach_macro_in_scope): Ditto. | |
2867 | * macrocmd.c (print_macro_callback): New function. | |
2868 | (info_macro_command): Move some code to print_macro_definition. | |
2869 | (print_macro_definition): New function. | |
2870 | (print_one_macro): Add new arguments to callback. | |
2871 | (info_definitions_command): New function. | |
2872 | (info_macros_command): Ditto. | |
2873 | (_initialize_macrocmd): Add info macros and info definitions commands. | |
2874 | * symtab.c (add_macro_name): Add new arguments to callback. | |
2875 | ||
d17b6f81 PM |
2876 | 2011-07-21 Phil Muldoon <[email protected]> |
2877 | Tom Tromey <[email protected]> | |
2878 | ||
2879 | * top.c (set_prompt): Rewrite to free previous prompt, free | |
2880 | asynch_new_prompt and set both on new prompts. | |
2881 | * event-top.c (display_gdb_prompt): Add prompt substitution | |
2882 | logic. | |
2883 | * python/python.c (before_prompt_hook): New function. | |
2884 | ||
1364323a | 2885 | 2011-07-20 Matt Rice <[email protected]> |
2886 | ||
2887 | * bfin-tdep.c (bfin_extract_return_value): Fix swapped | |
2888 | arguments to store_unsigned_integer. | |
2889 | ||
8b70b953 TT |
2890 | 2011-07-20 Tom Tromey <[email protected]> |
2891 | ||
6c83ed52 TT |
2892 | * dwarf2read.c (process_enumeration_scope): Do not call new_symbol |
2893 | in some declaration-only cases. | |
2894 | ||
2895 | 2011-07-18 Tom Tromey <[email protected]> | |
2896 | ||
8b70b953 TT |
2897 | PR symtab/12984: |
2898 | * dwarf2read.c (dwarf2_section_info_def): New typedef. | |
2899 | (struct dwarf2_per_objfile) <types>: Change to a VEC. | |
2900 | (struct dwarf2_per_cu_data) <from_debug_types>: Remove. | |
2901 | <debug_type_section>: New field. | |
2902 | (dwarf2_locate_sections): Push .debug_types sections onto VEC. | |
2903 | (load_cu): Use appropriate section. | |
2904 | (create_signatured_type_table_from_index): Add 'section' | |
2905 | argument. | |
2906 | (dwarf2_read_index): Only allow a single .debug_types section. | |
2907 | (dw2_get_file_names): Use appropriate section. | |
2908 | (read_type_comp_unit_head): Add 'section' argument. | |
2909 | (create_debug_types_hash_table): Loop over all .debug_types | |
2910 | sections. | |
2911 | (init_cu_die_reader): Use appropriate section. | |
2912 | (process_psymtab_comp_unit, load_partial_comp_unit) | |
2913 | (load_full_comp_unit, read_die_and_children, find_partial_die) | |
2914 | (lookup_die_type, determine_prefix, follow_die_offset): Update. | |
2915 | (lookup_signatured_type_at_offset): Add 'section' argument. | |
2916 | (read_signatured_type_at_offset): Add 'sect' argument. | |
2917 | (read_signatured_type): Use appropriate section. | |
2918 | (set_die_type, get_die_type_at_offset): Update. | |
2919 | (dwarf2_per_objfile_free): Free all .debug_types sections, and | |
2920 | VEC. | |
2921 | (write_psymtabs_to_index): Don't allow index with more than one | |
2922 | .debug_types section. | |
2923 | ||
918dd910 JK |
2924 | 2011-07-19 Jan Kratochvil <[email protected]> |
2925 | ||
2926 | Fix crash if referenced CU is aged out. | |
2927 | * dwarf2loc.c (per_cu_dwarf_call): New variable back_to, use to for | |
2928 | xfree of block.data. | |
2929 | (indirect_pieced_value): New variable back_to, use to for xfree of | |
2930 | baton.data. | |
2931 | (dwarf2_compile_expr_to_ax): New variable back_to, use to for xfree of | |
2932 | block.data. | |
2933 | * dwarf2read.c (dwarf2_find_base_address): New prototype. | |
2934 | (load_cu): New function from ... | |
2935 | (dw2_do_instantiate_symtab): ... the code here ... | |
2936 | (process_full_comp_unit): ... and here. | |
2937 | (dwarf2_fetch_die_location_block): Call load_cu first. Call xmemdup on | |
2938 | retval.data. | |
2939 | ||
0e37a63c JK |
2940 | 2011-07-19 Jan Kratochvil <[email protected]> |
2941 | ||
2942 | * dwarf2loc.c (indirect_pieced_value): Use check_typedef for VALUE's | |
2943 | type. | |
2944 | ||
7e324e48 GB |
2945 | 2011-07-19 Gary Benson <[email protected]> |
2946 | ||
2947 | * infrun.c (struct execution_control_state): New member | |
2948 | stop_func_filled_in. | |
2949 | (clear_stop_func, fill_in_stop_func): New functions. | |
2950 | (handle_inferior_event): Call clear_stop_func rather than | |
2951 | manipulating the execution control state directly. | |
2952 | Call fill_in_stop_func lazily as required rather than | |
2953 | directly calling find_pc_partial_function in all cases. | |
2954 | ||
d48323d8 TT |
2955 | 2011-07-18 Tom Tromey <[email protected]> |
2956 | ||
2957 | * dwarf2read.c (read_subrange_type): Use attr_form_is_block when | |
2958 | checking for variable-sized array. | |
2959 | ||
40591b7d JCD |
2960 | 2011-07-18 Jean-Charles Delay <[email protected]> |
2961 | ||
2962 | * varobj.h (varobj_languages): Add vlang_ada definition to the list | |
2963 | of supported languages. | |
2964 | * varobj.c: Add top definitions and basic implementation of the | |
2965 | following callbacks: ada_number_of_children, ada_name_of_variable, | |
2966 | ada_name_of_child, ada_path_expr_of_child, ada_value_of_root, | |
2967 | ada_value_of_child, ada_type_of_child, ada_value_of_variable. | |
2968 | (languages): Register Ada-specific callbacks. | |
2969 | (variable_language): Add the Ada case in the language setter switch. | |
2970 | ||
2e424e08 JK |
2971 | 2011-07-17 Jan Kratochvil <[email protected]> |
2972 | ||
2973 | * remote-mips.c (pmon_download): Fix ignored return value GCC warning. | |
2974 | ||
9e8b7a03 JK |
2975 | 2011-07-15 Jan Kratochvil <[email protected]> |
2976 | ||
2977 | Code cleanup. | |
2978 | * dwarf2-frame.c (dwarf2_frame_ctx_funcs): New. | |
2979 | (execute_stack_op): Use dwarf2_frame_ctx_funcs | |
2980 | * dwarf2expr.c (dwarf_get_base_type): Access get_base_type via funcs. | |
2981 | (execute_stack_op): Access read_reg, get_frame_base, read_mem, | |
2982 | get_frame_cfa, get_tls_address and dwarf_call via funcs. | |
2983 | * dwarf2expr.h (struct dwarf_expr_context): New forward declaration. | |
2984 | (struct dwarf_expr_context_funcs): New, move here methods from ... | |
2985 | (struct dwarf_expr_context): ... here. New fields funcs. | |
2986 | * dwarf2loc.c (dwarf_expr_dwarf_call): Access get_frame_pc via funcs. | |
2987 | (dwarf_expr_ctx_funcs): New. | |
2988 | (dwarf2_evaluate_loc_desc_full): Use dwarf_expr_ctx_funcs. | |
2989 | (needs_frame_dwarf_call): Access get_frame_pc via funcs. | |
2990 | (needs_frame_ctx_funcs): New. | |
2991 | (dwarf2_loc_desc_needs_frame): Use needs_frame_ctx_funcs. | |
2992 | ||
2b1260ab FM |
2993 | 2011-07-15 Fawzi Mohamed <[email protected]> |
2994 | ||
2995 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
2996 | ||
8bd90839 FM |
2997 | 2011-07-15 Fawzi Mohamed <[email protected]> |
2998 | ||
2999 | * dwarf2-frame.c (decode_frame_entry, decode_frame_entry_1): Ensure | |
3000 | that CIE pointer of an FDE really points to a CIE . | |
3001 | ||
953b98d1 HZ |
3002 | 2011-07-15 Hui Zhu <[email protected]> |
3003 | ||
3004 | * remote.c (remote_get_trace_status): Add comments. | |
3005 | ||
c8f2448a JK |
3006 | 2011-07-14 Jan Kratochvil <[email protected]> |
3007 | ||
3008 | Code cleanup - constify struct lval_funcs. | |
3009 | * dwarf2loc.c (pieced_value_funcs): Make it const. | |
3010 | * infrun.c (siginfo_value_funcs): Likewise. | |
3011 | * opencl-lang.c (opencl_value_funcs): Likewise. | |
3012 | * valops.c (value_assign, value_ind): Make the funcs variable const. | |
3013 | * value.c (struct value): Make location.computed.funcs target const. | |
3014 | Rearrange the comments. | |
3015 | (allocate_computed_value): Make the funcs parameter target const. | |
3016 | (value_computed_funcs): Return the funcs target const. | |
3017 | (value_free, value_copy, set_value_component_location): Make the funcs | |
3018 | variable const. | |
3019 | * value.h (allocate_computed_value): Make the funcs parameter target | |
3020 | const. | |
3021 | (value_computed_funcs): Return the funcs target const. | |
3022 | * windows-tdep.c (tlb_value_funcs): Make it const. | |
3023 | ||
f652de6f HZ |
3024 | 2011-07-14 Hui Zhu <[email protected]> |
3025 | ||
3026 | * remote.c (remote_get_trace_status): Initialize p. | |
3027 | ||
67f41397 JK |
3028 | 2011-07-13 Jan Kratochvil <[email protected]> |
3029 | ||
3030 | Work around kgdb. | |
3031 | * remote.c (remote_get_trace_status): New variable ex. Put | |
3032 | remote_get_noisy_reply into TRY_CATCH. Call exception_fprintf for it. | |
3033 | ||
d1b66e6d TT |
3034 | 2011-07-13 Tom Tromey <[email protected]> |
3035 | ||
3036 | * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_regval_type>: Use | |
3037 | value_from_contents for final conversion. | |
3038 | ||
1632a688 JK |
3039 | 2011-07-13 Jan Kratochvil <[email protected]> |
3040 | ||
3041 | Code cleanup. | |
3042 | * dwarf2loc.c (dwarf_expr_frame_base_1, dwarf2_evaluate_loc_desc_full): | |
3043 | Indent prototypes so they do not get into tags. | |
3044 | ||
a7035dbb JK |
3045 | 2011-07-12 Jan Kratochvil <[email protected]> |
3046 | ||
3047 | Code cleanup making also optimized out values lazy. | |
3048 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use | |
3049 | allocate_optimized_out_value. Twice. | |
3050 | (loclist_read_variable) Use allocate_optimized_out_value. Once. | |
3051 | * findvar.c (read_var_value): Likewise. | |
3052 | * value.c (allocate_optimized_out_value): New function. | |
3053 | * value.h (allocate_optimized_out_value): New declaration. | |
3054 | ||
d07ed419 JK |
3055 | 2011-07-12 Jan Kratochvil <[email protected]> |
3056 | ||
3057 | Fix occasional crash of CTRL-C during DWARF read in. | |
3058 | * dwarf2read.c (dwarf2_mark_helper): Return on NULL CU. | |
3059 | ||
86d31898 TT |
3060 | 2011-07-11 Tom Tromey <[email protected]> |
3061 | ||
3062 | * regcache.c (struct regcache_descr): Fix typo. | |
3063 | * i387-tdep.c (i387_supply_xsave): Fix typo. | |
3064 | ||
2ab95328 TT |
3065 | 2011-07-11 Tom Tromey <[email protected]> |
3066 | ||
3067 | * dwarf2read.c (handle_DW_AT_stmt_list): New function. | |
3068 | (read_file_scope, read_type_unit_scope): Use it. | |
3069 | ||
04ad99e6 JK |
3070 | 2011-07-11 Jan Kratochvil <[email protected]> |
3071 | ||
3072 | * dwarf2expr.c (read_sleb128): Fix signed extension overflowing host | |
3073 | `int'. | |
3074 | ||
713389e0 PM |
3075 | 2011-07-11 Phil Muldoon <[email protected]> |
3076 | ||
3077 | PR python/12438 | |
3078 | * python/python.c: Set gdbpy_should_print_stack default to off. | |
3079 | (set_python): Deprecate maint set python print-stack to | |
3080 | class_deprecate. | |
3081 | (_initialize_python): Deprecate maint set/show python print-stack. | |
3082 | Add new prefix command, python. Add new setting, print-backtrace. | |
3083 | * NEWS: Document set python print-stack. Document default change. | |
3084 | ||
754eadd1 PM |
3085 | 2011-07-11 Phil Muldoon <[email protected]> |
3086 | ||
3087 | * python/py-inferior.c (infpy_dealloc): New function. | |
3088 | (inferior_to_inferior_object): Return a new object, or a | |
3089 | new reference to the existing object. | |
3090 | (find_thread_object): Cleanup references to inferior. | |
3091 | (delete_thread_object): Ditto. | |
3092 | * python/py-infthread.c (create_thread_object): Do not increment | |
3093 | inferior reference count. | |
3094 | ||
5e44ecb3 TT |
3095 | 2011-07-08 Tom Tromey <[email protected]> |
3096 | ||
3097 | * dwarf2loc.c (locexpr_regname): New function. | |
3098 | (locexpr_describe_location_piece): Use it. | |
3099 | (disassemble_dwarf_expression): Add per_cu argument. Use | |
3100 | locexpr_regname. | |
3101 | <DW_OP_GNU_deref_type, DW_OP_GNU_const_type, | |
3102 | DW_OP_GNU_regval_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret>: | |
3103 | New cases. | |
3104 | (locexpr_describe_location_1): Add per_cu argument. | |
3105 | (locexpr_describe_location): Update. | |
3106 | (loclist_describe_location): Update. | |
3107 | ||
e0e9434c TT |
3108 | 2011-07-08 Tom Tromey <[email protected]> |
3109 | ||
3110 | * dwarf2expr.c (execute_stack_op): Add QUIT. | |
3111 | ||
26afc0d7 HZ |
3112 | 2011-07-07 Hui Zhu <[email protected]> |
3113 | ||
3114 | Revert: | |
3115 | 2011-07-06 Hui Zhu <[email protected]> | |
3116 | * remote.c (remote_start_remote): Add TRY_CATCH for | |
3117 | remote_get_trace_status. | |
3118 | * tracepoint.c (disconnect_tracing): Ditto. | |
3119 | ||
a40a111f AB |
3120 | 2011-07-07 Andrew Burgess <[email protected]> |
3121 | ||
3122 | * cli/cli-setshow.c (do_setshow_command): Display var_zinteger | |
3123 | variables as signed, not unsigned. | |
3124 | ||
e2bd3b15 JB |
3125 | 2011-07-06 Joel Brobecker <[email protected]> |
3126 | ||
3127 | * jit.c (jit_inferior_init): Reformat forward declaration. | |
3128 | ||
e3d961fe | 3129 | 2011-07-06 Matt Rice <[email protected]> |
3130 | ||
3131 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
3132 | ||
0f3428f0 HZ |
3133 | 2011-07-06 Hui Zhu <[email protected]> |
3134 | ||
3135 | * remote.c (remote_start_remote): Add TRY_CATCH for | |
3136 | remote_get_trace_status. | |
3137 | * tracepoint.c (disconnect_tracing): Ditto. | |
3138 | ||
fc9f3a69 TT |
3139 | 2011-07-05 Tom Tromey <[email protected]> |
3140 | ||
3141 | * symtab.c (operator_chars): Now static. | |
3142 | * linespec.c (operator_chars): Don't declare. | |
3143 | ||
26e519b9 TJB |
3144 | 2011-07-05 Thiago Jung Bauermann <[email protected]> |
3145 | ||
3146 | * ui-out.h (ui_out_field_core_addr): Fix typo in comment. | |
3147 | ||
eb2a6f42 TT |
3148 | 2011-07-05 Tom Tromey <[email protected]> |
3149 | ||
3150 | * gnu-v3-abi.c (gnuv3_rtti_type): Check TYPE_CPLUS_REALLY_JAVA. | |
3151 | * gdbtypes.h (struct cplus_struct_type) <is_java>: New field. | |
3152 | (TYPE_CPLUS_REALLY_JAVA): New macro. | |
3153 | * dwarf2read.c (process_structure_scope): Set | |
3154 | TYPE_CPLUS_REALLY_JAVA. | |
3155 | ||
21083d0f | 3156 | 2011-07-05 Thiago Jung Bauermann <[email protected]> |
177b42fe TJB |
3157 | |
3158 | * ada-lang.c: Fix typos. | |
3159 | * amd64-tdep.c: Likewise. | |
3160 | * breakpoint.c: Likewise. | |
3161 | * cli/cli-decode.c: Likewise. | |
3162 | * findcmd.c: Likewise. | |
3163 | * inline-frame.c: Likewise. | |
3164 | * mi/mi-main.c: Likewise. | |
3165 | * minsyms.c: Likewise. | |
3166 | * monitor.c: Likewise. | |
3167 | * monitor.h: Likewise. | |
3168 | * prologue-value.c: Likewise. | |
3169 | * reverse.c: Likewise. | |
3170 | * s390-tdep.c: Likewise. | |
3171 | ||
3b2a0cf2 JB |
3172 | 2011-07-06 Paul Pluzhnikov <[email protected]> |
3173 | ||
3174 | * jit.c (jit_inferior_init): Forward declare. | |
3175 | (jit_breakpoint_re_set_internal): Call jit_inferior_init. | |
3176 | ||
efae1d92 JB |
3177 | 2011-07-04 Joel Brobecker <[email protected]> |
3178 | ||
3179 | * osabi.c (generic_elf_osabi_sniffer): Minor comment reformatting. | |
3180 | ||
6040a59d JB |
3181 | 2011-07-04 Tristan Gingold <[email protected]> |
3182 | ||
3183 | * ada-tasks.c (KNOWN_TASKS_LIST): New macro. | |
3184 | (tcb_fieldno): Add activation_link field. | |
3185 | (get_known_tasks_addr): Moved and rewritten. | |
3186 | (get_tcb_types_info): Set activation_link field. | |
3187 | (read_known_tasks_array): Add parameter. Rewritten. | |
3188 | (read_known_tasks_list): New function. | |
3189 | (read_known_tasks): New function. | |
3190 | (ada_build_task_list): Call read_known_tasks instead of | |
3191 | read_known_tasks_array. | |
3192 | * ravenscar-thread.c: Add first_task_name constant. | |
3193 | (has_ravenscar_runtime): Check for task list too. | |
3194 | ||
cb741e45 JB |
3195 | 2011-07-04 Tristan Gingold <[email protected]> |
3196 | ||
3197 | * ada-tasks.c: Renames fieldno to actb_fieldno. | |
3198 | (ada_get_task_number): Indentation. | |
3199 | (get_tcb_types_info): Remove all parameters. Write directly | |
3200 | the globals. | |
3201 | (ptid_from_atcb_common): Adjust. | |
3202 | (read_atcb): Adjust. | |
3203 | ||
7475b06c TJB |
3204 | 2011-07-04 Thiago Jung Bauermann <[email protected]> |
3205 | ||
3206 | * symtab.c (in_prologue): Remove mention of ppc's refine_prologue_limit. | |
3207 | ||
15230f37 TJB |
3208 | 2011-07-04 Thiago Jung Bauermann <[email protected]> |
3209 | ||
3210 | * ui-out.c (ui_out_field_core_addr): Mention that the function | |
3211 | description is in the header file. | |
3212 | * ui-out.h (ui_out_field_core_addr): Document function. | |
3213 | ||
65743aba TJB |
3214 | 2011-07-04 Thiago Jung Bauermann <[email protected]> |
3215 | ||
3216 | * ui-out.c (ui_out_get_field_separator): Remove unused function. | |
3217 | * ui-out.h (ui_out_get_field_separator): Remove prototype. | |
3218 | ||
c37a5aab TJB |
3219 | 2011-07-04 Thiago Jung Bauermann <[email protected]> |
3220 | ||
3221 | * symtab.c (expand_line_sal): Remove empty line. | |
3222 | ||
59adf69e TS |
3223 | 2011-07-04 Thomas Schwinge <[email protected]> |
3224 | ||
3225 | * osabi.c (generic_elf_osabi_sniffer) <ELFOSABI_GNU>: Handle in the | |
3226 | same way as ELFOSABI_NONE. | |
3227 | <ELFOSABI_LINUX, ELFOSABI_HURD>: Remove cases. | |
3228 | ||
e5dd4106 TJB |
3229 | 2011-07-04 Thiago Jung Bauermann <[email protected]> |
3230 | ||
3231 | * breakpoint.c: Fix typos in comments. | |
3232 | * linespec.c: Likewise. | |
3233 | * symtab.c: Likewise. | |
3234 | ||
d40102a1 JB |
3235 | 2011-07-04 Joel Brobecker <[email protected]> |
3236 | ||
3237 | * dwarf2-frame.c (dwarf2_build_frame_info): Do not load .eh_frame | |
3238 | section in separate object files. | |
3239 | ||
2f741504 JK |
3240 | 2011-07-04 Jan Kratochvil <[email protected]> |
3241 | ||
3242 | Fix false GCC warning. | |
3243 | * linespec.c (decode_line_1): Initialize values. | |
3244 | ||
418c7cf7 JK |
3245 | 2011-07-01 Jan Kratochvil <[email protected]> |
3246 | ||
3247 | * linespec.c (find_method): Accept the function type automatically only | |
3248 | if it was specified with parameter types. | |
3249 | ||
3d50dd94 JK |
3250 | 2011-07-01 Jan Kratochvil <[email protected]> |
3251 | ||
3252 | Stop on first linespec terminator instead of eating what we can. | |
3253 | * linespec.c (is_linespec_boundary): New function. | |
3254 | (name_end): Remove function. | |
3255 | (keep_name_info): New parameter on_boundary, replace the body. | |
3256 | (decode_line_1): Provide the parameter to keep_name_info. | |
3257 | (decode_compound): Likewise. Drop the trailing java return type | |
3258 | handling. Twice. | |
3259 | ||
dcf9f4ab JK |
3260 | 2011-07-01 Jan Kratochvil <[email protected]> |
3261 | ||
3262 | Fall back linespec to minimal symbols. | |
3263 | * linespec.c (decode_line_1): New variable ex, saved_argptr. Protect | |
3264 | decode_compound by TRY_CATCH, fall back on minsyms if it failed. | |
3265 | (find_method, symbol_found): Change error to cplusplus_error. | |
3266 | ||
3f542ed1 JK |
3267 | 2011-07-01 Jan Kratochvil <[email protected]> |
3268 | ||
bc68c4e5 | 3269 | * symtab.c (symbol_find_demangled_name): Remove DMGL_VERBOSE. |
3f542ed1 | 3270 | |
900e11f9 JK |
3271 | 2011-07-01 Jan Kratochvil <[email protected]> |
3272 | Tom Tromey <[email protected]> | |
3273 | ||
3274 | * dwarf2read.c (check_physname): New variable. | |
3275 | (dwarf2_physname): Prefer DW_AT_linkage_name over dwarf2_compute_name. | |
3276 | (show_check_physname): New function. | |
3277 | (_initialize_dwarf2_read): Add `check-physname' for check_physname. | |
3278 | ||
2301925d JB |
3279 | 2011-07-01 Joel Brobecker <[email protected]> |
3280 | ||
3281 | * machoread.c (macho_symfile_read): Delete OBE comment. | |
3282 | ||
38947cca JB |
3283 | 2011-07-01 Joel Brobecker <[email protected]> |
3284 | ||
3285 | * machoread.c (struct macho_oso_data): Delete. | |
3286 | (current_oso): Delete. | |
3287 | (macho_relocate_common_syms): New function, mostly extracted | |
3288 | out of | |
3289 | (macho_add_oso_symfile): Call macho_relocate_common_syms. | |
3290 | Remove code that sets and unset current_oso. | |
3291 | (macho_symfile_relocate): Delete handling of common symbols, | |
3292 | now moved to macho_relocate_common_syms. | |
3293 | ||
a7aa0d73 JB |
3294 | 2011-07-01 Joel Brobecker <[email protected]> |
3295 | ||
3296 | * darwin-nat.c (darwin_ptrace): Add documentation. | |
3297 | Set errno to zero before calling ptrace. If ptrace returns | |
3298 | -1 and errno is zero, then change then return zero. | |
3299 | (darwin_kill_inferior): Issue a warning instead of triggering | |
3300 | a failed assertion when the PT_KILL ptrace operations returned | |
3301 | nonzero. | |
3302 | ||
5e9bc145 JB |
3303 | 2011-07-01 Joel Brobecker <[email protected]> |
3304 | ||
3305 | * darwin-nat.c (darwin_detach): Call darwin_resume_inferior | |
3306 | only when inf->private->no_ptrace. | |
3307 | ||
00eb2c4a JB |
3308 | 2011-07-01 Joel Brobecker <[email protected]> |
3309 | ||
3310 | * ada-lang.c (print_it_exception): Print temporary catchpoints | |
3311 | as "Temporary catchpoint". | |
3312 | (print_mention_exception): Likewise. | |
3313 | ||
127c81bc TT |
3314 | 2011-07-01 Tom Tromey <[email protected]> |
3315 | ||
3316 | * jv-lang.c (java_language_defn): Use java_printchar, | |
3317 | java_printstr. | |
3318 | (java_get_encoding): New function. | |
3319 | (java_emit_char): Use generic_emit_char. | |
3320 | (java_printchar): New function. | |
3321 | (java_printstr): Likewise. | |
3322 | ||
25552254 JB |
3323 | 2011-07-01 Joel Brobecker <[email protected]> |
3324 | ||
3325 | * ada-typeprint.c (print_record_type): If unable to decode | |
3326 | the name of the parent type, use the encoded name. | |
3327 | ||
d2d43431 JB |
3328 | 2011-07-01 Jean-Charles Delay <[email protected]> |
3329 | ||
3330 | * ada-typeprint.c (ada_print_type): Fix both PAD type and | |
3331 | pointer to constrained packed array type output. | |
3332 | * ada-valprint.c (ada_val_print_1): Fix pointer to constrained | |
3333 | packed array output. | |
3334 | ||
54ae186f JB |
3335 | 2011-07-01 Jean-Charles Delay <[email protected]> |
3336 | ||
3337 | * ada-typeprint.c (print_array_type): removed if condition on show | |
3338 | being negative for bounds printing. | |
3339 | ||
8f17729f JB |
3340 | 2011-07-01 Joel Brobecker <[email protected]> |
3341 | ||
3342 | * ada-lang.c (ada_identical_enum_types_p): New function. | |
3343 | (symbols_are_identical_enums): New function. | |
3344 | (remove_extra_symbols): Do nothing if NSYMS < 2. | |
3345 | Use symbols_are_identical_enums. | |
3346 | ||
f5aa6869 JB |
3347 | 2011-07-01 Joel Brobecker <[email protected]> |
3348 | ||
3349 | * ada-valprint.c (ada_value_print): Handle typedefs. | |
3350 | ||
8f465ea7 JB |
3351 | 2011-07-01 Joel Brobecker <[email protected]> |
3352 | ||
3353 | * ada-lang.c (ada_evaluate_subexp): Add missing word in comment. | |
3354 | ||
828292f2 JB |
3355 | 2011-07-01 Eric Botcazou <[email protected]> |
3356 | ||
3357 | * ada-lang.c (thin_descriptor_type): Deal with typedefs. | |
3358 | (decode_constrained_packed_array): Likewise. | |
3359 | (ada_evaluate_subexp) <TERNOP_SLICE>: Likewise. | |
3360 | ||
18920c42 JB |
3361 | 2011-07-01 Joel Brobecker <[email protected]> |
3362 | ||
3363 | * ada-exp.y (convert_char_literal): Handle typedef types. | |
3364 | ||
c90092fe JB |
3365 | 2011-07-01 Joel Brobecker <[email protected]> |
3366 | ||
3367 | * ada-lang.c (ada_remove_trailing_digits): Expand documentation. | |
3368 | ||
f748fb40 TT |
3369 | 2011-06-30 Tom Tromey <[email protected]> |
3370 | ||
3371 | * varobj.c (varobj_create): Call do_cleanups on early exit path. | |
3372 | * valops.c (find_overload_match): Call do_cleanups on early exit | |
3373 | path. | |
3374 | * solib.c (solib_find): Call do_cleanups on early exit path. | |
3375 | ||
3bb47e8b TT |
3376 | 2011-06-30 Tom Tromey <[email protected]> |
3377 | ||
3378 | * symfile-mem.c (symbol_file_add_from_memory): Call do_cleanups. | |
3379 | * solib-svr4.c (open_symbol_file_object): Call do_cleanups on all | |
3380 | return paths. Defer final do_cleanups until last return. | |
3381 | * arm-tdep.c (arm_exidx_new_objfile): Make null cleanup after | |
3382 | early return. | |
3383 | ||
4727bad3 TT |
3384 | 2011-06-30 Tom Tromey <[email protected]> |
3385 | ||
3386 | * Makefile.in (SUBDIR_MI_CFLAGS): Don't add -DMI_OUT=1. | |
3387 | ||
bb361dbf AB |
3388 | 2011-06-30 Andrew Burgess <[email protected]> |
3389 | ||
3390 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
3391 | ||
e0d00bc7 JK |
3392 | 2011-06-29 Jan Kratochvil <[email protected]> |
3393 | ||
3394 | Disable epilogue unwinders on recent GCCs. | |
3395 | * amd64-tdep.c (amd64_in_function_epilogue_p): New variable symtab, | |
3396 | initialize it, return 0 on EPILOGUE_UNWIND_VALID. | |
3397 | * dwarf2read.c (process_full_comp_unit): Initialize | |
3398 | EPILOGUE_UNWIND_VALID. | |
3399 | * i386-tdep.c (i386_in_function_epilogue_p): New variable symtab, | |
3400 | initialize it, return 0 on EPILOGUE_UNWIND_VALID. | |
3401 | * symtab.h (struct symtab): New field epilogue_unwind_valid. | |
3402 | ||
4632c0d0 JK |
3403 | 2011-06-29 Jan Kratochvil <[email protected]> |
3404 | ||
3405 | Code cleanup - reformatting. | |
3406 | * dwarf2read.c (producer_is_gcc_ge_4_0): Rename to ... | |
3407 | (producer_is_gcc_ge_4): ... here, change the return value. | |
3408 | (process_full_comp_unit): New variable gcc_4_minor, adjust the value | |
3409 | interpretation. | |
3410 | ||
32019081 JK |
3411 | 2011-06-29 Jan Kratochvil <[email protected]> |
3412 | ||
3413 | Fix non-only rename list for Fortran modules import. | |
3414 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Adjust the | |
3415 | cp_add_using_directive caller. | |
3416 | (cp_add_using_directive): New parameter excludes, describe it. New | |
3417 | variables ix and param. Compare if also excludes match. Allocate NEW | |
3418 | with variable size, initialize EXCLUDES there. | |
3419 | (cp_lookup_symbol_imports): New variable excludep, test | |
3420 | current->EXCLUDES with it. | |
3421 | * cp-support.h: Include vec.h. | |
3422 | (struct using_direct): New field excludes, describe it. | |
3423 | (DEF_VEC_P (const_char_ptr)): New. | |
3424 | (cp_add_using_directive): New parameter excludes. | |
3425 | * defs.h (const_char_ptr): New typedef. | |
3426 | * dwarf2read.c (read_import_statement): New variables child_die, | |
3427 | excludes and cleanups, read in excludes. | |
3428 | (read_namespace): Adjust the cp_add_using_directive caller. | |
3429 | ||
70c622a3 JK |
3430 | 2011-06-29 Jan Kratochvil <[email protected]> |
3431 | ||
3432 | Code cleanup. | |
3433 | * cp-namespace.c (cp_add_using_directive): Turn positive comparison to | |
3434 | negative comparisons. | |
3435 | ||
39c4d40a TT |
3436 | 2011-06-29 André Pönitz <[email protected]> |
3437 | ||
3438 | * mi/mi-main.c (mi_cmd_list_features): Emit | |
3439 | breakpoint-notifications. | |
3440 | ||
3b2b8fea TT |
3441 | 2011-06-29 Tom Tromey <[email protected]> |
3442 | ||
3443 | PR fortran/10036: | |
3444 | * valprint.h (generic_emit_char, generic_printstr): Declare. | |
3445 | * valprint.c (wchar_printable, append_string_as_wide) | |
3446 | (print_wchar): Move from c-lang.c. | |
3447 | (generic_emit_char): New function; mostly taken from c_emit_char. | |
3448 | (generic_printstr): New function; mostly taken from c_printstr. | |
3449 | * f-valprint.c (f_val_print) <TYPE_CODE_ARRAY>: Handle strings | |
3450 | represented as arrays. | |
3451 | <TYPE_CODE_CHAR>: Treat as TYPE_CODE_INT; recognize as character | |
3452 | type. | |
3453 | * f-typeprint.c (f_type_print_base) <TYPE_CODE_CHAR>: Treat | |
3454 | identically to TYPE_CODE_INT. | |
3455 | * f-lang.c (f_get_encoding): New function. | |
3456 | (f_emit_char): Use generic_emit_char. | |
3457 | (f_printchar): Replace comment. | |
3458 | (f_printstr): Use generic_printstr. | |
3459 | * dwarf2read.c (read_base_type) <DW_ATE_unsigned>: Handle Fortran | |
3460 | "character" types specially. | |
3461 | <DW_ATE_signed_char, DW_ATE_unsigned_char>: Make TYPE_CODE_CHAR | |
3462 | for Fortran. | |
3463 | * c-lang.c (wchar_printable, append_string_as_wide, print_wchar): | |
3464 | Move to valprint.c | |
3465 | (c_emit_char): Call generic_emit_char. | |
3466 | (c_printstr): Call generic_printstr. | |
3467 | ||
168e6d44 GB |
3468 | 2011-06-29 Gary Benson <[email protected]> |
3469 | ||
3470 | * breakpoint.c (bpstat_what): Removed duplicated case. | |
3471 | ||
1c033f8c TT |
3472 | 2011-06-28 Tom Tromey <[email protected]> |
3473 | ||
3474 | * python/python-internal.h (PY_SSIZE_T_CLEAN): Define. | |
3475 | ||
5fe41fbf TT |
3476 | 2011-06-27 Tom Tromey <[email protected]> |
3477 | ||
3478 | * valops.c (find_overload_match): Call do_cleanups before early | |
3479 | return. | |
3480 | * top.c (execute_command): Call do_cleanups before early return. | |
3481 | (command_loop): Likewise. | |
3482 | * stack.c (backtrace_command): Make a null cleanup early. Don't | |
3483 | conditionally call do_cleanups. | |
3484 | * python/py-value.c (TRY_CATCH): Move cleanup handling into | |
3485 | TRY_CATCH. | |
3486 | * python/py-breakpoint.c (gdbpy_breakpoint_has_py_cond): Rearrange | |
3487 | so cleanups are always run. | |
3488 | * mi/mi-cmd-var.c (mi_cmd_var_delete): Reset old_cleanups. | |
3489 | * findcmd.c (parse_find_args): Call do_cleanups on early return | |
3490 | path. | |
3491 | * dbxread.c (elfstab_build_psymtabs): Make a null cleanup early. | |
3492 | Don't conditionally call do_cleanups. | |
3493 | * cli/cli-script.c (execute_user_command): Initialize 'old_chain' | |
3494 | later. | |
3495 | ||
e26bd57d EB |
3496 | 2011-06-27 Eric Botcazou <[email protected]> |
3497 | ||
3498 | * MAINTAINERS (Write After Approval): Use default email address. | |
3499 | ||
6c3097fc JB |
3500 | 2011-06-27 Joel Brobecker <[email protected]> |
3501 | ||
3502 | * MAINTAINERS (Write After Approval): Add Eric Botcazou. | |
3503 | ||
369c397b JB |
3504 | 2011-06-27 Eric Botcazou <[email protected]> |
3505 | ||
3506 | * sparc-tdep.h (struct sparc_frame_cache): Add frame_offset, | |
3507 | saved_regs_mask and copied_regs_mask fields. | |
3508 | (sparc_record_save_insn): New prototype. | |
3509 | * sparc-tdep.c (sparc_alloc_frame_cache): Initialize the new fields. | |
3510 | (sparc_record_save_insn): New function. | |
3511 | (sparc_analyze_prologue): Add head comment. Recognize store insns | |
3512 | of call-saved registers. Use OFFSET consistently. Recognize flat | |
3513 | frames and cache their settings. | |
3514 | (sparc32_skip_prologue): Handle flat frames. | |
3515 | (sparc_frame_cache): Add frame_offset to the base address. | |
3516 | (sparc32_frame_cache): Adjust to new frame description. | |
3517 | (sparc32_frame_prev_register): Likewise. | |
3518 | * sparc64-tdep.c (sparc64_frame_prev_register): Likewise. | |
3519 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_cache): Likewise. | |
3520 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_cache): Likewise. | |
3521 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_cache): Force the | |
3522 | frame by calling sparc_record_save_insn. | |
3523 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_cache): Likewise. | |
3524 | * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_cache): Likewise. | |
3525 | * sparc64obsd-tdep.c (sparc64obsd_frame_cache): Likewise. | |
3526 | ||
b315ab21 TG |
3527 | 2011-06-27 Tristan Gingold <[email protected]> |
3528 | ||
3529 | * dwarf2read.c (struct dwarf2_section_info): Replace was_mmapped | |
3530 | field by map_addr and map_len. | |
3531 | (dwarf2_read_section): Adjust for the new bfd_mmap api. | |
3532 | (munmap_section_buffer): Likewise. | |
3533 | ||
ddd49eee TT |
3534 | 2011-06-24 Tom Tromey <[email protected]> |
3535 | ||
3536 | * varobj.c (update_dynamic_varobj_children): Make 'name' const. | |
3537 | * symtab.h (lookup_struct, lookup_union, lookup_enum): Update. | |
3538 | * python/python.c (gdbpy_parameter): Make 'arg' const. | |
3539 | (execute_gdb_command): Likewise. | |
3540 | (gdbpy_decode_line): Likewise. Copy it. | |
3541 | (gdbpy_parse_and_eval): Make 'expr_string' const. Copy it. | |
3542 | (gdbpy_write): Make 'arg' const. | |
3543 | * python/py-type.c (typy_lookup_typename): Make 'type_name' | |
3544 | const. | |
3545 | (gdbpy_lookup_type): Likewise. | |
3546 | * python/py-prettyprint.c (print_children): Make 'name' const. | |
3547 | * python/py-param.c (parmpy_init): Make 'name' const. Copy it. | |
3548 | * python/py-inferior.c (infpy_write_memory): Make 'buf_len' a | |
3549 | Py_ssize_t. | |
3550 | * python/py-function.c (fnpy_init): Make 'name' const. | |
3551 | * python/py-cmd.c (cmdpy_init): Make 'name' const. Copy it. | |
3552 | (gdbpy_string_to_argv): Make 'input' const. | |
3553 | * python/py-breakpoint.c (bppy_init): Make 'spec' const. Copy | |
3554 | it. | |
3555 | * gdbtypes.h (lookup_typename): Update. | |
3556 | * gdbtypes.c (lookup_typename): Make 'name' const. | |
3557 | (lookup_struct): Likewise. | |
3558 | (lookup_union): Likewise. | |
3559 | (lookup_enum): Likewise. | |
3560 | ||
5998129b TT |
3561 | 2011-06-24 Tom Tromey <[email protected]> |
3562 | ||
3563 | * Makefile.in (HFILES_NO_SRCDIR): Add "common/" to | |
3564 | gdb_thread_db.h. Move all common/ entries to be together. | |
3565 | (TAGS): Don't depend on DEPFILES. | |
3566 | ||
6e586cc5 YQ |
3567 | 2011-06-23 Yao Qi <[email protected]> |
3568 | ||
3569 | * infrun.c (start_remote): Move call init_wait_for_inferior to ... | |
3570 | * remote.c (remote_start_remote): ... here. | |
3571 | * monitor.c (monitor_open): ... here. | |
3572 | ||
86c3c1fc AB |
3573 | 2011-06-23 Andrew Burgess <[email protected]> |
3574 | ||
3575 | * gdbtypes.c (append_composite_type_field_aligned): Fix | |
3576 | calculation of bit position based on alignment. | |
3577 | ||
28010a5d PA |
3578 | 2011-06-22 Pedro Alves <[email protected]> |
3579 | ||
3580 | * breakpoint.c (bpstat_stop_status): Call the check_status | |
3581 | breakpoint_ops method. | |
3582 | (print_one_breakpoint_location): Also print the condition for Ada | |
3583 | exception catchpoints. | |
3584 | (allocate_bp_location): New, factored out from | |
3585 | allocate_bp_location. | |
3586 | (allocate_bp_location): Adjust. Call the owner breakpoint's | |
3587 | allocate_location method, if there is one. | |
3588 | (free_bp_location): Call the locations's dtor method, if there is | |
3589 | one. | |
3590 | (init_raw_breakpoint_without_location): New breakpoint_ops | |
3591 | parameter. Use it. | |
3592 | (set_raw_breakpoint_without_location): Adjust. | |
3593 | (init_raw_breakpoint): New breakpoint_ops parameter. Pass it down. | |
3594 | (set_raw_breakpoint): Adjust. | |
3595 | (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops) | |
3596 | (catch_syscall_breakpoint_ops): Install NULL allocate_location, | |
3597 | re_set and check_status methods. | |
3598 | (init_catchpoint): Don't memset, initialize thread, addr_string | |
3599 | and enable_state. Pass the ops down to init_raw_breakpoint. | |
3600 | (install_catchpoint): Rename to ... | |
3601 | (install_breakpoint): ... this, and make extern. | |
3602 | (create_fork_vfork_event_catchpoint): Adjust. | |
3603 | (catch_exec_breakpoint_ops): Install NULL allocate_location, | |
3604 | re_set and check_status methods. | |
3605 | (create_syscall_event_catchpoint): Adjust. | |
3606 | (ranged_breakpoint_ops, watchpoint_breakpoint_ops) | |
3607 | (masked_watchpoint_breakpoint_ops): Install NULL | |
3608 | allocate_location, re_set and check_status methods. | |
3609 | (catch_exec_command_1): Adjust. | |
3610 | (gnu_v3_exception_catchpoint_ops): Install NULL allocate_location, | |
3611 | re_set and check_status methods. | |
3612 | (create_ada_exception_breakpoint): Rename to ... | |
3613 | (init_ada_exception_breakpoint): ... this. Add a struct | |
3614 | breakpoint parameter, and delete the exp_string, cond_string and | |
3615 | cond parameters. Use init_raw_breakpoint, and don't install or | |
3616 | mention the breakpoint yet. Don't clear breakpoint fields that | |
3617 | init_raw_breakpoint already clears. | |
3618 | (re_set_breakpoint): Delete, split into ... | |
3619 | (breakpoint_re_set_default, prepare_re_set_context): ... these new | |
3620 | functions. | |
3621 | (breakpoint_re_set_one): Call the breakpoint's | |
3622 | breakpoint_ops->re_set implementation, if there's one. Adjust. | |
3623 | * breakpoint.h: Forward declare struct bpstats and struct bp_location. | |
3624 | (struct bp_location_ops): New type. | |
3625 | (struct bp_location): New field `ops'. | |
3626 | (struct breakpoint_ops): New `allocate_location', `re_set' and | |
3627 | `check_status' fields. Make `breakpoint_hit''s description match | |
3628 | reality. | |
3629 | (init_bp_location): Declare. | |
3630 | (breakpoint_re_set_default): Declare. | |
3631 | (create_ada_exception_breakpoint): Rename to ... | |
3632 | (init_ada_exception_breakpoint): ... this. Add a struct | |
3633 | breakpoint parameter, and delete the exp_string, cond_string and | |
3634 | cond parameters. | |
3635 | (install_breakpoint): Declare. | |
3636 | * ada-lang.c: Include exceptions.h. | |
3637 | <Ada exceptions description>: Update. | |
3638 | (struct ada_catchpoint_location): New type. | |
3639 | (ada_catchpoint_location_dtor): New function. | |
3640 | (ada_catchpoint_location_ops): New global. | |
3641 | (ada_catchpoint): New type. | |
3642 | (create_excep_cond_exprs): New function. | |
3643 | (dtor_exception, allocate_location_exception, re_set_exception) | |
3644 | (should_stop_exception, check_status_exception): New functions. | |
3645 | (print_one_exception, print_mention_exception) | |
3646 | (print_recreate_exception): Adjust. | |
3647 | (dtor_catch_exception, allocate_location_catch_exception) | |
3648 | (re_set_catch_exception, check_status_catch_exception): New | |
3649 | functions. | |
3650 | (catch_exception_breakpoint_ops): Install them. | |
3651 | (dtor_catch_exception_unhandled) | |
3652 | (allocate_location_catch_exception_unhandled) | |
3653 | (re_set_catch_exception_unhandled) | |
3654 | (check_status_catch_exception_unhandled): New functions. | |
3655 | (catch_exception_unhandled_breakpoint_ops): Install them. | |
3656 | (dtor_catch_assert, allocate_location_catch_assert) | |
3657 | (re_set_catch_assert, check_status_catch_assert): New functions. | |
3658 | (catch_assert_breakpoint_ops): Install them. | |
3659 | (ada_exception_catchpoint_p): Delete. | |
3660 | (catch_ada_exception_command_split) | |
3661 | (ada_exception_catchpoint_cond_string): Rename exp_string | |
3662 | parameter to excep_string. Adjust. | |
3663 | (ada_parse_catchpoint_condition): Delete. | |
3664 | (ada_exception_sal): Rename the exp_string parameter to | |
3665 | excep_string. Delete the cond_string and cond parameters. | |
3666 | Adjust. | |
3667 | (ada_decode_exception_location): Rename the exp_string parameter | |
3668 | to excep_string. Delete the cond_string and cond parameters. | |
3669 | Adjust. | |
3670 | (create_ada_exception_catchpoint): New function. | |
3671 | (catch_ada_exception_command, ada_decode_assert_location) | |
3672 | (catch_assert_command): Adjust. | |
3673 | * ada-lang.h (ada_exception_catchpoint_p): Delete declaration. | |
3674 | ||
9ac4176b PA |
3675 | 2011-06-22 Pedro Alves <[email protected]> |
3676 | ||
3677 | * ada-lang.c: Include arch-utils.h. | |
3678 | (ada_decode_exception_location): Make static. | |
3679 | (catch_ada_exception_command): Moved here from breakpoint.c. | |
3680 | (ada_decode_assert_location): Make static. | |
3681 | (catch_assert_command): Moved here from breakpoint.c. | |
3682 | (_initialize_ada_lang): Install the exception and assert | |
3683 | catchpoint commands here. | |
3684 | * ada-lang.h (ada_decode_exception_location) | |
3685 | (ada_decode_assert_location): Delete declarations. | |
3686 | * breakpoint.c (CATCH_PERMANENT, CATCH_TEMPORARY): Moved to | |
3687 | breakpoint.h. | |
3688 | (create_ada_exception_breakpoint): Make extern. | |
3689 | (catch_ada_exception_command, catch_assert_command): Moved to | |
3690 | ada-lang.c. | |
3691 | (add_catch_command): Make extern. | |
3692 | (_initilize_breakpoint): Don't install the exception and assert | |
3693 | catchpoint commands here. | |
3694 | * breakpoint.h (CATCH_PERMANENT, CATCH_TEMPORARY): Moved from | |
3695 | breakpoint.c | |
3696 | (add_catch_command, create_ada_exception_breakpoint): Declare. | |
3697 | ||
c56053d2 PA |
3698 | 2011-06-22 Pedro Alves <[email protected]> |
3699 | ||
3700 | * breakpoint.c (init_raw_breakpoint_without_location): Don't add | |
3701 | the breakpoint to the breakpoint chain here. | |
3702 | (set_raw_breakpoint_without_location): Add the breakpoint to the | |
3703 | breakpoint chain here. | |
3704 | (init_raw_breakpoint): Adjust comments. | |
3705 | (set_raw_breakpoint): Add the breakpoint to the breakpoint chain | |
3706 | here. | |
3707 | (init_catchpoint): Don't set the catchpoint's breakpoint number | |
3708 | here. | |
3709 | (install_catchpoint): New function. | |
3710 | (create_fork_vfork_event_catchpoint) | |
3711 | (create_syscall_event_catchpoint, catch_exec_command_1): Adjust to | |
3712 | use install_catchpoint. | |
3713 | ||
d2f3fc74 PA |
3714 | 2011-06-22 Pedro Alves <[email protected]> |
3715 | ||
3716 | * breakpoint.c (create_catchpoint_without_mention) | |
3717 | (create_catchpoint): Delete. | |
3718 | ||
b4d90040 PA |
3719 | 2011-06-22 Pedro Alves <[email protected]> |
3720 | ||
3721 | * breakpoint.h (struct breakpoint): Delete field `exec_pathname'. | |
3722 | * breakpoint.c (init_raw_breakpoint_without_location): Remove | |
3723 | reference to exec_pathname. | |
3724 | (struct exec_catchpoint): New type. | |
3725 | (dtor_catch_exec): New function. | |
3726 | (insert_catch_exec, print_it_catch_exec, print_one_catch_exec): Adjust. | |
3727 | (catch_exec_breakpoint_ops): Install dtor_catch_syscall. | |
3728 | (catch_exec_command_1): Adjust to use init_catchpoint. | |
3729 | (delete_breakpoint): Remove reference to exec_pathname. | |
3730 | ||
be5c67c1 PA |
3731 | 2011-06-22 Pedro Alves <[email protected]> |
3732 | ||
3733 | * breakpoint.h (struct breakpoint_ops): New field `dtor'. | |
3734 | (struct breakpoint): Delete field `syscalls_to_be_caught'. | |
3735 | * breakpoint.c (init_raw_breakpoint_without_location): Remove | |
3736 | reference to syscalls_to_be_caught. | |
3737 | (catch_fork_breakpoint_ops, catch_vfork_breakpoint_ops): Install a | |
3738 | NULL `dtor'. | |
3739 | (struct syscall_catchpoint): New type. | |
3740 | (dtor_catch_syscall): New function. | |
3741 | (insert_catch_syscall, remove_catch_syscall) | |
3742 | (breakpoint_hit_catch_syscall, print_one_catch_syscall) | |
3743 | (print_recreate_catch_syscall): Adjust. | |
3744 | (catch_syscall_breakpoint_ops): Install dtor_catch_syscall. | |
3745 | (catch_exec_breakpoint_ops): Install a NULL `dtor'. | |
3746 | (create_syscall_event_catchpoint): Adjust to use init_catchpoint. | |
3747 | (ranged_breakpoint_ops, watchpoint_breakpoint_ops) | |
3748 | (masked_watchpoint_breakpoint_ops) | |
3749 | (gnu_v3_exception_catchpoint_ops): Install a NULL `dtor'. | |
3750 | (delete_breakpoint): Call the `dtor' breakpoint_ops method, if | |
3751 | there is one. Remove references to syscalls_to_be_caught. | |
3752 | (catching_syscall_number): Adjust. | |
3753 | * ada-lang.c (catch_exception_breakpoint_ops) | |
3754 | (catch_exception_unhandled_breakpoint_ops) | |
3755 | (catch_assert_breakpoint_ops): Install a NULL `dtor'. | |
3756 | ||
e29a4733 PA |
3757 | 2011-06-22 Pedro Alves <[email protected]> |
3758 | ||
3759 | * breakpoint.h (struct breakpoint): Delete forked_inferior_pid | |
3760 | field. | |
3761 | * breakpoint.c (init_raw_breakpoint_without_location): Remove | |
3762 | reference to forked_inferior_pid. | |
3763 | (struct fork_catchpoint): New type. | |
3764 | (breakpoint_hit_catch_fork, print_it_catch_fork) | |
3765 | (print_one_catch_fork, breakpoint_hit_catch_vfork) | |
3766 | (print_it_catch_vfork, print_one_catch_vfork): Adjust. | |
3767 | (create_fork_vfork_event_catchpoint): Adjust to use | |
3768 | init_catchpoint. | |
3769 | ||
346774a9 PA |
3770 | 2011-06-22 Pedro Alves <[email protected]> |
3771 | ||
3772 | * breakpoint.c (add_to_breakpoint_chain) | |
3773 | (init_raw_breakpoint_without_location): New functions, factored | |
3774 | out from ... | |
3775 | (set_raw_breakpoint_without_location): ... this one. | |
3776 | (init_raw_breakpoint): New function, factored out from | |
3777 | set_raw_breakpoint and adjusted to use | |
3778 | init_raw_breakpoint_without_location. | |
3779 | (set_raw_breakpoint): Adjust. | |
3780 | (init_catchpoint): New function, factored out from | |
3781 | create_catchpoint_without_mention and adjusted to use | |
3782 | init_raw_breakpoint. | |
3783 | (create_catchpoint_without_mention): Adjust. | |
3784 | ||
c38c4bc5 TT |
3785 | 2011-06-22 Tom Tromey <[email protected]> |
3786 | ||
3787 | * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_convert>: Treat type | |
3788 | argument of 0 specially. | |
3789 | ||
b138ce37 YQ |
3790 | 2011-06-22 Yao Qi <[email protected]> |
3791 | ||
3792 | * infrun.c (handle_inferior_event): Remove write-only local variable | |
3793 | `sw_single_step_trap_p'. | |
3794 | ||
03de6823 TT |
3795 | 2011-06-20 Tom Tromey <[email protected]> |
3796 | ||
3797 | * symtab.c (lookup_language_this): End loop if block is NULL. | |
3798 | ||
66a17cb6 TT |
3799 | 2011-06-17 Tom Tromey <[email protected]> |
3800 | ||
3801 | * valops.c (value_of_this): Use lookup_language_this. | |
3802 | * symtab.h (lookup_language_this): Declare. | |
3803 | * symtab.c (lookup_language_this): New function. | |
3804 | (lookup_symbol_aux): Use lookup_language_this. | |
3805 | * ax-gdb.c (gen_expr) <OP_THIS>: Use lookup_language_this. | |
3806 | ||
7518bff5 TT |
3807 | 2011-06-17 Tom Tromey <[email protected]> |
3808 | ||
3809 | * value.h (value_of_this): Update. | |
3810 | (value_of_local): Remove. | |
3811 | * valops.c (value_of_this): Rename from value_of_local. Change | |
3812 | parameters. | |
3813 | * p-exp.y (exp): Update. | |
3814 | (variable): Likewise. | |
3815 | * eval.c (evaluate_subexp_standard) <OP_THIS>: Use value_of_this. | |
3816 | ||
aee28ec6 TT |
3817 | 2011-06-17 Tom Tromey <[email protected]> |
3818 | ||
3819 | * valops.c (value_of_local): Complain if NAME is NULL. | |
3820 | * std-operator.def (OP_OBJC_SELF): Remove. | |
3821 | * parse.c (operator_length_standard) <OP_OBJC_SELF>: Remove. | |
3822 | * objc-exp.y (name_not_typename): Use OP_THIS. | |
3823 | * expprint.c (print_subexp_standard) <OP_THIS>: Print language's | |
3824 | name for "this". | |
3825 | <OP_OBJC_SELF>: Remove. | |
3826 | * eval.c (evaluate_subexp_standard) <OP_OBJC_SELF>: Remove. | |
3827 | ||
eed8f803 TG |
3828 | 2011-06-16 Tristan Gingold <[email protected]> |
3829 | ||
3830 | * python/py-events.h (gdb_py_events): Make it extern. | |
3831 | * python/py-evtregistry.c (gdb_py_events): Declare. | |
3832 | ||
864ac8a7 HZ |
3833 | 2011-06-16 Hui Zhu <[email protected]> |
3834 | ||
3835 | * remote.c (remote_trace_set_readonly_regions): Add check for | |
3836 | remote_protocol_packets[PACKET_qXfer_traceframe_info].support before | |
3837 | output warning. | |
3838 | ||
ef7e8358 UW |
3839 | 2011-06-15 Ulrich Weigand <[email protected]> |
3840 | ||
3841 | * arm-linux-tdep.c: Include "auxv.h". | |
3842 | (AT_HWCAP): Define. | |
3843 | (ARM_LINUX_SIZEOF_VFP): Define. | |
3844 | (arm_linux_supply_vfp): New function. | |
3845 | (arm_linux_collect_vfp): Likewise. | |
3846 | (arm_linux_regset_from_core_section): Handle .reg-arm-vfp sections. | |
3847 | (arm_linux_fpa_regset_sections): New variable. | |
3848 | (arm_linux_vfp_regset_sections): Likewise. | |
3849 | (arm_linux_core_read_description): New function. | |
3850 | (arm_linux_init_abi): Install arm_linux_core_read_description and | |
3851 | arm_linux_fpa_regset_sections or arm_linux_vfp_regset_sections as | |
3852 | appropriate for the architecture. | |
3853 | * arm-tdep.h (struct gdbarch_tdep): Add member "vfpregset". | |
3854 | (tdesc_arm_with_m): Declare. | |
3855 | (tdesc_arm_with_iwmmxt): Likewise. | |
3856 | (tdesc_arm_with_vfpv2): Likewise. | |
3857 | (tdesc_arm_with_vfpv3): Likewise. | |
3858 | (tdesc_arm_with_neon): Likewise. | |
3859 | * arm-linux-nat.c: Move features/*.c includes ... | |
3860 | * arm-tdep.c: ... here. | |
3861 | * arm-linux-nat.c (arm_linux_read_description): Move initializing | |
3862 | target description data structures ... | |
3863 | * arm-tdep.c (_initialize_arm_tdep): ... here. | |
3864 | * arm-linux-nat.c (HWCAP_VFP, HWCAP_IWMMXT, HWCAP_NEON, HWCAP_VFPv3, | |
3865 | HWCAP_VFPv3D16): Move definitions ... | |
3866 | * arm-linux-tdep.h: ... here. | |
3867 | ||
c2fa21f1 HZ |
3868 | 2011-06-15 Hui Zhu <[email protected]> |
3869 | ||
3870 | * remote.c (remote_trace_set_readonly_regions): Add a check for | |
3871 | target_buf_size. | |
3872 | ||
dd707e8e TT |
3873 | 2011-06-14 Tom Tromey <[email protected]> |
3874 | ||
3875 | * coffread.c (coffread_objfile): Rename from current_objfile. | |
3876 | * dbxread.c (dbxread_objfile): Rename from current_objfile. | |
3877 | * mdebugread.c (mdebugread_objfile): Rename from current_objfile. | |
3878 | ||
86cc0029 TT |
3879 | 2011-06-14 Tom Tromey <[email protected]> |
3880 | ||
3881 | * jv-lang.c (jv_type_objfile_data_key, dynamics_objfile) | |
3882 | (class_symtab): Remove. | |
3883 | (jv_dynamics_progspace_key): New global. | |
3884 | (jv_per_objfile_free): Reset program space data. Update assert. | |
3885 | Don't clear globals. | |
3886 | (get_dynamics_objfile): Use and set program space data. | |
3887 | (get_java_class_symtab): Use get_dynamics_objfile. | |
3888 | (add_class_symbol): Likewise. | |
3889 | (java_link_class_type): Likewise. | |
3890 | (java_object_type, jv_clear_object_type, set_java_object_type): | |
3891 | Remove. | |
3892 | (get_java_object_type): Update. Don't cache result. | |
3893 | (is_object_type): Don't call set_java_object_type. | |
3894 | (_initialize_java_language): Don't set jv_type_objfile_data_key; | |
3895 | initialize jv_dynamics_progspace_key. | |
3896 | ||
91a81f69 TT |
3897 | 2011-06-14 Tom Tromey <[email protected]> |
3898 | ||
3899 | * symtab.h (current_objfile): Don't declare. | |
3900 | * objfiles.h (current_objfile): Don't declare. | |
3901 | * objfiles.c (current_objfile): Remove. | |
3902 | * mdebugread.c (current_objfile): New file-scope global. | |
3903 | * dbxread.c (current_objfile): New file-scope global. | |
3904 | * coffread.c (current_objfile): New file-scope global. | |
3905 | ||
dc7eb48e PA |
3906 | 2011-06-13 Pedro Alves <[email protected]> |
3907 | ||
3908 | * top.h (line): Rename to ... | |
3909 | (saved_command_line): ... this. | |
3910 | (linesize): Rename to ... | |
3911 | (saved_command_line_size): ... this. | |
3912 | * top.c (line): Rename to ... | |
3913 | (saved_command_line): ... this. | |
3914 | (linesize): Rename to ... | |
3915 | (saved_command_line_size): ... this. | |
3916 | (dont_repeat, command_line_input, dont_repeat_command): Adjust. | |
3917 | * event-top.c (command_line_handler): Adjust. | |
3918 | * main.c (captured_main): Adjust. | |
3919 | ||
0d6c2135 MK |
3920 | 2011-06-12 Mark Kettenis <[email protected]> |
3921 | ||
3922 | * i386-tdep.c (i386_epilogue_frame_cache): Simplify code. Call | |
3923 | get_frame_func instead of get_frame_pc to determine the code | |
3924 | address used to construct the frame ID. | |
3925 | (i386_epilogue_frame_unwind_stop_reason): Fix coding style. | |
3926 | (i386_epilogue_frame_this_id): Likewise. | |
3927 | (i386_epilogue_frame_prev_register): New function. | |
3928 | (i386_epilogue_frame_unwind): Use i386_epilogue_frame_prev_register. | |
3929 | (i386_stack_tramp_frame_sniffer): Fix coding style. | |
3930 | (i386_stack_tramp_frame_unwind): Use i386_epilogue_frame_prev_register. | |
3931 | (i386_gdbarch_init): Fix comments. | |
3932 | ||
8bbdd3f4 MK |
3933 | 2011-06-12 Mark Kettenis <[email protected]> |
3934 | ||
3935 | * i386-tdep.c (i386_match_insn_block): Use length of the proper | |
3936 | instruction when walking back through the instruction stream. | |
3937 | ||
533a737e JK |
3938 | 2011-06-10 Jan Kratochvil <[email protected]> |
3939 | ||
3940 | * symtab.c (output_partial_symbol_filename): Exchange the filename and | |
3941 | fullname parameters order. | |
3942 | ||
44b13c5a JK |
3943 | 2011-06-10 Jan Kratochvil <[email protected]> |
3944 | ||
3945 | Code cleanup. | |
3946 | * dwarf2read.c (dw2_map_symbol_filenames): Use symbol_filename_ftype | |
3947 | for fun. | |
3948 | * psymtab.c (map_symbol_filenames_psymtab) | |
3949 | (map_partial_symbol_filenames): Likewise. | |
3950 | * psymtab.h: Include symfile.h. | |
3951 | (map_partial_symbol_filenames): Use symbol_filename_ftype for fun. | |
3952 | * symfile.h (symbol_filename_ftype): New. | |
3953 | (struct quick_symbol_functions): Use symbol_filename_ftype for fun of | |
3954 | map_symbol_filenames, clarify more the naming in comment. | |
3955 | ||
0b5574da DE |
3956 | 2011-06-07 Doug Evans <[email protected]> |
3957 | ||
3958 | * cc-with-index.sh: Fix typos in comment. | |
b8e9bd6c | 3959 | Look for ../../gdb, for fullname.exp. |
0b5574da | 3960 | |
5be4dfca JK |
3961 | 2011-06-07 Jan Kratochvil <[email protected]> |
3962 | Pedro Alves <[email protected]> | |
3963 | ||
3964 | * cli/cli-cmds.c (shell_escape): Use waitpid. | |
3965 | * rs6000-nat.c (exec_one_dummy_insn): Likewise. | |
3966 | ||
316a8b21 TG |
3967 | 2011-06-07 Tristan Gingold <[email protected]> |
3968 | ||
3969 | * xcoffread.c (dwarf2_xcoff_names): New variable. | |
3970 | (aix_process_linenos): Add a guard. | |
3971 | (xcoff_symfile_finish): Free dwarf2. | |
3972 | (xcoff_initial_scan): Add dwarf2 support. | |
3973 | ||
3dd5b83d PA |
3974 | 2011-06-06 Pedro Alves <[email protected]> |
3975 | ||
3976 | * infcall.c (run_inferior_call): Don't mask async. Instead force | |
3977 | a synchronous wait, if the target can async. | |
3978 | ||
3979 | * target.h (struct target_ops): Delete to_async_mask. | |
3980 | (target_async_mask): Delete. | |
3981 | * target.c (update_current_target): Delete references to to_async_mask. | |
3982 | * linux-nat.c (linux_nat_async_mask_value): Delete. | |
3983 | (linux_nat_is_async_p, linux_nat_can_async_p): Remove references | |
3984 | to linux_nat_async_mask_value. | |
3985 | (linux_nat_async_mask): Delete. | |
3986 | (linux_nat_async, linux_nat_close): Remove references to | |
3987 | linux_nat_async_mask_value. | |
3988 | * record.c (record_async_mask_value): Delete. | |
3989 | (record_async): Remove references to record_async_mask_value. | |
3990 | (record_async_mask): Delete. | |
3991 | (record_can_async_p, record_is_async_p): Remove references to | |
3992 | record_async_mask_value. | |
3993 | (init_record_ops, init_record_core_ops): Remove references to | |
3994 | record_async_mask. | |
3995 | * remote.c (remote_async_mask_value): Delete. | |
3996 | (init_remote_ops): Remove reference to remote_async_mask. | |
3997 | (remote_can_async_p, remote_is_async_p): Remove references to | |
3998 | remote_async_mask_value. | |
3999 | (remote_async): Remove references to remote_async_mask_value. | |
4000 | (remote_async_mask): Delete. | |
4001 | ||
4002 | * infrun.c (fetch_inferior_event): Don't claim registers changed | |
4003 | if the current thread is already not executing. | |
4004 | ||
64b9b334 JB |
4005 | 2011-06-03 Joel Brobecker <[email protected]> (obvious fix) |
4006 | ||
4007 | From Stephen Kitt <[email protected]> | |
4008 | * breakpoint.c, breakpoint.h, cli/cli-dump.c, dwarf2expr.c, | |
4009 | gdbarch.c, gdbarch.sh, remote.c: Various spelling fixes. | |
4010 | ||
325663dc JB |
4011 | 2011-06-03 Joel Brobecker <[email protected]> |
4012 | ||
4013 | * dwarf2expr.c (execute_stack_op) [DW_OP_deref]: Handle | |
4014 | the case where ADDR_SIZE is different from TYPE_LENGTH (type). | |
4015 | ||
8cf64490 TT |
4016 | 2011-06-03 Tom Tromey <[email protected]> |
4017 | ||
4018 | * python/py-inferior.c (python_inferior_exit): Use inferior's exit | |
4019 | code fields. | |
4020 | * python/py-exitedevent.c (create_exited_event_object): Change | |
4021 | type of 'exit_code'. Optionally add exit_code attribute. | |
4022 | (emit_exited_event): Change type of 'exit_code'. | |
4023 | * python/py-event.h (emit_exited_event): Update. | |
4024 | * mi/mi-interp.c (mi_inferior_exit): Print exit code. | |
4025 | * infrun.c (handle_inferior_event): Set exit code fields on | |
4026 | inferior. | |
4027 | * inferior.h (struct inferior) <has_exit_code, exit_code>: New | |
4028 | fields. | |
4029 | * inferior.c (exit_inferior_1): Initialize new fields. | |
4030 | ||
8ddd9a20 TT |
4031 | 2011-06-03 Tom Tromey <[email protected]> |
4032 | ||
4033 | * dwarf2expr.c (get_signed_type): New function. | |
4034 | (execute_stack_op) <DW_OP_shra>: Always perform a signed shift. | |
4035 | ||
8dfd1e6d KS |
4036 | 2011-06-02 Keith Seitz <[email protected]> |
4037 | ||
4038 | * objc-lang.c (find_methods): Increment objfile_csym earlier. | |
4039 | ||
65fdb766 PA |
4040 | 2011-06-02 Pedro Alves <[email protected]> |
4041 | ||
4042 | * top.h (simplified_command_loop): Delete declaration. | |
4043 | ||
f4b8c29b MF |
4044 | 2011-06-01 Mike Frysinger <[email protected]> |
4045 | ||
4046 | * remote-sim.c (gdbsim_open): Add the strlen of " --sysroot=" and | |
4047 | gdb_sysroot to the "len" variable. Append both to "arg_buf". | |
4048 | ||
1706c199 YQ |
4049 | 2011-06-01 Yao Qi <[email protected]> |
4050 | ||
4051 | * objfiles.h (obj_section_addr): Update reference to objfile from | |
4052 | `abfd' to `obfd'. | |
4053 | (obj_section_endaddr): Likewise. | |
4054 | ||
d19cd713 | 4055 | 2011-06-01 Daniel Jacobowitz <[email protected]> |
8d07004d DJ |
4056 | |
4057 | * MAINTAINERS: Update my email address and affiliation. Also | |
4058 | update Ian Lance Taylor's affiliation. Use UTF-8 for [email protected]. | |
4059 | ||
e8eb7bc5 KS |
4060 | 2010-05-31 Keith Seitz <[email protected]> |
4061 | ||
4062 | PR c++/12750 | |
4063 | * linespec.c (get_search_block): New function. | |
4064 | (find_methods): Add FILE_SYMTATB parameter and use it and | |
4065 | get_search_block to pass an appropriate block to | |
4066 | lookup_symbol_in_namespace. | |
4067 | (decode_line_1): Record if *ARGPTR is single-quote enclosed. | |
4068 | Check if *ARGPTR starts with a filename first. | |
4069 | If it does, call locate_first_half again to locate the next | |
4070 | "first half" of the linespec. | |
4071 | Pass FILE_SYMTATB to decode_objc and decode_compound. | |
4072 | Swallow the trailing single-quote if IS_SQUOTE_ENCLOSED. | |
4073 | (locate_first_half): Stop on the first colon seen. | |
4074 | (decode_compound): Add FILE_SYMTAB parameter. | |
4075 | Pass FILE_SYMTAB to lookup_prefix_sym and find_method. | |
4076 | (lookup_prefix_sym): Add FILE_SYMTAB parameter and use | |
4077 | get_search_block with lookup_symbol. | |
4078 | (find_method): Add FILE_SYMTAB parameter and pass it to | |
4079 | find_methods. | |
4080 | (decode_objc): Use get_search_block. | |
4081 | ||
2b1dbab0 KS |
4082 | 2010-05-31 Keith Seitz <[email protected]> |
4083 | ||
4084 | PR symtab/12704 | |
4085 | * cp-namespace.c (ANONYMOUS_NAMESPACE_LEN): Remove. | |
4086 | (cp_scan_for_anonymous_namespaces): Use CP_ANONYMOUS_NAMESPACE_STR | |
4087 | and CP_ANONYMOUS_NAMESPACE_LEN. | |
4088 | (cp_is_anonymous): Likewise. | |
4089 | * cp-support.h (CP_ANONYMOUS_NAMESPACE_STR): Define. | |
4090 | (CP_ANONYMOUS_NAMESPACE_LEN): Define. | |
4091 | * dwarf2read.c (namespace_name): Likewise. | |
4092 | (fixup_partial_die): Likewise. | |
4093 | * linespec.c (decode_compound): If CP_ANONYMOUS_NAMESPACE_STR is | |
4094 | seen in the input, keep it. | |
4095 | ||
6d549500 PA |
4096 | 2011-05-30 Pedro Alves <[email protected]> |
4097 | ||
4098 | * target.h (enum inferior_event_type): Delete INF_QUIT_REQ. | |
4099 | * inf-loop.h (inferior_event_handler_wrapper): Delete. | |
4100 | * inf-loop.c (inferior_event_handler_wrapper): Delete. | |
4101 | (inferior_event_handler): Don't handle INF_QUIT_REQ. | |
4102 | * remote.c (_initialize_remote): Register | |
4103 | async_remote_interrupt_twice directly as | |
4104 | sigint_remote_twice_token event. | |
4105 | ||
395bff70 PA |
4106 | 2011-05-30 Pedro Alves <[email protected]> |
4107 | ||
4108 | * target.h (enum inferior_event_type): Delete INF_ERROR. | |
4109 | * inf-loop.c (inferior_event_handler): Don't handle INF_ERROR. | |
4110 | ||
97224164 PA |
4111 | 2011-05-30 Pedro Alves <[email protected]> |
4112 | ||
4113 | * interps.c (interp_set): Don't cancel continuations. | |
4114 | ||
07e78767 JK |
4115 | 2011-05-30 Jan Kratochvil <[email protected]> |
4116 | ||
4117 | * linux-nat.c (linux_lwp_is_zombie): Use xsnprintf. | |
4118 | ||
fa4cd53f PA |
4119 | 2011-05-30 Pedro Alves <[email protected]> |
4120 | ||
4121 | * continuations.h (continuation_ftype): Add `err' parameter. | |
4122 | Document parameters. | |
4123 | (do_all_continuations, do_all_continuations_thread) | |
4124 | (do_all_intermediate_continuations) | |
4125 | (do_all_intermediate_continuations_thread) | |
4126 | (do_all_inferior_continuations): Add `err' parameter. | |
4127 | * continuations.c (do_my_continuations_1, do_my_continuations) | |
4128 | (do_all_inferior_continuations, do_all_continuations_ptid) | |
4129 | (do_all_continuations_thread_callback) | |
4130 | (do_all_continuations_thread, do_all_continuations) | |
4131 | (do_all_intermediate_continuations_thread_callback) | |
4132 | (do_all_intermediate_continuations_thread) | |
4133 | (do_all_intermediate_continuations): Add `err' parameter, and pass | |
4134 | it down all the way to the continuations proper. | |
4135 | * inf-loop.c (inferior_event_handler): If fetching an inferior | |
4136 | event throws an error, don't pop the target, and still call the | |
4137 | continuations, but with `err' set. Adjust all other continuation | |
4138 | calls. | |
4139 | * breakpoint.c (until_break_command_continuation): Add `err' | |
4140 | parameter. | |
4141 | * infcmd.c (step_1_continuation): Add `err' parameter. Don't | |
4142 | issue another step if `err' is set. | |
4143 | (struct until_next_continuation_args): New. | |
4144 | (until_next_continuation): Add `err' parameter. Adjust. | |
4145 | (until_next_command): Adjust. | |
4146 | (struct finish_command_continuation_args): Add `thread' field. | |
4147 | (finish_command_continuation): Add `err' parameter. Handle it. | |
4148 | (finish_forward): Adjust. | |
4149 | (attach_command_continuation): Add `err' parameter. Handle it. | |
4150 | * infrun.c (infrun_thread_stop_requested_callback): Adjust to | |
4151 | cancel the continuations. | |
4152 | * interps.c (interp_set): Adjust to cancel the continuations. | |
4153 | * thread.c (clear_thread_inferior_resources): Adjust to cancel the | |
4154 | continuations rather than discarding. | |
4155 | (free_thread): Don't clear thread inferior resources here. | |
4156 | (delete_thread_1): Do it here instead. And do it before removing | |
4157 | the thread from the threads list. Tag the thread as exited before | |
4158 | clearing thread inferior resources. | |
4159 | ||
c2949be0 JB |
4160 | 2011-05-30 Joel Brobecker <[email protected]> |
4161 | ||
4162 | * infcall.c (call_function_by_hand): Rephrase error message. | |
4163 | ||
619cebe8 PA |
4164 | 2011-05-27 Pedro Alves <[email protected]> |
4165 | ||
4166 | * defs.h (struct thread_info, struct inferior): Delete forward | |
4167 | declarations. | |
4168 | * breakpoint.h (struct thread_info): New forward declaration. | |
4169 | * observer.sh (struct inferior): New forward declaration. | |
4170 | * python/python-internal.h (struct inferior): New forward | |
4171 | declaration. | |
4172 | ||
be34f849 PA |
4173 | 2011-05-27 Pedro Alves <[email protected]> |
4174 | ||
4175 | * defs.h (struct continuation, continuation_ftype) | |
4176 | (continuation_free_arg_ftype, add_continuation) | |
4177 | (do_all_continuations, do_all_continuations_thread) | |
4178 | (discard_all_continuations, discard_all_continuations_thread) | |
4179 | (add_intermediate_continuation, do_all_intermediate_continuations) | |
4180 | (do_all_intermediate_continuations_thread) | |
4181 | (discard_all_intermediate_continuations) | |
4182 | (discard_all_intermediate_continuations_thread) | |
4183 | (add_inferior_continuation, do_all_inferior_continuations) | |
4184 | (discard_all_inferior_continuations): Move to ... | |
4185 | * continuations.h: ... this new file. | |
4186 | * breakpoint.c, continuations.c, event-top.c, inf-loop.c, | |
4187 | infcmd.c, inferior.c, infrun.c, interps.c: Include | |
4188 | continuations.h. | |
4189 | ||
432b4d03 JK |
4190 | 2011-05-27 Jan Kratochvil <[email protected]> |
4191 | Doug Evans <[email protected]> | |
4192 | ||
4193 | Fix PR 10970, PR 12702. | |
4194 | * linux-nat.c (linux_lwp_is_zombie): New function. | |
4195 | (wait_lwp): Initialize status. New variable prev_mask. Block signals. | |
4196 | Check for linux_lwp_is_zombie. Use WNOHANG and sigsuspend. | |
4197 | ||
b0f260d6 PA |
4198 | 2011-05-27 Pedro Alves <[email protected]> |
4199 | ||
4200 | * defs.h (continuation_ftype, continuation_free_arg_ftype): New | |
4201 | typedefs. | |
4202 | (add_continuation, add_intermediate_continuation) | |
4203 | (add_inferior_continuation): Use them. | |
4204 | * continuations.c (struct continuation): Use them. | |
4205 | (make_continuation_ftype): Delete. | |
4206 | (make_continuation, add_inferior_continuation, add_continuation) | |
4207 | (add_intermediate_continuation): Use continuation_ftype and | |
4208 | continuation_free_arg_ftype. Rename parameters to shorter names. | |
4209 | ||
af1e9a32 PA |
4210 | 2011-05-27 Pedro Alves <[email protected]> |
4211 | ||
4212 | * continuations.c (make_continuation): Make it return void. | |
4213 | (do_my_continuations): Rename to ... | |
4214 | (do_my_continuations_1): ... this. Remove old_chain parameter and | |
4215 | adjust. | |
4216 | (do_my_continuations): New. | |
4217 | (discard_my_continuations): Rename to ... | |
4218 | (discard_my_continuations_1): ... this. Remove old_chain | |
4219 | parameter and adjust. | |
4220 | (discard_my_continuations): New. | |
4221 | (add_inferior_continuation): Simplify. | |
4222 | (do_all_inferior_continuations): Reimplement on top | |
4223 | do_my_continuations. | |
4224 | (discard_all_inferior_continuations): Simplify. | |
4225 | (add_continuation): Simplify. | |
4226 | (do_all_continuations_ptid): Simplify. | |
4227 | (discard_all_continuations_thread_callback): Simplify. | |
4228 | (add_intermediate_continuation): Simplify. | |
4229 | (discard_all_intermediate_continuations_thread_callback): | |
4230 | Simplify. | |
4231 | ||
50c0c017 PA |
4232 | 2011-05-27 Pedro Alves <[email protected]> |
4233 | ||
4234 | * utils.c (struct continuation, add_continuation) | |
4235 | (add_inferior_continuation) | |
4236 | (do_all_inferior_continuations, discard_all_inferior_continuations) | |
4237 | (restore_thread_cleanup, do_all_continuations_ptid) | |
4238 | (do_all_continuations_thread_callback) | |
4239 | (do_all_continuations_thread, do_all_continuations) | |
4240 | (discard_all_continuations_thread_callback) | |
4241 | (discard_all_continuations_thread, discard_all_continuations) | |
4242 | (add_intermediate_continuation) | |
4243 | (do_all_intermediate_continuations_thread_callback) | |
4244 | (do_all_intermediate_continuations_thread) | |
4245 | (do_all_intermediate_continuations) | |
4246 | (discard_all_intermediate_continuations_thread_callback) | |
4247 | (discard_all_intermediate_continuations_thread) | |
4248 | (discard_all_intermediate_continuations): Move to ... | |
4249 | * continuations.c: ... this new file, and adjust to no longer | |
4250 | implement continuations on top of cleanups. | |
4251 | * Makefile.in (SFILES): Add continuations.c. | |
4252 | (COMMON_OBS): Add continuations.o. | |
4253 | ||
d8b34453 PA |
4254 | 2011-05-26 Pedro Alves <[email protected]> |
4255 | ||
4256 | * inferior.h (enum exec_direction_kind): Delete EXEC_ERROR. | |
4257 | * infrun.c (show_exec_direction_func): Don't handle EXEC_ERROR. | |
4258 | Internal error on invalid values. | |
4259 | * reverse.c: Don't handle EXEC_ERROR. | |
4260 | * mi/mi-main.c: Don't handle EXEC_ERROR. | |
4261 | ||
32231432 PA |
4262 | 2011-05-26 Pedro Alves <[email protected]> |
4263 | ||
4264 | * record.c: Include event-loop.h, inf-loop.h. | |
4265 | (record_beneath_to_async): New global. | |
4266 | (tmp_to_async): New global. | |
4267 | (record_async_inferior_event_token): New global. | |
4268 | (record_open_1): Don't error out if async is enabled. | |
4269 | (record_open): Handle to_async. Create an async event source in | |
4270 | the event loop. | |
4271 | (record_close): Delete the async event source. | |
4272 | (record_resumed): New global. | |
4273 | (record_execution_dir): New global. | |
4274 | (record_resume, record_core_resume): Set them. Register the | |
4275 | target on the event loop. | |
4276 | (record_wait): Rename to ... | |
4277 | (record_wait_1): ... this. Add more debug output. Handle | |
4278 | TARGET_WNOHANG, and the target beneath returning | |
4279 | TARGET_WAITKIND_IGNORE. | |
4280 | (record_wait): Reimplement on top of record_wait_1. | |
4281 | (record_async_mask_value): New global. | |
4282 | (record_async, record_async_mask, record_can_async_p) | |
4283 | (record_is_async_p, record_execution_direction): New functions. | |
4284 | (init_record_ops, init_record_core_ops): Install new methods. | |
4285 | * infrun.c (fetch_inferior_event): Temporarily switch the global | |
4286 | execution direction to the direction the target was going. | |
4287 | (execution_direction): Change type to int. | |
4288 | * target.c (default_execution_direction): New function. | |
4289 | (update_current_target): Inherit and de_fault | |
4290 | to_execution_direction. | |
4291 | * target.h (struct target_ops) <to_execution_direction>: New | |
4292 | field. | |
4293 | (target_execution_direction): New macro. | |
4294 | * inferior.h (execution_direction): Change type to int. | |
4295 | ||
949dc678 PA |
4296 | 2011-05-26 Pedro Alves <[email protected]> |
4297 | ||
4298 | * infcall.c (call_function_by_hand): Don't allow calling functions | |
4299 | in reverse execution mode. | |
4300 | ||
c13bd2b5 PA |
4301 | 2011-05-26 Pedro Alves <[email protected]> |
4302 | ||
4303 | * infcmd.c (finish_command): Allow async finish in reverse. | |
4304 | ||
6938fd34 YQ |
4305 | 2011-05-26 Yao Qi <[email protected]> |
4306 | ||
4307 | * gdb_thread_db.h: Delete. Move to ... | |
4308 | * common/gdb_thread_db.h: ... here. | |
4309 | ||
9da8c2a0 PA |
4310 | 2011-05-26 Pedro Alves <[email protected]> |
4311 | ||
4312 | * infcmd.c (finish_backward): Set a step-resume breakpoint at the | |
4313 | function's entry point instead of a manually managed momentary | |
4314 | breakpoint, and only ever issue one proceed call. | |
4315 | * infrun.c (handle_inferior_event) <BPSTAT_WHAT_STEP_RESUME>: If | |
4316 | doing a reverse-finish, switch to stepi mode, to do another step. | |
4317 | (insert_step_resume_breakpoint_at_sal): Make public. | |
4318 | (normal_stop): No need to save function value return registers if | |
4319 | going reverse. | |
4320 | * inferior.h (insert_step_resume_breakpoint_at_sal): Declare. | |
4321 | ||
2c03e5be PA |
4322 | 2011-05-26 Pedro Alves <[email protected]> |
4323 | ||
4324 | * breakpoint.h (enum bptype) <bp_hp_step_resume>: New. | |
4325 | (enum bpstat_what_main_action): Move BPSTAT_WHAT_STEP_RESUME | |
4326 | before BPSTAT_WHAT_STOP_SILENT. Add BPSTAT_WHAT_HP_STEP_RESUME | |
4327 | at the end. | |
4328 | * breakpoint.c (update_breakpoints_after_exec): Also delete hp | |
4329 | step-resume breakpoints. | |
4330 | (print_it_typical): Handle bp_hp_step_resume. | |
4331 | (bpstat_what): Ditto. | |
4332 | (bptype_string): Ditto. | |
4333 | (print_one_breakpoint_location): Ditto. | |
4334 | (allocate_bp_location): Ditto. | |
4335 | (mention): Ditto. | |
4336 | (breakpoint_re_set_one): Ditto. | |
4337 | * infrun.c (handle_inferior_event): Adjust. Split | |
4338 | BPSTAT_WHAT_STEP_RESUME handling in BPSTAT_WHAT_STEP_RESUME and | |
4339 | BPSTAT_WHAT_HP_STEP_RESUME. | |
4340 | (insert_step_resume_breakpoint_at_sal): Rename to ... | |
4341 | (insert_step_resume_breakpoint_at_sal_1): ... this. Add bptype | |
4342 | parameter. Handle it. | |
4343 | (insert_step_resume_breakpoint_at_sal): Reimplement on top of | |
4344 | insert_step_resume_breakpoint_at_sal_1. | |
4345 | (insert_step_resume_breakpoint_at_frame): Rename to ... | |
4346 | (insert_hp_step_resume_breakpoint_at_frame): ... this. Adjust to | |
4347 | set a high-priority step-resume breakpoint. | |
4348 | (insert_step_resume_breakpoint_at_frame): Adjust comment. | |
4349 | (insert_step_resume_breakpoint_at_caller): Ditto. | |
4350 | ||
51be5b68 PA |
4351 | 2011-05-26 Pedro Alves <[email protected]> |
4352 | ||
4353 | * breakpoint.c (iterate_over_related_breakpoints): New. | |
4354 | (do_map_delete_breakpoint): New. | |
4355 | (delete_command): Pass do_map_delete_breakpoint to | |
4356 | map_breakpoint_numbers. | |
4357 | (do_disable_breakpoint): New. | |
4358 | (do_map_disable_breakpoint): Iterate over the breakpoint's related | |
4359 | breakpoints. | |
4360 | (do_enable_breakpoint): Rename to ... | |
4361 | (enable_breakpoint_disp): ... this. | |
4362 | (enable_breakpoint): Adjust. | |
4363 | (do_enable_breakpoint): New. | |
4364 | (enable_once_breakpoint): Delete. | |
4365 | (do_map_enable_breakpoint): New. | |
4366 | (do_map_enable_once_breakpoint): New. | |
4367 | (enable_once_command, enable_delete_command) | |
4368 | (delete_trace_command): Iterate over the breakpoint's related | |
4369 | breakpoints. | |
4370 | ||
4a1be8d2 PA |
4371 | 2011-05-26 Pedro Alves <[email protected]> |
4372 | ||
4373 | * alpha-tdep.c (alpha_cannot_fetch_register): Don't return true | |
4374 | for ALPHA_ZERO_REGNUM. | |
4375 | (alpha_supply_int_regs): Explicitly supply zero as the value for | |
4376 | ALPHA_ZERO_REGNUM in the register cache. | |
4377 | * alpha-nat.c (fetch_osf_core_registers): Ditto. | |
4378 | ||
59d70315 YQ |
4379 | 2011-05-26 Yao Qi <[email protected]> |
4380 | ||
4381 | * gdb/gdb_thread_db.h: Remove HAVE_UINTPTR_T. | |
4382 | ||
251d32d9 TG |
4383 | 2011-05-26 Tristan Gingold <[email protected]> |
4384 | ||
4385 | * symfile.h (struct dwarf2_section_names): New type. | |
4386 | (struct dwarf2_debug_sections): New type. | |
4387 | (dwarf2_has_info): Add parameter. | |
4388 | * dwarf2read.c (dwarf2_elf_names): New variable. | |
4389 | (INFO_SECTION, ABBREV_SECTION, LINE_SECTION, LOC_SECTION) | |
4390 | (MACINFO_SECTION, STR_SECTION, RANGES_SECTION, TYPES_SECTION) | |
4391 | (FRAME_SECTION, EH_FRAME_SECTION, GDB_INDEX_SECTION): Remove. | |
4392 | (dwarf2_has_info): Add names parameter. Pass names | |
4393 | to dwarf2_locate_sections. | |
4394 | (section_is_p): Rewrite using the names parameter. | |
4395 | (dwarf2_locate_sections): Use section names from the names parameter. | |
4396 | * coffread.c (coff_symfile_read): Adjust call to dwarf2_has_info. | |
4397 | * elfread.c (read_psyms): Ditto. | |
4398 | * machoread.c (macho_symfile_read): Ditto. | |
4399 | ||
652c71b4 AS |
4400 | 2011-05-25 Andreas Schwab <[email protected]> |
4401 | ||
4402 | PR gdb/8677 | |
4403 | * event-loop.c (handle_file_event): Don't handle POLLHUP as error. | |
4404 | ||
f17170e5 KS |
4405 | 2011-05-24 Keith Seitz <[email protected]> |
4406 | ||
4407 | PR breakpoint/12803 | |
4408 | * linespec.c (keep_name_info): Add handling for "volatile" keyword. | |
4409 | (decode_compound): Unconditionally call keep_name_info. | |
4410 | ||
cdac0397 PA |
4411 | 2011-05-24 Pedro Alves <[email protected]> |
4412 | ||
4413 | * breakpoint.c (watchpoint_check): If the watchpoint went out of | |
4414 | scope, clear its command list. | |
4415 | (map_breakpoint_numbers): Don't walk the related breakpoints list | |
4416 | of each breakpoint. | |
4417 | ||
91d4fe3f TT |
4418 | 2011-05-24 Tom Tromey <[email protected]> |
4419 | ||
4420 | * MAINTAINERS: Move Jim Blandy to past maintainers. | |
4421 | ||
3017a003 TG |
4422 | 2011-05-24 Tristan Gingold <[email protected]> |
4423 | ||
4424 | * symfile.h (enum dwarf2_section_enum): New type. | |
4425 | (dwarf2_get_section_info): New prototype. | |
4426 | * dwarf2read.c (dwarf2_get_section_info): Replace parameter | |
4427 | section_name by sect. Use a switch to select the info. | |
4428 | * dwarf2-frame.c (warf2_get_section_info): Remove prototype. | |
4429 | (dwarf2_build_frame_info): Adjust calls to dwarf2_get_section_info. | |
4430 | ||
c91c8c16 PA |
4431 | 2011-05-24 Pedro Alves <[email protected]> |
4432 | ||
4433 | * solib-svr4.c (svr4_solib_create_inferior_hook): Skip setting | |
4434 | shared library event breakpoint if there's no execution. | |
4435 | ||
77bc418a TJB |
4436 | 2011-05-24 Thiago Jung Bauermann <[email protected]> |
4437 | ||
4438 | * breakpont.c (remove_hw_watchpoints): Remove unused function. | |
4439 | * breakpoint.h remove_hw_watchpoints(): Remove prototype. | |
4440 | ||
c50491a7 TT |
4441 | 2011-05-23 Tom Tromey <[email protected]> |
4442 | ||
4443 | * c-lang.c (evaluate_subexp_c): Use expect_type if it is not | |
4444 | NULL. | |
4445 | ||
6d64e6d4 DE |
4446 | 2011-05-23 Doug Evans <[email protected]> |
4447 | ||
4448 | * python/lib/gdb/printing.py (register_pretty_printer): Add missing | |
4449 | entry for RuntimeError to doc string. | |
4450 | ||
2067c8d4 JG |
4451 | 2011-05-23 Jerome Guitton <[email protected]> |
4452 | ||
4453 | * sparc-tdep.c (sparc_skip_stack_check): Recognize a new instruction | |
4454 | sequence for probing loops. | |
4455 | ||
b136cd05 PA |
4456 | 2011-05-23 Pedro Alves <[email protected]> |
4457 | ||
4458 | * infrun.c (user_visible_resume_ptid): Fix typos in describing | |
4459 | comment. | |
4460 | ||
22e74ef9 MK |
4461 | 2011-05-21 Mark Kettenis <[email protected]> |
4462 | ||
4463 | * sparc-nat.c (sparc_fetch_inferior_registers): Explicitly supply | |
4464 | zero as the value for %g0 in the register cache. | |
4465 | * sparc-tdep.c (sparc32_supply_gregset): Likewise. | |
4466 | * sparc64-tdep.c (sparc64_supply_gregset): Likewise. | |
4467 | ||
842951eb PA |
4468 | 2011-05-20 Pedro Alves <[email protected]> |
4469 | ||
4470 | * infrun.c (proceed): Set previous_inferior_ptid here. | |
4471 | (init_wait_for_inferior): Initialize previous_inferior_ptid from | |
4472 | inferior_ptid, not null_ptid. | |
4473 | (wait_for_inferior): Don't initialize previous_inferior_ptid here. | |
4474 | (fetch_inferior_event): Nor here. | |
4475 | ||
46cf51e6 PA |
4476 | 2011-05-20 Pedro Alves <[email protected]> |
4477 | ||
4478 | * inf-loop.c (inferior_event_handler): Only output a message if | |
4479 | verbose. | |
4480 | ||
29ef4c46 LM |
4481 | 2011-05-20 Luis Machado <[email protected]> |
4482 | ||
4483 | * MAINTAINERS: Update my e-mail address. | |
4484 | ||
f148b27e PA |
4485 | 2011-05-20 Pedro Alves <[email protected]> |
4486 | ||
4487 | * infrun.c (proceed): Switch the inferior event loop to | |
4488 | INF_EXEC_COMPLETE if the target refused to resume from a | |
4489 | vfork/fork. | |
4490 | ||
09cee04b PA |
4491 | 2011-05-20 Pedro Alves <[email protected]> |
4492 | ||
4493 | * infcmd.c: Include "inf-loop.h". | |
4494 | (step_once): When stepping into an inline subroutine, pretend the | |
4495 | target has run. If the target can async, switch the inferior | |
4496 | event loop to INF_EXEC_COMPLETE. | |
4497 | * inferior.h (user_visible_resume_ptid): Declare. | |
4498 | * infrun.c (user_visible_resume_ptid): New function, factored out | |
4499 | from `resume'. | |
4500 | (resume): Use it. | |
4501 | * mi/mi-main.c (mi_execute_async_cli_command): Remove assertion | |
4502 | that the current thread is running. Merge async and sync | |
4503 | branches. | |
4504 | ||
751b8ce1 PA |
4505 | 2011-05-20 Pedro Alves <[email protected]> |
4506 | ||
4507 | * infcmd.c (step_1): Simplify synchronous case. | |
4508 | ||
e93a69ed PA |
4509 | 2011-05-20 Pedro Alves <[email protected]> |
4510 | ||
4511 | * tracepoint.c: Include exceptions.h. | |
4512 | (TFILE_PID): Move higher in file. | |
4513 | (tfile_open): Delay pushing the tfile target until we're assured | |
4514 | the tfile header is present in the file. Wrap reading the initial | |
4515 | newline-terminated lines in TRY_CATCH. Pop the target if the | |
4516 | initial setup failed. Add the tfile's thread immediately | |
4517 | aftwards, before any non-essential setup. Don't skip | |
4518 | post_create_inferior if there are no traceframes present in the | |
4519 | file. | |
4520 | (tfile_close): Remove redundant check for null before xfree call. | |
4521 | (tfile_thread_alive): New function. | |
4522 | (init_tfile_ops): Register it as to_thread_alive callback. | |
4523 | ||
6823e2b1 PA |
4524 | 2011-05-20 Pedro Alves <[email protected]> |
4525 | ||
4526 | * tracepoint.c (tfile_open): Delete #if 0'd code. | |
4527 | ||
b3c8eb43 JK |
4528 | 2011-05-20 Jan Kratochvil <[email protected]> |
4529 | ||
4530 | Fix -readnow for -gdwarf-4 unused type units. | |
4531 | * dwarf2read.c (struct signatured_type): Remove the field offset. | |
4532 | (create_signatured_type_table_from_index): Remove its initialization. | |
4533 | (create_debug_types_hash_table): Likewise. Initialize per_cu.offset | |
4534 | instead. Add a complaint call. | |
4535 | (process_psymtab_comp_unit): Change assignment to gdb_assert. | |
4536 | (process_type_comp_unit, lookup_die_type, dump_die_shallow) | |
4537 | (lookup_signatured_type_at_offset, read_signatured_type) | |
4538 | (write_one_signatured_type): Update the field for per_cu. | |
4539 | ||
310afc76 TT |
4540 | 2011-05-19 Tom Tromey <[email protected]> |
4541 | ||
4542 | * python/py-inferior.c (python_inferior_exit): Use | |
4543 | target_gdbarch. | |
4544 | (python_on_resume): Likewise. | |
4545 | ||
cf6c5ffb TT |
4546 | 2011-05-19 Matt Rice <[email protected]> |
4547 | ||
4548 | * breakpoint.c (bpstat_do_actions_1): Call prevent_dont_repeat. | |
4549 | ||
fb80a3c5 HZ |
4550 | 2011-05-19 Hui Zhu <[email protected]> |
4551 | ||
4552 | * tracepoint.c (tfile_trace_find): Return directly when num is -1. | |
4553 | ||
3672b1be HZ |
4554 | 2011-05-19 Hui Zhu <[email protected]> |
4555 | ||
4556 | * xcoffread.c (read_xcoff_symtab): Initialize fcn_aux_saved. | |
4557 | ||
ff355380 TT |
4558 | 2011-05-18 Tom Tromey <[email protected]> |
4559 | ||
4560 | * dwarf2read.c (dwarf2_add_field): Constify. | |
4561 | * value.c (value_static_field): Constify. | |
4562 | * gdbtypes.h (struct main_type) <field.field_location.physname>: | |
4563 | Now const. | |
4564 | * ax-gdb.c (gen_static_field): Constify | |
4565 | ||
ed731959 JK |
4566 | 2011-05-18 Jan Kratochvil <[email protected]> |
4567 | ||
4568 | * linux-nat.c (kill_callback): Use SIGKILL first. | |
4569 | ||
967cff16 JB |
4570 | 2011-05-18 Joel Brobecker <[email protected]> |
4571 | ||
4572 | * ada-lang.c (print_it_exception): Avoid use of sprintf. | |
4573 | ||
1d06ead6 TT |
4574 | 2011-05-18 Tom Tromey <[email protected]> |
4575 | ||
4576 | * value.c (value_fn_field): Constify. | |
4577 | * symtab.c (gdb_mangle_name): Constify. | |
4578 | * stabsread.c (update_method_name_from_physname): Make 'physname' | |
4579 | argument const. | |
4580 | * p-typeprint.c (pascal_type_print_method_args): Make arguments | |
4581 | const. Use explicit fputc_filtered loop. | |
4582 | (pascal_type_print_base): Constify. | |
4583 | * p-lang.h (pascal_type_print_method_args): Update. | |
4584 | * linespec.c (add_matching_methods): Constify. | |
4585 | (add_constructors): Likewise. | |
4586 | * jv-typeprint.c (java_type_print_base): Constify. | |
4587 | * gdbtypes.h (struct cplus_struct_type) | |
4588 | <fn_fieldlist.fn_field.physname>: Now const. | |
4589 | * dwarf2read.c (compute_delayed_physnames): Constify. | |
4590 | (dwarf2_add_member_fn): Likewise. | |
4591 | * c-typeprint.c (c_type_print_base): Constify. Use cleanups. | |
4592 | ||
0d9a9a5f PA |
4593 | 2011-05-18 Pedro Alves <[email protected]> |
4594 | ||
4595 | * infrun.c (resume): Mention which is the current thread, and its | |
4596 | current PC in debug output. | |
4597 | (prepare_to_proceed): Mention the thread switching in debug | |
4598 | output. | |
4599 | ||
05386e9e TT |
4600 | 2011-05-18 Tom Tromey <[email protected]> |
4601 | ||
4602 | * linux-thread-db.c (try_thread_db_load_from_pdir_1): Fix absolute | |
4603 | path check. Use xmalloc and cleanups. | |
4604 | (try_thread_db_load_from_dir): Use xmalloc and cleanups. | |
4605 | ||
ee86786c TT |
4606 | 2011-05-17 Tom Tromey <[email protected]> |
4607 | ||
4608 | * cp-valprint.c (cp_print_value_fields): Catch errors from | |
4609 | value_static_field. | |
4610 | ||
9ff3b74f TT |
4611 | 2011-05-17 Tom Tromey <[email protected]> |
4612 | ||
4613 | * dwarf2read.c (dwarf2_get_die_type): Call | |
4614 | get_die_type_at_offset. | |
4615 | * dwarf2expr.c (dwarf_get_base_type): Handle NULL return from | |
4616 | get_base_type function. | |
4617 | ||
cd3da28e PA |
4618 | 2011-05-17 Tomas Martinec <[email protected]> |
4619 | ||
4620 | * infrun.c (handle_inferior_event) <handling deferred step>: Clear | |
4621 | trap_expected. | |
4622 | ||
fd20d931 DE |
4623 | 2011-05-16 Doug Evans <[email protected]> |
4624 | ||
4625 | * python/py-auto-load.c (source_section_scripts): Mention objfile | |
4626 | name in warning. | |
4627 | ||
75fc9810 DE |
4628 | 2011-05-15 Doug Evans <[email protected]> |
4629 | ||
290351b8 DE |
4630 | * linux-thread-db.c (try_thread_db_load_from_pdir_1): New function. |
4631 | (try_thread_db_load_from_pdir): Call it. If unable to find | |
4632 | libthread_db in directory of libpthread, see if we're looking at | |
4633 | the separate-debug-info copy. | |
4634 | ||
75fc9810 DE |
4635 | * python/py-autoload.c (print_script): Print "Missing" instead of |
4636 | "No" for missing scripts. | |
4637 | (info_auto_load_scripts): Tweak "Loaded" column to fit "Missing". | |
4638 | ||
9f7bc587 DE |
4639 | 2011-05-13 Doug Evans <[email protected]> |
4640 | ||
4641 | * ui-file.c (stdio_file_write_async_safe): Add comment. | |
4642 | ||
093cee7d HZ |
4643 | 2011-05-14 Hui Zhu <[email protected]> |
4644 | ||
4645 | * ui-file.c (stdio_file_write_async_safe): Add empty check for build. | |
4646 | ||
dbaefcf7 DE |
4647 | 2011-05-13 Doug Evans <[email protected]> |
4648 | ||
98a5dd13 DE |
4649 | Support $pdir and $sdir in libthread-db-search-path. |
4650 | * NEWS: Mention $sdir,$pdir. | |
4651 | * gdb_thread_db.h (LIBTHREAD_DB_SEARCH_PATH): Add $sdir:$pdir. | |
4652 | * linux-thread-db.c (try_thread_db_load_from_pdir): New function. | |
4653 | (try_thread_db_load_from_sdir): New function. | |
4654 | (try_thread_db_load_from_dir): New function. | |
4655 | (thread_db_load_search): Handle $pdir, $sdir. Remove trying of | |
4656 | system directories if search of libthread-db-search-path fails, | |
4657 | that is now done via $sdir. | |
4658 | (has_libpthread): New function. | |
4659 | (thread_db_load): Remove search for libthread_db in directory of | |
4660 | libpthread, that is now done via $pdir. | |
4661 | ||
dbaefcf7 DE |
4662 | * NEWS: Mention "info auto-load-scripts". |
4663 | * python/py-auto-load.c (struct auto_load_pspace_info): New member | |
4664 | script_not_found_warning_printed. | |
4665 | (init_loaded_scripts_info): Renamed from create_loaded_scripts_hash, | |
4666 | all callers updated. Initialize script_not_found_warning_printed. | |
4667 | (get_auto_load_pspace_data_for_loading): New function. | |
4668 | (maybe_add_script): New function. | |
4669 | (source_section_scripts): Simplify. Only print one warning regardless | |
4670 | of the number of auto-load scripts not found. | |
4671 | (clear_section_scripts): Clear script_not_found_warning_printed. | |
4672 | (auto_load_objfile_script): Record script in hash table. | |
4673 | (count_matching_scripts): New function. | |
4674 | (maybe_print_script): Renamed from maybe_print_section_script, all | |
4675 | callers updated. Rewrite to use ui_out_*. | |
4676 | (info_auto_load_scripts): Renamed from | |
4677 | maintenance_print_section_scripts, all callers updated. | |
4678 | (gdbpy_initialize_auto_load): "maintenance print section-scripts" | |
4679 | renamed as "info auto-load-scripts". | |
4680 | ||
9930639c TT |
4681 | 2011-05-13 Tom Tromey <[email protected]> |
4682 | ||
4683 | * dwarf2expr.c (read_uleb128): Cast intermediate result. | |
4684 | (read_sleb128): Likewise. | |
4685 | ||
06826322 TT |
4686 | 2011-05-13 Tom Tromey <[email protected]> |
4687 | ||
4688 | * dwarf2loc.c (disassemble_dwarf_expression): Fix instruction | |
4689 | offset display. | |
4690 | ||
01124a23 DE |
4691 | 2011-05-13 Doug Evans <[email protected]> |
4692 | ||
4693 | * linux-nat.c (debug_linux_nat_async): Delete. | |
4694 | Replace all references to use debug_linux_nat instead. | |
4695 | (show_debug_linux_nat_async): Delete. | |
4696 | (sigchld_handler): Call ui_file_write_async_safe instead of | |
4697 | fprintf_unfiltered. | |
4698 | (_initialize_linux_nat): Remove `set debug lin-lwp-async'. | |
4699 | * ui-file.c (struct ui_file): New member to_write_async_safe. | |
4700 | (null_file_write_async_safe): New function. | |
4701 | (ui_file_write_async_safe): New function. | |
4702 | (set_ui_file_write_async_safe): New function. | |
4703 | (ui_file_new): Initialize to_write_async_safe. | |
4704 | (stdio_file_write_async_safe): New function. | |
4705 | (struct stdio_file): New member fd. | |
4706 | (stdio_file_new): Initialize to_write_async_safe, fd. | |
bbfac39e DE |
4707 | (stdio_file_read, stdio_file_isatty): New stdio->fd instead of calling |
4708 | fileno. | |
01124a23 DE |
4709 | * ui-file.h (ui_file_write_async_safe_ftype): New typedef. |
4710 | (set_ui_file_write_async_safe): Declare. | |
4711 | (ui_file_write_async_safe): Declare. | |
4712 | ||
72fc29ff TT |
4713 | 2011-05-13 Tom Tromey <[email protected]> |
4714 | ||
4715 | * utils.c (do_value_free): New function. | |
4716 | (make_cleanup_value_free): Likewise. | |
4717 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle value | |
4718 | freeing correctly. | |
4719 | (dwarf2_loc_desc_needs_frame): Call | |
4720 | make_cleanup_value_free_to_mark. | |
4721 | * dwarf2expr.h (struct dwarf_expr_context) <mark>: Remove field. | |
4722 | * dwarf2expr.c (free_dwarf_expr_context): Don't call | |
4723 | value_free_to_mark. | |
4724 | (new_dwarf_expr_context): Don't call value_mark. | |
4725 | * dwarf2-frame.c (execute_stack_op): Call | |
4726 | make_cleanup_value_free_to_mark. | |
4727 | * defs.h (make_cleanup_value_free): Declare. | |
4728 | ||
028d0ed5 TJB |
4729 | 2011-05-13 Thiago Jung Bauermann <[email protected]> |
4730 | ||
4731 | * mi/mi-main.c (mi_cmd_execute): Use cleanup from | |
4732 | prepare_execute_command. | |
4733 | * top.c (prepare_execute_command): Return cleanup. | |
4734 | (execute_command): Use cleanup from prepare_execute_command. | |
4735 | * top.h (prepare_execute_command): Change prototype to return | |
4736 | cleanup. | |
4737 | * defs.h (struct value): Add opaque declaration. | |
4738 | (make_cleanup_value_free_to_mark): Add prototype. | |
4739 | * utils.c (do_value_free_to_mark): New function. | |
4740 | (make_cleanup_value_free_to_mark): Likewise. | |
4741 | ||
b087e0ed TT |
4742 | 2011-05-12 Tom Tromey <[email protected]> |
4743 | ||
4744 | * dwarf2expr.c (execute_stack_op) <DW_OP_shr>: Unconditionally | |
4745 | cast left-hand-side to unsigned. | |
4746 | ||
8a9b8146 TT |
4747 | 2011-05-12 Tom Tromey <[email protected]> |
4748 | ||
4749 | PR gdb/12617: | |
4750 | * value.h (value_from_contents): Declare. | |
4751 | * value.c (value_from_contents): New function. | |
4752 | * dwarf2read.c (dwarf_stack_op_name): Add new values. | |
4753 | (dwarf2_get_die_type): New function. | |
4754 | * dwarf2loc.c (dwarf_expr_get_base_type): New function. | |
4755 | (allocate_piece_closure): Acquire reference to values. | |
4756 | (read_pieced_value): Update for value-based expressions. | |
4757 | (write_pieced_value): Likewise. | |
4758 | (free_pieced_value_closure): Call value_free as needed. | |
4759 | (dwarf2_evaluate_loc_desc_full): Set get_base_type field. | |
4760 | Update for value-based expressions. | |
4761 | * dwarf2loc.h (dwarf2_get_die_type): Declare. | |
4762 | * dwarf2expr.h (struct dwarf_stack_value) <value>: Change type. | |
4763 | <get_base_type>: New field. | |
4764 | (struct dwarf_expr_piece) <v.value>: Change type. | |
4765 | <v.regno>: New field. | |
4766 | (struct dwarf_expr_context) <mark>: New field. | |
4767 | (dwarf_expr_piece, dwarf_expr_fetch): Update. | |
4768 | (dwarf_expr_pop, dwarf_expr_push): Remove. | |
4769 | (dwarf_expr_push_address): Declare. | |
4770 | * dwarf2expr.c (dwarf_arch_cookie): New global. | |
4771 | (struct dwarf_gdbarch_types): New. | |
4772 | (dwarf_gdbarch_types_init, dwarf_expr_address_type): New | |
4773 | functions. | |
4774 | (dwarf_expr_push): Change type of 'value' argument. Update. Now | |
4775 | static. | |
4776 | (dwarf_expr_push_address): New function. | |
4777 | (dwarf_expr_pop): Now static. | |
4778 | (dwarf_expr_fetch): Change return type. | |
4779 | (dwarf_require_integral): New function. | |
4780 | (dwarf_expr_fetch): Simplify. | |
4781 | (add_piece): Update. | |
4782 | (base_types_equal_p, dwarf_get_base_type, get_unsigned_type): New | |
4783 | functions. | |
4784 | (execute_stack_op) <sign_ext>: Remove. | |
4785 | Use values for DWARF stack. | |
4786 | <DW_OP_GNU_const_type, DW_OP_GNU_deref_type, | |
4787 | DW_OP_GNU_regval_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret>: | |
4788 | New cases. | |
4789 | (_initialize_dwarf2expr): New function. | |
4790 | (add_piece): Update. | |
4791 | (new_dwarf_expr_context): Set new field. | |
4792 | (free_dwarf_expr_context): Call value_free_to_mark. | |
4793 | * dwarf2-frame.c (no_base_type): New function. | |
4794 | (execute_stack_op): Set get_base_type field. Update. | |
4795 | ||
e8d28ef4 TT |
4796 | 2011-05-12 Tom Tromey <[email protected]> |
4797 | ||
4798 | * dwarf2read.c (read_common_block): Fix formatting. | |
4799 | ||
d248b706 KY |
4800 | 2011-05-12 Kwok Cheung Yeung <[email protected]> |
4801 | ||
4802 | * breakpoint.c (disable_breakpoint): Disable all locations | |
4803 | associated with a tracepoint on target if a trace experiment is | |
4804 | running. | |
4805 | (disable_command): Disable a specific tracepoint location on target if | |
4806 | a trace experiment is running. | |
4807 | (do_enable_breakpoint): Enable all locations associated with a | |
4808 | tracepoint on target if a trace experiment is running. | |
4809 | (enable_command) Enable a specific tracepoint location on target if a | |
4810 | trace experiment is running. | |
4811 | * target.c (update_current_target): Add INHERIT and de_fault clauses for | |
4812 | to_supports_enable_disable_tracepoint, to_enable_tracepoint and | |
4813 | to_disable_tracepoint. | |
4814 | * target.h: Add declaration of struct bp_location. | |
4815 | (struct target_ops): Add new functions | |
4816 | to_supports_enable_disable_tracepoint, to_enable_tracepoint and | |
4817 | to_disable_tracepoint to target operations. | |
4818 | (target_supports_enable_disable_tracepoint): New macro. | |
4819 | (target_enable_tracepoint): New macro. | |
4820 | (target_disable_tracepoint): New macro. | |
4821 | * remote.c (struct remote_state): Add new field. | |
4822 | (remote_enable_disable_tracepoint_feature): New. | |
4823 | (remote_protocol_features): Add new entry. | |
4824 | (remote_supports_enable_disable_tracepoint): New. | |
4825 | (remote_enable_tracepoint): New. | |
4826 | (remote_disable_tracepoint): New. | |
4827 | (init_remote_ops): Add remote_enable_tracepoint, | |
4828 | remote_disable_tracepoint and remote_supports_enable_disable_tracepoint | |
4829 | to remote operations. | |
4830 | * tracepoint.c (start_tracing): Allow tracing to start without any | |
4831 | tracepoints enabled with just a warning if they can be re-enabled | |
4832 | later. | |
4833 | * NEWS: Add news item for the new behaviour of the enable and disable | |
4834 | GDB commands when applied to tracepoints. | |
4835 | Add news items for the new remote packets QTEnable and QTDisable. | |
4836 | ||
cc88a640 JK |
4837 | 2011-05-11 Jan Kratochvil <[email protected]> |
4838 | ||
4839 | * config.in: Regenerate. | |
4840 | * configure: Regenerate. | |
4841 | * configure.ac <--with-system-readline> (for readline_echoing_p): | |
4842 | Remove the test. | |
4843 | * tui/tui-io.c (tui_old_readline_echoing_p): Rename to ... | |
4844 | (tui_old_rl_echoing_p): ... here. | |
4845 | (tui_setup_io): Rename extern declaration readline_echoing_p to | |
4846 | _rl_echoing_p. Adjust assignments for the both renames. | |
4847 | ||
1f84b619 TJB |
4848 | 2011-05-11 Thiago Jung Bauermann <[email protected]> |
4849 | ||
4850 | * symtab.c (lookup_symtab): Run cleanup before returning. | |
4851 | ||
74ac6d43 TT |
4852 | 2011-05-11 Tom Tromey <[email protected]> |
4853 | ||
4854 | * dwarf2read.c (handle_data_member_location): New function. | |
4855 | (dwarf2_add_field): Use it. | |
4856 | (read_common_block): Likewise. | |
4857 | ||
5488dafb JK |
4858 | 2011-05-11 Jan Kratochvil <[email protected]> |
4859 | ||
4860 | Make addrs->SECTINDEX always defined. | |
4861 | * symfile.c (relative_addr_info_to_section_offsets): Check for | |
4862 | SECTINDEX -1, not for zero ADDR. | |
4863 | (addrs_section_compar): Remove checking for invalid SECTINDEX. | |
4864 | (addr_info_make_relative): Set SECTINDEX to -1 for unmatched entries. | |
4865 | * symfile.h (struct section_addr_info) <sectindex>: Update the comment | |
4866 | on its validity. | |
4867 | ||
84e578fb DE |
4868 | 2011-05-10 Doug Evans <[email protected]> |
4869 | ||
2471d008 DE |
4870 | * linux-thread-db.c: Whitespace cleanup. |
4871 | (try_thread_db_load_1): Fix comment. | |
4872 | ||
84e578fb DE |
4873 | * linux-thread-db.c (set_libthread_db_search_path): New function. |
4874 | (_initialize_thread_db): Add setter for libthread-db-search-path. | |
4875 | ||
673c2bbe DE |
4876 | 2011-05-09 Doug Evans <[email protected]> |
4877 | ||
478aac75 DE |
4878 | * NEWS: Mention --with-iconv-bin. |
4879 | * configure.ac: New option --with-iconv-bin. | |
4880 | * configure: Regenerate. | |
4881 | * config.in: Regenerate. | |
4882 | * defs.h (relocate_gdb_directory): Declare. | |
4883 | * main.c (relocate_gdb_directory): Renamed from relocate_directory, | |
4884 | removed progname parameter, and exported. All callers updated. | |
4885 | * charset.c (find_charset_names): Use --with-iconv-bin if specified. | |
4886 | ||
673c2bbe DE |
4887 | * linux-nat.c (lin_lwp_attach_lwp): For !WIPSTOPPED case, |
4888 | adding missing call to restore_child_signals_mask. | |
4889 | ||
e4c8541f PA |
4890 | 2011-05-09 Pedro Alves <[email protected]> |
4891 | ||
4892 | * inferior.h (wait_for_inferior): Remove `thread_exec_as_sigtrap' | |
4893 | parameter. | |
4894 | * infrun.c (proceed, start_remote): Adjust. | |
4895 | (wait_for_inferior): Remove `thread_exec_as_sigtrap' parameter, | |
4896 | and adjust to not handle it. | |
4897 | * solib-irix.c (irix_solib_create_inferior_hook): Adjust. | |
4898 | * solib-osf.c (osf_solib_create_inferior_hook): Adjust. | |
4899 | * solib-sunos.c (sunos_solib_create_inferior_hook): Adjust. | |
4900 | * solib-svr4.c (svr4_solib_create_inferior_hook): Adjust. | |
4901 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
4902 | * infcmd.c (attach_command): Adjust. | |
4903 | (notice_new_inferior): Adjust. | |
4904 | ||
a536c6d7 UW |
4905 | 2011-05-06 Ulrich Weigand <[email protected]> |
4906 | ||
4907 | * ppc-linux-tdep.c (ppu2spu_prev_register): Handle pseudo registers. | |
4908 | (ppu2spu_unwind_register): Mark pseudo registers unavailable. | |
4909 | * spu-tdep.c (op_selb): Use correct value. | |
4910 | ||
7845b013 UW |
4911 | 2011-05-06 Ulrich Weigand <[email protected]> |
4912 | ||
4913 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Add NULL | |
4914 | "parent" parameter to symbol_file_add_from_bfd call. | |
4915 | ||
9c06b0b4 TJB |
4916 | 2011-05-06 Sergio Durigan Junior <[email protected]> |
4917 | Thiago Jung Bauermann <[email protected]> | |
4918 | ||
4919 | Implement support for PowerPC BookE masked watchpoints. | |
4920 | * NEWS: Mention masked watchpoint support. Create "Changed commands" | |
4921 | section. | |
4922 | * breakpoint.h (struct breakpoint_ops) <works_in_software_mode>: New | |
4923 | method. Initialize to NULL in all existing breakpoint_ops instances. | |
4924 | (struct breakpoint) <hw_wp_mask>: New field. | |
4925 | * breakpoint.c (is_masked_watchpoint): Add prototype. | |
4926 | (update_watchpoint): Don't set b->val for masked watchpoints. Call | |
4927 | breakpoint's breakpoint_ops.works_in_software_mode if available. | |
4928 | (watchpoints_triggered): Handle the case of a hardware masked | |
4929 | watchpoint trigger. | |
4930 | (watchpoint_check): Likewise. | |
4931 | (works_in_software_mode_watchpoint): New function. | |
4932 | (insert_masked_watchpoint, remove_masked_watchpoint) | |
4933 | (resources_needed_masked_watchpoint) | |
4934 | (works_in_software_mode_masked_watchpoint, print_it_masked_watchpoint) | |
4935 | (print_one_detail_masked_watchpoint, print_mention_masked_watchpoint) | |
4936 | (print_recreate_masked_watchpoint, is_masked_watchpoint): New | |
4937 | functions. | |
4938 | (masked_watchpoint_breakpoint_ops): New structure. | |
4939 | (watch_command_1): Check for the existence of the `mask' parameter. | |
4940 | Set b->ops according to the type of hardware watchpoint being created. | |
4941 | * ppc-linux-nat.c (ppc_linux_insert_mask_watchpoint) | |
4942 | (ppc_linux_remove_mask_watchpoint) | |
4943 | (ppc_linux_masked_watch_num_registers): New functions. | |
4944 | (_initialize_ppc_linux_nat): Initialize to_insert_mask_watchpoint, | |
4945 | to_remove_mask_watchpoint and to_masked_watch_num_registers. | |
4946 | * target.c (update_current_target): Mention to_insert_mask_watchpoint, | |
4947 | to_remove_mask_watchpoint, and to_masked_watch_num_registers. | |
4948 | (target_insert_mask_watchpoint, target_remove_mask_watchpoint) | |
4949 | (target_masked_watch_num_registers): New functions. | |
4950 | * target.h (struct target_ops) <to_insert_mask_watchpoint>, | |
4951 | <to_remove_mask_watchpoint>, <to_masked_watch_num_registers>: New | |
4952 | methods. | |
4953 | (target_insert_mask_watchpoint, target_remove_mask_watchpoint) | |
4954 | (target_masked_watch_num_registers): Add prototypes. | |
4955 | ||
8be455d7 JK |
4956 | 2011-05-06 Jan Kratochvil <[email protected]> |
4957 | ||
4958 | PR 12573 | |
4959 | * dwarf2read.c (struct dwarf2_cu): New field has_loclist. | |
4960 | (producer_is_gcc_ge_4_0): New function. | |
4961 | (process_full_comp_unit): Set also symtab->locations_valid. Move the | |
4962 | symtab->language code. | |
4963 | (var_decode_location): Set cu->has_loclist. | |
4964 | * symtab.c (skip_prologue_sal): New variables saved_pc, force_skip and | |
4965 | skip. Intialize force_skip from locations_valid. Move the prologue | |
4966 | skipping code into two passes. | |
4967 | * symtab.h (struct symtab): Make the primary field a bitfield. New | |
4968 | field locations_valid. | |
4969 | ||
d8228535 JK |
4970 | 2011-05-06 Jan Kratochvil <[email protected]> |
4971 | ||
4972 | * c-exp.y (qualified_name): Call destructor_name_p with $1.type. | |
4973 | (classify_inner_name): Call cp_lookup_nested_type with | |
4974 | yylval.tsym.type. | |
4975 | * cp-namespace.c (cp_lookup_nested_type): New variable | |
4976 | saved_parent_type. Call CHECK_TYPEDEF for parent_type. Call | |
4977 | type_name_no_tag_or_error with saved_parent_type. | |
4978 | * dwarf2read.c (load_partial_dies): Read in any children of | |
4979 | DW_TAG_typedef with complaint in such case. | |
4980 | * gdbtypes.c (type_name_no_tag_or_error): New function. | |
4981 | * gdbtypes.h (type_name_no_tag_or_error): New prototype. | |
4982 | * valops.c (destructor_name_p): New comment for parameter type. Remove | |
4983 | type const. Make dname and cp const. Call type_name_no_tag_or_error. | |
4984 | * value.h (destructor_name_p): Remove type const. | |
4985 | ||
1976171a JK |
4986 | 2011-05-06 Jan Kratochvil <[email protected]> |
4987 | ||
4988 | * symtab.c (compare_symbol_name): New function. | |
4989 | (completion_list_add_name, expand_partial_symbol_name): Call it, | |
4990 | remove the variable ncmp. | |
4991 | (default_make_symbol_completion_list_break_on): Reduce SYM_TEXT_LEN, | |
4992 | gdb_assert it. | |
4993 | ||
a9634178 TJB |
4994 | 2011-05-05 Thiago Jung Bauermann <[email protected]> |
4995 | ||
4996 | Demote to sw watchpoint only in update_watchpoint. | |
4997 | * breakpoint.c (update_watchpoint): Change between software and | |
4998 | hardware watchpoint for all kinds of watchpoints, not just | |
4999 | read/write ones. Determine b->exact value here instead of | |
5000 | in watch_command_1. Error out if there are not enough resources | |
5001 | for a read or access hardware watchpoint. | |
5002 | (watch_command_1): Remove logic of checking whether there are | |
5003 | enough resources available, since update_watchpoint will do that | |
5004 | work now. Don't set b->exact here. Catch exceptions thrown by | |
5005 | update_watchpoint and delete the watchpoint. | |
5006 | (can_use_hardware_watchpoint): Remove exact_watchpoints argument. | |
5007 | Use target_exact_watchpoints instead. | |
5008 | (delete_breakpoint): Notify observers only if deleted watchpoint | |
5009 | has a breakpoint number assigned to it. | |
5010 | ||
4c67c798 JJ |
5011 | 2011-05-05 Janis Johnson <[email protected]> |
5012 | ||
5013 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
5014 | ||
a3fcb948 JG |
5015 | 2011-05-05 Jerome Guitton <[email protected]> |
5016 | ||
5017 | * i386-tdep.c (i386_in_stack_tramp_p, i386_stack_tramp_frame_sniffer): | |
5018 | New functions. | |
5019 | (i386_stack_tramp_frame_unwind): New static global. | |
5020 | (i386_match_pattern): New function, extracted from i386_match_insn. | |
5021 | (i386_match_insn): Use i386_match_pattern. | |
5022 | (i386_match_insn_block): New function. | |
5023 | (i386_tramp_chain_in_reg_insns) | |
5024 | (i386_tramp_chain_on_stack_insns): New static variables. | |
5025 | (i386_gdbarch_init): Add i386_stack_tramp_frame_unwind to list | |
5026 | of unwinders. | |
5027 | ||
4d393d60 JM |
5028 | 2011-05-04 Joseph Myers <[email protected]> |
5029 | ||
5030 | * configure.host (xscale*): Don't handle target. | |
5031 | * configure.tgt (thumb*-*-* | strongarm*-*-* | xscale-*-*): Don't | |
5032 | handle targets. | |
5033 | ||
f70bd40b YQ |
5034 | 2011-05-04 Yao Qi <[email protected]> |
5035 | ||
5036 | * gdb_wait.h: remove WAITTYPE and WCOREDUMP. | |
5037 | ||
dd3295ee JB |
5038 | 2011-05-03 Joel Brobecker <[email protected]> |
5039 | ||
5040 | Revert: | |
5041 | | 2011-03-07 Michael Snyder <[email protected]> | |
5042 | | * elfread.c (elf_symtab_read): Stop memory leak. | |
5043 | ||
90375a0e PM |
5044 | 2011-05-03 Pierre Muller <[email protected]> |
5045 | ||
5046 | * nto-tdep.c (nto_target): Replace deprecated call to | |
5047 | cygwin_conv_to_posix_path functions by cygwin_conv_path calls. | |
5048 | ||
d07205c2 JK |
5049 | 2011-05-03 Jan Kratochvil <[email protected]> |
5050 | ||
5051 | Fix false GCC warning. | |
5052 | * breakpoint.c (do_enable_breakpoint): Initialize orig_enable_state. | |
5053 | ||
1e718ff1 TJB |
5054 | 2011-05-03 Thiago Jung Bauermann <[email protected]> |
5055 | ||
5056 | * breakpoint.c (update_watchpoint): Move code to change | |
5057 | the enable state of breakpoint from here ... | |
5058 | (do_enable_breakpoint): ... to here. | |
5059 | ||
35bef4fd TT |
5060 | 2011-04-26 Andrew Gontarek <[email protected]> |
5061 | ||
78290264 PP |
5062 | * valprint.c (val_print_array_elements): Fixed poor performance |
5063 | of printing very large arrays with repeat_count_threshold set | |
5064 | to unlimited. New comment. | |
35bef4fd | 5065 | |
38a714bb TT |
5066 | 2011-04-29 Tom Tromey <[email protected]> |
5067 | ||
5068 | * mi/mi-parse.c (mi_parse): Remove incorrect sizeof. | |
5069 | (mi_parse): Likewise. | |
5070 | * breakpoint.c (break_range_command): Use sizeof char*, not | |
5071 | char**. | |
5072 | (create_breakpoint): Likewise. | |
5073 | (parse_breakpoint_sals): Likewise. | |
5074 | ||
eb73ad13 PA |
5075 | 2011-04-29 Pedro Alves <[email protected]> |
5076 | ||
5077 | * linux-nat.c (linux_child_remove_fork_catchpoint) | |
5078 | (linux_child_remove_vfork_catchpoint) | |
5079 | (linux_child_remove_exec_catchpoint): New functions. | |
5080 | (linux_target_install_ops): Install them. | |
5081 | ||
d65aec65 PM |
5082 | 2011-04-29 Phil Muldoon <[email protected]> |
5083 | ||
5084 | PR mi/12531 | |
5085 | ||
5086 | * varobj.c (install_default_visualizer): Do not install a | |
5087 | visualizer if the varobj is CPLUS_FAKE_CHILD. | |
5088 | (construct_visualizer): Likewise. | |
5089 | ||
165195f4 JK |
5090 | 2011-04-28 Jan Kratochvil <[email protected]> |
5091 | ||
5092 | * symtab.c (expand_partial_symbol_name): New variable NCMP. Support | |
5093 | case insensitive comparison. | |
5094 | ||
30852783 UW |
5095 | 2011-04-28 Ulrich Weigand <[email protected]> |
5096 | ||
5097 | * infrun.c (proceed): Revert previous change. | |
5098 | (resume): Instead, handle the case of signal delivery while stepping | |
5099 | off a breakpoint location here, and only if software single-stepping | |
5100 | is used. Handle nested signals. | |
5101 | ||
7ff120b4 YQ |
5102 | 2011-04-28 Yao Qi <[email protected]> |
5103 | ||
5104 | * arm-tdep.c (copy_unmodified): Rename to ... | |
5105 | (arm_copy_unmodified): .. this. New. | |
5106 | (copy_preload): Move common part to ... | |
5107 | (install_preload): .. this. New. | |
5108 | (arm_copy_preload): New. | |
5109 | (copy_preload_reg): Move common part to ... | |
5110 | (install_preload_reg): ... this. New. | |
5111 | (arm_copy_preload_reg): New. | |
5112 | (copy_b_bl_blx): Move common part to ... | |
5113 | (install_b_bl_blx): .. this. New. | |
5114 | (arm_copy_b_bl_blx): New. | |
5115 | (copy_bx_blx_reg): Move common part to ... | |
5116 | (install_bx_blx_reg): ... this. New. | |
5117 | (arm_copy_bx_blx_reg): New. | |
5118 | (copy_alu_reg): Move common part to ... | |
5119 | (install_alu_reg): ... this. New. | |
5120 | (arm_copy_alu_reg): New. | |
5121 | (copy_alu_shifted_reg): Move common part to ... | |
5122 | (install_alu_shifted_reg): ... this. New. | |
5123 | (copy_ldr_str_ldrb_strb): Move common part to ... | |
5124 | (install_ldr_str_ldrb_strb): ... this. New. | |
5125 | (arm_copy_ldr_str_ldrb_strb): New. | |
5126 | (copy_copro_load_store): Move some common part to ... | |
5127 | (install_copy_copro_load_store): ... this. New. | |
5128 | (arm_copy_copro_load_store): New. | |
5129 | (copy_svc): Delete. | |
5130 | (arm_copy_svc): Renamed from copy_svc. | |
5131 | (copy_undef): Delete. | |
5132 | (arm_copy_undef): Renamed from copy_undef. | |
5133 | (decode_ext_reg_ld_st): Delete. | |
5134 | (arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st. | |
5135 | (decode_svc_copro): Delete. | |
5136 | (arm_decode_svc_copro): Renamed from decode_svc_copro. | |
5137 | (copy_copro_load_store, copy_alu_imm): update callers. | |
5138 | (copy_extra_ld_st, copy_block_xfer): Likewise. | |
5139 | (decode_misc_memhint_neon, decode_unconditional): Likewise. | |
5140 | (decode_miscellaneous, decode_dp_misc): Likewise. | |
5141 | (decode_ld_st_word_ubyte, decode_media): Likewise. | |
5142 | (decode_b_bl_ldmstm, decode_ext_reg_ld_st): Likewise. | |
5143 | (decode_svc_copro, decode_misc_memhint_neon): Likewise. | |
5144 | (decode_unconditional, decode_miscellaneous): Likewise. | |
5145 | (decode_media, decode_b_bl_ldmstm): Likewise. | |
5146 | (arm_process_displaced_insn): Likewise.. | |
5147 | (decode_misc_memhint_neon): Delete. | |
5148 | (arm_decode_misc_memhint_neon): Renamed from decode_misc_memhint_neon. | |
5149 | (decode_miscellaneous): Delete. | |
5150 | (arm_decode_miscellaneous): Renamed from decode_miscellaneous. | |
5151 | (decode_dp_misc): Delete. | |
5152 | (arm_decode_dp_misc): Renamed from decode_dp_misc. | |
5153 | (decode_ld_st_word_ubyte): Delete. | |
5154 | (arm_decode_ld_st_word_ubyte): Renamed from decode_ld_st_word_ubyte. | |
5155 | (decode_media): Delete. | |
5156 | (arm_decode_media): Renamed from decode_media. | |
5157 | (decode_b_bl_ldmstm): Delete. | |
5158 | (arm_decode_b_bl_ldmstm): Renamed from decode_b_bl_ldmstm. | |
5159 | (decode_ext_reg_ld_st): Delete. | |
5160 | (arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st. | |
5161 | (decode_unconditional): Delete. | |
5162 | (arm_decode_unconditional): Renamed from decode_unconditional. | |
5163 | ||
559a7a62 JK |
5164 | 2011-04-27 Jan Kratochvil <[email protected]> |
5165 | ||
5166 | Case insensitive lookups implementation. | |
5167 | * dwarf2read.c: Include ctype.h. | |
5168 | (struct mapped_index): New field version. | |
5169 | (mapped_index_string_hash): New parameter index_version. New comment | |
5170 | for it. Call tolower appropriately. | |
5171 | (find_slot_in_mapped_hash): New variable cmp, initialize it, use it. | |
5172 | Choose the right index version for mapped_index_string_hash. | |
5173 | (dwarf2_read_index): Support also the index version 5. Initialize the | |
5174 | new struct mapped_index field version. | |
5175 | (hash_strtab_entry): Pass INT_MAX for the new parameter, explain why. | |
5176 | (find_slot): Explain the version needs. Pass INT_MAX for the new | |
5177 | parameter. | |
5178 | (write_psymtabs_to_index): Produce version 5. | |
5179 | * minsyms.c (lookup_minimal_symbol): New variable cmp, initialize it, | |
5180 | use it. New comment for SYMBOL_MATCHES_SEARCH_NAME. | |
5181 | * psymtab.c (lookup_partial_symbol): Find the | |
5182 | SYMBOL_MATCHES_SEARCH_NAME start of the found block of matching | |
5183 | entries. | |
5184 | * symtab.c (lookup_symbol_in_language): Remove the case_sensitive_off | |
5185 | NAME lowercasing. | |
5186 | (search_symbols): Pass REG_ICASE to regcomp for case_sensitive_off. | |
5187 | (completion_list_add_name): New variable ncmp, initialize it, use it. | |
5188 | * symtab.h (SYMBOL_HASH_NEXT): Always call tolower. | |
5189 | * utils.c (strcmp_iw): Support case_sensitive_off. | |
5190 | (strcmp_iw_ordered): Sort in a way compatible with case_sensitive_off. | |
5191 | New function comment part. New variables saved_string1, | |
5192 | saved_string2 and case_pass. Add a proper second pass. | |
5193 | ||
681bf369 JK |
5194 | 2011-04-27 Jan Kratochvil <[email protected]> |
5195 | ||
5196 | Replace re_comp/re_exec by regcomp/regexec. | |
5197 | * symtab.c (struct search_symbols_data): New fields preg, preg_p. | |
5198 | (search_symbols_name_matches): Use them, use regexec. | |
5199 | (search_symbols): New variable retval_chain, adjust the use of | |
5200 | old_chain against it. Replace re_comp by regcomp. Use the new struct | |
5201 | search_symbols_data fields, use regexec instead of re_exec. | |
5202 | ||
b11b1f88 JK |
5203 | 2011-04-27 Jan Kratochvil <[email protected]> |
5204 | ||
5205 | Format the code for the next patch. | |
5206 | * dwarf2read.c (struct mapped_index): Include delimiting newlines. | |
5207 | * utils.c (strcmp_iw_ordered): Reformat the code for the next patch. | |
5208 | New variables c1 and c2. | |
5209 | ||
2484c66b UW |
5210 | 2011-04-27 Ulrich Weigand <[email protected]> |
5211 | ||
5212 | * infrun.c (proceed): Do not single-step into signal delivery | |
5213 | when stepping off a breakpoint location. | |
5214 | (insert_step_resume_breakpoint_at_frame): Move prototype earlier. | |
5215 | (insert_step_resume_breakpoint_at_caller): Likewise. | |
5216 | (insert_step_resume_breakpoint_at_sal): Likewise. | |
5217 | (insert_longjmp_resume_breakpoint): Likewise. | |
5218 | ||
47423772 YQ |
5219 | 2011-04-27 Yao Qi <[email protected]> |
5220 | ||
5221 | * common/linux-ptrace.h: Remove include <sys/wait.h>. | |
5222 | ||
13bdd2e7 JB |
5223 | 2011-04-27 Joel Brobecker <[email protected]> |
5224 | ||
5225 | * procfs.c (procfs_pass_signals): Fix advance declaration. | |
5226 | ||
2455069d UW |
5227 | 2011-04-27 Ulrich Weigand <[email protected]> |
5228 | ||
5229 | * target.h (struct target_ops): Remove to_notice_signals; | |
5230 | add to_pass_signals. | |
5231 | (target_notice_signals): Remove. | |
5232 | (target_pass_signals): Add prototype. | |
5233 | * target.c (update_current_target): Remove to_notice_signals; | |
5234 | mention to_pass_signals. | |
5235 | (target_pass_signals): New function. | |
5236 | (debug_to_notice_signals): Remove. | |
5237 | (setup_target_debug): Do not install debug_to_notice_signals. | |
5238 | ||
5239 | * infrun.c (signal_pass): New global. | |
5240 | (resume): Call target_pass_signals. | |
5241 | (handle_inferior_event): Report all signals while stepping over | |
5242 | non-steppable watchpoint. Reset trap_expected to ensure breakpoints | |
5243 | are re-inserted when stepping over a signal handler. | |
5244 | (signal_cache_update): New function. | |
5245 | (signal_stop_update): Call it. | |
5246 | (signal_print_update): Likewise. | |
5247 | (signal_pass_update): Likewise. | |
5248 | (handle_command): Call signal_cache_update and target_pass_signals | |
5249 | instead of target_notice_signals. | |
5250 | (_initialize_infrun): Initialize signal_pass. | |
5251 | ||
5252 | * linux-nat.c (pass_mask): New global. | |
5253 | (linux_nat_pass_signals): New function. | |
5254 | (linux_nat_create_inferior): Report all signals initially. | |
5255 | (linux_nat_attach): Likewise. | |
5256 | (linux_nat_resume): Use pass_mask to decide whether to directly | |
5257 | handle an inferior signal. | |
5258 | (linux_nat_wait_1): Likewise. | |
5259 | (linux_nat_add_target): Install to_pass_signals callback. | |
5260 | ||
5261 | * nto-procfs.c (notice_signals): Remove. | |
5262 | (procfs_resume): Do not call notice_signals. | |
5263 | (procfs_notice_signals): Remove. | |
5264 | (procfs_pass_signals): New function. | |
5265 | (init_procfs_ops): Install to_pass_signals callback instead of | |
5266 | to_notice_signals callback. | |
5267 | (_initialize_procfs): Report all signals initially. | |
5268 | ||
5269 | * procfs.c (procfs_notice_signals): Remove. | |
5270 | (procfs_pass_signals): New function. | |
5271 | (procfs_target): Install to_pass_signals callback instead of | |
5272 | to_notice_signals callback. | |
5273 | (register_gdb_signals): Remove. | |
5274 | (procfs_debug_inferior): Report all signals initially. | |
5275 | (procfs_init_inferior): Remove redundant register_gdb_signals call. | |
5276 | ||
5277 | * remote.c (remote_pass_signals): Add numsigs and pass_signals | |
5278 | parameters; use them instead of calling signal_..._state routines. | |
5279 | (remote_notice_signals): Remove. | |
5280 | (remote_start_remote): Report all signals initially. | |
5281 | (remote_resume): Do not call remote_pass_signals. | |
5282 | (_initialize_remote): Install to_pass_signals callback instead of | |
5283 | to_notice_signals callback. | |
5284 | ||
46c6471b PA |
5285 | 2011-04-27 Pedro Alves <[email protected]> |
5286 | ||
5287 | * breakpoint.c (user_settable_breakpoint): Delete. | |
5288 | (user_breakpoint_p): Remove check on user_settable_breakpoint. | |
5289 | (delete_command): Check user_breakpoint_p instead of looking at | |
5290 | the breakpoint's type. | |
5291 | (disable_command): Ditto. | |
5292 | (enable_command): Ditto. | |
5293 | (delete_trace_command): Use user_breakpoint_p instead of looking | |
5294 | at the breakpoint number directly. When checking if there are | |
5295 | user visible tracepoints, in order to know whether to ask the user | |
5296 | for confirmation, check whether the breakpoint is actually a | |
5297 | tracepoint. | |
5298 | ||
f6d90398 VP |
5299 | 2011-04-27 Vladimir Prus <[email protected]> |
5300 | ||
5301 | * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix | |
5302 | compilation. | |
5303 | ||
8d3788bd VP |
5304 | 2011-04-27 Vladimir Prus <[email protected]> |
5305 | ||
5306 | MI breakpoint notifications. | |
5307 | ||
f33edef8 PP |
5308 | * annotate.c (breakpoint_changed): Adjust parameter type. |
5309 | * breakpoint.c (set_breakpoint_condition): Adjust to change | |
5310 | in breakpoint_modified type. | |
5311 | (breakpoint_set_commands): Likewise. | |
5312 | (do_map_commands_command): Likewise. | |
5313 | (bpstat_check_breakpoint_conditions): Notify that breakpoint has | |
5314 | changed after bumping hit count. | |
5315 | (bpstat_stop_status): Likewise. | |
5316 | (print_one_breakpoint_location): Don't wrap in tuple here. | |
5317 | (print_one_breakpoint): Always print individual locations. | |
5318 | For locations, use unnamed tuple. | |
5319 | (disable_breakpoints_in_unloaded_shlib): Notify that breakpoint | |
5320 | has changed. | |
5321 | (create_catchpoint, create_syscall_event_catchpoint): Call | |
5322 | breakpoint_created obsever. | |
5323 | (mention): Don't call breakpoint_created observer. | |
5324 | (create_breakpoint_sal): Call breakpoint_created observer. | |
5325 | (create_breakpoint, watch_command_1): Likewise. | |
5326 | (create_ada_exception_breakpoint): Likewise. | |
5327 | (delete_breakpoint): Call breakpoint_deleted breakpoint. | |
5328 | (locations_are_equal): New. | |
5329 | (update_breakpoint_locations): If locations were changed, notify. | |
5330 | (set_ignore_count, disable_breakpoint, do_enable_breakpoint): | |
5331 | Call breakpoint_modified observer. | |
5332 | ||
5333 | * mi/mi-cmd-break.c (breakpoint_notify): Adjust. | |
5334 | (mi_cmd_break_insert): Don't set observers for modify and delete. | |
5335 | * mi/mi-interp.c (mi_suppress_breakpoint_notifications): New. | |
5336 | (mi_breakpoint_created, mi_breakpoint_deleted) | |
5337 | (mi_breakpoint_modified): New. | |
5338 | (mi_interpreter_init): Hook the above. | |
5339 | * mi/mi-main.c (mi_cmd_execute): Disable breakpoint notifications | |
5340 | while -break-* commands are executing. | |
5341 | * mi/mi-main.h (mi_suppress_breakpoint_notifications): New. | |
5342 | * mi/mi-out.c (struct ui_out_data): New field original_buffer. | |
5343 | (mi_redirect): New. | |
5344 | (mi_ui_out_impl): Hook in mi_redirect. | |
5345 | (mi_field_skip): True to the name, skip the field, don't output | |
5346 | a field with an empty value. | |
5347 | ||
5348 | * python/py-breakpoint.c (gdbpy_breakpoint_created) | |
5349 | (gdbpy_breakpoint_deleted): Adjust. | |
5350 | * tui/tui-hooks.c (tui_event_create_breakpoint) | |
5351 | (tui_event_delete_breakpoint, tui_event_modify_breakpoint): Adjust. | |
8d3788bd | 5352 | |
a8f42b45 UW |
5353 | 2011-04-26 Aleksandar Ristovski <[email protected]> |
5354 | ||
5355 | * nto-procfs.c (procfs_insert_hw_watchpoint): Fix prototype. | |
5356 | (procfs_remove_hw_watchpoint): Likewise. | |
5357 | ||
57e12211 TT |
5358 | 2011-04-26 Michael Walle <[email protected]> |
5359 | ||
5360 | * remote.c (remote_start_remote): Ack packet after sending the | |
5361 | interrupt sequence. | |
5362 | ||
af96c192 YQ |
5363 | 2011-04-26 Yao Qi <[email protected]> |
5364 | ||
f33edef8 PP |
5365 | * linux-nat.c: Move common macros to ... |
5366 | Include linux-ptrace.h. | |
5367 | * common/linux-ptrace.h: ... here. New. | |
af96c192 | 5368 | |
3e03848b JK |
5369 | 2011-04-25 Jan Kratochvil <[email protected]> |
5370 | ||
5371 | * elfread.c (elf_symfile_read): Protect dwarf2_initialize_objfile by | |
5372 | !objfile_has_partial_symbols. New comment. | |
5373 | * objfiles.c (objfile_has_partial_symbols): Call HAS_SYMBOLS if | |
5374 | SYM_READ_PSYMBOLS is not present. Extend the comment. | |
5375 | * symfile.h (struct sym_fns): Extend the sym_read_psymbols comment. | |
5376 | ||
1ae0d051 JK |
5377 | 2011-04-25 Jan Kratochvil <[email protected]> |
5378 | ||
5379 | * defs.h (ENUM_BITFIELD): Remove. | |
5380 | ||
03f2bd59 JK |
5381 | 2011-04-24 Jan Kratochvil <[email protected]> |
5382 | Eli Zaretskii <[email protected]> | |
5383 | ||
5384 | * NEWS: Document the new gdbserver --once option. | |
5385 | ||
4161fbb0 JZ |
5386 | 2011-04-21 Jie Zhang <[email protected]> |
5387 | ||
5388 | * MAINTAINERS: Update my email address. | |
5389 | ||
bcb28afc PM |
5390 | 2011-04-21 Pierre Muller <[email protected]> |
5391 | ||
5392 | * gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro. | |
5393 | (INTERMEDIATE_ENCODING): Change value to intermediate_encoding | |
5394 | function call if __STDC_ISO_10646__ macro is defined. | |
5395 | (intermediate_encoding): New prototype. | |
5396 | * charset.c (your_gdb_wchar_t_is_bogus): New extern test variable | |
5397 | to generate compile time error for unsupported gdb_wchar_t size. | |
5398 | (ENDIAN_SUFFIX): New macro. | |
5399 | (intermediate_encoding): New function. | |
5400 | ||
7b08b9eb JK |
5401 | 2011-04-20 Jan Kratochvil <[email protected]> |
5402 | ||
5403 | * ada-lang.c (struct add_partial_datum): Update the comment for | |
5404 | expand_partial_symbol_name. | |
5405 | (ada_add_partial_symbol_completions): Rename to ... | |
5406 | (ada_expand_partial_symbol_name): ... here, change return type, update | |
5407 | function comment, call symbol_completion_match instead of | |
5408 | symbol_completion_add. | |
5409 | (ada_make_symbol_completion_list): Use now expand_partial_symbol_names | |
5410 | and ada_expand_partial_symbol_name. | |
5411 | * dwarf2read.c (dw2_expand_symtabs_matching): Support NULL | |
5412 | FILE_MATCHER. | |
5413 | (dw2_map_symbol_names): Remove. | |
5414 | (dwarf2_gdb_index_functions): Unlist dw2_map_symbol_names. | |
5415 | * psymtab.c (map_symbol_names_psymtab): Remove. | |
5416 | (expand_symtabs_matching_via_partial): Support NULL FILE_MATCHER. | |
5417 | Support KIND == ALL_DOMAIN. Exchange the NAME_MATCHER and KIND check | |
5418 | order. | |
5419 | (psym_functions): Unlist map_symbol_names_psymtab. | |
5420 | (map_partial_symbol_names): Rename to ... | |
5421 | (expand_partial_symbol_names): ... here, change the FUN type, call | |
5422 | expand_symtabs_matching with ALL_DOMAIN and NULL FILE_MATCHER now. | |
5423 | * psymtab.h (map_partial_symbol_names): Rename to ... | |
5424 | (expand_partial_symbol_names): ... here, change the FUN type. | |
5425 | * symfile.h (struct quick_symbol_functions): Update the description of | |
5426 | expand_symtabs_matching. Remove map_symbol_names. | |
5427 | * symtab.c (search_symbols): Add ALL_DOMAIN to the function comment. | |
5428 | (struct add_name_data): Update the comment for | |
5429 | expand_partial_symbol_name. | |
5430 | (add_partial_symbol_name): Rename to ... | |
5431 | (expand_partial_symbol_name): ... here. Replace | |
5432 | completion_list_add_name call by strncmp. | |
5433 | (default_make_symbol_completion_list_break_on): Use now | |
5434 | expand_partial_symbol_names and expand_partial_symbol_name. | |
5435 | * symtab.h (enum search_domain): New element ALL_DOMAIN. | |
5436 | ||
90476074 TT |
5437 | 2011-04-20 Tom Tromey <[email protected]> |
5438 | ||
5439 | * dwarf2read.c (save_gdb_index_command): Replace format | |
5440 | documentation with a pointer to the manual. | |
5441 | ||
c21236dc PA |
5442 | 2011-04-20 Pedro Alves <[email protected]> |
5443 | ||
5444 | * regcache.c: Include remote.h. | |
5445 | (enum regcache_dump_what) <regcache_dump_remote>: New enum value. | |
5446 | (regcache_dump): Handle regcache_dump_remote. | |
5447 | (maintenance_print_remote_registers): New function. | |
5448 | (_initialize_regcache): Install "maint print remote-registers" | |
5449 | command. | |
5450 | * remote.c (map_regcache_remote_table): New function, factored out | |
5451 | from ... | |
5452 | (init_remote_state): ... here. | |
5453 | (remote_register_number_and_offset): New. | |
5454 | * remote.h (remote_register_number_and_offset): Declare. | |
5455 | ||
b78974c3 PA |
5456 | 2011-04-20 Pedro Alves <[email protected]> |
5457 | ||
5458 | * regcache.c (get_thread_arch_regcache): If creating a regcache for | |
5459 | null_ptid, assume and allow a NULL address space, instead of | |
5460 | asking the target for the ptid's address space. | |
5461 | * infrun.c (ptid_is_pid): Remove assertion. | |
5462 | ||
7a9dd1b2 TT |
5463 | 2011-04-19 Tom Tromey <[email protected]> |
5464 | ||
5465 | * windows-tdep.c (windows_xfer_shared_library): | |
5466 | * windows-nat.c (get_module_name, windows_make_so): | |
5467 | * v850-tdep.c (v850_handle_pushm): | |
5468 | * utils.c (null_cleanup, gdb_realpath): | |
5469 | * ui-out.c (get_next_header): | |
5470 | * tracepoint.c (clear_traceframe_info): | |
5471 | * symtab.c (lookup_symtab): | |
5472 | * serial.h (struct serial_ops): | |
5473 | * mipsread.c (read_alphacoff_dynamic_symtab): | |
5474 | * infcmd.c (print_return_value): | |
5475 | * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): | |
5476 | * f-exp.y (parse_number): | |
5477 | * exceptions.c (catch_exceptions): | |
5478 | * dummy-frame.c (dummy_frame_this_id): | |
5479 | * defs.h (struct cleanup): | |
5480 | * breakpoint.c (disable_breakpoints_in_unloaded_shlib): | |
5481 | * arm-tdep.c (arm_push_dummy_call): | |
5482 | * amd64-tdep.h (amd64_collect_xsave): | |
5483 | * amd64-tdep.c (amd64_collect_xsave): | |
5484 | * alpha-tdep.c (alpha_heuristic_frame_unwind_cache): | |
5485 | * README (typing): Remove duplicate words. | |
5486 | * cli/cli-decode.c (lookup_cmd_composition): Add comma. | |
5487 | * infrun.c (siginfo_value_read): Fix typo. | |
5488 | * solib-frv.c (frv_fdpic_find_global_pointer): Likewise. | |
5489 | * top.c (source_line_number): Add comma. | |
5490 | ||
9941e0c5 MK |
5491 | 2011-04-19 Marc Khouzam <[email protected]> |
5492 | ||
5493 | * thread.c (any_live_thread_of_process): Prioritize threads | |
5494 | that are not executing. | |
5495 | * gdbthread.h (any_live_thread_of_process): Update comment | |
5496 | as per above change. | |
5497 | ||
ed4b0e6a AS |
5498 | 2011-04-19 Andreas Schwab <[email protected]> |
5499 | ||
5500 | * xcoffread.c (process_xcoff_symbol): Remove useless cast. | |
5501 | (scan_xcoff_symtab): Likewise. | |
5502 | ||
9b13a2db PM |
5503 | 2011-04-19 Pierre Muller <[email protected]> |
5504 | ||
5505 | * xcoffread.c (process_xcoff_symbol): ARI fix: Avoid assignment | |
5506 | inside if clause. | |
5507 | ||
1c6e1b0d PM |
5508 | 2011-04-19 Pierre Muller <[email protected]> |
5509 | Pedro Alves <[email protected]> | |
5510 | ||
5511 | * xstormy16-tdep.c (xstormy16_push_dummy_call): Add local | |
5512 | variables to simplify code and avoid == operator at end of | |
5513 | line as this is against GNU coding standards. | |
5514 | ||
74de0234 PM |
5515 | 2011-04-19 Pierre Muller <[email protected]> |
5516 | ||
5517 | * solib-svr4.c (svr4_keep_data_in_core): Rename local variable | |
5518 | lm_name to name_lm to avoid conflict with lm_name function. | |
5519 | ||
b23518f0 PM |
5520 | 2011-04-19 Pierre Muller <[email protected]> |
5521 | ||
5522 | ARI fixes: Use only lowercase function name for static functions. | |
5523 | * nto-tdep.c (LM_ADDR): Rename to... | |
5524 | (lm_addr): New function name. | |
5525 | (nto_relocate_section_addresses): Adapt to change above. | |
5526 | * solib-sunos.c (LM_ADDR): Rename to... | |
5527 | (lm_addr): New function name. | |
5528 | (LM_NEXT): Rename to... | |
5529 | (lm_next): New function name. | |
5530 | (sunos_current_sos, sunos_relocate_section_addresses): Adapt to | |
5531 | function name changes above. | |
5532 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Rename to... | |
5533 | (lm_addr_from_link_map): New function name. | |
5534 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
5535 | (has_lm_dynamic_from_link_map): New function name. | |
5536 | (LM_DYNAMIC_FROM_LINK_MAP): Rename to... | |
5537 | (lm_dynamic_from_link_map): New function name. | |
5538 | (LM_ADDR_CHECK): Rename to... | |
5539 | (lm_addr_check): New function name. | |
5540 | (LM_NEXT): Rename to... | |
5541 | (lm_next): New function name. | |
5542 | (LM_PREV): Rename to... | |
5543 | (lm_prev): New function name. | |
5544 | (LM_NAME): Rename to... | |
5545 | (lm_name): New function name. | |
5546 | (IGNORE_FIRST_LINK_MAP_ENTRY): Rename to... | |
5547 | (ignore_first_link_map_entry): New function name. | |
5548 | (svr4_keep_data_in_core): Adapt to function name changes above. | |
5549 | (svr4_current_sos): Likewise. | |
5550 | (enable_break): Likewise. | |
5551 | (svr4_relocate_section_addresses): Likewise. | |
5552 | ||
1448a0a2 PM |
5553 | 2011-04-19 Pierre Muller <[email protected]> |
5554 | ||
5555 | ARI cleanup. | |
5556 | * xtensa-tdep.c (xtensa_register_type): Use xstrprintf instead of | |
5557 | sprintf. Simplify code and avoid loosing memory. | |
5558 | (xtensa_register_reggroup_p): Extract assignment out of IF clause. | |
5559 | (call0_frame_cache): Remove && operator from end of line. | |
5560 | ||
02835898 JK |
5561 | 2011-04-17 Jan Kratochvil <[email protected]> |
5562 | ||
5563 | Fix libraries displacement if they change whether they were prelinked. | |
5564 | * solib-svr4.c (LM_ADDR_CHECK): Set L_ADDR even if the DYNAMIC pointer | |
5565 | does not match. Comment why. | |
5566 | ||
9a845ea2 JK |
5567 | 2011-04-17 Jan Kratochvil <[email protected]> |
5568 | ||
5569 | * corelow.c: Include wrapper.h. | |
5570 | (core_open): Call now gdb_target_find_new_threads. | |
5571 | * wrapper.c: Include target.h. | |
5572 | (gdb_target_find_new_threads): New. | |
5573 | * wrapper.h (gdb_target_find_new_threads): New declaration. | |
5574 | ||
254f582e JK |
5575 | 2011-04-17 Jan Kratochvil <[email protected]> |
5576 | ||
5577 | * linux-thread-db.c (find_new_threads_callback): Exit on zero TI_TID | |
5578 | even if !TARGET_HAS_EXECUTION. | |
5579 | ||
63524580 JK |
5580 | 2011-04-17 Jan Kratochvil <[email protected]> |
5581 | ||
5582 | Fix convert_code_addr_to_desc_addr for ppc64 files after eu-strip. | |
5583 | * elfread.c (elf_symfile_read): New variable synth_abfd, pass it to | |
5584 | bfd_get_synthetic_symtab. | |
5585 | * jit.c (jit_register_code): Pass NULL to the new parameter parent. | |
5586 | * machoread.c (macho_add_oso_symfile): Pass main_objfile to the new | |
5587 | parameter parent, remove the call to add_separate_debug_objfile. | |
5588 | * solib.c (solib_read_symbols): Pass NULL to the new parameter parent. | |
5589 | * symfile-mem.c (symbol_file_add_from_memory): Likewise. | |
5590 | * symfile.c (symbol_file_add_with_addrs_or_offsets): New parameter | |
5591 | parent, new comment for it, call add_separate_debug_objfile for it. | |
5592 | (symbol_file_add_separate): Pass objfile as the parameter parent, | |
5593 | remove the call to add_separate_debug_objfile. | |
5594 | (symbol_file_add_from_bfd): New parameter parent, pass it. | |
5595 | (symbol_file_add): Pass NULL to the new parameter parent. | |
5596 | * symfile.h (symbol_file_add_from_bfd): New parameter parent. | |
5597 | ||
90359a16 JK |
5598 | 2011-04-17 Jan Kratochvil <[email protected]> |
5599 | ||
5600 | * elfread.c (elf_symtab_read): Do not ignore .L symbols if they are | |
5601 | BSF_SYNTHETIC. | |
5602 | ||
626e7282 JK |
5603 | 2011-04-17 Jan Kratochvil <[email protected]> |
5604 | ||
5605 | Fix Python access to inlined frames. | |
5606 | * python/py-frame.c (frapy_read_var): Find BLOCK using get_frame_block. | |
5607 | * python/py-symbol.c (gdbpy_lookup_symbol): Likewise. | |
5608 | ||
cf31e6f9 TT |
5609 | 2011-04-15 Tom Tromey <[email protected]> |
5610 | ||
5611 | * dwarf2read.c (add_index_entry): Use VEC_last, not VEC_length. | |
5612 | ||
c8d895f1 GB |
5613 | 2011-04-15 Gary Benson <[email protected]> |
5614 | ||
5615 | * MAINTAINERS: Add myself to write-after-approval section. | |
5616 | ||
56a9aa1d MF |
5617 | 2011-04-14 Mike Frysinger <[email protected]> |
5618 | ||
5619 | * remote-sim.c (sim_command_completer): New function. | |
5620 | (_initialize_remote_sim): Set completer to sim_command_completer. | |
5621 | ||
ba770c9c TJB |
5622 | 2011-04-13 Thiago Jung Bauermann <[email protected]> |
5623 | ||
5624 | * breakpoint.c (print_exception_catchpoint): Rename to ... | |
5625 | (print_it_exception_catchpoint): ... this. | |
5626 | (gnu_v3_exception_catchpoint_ops): Update with new name | |
5627 | for print_it_exception_catchpoint. | |
5628 | ||
51bf2553 EBM |
5629 | 2011-04-13 Edjunior Machado <[email protected]> |
5630 | ||
5631 | * MAINTAINERS: Add myself for write after approval privileges. | |
5632 | ||
d242658c MP |
5633 | 2011-04-13 Marek Polacek <[email protected]> |
5634 | ||
5635 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
5636 | ||
4a4106ca TJB |
5637 | 2011-04-13 Thiago Jung Bauermann <[email protected]> |
5638 | ||
5639 | * breakpoint.c (watch_command_1): Remove colon from exp_string. | |
5640 | ||
26063d49 TJB |
5641 | 2011-04-13 Thiago Jung Bauermann <[email protected]> |
5642 | ||
5643 | * breakpoint.c (save_breakpoints): Verify whether | |
5644 | breakpoint_ops.print_recreate is defined before calling it. | |
5645 | ||
7782b183 GB |
5646 | 2011-04-11 Gary Benson <[email protected]> |
5647 | ||
5648 | Fix failure with --enable-maintainer-mode. | |
5649 | * Makefile.in (aclocal_m4_deps): Updated gnulib dependencies. | |
5650 | ||
e8930875 JK |
5651 | 2011-04-09 Jan Kratochvil <[email protected]> |
5652 | ||
5653 | Code cleanup. | |
5654 | * symtab.c (search_symbols): Reorder the KIND description in the | |
5655 | function comment. Remove the unused 4th element of types, types2, | |
5656 | types3 and types4. New gdb_assert on KIND. | |
5657 | (symtab_symbol_info): Remove the unused 4th element of classnames. | |
5658 | New gdb_assert on KIND. | |
5659 | * symtab.h (enum search_domain): New warning in the enum comment. | |
5660 | Assign numbers to the elements VARIABLES_DOMAIN, FUNCTIONS_DOMAIN and | |
5661 | TYPES_DOMAIN. | |
5662 | ||
b4f2f049 JK |
5663 | 2011-04-09 Jan Kratochvil <[email protected]> |
5664 | ||
5665 | Fix crash of gdb save-index on a STABS file. | |
5666 | * dwarf2read.c (write_psymtabs_to_index): Return also on no | |
5667 | PSYMTABS_ADDRMAP. | |
5668 | ||
60d5a603 JK |
5669 | 2011-04-09 Jan Kratochvil <[email protected]> |
5670 | ||
5671 | Fix DW_AT_accessibility compatibility with gcc-4.6+. | |
5672 | * dwarf2read.c: Include ctype.h. | |
5673 | (producer_is_gxx_lt_4_6, dwarf2_default_access_attribute): New | |
5674 | functions. | |
5675 | (dwarf2_add_field): Fix new_field->accessibility by calling | |
5676 | dwarf2_default_access_attribute. Restructure setting accessibility | |
5677 | vs. virtuality. | |
5678 | (dwarf2_add_member_fn): New variable accessibility. Fix fnp | |
5679 | is_private and is_protected by calling | |
5680 | dwarf2_default_access_attribute. | |
5681 | ||
e0f68161 KB |
5682 | 2011-04-08 Kevin Buettner <[email protected]> |
5683 | ||
5684 | * rx-tdep.c (rx_frame_unwind): Add default_frame_unwind_stop_reason | |
5685 | to the initialization. | |
5686 | ||
2e1aae43 SE |
5687 | 2011-04-08 Steve Ellcey <[email protected]> |
5688 | ||
5689 | * Add default_frame_unwind_stop_reason value to libunwind_frame_unwind | |
5690 | initalization. | |
5691 | ||
c6ca3dab PM |
5692 | 2011-04-07 Pierre Muller <[email protected]> |
5693 | ||
5694 | Remove support for old Cygwin 1.5 versions. | |
5695 | * remote-fileio.c: Remove macros used to emulate new cygwin_conv_path | |
5696 | function on old Cygwin version. | |
5697 | * windows-nat.c: Remove cygwin version check and always define | |
5698 | __USEWIDE for Cygwin compilation. | |
5699 | ||
bd18283a YQ |
5700 | 2011-04-07 Yao Qi <[email protected]> |
5701 | ||
5702 | * arm-linux-tdep.c (arm_linux_copy_svc): Remove parameters INSN | |
5703 | and TO. | |
5704 | * arm-tdep.c (cleanup_svc): Handle variable instruction size. | |
5705 | (arm_copy_svc): Remove parameters INSN and TO. | |
5706 | (decode_svc_copro): Update caller. | |
5707 | * arm-tdep.h (struct displaced_step_closure): Remove parameters | |
5708 | from function pointer `copy_svc_os'. | |
5709 | ||
8c8dba6d YQ |
5710 | 2011-04-07 Yao Qi <[email protected]> |
5711 | ||
5712 | * arm-tdep.c (cleanup_branch): Set a correct return address in | |
5713 | LR for ARM and Thumb. | |
5714 | ||
59d7bcaf JK |
5715 | 2011-04-06 Jan Kratochvil <[email protected]> |
5716 | ||
5717 | Code cleanup. | |
5718 | * dictionary.c (dict_hash): Use SYMBOL_HASH_NEXT. | |
5719 | * dwarf2read.c (mapped_index_string_hash): Refer to SYMBOL_HASH_NEXT | |
5720 | in the function comment, a new note on values compatibility. | |
5721 | * minsyms.c (msymbol_hash_iw, msymbol_hash): Use SYMBOL_HASH_NEXT. | |
5722 | * symtab.h (SYMBOL_HASH_NEXT): New. | |
5723 | ||
e7db58ea TJB |
5724 | 2011-04-06 Thiago Jung Bauermann <[email protected]> |
5725 | ||
5726 | * ppc-linux-nat.c (check_condition): Add len output parameter. | |
5727 | Set it based on the memory region referenced in the condition | |
5728 | expression. Update all callers. | |
5729 | ||
9f743ef6 JK |
5730 | 2011-04-06 Jan Kratochvil <[email protected]> |
5731 | ||
5732 | Fix crash regression on systems featuring .gdb_index. | |
5733 | * objfiles.c (free_objfile): Move the | |
5734 | forget_cached_source_info_for_objfile call earlier. Comment it. | |
5735 | Extend the comment for objfile_free_data. | |
5736 | ||
9182c5bc JK |
5737 | 2011-04-06 Jan Kratochvil <[email protected]> |
5738 | ||
5739 | Fix regression of displaying the debug format. | |
5740 | * buildsym.c (end_symtab): Set symtab's debugformat and producer from | |
5741 | subfile. | |
5742 | ||
04bd08de TT |
5743 | 2011-04-04 Tom Tromey <[email protected]> |
5744 | ||
5745 | * cli/cli-interp.c (struct captured_execute_command_args): | |
5746 | Remove. | |
5747 | (do_captured_execute_command): Remove. | |
5748 | (safe_execute_command): Use TRY_CATCH. | |
5749 | * cli/cli-script.c (struct wrapped_read_command_file_args): | |
5750 | Remove. | |
5751 | (wrapped_read_command_file): Remove. | |
5752 | (script_from_file): Use TRY_CATCH. | |
5753 | * exceptions.c (catch_exception): Remove. | |
5754 | * exceptions.h (catch_exception): Remove. | |
5755 | (deprecated_throw_reason): Update comment. | |
5756 | * mi/mi-main.c (captured_mi_execute_command): Change 'data' | |
5757 | argument to 'context'. | |
5758 | (mi_execute_command): Use TRY_CATCH. | |
5759 | * remote.c (struct start_remote_args): Remove. | |
5760 | (remote_start_remote): Update; change arguments. | |
5761 | (remote_open_1): Use TRY_CATCH. | |
5762 | ||
58438ac1 TT |
5763 | 2011-04-04 Tom Tromey <[email protected]> |
5764 | ||
5765 | * tracepoint.c (scope_info): Update. | |
5766 | * symtab.c (decode_line_spec): Update. | |
5767 | * python/python.c (gdbpy_decode_line): Update. | |
5768 | * linespec.h (decode_line_1): Update. | |
5769 | * linespec.c (decode_line_1): Remove 'not_found_ptr' argument. | |
5770 | (decode_compound, find_method, symtab_from_filename) | |
5771 | (decode_variable): Likewise. | |
5772 | * cli/cli-cmds.c (edit_command): Update. | |
5773 | (list_command): Update. | |
5774 | * breakpoint.c (parse_breakpoint_sals): Remove 'not_found_ptr' | |
5775 | argument. | |
5776 | (create_breakpoint): Update. | |
5777 | (until_break_command): Update. | |
5778 | (addr_string_to_sals): Update. | |
5779 | (decode_line_spec_1): Update. | |
5780 | ||
b78a6381 TT |
5781 | 2011-04-04 Tom Tromey <[email protected]> |
5782 | ||
5783 | * breakpoint.c (struct captured_parse_breakpoint_args): Remove. | |
5784 | (do_captured_parse_breakpoint): Remove. | |
5785 | (create_breakpoint): `e' is now volatile. Remove `parse_args'. | |
5786 | Use TRY_CATCH directly. | |
5787 | ||
00174a86 TT |
5788 | 2011-04-04 Tom Tromey <[email protected]> |
5789 | ||
5790 | * symtab.h (free_symtab): Remove. | |
5791 | (forget_cached_source_info_for_objfile): Declare. | |
5792 | * symmisc.c (free_symtab): Remove. | |
5793 | * source.c (forget_cached_source_info_for_objfile): New function. | |
5794 | (forget_cached_source_info): Use it. | |
5795 | * objfiles.c (free_objfile): Simplify check before calling | |
5796 | clear_current_source_symtab_and_line. Call | |
5797 | forget_cached_source_info_for_objfile. | |
5798 | ||
30cc903e TT |
5799 | 2011-04-04 Tom Tromey <[email protected]> |
5800 | ||
5801 | * mdebugread.c (psymtab_to_symtab_1): Copy linetable to obstack. | |
5802 | (new_symtab): Don't set `free_code' on symtab. | |
5803 | (new_linetable): Properly handle size==0. | |
5804 | * symtab.h (struct symtab) <free_code, free_func>: Remove. | |
5805 | * symmisc.c (free_symtab): Don't free the linetable. Don't call | |
5806 | free_func. | |
5807 | * jv-lang.c (struct jv_per_objfile_data): New. | |
5808 | (jv_per_objfile_free): Free the data. | |
5809 | (get_dynamics_objfile): Allocate a jv_per_objfile_data. | |
5810 | (get_java_class_symtab): Set the `dict' field on the | |
5811 | jv_per_objfile_data. | |
5812 | (free_class_block): Remove. | |
5813 | * buildsym.c (end_symtab): Don't set `free_code' or `free_func' on | |
5814 | the symtab. | |
5815 | ||
0c2e6019 TT |
5816 | 2011-04-04 Tom Tromey <[email protected]> |
5817 | ||
5818 | * symfile.c (reread_symbols): Update. | |
5819 | * objfiles.h (struct objfile) <cp_namespace_symtab>: Remove | |
5820 | field. | |
5821 | * objfiles.c (allocate_objfile): Update. | |
5822 | * cp-support.h (cp_check_possible_namespace_symbols): Don't | |
5823 | declare. | |
5824 | * cp-namespace.c (lookup_symbol_file): Don't call | |
5825 | lookup_possible_namespace_symbol. | |
5826 | (initialize_namespace_symtab, get_possible_namespace_block) | |
5827 | (free_namespace_block, cp_check_possible_namespace_symbols) | |
5828 | (check_possible_namespace_symbols_loop) | |
5829 | (check_one_possible_namespace_symbol) | |
5830 | (lookup_possible_namespace_symbol): Remove. | |
5831 | (maintenance_cplus_namespace): Replace with notice. | |
5832 | (_initialize_cp_namespace): Deprecate `maint cplus namespace'. | |
5833 | ||
554d387d TT |
5834 | 2011-04-04 Tom Tromey <[email protected]> |
5835 | ||
5836 | * xcoffread.c (read_xcoff_symtab): Make `debugfmt' const. | |
5837 | * symtab.h (struct symtab) <producer, debugformat>: Now const. | |
5838 | * symmisc.c (free_symtab): Don't free debugformat. | |
5839 | * buildsym.h (struct subfile) <producer, debugformat>: Now const. | |
5840 | (record_debugformat, record_producer): Document. | |
5841 | * buildsym.c (end_symtab): Don't save debugformat and producer | |
5842 | names on obstack. | |
5843 | (end_symtab): Don't free debugformat and producer fields. | |
5844 | (record_debugformat): Don't call xstrdup. | |
5845 | (record_producer): Likewise. | |
5846 | ||
d4d4db8a TT |
5847 | 2011-04-04 Tom Tromey <[email protected]> |
5848 | ||
5849 | * source.c (find_source_lines): Remove LSEEK_NOT_LINEAR code. | |
5850 | (source_line_charpos, source_charpos_line): Remove. | |
5851 | ||
8903c50d TT |
5852 | 2011-04-04 Tom Tromey <[email protected]> |
5853 | ||
5854 | * symtab.h (domain_enum): Split in two... | |
5855 | (enum search_domain): New. | |
5856 | (search_symbols): Update. | |
5857 | * symtab.c (print_symbol_info, symtab_symbol_info): Remove | |
5858 | redundant declarations. | |
5859 | (search_symbols): Change 'kind' argument to search_domain. | |
5860 | Update. | |
5861 | (print_symbol_info): Likewise. | |
5862 | (symtab_symbol_info): Likewise. | |
5863 | * symfile.h (struct quick_symbol_functions) | |
5864 | <pre_expand_symtabs_matching>: Change type of 'kind' argument. | |
5865 | <expand_symtabs_matching>: Likewise. | |
5866 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Update. | |
5867 | (expand_symtabs_matching_via_partial): Update. | |
5868 | * dwarf2read.c (dw2_pre_expand_symtabs_matching): Update. | |
5869 | (dw2_expand_symtabs_for_function): Update. | |
5870 | * block.h: Moved anonymous enum... | |
5871 | * defs.h (enum block_enum): ... here. Now named. | |
5872 | ||
d9351f5f | 5873 | 2011-04-03 Joel Brobecker <[email protected]> |
5874 | ||
5875 | GDB 7.3 branch created (branch timestamp: 2011-04-01 01:00 UTC) | |
5876 | * version.in: Bump version to 7.3.50.20110403-cvs. | |
5877 | ||
d6e00af6 JB |
5878 | 2011-04-03 Joel Brobecker <[email protected]> |
5879 | ||
5880 | * NEWS: Create a new section for the next release branch. | |
5881 | Rename the section of the current branch, now that it has | |
5882 | been cut. | |
5883 | ||
2b9e5ea6 UW |
5884 | 2011-04-01 Ulrich Weigand <[email protected]> |
5885 | ||
5886 | * arm-tdep.c (arm_gdbarch_init): Enfore correct register number | |
5887 | for "fpscr" in target description. | |
5888 | ||
0cf03b49 JK |
5889 | 2011-04-01 Jan Kratochvil <[email protected]> |
5890 | ||
5891 | * dwarf2read.c (find_slot_in_mapped_hash): New variable back_to, | |
5892 | initialize it. Delay HASH initialization. Strip the part after open | |
5893 | parenthesis for languages with qualifiers. Call do_cleanups. | |
5894 | ||
5d901a73 TT |
5895 | 2011-04-01 Tom Tromey <[email protected]> |
5896 | ||
5897 | * utils.c (report_command_stats): Don't print `-' for negative | |
5898 | number. | |
5899 | ||
b0dd7688 JB |
5900 | 2011-04-01 Eric Botcazou <[email protected]> |
5901 | ||
5902 | * ada-lang.c (ada_is_simple_array_type, ada_value_slice_from_ptr) | |
5903 | (ada_value_slice, empty_array, to_fixed_array_type): Deal with | |
5904 | typedefs. | |
5905 | ||
956a9fb9 JB |
5906 | 2011-04-01 Joel Brobecker <[email protected]> |
5907 | ||
5908 | * breakpoint.h (bpdisp_text): Add declaration. | |
5909 | * breakpoint.c (bpdisp_text): Make non-static. | |
5910 | * ada-lang.c: #include "mi/mi-common.h". | |
5911 | (print_it_exception): Rewrite to improve GDB/MI output. | |
5912 | ||
3352110b PA |
5913 | 2011-04-01 Pedro Alves <[email protected]> |
5914 | ||
5915 | * arm-tdep.h (struct address_space): Add forward declaration. | |
5916 | ||
18819fa6 UW |
5917 | 2011-04-01 Ulrich Weigand <[email protected]> |
5918 | ||
5919 | * arm-tdep.h (arm_insert_single_step_breakpoint): Add prototype. | |
5920 | * arm-tdep.c (arm_override_mode): New global. | |
5921 | (arm_pc_is_thumb): Respect arm_override_mode. Remove single-step | |
5922 | execution mode heuristics. | |
5923 | (thumb_get_next_pc_raw): Remove INSERT_BKTP argument; always insert | |
5924 | second single-step breakpoint if needed, using | |
5925 | arm_insert_single_step_breakpoint. | |
5926 | (arm_get_next_pc_raw): Remove INSERT_BKTP argument. Only handle | |
5927 | ARM execution mode, do not call thumb_get_next_pc_raw. | |
5928 | (arm_get_next_pc): Encode execution mode in return value. Call | |
5929 | either arm_get_next_pc_raw or thumb_get_next_pc_raw. | |
5930 | (arm_insert_single_step_breakpoint): New function. | |
5931 | (arm_software_single_step): Call it. | |
5932 | * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): Add IS_THUMB | |
5933 | argument to return execution mode of sigreturn target. | |
5934 | (arm_linux_syscall_next_pc): Use it. | |
5935 | (arm_linux_copy_svc): Update call. | |
5936 | (arm_linux_software_single_step): Call | |
5937 | arm_insert_single_step_breakpoint. | |
5938 | ||
a6e293d1 JK |
5939 | 2011-03-31 Jan Kratochvil <[email protected]> |
5940 | ||
5941 | * dwarf2read.c (dwarf2_read_index): Fix .gdb_index version number in | |
5942 | the comment. | |
5943 | ||
a4c8e806 TT |
5944 | 2011-03-31 Tom Tromey <[email protected]> |
5945 | ||
5946 | * varobj.c (update_dynamic_varobj_children): Properly handle | |
5947 | errors from iterator. | |
5948 | ||
df5c6c50 JK |
5949 | 2011-03-31 Jan Kratochvil <[email protected]> |
5950 | ||
5951 | * dwarf2read.c (dwarf2_name): Initialize DEMANGLED. Avoid demangling | |
5952 | struct linkage name twice. | |
5953 | ||
1dae3efc TT |
5954 | 2011-03-31 Tom Tromey <[email protected]> |
5955 | ||
5956 | * python/py-prettyprint.c (print_stack_unless_memory_error): Add | |
5957 | missing ">" to message. | |
5958 | ||
f4f7ab05 TT |
5959 | 2011-03-31 Tom Tromey <[email protected]> |
5960 | ||
5961 | * varobj.c (instantiate_pretty_printer): Remove duplicate | |
5962 | 'return'. | |
5963 | ||
fcf250e2 UW |
5964 | 2011-03-31 Ulrich Weigand <[email protected]> |
5965 | ||
5966 | * i386-tdep.c (i386_frame_prev_register): Unwind SP from memory | |
5967 | if neither saved value nor register available (e.g. signal frame). | |
5968 | ||
ee6436e3 TJB |
5969 | 2011-03-31 Thiago Jung Bauermann <[email protected]> |
5970 | ||
5971 | * macroexp.c (expand): Avoid uninitialized variable | |
5972 | compiler warning. | |
5973 | ||
423f41a5 TJB |
5974 | 2011-03-31 Thiago Jung Bauermann <[email protected]> |
5975 | ||
5976 | * breakpoint.c (break_range_command): Fix typo in comment. | |
5977 | ||
f1310107 TJB |
5978 | 2011-03-31 Thiago Jung Bauermann <[email protected]> |
5979 | Sergio Durigan Junior <[email protected]> | |
5980 | ||
5981 | Implement support for PowerPC BookE ranged breakpoints. | |
5982 | * NEWS: Mention support for ranged breakpoints on embedded PowerPC. | |
5983 | * breakpoint.h (struct bp_target_info) <length>: New member | |
5984 | variable. | |
5985 | (struct breakpoint_ops) <breakpoint_hit>: Take struct bp_location | |
5986 | instead of struct breakpoint as argument, and also add ASPACE | |
5987 | and BP_ADDR arguments. Update all callers. | |
5988 | (struct breakpoint_ops) <print_one_detail>: New method. | |
5989 | (struct breakpoint) <addr_string_range_end>: New member variable. | |
5990 | * breakpoint.c (breakpoint_location_address_match): Add function | |
5991 | prototype. | |
5992 | (insert_bp_location): Set bl->target_info.length. | |
5993 | (breakpoint_here_p): Call breakpoint_location_address_match. | |
5994 | (moribund_breakpoint_here_p): Likewise. | |
5995 | (regular_breakpoint_inserted_here_p): Likewise. | |
5996 | (breakpoint_thread_match): Likewise. | |
5997 | (bpstat_stop_status): Likewise. | |
5998 | (bpstat_check_location): Move call to | |
5999 | breakpoint_ops.breakpoint_hit to the top. | |
6000 | (print_one_breakpoint_location): Call | |
6001 | breakpoint_ops.print_one_detail if available. | |
6002 | (breakpoint_address_match_range): New function. | |
6003 | (breakpoint_location_address_match): Likewise. | |
6004 | (breakpoint_locations_match): Compare the length field of the | |
6005 | locations too. | |
6006 | (hw_breakpoint_used_count): Count resources used by all locations | |
6007 | in a breakpoint, and use breakpoint_ops.resources_needed if | |
6008 | available. | |
6009 | (breakpoint_hit_ranged_breakpoint): New function. | |
6010 | (resources_needed_ranged_breakpoint): Likewise. | |
6011 | (print_it_ranged_breakpoint): Likewise. | |
6012 | (print_one_ranged_breakpoint): Likewise. | |
6013 | (print_one_detail_ranged_breakpoint): Likewise. | |
6014 | (print_mention_ranged_breakpoint): Likewise. | |
6015 | (print_recreate_ranged_breakpoint): Likewise. | |
6016 | (ranged_breakpoint_ops): New structure. | |
6017 | (find_breakpoint_range_end): New function. | |
6018 | (break_range_command): Likewise. | |
6019 | (delete_breakpoint): Free addr_string_range_end. | |
6020 | (update_breakpoint_locations): Add SALS_END argument. Update | |
6021 | all callers. Calculate breakpoint length if a non-zero SALS_END | |
6022 | is given. Call breakpoint_locations_match instead of | |
6023 | breakpoint_address_match. | |
6024 | (reset_breakpoint): Find SaL of the end of the range if B is a | |
6025 | ranged breakpoint. | |
6026 | (_initialize_breakpoint): Register break-range command. | |
6027 | * defs.h (print_core_address): Add function prototype. | |
6028 | * ppc-linux-nat.c (ppc_linux_ranged_break_num_registers): New | |
6029 | function. | |
6030 | (ppc_linux_insert_hw_breakpoint): Support ranged breakpoints. | |
6031 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
6032 | (_initialize_ppc_linux_nat): Initialize | |
6033 | to_ranged_break_num_registers. | |
6034 | * target.c (update_current_target): Add comment about | |
6035 | to_ranged_break_num_registers. | |
6036 | (target_ranged_break_num_registers): New function. | |
6037 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
6038 | New method. | |
6039 | (target_ranged_break_num_registers): Add function prototype. | |
6040 | * ui-out.c (ui_out_field_core_addr): Move address-printing logic to ... | |
6041 | * utils.c (print_core_address): ... here. | |
6042 | ||
02d20e4a UW |
6043 | 2011-03-31 Ulrich Weigand <[email protected]> |
6044 | ||
6045 | * breakpoint.c (addr_string_to_sals): Avoid uninitialized | |
6046 | variable compiler warning. | |
6047 | ||
ef23e705 TJB |
6048 | 2011-03-30 Thiago Jung Bauermann <[email protected]> |
6049 | ||
6050 | * breakpoint.c (breakpoint_re_set_one): Factor out breakpoint-resetting | |
6051 | code from here ... | |
6052 | (re_set_breakpoint): ... to here ... | |
6053 | (addr_string_to_sals): ... and here. | |
6054 | ||
311e6ab3 PM |
6055 | 2011-03-29 Pierre Muller <[email protected]> |
6056 | ||
6057 | * Makefile.in (SFILES): Add missing C sources. | |
6058 | (HFILES_NO_SRCDIR): Remove gdbserver subdirectory headers. | |
6059 | Add missing headers. | |
6060 | ||
acd1d99c MF |
6061 | 2011-03-29 Mike Frysinger <[email protected]> |
6062 | ||
6063 | * .gitignore: New file. | |
6064 | ||
66ee2731 MF |
6065 | 2011-03-29 Mike Frysinger <[email protected]> |
6066 | ||
6067 | * NEWS: Mention new cfi device simulation. | |
6068 | ||
53832f31 TT |
6069 | 2011-03-29 Tom Tromey <[email protected]> |
6070 | ||
6071 | * dwarf2read.c (fixup_partial_die): Handle linkage name on | |
6072 | otherwise anonymous types. | |
6073 | (dwarf2_name): Likewise. | |
6074 | * valops.c (value_struct_elt_for_reference): Refine artificial | |
6075 | type logic. Call error if j==-1. | |
6076 | ||
09b58708 JK |
6077 | 2011-03-29 Andreas Tobler <[email protected]> |
6078 | ||
6079 | Fix false GCC warning. | |
6080 | * infcall.c (find_function_addr): Initialize funaddr. | |
6081 | ||
6023c606 PM |
6082 | 2011-03-29 Pierre Muller <[email protected]> |
6083 | ||
6084 | Fix mingw compilation with --enable-targets=all. | |
6085 | * remote-mips.c (gdb_usleep.h): Include header. | |
6086 | (mips_enter_debug): Use gdb_usleep instead of sleep. | |
6087 | ||
0e30163f JK |
6088 | 2011-03-28 Jan Kratochvil <[email protected]> |
6089 | ||
6090 | Support resolution of STT_GNU_IFUNC via breakpoints. | |
6091 | * breakpoint.c (print_it_typical): Support bp_gnu_ifunc_resolver and | |
6092 | bp_gnu_ifunc_resolver_return. | |
6093 | (bpstat_what): Rename parameter to bs_head, new variable bs, adjust | |
6094 | the loop. Support bp_gnu_ifunc_resolver and | |
6095 | bp_gnu_ifunc_resolver_return. New comment after the loop. New loop | |
6096 | for bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return | |
6097 | breakpoints. | |
6098 | (bptype_string, print_one_breakpoint_location): Support | |
6099 | bp_gnu_ifunc_resolver and bp_gnu_ifunc_resolver_return. | |
6100 | (user_settable_breakpoint): Return true also for | |
6101 | bp_gnu_ifunc_resolver. | |
6102 | (allocate_bp_location): Support bp_gnu_ifunc_resolver and | |
6103 | bp_gnu_ifunc_resolver_return. | |
6104 | (set_breakpoint_location_function): New parameter explicit_loc, | |
6105 | describe it. Call find_pc_partial_function_gnu_ifunc with new | |
6106 | variable IS_GNU_IFUNC and adjust the address for STT_GNU_IFUNC if | |
6107 | EXPLICIT_LOC is not set. | |
6108 | (set_raw_breakpoint): Set EXPLICIT_LOC for | |
6109 | set_breakpoint_location_function. | |
6110 | (clone_momentary_breakpoint): Use true for EXPLICIT_LOC of | |
6111 | set_breakpoint_location_function. | |
6112 | (mention): Support bp_gnu_ifunc_resolver and | |
6113 | bp_gnu_ifunc_resolver_return. | |
6114 | (add_location_to_breakpoint): Set EXPLICIT_LOC for | |
6115 | set_breakpoint_location_function. | |
6116 | (update_breakpoint_locations): Remove static. | |
6117 | (breakpoint_re_set_one): Support bp_gnu_ifunc_resolver and | |
6118 | bp_gnu_ifunc_resolver_return. | |
6119 | * breakpoint.h (enum bptype): New fields bp_gnu_ifunc_resolver and | |
6120 | bp_gnu_ifunc_resolver_return. | |
6121 | (update_breakpoint_locations): New declaration. | |
6122 | * elfread.c: Include gdbthread.h and regcache.h. | |
6123 | (elf_gnu_ifunc_resolver_stop, elf_gnu_ifunc_resolver_return_stop): New | |
6124 | functions. | |
6125 | (elf_gnu_ifunc_fns): Install them. | |
6126 | * minsyms.c (stub_gnu_ifunc_resolver_stop) | |
6127 | (stub_gnu_ifunc_resolver_return_stop): New functions. | |
6128 | (stub_gnu_ifunc_fns): Install them. | |
6129 | * symtab.h (struct gnu_ifunc_fns): New fields gnu_ifunc_resolver_stop | |
6130 | and gnu_ifunc_resolver_return_stop. | |
6131 | (gnu_ifunc_resolver_stop, gnu_ifunc_resolver_return_stop): New. | |
6132 | ||
07be84bf JK |
6133 | 2011-03-28 Jan Kratochvil <[email protected]> |
6134 | ||
6135 | STT_GNU_IFUNC reader implementation. | |
6136 | * elfread.c: Include gdbtypes.h, value.h and infcall.h. | |
6137 | (SYMBOL_GOT_PLT_SUFFIX, elf_rel_plt_read) | |
6138 | (elf_objfile_gnu_ifunc_cache_data, struct elf_gnu_ifunc_cache) | |
6139 | (elf_gnu_ifunc_cache_hash, elf_gnu_ifunc_cache_eq) | |
6140 | (elf_gnu_ifunc_record_cache, elf_gnu_ifunc_resolve_by_cache) | |
6141 | (elf_gnu_ifunc_resolve_by_got, elf_gnu_ifunc_resolve_name) | |
6142 | (elf_gnu_ifunc_resolve_addr): New. | |
6143 | (elf_symfile_read): Call elf_rel_plt_read. | |
6144 | (elf_gnu_ifunc_fns): New. | |
6145 | (_initialize_elfread): Initialize elf_objfile_gnu_ifunc_cache_data. | |
6146 | Install elf_gnu_ifunc_fns. | |
6147 | * infcall.c (find_function_return_type): New function. | |
6148 | (find_function_addr): Resolve TYPE_GNU_IFUNC functions, if possible. | |
6149 | * minsyms.c (stub_gnu_ifunc_resolve_addr) | |
6150 | (stub_gnu_ifunc_resolve_name): New functions. | |
6151 | (stub_gnu_ifunc_fns, gnu_ifunc_fns_p): New variables. | |
6152 | * symtab.h (struct gnu_ifunc_fns, gnu_ifunc_resolve_addr) | |
6153 | (gnu_ifunc_resolve_name, gnu_ifunc_fns_p): New. | |
6154 | ||
300f8e10 JK |
6155 | 2011-03-28 Jan Kratochvil <[email protected]> |
6156 | ||
6157 | Code cleanup for later STT_GNU_IFUNC support. | |
6158 | * infcall.c (find_function_addr): Remove variable code, use explicit | |
6159 | dereferences for it. Move VALUE_TYPE initialization later. | |
6160 | ||
11c81455 JK |
6161 | 2011-03-28 Jan Kratochvil <[email protected]> |
6162 | ||
6163 | GDB find_pc_partial_function support for STT_GNU_IFUNC. | |
6164 | * blockframe.c (cache_pc_function_is_gnu_ifunc): New variable. | |
6165 | (clear_pc_function_cache): Clear it. | |
6166 | (find_pc_partial_function): Rename to ... | |
6167 | (find_pc_partial_function_gnu_ifunc): ... this function. New | |
6168 | parameter is_gnu_ifunc_p, describe it. Set *IS_GNU_IFUNC_P. | |
6169 | (find_pc_partial_function): New wrapper for this function. | |
6170 | * symtab.h (find_pc_partial_function_gnu_ifunc): New declaration. | |
6171 | ||
0875794a JK |
6172 | 2011-03-28 Jan Kratochvil <[email protected]> |
6173 | ||
6174 | GDB internal type support for STT_GNU_IFUNC. | |
6175 | * elfread.c (record_minimal_symbol): Support mst_text_gnu_ifunc. | |
6176 | (elf_symtab_read): Set mst_text_gnu_ifunc for | |
6177 | BSF_GNU_INDIRECT_FUNCTION. | |
6178 | * eval.c (evaluate_subexp_standard): Support TYPE_GNU_IFUNC. | |
6179 | * gdbtypes.c (init_type): Support TYPE_FLAG_GNU_IFUNC, | |
6180 | builtin_func_func, nodebug_text_gnu_ifunc_symbol and | |
6181 | nodebug_got_plt_symbol. | |
6182 | * gdbtypes.h (enum type_flag_value): New entry TYPE_FLAG_GNU_IFUNC. | |
6183 | (TYPE_GNU_IFUNC): New. | |
6184 | (struct main_type): New field flag_gnu_ifunc. | |
6185 | (struct builtin_type): New field builtin_func_func. | |
6186 | (struct objfile_type): New fields nodebug_text_gnu_ifunc_symbol and | |
6187 | nodebug_got_plt_symbol. | |
6188 | * minsyms.c (lookup_minimal_symbol_text): Support mst_text_gnu_ifunc. | |
6189 | (in_gnu_ifunc_stub): New. | |
6190 | (prim_record_minimal_symbol, find_solib_trampoline_target): Support | |
6191 | mst_text_gnu_ifunc. | |
6192 | * parse.c (write_exp_msymbol): New variable ifunc_msym. Detect and | |
6193 | support mst_text_gnu_ifunc. Support mst_slot_got_plt. | |
6194 | * solib-svr4.c (svr4_in_dynsym_resolve_code): Return true also for | |
6195 | in_gnu_ifunc_stub. | |
6196 | * symmisc.c (dump_msymbols): Support mst_text_gnu_ifunc. | |
6197 | * symtab.c (search_symbols): Likewise. | |
6198 | * symtab.h (enum minimal_symbol_type): New fields mst_text_gnu_ifunc | |
6199 | and mst_slot_got_plt. | |
6200 | (in_gnu_ifunc_stub): New declaration. | |
6201 | ||
d0fb5eae JK |
6202 | 2011-03-28 Jan Kratochvil <[email protected]> |
6203 | ||
6204 | Support a ring of related breakpoints. | |
6205 | * breakpoint.c (watchpoint_del_at_next_stop): New, move here code from | |
6206 | other functions, add gdb_assert. | |
6207 | (update_watchpoint, watchpoint_check): Add gdb_assert. Use | |
6208 | watchpoint_del_at_next_stop. | |
6209 | (bpstat_check_watchpoint): Use watchpoint_del_at_next_stop. | |
6210 | (bpstat_stop_status): Handle ring in related_breakpoint. | |
6211 | (set_raw_breakpoint_without_location): Initialize ring in | |
6212 | related_breakpoint. | |
6213 | (delete_breakpoint): Handle ring in related_breakpoint, use | |
6214 | watchpoint_del_at_next_stop. | |
6215 | (map_breakpoint_numbers): Handle ring in related_breakpoint. | |
6216 | ||
9cded63f TT |
6217 | 2011-03-28 Tom Tromey <[email protected]> |
6218 | ||
6219 | PR symtab/12441: | |
6220 | * dwarf2read.c (prepare_one_comp_unit): Don't call set_cu_language | |
6221 | with `language_minimal'. | |
6222 | ||
467d42c4 UW |
6223 | 2011-03-25 Ulrich Weigand <[email protected]> |
6224 | ||
6225 | * arm-tdep.c (arm_elf_make_msymbol_special): Use ARM_SYM_BRANCH_TYPE | |
6226 | instead of checking for STT_ARM_TFUNC symbol type. | |
6227 | ||
62853458 TT |
6228 | 2011-03-25 Tom Tromey <[email protected]> |
6229 | ||
6230 | * linespec.c (symbol_found): Restore line-based result for | |
6231 | non-LOC_LABEL symbols. | |
6232 | ||
a7417d46 KT |
6233 | 2011-03-25 Kai Tietz <[email protected]> |
6234 | ||
6235 | * tui/tui-source.c (tui_set_source_content): Use filename_cmp | |
6236 | instead of strcmp for comparison. | |
6237 | (tui_source_is_displayed): Likewise. | |
6238 | * tui/tui-winsource.c (tui_update_breakpoint_info): Likewise. | |
6239 | ||
55f1336d TT |
6240 | 2011-03-24 Mark Wielaard <[email protected]> |
6241 | ||
f33edef8 PP |
6242 | * dwarf2read.c (lookup_signatured_type): Use DW_FORM_ref_sig8 in |
6243 | complaint. | |
6244 | (skip_one_die): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
6245 | (find_partial_die_in_comp_unit): Likewise in comment. | |
6246 | (read_attribute_value): Likewise. | |
6247 | (lookup_die_type): Likewise. | |
6248 | (dwarf_form_name): Likewise. | |
6249 | (dump_die_shallow): Likewise. | |
6250 | (follow_die_ref_or_sig): Likewise. | |
55f1336d | 6251 | |
9ef07c8c TT |
6252 | 2011-03-24 Tom Tromey <[email protected]> |
6253 | ||
6254 | PR breakpoints/11816: | |
6255 | * linespec.c (decode_line_1): Parse `function:label' linespecs. | |
6256 | (decode_compound): Update. | |
6257 | (find_function_symbol): New function. | |
6258 | (decode_dollar): Update. | |
6259 | (decode_label): Add 'function_symbol' parameter. Handle | |
6260 | function-relative labels. | |
6261 | (decode_variable): Update. | |
6262 | (symbol_found): Add 'function_symbol' parameter. Use label's PC, | |
6263 | not its line. Set `special_display' and canonical name for | |
6264 | labels. | |
6265 | ||
56435ebe TT |
6266 | 2011-03-24 Tom Tromey <[email protected]> |
6267 | ||
6268 | * linespec.h (struct linespec_result) <special_display>: New | |
6269 | field. | |
6270 | * breakpoint.h (struct breakpoint) <display_canonical>: New | |
6271 | field. | |
6272 | * breakpoint.c (print_breakpoint_location): Respect | |
6273 | display_canonical. | |
6274 | (create_breakpoint_sal): Add 'display_canonical' parameter. | |
6275 | (create_breakpoints_sal): Update. | |
6276 | (create_breakpoint): Update. | |
6277 | ||
7efd8fc2 TT |
6278 | 2011-03-24 Tom Tromey <[email protected]> |
6279 | ||
6280 | * symtab.c (decode_line_spec): Update. | |
6281 | * linespec.c (build_canonical_line_spec): Change type of | |
6282 | 'canonical'. | |
6283 | (decode_line_2, decode_line_1, decode_objc, decode_compound) | |
6284 | (find_method, decode_all_digits, decode_dollar, decode_label) | |
6285 | (symbol_found): Likewise. | |
6286 | (init_linespec_result): New function. | |
6287 | * breakpoint.c (struct captured_parse_breakpoint_args) | |
6288 | <canonical_p>: New field, replaces addr_string_p. | |
6289 | (create_breakpoints_sal): Add 'canonical' parameter, replacing | |
6290 | 'addr_string'. | |
6291 | (parse_breakpoint_sals): Likewise. | |
6292 | (do_captured_parse_breakpoint): Update. | |
6293 | (create_breakpoint): Use struct linespec_result. | |
6294 | (until_break_command): Update. | |
6295 | (breakpoint_re_set_one): Update. | |
6296 | (decode_line_spec_1): Update. | |
6297 | * linespec.h (struct linespec_result): New. | |
6298 | (init_linespec_result): Declare. | |
6299 | ||
788c8b10 PA |
6300 | 2011-03-23 Pedro Alves <[email protected]> |
6301 | ||
6302 | * regcache.c (regcache_raw_read): If the target didn't supply a | |
6303 | given raw register, mark it as unavailable. | |
6304 | ||
0ba1096a KT |
6305 | 2011-03-23 Kai Tietz <[email protected]> |
6306 | ||
6307 | * breakpoint.c (clear_command): Use filename_cmp | |
6308 | instead of strcmp for comparison. | |
6309 | * buildsym.c (watch_main_source_file_lossage): Likewise. | |
6310 | (patch_subfile_names): Use IS_DIR_SEPARATOR instead of | |
6311 | checking just for slash. | |
6312 | * dbxread.c (read_dbx_symtab): Use lbasename instead of | |
6313 | strrchr and filename_cmp instead of strcmp for filenames. | |
6314 | (add_old_header_file): Use filename_cmp | |
6315 | instead of strcmp for comparison. | |
6316 | * exec.c (exec_set_section_address): Likewise. | |
6317 | * macrotab.c (macro_lookup_inclusion): Likewise. | |
6318 | (macro_lookup_inclusion): Likewise. | |
6319 | * elfread.c (_initialize_elfread): Likewise. | |
6320 | (elfstab_offset_sections): Likewise. | |
6321 | (elfstab_offset_sections): Use lbasename instead of | |
6322 | strrchr. | |
6323 | * mdebugread.c (parse_partial_symbols): Likewise. | |
6324 | (arse_partial_symbols): Use filename_(n)cmp instead of | |
6325 | str(n)cmp for comparison. | |
6326 | * minsyms.c (lookup_minimal_symbol): Likewise. | |
6327 | * psymtab.c (read_psymtabs_with_filename): Likewise. | |
6328 | * solib.c (solib_read_symbols): Likewise. | |
6329 | (reload_shared_libraries_1): Likewise. | |
6330 | * symmisc.c (maintenance_print_symbols): Likewise. | |
6331 | * symfile.c (separate_debug_file_exists): Likewise. | |
6332 | (reread_symbols): Likewise. | |
6333 | (find_separate_debug_file_by_debuglink): Likewise. | |
6334 | * remote-fileio.c (remote_fileio_func_rename): Likewise. | |
6335 | * source.c (add_path): Likewise. | |
6336 | * symtab.c (filename_seen): Likewise. | |
6337 | (file_matches): Likewise. | |
6338 | (print_symbol_info): Likewise. | |
6339 | (maybe_add_partial_symtab_filename): Likewise. | |
6340 | (make_source_files_completion_list): Likewise. | |
6341 | * xml-syscall.c (init_sysinfo): Likewise. | |
6342 | * windows-nat.c (_initialize_check_for_gdb_ini): Use | |
6343 | IS_DIR_SEPARATOR for checking for trailing path separator. | |
6344 | ||
dd90784c JK |
6345 | 2011-03-22 Jan Kratochvil <[email protected]> |
6346 | ||
6347 | * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_entry_value. New | |
6348 | label abort_expression. | |
6349 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle | |
6350 | DWARF_VALUE_OPTIMIZED_OUT. | |
6351 | ||
3167638f JK |
6352 | 2011-03-22 Jan Kratochvil <[email protected]> |
6353 | ||
6354 | Code cleanup. | |
6355 | * c-typeprint.c (c_type_print_args): Change parameter show_artificial | |
6356 | to linkage_name. Invert its value. Update the function comment. | |
6357 | (c_type_print_varspec_suffix): Invert it at the caller. | |
6358 | * dwarf2read.c (dwarf2_compute_name): Invert it at the caller. | |
6359 | ||
ce406537 PA |
6360 | 2011-03-22 Pedro Alves <[email protected]> |
6361 | ||
6362 | * infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR | |
6363 | errors when reading the `stop_pc'. | |
6364 | * printcmd.c (pc_prefix): Use get_frame_pc_if_available instead of | |
6365 | get_frame_pc. | |
6366 | ||
da5d4055 PM |
6367 | 2011-03-22 Phil Muldoon <[email protected]> |
6368 | ||
6369 | * NEWS: Document gdb.Write stream keyword. | |
6370 | ||
29e0eb9c JK |
6371 | 2011-03-22 Jan Kratochvil <[email protected]> |
6372 | ||
6373 | Revert: | |
6374 | 2011-03-21 Jan Kratochvil <[email protected]> | |
6375 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
6376 | (dwarf2_add_field): Fix new_field->accessibility for | |
6377 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
6378 | ||
05775840 PM |
6379 | 2011-03-22 Phil Muldoon <[email protected]> |
6380 | ||
f33edef8 | 6381 | PR python/12183 |
05775840 PM |
6382 | |
6383 | * python/py-function.c (fnpy_call): Treat GdbErrors differently to | |
6384 | other error classes. Do not print stack trace. | |
6385 | ||
a0cb7835 JK |
6386 | 2011-03-21 Jan Kratochvil <[email protected]> |
6387 | ||
6388 | * dwarf2read.c (producer_is_gxx_lt_4_6): New function. | |
6389 | (dwarf2_add_field): Fix new_field->accessibility for | |
6390 | cu->header.version >= 3 while verifying also producer_is_gxx_lt_4_6. | |
6391 | ||
d19f7eee UW |
6392 | 2011-03-21 Ulrich Weigand <[email protected]> |
6393 | ||
6394 | * arm-tdep.c (arm_analyze_prologue): Do not abort parsing when | |
6395 | encountering a load via a non-SP register. | |
6396 | ||
4a2fbb50 UW |
6397 | 2011-03-21 Ulrich Weigand <[email protected]> |
6398 | ||
6399 | * tramp-frame.c (tramp_frame_prepend_unwinder): Set stop_reason | |
6400 | field in returned unwinder. | |
6401 | ||
3489610d JB |
6402 | 2012-03-21 Jan Kratochvil <[email protected]> |
6403 | ||
6404 | * ada-lang.c (replace_operator_with_call): Copy also GDBARCH. | |
6405 | ||
8c1a34e7 JB |
6406 | 2012-03-21 Joel Brobecker <[email protected]> |
6407 | ||
6408 | * ada-lang.c (replace_operator_with_call): Use xzalloc instead | |
6409 | of xmalloc. | |
6410 | ||
8fbca658 PA |
6411 | 2012-03-18 Pedro Alves <[email protected]> |
6412 | ||
6413 | * frame.c (frame_unwind_register): Throw an error if unwinding the | |
6414 | register failed. | |
6415 | * get_prev_frame_1 (get_prev_frame_1): Ask the unwinder if there's | |
6416 | an unwind stop reason. | |
6417 | (frame_stop_reason_string): Handle UNWIND_UNAVAILABLE. | |
6418 | * frame.h (enum unwind_stop_reason) <UNWIND_OUTERMOST, | |
6419 | UNWIND_UNAVAILABLE>: New. | |
6420 | * inline-frame.c (inline_frame_unwind): Install | |
6421 | default_frame_unwind_stop_reason. | |
6422 | * frame-unwind.c: Include "exceptions.h". | |
6423 | (frame_unwind_find_by_frame): Swallow NOT_AVAILABLE_ERROR errors. | |
6424 | (default_frame_unwind_stop_reason): New. | |
6425 | * frame-unwind.h (frame_unwind_stop_reason_ftype): New typedef. | |
6426 | (default_frame_unwind_stop_reason): Declare. | |
6427 | (struct frame_unwind) <stop_reason>: New function pointer. | |
6428 | ||
6429 | * dummy-frame.c: Install default_frame_unwind_stop_reason. | |
6430 | * dwarf2-frame.c: Include exceptions.h. | |
6431 | (struct dwarf2_frame_cache) <unavailable_retaddr>: New field. | |
6432 | (dwarf2_frame_cache): Swallow NOT_AVAILABLE_ERROR errors when | |
6433 | computing the CFA. If such an error was thrown, set | |
6434 | unavailable_retaddr. | |
6435 | (dwarf2_frame_unwind_stop_reason): New. | |
6436 | (dwarf2_frame_this_id): Don't build a frame id if the CFA was | |
6437 | unavailable. | |
6438 | (dwarf2_frame_unwind): Install dwarf2_frame_unwind_stop_reason. | |
6439 | (dwarf2_signal_frame_unwind): Ditto. | |
6440 | ||
6441 | * amd64-tdep.c: Include "exceptions.h". | |
6442 | (struct amd64_frame_cache): New field "base_p". | |
6443 | (amd64_init_frame_cache): Clear it. | |
6444 | (amd64_frame_cache_1): New, factored out from amd64_frame_cache. | |
6445 | Avoid reading registers with functions that throw if the register | |
6446 | is not necessary to compute the frame base. | |
6447 | (amd64_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
6448 | swallowing NOT_AVAILABLE_ERROR. | |
6449 | (amd64_frame_unwind_stop_reason): New. | |
6450 | (amd64_frame_this_id): Don't build a frame id if the frame base | |
6451 | was unavailable. | |
6452 | (amd64_frame_unwind): Install amd64_frame_unwind_stop_reason. | |
6453 | (amd64_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
6454 | base_p if the frame base was computable. | |
6455 | (amd64_sigtramp_frame_unwind_stop_reason): New. | |
6456 | (amd64_sigtramp_frame_this_id): Don't build a frame id if the | |
6457 | frame base was unavailable. | |
6458 | (amd64_sigtramp_frame_unwind): Install | |
6459 | amd64_sigtramp_frame_unwind_stop_reason. | |
6460 | (amd64_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
6461 | base_p if the frame base was computable. | |
6462 | (amd64_epilogue_frame_unwind_stop_reason): New. | |
6463 | (amd64_epilogue_frame_this_id): Don't build a frame id if the | |
6464 | frame base was unavailable. | |
6465 | (amd64_epilogue_frame_unwind): Install | |
6466 | amd64_epilogue_frame_unwind_stop_reason. | |
6467 | * i386-tdep.c: Include "exceptions.h". | |
6468 | (struct i386_frame_cache): New field "base_p". | |
6469 | (i386_init_frame_cache): Clear it. | |
6470 | (i386_frame_cache_1): New, factored out from amd64_frame_cache. | |
6471 | Avoid reading registers with functions that throw if the register | |
6472 | is not necessary to compute the frame base. | |
6473 | (i386_frame_cache): Reimplement wrapping amd64_frame_cache_1, and | |
6474 | swallowing NOT_AVAILABLE_ERROR. | |
6475 | (i386_frame_unwind_stop_reason): New. | |
6476 | (i386_frame_this_id): Don't build a frame id if the frame base was | |
6477 | unavailable. | |
6478 | (i386_frame_prev_register): Handle unavailable SP. | |
6479 | (i386_frame_unwind): Install i386_frame_unwind_stop_reason. | |
6480 | (i386_epilogue_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
6481 | base_p if the frame base was computable. | |
6482 | (i386_epilogue_frame_unwind_stop_reason): New. | |
6483 | (i386_epilogue_frame_this_id): Don't build a frame id if the frame | |
6484 | base was unavailable. | |
6485 | (i386_epilogue_frame_unwind): Install | |
6486 | i386_epilogue_frame_unwind_stop_reason. | |
6487 | (i386_sigtramp_frame_cache): Swallow NOT_AVAILABLE_ERROR, and set | |
6488 | base_p if the frame base was computable. | |
6489 | (i386_sigtramp_frame_unwind_stop_reason): New. | |
6490 | (i386_sigtramp_frame_this_id): Don't build a frame id if the frame | |
6491 | base was unavailable. | |
6492 | (i386_sigtramp_frame_unwind): Install | |
6493 | i386_sigtramp_frame_unwind_stop_reason. | |
6494 | * sentinel-frame.c (sentinel_frame_prev_register): Use the value | |
6495 | type's size, not the register's. | |
6496 | (sentinel_frame_unwind): Install default_frame_unwind_stop_reason. | |
6497 | ||
6498 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_unwind): Install | |
6499 | default_frame_unwind_stop_reason. | |
6500 | * alpha-tdep.c (alpha_sigtramp_frame_unwind) | |
6501 | (alpha_heuristic_frame_unwind): Ditto. | |
6502 | * amd64obsd-tdep.c (amd64obsd_trapframe_unwind): Ditto. | |
6503 | * arm-tdep.c (arm_prologue_unwind, arm_stub_unwind): Ditto. | |
6504 | * avr-tdep.c (avr_frame_unwind): Ditto. | |
6505 | * cris-tdep.c (cris_sigtramp_frame_unwind, cris_frame_unwind): | |
6506 | Ditto. | |
6507 | * frv-linux-tdep.c (frv_linux_sigtramp_frame_unwind): Ditto. | |
6508 | * frv-tdep.c (frv_frame_unwind): Ditto. | |
6509 | * h8300-tdep.c (h8300_frame_unwind): Ditto. | |
6510 | * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind): Ditto. | |
6511 | * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_unwind): Ditto. | |
6512 | * hppa-tdep.c (hppa_frame_unwind, hppa_fallback_frame_unwind) | |
6513 | (hppa_stub_frame_unwind): Ditto. | |
6514 | * i386obsd-tdep.c (i386obsd_trapframe_unwind): Ditto. | |
6515 | * ia64-tdep.c (ia64_frame_unwind, ia64_sigtramp_frame_unwind) | |
6516 | (ia64_libunwind_frame_unwind) | |
6517 | (ia64_libunwind_sigtramp_frame_unwind): Ditto. | |
6518 | * iq2000-tdep.c (iq2000_frame_unwind): Ditto. | |
6519 | * lm32-tdep.c (lm32_frame_unwind): Ditto. | |
6520 | * m32c-tdep.c (m32c_unwind): Ditto. | |
6521 | * m32r-linux-tdep.c (m32r_linux_sigtramp_frame_unwind): Ditto. | |
6522 | * m32r-tdep.c (m32r_frame_unwind): Ditto. | |
6523 | * m68hc11-tdep.c (m68hc11_frame_unwind): Ditto. | |
6524 | * m68k-tdep.c (m68k_frame_unwind): Ditto. | |
6525 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_unwind): Ditto. | |
6526 | * m88k-tdep.c (m88k_frame_unwind): Ditto. | |
6527 | * mep-tdep.c (mep_frame_unwind): Ditto. | |
6528 | * microblaze-tdep.c (microblaze_frame_unwind): Ditto. | |
6529 | * mips-tdep.c (mips_insn16_frame_unwind, mips_insn32_frame_unwind) | |
6530 | (mips_stub_frame_unwind): Ditto. | |
6531 | * mn10300-tdep.c (mn10300_frame_unwind): Ditto. | |
6532 | * moxie-tdep.c (moxie_frame_unwind): Ditto. | |
6533 | * mt-tdep.c (mt_frame_unwind): Ditto. | |
6534 | * ppc-linux-tdep.c (ppu2spu_unwind): Ditto. | |
6535 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_unwind): Ditto. | |
6536 | * rs6000-tdep.c (rs6000_frame_unwind): Ditto. | |
6537 | * s390-tdep.c (s390_frame_unwind, s390_stub_frame_unwind) | |
6538 | (s390_sigtramp_frame_unwind): Ditto. | |
6539 | * score-tdep.c (score_prologue_unwind): Ditto. | |
6540 | * sh-tdep.c (sh_frame_unwind): Ditto. | |
6541 | * sh64-tdep.c (sh64_frame_unwind): Ditto. | |
6542 | * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_unwind): Ditto. | |
6543 | * sparc-tdep.c (sparc32_frame_unwind): Ditto. | |
6544 | * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind): Ditto. | |
6545 | * sparc64-tdep.c (sparc64_frame_unwind): Ditto. | |
6546 | * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_unwind): Ditto. | |
6547 | * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_unwind): Ditto. | |
6548 | * sparc64obsd-tdep.c (sparc64obsd_frame_unwind) | |
6549 | (sparc64obsd_trapframe_unwind): Ditto. | |
6550 | * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_unwind): Ditto. | |
6551 | * sparcobsd-tdep.c (sparc32obsd_sigtramp_frame_unwind): Ditto. | |
6552 | * spu-tdep.c (spu_frame_unwind, spu2ppu_unwind): Ditto. | |
6553 | * v850-tdep.c (v850_frame_unwind): Ditto. | |
6554 | * vax-tdep.c (vax_frame_unwind): Ditto. | |
6555 | * vaxobsd-tdep.c (vaxobsd_sigtramp_frame_unwind): Ditto. | |
6556 | * xstormy16-tdep.c (frame_unwind xstormy16_frame_unwind): Ditto. | |
6557 | * xtensa-tdep.c (xtensa_unwind): Ditto. | |
6558 | ||
f23d1b92 PA |
6559 | 2011-03-18 Pedro Alves <[email protected]> |
6560 | ||
6561 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Assume | |
6562 | there's always a frame. Use get_frame_pc_if_available instead of | |
6563 | get_frame_pc, and if there's no PC available, don't look up a | |
6564 | symtab. | |
6565 | ||
1d4f5741 PA |
6566 | 2011-03-18 Pedro Alves <[email protected]> |
6567 | ||
6568 | * stack.c (print_frame_local_vars, print_frame_arg_vars): Handle | |
6569 | unavailable PC. | |
6570 | ||
dba09041 PA |
6571 | 2011-03-18 Pedro Alves <[email protected]> |
6572 | ||
6573 | * tracepoint.c (set_traceframe_context): Handle unavailable PC | |
6574 | gracefully. | |
6575 | ||
9a26e44c PA |
6576 | 2011-03-18 Pedro Alves <[email protected]> |
6577 | ||
6578 | * frame.h (frame_unwind_caller_pc_if_available): Declare. | |
6579 | * frame.c (frame_unwind_caller_pc_if_available): New. | |
6580 | * stack.c (frame_info): Handle unavailable PC. | |
6581 | ||
6582 | 2011-03-18 Pedro Alves <[email protected]> | |
6583 | ||
6584 | * frame.c (frame_unwind_pc): Rename to ... | |
6585 | (frame_unwind_pc_if_available): ... this. New `pc' output | |
6586 | parameter. Change return type to int. Gracefully handle | |
6587 | gdbarch_unwind_pc throwing NOT_AVAILABLE_ERROR. Return 0 if that | |
6588 | happened, or 1 otherwise. | |
6589 | (frame_unwind_pc): Reimplement on top of | |
6590 | frame_unwind_pc_if_available. | |
6591 | (get_frame_func): Rename to ... | |
6592 | (get_frame_func_if_available): New `pc' output parameter. Change | |
6593 | return type to int. Gracefully handle the PC not being available. | |
6594 | (get_frame_func): Reimplement on top of | |
6595 | get_frame_func_if_available. | |
6596 | (select_frame): Handle the PC being unavailable. | |
6597 | (get_prev_frame): Handle the PC being unavailable. | |
6598 | (get_frame_pc_if_available): New. | |
6599 | (get_frame_address_in_block_if_available): New. | |
6600 | (find_frame_sal): Handle the frame PC not being available. | |
6601 | * frame.h (get_frame_pc_if_available): Declare. | |
6602 | (get_frame_address_in_block_if_available): Declare. | |
6603 | (get_frame_func_if_available): Declare. | |
6604 | * stack.c (print_frame_info): Handle the PC being unavailable. | |
6605 | (find_frame_funname): Ditto. | |
6606 | (print_frame): Handle the PC being unavailable. | |
6607 | (get_frame_language): Ditto. | |
6608 | * blockframe.c (get_frame_block): Ditto. | |
6609 | * macroscope.c (default_macro_scope): Ditto. | |
6610 | * tui/tui-stack.c (tui_show_frame_info): Ditto. | |
6611 | ||
6612 | 2011-03-18 Pedro Alves <[email protected]> | |
6613 | ||
6614 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Catch | |
6615 | NOT_AVAILABLE_ERROR when evaluating the location expression. | |
6616 | ||
6617 | 2011-03-18 Pedro Alves <[email protected]> | |
6618 | ||
6619 | * dwarf2loc.c (read_pieced_value): Handle get_frame_register_bytes | |
6620 | returning that the register piece is unavailable/optimized out. | |
6621 | (write_pieced_value): Handle get_frame_register_bytes returning | |
6622 | that the register piece is unavailable/optimized out when doing a | |
6623 | read-modify write of a bitfield. | |
6624 | * findvar.c (value_from_register): Handle get_frame_register_bytes | |
6625 | returning that the register piece is unavailable/optimized out. | |
6626 | * frame.c (get_frame_register_bytes): New parameters `optimizedp' | |
6627 | and `unavailablep'. Throw error on bad debug info. Use | |
6628 | frame_register instead of frame_register_read, to fill in the new | |
6629 | arguments. | |
6630 | * frame.h (get_frame_register_bytes): New parameters `optimizedp' | |
6631 | and `unavailablep'. | |
6632 | * valops.c: (value_assign): Adjust, and handle | |
6633 | get_frame_register_bytes failing. | |
6634 | * spu-tdep.c: Include exceptions.h. | |
6635 | (spu_software_single_step): Adjust, and handle | |
6636 | get_frame_register_bytes failing. | |
6637 | (spu_get_longjmp_target): Ditto. | |
6638 | * gdbarch.sh (register_to_value): Change to return int. New | |
6639 | parameters `optimizedp' and `unavailablep'. | |
6640 | * gdbarch.h, gdbarch.c: Regenerate. | |
6641 | * i386-tdep.c (i386_register_to_value): Adjust to new | |
6642 | gdbarch_register_to_value interface. | |
6643 | * i387-tdep.c (i387_register_to_value): Ditto. | |
6644 | * i387-tdep.h (i387_register_to_value): Ditto. | |
6645 | * alpha-tdep.c (alpha_register_to_value): Ditto. | |
6646 | * ia64-tdep.c (ia64_register_to_value): Ditto. | |
6647 | * m68k-tdep.c (m68k_register_to_value): Ditto. | |
6648 | * mips-tdep.c (mips_register_to_value): Ditto. | |
6649 | * rs6000-tdep.c (rs6000_register_to_value): Ditto. | |
6650 | ||
0fdb4f18 PA |
6651 | 2011-03-18 Pedro Alves <[email protected]> |
6652 | ||
6653 | * findvar.c (value_of_register): Mark the value as unavailable, if | |
6654 | the register is unavailable. | |
6655 | * frame.h (frame_register_unwind): New `unavailablep' parameter. | |
6656 | (frame_register): New `unavailablep' parameter. | |
6657 | (frame_register_read): Update comment. | |
6658 | * frame.c (frame_register_unwind): New `unavailablep' parameter. | |
6659 | Set it if the register is unavailable. If the register is | |
6660 | unavailable, clear the output buffer. | |
6661 | (frame_register): New `unavailablep' parameter. Pass it down. | |
6662 | (frame_unwind_register): Adjust. | |
6663 | (put_frame_register): Adjust. | |
6664 | (frame_register_read): Adjust. Also return false if the register | |
6665 | is not available. | |
6666 | (frame_register_unwind_location): Adjust. | |
6667 | * sentinel-frame.c (sentinel_frame_prev_register): If the register | |
6668 | is unavailable, mark the value accordingly. | |
6669 | * stack.c (frame_info): Handle unavailable registers. | |
6670 | ||
e69aa73e PA |
6671 | 2011-03-18 Pedro Alves <[email protected]> |
6672 | ||
6673 | * mi/mi-main.c (register_changed_p): Handle REG_UNAVAILABLE, and | |
6674 | simplify, using regcache_cooked_read. | |
6675 | ||
05d1431c PA |
6676 | 2011-03-18 Pedro Alves <[email protected]> |
6677 | ||
6678 | * regcache.h (regcache_raw_read, regcache_raw_read_signed) | |
6679 | (regcache_raw_read_unsigned, regcache_raw_read_signed) | |
6680 | (regcache_raw_read_unsigned, regcache_raw_read_part) | |
6681 | (regcache_cooked_read, regcache_cooked_read_signed) | |
6682 | (regcache_cooked_read_unsigned, regcache_cooked_read_part) | |
6683 | (regcache_cooked_read_ftype): Change return to enum | |
6684 | register_status. | |
6685 | * regcache.c: Include exceptions.h | |
6686 | (regcache_save): Adjust to handle REG_UNAVAILABLE registers. | |
6687 | (do_cooked_read): Change return to enum register_status. Always | |
6688 | forward to regcache_cooked_read. | |
6689 | (regcache_raw_read): Change return to enum register_status. If | |
6690 | the register is not REG_VALID, memset the buffer. Return the | |
6691 | register's status. | |
6692 | (regcache_raw_read_signed): Handle non-REG_VALID registers and | |
6693 | return the register's status. | |
6694 | (regcache_raw_read_unsigned): Ditto. | |
6695 | (regcache_cooked_read): Change return to enum register_status. | |
6696 | Assert that with read-only regcaches, the register's status must | |
6697 | be known. If the regcache is read-only, and the register is not | |
6698 | REG_VALID, memset the buffer. Return the register's status. | |
6699 | (regcache_cooked_read_signed): Change return to enum | |
6700 | register_status. Handle non-REG_VALID registers and return the | |
6701 | register's status. | |
6702 | (regcache_cooked_read_unsigned): Change return to enum | |
6703 | register_status. Handle non-REG_VALID registers and return the | |
6704 | register's status. | |
6705 | (regcache_xfer_part, regcache_raw_read_part) | |
6706 | (regcache_cooked_read_part): Change return to enum | |
6707 | register_status. Return the register's status. | |
6708 | (regcache_read_pc): Throw NOT_AVAILABLE_ERROR if the register is | |
6709 | unavailable. | |
6710 | (regcache_dump): Handle unavailable cooked registers. | |
6711 | * frame.c (do_frame_register_read): Adjust interface to match | |
6712 | regcache_cooked_read_ftype. | |
6713 | * gdbarch.sh (pseudo_register_read): Change return to enum | |
6714 | register_status. | |
6715 | * gdbarch.h, gdbarch.c: Regenerate. | |
6716 | ||
6717 | * i386-tdep.h (i386_pseudo_register_read): Change return to enum | |
6718 | register_status. | |
6719 | * i386-tdep.c (i386_pseudo_register_read): Change return to enum | |
6720 | register_status. If reading a raw register indicates the raw | |
6721 | register is not valid, return the raw register's status, | |
6722 | otherwise, return REG_VALID. | |
6723 | * amd64-tdep.c (amd64_pseudo_register_read): Change return to enum | |
6724 | register_status. Handle non-REG_VALID raw registers and return | |
6725 | the register's status. | |
6726 | * arm-tdep.c (arm_neon_quad_read) | |
6727 | (arm_pseudo_read): Change return to enum register_status. Handle | |
6728 | non-REG_VALID raw registers and return the register's status. | |
6729 | * avr-tdep.c (avr_pseudo_register_read): Ditto. | |
6730 | * frv-tdep.c (frv_pseudo_register_read): Ditto. | |
6731 | * h8300-tdep.c (h8300_pseudo_register_read): Ditto. | |
6732 | * hppa-tdep.c (hppa_pseudo_register_read): Ditto. | |
6733 | * m32c-tdep.c (m32c_move_reg_t): Change return to enum | |
6734 | register_status. | |
6735 | (m32c_raw_read, m32c_raw_write, m32c_banked_read) | |
6736 | (m32c_banked_write, m32c_sb_read, m32c_sb_write, m32c_part_read) | |
6737 | (m32c_part_write, m32c_cat_read, m32c_cat_write) | |
6738 | (m32c_r3r2r1r0_read, m32c_r3r2r1r0_write) | |
6739 | (m32c_pseudo_register_read): Change return to enum | |
6740 | register_status. Adjust. | |
6741 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Change return to | |
6742 | enum register_status. Return the register's status. | |
6743 | * mep-tdep.c (mep_pseudo_cr32_read): Change return to enum | |
6744 | register_status. Return the register's status. | |
6745 | (mep_pseudo_cr64_read, mep_pseudo_register_read): Ditto. | |
6746 | * mips-tdep.c (mips_pseudo_register_read): Ditto. | |
6747 | * mt-tdep.c (mt_pseudo_register_read): Ditto. | |
6748 | * rs6000-tdep.c (move_ev_register_func): New typedef. | |
6749 | (e500_move_ev_register): Use it. Change return to enum | |
6750 | register_status. Return the register's status. | |
6751 | (do_regcache_raw_read): New function. | |
6752 | (do_regcache_raw_write): New function. | |
6753 | (e500_pseudo_register_read): Change return to enum | |
6754 | register_status. Return the register's status. Use | |
6755 | do_regcache_raw_read. | |
6756 | (e500_pseudo_register_write): Adjust. Use do_regcache_raw_write. | |
6757 | (dfp_pseudo_register_read): Change return to enum register_status. | |
6758 | Return the register's status. | |
6759 | (vsx_pseudo_register_read): Ditto. | |
6760 | (efpr_pseudo_register_read): Ditto. | |
6761 | (rs6000_pseudo_register_read): Ditto. | |
6762 | * s390-tdep.c (s390_pseudo_register_read): Change return to enum | |
6763 | register_status. Return the register's status. | |
6764 | * sh64-tdep.c (pseudo_register_read_portions): New function. | |
6765 | (sh64_pseudo_register_read): Change return to enum | |
6766 | register_status. Use pseudo_register_read_portions. Return the | |
6767 | register's status. | |
6768 | * ia64-tdep.c (ia64_pseudo_register_read): Change return to enum | |
6769 | register_status. Return the register's status. | |
6770 | * sh-tdep.c (pseudo_register_read_portions): New function. | |
6771 | (sh_pseudo_register_read): Change return to enum register_status. | |
6772 | Use pseudo_register_read_portions. Return the register's status. | |
6773 | * sparc-tdep.c (sparc32_pseudo_register_read): Change return to | |
6774 | enum register_status. Return the register's status. | |
6775 | * sparc64-tdep.c (sparc64_pseudo_register_read): Ditto. | |
6776 | * spu-tdep.c (spu_pseudo_register_read_spu) | |
6777 | (spu_pseudo_register_read): Ditto. | |
6778 | * xtensa-tdep.c (xtensa_register_read_masked) | |
6779 | (xtensa_pseudo_register_read): Ditto. | |
6780 | * bfin-tdep.c (bfin_pseudo_register_read): Ditto. | |
6781 | ||
e10abd8f PM |
6782 | 2011-03-18 Pierre Muller <[email protected]> |
6783 | ||
6784 | * python/py-value.c (valpy_getitem): Fix formatting of error function | |
6785 | call. | |
6786 | ||
7ea6d463 PM |
6787 | 2011-03-18 Pierre Muller <[email protected]> |
6788 | ||
6789 | ARI fixes: Add missing internationalization markups throughout | |
6790 | C source files. | |
6791 | * darwin-nat-info.c: Ditto. | |
6792 | * record.c: Ditto. | |
6793 | * remote.c: Ditto. | |
6794 | * mi/mi-main.c: Ditto. | |
6795 | ||
001083c6 PM |
6796 | 2011-03-18 Pierre Muller <[email protected]> |
6797 | ||
6798 | ARI fixes: Add missing internationalization markups throughout | |
6799 | yacc files. | |
6800 | * c-exp.y: Ditto. | |
6801 | * cp-name-parser.y: Ditto. | |
6802 | * f-exp.y: Ditto. | |
6803 | * m2-exp.y: Ditto. | |
6804 | * objc-exp.y: Ditto. | |
6805 | * p-exp.y: Ditto. | |
6806 | ||
4f1cdeec PM |
6807 | 2011-03-18 Pierre Muller <[email protected]> |
6808 | ||
6809 | ARI fixes: Messages should have no trailing new lines. | |
6810 | * darwin-nat.c (mach_check_error): Remove trailing new line from | |
6811 | warning function call message. | |
6812 | * record.c (bfdcore_read): Idem for error call. | |
6813 | ||
28e698f1 PM |
6814 | 2011-03-18 Pierre Muller <[email protected]> |
6815 | ||
6816 | * common/signals.c (target_signal_from_host): Add _ markup to error | |
6817 | function call message. | |
6818 | (target_signal_to_host): Add _ markup and remove trailing new line | |
6819 | from warning call message. | |
6820 | (target_signal_from_command): Add _ markup to error function call | |
6821 | message. | |
6822 | ||
99c3dc11 PM |
6823 | 2011-03-18 Phil Muldoon <[email protected]> |
6824 | ||
f33edef8 | 6825 | PR python/12149 |
99c3dc11 PM |
6826 | |
6827 | * python/python.c (gdbpy_write): Accept a stream argument and | |
6828 | operate to the appropriate stream. | |
6829 | (gdbpy_flush): Likewise. | |
6830 | (_initialize_python): Add stream constants. | |
6831 | (finish_python_initialization): Add GdbOutputErrorFile class. | |
6832 | ||
c20800be KY |
6833 | 2011-03-18 Kwok Cheung Yeung <[email protected]> |
6834 | ||
6835 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
6836 | ||
f4a1794a KY |
6837 | 2011-03-18 Kwok Cheung Yeung <[email protected]> |
6838 | ||
6839 | * amd64-tdep.c (amd64_relocate_instruction): Fix ordering of arguments | |
f33edef8 PP |
6840 | to store_signed_integer. Add debug message when relocating CALL |
6841 | instructions. Fix formatting of debug message. | |
6842 | * i386-tdep.c (i386_relocate_instruction): Ditto. | |
f4a1794a | 6843 | |
d4862372 JB |
6844 | 2011-03-17 Joel Brobecker <[email protected]> |
6845 | ||
6846 | * target.h (struct target_ops): Remove to_lookup_symbol field. | |
6847 | (target_lookup_symbol): Delete macro. | |
6848 | * target.c (nosymbol, debug_to_lookup_symbol): Delete. | |
6849 | (update_current_target, setup_target_debug): Remove handling | |
6850 | of to_lookup_symbol target_ops field. | |
6851 | * ada-tasks.c (get_known_tasks_addr): Remove use of | |
6852 | target_lookup_symbol. | |
6853 | * coffread.c (coff_symtab_read): Likewise. | |
6854 | * dbxread.c (read_dbx_symtab): Ditto. | |
6855 | ||
d645e32e JB |
6856 | 2011-03-17 Joel Brobecker <[email protected]> |
6857 | ||
6858 | PR gdb/12116: | |
6859 | * configure.ac: Add getthrds declaration check. | |
6860 | * configure, config.in: Regenerate. | |
6861 | * aix-thread.c (getthrds): Declare only if not already declared | |
6862 | in procinfo.h. More declaration out of get_signaled_thread to | |
6863 | global scope. | |
6864 | ||
29703da4 PM |
6865 | 2011-03-17 Phil Muldoon <[email protected]> |
6866 | ||
6867 | * python/py-symtab.c: Populate symtab_object_methods, | |
6868 | sal_object_methods. | |
6869 | (stpy_is_valid): New function. | |
6870 | (salpy_is_valid): Ditto. | |
6871 | * python/py-symbol.c: Declare symbol_object_methods. Populate. | |
6872 | (sympy_is_valid): New function. | |
6873 | * python/py-objfile.c: Declare objfile_object_methods. Populate. | |
6874 | (objfpy_is_valid): New function. | |
6875 | * python/py-inferior.c: Populate inferior_object_methods. | |
6876 | (infpy_is_valid): New function. | |
6877 | * python/py-infthread.c: Populate thread_object_methods. | |
6878 | (thpy_is_valid): New function. | |
6879 | * python/py-block.c: Declare block_object_methods. Populate. Declare | |
6880 | block_iterator_object_methods. Populate. | |
6881 | (blpy_is_valid): New function. | |
6882 | (blpy_iter_is_valid): Ditto. | |
6883 | ||
c00f8484 KS |
6884 | 2011-03-16 Keith Seitz <[email protected]> |
6885 | ||
6886 | * linespec.c (find_methods): Canonicalize NAME before looking | |
6887 | up the symbol. | |
6888 | (name_end): New function. | |
6889 | (keep_name_info): New function. | |
6890 | (decode_line_1): Use keep_name_info. | |
6891 | (decode_compound): Likewise. | |
6892 | * cli/cli-utils.h (remove_trailing_whitespace): New function. | |
6893 | * cli/cli-utils.c (remove_trailing_whitespace): Likewise. | |
6894 | ||
6895 | PR c++/12273 | |
6896 | * linespec.c (locate_first_half): Keep overload information, too. | |
6897 | (decode_compound): Use a string to represent break characters | |
6898 | to escape the loop. | |
6899 | If P points to a break character, do not increment it. | |
6900 | For C++ and Java, keep overload information and relevant keywords. | |
6901 | If we cannot find a symbol, search the minimal symbols. | |
6902 | ||
6903 | PR c++/11734 | |
6904 | * linespec.c (decode_compound): Rename SAVED_ARG to | |
6905 | THE_REAL_SAVED_ARG. | |
6906 | Make a copy of THE_REAL_SAVED_ARG in SAVED_ARG and strip | |
6907 | single-quotes. | |
6908 | Pass a valid block to lookup_symbol. | |
6909 | (lookup_prefix_sym): Likewise. | |
6910 | (find_method): Construct search name based on SYM_CLASS instead | |
6911 | of SAVED_ARG. | |
6912 | * psymtab.c (lookup_partial_symbol): Add language parameter. | |
6913 | (lookup_symbol_aux_psymtabs): Likewise. | |
6914 | Don't assume that the psymtab we found was the right one. Search | |
6915 | for the desired symbol in the symtab to be certain. | |
6916 | (psymtab_search_name): New function. | |
6917 | (lookup_partial_symbol): Use psymtab_search_name. | |
6918 | Add language parameter. | |
6919 | (read_symtabs_for_function): Add language parameter and pass to | |
6920 | lookup_partial_symbol. | |
6921 | (find_symbol_file_from_partial): Likewise. | |
6922 | ||
c91513d8 PP |
6923 | 2011-03-16 Paul Pluzhnikov <[email protected]> |
6924 | ||
6925 | PR gdb/12528 | |
6926 | * dwarf2read.c (noop_record_line): New function. | |
6927 | (dwarf_decode_lines): Ignore line tables for GCd functions. | |
6928 | ||
b37520b6 PM |
6929 | 2011-03-16 Pierre Muller <[email protected]> |
6930 | ||
6931 | Fix ARI warnings about new lines at the end of messages, which | |
6932 | are unneeded as there is a new line added at the end of the message | |
6933 | automatically. | |
6934 | * darwin-nat.c (darwin_stop_inferior): Ditto. | |
6935 | * dec-thread.c (dec_thread_get_ada_task_ptid): Ditto. | |
6936 | * dfp.c (decimal_to_number): Ditto. | |
6937 | * exec.c (print_section_info): Ditto. | |
6938 | * i386-darwin-nat.c (darwin_set_sstep): Ditto. | |
6939 | * osdata.c (get_osdata): Ditto. | |
6940 | * record.c (bfdcore_write): Ditto. | |
6941 | * remote-mips.c (mips_readchar): Ditto. | |
6942 | * remote.c (read_ptid): Ditto. | |
6943 | * ser-mingw.c (ser_windows_raw): Ditto. | |
6944 | * tracepoint.c (add_local_symbols): Ditto. | |
6945 | * windows-nat.c (fake_create_process): Ditto. | |
6946 | ||
b08ee6a2 TT |
6947 | 2011-03-16 Tom Tromey <[email protected]> |
6948 | ||
6949 | * tracepoint.c (stop_tracing): Don't declare. | |
6950 | * event-top.c (after_char_processing_hook): Add `(void)'. | |
6951 | ||
9a6f1302 PM |
6952 | 2011-03-16 Phil Muldoon <[email protected]> |
6953 | ||
6954 | * NEWS: Add Parameter sub-classing description. | |
6955 | ||
7ceb86b1 KT |
6956 | 2011-03-16 Kai Tietz <[email protected]> |
6957 | ||
6958 | * MAINTAINERS: Update my e-mail address. | |
6959 | ||
efeff6cf AT |
6960 | 2011-03-15 Andreas Tobler <[email protected]> |
6961 | ||
6962 | * MAINTAINERS: Add myself for write after approval privileges. | |
6963 | ||
681c238c MS |
6964 | 2011-03-15 Michael Snyder <[email protected]> |
6965 | ||
f3df5b08 MS |
6966 | * frame.c (find_frame_sal): Assert sym is not null. |
6967 | ||
13f6513c MS |
6968 | * dbxread.c (process_one_symbol): Assert 'name' is not null. |
6969 | ||
50412521 MS |
6970 | * objc-lang.c (selectors_info): Check strchr for null result. |
6971 | ||
681c238c MS |
6972 | * stabsread.c (define_symbol): Guard against bad stabstring input. |
6973 | ||
6ced1581 PM |
6974 | 2011-03-15 Pierre Muller <[email protected]> |
6975 | ||
6976 | Remove trailing spaces and tabulations from pascal language | |
6977 | support sources. | |
6978 | p-exp.y: Ditto. | |
6979 | p-lang.c: Ditto. | |
6980 | p-lang.h: Ditto. | |
6981 | p-valprint.c: Ditto. | |
6982 | ||
9373cf26 JK |
6983 | 2011-03-15 Jan Kratochvil <[email protected]> |
6984 | ||
6985 | * dwarf2read.c (dwarf2_get_pc_bounds): Require HIGH strictly higher | |
6986 | than LOW. Comment it. | |
6987 | (read_partial_die): Call complaint for inappropriate zero LOWPC or | |
6988 | HIGHPC not strictly higher than LOWPC. | |
6989 | ||
9a1edae6 PM |
6990 | 2011-03-15 Pierre Muller <[email protected]> |
6991 | ||
6992 | Fix formatting of function declarations returning a pointer in | |
6993 | previous commit. | |
6994 | * varobj.c (varobj_add_child): Ditto. | |
6995 | * hppa-tdep.h (hppa_init_objfile_priv_data): Ditto. | |
6996 | * inferior.h (get_displaced_step_closure_by_addr): Ditto. | |
6997 | ||
24e9cda0 UW |
6998 | 2011-03-15 Ulrich Weigand <[email protected]> |
6999 | ||
7000 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Add support | |
7001 | for the "generic" vector ABI used with GCC 4.3 and later. | |
7002 | (ppc64_sysv_abi_return_value): Likewise. | |
7003 | ||
7004 | 2011-03-15 Ulrich Weigand <[email protected]> | |
81b4675a UW |
7005 | |
7006 | * infcall.c (call_function_by_hand): Function return value is | |
7007 | always a non_lval, even when using struct_return. | |
7008 | ||
c9174737 PA |
7009 | 2011-03-15 Pedro Alves <[email protected]> |
7010 | ||
7011 | * printcmd.c (ALL_DISPLAYS_SAFE): New. | |
7012 | (map_display_numbers): New. | |
7013 | (do_delete_display): New. | |
7014 | (undisplay_command): Use map_display_numbers. | |
7015 | (do_enable_disable_display): New. | |
7016 | (enable_disable_display_command): New function. | |
7017 | (enable_display): Delete. | |
7018 | (enable_display_command): New. | |
7019 | (disable_display_command): Reimplement. | |
7020 | (_initialize_printcmd): Adjust "enable display" command to use | |
7021 | `enable_display_command' as callback. | |
7022 | ||
350c6c65 PM |
7023 | 2011-03-14 Phil Muldoon <[email protected]> |
7024 | ||
7025 | * NEWS: Add Python breakpoint 'stop' operation. | |
7026 | ||
824446ad PM |
7027 | 2011-03-14 Phil Muldoon <[email protected]> |
7028 | ||
7029 | * NEWS: Delete duplicate entry. Fix typo. | |
7030 | ||
2021ad3a PM |
7031 | 2011-03-14 Pierre Muller <[email protected]> |
7032 | ||
7033 | Fix ARI warning about function names in first column. | |
7034 | Put prototype declaration on same line as return type. | |
7035 | * objc-exp.y: Ditto. | |
7036 | * p-exp.y: Ditto. | |
7037 | * python/py-stopevent.h: Ditto. | |
7038 | For long function names, split parameters to | |
7039 | allow function name on same line as return type. | |
7040 | * solib-pa64.c: Ditto. | |
7041 | * varobj.c: Ditto. | |
7042 | * varobj.h: Ditto. | |
7043 | For long function declaration, use single line. | |
7044 | * hppa-tdep.h: Ditto. | |
7045 | * inferior.h: Ditto. | |
7046 | ||
7371cf6d PM |
7047 | 2011-03-14 Phil Muldoon <[email protected]> |
7048 | ||
7049 | * python/python.h: Declare gdbpy_should_stop and | |
7050 | gdbpy_breakpoint_has_py_cond. | |
7051 | * python/python.c: Add python.h to includes. Remove python.h from | |
7052 | HAVE_PYTHON definition | |
7053 | (gdbpy_should_stop): New dummy function. | |
7054 | (gdbpy_breakpoint_has_py_cond): New dummy function. | |
7055 | * python/py-breakpoint.c (bppy_init): Rewrite to allow | |
7056 | sub-classing capabilities. | |
7057 | (gdbpy_should_stop): New function. | |
7058 | (gdbpy_breakpoint_has_py_cond): New function. | |
7059 | (local_setattro): New function. | |
7060 | * breakpoint.c (condition_command): Add check for Python 'stop' | |
7061 | operation. | |
7062 | (bpstat_check_breakpoint_conditions): Execute Python 'stop' | |
7063 | operation function as part of stop/continue tests. | |
7064 | ||
37b50a69 TT |
7065 | 2011-03-14 Tom Tromey <[email protected]> |
7066 | ||
7067 | PR gdb/12576: | |
7068 | * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'. | |
7069 | (needs_frame_dwarf_call): Likewise. | |
7070 | ||
eeae04df PM |
7071 | 2011-03-14 Pierre Muller <[email protected]> |
7072 | ||
7073 | Fix ARI warning about functions without parameters that do not | |
7074 | use (void). | |
7075 | * breakpoint.c (all_tracepoints): Replace () by (void). | |
7076 | * f-exp.y (match_string_literal): Ditto. | |
7077 | (yylex): Ditto. | |
7078 | * m2-exp.y (yylex): Ditto. | |
7079 | * mep-tdep.c (current_me_module): Ditto. | |
7080 | (current_options): Ditto. | |
7081 | (current_cop_data_bus_width): Ditto. | |
7082 | (current_cr_names): Ditto. | |
7083 | (current_cr_is_float): Ditto. | |
7084 | (current_ccr_names): Ditto. | |
7085 | * objc-exp.y (yylex): Ditto. | |
7086 | * p-exp.y (yylex): Ditto. | |
7087 | * remote.c (send_interrupt_sequence): Ditto. | |
7088 | * tracepoint.c (current_trace_status): Ditto. | |
7089 | * python/py-evts.c (gdbpy_initialize_py_events): Ditto. | |
7090 | * python/py-prettyprint.c (push_dummy_python_frame): Ditto. | |
7091 | ||
6dc3565d MS |
7092 | 2011-03-11 Michael Snyder <[email protected]> |
7093 | ||
1427fe5e MS |
7094 | * cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define. |
7095 | * cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS. | |
7096 | (lookup_cmd): Test for CMD_LIST_AMBIGUOUS. | |
7097 | * completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS. | |
7098 | * top.c (set_verbose): Use CMD_LIST_AMBIGUOUS. | |
7099 | ||
60bc018f MS |
7100 | * event-loop-c (delete_async_signal_handler): Assert prev_ptr. |
7101 | (delete_async_event_handler): Ditto. | |
7102 | ||
f3be5b64 MS |
7103 | * python/py-breakpoint.c (bppy_set_condition): Stop memory leak. |
7104 | ||
4c2d5724 MS |
7105 | * python/py-breakpoint.c (bppy_get_commands): Fix memory leak. |
7106 | ||
6dc3565d MS |
7107 | * top.c (set_verbose): Assert showcmd was found. |
7108 | ||
4e6ca6d5 MG |
7109 | 2011-03-11 Maxim Grigoriev <[email protected]> |
7110 | ||
7111 | * xtensa-tdep.c (warning_once): Correct style issues. | |
7112 | ||
815a83e4 YQ |
7113 | 2011-03-11 Yao Qi <[email protected]> |
7114 | ||
7115 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Remove redundant statements. | |
7116 | ||
f2eb0bc8 AS |
7117 | 2011-03-11 Andreas Schwab <[email protected]> |
7118 | ||
7119 | * common/aclocal.m4: Remove. | |
7120 | ||
b801de47 MG |
7121 | 2011-03-10 Maxim Grigoriev <[email protected]> |
7122 | ||
7123 | * xtensa-tdep.c (windowing_enabled): Remove inline attribute. | |
7124 | (xtensa_write_register, xtensa_read_register): Likewise. | |
7125 | (xtensa_hextochar): Removed. | |
7126 | (xtensa_init_reggroups): Replace xtensa_hextochar () by explicit code. | |
7127 | ||
dbab50de MG |
7128 | 2011-03-10 Maxim Grigoriev <[email protected]> |
7129 | ||
7130 | * xtensa-tdep.c (xtensa_c0reg_t): Update comments. | |
c2a6b390 | 7131 | (xtensa_call0_frame_cache_t): Update comments. New fields added. |
dbab50de MG |
7132 | (xtensa_alloc_frame_cache): Add initialization for new fields. |
7133 | (xtensa_frame_cache): Change the way how call0_frame_cache () is called. | |
7134 | (warning_once): New function. | |
7135 | (xtensa_insn_kind): New item c0opc_and. | |
7136 | (call0_classify_opcode): Add the case for AND instruction. | |
c2a6b390 MG |
7137 | (call0_track_op): Change arguments. New local variable litbase. |
7138 | Add the case to handle c0opc_and. Update algorithms for c0opc_mov, | |
7139 | c0opc_l32r, c0opc_s32i to take into account dynamic stack adjustments | |
7140 | in the prologue. | |
dbab50de | 7141 | Add cases for c0opc_l32e, c0opc_s32e, c0opc_rfwo, c0opc_rfwu. |
c2a6b390 | 7142 | (call0_analyze_prologue): Update the comments. Change arguments. |
dbab50de MG |
7143 | Add the variety of updates to handle extended prologues, which now can |
7144 | conduct dynamic stack adjustments. | |
7145 | (call0_frame_cache): Likewise. | |
7146 | (xtensa_skip_prologue): Update call0_analyze_prologue () function call. | |
7147 | (xtensa_gdbarch_init): Initialize xtensa_session_once_reported. | |
7148 | ||
b2c04452 MS |
7149 | 2011-03-10 Michael Snyder <[email protected]> |
7150 | ||
f8f67713 MS |
7151 | * tracepoint.c (cmd_qtv): Discard unused value 'packet'. |
7152 | (cmd_qtframe): Ditto. | |
7153 | (cmd_qtbuffer): Ditto. | |
7154 | (cmd_bigqtbuffer): Ditto. | |
7155 | ||
197f0a60 TT |
7156 | 2011-03-10 Tom Tromey <[email protected]> |
7157 | ||
7158 | * tracepoint.c (trace_actions_command): Update. | |
7159 | * thread.c (thread_apply_command): Update. | |
7160 | * reverse.c (delete_bookmark_command): Update. | |
7161 | (bookmarks_info): Update. | |
7162 | * printcmd.c (undisplay_command): Update. | |
7163 | * memattr.c (mem_enable_command): Update. | |
7164 | (mem_disable_command): Update. | |
7165 | (mem_delete_command): Update. | |
7166 | * inferior.c (detach_inferior_command): Update. | |
7167 | (kill_inferior_command): Update. | |
7168 | (remove_inferior_command): Update. | |
7169 | * cli/cli-utils.h (struct get_number_or_range_state): New. | |
7170 | (init_number_or_range): Declare. | |
7171 | (get_number_or_range): Update. | |
7172 | * cli/cli-utils.c (init_number_or_range): New function. | |
7173 | (get_number_or_range): Change 'pp' parameter to 'state'. Remove | |
7174 | static variables. | |
7175 | (number_is_in_list): Update. | |
7176 | * breakpoint.h (get_tracepoint_by_number): Update. | |
7177 | * breakpoint.c (map_breakpoint_numbers): Update for change to | |
7178 | get_number_or_range. | |
7179 | (find_location_by_number): Use get_number, not | |
7180 | get_number_or_range. | |
7181 | (trace_pass_set_count): New function. | |
7182 | (trace_pass_command): Update for change to get_number_or_range. | |
7183 | Rework loop logic. | |
7184 | (get_tracepoint_by_number): Remove 'multi_p' parameter; add | |
7185 | 'state' parameter. | |
7186 | ||
ecec24e6 PM |
7187 | 2011-03-10 Phil Muldoon <[email protected]> |
7188 | ||
7189 | * python/py-param.c (add_setshow_generic): Add set/show callback | |
7190 | parameters. Register Python object context. | |
7191 | (get_show_value): New function. | |
7192 | (get_set_value): New function. | |
7193 | (call_doc_function): New function. | |
7194 | (get_doc_string): Move behind get_show_value/get_set_value. | |
7195 | ||
6d6c6b1f JK |
7196 | 2011-03-10 Andreas Tobler <[email protected]> |
7197 | ||
7198 | * fbsd-nat.c (fbsd_make_corefile_notes): Constify local `fname'. | |
7199 | ||
68d6df83 MG |
7200 | 2011-03-09 Maxim Grigoriev <[email protected]> |
7201 | ||
dbab50de | 7202 | * xtensa-tdep.c (xtensa_read_register): Add comment. |
68d6df83 MG |
7203 | (xtensa_write_register): Likewise. |
7204 | (xtensa_hextochar): Add comment and update to match coding conventions. | |
7205 | (xtensa_frame_cache, xtensa_return_value): Follow coding conventions. | |
7206 | (execute_l32e, execute_s32e, execute_code): Update comments. | |
7207 | (xtensa_exception_handler_t): Update to match coding conventions. | |
7208 | (xtensa_insn_kind): Likewise. | |
7209 | ||
85c9d6a6 MS |
7210 | 2011-03-09 Michael Snyder <[email protected]> |
7211 | ||
7212 | * mi-cmd-disas.c (mi_cmd_disassemble): Fix memory leak. | |
7213 | ||
91495617 PA |
7214 | 2011-03-09 Pedro Alves <[email protected]> |
7215 | ||
7216 | * nto-tdep.c (nto_find_and_open_solib): Constify local `base'. | |
7217 | ||
eb8c0621 TT |
7218 | 2011-03-09 Tom Tromey <[email protected]> |
7219 | ||
7220 | * thread.c (restore_selected_frame): Handle frame_level == -1. | |
7221 | (make_cleanup_restore_current_thread): Use | |
7222 | get_selected_frame_if_set. | |
7223 | * frame.h (get_selected_frame_if_set): Declare. | |
7224 | * frame.c (get_selected_frame_if_set): New function. | |
7225 | ||
9f37bbcc PA |
7226 | 2011-03-09 Pedro Alves <[email protected]> |
7227 | ||
7228 | * cli/cli-cmds.c (shell_escape): Use lbasename. | |
7229 | * coffread.c (coff_start_symtab): Constify parameter. | |
7230 | (complete_symtab): Constify `name' parameter. | |
7231 | (coff_symtab_read): Constify `filestring' local. | |
7232 | (coff_getfilename): Constify return and `result' local. | |
7233 | Use lbasename. | |
7234 | * fbsd-nat.c (fbsd_make_corefile_notes): Use lbasename. | |
7235 | * linux-fork.c (info_checkpoints_command): Use lbasename. | |
7236 | * linux-nat.c (linux_nat_make_corefile_notes): Use lbasename. | |
7237 | * minsyms.c (lookup_minimal_symbol): Use lbasename. | |
7238 | * nto-tdep.c (nto_find_and_open_solib): Use lbasename. | |
7239 | * procfs.c (procfs_make_note_section): Use lbasename. | |
7240 | * tui/tui-io.c (printable_part): Constity return and parameter. | |
7241 | Use lbasename. | |
7242 | (print_filename): Constify parameters, and local `s'. | |
7243 | (tui_rl_display_match_list): Constify local `temp'. | |
7244 | ||
f8de3c55 JK |
7245 | 2011-03-09 Jan Kratochvil <[email protected]> |
7246 | ||
7247 | Revert: | |
7248 | 2011-03-08 Jan Kratochvil <[email protected]> | |
7249 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
7250 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
7251 | cu->header.version >= 3. | |
7252 | ||
d9837b00 YQ |
7253 | 2011-03-09 Yao Qi <[email protected]> |
7254 | ||
7255 | * common/Makefile.in: Remove. | |
7256 | * common/configure: Remove. | |
7257 | * common/configure.ac: Remove. | |
7258 | ||
e637a4f5 YQ |
7259 | 2011-03-09 Yao Qi <[email protected]> |
7260 | ||
7261 | Revert: | |
7262 | 2011-02-11 Yao Qi <[email protected]> | |
7263 | ||
7264 | * common/Makefile.in: Add copyright header. | |
7265 | ||
7266 | 2011-02-11 Yao Qi <[email protected]> | |
7267 | ||
7268 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
7269 | libcommon.a. | |
7270 | * configure.ac: Add common to sub dir. | |
7271 | * configure: Regenerate. | |
7272 | ||
f976a05d MG |
7273 | 2011-03-08 Maxim Grigoriev <[email protected]> |
7274 | ||
7275 | * xtensa-tdep.c (call0_ret): New function. | |
7276 | (xtensa_skip_prologue): Speed up analysis. | |
7277 | ||
57041825 MG |
7278 | 2011-03-08 Maxim Grigoriev <[email protected]> |
7279 | ||
7280 | * xtensa-tdep.c (xtensa_register_reggroup_p): Count in all registers | |
7281 | while executing MI command -data-list-changed-registers. | |
7282 | ||
08b9c608 MG |
7283 | 2011-03-08 Maxim Grigoriev <[email protected]> |
7284 | ||
7285 | * xtensa-tdep.c (xtensa_read_register): New function. | |
7286 | (xtensa_write_register): New function. | |
7287 | (xtensa_find_register_by_name): New function. | |
7288 | (xtensa_windowed_frame_cache): Update comments in type description. | |
7289 | (xtensa_frame_cache): Likewise. | |
7290 | (xtensa_window_interrupt_insn): New function. | |
7291 | (xtensa_frame_cache): Add analysis for Xtensa Window Exception frames. | |
7292 | (xtensa_insn_kind): Add new instructions. | |
7293 | (rwx_special_register): New function. | |
7294 | (call0_classify_opcode): Add new instructions to the analysis. | |
7295 | (a0_saved, a7_saved, a11_saved): New variables. | |
7296 | (a0_was_saved, a7_was_saved, a11_was_saved): New variables. | |
7297 | (execute_l32e): New function. | |
7298 | (execute_s32e): New function. | |
7299 | (xtensa_exception_handler_t): New type. | |
7300 | (execute_code): New function. | |
7301 | (xtensa_window_interrupt_frame_cache): New function to conduct frame | |
7302 | analysis for Xtensa Window Exception handlers. | |
7303 | ||
4d1acb11 MG |
7304 | 2011-03-08 Maxim Grigoriev <[email protected]> |
7305 | ||
98689b25 MG |
7306 | * xtensa-tdep.c (TX_PS): New. |
7307 | (windowing_enabled): Update to count for Call0 ABI. | |
7308 | (xtensa_hextochar): New. | |
7309 | (xtensa_init_reggroups): Make algorithm generic. | |
7310 | (xtensa_frame_cache): Use TX_PS on Tiny Xtensa. | |
7311 | ||
7312 | 2011-03-08 Maxim Grigoriev <[email protected]> | |
7313 | ||
7314 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): Update. | |
4d1acb11 | 7315 | |
d3f323f3 MS |
7316 | 2011-03-08 Michael Snyder <[email protected]> |
7317 | ||
3dcabaa8 MS |
7318 | * i386-tdep.c (i386_follow_jump): Check return value of |
7319 | target_read_memory. | |
7320 | (i386_analyze_struct_return): Ditto. | |
7321 | (i386_skip_probe): Ditto. | |
7322 | (i386_match_insn): Ditto. | |
7323 | (i386_skip_noop): Ditto. | |
7324 | (i386_analyze_frame_setup): Ditto. | |
7325 | (i386_analyze_register_saves): Ditto. | |
7326 | (i386_skip_prologue): Ditto. | |
7327 | (i386_skip_main_prologue): Ditto. | |
7328 | ||
13b3fd9b MS |
7329 | * target.c (read_whatever_is_readable): Fix memory leak. |
7330 | ||
d3f323f3 MS |
7331 | * i386-tdep.c (i386_process_record): Document fall through. |
7332 | ||
421d5c74 JK |
7333 | 2011-03-08 Jan Kratochvil <[email protected]> |
7334 | ||
7335 | Fix DWARF-3+ DW_AT_accessibility default assumption. | |
7336 | * dwarf2read.c (dwarf2_add_field): Fix new_field->accessibility for | |
7337 | cu->header.version >= 3. | |
7338 | ||
63154eca PA |
7339 | 2011-03-08 Pedro Alves <[email protected]> |
7340 | ||
7341 | * remote.c (remote_check_symbols): Skip if the target has no | |
7342 | execution. | |
7343 | ||
f1a507a1 JB |
7344 | 2011-03-08 Joel Brobecker <[email protected]> |
7345 | ||
7346 | * target.c (read_whatever_is_readable): Reformat comment, | |
7347 | with a minor typo fix. Minor reformatting of the code. | |
7348 | ||
36073a92 YQ |
7349 | 2011-03-08 Yao Qi <[email protected]> |
7350 | ||
7351 | * arm-tdep.c: Remove prototype declaration displaced_in_arm_mode. | |
7352 | (displaced_read_reg): Add `dsc' parameter, remove `from' parameter. | |
7353 | Use cached result instead of calling displaced_in_arm_mode again. | |
7354 | (branch_write_pc, alu_write_pc, load_write_pc): Add `dsc' parameter. | |
7355 | (displaced_write_reg, copy_preload, copy_preload_reg): Callers update. | |
7356 | (cleanup_copro_load_store, copy_copro_load_store): Likewise. | |
7357 | (cleanup_branch, copy_bx_blx_reg, copy_alu_imm): Likewise. | |
7358 | (cleanup_alu_reg, copy_alu_reg, cleanup_alu_shifted_reg): Likewise. | |
7359 | (copy_alu_shifted_reg, cleanup_load, cleanup_store): Likewise. | |
7360 | (copy_extra_ld_st, copy_ldr_str_ldrb_strb): Likewise. | |
7361 | (cleanup_block_load_all, cleanup_block_store_pc): Likewise. | |
7362 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
7363 | * arm-linux-tdep.c (arm_linux_copy_svc): Callers update. | |
7364 | (arm_catch_kernel_helper_return): Likewise. | |
7365 | * gdb/arm-tdep.h : Update function declarations. | |
7366 | ||
d3f323f3 | 7367 | 2011-03-07 Michael Snyder <[email protected]> |
e6040cbd | 7368 | |
e0e40094 MS |
7369 | * dwarf2loc.c (indirect_pieced_value): Assert 'piece' not null. |
7370 | ||
0b2381f5 MS |
7371 | * ser-unix.c (hardwire_get_tty_state): Stop memory leak. |
7372 | ||
0350914a MS |
7373 | * mi/mi-cmd-env.c (_initialize_mi_cmd_env): Free environment. |
7374 | ||
69feea6f MS |
7375 | * elfread.c (elf_symtab_read): Stop memory leak. |
7376 | ||
e6040cbd MS |
7377 | * main.c (captured_main): Fix memory leak. |
7378 | ||
052874e8 AS |
7379 | 2011-03-07 Andreas Schwab <[email protected]> |
7380 | ||
7381 | * ada-lang.c (compare_names): Call is_name_suffix with string1 | |
7382 | instead of string2. | |
7383 | ||
b11896a5 TT |
7384 | 2011-03-07 Tom Tromey <[email protected]> |
7385 | ||
7386 | * xcoffread.c (xcoff_sym_fns): Update. | |
7387 | * symfile.h (struct sym_fns) <sym_read_psymbols>: New field. | |
7388 | (enum symfile_add_flags) <SYMFILE_NO_READ>: New constant. | |
7389 | * symfile.c (syms_from_objfile): Handle SYMFILE_NO_READ. | |
7390 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
7391 | (reread_symbols): Handle OBJF_PSYMTABS_READ. | |
7392 | * somread.c (som_sym_fns): Update. | |
7393 | * psymtab.h (require_partial_symbols): Declare. | |
7394 | * psymtab.c (require_partial_symbols): New function. | |
7395 | (ALL_OBJFILE_PSYMTABS_REQUIRED): New macro. | |
7396 | (ALL_OBJFILE_PSYMTABS): Undef. | |
7397 | (ALL_PSYMTABS): Move from psympriv.h. | |
7398 | (lookup_partial_symtab, find_pc_sect_psymtab) | |
7399 | (lookup_symbol_aux_psymtabs, relocate_psymtabs) | |
7400 | (find_last_source_symtab_from_partial) | |
7401 | (forget_cached_source_info_partial) | |
7402 | (print_psymtab_stats_for_objfile, read_symtabs_for_function) | |
7403 | (expand_partial_symbol_tables, read_psymtabs_with_filename) | |
7404 | (map_symbol_names_psymtab, map_symbol_filenames_psymtab) | |
7405 | (find_symbol_file_from_partial, map_matching_symbols_psymtab) | |
7406 | (expand_symtabs_matching_via_partial, maintenance_info_psymtabs): | |
7407 | Use ALL_OBJFILE_PSYMTABS_REQUIRED. | |
7408 | * psympriv.h (ALL_PSYMTABS): Move to psymtab.c. | |
7409 | * objfiles.h (OBJF_PSYMTABS_READ): New macro. | |
7410 | * objfiles.c (objfile_has_partial_symbols): Handle lazily-read | |
7411 | psymtabs. | |
7412 | * mipsread.c (ecoff_sym_fns): Update. | |
7413 | * machoread.c (macho_sym_fns): Update. | |
7414 | * elfread.c (elf_symfile_read): Set up for lazy psymtab reading. | |
7415 | (read_psyms): New function. | |
7416 | (elf_sym_fns, elf_sym_fns_gdb_index): Update. | |
7417 | (elf_sym_fns_lazy_psyms): New global. | |
7418 | * dwarf2read.c (dwarf2_initialize_objfile): Don't call | |
7419 | dwarf2_build_psymtabs. | |
7420 | * dbxread.c (aout_sym_fns): Update. | |
7421 | * coffread.c (coff_sym_fns): Update. | |
7422 | ||
fda326dd TT |
7423 | 2011-03-07 Tom Tromey <[email protected]> |
7424 | ||
7425 | * infrun.c (print_exited_reason): Include inferior id and pid in | |
7426 | message. | |
7427 | ||
aeaec162 TT |
7428 | 2011-03-07 Tom Tromey <[email protected]> |
7429 | ||
7430 | * target.h (struct target_ops) <to_has_execution>: Add ptid_t | |
7431 | parameter. | |
7432 | (target_has_execution_1): Update. | |
7433 | (target_has_execution_current): Declare. | |
7434 | (target_has_execution): Call target_has_execution_current. | |
7435 | (default_child_has_execution): Update. | |
7436 | * target.c (default_child_has_execution): Add 'the_ptid' | |
7437 | parameter. | |
7438 | (target_has_execution_1): Likewise. | |
7439 | (target_has_execution_current): New function. | |
7440 | (add_target): Update. | |
7441 | (init_dummy_target): Update. | |
7442 | * remote-m32r-sdi.c (m32r_has_execution): New function. | |
7443 | (init_m32r_ops): Use it. | |
7444 | * record.c (record_core_has_execution): Now static. Add | |
7445 | 'the_ptid' parameter. | |
7446 | * inferior.c (have_live_inferiors): Don't save current thread. | |
7447 | Use target_has_execution_1. | |
7448 | ||
08e14083 YQ |
7449 | 2011-03-07 Yao Qi <[email protected]> |
7450 | ||
7451 | * Makefile.in (aclocal_m4_deps): Remove gnulib/m4/memcmp.m4. | |
7452 | ||
c05d19c5 JB |
7453 | 2011-03-07 Joel Brobecker <[email protected]> |
7454 | ||
7455 | * elfread.c (elf_symtab_read): Minor reformatting. | |
7456 | ||
3e6ef9e4 JB |
7457 | 2011-03-07 Joel Brobecker <[email protected]> |
7458 | ||
7459 | * objc-lang.c (selectors_info): Minor reformatting. | |
7460 | ||
dbb8534f JB |
7461 | 2011-03-07 Joel Brobecker <[email protected]> |
7462 | ||
7463 | * ada-lang.c (compare_names): Add FALLTHROUGH comment. | |
7464 | ||
dd70cc93 JB |
7465 | 2011-03-07 Joel Brobecker <[email protected]> |
7466 | Michael Snyder <[email protected]> | |
7467 | ||
7468 | * ada-valprint.c (ada_val_print_array): Move the declaration of | |
7469 | "byte_order" and "elttype" inside the block where these variables | |
7470 | are actually used. Remove some special handling for the case | |
7471 | where "elttype" and "eltlen" are null. Replace by a comment | |
7472 | and a couple of assertion checks. | |
7473 | ||
b27cf2b3 MS |
7474 | 2011-03-05 Michael Snyder <[email protected]> |
7475 | ||
7476 | * source.c (add_path): Replace semicolon at end of block. | |
7477 | * dwarf2expr.c (execute_stack_op): Ditto. | |
7478 | ||
5387a0c6 MF |
7479 | 2011-03-05 Mike Frysinger <[email protected]> |
7480 | ||
7481 | * bfin-tdep.c: Include sim-regno.h and gdb/sim-bfin.h. | |
7482 | * configure.tgt (bfin-*-*linux*): Define gdb_sim. | |
7483 | (bfin-*-*): Likewise. | |
7484 | ||
e3aa49af MS |
7485 | 2011-03-05 Michael Snyder <[email protected]> |
7486 | ||
82ae4854 MS |
7487 | * dwarf2expr.c (execute_stack_op): Delete superfluous semicolon. |
7488 | * mdebugread.c (parse_symbol): Ditto. | |
7489 | * parse.c (parse_exp_in_context): Ditto. | |
7490 | * source.c (add_path): Ditto. | |
7491 | * utils.c (gnu_debuglink_crc32): Ditto. | |
7492 | * varobj.c (variable_language): Ditto. | |
7493 | ||
e3aa49af MS |
7494 | * linux-tdep.c (linux_get_siginfo_type): Stop memory leak. |
7495 | ||
154f592e MS |
7496 | 2011-03-04 Michael Snyder <[email protected]> |
7497 | ||
da3ecdc6 MS |
7498 | * linux-fork.c (inferior_call_waitptid): Fix copy/paste error. |
7499 | ||
9cc89665 MS |
7500 | * symfile.c (simple_overlay_update): Check for null return value |
7501 | from lookup_minimal_symbol. | |
7502 | ||
154f592e MS |
7503 | * xml-syscall.c (syscall_start_syscall): Assert name is non null. |
7504 | ||
63ffa6ee TJB |
7505 | 2011-03-04 Thiago Jung Bauermann <[email protected]> |
7506 | ||
7507 | * eval.c (parse_and_eval_address_1): Remove function. | |
7508 | * linespec.c (decode_indirect): Call parse_to_comma_and_eval | |
7509 | instead of parse_and_eval_address_1. | |
7510 | * value.h (parse_and_eval_address_1): Remove prototype. | |
7511 | ||
a17d146e MS |
7512 | 2011-03-04 Michael Snyder <[email protected]> |
7513 | ||
7514 | * remote.c (putpkt_binary): Document that case stmt falls through. | |
7515 | ||
1a6a67de TJB |
7516 | 2011-03-04 Thiago Jung Bauermann <[email protected]> |
7517 | ||
7518 | * breakpointc (print_it_typical): Move NULL check from here... | |
7519 | (print_bp_stop_message): ... to here. | |
7520 | ||
488919c4 MS |
7521 | 2011-03-04 Michael Snyder <[email protected]> |
7522 | ||
7523 | * breakpoint.c (enable_command): Use break instead of continue, | |
7524 | and fill in a missing break. | |
7525 | (disable_command): Ditto. | |
7526 | ||
1e182ce8 UW |
7527 | 2011-03-04 Ulrich Weigand <[email protected]> |
7528 | ||
7529 | * inflow.c (terminal_init_inferior_with_pgrp): Copy ttystate. | |
7530 | (terminal_save_ours): Remove misleading comment. | |
7531 | (inflow_inferior_data_cleanup): Free ttystate. | |
7532 | (inflow_inferior_exit): Likewise. | |
7533 | (copy_terminal_info): Copy ttystate. | |
7534 | ||
7535 | * serial.c (serial_copy_tty_state): New function. | |
7536 | * serial.h (serial_copy_tty_state): Add prototype. | |
7537 | (struct serial_ops): Add copy_tty_state callback. | |
7538 | * ser-base.c (ser_base_copy_tty_state): New function. | |
7539 | * ser-base.h (ser_base_copy_tty_state): Add prototype. | |
7540 | * ser-go32.c (dos_copy_tty_state): New function. | |
7541 | (dos_ops): Install copy_tty_state callback. | |
7542 | * ser-mingw.c (_initialize_ser_windows): Likewise. | |
7543 | * ser-pipe.c (_initialize_ser_pipe): Likewise. | |
7544 | * ser-unix.c (hardwire_copy_tty_state): New function. | |
7545 | (_initialize_ser_hardwire): Install it. | |
7546 | ||
b2c5f112 MS |
7547 | 2011-03-04 Michael Snyder <[email protected]> |
7548 | ||
2abae994 MS |
7549 | * breakpoint.c (create_breakpoint): Add missing break statement. |
7550 | ||
7f5936f9 MS |
7551 | Reverting this patch: |
7552 | * infcall.c (call_function_by_hand): Add break statements for lint. | |
7553 | ||
b2c5f112 MS |
7554 | Reverting this patch: |
7555 | * cli/cli-script.c (script_from_file): Add break for lint. | |
7556 | ||
42b1321c MS |
7557 | 2011-03-04 Michael Snyder <[email protected]> |
7558 | ||
7559 | * solib.c (reload_shared_libraries_1): Close memory leak. | |
7560 | ||
3e2a0cee TT |
7561 | 2011-03-03 Tom Tromey <[email protected]> |
7562 | ||
7563 | PR gdb/12538: | |
7564 | * dwarf2read.c (process_psymtab_comp_unit): Handle case where | |
7565 | DW_STRING is NULL. | |
7566 | ||
58397cb7 MS |
7567 | 2011-03-03 Michael Snyder <[email protected]> |
7568 | ||
2e3fd767 MS |
7569 | * remote-fileio.c (remote_fileio_func_fstat): Initialize all |
7570 | fields of struct 'st' to zero. | |
7571 | ||
58397cb7 MS |
7572 | * tui/tui-winsource.c (tui_update_source_window_as_is): Initialize |
7573 | sal.pspace before calling set_current_source_symtab_and_line. | |
7574 | ||
ced54c8f YQ |
7575 | 2011-03-03 Yao Qi <[email protected]> |
7576 | ||
7577 | * Makefile.in (configure-common): Remove. Let Makefile | |
7578 | in dir common to rebuild itself. | |
7579 | (common/Makefile): Likewise. | |
7580 | ||
3351ea09 JB |
7581 | 2011-03-03 Joel Brobecker <[email protected]> |
7582 | ||
7583 | * utils.c (parse_escape): Add i18n markup in error message. | |
7584 | ||
bf9f652a YQ |
7585 | 2011-03-03 Yao Qi <[email protected]> |
7586 | ||
7587 | * gdb/arm-tdep.c (shifted_reg_val): Replace magic number 15 with | |
7588 | ARM_PC_REGNUM. | |
7589 | (thumb_get_next_pc_raw, arm_get_next_pc_raw): Likewise. | |
7590 | (displaced_write_reg, displaced_read_reg): Likewise. | |
7591 | (copy_ldr_str_ldrb_strb, cleanup_block_load_all): Likewise. | |
7592 | (cleanup_block_load_pc, copy_block_xfer): Likewise. | |
7593 | (cleanup_branch): Replace magic number 14 and 15 with | |
7594 | ARM_LR_REGNUM and ARM_PC_REGNUM respectively. | |
7595 | ||
d42de051 MS |
7596 | 2011-03-02 Michael Snyder <[email protected]> |
7597 | ||
240f9570 MS |
7598 | * maint.c (maintenance_do_deprecate): No need to check for NULL. |
7599 | ||
10dd8b54 MS |
7600 | * cli/cli-script.c (script_from_file): Add break for lint. |
7601 | ||
b98bd911 MS |
7602 | * mdebugread.c (parse_partial_symbols): Fix indent. |
7603 | ||
3494b66d MS |
7604 | * target-descriptions.c (tdesc_gdb_type): No need to call |
7605 | xstrdup, callee saves a copy. | |
7606 | ||
daac021a MS |
7607 | * printcmd.c (print_scalar_formatted): Use strncpy for safety. |
7608 | ||
c38d16a7 MS |
7609 | * infcall.c (call_function_by_hand): Add break statements for lint. |
7610 | ||
905b671b MS |
7611 | * utils.c (parse_escape): Escape the escape char. |
7612 | ||
f2eb0bc8 | 7613 | * python/py-inferior.c (build_inferior_list): Error out if |
2d565757 MS |
7614 | PyList_Append fails. |
7615 | (gdbpy_inferiors): Error out if build_inferior_list fails. | |
7616 | ||
8c6a60d1 MS |
7617 | * linux-nat.c (linux_nat_xfer_partial): Preserve errno around |
7618 | a function call. | |
7619 | ||
d42de051 MS |
7620 | * record.c (record_restore): Move printf to before error return. |
7621 | ||
4db71c0b YQ |
7622 | 2011-03-02 Yao Qi <[email protected]> |
7623 | ||
7624 | * arm-tdep.h (struct displaced_step_closure): Add two new fields | |
7625 | is_thumb and insn_size. | |
7626 | * arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset | |
7627 | on both ARM and Thumb mode. | |
7628 | (arm_process_displaced_insn): Set is_thumb and insn_size. | |
7629 | (arm_displaced_init_closure): Handle both 16-bit and 32-bit. | |
7630 | (arm_displaced_step_fixup): Likewise. | |
7631 | ||
a9dc8dcc MS |
7632 | 2011-03-01 Michael Snyder <[email protected]> |
7633 | ||
53624a93 MS |
7634 | * cli/cli-dump.c (dump_bfd_file): Check error return and warn. |
7635 | ||
77766669 MS |
7636 | * jv-lang.c (evaluate_subexp_java): Conditional can't be true. |
7637 | ||
62d5b8da MS |
7638 | * dwarf2read.c (dwarf2_compute_name): NAME cannot be null here. |
7639 | ||
5e9e105f MS |
7640 | * cli/cli-dump.c (restore_binary_file): Validate ftell return value. |
7641 | ||
dc19db01 MS |
7642 | * ada-lang.c (ada_make_symbol_completion_list): Replace malloc |
7643 | with xmalloc. | |
7644 | ||
5ce64950 MS |
7645 | * ada-lang.c (aggregate_assign_others): Rename inner scope variable |
7646 | which shadows function parameter. | |
7647 | ||
a0aa2878 MS |
7648 | * tracepoint.c (create_tsv_from_upload): Superfluous call |
7649 | to xstrdup. Callee already calls xstrdup. | |
7650 | ||
e325fb69 MS |
7651 | * linespec.c (decode_line_1): Remove unnecessary null check. |
7652 | ||
21cbba77 MS |
7653 | * tracepoint.c (scope_info): Fix mem leak, remove underused |
7654 | variable. | |
7655 | ||
63360adc MS |
7656 | * python/py-prettyprint.c (apply_val_pretty_printer): Remove |
7657 | superfluous null check. | |
7658 | ||
18ea20ac | 7659 | * std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null. |
23ce9890 | 7660 | (value_of_builtin_frame_fp_reg): Ditto. |
18ea20ac | 7661 | |
d014929c MS |
7662 | * event-top.c (display_gdb_prompt): Remove superfluous null check. |
7663 | ||
6e9130cf MS |
7664 | * python/py-prettyprint.c (apply_val_pretty_printer): VAL may |
7665 | be null. | |
7666 | ||
5f01dbc0 MS |
7667 | * linespec.c (decode_line_1): Check for null before dereference. |
7668 | ||
d684ab85 MS |
7669 | * reverse.c (record_restore): Move null-check to before pointer |
7670 | dereference. | |
7671 | ||
bfffb7e3 MS |
7672 | * python/py-utils.c (gdbpy_obj_to_string): Delete unused variable. |
7673 | ||
a9dc8dcc MS |
7674 | * objc-lang.c (selectors_info): Add explanitory comment. |
7675 | (classes_info): Ditto. | |
7676 | ||
478fd957 UW |
7677 | 2011-03-01 Ulrich Weigand <[email protected]> |
7678 | ||
7679 | * arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define. | |
7680 | (arm_linux_restart_syscall_init): Handle both on-stack and in-kernel | |
7681 | versions of the trampoline. Handle Thumb vs. ARM addresses. | |
7682 | (arm_kernel_linux_restart_syscall_tramp_frame): New global. | |
7683 | (arm_linux_init_abi): Install it. | |
7684 | * arm-tdep.c (arm_psr_thumb_bit): Make global. | |
7685 | * arm-tdep.c (arm_psr_thumb_bit): Add prototype. | |
7686 | ||
0480cefa MS |
7687 | 2011-02-28 Michael Snyder <[email protected]> |
7688 | ||
ac50ab3b MS |
7689 | * ui-out.c (ui_out_field_core_addr): Make local char buffer |
7690 | a little bigger, to avoid possibility of an overflow. | |
7691 | ||
f63fbe86 MS |
7692 | * breakpoint.c (breakpoint_adjustment_warning): Make local char |
7693 | buffers a little bigger, to avoid possibility of an overflow. | |
7694 | ||
9e91a352 MS |
7695 | * coffread.c (coff_getfilename): Add check to avoid overflow. |
7696 | ||
f2eb0bc8 | 7697 | * objc-lang.c (selectors_info): Add a small safety margin to |
28288541 MS |
7698 | avoid overflow. |
7699 | (classes_info): Error out on too long REGEXP. | |
7700 | ||
098ab512 MS |
7701 | * infrun.c (handle_inferior_event): Remove unused function call. |
7702 | ||
bcbd1de9 MS |
7703 | * fork-child.c (fork_inferior): Remove ifdef'd code and |
7704 | unused variable. | |
7705 | ||
2e456570 MS |
7706 | * linux-thread-db.c (attach_thread): Discard unused value. |
7707 | ||
14571dad MS |
7708 | * linux-nat.c (linux_handle_extended_wait): Delete unused variable. |
7709 | ||
a9cbf802 MS |
7710 | * remote.c (remote_get_noisy_reply): Discard unused value. |
7711 | (remote_vcont_resume): Ditto. | |
7712 | (remote_stop_ns): Ditto. | |
7713 | ||
5715d26e MS |
7714 | * linespec.c (decode_objc): Delete unused variable. |
7715 | ||
4a9bca80 MS |
7716 | * tui/tui-regs.c (tui_register_format): Delete unused variable. |
7717 | ||
f47fb265 MS |
7718 | * dwarf2read.c (add_partial_symbol): Discard unused values. |
7719 | (read_base_type): Delete unused variable. | |
7720 | ||
e81cff30 MS |
7721 | * dbxread.c (read_dbx_symtab): Discard unused value. |
7722 | ||
262acaeb MS |
7723 | * eval.c (evaluate_subexp_standard): Delete unused variable, |
7724 | and discard unused values. | |
7725 | ||
df983543 MS |
7726 | * infcmd.c (_initialize_infcmd): Discard unused values. |
7727 | ||
89acf84d MS |
7728 | * stabsread.c (rs6000_builtin_type): Missing break statement. |
7729 | ||
ab8b8aca MS |
7730 | * dbxread.c (process_one_symbol): Discard unused value. |
7731 | ||
6b4511ab MS |
7732 | * coffread.c (coff_end_symtab): Delete unused variable. |
7733 | ||
e8e80198 MS |
7734 | * dwarf2read.c (dw2_get_file_names): Discard unused value. |
7735 | (dwarf2_add_typedef): Delete unused variable. | |
7736 | (read_namespace): Ditto. | |
7737 | (dwarf_decode_macros): Ditto. | |
7738 | ||
976aa66e MS |
7739 | * m2-lang.c (evaluate_subexp_modula2): Discard unused variable. |
7740 | ||
5b92b49f MS |
7741 | * opencl-lang.c (evaluate_subexp_opencl): Discard unused value. |
7742 | ||
91e8df85 MS |
7743 | * p-valprint.c (pascal_val_print): Discard unused value. |
7744 | ||
899500d6 MS |
7745 | * utils.c (nquery): Call va_end before return; |
7746 | (yquery): Ditto. | |
7747 | (query): Ditto. | |
7748 | ||
0480cefa MS |
7749 | * proc-service.c (ps_plog): Call va_end before return. |
7750 | ||
fb6a3ed3 TT |
7751 | 2011-02-28 Tom Tromey <[email protected]> |
7752 | ||
7753 | * python/python.c (gdbpy_value_cst): New global. | |
7754 | (_initialize_python): Initialize it. | |
7755 | * python/python-internal.h (gdbpy_value_cst): Declare. | |
7756 | * python/py-value.c (convert_value_from_python): Use | |
7757 | gdbpy_value_cst. | |
7758 | ||
c05202a1 MS |
7759 | 2011-02-28 Michael Snyder <[email protected]> |
7760 | ||
e463f587 MS |
7761 | * python/py-cmd.c (cmdpy_init): Fix memory leak. |
7762 | ||
c38eea1a MS |
7763 | * breakpoint.c (catch_syscall_completer): Free malloced list. |
7764 | ||
3ef09ab5 MS |
7765 | * jv-lang.c (java_primitive_type_from_name): Add missing break. |
7766 | ||
8f9a01ee MS |
7767 | * opencl-lang.c (lval_func_check_validity): Rename inner variables. |
7768 | (lval_func_check_synthetic_pointer): Ditto. | |
7769 | (lval_func_free_closure): Fix use-after-free. | |
c05202a1 | 7770 | |
477d0d57 TT |
7771 | 2011-02-28 Tom Tromey <[email protected]> |
7772 | ||
7773 | * psymtab.c (expand_partial_symbol_tables): Use | |
7774 | ALL_OBJFILE_PSYMTABS. | |
7775 | ||
20937029 JK |
7776 | 2011-02-28 Jan Kratochvil <[email protected]> |
7777 | ||
7778 | * objc-lang.c (selectors_info): Error on too long REGEXP. | |
7779 | ||
907b7f4f MS |
7780 | 2011-02-28 Michael Snyder <[email protected]> |
7781 | ||
92e96192 MS |
7782 | * python/py-param.c (set_parameter_value): Add missing |
7783 | break statement. | |
7784 | ||
907b7f4f MS |
7785 | * linux-record.c (record_linux_system_call): Add missing |
7786 | break statement. | |
7787 | ||
12c5a436 UW |
7788 | 2011-02-28 Ulrich Weigand <[email protected]> |
7789 | ||
7790 | * breakpoint.c (print_one_breakpoint_location): Remove unused | |
7791 | argument PRINT_ADDRESS_BITS. Update callers. | |
7792 | (print_one_breakpoint): Likewise. | |
7793 | ||
170b53b2 UW |
7794 | 2011-02-28 Ulrich Weigand <[email protected]> |
7795 | ||
7796 | * breakpoint.c (wrap_indent_at_field): New function. | |
7797 | (print_breakpoint_location): Use it instead of WRAP_INDENT argument. | |
7798 | Allocate ui_stream locally instead of using STB argument. | |
7799 | (print_one_breakpoint_location): Update call. | |
7800 | * ui-out.c (ui_out_query_field): New function. | |
7801 | * ui-out.h (ui_out_query_field): Add prototype. | |
7802 | ||
8ab1f94d JB |
7803 | 2011-02-28 Joel Brobecker <[email protected]> |
7804 | ||
7805 | From Michael Snyder <[email protected]> | |
7806 | * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. | |
7807 | ||
7d488639 MS |
7808 | 2011-02-27 Michael Snyder <[email protected]> |
7809 | ||
ae179fba MS |
7810 | * objc-lang.c (selectors_info): Prevent string overrun. |
7811 | ||
086dbf66 MS |
7812 | * tui/tui-stack.c (tui_get_function_from_frame): Fix off by one |
7813 | error in strncpy. | |
7814 | ||
f2eb0bc8 | 7815 | * symtab.c (rbreak_command): Move variable 'file_name' to |
9c1e305a MS |
7816 | outer scope. |
7817 | ||
7d488639 MS |
7818 | * d-valprint.c (dynamic_array_type): Avoid shadowing a function |
7819 | param with a local variable of the same name. | |
7820 | ||
3bd0f5ef MS |
7821 | 2011-02-27 Michael Snyder <[email protected]> |
7822 | ||
7823 | * value.c (value_from_history_ref): New function. | |
7824 | * value.h (value_from_history_ref): Export. | |
7825 | * cli/cli-utils.c (get_number_trailer): Use value_from_history_ref | |
7826 | to parse value history references. | |
7827 | * cli/cli-utils.h (get_number_trailer): Update comment. | |
7828 | ||
7829 | 2011-02-27 Michael Snyder <[email protected]> | |
7830 | ||
7831 | * inferior.c (detach_inferior_command): Use get_number_or_range. | |
7832 | (kill_inferior_command): Ditto. | |
7833 | (remove_inferior_command): Ditto. | |
7834 | (initialize_inferiors): Make command names plural. | |
7835 | Update help strings. | |
7836 | ||
766062f6 MS |
7837 | 2011-02-27 Michael Snyder <[email protected]> |
7838 | ||
7839 | * darwin-nat-info.c: Fix comment typo. | |
7840 | * dwarf2expr.h: Ditto. | |
7841 | * fbsd-nat.c: Ditto. | |
7842 | * fbsd-nat.h: Ditto. | |
7843 | * frame-unwind.h: Ditto. | |
7844 | * frame.h: Ditto. | |
7845 | * hppa-hpux-tdep.c: Ditto. | |
7846 | * i386-linux-nat.c: Ditto. | |
7847 | * linux-nat.c: Ditto. | |
7848 | * nbsd-nat.c: Ditto. | |
7849 | * nbsd-nat.h: Ditto. | |
7850 | * ppc-linux-tdep.c: Ditto. | |
7851 | * serial.c: Ditto. | |
7852 | * ui-file.h: Ditto. | |
7853 | * tui/tui-winsource.c: Ditto. | |
7854 | ||
f2c4ead5 MS |
7855 | 2011-02-26 Michael Snyder <[email protected]> |
7856 | ||
86b887df MS |
7857 | * breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file). |
7858 | ||
66fd3b1e MS |
7859 | * maint.c (maintenance_do_deprecate): Plug a memory leak. |
7860 | ||
8c814cdd MS |
7861 | * dwarf2loc.c (insert_bits): Avoid shadowing a function param |
7862 | with a local variable of the same name. | |
7863 | ||
6d5e094a | 7864 | * i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function |
e5b3d7d6 | 7865 | param with a local variable of the same name. |
6d5e094a | 7866 | (i387_supply_xsave): Ditto. |
e5b3d7d6 | 7867 | |
5eee517d MS |
7868 | * linux-low.c (linux_nat_xfer_osdata): Rename local variable so |
7869 | that it does not shadow a function parameter. | |
7870 | ||
8fbf6b93 MS |
7871 | * i386-nat.c (i386_length_and_rw_bits): Document that case |
7872 | statement is meant to fall through. | |
7873 | ||
cb969d61 MS |
7874 | * expprint.c (dump_subexp_body_standard): Document that case |
7875 | statement is meant to fall through. | |
7876 | ||
f2c4ead5 MS |
7877 | * amd64-linux-tdep.c (amd64_linux_syscall_record): Delete |
7878 | dead if statement. Condition can't be false. | |
7879 | ||
b021a221 MS |
7880 | 2011-02-25 Michael Snyder <[email protected]> |
7881 | ||
7882 | * arm-tdep.c: Fix typos in comments. | |
7883 | * bsd-uthread.c: Ditto. | |
7884 | * completer.c: Ditto. | |
7885 | * corelow.c: Ditto. | |
7886 | * cp-namespace.c: Ditto. | |
7887 | * cp-support.c: Ditto. | |
7888 | * cris-tdep.c: Ditto. | |
7889 | * dbxread.c: Ditto. | |
7890 | * dwarf2read.c: Ditto. | |
7891 | * frame.h: Ditto. | |
7892 | * gdbtypes.h: Ditto. | |
7893 | * inferior.h: Ditto. | |
7894 | * mdebugread.c: Ditto. | |
7895 | * mips-tdep.c: Ditto. | |
7896 | * ppc-linux-nat.c: Ditto. | |
7897 | * ppc-linux-tdep.c: Ditto. | |
7898 | * printcmd.c: Ditto. | |
7899 | * sol-thread.c: Ditto. | |
7900 | * solib-frv.c: Ditto. | |
7901 | * solist.h: Ditto. | |
7902 | * sparc64-tdep.c: Ditto. | |
7903 | * spu-tdep.c: Ditto. | |
7904 | * stabsread.c: Ditto. | |
7905 | * symfile.c: Ditto. | |
7906 | * valops.c: Ditto. | |
7907 | * varobj.c: Ditto. | |
7908 | * vax-nat.c: Ditto. | |
7909 | * python/py-block.c: Ditto. | |
7910 | * python/py-symbol.c: Ditto. | |
7911 | * python/py-symtab.c: Ditto. | |
7912 | * python/py-value.c: Ditto. | |
7913 | * tui/tui-win.c: Ditto. | |
7914 | ||
c82c0b55 MS |
7915 | 2011-02-25 Michael Snyder <[email protected]> |
7916 | ||
7917 | * inferior.c (print_inferior): Accept a string instead of an int | |
7918 | for requested_inferiors, and use get_number_or_range to parse it. | |
7919 | (info_inferiors_command): Pass args string to print_inferior. | |
7920 | (initialize_inferiors): Change help string for info inferiors. | |
7921 | * inferior.h (print_inferior): Export prototype change. | |
7922 | ||
ee00cd23 TT |
7923 | 2011-02-25 Tom Tromey <[email protected]> |
7924 | ||
7925 | * common/ax.def (invalid2): Set to 0x31. | |
7926 | ||
0502ed8c JK |
7927 | 2011-02-25 Jan Kratochvil <[email protected]> |
7928 | ||
7929 | * dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use | |
7930 | L and plongest. | |
7931 | (disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset, | |
7932 | use L and plongest. | |
7933 | (disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest. | |
7934 | ||
2c9de912 MS |
7935 | 2011-02-24 Michael Snyder <[email protected]> |
7936 | ||
7937 | * Makefile.in (clean): Make clean should remove generated files | |
7938 | observer.h and observer.inc. | |
7939 | ||
a04b0428 JB |
7940 | 2011-02-24 Joel Brobecker <[email protected]> |
7941 | ||
7942 | Revert the following patch (not approved yet): | |
7943 | 2011-02-21 Hui Zhu <[email protected]> | |
7944 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
7945 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
7946 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
7947 | * ax-general.c (ax_memcpy): New function. | |
7948 | (ax_print): Handle "printf". | |
7949 | (ax_reqs): Ditto. | |
7950 | * ax.h (ax_memcpy): Forward declare. | |
7951 | * common/ax.def (invalid2): Removed. | |
7952 | (printf): New entry. | |
7953 | * printcmd.c (printcmd.h): New include. | |
7954 | (string_printf): New function. | |
7955 | (ui_printf): Removed. | |
7956 | (printf_command): Remove static. Call string_printf. | |
7957 | (eval_command): Call string_printf. | |
7958 | * printcmd.h: New file. | |
7959 | * tracepoint.c (validate_actionline, | |
7960 | encode_actions_1): handle printf_command. | |
7961 | ||
2b52013f TT |
7962 | 2011-02-23 Tom Tromey <[email protected]> |
7963 | ||
7964 | * ax-general.c (ax_pick): Add missing newline. | |
7965 | ||
e5a67952 MS |
7966 | 2011-02-23 Michael Snyder <[email protected]> |
7967 | ||
7968 | * breakpoint.c (breakpoint_1): Change first argument from an int | |
7969 | to a char pointer, so that the function now accepts a list of | |
f2eb0bc8 | 7970 | breakpoints rather than just one. Use new function |
e5a67952 MS |
7971 | 'number_is_in_list' to implement. |
7972 | (breakpoints_info): Pass char * instead of int to breakpoint_1. | |
7973 | (watchpoints_info): Ditto. | |
7974 | (tracepoints_info): Ditto. | |
7975 | (maintenance_info_breakpoints): Ditto. | |
7976 | (_initialize_breakpoint): Update help strings to reflect the fact | |
7977 | that these functions can now take more than one argument. | |
7978 | * cli/cli-utils.c (number_is_in_list): New function. | |
7979 | * cli/cli-utils.h (number_is_in_list): Export. | |
7980 | ||
7981 | 2011-02-23 Michael Snyder <[email protected]> | |
fbcb778d MS |
7982 | |
7983 | * memattr.c (mem_enable_command): Use get_number_or_range. | |
7984 | (mem_disable_command): Ditto. | |
7985 | (mem_delete_command): Ditto. | |
7986 | (_initialize_mem): Tweak usage message to reflect multiple | |
7987 | arguments. | |
7988 | ||
6e6fbe60 DE |
7989 | 2011-02-22 Doug Evans <[email protected]> |
7990 | ||
7991 | Add gdb.lookup_global_symbol python function. | |
7992 | * NEWS: Add entry. | |
7993 | * python/py-symbol.c (gdbpy_lookup_global_symbol): New function. | |
7994 | * python/python-internal.h (gdbpy_lookup_global_symbol): Declare it. | |
7995 | * python/python.c (GdbMethods): Add entry for lookup_global_symbol. | |
7996 | ||
79b97fa8 TT |
7997 | 2011-02-22 Tom Tromey <[email protected]> |
7998 | ||
7999 | * language.c (language_class_name_from_physname): Rename | |
8000 | 'curr_language' argument to 'lang'; use in body. | |
8001 | ||
298f437a MS |
8002 | 2011-02-22 Michael Snyder <[email protected]> |
8003 | ||
8004 | * cli/cli-utils.c (number_is_in_list): Check for zero return. | |
8005 | ||
b7ea3126 PA |
8006 | 2011-02-22 Pedro Alves <[email protected]> |
8007 | ||
8008 | * frame-unwind.h: Fix comment to mention the this frame, not the | |
8009 | next. | |
8010 | ||
58ee6d60 TT |
8011 | 2011-02-22 Tom Tromey <[email protected]> |
8012 | ||
8013 | * symfile.c (auto_solib_limit): Remove. | |
8014 | * symfile.h (auto_solib_limit): Remove. | |
8015 | ||
36238dbc JB |
8016 | 2011-02-22 Joel Brobecker <[email protected]> |
8017 | ||
8018 | * Makefile.in (INSTALLED_LIBS): Delete. Update comment. | |
8019 | ||
aea5b279 MS |
8020 | 2011-02-21 Michael Snyder <[email protected]> |
8021 | ||
8022 | * gdbthread.h (print_thread_info): Change prototype. | |
8023 | * thread.c (print_thread_info): Accept char* instead of int for | |
8024 | requested_threads argument. Use new function number_is_in_list | |
8025 | to determine which threads to list. | |
8026 | (info_threads_command): Pass char* to print_thread_info. | |
8027 | * cli/cli-utils.c (number_is_in_list): New function. | |
8028 | * cli/cli-utils.h (number_is_in_list): Export. | |
f2eb0bc8 | 8029 | * mi/mi-main.c (mi_cmd_thread_info): Pass char* to |
aea5b279 MS |
8030 | print_thread_info. |
8031 | (print_one_inferior): Ditto. | |
8032 | (mi_cmd_list_thread_groups): Ditto. | |
8033 | ||
8caa75ee JK |
8034 | 2011-02-21 Jan Kratochvil <[email protected]> |
8035 | ||
8036 | * common/Makefile.in (CFLAGS): New. | |
8037 | (COMPILE): Add $(CFLAGS). | |
8038 | ||
ea666128 TT |
8039 | 2011-02-21 Tom Tromey <[email protected]> |
8040 | ||
8041 | * breakpoint.c (catch_syscall_command_1): Fix typo. | |
8042 | ||
e9cafbcc TT |
8043 | 2011-02-21 Tom Tromey <[email protected]> |
8044 | ||
8045 | * reverse.c: Include cli-utils.h. | |
8046 | * printcmd.c: Include cli-utils.h. | |
8047 | (string_printf): Use skip_spaces. | |
8048 | * cli/cli-utils.h: New file. | |
8049 | * cli/cli-utils.c: New file. | |
8050 | * cli/cli-dump.h (skip_spaces): Move to cli-utils.h. | |
8051 | * cli/cli-dump.c (skip_spaces): Move to cli-utils.c. | |
8052 | * breakpoint.h (get_number, get_number_or_range): Move to | |
8053 | cli-utils.h. | |
8054 | * breakpoint.c: Include cli-utils.h. | |
8055 | (get_number_trailer, get_number, get_number_or_range) | |
8056 | (ep_skip_leading_whitespace): Move to cli-utils.c. | |
8057 | (create_breakpoint_sal, find_condition_and_thread) | |
8058 | (decode_static_tracepoint_spec, watch_command_1) | |
8059 | (watch_maybe_just_location, ep_parse_optional_if_clause) | |
8060 | (catch_fork_command_1, catch_exec_command_1) | |
8061 | (catch_syscall_command_1): Use skip_spaces, skip_to_space. | |
8062 | * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o. | |
8063 | (SUBDIR_CLI_SRCS): Add cli-utils.c. | |
8064 | (HFILES_NO_SRCDIR): Add cli-utils.h. | |
8065 | (cli-utils.o): New target. | |
8066 | ||
f67fd822 PM |
8067 | 2011-02-18 Pierre Muller <[email protected]> |
8068 | ||
8069 | * remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID | |
8070 | before calling discard_all_inferiors. | |
8071 | ||
c9def01d UW |
8072 | 2011-02-21 Ulrich Weigand <[email protected]> |
8073 | ||
8074 | * opencl-lang.c (STRUCT_OCL_TYPE): Remove. | |
8075 | (struct builtin_opencl_type): Remove. | |
8076 | (builtin_opencl_type): Change return type to "struct type **". | |
8077 | (lookup_opencl_vector_type): Update caller. | |
8078 | (opencl_language_arch_info): Copy primitive type vector from gdbarch. | |
8079 | (build_opencl_types): Install plain array of "struct type *" | |
8080 | instead of "struct builtin_opencl_type". | |
8081 | ||
e3039479 UW |
8082 | 2011-02-21 Matthew Gretton-Dann <[email protected]> |
8083 | Ulrich Weigand <[email protected]> | |
8084 | ||
8085 | * arm-linux-nat.c: Include "observer.h" and "gdbthread.h". | |
8086 | (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define. | |
8087 | (struct arm_linux_hwbp_cap): New type. | |
8088 | (arm_linux_get_hwbp_cap): New function. | |
8089 | (arm_linux_get_hw_breakpoint_count): Likewise. | |
8090 | (arm_linux_get_hw_watchpoint_count): Likewise. | |
8091 | (arm_linux_can_use_hw_breakpoint): Likewise. | |
8092 | (arm_hwbp_type): New type. | |
8093 | (arm_hwbp_control_t): Likewise. | |
8094 | (struct arm_linux_hw_breakpoint): Likewise. | |
8095 | (struct arm_linux_thread_points): Likewise. | |
8096 | (arm_threads): New global variable. | |
8097 | (arm_linux_find_breakpoints_by_tid): New function. | |
8098 | (arm_hwbp_control_initialize): Likewise. | |
8099 | (arm_hwbp_control_is_enabled): Likewise. | |
8100 | (arm_hwbp_control_disable): Likewise. | |
8101 | (arm_linux_hw_breakpoint_initialize): Likewise. | |
8102 | (arm_linux_get_hwbp_type): Likewise. | |
8103 | (arm_linux_hw_watchpoint_initialize): Likewise. | |
8104 | (arm_linux_hw_breakpoint_equal): Likewise. | |
8105 | (arm_linux_insert_hw_breakpoint1): Likewise. | |
8106 | (arm_linux_remove_hw_breakpoint1): Likewise. | |
8107 | (arm_linux_insert_hw_breakpoint): Likewise. | |
8108 | (arm_linux_remove_hw_breakpoint): Likewise. | |
8109 | (arm_linux_region_ok_for_hw_watchpoint): Likewise. | |
8110 | (arm_linux_insert_watchpoint): Likewise. | |
8111 | (arm_linux_remove_watchpoint): Likewise. | |
8112 | (arm_linux_stopped_data_address): Likewise. | |
8113 | (arm_linux_stopped_by_watchpoint): Likewise. | |
8114 | (arm_linux_watchpoint_addr_within_range): Likewise. | |
8115 | (arm_linux_new_thread): Likewise. | |
8116 | (arm_linux_thread_exit): Likewise. | |
8117 | (_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint | |
8118 | related target callbacks. Register arm_linux_new_thread and | |
8119 | arm_linux_thread_exit. | |
8120 | * arm-tdep.h (arm_pc_is_thumb): Add prototype. | |
8121 | * arm-tdep.c (arm_pc_is_thumb): Make global. | |
8122 | (arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint. | |
8123 | ||
b5db5dfc UW |
8124 | 2011-02-21 Ulrich Weigand <[email protected]> |
8125 | ||
8126 | * breakpoint.c (update_watchpoint): Do not attempt to recreate | |
8127 | per-frame locations while within a function epilogue. | |
8128 | ||
e25b2cfa PM |
8129 | 2011-02-21 Pierre Muller <[email protected]> |
8130 | ||
8131 | * ser-mingw.c (ser_windows_close): Reformat comment to better conform | |
8132 | to GNU coding standards. | |
8133 | ||
4af53f97 PM |
8134 | 2011-02-21 Pierre Muller <[email protected]> |
8135 | ||
8136 | Allow use of mingw native on Windows 95 OS. | |
e25b2cfa | 8137 | * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry. |
4af53f97 PM |
8138 | (ser_windows_close): Only call CancelIo if function exists. |
8139 | (_initialize_ser_windows): Use LoadLirary/GetProcAddress | |
8140 | to check for existence of CancelIo function in kernel32 DLL. | |
8141 | ||
d0e92d82 HZ |
8142 | 2011-02-21 Hui Zhu <[email protected]> |
8143 | ||
8144 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
8145 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
8146 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
8147 | * ax-general.c (ax_memcpy): New function. | |
8148 | (ax_print): Handle "printf". | |
8149 | (ax_reqs): Ditto. | |
8150 | * ax.h (ax_memcpy): Forward declare. | |
8151 | * common/ax.def (invalid2): Removed. | |
8152 | (printf): New entry. | |
8153 | * printcmd.c (printcmd.h): New include. | |
8154 | (string_printf): New function. | |
8155 | (ui_printf): Removed. | |
8156 | (printf_command): Remove static. Call string_printf. | |
8157 | (eval_command): Call string_printf. | |
8158 | * printcmd.h: New file. | |
8159 | * tracepoint.c (validate_actionline, | |
8160 | encode_actions_1): handle printf_command. | |
8161 | ||
7d357efd MS |
8162 | 2011-02-19 Michael Snyder <[email protected]> |
8163 | ||
8164 | * reverse.c (delete_one_bookmark): Argument is now bookmark | |
8165 | id rather than pointer to bookmark struct. | |
8166 | (delete_bookmark_command): Use get_number_or_range. | |
8167 | (goto_bookmark_command): Parse with get_number instead of strtoul. | |
8168 | (bookmark_1): New function. Print info for one bookmark. | |
8169 | (bookmarks_info): Use get_number_or_range and bookmark_1. | |
8170 | ||
7a45ebd7 MS |
8171 | 2011-02-18 Michael Snyder <[email protected]> |
8172 | ||
f2eb0bc8 | 8173 | * thread.c (info_threads_command): Re-implement using |
7a45ebd7 | 8174 | get_number_or_range. |
65ebfb52 | 8175 | (thread_apply_command): Ditto. |
7a45ebd7 | 8176 | |
94d5e490 TT |
8177 | 2011-02-18 Tom Tromey <[email protected]> |
8178 | ||
8179 | * common/ax.def: New file. | |
8180 | * ax.h (enum agent_op): Use ax.def. | |
8181 | * ax-general.c (aop_map): Use ax.def. | |
8182 | ||
c7f96d2b TT |
8183 | 2011-02-18 Tom Tromey <[email protected]> |
8184 | ||
8185 | * ax-general.c (aop_map): Add pick and rot. | |
8186 | * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement. | |
8187 | <DW_OP_rot>: Implement. | |
8188 | * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants. | |
8189 | (ax_pick): Declare. | |
8190 | * ax-general.c (ax_pick): New function. | |
8191 | ||
66694b75 TT |
8192 | 2011-02-18 Tom Tromey <[email protected]> |
8193 | ||
8194 | * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc. | |
8195 | ||
eeaafae2 JK |
8196 | 2011-02-18 Jan Kratochvil <[email protected]> |
8197 | Tom Tromey <[email protected]> | |
8198 | ||
8199 | * cp-support.c (make_symbol_overload_list_namespace): Do not call | |
8200 | make_symbol_overload_list_block with NULL BLOCK. | |
8201 | * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF. | |
8202 | ||
3c3fe74c PA |
8203 | 2011-02-18 Pedro Alves <[email protected]> |
8204 | ||
8205 | * breakpoint.c (get_number_trailer): No longer accept a NULL PP. | |
8206 | * breakpoint.h (get_number_or_range): Declare. | |
8207 | * printcmd.c (ALL_DISPLAYS): Declare. | |
8208 | (delete_display): Reimplement taking a display pointer. | |
8209 | (undisplay_command): Accept a range of displays to delete, using | |
8210 | get_number_or_range. | |
8211 | ||
13163d80 PM |
8212 | 2011-02-18 Pierre Muller <[email protected]> |
8213 | ||
8214 | * c-valprint.c (c_val_print): Add embedded_offset to address | |
8215 | for arrays of unspecified length. | |
8216 | * p-valprint.c (pascal_val_print): Likewise. | |
8217 | ||
b434a28f YQ |
8218 | 2011-02-18 Yao Qi <[email protected]> |
8219 | ||
8220 | * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ... | |
8221 | (arm_process_displaced_insn): .. here. Remove parameter INSN. | |
8222 | (thumb_process_displaced_insn): New. | |
8223 | * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update | |
8224 | call to arm_process_displaced_insn. | |
8225 | * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn. | |
8226 | ||
9f6f94ff TT |
8227 | 2011-02-17 Tom Tromey <[email protected]> |
8228 | ||
8229 | * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare. | |
8230 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from | |
8231 | compile_dwarf_to_ax. No longer static. Call | |
8232 | dwarf2_compile_cfa_to_ax. | |
8233 | (locexpr_tracepoint_var_ref): Update. | |
8234 | (loclist_tracepoint_var_ref): Update. | |
8235 | * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare. | |
8236 | * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame' | |
8237 | argument; add 'gdbarch' and 'pc'. | |
8238 | (dwarf2_compile_cfa_to_ax): New function. | |
8239 | (dwarf2_frame_cache): Update. | |
8240 | ||
e67ad678 JB |
8241 | 2011-02-17 Joel Brobecker <[email protected]> |
8242 | ||
8243 | * ada-lang.c (ada_type_of_array): Fix the size of the array | |
8244 | in the case of an unconstrained packed array. | |
8245 | ||
946ebb0d YQ |
8246 | 2011-02-17 Yao Qi <[email protected]> |
8247 | ||
8248 | * common/Makefile.in: Add more targets for make. | |
8249 | ||
1ba1b353 TT |
8250 | 2011-02-16 Tom Tromey <[email protected]> |
8251 | ||
8252 | * dwarf2loc.c (unimplemented): Fix typo. | |
8253 | ||
b1bfef65 TT |
8254 | 2011-02-16 Tom Tromey <[email protected]> |
8255 | ||
8256 | * dwarf2loc.c (unimplemented): Handle unnamed opcodes. | |
8257 | (compile_dwarf_to_ax) <default>: Use unimplemented. | |
8258 | <DW_OP_deref>: Update. | |
8259 | (disassemble_dwarf_expression): Update. | |
8260 | * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument. | |
8261 | (decode_locdesc): Update. | |
8262 | * dwarf2expr.h (dwarf_stack_op_name): Update. | |
8263 | ||
5f1e6f19 TT |
8264 | 2011-02-16 Tom Tromey <[email protected]> |
8265 | ||
8266 | * ax.h (struct aop_map) <name>: Now const. | |
8267 | ||
a0c78a73 PA |
8268 | 2011-02-16 Tom Tromey <[email protected]> |
8269 | ||
8270 | * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other | |
8271 | than axs_rvalue. | |
8272 | ||
946ebb0d | 8273 | 2011-02-16 Yao Qi <[email protected]> |
a42244db YQ |
8274 | |
8275 | * infrun.c (get_displaced_step_closure_by_addr): New. | |
8276 | * inferior.h: Declare it. | |
8277 | * arm-tdep.c: (arm_pc_is_thumb): Call | |
8278 | get_displaced_step_closure_by_addr. Adjust MEMADDR if it | |
8279 | returns non-NULL. | |
8280 | ||
08807d5a PA |
8281 | 2011-02-16 Pedro Alves <[email protected]> |
8282 | Jan Kratochvil <[email protected]> | |
8283 | ||
8284 | gdb/ | |
8285 | * tracepoint.c (memrange_sortmerge): Fix list A's end calculation. | |
8286 | ||
29976f3f PA |
8287 | 2011-02-16 Pedro Alves <[email protected]> |
8288 | Jan Kratochvil <[email protected]> | |
8289 | ||
8290 | * value.c (value_contents_copy_raw): Extend describing comment. | |
8291 | Assert that the destination contents we're overwriting are wholly | |
8292 | available. | |
fb68ae73 | 8293 | (value_contents_copy): Extend describing comment. |
29976f3f | 8294 | |
cd24cfaa PA |
8295 | 2011-02-16 Pedro Alves <[email protected]> |
8296 | Jan Kratochvil <[email protected]> | |
8297 | ||
8298 | * value.c (value_available_contents_eq): Remove redundant local | |
8299 | variables. Fix available contents comparision. | |
8300 | * value.h (value_available_contents_eq): Extend describing | |
8301 | comment. | |
8302 | ||
60bbf338 YQ |
8303 | 2011-02-16 Yao Qi <[email protected]> |
8304 | ||
8305 | * thread.c (info_threads_command): Add missing i18n markup and remove | |
8306 | trailing newline. | |
8307 | ||
17450429 PP |
8308 | 2011-02-15 Paul Pluzhnikov <[email protected]> |
8309 | ||
8310 | * breakpoint.c (longjmp_names): New variable. | |
8311 | (struct breakpoint_objfile_data): New type. | |
8312 | (breakpoint_objfile_key): New variable. | |
8313 | (msym_not_found): New variable. | |
8314 | (msym_not_found_p): New predicate. | |
8315 | (get_breakpoint_objfile_data): New function. | |
8316 | (create_overlay_event_breakpoint): Check per-objfile cache for | |
8317 | symbols first. | |
8318 | (create_longjmp_master_breakpoint): Likewise. | |
8319 | (create_std_terminate_master_breakpoint): Likewise. | |
8320 | (create_exception_master_breakpoint): Likewise. | |
8321 | (_initialize_breakpoint): Register per-objfile data key. | |
8322 | ||
af02033e PP |
8323 | 2011-02-15 Paul Pluzhnikov <[email protected]> |
8324 | ||
8325 | * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate | |
8326 | parameter value. | |
8327 | (create_longjmp_master_breakpoint): Loop over longjmp names. | |
8328 | (create_std_terminate_master_breakpoint): Const-propagate parameter | |
8329 | value. | |
8330 | (update_breakpoints_after_exec): Adjust. | |
8331 | (breakpoint_re_set): Adjust. | |
8332 | ||
60f98dde MS |
8333 | 2011-02-15 Michael Snyder <[email protected]> |
8334 | ||
cdf99611 MS |
8335 | * thread.c (info_threads_command): Process arg as thread id, |
8336 | or list of thread ids. | |
8337 | (thread_find_command): New command. | |
8338 | (_initialize_thread): Document argument for info threads. | |
8339 | Document 'thread find' command. | |
8340 | * NEWS: Document new command "thread find". | |
60f98dde | 8341 | |
0feedb2c JK |
8342 | 2011-02-15 Jan Kratochvil <[email protected]> |
8343 | ||
8344 | * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'. | |
8345 | * aclocal.m4: Regenerated with aclocal-1.11.1. | |
8346 | * common/configure: Regenerate with autoconf-2.64. | |
8347 | ||
648cd113 KW |
8348 | 2011-02-15 Ken Werner <[email protected]> |
8349 | ||
8350 | * opencl-lang.c (build_opencl_types): Set the size of the built-in | |
8351 | bool data type to a size of one byte. | |
8352 | ||
5657161f PA |
8353 | 2011-02-15 Pedro Alves <[email protected]> |
8354 | Jan Kratochvil <[email protected]> | |
8355 | ||
8356 | * target.c (memory_xfer_live_readonly_partial): Document where to | |
8357 | look for interface description. | |
8358 | ||
494e194e YQ |
8359 | 2011-02-15 Yao Qi <[email protected]> |
8360 | ||
8361 | PR tdep/12352 | |
8362 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in | |
8363 | order to store PC value on stack instead of text section. | |
8364 | ||
d9492458 TJB |
8365 | 2011-02-15 Thiago Jung Bauermann <[email protected]> |
8366 | ||
8367 | * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for | |
8368 | the EFP register set size. | |
8369 | (efpr_pseudo_register_read): Use regcache_raw_read_part to read | |
8370 | data from the VMX register. | |
8371 | (efpr_pseudo_register_write): Use regcache_raw_write_part to read | |
8372 | and write data from/to the VMX register. | |
8373 | ||
cdf99611 MS |
8374 | 2011-02-14 Michael Snyder <[email protected]> |
8375 | ||
8376 | * command.h (enum command_class): New class 'no_set_class', for | |
8377 | "show" commands without a corresponding "set" command. | |
8378 | * value.c (_initialize_values): Use 'no_set_class' for "show values". | |
8379 | * copying.c (_initialize_copying): Ditto for "show copying" and | |
8380 | "show warranty". | |
8381 | * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and | |
8382 | "show version". | |
8383 | * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for | |
8384 | which there is no corresponding "set" command (eg. "show copying"). | |
8385 | ||
424447ee PA |
8386 | 2011-02-14 Pedro Alves <[email protected]> |
8387 | Jan Kratochvil <[email protected]> | |
8388 | ||
8389 | * exec.c (section_table_available_memory): Change `len' parameter | |
8390 | type to ULONGEST. | |
8391 | * exec.h (section_table_available_memory): Ditto. | |
8392 | * value.h (read_value_memory): Rename the `offset' parameter to | |
8393 | `embedded_offset'. | |
8394 | ||
c0f61f9c | 8395 | 2011-02-14 Pedro Alves <[email protected]> |
e0ccc0c7 | 8396 | Jan Kratochvil <[email protected]> |
c0f61f9c PA |
8397 | |
8398 | * memrange.c (compare_mem_ranges): Mention sort order in | |
8399 | describing comment. | |
8400 | (normalize_mem_ranges): Add comment. Fix ra->length calculation. | |
8401 | * tracepoint.c (traceframe_available_memory): Extend comment to | |
8402 | mention what happens to RESULT when the target does not support | |
8403 | the query. | |
8404 | ||
6bfc80c7 PA |
8405 | 2011-02-14 Pedro Alves <[email protected]> |
8406 | Jan Kratochvil <[email protected]> | |
8407 | ||
8408 | * value.c (mark_value_bytes_unavailable): Fix indexing the `bef' | |
8409 | range. | |
8410 | ||
e7303042 PA |
8411 | 2011-02-14 Pedro Alves <[email protected]> |
8412 | ||
8413 | * value.c (value_bits_valid, value_bits_synthetic_pointer): | |
8414 | No longer handle NULL values. | |
8415 | ||
8af8e3bc PA |
8416 | 2011-02-14 Pedro Alves <[email protected]> |
8417 | ||
8418 | * exceptions.h (NOT_AVAILABLE_ERROR): New error. | |
8419 | * value.c: Include "exceptions.h". | |
8420 | (require_available): Throw NOT_AVAILABLE_ERROR instead of a | |
8421 | generic error. | |
8422 | * cp-abi.c: Include gdb_assert.h. | |
8423 | (baseclass_offset): Add `embedded_offset' and `val' parameters. | |
8424 | Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR | |
8425 | errors. | |
8426 | * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val' | |
8427 | parameters. No longer returns -1 on error. | |
8428 | (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and | |
8429 | `val' parameters. | |
8430 | * cp-valprint.c: Include exceptions.h. | |
8431 | (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching | |
8432 | the baseclass_offset. Handle unavailable base classes. Use | |
8433 | val_print_invalid_address. | |
8434 | * p-valprint.c: Include exceptions.h. | |
8435 | (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors | |
8436 | when fetching the baseclass_offset. No longer expect | |
8437 | baseclass_offset returning -1. Handle unavailable base classes. | |
8438 | Use val_print_invalid_address. | |
8439 | * valops.c (dynamic_cast_check_1): Rename `contents' parameter to | |
8440 | `valaddr' parameter, and change its type to gdb_byte pointer. Add | |
8441 | `embedded_offset' and `val' parameters. Adjust. | |
8442 | (dynamic_cast_check_2): Rename `contents' parameter to `valaddr' | |
8443 | parameter, and change its type to gdb_byte pointer. Add | |
8444 | `embedded_offset' and `val' parameters. Adjust. No longer expect | |
8445 | baseclass_offset returning -1. | |
8446 | (value_dynamic_cast): Use value_contents_for_printing rather than | |
8447 | value_contents. Adjust. | |
8448 | (search_struct_field): No longer expect baseclass_offset returning | |
8449 | -1. | |
8450 | (search_struct_method): If reading memory from the target is | |
8451 | necessary, wrap it in a new value to pass to baseclass_offset. No | |
8452 | longer expect baseclass_offset returning -1. | |
8453 | (find_method_list): No longer expect baseclass_offset returning | |
8454 | -1. Use value_contents_for_printing rather than value_contents. | |
8455 | * valprint.c (val_print_invalid_address): New function. | |
8456 | * valprint.h (val_print_invalid_address): Declare. | |
8457 | * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset' | |
8458 | and `val' parameters. No longer expect baseclass_offset returning | |
8459 | -1. Adjust. | |
8460 | * gnu-v2-abi.c: Include "exceptions.h". | |
8461 | (gnuv2_baseclass_offset): Add `embedded_offset' and `val' | |
8462 | parameters. Handle unavailable memory. Recurse through | |
8463 | gnuv2_baseclass_offset directly, rather than through | |
8464 | baseclass_offset. No longer returns -1 on not found, instead | |
8465 | throw an error. | |
8466 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and | |
8467 | `val' parameters. Adjust. | |
8468 | ||
1b28d0b3 PA |
8469 | 2011-02-14 Pedro Alves <[email protected]> |
8470 | ||
8471 | * tracepoint.c (memrange_sortmerge): Don't merge ranges that are | |
8472 | almost but not quite adjacent. | |
8473 | ||
ec0a52e1 PA |
8474 | 2011-02-14 Pedro Alves <[email protected]> |
8475 | ||
8476 | * value.h (value_entirely_available): Declare. | |
8477 | * value.c (value_entirely_available): New function. | |
8478 | * c-valprint.c (c_value_print): Don't try fetching the pointer's | |
8479 | real type if the pointer is unavailable. | |
8480 | ||
24e6bcee PA |
8481 | 2011-02-14 Pedro Alves <[email protected]> |
8482 | ||
8483 | * valops.c (value_repeat): Use read_value_memory instead of | |
8484 | read_memory. | |
8485 | ||
39d37385 PA |
8486 | 2011-02-14 Pedro Alves <[email protected]> |
8487 | ||
8488 | * value.h (value_contents_copy, value_contents_copy_raw): Declare. | |
8489 | * value.c (value_contents_copy_raw, value_contents_copy): New | |
8490 | functions. | |
8491 | (value_primitive_field): Use value_contents_copy_raw instead of | |
8492 | memcpy. | |
8493 | * valops.c (value_fetch_lazy): Use value_contents_copy instead of | |
8494 | memcpy. | |
8495 | (value_array, value_slice): Ditto. | |
8496 | * valarith.c (value_subscripted_rvalue): Use | |
8497 | value_contents_copy_raw instead of memcpy. | |
8498 | ||
a3d34bf4 PA |
8499 | 2011-02-14 Pedro Alves <[email protected]> |
8500 | ||
8501 | <unavailable> references. | |
8502 | ||
8503 | * valops.c (get_value_at): Use value_from_contents_and_address, | |
8504 | avoiding read_memory. | |
8505 | ||
9fc6d940 PA |
8506 | 2011-02-14 Pedro Alves <[email protected]> |
8507 | ||
8508 | * c-valprint.c (c_val_print): Print a string with unavailable | |
8509 | contents as an array. | |
8510 | ||
5467c6c8 PA |
8511 | 2011-02-14 Pedro Alves <[email protected]> |
8512 | ||
8513 | * value.h (unpack_bits_as_long): Delete declaration. | |
8514 | (unpack_value_bits_as_long): Declare. | |
8515 | (unpack_value_field_as_long): Declare. | |
8516 | (value_field_bitfield): Declare. | |
8517 | * value.c (unpack_bits_as_long): Rename to... | |
8518 | (unpack_value_bits_as_long_1): ... this. Add embedded_offset and | |
8519 | value parameters. Return the extracted result in a new output | |
8520 | parameter. If the value contents are unavailable, return false, | |
8521 | otherwise return true. | |
8522 | (unpack_value_bits_as_long): New. | |
8523 | (unpack_field_as_long): Rename to... | |
8524 | (unpack_value_field_as_long_1): ... this. Add embedded_offset and | |
8525 | Add embedded_offset and value parameters. Return the extracted | |
8526 | result in a new output parameter. If the value contents are | |
8527 | unavailable, return false, otherwise return true. | |
8528 | (unpack_value_field_as_long): New. | |
8529 | (unpack_field_as_long_1): New. | |
8530 | (unpack_field_as_long): Reimplement as wrapper around | |
8531 | unpack_value_field_as_long_1. | |
8532 | (value_field_bitfield): New function. | |
8533 | * valops.c (value_fetch_lazy): When fetching a bitfield, use | |
8534 | unpack_value_bits_as_long. Mark the value as unavailable, if it | |
8535 | is unavailable. | |
8536 | * jv-valprint.c (java_print_value_fields): Use | |
8537 | value_field_bitfield. | |
8538 | * p-valprint.c (pascal_object_print_value_fields): Use | |
8539 | value_field_bitfield. | |
8540 | * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield. | |
8541 | ||
3158c6ed PA |
8542 | 2011-02-14 Pedro Alves <[email protected]> |
8543 | ||
8544 | * value.c (get_internalvar_integer): Also return the int value of | |
8545 | TYPE_CODE_INT INTERNALVAR_VALUE values. | |
8546 | (set_internalvar): Don't special case TYPE_CODE_INT. | |
8547 | ||
9fbdca0d PA |
8548 | 2011-02-14 Pedro Alves <[email protected]> |
8549 | ||
8550 | * value.c (struct internalvar) <enum internalvar_kind>: Remove | |
8551 | INTERNALVAR_POINTER. | |
8552 | <pointer>: Delete. | |
8553 | (value_of_internalvar): Remove INTERNALVAR_POINTER handling. | |
8554 | (set_internalvar): Remove special TYPE_CODE_PTR handling. | |
8555 | (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling. | |
8556 | ||
c8c1c22f PA |
8557 | 2011-02-14 Pedro Alves <[email protected]> |
8558 | ||
8559 | * value.h (value_available_contents_eq): Declare. | |
8560 | * value.c (find_first_range_overlap): New function. | |
8561 | (value_available_contents_eq): New function. | |
8562 | * valprint.c (val_print_array_elements): Use | |
8563 | value_available_contents_eq. | |
8564 | * ada-valprint.c (val_print_packed_array_elements): Use | |
8565 | value_available_contents_eq. | |
8566 | * jv-valprint.c (java_value_print): Use | |
8567 | value_available_contents_eq. | |
8568 | ||
e6e4e701 PA |
8569 | 2011-02-14 Pedro Alves <[email protected]> |
8570 | ||
8571 | * target.c (target_read_live_memory): New function. | |
8572 | (memory_xfer_live_readonly_partial): New. | |
8573 | (memory_xfer_partial): If reading from a traceframe, fallback to | |
8574 | reading unavailable read-only memory from read-only regions of | |
8575 | live target memory. | |
8576 | * tracepoint.c (disconnect_tracing): Adjust. | |
8577 | (set_current_traceframe): New, factored out from | |
8578 | set_traceframe_number. | |
8579 | (set_traceframe_number): Reimplement to only change the traceframe | |
8580 | number on the GDB side. | |
8581 | (do_restore_current_traceframe_cleanup): Adjust. | |
8582 | (make_cleanup_restore_traceframe_number): New. | |
8583 | (cur_traceframe_number): New global. | |
8584 | (tfile_open): Set cur_traceframe_number to no traceframe. | |
8585 | (set_tfile_traceframe): New function. | |
8586 | (tfile_trace_find): If looking up a traceframe using any method | |
8587 | other than by number, make sure the current tfile traceframe | |
8588 | matches gdb's current traceframe. Update the current tfile | |
8589 | traceframe if the lookup succeeded. | |
8590 | (tfile_fetch_registers, tfile_xfer_partial) | |
8591 | (tfile_get_trace_state_variable_value): Make sure the remote | |
8592 | traceframe matches gdb's current traceframe. | |
8593 | * remote.c (remote_traceframe_number): New global. | |
8594 | (remote_open_1): Set it to -1. | |
8595 | (set_remote_traceframe): New function. | |
8596 | (remote_fetch_registers, remote_store_registers) | |
8597 | (remote_xfer_memory, remote_xfer_partial) | |
8598 | (remote_get_trace_state_variable_value): Make sure the remote | |
8599 | traceframe matches gdb's current traceframe. | |
8600 | (remote_trace_find): If looking up a traceframe using any method | |
8601 | other than by number, make sure the current remote traceframe | |
8602 | matches gdb's current traceframe. Update the current remote | |
8603 | traceframe if the lookup succeeded. | |
8604 | * infrun.c (fetch_inferior_event): Adjust. | |
8605 | * tracepoint.h (set_current_traceframe): Declare. | |
8606 | (get_traceframe_number, set_traceframe_number): Add describing | |
8607 | comments. | |
8608 | ||
e6ca34fc PA |
8609 | 2011-02-14 Pedro Alves <[email protected]> |
8610 | ||
8611 | Mark pieces of values as unavailable if the corresponding memory | |
8612 | is unavailable. | |
8613 | ||
8614 | * valops.c: Include tracepoint.h. | |
8615 | (value_fetch_lazy): Use read_value_memory. | |
8616 | (read_value_memory): New. | |
8617 | * value.h (read_value_memory): Declare. | |
8618 | * dwarf2loc.c (read_pieced_value): Use read_value_memory. | |
8619 | * exec.c (section_table_available_memory): New function. | |
8620 | * exec.h (section_table_available_memory): Declare. | |
8621 | ||
2a7498d8 PA |
8622 | 2011-02-14 Pedro Alves <[email protected]> |
8623 | ||
8624 | * Makefile.in (SFILES): Add memrange.c. | |
8625 | (HFILES_NO_SRCDIR): Add memrange.h. | |
8626 | (COMMON_OBS): Add memrange.o. | |
8627 | * memrange.c: New file. | |
8628 | * memrange.h: New file. | |
8629 | * tracepoint.c: Include memrange.h. | |
8630 | (struct mem_range): Delete. | |
8631 | (mem_range_s): Delete. | |
8632 | (traceframe_available_memory): New function. | |
8633 | * tracepoint.h (traceframe_available_memory): Declare. | |
8634 | ||
b3b9301e PA |
8635 | 2011-02-14 Pedro Alves <[email protected]> |
8636 | ||
8637 | * target.h (struct traceframe_info): Forward declare. | |
8638 | (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO. | |
8639 | (struct target_ops) <to_traceframe_info>: New field. | |
8640 | (target_traceframe_info): New. | |
8641 | * target.c (update_current_target): Inherit and default | |
8642 | to_traceframe_info. | |
8643 | * remote.c (PACKET_qXfer_traceframe_info): New. | |
8644 | (remote_protocol_features): Register qXfer:traceframe-info:read. | |
8645 | (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO. | |
8646 | (remote_traceframe_info): New. | |
8647 | (init_remote_ops): Install it. | |
8648 | (_initialize_remote): Install "set/show remote traceframe-info" | |
8649 | commands. | |
8650 | * tracepoint.h (parse_traceframe_info): Declare. | |
8651 | * tracepoint.c (struct mem_range): New. | |
8652 | (mem_range_s): New typedef. | |
8653 | (struct traceframe_info): New. | |
8654 | (traceframe_info): New global. | |
8655 | (free_traceframe_info): New function. | |
8656 | (clear_traceframe_info): New function. | |
8657 | (start_tracing, tfind_1, set_traceframe_number): Clear traceframe | |
8658 | info. | |
8659 | (build_traceframe_info): New function. | |
8660 | (tfile_traceframe_info): New function. | |
8661 | (init_tfile_ops): Install tfile_traceframe_info. | |
8662 | (traceframe_info_start_memory, free_result): New functions. | |
8663 | (memory_attributes, traceframe_info_elements): New globals. | |
8664 | (parse_traceframe_info, get_traceframe_info): New functions. | |
8665 | * features/traceframe-info.dtd: New file. | |
8666 | * Makefile.in (XMLFILES): Add traceframe-info.dtd. | |
8667 | ||
4e07d55f PA |
8668 | 2011-02-14 Pedro Alves <[email protected]> |
8669 | ||
8670 | Base support for <unavailable> value contents. | |
8671 | ||
4e07d55f PA |
8672 | * value.h (value_bytes_available): Declare. |
8673 | (mark_value_bytes_unavailable): Declare. | |
8674 | * value.c (struct range): New struct. | |
8675 | (range_s): New typedef. | |
8676 | (ranges_overlap): New function. | |
8677 | (range_lessthan): New function. | |
8678 | (ranges_contain_p): New function. | |
8679 | (struct value) <unavailable>: New field. | |
8680 | (value_bytes_available): New function. | |
8681 | (mark_value_bytes_unavailable): New function. | |
8682 | (require_not_optimized_out): Constify parameter. | |
8683 | (require_available): New function. | |
8684 | (value_contents_all, value_contents): Require all bytes be | |
8685 | available. | |
8686 | (value_free): Free `unavailable'. | |
8687 | (value_copy): Copy `unavailable'. | |
8688 | * valprint.h (val_print_unavailable): Declare. | |
8689 | * valprint.c (valprint_check_validity): Rename `offset' parameter | |
8690 | to `embedded_offset'. If printing a scalar, check whether the | |
8691 | value chunk is available. | |
8692 | (val_print_unavailable): New. | |
8693 | (val_print_scalar_formatted): Check whether the value is | |
8694 | available. | |
8695 | * python/py-prettyprint.c (apply_val_pretty_printer): Refuse | |
8696 | pretty-printing unavailable values. | |
8697 | ||
bc9a5551 JK |
8698 | 2011-02-13 Jan Kratochvil <[email protected]> |
8699 | ||
8700 | Fix const/volatile qualifiers of C++ types, PR c++/12328. | |
8701 | * c-typeprint.c (c_type_print_args): Update the function comment. New | |
8702 | variable param_type, initialize it. Remove const/volatile qualifiers | |
8703 | for language_cplus and !show_artificial. Use param_type. | |
8704 | ||
93b55aa1 JK |
8705 | 2011-02-13 Jan Kratochvil <[email protected]> |
8706 | ||
8707 | * symtab.c (find_pc_sect_line): New variable objfile, initialize it | |
8708 | from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S. | |
8709 | * symtab.h (struct symtab) <next>: Comment extension. | |
8710 | ||
181d9476 YQ |
8711 | 2011-02-12 Yao Qi <[email protected]> |
8712 | ||
8713 | * Makefile.in (CLEANDIRS): Remove duplicated common dir. | |
8714 | ||
b708a5c7 JK |
8715 | 2011-02-11 Yao Qi <[email protected]> |
8716 | ||
8717 | * common/Makefile.in: Add copyright header. | |
8718 | ||
c5187ac6 PA |
8719 | 2011-02-11 Pedro Alves <[email protected]> |
8720 | ||
8721 | * infrun.c (proceed): Move switching out and in of tfind mode from | |
8722 | here ... | |
8723 | (fetch_inferior_event): ... to here. | |
8724 | ||
4f3e6fb7 YQ |
8725 | 2011-02-11 Yao Qi <[email protected]> |
8726 | ||
8727 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
8728 | libcommon.a. | |
8729 | * configure.ac: Add common to sub dir. | |
8730 | * configure: Regenerate. | |
8731 | ||
b708a5c7 JK |
8732 | 2011-02-11 Yao Qi <[email protected]> |
8733 | ||
8734 | Build libcommon.a. | |
8735 | ||
8736 | * common/Makefile.in: New. | |
8737 | * common/configure.ac: New. | |
8738 | * common/aclocal.m4: New. | |
8739 | * common/configure: Generate. | |
8740 | ||
2287cc7e PA |
8741 | 2011-02-10 Pedro Alves <[email protected]> |
8742 | ||
8743 | * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right | |
8744 | side of the parenthesis. | |
8745 | ||
8746 | Merge from GCC: | |
8747 | 2010-07-13 Jakub Jelinek <[email protected]> | |
fc013618 | 8748 | * vec.h (VEC_block_remove): Fix comment. |
2287cc7e | 8749 | |
fd62cb89 MS |
8750 | 2011-02-08 Michael Snyder <[email protected]> |
8751 | ||
8752 | * linux-nat.c (linux_nat_filter_event): Fix typo in comment. | |
8753 | ||
56d2815c JK |
8754 | 2011-02-08 Jan Kratochvil <[email protected]> |
8755 | ||
8756 | * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes | |
8757 | in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd, | |
8758 | psubd and paddd. | |
8759 | ||
4f7d61a8 JK |
8760 | 2011-02-08 Jan Kratochvil <[email protected]> |
8761 | ||
8762 | PR 12361. | |
8763 | * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to | |
8764 | phsubsw. | |
8765 | (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0. | |
8766 | (i386_process_record) <0x0f3807>: Fix the comment to phsubsw. | |
8767 | ||
54fcddd0 UW |
8768 | 2011-02-08 Ulrich Weigand <[email protected]> |
8769 | ||
8770 | * dwarf2read.c (read_subroutine_type): Set special calling | |
8771 | convention flag for functions compiled by IBM XL C for OpenCL. | |
8772 | * ppc-sysv-tdep.c: Include "dwarf2.h" | |
8773 | (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types | |
8774 | calling convention. | |
8775 | (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement | |
8776 | IBM OpenCL vector types calling convention. | |
8777 | (ppc_sysv_abi_return_value): Pass through FUNC_TYPE. | |
8778 | (ppc_sysv_abi_broken_return_value): Likewise. | |
8779 | (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector | |
8780 | types calling convention. | |
8781 | (ppc64_sysv_abi_return_value): Likewise. | |
8782 | * spu-tdep.c: Include "dwarf2.h" | |
8783 | (spu_return_value): Implement IBM OpenCL vector types calling | |
8784 | convention. | |
8785 | ||
d6dafb7c UW |
8786 | 2011-02-08 Ulrich Weigand <[email protected]> |
8787 | ||
8788 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement | |
8789 | correct ABI for AltiVec vector arguments. | |
8790 | ||
32b72a42 PA |
8791 | 2011-02-07 Pedro Alves <[email protected]> |
8792 | ||
8793 | * valprint.c (val_print): Extend comment. | |
8794 | * ada-valprint.c (ada_valprint): Rewrite comment deferring | |
8795 | interface explanation to val_print. | |
8796 | (ada_val_print_array): Adjust comment to current interface. | |
8797 | (print_field_values): Adjust comment to current interface. | |
8798 | * c-valprint.c (c_val_print): Rewrite comment deferring interface | |
8799 | explanation to val_print. | |
8800 | * f-valprint.c (f_val_print): Ditto. | |
8801 | * jv-valprint.c (java_val_print): Ditto. | |
8802 | * m2-valprint.c (m2_val_print): Ditto. | |
8803 | * p-valprint.c (pascal_val_print): Ditto. | |
8804 | ||
9998af43 TJB |
8805 | 2011-02-07 Thiago Jung Bauermann <[email protected]> |
8806 | ||
8807 | * breakpoint.c (parse_breakpoint_sals): Fix description. | |
8808 | ||
505500db | 8809 | 2011-02-04 Sami Wagiaalla <[email protected]> |
9998af43 | 8810 | Oguz Kayral <[email protected]> |
505500db SW |
8811 | |
8812 | * python/py-inferior.c (python_on_normal_stop): New function. | |
8813 | (python_on_resume): New function. | |
8814 | (python_inferior_exit): New function. | |
8815 | (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and | |
8816 | inferior_exit observers. | |
8817 | * python/py-evtregistry.c: New file. | |
8818 | * python/py-threadevent.c : New file. | |
8819 | * python/py-event.c: New file. | |
8820 | * python/py-evts.c: New file. | |
8821 | * python/py-continueevent.c: New file. | |
8822 | * python/py-bpevent.c: New file. | |
8823 | * python/py-signalevent.c: New file. | |
8824 | * python/py-exetiedevent.c: New file. | |
8825 | * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function. | |
8826 | Move struct breakpoint_object from here... | |
8827 | * python/python-internal.h: ... to here. | |
8828 | * python/py-event.h: New file. | |
8829 | * python/py-events.h: New file. | |
8830 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o, | |
8831 | py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o, | |
8832 | py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o. | |
8833 | (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c, | |
8834 | py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c, | |
8835 | py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c. | |
8836 | Add build rules for all the above. | |
8837 | ||
9e0ac564 TT |
8838 | 2011-02-04 Tom Tromey <[email protected]> |
8839 | ||
8840 | * dwarf2read.c (dwarf2_section_empty_p): New function. | |
8841 | (dwarf2_read_section): Use dwarf2_section_empty_p. | |
8842 | (dwarf2_section_size): New function. | |
8843 | (dwarf2_get_section_info): Unconditionally read section. | |
8844 | (dwarf2_read_index): Use dwarf2_section_empty_p. | |
8845 | (partial_read_comp_unit_head): Use dwarf2_section_size. | |
8846 | (dwarf2_symbol_mark_computed): Likewise. | |
8847 | ||
eee5b35e DD |
8848 | 2011-02-04 David Daney <[email protected]> |
8849 | ||
8850 | * NEWS: Add item for "catch syscall" on mips*-linux* targets. | |
8851 | ||
385203ed DD |
8852 | 2011-02-04 David Daney <[email protected]> |
8853 | ||
8854 | * mips-linux-tdep.c: Include xml-syscall.h. | |
8855 | (mips_linux_get_syscall_number): New function. | |
8856 | (mips_linux_init_abi): Add calls to | |
8857 | mips_linux_get_syscall_number() and set_xml_syscall_file_name(). | |
8858 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
8859 | mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml | |
8860 | * syscalls/mips-n32-linux.xml: New file. | |
8861 | * syscalls/mips-n64-linux.xml: New file. | |
8862 | * syscalls/mips-o32-linux.xml: New file. | |
8863 | ||
9277c30c UW |
8864 | 2011-02-04 Ulrich Weigand <[email protected]> |
8865 | ||
8866 | * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries. | |
8867 | Complain about inverted range entries. | |
8868 | (dwarf2_record_block_ranges): Likewise. | |
8869 | ||
a3be7890 TJB |
8870 | 2011-02-04 Thiago Jung Bauermann <[email protected]> |
8871 | ||
8872 | Fix some typos. | |
8873 | * breakpoint.c (update_watchpoint): Fix name of the | |
8874 | update_global_location_list function. | |
8875 | (print_one_breakpoint): Fix typo. | |
8876 | (_initialize_breakpoint): Remove extra space in hbreak help | |
8877 | string. | |
8878 | * breakpoint.h (struct bp_location) <length>: Fix field | |
8879 | description. | |
8880 | ||
041274d8 PA |
8881 | 2011-02-04 Pedro Alves <[email protected]> |
8882 | ||
8883 | * regcache.c (registers_changed_ptid): Don't explictly always | |
8884 | clear `current_regcache'. Only clear current_thread_ptid and | |
8885 | current_thread_arch when PTID matches. Only reinit the frame | |
8886 | cache if PTID matches the current inferior_ptid. Move alloca(0) | |
8887 | call to ... | |
8888 | (registers_changed): ... here. | |
8889 | ||
c1c2ab58 UW |
8890 | 2011-02-03 Ulrich Weigand <[email protected]> |
8891 | ||
8892 | * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that | |
8893 | starts with __stack_chk_guard as stack guard symbol. | |
8894 | ||
9011945e AB |
8895 | 2011-02-03 Andrew Burgess <[email protected]> |
8896 | ||
8897 | * disasm.c (compare_lines): Handle the end of sequence markers | |
8898 | within the line table to better support disassembling over | |
8899 | compilation unit boundaries. | |
8900 | ||
e0634ccf UW |
8901 | 2011-02-02 Ulrich Weigand <[email protected]> |
8902 | ||
8903 | * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB | |
8904 | arguments. Skip in-prologue calls to glibc __aeabi_read_tp | |
8905 | implementation even if no symbols are available. | |
8906 | (thumb_analyze_prologue): Update call to skip_prologue_function. | |
8907 | (arm_analyze_prologue): Likewise. | |
8908 | ||
0e9e9abd UW |
8909 | 2011-02-02 Ulrich Weigand <[email protected]> |
8910 | ||
8911 | * arm-tdep.c: Include "observer.h". | |
8912 | (arm_prologue_this_id): Use frame PC if get_frame_func returns 0. | |
8913 | (arm_exidx_data_key): New static variable. | |
8914 | (struct arm_exidx_entry, arm_exidx_entry_s): New data types. | |
8915 | (struct arm_exidx_data): Likewise. | |
8916 | (arm_exidx_data_free): New function. | |
8917 | (arm_compare_exidx_entries): Likewise. | |
8918 | (arm_obj_section_from_vma): Likewise. | |
8919 | (arm_exidx_new_objfile): Likewise. | |
8920 | (arm_find_exidx_entry): Likewise. | |
8921 | (arm_exidx_fill_cache): Likewise. | |
8922 | (arm_exidx_unwind_sniffer): Likewise. | |
8923 | (arm_exidx_unwind): New global variable. | |
8924 | (arm_gdbarch_init): Append unwinder arm_exidx_unwind. | |
8925 | (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile | |
8926 | observer. Register arm_exidx_data_key as objfile data. | |
8927 | ||
2e9e421f UW |
8928 | 2011-02-02 Ulrich Weigand <[email protected]> |
8929 | ||
8930 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break | |
8931 | due to accessing uninitialized variable. Fix indentation. | |
8932 | ||
580688f3 PA |
8933 | 2011-02-02 Pedro Alves <[email protected]> |
8934 | ||
8935 | * c-valprint.c (c_value_print): When doing virtual base pointer | |
8936 | adjustment, create a new value with adjusted contents rather than | |
8937 | changing the contents of the value being printed (and getting it | |
8938 | wrong). | |
8939 | ||
3d2c1d41 PA |
8940 | 2011-02-02 Pedro Alves <[email protected]> |
8941 | ||
8942 | * xml-support.c (xml_find_attribute): New. | |
8943 | (xinclude_start_include): Use it. | |
8944 | * xml-support.h (xml_find_attribute): Declare. | |
8945 | * memory-map.c (memory_map_start_memory) | |
8946 | (memory_map_start_property): Use xml_find_attribute. | |
8947 | * osdata.c (osdata_start_osdata, osdata_start_column): Use | |
8948 | xml_find_attribute. | |
8949 | * remote.c (start_thread): Use xml_find_attribute. | |
8950 | * solib-target.c (library_list_start_segment) | |
8951 | (library_list_start_section, library_list_start_library) | |
8952 | (library_list_start_list): Use xml_find_attribute. | |
8953 | * xml-tdesc.c (tdesc_start_target, tdesc_start_feature) | |
8954 | (tdesc_start_union, tdesc_start_struct, tdesc_start_flags) | |
8955 | (tdesc_start_field): Use xml_find_attribute. | |
8956 | ||
0af3e2db UW |
8957 | 2011-02-02 Ulrich Weigand <[email protected]> |
8958 | ||
8959 | * opencl-lang.c (STRINGIFY): Rename to OCL_STRING. | |
8960 | (BUILD_OCL_VTYPES): Update. | |
8961 | ||
c1039e3c JB |
8962 | 2011-02-02 Joel Brobecker <[email protected]> |
8963 | ||
8964 | * configure.ac: Work around non-GNU sed limitation when computing | |
8965 | python version number. | |
8966 | * configure: Regenerate. | |
8967 | ||
600ea1be JK |
8968 | 2011-02-01 Jan Kratochvil <[email protected]> |
8969 | ||
8970 | Fix debug printing of TYPE_INSTANCE. | |
8971 | * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New. | |
8972 | (dump_subexp_body_standard) <TYPE_INSTANCE>: New. | |
8973 | ||
56c12414 JK |
8974 | 2011-02-01 Jan Kratochvil <[email protected]> |
8975 | ||
8976 | Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL, | |
8977 | OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME, | |
8978 | OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT. | |
8979 | * ada-operator.inc: Rename the file to ... | |
8980 | * ada-operator.def: ... here, wrap all the entries by macro OP. | |
8981 | * expprint.c (op_name_standard): Remove all the entries. Include | |
8982 | "std-operator.def" instead. | |
8983 | * expression.h (enum exp_opcode): Include "std-operator.def" and | |
8984 | "ada-operator.def". Move all the entries ... | |
8985 | * std-operator.def: ... here, wrap all the entries by macro OP. | |
8986 | ||
c52b559d PP |
8987 | 2011-01-31 Paul Pluzhnikov <[email protected]> |
8988 | ||
8989 | * breakpoint.h (remove_jit_event_breakpoints): New prototype. | |
8990 | * breakpoint.c (remove_jit_event_breakpoints): New function. | |
8991 | * jit.c (jit_descriptor_addr): Delete. | |
8992 | (registering_code): Delete. | |
8993 | (clear_int): Delete. | |
8994 | (jit_inferior_data): New variable. | |
8995 | (struct jit_inferior_data): New type. | |
8996 | (get_jit_inferior_data): New function. | |
8997 | (jit_inferior_data_cleanup): New function. | |
8998 | (jit_read_descriptor): Adjust. | |
8999 | (jit_register_code): Adjust. | |
9000 | (jit_breakpoint_re_set_internal): New function; move code here ... | |
9001 | (jit_inferior_init): ... from here. | |
9002 | (jit_breakpoint_re_set): Adjust. | |
9003 | (jit_reset_inferior_data_and_breakpoints): New function. | |
9004 | (jit_inferior_created_observer): Adjust. | |
9005 | (jit_inferior_exit_hook): Adjust. | |
9006 | (jit_executable_changed_observer): New function. | |
9007 | (jit_event_handler): Adjust. | |
9008 | (_initialize_jit): Adjust. | |
9009 | ||
e839132d MS |
9010 | 2011-01-31 Michael Snyder <[email protected]> |
9011 | ||
9012 | * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted | |
9013 | line. | |
9014 | ||
47a80e90 TT |
9015 | 2011-01-31 Tom Tromey <[email protected]> |
9016 | ||
9017 | PR python/12216: | |
9018 | * python/python.c (execute_gdb_command): Call | |
9019 | prevent_dont_repeat. | |
9020 | * top.c (suppress_dont_repeat): New global. | |
9021 | (dont_repeat): Use it. | |
9022 | (prevent_dont_repeat): New function. | |
9023 | * command.h (prevent_dont_repeat): Declare. | |
9024 | ||
45a43567 TT |
9025 | 2011-01-31 Tom Tromey <[email protected]> |
9026 | ||
9027 | * infcmd.c (finish_backward): Use breakpoint_set_silent. | |
9028 | * python/py-breakpoint.c (bppy_set_silent): Use | |
9029 | breakpoint_set_silent. | |
9030 | (bppy_set_thread): Use breakpoint_set_thread. | |
9031 | (bppy_set_task): Use breakpoint_set_task. | |
9032 | * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread) | |
9033 | (breakpoint_set_task): Declare. | |
9034 | (make_breakpoint_silent): Remove. | |
9035 | * breakpoint.c (breakpoint_set_silent): New function. | |
9036 | (breakpoint_set_thread): Likewise. | |
9037 | (breakpoint_set_task): Likewise. | |
9038 | (make_breakpoint_silent): Remove. | |
9039 | ||
09d682a4 TT |
9040 | 2011-01-31 Tom Tromey <[email protected]> |
9041 | ||
9042 | * breakpoint.h (user_breakpoint_p): Declare. | |
9043 | * breakpoint.c (user_breakpoint_p): New function. | |
9044 | (breakpoint_1): Use it. | |
9045 | (save_breakpoints): Likewise. | |
9046 | ||
9c4ea6c5 JB |
9047 | 2011-01-31 Joel Brobecker <[email protected]> |
9048 | ||
9049 | * configure.ac: Add handling of Python distribution on Windows. | |
9050 | * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED | |
9051 | sysconfig variables are not defined, then do not use them. | |
9052 | On Windows, if LIBPL is not defined, then use prefix + '/libs' | |
9053 | instead. On Windows, return all paths using forward-slashes | |
9054 | rather than backslashes. | |
9055 | ||
ac534cba JB |
9056 | 2011-01-31 Joel Brobecker <[email protected]> |
9057 | ||
9058 | * configure.ac: Remove fallback behavior for building | |
9059 | against Python. Remove tweaking of Python include path. | |
9060 | Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution. | |
9061 | (AC_TRY_LIBPYTHON): Adjust program used in linking test. | |
9062 | If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS. | |
9063 | Always restore CPPFLAGS and LIBS after linking test. | |
9064 | * configure: Regenerated. | |
9065 | * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@. | |
9066 | (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@. | |
9067 | * python/python-internal.h: Adjust includes of Python .h files. | |
9068 | ||
c2f0d045 JB |
9069 | 2011-01-31 Joel Brobecker <[email protected]> |
9070 | ||
9071 | * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup | |
9072 | in error message. | |
9073 | ||
6b0c4c1f JB |
9074 | 2011-01-31 Joel Brobecker <[email protected]> |
9075 | ||
9076 | * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode | |
9077 | value test. | |
9078 | ||
672c9795 YQ |
9079 | 2011-01-31 Yao Qi <[email protected]> |
9080 | ||
9081 | * arm-linux-nat.c: Update calls to regcache_register_status | |
9082 | instead of regcache_valid_p. | |
9083 | * aix-thread.c: Likewise. | |
9084 | * i386gnu-nat.c: Likewise. | |
9085 | ||
80b23b6a JK |
9086 | 2011-01-29 Jan Kratochvil <[email protected]> |
9087 | ||
9088 | Fix crash. | |
9089 | * valops.c (compare_parameters): Verify TYPE_NFIELDS before | |
9090 | touching TYPE_FIELD_ARTIFICIAL. | |
9091 | ||
4cd712bd RE |
9092 | 2011-01-28 Richard Earnshaw <[email protected]> |
9093 | ||
9094 | * MAINTAINERS: Move myself from Responsible Maintainers to Authorized | |
9095 | Committers. | |
9096 | ||
ffd5ec24 PA |
9097 | 2011-01-28 Pedro Alves <[email protected]> |
9098 | ||
9099 | * tracepoint.c (tfile_xfer_partial): If there's no traceframe | |
9100 | selected, don't try iterating over the traceframe's blocks. | |
9101 | (tfile_has_stack): If there's no traceframe selected, then there's | |
9102 | no stack. | |
9103 | (tfile_has_registers): If there's no traceframe selected, then | |
9104 | there's no registers. | |
9105 | ||
e8c9e0a1 PA |
9106 | 2011-01-28 Pedro Alves <[email protected]> |
9107 | ||
9108 | * target.c (memory_xfer_partial): No need to restore shadows if we | |
9109 | haven't read anything. | |
9110 | ||
de15c4ab PA |
9111 | 2011-01-28 Pedro Alves <[email protected]> |
9112 | ||
9113 | * mips-tdep.c (mips_print_register): Use get_frame_register_value | |
9114 | and val_print_scalar_formatted. | |
9115 | ||
9f41c731 PA |
9116 | 2011-01-27 Pedro Alves <[email protected]> |
9117 | ||
9118 | * tracepoint.c (tfile_read): New. | |
9119 | (tfile_open): Use it. | |
9120 | (tfile_get_traceframe_address): Use it. | |
9121 | (tfile_trace_find): Use it. | |
9122 | (walk_blocks_callback_func): New typedef. | |
9123 | (match_blocktype): New function. | |
9124 | (traceframe_walk_blocks): New function. | |
9125 | (traceframe_find_block_type): New function. | |
9126 | (tfile_fetch_registers, tfile_xfer_partial) | |
9127 | (tfile_get_trace_state_variable_value): Use | |
9128 | traceframe_find_block_type and tfile_read. | |
9129 | ||
cdefc55d KB |
9130 | 2011-01-26 Kevin Buettner <[email protected]> |
9131 | ||
9132 | * remote-mips.c: Add internationalization mark ups. Remove | |
9133 | trailing \n from already marked up strings. | |
9134 | ||
a81766d8 TT |
9135 | 2011-01-26 Tom Tromey <[email protected]> |
9136 | ||
9137 | * python/py-prettyprint.c (print_string_repr): Clear | |
9138 | 'addressprint' option when calling val_print_string. | |
9139 | (print_children): Handle Val_pretty_default. Clear 'addressprint' | |
9140 | option when calling val_print_string. | |
9141 | ||
74aedc46 TT |
9142 | 2011-01-26 Tom Tromey <[email protected]> |
9143 | ||
9144 | * python/python.c (gdbpy_solib_name): Use gdb_py_longest and | |
9145 | GDB_PY_LL_ARG. | |
9146 | * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New | |
9147 | macros. | |
9148 | (gdb_py_longest, gdb_py_ulongest): New typedefs. | |
9149 | (gdb_py_long_from_longest, gdb_py_long_from_ulongest) | |
9150 | (gdb_py_long_as_ulongest): New defines. | |
9151 | (gdb_py_object_from_longest, gdb_py_object_from_ulongest) | |
9152 | (gdb_py_int_as_long): Declare. | |
9153 | * python/py-value.c (valpy_lazy_string): Use gdb_py_longest, | |
9154 | GDB_PY_LL_ARG, gdb_py_object_from_longest. | |
9155 | (valpy_long): Add comment. | |
9156 | * python/py-utils.c (get_addr_from_python): Use | |
9157 | gdb_py_long_as_ulongest. Handle overflow properly. | |
9158 | (gdb_py_object_from_longest): New function. | |
9159 | (gdb_py_object_from_ulongest): Likewise. | |
9160 | (gdb_py_int_as_long): Likewise. | |
9161 | * python/py-type.c (typy_array): Use gdb_py_int_as_long. | |
9162 | * python/py-symtab.c (salpy_get_pc): Use | |
9163 | gdb_py_long_from_ulongest. | |
9164 | (salpy_get_line): Use PyInt_FromLong. | |
9165 | * python/py-param.c (set_parameter_value): Use | |
9166 | gdb_py_int_as_long. | |
9167 | * python/py-lazy-string.c (stpy_get_address): Use | |
9168 | gdb_py_long_from_ulongest. | |
9169 | * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest. | |
9170 | * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long. | |
9171 | * python/py-breakpoint.c (bppy_set_thread): Use | |
9172 | gdb_py_int_as_long. | |
9173 | (bppy_set_task): Likewise. | |
9174 | (bppy_set_ignore_count): Likewise. | |
9175 | (bppy_set_hit_count): Likewise. | |
9176 | * python/py-block.c (blpy_get_start): Use | |
9177 | gdb_py_object_from_ulongest. | |
9178 | (blpy_get_end): Likewise. | |
9179 | (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG. | |
9180 | ||
e4f6d2ec TJB |
9181 | 2011-01-25 Mathieu Lacage <[email protected]> |
9182 | ||
9183 | PR/symtab 11766: | |
9184 | * gdb/objfiles.h (struct objfile) <addr_low>: New field. | |
9185 | * gdb/solib.c (solib_read_symbols): Check for addr_low in | |
9186 | equality test for objfile, initialize addr_low if needed. | |
9187 | ||
b30aa278 PA |
9188 | 2011-01-25 Pedro Alves <[email protected]> |
9189 | ||
9190 | * tui/tui-regs.c (tui_register_format): Remove dead code. | |
9191 | ||
ab2188aa PA |
9192 | 2011-01-25 Pedro Alves <[email protected]> |
9193 | ||
9194 | * printcmd.c (print_formatted): Use val_print_scalar_formatted | |
9195 | instead of print_scalar_formatted. | |
9196 | (print_scalar_formatted): Don't handle 's' format strings here, | |
9197 | and add an assertion that we never see such format here. | |
9198 | * valprint.h (val_print_scalar_formatted): Declare. | |
9199 | * valprint.c (val_print_scalar_formatted): New. | |
9200 | * c-valprint.c (c_val_print): Use val_print_scalar_formatted | |
9201 | instead of print_scalar_formatted. | |
9202 | * jv-valprint.c (java_val_print): Ditto. | |
9203 | * p-valprint.c (pascal_val_print): Ditto. | |
9204 | * ada-valprint.c (ada_val_print_1): Ditto. | |
9205 | * f-valprint.c (f_val_print): Ditto. | |
9206 | * infcmd.c (registers_info): Ditto. | |
9207 | * m2-valprint.c (m2_val_print): Ditto. | |
9208 | ||
66d61a4c PA |
9209 | 2011-01-25 Pedro Alves <[email protected]> |
9210 | ||
9211 | * m2-valprint.c (print_unbounded_array): Pass | |
9212 | value_contents_for_printing rather than value_contents, to | |
9213 | m2_print_array_contents. Also pass in the value. | |
9214 | ||
831adc1f JK |
9215 | 2011-01-25 Jan Kratochvil <[email protected]> |
9216 | ||
9217 | * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index) | |
9218 | (save_gdb_index_command): Switch to .gdb_index version 4. | |
9219 | ||
20622269 PA |
9220 | 2011-01-25 Pedro Alves <[email protected]> |
9221 | ||
9222 | * mi/mi-main.c (get_register): Use get_frame_register_value rather | |
9223 | than frame_register, and always pass a valid value to val_print. | |
9224 | ||
585fdaa1 PA |
9225 | 2011-01-25 Pedro Alves <[email protected]> |
9226 | ||
9227 | Centralize printing "<optimized out>". | |
9228 | ||
9229 | * valprint.h (val_print_optimized_out): Declare. | |
9230 | * cp-valprint.c (cp_print_value_fields): Use | |
9231 | val_print_optimized_out. | |
9232 | * jv-valprint.c (java_print_value_fields): Ditto. | |
9233 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
9234 | * printcmd.c (print_formatted): Ditto. | |
9235 | * valprint.c (valprint_check_validity): Ditto. | |
9236 | (value_check_printable): Ditto. | |
9237 | (val_print_optimized_out): New. | |
9238 | ||
29ec5263 PA |
9239 | 2011-01-25 Pedro Alves <[email protected]> |
9240 | ||
9241 | * infcmd.c (default_print_registers_info): Allocate values so to | |
9242 | never pass a NULL value to val_print. | |
9243 | ||
de4127a3 PA |
9244 | 2011-01-25 Pedro Alves <[email protected]> |
9245 | ||
9246 | * cp-valprint.c (cp_print_value): Treat the 'skip' local as | |
9247 | boolean. Make sure to always pass a value that matches the | |
9248 | contents buffer to callees. Preserve `address' for following | |
9249 | iterations. | |
9250 | * value.c (value_contents_for_printing_const): New. | |
9251 | (value_address): Constify value argument. | |
9252 | * value.h (value_contents_for_printing_const): Declare. | |
9253 | (value_address): Constify value argument. | |
9254 | ||
ee99023e PA |
9255 | 2011-01-25 Pedro Alves <[email protected]> |
9256 | ||
9257 | * regcache.c (struct regcache_descr): Rename | |
9258 | sizeof_raw_register_valid_p field to sizeof_raw_register_status, | |
9259 | and sizeof_cooked_register_valid_p to | |
9260 | sizeof_cooked_register_status. | |
9261 | (init_regcache_descr): Adjust. | |
9262 | (struct regcache): Rename register_valid_p field to | |
9263 | register_status. | |
9264 | (regcache_xmalloc_1, regcache_xfree, regcache_save) | |
9265 | (do_cooked_read): Adjust. | |
9266 | (regcache_valid_p): Rename to ... | |
9267 | (regcache_register_status): ... this. Adjust. | |
9268 | (regcache_invalidate): Adjust. | |
9269 | (regcache_raw_read, regcache_cooked_read, regcache_raw_write): | |
9270 | Adjust. | |
9271 | (regcache_raw_supply): Adjust. If buf i NULL, mark the register | |
9272 | as unavailable, not valid. | |
9273 | (regcache_dump): Adjust. | |
9274 | * regcache.h (enum register_status): New. | |
9275 | (regcache_register_status): Declare. | |
9276 | (regcache_invalidate): Delete declaration. | |
9277 | * corelow.c (get_core_registers): Adjust. | |
9278 | * tracepoint.c (tfile_fetch_registers): Adjust. | |
9279 | * trad-frame.c (REG_VALUE): Rename to ... | |
9280 | (TF_REG_VALUE): ... this. | |
9281 | (REG_UNKNOWN): Rename to ... | |
9282 | (TF_REG_UNKNOWN): ... this. | |
9283 | (trad_frame_set_value, trad_frame_set_unknown): Adjust. | |
9284 | * mi/mi-main.c (register_changed_p): Adjust. | |
9285 | ||
99e42fd8 PA |
9286 | 2011-01-25 Pedro Alves <[email protected]> |
9287 | ||
9288 | * regcache.c (struct regcache_descr): Remove outdated comment. | |
9289 | (init_regcache_descr): Remove sizeof_raw_register_valid_p | |
9290 | overallocate hack. | |
9291 | (regcache_xmalloc): Rename to ... | |
9292 | (regcache_xmalloc_1): ... this. Add `readonly_p' parameter. | |
9293 | Allocate the regcache type accordingly. | |
9294 | (regcache_xmalloc): New as wrapper around regcache_xmalloc_1. | |
9295 | (regcache_xfree): Asser the source is also readonly. Copy sizeof | |
9296 | cooked registers, not raw. | |
9297 | (regcache_dup_no_passthrough): Delete. | |
9298 | (get_thread_arch_regcache): Use regcache_xmalloc_1. | |
9299 | * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not | |
9300 | mention obsolete write_register_bytes. | |
9301 | * regcache.h (regcache_dup_no_passthrough): Delete declaration. | |
9302 | ||
f7605bc2 PA |
9303 | 2011-01-25 Pedro Alves <[email protected]> |
9304 | ||
9305 | Stop remote_read_bytes from handling partial reads itself. | |
9306 | ||
9307 | * remote-fileio.c: Include target.h. | |
9308 | (remote_fileio_write_bytes): Delete. | |
9309 | (remote_fileio_func_open, remote_fileio_func_write) | |
9310 | (remote_fileio_func_rename, remote_fileio_func_unlink): Use | |
9311 | target_read_memory. | |
9312 | (remote_fileio_func_stat): Use target_read_memory and | |
9313 | target_write_memory. | |
9314 | (remote_fileio_func_gettimeofday): Use target_write_memory. | |
9315 | (remote_fileio_func_system): Use target_read_memory. | |
9316 | * remote.c (remote_write_bytes): Make it static. | |
9317 | (remote_read_bytes): Don't handle partial reads here. | |
9318 | * remote.h (remote_read_bytes): Delete declaration. | |
9319 | ||
efc0eabd PA |
9320 | 2011-01-25 Pedro Alves <[email protected]> |
9321 | ||
9322 | Simplify XML parsing a bit. | |
9323 | ||
9324 | * xml-support.h (gdb_xml_parse_quick): Declare. | |
9325 | * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed | |
9326 | from gdb_xml_create_parser_and_cleanup, and added `old_chain' | |
9327 | parameter. | |
9328 | (gdb_xml_create_parser_and_cleanup): Reimplement on top of | |
9329 | gdb_xml_create_parser_and_cleanup_1. | |
9330 | (gdb_xml_parse_quick): New. | |
9331 | * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick. | |
9332 | * osdata.c (osdata_parse): Ditto. | |
9333 | * remote.c (remote_threads_info): Ditto. | |
9334 | * solib-target.c (solib_target_parse_libraries): Ditto. | |
9335 | * xml-syscall.c (syscall_parse_xml): Ditto. | |
9336 | * xml-tdesc.c (tdesc_parse_xml): Ditto. | |
9337 | ||
314d366a KB |
9338 | 2011-01-24 Kevin Buettner <[email protected]> |
9339 | ||
9340 | * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but | |
9341 | with remote-mips.o added to gdb_target_obs. | |
9342 | * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o. | |
9343 | ||
a491d753 PA |
9344 | 2011-01-24 Pedro Alves <[email protected]> |
9345 | ||
9346 | * ada-valprint.c (val_print_packed_array_elements): Pass the | |
9347 | correct struct value to val_print. | |
9348 | (ada_val_print_1): Ditto. | |
9349 | ||
490f124f PA |
9350 | 2011-01-24 Pedro Alves <[email protected]> |
9351 | ||
9352 | Don't lose embedded_offset in printing routines throughout. | |
9353 | ||
9354 | * valprint.h (val_print_array_elements): Change prototype. | |
9355 | * valprint.c (val_print_array_elements): Add `embedded_offset' | |
9356 | parameter, and adjust to pass it down to val_print, while passing | |
9357 | `valaddr' or `address' unmodified. Take embedded_offset into | |
9358 | account when checking repetitions. | |
9359 | * c-valprint.c (c_val_print): Pass embedded_offset to | |
9360 | val_print_array_elements instead of adjusting `valaddr' and | |
9361 | `address'. | |
9362 | * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass | |
9363 | embedded_offset to val_print_array_elements instead of adjusting | |
9364 | `valaddr'. | |
9365 | * p-lang.h (pascal_object_print_value_fields): Adjust prototype. | |
9366 | * p-valprint.c (pascal_val_print): Pass embedded_offset to | |
9367 | val_print_array_elements and pascal_object_print_value_fields | |
9368 | instead of adjusting `valaddr'. | |
9369 | (pascal_object_print_value_fields): Add `offset' parameter, and | |
9370 | adjust to use it. | |
9371 | (pascal_object_print_value): Add `offset' parameter, and adjust to | |
9372 | use it. | |
9373 | (pascal_object_print_static_field): Use | |
9374 | value_contents_for_printing/value_embedded_offset, rather than | |
9375 | value_contents. | |
9376 | * ada-valprint.c (val_print_packed_array_elements): Add `offset' | |
9377 | parameter, and adjust to use it. Use | |
9378 | value_contents_for_printing/value_embedded_offset, rather than | |
9379 | value_contents. | |
9380 | (ada_val_print): Rename `valaddr0' parameter to `valaddr'. | |
9381 | (ada_val_print_array): Add `offset' parameter, and adjust to use | |
9382 | it. | |
9383 | (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and | |
9384 | `embedded_offset' to `offset'. Don't re-adjust `valaddr'. | |
9385 | Instead work with offsets. Use | |
9386 | value_contents_for_printing/value_embedded_offset, rather than | |
9387 | value_contents. Change `defer_val_int' local type to CORE_ADDR, | |
9388 | and use value_from_pointer to extract a target pointer, rather | |
9389 | than value_from_longest. | |
9390 | (print_variant_part): Add `offset' parameter. Replace | |
9391 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
9392 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
9393 | (ada_value_print): Use | |
9394 | value_contents_for_printing/value_embedded_offset, rather than | |
9395 | value_contents. | |
9396 | (print_record): Add `offset' parameter, and adjust to pass it | |
9397 | down. | |
9398 | (print_field_values): Add `offset' parameter. Replace | |
9399 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
9400 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
9401 | Use value_contents_for_printing/value_embedded_offset, rather than | |
9402 | value_contents. | |
9403 | * d-valprint.c (dynamic_array_type): Use | |
9404 | value_contents_for_printing/value_embedded_offset, rather than | |
9405 | value_contents. | |
9406 | * jv-valprint.c (java_print_value_fields): Add `offset' parameter. | |
9407 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
9408 | (java_print_value_fields): Take `offset' into account. Don't | |
9409 | re-adjust `valaddr'. Instead pass down adjusted offsets. | |
9410 | (java_val_print): Take `embedded_offset' into account. Pass it to | |
9411 | java_print_value_fields. | |
9412 | * f-valprint.c (f77_print_array_1): Add `embedded_offset' | |
9413 | parameter. Don't re-adjust `valaddr' or `address'. Instead pass | |
9414 | down adjusted offsets. | |
9415 | (f77_print_array): Add `embedded_offset' parameter. Pass it down. | |
9416 | (f_val_print): Take `embedded_offset' into account. | |
9417 | ||
7bfc9434 JB |
9418 | 2011-01-21 Joel Brobecker <[email protected]> |
9419 | ||
9420 | * inflow.c: Include "gdbcmd.h". | |
9421 | (interactive_mode): New static global, moved here from top.c. | |
9422 | (show_interactive_mode): New function, moved here from top.c. | |
9423 | use gdb_has_a_terminal instead of input_from_terminal_p to | |
9424 | determine the current mode. | |
9425 | (gdb_has_a_terminal): Add handling of the "iteractive-mode" | |
9426 | setting. | |
9427 | (_initialize_inflow): Add the "set/show interactive-mode" | |
9428 | commands. Moved here from top.c, after having adjusted slightly | |
9429 | the help text. | |
9430 | * top.c (interactive_mode, show_interactive_mode): Delete, moved | |
9431 | to inflow.c. | |
9432 | (input_from_terminal_p): Remove handling of "interactive-mode" | |
9433 | setting, moved to infow.c. | |
9434 | (init_main): Remove creation of the "set/show interactive-mode" | |
9435 | commands, moved to inflow.c. | |
9436 | ||
44603653 JB |
9437 | 2011-01-19 Joel Brobecker <[email protected]> |
9438 | ||
9439 | * NEWS: Add entry for native ia64-hpux support. | |
9440 | ||
4694da01 TT |
9441 | 2011-01-19 Tom Tromey <[email protected]> |
9442 | ||
9443 | PR mi/8618: | |
9444 | * thread.c (free_thread): Free 'name'. | |
9445 | (print_thread_info): Emit thread name. Change CLI output. | |
9446 | (thread_name_command): New function. | |
9447 | (do_captured_thread_select): Emit newline. | |
9448 | (_initialize_thread): Register 'thread name' command. | |
9449 | * target.h (struct target_ops) <to_thread_name>: New field. | |
9450 | (target_thread_name): New macro. | |
9451 | * target.c (update_current_target): Handle to_thread_name. | |
9452 | * python/py-infthread.c (thpy_get_name): New function. | |
9453 | (thpy_set_name): Likewise. | |
9454 | (thread_object_getset): Add "name". | |
9455 | * linux-nat.c (linux_nat_thread_name): New function. | |
9456 | (linux_nat_add_target): Set to_thread_name. | |
9457 | * gdbthread.h (struct thread_info) <name>: New field. | |
9458 | ||
10d44370 JB |
9459 | 2011-01-18 Joel Brobecker <[email protected]> |
9460 | ||
9461 | * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast. | |
9462 | (ada_val_print_1): Likewise. | |
9463 | ||
e3acb115 JB |
9464 | 2011-01-18 Joel Brobecker <[email protected]> |
9465 | ||
9466 | * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue | |
9467 | upper limit address is not greater than the function end address | |
9468 | when the upper limit could not be computed using the debugging | |
9469 | info. | |
9470 | ||
dc92e161 TT |
9471 | 2011-01-17 Tom Tromey <[email protected]> |
9472 | ||
9473 | * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use | |
9474 | get_regcomp_error. | |
9475 | * utils.c: Include gdb_regex.h. | |
9476 | (do_regfree_cleanup): New function. | |
9477 | (make_regfree_cleanup): Likewise. | |
9478 | (get_regcomp_error): Likewise. | |
9479 | * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare. | |
9480 | ||
f55af66d TT |
9481 | 2011-01-17 Tom Tromey <[email protected]> |
9482 | ||
9483 | * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call | |
9484 | re_compile_fastmap. | |
9485 | ||
a5a44b53 PM |
9486 | 2011-01-17 Pierre Muller <[email protected]> |
9487 | ||
9488 | * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE | |
9489 | for internal variables. | |
9490 | (last_was_structop): New static variable. | |
9491 | (COMPLETE): New token. | |
9492 | (field_exp): New rule to group all '.' suffix handling. | |
9493 | Add mark_struct_expression calls when approriate to be able | |
9494 | to correctly find fields for completion. | |
9495 | (yylex): Adapt to handle field completion and set INTVAR when | |
9496 | required. | |
9497 | ||
2c291032 YQ |
9498 | 2011-01-14 Yao Qi <[email protected]> |
9499 | ||
9500 | * arm-tdep.c (arm_register_reggroup_p): FPS register is in | |
9501 | save_reggroup, restore_reggroup and all_reggroup. | |
9502 | ||
447b483c JB |
9503 | 2011-01-14 Joel Brobecker <[email protected]> |
9504 | ||
9505 | * ada-valprint. (ada_printchar): Use the correct type length | |
9506 | in call to ada_emit_char. | |
9507 | * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR. | |
9508 | ||
7b64a93b PM |
9509 | 2011-01-14 Pierre Muller <[email protected]> |
9510 | ||
9511 | * solib-som.h (hpux_major_release): Declare variable here. | |
9512 | * solib-som.c: Remove <sys/utsname.h> header. | |
9513 | (DEFAULT_HPUX_MAJOR_RELEASE): New macro. | |
9514 | (hpux_major_release): Make global, change default value to | |
9515 | DEFAULT_HPUX_MAJOR_RELEASE. | |
f2eb0bc8 | 9516 | (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE. |
7b64a93b PM |
9517 | * hppa-hpux-nat.c: Add <sys/utsname.h> include. |
9518 | Add "solib-som.h" header. | |
9519 | (set_hpux_major_release): New function. | |
9520 | (_initialize_hppa_hpux_nat): Call set_hpux_major_release. | |
9521 | ||
4e18c053 MF |
9522 | 2011-01-14 Mike Frysinger <[email protected]> |
9523 | ||
9524 | * configure.tgt (*-*-uclinux*): Match more Linux os targets | |
9525 | ||
a9df6b22 JB |
9526 | 2011-01-14 Joel Brobecker <[email protected]> |
9527 | ||
9528 | * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing | |
9529 | new-line at end of warning message. | |
9530 | (ia64_hpux_store_register): Remove trailing new-line at end of | |
9531 | error message. | |
9532 | * ia64-hpux-tdep.c: Rephrase comment. | |
9533 | * solib-ia64-hpux.c (struct dld_info): Change type of field | |
9534 | dld_flags from "long long" to ULONGEST. | |
9535 | ||
ecb956dd PA |
9536 | 2011-01-14 Pedro Alves <[email protected]> |
9537 | ||
9538 | * target.h (deprecated_child_ops): Delete declaration. | |
9539 | * target.c (deprecated_child_ops): Delete definition. | |
9540 | ||
76adfcae PA |
9541 | 2011-01-14 Pedro Alves <[email protected]> |
9542 | ||
9543 | * Makefile.in (hpux-thread.o): Delete rule. | |
9544 | * configure.ac: Don't check for HPUX DCE threads support. | |
9545 | * configure, config.in: Regenerate. | |
9546 | * hppa-hpux-nat.c (child_suppress_run): Delete. | |
9547 | (hppa_hpux_child_can_run): Delete. | |
9548 | (_initialize_hppa_hpux_nat): Don't override to_can_run. | |
9549 | * hpux-thread.c: Delete. | |
9550 | ||
042e866e JB |
9551 | 2011-01-13 Joel Brobecker <[email protected]> |
9552 | ||
9553 | * hpux-thread.c (hpux_pid_to_str): Delete. | |
9554 | ||
4ffa5a33 JB |
9555 | 2011-01-13 Joel Brobecker <[email protected]> |
9556 | ||
9557 | * ada-valprint.c (ada_emit_char): Remove strange code. | |
9558 | Check that c is <= UCHAR_MAX before passing it to isascii. | |
9559 | (char_at): Do not assume that TYPE_LEN is either 1 or 2. | |
9560 | ||
de8fa76c JB |
9561 | 2011-01-13 Joel Brobecker <[email protected]> |
9562 | ||
9563 | * top.c (input_from_terminal_p): Restrict the use of interactive_mode | |
9564 | to the case where instream is stdin. | |
9565 | ||
c4de7027 JB |
9566 | 2011-01-13 Joel Brobecker <[email protected]> |
9567 | ||
9568 | * ia64-tdep.h (struct regcache): Forward declare. | |
9569 | (struct ia64_infcall_ops): New struct type. | |
9570 | (struct gdbarch_tdep): New fields "find_global_pointer_from_solib" | |
9571 | and "infcall_ops". | |
9572 | * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section): | |
9573 | Renames ia64_find_global_pointer. | |
9574 | (ia64_find_global_pointer, ia64_allocate_new_rse_frame) | |
9575 | (ia64_store_argument_in_slot, ia64_set_function_addr: New function. | |
9576 | (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops | |
9577 | methods. | |
9578 | (ia64_infcall_ops): New static global constant. | |
9579 | (ia64_gdbarch_init): Set tdep->infcall_ops. | |
9580 | * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function. | |
9581 | (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing. | |
9582 | * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h". | |
9583 | (ia64_hpux_dummy_code): New static global constant. | |
9584 | (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame) | |
9585 | (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr) | |
9586 | (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib): | |
9587 | New function. | |
9588 | (ia64_hpux_infcall_ops): New static global constant. | |
9589 | (ia64_hpux_init_abi): Install gdbarch and tdep methods needed | |
9590 | for inferior function calls to work properly on ia64-hpux. | |
9591 | ||
77ca787b JB |
9592 | 2011-01-13 Joel Brobecker <[email protected]> |
9593 | ||
9594 | * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS. | |
9595 | * ia64-tdep.h (struct frame_info): forward declaration. | |
9596 | (struct gdbarch_tdep): Add field size_of_register_frame. | |
9597 | * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame | |
9598 | to determine the size of the register frame. | |
9599 | (ia64_size_of_register_frame): New function. | |
9600 | (ia64_gdbarch_init): Set tdep->size_of_register_frame. | |
9601 | * ia64-hpux-tdep.c: Include "target.h" and "frame.h". | |
9602 | (IA64_HPUX_UREG_REASON): New macro. | |
9603 | (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame): | |
9604 | New functions. | |
9605 | (ia64_hpux_init_abi): Set tdep->size_of_register_frame. | |
9606 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function. | |
9607 | (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS | |
9608 | objects. | |
9609 | ||
92c9a463 JB |
9610 | 2011-01-13 Joel Brobecker <[email protected]> |
9611 | ||
9612 | Add support for ia64-hpux. | |
9613 | * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c, | |
9614 | ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files. | |
9615 | ||
9616 | * configure.host: Add handling for ia64-hpux hosts. Add associated | |
9617 | floatformats. | |
9618 | * configure.tgt: Add handling for ia64-hpux targets. | |
9619 | * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o. | |
9620 | (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h. | |
9621 | (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c. | |
9622 | ||
f688d93f JB |
9623 | 2011-01-13 Joel Brobecker <[email protected]> |
9624 | ||
9625 | [ttrace] Compute thread list immediately after attach. | |
9626 | * inf_ttrace_attach (inf_ttrace_create_threads_after_attach): | |
9627 | New subprogram. | |
9628 | (inf_ttrace_attach): Use it. | |
9629 | ||
1b89e62f JB |
9630 | 2011-01-13 Joel Brobecker <[email protected]> |
9631 | ||
9632 | * libunwind-frame.c (libunwind_frame_cache): Do not return NULL | |
9633 | if we could not determine the frame's function address. Instead, | |
9634 | use the frame's PC, and then continue. | |
9635 | ||
3e5e6e2a JB |
9636 | 2011-01-13 Joel Brobecker <[email protected]> |
9637 | ||
9638 | * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if | |
9639 | not already defined. | |
9640 | ||
825d6d8a JB |
9641 | 2011-01-13 Joel Brobecker <[email protected]> |
9642 | ||
9643 | * ia64-tdep.c (ia64_struct_type_p): New function. | |
9644 | (ia64_extract_return_value): Handle integral values that are | |
9645 | less than 8 bytes long. | |
9646 | (ia64_push_dummy_call): Likewise. | |
9647 | ||
7458e667 JB |
9648 | 2011-01-13 Joel Brobecker <[email protected]> |
9649 | ||
9650 | * ia64-tdep.c (floatformat_ia64_ext_little): Renames | |
9651 | floatformat_ia64_ext. | |
9652 | (floatformat_ia64_ext_big): New static const. | |
9653 | (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big. | |
9654 | ||
1b05df00 TT |
9655 | 2011-01-12 Tom Tromey <[email protected]> |
9656 | ||
9657 | * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error | |
9658 | messages. | |
9659 | * mi/mi-main.c (mi_cmd_thread_select): Fix error messages. | |
9660 | (mi_cmd_thread_list_ids): Likewise. | |
9661 | (mi_cmd_data_list_changed_registers): Likewise. | |
9662 | (mi_cmd_data_list_register_values): Likewise. | |
9663 | (mi_cmd_data_write_register_values): Likewise. | |
9664 | (mi_cmd_data_evaluate_expression): Likewise. | |
9665 | (mi_cmd_data_read_memory): Likewise. | |
9666 | (mi_cmd_data_read_memory_bytes): Likewise. | |
9667 | (mi_cmd_data_write_memory): Likewise. | |
9668 | (mi_cmd_enable_timings): Likewise. | |
9669 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages. | |
9670 | * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages. | |
9671 | (mi_cmd_var_delete): Likewise. | |
9672 | (mi_cmd_var_set_format): Likewise. | |
9673 | (mi_cmd_var_show_format): Likewise. | |
9674 | (mi_cmd_var_info_num_children): Likewise. | |
9675 | (mi_cmd_var_list_children): Likewise. | |
9676 | (mi_cmd_var_info_type): Likewise. | |
9677 | (mi_cmd_var_info_expression): Likewise. | |
9678 | (mi_cmd_var_show_attributes): Likewise. | |
9679 | (mi_cmd_var_assign): Likewise. | |
9680 | (mi_cmd_var_update): Likewise. | |
9681 | (mi_cmd_enable_pretty_printing): Likewise. | |
9682 | (mi_cmd_var_set_update_range): Likewise. | |
9683 | * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error | |
9684 | messages. | |
9685 | (mi_cmd_target_file_put): Likewise. | |
9686 | (mi_cmd_target_file_delete): Likewise. | |
9687 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error | |
9688 | messages. | |
9689 | (mi_cmd_stack_info_depth): Likewise. | |
9690 | (mi_cmd_stack_list_locals): Likewise. | |
9691 | (mi_cmd_stack_list_args): Likewise. | |
9692 | (mi_cmd_stack_select_frame): Likewise. | |
9693 | (mi_cmd_stack_select_frame): Likewise. | |
9694 | (mi_cmd_stack_info_frame): Likewise. | |
9695 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error | |
9696 | messages. | |
9697 | (mi_cmd_file_list_exec_source_files): Likewise. | |
9698 | * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages. | |
9699 | (mi_cmd_env_cd): Likewise. | |
9700 | (mi_cmd_env_path): Likewise. | |
9701 | (mi_cmd_env_dir): Likewise. | |
9702 | (mi_cmd_inferior_tty_show): Likewise. | |
9703 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages. | |
9704 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages. | |
9705 | (mi_cmd_break_watch): Likewise. | |
9706 | ||
ad422571 TJB |
9707 | 2011-01-12 Thiago Jung Bauermann <[email protected]> |
9708 | ||
9709 | * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace. | |
9710 | (ppc_linux_insert_hw_breakpoint): Likewise. | |
9711 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
9712 | (ppc_linux_insert_watchpoint): Likewise. | |
9713 | ||
c2ff108b JK |
9714 | 2011-01-12 Andrew Burgess <[email protected]> |
9715 | Jan Kratochvil <[email protected]> | |
9716 | ||
9717 | PR fortran/11104 and DWARF unbound arrays detection. | |
9718 | * dwarf2read.c (read_subrange_type): Set zero length on unspecified | |
9719 | upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on | |
9720 | unspecified upper bound. | |
9721 | * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove | |
9722 | variables array_size_array, tmp_type and offset_item. New variable | |
9723 | array. Remove call to f77_get_upperbound. New variables array_type | |
9724 | and index. Call value_subscripted_rvalue for each dimenasion. Remove | |
9725 | the final call to deprecated_set_value_type. | |
9726 | ||
41e8491f JK |
9727 | 2011-01-12 Jan Kratochvil <[email protected]> |
9728 | ||
9729 | Make value allocations more lazy. | |
9730 | * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy | |
9731 | instead of allocate_value and set_value_lazy when possible. | |
f2eb0bc8 | 9732 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy |
41e8491f JK |
9733 | instead of allocate_value and set_value_lazy. |
9734 | * findvar.c (value_of_register_lazy): Likewise. | |
9735 | (read_var_value): Remove V preallocation, call just check_typedef in | |
f2eb0bc8 | 9736 | advance. Move allocate_value to LOC_CONST, LOC_LABEL, |
41e8491f JK |
9737 | LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG, |
9738 | LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of | |
9739 | set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and | |
9740 | remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy | |
9741 | in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at | |
9742 | the end, remove set_value_lazy there. | |
9743 | * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy | |
9744 | instead of allocate_value and set_value_lazy when possible. | |
9745 | * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL. | |
9746 | * value.c (allocate_computed_value): Use allocate_value_lazy instead | |
9747 | of allocate_value and set_value_lazy. | |
9748 | (value_from_contents_and_address): Use allocate_value_lazy instead of | |
9749 | allocate_value and set_value_lazy when possible. | |
9750 | ||
b716877b AB |
9751 | 2011-01-12 Andrew Burgess <[email protected]> |
9752 | ||
9753 | * disasm.c (dump_insns): Support dumping opcodes for MI. | |
9754 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control | |
9755 | dumping of instruction opcodes. | |
9756 | ||
d5ae309f JB |
9757 | 2011-01-09 Robert Millan <[email protected]> (tiny patch) |
9758 | ||
9759 | * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' | |
9760 | appropiately. | |
9761 | ||
98871305 TT |
9762 | 2011-01-11 Tom Tromey <[email protected]> |
9763 | ||
9764 | * thread.c (do_captured_thread_select): Emit newline before | |
9765 | printing frame. | |
9766 | ||
c378eb4e MS |
9767 | 2011-01-11 Michael Snyder <[email protected]> |
9768 | ||
9769 | * s390-tdep.c: Comment cleanup, mostly periods and spaces. | |
9770 | * score-tdep.c: Ditto. | |
9771 | * score-tdep.h: Ditto. | |
9772 | * ser-base.c: Ditto. | |
9773 | * ser-go32.c: Ditto. | |
9774 | * serial.c: Ditto. | |
9775 | * serial.h: Ditto. | |
9776 | * ser-mingw.c: Ditto. | |
9777 | * ser-pipe.c: Ditto. | |
9778 | * ser-tcp.c: Ditto. | |
9779 | * ser-unix.c: Ditto. | |
9780 | * sh64-tdep.c: Ditto. | |
9781 | * shnbsd-nat.c: Ditto. | |
9782 | * sh-tdep.c: Ditto. | |
9783 | * sh-tdep.h: Ditto. | |
9784 | * solib.c: Ditto. | |
9785 | * solib-darwin.c: Ditto. | |
9786 | * solib-frv.c: Ditto. | |
9787 | * solib.h: Ditto. | |
9788 | * solib-irix.c: Ditto. | |
9789 | * solib-osf.c: Ditto. | |
9790 | * solib-pa64.c: Ditto. | |
9791 | * solib-som.c: Ditto. | |
9792 | * solib-spu.c: Ditto. | |
9793 | * solib-sunos.c: Ditto. | |
9794 | * solib-svr4.c: Ditto. | |
9795 | * solist.h: Ditto. | |
9796 | * sol-thread.c: Ditto. | |
9797 | * somread.c: Ditto. | |
9798 | * source.c: Ditto. | |
9799 | * source.h: Ditto. | |
9800 | * sparc64-linux-tdep.c: Ditto. | |
9801 | * sparc64-tdep.c: Ditto. | |
9802 | * sparc-linux-nat.c: Ditto. | |
9803 | * sparc-linux-tdep.c: Ditto. | |
9804 | * sparc-sol2-nat.c: Ditto. | |
9805 | * sparc-sol2-tdep.c: Ditto. | |
9806 | * sparc-tdep.c: Ditto. | |
9807 | * sparc-tdep.h: Ditto. | |
9808 | * spu-tdep.c: Ditto. | |
9809 | * stabsread.c: Ditto. | |
9810 | * stabsread.h: Ditto. | |
9811 | * stack.c: Ditto. | |
9812 | * symfile.c: Ditto. | |
9813 | * symfile.h: Ditto. | |
9814 | * symmisc.c: Ditto. | |
9815 | * symtab.c: Ditto. | |
9816 | * symtab.h: Ditto. | |
9817 | * target.c: Ditto. | |
9818 | * target-descriptions.c: Ditto. | |
9819 | * target-descriptions.h: Ditto. | |
9820 | * target.h: Ditto. | |
9821 | * target-memory.c: Ditto. | |
9822 | * terminal.h: Ditto. | |
9823 | * thread.c: Ditto. | |
9824 | * top.c: Ditto. | |
9825 | * tracepoint.c: Ditto. | |
9826 | * tracepoint.h: Ditto. | |
9827 | * trad-frame.h: Ditto. | |
9828 | * typeprint.c: Ditto. | |
9829 | ||
581e13c1 MS |
9830 | 2011-01-11 Michael Snyder <[email protected]> |
9831 | ||
9832 | * ui-file.c: Comment cleanup, mostly periods and spaces. | |
9833 | * ui-file.h: Ditto. | |
9834 | * ui-out.c: Ditto. | |
9835 | * ui-out.h: Ditto. | |
9836 | * utils.c: Ditto. | |
9837 | * v850-tdep.c: Ditto. | |
9838 | * valarith.c: Ditto. | |
9839 | * valops.c: Ditto. | |
9840 | * valprint.c: Ditto. | |
9841 | * valprint.h: Ditto. | |
9842 | * value.c: Ditto. | |
9843 | * value.h: Ditto. | |
9844 | * varobj.c: Ditto. | |
9845 | * varobj.h: Ditto. | |
9846 | * vax-tdep.c: Ditto. | |
9847 | * vec.c: Ditto. | |
9848 | * vec.h: Ditto. | |
9849 | * version.h: Ditto. | |
9850 | * windows-nat.c: Ditto. | |
9851 | * windows-tdep.c: Ditto. | |
9852 | * xcoffread.c: Ditto. | |
9853 | * xcoffsolib.c: Ditto. | |
9854 | * xml-support.c: Ditto. | |
9855 | * xstormy16-tdep.c: Ditto. | |
9856 | * xtensa-tdep.c: Ditto. | |
9857 | * xtensa-tdep.h: Ditto. | |
9858 | ||
90e4670f TJB |
9859 | 2011-01-11 Thiago Jung Bauermann <[email protected]> |
9860 | ||
9861 | * breakpoint.c (resources_needed_watchpoint): Fix indentation. | |
9862 | * gdbtypes.c (is_scalar_type_recursive): Fix formatting. | |
9863 | ||
e09342b5 TJB |
9864 | 2011-01-11 Sergio Durigan Junior <[email protected]> |
9865 | Thiago Jung Bauermann <[email protected]> | |
9866 | ||
9867 | Implement support for PowerPC BookE ranged watchpoints. | |
f2eb0bc8 | 9868 | * breakpoint.h |
e09342b5 TJB |
9869 | (struct breakpoint_ops) <resources_needed>: New method. |
9870 | Initialize to NULL in all existing breakpoint_ops instances. | |
9871 | (struct breakpoint) <exact>: New field. | |
9872 | (target_exact_watchpoints): Declare external global. | |
9873 | * breakpoint.c (target_exact_watchpoints): New global flag. | |
9874 | (update_watchpoint): Set b->type to bp_hardware_watchpoint and | |
9875 | b->enable_state to bp_enabled before calling | |
9876 | hw_watchpoint_used_count. | |
9877 | (hw_watchpoint_used_count): Iterate over all bp_locations in a | |
9878 | watchpoint. Call breakpoint's breakpoint_ops.resources_needed | |
9879 | if available. | |
9880 | (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte | |
9881 | if the watchpoint is exact. | |
9882 | (resources_needed_watchpoint): New function. | |
9883 | (watchpoint_breakpoint_ops): Add resources_needed_watchpoint. | |
9884 | (watch_command_1): Set b->exact if the user asked for an exact | |
9885 | watchpoint and one can be set. | |
9886 | (can_use_hardware_watchpoint): Add exact_watchpoints argument. | |
9887 | Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if | |
9888 | the user asks for an exact watchpoint and one can be set. Return | |
9889 | number of needed debug registers to watch the expression. | |
9890 | * gdbtypes.c (is_scalar_type): New function, based on | |
9891 | valprint.c:scalar_type_p. | |
9892 | (is_scalar_type_recursive): New function. | |
9893 | * gdbtypes.h (is_scalar_type_recursive): Declare. | |
9894 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always | |
9895 | handle regions when ranged watchpoints are available. | |
9896 | (create_watchpoint_request): New function. | |
9897 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
9898 | create_watchpoint_request. | |
9899 | * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function. | |
9900 | (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the | |
9901 | `set powerpc' and `show powerpc' commands. | |
9902 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
9903 | Mention documentation comment in the target macro. | |
9904 | (target_region_ok_for_hw_watchpoint): Document return value. | |
9905 | ||
9fa40276 TJB |
9906 | 2011-01-11 Thiago Jung Bauermann <[email protected]> |
9907 | ||
9908 | * breakpoint.c (update_watchpoint): Decide on using a software or | |
9909 | hardware watchpoint after the bp_locations are created. | |
9910 | ||
77b06cd7 TJB |
9911 | 2010-01-11 Thiago Jung Bauermann <[email protected]> |
9912 | ||
9913 | Convert hardware watchpoints to use breakpoint_ops. | |
9914 | * breakpoint.h (breakpoint_ops) <insert>: Rename to... | |
9915 | <insert_location>: ... this. Return int instead of void. | |
9916 | Accept pointer to struct bp_location instead of pointer to | |
9917 | struct breakpoint. Adapt all implementations. | |
f2eb0bc8 | 9918 | (breakpoint_ops) <remove>: Rename to... |
77b06cd7 TJB |
9919 | <remove_location>: ... this. Accept pointer to struct bp_location |
9920 | instead of pointer to struct breakpoint. Adapt all implementations. | |
9921 | * breakpoint.c (insert_catchpoint): Delete function. | |
9922 | (insert_bp_location): Call the watchpoint or catchpoint's | |
9923 | breakpoint_ops.insert method. | |
9924 | (remove_breakpoint_1): Call the watchpoint or catchpoint's | |
9925 | breakpoint_ops.remove method. | |
9926 | (insert_watchpoint, remove_watchpoint): New functions. | |
9927 | (watchpoint_breakpoint_ops): New structure. | |
9928 | (watch_command_1): Initialize the OPS field. | |
9929 | * inf-child.c (inf_child_insert_fork_catchpoint) | |
9930 | (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint) | |
9931 | (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint) | |
9932 | (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint): | |
9933 | Delete functions. | |
9934 | (inf_child_target): Remove initialization of to_insert_fork_catchpoint, | |
9935 | to_remove_fork_catchpoint, to_insert_vfork_catchpoint, | |
9936 | to_remove_vfork_catchpoint, to_insert_exec_catchpoint, | |
9937 | to_remove_exec_catchpoint and to_set_syscall_catchpoint. | |
9938 | * target.c (update_current_target): Change default implementation of | |
9939 | to_insert_fork_catchpoint, to_remove_fork_catchpoint, | |
9940 | to_insert_vfork_catchpoint, to_remove_vfork_catchpoint, | |
9941 | to_insert_exec_catchpoint, to_remove_exec_catchpoint and | |
9942 | to_set_syscall_catchpoint to return_one. | |
9943 | (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint) | |
9944 | (debug_to_insert_exec_catchpoint): Report return value. | |
9945 | * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint) | |
9946 | (to_insert_exec_catchpoint): Change declaration to return int instead | |
9947 | of void. | |
9948 | ||
9b20d036 MS |
9949 | 2011-01-11 Michael Snyder <[email protected]> |
9950 | ||
9951 | * arm-tdep.c: Internationalization. | |
9952 | * c-lang.c: Ditto. | |
9953 | * charset.c: Ditto. | |
9954 | * fork-child.c: Ditto. | |
9955 | * nto-procfs.c: Ditto. | |
9956 | * ppc-sysv-tdep.c: Ditto. | |
9957 | * procfs.c: Ditto. | |
9958 | * remote-mips.c: Ditto. | |
9959 | * remote.c: Ditto. | |
9960 | * rs6000-nat.c: Ditto. | |
9961 | * rs6000-tdep.c: Ditto. | |
9962 | * target.c: Ditto. | |
9963 | * valops.c: Ditto. | |
9964 | * value.c: Ditto. | |
9965 | * xml-support.c: Ditto. | |
9966 | * mi/mi-cmd-break.c: Ditto. | |
9967 | * mi/mi-cmd-var.c: Ditto. | |
9968 | * mi/mi-interp.c: Ditto. | |
9969 | * mi/mi-main.c: Ditto. | |
9970 | ||
dae477fe AB |
9971 | 2011-01-11 Andrew Burgess <[email protected]> |
9972 | ||
9973 | * remote-sim.c (gdbsim_store_register): Update API to | |
9974 | sim_store_register to check more error conditions. | |
9975 | ||
0df8b418 MS |
9976 | 2011-01-10 Michael Snyder <[email protected]> |
9977 | ||
9978 | * nto-procfs.c: Comment cleanup, mostly periods and spaces. | |
9979 | * nto-tdep.c: Ditto. | |
9980 | * nto-tdep.h: Ditto. | |
9981 | * objc-exp.y: Ditto. | |
9982 | * objc-lang.c: Ditto. | |
9983 | * objfiles.c: Ditto. | |
9984 | * objfiles.h: Ditto. | |
9985 | * observer.c: Ditto. | |
9986 | * opencl-lang.c: Ditto. | |
9987 | * osabi.c: Ditto. | |
9988 | * parse.c: Ditto. | |
9989 | * parser-defs.h: Ditto. | |
9990 | * p-exp.y: Ditto. | |
9991 | * p-lang.c: Ditto. | |
9992 | * posix-hdep.c: Ditto. | |
9993 | * ppcbug-rom.c: Ditto. | |
9994 | * ppc-linux-nat.c: Ditto. | |
9995 | * ppc-linux-tdep.c: Ditto. | |
9996 | * ppc-linux-tdep.h: Ditto. | |
9997 | * ppcnbsd-tdep.c: Ditto. | |
9998 | * ppcobsd-tdep.c: Ditto. | |
9999 | * ppcobsd-tdep.h: Ditto. | |
10000 | * ppc-sysv-tdep.c: Ditto. | |
10001 | * ppc-tdep.h: Ditto. | |
10002 | * printcmd.c: Ditto. | |
10003 | * proc-abi.c: Ditto. | |
10004 | * proc-flags.c: Ditto. | |
10005 | * procfs.c: Ditto. | |
10006 | * proc-utils.h: Ditto. | |
10007 | * progspace.h: Ditto. | |
10008 | * prologue-value.c: Ditto. | |
10009 | * prologue-value.h: Ditto. | |
10010 | * psympriv.h: Ditto. | |
10011 | * psymtab.c: Ditto. | |
10012 | * p-typeprint.c: Ditto. | |
10013 | * p-valprint.c: Ditto. | |
10014 | * ravenscar-sparc-thread.c: Ditto. | |
10015 | * ravenscar-thread.c: Ditto. | |
10016 | * ravenscar-thread.h: Ditto. | |
10017 | * record.c: Ditto. | |
10018 | * regcache.c: Ditto. | |
10019 | * regcache.h: Ditto. | |
10020 | * remote.c: Ditto. | |
10021 | * remote-fileio.c: Ditto. | |
10022 | * remote-fileio.h: Ditto. | |
10023 | * remote.h: Ditto. | |
10024 | * remote-m32r-sdi.c: Ditto. | |
10025 | * remote-mips.c: Ditto. | |
10026 | * remote-sim.c: Ditto. | |
10027 | * rs6000-aix-tdep.c: Ditto. | |
10028 | * rs6000-nat.c: Ditto. | |
10029 | * rs6000-tdep.c: Ditto. | |
10030 | ||
0d7a18f7 MS |
10031 | 2011-01-10 Michael Snyder <[email protected]> |
10032 | ||
10033 | * charset.c (validate): Internationalization. | |
10034 | * coffread.c (read_one_sym): Ditto. | |
10035 | * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto. | |
10036 | * h8300-tdep.c (H8300_extract_return_value): Ditto. | |
10037 | * inflow.c (new_tty): Ditto. | |
10038 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto. | |
10039 | * m32c-tdep.c (m32c_return_value): Ditto. | |
10040 | * mep-tdep.c (mep_store_return_value): Ditto. | |
10041 | * score-tdep.c (score7_fetch_insn): Ditto. | |
10042 | * ser-mingw.c (pipe_windows_open): Ditto. | |
10043 | * sh64-tdep.c (sh64_extract_return_value): Ditto. | |
10044 | * spu-tdep.c (spu_register_type): Ditto. | |
10045 | * tracepoint.c (trace_find_command): Ditto. | |
10046 | * valarith.c (value_pos): Ditto. | |
10047 | ||
9a153e0b JB |
10048 | 2011-01-10 Joel Brobecker <[email protected]> |
10049 | ||
10050 | * ada-valprint.c (printstr): Minor comment reformatting. | |
10051 | ||
35ecd2d6 MS |
10052 | 2011-01-08 Michael Snyder <[email protected]> |
10053 | ||
10054 | * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _ | |
10055 | markup. | |
10056 | ||
1777feb0 MS |
10057 | 2011-01-08 Michael Snyder <[email protected]> |
10058 | ||
10059 | * h8300-tdep.c: Comment cleanup, mostly periods and spaces. | |
10060 | * hppa-hpux-tdep.c: Ditto. | |
10061 | * hppa-linux-nat.c: Ditto. | |
10062 | * hppa-linux-tdep.c: Ditto. | |
10063 | * hppanbsd-tdep.c: Ditto. | |
10064 | * hppa-tdep.c: Ditto. | |
10065 | * hppa-tdep.h: Ditto. | |
10066 | * hpux-thread.c: Ditto. | |
10067 | * i386-cygwin-tdep.c: Ditto. | |
10068 | * i386-darwin-nat.c: Ditto. | |
10069 | * i386gnu-nat.c: Ditto. | |
10070 | * i386-linux-nat.c: Ditto. | |
10071 | * i386-linux-tdep.c: Ditto. | |
10072 | * i386-nat.c: Ditto. | |
10073 | * i386-nat.h: Ditto. | |
10074 | * i386nbsd-tdep.c: Ditto. | |
10075 | * i386-sol2-nat.c: Ditto. | |
10076 | * i386-stub.c: Ditto. | |
10077 | * i386-tdep.c: Ditto. | |
10078 | * i386-tdep.h: Ditto. | |
10079 | * i387-tdep.c: Ditto. | |
10080 | * ia64-linux-nat.c: Ditto. | |
10081 | * ia64-linux-tdep.c: Ditto. | |
10082 | * ia64-tdep.c: Ditto. | |
10083 | * infcall.c: Ditto. | |
10084 | * infcall.h: Ditto. | |
10085 | * infcmd.c: Ditto. | |
10086 | * inferior.c: Ditto. | |
10087 | * inferior.h: Ditto. | |
10088 | * infloop.c: Ditto. | |
10089 | * inflow.c: Ditto. | |
10090 | * infrun.c: Ditto. | |
10091 | * interps.c: Ditto. | |
10092 | * interps.h: Ditto. | |
10093 | * iq2000-tdep.c: Ditto. | |
10094 | * irix5-nat.c: Ditto. | |
10095 | * jit.c: Ditto. | |
10096 | * jit.h: Ditto. | |
10097 | * jv-exp.y: Ditto. | |
10098 | * jv-lang.c: Ditto. | |
10099 | * jv-lang.h: Ditto. | |
10100 | * jv-typeprint.c: Ditto. | |
10101 | * jv-valprint.c: Ditto. | |
10102 | * language.c: Ditto. | |
10103 | * language.h: Ditto. | |
10104 | * linespec.c: Ditto. | |
10105 | * linux-fork.c: Ditto. | |
10106 | * linux-nat.c: Ditto. | |
10107 | * linux-thread-db.c: Ditto. | |
10108 | * lm32-tdep.c: Ditto. | |
10109 | ||
025bb325 MS |
10110 | 2011-01-08 Michael Snyder <[email protected]> |
10111 | ||
10112 | * m2-exp.y: Comment cleanup, mostly periods and spaces. | |
10113 | * m2-lang.c: Ditto. | |
10114 | * m2-typeprint.c: Ditto. | |
10115 | * m2-valprint.c: Ditto. | |
10116 | * m32c-tdep.c: Ditto. | |
10117 | * m32r-linux-nat.c: Ditto. | |
10118 | * m32r-rom.c: Ditto. | |
10119 | * m32r-tdep.c: Ditto. | |
10120 | * m32r-tdep.h: Ditto. | |
10121 | * m68hc11-tdep.c: Ditto. | |
10122 | * m58klinux-nat.c: Ditto. | |
10123 | * m68k-tdep.c: Ditto. | |
10124 | * m88k-tdep.c: Ditto. | |
10125 | * m88k-tdep.h: Ditto. | |
10126 | * machoread.c: Ditto. | |
10127 | * macrocmd.c: Ditto. | |
10128 | * macroexp.c: Ditto. | |
10129 | * macrotab.c: Ditto. | |
10130 | * main.c: Ditto. | |
10131 | * maint.c: Ditto. | |
10132 | * mdebugread.c: Ditto. | |
10133 | * mdebugread.h: Ditto. | |
10134 | * memattr.c: Ditto. | |
10135 | * memattr.h: Ditto. | |
10136 | * memory-map.h: Ditto. | |
10137 | * mep-tdep.c: Ditto. | |
10138 | * microblaze-rom.c: Ditto. | |
10139 | * microblaze-tdep.c: Ditto. | |
10140 | * minsyms.c: Ditto. | |
10141 | * mips-irix-tdep.c: Ditto. | |
10142 | * mips-linux-nat.c: Ditto. | |
10143 | * mips-linux-tdep.c: Ditto. | |
10144 | * mips-linux-tdep.h: Ditto. | |
10145 | * mipsnbsd-nat.c: Ditto. | |
10146 | * mipsnbsd-tdep.c: Ditto. | |
10147 | * mipsread.c: Ditto. | |
10148 | * mips-tdep.c: Ditto. | |
10149 | * mips-tdep.h: Ditto. | |
10150 | * mn10300-linux-tdep.c: Ditto. | |
10151 | * mn10300-tdep.c: Ditto. | |
10152 | * mn10300-tdep.h: Ditto. | |
10153 | * monitor.c: Ditto. | |
10154 | * monitor.h: Ditto. | |
10155 | * moxie-tdep.c: Ditto. | |
10156 | * moxie-tdep.h: Ditto. | |
10157 | * mt-tdep.c: Ditto. | |
10158 | ||
1642781b MF |
10159 | 2011-01-08 Mike Frysinger <[email protected]> |
10160 | ||
10161 | * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name. | |
10162 | ||
394b0adb JB |
10163 | 2011-01-08 Robert Millan <[email protected]> |
10164 | ||
10165 | * fbsd-nat.c (fbsd_find_memory_regions): Fix typo. | |
10166 | ||
b670013c MS |
10167 | 2011-01-07 Michael Snyder <[email protected]> |
10168 | ||
10169 | * charset.c (_initialize_charset): Fix typo in string. | |
10170 | ||
a743e542 MS |
10171 | 2011-01-07 Michael Snyder <[email protected]> |
10172 | ||
10173 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message | |
10174 | for i18n. | |
f2eb0bc8 | 10175 | * tui/tui-layout.c (tui_set_layout_for_display_command): |
a743e542 MS |
10176 | Split line so that operator goes to beginning of line. |
10177 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Move | |
10178 | assignment out of if statement. | |
10179 | ||
0963b4bd MS |
10180 | 2011-01-07 Michael Snyder <[email protected]> |
10181 | ||
10182 | * ada-lang.c: Comment cleanup, mostly periods and spaces. | |
10183 | * ada-lang.h: Ditto. | |
10184 | * ada-tasks.c: Ditto. | |
10185 | * ada-valprint.c: Ditto. | |
10186 | * aix-threads.c: Ditto. | |
10187 | * alpha-linux-nat.c: Ditto. | |
10188 | * alpha-linux-tdep.c: Ditto. | |
10189 | * alpha-mdebug-tdep.c: Ditto. | |
10190 | * alpha-nat.c: Ditto. | |
10191 | * alpha-osf1-tdep.c: Ditto. | |
10192 | * alpha-tdep.c: Ditto. | |
10193 | * alphabsd-nat.c: Ditto. | |
10194 | * alphabsd-tdep.c: Ditto. | |
10195 | * amd64-darwin-tdep.c: Ditto. | |
10196 | * amd64-linux-nat.c: Ditto. | |
10197 | * amd64-linux-tdep.c: Ditto. | |
10198 | * amd64-sol2-tdep.c: Ditto. | |
10199 | * amd64-tdep.c: Ditto. | |
10200 | * amd64-fbsd-tdep.c: Ditto. | |
10201 | * amd64-nbsd-tdep.c: Ditto. | |
10202 | * amd64-obsd-tdep.c: Ditto. | |
10203 | * amd64-linux-nat.c: Ditto. | |
10204 | * amd64-linux-tdep.c: Ditto. | |
10205 | * arm-tdep.c: Ditto. | |
10206 | * arm-tdep.h: Ditto. | |
10207 | * armnbsd-nat.c: Ditto. | |
10208 | * avr-tdep.c: Ditto. | |
10209 | * bfin-tdep.c: Ditto. | |
10210 | * bsd-kvm.c: Ditto. | |
10211 | * c-typeprintc: Ditto. | |
10212 | * c-valprint.c: Ditto. | |
10213 | * coff-pe-read.h: Ditto. | |
10214 | * coffreead.c: Ditto. | |
10215 | * cris-tdep.c: Ditto. | |
10216 | * d-lang.c: Ditto. | |
10217 | * darwin-nat-info.c: Ditto. | |
10218 | * darwin-nat.c: Ditto. | |
10219 | * dbug-rom.c: Ditto. | |
10220 | * dbxread.c: Ditto. | |
10221 | * dcache.c: Ditto. | |
10222 | * dcache.h: Ditto. | |
10223 | * dec-thread.c: Ditto. | |
10224 | * defs.h: Ditto. | |
10225 | * demangle.c: Ditto. | |
10226 | * dicos-tdep.c: Ditto. | |
10227 | * dictionary.c: Ditto. | |
10228 | * dictionary.h: Ditto. | |
10229 | * dink32-rom.c: Ditto. | |
10230 | * disasm.c: Ditto. | |
10231 | * doublest.c: Ditto. | |
10232 | * dsrec.c: Ditto. | |
10233 | * dummy-frame.c: Ditto. | |
10234 | * dwarf2-frame.c: Ditto. | |
10235 | * dwarf2expr.c: Ditto. | |
10236 | * dwarf2loc.c: Ditto. | |
10237 | * dwarf2read.c: Ditto. | |
10238 | * elfread.c: Ditto. | |
10239 | * environ.c: Ditto. | |
10240 | * eval.c: Ditto. | |
10241 | * event-top.h: Ditto. | |
10242 | * exceptions.c: Ditto. | |
10243 | * exceptions.h: Ditto. | |
10244 | * exec.c: Ditto. | |
10245 | * expprint.c: Ditto. | |
10246 | * expression.h: Ditto. | |
10247 | * f-exp.y: Ditto. | |
10248 | * f-lang.c: Ditto. | |
10249 | * f-lang.h: Ditto. | |
10250 | * f-typeprint.c: Ditto. | |
10251 | * f-valprint.c: Ditto. | |
10252 | * fbsd-nat.c: Ditto. | |
10253 | * findvar.c: Ditto. | |
10254 | * fork-child.c: Ditto. | |
10255 | * frame.c: Ditto. | |
10256 | * frame.h: Ditto. | |
10257 | * frv-linux-tdep.c: Ditto. | |
10258 | * frv-tdep.c: Ditto. | |
10259 | * gcore.c: Ditto. | |
10260 | * gdb-stabs.h: Ditto. | |
10261 | * gdb_assert.h: Ditto. | |
10262 | * gdb_string.h: Ditto. | |
10263 | * gdb_thread_db.h: Ditto. | |
10264 | * gdb_wait.h: Ditto. | |
10265 | * gdbarch.sh: Ditto. | |
10266 | * gdbcore.h: Ditto. | |
10267 | * gdbthread.h: Ditto. | |
10268 | * gdbtypes.c: Ditto. | |
10269 | * gdbtypes.h: Ditto. | |
10270 | * gnu-nat.c: Ditto. | |
10271 | * gnu-nat.h: Ditto. | |
10272 | * gnu-v2-abi.c: Ditto. | |
10273 | * gnu-v3-abi.c: Ditto. | |
10274 | * go32-nat.c: Ditto. | |
10275 | * gdbarch.c: Regenerate. | |
10276 | * gdbarch.h: Regenerate. | |
10277 | ||
ac74f770 MS |
10278 | 2011-01-07 Michael Snyder <[email protected]> |
10279 | ||
10280 | * ax-gdb.c: Adjust some long output strings. | |
10281 | * breakpoint.c: Ditto. | |
10282 | * charset.c: Ditto. | |
10283 | * cp-abi.c: Ditto. | |
10284 | * infcall.c: Ditto. | |
10285 | * infrun.c: Ditto. | |
10286 | * linux-nat.c: Ditto. | |
10287 | * solib-pa64.c: Ditto. | |
10288 | * solib-som.c: Ditto. | |
10289 | ||
d8e22779 TT |
10290 | 2011-01-06 Tom Tromey <[email protected]> |
10291 | ||
10292 | PR python/12367: | |
10293 | * NEWS: Add item. | |
10294 | * python/python.c (GdbMethods): Add "newest_frame" method. | |
10295 | * python/python-internal.h (gdbpy_newest_frame): Declare. | |
10296 | * python/py-frame.c (gdbpy_newest_frame): New function. | |
10297 | ||
a255712f PP |
10298 | 2010-01-06 Paul Pluzhnikov <[email protected]> |
10299 | ||
10300 | * jit.h (struct jit_code_entry): use ULONGEST for symfile_size. | |
10301 | * jit.c (jit_debug): New variable. | |
10302 | (show_jit_debug): New function. | |
10303 | (struct target_buffer): Use ULONGEST. | |
10304 | (bfd_open_from_target_memory): Likewise. | |
10305 | (jit_register_code, jit_inferior_init): Add debug output. | |
10306 | (_initialize_jit): Register "debug jit" command. | |
10307 | ||
ccfc3d6e TT |
10308 | 2011-01-06 Tom Tromey <[email protected]> |
10309 | ||
10310 | * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment. | |
10311 | * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME | |
10312 | and ARCH_FRAME. | |
10313 | ||
57126e4a TT |
10314 | 2011-01-06 Tom Tromey <[email protected]> |
10315 | ||
10316 | * python/py-frame.c (frapy_block): Use get_frame_block. | |
10317 | ||
16dfc9ce JB |
10318 | 2011-01-06 Joel Brobecker <[email protected]> |
10319 | ||
10320 | Do not stop on SIGPRIO signals by default | |
10321 | * infrun.c (_initialize_infrun): Unset signal_stop and | |
10322 | signal_print for TARGET_SIGNAL_PRIO. | |
10323 | ||
b1ce2347 JB |
10324 | 2011-01-06 Joel Brobecker <[email protected]> |
10325 | ||
10326 | * ada-tasks.c: Fix style violation in comment. | |
10327 | ||
8f7e195f JB |
10328 | 2011-01-06 Joel Brobecker <[email protected]> |
10329 | ||
10330 | * linespec.c (decode_compound, find_method): Remove trailing \n | |
10331 | at end of error string. | |
10332 | * solib-irix.c (irix_current_sos): Likewise. | |
10333 | * varobj.c (uninstall_variable): Likewise. | |
10334 | ||
e9bdf92c JB |
10335 | 2011-01-06 Joel Brobecker <[email protected]> |
10336 | ||
10337 | * copyright.py: New script. | |
10338 | * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. | |
10339 | Launch emacs without exec'ing. Call copyright.py afterwards. | |
10340 | ||
3e43a32a MS |
10341 | 2011-01-05 Michael Snyder <[email protected]> |
10342 | ||
10343 | * addrmap.c: Shorten lines of >= 80 columns. | |
10344 | * arch-utils.c: Ditto. | |
10345 | * arch-utils.h: Ditto. | |
10346 | * ax-gdb.c: Ditto. | |
10347 | * ax-general.c: Ditto. | |
10348 | * bcache.c: Ditto. | |
10349 | * blockframe.c: Ditto. | |
10350 | * breakpoint.c: Ditto. | |
10351 | * buildsym.c: Ditto. | |
10352 | * c-lang.c: Ditto. | |
10353 | * c-typeprint.c: Ditto. | |
10354 | * charset.c: Ditto. | |
10355 | * coffread.c: Ditto. | |
10356 | * command.h: Ditto. | |
10357 | * corelow.c: Ditto. | |
10358 | * cp-abi.c: Ditto. | |
10359 | * cp-namespace.c: Ditto. | |
10360 | * cp-support.c: Ditto. | |
10361 | * dbug-rom.c: Ditto. | |
10362 | * dbxread.c: Ditto. | |
10363 | * defs.h: Ditto. | |
10364 | * dfp.c: Ditto. | |
10365 | * dfp.h: Ditto. | |
10366 | * dictionary.c: Ditto. | |
10367 | * disasm.c: Ditto. | |
10368 | * doublest.c: Ditto. | |
10369 | * dwarf2-frame.c: Ditto. | |
10370 | * dwarf2expr.c: Ditto. | |
10371 | * dwarf2loc.c: Ditto. | |
10372 | * dwarf2read.c: Ditto. | |
10373 | * elfread.c: Ditto. | |
10374 | * eval.c: Ditto. | |
10375 | * event-loop.c: Ditto. | |
10376 | * event-loop.h: Ditto. | |
10377 | * exceptions.h: Ditto. | |
10378 | * exec.c: Ditto. | |
10379 | * expprint.c: Ditto. | |
10380 | * expression.h: Ditto. | |
10381 | * f-lang.c: Ditto. | |
10382 | * f-valprint.c: Ditto. | |
10383 | * findcmd.c: Ditto. | |
10384 | * frame-base.c: Ditto. | |
10385 | * frame-unwind.c: Ditto. | |
10386 | * frame-unwind.h: Ditto. | |
10387 | * frame.c: Ditto. | |
10388 | * frame.h: Ditto. | |
10389 | * gcore.c: Ditto. | |
10390 | * gdb-stabs.h: Ditto. | |
10391 | * gdb_assert.h: Ditto. | |
10392 | * gdb_dirent.h: Ditto. | |
10393 | * gdb_obstack.h: Ditto. | |
10394 | * gdbcore.h: Ditto. | |
10395 | * gdbtypes.c: Ditto. | |
10396 | * gdbtypes.h: Ditto. | |
10397 | * inf-ttrace.c: Ditto. | |
10398 | * infcall.c: Ditto. | |
10399 | * infcmd.c: Ditto. | |
10400 | * inflow.c: Ditto. | |
10401 | * infrun.c: Ditto. | |
10402 | * inline-frame.h: Ditto. | |
10403 | * language.c: Ditto. | |
10404 | * language.h: Ditto. | |
10405 | * libunwind-frame.c: Ditto. | |
10406 | * libunwind-frame.h: Ditto. | |
10407 | * linespec.c: Ditto. | |
10408 | * linux-nat.c: Ditto. | |
10409 | * linux-nat.h: Ditto. | |
10410 | * linux-thread-db.c: Ditto. | |
10411 | * machoread.c: Ditto. | |
10412 | * macroexp.c: Ditto. | |
10413 | * macrotab.c: Ditto. | |
10414 | * main.c: Ditto. | |
10415 | * maint.c: Ditto. | |
10416 | * mdebugread.c: Ditto. | |
10417 | * memattr.c: Ditto. | |
10418 | * minsyms.c: Ditto. | |
10419 | * monitor.c: Ditto. | |
10420 | * monitor.h: Ditto. | |
10421 | * objfiles.c: Ditto. | |
10422 | * objfiles.h: Ditto. | |
10423 | * osabi.c: Ditto. | |
10424 | * p-typeprint.c: Ditto. | |
10425 | * p-valprint.c: Ditto. | |
10426 | * parse.c: Ditto. | |
10427 | * printcmd.c: Ditto. | |
10428 | * proc-events.c: Ditto. | |
10429 | * procfs.c: Ditto. | |
10430 | * progspace.c: Ditto. | |
10431 | * progspace.h: Ditto. | |
10432 | * psympriv.h: Ditto. | |
10433 | * psymtab.c: Ditto. | |
10434 | * record.c: Ditto. | |
10435 | * regcache.c: Ditto. | |
10436 | * regcache.h: Ditto. | |
10437 | * remote-fileio.c: Ditto. | |
10438 | * remote.c: Ditto. | |
10439 | * ser-mingw.c: Ditto. | |
10440 | * ser-tcp.c: Ditto. | |
10441 | * ser-unix.c: Ditto. | |
10442 | * serial.c: Ditto. | |
10443 | * serial.h: Ditto. | |
10444 | * solib-frv.c: Ditto. | |
10445 | * solib-irix.c: Ditto. | |
10446 | * solib-osf.c: Ditto. | |
10447 | * solib-pa64.c: Ditto. | |
10448 | * solib-som.c: Ditto. | |
10449 | * solib-sunos.c: Ditto. | |
10450 | * solib-svr4.c: Ditto. | |
10451 | * solib-target.c: Ditto. | |
10452 | * solib.c: Ditto. | |
10453 | * somread.c: Ditto. | |
10454 | * source.c: Ditto. | |
10455 | * stabsread.c: Ditto. | |
10456 | * stabsread.c: Ditto. | |
10457 | * stack.c: Ditto. | |
10458 | * stack.h: Ditto. | |
10459 | * symfile-mem.c: Ditto. | |
10460 | * symfile.c: Ditto. | |
10461 | * symfile.h: Ditto. | |
10462 | * symmisc.c: Ditto. | |
10463 | * symtab.c: Ditto. | |
10464 | * symtab.h: Ditto. | |
10465 | * target-descriptions.c: Ditto. | |
10466 | * target-memory.c: Ditto. | |
10467 | * target.c: Ditto. | |
10468 | * target.h: Ditto. | |
10469 | * terminal.h: Ditto. | |
10470 | * thread.c: Ditto. | |
10471 | * top.c: Ditto. | |
10472 | * tracepoint.c: Ditto. | |
10473 | * tracepoint.h: Ditto. | |
10474 | * ui-file.c: Ditto. | |
10475 | * ui-file.h: Ditto. | |
10476 | * ui-out.h: Ditto. | |
10477 | * user-regs.c: Ditto. | |
10478 | * user-regs.h: Ditto. | |
10479 | * utils.c: Ditto. | |
10480 | * valarith.c: Ditto. | |
10481 | * valops.c: Ditto. | |
10482 | * valprint.c: Ditto. | |
10483 | * valprint.h: Ditto. | |
10484 | * value.c: Ditto. | |
10485 | * varobj.c: Ditto. | |
10486 | * varobj.h: Ditto. | |
10487 | * vec.h: Ditto. | |
10488 | * xcoffread.c: Ditto. | |
10489 | * xcoffsolib.c: Ditto. | |
10490 | * xcoffsolib.h: Ditto. | |
10491 | * xml-syscall.c: Ditto. | |
10492 | * xml-tdesc.c: Ditto. | |
10493 | ||
9a2b4c1b MS |
10494 | 2011-01-05 Michael Snyder <[email protected]> |
10495 | ||
10496 | * cli/cli-cmds.c: Shorten lines of >= 80 columns. | |
10497 | * cli/cli-decode.c: Ditto. | |
10498 | * cli/cli-dump.c: Ditto. | |
10499 | * cli/cli-logging.c: Ditto. | |
10500 | * cli/cli-script.c: Ditto. | |
10501 | * cli/cli-setshow.c: Ditto. | |
10502 | * common/signals.c: Ditto. | |
10503 | * mi/mi-cmd-break.c: Ditto. | |
10504 | * mi/mi-cmd-disas.c: Ditto. | |
10505 | * mi/mi-cmd-stack.c: Ditto. | |
10506 | * mi/mi-cmd-var.c: Ditto. | |
10507 | * mi/mi-cmds.c: Ditto. | |
10508 | * mi/mi-common.h: Ditto. | |
10509 | * mi/mi-console.c: Ditto. | |
10510 | * mi/mi-interp.c: Ditto. | |
10511 | * mi/mi-main.c: Ditto. | |
10512 | * osf-share/cma_attr.c: Ditto. | |
10513 | * osf-share/cma_deb_core.h: Ditto. | |
10514 | * osf-share/cma_debug_client.h: Ditto. | |
10515 | * osf-share/cma_handle.h: Ditto. | |
10516 | * osf-share/cma_mutex.h: Ditto. | |
10517 | * osf-share/cma_stack_int.h: Ditto. | |
10518 | * osf-share/cma_tcb_defs.h: Ditto. | |
10519 | * python/py-auto-load.c: Ditto. | |
10520 | * python/py-breakpoint.c: Ditto. | |
10521 | * python/py-cmd.c: Ditto. | |
10522 | * python/py-frame.c: Ditto. | |
10523 | * python/py-objfile.c: Ditto. | |
10524 | * python/py-param.c: Ditto. | |
10525 | * python/py-progspace.c: Ditto. | |
10526 | * python/py-symbol.c: Ditto. | |
10527 | * python/py-value.c: Ditto. | |
10528 | * python/python-internal.h: Ditto. | |
10529 | * python/python.c: Ditto. | |
10530 | * tui/tui-data.c: Ditto. | |
10531 | * tui/tui-disasm.c: Ditto. | |
10532 | * tui/tui-hooks.c: Ditto. | |
10533 | * tui/tui-io.c: Ditto. | |
10534 | * tui/tui-layout.c: Ditto. | |
10535 | * tui/tui-regs.c: Ditto. | |
10536 | * tui/tui-source.c: Ditto. | |
10537 | * tui/tui-stack.c: Ditto. | |
10538 | * tui/tui-win.c: Ditto. | |
10539 | * tui/tui-windata.c: Ditto. | |
10540 | * tui/tui-winsource.c: Ditto. | |
10541 | ||
44944448 JB |
10542 | 2011-01-05 Joel Brobecker <[email protected]> |
10543 | ||
10544 | * configure.ac, gdb.1: Copyright year update. | |
10545 | ||
ebedcab5 JK |
10546 | 2011-01-03 Jan Kratochvil <[email protected]> |
10547 | ||
10548 | * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables | |
10549 | this_pc_in_block, morestack_msym and morestack_name. Check for | |
10550 | "__morestack" minimal symbol there. | |
10551 | ||
e5cc9f32 JB |
10552 | 2011-01-03 Joel Brobecker <[email protected]> |
10553 | ||
10554 | * symfile.c (find_sym_fns): Add call to dont_repeat. | |
10555 | ||
7b6bb8da JB |
10556 | 2011-01-01 Joel Brobecker <[email protected]> |
10557 | ||
10558 | Copyright year update in most files (performed by copyright.sh). | |
10559 | ||
71ce852c JB |
10560 | 2011-01-01 Joel Brobecker <[email protected]> |
10561 | ||
10562 | * top.c (print_gdb_version): Update copyright year in version output. | |
0e2de366 | 10563 | |
c3c1ebe8 | 10564 | For older changes see ChangeLog-2010. |
c906108c SS |
10565 | \f |
10566 | Local Variables: | |
10567 | mode: change-log | |
10568 | left-margin: 8 | |
10569 | fill-column: 74 | |
10570 | version-control: never | |
57da7796 | 10571 | coding: utf-8 |
c906108c | 10572 | End: |