]>
Commit | Line | Data |
---|---|---|
0bc3a05c DE |
1 | 2012-06-27 Doug Evans <[email protected]> |
2 | ||
3 | * dwarf2read.c (per_cu_header_read_in): Simplify, and handle | |
4 | type units. | |
5 | ||
4bdcc0c1 DE |
6 | 2012-06-26 Doug Evans <[email protected]> |
7 | ||
8 | * dwarf2read.c (read_and_check_comp_unit_head): Delete unnecessary | |
9 | prototype. | |
10 | (error_check_comp_unit_head): New arg abbrev_section. All callers | |
11 | updated. | |
12 | (read_and_check_comp_unit_head): Ditto. | |
13 | (read_and_check_type_unit_head): Ditto. | |
14 | ||
ee0bf529 SCR |
15 | 2012-06-26 Siva Chandra Reddy <[email protected]> |
16 | ||
17 | New attribute 'last' for gdb.Symtab_and_line. | |
18 | * NEWS (Python Scripting): Add entry about the new attribute. | |
19 | * python/py-symtab.c (salpy_get_last): New function which | |
20 | implements the get method for the 'last' attribute of | |
21 | gdb.Symtab_and_line. | |
22 | (sal_object_getset): Add entry for the 'last' attribute. | |
23 | ||
1c658ad5 DE |
24 | 2012-06-26 Doug Evans <[email protected]> |
25 | ||
09262596 DE |
26 | * dwarf2read.c (dwo_section_names): Add macinfo_dwo, macro_dwo. |
27 | (dwo_sections): Add macinfo, macro. | |
28 | (dwarf2_locate_dwo_sections): Watch for macro sections. | |
29 | (dwarf_decode_macros): Remove args lh, abfd, section, section_name. | |
30 | All callers updated. Handle DWO files. | |
31 | ||
45cfd468 DE |
32 | * NEWS: Mention new options "set debug dwarf2-read" and |
33 | "set debug symtab-create". | |
34 | * dwarf2read.c (dwarf2_read_debug): New static global. | |
35 | (dwarf2_build_psymtabs_hard): Add debugging printfs. | |
36 | (process_queue): Ditto. | |
37 | (process_full_comp_unit): Ditto. | |
38 | (_initialize_dwarf2_read): Add new option "set debug dwarf2-read". | |
39 | * elfread.c (elf_symfile_read): Add debugging printf. | |
40 | * minsyms.c (install_minimal_symbols): Ditto. | |
41 | * psymtab.c (allocate_psymtab): Ditto. | |
42 | * symfile.c (allocate_symtab): Ditto. | |
43 | * symtab.c (symtab_create_debug): New global. | |
44 | (_initialize_symtab): Add new option "set debug symtab-create". | |
45 | * symtab.h (symtab_create_debug): Declare. | |
46 | ||
1c658ad5 DE |
47 | * dwarf2read.c (lookup_dwo_comp_unit): Enhance comment. |
48 | (lookup_dwo_type_unit): Ditto. | |
49 | ||
6fea9e18 L |
50 | 2012-06-26 Roland McGrath <[email protected]> |
51 | H.J. Lu <[email protected]> | |
52 | ||
53 | * amd64-linux-nat.c: Include <sys/user.h>. | |
54 | (ps_get_thread_area): Use PTRACE_PEEKUSER to get fs_base/gs_base | |
55 | if HAVE_STRUCT_USER_REGS_STRUCT_FS_BASE or | |
56 | HAVE_STRUCT_USER_REGS_STRUCT_GS_BASE is defined. | |
57 | ||
58 | * configure.ac: Check if the fs_base and gs_base members of | |
59 | `struct user_regs_struct' exist. | |
60 | * config.in: Regenerated. | |
61 | * configure: Likewise. | |
62 | ||
adb4fe3b ME |
63 | 2012-06-25 Michael Eager <[email protected]> |
64 | ||
65 | PR python/14291 | |
66 | * python/python.c (gdbpy_write): Check for interrupted output. | |
67 | ||
fc51cce1 MGD |
68 | 2012-06-25 Greta Yorsh <[email protected]> |
69 | ||
70 | * arm-tdep.c (arm_in_function_epilogue_p): Recognize POP with a single | |
71 | register as a stack alignment in ARM mode. | |
72 | ||
40a73391 JK |
73 | 2012-06-24 Jan Kratochvil <[email protected]> |
74 | ||
75 | Update gnulib to GIT commit a39f53ccb70a613e647e1019fb4c63645220267e. | |
76 | * gnulib/config.in: Regenerate. | |
77 | * gnulib/configure: Likewise. | |
78 | * gnulib/import/m4/extensions.m4: Update it. | |
79 | * gnulib/import/m4/gnulib-common.m4: Likewise. | |
80 | * gnulib/import/m4/memmem.m4: Likewise. | |
81 | * gnulib/import/m4/mmap-anon.m4: Likewise. | |
82 | * gnulib/import/m4/multiarch.m4: Likewise. | |
83 | * gnulib/import/stdint.in.h: Likewise. | |
84 | ||
972daa01 YQ |
85 | 2012-06-24 Yao Qi <[email protected]> |
86 | ||
87 | * corefile.c (write_memory_with_notification): New. | |
88 | * gdbcore.h: Declare write_memory_with_notification. | |
89 | * ada-lang.c (ada_value_assign): Replace 'write_memory' and | |
90 | 'observer_notify_memory_changed' with 'write_memory_with_notification'. | |
91 | * valops.c (value_assign): Likewise. | |
92 | * python/py-inferior.c (infpy_write_memory): Call | |
93 | 'write_memory_with_notification'. | |
94 | ||
8d6e0714 JK |
95 | 2012-06-24 Jan Kratochvil <[email protected]> |
96 | ||
97 | * cc-with-index.sh: Use also -ex "set auto-load no". | |
98 | ||
156942c7 DE |
99 | 2012-06-23 Doug Evans <[email protected]> |
100 | ||
101 | PR 14125 | |
102 | * NEWS: Document additions to .gdb_index. | |
103 | * dwarf2read.c: #include "gdb/gdb-index.h". | |
104 | (DW2_GDB_INDEX_SYMBOL_STATIC_SET_VALUE): New macro. | |
105 | (DW2_GDB_INDEX_SYMBOL_KIND_SET_VALUE): New macro. | |
106 | (DW2_GDB_INDEX_CU_SET_VALUE): New macro. | |
107 | (dwarf2_read_index): Recognize version 7. | |
108 | (dw2_do_expand_symtabs_matching): New args want_specific_block, | |
109 | block_kind, domain): All callers updated. | |
110 | (dw2_find_symbol_file): Handle new index CU values. | |
111 | (dw2_expand_symtabs_matching): Match symbol kind if requested. | |
112 | (add_index_entry): New args is_static, kind. All callers updated. | |
113 | (offset_type_compare, uniquify_cu_indices): New functions | |
114 | (symbol_kind): New function. | |
115 | (write_psymtabs_to_index): Remove duplicate CU values. | |
116 | (write_psymtabs_to_index): Write .gdb_index version 7. | |
117 | ||
352b3eda JB |
118 | 2012-06-22 Joel Brobecker <[email protected]> |
119 | ||
120 | * configure.ac (build_warnings): Add -Wdeclaration-after-statement. | |
121 | * configure: Regenerate. | |
122 | ||
2678e2af YQ |
123 | 2012-06-20 Yao Qi <[email protected]> |
124 | ||
125 | * python/py-inferior.c: Update comments of infpy_read_memory | |
126 | and infpy_write_memory. | |
127 | ||
95c391b6 TT |
128 | 2012-06-19 Tom Tromey <[email protected]> |
129 | ||
130 | PR exp/9514: | |
131 | * parser-defs.h (insert_type, insert_type_address_space): Declare. | |
132 | (push_type_address_space): Remove. | |
133 | * parse.c (insert_into_type_stack): New function. | |
134 | (insert_type): Likewise. | |
135 | (insert_type_address_space): Rename from push_type_address_space. | |
136 | Insert tp_space_identifier. | |
137 | * c-exp.y (ptr_operator): New production. | |
138 | (abs_decl): Use ptr_operator. | |
139 | (space_identifier): Call insert_type_address_space. | |
140 | (ptype): Don't use const_or_volatile_or_space_identifier. | |
141 | (const_or_volatile_noopt): Call insert_type. | |
142 | (conversion_type_id, conversion_declarator): New productions. | |
143 | (operator): Use conversion_type_id. | |
144 | ||
6ac9ef80 DE |
145 | 2012-06-18 Doug Evans <[email protected]> |
146 | ||
422d65e7 DE |
147 | * symtab.h (minimal_symbol): New member created_by_gdb. |
148 | * elfread.c (elf_symtab_read): Set created_by_gdb for @plt minsym | |
149 | created by gdb. | |
150 | * symtab.c (lookup_symbol_in_objfile_from_linkage_name): New function. | |
151 | (search_symbols): Call it instead of lookup_symbol. | |
152 | Skip symbols created by gdb. Only scan minsyms if nfiles == 0. | |
153 | ||
49f6c839 DE |
154 | * dwarf2expr.c (execute_stack_op): Handle DW_OP_GNU_const_index. |
155 | Adjust address for DW_OP_GNU_addr_index. | |
156 | * dwarf2expr.h (dwarf_expr_context): Update comment. | |
157 | * dwarf2loc.c (locexpr_describe_location_piece): New arg per_cu, | |
158 | all callers updated. Handle TLS vars described with | |
159 | DW_OP_GNU_const_index. | |
160 | (disassemble_dwarf_expression): Handle DW_OP_GNU_addr_index | |
161 | and DW_OP_GNU_const_index. | |
162 | * dwarf2read.c (decode_locdesc): Handle DW_OP_GNU_addr_index. | |
163 | ||
6ac9ef80 DE |
164 | * block.c (find_block_in_blockvector): Make explicit the fact that we |
165 | ignore GLOBAL_BLOCK. | |
166 | ||
4cd18215 TT |
167 | 2012-06-18 Tom Tromey <[email protected]> |
168 | ||
169 | * c-exp.y (operator): Remove trailing space after "delete" and | |
170 | "delete[]". | |
171 | ||
a9b8d892 JK |
172 | 2012-06-18 Mark Kettenis <[email protected]> |
173 | Jan Kratochvil <[email protected]> | |
174 | ||
175 | Switch i386 and derived targets to ON_STACK. | |
176 | * amd64-dicos-tdep.c (amd64_dicos_push_dummy_code): Remove. | |
177 | (amd64_dicos_init_abi): Remove its installment. | |
178 | * dicos-tdep.c (dicos_init_abi): Remove the | |
179 | set_gdbarch_call_dummy_location call. Update the comment here. | |
180 | * i386-dicos-tdep.c (i386_dicos_push_dummy_code): Remove. | |
181 | (i386_dicos_init_abi): Remove its installment. | |
182 | * i386-tdep.c (i386_push_dummy_code): New function. | |
183 | (i386_gdbarch_init): Call set_gdbarch_call_dummy_location, install | |
184 | i386_push_dummy_code. | |
185 | ||
e2e4d78b JK |
186 | 2012-06-18 Jan Kratochvil <[email protected]> |
187 | ||
188 | Remove stale dummy frames. | |
189 | * breakpoint.c: Include dummy-frame.h. | |
190 | (longjmp_breakpoint_ops): New variable. | |
191 | (update_breakpoints_after_exec, breakpoint_init_inferior): Delete also | |
192 | bp_longjmp_call_dummy. | |
193 | (bpstat_what, bptype_string, print_one_breakpoint_location) | |
194 | (init_bp_location): Support bp_longjmp_call_dummy. | |
195 | (set_longjmp_breakpoint): Use longjmp_breakpoint_ops. Comment why. | |
196 | (set_longjmp_breakpoint_for_call_dummy) | |
197 | (check_longjmp_breakpoint_for_call_dummy, longjmp_bkpt_dtor): New | |
198 | functions. | |
199 | (initialize_breakpoint_ops): Initialize longjmp_breakpoint_ops. | |
200 | * breakpoint.h (enum bptype): New item bp_longjmp_call_dummy. Delete | |
201 | FIXME comment and extend the other comment for bp_call_dummy. | |
202 | (set_longjmp_breakpoint_for_call_dummy) | |
203 | (check_longjmp_breakpoint_for_call_dummy): New declarations. | |
204 | * dummy-frame.c: Include gdbthread.h. | |
205 | (pop_dummy_frame_bpt): New function. | |
206 | (pop_dummy_frame): Call pop_dummy_frame_bpt. | |
207 | (dummy_frame_discard): New function. | |
208 | (cleanup_dummy_frames): Update the comment about longjmps. | |
209 | * dummy-frame.h (dummy_frame_discard): New declaration. | |
210 | * gdbthread.h (struct thread_info): Extend initiating_frame comment. | |
211 | * infcall.c (call_function_by_hand): New variable longjmp_b. Call | |
212 | set_longjmp_breakpoint_for_call_dummy. Chain its breakpoints with BPT. | |
213 | * infrun.c (handle_inferior_event) <BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>: | |
214 | Add case 4 comment. Call check_longjmp_breakpoint_for_call_dummy and | |
215 | keep_going if IS_LONGJMP and there is no other reason to stop. | |
216 | ||
09d5912c TT |
217 | 2012-06-18 Greta Yorsh <[email protected]> |
218 | ||
219 | * remote-sim.c (sim_command_completer): Initialize | |
220 | variable 'result'. | |
221 | ||
1788b2d3 JK |
222 | 2012-06-17 Jan Kratochvil <[email protected]> |
223 | ||
224 | * dwarf2expr.c (execute_stack_op): Support DW_OP_GNU_parameter_ref. | |
225 | * dwarf2loc.c (call_site_parameter_matches): Support | |
226 | CALL_SITE_PARAMETER_PARAM_OFFSET. | |
227 | (needs_dwarf_reg_entry_value): Push stub value. | |
228 | * dwarf2read.c (read_call_site_scope): New variable origin. Support | |
229 | CALL_SITE_PARAMETER_PARAM_OFFSET and its DW_AT_abstract_origin. | |
230 | * gdbtypes.h (enum call_site_parameter_kind): New item | |
231 | CALL_SITE_PARAMETER_PARAM_OFFSET. | |
232 | (struct call_site.parameter.u): New field param_offset. | |
233 | ||
24c5c679 JK |
234 | 2012-06-17 Jan Kratochvil <[email protected]> |
235 | ||
236 | Code cleanup: Generalize call_site.parameter key. | |
237 | * dwarf2expr.c (execute_stack_op) <DW_OP_GNU_entry_value>: Remove | |
238 | variable dwarf_reg. New variable kind_u. Update parameters to | |
239 | push_dwarf_reg_entry_value. | |
240 | (ctx_no_push_dwarf_reg_entry_value): Update parameters. | |
241 | * dwarf2expr.h (enum call_site_parameter_kind) | |
242 | (union call_site_parameter_u): Forward declarations. | |
243 | (struct dwarf_expr_context_funcs): Update parameters and their | |
244 | description for push_dwarf_reg_entry_value. | |
245 | (ctx_no_push_dwarf_reg_entry_value): Update parameters. | |
246 | * dwarf2loc.c (call_site_parameter_matches): New function. | |
247 | (dwarf_expr_reg_to_entry_parameter): Update parameters and their | |
248 | description. Use call_site_parameter_matches. | |
249 | (dwarf_expr_push_dwarf_reg_entry_value, value_of_dwarf_reg_entry): | |
250 | Update parameters and their description. | |
251 | (value_of_dwarf_block_entry): Remove variables dwarf_reg and fb_offset. | |
252 | New variable kind_u. Adjust the caller for updated parameters. | |
253 | (needs_dwarf_reg_entry_value): Update parameters. | |
254 | * dwarf2read.c (read_call_site_scope): New variable loc. Use it | |
255 | instead of attr. Update for the changed fields of struct | |
256 | call_site_parameter. | |
257 | * gdbtypes.h: Include dwarf2expr.h. | |
258 | (enum call_site_parameter_kind): New. | |
259 | (struct call_site.parameter): New field kind. Wrap dwarf_reg and | |
260 | fb_offset into new union u. | |
261 | ||
ac142d96 L |
262 | 2012-06-16 H.J. Lu <[email protected]> |
263 | ||
264 | * amd64-tdep.c (amd64_x32_analyze_stack_align): New function. | |
265 | (amd64_analyze_prologue): Call amd64_x32_analyze_stack_align | |
266 | for x32. | |
267 | ||
ba224c70 L |
268 | 2012-06-16 H.J. Lu <[email protected]> |
269 | ||
270 | * amd64-linux-nat.c (compat_x32_clock_t): New. | |
271 | (compat_x32_siginfo_t): Likewise. | |
272 | (compat_x32_siginfo_from_siginfo): Likewise. | |
273 | (siginfo_from_compat_x32_siginfo): Likewise. | |
274 | (amd64_linux_siginfo_fixup): Call compat_x32_siginfo_from_siginfo | |
275 | and siginfo_from_compat_x32_siginfo for x32. | |
276 | ||
7ecbc825 HZ |
277 | 2012-06-15 Hui Zhu <[email protected]> |
278 | ||
279 | * tracepoint.c (tfile_xfer_partial): Add a lseek. | |
280 | ||
233dfcf0 L |
281 | 2012-06-15 H.J. Lu <[email protected]> |
282 | ||
283 | * amd64-linux-nat.c (ps_get_thread_area): Check bits_per_word | |
284 | instead of gdbarch_ptr_bit. | |
285 | * amd64-nat.c (amd64_native_gregset_reg_offset): Likewise. | |
286 | (amd64_supply_native_gregset): Likewise. | |
287 | (amd64_collect_native_gregset): Likewise. | |
288 | * amd64-tdep.c (amd64_supply_fxsave): Likewise. | |
289 | (amd64_supply_xsave): Likewise. | |
290 | (amd64_collect_fxsave): Likewise. | |
291 | (amd64_collect_xsave): Likewise. | |
292 | ||
6da38f42 L |
293 | 2012-06-15 H.J. Lu <[email protected]> |
294 | ||
295 | * amd64-linux-nat.c (AMD64_LINUX_X32_DS): New. | |
296 | (amd64_linux_read_description): Check DS segment register for | |
297 | x32 process. | |
298 | ||
663b969e TT |
299 | 2012-06-15 Tom Tromey <[email protected]> |
300 | ||
301 | * dwarf2read.c (dw2_find_symbol_file): Unconditionally use | |
302 | init_cutu_and_read_dies. | |
303 | ||
d6f05027 IS |
304 | 2012-06-15 Iain Sandoe <[email protected]> |
305 | ||
306 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
307 | ||
6598ed07 TT |
308 | 2012-06-15 Tom Tromey <[email protected]> |
309 | ||
310 | * valops.c (value_find_oload_method_list): Now static. | |
311 | * value.h (value_find_oload_method_list): Don't declare. | |
312 | ||
2b214ea6 TT |
313 | 2012-06-15 Tom Tromey <[email protected]> |
314 | ||
315 | * valops.c (find_overload_match): Use value_ind. | |
316 | ||
a210c238 MR |
317 | 2012-06-15 Maciej W. Rozycki <[email protected]> |
318 | ||
319 | * infrun.c (handle_inferior_event): Correct indentation. | |
320 | ||
3771a44c DE |
321 | 2012-06-14 Doug Evans <[email protected]> |
322 | ||
323 | * dwarf2loc.c (debug_loc_kind): Add DEBUG_LOC_START_LENGTH. | |
324 | (DEBUG_LOC_START_END): Renamed from DEBUG_LOC_NORMAL. | |
325 | All uses updated. | |
326 | (decode_debug_loc_dwo_addresses): New arg "byte_order". All callers | |
327 | updated. Handle DEBUG_LOC_START_LENGTH. | |
328 | (dwarf2_find_location_expression): Handle DEBUG_LOC_START_LENGTH. | |
329 | (loclist_describe_location): Ditto. | |
330 | ||
1c5a993e MR |
331 | 2012-06-14 Maciej W. Rozycki <[email protected]> |
332 | ||
333 | PR backtrace/13866 | |
334 | * infrun.c (handle_inferior_event): Re-fetch frame and gdbarch | |
335 | after hiding inline functions. | |
336 | ||
0b155465 JB |
337 | 2012-06-13 Joel Brobecker <[email protected]> |
338 | ||
339 | * inf-ttrace.c (_initialize_hppa_hpux_nat): Rename into | |
340 | _initialize_inf_ttrace. | |
341 | ||
45717bac JB |
342 | 2012-06-13 Joel Brobecker <[email protected]> |
343 | ||
344 | * ia64-hpux-nat.c (_initialize_ia64_hpux_nat): Renames | |
345 | _initialize_hppa_hpux_nat. | |
346 | ||
34370865 JB |
347 | 2012-06-13 Joel Brobecker <[email protected]> |
348 | ||
349 | * remote-sim.c (sim_command_completer): Change type of return | |
350 | value to "VEC (char_ptr) *". Adjust implementation accordingly. | |
351 | ||
284c5a60 MK |
352 | 2012-06-13 Mark Kettenis <[email protected]> |
353 | Jan Kratochvil <[email protected]> | |
354 | ||
355 | PR tdep/14222 | |
356 | * i386-tdep.c (i386_push_dummy_call): Unconditionally align the | |
357 | stack on a 16-byte boundary. | |
358 | ||
2535757a TT |
359 | 2012-06-13 Kaushik Srenevasan <[email protected]> |
360 | ||
361 | * jit.c (finalize_symtab): Set function's return type to 'void' by | |
362 | default. | |
363 | ||
fff4548b MK |
364 | 2012-06-13 Mark Kettenis <[email protected]> |
365 | H.J. Lu <[email protected]> | |
366 | ||
5a83521a MK |
367 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): New function. |
368 | Move bits common to both the classic LP64 and the new x32 ILP32 | |
369 | ABI here. | |
370 | (amd64_linux_init_abi): Call amd64_linux_init_abi_common. | |
371 | (amd64_x32_linux_init_abi): New function. | |
372 | (_initialize_amd64_linux_tdep): Register osabi for bfd_mach_x64_32 | |
373 | subtype. | |
374 | ||
fff4548b MK |
375 | * i386-tdep.h (i386_pseudo_register_name): New prototype. |
376 | * i386-tdep.c (i386_pseudo_register_name): Make public. | |
377 | * amd64-tdep.h (amd64_x32_init_abi): New prototype. | |
378 | * amd64-tdep.c (amd64_dword_names): Add "eip". | |
379 | (amd64_x32_pseudo_register_type): New function | |
380 | (amd64_x32_init_abi): New function. | |
381 | ||
dd80ea3c JK |
382 | 2012-06-13 Jan Kratochvil <[email protected]> |
383 | ||
384 | PR build/14003 | |
385 | * inferior.h (struct inferior_suspend_state): Comment out. | |
386 | (struct inferior): Comment out the field suspend. | |
387 | * infrun.c (struct infcall_suspend_state): Comment out the field | |
388 | inferior_suspend. | |
389 | (save_infcall_suspend_state, restore_infcall_suspend_state): Comment | |
390 | out its assignment. | |
391 | ||
50af5481 JK |
392 | 2012-06-13 Jan Kratochvil <[email protected]> |
393 | ||
394 | PR c++/14177 - Fix parsing TYPENAME:: in parentheses. | |
395 | * c-exp.y (classify_inner_name): Remove caller assumptions in the | |
396 | function comment. Return ERROR for unresolved cases. Implement | |
397 | returning proper NAME. | |
398 | (yylex): Accept also NAME from classify_inner_name. | |
399 | * cp-namespace.c (cp_lookup_nested_type): Rename to ... | |
400 | (cp_lookup_nested_symbol): ... here. Return any found symbol, not just | |
401 | LOC_TYPEDEF type. | |
402 | * cp-support.h (cp_lookup_nested_type): Update its declaration. | |
403 | ||
d55637df TT |
404 | 2012-06-13 Tom Tromey <[email protected]> |
405 | ||
406 | * breakpoint.c (condition_completer): New function. | |
407 | (_initialize_breakpoint): Use it. | |
408 | * value.c (complete_internalvar): New function. | |
409 | * value.h (complete_internalvar): Declare. | |
410 | ||
49c4e619 TT |
411 | 2012-06-13 Tom Tromey <[email protected]> |
412 | ||
413 | * ada-lang.c (ada_make_symbol_completion_list): Return a VEC. | |
414 | * breakpoint.c (catch_syscall_completer): Return a VEC. | |
415 | * cli/cli-cmds.c (complete_command): Update. | |
416 | * cli/cli-decode.c (complete_on_cmdlist): Return a VEC. | |
417 | (complete_on_enum): Likewise. | |
418 | * command.h: Include gdb_vecs.h. | |
419 | (completer_ftype): Change return type. | |
420 | (complete_on_cmdlist, complete_on_enum): Likewise. | |
421 | * completer.c (noop_completer, filename_completer) | |
422 | (location_completer): Return a VEC. | |
423 | (add_struct_fields): Remove 'nextp' argument. Change 'output' | |
424 | to a VEC. | |
425 | (expression_completer, complete_line_internal, complete_line) | |
426 | (command_completer): Return a VEC. | |
427 | (gdb_completion_word_break_characters, line_completion_function): | |
428 | Update. | |
429 | * completer.h: Include gdb_vecs.h. | |
430 | (complete_line, noop_completer, filename_completer) | |
431 | (expression_completer, location_completer, command_completer): | |
432 | Update. | |
433 | * f-lang.c (f_word_break_characters): Return a VEC. | |
434 | * interps.c (interpreter_completer): Return a VEC. | |
435 | * language.h (struct language_defn) | |
436 | <la_make_symbol_completion_list>: Return a VEC. | |
437 | * python/py-cmd.c (cmdpy_completer): Return a VEC. | |
438 | * symtab.c (free_completion_list): Take a VEC. | |
439 | (return_val_size, return_val_index): Remove. | |
440 | (return_val): Now a VEC. | |
441 | (completion_list_add_name): Update. | |
442 | (default_make_symbol_completion_list_break_on) | |
443 | (default_make_symbol_completion_list, make_symbol_completion_list) | |
444 | (make_symbol_completion_list_fn, make_file_symbol_completion_list): | |
445 | Return a VEC. | |
446 | (add_filename_to_list): Update. | |
447 | (struct add_partial_filename_data) <list_used, list_alloced>: Remove. | |
448 | <list>: Now a VEC. | |
449 | (maybe_add_partial_symtab_filename): Update. | |
450 | (make_source_files_completion_list): Return a VEC. | |
451 | * symtab.h (default_make_symbol_completion_list_break_on) | |
452 | (default_make_symbol_completion_list, make_symbol_completion_list) | |
453 | (make_symbol_completion_list_fn, make_file_symbol_completion_list) | |
454 | (make_source_files_completion_list): Update. | |
455 | ||
625e8578 TT |
456 | 2012-06-13 Tom Tromey <[email protected]> |
457 | ||
458 | * breakpoint.c (add_catch_command): Use completer_ftype. | |
459 | * breakpoint.h: Include command.h. | |
460 | (add_catch_command): Use completer_ftype. | |
461 | * cli/cli-decode.c (set_cmd_completer): Use completer_ftype. | |
462 | * cli/cli-decode.h (struct cmd_list_element) <completer>: | |
463 | Use completer_ftype. | |
464 | * command.h (completer_ftype): New typedef. | |
465 | (set_cmd_completer): Use it. | |
466 | * python/py-cmd.c (struct cmdpy_completer) <completer>: Use | |
467 | completer_ftype. | |
468 | ||
5eb3b062 PA |
469 | 2012-06-13 Pedro Alves <[email protected]> |
470 | ||
471 | Partial revert of previous change. | |
472 | ||
473 | * serial.c (scb_base): New global. | |
474 | (serial_for_fd): New. | |
475 | (serial_open, serial_fdopen_ops): Link new serial in open serials | |
476 | chain. | |
477 | (do_serial_close): Unlink serial from the open serials chain. | |
478 | ||
8b3ee56d PA |
479 | 2012-06-12 Pedro Alves <[email protected]> |
480 | ||
481 | * infrun.c (infrun_thread_stop_requested_callback): Don't switch | |
482 | threads here. | |
483 | (prepare_for_detach): No longer context switch here in non-stop | |
484 | mode. | |
485 | (fetch_inferior_event): Ditto. | |
486 | (handle_inferior_event) <STOP_QUIETLY || NO_STOP_QUIETLY>: Switch | |
487 | to the event thread before removing breakpoints. Switch to the | |
488 | event thread before inserting breakpoints and resuming. | |
489 | (handle_inferior_event) <TARGET_WAITKIND_SPURIOUS>: Switch to the | |
490 | event thread before resuming. | |
491 | (handle_inferior_event) <stepping_past_singlestep_breakpoint>: | |
492 | Switch to the event thread before removing breakpoints. | |
493 | ||
5d60742e EZ |
494 | 2012-06-12 Eli Zaretskii <[email protected]> |
495 | ||
496 | * infcmd.c (construct_inferior_arguments) [__MINGW32__]: Quote | |
497 | special characters correctly for the Windows shells. See | |
498 | http://sourceware.org/ml/gdb/2012-06/msg00047.html for the bug | |
499 | report. | |
500 | [!__MINGW32__]: Remove extra double quote character from special | |
501 | characters. | |
502 | ||
a6feecf7 SS |
503 | 2012-06-11 Stan Shebs <[email protected]> |
504 | ||
505 | * ui-out.h: Remove #if 0 declarations. | |
506 | * ui-out.c: Remove #if 0 functions. | |
507 | ||
ddefb60f PA |
508 | 2012-06-11 Pedro Alves <[email protected]> |
509 | ||
510 | * ser-base.c (run_async_handler_and_reschedule): New. | |
511 | (fd_event, push_event): Use it. | |
512 | * serial.c (serial_open, serial_fdopen_ops): Set the initial | |
513 | reference count to 1. | |
514 | (do_serial_close): Set the bufp field to NULL. Use serial_unref | |
515 | instead of xfree. | |
516 | (serial_is_open, serial_ref, serial_unref): New. | |
517 | * serial.h (serial_open): Adjust comment. | |
518 | (serial_is_open): Declare. | |
519 | (serial_close): Adjust comment. | |
520 | (serial_ref, serial_unref) Declare. | |
521 | (struct serial): New field 'refcnt'. | |
522 | ||
d5ad6aa5 PA |
523 | 2012-06-11 Pedro Alves <[email protected]> |
524 | ||
525 | Remove #if 0'd "connect" command, and unnecessary associated | |
526 | refcounting and serial reuse bits. | |
527 | ||
528 | * serial.h (struct serial): Remove fields 'next' and 'refcnt'. | |
529 | * serial.c (last_serial_opened): Delete. | |
530 | (scb_base): Delete. | |
531 | (serial_open): Adjust. | |
532 | (serial_for_fd): Delete. | |
533 | (serial_fdopen_ops, do_serial_close): Adjust. | |
534 | (serial_fdopen_ops): Adjust. | |
535 | ||
318aa544 PA |
536 | 2012-06-11 Pedro Alves <[email protected]> |
537 | ||
538 | * serial.c (do_serial_close): Remove early return when SCB is | |
539 | null. | |
540 | ||
07261596 TT |
541 | 2012-06-11 Tom Tromey <[email protected]> |
542 | ||
543 | * dwarf2read.c (dw2_get_file_names_reader): Ignore partial units. | |
544 | ||
cc80f267 JK |
545 | 2012-06-11 Jan Kratochvil <[email protected]> |
546 | ||
547 | Fix regression by the "ambiguous linespec" series. | |
548 | * breakpoint.c (parse_breakpoint_sals): New variable cursal. Use | |
549 | get_last_displayed_symtab and get_last_displayed_line and depending | |
550 | on CURSAL. | |
551 | ||
356d9f9d TT |
552 | 2012-06-11 Tom Tromey <[email protected]> |
553 | ||
554 | * dwarf2read.c (dw2_get_primary_filename_reader): New function. | |
555 | (dw2_find_symbol_file): Use it. | |
556 | ||
232b8704 ME |
557 | 2012-06-11 Michael Eager <[email protected]> |
558 | ||
559 | * mips-linux-tdep.c (mips_gdb_signal_from_target): New | |
560 | * mips-linux-tdep.h (mips_signals): New | |
561 | ||
e81a37f7 TT |
562 | 2012-06-11 Tom Tromey <[email protected]> |
563 | ||
564 | * infrun.c (handle_inferior_event) | |
565 | <BPSTAT_WHAT_SET_LONGJMP_RESUME>: Don't delete the step-resume | |
566 | breakpoint. | |
567 | <BPSTAT_WHAT_CLEAR_LONGJMP_RESUME>: Remove longjmp logic; use | |
568 | exception logic in all cases. Update comments. | |
569 | (insert_longjmp_resume_breakpoint): Set the exception resume | |
570 | breakpoint. | |
571 | ||
2e81047f MR |
572 | 2012-06-11 Maciej W. Rozycki <[email protected]> |
573 | ||
574 | * mips-tdep.c (mips_push_dummy_code): Handle microMIPS code. | |
575 | ||
4e32eda7 SCR |
576 | 2012-06-09 Siva Chandra Reddy <[email protected]> |
577 | ||
578 | * valarith.c (binop_types_user_defined_p): Fix a typo. | |
579 | ||
18648a37 YQ |
580 | 2012-06-08 Yao Qi <[email protected]> |
581 | Chung-Lin Tang <[email protected]> | |
582 | ||
583 | * arch-utils.c (default_return_in_first_hidden_param_p): New. | |
584 | * arch-utils.h: Declare. | |
585 | * gdbarch.sh: Add return_in_first_hidden_param_p. | |
586 | * gdbarch.c, gdbarch.h: Regenerated. | |
587 | * infcall.c (call_function_by_hand): Call | |
588 | gdbarch_return_in_first_hidden_param_p instead of | |
589 | language_pass_by_reference. | |
590 | ||
591 | * m68k-tdep.c (m68k_return_in_first_hidden_param_p): New. | |
592 | (m68k_gdbarch_init): Install m68k_return_in_first_hidden_param_p. | |
593 | * sh-tdep.c (sh_return_in_first_hidden_param_p): New. | |
594 | (sh_gdbarch_init): Install sh_return_in_first_hidden_param_p. | |
595 | * tic6x-tdep.c (tic6x_push_dummy_call): Remove local variable | |
596 | `cplus_return_struct_by_reference'. | |
597 | (tic6x_return_value): Handle language cplusplus. | |
598 | (tic6x_return_in_first_hidden_param_p): New. | |
599 | (tic6x_gdbarch_init): Install tic6x_return_in_first_hidden_param_p. | |
600 | ||
034e5797 DE |
601 | 2012-06-07 Doug Evans <[email protected]> |
602 | ||
603 | * dwarf2read.c (dwarf2_cu): Add comment. | |
604 | ||
6a00aa1e MR |
605 | 2012-06-06 Maciej W. Rozycki <[email protected]> |
606 | ||
607 | * mips-tdep.c (mips_pseudo_register_type): Remove tdep local | |
608 | variable. | |
609 | (mips_eabi_push_dummy_call): Likewise. | |
610 | (mips_n32n64_push_dummy_call): Likewise. | |
611 | (mips_o32_push_dummy_call): Likewise. | |
612 | (mips_o64_push_dummy_call): Likewise. | |
613 | ||
eaa05d59 MR |
614 | 2012-06-06 Maciej W. Rozycki <[email protected]> |
615 | ||
616 | * mips-tdep.c (mips_convert_register_p): Correct coding style. | |
617 | ||
de13fcf2 MR |
618 | 2012-06-06 Maciej W. Rozycki <[email protected]> |
619 | ||
620 | * mips-tdep.c (mips_pseudo_register_type): Use | |
621 | mips_float_register_p. | |
622 | ||
c3a01a22 PA |
623 | 2012-06-06 Pedro Alves <[email protected]> |
624 | ||
625 | * infrun.c (handle_inferior_event): Remove calls to | |
626 | reinit_frame_cache that follow a context_switch call. | |
627 | ||
d25f45d9 PA |
628 | 2012-06-06 Pedro Alves <[email protected]> |
629 | ||
630 | * infrun.c (handle_inferior_event) <deferred_step_ptid>: Use | |
631 | context_switch and remove stale comment. | |
632 | ||
359f5fe6 PA |
633 | 2012-06-06 Pedro Alves <[email protected]> |
634 | ||
635 | * infrun.c (struct execution_control_state): Remove | |
636 | `new_thread_event' field. | |
637 | (handle_inferior_event): Simplify new threads handling; don't | |
638 | resume the inferior if we find a new thread. | |
639 | ||
2d4c29c5 TS |
640 | 2012-06-06 Thomas Schwinge <[email protected]> |
641 | ||
642 | * NEWS: Document the deprecation of SH's 'regs' command. | |
643 | * inferior.h (all_registers_info): Add function declaration. | |
644 | * sh-tdep.c (sh_show_regs): Remove variable. | |
645 | (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs, sh2a_show_regs) | |
646 | (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs) | |
647 | (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs) | |
648 | (sh_show_regs_command): Remove functions. | |
649 | (sh_gdbarch_init): Don't set sh_show_regs. | |
650 | (_initialize_sh_tdep): Make the 'regs' command an deprecated alias to | |
651 | 'info all-registers'. | |
652 | * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs) | |
653 | (sh64_show_regs): Remove functions. | |
654 | * sh64-tdep.h (sh64_show_regs): Remove function declaration. | |
655 | ||
f5f1cdb6 JK |
656 | 2012-06-06 Jan Kratochvil <[email protected]> |
657 | ||
658 | * configure.ac: Move development=true below AC_INIT. | |
659 | * configure: Regenerate. | |
660 | ||
bf6309af SS |
661 | 2012-06-05 Stan Shebs <[email protected]> |
662 | ||
663 | * mi/mi-interp.c (mi_interpreter_init): Set raw_stdout from | |
664 | gdb_stdout. | |
665 | ||
45aa4659 JK |
666 | 2012-06-05 Siddhesh Poyarekar <[email protected]> |
667 | ||
668 | * corefile.c (read_memory, read_stack, write_memory): Accept LEN | |
669 | argument as ssize_t. | |
670 | * gdbcore.h (read_memory, read_stack, write_memory): Likewise. | |
671 | * remote.c (remote_write_bytes_aux, remote_write_bytes): Likewise. | |
672 | * target.c (target_read_stack, target_write_memory) | |
673 | (target_write_raw_memory): Likewise. | |
674 | * target.h (target_read_stack, target_write_memory) | |
675 | (target_write_raw_memory): Likewise. | |
676 | ||
1b162304 JK |
677 | 2012-06-05 Jan Kratochvil <[email protected]> |
678 | ||
679 | * symfile-mem.c: Change gdb_static_assert to ssize_t. | |
680 | (target_read_memory_bfd): Cast gdb_assert LEN to ssize_t. | |
681 | * target.c (target_read_memory): Change LEN to ssize_t. | |
682 | * target.h (target_read_memory): Change LEN to ssize_t. | |
683 | ||
8556afb4 PA |
684 | 2012-06-05 Pedro Alves <[email protected]> |
685 | ||
686 | PR backtrace/13866 | |
687 | ||
688 | * breakpoint.c (until_break_command): Only fetch the selected | |
689 | frame after decode_line_1. | |
690 | ||
fb139f32 PA |
691 | 2012-06-05 Joakim Tjernlund <[email protected]> |
692 | ||
693 | * solib-svr4.c (enable_break): Don't fallback to setting the solib | |
694 | event breakpoint at _start, __start or main if a program | |
695 | interpreter is not found. | |
696 | ||
a8e1bb34 JB |
697 | 2012-06-05 Joel Brobecker <[email protected]> |
698 | ||
699 | * windows-tdep.h (windows_iterate_over_objfiles_in_search_order): | |
700 | Add declaration. | |
701 | * windows-tdep.c: #include "objfiles.h". | |
702 | (windows_iterate_over_objfiles_in_search_order): New function. | |
703 | * amd64-windows-tdep.c (amd64_windows_init_abi): Set | |
704 | iterate_over_objfiles_in_search_order gdbarch method to | |
705 | windows_iterate_over_objfiles_in_search_order. | |
706 | * i386-cygwin-tdep.c (i386_cygwin_init_abi): Likewise. | |
707 | ||
19630284 JB |
708 | 2012-06-05 Joel Brobecker <[email protected]> |
709 | ||
710 | * gdbarch.sh: Add generation of | |
711 | "iterate_over_objfiles_in_search_order_cb_ftype" typedef in | |
712 | gdbarch.h. Add include of "objfiles.h" in gdbarch.c. | |
713 | (iterate_over_objfiles_in_search_order): New gdbarch method. | |
714 | * gdbarch.h, gdbarch.c: Regenerate. | |
715 | * objfiles.h (default_iterate_over_objfiles_in_search_order): | |
716 | Add declaration. | |
717 | * objfiles.c (default_iterate_over_objfiles_in_search_order): | |
718 | New function. | |
719 | * symtab.c (lookup_symbol_aux_objfile): New function, extracted | |
720 | out of lookup_symbol_aux_symtabs. | |
721 | (lookup_symbol_aux_symtabs): Replace extracted-out code by | |
722 | call to lookup_symbol_aux_objfile. | |
723 | (struct global_sym_lookup_data): New type. | |
724 | (lookup_symbol_global_iterator_cb): New function. | |
725 | (lookup_symbol_global): Search for symbol using | |
726 | gdbarch_iterate_over_objfiles_in_search_order and | |
727 | lookup_symbol_global_iterator_cb. | |
728 | * findvar.c (struct minsym_lookup_data): New type. | |
729 | (minsym_lookup_iterator_cb): New function. | |
730 | (default_read_var_value) [case LOC_UNRESOLVED]: Resolve the | |
731 | symbol's address via gdbarch_iterate_over_objfiles_in_search_order | |
732 | and minsym_lookup_iterator_cb. | |
733 | ||
67ff19f7 JB |
734 | 2012-06-05 Joel Brobecker <[email protected]> |
735 | ||
736 | Revert the following patch: | |
737 | * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols, | |
738 | try locating the symbol in the symbol's own objfile first, before | |
739 | extending the search to all objfiles. | |
740 | * symtab.c (lookup_symbol_aux_objfile): New function, extracted | |
741 | out of lookup_symbol_aux_symtabs. | |
742 | (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile". | |
743 | Replace extracted-out code by call to lookup_symbol_aux_objfile. | |
744 | Do not search EXCLUDE_OBJFILE. | |
745 | (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs. | |
746 | (lookup_symbol_global): Search for matches in the block's objfile | |
747 | first, before searching all other objfiles. | |
748 | ||
ccab2054 JB |
749 | 2012-06-05 Joel Brobecker <[email protected]> |
750 | ||
751 | * breakpoint.c (find_condition_and_thread): Stop parsing | |
752 | as soon as the first invalid keyword is found. | |
753 | ||
e23d4a9c JB |
754 | 2012-06-05 Joel Brobecker <[email protected]> |
755 | ||
756 | * copyright.py (EXCLUDE_LIST): Add 'gdb/CONTRIBUTE' to list. | |
757 | ||
70160166 JB |
758 | 2012-06-05 Joel Brobecker <[email protected]> |
759 | ||
760 | * config/djgpp/djcheck.sh: Add copyright header. | |
761 | ||
399501a5 JB |
762 | 2012-06-05 Joel Brobecker <[email protected]> |
763 | ||
764 | * copyright.py (update_files, main): Fix path to update-copyright | |
765 | script. | |
766 | ||
3770a159 JB |
767 | 2012-06-05 Joel Brobecker <[email protected]> |
768 | ||
769 | * copyright.py (MULTIPLE_COPYRIGHT_HEADERS): New constant. | |
770 | (main): Add MULTIPLE_COPYRIGHT_HEADERS to the list of files | |
771 | for which a reminder to update by hand is printed. | |
772 | ||
4aad0dfc DE |
773 | 2012-06-04 Doug Evans <[email protected]> |
774 | ||
775 | * buildsym.c (make_blockvector): Add comment. | |
776 | ||
1f8cf220 PA |
777 | 2012-06-04 Pedro Alves <[email protected]> |
778 | ||
779 | * arch-utils.c (default_gdb_signal_from_target): Delete. | |
780 | * arch-utils.h (default_gdb_signal_from_target): Delete. | |
781 | * corelow.c (core_open) <signal mapping>: Extended comment. Check | |
782 | gdbarch_gdb_signal_from_target_p. | |
783 | * gdbarch.sh (gdb_signal_from_target): Make it an M method (with | |
784 | predicate). | |
785 | * gdbarch.h: Regenerate. | |
786 | * gdbarch.c: Regenerate. | |
787 | ||
86b49880 PA |
788 | 2012-06-04 Pedro Alves <[email protected]> |
789 | ||
790 | * gdbarch.sh (gdb_signal_from_target): Mention that the | |
791 | implementation of the method must be host independent. | |
792 | * gdbarch.h: Regenerate. | |
793 | ||
fe78531d JK |
794 | 2012-06-04 Jan Kratochvil <[email protected]> |
795 | ||
796 | * symfile-mem.c: 3 new gdb_static_assert for target_read_memory_bfd | |
797 | parameters. | |
798 | (target_read_memory_bfd): New function. | |
799 | (symbol_file_add_from_memory): Use it. | |
800 | ||
d790cf0a DE |
801 | 2012-06-03 Doug Evans <[email protected]> |
802 | ||
78e5175a DE |
803 | * symtab.c (lookup_global_symbol_from_objfile): Only scan blockvector |
804 | of primary symtab. | |
805 | (basic_lookup_transparent_type): Ditto. | |
806 | ||
d790cf0a DE |
807 | * objfiles.h (ALL_OBJFILE_PRIMARY_SYMTABS): New macro. |
808 | (ALL_PRIMARY_SYMTABS): Use it. | |
809 | (ALL_PSPACE_PRIMARY_SYMTABS): Ditto. | |
810 | * dwarf2read.c (dw2_find_symbol_file): Ditto. | |
811 | * linespec.c (iterate_over_all_matching_symtabs): Ditto. | |
812 | * symtab.c (lookup_symbol_aux_objfile): Ditto. | |
813 | (basic_lookup_transparent_type): Ditto. | |
814 | ||
c6e5ee5e SDJ |
815 | 2012-06-02 Sergio Durigan Junior <[email protected]> |
816 | ||
817 | * symtab.c (symbol_demangled_name): New variable `dem_name'. Use | |
818 | it to optimize resolution of demangled name. | |
819 | ||
a68ffae9 JK |
820 | 2012-06-01 Jan Kratochvil <[email protected]> |
821 | ||
822 | * configure.ac (development): Define new variable. | |
823 | Call AC_CHECK_LIB for mcheck if $development. | |
824 | (ERROR_ON_WARNING): Enable it by default only if $development. | |
825 | * config.in: Regenerate. | |
826 | * configure: Regenerate. | |
827 | ||
5299c1c4 JK |
828 | 2012-06-01 Siddhesh Poyarekar <[email protected]> |
829 | ||
830 | * target.c (target_read_memory): Make LEN argument as size_t. | |
831 | * target.h (target_read_memory): Likewise. | |
832 | ||
833 | 2012-06-01 Jan Kratochvil <[email protected]> | |
7c71816c JK |
834 | |
835 | * tilegx-linux-tdep.c (tilegx_l): Use ULL for 64-bit values. | |
836 | ||
0c56f59b EBM |
837 | 2012-05-31 Edjunior Machado <[email protected]> |
838 | ||
839 | * ppc-linux-nat.c (have_ptrace_booke_interface): Disable ptrace | |
840 | BookE interface for PowerPC server processors if not available | |
841 | in the Linux Kernel. | |
842 | ||
71bdabee KS |
843 | 2012-05-31 Keith Seitz <[email protected]> |
844 | ||
845 | * linespec.c (decode_objc): Add cleanup to free | |
846 | INFO.FILE_SYMTABS. | |
847 | (find_linespec_symbols): Add cleanup to free CLASSES. | |
848 | * symfile.c (find_separate_debug_file_by_debuglink): Add | |
849 | cleanup to free DEBUGLINK. | |
850 | * ui-out.c (clear_header_list): No need to check if | |
851 | HEADER_NEXT.COLHDR is NULL. | |
852 | Free HEADER_NEXT.COL_NAME. | |
853 | ||
acbd605d MGD |
854 | 2012-05-31 Matthew Gretton-Dann <[email protected]> |
855 | ||
856 | * ada-lang.c (standard_lookup): Prevent uninitialized variable | |
857 | warning. | |
858 | ||
65662cde PA |
859 | 2012-05-30 Jeff Kenton <[email protected]> |
860 | ||
861 | * configure.host (gdb_host_cpu): Handle tilegx*. | |
862 | (gdb_host): Handle tilegx-*-linux*. | |
863 | * tilegx-linux-nat.c: New file. | |
864 | * config/tilegx/linux.mh: New file. | |
865 | ||
ade64f0e PA |
866 | 2012-05-30 Jeff Kenton <[email protected]> |
867 | ||
868 | * Makefile.in (ALL_TARGET_OBJS): Add tilegx-tdep.o and | |
869 | tilegx-linux-tdep.o. | |
870 | (ALLDEPFILES): Add tilegx-linux-nat.c, tilegx-tdep.c and | |
871 | tilegx-linux-tdep.c. | |
872 | * configure.tgt: Handle tilegx-*-linux*. | |
873 | * tilegx-tdep.h: New file. | |
874 | * tilegx-tdep.c: New file. | |
875 | * tilegx-linux-tdep.c: New file. | |
876 | * regformats/reg-tilegx.dat: New file. | |
877 | ||
bb08bdbd EBM |
878 | 2012-05-30 Edjunior Machado <[email protected]> |
879 | ||
880 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): fix | |
881 | accounting of hw watchpoints on ppc. | |
882 | ||
ebd86fb5 TJB |
883 | 2012-05-30 Thiago Jung Bauermann <[email protected]> |
884 | ||
885 | * source.c (openp): Expand tilde in path entries. | |
886 | ||
0a0edcd5 DE |
887 | 2012-05-29 Doug Evans <[email protected]> |
888 | ||
98cc87bd DE |
889 | * buildsym.c (block_compar): Fix comment. |
890 | (end_symtab): Fix and clarify some comments. | |
891 | ||
0a0edcd5 DE |
892 | * stabsread.h (cleanup_undefined_stabs_types): Renamed from |
893 | cleanup_undefined_types. | |
894 | * stabsread.c (cleanup_undefined_stabs_types): Ditto. | |
895 | All callers updated. | |
896 | ||
6f0c7050 TT |
897 | 2012-05-29 Tom Tromey <[email protected]> |
898 | ||
899 | * symfile.c (symfile_bfd_open): Don't close desc if bfd_fopen | |
900 | fails. | |
901 | * solib.c (solib_bfd_fopen): Don't close fd if bfd_fopen fails. | |
902 | * exec.c (exec_file_attach): Don't close scratch_chan if bfd_fopen | |
903 | fails. | |
904 | * dwarf2read.c (try_open_dwo_file): Don't close fd if bfd_fopen | |
905 | fails. | |
906 | ||
ec95993c TG |
907 | 2012-05-29 Tristan Gingold <[email protected]> |
908 | ||
909 | * solib-darwin.c (dyld_all_image_addr, dyld_all_image): Move into... | |
910 | (struct darwin_info): ... New struct. | |
911 | (solib_darwin_pspace_data): New variable. | |
912 | (darwin_pspace_data_cleanup): New function. | |
913 | (get_darwin_info): Likewise. | |
914 | (darwin_dyld_version_ok, darwin_load_image_infos) | |
915 | (darwin_solib_get_all_image_info_addr_at_init) | |
916 | (darwin_solib_read_all_image_info_addr): Add info argument. | |
917 | Adjust code. | |
918 | (darwin_current_sos): Use per pspace structure. | |
919 | (darwin_solib_create_inferior_hook): Likewise. | |
920 | (darwin_clear_solib): Likewise. | |
921 | (_initialize_darwin_solib): Initialize solib_darwin_pspace_data. | |
922 | ||
ae25568b PA |
923 | 2012-05-28 Pedro Alves <[email protected]> |
924 | ||
925 | * infrun.c (wait_for_inferior): Move ecss and ecs locals to the | |
926 | block that uses them. Clear ecss before handling each event. | |
927 | ||
0c5bf5a9 JK |
928 | 2012-05-28 Jan Kratochvil <[email protected]> |
929 | ||
930 | * solib-svr4.c (svr4_current_sos): New comment on | |
931 | svr4_current_sos_via_xfer_libraries fall back. | |
932 | ||
bfb05775 JK |
933 | 2012-05-24 Jan Kratochvil <[email protected]> |
934 | ||
935 | * psymtab.c (lookup_symbol_aux_psymtabs): New variable stab_best. Use | |
936 | it as a fallback for TYPE_IS_OPAQUE. | |
937 | * symfile.h (struct quick_symbol_functions): Mention TYPE_OPAQUE | |
938 | symbols for lookup_symbol. | |
939 | ||
685b1105 JK |
940 | 2012-05-24 John Steele Scott <[email protected]> |
941 | ||
942 | PR symtab/13277: Resolving opaque structures in ICC generated binaries. | |
943 | * dwarf2read.c (struct dwarf2_cu) <producer_is_icc>: New field. | |
944 | (producer_is_gxx_lt_4_6): Move the checking and caching to... | |
945 | (check_producer): ... this new function, which also checks for ICC | |
946 | and caches the result. | |
947 | (producer_is_icc): New function. | |
948 | (read_structure_type): Don't set TYPE_STUB_SUPPORTED if the | |
949 | producer was ICC. | |
950 | ||
22203bbf PA |
951 | 2012-05-24 Pedro Alves <[email protected]> |
952 | ||
953 | PR gdb/7205 | |
954 | ||
955 | * arch-utils.c (default_gdb_signal_to_host): Rename to ... | |
956 | (default_gdb_signal_to_target): ... this. Add comment. | |
957 | (default_gdb_signal_from_host): Rename to ... | |
958 | (default_gdb_signal_from_target): ... this. Add comment. | |
959 | * arch-utils.h (default_gdb_signal_to_host): Rename to ... | |
960 | (default_gdb_signal_to_target): ... this. | |
961 | (default_gdb_signal_from_host): Rename to ... | |
962 | (default_gdb_signal_from_target): ... this. | |
963 | * corelow.c (core_open): Adjust to naming change. Replace comment. | |
964 | * gdbarch.sh (gdb_signal_from_host): Rename to ... | |
965 | (gdb_signal_from_target): ... this. Adjust to | |
966 | default_gdb_signal_from_host naming change. Extend comment. | |
967 | (gdb_signal_to_host): Rename to ... | |
968 | (gdb_signal_to_target): ... this. Adjust to | |
969 | default_gdb_signal_to_host naming change. | |
970 | * gdbarch.h, gdbarch.c: Renegerate. | |
971 | ||
a493e3e2 PA |
972 | 2012-05-24 Pedro Alves <[email protected]> |
973 | ||
974 | PR gdb/7205 | |
975 | ||
976 | Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout. | |
977 | ||
2ea28649 PA |
978 | 2012-05-24 Pedro Alves <[email protected]> |
979 | ||
980 | PR gdb/7205 | |
981 | ||
982 | Replace target_signal with gdb_signal throughout. | |
983 | ||
b09846a9 PA |
984 | 2012-05-24 Pedro Alves <[email protected]> |
985 | ||
986 | PR tui/14159 | |
987 | ||
988 | * tui/tui-hooks.c (tui_query_hook): Pre-compute the question | |
989 | string, instead of reusing the va_list argument. | |
990 | ||
e77c107e TT |
991 | 2012-05-24 Tom Tromey <[email protected]> |
992 | ||
993 | * cp-support.h (cp_finalize_namespace, cp_initialize_namespace): | |
994 | Remove. | |
995 | ||
9fccedf7 DE |
996 | 2012-05-23 Doug Evans <[email protected]> |
997 | ||
d50bd42b DE |
998 | * symtab.c (search_symbols): Formatting fixes. |
999 | (print_symbol_info): Formatting fixes. | |
1000 | ||
9fccedf7 DE |
1001 | * dwarf2-frame.c (execute_cfa_program): Update to handle long long -> |
1002 | int64_t change to leb128 API. | |
1003 | (read_encoded_value, decode_frame_entry_1): Ditto. | |
1004 | * dwarf2expr.c (safe_read_uleb128, safe_read_sleb128): Ditto. | |
1005 | (dwarf_block_to_dwarf_reg, dwarf_block_to_dwarf_reg_deref): Ditto. | |
1006 | (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): Ditto. | |
1007 | (execute_stack_op): Ditto. | |
1008 | * dwarf2expr.h (gdb_read_uleb128, gdb_read_sleb128): Ditto. | |
1009 | (safe_read_uleb128, safe_read_sleb128): Ditto. | |
1010 | * dwarf2loc.c (decode_debug_loc_dwo_addresses): Ditto. | |
1011 | (dwarf2_compile_expr_to_ax): Ditto. | |
1012 | (locexpr_describe_location_piece): Ditto. | |
1013 | (disassemble_dwarf_expression): Ditto. | |
1014 | (locexpr_describe_location_1): Ditto. | |
1015 | ||
f3e0e960 SS |
1016 | 2012-05-23 Stan Shebs <[email protected]> |
1017 | Kwok Cheung Yeung <[email protected]> | |
1018 | ||
1019 | * Makefile.in (SUBDIR_MI_OBS): Add mi-cmd-info.o. | |
1020 | (SUBDIR_MI_SRCS): Add mi-cmd-info.c. | |
1021 | (mi-cmd-info.o): New rule. | |
1022 | * osdata.h (info_osdata_command): New declaration. | |
1023 | * osdata.c (info_osdata_command): Change to non-static. | |
1024 | * mi/mi-cmds.h (mi_cmd_info_os): New declaration. | |
1025 | * mi/mi-cmds.c (mi_cmds): Add -info-os MI command. | |
1026 | * mi/mi-cmd-info.c: New file. | |
1027 | ||
c51fe631 DE |
1028 | 2012-05-23 Doug Evans <[email protected]> |
1029 | ||
71cddcc1 DE |
1030 | * symtab.c (search_symbols): Pass NULL for file_matcher to |
1031 | expand_symtabs_matching if there are no files to match. | |
1032 | ||
c51fe631 DE |
1033 | * gdbtypes.c (lookup_typename): Simplify. |
1034 | ||
a79378d4 PA |
1035 | 2012-05-23 Pedro Alves <[email protected]> |
1036 | ||
1037 | * arch-utils.h (default_target_signal_to_host): Delete. | |
1038 | * arch-utils.c (default_target_signal_to_host): Delete. | |
1039 | * gdbarch.sh (target_signal_to_host): Remove. | |
1040 | * gdbarch.h, gdbarch.c: Regenerate. | |
1041 | ||
f664829e DE |
1042 | 2012-05-22 Doug Evans <[email protected]> |
1043 | ||
1044 | * dwarf2-frame.c (struct dwarf2_cie): Make initial_instructions, end | |
1045 | "const gdb_byte *". | |
1046 | (struct dwarf2_fde): Make instructions, end "const gdb_byte *". | |
1047 | (execute_cfa_program): Update to match API of leb128 functions. | |
1048 | (read_1_byte, read_4_bytes, read_8_bytes): Make buf parameter | |
1049 | "const gdb_byte *". | |
1050 | (read_unsigned_leb128, read_signed_leb128): Delete. | |
1051 | (read_initial_length): Change type of buf argument to | |
1052 | "const gdb_byte *". | |
1053 | (read_encoded_value): Update to match API of leb128 functions. | |
1054 | (decode_frame_entry): Change result to "const gdb_byte *", and | |
1055 | similarly for "start" parameter. | |
1056 | (decode_frame_entry_1): Ditto. Use new leb128 reader functions. | |
1057 | (dwarf2_build_frame_info): Change local frame_ptr to | |
1058 | "const gdb_byte *". | |
1059 | * dwarf2expr.c (safe_read_uleb128, safe_read_sleb128): Replaces | |
1060 | read_uleb128, read_sleb128. All callers updated. | |
1061 | (safe_skip_leb128): New function. | |
1062 | (dwarf_block_to_dwarf_reg): Update to match API of leb128 functions. | |
1063 | Call gdb_read_uleb128, gdb_skip_leb128 instead of read_uleb128. | |
1064 | (dwarf_block_to_dwarf_reg_deref): Update to match API of leb128 | |
1065 | functions. Call gdb_read_uleb128, gdb_read_sleb128 instead of | |
1066 | read_uleb128, read_sleb128. | |
1067 | (dwarf_block_to_fb_offset, dwarf_block_to_sp_offset): Ditto. | |
1068 | (execute_stack_op): Update to match API of leb128 functions. | |
1069 | * dwarf2expr.h: #include "leb128.h". | |
1070 | (read_uleb128, read_sleb128): Delete. | |
1071 | (gdb_read_uleb128, gdb_read_sleb128, gdb_skip_leb128): New functions. | |
1072 | (safe_read_uleb128, safe_read_sleb128, safe_skip_leb128): Declare. | |
1073 | * dwarf2loc.c (debug_loc_kind): New enum. | |
1074 | (decode_debug_loc_addresses): New function. | |
1075 | (decode_debug_loc_dwo_addresses): New function. | |
1076 | (dwarf2_find_location_expression): Rewrite. | |
1077 | (dwarf2_compile_expr_to_ax): Update to match API of leb128 functions. | |
1078 | (locexpr_describe_location_piece): Ditto. | |
1079 | (disassemble_dwarf_expression): Ditto. | |
1080 | (locexpr_describe_location_1): Ditto. | |
1081 | (loclist_describe_location): Rewrite. | |
1082 | * dwarf2loc.h (dwarf2_loclist_baton): New member "from_dwo". | |
1083 | * dwarf2read.c (die_reader_specs): New member "buffer_end". | |
1084 | (dwarf2_section_buffer_overflow_complaint): Renamed from | |
1085 | dwarf2_macros_too_long_complaint. All callers updated. | |
1086 | (skip_leb128): Delete. | |
1087 | (init_cu_die_reader): Initialize reader->buffer_end. | |
1088 | (skip_one_die): Replace call to skip_leb128 with safe_skip_leb128. | |
1089 | (skip_form_bytes): New arg buffer_end. All callers updated. | |
1090 | Replace call to skip_leb128 with gdb_skip_leb128. | |
1091 | (skip_unknown_opcode): New arg mac_end. All callers updated. | |
1092 | (fill_in_loclist_baton): Initialize baton->from_dwo. | |
1093 | ||
837a1b32 MR |
1094 | 2012-05-22 Maciej W. Rozycki <[email protected]> |
1095 | ||
1096 | * mips-linux-nat.c (mips_linux_read_description): Use a more | |
1097 | verbose error message. | |
1098 | ||
d0e64392 MR |
1099 | 2012-05-22 Maciej W. Rozycki <[email protected]> |
1100 | ||
1101 | * NEWS: Add MIPS/Linux DSP support. | |
1102 | * mips-linux-tdep.c: Document post-2.6.12 o32 sigcontext layout. | |
1103 | (SIGCONTEXT_DSPCTL): New macro. | |
1104 | (SIGCONTEXT_HI1, SIGCONTEXT_LO1): Likewise. | |
1105 | (SIGCONTEXT_HI2, SIGCONTEXT_LO2): Likewise. | |
1106 | (SIGCONTEXT_HI3, SIGCONTEXT_LO3): Likewise. | |
1107 | (N64_SIGCONTEXT_HI1, N64_SIGCONTEXT_HI2): Likewise. | |
1108 | (N64_SIGCONTEXT_HI3): Likewise. | |
1109 | (N64_SIGCONTEXT_LO1, N64_SIGCONTEXT_LO2): Likewise. | |
1110 | (N64_SIGCONTEXT_LO3): Likewise. | |
1111 | (N64_SIGCONTEXT_DSPCTL): Likewise. | |
1112 | (N64_SIGCONTEXT_FPCSR): Clarify definition. | |
1113 | (mips_linux_o32_sigframe_init): Handle DSP registers. | |
1114 | (mips_linux_n32n64_sigframe_init): Likewise. | |
1115 | ||
8bea7ed1 PM |
1116 | 2012-05-22 Pierre Muller <[email protected]> |
1117 | ||
1118 | * common/buffer.c (buffer_grow): ARI fix: Remove unneeded | |
1119 | call to abort. | |
1120 | ||
dab06dbe PA |
1121 | 2012-05-22 Pedro Alves <[email protected]> |
1122 | ||
1123 | * target.h (store_waitstatus): Move declaration ... | |
1124 | * inf-child.h (store_waitstatus): ... here. | |
1125 | * target.c: Move inclusion of gdb_wait.h, and ... | |
1126 | (store_waitstatus): ... this ... | |
1127 | * inf-child.c: ... here. | |
1128 | * linux-nat.c: Include inf-child.h. | |
1129 | * rs6000-nat.c: Include inf-child.h. | |
1130 | * spu-linux-nat.c: Include inf-child.h. | |
1131 | ||
43011e52 PM |
1132 | 2012-05-22 Pierre Muller <[email protected]> |
1133 | ||
1134 | * tracepoint.c (start_tracing): Add missing i18n markup. | |
1135 | (stop_tracing, set_trace_user): Ditto. | |
1136 | (set_trace_notes, set_trace_stop_notes): Ditto. | |
1137 | ||
b1af9e97 TT |
1138 | 2012-05-21 Tom Tromey <[email protected]> |
1139 | ||
1140 | PR c++/7173: | |
1141 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Return early for Java | |
1142 | types. | |
1143 | * value.h (value_cast_pointers): Update. | |
1144 | * valops.c (value_cast_pointers): Add 'subclass_check' argument. | |
1145 | (value_cast): Update. | |
1146 | (update_search_result): New function. | |
1147 | (do_search_struct_field): New, from search_struct_field. Check | |
1148 | for ambiguous results. | |
1149 | (search_struct_field): Rewrite. | |
1150 | * infcall.c (value_arg_coerce): Update. | |
1151 | * eval.c (evaluate_subexp_standard) <STRUCTOP_MEMBER>: Use | |
1152 | value_cast_pointers. | |
1153 | * ada-lang.c (ada_convert_actual): Update. | |
1154 | ||
e9e5e6b3 TT |
1155 | 2012-05-21 Tom Tromey <[email protected]> |
1156 | ||
1157 | * macroexp.c (macro_stringify): Terminate the string. | |
1158 | ||
1564a261 JK |
1159 | 2012-05-20 Jan Kratochvil <[email protected]> |
1160 | ||
1161 | * NEWS (--with-auto-load-dir): Prepend $debugdir to the default path. | |
1162 | Describe it. | |
1163 | * auto-load.c (auto_load_expand_dir_vars): New function. | |
1164 | (auto_load_safe_path_vec_update): Use it, remove the | |
1165 | substitute_path_component call thanks to it. | |
1166 | (auto_load_objfile_script): Remove the debug_file_directory processing. | |
1167 | Use auto_load_expand_dir_vars, remove the substitute_path_component | |
1168 | call thanks to it. | |
1169 | * configure: Regenerate. | |
1170 | * configure.ac (--with-auto-load-dir): Prepend $debugdir to the default | |
1171 | path. Escape $ also for $debugdir. | |
1172 | (--with_auto_load_safe_path): Escape $ also for $debugdir. | |
1173 | * utils.c (substitute_path_component): Accept also DIRNAME_SEPARATOR. | |
1174 | ||
a3ec0bb1 DE |
1175 | 2012-05-20 Doug Evans <[email protected]> |
1176 | ||
1177 | * dwarf2read.c (recursively_find_pc_sect_symtab): Initialize "s" | |
1178 | before use. Check for symtab->includes == NULL before scanning it. | |
1179 | ||
d467df4e MR |
1180 | 2012-05-18 Maciej W. Rozycki <[email protected]> |
1181 | ||
1182 | * mips-tdep.c (mips_reg3_to_reg): Optimize storage. | |
1183 | ||
4cc0665f MR |
1184 | 2012-05-18 Maciej W. Rozycki <[email protected]> |
1185 | ||
1186 | * NEWS: Add microMIPS support and "set mips compression", | |
1187 | "show mips compression" commands. | |
1188 | * mips-tdep.h (mips_isa): New enum. | |
1189 | (gdbarch_tdep): Add mips_isa. | |
1190 | (mips_pc_is_mips16): Update prototype. | |
1191 | (mips_pc_is_mips, mips_pc_is_micromips): New prototypes. | |
1192 | * mips-tdep.c (mips_compression_mips16): New variable. | |
1193 | (mips_compression_micromips): Likewise. | |
1194 | (mips_compression_strings): Likewise. | |
1195 | (mips_compression_string): Likewise. | |
1196 | (is_mips16_isa, is_micromips_isa): New functions. | |
1197 | (is_mips16_addr): Rename to... | |
1198 | (is_compact_addr): ... this. | |
1199 | (unmake_mips16_addr): Likewise to... | |
1200 | (unmake_compact_addr): ... this. | |
1201 | (make_mips16_addr): Likewise to... | |
1202 | (make_compact_addr): ... this. | |
1203 | (is_mips_addr, is_mips16_addr, is_micromips_addr): New | |
1204 | functions. | |
1205 | (mips_elf_make_msymbol_special): Handle microMIPS code. | |
1206 | (msymbol_is_special): Rename to... | |
1207 | (msymbol_is_mips16): ... this. | |
1208 | (mips_make_symbol_special, mips_pc_is_mips16): Update | |
1209 | accordingly. | |
1210 | (msymbol_is_mips, msymbol_is_micromips): New functions. | |
1211 | (mips16_to_32_reg): Rename to... | |
1212 | (mips_reg3_to_reg): ... this. | |
1213 | (mips_pc_is_mips, mips_pc_is_micromips): New functions. | |
1214 | (mips_pc_isa): Likewise. | |
1215 | (mips_read_pc, mips_unwind_pc, mips_write_pc): Handle microMIPS | |
1216 | code. | |
1217 | (mips_fetch_instruction): Pass return status instead of printing | |
1218 | an error message if requested. Handle microMIPS code. Bail out | |
1219 | on an invalid ISA. | |
1220 | (micromips_op): New macro. | |
1221 | (b0s4_imm, b0s5_imm, b0s5_reg, b0s7_imm, b0s10_imm): Likewise. | |
1222 | (b1s9_imm, b2s3_cc, b4s2_regl, b5s5_op, b5s5_reg): Likewise. | |
1223 | (b6s4_op, b7s3_reg): Likewise. | |
1224 | (b0s6_op, b0s11_op, b0s12_imm, b0s16_imm, b0s26_imm): Likewise. | |
1225 | (b6s10_ext, b11s5_reg, b12s4_op): Likewise. | |
1226 | (mips_insn_size): New function. | |
1227 | (mips32_next_pc): Update mips_fetch_instruction call. | |
1228 | (micromips_relative_offset7): New function. | |
1229 | (micromips_relative_offset10): Likewise. | |
1230 | (micromips_relative_offset16): Likewise. | |
1231 | (micromips_pc_insn_size): Likewise. | |
1232 | (micromips_bc1_pc): Likewise. | |
1233 | (micromips_next_pc): Likewise. | |
1234 | (unpack_mips16): Update mips_fetch_instruction call. | |
1235 | (extended_mips16_next_pc): Update according to change to | |
1236 | mips16_to_32_reg. | |
1237 | (mips_next_pc): Update mips_pc_is_mips16 call. Handle microMIPS | |
1238 | code. | |
1239 | (mips16_scan_prologue): Update mips_fetch_instruction call. | |
1240 | Update according to change to mips16_to_32_reg. | |
1241 | (mips_insn16_frame_sniffer): Update mips_pc_is_mips16 call. | |
1242 | (mips_insn16_frame_base_sniffer): Likewise. | |
1243 | (micromips_decode_imm9): New function. | |
1244 | (micromips_scan_prologue): Likewise. | |
1245 | (mips_micro_frame_cache): Likewise. | |
1246 | (mips_micro_frame_this_id): Likewise. | |
1247 | (mips_micro_frame_prev_register): Likewise. | |
1248 | (mips_micro_frame_sniffer): Likewise. | |
1249 | (mips_micro_frame_unwind): New variable. | |
1250 | (mips_micro_frame_base_address): New function. | |
1251 | (mips_micro_frame_base): New variable. | |
1252 | (mips_micro_frame_base_sniffer): New function. | |
1253 | (mips32_scan_prologue): Update mips_fetch_instruction call. | |
1254 | (mips_insn32_frame_sniffer): Check for the standard MIPS ISA | |
1255 | rather than for MIPS16. | |
1256 | (mips_insn32_frame_base_sniffer): Likewise. | |
1257 | (mips_addr_bits_remove): Handle microMIPS code. | |
1258 | (deal_with_atomic_sequence): Rename to... | |
1259 | (mips_deal_with_atomic_sequence): ... this. Update the type | |
1260 | of the variable used to hold an instruction. Remove the ISA bit | |
1261 | check. Update mips_fetch_instruction call. | |
1262 | (micromips_deal_with_atomic_sequence): New function. | |
1263 | (deal_with_atomic_sequence): Likewise. | |
1264 | (mips_about_to_return): Handle microMIPS code. Update | |
1265 | mips_fetch_instruction call. | |
1266 | (heuristic_proc_start): Check for the standard MIPS ISA rather | |
1267 | than for MIPS16. Update mips_pc_is_mips16 and | |
1268 | mips_fetch_instruction calls. Handle microMIPS code. | |
1269 | (mips_push_dummy_code): Handle microMIPS code. | |
1270 | (mips_eabi_push_dummy_call): Likewise. | |
1271 | (mips_o32_return_value): Update mips_pc_is_mips16 call. | |
1272 | (mips_o64_push_dummy_call): Handle microMIPS code. | |
1273 | (mips_o64_return_value): Update mips_pc_is_mips16 call. | |
1274 | (is_delayed): Remove function. | |
1275 | (mips_single_step_through_delay): Replace the call to is_delayed | |
1276 | with mips32_instruction_has_delay_slot. Correct MIPS16 handling. | |
1277 | Handle microMIPS code. | |
1278 | (mips_skip_prologue): Update mips_pc_is_mips16 call. Handle | |
1279 | microMIPS code. | |
1280 | (mips32_in_function_epilogue_p): Update mips_fetch_instruction | |
1281 | call. | |
1282 | (micromips_in_function_epilogue_p): New function. | |
1283 | (mips16_in_function_epilogue_p): Update mips_fetch_instruction | |
1284 | call. | |
1285 | (mips_in_function_epilogue_p): Update mips_pc_is_mips16 call. | |
1286 | Handle microMIPS. | |
1287 | (gdb_print_insn_mips): Likewise. | |
1288 | (mips_breakpoint_from_pc): Likewise. | |
1289 | (mips_remote_breakpoint_from_pc): New function. | |
1290 | (mips32_instruction_has_delay_slot): Simplify making use of the | |
1291 | updated mips_fetch_instruction interface. | |
1292 | (micromips_instruction_has_delay_slot): New function. | |
1293 | (mips16_instruction_has_delay_slot): Simplify making use of the | |
1294 | updated mips_fetch_instruction interface. | |
1295 | (mips_adjust_breakpoint_address): Check for the standard MIPS | |
1296 | ISA rather than for MIPS16 ISA. Update for unmake_compact_addr | |
1297 | calls. Handle microMIPS code. | |
1298 | (mips_get_mips16_fn_stub_pc): Update mips_fetch_instruction call. | |
1299 | (mips_skip_trampoline_code): Handle microMIPS code. | |
1300 | (global_mips_compression): New function. | |
1301 | (mips_gdbarch_init): Handle the compressed ISA setting from ELF | |
1302 | file flags. Register the microMIPS remote breakpoint handler | |
1303 | and heuristic frame unwinder. | |
1304 | (show_mips_compression): New function. | |
1305 | (_initialize_mips_tdep): Add the "set mips compression" and | |
1306 | "show mips compression" commands. | |
1307 | ||
22e048c9 SDJ |
1308 | 2012-05-18 Sergio Durigan Junior <[email protected]> |
1309 | ||
1310 | * ada-lang.c: | |
1311 | * ada-tasks.c: | |
1312 | * ada-varobj.c: | |
1313 | * amd64-darwin-tdep.c: | |
1314 | * arm-symbian-tdep.c: | |
1315 | * arm-tdep.c: | |
1316 | * avr-tdep.c: | |
1317 | * ax-gdb.c: | |
1318 | * bfin-linux-tdep.c: | |
1319 | * breakpoint.c: | |
1320 | * c-valprint.c: | |
1321 | * cli/cli-cmds.c: | |
1322 | * coffread.c: | |
1323 | * cp-support.c: | |
1324 | * cris-tdep.c: | |
1325 | * dwarf2-frame-tailcall.c: | |
1326 | * dwarf2-frame.c: | |
1327 | * dwarf2expr.c: | |
1328 | * dwarf2loc.c: | |
1329 | * dwarf2read.c: | |
1330 | * elfread.c: | |
1331 | * eval.c: | |
1332 | * expprint.c: | |
1333 | * f-valprint.c: | |
1334 | * frv-tdep.c: | |
1335 | * h8300-tdep.c: | |
1336 | * hppa-hpux-tdep.c: | |
1337 | * hppa-tdep.c: | |
1338 | * hppanbsd-tdep.c: | |
1339 | * i386-nto-tdep.c: | |
1340 | * i386-tdep.c: | |
1341 | * i387-tdep.c: | |
1342 | * ia64-tdep.c: | |
1343 | * jit.c: | |
1344 | * linespec.c: | |
1345 | * linux-tdep.c: | |
1346 | * lm32-tdep.c: | |
1347 | * m2-valprint.c: | |
1348 | * m32c-tdep.c: | |
1349 | * m32r-rom.c: | |
1350 | * m32r-tdep.c: | |
1351 | * m68k-tdep.c: | |
1352 | * m68klinux-tdep.c: | |
1353 | * mi/mi-main.c: | |
1354 | * microblaze-tdep.c: | |
1355 | * mips-linux-tdep.c: | |
1356 | * mips-tdep.c: | |
1357 | * mn10300-tdep.c: | |
1358 | * p-valprint.c: | |
1359 | * parse.c: | |
1360 | * ppc-linux-tdep.c: | |
1361 | * ppc-sysv-tdep.c: | |
1362 | * printcmd.c: | |
1363 | * python/py-finishbreakpoint.c: | |
1364 | * python/py-inferior.c: | |
1365 | * python/py-infthread.c: | |
1366 | * python/py-type.c: | |
1367 | * python/python.c: | |
1368 | * remote-fileio.c: | |
1369 | * remote-m32r-sdi.c: | |
1370 | * remote-mips.c: | |
1371 | * reverse.c: | |
1372 | * rl78-tdep.c: | |
1373 | * rs6000-aix-tdep.c: | |
1374 | * rs6000-tdep.c: | |
1375 | * s390-tdep.c: | |
1376 | * score-tdep.c: | |
1377 | * sh64-tdep.c: | |
1378 | * skip.c: | |
1379 | * solib-darwin.c: | |
1380 | * solib-dsbt.c: | |
1381 | * solib-frv.c: | |
1382 | * sparc-tdep.c: | |
1383 | * spu-multiarch.c: | |
1384 | * spu-tdep.c: | |
1385 | * stack.c: | |
1386 | * symfile.c: | |
1387 | * symtab.c: | |
1388 | * tic6x-tdep.c: | |
1389 | * tracepoint.c: | |
1390 | * v850-tdep.c: | |
1391 | * valarith.c: | |
1392 | * valprint.c: | |
1393 | * value.c: | |
1394 | * xcoffread.c: | |
1395 | * xtensa-tdep.c: | |
1396 | * ada-lang.c: | |
1397 | * ada-tasks.c: | |
1398 | * ada-varobj.c: | |
1399 | * amd64-darwin-tdep.c: | |
1400 | * arm-symbian-tdep.c: | |
1401 | * arm-tdep.c: Delete unused variables. | |
1402 | ||
aff139ff JK |
1403 | 2012-05-18 Jan Kratochvil <[email protected]> |
1404 | ||
1405 | Rename $ddir to $datadir. | |
1406 | * NEWS (--with-auto-load-dir): Rename $ddir to $datadir. | |
1407 | * auto-load.c (auto_load_safe_path_vec_update) | |
1408 | (auto_load_gdb_datadir_changed, auto_load_objfile_script): Likewise. | |
1409 | * configure: Regenerate. | |
1410 | * configure.ac (--with-auto-load-dir, --with-auto-load-safe-path): | |
1411 | Likewise. Remove the 'use $ddir' help string. | |
1412 | ||
f7bfa992 JK |
1413 | 2012-05-18 Jan Kratochvil <[email protected]> |
1414 | ||
1415 | * auto-load.c (show_auto_load_safe_path): Accept any combination of | |
1416 | DIRNAME_SEPARATOR and IS_DIR_SEPARATOR for wild-match. | |
1417 | ||
9cb709b6 TT |
1418 | 2012-05-18 Tom Tromey <[email protected]> |
1419 | ||
1420 | PR exp/13907: | |
1421 | * valprint.h (struct value_print_options) <symbol_print>: New | |
1422 | field. | |
1423 | * valprint.c (user_print_options): Add default for symbol_print. | |
1424 | (show_symbol_print): New function. | |
1425 | (generic_val_print): Respect symbol_print. | |
1426 | (_initialize_valprint): Add "print symbol" setting. | |
1427 | * f-valprint.c (f_val_print): Respect symbol_print. | |
1428 | * c-valprint.c (c_val_print): Respect symbol_print. | |
1429 | * NEWS: Update. | |
1430 | * printcmd.c (print_address_symbolic): Return int. Ignore some | |
1431 | zero-size symbols. | |
1432 | (print_address_demangle): Return int. | |
1433 | * defs.h: (print_address_symbolic): Return int. | |
1434 | * value.h (print_address_demangle): Return int. | |
1435 | ||
b012acdd TT |
1436 | 2012-05-18 Tom Tromey <[email protected]> |
1437 | ||
1438 | * valprint.c (val_print_string): Don't print leading space. | |
1439 | * p-valprint.c (pascal_val_print) <TYPE_CODE_PTR>: Optionally | |
1440 | print space before string or vtbl. | |
1441 | * m2-valprint.c (print_unpacked_pointer): Optionally print space | |
1442 | before string. | |
1443 | * jv-valprint.c (java_value_print): Print space before string. | |
1444 | * go-valprint.c (print_go_string): Print space before string. | |
1445 | * f-valprint.c (f_val_print) <TYPE_CODE_PTR>: Optionally print | |
1446 | space before string. | |
1447 | * c-valprint.c (c_val_print) <TYPE_CODE_PTR>: Optionally print | |
1448 | space before string or vtbl. | |
1449 | * auxv.c (fprint_target_auxv): Print space after address. | |
1450 | ||
1d51a733 TT |
1451 | 2012-05-18 Tom Tromey <[email protected]> |
1452 | ||
1453 | * printcmd.c (print_address_demangle): Remove special case for 0. | |
1454 | ||
edf0c1b7 TT |
1455 | 2012-05-18 Tom Tromey <[email protected]> |
1456 | ||
1457 | * printcmd.c (print_address_demangle): Add 'opts' argument. | |
1458 | * p-valprint.c (pascal_val_print): Update. | |
1459 | * jv-valprint.c (java_val_print): Update. | |
1460 | * value.h: Update. | |
1461 | * valprint.c (generic_val_print): Update. | |
1462 | (print_function_pointer_address): Add 'options' argument. Remove | |
1463 | 'addressprint' argument. Update. | |
1464 | * m2-valprint.c (print_unpacked_pointer): Update. | |
1465 | * gnu-v3-abi.c (print_one_vtable): Update. | |
1466 | (gnuv3_print_method_ptr): Update. | |
1467 | * f-valprint.c (f_val_print): Update. | |
1468 | * cp-valprint.c (cp_print_value_fields): Update. | |
1469 | * valprint.h (print_function_pointer_address): Update. | |
1470 | * c-valprint.c (c_val_print): Update. | |
1471 | ||
9703b513 TT |
1472 | 2012-05-18 Tom Tromey <[email protected]> |
1473 | ||
1474 | * psymtab.c (find_pc_sect_symtab_from_partial): Return the symtab | |
1475 | directly corresponding to the found psymtab. | |
1476 | * dwarf2read.c (recursively_find_pc_sect_symtab): New function. | |
1477 | (dw2_find_pc_sect_symtab): Use it. | |
1478 | * block.h (blockvector_contains_pc): Declare. | |
1479 | * block.c (find_block_in_blockvector): New function. | |
1480 | (blockvector_for_pc_sect): Use it. | |
1481 | (blockvector_contains_pc): New function. | |
1482 | ||
5a439849 MR |
1483 | 2012-05-18 Maciej W. Rozycki <[email protected]> |
1484 | ||
1485 | * mips-tdep.h (mips_write_pc): New prototype. | |
1486 | * mips-tdep.c (mips_write_pc): Make external, add description. | |
1487 | * mips-linux-tdep.c (mips_linux_write_pc): Use mips_write_pc, | |
1488 | add description. | |
1489 | ||
8376de04 MR |
1490 | 2012-05-18 Maciej W. Rozycki <[email protected]> |
1491 | ||
1492 | * mips-tdep.c (mips_read_pc): Use gdbarch_pc_regnum instead of | |
1493 | mips_regnum->pc. | |
1494 | (mips_unwind_pc, mips_write_pc): Likewise. | |
1495 | (mips_gdbarch_init): Remove a comment on gdbarch_pc_regnum and | |
1496 | gdbarch_read_pc. | |
1497 | ||
d3581e61 JB |
1498 | 2012-05-17 Joel Brobecker <[email protected]> |
1499 | ||
1500 | * procfs.c (procfs_find_new_threads, procfs_pid_to_str, | |
1501 | proc_warn, proc_error, proc_get_status, proc_flags, | |
1502 | proc_why, proc_what, proc_nsysarg, proc_sysargs, | |
1503 | proc_set_run_on_last_close, proc_unset_run_on_last_close, | |
1504 | proc_unset_inherit_on_fork, proc_set_async, proc_unset_async, | |
1505 | proc_stop_process, proc_wait_for_stop, proc_run_process, | |
1506 | proc_set_traced_signals, proc_set_traced_faults, | |
1507 | proc_set_traced_sysentry, proc_set_traced_sysexit, | |
1508 | proc_set_held_signals, proc_get_held_signals, | |
1509 | proc_get_traced_signals, proc_get_traced_faults, | |
1510 | proc_get_traced_sysentry, proc_get_traced_sysexit, | |
1511 | proc_clear_current_fault, proc_set_current_signal, | |
1512 | proc_clear_current_signal, proc_get_gregs, proc_get_fpregs, | |
1513 | proc_set_gregs, proc_set_fpregs, proc_kill, proc_parent_pid, | |
1514 | proc_get_nthreads, proc_get_nthreads, proc_get_nthreads, | |
1515 | proc_get_current_thread, proc_get_current_thread, | |
1516 | proc_get_current_thread, proc_update_threads, | |
1517 | proc_update_threads, proc_update_threads, proc_update_threads, | |
1518 | proc_iterate_over_threads, procfs_find_new_threads, | |
1519 | procfs_pid_to_str): Make static. Remove advance declaration. | |
1520 | (proc_cursig): Make static. Conditionalized defintion on | |
1521 | PROCFS_DONT_PIOCSSIG_CURSIG being defined. | |
1522 | (proc_syscall, proc_set_kill_on_last_close, | |
1523 | proc_unset_kill_on_last_close, proc_set_inherit_on_fork, | |
1524 | proc_get_pending_signals, proc_get_signal_actions, | |
1525 | proc_trace_signal, proc_ignore_signal): Delete. | |
1526 | ||
81b9b86e SDJ |
1527 | 2012-05-16 Sergio Durigan Junior <[email protected]> |
1528 | ||
1529 | * coffread.c (cs_section_address): Passing proper argument for | |
1530 | `bfd_get_section_vma'. | |
1531 | * dwarf2read.c (dwarf2_locate_sections): Likewise, for | |
1532 | `bfd_get_section_flags'. | |
1533 | * remote.c (remote_trace_set_readonly_regions): Likewise, for | |
1534 | `bfd_get_section_vma'. | |
1535 | ||
abc9d0dc TT |
1536 | 2012-05-16 Tom Tromey <[email protected]> |
1537 | ||
1538 | PR macros/13205: | |
1539 | * macrotab.h: (macro_define_special): Declare. | |
1540 | (enum macro_special_kind): New. | |
1541 | (struct macro_definition) <argc, replacement>: Update comments. | |
1542 | * macrotab.c (new_macro_definition): Unconditionally set 'argc'. | |
1543 | (macro_define_object_internal): New function. | |
1544 | (macro_define_object): Use it. | |
1545 | (macro_define_special): New function. | |
1546 | (fixup_definition): New function. | |
1547 | (macro_lookup_definition, foreach_macro_in_scope) | |
1548 | (foreach_macro): Use fixup_definition. | |
1549 | * macroexp.h (macro_stringify): Declare. | |
1550 | * macroexp.c (free_buffer_return_text): New function. | |
1551 | (stringify): Constify "arg". | |
1552 | (macro_stringify): New function. | |
1553 | * dwarf2read.c (macro_start_file): Call macro_define_special. | |
1554 | ||
6a3a010b MR |
1555 | 2012-05-16 Maciej W. Rozycki <[email protected]> |
1556 | Maciej W. Rozycki <[email protected]> | |
1557 | ||
1558 | * breakpoint.h (bp_location): Add related_address member. | |
1559 | * inferior.h (get_return_value): Take a pointer to struct value | |
1560 | instead of struct type for the function requested. | |
1561 | * value.h (using_struct_return): Likewise. | |
1562 | * gdbarch.sh (return_value): Take a pointer to struct value | |
1563 | instead of struct type for the function requested. | |
1564 | * breakpoint.c (set_breakpoint_location_function): Initialize | |
1565 | related_address for bp_gnu_ifunc_resolver breakpoints. | |
1566 | * elfread.c (elf_gnu_ifunc_resolver_return_stop): Pass the | |
1567 | requested function's address to gdbarch_return_value. | |
1568 | * eval.c (evaluate_subexp_standard): Pass the requested | |
1569 | function's address to using_struct_return. | |
1570 | * infcall.c (call_function_by_hand): Pass the requested | |
1571 | function's address to using_struct_return and | |
1572 | gdbarch_return_value. | |
1573 | * infcmd.c (get_return_value): Take a pointer to struct value | |
1574 | instead of struct type for the function requested. | |
1575 | (print_return_value): Update accordingly. | |
1576 | (finish_command_continuation): Likewise. | |
1577 | * stack.c (return_command): Pass the requested function's | |
1578 | address to using_struct_return and gdbarch_return_value. | |
1579 | * value.c (using_struct_return): Take a pointer to struct value | |
1580 | instead of struct type for the function requested. Pass the | |
1581 | requested function's address to gdbarch_return_value. | |
1582 | * python/py-finishbreakpoint.c (finish_breakpoint_object): | |
1583 | New function_value member, replacing function_type. | |
1584 | (bpfinishpy_dealloc): Update accordingly. | |
1585 | (bpfinishpy_pre_stop_hook): Likewise. | |
1586 | (bpfinishpy_init): Likewise. Record the requested function's | |
1587 | address. | |
1588 | * mips-tdep.c (mips_fval_reg): New enum. | |
1589 | (mips_o32_push_dummy_call): For MIPS16 FP doubles do not swap | |
1590 | words put in GP registers. | |
1591 | (mips_o64_push_dummy_call): Update a comment. | |
1592 | (mips_o32_return_value): Take a pointer to struct value instead | |
1593 | of struct type for the function requested and use it to check if | |
1594 | using the MIPS16 calling convention. Return the designated | |
1595 | general purpose registers for floating-point values returned in | |
1596 | MIPS16 mode. | |
1597 | (mips_o64_return_value): Likewise. | |
1598 | * ppc-tdep.h (ppc_sysv_abi_return_value): Update prototype. | |
1599 | (ppc_sysv_abi_broken_return_value): Likewise. | |
1600 | (ppc64_sysv_abi_return_value): Likewise. | |
1601 | * alpha-tdep.c (alpha_return_value): Take a pointer to struct | |
1602 | value instead of struct type for the function requested. | |
1603 | * amd64-tdep.c (amd64_return_value): Likewise. | |
1604 | * amd64-windows-tdep.c (amd64_windows_return_value): Likewise. | |
1605 | * arm-tdep.c (arm_return_value): Likewise. | |
1606 | * avr-tdep.c (avr_return_value): Likewise. | |
1607 | * bfin-tdep.c (bfin_return_value): Likewise. | |
1608 | * cris-tdep.c (cris_return_value): Likewise. | |
1609 | * frv-tdep.c (frv_return_value): Likewise. | |
1610 | * h8300-tdep.c (h8300_return_value): Likewise. | |
1611 | (h8300h_return_value): Likewise. | |
1612 | * hppa-tdep.c (hppa32_return_value): Likewise. | |
1613 | (hppa64_return_value): Likewise. | |
1614 | * i386-tdep.c (i386_return_value): Likewise. | |
1615 | * ia64-tdep.c (ia64_return_value): Likewise. | |
1616 | * iq2000-tdep.c (iq2000_return_value): Likewise. | |
1617 | * lm32-tdep.c (lm32_return_value): Likewise. | |
1618 | * m32c-tdep.c (m32c_return_value): Likewise. | |
1619 | * m32r-tdep.c (m32r_return_value): Likewise. | |
1620 | * m68hc11-tdep.c (m68hc11_return_value): Likewise. | |
1621 | * m68k-tdep.c (m68k_return_value): Likewise. | |
1622 | (m68k_svr4_return_value): Likewise. | |
1623 | * m88k-tdep.c (m88k_return_value): Likewise. | |
1624 | * mep-tdep.c (mep_return_value): Likewise. | |
1625 | * microblaze-tdep.c (microblaze_return_value): Likewise. | |
1626 | * mn10300-tdep.c (mn10300_return_value): Likewise. | |
1627 | * moxie-tdep.c (moxie_return_value): Likewise. | |
1628 | * mt-tdep.c (mt_return_value): Likewise. | |
1629 | * ppc-linux-tdep.c (ppc_linux_return_value): Likewise. | |
1630 | * ppc-sysv-tdep.c (ppc_sysv_abi_return_value): Likewise. | |
1631 | (ppc_sysv_abi_broken_return_value): Likewise. | |
1632 | (ppc64_sysv_abi_return_value): Likewise. | |
1633 | * ppcnbsd-tdep.c (ppcnbsd_return_value): Likewise. | |
1634 | * rl78-tdep.c (rl78_return_value): Likewise. | |
1635 | * rs6000-aix-tdep.c (rs6000_return_value): Likewise. | |
1636 | * rx-tdep.c (rx_return_value): Likewise. | |
1637 | * s390-tdep.c (s390_return_value): Likewise. | |
1638 | * score-tdep.c (score_return_value): Likewise. | |
1639 | * sh-tdep.c (sh_return_value_nofpu): Likewise. | |
1640 | (sh_return_value_fpu): Likewise. | |
1641 | * sh64-tdep.c (sh64_return_value): Likewise. | |
1642 | * sparc-tdep.c (sparc32_return_value): Likewise. | |
1643 | * sparc64-tdep.c (sparc64_return_value): Likewise. | |
1644 | * spu-tdep.c (spu_return_value): Likewise. | |
1645 | * tic6x-tdep.c (tic6x_return_value): Likewise. | |
1646 | * v850-tdep.c (v850_return_value): Likewise. | |
1647 | * vax-tdep.c (vax_return_value): Likewise. | |
1648 | * xstormy16-tdep.c (xstormy16_return_value): Likewise. | |
1649 | * xtensa-tdep.c (xtensa_return_value): Likewise. | |
1650 | * gdbarch.c: Regenerate. | |
1651 | * gdbarch.h: Regenerate. | |
1652 | ||
29ca12b3 TT |
1653 | 2012-05-15 Tom Tromey <[email protected]> |
1654 | ||
1655 | * python/python.c (gdbpy_find_pc_line): Use gdb_py_ulongest. | |
1656 | ||
588ae58c JB |
1657 | 2012-05-15 Joel Brobecker <[email protected]> |
1658 | ||
1659 | * breakpoint.c (init_breakpoint_sal): Add quotes around part | |
1660 | of command in two error message. | |
1661 | ||
855a6e68 JB |
1662 | 2012-05-15 Joel Brobecker <[email protected]> |
1663 | ||
1664 | * breakpoint.c (init_breakpoint_sal): Remove trailing spaces. | |
1665 | ||
d634f2de JB |
1666 | 2012-05-15 Joel Brobecker <[email protected]> |
1667 | ||
1668 | * breakpoint.c (find_condition_and_thread): Minor reformatting. | |
1669 | ||
9cc815f5 JK |
1670 | 2012-05-15 Jan Kratochvil <[email protected]> |
1671 | ||
1672 | * NEWS (show auto-load scripts-directory): Add forgotten command. | |
1673 | ||
6a609e58 JK |
1674 | 2012-05-15 Jan Kratochvil <[email protected]> |
1675 | ||
1676 | * spu-tdep.c (spu_catch_start): Update create_breakpoint caller | |
1677 | parameters. | |
1678 | ||
ac1438b5 L |
1679 | 2012-05-14 H.J. Lu <[email protected]> |
1680 | ||
1681 | * amd64-tdep.c: Include features/i386/x32.c and | |
1682 | features/i386/x32-avx.c. | |
1683 | (_initialize_amd64_tdep): Call initialize_tdesc_x32 and | |
1684 | initialize_tdesc_x32_avx. | |
1685 | ||
e7e0cddf SS |
1686 | 2012-05-14 Stan Shebs <[email protected]> |
1687 | ||
1688 | Add dynamic printf. | |
1689 | * breakpoint.h (enum bptype): New type bp_dprintf. | |
1690 | (struct breakpoint): New field extra_string. | |
1691 | (struct breakpoint_ops): Add arg to create_breakpoints_sal. | |
1692 | (create_breakpoint): Add extra_string arg. | |
1693 | * breakpoint.c (dprintf_breakpoint_ops): New. | |
1694 | (is_breakpoint): Add bp_dprintf. | |
1695 | (bpstat_what): Add dprintf case. | |
1696 | (bptype_string): Ditto. | |
1697 | (print_one_breakpoint_location): Ditto. | |
1698 | (init_bp_location): Ditto. | |
1699 | (bkpt_print_mention): Ditto. | |
1700 | (dprintf_style_enums): New array. | |
1701 | (dprintf_style): New global. | |
1702 | (dprintf_function): New global. | |
1703 | (dprintf_channel): New global. | |
1704 | (update_dprintf_command_list): New function. | |
1705 | (update_dprintf_commands): New function. | |
1706 | (init_breakpoint_sal): Add extra_string argument, handle it. | |
1707 | (create_breakpoint_sal): Add extra_string argument. | |
1708 | (create_breakpoints_sal): Add extra_string argument, update callers. | |
1709 | (find_condition_and_thread): Add extra argument. | |
1710 | (create_breakpoint): Add extra_string argument, record it. | |
1711 | (dprintf_command): New function. | |
1712 | (break_command_1): Add arg to create_breakpoint call. | |
1713 | (handle_gnu_v3_exceptions): Ditto. | |
1714 | (trace_command): Ditto. | |
1715 | (ftrace_command): Ditto. | |
1716 | (strace_command): Ditto. | |
1717 | (bkpt_print_mention): Add dprintf case. | |
1718 | (create_breakpoint_sal_default): Add extra_string argument. | |
1719 | (_initialize_breakpoint): Add new commands. | |
1720 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Add arg to call. | |
1721 | * python/py-breakpoint.c (bppy_init): Ditto. | |
1722 | * python/py-finishbreakpoint.c (bpfinishpy_init): Ditto. | |
1723 | ||
8ae38c14 MR |
1724 | 2012-05-14 Maciej W. Rozycki <[email protected]> |
1725 | ||
1726 | * mips-tdep.c (mips_push_dummy_code): Correct description typo. | |
1727 | ||
9f676e66 SCR |
1728 | 2012-05-14 Siva Chandra Reddy <[email protected]> |
1729 | ||
1730 | * python/python.c (gdbpy_find_pc_line): Use ULONGEST instead of | |
1731 | unsigned long long. | |
1732 | ||
7efc75aa SCR |
1733 | 2012-05-13 Siva Chandra Reddy <[email protected]> |
1734 | ||
1735 | Add a new function gdb.find_pc_line to the Python API. | |
1736 | * NEWS (Python Scripting): Add entry about the new function. | |
1737 | * python/python.c (gdbpy_find_pc_line): New function which | |
1738 | implements gdb.find_pc_line. | |
1739 | (GdbMethods): Add entry for the new function. | |
1740 | ||
70af3797 PA |
1741 | 2012-05-12 Pedro Alves <[email protected]> |
1742 | ||
1743 | * amd64-linux-tdep.c (_initialize_amd64_linux_tdep): Call | |
1744 | initialize_tdesc_x32_linux and initialize_tdesc_x32_avx_linux. | |
1745 | ||
06da564e EZ |
1746 | 2012-05-12 Eli Zaretskii <[email protected]> |
1747 | ||
1748 | * inferior.c: Include completer.h | |
1749 | (initialize_inferiors): Set completer of add-inferior to | |
1750 | filename_completer. | |
1751 | ||
0288cee2 L |
1752 | 2012-05-11 H.J. Lu <[email protected]> |
1753 | ||
1754 | * amd64-linux-tdep.c (amd64_linux_core_read_description): Check | |
1755 | gdbarch_ptr_bit for x32 core dump. | |
1756 | ||
f6537a2c L |
1757 | 2012-05-11 H.J. Lu <[email protected]> |
1758 | ||
1759 | * amd64-linux-tdep.c: Include features/i386/x32-linux.c | |
1760 | and features/i386/x32-avx-linux.c. | |
1761 | ||
85d4a676 SS |
1762 | 2012-05-11 Stan Shebs <[email protected]> |
1763 | Kwok Cheung Yeung <[email protected]> | |
1764 | ||
1765 | * NEWS: Describe new info os commands. | |
1766 | * common/linux-osdata.c (PID_T, TIME_T): Define. | |
1767 | (MAX_PID_T_STRLEN): New. | |
1768 | (linux_common_core_of_thread): Add comment. Change to use PID_T and | |
1769 | MAX_PID_T_STRLEN. | |
1770 | (command_from_pid): Add comment. Change to use PID_T. | |
1771 | (commandline_from_pid): Change to use PID_T. | |
1772 | (user_from_pid): Add comment. | |
1773 | (get_process_owner): Add comment. Change to use PID_T and | |
1774 | MAX_PID_T_STRLEN. | |
1775 | (get_number_of_cpu_cores): Add comment. | |
1776 | (get_cores_used_by_process): Add comment. Change to use PID_T and | |
1777 | MAX_PID_T_STRLEN. | |
1778 | (linux_xfer_osdata_processes): Change to use PID_T and | |
1779 | MAX_PID_T_STRLEN. | |
1780 | (compare_processes): New function. | |
1781 | (linux_xfer_osdata_processgroups): New function. | |
1782 | (linux_xfer_osdata_threads): Change to use PID_T. | |
1783 | (linux_xfer_osdata_fds): New function. | |
1784 | (format_socket_state, print_sockets): New functions. | |
1785 | (union socket_addr): New union. | |
1786 | (linux_xfer_osdata_isockets): New function. | |
1787 | (time_from_time_t, group_from_gid): New functions. | |
1788 | (linux_xfer_osdata_shm): New function. | |
1789 | (linux_xfer_osdata_sem): New function. | |
1790 | (linux_xfer_osdata_msg): New function. | |
1791 | (linux_xfer_osdata_modules): New function. | |
1792 | (osdata_table): Add new entries. | |
1793 | * common/buffer.c (buffer_xml_printf): Add support for long and | |
1794 | long long format specifiers. | |
1795 | ||
f24afd6d L |
1796 | 2012-05-11 H.J. Lu <[email protected]> |
1797 | ||
1798 | * amd64-linux-tdep.h (tdesc_x32_linux): New. | |
1799 | (tdesc_x32_avx_linux): Likewise. | |
1800 | ||
7349ff92 JK |
1801 | 2012-05-11 Jan Kratochvil <[email protected]> |
1802 | ||
1803 | Implement multi-component --with-auto-load-dir. | |
1804 | * NEWS (set auto-load scripts-directory, --with-auto-load-dir): New | |
1805 | entries. | |
1806 | (--with-auto-load-safe-path): Update the default value description. | |
1807 | * auto-load.c (auto_load_dir, set_auto_load_dir, show_auto_load_dir): | |
1808 | New. | |
1809 | (auto_load_objfile_script): Add DEBUG_AUTO_LOAD output. Remove | |
1810 | GDB_DATADIR NULL check. Replace GDB_DATADIR/auto-load by | |
1811 | AUTO_LOAD_DIR. Support $ddir and multiple components in it. | |
1812 | (_initialize_auto_load): Initialize also auto_load_dir. Install new | |
1813 | "set auto-load scripts-directory". | |
1814 | * config.in: Regenerate. | |
1815 | * configure: Regenerate. | |
1816 | * configure.ac (--with-auto-load-dir): New configure option. | |
1817 | (--auto-load-safe-path): Change the default to --with-auto-load-dir. | |
1818 | ||
6dea1fbd JK |
1819 | 2012-05-11 Jan Kratochvil <[email protected]> |
1820 | ||
1821 | Provide $ddir substitution for --with-auto-load-safe-path. | |
1822 | * NEWS (--with-auto-load-safe-path, --without-auto-load-safe-path): New | |
1823 | entries. | |
1824 | * auto-load.c: Include observer.h. | |
1825 | (auto_load_safe_path_vec_update): Call substitute_path_component for | |
1826 | each component. New variable ddir_subst. | |
1827 | (auto_load_gdb_datadir_changed): New function. | |
1828 | (set_auto_load_safe_path): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to | |
1829 | AUTO_LOAD_SAFE_PATH. New comment. | |
1830 | (_initialize_auto_load): Rename DEFAULT_AUTO_LOAD_SAFE_PATH to | |
1831 | AUTO_LOAD_SAFE_PATH. Install auto_load_gdb_datadir_changed. | |
1832 | * config.in: Regenerate. | |
1833 | * configure: Regenerate. | |
1834 | * configure.ac (--auto-load-safe-path): Rename | |
1835 | DEFAULT_AUTO_LOAD_SAFE_PATH to AUTO_LOAD_SAFE_PATH. Default to | |
1836 | GDB_DATADIR/auto-load. | |
1837 | * defs.h (substitute_path_component): New declaration. | |
1838 | * top.c: Include observer.h. | |
1839 | (set_gdb_datadir): New function. | |
1840 | (init_main): Install it for "set data-directory". | |
1841 | * utils.c (substitute_path_component): New function. | |
1842 | ||
b09aca3a JK |
1843 | 2012-05-11 Jan Kratochvil <[email protected]> |
1844 | ||
1845 | Make auto-load handle multiple components of DEBUG_FILE_DIRECTORY. | |
1846 | * auto-load.c (auto_load_objfile_script): Remove check for NULL | |
1847 | DEBUG_FILE_DIRECTORY. Handle multiple components of | |
1848 | DEBUG_FILE_DIRECTORY. | |
1849 | ||
95554aad TT |
1850 | 2012-05-10 Tom Tromey <[email protected]> |
1851 | ||
1852 | * dwarf2read.c (recursively_write_psymbols): New function. | |
1853 | (write_psymtabs_to_index): Use it. | |
1854 | ||
1855 | * dwarf2read.c (struct dwarf2_queue_item) <pretend_language>: New | |
1856 | field. | |
1857 | (load_cu, dw2_do_instantiate_symtab, process_psymtab_comp_unit) | |
1858 | (load_partial_comp_unit): Update. | |
1859 | (queue_comp_unit): Add argument 'pretend_language'. | |
1860 | (process_queue): Update. | |
1861 | (psymtab_to_symtab_1): Skip dependencies that have a user. | |
1862 | (load_partial_comp_unit_reader): Give meaning to the 'data' | |
1863 | argument. | |
1864 | (load_full_comp_unit): Add 'pretend_language' argument. | |
1865 | (process_full_comp_unit): Add 'pretend_language' argument. Set | |
1866 | language on CU. | |
1867 | (process_imported_unit_die, read_file_scope, read_type_unit_scope): | |
1868 | Update. | |
1869 | (maybe_queue_comp_unit): Add 'pretend_language' argument. | |
1870 | (follow_die_offset, follow_die_sig, read_signatured_type_reader): | |
1871 | Update. | |
1872 | (prepare_one_comp_unit): Add 'pretend_language' argument. | |
1873 | ||
1874 | * dwarf2read.c: (dwarf2_per_cu_ptr): New typedef. | |
1875 | (struct dwarf2_per_objfile) <just_read_cus>: New field. | |
1876 | (struct dwarf2_per_cu_data) <imported_symtabs>: New field. | |
1877 | (dw2_do_instantiate_symtab): Check whether symtab was read in | |
1878 | before queueing. | |
1879 | (dw2_instantiate_symtab): Add assertion. Call | |
1880 | process_cu_includes. | |
1881 | (process_psymtab_comp_unit): Compute 'dependencies' for psymtab. | |
1882 | (partial_symtab_p): New typedef. | |
1883 | (set_partial_user): New function. | |
1884 | (dwarf2_build_psymtabs_hard): Use set_partial_user. | |
1885 | (scan_partial_symbols): Add imported CU to imported_symtabs. | |
1886 | (dwarf2_psymtab_to_symtab): Call process_cu_includes. | |
1887 | (psymtab_to_symtab_1): Do nothing if psymtab is readin. | |
1888 | (get_symtab, recursively_compute_inclusions) | |
1889 | (compute_symtab_includes, process_cu_includes) | |
1890 | (process_imported_unit_die): New functions. | |
1891 | (process_die) <DW_TAG_imported_unit>: New case. | |
1892 | (dwarf2_per_objfile_free): Free 'imported_symtabs'. | |
1893 | ||
1894 | * dwarf2read.c (struct dwarf2_per_cu_data) <psymtab>: Update | |
1895 | comment. | |
1896 | (struct partial_die_info) <locdesc>: Remove. | |
1897 | <d>: New field. | |
1898 | (process_psymtab_comp_unit): Add 'read_partial' argument. | |
1899 | Update. | |
1900 | (process_type_comp_unit, dwarf2_build_psymtabs_hard): Update. | |
1901 | (scan_partial_symbols): Handle DW_TAG_imported_unit. | |
1902 | (add_partial_symbol): Update. | |
1903 | (process_die): Handle DW_TAG_partial_unit. | |
1904 | (read_file_scope): Update comment. | |
1905 | (load_partial_dies): Handle DW_TAG_imported_unit. | |
1906 | (read_partial_die): Handle DW_TAG_partial_unit, DW_AT_import. | |
1907 | (determine_prefix, dwarf2_name): Handle DW_TAG_partial_unit. | |
1908 | ||
e871fbb9 TT |
1909 | 2012-05-10 Tom Tromey <[email protected]> |
1910 | ||
1911 | * cc-with-dwz.sh: New file. | |
1912 | ||
b5b04b5b TT |
1913 | 2012-05-10 Tom Tromey <[email protected]> |
1914 | ||
1915 | * symtab.h (struct symtab) <includes, user>: New fields. | |
1916 | * block.h (struct block_iterator) <d, idx, which>: New fields. | |
1917 | * block.c (initialize_block_iterator, find_iterator_symtab) | |
1918 | (block_iterator_step, block_iter_name_step) | |
1919 | (block_iter_match_step): New functions. | |
1920 | (block_iterator_first, block_iterator_next) | |
1921 | (block_iter_name_first, block_iter_name_next) | |
1922 | (block_iter_match_first, block_iter_match_next): Rewrite. | |
1923 | (get_block_symtab): New function. | |
1924 | ||
84a146c9 TT |
1925 | 2012-05-10 Tom Tromey <[email protected]> |
1926 | ||
1927 | * jv-lang.c (get_java_class_symtab): Use allocate_global_block, | |
1928 | set_block_symtab. | |
1929 | * jit.c (finalize_symtab): Use allocate_global_block, | |
1930 | set_block_symtab. | |
1931 | * buildsym.c (finish_block_internal): New function, from old | |
1932 | finish_block. | |
1933 | (finish_block): Rewrite. | |
1934 | (end_symtab): Use finish_block_internal, set_block_symtab. | |
1935 | * block.h (struct global_block): New. | |
1936 | (allocate_global_block, set_block_symtab): Declare. | |
1937 | * block.c (allocate_global_block, set_block_symtab): New | |
1938 | functions. | |
1939 | ||
9439a077 TT |
1940 | 2012-05-10 Tom Tromey <[email protected]> |
1941 | ||
1942 | * psymtab.c (partial_map_expand_apply): Add assertion. | |
1943 | (partial_map_symtabs_matching_filename): Skip included psymtabs. | |
1944 | (psymtab_to_symtab): Find unshared psymtab. | |
1945 | (dump_psymtab): Print including psymtabs. | |
1946 | (recursively_search_psymtabs): New function. | |
1947 | (expand_symtabs_matching_via_partial): Use it. | |
1948 | * psympriv.h (struct partial_symtab) <user, searched_flag>: New | |
1949 | fields. | |
1950 | (enum psymtab_search_status): New. | |
1951 | ||
8157b174 TT |
1952 | 2012-05-10 Tom Tromey <[email protected]> |
1953 | ||
1954 | * tracepoint.c (scope_info): Update. | |
1955 | * symtab.c (lookup_block_symbol, iterate_over_symbols) | |
1956 | (find_pc_sect_symtab, search_symbols) | |
1957 | (default_make_symbol_completion_list_break_on) | |
1958 | (make_file_symbol_completion_list): Update. | |
1959 | * symmisc.c (dump_symtab_1): Update. | |
1960 | * stack.c (print_frame_args, iterate_over_block_locals) | |
1961 | (print_frame_labels, iterate_over_block_arg_vars): Update. | |
1962 | * python/py-block.c (block_object) <dict>: Remove. | |
1963 | <block>: New field. | |
1964 | <iter>: Change type. | |
1965 | (blpy_iter): Update. | |
1966 | (blpy_block_syms_iternext): Update. | |
1967 | * psymtab.c (map_block): Use block iterators. | |
1968 | * objfiles.c (objfile_relocate1): Use ALL_DICT_SYMBOLS. | |
1969 | * mi/mi-cmd-stack.c (list_args_or_locals): Update. | |
1970 | * mdebugread.c (parse_symbol, mylookup_symbol): Update. | |
1971 | * infrun.c (check_exception_resume): Update. | |
1972 | * cp-support.c (make_symbol_overload_list_block): Update. | |
1973 | * coffread.c (patch_opaque_types): Update. | |
1974 | * buildsym.c (finish_block, end_symtab): Use ALL_DICT_SYMBOLS. | |
1975 | * block.h (struct block_iterator): New. | |
1976 | (block_iterator_first, block_iterator_next, block_iter_name_first) | |
1977 | (block_iter_name_next, block_iter_match_first) | |
1978 | (block_iter_match_next): Declare. | |
1979 | (ALL_BLOCK_SYMBOLS): Redefine. | |
1980 | * block.c (block_iterator_first, block_iterator_next) | |
1981 | (block_iter_name_first, block_iter_name_next) | |
1982 | (block_iter_match_first, block_iter_match_next): New functions. | |
1983 | * ada-lang.c (ada_add_block_symbols) | |
1984 | (ada_make_symbol_completion_list): Use block iterator. | |
1985 | ||
a2ca7a52 TT |
1986 | 2012-05-10 Tom Tromey <[email protected]> |
1987 | ||
1988 | * psymtab.c (PSYMTAB_TO_SYMTAB): Remove. | |
1989 | (find_pc_sect_symtab_from_partial, lookup_symbol_aux_psymtabs) | |
1990 | (lookup_partial_symbol, find_last_source_symtab_from_partial) | |
1991 | (read_psymtabs_with_filename, map_matching_symbols_psymtab) | |
1992 | (expand_symtabs_matching_via_partial, maintenance_check_symtabs): | |
1993 | Update. | |
1994 | ||
64ea88dc JB |
1995 | 2012-05-10 Joel Brobecker <[email protected]> |
1996 | ||
1997 | * config/djgpp/fnchange.lst: Add entries for print-file-var-lib1.c, | |
1998 | print-file-var-lib2.c, print-file-var-main.c and | |
1999 | print-file-var.exp (located in gdb/testsuite/gdb.base). | |
2000 | ||
99a547d6 JB |
2001 | 2012-05-10 Joel Brobecker <[email protected]> |
2002 | ||
2003 | * findvar.c (default_read_var_value): For LOC_UNRESOLVED symbols, | |
2004 | try locating the symbol in the symbol's own objfile first, before | |
2005 | extending the search to all objfiles. | |
2006 | * symtab.c (lookup_symbol_aux_objfile): New function, extracted | |
2007 | out of lookup_symbol_aux_symtabs. | |
2008 | (lookup_symbol_aux_symtabs): Add new parameter "exclude_objfile". | |
2009 | Replace extracted-out code by call to lookup_symbol_aux_objfile. | |
2010 | Do not search EXCLUDE_OBJFILE. | |
2011 | (lookup_static_symbol_aux): Update call to lookup_symbol_aux_symtabs. | |
2012 | (lookup_symbol_global): Search for matches in the block's objfile | |
2013 | first, before searching all other objfiles. | |
2014 | ||
0ece64fd TG |
2015 | 2012-05-10 Tristan Gingold <[email protected]> |
2016 | ||
2017 | * printcmd.c (set_command): Add pre/post inc/dec. | |
2018 | ||
3d16a105 FCE |
2019 | 2012-05-09 Frank Ch. Eigler <[email protected]> |
2020 | ||
2021 | * gdb.1: Document -ex option. | |
2022 | ||
2efbc0f7 JB |
2023 | 2012-05-09 Joel Brobecker <[email protected]> |
2024 | ||
2025 | * infcall.c (call_function_by_hand): Remove AT_SYMBOL handling. | |
2026 | * inferior.h (AT_SYMBOL): Delete. | |
2027 | ||
2c76a0c7 JB |
2028 | 2012-05-09 Joel Brobecker <[email protected]> |
2029 | ||
2030 | * mips-tdep.c (mips_push_dummy_code): New function. | |
2031 | (mips_gdbarch_init): Set the gdbarch call_dummy_location to | |
2032 | ON_STACK and install mips_push_dummy_code as our gdbarch | |
2033 | push_dummy_code routine. | |
2034 | ||
9401a810 PA |
2035 | 2012-05-09 Pedro Alves <[email protected]> |
2036 | ||
2037 | * target.c (set_maintenance_target_async_permitted): Rename to ... | |
2038 | (set_target_async_command): ... this. | |
2039 | (show_maintenance_target_async_permitted): Rename to ... | |
2040 | (show_target_async_command): ... this. | |
2041 | (initialize_targets): Adjust. | |
2042 | ||
3929b321 DE |
2043 | 2012-05-08 Doug Evans <[email protected]> |
2044 | ||
2045 | * go-exp.y (classify_name): Add missing assignment of fields of | |
2046 | yylval.ssym. | |
2047 | ||
c41535fd EZ |
2048 | 2012-05-08 Eli Zaretskii <[email protected]> |
2049 | ||
2050 | Display the ">" prompt in interactive mode while reading canned | |
2051 | commands, even when the current interpreter is MI. | |
2052 | ||
2053 | * interps.c (interp_set_temp): New function. | |
2054 | ||
2055 | * interps.h (interp_set_temp): Add prototype. | |
2056 | ||
2057 | * cli/cli-script.c (restore_interp): New cleanup function. | |
2058 | (read_command_lines): Temporarily override the current interpreter | |
2059 | with CLI and arrange for restoring the original one. | |
2060 | ||
c0749c4d JS |
2061 | 2012-05-12 Joel Sherrill <[email protected]> |
2062 | ||
2063 | * microblaze-rom.c (_initialize_picobug_rom): Add prototype. | |
2064 | ||
d7333987 SDJ |
2065 | 2012-05-07 Sergio Durigan Junior <[email protected]> |
2066 | ||
2067 | * probe.c (parse_probes): Move conditional to check for | |
2068 | debuginfo files from here... | |
2069 | * stap-probe.c (stap_get_probes): ... to here. | |
2070 | ||
649e6d92 MK |
2071 | 2012-05-07 Mark Kettenis <[email protected]> |
2072 | H.J. Lu <[email protected]> | |
2073 | ||
2074 | * amd64-tdep.c (amd64_analyze_prologue): Additionally check for | |
2075 | `movl %esp, %ebp' for the X32 ABI. | |
2076 | ||
f39c6ffd TT |
2077 | 2012-05-07 Tom Tromey <[email protected]> |
2078 | ||
2079 | * dwarf2read.c (dwarf_tag_name): Return const char *. Use | |
2080 | get_DW_TAG_name. | |
2081 | (dwarf_attr_name): Return const char *. Use get_DW_AT_name. | |
2082 | (dwarf_form_name): Return const char *. Use get_DW_FORM_name. | |
2083 | (dwarf_stack_op_name): Remove. | |
2084 | (dwarf_cfi_name): Return const char *. Use get_DW_ATE_name. | |
2085 | (decode_locdesc): Use get_DW_OP_name. | |
2086 | * dwarf2loc.c (unimplemented): Use get_DW_OP_name. | |
2087 | (dwarf2_compile_expr_to_ax): Likewise. | |
2088 | (disassemble_dwarf_expression): Likewise. | |
2089 | * dwarf2expr.h: (dwarf_stack_op_name): Remove. | |
2090 | ||
1e1f6591 CLT |
2091 | 2012-05-07 Chung-Lin Tang <[email protected]> |
2092 | ||
2093 | * sh-linux-tdep.c: Include trad-frame.h and tramp-frame.h. | |
2094 | (sh_linux_sigtramp_cache): New function. | |
2095 | (sh_linux_sigreturn_init): New function. | |
2096 | (sh_linux_rt_sigreturn_init): New function. | |
2097 | (SH_MOVW,SH_TRAP,SH_OR_R0_R0): New symbols for instruction | |
2098 | patterns. | |
2099 | (SH_NR_SIGRETURN,SH_NR_RT_SIGRETURN): New symbols for sigreturn | |
2100 | syscall codes. | |
2101 | (sh_linux_sigreturn_tramp_frame): New tramp_frame definition. | |
2102 | (sh_linux_rt_sigreturn_tramp_frame): Likewise. | |
2103 | (sh_linux_init_abi): Add init calls to register new tramp_frame | |
2104 | definitions under 32-bit SH, update comments. | |
2105 | ||
545c08b4 PA |
2106 | 2012-05-07 Pedro Alves <[email protected]> |
2107 | ||
daac165e PA |
2108 | PR gdb/10952 |
2109 | ||
545c08b4 PA |
2110 | * amd64-linux-tdep.c: Include glibc-tdep.h. |
2111 | (amd64_linux_init_abi): Install glibc_skip_solib_resolver as | |
2112 | gdbarch_skip_solib_resolver callback. | |
2113 | ||
af2c1515 JK |
2114 | 2012-05-06 Jan Kratochvil <[email protected]> |
2115 | ||
2116 | * auto-load.c (set_auto_load_safe_path): Reset AUTO_LOAD_SAFE_PATH | |
2117 | back to DEFAULT_AUTO_LOAD_SAFE_PATH if it is being set to "". | |
2118 | (show_auto_load_safe_path): Check any-directory by comparison with "/". | |
2119 | (add_auto_load_safe_path): Change the error message. | |
2120 | (_initialize_auto_load): Change the "safe-path" help text. | |
2121 | * configure: Regenerate | |
2122 | * configure.ac (--without-auto-load-safe-path): Set | |
2123 | WITH_AUTO_LOAD_SAFE_PATH to /. | |
2124 | ||
1067f998 SDJ |
2125 | 2012-05-05 Sergio Durigan Junior <[email protected]> |
2126 | ||
2127 | * stap-probe.h: Do not include unecessary `probe.h'. | |
2128 | ||
45dfa85a AM |
2129 | 2012-05-05 Alan Modra <[email protected]> |
2130 | ||
2131 | * elfread.c (elf_symtab_read): Use bfd_abs_section_ptr and | |
2132 | bfd_und_section_ptr. | |
2133 | * machoread.c (macho_symtab_add_minsym): Use bfd_abs_section_ptr | |
2134 | and bfd_com_section_ptr. | |
2135 | ||
cf093994 JB |
2136 | 2012-05-04 Joel Brobecker <[email protected]> |
2137 | ||
762ebb75 | 2138 | * MAINTAINERS (Past Maintainers): Add Chris Faylor. |
cf093994 | 2139 | |
d40dc7a8 JB |
2140 | 2012-05-04 Joel Brobecker <[email protected]> |
2141 | ||
2142 | * windows-nat.h (segment_register_p_ftype): New typedef. | |
2143 | (windows_set_segment_register_p): Add declaration. | |
2144 | * windows-nat.c (segment_register_p): New static global. | |
2145 | (windows_set_segment_register_p): New function. | |
2146 | (do_windows_fetch_inferior_registers): Add special handling | |
2147 | for segment registers. | |
2148 | * amd64-windows-nat.c: #include "amd64-tdep.h". | |
2149 | (amd64_windows_segment_register_p): New function. | |
2150 | (_initialize_amd64_windows_nat): Call windows_set_segment_register_p. | |
2151 | * i386-windows-nat.c: #include "i386-tdep.h". | |
2152 | (i386_windows_segment_register_p): New function. | |
2153 | (_initialize_i386_windows_nat): Call windows_set_segment_register_p. | |
2154 | ||
52b3699b TG |
2155 | 2012-05-04 Tristan Gingold <[email protected]> |
2156 | ||
2157 | * printcmd.c (set_command): Emit a warning if the expression is not | |
2158 | an assignment. | |
2159 | ||
94c74239 JB |
2160 | 2012-05-03 Joel Brobecker <[email protected]> |
2161 | ||
2162 | * nto-procfs.c (procfs_find_new_threads, procfs_pid_to_str): | |
2163 | Make static. | |
2164 | ||
fcf57f19 SDJ |
2165 | 2012-05-03 Sergio Durigan Junior <[email protected]> |
2166 | ||
2167 | * stap-probe.c (stap_is_operator): Change declaration. | |
2168 | (stap_get_opcode): Change return value. | |
2169 | (stap_parse_argument_1): Update calls to `stap_get_opcode' and | |
2170 | `stap_parse_argument_1'. | |
2171 | ||
27d2932e PA |
2172 | 2012-05-03 Pedro Alves <[email protected]> |
2173 | ||
2174 | * infrun.c (displaced_step_fixup): Add "displaced:" prefix to | |
2175 | debug log. | |
2176 | ||
a20ee7a4 SCR |
2177 | 2012-05-03 Siva Chandra Reddy <[email protected]> |
2178 | ||
2179 | Add two new methods global_block and static_block to gdb.Symtab | |
2180 | objects. | |
2181 | * NEWS (Python scripting): Add entry about the new methods. | |
2182 | * python/py-symtab.c (stpy_global_block): New function which | |
2183 | implements the gdb.Symtab.global_block() method. | |
2184 | (stpy_static_block): New function which implements the | |
2185 | gdb.Symtab.static_block() method. | |
2186 | (symtab_object_methods): Add entries for the two new methods. | |
2187 | ||
943cb756 DE |
2188 | 2012-05-03 Doug Evans <[email protected]> |
2189 | ||
2190 | * dwarf2read.c (dw2_find_symbol_file): Don't crash if there are no | |
2191 | files. | |
2192 | ||
f4644a3f YQ |
2193 | 2012-05-03 Yao Qi <[email protected]> |
2194 | ||
2195 | * i386-tdep.c (i386_fetch_pointer_argument): Remove extra | |
2196 | space. | |
2197 | (i386_process_record): Ditto. | |
2198 | ||
ef61f180 JB |
2199 | 2012-05-02 Joel Brobecker <[email protected]> |
2200 | ||
2201 | * infcall.c (unwind_on_signal_p): Make static. | |
2202 | ||
02f1df11 JB |
2203 | 2012-05-02 Joel Brobecker <[email protected]> |
2204 | ||
2205 | * sol-thread.c (solaris_pid_to_str): Make static. | |
2206 | (_initialize_sol_thread): Add prototype. | |
2207 | ||
39023530 JB |
2208 | 2012-05-02 Joel Brobecker <[email protected]> |
2209 | ||
2210 | * sol-thread.c (procfs_pid_to_str): Delete extern declaration. | |
2211 | ||
c6b0c501 CF |
2212 | 2012-05-02 Christopher Faylor <[email protected]> |
2213 | ||
2214 | * MAINTAINERS: Remove myself. | |
2215 | ||
1ef71717 JK |
2216 | 2012-05-02 Jan Kratochvil <[email protected]> |
2217 | ||
2218 | Fix --without-auto-load-safe-path for MS-Windows host platform. | |
2219 | * auto-load.c (filename_is_in_dir): Return 1 for DIR_LEN 0. | |
2220 | ||
b31b86a7 EZ |
2221 | 2012-05-02 Eli Zaretskii <[email protected]> |
2222 | ||
2223 | * gdb_curses.h: Undefine KEY_EVENT before including curses | |
2224 | headers. Move "#undef MOUSE_MOVED" before any curses header | |
2225 | inclusion. | |
2226 | ||
777532fc SDJ |
2227 | 2012-05-02 Sergio Durigan Junior <[email protected]> |
2228 | ||
2229 | * features/i386/i386-mmx-linux.c: Regenerate. | |
2230 | * features/rs6000/powerpc-32.c: Likewise. | |
2231 | * features/rs6000/powerpc-32l.c: Likewise. | |
2232 | * features/rs6000/powerpc-403.c: Likewise. | |
2233 | * features/rs6000/powerpc-403gc.c: Likewise. | |
2234 | * features/rs6000/powerpc-405.c: Likewise. | |
2235 | * features/rs6000/powerpc-505.c: Likewise. | |
2236 | * features/rs6000/powerpc-601.c: Likewise. | |
2237 | * features/rs6000/powerpc-602.c: Likewise. | |
2238 | * features/rs6000/powerpc-603.c: Likewise. | |
2239 | * features/rs6000/powerpc-604.c: Likewise. | |
2240 | * features/rs6000/powerpc-64.c: Likewise. | |
2241 | * features/rs6000/powerpc-64l.c: Likewise. | |
2242 | * features/rs6000/powerpc-750.c: Likewise. | |
2243 | * features/rs6000/powerpc-860.c: Likewise. | |
2244 | * features/rs6000/powerpc-e500.c: Likewise. | |
2245 | * features/rs6000/powerpc-e500l.c: Likewise. | |
2246 | * features/rs6000/powerpc-isa205-32l.c: Likewise. | |
2247 | * features/rs6000/powerpc-isa205-64l.c: Likewise. | |
2248 | * features/rs6000/rs6000.c: Likewise. | |
2249 | ||
d71871bc SDJ |
2250 | 2012-05-02 Sergio Durigan Junior <[email protected]> |
2251 | ||
2252 | * i386-tdep.c (i386_stap_parse_special_token) <s>: Remove unused | |
2253 | variable. | |
2254 | * stap-probe.c (stap_parse_single_operand) <reg_suffix, | |
2255 | reg_ind_suffix, reg_suffix_len, reg_ind_suffix_len>: Likewise. | |
2256 | (stap_parse_argument) <e>: Likewise. | |
2257 | (handle_stap_probe) <byte_order>: Likewise. | |
2258 | ||
fd820528 DE |
2259 | 2012-04-30 Doug Evans <[email protected]> |
2260 | ||
2261 | * dwarf2read.c (init_cutu_and_read_dies): Renamed from | |
2262 | init_and_read_dies_worker. All callers updated. | |
2263 | (init_cu_and_read_dies, init_tu_and_read_dies): Delete. All calls | |
2264 | replaced with init_cutu_and_read_dies. | |
2265 | (load_partial_comp_unit): Pass 1 for use_existing_cu. | |
2266 | (find_partial_die): Remove FIXME. Don't free current CU. | |
2267 | ||
ec3f619d | 2268 | 2012-04-30 Sterling Augustine <[email protected]> |
be36f02d SA |
2269 | |
2270 | * contrib: New directory. | |
2271 | * contrib/test_pubnames_and_indexes.py: New file. | |
2272 | ||
fceca515 DE |
2273 | 2012-04-30 Doug Evans <[email protected]> |
2274 | ||
2275 | * dwarf2read.c (dwarf_decode_macros): New arg section_name. | |
2276 | All callers updated. | |
2277 | (init_cu_die_reader): Verify the section is non-empty. | |
2278 | (dwarf_decode_line_header): Don't dereference section->asection | |
2279 | until we know the section is present. | |
2280 | ||
311fe7e1 SDJ |
2281 | 2012-04-29 Sergio Durigan Junior <[email protected]> |
2282 | ||
2283 | * tracepoint.c (start_tracing, stop_tracing): Checking for NULL | |
2284 | probes. | |
2285 | ||
5977971a YQ |
2286 | 2012-04-29 Yao Qi <[email protected]> |
2287 | ||
2288 | * gdb-code-style.el: New hook gdb-markup-hook | |
2289 | and gdb-comment-hook. | |
2290 | ||
dee91e82 DE |
2291 | 2012-04-28 Doug Evans <[email protected]> |
2292 | ||
3019eac3 DE |
2293 | Initial support for Fission. http://gcc.gnu.org/wiki/DebugFission |
2294 | * symfile.c (default_symfile_relocate): Use sectp->owner instead of | |
2295 | objfile->obfd. | |
2296 | * symfile.h (dwarf2_debug_sections): New member addr. | |
2297 | * dwarf2expr.c (execute_stack_op): New case DW_OP_GNU_addr_index. | |
2298 | (ctx_no_get_addr_index): New function. | |
2299 | * dwarf2expr.h (dwarf_expr_context_funcs): New member get_addr_index. | |
2300 | (ctx_no_get_addr_index): Declare. | |
2301 | * dwarf2-frame.c (dwarf2_frame_ctx_funcs): Update. | |
2302 | * dwarf2loc.c (dwarf_expr_get_addr_index): New function. | |
2303 | (dwarf_expr_ctx_funcs): Update. | |
2304 | (needs_get_addr_index): New function. | |
2305 | (needs_frame_ctx_funcs): Update. | |
2306 | * dwarf2loc.h (dwarf2_read_addr_index): Declare. | |
2307 | * dwarf2read.c: #include "gdbcore.h". | |
2308 | (dwarf2_per_objfile): New members addr, dwo_files. | |
2309 | (dwarf2_elf_names): Add entry for addr. | |
2310 | (struct dwo_section_names): New type. | |
2311 | (dwo_section_names): New static global. | |
2312 | (dwarf2_cu): New members dwo_unit, addr_base, have_addr_base. | |
2313 | (dwarf2_per_cu_data): New member is_debug_types, all boolean uses of | |
2314 | old debug_types_section member updated to use this. | |
2315 | Rename member debug_types_section to info_or_types_section, | |
2316 | all uses updated. | |
2317 | (signatured_type): Rename member type_offset to type_offset_in_tu, | |
2318 | all uses updated. New member type_offset_in_section. | |
2319 | (struct dwo_sections): New type. | |
2320 | (struct dwo_unit): New type. | |
2321 | (struct dwo_file): New type. | |
2322 | (die_reader_specs): New member dwo_file. | |
2323 | (dwarf2_locate_sections): Watch for .debug_addr. | |
2324 | (zlib_decompress_section): Use sectp->owner instead of objfile->obfd. | |
2325 | (dwarf2_read_section): Get bfd of section from bfd's asection, | |
2326 | instead of objfile. | |
2327 | (create_cus_from_index): Initialize the_cu->info_or_types_section. | |
2328 | (create_signatured_type_table_from_index): Initialize | |
2329 | sig_type->info_or_types_section. | |
2330 | (dw2_get_file_names): Statement lists for type units with DWO files | |
2331 | live in the DWO file. | |
2332 | (create_debug_types_hash_table): New function. | |
2333 | (create_all_type_units): Rewrite. | |
2334 | (init_cu_die_reader): New arg dwo_file, all callers updated. | |
2335 | (init_and_read_dies_worker): Get section from | |
2336 | this_cu->info_or_types_section. Set sig_type->type_offset_in_section. | |
2337 | Watch for DW_AT_GNU_dwo_name and if present lookup the file and | |
2338 | continue reading the CU/TU from there. | |
2339 | (init_cutu_and_read_dies_no_follow): New arg dwo_file, all callers | |
2340 | updated. Get section from this_cu->info_or_types_section. | |
2341 | (create_all_comp_units): Initialize this_cu->info_or_types_section. | |
2342 | (skip_one_die): New cases DW_FORM_GNU_addr_index, | |
2343 | DW_FORM_GNU_str_index. | |
2344 | (hash_dwo_file, eq_dwo_file): New functions. | |
2345 | (allocate_dwo_file_hash_table): New function. | |
2346 | (hash_dwo_unit, eq_dwo_unit): New functions. | |
2347 | (allocate_dwo_unit_table): New function. | |
2348 | (dwarf2_locate_dwo_sections): New function. | |
2349 | (struct create_dwo_info_table_data): New type. | |
2350 | (create_debug_info_hash_table_reader): New function. | |
2351 | (create_debug_info_hash_table): New function. | |
2352 | (try_open_dwo_file, open_dwo_file, init_dwo_file): New function. | |
2353 | (lookup_dwo_file): New function. | |
2354 | (lookup_dwo_comp_unit, lookup_dwo_type_unit): New functions. | |
2355 | (free_dwo_file, free_dwo_file_cleanup): New functions. | |
2356 | (free_dwo_file_from_slot, free_dwo_files): New functions. | |
2357 | (dwarf2_get_pc_bounds): Handle DW_FORM_GNU_addr_index. | |
2358 | (dwarf2_record_block_ranges): Ditto. | |
2359 | (read_partial_die): Ditto. | |
2360 | (process_enumeration_scope): Update to use type_offset_in_section. | |
2361 | (read_full_die_1): New function. | |
2362 | (read_full_die): Rewrite. | |
2363 | (read_attribute_value): New cases DW_FORM_GNU_addr_index, | |
2364 | DW_FORM_GNU_str_index. | |
2365 | (read_addr_index_1, read_addr_index): New functions. | |
2366 | (read_addr_index_from_leb128): New function. | |
2367 | (struct dwarf2_read_addr_index_data): New type. | |
2368 | (dwarf2_read_addr_index_reader): New function. | |
2369 | (dwarf2_read_addr_index): New function. | |
2370 | (read_str_index): New function. | |
2371 | (leb128_size): New function. | |
2372 | (dwarf_decode_line_header): Delete arg abfd, all callers updated. | |
2373 | If processing a type unit from a DWO file, get the line section | |
2374 | from the DWO file. | |
2375 | (var_decode_location): Watch for DW_OP_GNU_addr_index. | |
2376 | (dwarf2_const_value_attr): New cases DW_FORM_GNU_addr_index, | |
2377 | DW_FORM_GNU_str_index. | |
2378 | (lookup_die_type): Check whether section offset of type's die is | |
2379 | known before looking it up. Remove assert. Condition can | |
2380 | legimately happen for inter-cu type references. | |
2381 | (dwarf_attr_name): Handle Fission attributes. | |
2382 | (dwarf_form_name): Handle Fission forms. | |
2383 | (dump_die_shallow): New cases DW_FORM_GNU_addr_index, | |
2384 | DW_FORM_GNU_str_index. | |
2385 | (follow_die_sig): Update to use type_offset_in_section. | |
2386 | (decode_locdesc): New case DW_OP_GNU_addr_index. | |
2387 | (skip_form_bytes): New cases DW_FORM_GNU_addr_index, | |
2388 | DW_FORM_GNU_str_index. | |
2389 | (cu_debug_loc_section): New function. | |
2390 | (fill_in_loclist_baton, dwarf2_symbol_mark_computed): Call it. | |
2391 | (dwarf2_per_objfile_free): Unmap .debug_addr section. | |
2392 | Free DWO files if present. | |
2393 | * xcoffread.c (dwarf2_xcoff_names): Add .debug_addr. | |
2394 | ||
dee91e82 DE |
2395 | Refactor DIE reading. |
2396 | * dwarf2read.c (dwarf2_per_objfile): Replace members | |
2397 | debug_info_type_hash and debug_types_type_hash with die_type_hash. | |
2398 | (die_reader_specs): New member "die_section". Temporarily make | |
2399 | member "buffer" non-const, pending constifying all info_ptr uses. | |
2400 | (die_reader_func_ftype): New typedef. | |
2401 | (dw2_get_file_names_reader): New function. | |
2402 | (dw2_get_file_names): Rewrite. | |
2403 | (read_and_check_type_unit_head): Rename arg type_offset to | |
2404 | type_offset_in_tu. | |
2405 | (create_all_type_units): Improve debugging message. | |
2406 | Improve dummy type unit check. | |
2407 | (init_cu_die_reader): New arg "section". All callers updated. | |
2408 | (init_and_read_dies_worker): New function. | |
2409 | (init_cu_and_read_dies, init_tu_and_read_dies): New functions. | |
2410 | (init_cutu_and_read_dies_no_follow): New function. | |
2411 | (init_cutu_and_read_dies_simple): New function. | |
2412 | (process_psymtab_comp_unit_reader): New function. | |
2413 | (process_psymtab_comp_unit): Delete args section, | |
2414 | is_debug_types_section. Rewrite. All callers updated. | |
2415 | (process_psymtab_type_unit): Renamed from process_type_comp_unit. | |
2416 | All callers updated. Rewrite. | |
2417 | (load_partial_comp_unit_reader): New function. | |
2418 | (load_partial_comp_unit): Rewrite. | |
2419 | (skip_children): New arg reader. Delete args buffer, cu. | |
2420 | All callers updated. | |
2421 | (skip_one_die): New arg reader. Delete args buffer, cu. | |
2422 | All callers updated. | |
2423 | (locate_pdi_sibling): New arg reader. Delete args buffer, abfd, cu. | |
2424 | All callers updated. | |
2425 | (load_full_comp_unit_reader): New function. | |
2426 | (load_full_comp_unit): Rewrite. | |
2427 | (read_comp_unit): Delete. | |
2428 | (read_die_and_children_1): Delete, contents moved ... | |
2429 | (read_die_and_children): ... here. | |
2430 | (dwarf2_read_abbrevs): New arg abbrev_section. All callers updated. | |
2431 | (load_partial_dies): New arg reader. Delete args abfd, buffer, cu. | |
2432 | All callers updated. | |
2433 | (read_partial_die): New arg reader. Delete args abfd, buffer, cu. | |
2434 | All callers updated. | |
2435 | (find_partial_die): Rewrite load_all_dies support. | |
2436 | (read_attribute_value): New arg reader. Delete args abfd, cu. | |
2437 | All callers updated. | |
2438 | (read_attribute): New arg reader. Delete args abfd, cu. | |
2439 | All callers updated. | |
2440 | (load_full_type_unit): Add assert. | |
2441 | (read_signatured_type_reader): New function. | |
2442 | (read_signatured_type): Rewrite. | |
2443 | (free_stack_comp_unit): Remove call to age_cached_comp_units. | |
2444 | (free_one_cached_comp_unit): Change target_cu arg to target_per_cu. | |
2445 | All callers updated. Set per_cu->cu = NULL after freeing it. | |
2446 | (dwarf2_per_cu_offset_and_type): Renamed from dwarf2_offset_and_type. | |
2447 | (per_cu_offset_and_type_hash): Renamed from offset_and_type_hash. | |
2448 | (per_cu_offset_and_type_eq): Renamed from offset_and_type_eq. | |
2449 | (set_die_type): Update. | |
2450 | (get_die_type_at_offset): Update. | |
2451 | (read_file_scope): Call prepare_one_comp_unit. | |
2452 | (read_type_unit_scope): Ditto. | |
2453 | (prepare_one_comp_unit): Set producer if present. | |
2454 | ||
72d59e0d SDJ |
2455 | 2012-04-28 Sergio Durigan Junior <[email protected]> |
2456 | ||
2457 | * probe.c (compile_rx_or_error): Silence ARI warning about missing | |
2458 | gettext function on `error'. | |
2459 | ||
0fefef59 DE |
2460 | 2012-04-27 Doug Evans <[email protected]> |
2461 | ||
2462 | * dwarf2read.c (dwarf2_read_index): Don't use index if symbol table | |
2463 | is empty. | |
2464 | ||
28106bc2 SDJ |
2465 | 2012-04-27 Sergio Durigan Junior <[email protected]> |
2466 | Tom Tromey <[email protected]> | |
2467 | ||
2468 | * breakpoint.c (struct breakpoint_objfile_data) | |
2469 | <longjmp_searched>,<longjmp_probes>,<exception_searched>, | |
2470 | <exception_probes>: New fields. | |
2471 | (free_breakpoint_probes): New function. | |
2472 | (create_longjmp_master_breakpoint): Prefer SystemTap probe over | |
2473 | `_Unwind_DebugHook'. | |
2474 | (create_exception_master_breakpoint): Likewise. | |
2475 | (_initialize_breakpoint): Registering cleanup for SystemTap probes. | |
2476 | * infrun.c: Including necessary header files for handling SystemTap | |
2477 | probes. | |
2478 | (handle_inferior_event): Handling longjmp breakpoint and exceptions | |
2479 | via SystemTap probes. | |
2480 | (check_exception_resume): Remove `func' argument. Handle exception | |
2481 | unwinding breakpoint set via a SystemTap probe. | |
2482 | (insert_exception_resume_from_probe): New function. | |
2483 | ||
55aa24fb SDJ |
2484 | 2012-04-27 Sergio Durigan Junior <[email protected]> |
2485 | Tom Tromey <[email protected]> | |
2486 | Jan Kratochvil <[email protected]> | |
2487 | ||
2488 | * Makefile.in (SFILES): Add `probe' and `stap-probe'. | |
2489 | (COMMON_OBS): Likewise. | |
2490 | (HFILES_NO_SRCDIR): Add `probe'. | |
2491 | * NEWS: Mention support for static and SystemTap probes. | |
2492 | * amd64-tdep.c (amd64_init_abi): Initializing proper fields used by | |
2493 | SystemTap probes' arguments parser. | |
2494 | * arm-linux-tdep.c: Including headers needed to perform the parsing | |
2495 | of SystemTap probes' arguments. | |
2496 | (arm_stap_is_single_operand): New function. | |
2497 | (arm_stap_parse_special_token): Likewise. | |
2498 | (arm_linux_init_abi): Initializing proper fields used by SystemTap | |
2499 | probes' arguments parser. | |
2500 | * ax-gdb.c (require_rvalue): Removing static declaration. | |
2501 | (gen_expr): Likewise. | |
2502 | * ax-gdb.h (gen_expr): Declaring function. | |
2503 | (require_rvalue): Likewise. | |
2504 | * breakpoint.c: Include `gdb_regex.h' and `probe.h'. | |
2505 | (bkpt_probe_breakpoint_ops): New variable. | |
2506 | (momentary_breakpoint_from_master): Set the `probe' value. | |
2507 | (add_location_to_breakpoint): Likewise. | |
2508 | (break_command_1): Using proper breakpoint_ops according to the | |
2509 | argument passed by the user in the command line. | |
2510 | (bkpt_probe_insert_location): New function. | |
2511 | (bkpt_probe_remove_location): Likewise. | |
2512 | (bkpt_probe_create_sals_from_address): Likewise. | |
2513 | (bkpt_probe_decode_linespec): Likewise. | |
2514 | (tracepoint_probe_create_sals_from_address): Likewise. | |
2515 | (tracepoint_probe_decode_linespec): Likewise. | |
2516 | (tracepoint_probe_breakpoint_ops): New variable. | |
2517 | (trace_command): Using proper breakpoint_ops according to the | |
2518 | argument passed by the user in the command line. | |
2519 | (initialize_breakpoint_ops): Initializing breakpoint_ops for | |
2520 | static probes on breakpoints and tracepoints. | |
2521 | * breakpoint.h (struct bp_location) <probe>: New field. | |
2522 | * cli-utils.c (skip_spaces_const): New function. | |
2523 | (extract_arg): Likewise. | |
2524 | * cli-utils.h (skip_spaces_const): Likewise. | |
2525 | (extract_arg): Likewise. | |
2526 | * coffread.c (coff_sym_fns): Add `sym_probe_fns' value. | |
2527 | * configure.ac: Append `stap-probe.o' to be generated when ELF | |
2528 | support is present. | |
2529 | * configure: Regenerate. | |
2530 | * dbxread.c (aout_sym_fns): Add `sym_probe_fns' value. | |
2531 | * elfread.c: Include `probe.h' and `arch-utils.h'. | |
2532 | (probe_key): New variable. | |
2533 | (elf_get_probes): New function. | |
2534 | (elf_get_probe_argument_count): Likewise. | |
2535 | (elf_evaluate_probe_argument): Likewise. | |
2536 | (elf_compile_to_ax): Likewise. | |
2537 | (elf_symfile_relocate_probe): Likewise. | |
2538 | (stap_probe_key_free): Likewise. | |
2539 | (elf_probe_fns): New variable. | |
2540 | (elf_sym_fns): Add `sym_probe_fns' value. | |
2541 | (elf_sym_fns_lazy_psyms): Likewise. | |
2542 | (elf_sym_fns_gdb_index): Likewise. | |
2543 | (_initialize_elfread): Initialize objfile cache for static | |
2544 | probes. | |
2545 | * gdb_vecs.h (struct probe): New forward declaration. | |
2546 | (probe_p): New VEC declaration. | |
2547 | * gdbarch.c: Regenerate. | |
2548 | * gdbarch.h: Regenerate. | |
2549 | * gdbarch.sh (stap_integer_prefix): New variable. | |
2550 | (stap_integer_suffix): Likewise. | |
2551 | (stap_register_prefix): Likewise. | |
2552 | (stap_register_suffix): Likewise. | |
2553 | (stap_register_indirection_prefix): Likewise. | |
2554 | (stap_register_indirection_suffix): Likewise. | |
2555 | (stap_gdb_register_prefix): Likewise. | |
2556 | (stap_gdb_register_suffix): Likewise. | |
2557 | (stap_is_single_operand): New function. | |
2558 | (stap_parse_special_token): Likewise. | |
2559 | (struct stap_parse_info): Forward declaration. | |
2560 | * i386-tdep.c: Including headers needed to perform the parsing | |
2561 | of SystemTap probes' arguments. | |
2562 | (i386_stap_is_single_operand): New function. | |
2563 | (i386_stap_parse_special_token): Likewise. | |
2564 | (i386_elf_init_abi): Initializing proper fields used by SystemTap | |
2565 | probes' arguments parser. | |
2566 | * i386-tdep.h (i386_stap_is_single_operand): New function. | |
2567 | (i386_stap_parse_special_token): Likewise. | |
2568 | * machoread.c (macho_sym_fns): Add `sym_probe_fns' value. | |
2569 | * mipsread.c (ecoff_sym_fns): Likewise. | |
2570 | * objfiles.c (objfile_relocate1): Support relocation for static | |
2571 | probes. | |
2572 | * parse.c (prefixify_expression): Remove static declaration. | |
2573 | (initialize_expout): Likewise. | |
2574 | (reallocate_expout): Likewise. | |
2575 | * parser-defs.h (initialize_expout): Declare function. | |
2576 | (reallocate_expout): Likewise. | |
2577 | (prefixify_expression): Likewise. | |
2578 | * ppc-linux-tdep.c: Including headers needed to perform the parsing | |
2579 | of SystemTap probes' arguments. | |
2580 | (ppc_stap_is_single_operand): New function. | |
2581 | (ppc_stap_parse_special_token): Likewise. | |
2582 | (ppc_linux_init_abi): Initializing proper fields used by SystemTap | |
2583 | probes' arguments parser. | |
2584 | * probe.c: New file, for generic statically defined probe support. | |
2585 | * probe.h: Likewise. | |
2586 | * s390-tdep.c: Including headers needed to perform the parsing of | |
2587 | SystemTap probes' arguments. | |
2588 | (s390_stap_is_single_operand): New function. | |
2589 | (s390_gdbarch_init): Initializing proper fields used by SystemTap | |
2590 | probes' arguments parser. | |
2591 | * somread.c (som_sym_fns): Add `sym_probe_fns' value. | |
2592 | * stap-probe.c: New file, for SystemTap probe support. | |
2593 | * stap-probe.h: Likewise. | |
2594 | * symfile.h: Include `gdb_vecs.h'. | |
2595 | (struct sym_probe_fns): New struct. | |
2596 | (struct sym_fns) <sym_probe_fns>: New field. | |
2597 | * symtab.c (init_sal): Initialize `probe' field. | |
2598 | * symtab.h (struct probe): Forward declaration. | |
2599 | (struct symtab_and_line) <probe>: New field. | |
2600 | * tracepoint.c (start_tracing): Adjust semaphore on breakpoints | |
2601 | locations. | |
2602 | (stop_tracing): Likewise. | |
2603 | * xcoffread.c (xcoff_sym_fns): Add `sym_probe_fns' value. | |
2604 | ||
22d2b532 SDJ |
2605 | 2012-04-27 Sergio Durigan Junior <[email protected]> |
2606 | Tom Tromey <[email protected]> | |
2607 | ||
2608 | * ax-gdb.c (gen_expr): Clean up code to handle internal variables | |
2609 | and to compile agent expressions. | |
2610 | * infrun.c (siginfo_make_value): New argument `ignore'. | |
2611 | (siginfo_funcs): New struct. | |
2612 | (_initialize_infrun): New argument when calling | |
2613 | `create_internalvar_type_lazy'. | |
2614 | * thread.c (thread_id_make_value): New argument `ignore'. | |
2615 | (thread_funcs): New struct. | |
2616 | (_initialize_thread): New argument when calling | |
2617 | `create_internalvar_type_lazy'. | |
2618 | * tracepoint.c (sdata_make_value): New argument `ignore'. | |
2619 | (sdata_funcs): New struct. | |
2620 | (_initialize_tracepoint): New argument when calling | |
2621 | `create_internalvar_type_lazy'. | |
2622 | * value.c (make_value): New struct. | |
2623 | (create_internalvar_type_lazy): New argument `data'. | |
2624 | (compile_internalvar_to_ax): New function. | |
2625 | (value_of_internalvar): Properly handling `make_value' case. | |
2626 | (clear_internalvar): Likewise. | |
2627 | (show_convenience): Adding `TRY_CATCH' block. | |
2628 | * value.h (internalvar_make_value): Delete, replace by... | |
2629 | (struct internalvar_funcs): ... this. | |
2630 | (create_internalvar_type_lazy) <fun>: Delete argument. | |
2631 | (create_internalvar_type_lazy) <funcs>, <data>: New arguments. | |
2632 | (compile_internalvar_to_ax): New function. | |
2633 | * windows-tdep.c (tlb_make_value): New argument `ignore'. | |
2634 | (tlb_funcs): New struct. | |
2635 | (_initialize_windows_tdep): New argument when calling | |
2636 | `create_internalvar_type_lazy'. | |
2637 | ||
91da1414 MW |
2638 | 2012-04-27 Mark Wielaard <[email protected]> |
2639 | ||
2640 | * dwarf2read.c (dwarf2_get_pc_bounds): Check DW_AT_high_pc form to | |
2641 | see whether it is an address or a constant offset from DW_AT_low_pc. | |
2642 | (dwarf2_record_block_ranges): Likewise. | |
2643 | (read_partial_die): Likewise. | |
2644 | ||
4ab9d8ec MW |
2645 | 2012-04-26 Mark Wielaard <[email protected]> |
2646 | ||
2647 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
2648 | ||
a0911fd0 MR |
2649 | 2012-04-26 Maciej W. Rozycki <[email protected]> |
2650 | ||
2651 | * proc-utils.h (proc_prettyprint_signalset): New prototype. | |
2652 | (proc_prettyprint_signal): Likewise. | |
2653 | (proc_prettyprint_faultset): Likewise. | |
2654 | (proc_prettyprint_fault): Likewise. | |
2655 | (proc_prettyprint_actionset): Likewise. | |
2656 | (proc_prettyprint_flags): Move to new proc-flags.c section. | |
2657 | (proc_prettyfprint_flags): New prototype. | |
2658 | * procfs.c (proc_nsysarg, proc_sysargs): Add prototypes. | |
2659 | (proc_syscall, proc_cursig): Likewise. | |
2660 | (proc_set_kill_on_last_close): Likewise. | |
2661 | (proc_unset_kill_on_last_close): Likewise. | |
2662 | (proc_set_watchpoint): Make static. | |
2663 | (proc_delete_dead_threads): Likewise. | |
2664 | (procfs_set_watchpoint): Likewise. | |
2665 | (_initialize_procfs): Add prototype. | |
2666 | * proc-events.c: Include proc-utils.h. | |
2667 | (init_syscall_table): Make static. | |
2668 | * proc-api.c (_initialize_proc_api): Add prototype. | |
2669 | * proc-flags.c: Include proc-utils.h. | |
2670 | ||
9009e1ae MR |
2671 | 2012-04-26 Maciej W. Rozycki <[email protected]> |
2672 | ||
2673 | * configure.ac: Add AC_ARG_PROGRAM. | |
2674 | * configure: Regenerate. | |
2675 | ||
4fae6e18 JK |
2676 | 2012-04-26 Jan Kratochvil <[email protected]> |
2677 | ||
2678 | Fix DW_AT_lower_bound defaults for DWARF-4+. | |
2679 | * dwarf2read.c (read_subrange_type): Remove initialization of low and | |
2680 | high. New variable low_default_is_valid. Implement DWARF-4+ | |
2681 | DW_AT_lower_bound defaults. Print complaint for DW_AT_lower_bound with | |
2682 | no default by the DWARF standard. | |
2683 | ||
14132e89 MR |
2684 | 2012-04-26 Maciej W. Rozycki <[email protected]> |
2685 | Maciej W. Rozycki <[email protected]> | |
2686 | ||
2687 | * infrun.c (handle_inferior_event): Move the check for return | |
2688 | trampolines ahead of the check for function trampolines. | |
2689 | * mips-tdep.h (MIPS_S2_REGNUM, MIPS_GP_REGNUM): New macros. | |
2690 | * mips-tdep.c (mips_str_mips16_call_stub): New variable. | |
2691 | (mips_str_mips16_ret_stub): Likewise. | |
2692 | (mips_str_call_fp_stub): Likewise. | |
2693 | (mips_str_call_stub): Likewise. | |
2694 | (mips_str_fn_stub): Likewise. | |
2695 | (mips_str_pic): Likewise. | |
2696 | (mips_in_frame_stub): New function. | |
2697 | (mips_unwind_pc): Return the return address rather than the PC | |
2698 | if the PC of an intermediate frame is inside a call thunk. | |
2699 | (mips_is_stub_suffix): New function. | |
2700 | (mips_is_stub_mode): Likewise. | |
2701 | (mips_get_mips16_fn_stub_pc): Likewise. | |
2702 | (mips_skip_mips16_trampoline_code): Update to handle all the | |
2703 | currently generated stub types. Don't recurse into __fn_stub | |
2704 | thunks. Remove heuristics to handle stubs beyond etext/_etext. | |
2705 | Use cooked register accesses. | |
2706 | (mips_in_return_stub): Reintroduce function. | |
2707 | (mips_skip_trampoline_code): Traverse trampolines recursively. | |
2708 | (mips_gdbarch_init): Handle MIPS16 return trampolines. | |
2709 | ||
518f0db5 | 2710 | 2012-04-26 Joel Brobecker <[email protected]> |
2711 | ||
2712 | GDB 7.4.1 released. | |
2713 | ||
3184d3f9 JL |
2714 | 2012-04-26 Jonathan Larmour <[email protected]> |
2715 | ||
2716 | * arm-tdep.h (VFP_REGISTER_SIZE): Define. | |
2717 | * features/arm-with-m-vfp-d16.xml: New file. Describes | |
2718 | Cortex-M with VFPv4-sp-d16 FPU register layout. | |
2719 | * features/Makefile (WHICH): Add arm-with-m-vfp-d16. | |
2720 | * features/arm-with-m-vfp-d16.c: New. Generated from above. | |
2721 | * arm-tdep.c: Include arm-with-m-vfp-d16.c. | |
2722 | (arm-register_g_packet_guesses): Add vfp-d16 guess. | |
2723 | (_initialise_arm_tdep): Initialize arm-with-m-vfp-d16 tdesc. | |
2724 | ||
b6201d44 DE |
2725 | 2012-04-25 Doug Evans <[email protected]> |
2726 | ||
2727 | * cli/cli-decode.c (print_doc_line): Use stream instead of | |
2728 | current_uiout. | |
2729 | ||
4e2f8df6 SDJ |
2730 | 2012-04-25 Sergio Durigan Junior <[email protected]> |
2731 | ||
2732 | * features/arm-with-iwmmxt.c: Regenerate. | |
2733 | * features/arm-with-m-fpa-layout.c: Likewise. | |
2734 | * features/arm-with-m.c: Likewise. | |
2735 | * features/arm-with-neon.c: Likewise. | |
2736 | * features/arm-with-vfpv2.c: Likewise. | |
2737 | * features/arm-with-vfpv3.c: Likewise. | |
2738 | * features/mips-dsp-linux.c: Likewise. | |
2739 | * features/mips-linux.c: Likewise. | |
2740 | * features/mips64-dsp-linux.c: Likewise. | |
2741 | * features/mips64-linux.c: Likewise. | |
2742 | * features/s390-linux32.c: Likewise. | |
2743 | * features/s390-linux32v1.c: Likewise. | |
2744 | * features/s390-linux32v2.c: Likewise. | |
2745 | * features/s390-linux64.c: Likewise. | |
2746 | * features/s390-linux64v1.c: Likewise. | |
2747 | * features/s390-linux64v2.c: Likewise. | |
2748 | * features/s390x-linux64.c: Likewise. | |
2749 | * features/s390x-linux64v1.c: Likewise. | |
2750 | * features/s390x-linux64v2.c: Likewise. | |
2751 | * features/tic6x-c62x-linux.c: Likewise. | |
2752 | * features/tic6x-c62x.c: Likewise. | |
2753 | * features/tic6x-c64x-linux.c: Likewise. | |
2754 | * features/tic6x-c64x.c: Likewise. | |
2755 | * features/tic6x-c64xp-linux.c: Likewise. | |
2756 | * features/tic6x-c64xp.c: Likewise. | |
2757 | * target-descriptions.c: Only generate `field_type' and `type' | |
2758 | variables when needed. | |
2759 | ||
2def3e66 JB |
2760 | 2012-04-25 Fredrik Hederstierna <[email protected]> |
2761 | ||
2762 | * cli/cli-cmds.c (cd_command): Use memmove instead of strcpy. | |
2763 | ||
a766d390 DE |
2764 | 2012-04-25 Doug Evans <[email protected]> |
2765 | ||
2766 | Initial pass at Go language support. | |
2767 | * NEWS: Mention Go. | |
2768 | * Makefile.in (SFILES): Add go-exp.y, go-lang.c, go-typeprint.c, | |
2769 | go-valprint.c. | |
2770 | (COMMON_OBS): Add go-lang.o, go-val.print.o, go-typeprint.o. | |
2771 | (YYFILES): Add go-exp.c. | |
2772 | (YYOBJ): Add go-exp.o. | |
2773 | (local-maintainer-clean): Delete go-exp.c. | |
2774 | * defs.h (enum language): Add language_go. | |
2775 | * dwarf2read.c: #include "go-lang.h". | |
2776 | (fixup_go_packaging): New function. | |
2777 | (process_full_comp_unit): Call it when processing Go CUs. | |
2778 | (dwarf2_physname): Add Go support. | |
2779 | (read_file_scope): Handle missing language spec for GNU Go. | |
2780 | (set_cu_language): Handle DW_LANG_Go. | |
2781 | * go-exp.y: New file. | |
2782 | * go-lang.h: New file. | |
2783 | * go-lang.c: New file. | |
2784 | * go-typeprint.c: New file. | |
2785 | * go-valprint.c: New file. | |
2786 | * symtab.c: #include "go-lang.h". | |
2787 | (symbol_set_language): Handle language_go. | |
2788 | (symbol_find_demangled_name, symbol_set_names): Ditto. | |
2789 | (symbol_natural_name, demangle_for_lookup, find_main_name): Ditto. | |
2790 | ||
4e2af517 JM |
2791 | 2012-04-24 Jim Meyering <[email protected]> |
2792 | ||
2793 | avoid a few strncpy-induced buffer overruns | |
2794 | * procfs.c (procfs_make_note_section): Be sure to NUL-terminate | |
2795 | fname and psargs before trying to concatenate. | |
2796 | * tui/tui-stack.c (tui_get_function_from_frame): NUL-terminate | |
2797 | "name" before applying strchr. | |
2798 | ||
b77b7f52 SCR |
2799 | 2012-04-25 Siva Chandra Reddy <[email protected]> |
2800 | ||
2801 | * CONTRIBUTE: Use unified diff instead of context diff when | |
2802 | generating patches. | |
2803 | ||
6321c22a MR |
2804 | 2012-04-24 Maciej W. Rozycki <[email protected]> |
2805 | ||
2806 | * mips-tdep.c (mips_about_to_return): Remove dead MIPS16 support | |
2807 | code. Handle JR.HB correctly. | |
2808 | ||
742c84f6 MR |
2809 | 2012-04-24 Maciej W. Rozycki <[email protected]> |
2810 | ||
2811 | * mips-tdep.c | |
2812 | (is_mips16_addr, unmake_mips16_addr, make_mips16_addr): Group | |
2813 | with the other MIPS16 helpers. | |
2814 | ||
7fc7e0c3 SDJ |
2815 | 2012-04-24 Sergio Durigan Junior <[email protected]> |
2816 | ||
2817 | * observer.sh: Conditionally declare `args', thus cleaning up | |
2818 | unused instances of this variable. | |
2819 | ||
20388dd6 YQ |
2820 | 2012-04-24 Yao Qi <[email protected]> |
2821 | ||
2822 | Revert this patch to allow breakpoint always-inserted | |
2823 | in record target. | |
2824 | 2011-12-05 Pedro Alves <[email protected]> | |
2825 | * breakpoint.c: Include record.h. | |
2826 | (breakpoints_always_inserted_mode): Return false when the record | |
2827 | target is in use. | |
2828 | ||
2829 | * breakpoint.c (iterate_over_bp_locations): New. | |
2830 | * breakpoint.h: Declare. | |
2831 | New typedef walk_bp_location_callback. | |
2832 | * record.c (record_open): Call record_init_record_breakpoints. | |
2833 | (record_sync_record_breakpoints): New. | |
2834 | (record_init_record_breakpoints): New. | |
2835 | * NEWS: Mention supporting breakpoint always-inserted mode in | |
2836 | record target. | |
2837 | ||
4734f50e MK |
2838 | 2012-04-24 Marc Khouzam <[email protected]> |
2839 | ||
2840 | * mi/mi-main.c (mi_cmd_execute): Choose a live thread not just | |
2841 | any thread. | |
2842 | ||
c326b90e YQ |
2843 | 2012-04-24 Yao Qi <[email protected]> |
2844 | ||
2845 | * breakpoint.c (ep_is_catchpoint): Renamed to ... | |
2846 | (is_catchpoint): ... it. | |
2847 | (print_one_breakpoint_location): Caller update. | |
2848 | * breakpoint.h: Update declaration. | |
2849 | ||
d8fb5a1e DM |
2850 | 2012-04-23 David S. Miller <[email protected]> |
2851 | ||
2852 | * configure.tgt (sparc-*-linux*): Set build_gdbserver to yes. | |
2853 | ||
34431a2a TT |
2854 | 2012-04-23 Tom Tromey <[email protected]> |
2855 | ||
2856 | * buildsym.c (add_free_pendings): Remove. | |
2857 | * buildsym.h (add_free_pendings): Remove. | |
2858 | ||
4568ecf9 DE |
2859 | 2012-04-23 Doug Evans <[email protected]> |
2860 | ||
2861 | * dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in | |
2862 | attr.u.unsnd instead of attr.u.addr. | |
2863 | (read_attribute_value) Ditto for cases DW_FORM_ref_addr, | |
2864 | DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4, DW_FORM_reg8, | |
2865 | DW_FORM_ref_udata. | |
2866 | (dump_die_shallow): Update cases DW_FORM_ref_addr, | |
2867 | DW_FORM_ref1, DW_FORM_ref2, DW_FORM_ref4. Add cases DW_FORM_ref8, | |
2868 | DW_FORM_ref_udata. | |
2869 | (dwarf2_get_ref_die_offset): Use DW_UNSND for reference attributes. | |
2870 | ||
dca9aa3a MR |
2871 | 2012-04-23 Maciej W. Rozycki <[email protected]> |
2872 | ||
2873 | * mips-tdep.c (mips_n32n64_return_value): Fix coding style. | |
2874 | (mips_o32_return_value): Likewise. | |
2875 | (mips_o64_return_value): Likewise. | |
2876 | ||
c8ea1972 PH |
2877 | 2012-04-21 Paul Hilfinger <[email protected]> |
2878 | ||
2879 | * ada-lang.c (ada_evaluate_subexp): Add cases for | |
2880 | TYPE_CODE_INTERNAL_FUNCTION and for TYPE_GNU_IFUNC, following | |
2881 | their treatment in eval.c. | |
2882 | ||
8d1b3521 DM |
2883 | 2012-04-21 David S. Miller <[email protected]> |
2884 | ||
2885 | * sparc-tdep.c (X_DISP10): Define. | |
2886 | (sparc_analyze_control_transfer): Handle compare-and-branch. | |
2887 | ||
03145bf4 JL |
2888 | 2012-04-21 Jonathan Larmour <[email protected]> |
2889 | ||
2890 | * features/Makefile (WHICH): Add arm-with-m and arm-with-m-fpa-layout. | |
2891 | * arm-tdep.c (arm_register_g_packet_guesses): Fix comment. | |
2892 | ||
004159a2 MR |
2893 | 2012-04-20 Nigel Stephens <[email protected]> |
2894 | Maciej W. Rozycki <[email protected]> | |
2895 | ||
2896 | * mips-tdep.c (mips_float_register_p): New function. | |
2897 | (mips_convert_register_float_case_p): Use mips_float_register_p. | |
2898 | (mips_register_type): Likewise. | |
2899 | (mips_print_register): Likewise. | |
2900 | (print_gp_register_row): Likewise. | |
2901 | (mips_print_registers_info): Likewise. | |
2902 | ||
7f0e6aae MR |
2903 | 2012-04-20 Shun-Yen Lu <[email protected]> |
2904 | ||
2905 | * mips-tdep.c (mips_elf_make_msymbol_special): Fix identification | |
2906 | of mips16 symbols. | |
2907 | ||
bc17beea AP |
2908 | 2012-04-20 Andrew Pinski <[email protected]> |
2909 | ||
2910 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
2911 | ||
1730a5a5 SDJ |
2912 | 2012-04-20 Sergio Durigan Junior <[email protected]> |
2913 | ||
2914 | * MAINTAINERS: Update my e-mail address. | |
2915 | ||
38ea300a PA |
2916 | 2012-04-20 Pedro Alves <[email protected]> |
2917 | ||
2918 | * acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Handle absolute | |
2919 | $srcdir. | |
2920 | * configure: Regenerate. | |
2921 | ||
111dfaae SDJ |
2922 | 2012-04-20 Sergio Durigan Junior <[email protected]> |
2923 | ||
2924 | * cp-support.h: Include `gdb_vecs.h'. Delete `const_char_ptr' VEC | |
2925 | declaration. | |
2926 | * gdb_vecs.h: Declare `const_char_ptr' VEC. | |
2927 | ||
4fb2c64a JK |
2928 | 2012-04-20 Jan Kratochvil <[email protected]> |
2929 | ||
2930 | Fix compilation compatibility with python-2.4 | |
2931 | * python/py-type.c (convert_field): Cast ADDRSTRING for | |
2932 | PyObject_SetAttrString as non-const. New comment. | |
2933 | ||
6328eb38 TT |
2934 | 2012-04-19 Tom Tromey <[email protected]> |
2935 | ||
2936 | * top.c (quit_target): Use all_cleanups. | |
2937 | * main.c (captured_command_loop): Use all_cleanups. | |
2938 | * exceptions.c (throw_exception): Use all_cleanups. | |
2939 | ||
c971b7fa PA |
2940 | 2012-04-19 Pedro Alves <[email protected]> |
2941 | ||
2942 | * Makefile.in (GNULIB_BUILDDIR): New. | |
2943 | (LIBGNU, INCGNU, GNULIB_H): Adjust. | |
2944 | (SUBDIRS): Add $(GNULIB_BUILDDIR). | |
2945 | (CLEANDIRS). Remove gnulib/import. | |
2946 | (REQUIRED_SUBDIRS): Replace gnulib/import with $(GNULIB_BUILDDIR). | |
2947 | (all-lib): Ditto. | |
2948 | (distclean): Remove the $(GNULIB_BUILDDIR) directory. | |
2949 | (gnulib/import/Makefile): Replace gnulib/import with | |
2950 | $(GNULIB_BUILDDIR). Set CONFIG_FILES to just Makefile. | |
2951 | (ACLOCAL_AMFLAGS): Remove '-I gnulib/import/m4'. | |
2952 | (aclocal_m4_deps): Remove the gnulib dependencies. Add | |
2953 | acx_configure_dir.m4. | |
2954 | * acinclude.m4: Include acx_configure_dir.m4. | |
2955 | * acx_configure_dir.m4: New file. | |
2956 | * aclocal.m4: Regenerate. | |
a09130f9 PA |
2957 | * configure.ac: Remove gl_EARLY, gl_INIT and AM_INIT_AUTOMAKE |
2958 | calls. Configure gnulib using ACX_CONFIGURE_DIR. | |
2959 | (GNULIB): New variable. | |
2960 | (GNULIB_STDINT_H): Adjust. | |
2961 | (AC_OUTPUT): Don't output gnulib/Makefile. | |
2962 | * gdb/defs.h: Include build-gnulib/config.h. | |
2963 | * aclocal.m4: Regenerate. | |
2964 | * config.in: Regenerate. | |
2965 | * configure: Regenerate. | |
2966 | ||
2967 | * gnulib/Makefile.in: New file. | |
2968 | * gnulib/configure.ac: New file. | |
2969 | * gnulib/aclocal.m4: New file. | |
2970 | * gnulib/config.in: New file. | |
2971 | * gnulib/configure: New file. | |
c971b7fa PA |
2972 | * gnulib/: Re-run gnulib-tool to adjust. |
2973 | ||
b10faa68 DE |
2974 | 2012-04-19 Doug Evans <[email protected]> |
2975 | ||
2976 | * cleanups.h (struct cleanup): Move to cleanups.c. | |
2977 | (make_cleanup_dtor_ftype): New typedef. | |
2978 | (make_cleanup_dtor): Use it. | |
2979 | (ALL_CLEANUPS): Replace with ... | |
2980 | (all_cleanups): ... this. Declare. All uses updated. | |
2981 | * cleanups.c: #include "gdb_assert.h". | |
2982 | (sentinel_cleanup): New static global. | |
2983 | (SENTINEL_CLEANUP): Define. | |
2984 | (cleanup_chain, final_cleanup_chain): Initialize to SENTINEL_CLEANUP. | |
2985 | (make_my_cleanup2): Assert result is non-NULL. | |
2986 | (all_cleanups): New function. | |
2987 | (save_my_cleanups): Initialize new chain to SENTINEL_CLEANUP instead | |
2988 | of NULL. | |
2989 | ||
d8c267cc PA |
2990 | 2012-04-19 Pedro Alves <[email protected]> |
2991 | ||
2992 | * Makefile.in (HFILES_NO_SRCDIR): Remove gnulib/wchar.in.h. | |
2993 | Adjust paths to gnulib imported files. | |
2994 | ||
809277f8 PA |
2995 | 2012-04-19 Pedro Alves <[email protected]> |
2996 | ||
2997 | * gnulib/: Move whole directory ... | |
2998 | * gnulib/import/: ... here, and re-rerun gnulib-tool to adjust. | |
2999 | * Makefile.in (LIBGNU, INCGNU, GNULIB_H, CLEANDIRS) | |
3000 | (REQUIRED_SUBDIRS, all-lib, gnulib/Makefile, ACLOCAL_AMFLAGS) | |
3001 | (aclocal_m4_deps): Adjust. | |
3002 | * aclocal.m4: Regenerate. | |
3003 | * configure: Regenerate. | |
3004 | * configure.ac: Adjust AC_OUTPUT output. | |
3005 | ||
aad9eab9 YQ |
3006 | 2012-04-19 Yao Qi <[email protected]> |
3007 | ||
3008 | * Makefile.in (SFILES): Add common/vec.c and remove vec.c. | |
3009 | (vec.o): New rule. | |
3010 | * vec.c: Move it ... | |
3011 | * common/vec.c: ... here. | |
3012 | * vec.h: Move it ... | |
3013 | * common/vec.h: ... here. | |
3014 | ||
48fe4669 YQ |
3015 | 2012-04-19 Yao Qi <[email protected]> |
3016 | ||
3017 | * gdb-code-style.el: New. | |
3018 | ||
770d76d7 PA |
3019 | 2012-04-18 Pedro Alves <[email protected]> |
3020 | ||
3021 | Update gnulib from latest git. | |
3022 | (639ea5ae15e39fe48d43e04864b2997301e4b969) | |
3023 | ||
3024 | * gnulib/Makefile.am: Update. | |
3025 | * gnulib/dummy.c: Update. | |
3026 | * gnulib/extra/arg-nonnull.h: Update. | |
3027 | * gnulib/extra/c++defs.h: Update. | |
3028 | * gnulib/extra/update-copyright: Update. | |
3029 | * gnulib/extra/warn-on-use.h: Update. | |
3030 | * gnulib/inttypes.in.h: Update. | |
3031 | * gnulib/m4/00gnulib.m4: Update. | |
3032 | * gnulib/m4/extensions.m4: Update. | |
3033 | * gnulib/m4/gnulib-cache.m4: Update. | |
3034 | * gnulib/m4/gnulib-common.m4: Update. | |
3035 | * gnulib/m4/gnulib-comp.m4: Update. | |
3036 | * gnulib/m4/gnulib-tool.m4: Update. | |
3037 | * gnulib/m4/include_next.m4: Update. | |
3038 | * gnulib/m4/inttypes-pri.m4: Update. | |
3039 | * gnulib/m4/inttypes.m4: Update. | |
3040 | * gnulib/m4/longlong.m4: Update. | |
3041 | * gnulib/m4/memchr.m4: Update. | |
3042 | * gnulib/m4/memmem.m4: Update. | |
3043 | * gnulib/m4/mmap-anon.m4: Update. | |
3044 | * gnulib/m4/multiarch.m4: Update. | |
3045 | * gnulib/m4/onceonly.m4: Update. | |
3046 | * gnulib/m4/stddef_h.m4: Update. | |
3047 | * gnulib/m4/stdint.m4: Update. | |
3048 | * gnulib/m4/string_h.m4: Update. | |
3049 | * gnulib/m4/warn-on-use.m4: Update. | |
3050 | * gnulib/m4/wchar_h.m4: Update. | |
3051 | * gnulib/m4/wchar_t.m4: Update. | |
3052 | * gnulib/m4/wint_t.m4: Update. | |
3053 | * gnulib/memchr.c: Update. | |
3054 | * gnulib/memmem.c: Update. | |
3055 | * gnulib/stddef.in.h: Update. | |
3056 | * gnulib/stdint.in.h: Update. | |
3057 | * gnulib/str-two-way.h: Update. | |
3058 | * gnulib/string.in.h: Update. | |
3059 | * gnulib/wchar.in.h: Update. | |
3060 | ||
3061 | * gnulib/extra/arg-nonnull.h: Delete. | |
3062 | * gnulib/extra/c++defs.h: Delete. | |
3063 | * gnulib/extra/warn-on-use.h: Delete. | |
3064 | * gnulib/m4/wchar_h.m4: Delete. | |
3065 | * gnulib/m4/wint_t.m4: Delete. | |
3066 | * gnulib/wchar.in.h: Delete. | |
3067 | ||
3068 | * gnulib/extra/snippets/arg-nonnull.h: New. | |
3069 | * gnulib/extra/snippets/c++defs.h: New. | |
3070 | * gnulib/extra/snippets/warn-on-use.h: New. | |
3071 | ||
3072 | * aclocal.m4: Regenerate. | |
3073 | * config.in: Regenerate. | |
3074 | * configure: Regenerate. | |
3075 | * gnulib/Makefile.in: Regenerate. | |
3076 | ||
174e088e PA |
3077 | 2012-04-18 Pedro Alves <[email protected]> |
3078 | ||
3079 | Reimport the update-copyright module from gnulib | |
3080 | (250b80067c1e1d8faa0c42fb572f721975b929c5). | |
3081 | ||
3082 | * configure: Regenerate. | |
3083 | * gnulib/Makefile.am: Update. | |
3084 | * gnulib/Makefile.in: Regenerate. | |
3085 | * gnulib/extra/update-copyright: Update. | |
3086 | * gnulib/m4/gnulib-cache.m4: Update. | |
3087 | * gnulib/m4/gnulib-comp.m4: Update. | |
3088 | ||
7f533142 JB |
3089 | 2012-04-18 Tristan Gingold <[email protected]> |
3090 | ||
3091 | * configure.ac (aix): Put -lpthread into libs. | |
3092 | * configure: Regenerate. | |
3093 | ||
001822aa TT |
3094 | 2012-04-18 Tom Tromey <[email protected]> |
3095 | ||
3096 | * linespec.c (convert_linespec_to_sals): Don't use | |
3097 | SYMBOL_OBJ_SECTION. | |
3098 | (compare_msymbols): Arguments are minsym_and_objfile, not | |
3099 | minimal_symbol*. Don't use SYMBOL_OBJ_SECTION. | |
3100 | ||
db026a31 PA |
3101 | 2012-04-18 Pedro Alves <[email protected]> |
3102 | ||
3103 | Revert gnulib/ part of: | |
3104 | 2011-01-01 Joel Brobecker <[email protected]> | |
3105 | Copyright year update in most files (performed by copyright.sh). | |
3106 | ||
12df843f JK |
3107 | 2012-04-18 Jan Kratochvil <[email protected]> |
3108 | ||
3109 | Fix 64-bit constants on 32-bit hosts. | |
3110 | * dwarf2read.c (read_unsigned_leb128): Change declaration return type | |
3111 | from unsigned long to ULONGEST. | |
3112 | (read_signed_leb128): Change declaration return type from long to | |
3113 | LONGEST. | |
3114 | (dwarf2_const_value_attr): Change declaration parameter value from long | |
3115 | to LONGEST. | |
3116 | (dwarf2_compute_name): Change variable value from long to LONGEST. | |
3117 | (read_unsigned_leb128): Change return type, variable result and some | |
3118 | casts from unsigned long to ULONGEST. | |
3119 | (read_signed_leb128): Change return type, variable result and some | |
3120 | casts from long to LONGEST. | |
3121 | (dwarf2_const_value_data, dwarf2_const_value_attr): Change parameter | |
3122 | value from long to LONGEST. | |
3123 | (dwarf2_const_value): Change variable value from long to LONGEST. | |
3124 | * symmisc.c (print_symbol): Change SYMBOL_VALUE format strings to use | |
3125 | plongest and hex_string. | |
3126 | * symtab.h (struct general_symbol_info): Change ivalue from long to | |
3127 | LONGEST, remove the comment. | |
3128 | * tracepoint.c (validate_actionline, collect_symbol, scope_info): | |
3129 | Change SYMBOL_VALUE format strings to use plongest and hex_string. | |
3130 | ||
14e75d8e JK |
3131 | 2012-04-18 Siddhesh Poyarekar <[email protected]> |
3132 | ||
3133 | PR symtab/7259: | |
3134 | * ada-exp.y (convert_char_literal): Use TYPE_FIELD_ENUMVAL. | |
3135 | * ada-lang.c (ada_discrete_type_high_bound) | |
ac4ea3c2 JK |
3136 | (ada_discrete_type_low_bound): Fix function comment. Use |
3137 | TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. | |
14e75d8e JK |
3138 | (ada_identical_enum_types_p): Use TYPE_FIELD_ENUMVAL. |
3139 | (pos_atr, value_val_atr): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. | |
3140 | * ada-typeprint.c (print_enum_type): Change variable lastval to LONGEST. | |
3141 | Use TYPE_FIELD_ENUMVAL. | |
3142 | * ada-valprint.c (print_optional_low_bound, ada_print_scalar) | |
3143 | (ada_val_print_1): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. | |
3144 | * c-typeprint.c (c_type_print_base): Move variable lastval to inner | |
3145 | block, change it to LONGEST. Use TYPE_FIELD_ENUMVAL for | |
3146 | TYPE_CODE_ENUM. | |
3147 | * coffread.c (coff_read_enum_type): Use SET_FIELD_ENUMVAL. | |
3148 | * dwarf2read.c (process_enumeration_scope): Likewise. | |
3149 | * gdb-gdb.py (TypeFlagsPrinter): Use field.enumval instead of | |
3150 | field.bitpos. | |
3151 | (class StructMainTypePrettyPrinter): Support also | |
3152 | FIELD_LOC_KIND_ENUMVAL. | |
3153 | * gdbtypes.c (get_discrete_bounds): Use TYPE_FIELD_ENUMVAL for | |
3154 | TYPE_CODE_ENUM. | |
3155 | (recursive_dump_type): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. | |
3156 | (copy_type_recursive): Support also FIELD_LOC_KIND_ENUMVAL. | |
3157 | * gdbtypes.h (enum field_loc_kind): New FIELD_LOC_KIND_ENUMVAL. | |
3158 | (struct main_type.flds_bnds.fields.loc): Adjust bitpos comment. New | |
3159 | field enumval. | |
3160 | (struct main_type.flds_bnds.bields): Adjust loc_kind and bitsize to | |
3161 | accommodate enumval. | |
3162 | (struct call_site): Adjust loc_kind to accommodate enumval. | |
3163 | (FIELD_ENUMVAL, FIELD_ENUMVAL_LVAL, SET_FIELD_ENUMVAL) | |
3164 | (TYPE_FIELD_ENUMVAL): New macros. | |
3165 | * m2-typeprint.c (m2_enum): Use TYPE_FIELD_ENUMVAL. | |
3166 | * mdebugread.c (parse_symbol): Use TYPE_FIELD_ENUMVAL for | |
3167 | TYPE_CODE_ENUM. | |
3168 | * p-typeprint.c (pascal_type_print_base): Likewise. | |
3169 | * python/lib/gdb/printing.py (class FlagEnumerationPrinter): Use | |
3170 | enumval. | |
3171 | * python/lib/gdb/types.py (make_enum_dict): Likewise. | |
3172 | * python/py-type.c (convert_field): New variable addrstring. Use | |
3173 | TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM. | |
3174 | (check_types_equal): Support also FIELD_LOC_KIND_ENUMVAL. | |
3175 | * stabsread.c (read_enum_type): Use SET_FIELD_ENUMVAL. | |
3176 | * typepint.c (print_type_scalar): Use TYPE_FIELD_ENUMVAL for | |
3177 | TYPE_CODE_ENUM. | |
3178 | * valprint.c (generic_val_print): Likewise. | |
3179 | ||
380bca97 DE |
3180 | 2012-04-17 Doug Evans <[email protected]> |
3181 | ||
dcc07052 DE |
3182 | * dwarf2read.c (lookup_signatured_type): Return NULL instead of 0. |
3183 | ||
380bca97 DE |
3184 | * dwarf2read.c: Whitespace fixes. |
3185 | (lookup_signatured_type): Tweak comment. | |
3186 | (get_die_type_at_offset): Fix comment. | |
3187 | ||
ec92004f JB |
3188 | 2012-04-17 Joel Brobecker <[email protected]> |
3189 | ||
3190 | * xcoffread.c (xcoff_secnum_to_sections): New function. | |
3191 | (secnum_to_section, secnum_to_bfd_section): Reimplement | |
3192 | using xcoff_secnum_to_sections. Rename "secnum" parameter | |
3193 | into "n_scnum". | |
3194 | (RECORD_MINIMAL_SYMBOL): Delete. | |
3195 | (record_minimal_symbol): New function. | |
3196 | (scan_xcoff_symtab): Replace uses of RECORD_MINIMAL_SYMBOL | |
3197 | by call to record_minimal_symbol and set misc_func_recorded | |
3198 | to 1. Set last_csect_sec to the XCOFF section index instead | |
3199 | of GDB's section_offset index. Update calls to | |
3200 | prim_record_minimal_symbol_and_info to pass the BFD section | |
3201 | as well. | |
3202 | ||
40301fb7 JB |
3203 | 2012-04-17 Joel Brobecker <[email protected]> |
3204 | ||
3205 | * xcoffread.c (read_xcoff_symtab): Delete variables | |
3206 | last_csect_val and last_csect_sec and associated code. | |
3207 | ||
e0088cfd DE |
3208 | 2012-04-17 Doug Evans <[email protected]> |
3209 | ||
58d5e2c3 DE |
3210 | * cleanups.c (make_my_cleanup,make_my_cleanup2): Make static. |
3211 | (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto. | |
3212 | * cleanups.h (make_my_cleanup,make_my_cleanup2): Delete | |
3213 | (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Delete. | |
3214 | ||
c27f5738 DE |
3215 | * cleanups.h: New file. |
3216 | * cleanups.c: New file. | |
3217 | * Makefile.in (SFILES): Add cleanups.c. | |
3218 | (HFILES_NO_SRCDIR): Add cleanups.h. | |
3219 | (COMMON_OBS): Add cleanups.o. | |
3220 | * defs.h (struct cleanup): Moved to cleanups.h. | |
3221 | (do_cleanups,do_final_cleanups): Ditto. | |
3222 | (discard_cleanups,discard_final_cleanups): Ditto | |
3223 | (make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto. | |
3224 | (save_cleanups,save_final_cleanups): Ditto. | |
3225 | (restore_cleanups,restore_final_cleanups): Ditto. | |
3226 | (null_cleanup): Ditto. | |
3227 | (make_my_cleanup,make_my_cleanup2): Ditto. | |
3228 | (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto. | |
3229 | * utils.c (cleanup_chain,final_cleanup_chain): Moved to cleanups.c. | |
3230 | (do_cleanups,do_final_cleanups): Ditto. | |
3231 | (discard_cleanups,discard_final_cleanups): Ditto | |
3232 | (make_cleanup,make_cleanup_dtor,make_final_cleanup): Ditto. | |
3233 | (save_cleanups,save_final_cleanups): Ditto. | |
3234 | (restore_cleanups,restore_final_cleanups): Ditto. | |
3235 | (null_cleanup): Ditto. | |
3236 | (make_my_cleanup,make_my_cleanup2): Ditto. | |
3237 | (discard_my_cleanups,save_my_cleanups,restore_my_cleanups): Ditto. | |
3238 | ||
e0088cfd DE |
3239 | * utils.c (make_cleanup_freeargv): Use make_cleanup instead of |
3240 | make_my_cleanup. | |
3241 | (make_cleanup_dyn_string_delete): Ditto. | |
3242 | (make_cleanup_ui_file_delete): Ditto. | |
3243 | (make_cleanup_ui_out_redirect_pop): Ditto. | |
3244 | (make_cleanup_free_section_addr_info): Ditto. | |
3245 | (make_cleanup_restore_integer): Ditto. | |
3246 | (make_cleanup_unpush_target): Ditto. | |
3247 | (make_cleanup_value_free_to_mark): Ditto. | |
3248 | (make_cleanup_value_free): Ditto. | |
3249 | (make_cleanup_free_so): Ditto. | |
3250 | ||
4dc84fd1 JK |
3251 | 2012-04-17 Jan Kratochvil <[email protected]> |
3252 | ||
3253 | New option "set debug auto-load". | |
3254 | * NEWS: New commands "set debug auto-load" and "show debug auto-load". | |
3255 | * auto-load.c (debug_auto_load, show_debug_auto_load: New. | |
3256 | (auto_load_safe_path_vec_update) | |
3257 | (filename_is_in_auto_load_safe_path_vec): Call fprintf_unfiltered | |
3258 | if DEBUG_AUTO_LOAD. | |
3259 | (file_is_auto_load_safe): New parameters debug_fmt and .... | |
3260 | Call fprintf_unfiltered if DEBUG_AUTO_LOAD. | |
3261 | (source_gdb_script_for_objfile): Extend the file_is_auto_load_safe | |
3262 | caller by explanatory string. | |
3263 | (_initialize_auto_load): Register "set debug auto-load". | |
3264 | * auto-load.h (file_is_auto_load_safe): New parameters debug_fmt | |
3265 | and .... | |
3266 | * linux-thread-db.c (try_thread_db_load_from_pdir_1) | |
3267 | (try_thread_db_load_from_dir): Extend the file_is_auto_load_safe caller | |
3268 | by explanatory string. | |
3269 | * main.c (captured_main): Likewise. | |
3270 | * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile) | |
3271 | (source_section_scripts): Likewise. | |
3272 | ||
bccbefd2 JK |
3273 | 2012-04-17 Jan Kratochvil <[email protected]> |
3274 | ||
3275 | New option "set auto-load safe-path". | |
3276 | * NEWS: New commands "set auto-load safe-path" | |
3277 | and "show auto-load safe-path". | |
3278 | * auto-load.c: Include gdb_vecs.h, readline/tilde.h and completer.h. | |
3279 | (auto_load_safe_path, auto_load_safe_path_vec) | |
3280 | (auto_load_safe_path_vec_update, set_auto_load_safe_path) | |
3281 | (show_auto_load_safe_path, add_auto_load_safe_path, filename_is_in_dir) | |
3282 | (filename_is_in_auto_load_safe_path_vec, file_is_auto_load_safe): New. | |
3283 | (source_gdb_script_for_objfile): New variable is_safe. Call | |
3284 | file_is_auto_load_safe. Return if it is not. | |
3285 | (struct loaded_script): New field loaded. | |
3286 | (maybe_add_script): Add parameter loaded. Initialize SLOT with it. | |
3287 | (print_script): Use LOADED indicator instead of FULL_PATH. Change | |
3288 | output "Missing" to "No". | |
3289 | (_initialize_auto_load): New variable cmd. Initialize | |
3290 | auto_load_safe_path. Register "set auto-load safe-path", | |
3291 | "show auto-load safe-path" and "add-auto-load-safe-path". | |
3292 | * auto-load.h (maybe_add_script): Add parameter loaded. | |
3293 | (file_is_auto_load_safe): New declaration. | |
3294 | * config.in: Regenerate. | |
3295 | * configure: Regenerate. | |
3296 | * configure.ac: New parameters --with-auto-load-safe-path | |
3297 | and --without-auto-load-safe-path. | |
3298 | * linux-thread-db.c (try_thread_db_load_from_pdir_1) | |
3299 | (try_thread_db_load_from_dir): Check file_is_auto_load_safe first. | |
3300 | * main.c (captured_main): Check file_is_auto_load_safe for | |
3301 | LOCAL_GDBINIT. | |
3302 | * python/py-auto-load.c (gdbpy_load_auto_script_for_objfile): New | |
3303 | variable is_safe. Call file_is_auto_load_safe. Return if it is not. | |
3304 | (source_section_scripts): Call file_is_auto_load_safe. Return if it is | |
3305 | not. | |
3306 | ||
bf88dd68 JK |
3307 | 2012-04-17 Jan Kratochvil <[email protected]> |
3308 | ||
3309 | auto-load: Implementation. | |
3310 | * NEWS: New descriptions for "info auto-load", | |
3311 | "info auto-load gdb-scripts", "info auto-load python-scripts", | |
3312 | "info auto-load local-gdbinit" and "info auto-load libthread-db". | |
3313 | Deprecate "info auto-load-scripts", "set auto-load-scripts on|off" | |
3314 | and "show auto-load-scripts". New description for "set auto-load", | |
3315 | "show auto-load", "set auto-load gdb-scripts", | |
3316 | "show auto-load gdb-scripts", "set auto-load python-scripts", | |
3317 | "show auto-load python-scripts", "set auto-load local-gdbinit", | |
3318 | "show auto-load local-gdbinit", "set auto-load libthread-db" and | |
3319 | "show auto-load libthread-db". | |
3320 | * auto-load.c: Remove include python/python-internal.h. Add includes | |
3321 | exceptions.h, cli/cli-script.h, gdbcmd.h, cli/cli-decode.h and | |
3322 | cli/cli-setshow.h. | |
3323 | (GDB_AUTO_FILE_NAME, source_gdb_script_for_objfile) | |
3324 | (auto_load_gdb_scripts, show_auto_load_gdb_scripts): New. | |
3325 | (gdbpy_global_auto_load): Rename to ... | |
3326 | (global_auto_load): ... here. | |
3327 | (auto_load_local_gdbinit, auto_load_local_gdbinit_pathname) | |
3328 | (auto_load_local_gdbinit_loaded, show_auto_load_local_gdbinit) | |
3329 | (script_language_gdb, source_gdb_script_for_objfile): New. | |
3330 | (struct loaded_script): New field language. | |
3331 | (hash_loaded_script_entry, eq_loaded_script_entry): Calculate also | |
3332 | LANGUAGE. | |
3333 | (maybe_add_script): Add parameter language. Drop redundant | |
3334 | entry.full_path initialization. Initialize entry.language and | |
3335 | (*slot)->language. | |
3336 | (auto_load_objfile_script): Change parameter suffix to language. | |
3337 | Remove the call of maybe_add_script. | |
3338 | Call language->source_script_for_objfile. | |
3339 | (load_auto_scripts_for_objfile, struct collect_matching_scripts_data): | |
3340 | New. | |
3341 | (collect_matching_scripts): Adjust it for | |
3342 | struct collect_matching_scripts_data. | |
3343 | (auto_load_info_scripts_pattern_nl): New variable. | |
3344 | (info_auto_load_scripts): Rename to ... | |
3345 | (auto_load_info_scripts): ... here, add parameter language. Adjust it | |
3346 | for struct collect_matching_scripts_data. | |
3347 | (info_auto_load_gdb_scripts, info_auto_load_local_gdbinit) | |
3348 | (set_auto_load_cmd, auto_load_set_cmdlist_get, show_auto_load_cmd) | |
3349 | (auto_load_show_cmdlist_get, info_auto_load_cmd) | |
3350 | (auto_load_info_cmdlist_get): New. | |
3351 | (_initialize_auto_load): Move add_info of "auto-load-scripts" to | |
3352 | python/py-auto-load.c. New installment for "set auto-load gdb-scripts", | |
3353 | "info auto-load gdb-scripts", "set auto-load local-gdbinit" and | |
3354 | "info auto-load local-gdbinit". | |
3355 | * auto-load.h (struct script_language): New. | |
3356 | (gdbpy_global_auto_load): Rename to ... | |
3357 | (global_auto_load): ... here. | |
3358 | (auto_load_local_gdbinit, auto_load_local_gdbinit_pathname) | |
3359 | (auto_load_local_gdbinit_loaded): New declarations. | |
3360 | (maybe_add_script): New parameter language. | |
3361 | (auto_load_objfile_script): Change parameter suffix to language. | |
3362 | (load_auto_scripts_for_objfile, auto_load_info_scripts_pattern_nl) | |
3363 | (auto_load_info_scripts, auto_load_set_cmdlist_get) | |
3364 | (auto_load_show_cmdlist_get, auto_load_info_cmdlist_get): New | |
3365 | declarations. | |
3366 | * linux-thread-db.c: Include auto-load.h and ctype.h. | |
3367 | (auto_load_thread_db, show_auto_load_thread_db): New. | |
3368 | (struct thread_db_info): New field filename. | |
3369 | (delete_thread_db_info): Call xfree for FILENAME. | |
3370 | (try_thread_db_load): Initialize FILENAME. | |
3371 | (try_thread_db_load_from_pdir, try_thread_db_load_from_dir): Return | |
3372 | if !AUTO_LOAD_THREAD_DB. | |
3373 | (info_auto_load_libthread_db_compare, info_auto_load_libthread_db): New. | |
3374 | (_initialize_thread_db): Install auto_load_thread_db | |
3375 | as "set auto-load libthread-db" and install info_auto_load_libthread_db | |
3376 | as "info auto-load libthread-db". | |
3377 | * main.c (captured_main): Rename gdbpy_global_auto_load to | |
3378 | global_auto_load. Initialize AUTO_LOAD_LOCAL_GDBINIT_PATHNAME and | |
3379 | AUTO_LOAD_LOCAL_GDBINIT_LOADED. | |
3380 | (print_gdb_help): Extend the help for 'local init file'. | |
3381 | * python/py-auto-load.c: Remove a comment about gdb scripts extension. | |
3382 | (GDBPY_AUTO_SECTION_NAME): Extend the comment it is Python specific. | |
3383 | (auto_load_scripts): Rename to ... | |
3384 | (auto_load_python_scripts): ... here, update the comment. | |
3385 | (gdbpy_load_auto_script_for_objfile): New declaration. | |
3386 | (show_auto_load_python_scripts, script_language_python) | |
3387 | (gdbpy_load_auto_script_for_objfile): New. | |
3388 | (source_section_scripts): Refactor the code. | |
3389 | (load_auto_scripts_for_objfile): Rename to ... | |
3390 | (gdbpy_load_auto_scripts_for_objfile): ... here, update the | |
3391 | auto_load_objfile_script caller, drop GDBPY_GLOBAL_AUTO_LOAD checking. | |
3392 | (info_auto_load_python_scripts): New. | |
3393 | (gdbpy_initialize_auto_load): New variables cmd and cmd_name. | |
3394 | Rename "set auto-load-scripts" to "set auto-load python-scripts". | |
3395 | Register "set auto-load-scripts" as its deprecated alias. Register | |
3396 | "info auto-load python-scripts". Register "info auto-load-scripts" as | |
3397 | its deprecated alias. | |
3398 | (load_auto_scripts_for_objfile): Rename to ... | |
3399 | (gdbpy_load_auto_scripts_for_objfile): ... here. | |
3400 | * python/python.h (load_auto_scripts_for_objfile): Rename to ... | |
3401 | (gdbpy_load_auto_scripts_for_objfile): ... here. | |
3402 | ||
e2207b9a JK |
3403 | 2012-04-17 Jan Kratochvil <[email protected]> |
3404 | ||
3405 | auto-load: Move files. | |
3406 | * Makefile.in (SFILES): Add auto-load.c. | |
3407 | (HFILES_NO_SRCDIR): Add auto-load.h. | |
3408 | (COMMON_OBS): Add auto-load.o. | |
3409 | (distclean): Change .gdbinit for gdb-gdb.gdb. | |
3410 | * auto-load.c: New file, with parts from python/py-auto-load.c. | |
3411 | * auto-load.h: New file, with parts from python/python.h. | |
3412 | * configure: Regenerate. | |
3413 | * configure.ac (AC_OUTPUT): Change .gdbinit for gdb-gdb.gdb. | |
3414 | * gdb-gdb.gdb.in: New file, renamed from gdbinit.in. | |
3415 | * gdbinit.in: Remove file, rename it to gdb-gdb.gdb.in. | |
3416 | * main.c: Include auto-load.h. | |
3417 | * python/py-auto-load.c: Move include filenames.h, gdb_regex.h, | |
3418 | command.h, observer.h and progspace.h to auto-load.c. Add include | |
3419 | auto-load.h. | |
3420 | (gdbpy_global_auto_load, struct auto_load_pspace_info) | |
3421 | (struct loaded_script, auto_load_pspace_data) | |
3422 | (auto_load_pspace_data_cleanup, get_auto_load_pspace_data) | |
3423 | (hash_loaded_script_entry, eq_loaded_script_entry) | |
3424 | (init_loaded_scripts_info, get_auto_load_pspace_data_for_loading) | |
3425 | (maybe_add_script): Move to auto-load.c. | |
3426 | (source_section_scripts): Change maybe_add_script parameters passing, | |
3427 | use script_not_found_warning_print. | |
3428 | (clear_section_scripts, auto_load_objfile_script) | |
3429 | (auto_load_new_objfile, loaded_script_ptr) | |
3430 | (DEF_VEC_P (loaded_script_ptr), collect_matching_scripts, print_script) | |
3431 | (sort_scripts_by_name, info_auto_load_scripts): Move to auto-load.c. | |
3432 | (gdbpy_initialize_auto_load): Move auto_load_pspace_data, | |
3433 | auto_load_new_objfile and info_auto_load_scripts initizations to | |
3434 | auto-load.c. | |
3435 | * python/python.h (gdbpy_global_auto_load): Move to auto-load.h. | |
3436 | ||
e4ab2fad JK |
3437 | 2012-04-17 Jan Kratochvil <[email protected]> |
3438 | ||
3439 | Code cleanup. | |
3440 | * charset.c (find_charset_names): Remove variables ix and elt. | |
3441 | Use free_char_ptr_vec. | |
3442 | * elfread.c (build_id_to_debug_filename): New variables debugdir_vec, | |
3443 | back_to and ix. Use dirnames_to_char_ptr_vec. Remove variable | |
3444 | debugdir_end. New variable debugdir_len. | |
3445 | * gdb_vecs.h (free_char_ptr_vec, make_cleanup_free_char_ptr_vec) | |
3446 | (dirnames_to_char_ptr_vec_append, dirnames_to_char_ptr_vec): New | |
3447 | declarations. | |
3448 | * progspace.c (clear_program_space_solib_cache): Remove variables ix | |
3449 | and elt. Use free_char_ptr_vec. | |
3450 | * source.c (add_path): Remove variables argv, arg and argv_index. | |
3451 | New variables dir_vec, back_to, ix and name. | |
3452 | Use dirnames_to_char_ptr_vec_append. Use freeargv instead of | |
3453 | make_cleanup_freeargv. Remove variable separator. Simplify the code | |
3454 | no longer expecting DIRNAME_SEPARATOR. | |
3455 | (openp): Remove variable p, p1 and len. New variables dir_vec, | |
3456 | back_to, ix and dir. Use dirnames_to_char_ptr_vec. Simplify the code | |
3457 | no longer expecting DIRNAME_SEPARATOR. | |
3458 | * symfile.c (find_separate_debug_file): New variables debugdir_vec, | |
3459 | back_to and ix. Use dirnames_to_char_ptr_vec. Remove variable | |
3460 | debugdir_end. | |
3461 | * utils.c (free_char_ptr_vec, do_free_char_ptr_vec) | |
3462 | (make_cleanup_free_char_ptr_vec, dirnames_to_char_ptr_vec_append) | |
3463 | (dirnames_to_char_ptr_vec): New functions. | |
3464 | ||
5ee4ed9f JK |
3465 | 2012-04-17 Jan Kratochvil <[email protected]> |
3466 | ||
3467 | Code cleanup. | |
3468 | * source.c (add_path): Remove always true conditional 'p == 0' and | |
3469 | unindent its code block. | |
3470 | ||
f41f5e61 PA |
3471 | 2012-04-17 Pedro Alves <[email protected]> |
3472 | ||
3473 | * gdbtypes.h (FIELD_BITPOS): Rename to ... | |
3474 | (FIELD_BITPOS_LVAL): ... this. | |
3475 | (FIELD_BITPOS): New. | |
3476 | (SET_FIELD_BITPOS): Adjust to use FIELD_BITPOS_LVAL. | |
3477 | * dwarf2read.c (dwarf2_add_field): Use SET_FIELD_BITPOS. | |
3478 | * gdbtypes.c (append_composite_type_field_aligned): Adjust to use | |
3479 | SET_FIELD_BITPOS. | |
3480 | * gnu-v3-abi.c (build_gdb_vtable_type): Adjust to use | |
3481 | SET_FIELD_BITPOS. | |
3482 | * stabsread.c (read_cpp_abbrev, read_one_struct_field) | |
3483 | (read_baseclasses): Adjust to use SET_FIELD_BITPOS. | |
3484 | * target-descriptions.c (tdesc_gdb_type): Adjust to use | |
3485 | SET_FIELD_BITPOS. | |
3486 | ||
945b3a32 JK |
3487 | 2012-04-17 Jan Kratochvil <[email protected]> |
3488 | ||
3489 | Do not rely on FIELD_LOC_KIND_BITPOS being zero. | |
3490 | * ada-lang.c (ada_template_to_fixed_record_type_1): Replace | |
3491 | TYPE_FIELD_BITPOS used as lvalue by SET_FIELD_BITPOS. | |
3492 | * gdbtypes.c (append_flags_type_flag): Likewise, twice. | |
3493 | * jv-lang.c (java_link_class_type): Likewise, once. | |
3494 | * stabsread.c (read_enum_type): Likewise. | |
3495 | ||
42476b70 YQ |
3496 | 2012-04-16 Yao Qi <[email protected]> |
3497 | ||
3498 | * common/agent.c (agent_run_command): Add one more parameter `len'. | |
3499 | Update callers. | |
3500 | * common/agent.h: Update declaration. | |
3501 | * linux-nat.c (linux_child_static_tracepoint_markers_by_strid): | |
3502 | Update. | |
3503 | (linux_child_static_tracepoint_markers_by_strid): Ditto. | |
3504 | ||
8264ba82 AG |
3505 | 2012-04-14 Anton Gorenkov <[email protected]> |
3506 | ||
3507 | PR mi/13393 | |
3508 | * value.c (value_actual_type): New function. | |
3509 | * value.h (value_actual_type): New declaration. | |
3510 | * varobj.c (update_type_if_necessary): New function. | |
3511 | (varobj_create): Call value_actual_type instead of | |
3512 | value_type. | |
3513 | (install_dynamic_child): distinct changed and type changed MI variable | |
3514 | objects. | |
3515 | (update_dynamic_varobj_children): Updated for install_dynamic_child | |
3516 | change. All callers updated. | |
a09130f9 | 3517 | (varobj_update): Support for MI variable object type change if |
8264ba82 AG |
3518 | the value changed and RTTI is used to determine the type. |
3519 | (create_child_with_value): Call value_actual_type instead of | |
3520 | value_type. | |
a09130f9 | 3521 | (adjust_value_for_child_access): Extended with a new parameter which |
8264ba82 AG |
3522 | specify whether the given value should be casted to enclosing type. |
3523 | All callers updated. | |
3524 | ||
55a8c076 YQ |
3525 | 2012-04-14 Yao Qi <[email protected]> |
3526 | ||
3527 | Import gnulib module inttypes from git | |
3528 | (250b80067c1e1d8faa0c42fb572f721975b929c5) | |
3529 | * Makefile.in (HFILES_NO_SRCDIR): Add gnulib/inttypes.in.h. | |
a09130f9 PA |
3530 | (aclocal_m4_deps): Add gnulib/m4/inttypes.m4 and |
3531 | gnulib/m4/inttypes-pri.m4 | |
55a8c076 YQ |
3532 | * aclocal.m4, config.in, configure: Regenerated. |
3533 | * gnulib/Makefile.am: Update. | |
3534 | * gnulib/Makefile.in: Update. | |
3535 | * gnulib/m4/gnulib-cache.m4: Update. | |
3536 | * gnulib/m4/gnulib-comp.m4: Update. | |
3537 | * gnulib/inttypes.in.h: New. | |
3538 | * gnulib/m4/inttypes-pri.m4: New. | |
a09130f9 | 3539 | * gnulib/m4/inttypes.m4: New. |
55a8c076 | 3540 | |
ca7781d2 LM |
3541 | 2012-04-13 Luis Machado <[email protected]> |
3542 | ||
3543 | * infrun.c (resume): Update PC address to the real PC after | |
3544 | preparing to do displaced stepping. | |
3545 | ||
e319fa28 DE |
3546 | 2012-04-12 Doug Evans <[email protected]> |
3547 | ||
3548 | * dwarf2read.c (lookup_signatured_type): Remove arg "objfile", unused. | |
3549 | All callers updated. | |
3550 | ||
15add3f5 MK |
3551 | 2012-04-12 Mark Kettenis <[email protected]> |
3552 | ||
3553 | * i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype. | |
3554 | ||
52dc124a DE |
3555 | 2012-04-12 Doug Evans <[email protected]> |
3556 | ||
0e50663e DE |
3557 | * dwarf2read.c (create_all_type_units): Renamed from |
3558 | create_debug_types_hash_table. All callers updated. | |
3559 | ||
52dc124a DE |
3560 | * dwarf2read.c (create_signatured_type_table_from_index): Rename |
3561 | local type_sig to sig_type, type_offset to type_offset_in_tu. | |
3562 | (hash_signatured_type): Renamed from hash_type_signature, | |
3563 | all callers updated. | |
3564 | (eq_signatured_type): Renamed from eq_type_signature, | |
3565 | all callers updated. | |
3566 | (create_debug_types_hash_table): Rename local type_sig to sig_type. | |
3567 | (process_enumeration_scope): Ditto. | |
3568 | (lookup_signatured_type_at_offset): Ditto. | |
3569 | (load_full_type_unit, read_signatured_type): Ditto. | |
3570 | ||
248fd3bf YQ |
3571 | 2012-04-12 Yao Qi <[email protected]> |
3572 | ||
3573 | * remote.c (async_remote_interrupt): Correct function name in | |
3574 | debug message. | |
3575 | (async_remote_interrupt_twice): Ditto. | |
3576 | ||
bc3aa6c3 DE |
3577 | 2012-04-11 Yuanhui Zhang <[email protected]> |
3578 | ||
3579 | * source.c (find_and_open_source): Consistently pass resulting | |
3580 | full path through xfullpath. | |
3581 | ||
9e529e1d JK |
3582 | 2012-04-11 Jan Kratochvil <[email protected]> |
3583 | ||
3584 | Provide more specific displaced-stepping memory error message. | |
3585 | * infrun.c (displaced_step_prepare): New variable status. Call | |
3586 | target_read_memory instead of read_memory, provide more specific | |
3587 | error message. | |
3588 | ||
82e0cec1 TG |
3589 | 2012-04-11 Tristan Gingold <[email protected]> |
3590 | ||
3591 | PR gdb/13901 | |
3592 | * darwin-nat.c (darwin_execvp): Revert previous patch. | |
3593 | ||
d987a266 TG |
3594 | 2012-04-11 Tristan Gingold <[email protected]> |
3595 | ||
3596 | PR gdb/13901 | |
3597 | * darwin-nat.c (darwin_resume_thread): Call darwin_set_sstep only | |
3598 | in case of change. | |
3599 | ||
016b7430 TG |
3600 | 2012-04-11 Tristan Gingold <[email protected]> |
3601 | ||
3602 | * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix | |
3603 | warning. | |
3604 | ||
06fc020f SCR |
3605 | 2012-04-11 Siva Chandra Reddy <[email protected]> |
3606 | ||
3607 | New command 'explore' which helps explore values and types in | |
3608 | scope. | |
3609 | * NEWS: Add an entry about the new 'explore' command. | |
3610 | * data-directory/Makefile.in: Add gdb/command/explore.py | |
3611 | * python/lib/gdb/command/explore.py: Implemention of the 'explore' | |
a09130f9 | 3612 | command using the GDB Python API. |
06fc020f | 3613 | |
de0919f8 | 3614 | 2012-04-10 Maciej W. Rozycki <[email protected]> |
34b192ce MR |
3615 | |
3616 | * mips-tdep.c (mips_skip_pic_trampoline_code): Correct sign | |
3617 | extension in jump target calculation. | |
3618 | ||
de0919f8 | 3619 | 2012-04-10 Maciej W. Rozycki <[email protected]> |
9e8da49c MR |
3620 | |
3621 | * mips-tdep.c (mips32_next_pc): Handle JALX. | |
3622 | ||
2f26ef89 YQ |
3623 | 2012-04-10 Yao Qi <[email protected]> |
3624 | ||
3625 | * Makefile.in (gnulib/Makefile): Remove duplicated dependency. | |
3626 | ||
2e505b66 YQ |
3627 | 2012-04-10 Yao Qi <[email protected]> |
3628 | ||
3629 | * Makefile.in (aclocal_m4_deps): Add gnulib/m4/gnulib-cache.m4 | |
3630 | and gnulib/m4/gnulib-tool.m4. | |
3631 | ||
0d99eb77 DE |
3632 | 2012-04-10 Doug Evans <[email protected]> |
3633 | ||
3634 | * dwarf2read.c (dwarf2_per_cu_data). Clarify comment. | |
3635 | (load_partial_dies): Clarify comment. | |
3636 | (find_partial_die): Support rereading type units. | |
3637 | Clarify CU handling, if we know offset is in CU, don't search for the | |
3638 | containing CU. Add comment regarding memory waste. | |
3639 | ||
9a82b8ff L |
3640 | 2012-04-10 H.J. Lu <[email protected]> |
3641 | ||
3642 | * features/Makefile (WHICH): Add i386/x32, i386/x32-linux, | |
3643 | i386/x32-avx and i386/x32-avx-linux. | |
3644 | (i386/x32-expedite): New. | |
3645 | (i386/x32-linux-expedite): Likewise. | |
3646 | (i386/x32-avx-expedite): Likewise. | |
3647 | (i386/x32-avx-linux-expedite): Likewise. | |
3648 | ($(outdir)/i386/x32.dat): Likewise. | |
3649 | ($(outdir)/i386/x32-linux.dat): Likewise. | |
3650 | ($(outdir)/i386/x32-avx.dat): Likewise. | |
3651 | ($(outdir)/i386/x32-avx-linux.dat): Likewise. | |
3652 | ||
3653 | * features/i386/x32-avx-linux.xml: New file. | |
3654 | * features/i386/x32-avx.xml: Likewise. | |
3655 | * features/i386/x32-core.xml: Likewise. | |
3656 | * features/i386/x32-linux.xml: Likewise. | |
3657 | * features/i386/x32.xml: Likewise. | |
3658 | ||
3659 | * features/i386/x32-avx-linux.c: New. Generated. | |
3660 | * features/i386/x32-avx.c: Likewise. | |
3661 | * features/i386/x32-linux.c: Likewise. | |
3662 | * features/i386/x32.c: Likewise. | |
3663 | * regformats/i386/x32-avx-linux.dat: Likewise. | |
3664 | * regformats/i386/x32-avx.dat: Likewise. | |
3665 | * regformats/i386/x32-linux.dat: Likewise. | |
3666 | * regformats/i386/x32.dat: Likewise. | |
3667 | ||
ee41036f TG |
3668 | 2012-04-10 Tristan Gingold <[email protected]> |
3669 | ||
3670 | * darwin-nat.c (darwin_kill_inferior): Always use the no ptrace | |
3671 | code to kill the inferior. | |
3672 | ||
a7aa5b8a MK |
3673 | 2012-04-09 Mark Kettenis <[email protected]> |
3674 | ||
3675 | * ada-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
3676 | defines. | |
3677 | * c-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
3678 | defines. | |
a09130f9 | 3679 | * cp-name-parser.y (yyss, yysslim, yyssp, yystacksize, yyvs) |
a7aa5b8a MK |
3680 | (yyvsp): New defines. |
3681 | * f-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
3682 | defines. | |
3683 | * jv-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
3684 | defines. | |
3685 | * m2-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
3686 | defines. | |
3687 | * objc-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
3688 | defines. | |
3689 | * p-exp.y (yyss, yysslim, yyssp, yystacksize, yyvs, yyvsp): New | |
3690 | defines. | |
3691 | ||
fb57d452 MK |
3692 | 2012-04-09 Mark Kettenis <[email protected]> |
3693 | ||
a09130f9 | 3694 | * sparc64-tdep.c (sparc64_store_arguments) |
fb57d452 MK |
3695 | (sparc64_store_arguments): Fix coding style. |
3696 | ||
cdc7b32f MK |
3697 | 2012-04-07 Mark Kettenis <[email protected]> |
3698 | ||
3699 | * sparc64-tdep.c (sparc64_store_arguments): Fix handling of | |
3700 | complex floats, adjust some related comments and tighten a related | |
3701 | assertion. | |
3702 | (sparc64_extract_return_value): Handle complex floats. | |
3703 | ||
7adf1e79 DE |
3704 | 2012-04-07 Doug Evans <[email protected]> |
3705 | ||
3706 | * dwarf2read.c (load_partial_dies): Change condition to assert. | |
3707 | ||
50f1ae7b DE |
3708 | 2012-04-06 Doug Evans <[email protected]> |
3709 | ||
3710 | * amd64-tdep.c (amd64_analyze_prologue): Recognize both variations of | |
3711 | "mov %rsp,%rbp". | |
3712 | ||
55fa75c3 KB |
3713 | 2012-04-05 Kevin Buettner <[email protected]> |
3714 | ||
3715 | * v850-tdep.c (E_NUM_OF_V850_REGS, E_NUM_OF_V850E_REGS): Fix | |
3716 | fencepost error. | |
3717 | (v850_frame_cache): Use gdbarch_num_regs() instead of E_NUM_REGS. | |
3718 | (v850_gdbarch_init): Set `num_regs' as appropriate for the | |
3719 | architecture. | |
3720 | ||
40e084e1 KS |
3721 | 2012-04-05 Keith Seitz <[email protected]> |
3722 | ||
3723 | * linespec.c (decode_compound): Remove. | |
3724 | (enum offset_relative_sign): New enum. | |
3725 | (struct line_offset): New struct. | |
3726 | (struct linespec): New struct. | |
3727 | (struct linespec_state): Move file_symtabs, | |
3728 | user_filename, and user_function into struct linespec. | |
3729 | Make result an anonymous struct holding vectors of | |
3730 | symbolp and minsym_and_objfile_d. | |
3731 | Add language member. | |
3732 | (enum ls_token_type): New enum. | |
3733 | (linespec_keywords): New array. | |
3734 | (struct ls_token): New struct. | |
3735 | (struct ls_parser): New struct. | |
3736 | (linespec_lexer_lex_number): New function. | |
3737 | (linespec_lexer_lex_keyword): New function. | |
3738 | (is_ada_operator): New function. | |
3739 | (skip_quote_char): New function. | |
3740 | (copy_token_string): New function. | |
3741 | (is_closing_quote_enclosed): New function. | |
3742 | (find_parameter_list_end): New function. | |
3743 | (linespec_lexer_lex_string): New function. | |
3744 | (linespec_lexer_lex_one): New function. | |
3745 | (linespec_lexer_consume_token): New function. | |
3746 | (linespec_lexer_peek_token): New function. | |
3747 | (cplusplus_error): Remove unused function. | |
3748 | (find_methods): Update comment. | |
3749 | (find_toplevel_char): Return const. | |
3750 | (is_objc_method_format): Remove unused function. | |
3751 | (find_toplevel_string): New function. | |
3752 | (is_linespec_boundary): Remove. | |
3753 | (symbol_not_found_error): New function. | |
3754 | (find_method_overload_end): Remove function. | |
3755 | (unexpected_linespec_error): New function. | |
3756 | (keep_name_info): Remove. | |
3757 | (linespec_parse_line_offset): New function. | |
3758 | (linespec_parse_basic): New function. | |
3759 | (canonicalize_linespec): New function. | |
3760 | (decode_line_internal): Remove. | |
3761 | (create_sals_line_offset): New function adapted from | |
3762 | decode_all_digits. | |
3763 | (convert_linespec_to_sals): New function. | |
3764 | (parse_linespec): New function. | |
3765 | (linespec_parser_new): New function. | |
3766 | (linespec_state_destructor): Change parameter type to | |
3767 | struct linespec_state *. | |
3768 | Add language parameter. | |
3769 | Remove freeing of moved members. | |
3770 | (linespec_parser_delete): New function. | |
3771 | (decode_line_full): Use parse_linespec and linespec_parser_new. | |
3772 | (decode_line_1): Likewise. | |
3773 | (decode_indirect): Rename to ... | |
3774 | (linespec_expression_to_pc): ... this and rewrite | |
3775 | to simply find CORE_ADDR, storing this result for later | |
3776 | conversion to SALs. | |
3777 | (locate_first_half): Remove. | |
3778 | (deocde_objc): Add parameter LS. | |
3779 | Initialize new struct collect_info members. | |
3780 | Handle minimal symbols, too. | |
3781 | (decode_compound): Delete. | |
3782 | (lookup_prefix_sym): Rewrite. | |
3783 | (compare_msymbols): New function. | |
3784 | (find_method): Rewrite. | |
3785 | Do not call cplusplus_error. | |
3786 | (symtabs_from_filename): Rewrite. | |
3787 | (collect_function_symbols): Delete. | |
3788 | (find_function_symbols): Rewrite without ARGPTR-style | |
3789 | processing. | |
3790 | (decode_all_digits): Delete. (Rewritten as create_sals_line_offset.) | |
3791 | (decode_dollar): Adapted and renamed to ... | |
3792 | (linespec_parse_variable): ... this. | |
3793 | (find_linespec_symbols): New function. | |
3794 | (decode_label): Adapted and renamed to ... | |
3795 | (find_label_symbols): ... this. | |
3796 | (decode_digits_list_mode): Add and use LS argument. | |
3797 | (decode_digits_ordinary): Likewise. | |
3798 | (collect_symbols): Do not collect SALs, just symbols and msymbols. | |
3799 | If in list mode, allow any symbol class. Otherwise, only | |
3800 | permit LOC_BLOCK symbols. | |
3801 | (minsym_found): Update comments. | |
3802 | (search_minsyms_for_name): Do not convert the matching symbol | |
3803 | into a SAL. Simply push the symbol and objfile into the | |
3804 | result vector. | |
3805 | (decode_variable): Delete. Contents adapted into | |
3806 | find_linespec_symbols. | |
3807 | ||
3808 | * cp-support.c (SKIP_SPACE): Remove. | |
3809 | (operator_tokens): Remove unused global. | |
3810 | (cp_validate_operator): Remove. | |
3811 | * cp-support.h (cp_validate_operator): Remove declaration. | |
3812 | ||
a72c8f6a JK |
3813 | 2012-04-03 Jan Kratochvil <[email protected]> |
3814 | ||
3815 | * cp-valprint.c (cp_print_value_fields): Check valprint_check_validity | |
3816 | for TYPE_VPTR_FIELDNO. | |
3817 | * valprint.c (valprint_check_validity): Make it global, move the | |
3818 | function comment ... | |
3819 | * value.h (valprint_check_validity): ... to this new declaration. | |
3820 | ||
cf9bb588 TG |
3821 | 2012-04-02 Tristan Gingold <[email protected]> |
3822 | ||
3823 | * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Use | |
3824 | the STATE32 api for i386 state. | |
3825 | (i386_darwin_store_inferior_registers): Likewise. | |
3826 | ||
17092398 TG |
3827 | 2012-04-02 Tristan Gingold <[email protected]> |
3828 | ||
3829 | * i386-darwin-tdep.c (i386_darwin_thread_state_reg_offset): Fix | |
3830 | SS offset. | |
3831 | * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix | |
3832 | format_string. | |
3833 | ||
ece0061f TG |
3834 | 2012-04-02 Tristan Gingold <[email protected]> |
3835 | ||
3836 | PR gdb/13901 | |
d987a266 | 3837 | * darwin-nat.c (darwin_execvp): Set binary preference. |
ece0061f | 3838 | |
cf65ecd3 JK |
3839 | 2012-04-02 Jan Kratochvil <[email protected]> |
3840 | ||
3841 | * NEWS (set breakpoint condition-evaluation): Use imperative mood. | |
3842 | ||
9bc3523d TT |
3843 | 2012-03-30 Tom Tromey <[email protected]> |
3844 | ||
3845 | * python/python.c (gdbpy_decode_line): Move cleanup creation out | |
3846 | of TRY_CATCH. Fix error handling. | |
3847 | * python/py-value.c (convert_value_from_python): Move 'old' | |
3848 | declaration to innermost scope. | |
3849 | ||
b1ed564a JB |
3850 | 2012-03-29 Joel Brobecker <[email protected]> |
3851 | Andrey Smirnov <[email protected]> | |
3852 | ||
3853 | -Wshadow warning fix. | |
3854 | * ada-lang.c (ada_make_symbol_completion_list): Rename parameters | |
3855 | "wild_match" and "encoded" into "wild_match_p" and "encoded_p". | |
3856 | Adjust code accordingly. | |
3857 | ||
cb8e9b97 JB |
3858 | 2012-03-29 Joel Brobecker <[email protected]> |
3859 | ||
3860 | * ada-lang.c (symbol_completion_add): Rename parameter | |
3861 | "encoded" into "encoded_p". Ajust code and documentation | |
3862 | accordingly. | |
3863 | ||
c0af1706 JB |
3864 | 2012-03-29 Joel Brobecker <[email protected]> |
3865 | Andrey Smirnov <[email protected]> | |
3866 | ||
3867 | -Wshadow warning fix. | |
3868 | * ada-lang.c (symbol_completion_add): Rename parameter | |
3869 | "wild_match" into wild_match_p. Update code and documentation | |
3870 | accordingly. | |
3871 | ||
6ea35997 JB |
3872 | 2012-03-29 Joel Brobecker <[email protected]> |
3873 | ||
3874 | * ada-lang.c (symbol_completion_match): Rename parameter | |
3875 | "encoded" into "encoded_p". Ajust code and documentation | |
3876 | accordingly. | |
3877 | ||
e701b3c0 JB |
3878 | 2012-03-29 Joel Brobecker <[email protected]> |
3879 | Andrey Smirnov <[email protected]> | |
3880 | ||
3881 | -Wshadow warning fix. | |
3882 | * ada-lang.c (symbol_completion_match): Rename parameter | |
3883 | "wild_match" into "wild_match_p". Adjust code and function | |
3884 | documentation accordingly. | |
3885 | ||
5e2336be JB |
3886 | 2012-03-29 Joel Brobecker <[email protected]> |
3887 | Andrey Smirnov <[email protected]> | |
3888 | ||
3889 | -Wshadow warning fix. | |
3890 | * ada-lang.c (ada_lookup_encoded_symbol): Rename parameter | |
3891 | "symbol_info" into "info". Adjust code accordingly. | |
3892 | (ada_lookup_symbol): Likewise. | |
3893 | ||
9f88c959 JB |
3894 | 2012-03-29 Joel Brobecker <[email protected]> |
3895 | ||
3896 | * ada-lang.c (ada_lookup_symbol_list): Minor reformatting | |
3897 | of this function's documentation. | |
3898 | ||
82ccd55e JB |
3899 | 2012-03-29 Joel Brobecker <[email protected]> |
3900 | Andrey Smirnov <[email protected]> | |
3901 | ||
3902 | -Wshadow warning fix. | |
3903 | * ada-lang.c (ada_lookup_symbol_list): Rename "wild_match" | |
3904 | variable into "wild_match_p". Adjust code accordingly. | |
3905 | ||
d0a8ab18 JB |
3906 | 2012-03-29 Joel Brobecker <[email protected]> |
3907 | Andrey Smirnov <[email protected]> | |
3908 | ||
3909 | -Wshadow warning fix. | |
3910 | * ada-lang.c (ada_add_local_symbols): Rename "wild_match" | |
3911 | parameter into "wild_match_p". Adjust code accordingly. | |
3912 | Document this parameter in the function description. | |
3913 | ||
48b78332 JB |
3914 | 2012-03-29 Joel Brobecker <[email protected]> |
3915 | Andrey Smirnov <[email protected]> | |
3916 | ||
3917 | -Wshadow warning fix. | |
3918 | * ada-lang.c (add_symbols_from_enclosing_procs): Rename | |
3919 | "wild_match" parameter to "wild_match_p" (-Wshadow). | |
3920 | ||
2e6e0353 JB |
3921 | 2012-03-29 Joel Brobecker <[email protected]> |
3922 | ||
3923 | * ada-lang.c (ada_lookup_simple_minsym): Remove trailing spaces | |
3924 | in function documentation. | |
3925 | ||
dc4024cd JB |
3926 | 2012-03-29 Joel Brobecker <[email protected]> |
3927 | Andrey Smirnov <[email protected]> | |
3928 | ||
3929 | -Wshadow warning fix. | |
3930 | * ada-lang.c (ada_lookup_simple_minsym): Rename wild_match local | |
3931 | variable into wild_match_p. Adjust code accordingly. | |
3932 | ||
6c88661c JB |
3933 | 2012-03-29 Joel Brobecker <[email protected]> |
3934 | Andrey Smirnov <[email protected]> | |
3935 | ||
3936 | * ada-valprint.c (ada_val_print_1): Move the code handling | |
3937 | TYPE_CODE_ENUM inside its own lexical block. Declare | |
3938 | variables len and val there, instead of in the function's | |
3939 | top level block. Avoid declaring deref_val again in a way | |
3940 | that shadows another variable of the same name declared | |
3941 | in one of the up-level blocks. Just re-use the up-level | |
3942 | variable instead. | |
3943 | ||
4e5c77fe JB |
3944 | 2012-03-29 Joel Brobecker <[email protected]> |
3945 | ||
3946 | * ada-lang.c (ada_lookup_encoded_symbol): Now returns void. | |
3947 | Replace block_found argument by symbol_info. Adjust | |
3948 | implementation accordingly. Add function documentation. | |
3949 | (ada_lookup_symbol): Adjust to new ada_lookup_encoded_symbol. | |
3950 | Fix documentation. | |
3951 | * ada-lang.h (ada_lookup_encoded_symbol): Update declaration. | |
3952 | * ada-exp.y (write_object_renaming): Adjust to new | |
3953 | ada_lookup_encoded_symbol API. | |
3954 | ||
1c0ac8c7 JB |
3955 | 2012-03-29 Joel Brobecker <[email protected]> |
3956 | ||
3957 | * ada-lang.h (struct ada_symbol_info): Reformat. Improve | |
3958 | documentation. | |
3959 | ||
2aaed979 KB |
3960 | 2012-03-28 Rathish C <[email protected]> |
3961 | ||
3962 | * v850-tdep.c: Add the enum values for mpu and fpu registers. | |
3963 | (v850_register_name): Add the mpu and fpu register names. | |
3964 | (v850e_register_name): Add the mpu and fpu register names. | |
3965 | (v850e2_register_name): New function. | |
a09130f9 | 3966 | (v850_gdbarch_init): Add case for bfd_mach_v850e2 and |
2aaed979 KB |
3967 | bfd_mach_v850e2v3. |
3968 | ||
927fbba6 JB |
3969 | 2012-03-28 Joel Brobecker <[email protected]> |
3970 | ||
3971 | * NEWS: Add entry for Ada varobj support. | |
3972 | ||
d32cafc7 JB |
3973 | 2012-03-28 Joel Brobecker <[email protected]> |
3974 | ||
3975 | * varobj.c (default_value_is_changeable_p): New function, | |
3976 | extracted from varobj_value_is_changeable_p. Add declaration. | |
3977 | (ada_value_is_changeable_p): New function, extracted from | |
3978 | varobj_value_is_changeable_p. Add declaration. | |
3979 | (struct language_specific): New field "value_is_changeable_p". | |
3980 | (languages): Add entries for new field. | |
3981 | (varobj_create): Set language before calling install_new_value. | |
3982 | (varobj_value_is_changeable_p): Reimplement to call the varobj's | |
3983 | "value_is_changeable_p" language callback. | |
3984 | ||
181875a4 JB |
3985 | 2012-03-28 Joel Brobecker <[email protected]> |
3986 | ||
3987 | * ada-varobj.h, ada-varobj.c: New files. | |
3988 | * Makefile.in (SFILES): Add ada-varobj.c. | |
3989 | (HFILES_NO_SRCDIR): Add ada-varobj.h. | |
3990 | (COMMON_OBS): Add ada-varobj.o. | |
3991 | ||
7a290c40 JB |
3992 | 2012-03-28 Joel Brobecker <[email protected]> |
3993 | ||
3994 | * varobj.c (ada_value_has_mutated): Add declaration. New function. | |
3995 | (struct language_specific): New field "value_has_mutated". | |
3996 | (languages): Set field "value_has_mutated" in each entry of array. | |
3997 | (varobj_value_has_mutated): New function. | |
3998 | (varobj_udpdate): Add handling of type mutation. | |
3999 | (value_of_root): Add handling of type mutation. | |
4000 | (ada_value_has_mutated): New function. | |
4001 | ||
ca9b8b9c PA |
4002 | 2012-03-28 Pedro Alves <[email protected]> |
4003 | ||
4004 | * ia64-linux-nat.c (supply_fpregset, ia64_linux_fetch_register): | |
4005 | Always supply $fr0 as 0.0 and $fr1 as 1.0. | |
4006 | ||
cc0265cd TT |
4007 | 2012-03-28 Tom Tromey <[email protected]> |
4008 | ||
4009 | * python/py-inferior.c (infpy_read_memory): Remove cleanups and | |
4010 | explicitly free 'buffer' on exit paths. Decref 'membuf_object' | |
4011 | before returning. | |
4012 | ||
3ad2ec6f TT |
4013 | 2012-03-28 Tom Tromey <[email protected]> |
4014 | ||
4015 | * .dir-locals.el: New file. | |
4016 | ||
4a6510ba PA |
4017 | 2012-03-28 Pedro Alves <[email protected]> |
4018 | ||
4019 | * ia64-linux-nat.c (u_offsets): Map IA64_EC_REGNUM to PT_AR_EC. | |
4020 | ||
5a75128f JB |
4021 | 2012-03-28 Joel Brobecker <[email protected]> |
4022 | ||
4023 | * ia64-linux-nat.c (ia64_linux_fetch_register): Add special | |
4024 | handling for r0. | |
4025 | ||
f99d8bf4 PA |
4026 | 2012-03-27 Pedro Alves <[email protected]> |
4027 | ||
4028 | Eliminate struct ui_stream. | |
4029 | ||
4030 | * ui-out.h (struct ui_stream): Delete. | |
4031 | (ui_out_field_stream): Adjust prototype. | |
4032 | (ui_out_stream_new, ui_out_stream_delete) | |
4033 | (make_cleanup_ui_out_stream_delete): Delete declarations. | |
4034 | * ui-out.c (ui_out_field_stream): Change prototype to take a | |
4035 | ui_file instead of a ui_stream. Adjust. | |
4036 | (ui_out_stream_new, ui_out_stream_delete, do_stream_delete) | |
4037 | (make_cleanup_ui_out_stream_delete): Delete. | |
4038 | * breakpoint.c (print_breakpoint_location) | |
4039 | (print_one_detail_ranged_breakpoint, print_it_watchpoint): Use | |
4040 | ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new. | |
4041 | * disasm.c (dump_insns): Ditto. | |
4042 | (do_mixed_source_and_assembly, do_assembly_only): Adjust | |
4043 | prototype. | |
4044 | (gdb_disassembly): Use ui_file/mem_fileopen instead of | |
4045 | ui_stream/ui_out_stream_new. | |
4046 | * infcmd.c (print_return_value): Ditto. | |
4047 | * osdata.c (info_osdata_command): Don't allocate a local | |
4048 | ui_stream. | |
4049 | * stack.c (print_frame_arg, print_frame_args, print_frame): Use | |
4050 | ui_file/mem_fileopen instead of ui_stream/ui_out_stream_new. | |
4051 | * tracepoint.c (print_one_static_tracepoint_marker): Don't | |
4052 | allocate a local ui_stream. | |
4053 | * mi/mi-cmd-stack.c (list_arg_or_local): Use ui_file/mem_fileopen | |
4054 | instead of ui_stream/ui_out_stream_new. | |
4055 | (list_args_or_locals): Don't allocate a local ui_stream. | |
4056 | * mi/mi-main.c (get_register, mi_cmd_data_evaluate_expression) | |
4057 | (mi_cmd_data_read_memory): Use ui_file/mem_fileopen instead of | |
4058 | ui_stream/ui_out_stream_new. | |
4059 | * cli/cli-setshow.c (do_setshow_command): Ditto. | |
4060 | ||
6350a066 | 4061 | 2012-03-27 Oza Pawandeep <[email protected]> |
72508ac0 | 4062 | |
6350a066 PA |
4063 | * arm-linux-tdep.c (arm_linux_init_abi): Call |
4064 | set_gdbarch_process_record. Initialize `arm_swi_record' field. | |
4065 | * arm-tdep.c (arm_process_record): New function. | |
4066 | (deallocate_reg_mem): New function. | |
4067 | (decode_insn): New function. | |
4068 | (thumb_record_branch): New function. | |
4069 | (thumb_record_ldm_stm_swi(): New function. | |
4070 | (thumb_record_misc): New function. | |
4071 | (thumb_record_ld_st_stack): New function. | |
4072 | (thumb_record_ld_st_imm_offset): New function. | |
4073 | (thumb_record_ld_st_reg_offset(): New function. | |
4074 | (thumb_record_add_sub_cmp_mov): New function. | |
4075 | (thumb_record_shift_add_sub): New function. | |
4076 | (arm_record_coproc_data_proc): New function. | |
4077 | (arm_record_coproc): New function. | |
4078 | (arm_record_b_bl): New function. | |
4079 | (arm_record_ld_st_multiple): New function. | |
4080 | (arm_record_ld_st_reg_offset): New function. | |
4081 | (arm_record_ld_st_imm_offset): New function. | |
4082 | (arm_record_data_proc_imm): New function. | |
4083 | (arm_record_data_proc_misc_ld_str): New function. | |
4084 | (arm_record_extension_space): New function. | |
4085 | (arm_record_strx): New function. | |
4086 | (sbo_sbz): New function. | |
4087 | (struct insn_decode_record): New structure for arm insn record. | |
4088 | (REG_ALLOC): New macro for reg allocations. | |
4089 | (MEM_ALLOC): New macro for memory allocations. | |
4090 | * arm-tdep.h (struct gdbarch_tdep): New field 'arm_swi_record'. | |
72508ac0 | 4091 | |
89e028e2 AS |
4092 | 2012-03-27 Andreas Schwab <[email protected]> |
4093 | ||
4094 | * m68klinux-nat.c (fetch_register): Fix strict-aliasing violation. | |
4095 | (store_register): Likewise. | |
4096 | ||
6350a066 | 4097 | 2012-03-26 Oza Pawandeep <[email protected]> |
3d9a9eb0 | 4098 | |
6350a066 | 4099 | * MAINTAINERS (Write After Approval): Add myself to the list. |
3d9a9eb0 | 4100 | |
5b43fab2 JK |
4101 | 2012-03-25 Jan Kratochvil <[email protected]> |
4102 | ||
4103 | * NEWS (set breakpoint condition-evaluation): Change "gdb" to "host". | |
4104 | Describe also the option "auto". | |
4105 | ||
b5453b95 RH |
4106 | 2012-03-22 Richard Henderson <[email protected]> |
4107 | ||
4108 | * sparc-linux-nat.c (_initialize_sparc_linux_nat): Fix prototype. | |
4109 | * sparc-nat.c (sparc_xfer_wcookie): Make static. | |
4110 | ||
227ee7fc RH |
4111 | 2012-03-22 Richard Henderson <[email protected]> |
4112 | ||
4113 | * jit.c (jit_read_code_entry): Compute alignment and offset of | |
4114 | int64_t member before computing entry_size. | |
4115 | ||
7b282c5a SCR |
4116 | 2012-03-22 Siva Chandra Reddy <[email protected]> |
4117 | ||
4118 | Python scripting: Add new method Value.referenced_value to | |
4119 | gdb.Value which can dereference pointer as well as reference | |
4120 | values. | |
4121 | * NEWS: Add entry under 'Python scripting' about the new method | |
4122 | Value.referenced_value on gdb.Value objects. | |
4123 | * python/py-value.c (valpy_referenced_value): New function | |
4124 | defining a new method on gdb.Value objects which can dereference | |
4125 | pointer and reference values. | |
4126 | ||
0c83539f SCR |
4127 | 2012-03-22 Siva Chandra Reddy <[email protected]> |
4128 | ||
4129 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
4130 | ||
7ccffd7c KB |
4131 | 2012-03-21 Kevin Buettner <[email protected]> |
4132 | ||
4133 | * symtab.c (skip_prologue_sal): Change test to check for "main()" | |
4134 | in addition to "main". | |
4135 | ||
bd0b9f9e JB |
4136 | 2012-03-21 Joel Brobecker <[email protected]> |
4137 | ||
4138 | * expression.h (op_name): Add declaration. | |
4139 | * expprint.c (op_name): Remove declaration. Make non-static. | |
4140 | * ax-gdb.c (gen_expr): Use op_name instead of op_string. | |
4141 | ||
a5362b9a TS |
4142 | 2012-03-21 Thomas Schwinge <[email protected]> |
4143 | ||
4144 | * amd64-linux-nat.c (amd64_linux_siginfo_fixup): Use siginfo_t instead | |
4145 | of struct siginfo. | |
4146 | * arm-linux-nat.c (arm_linux_stopped_data_address): Likewise. | |
4147 | * ia64-linux-nat.c (ia64_linux_stopped_data_address): Likewise. | |
4148 | * linux-nat.c (linux_nat_siginfo_fixup, siginfo_fixup) | |
4149 | (linux_xfer_siginfo, linux_nat_set_siginfo_fixup) | |
4150 | (linux_nat_get_siginfo): Likewise. | |
4151 | * linux-nat.h (struct lwp_info, linux_nat_set_siginfo_fixup) | |
4152 | (linux_nat_get_siginfo): Likewise. | |
4153 | * linux-tdep.c (linux_get_siginfo_type): Likewise. | |
4154 | * ppc-linux-nat.c (ppc_linux_stopped_data_address): Likewise. | |
4155 | * procfs.c (gdb_siginfo_t): Likewise. | |
4156 | ||
adcadaab MF |
4157 | 2012-03-21 Mike Frysinger <[email protected]> |
4158 | ||
4159 | * .gitignore: Ignore more files. | |
4160 | ||
e278ad5b PA |
4161 | 2012-03-20 Pedro Alves <[email protected]> |
4162 | ||
4163 | * remote.c (remote_start_remote): Clear `rs->starting_up' on early | |
4164 | returns. | |
4165 | ||
741e63d7 YQ |
4166 | 2012-03-20 Yao Qi <[email protected]> |
4167 | ||
4168 | * amd64-tdep.c (amd64_displaced_step_copy_insn): Complete missing "}" in | |
4169 | comment. | |
4170 | ||
b64f50a1 JK |
4171 | 2012-03-19 Jan Kratochvil <[email protected]> |
4172 | ||
4173 | Code cleanupp: Use cu_offset and sect_offset compile time type checking. | |
4174 | * dwarf2expr.c (add_piece, dwarf_get_base_type, execute_stack_op) | |
4175 | (ctx_no_dwarf_call, ctx_no_get_base_type): Use cu_offset and | |
4176 | sect_offset. | |
4177 | * dwarf2expr.h (cu_offset, sect_offset): New types. | |
4178 | (struct dwarf_expr_context_funcs) <dwarf_call> | |
4179 | (struct dwarf_expr_context_funcs) <get_base_type>: Use cu_offset and | |
4180 | sect_offset. | |
4181 | (struct dwarf_expr_context) <len>: Improve the comment. | |
4182 | (struct dwarf_expr_piece, ctx_no_dwarf_call, ctx_no_get_base_type): Use | |
4183 | cu_offset and sect_offset. | |
4184 | * dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call) | |
4185 | (dwarf_expr_get_base_type, needs_frame_dwarf_call) | |
4186 | (dwarf2_compile_expr_to_ax, disassemble_dwarf_expression): Likewise. | |
4187 | * dwarf2loc.h: Include dwarf2expr.h. | |
4188 | (dwarf2_fetch_die_location_block, dwarf2_get_die_type): Use cu_offset | |
4189 | and sect_offset. | |
4190 | * dwarf2read.c (struct dwarf2_per_objfile) <debug_types_type_hash>: | |
4191 | Improve the comment. | |
4192 | (struct comp_unit_head, struct dwarf2_cu, struct dwarf2_per_cu_data) | |
4193 | (struct signatured_type, struct line_header, struct partial_die_info) | |
4194 | (struct die_info, find_partial_die, dwarf2_get_ref_die_offset) | |
4195 | (lookup_signatured_type_at_offset, dwarf2_find_containing_comp_unit) | |
4196 | (get_die_type_at_offset, create_cus_from_index) | |
4197 | (create_signatured_type_table_from_index, dw2_get_file_names) | |
4198 | (offset_in_cu_p, read_comp_unit_head, error_check_comp_unit_head) | |
4199 | (read_and_check_comp_unit_head, read_and_check_type_unit_head) | |
4200 | (create_debug_types_hash_table, process_psymtab_comp_unit) | |
4201 | (load_partial_comp_unit, create_all_comp_units) | |
4202 | (partial_die_parent_scope, partial_die_full_name, skip_one_die) | |
4203 | (load_full_comp_unit, dwarf2_physname, read_import_statement) | |
4204 | (inherit_abstract_dies, read_func_scope, read_call_site_scope) | |
4205 | (dwarf2_add_member_fn, process_enumeration_scope, read_module_type) | |
4206 | (read_typedef, die_hash, die_eq, read_full_die, dwarf2_read_abbrevs) | |
4207 | (load_partial_dies, read_partial_die, find_partial_die_in_comp_unit) | |
4208 | (find_partial_die, read_attribute_value, lookup_die_type) | |
4209 | (dump_die_shallow, store_in_ref_table): Use cu_offset and sect_offset. | |
4210 | (is_ref_attr): New function comment. | |
4211 | (dwarf2_get_ref_die_offset): New function comment, new variable retval. | |
4212 | Use cu_offset and sect_offset. | |
4213 | (follow_die_offset, follow_die_ref, dwarf2_fetch_die_location_block) | |
4214 | (dwarf2_get_die_type, follow_die_sig, lookup_signatured_type_at_offset) | |
4215 | (load_full_type_unit, read_signatured_type, per_cu_header_read_in) | |
4216 | (dwarf2_find_containing_comp_unit, struct dwarf2_offset_and_type) | |
4217 | (offset_and_type_hash, offset_and_type_eq, set_die_type) | |
4218 | (get_die_type_at_offset, partial_die_hash, partial_die_eq) | |
4219 | (write_one_signatured_type, write_psymtabs_to_index): Use cu_offset and | |
4220 | sect_offset. | |
4221 | ||
e97a38f7 JK |
4222 | 2012-03-19 Jan Kratochvil <[email protected]> |
4223 | ||
4224 | Code cleanup. | |
4225 | * python/py-auto-load.c (source_section_scripts): New variable back_to. | |
4226 | Turn fclose and xfree calls into make_cleanup_fclose and make_cleanup | |
4227 | with xfree. | |
4228 | (auto_load_objfile_script): Turn fclose into make_cleanup_fclose. | |
4229 | ||
8320cc4f JK |
4230 | 2012-03-19 Jan Kratochvil <[email protected]> |
4231 | ||
4232 | * NEWS: Describe new options --init-command=FILE, -ix and | |
4233 | --init-eval-command=COMMAND, -iex. | |
4234 | * main.c (struct cmdarg): New enum items CMDARG_INIT_FILE and | |
4235 | CMDARG_INIT_COMMAND. | |
4236 | (captured_main): New enum items OPT_IX and OPT_IEX. Add | |
4237 | "init-command", "init-eval-command", "ix" and "iex" to the variable | |
4238 | long_options. Handle OPT_IX and OPT_IEX. Process them from CMDARG_VEC. | |
4239 | New comment for CMDARG_FILE and CMDARG_COMMAND processing. | |
4240 | (print_gdb_help): Describe --init-command=FILE, -ix and | |
4241 | --init-eval-command=COMMAND, -iex. | |
4242 | ||
26743505 JK |
4243 | 2012-03-19 Jan Kratochvil <[email protected]> |
4244 | ||
4245 | Code cleanup. | |
4246 | * main.c (struct cmdarg): Move it here from main. Add more comments. | |
4247 | (cmdarg_s, VEC (cmdarg_s)): New. | |
4248 | (main): Move struct cmdarg from here. New variables cmdarg_vec and | |
4249 | cmdarg_p. Remove variables cmdsize and ncmd and their initialization. | |
4250 | Install cleanup for cmdarg_vec. Update filling for options 'x' and | |
4251 | 'X'. Replace cmdarg processing by cmdarg_vec processing. Remove xfree | |
4252 | of CMDARG. | |
4253 | ||
5ff5c7b4 TT |
4254 | 2012-03-19 Tom Tromey <[email protected]> |
4255 | ||
4256 | * gnu-v3-abi.c (gnuv3_print_vtable): Initialize 'result_vec'. | |
4257 | ||
ab260dad JK |
4258 | 2012-03-16 Jan Kratochvil <[email protected]> |
4259 | ||
4260 | PR symtab/13777 | |
4261 | * dwarf2read.c (process_full_comp_unit): Set LOCATIONS_VALID only for | |
4262 | GCC >=4.5. | |
4263 | ||
c366c1f0 TT |
4264 | 2012-03-16 Chris January <[email protected]> |
4265 | ||
4266 | * tui-tui.win.c (tui_resize_all): Use erase and clearok instead | |
4267 | of clear. | |
4268 | ||
e16edb45 TT |
4269 | 2012-03-16 Chris January <[email protected]> |
4270 | ||
4271 | * source.c (add_path): Use memmove instead of strcpy because the | |
4272 | strings overlap. | |
4273 | ||
53ba8333 JB |
4274 | 2012-03-16 Joel Brobecker <[email protected]> |
4275 | ||
4276 | * value.h (set_value_parent): Add declaration. | |
4277 | * value.c (set_value_parent): New function. | |
4278 | (value_address): If VALUE->PARENT is not NULL, then use it as | |
4279 | the base address instead of VALUE->LOCATION.address. | |
4280 | * ada-lang.c (ada_value_primitive_packed_val): Keep V's address | |
4281 | the same as OBJ's address. Adjust V's offset accordingly. | |
4282 | Set V's parent. | |
4283 | ||
481860b3 GB |
4284 | 2012-03-16 Gary Benson <[email protected]> |
4285 | ||
4286 | PR breakpoints/10738 | |
4287 | * dwarf2read.c (use_deprecated_index_sections): New global. | |
4288 | (struct partial_die_info): New member may_be_inlined. | |
4289 | (read_partial_die): Set may_be_inlined where appropriate. | |
4290 | (add_partial_subprogram): Add partial symbols for partial | |
4291 | DIEs that may be inlined. | |
4292 | (new_symbol_full): Add inlined subroutines to the current | |
4293 | scope. | |
4294 | (write_psymtabs_to_index): Bump version number. | |
4295 | (dwarf2_read_index): Read only version 6 indices unless | |
4296 | use_deprecated_index_sections is set. | |
4297 | * linespec.c (symbol_and_data_callback): New structure. | |
4298 | (iterate_inline_only): New function. | |
4299 | (iterate_over_all_matching_symtabs): New argument | |
4300 | "include_inline". If nonzero, also call the callback for | |
4301 | symbols representing inlined subroutines. | |
4302 | (lookup_prefix_sym): Pass extra argument to the above. | |
4303 | (find_function_symbols): Likewise. | |
4304 | (add_matching_symbols_to_info): Likewise. | |
4305 | * NEWS: Mention that GDB can now set breakpoints on inlined | |
4306 | functions. | |
4307 | ||
d0e7e15a PM |
4308 | 2012-03-16 Pierre Muller <[email protected]> |
4309 | ||
4310 | * p-typeprint.c (pascal_type_print_method_args): | |
4311 | Fix display of parameter of methods. | |
4312 | ||
3d354654 PM |
4313 | 2012-03-16 Pierre Muller <[email protected]> |
4314 | ||
4315 | * amd64-windows-nat.c (_initialize_amd64_windows_nat): | |
4316 | Add missing prototype. | |
4317 | ||
cafe75b0 JK |
4318 | 2012-03-16 Yao Qi <[email protected]> |
4319 | Jan Kratochvil <[email protected]> | |
4320 | ||
4321 | Fix false compilation warning. | |
4322 | * gnu-v3-abi.c (print_one_vtable): Initialize ADDR. | |
4323 | ||
25f8c692 JL |
4324 | 2012-03-15 Jonathan Larmour <[email protected]> |
4325 | Pedro Alves <[email protected]> | |
4326 | ||
4327 | * arm-tdep.c: Include "remote.h" and "features/arm-with-m-fpa-layout.c". | |
4328 | (arm_register_g_packet_guesses): New function. | |
4329 | (arm_gdbarch_init): Don't force a target description with | |
4330 | registers when the executable is detected as M-profile. Instead | |
4331 | set gdbarch->tdep->is_m. Register `g' packet guesses. | |
4332 | (_initialize_arm_tdep): Initialize the new target description. | |
4333 | * features/arm-with-m-fpa-layout.xml: New description. | |
4334 | * features/arm-with-m-fpa-layout.c: New, generated. | |
4335 | ||
35c63cd8 JB |
4336 | 2012-03-15 Joel Brobecker <[email protected]> |
4337 | ||
4338 | * breakpoint.c (breakpoint_xfer_memory): Add assertion. | |
4339 | Update function description. | |
4340 | (insert_bp_location): Do not wipe bl->target_info out. | |
4341 | * mem-break.c: #include "gdb_string.h". | |
4342 | (default_memory_insert_breakpoint): Do not call target_read_memory | |
4343 | with a pointer to the breakpoint's shadow_contents buffer. Use | |
4344 | a local buffer instead. | |
4345 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Ditto. | |
4346 | ||
57651221 TT |
4347 | 2012-03-15 Tom Tromey <[email protected]> |
4348 | ||
4349 | * NEWS: Mention "info vtbl", not "info vtable". | |
4350 | * cp-support.c (info_vtbl_command): Fix comment. | |
4351 | (_initialize_cp_support): Fix text. | |
4352 | ||
410528f0 TT |
4353 | 2012-03-15 Tom Tromey <[email protected]> |
4354 | ||
4355 | * cp-valprint.c (cp_print_value_fields): Use | |
4356 | print_function_pointer_address for vtable slot. | |
4357 | ||
c4aeac85 TT |
4358 | 2012-03-15 Tom Tromey <[email protected]> |
4359 | ||
4360 | * gnu-v3-abi.c (struct value_and_voffset): New. | |
4361 | (hash_value_and_voffset, eq_value_and_voffset) | |
4362 | (compare_value_and_voffset, compute_vtable_size) | |
4363 | (print_one_vtable, gnuv3_print_vtable): New functions. | |
4364 | (init_gnuv3_ops): Initialize 'print_vtable' field. | |
4365 | * cp-support.c (info_vtbl_command): New function. | |
4366 | (_initialize_cp_support): Add "info vtbl". | |
4367 | * cp-abi.h (cplus_print_vtable): Declare. | |
4368 | (struct cp_abi_ops) <print_vtable>: New field. | |
4369 | * cp-abi.c (cplus_print_vtable): New function. | |
4370 | * NEWS: Update. | |
4371 | ||
95cbceff TT |
4372 | 2012-03-15 Tom Tromey <[email protected]> |
4373 | ||
4374 | * d-lang.c (d_language_defn) <la_iterate_over_symbols>: Set to | |
4375 | iterate_over_symbols. | |
4376 | ||
589b4a32 DE |
4377 | 2012-03-14 Doug Evans <[email protected]> |
4378 | ||
4379 | * dwarf2read.c (dwarf_stack_op_name): Add DW_OP_GNU_encoded_addr, | |
4380 | DW_OP_GNU_parameter_ref. | |
4381 | ||
e837f12a JK |
4382 | 2012-03-14 Jan Kratochvil <[email protected]> |
4383 | ||
4384 | Fix double prompt of 'interpreter-exec mi'. | |
4385 | * mi/mi-interp.c (mi_execute_command_input_handler): New prototype. | |
4386 | (mi_interpreter_resume): use it. | |
4387 | (mi_execute_command_input_handler): New function. | |
4388 | * mi/mi-main.c (mi_execute_command): Move prompt printing to | |
4389 | mi_execute_command_input_handler. | |
4390 | ||
ff1e4526 | 4391 | 2012-03-13 Josh Matthews <[email protected]> (tiny change) |
c381a3f6 JB |
4392 | |
4393 | * darwin-nat-info.c (_initialize_darwin_info_commands): Add | |
4394 | prototype. | |
4395 | (darwin_debug_port_info): Make static. | |
4396 | * darwin-nat.c (_initialize_darwin_inferior): Add prototype. | |
4397 | * machoread.c (_initialize_machoread): Add prototype. | |
4398 | * i386-darwin-nat.c (i386_darwin_dr_set, i386_darwin_dr_get) | |
4399 | (i386_darwin_set_control, i386_darwin_get_control) | |
4400 | i386_darwin_dr_set_addr, i386_darwin_get_addr) | |
4401 | i386_darwin_get_status, i386_darwin_get_control): | |
4402 | Comment out with HW_WATCHPOINT_NOT_YET_ENABLED macro. | |
4403 | ||
d8a5d6ee JB |
4404 | 2012-03-13 Joel Brobecker <[email protected]> |
4405 | ||
4406 | * ax-gdb.c (gen_usual_unary): Remove special handling of | |
4407 | enum and bool types. | |
4408 | ||
af381b8c JB |
4409 | 2012-03-13 Joel Brobecker <[email protected]> |
4410 | ||
4411 | * ax-gdb.c (gen_fetch): Add handling for TYPE_CODE_RANGE types. | |
4412 | ||
786c562f JB |
4413 | 2012-03-13 Joel Brobecker <[email protected]> |
4414 | ||
4415 | * aix-thread.c (supply_fprs): Make more consistent with fill_fprs. | |
4416 | ||
e3ebf1bb JB |
4417 | 2012-03-13 Chris January <[email protected]> |
4418 | ||
4419 | * aix-thread.c (fill_sprs): Store the floating point registers | |
4420 | at the correct offsets into vals. | |
4421 | ||
c5b7e1cb DE |
4422 | 2012-03-13 Doug Evans <[email protected]> |
4423 | ||
16899756 DE |
4424 | * NEWS: Mention symbol-reloading has been deleted. |
4425 | * symfile.c (symbol_reloading): Delete. | |
4426 | (show_symbol_reloading): Delete. | |
4427 | (_initialize_symfile): Delete set/show symbol-reloading. | |
4428 | ||
c5b7e1cb DE |
4429 | * dwarf2read.c (load_partial_comp_unit): Defer adding cu to |
4430 | read_in_chain until we have successfully read it in. | |
4431 | (load_full_comp_unit): Ditto. | |
4432 | (read_signatured_type): Add comment. | |
4433 | ||
46cb6474 JB |
4434 | 2012-03-13 Chris January <[email protected]> |
4435 | ||
4436 | * stabsread.c (fix_common_block): Change type of valu argument | |
4437 | to CORE_ADDR. | |
4438 | ||
76219d77 JB |
4439 | 2012-03-13 Chris January <[email protected]> |
4440 | ||
4441 | * rs6000-tdep.c (skip_prologue): Support the oril r29, r1, 0x0 | |
4442 | instruction. | |
4443 | ||
87b0bb13 JK |
4444 | 2012-03-13 Jan Kratochvil <[email protected]> |
4445 | ||
4446 | * common/linux-procfs.c (linux_proc_get_int): New, from | |
4447 | linux_proc_get_tgid, change its LWPID type to pid_t, add parameter | |
4448 | field. | |
4449 | (linux_proc_get_tgid): Only call linux_proc_get_int. | |
4450 | (linux_proc_get_tracerpid): New. | |
4451 | (linux_proc_pid_has_state): New, from linux_proc_pid_is_zombie. | |
4452 | (linux_proc_pid_is_stopped, linux_proc_pid_is_zombie): Only call | |
4453 | linux_proc_pid_has_state. | |
4454 | * common/linux-procfs.h (linux_proc_get_tracerpid): New declaration. | |
4455 | * common/linux-ptrace.c: Include linux-procfs.h and buffer.h. | |
4456 | (linux_ptrace_attach_warnings): New. | |
4457 | * common/linux-ptrace.h (struct buffer, linux_ptrace_attach_warnings): | |
4458 | New declaration. | |
4459 | * linux-nat.c: Include exceptions.h, linux-ptrace.h and buffer.h. | |
4460 | (linux_nat_attach): New variables ex, buffer, message and message_s. | |
4461 | Wrap to_attach by TRY_CATCH and call linux_ptrace_attach_warnings. | |
4462 | ||
5f572dec JK |
4463 | 2012-03-13 Jan Kratochvil <[email protected]> |
4464 | ||
4465 | * Makefile.in (linux-ptrace.o): New. | |
4466 | * common/linux-procfs.c (linux_proc_pid_is_zombie): New, | |
4467 | from linux-nat.c. | |
4468 | * common/linux-procfs.h (linux_proc_pid_is_zombie): New declaration. | |
4469 | * common/linux-ptrace.c: New file. | |
4470 | * config/alpha/alpha-linux.mh (NATDEPFILES): Add linux-ptrace.o. | |
4471 | * config/arm/linux.mh: Likewise. | |
4472 | * config/i386/linux.mh: Likewise. | |
4473 | * config/i386/linux64.mh: Likewise. | |
4474 | * config/ia64/linux.mh: Likewise. | |
4475 | * config/m32r/linux.mh: Likewise. | |
4476 | * config/m68k/linux.mh: Likewise. | |
4477 | * config/mips/linux.mh: Likewise. | |
4478 | * config/pa/linux.mh: Likewise. | |
4479 | * config/powerpc/linux.mh: Likewise. | |
4480 | * config/powerpc/ppc64-linux.mh: Likewise. | |
4481 | * config/powerpc/spu-linux.mh: Likewise. | |
4482 | * config/s390/s390.mh: Likewise. | |
4483 | * config/sparc/linux.mh: Likewise. | |
4484 | * config/sparc/linux64.mh: Likewise. | |
4485 | * config/xtensa/linux.mh: Likewise. | |
4486 | * linux-nat.c (linux_lwp_is_zombie): Remove, move it to | |
4487 | common/linux-procfs.c. | |
4488 | (wait_lwp): Rename linux_lwp_is_zombie to linux_proc_pid_is_zombie. | |
4489 | ||
44f238bb PA |
4490 | 2012-03-13 Hui Zhu <[email protected]> |
4491 | Pedro Alves <[email protected]> | |
4492 | ||
4493 | * breakpoint.c (init_breakpoint_sal): New flags parameter. Handle | |
4494 | CREATE_BREAKPOINT_FLAGS_INSERTED. | |
4495 | (create_breakpoint_sal, create_breakpoints_sal) | |
4496 | (base_breakpoint_create_breakpoints_sal) | |
4497 | (tracepoint_create_breakpoints_sal) | |
4498 | (strace_marker_create_breakpoints_sal): New flags parameter. Pass | |
4499 | down. | |
4500 | (break_command_1, handle_gnu_v3_exceptions, trace_command) | |
4501 | (ftrace_command, strace_command): Adjust. | |
4502 | (create_tracepoint_from_upload): Pass | |
4503 | CREATE_BREAKPOINT_FLAGS_INSERTED. | |
4504 | * breakpoint.h (enum breakpoint_create_flags): New. | |
4505 | (create_breakpoint): New flags parameter. | |
4506 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust. | |
4507 | * python/py-breakpoint.c (bppy_init): Adjust. | |
4508 | * python/py-finishbreakpoint.c (bpfinishpy_init): Adjust. | |
4509 | * spu-tdep.c (spu_catch_start): Adjust. | |
4510 | ||
1e51243a PA |
4511 | 2012-03-13 Pedro Alves <[email protected]> |
4512 | Hui Zhu <[email protected]> | |
4513 | Yao Qi <[email protected]> | |
4514 | ||
4515 | * remote.c (struct remote_state): New field `starting_up'. | |
4516 | (remote_start_remote): Set and clear it. | |
4517 | (remote_can_download_tracepoint): If starting up, return false. | |
4518 | ||
fa3064dd YQ |
4519 | 2012-03-13 Yao Qi <[email protected]> |
4520 | ||
4521 | * inferior.h (struct inferior): Remove fields any_syscall_count, | |
4522 | syscalls_counts and total_syscalls_count. Move them to new | |
4523 | struct catch_syscall_inferior_data in breakpoint.c. | |
4524 | * breakpoint.c: Call DEF_VEC_I(int). | |
4525 | (struct catch_syscall_inferior_data): New. | |
4526 | (get_catch_syscall_inferior_data): New. | |
4527 | (catch_syscall_inferior_data_cleanup): New. | |
4528 | (insert_catch_syscall): Update to access data in | |
4529 | struct catch_syscall_inferior_data. | |
4530 | (insert_catch_syscall): Likewise. | |
4531 | (remove_catch_syscall): Likewise. | |
4532 | (remove_catch_syscall): Likewise. | |
4533 | (is_syscall_catchpoint_enabled): Likewise. | |
4534 | (add_catch_command): Likewise. | |
4535 | (_initialize_breakpoint): Register cleanup. | |
4536 | * breakpoint.h: Removed DEF_VEC_I(int). | |
4537 | * dwarf2loc.c: Call DEF_VEC_I(int). | |
4538 | * mi/mi-main.c: Likewise. | |
4539 | ||
460fac3c MK |
4540 | 2012-03-12 Mark Kettenis <[email protected]> |
4541 | ||
4542 | * inf-ptrace.c (inf_ptrace_post_attach): Make static. | |
4543 | ||
e1aca11e JB |
4544 | 2012-03-12 Chris January <[email protected]> |
4545 | ||
4546 | * aix-thread.c (_initialize_aix_thread): Add prototype. | |
4547 | * rs6000-nat.c (_initialize_rs6000_nat): Ditto. | |
4548 | * xcoffsolib.c (_initialize_xcoffsolib): Ditto. | |
4549 | ||
649c7061 JB |
4550 | 2012-03-12 Joel Brobecker <[email protected]> |
4551 | ||
4552 | * amd64bsd-nat.c: Move #include of "amd64bsd-nat.h" after | |
4553 | include of "amd64-nat.h". | |
4554 | ||
0b49e518 TT |
4555 | 2012-03-12 Tom Tromey <[email protected]> |
4556 | ||
4557 | * buildsym.c (record_pending_block): Now static. | |
4558 | * buildsym.h: (record_pending_block): Remove. | |
4559 | ||
fd24fa94 AT |
4560 | 2012-03-12 Andreas Tobler <[email protected]> |
4561 | ||
4562 | * amd64bsd-nat.c: Include amd64bsd-nat.h. | |
4563 | ||
ba919b58 TT |
4564 | 2012-03-09 Tom Tromey <[email protected]> |
4565 | ||
4566 | * dwarf2read.c (struct dwarf2_cu) <checked_producer, | |
4567 | producer_is_gxx_lt_4_6>: New fields. | |
4568 | (producer_is_gxx_lt_4_6): Use and update producer cache fields. | |
4569 | ||
a48e046c TT |
4570 | 2012-03-09 Tom Tromey <[email protected]> |
4571 | ||
4572 | * dwarf2read.c (dwarf2_attr): Avoid tail-recursive call. | |
4573 | ||
6f5e9362 JB |
4574 | 2012-03-08 Joel Brobecker <[email protected]> |
4575 | ||
4576 | * ravenscar-sparc-thread.c (_initialize_ravenscar_sparc): Add | |
4577 | prototype. | |
4578 | ||
8d037db9 JB |
4579 | 2012-03-08 Joel Brobecker <[email protected]> |
4580 | ||
4581 | * ravenscar-thread.c (_initialize_ravenscar): Add prototype. | |
4582 | ||
4e841acf JK |
4583 | 2012-03-08 Jan Kratochvil <[email protected]> |
4584 | ||
4585 | Fix -Wmissing-prototypes build. | |
4586 | * arm-linux-nat.c (get_thread_id): Make it static. | |
4587 | * xtensa-linux-nat.c (get_thread_id): Likewise. | |
4588 | ||
c6030312 JB |
4589 | 2012-03-08 Joel Brobecker <[email protected]> |
4590 | ||
4591 | * server.c (process_point_options): If a conditional expression | |
4592 | is found, only print a message if remote_debug is nonzero. | |
4593 | ||
52323be9 LM |
4594 | 2012-03-08 Luis Machado <[email protected]> |
4595 | ||
4596 | * ax-gdb.c (gen_fetch): Fail gracefully and use error instead | |
4597 | of internal error for unknown/unsupported types. | |
4598 | ||
7fe25d9b JK |
4599 | 2012-03-08 Jan Kratochvil <[email protected]> |
4600 | ||
4601 | Fix CU relative vs. absolute DIE offsets. | |
4602 | * dwarf2loc.h (dwarf2_fetch_die_location_block): Rename parameter | |
4603 | offset to offset_in_cu. | |
4604 | * dwarf2read.c (process_enumeration_scope): Add CU offset to | |
4605 | TYPE_OFFSET. | |
4606 | (dwarf2_fetch_die_location_block): Rename parameter offset to | |
4607 | offset_in_cu. New variable offset, add CU offset to OFFSET_IN_CU. | |
4608 | ||
05e7c244 JK |
4609 | 2012-03-08 Jan Kratochvil <[email protected]> |
4610 | ||
4611 | * libunwind-frame.c: Rename to ... | |
4612 | * ia64-libunwind-tdep.c: ... here. | |
4613 | * libunwind-frame.h: Rename to ... | |
4614 | * ia64-libunwind-tdep.h: ... here. | |
4615 | * Makefile.in (HFILES_NO_SRCDIR): Rename libunwind-frame.h to | |
4616 | ia64-libunwind-tdep.h. | |
4617 | (ALLDEPFILES): Rename libunwind-frame.c to ia64-libunwind-tdep.c. | |
4618 | * README (--with-libunwind): Rename to ... | |
4619 | (--with-libunwind-ia64): ... here, note it is ia64 specific now. | |
4620 | * config.in: Regenerate. | |
4621 | * configure: Regenerate. | |
4622 | * configure.ac: New option --with-libunwind-ia64, make the | |
4623 | AS_HELP_STRING ia64 specific. Deprecate option --with-libunwind. | |
4624 | Remove AC_DEFINE for HAVE_LIBUNWIND. | |
4625 | * ia64-libunwind-tdep.c: Make the file top comment ia64 specific. | |
4626 | Rename libunwind-frame.h #include to ia64-libunwind-tdep.h. | |
4627 | Rename libunwind-frame in the general comment. | |
4628 | * ia64-libunwind-tdep.h: Make the file top comment ia64 specific. | |
4629 | Rename symbol LIBUNWIND_FRAME_H to IA64_TDEP_LIBUNWIND_FRAME_H. | |
4630 | Move forward declarations inside #ifndef. Rename libunwind-frame in | |
4631 | the general comment. | |
4632 | * ia64-tdep.c: Rename libunwind-frame.h #include to | |
4633 | ia64-libunwind-tdep.h. | |
4634 | (ia64_gdb2uw_regnum, ia64_uw2gdb_regnum, ia64_is_fpreg) | |
4635 | (ia64_libunwind_descr): Rename libunwind-frame to | |
4636 | ia64-libunwind-tdep in these function comments. | |
4637 | * ia64-tdep.h: Rename libunwind-frame.h #include to | |
4638 | ia64-libunwind-tdep.h. | |
4639 | * ia64-vms-tdep.c (ia64_vms_libunwind_descr): Rename libunwind-frame to | |
4640 | ia64-libunwind-tdep in that data comment. | |
4641 | ||
3755cbfd JK |
4642 | 2012-03-08 Jan Kratochvil <[email protected]> |
4643 | ||
4644 | * libunwind-frame.h (struct frame_unwind): New declaration. | |
4645 | ||
d1cda5d9 JB |
4646 | 2012-03-08 Joel Brobecker <[email protected]> |
4647 | ||
4648 | * breakpoint.c (_initialize_breakpoint): Fix error in help of | |
4649 | "set breakpoint condition-evaluation" command. | |
4650 | ||
a0ba0aa2 TG |
4651 | 2012-03-08 Tristan Gingold <[email protected]> |
4652 | ||
4653 | * sparc-stub.c: Move to stubs/ | |
4654 | * sh-stub.c: Likewise. | |
4655 | * m68k-stub.c: Likewise. | |
4656 | * m32r-stub.c: Likewise. | |
4657 | * i386-stub.c: Likewise. | |
4658 | ||
7b8b6d6d AS |
4659 | 2012-03-08 Andreas Schwab <[email protected]> |
4660 | ||
007cafee AS |
4661 | * m68klinux-tdep.c (m68k_linux_init_abi): Register |
4662 | linux_get_siginfo_type. | |
4663 | ||
7b8b6d6d AS |
4664 | * m68klinux-nat.c: Include "gdb_proc_service.h". |
4665 | (PTRACE_GET_THREAD_AREA): Define. | |
4666 | (ps_get_thread_area): New function. | |
4667 | ||
bba74b36 YQ |
4668 | 2012-03-08 Yao Qi <[email protected]> |
4669 | ||
4670 | * remote.c (remote_get_noisy_reply): Replace `sprintf' with | |
4671 | `xsnprintf'. | |
4672 | (remote_query_attached): Likewise. | |
4673 | (remote_static_tracepoint_marker_at): Likewise. | |
4674 | (remote_set_permissions): Likewise. | |
4675 | (remote_detach_1, extended_remote_attach_1): Likewise. | |
4676 | (send_g_packet, remote_vkill): Likewise. | |
4677 | (extended_remote_disable_randomization): Likewise. | |
4678 | (remote_add_target_side_condition): Likewise. | |
4679 | (remote_insert_breakpoint): Likewise. | |
4680 | (remote_remove_breakpoint): Likewise. | |
4681 | (remote_insert_watchpoint): Likewise. | |
4682 | (remote_remove_watchpoint): Likewise. | |
4683 | (remote_insert_hw_breakpoint): Likewise. | |
4684 | (remote_insert_hw_breakpoint): Likewise. | |
4685 | (remote_remove_hw_breakpoint): Likewise. | |
4686 | (remote_download_command_source): Likewise. | |
4687 | (remote_download_tracepoint): Likewise. | |
4688 | (remote_download_trace_state_variable): Likewise. | |
4689 | (remote_disable_tracepoint): Likewise. | |
4690 | (remote_trace_set_readonly_regions): Likewise. | |
4691 | (remote_get_tracepoint_status): Likewise. | |
4692 | (remote_trace_find): Likewise. | |
4693 | (remote_get_trace_state_variable_value): Likewise. | |
4694 | (remote_set_disconnected_tracing): Likewise. | |
4695 | (remote_set_circular_trace_buffer): Likewise. | |
4696 | (remote_get_min_fast_tracepoint_insn_len): Likewise. | |
4697 | (remote_use_agent): Likewise. | |
4698 | (remote_add_target_side_condition): Add one parameter BUF_SIZE. | |
4699 | Update callers. | |
4700 | ||
9b224c5e PA |
4701 | 2012-03-07 Pedro Alves <[email protected]> |
4702 | ||
4703 | * NEWS: Mention QProgramSignals. | |
4704 | * inferior.h (update_signals_program_target): Declare. | |
4705 | * infrun.c: (update_signals_program_target): New. | |
4706 | (handle_command): Update the target of the new program signals | |
4707 | array changes. | |
4708 | * remote.c (PACKET_QProgramSignals): New enum. | |
4709 | (last_program_signals_packet): New global. | |
4710 | (remote_program_signals): New. | |
4711 | (remote_start_remote): Update the target with the program signals | |
4712 | list. | |
4713 | (remote_protocol_features): Add entry for QPassSignals. | |
4714 | (remote_open_1): Free anc clear last_program_signals_packet. | |
4715 | (init_remote_ops): Install remote_program_signals. | |
4716 | * target.c (update_current_target): Adjust. | |
4717 | (target_program_signals): New. | |
4718 | * target.h (struct target_ops) <to_program_signals>: New field. | |
4719 | (target_program_signals): Declare. | |
4720 | ||
74c48cbb PA |
4721 | 2012-03-07 Pedro Alves <[email protected]> |
4722 | ||
4723 | * NEWS: Add subtitle for new z0/z1 conditional breakpoint | |
4724 | extensions. | |
4725 | ||
0c13fc49 AS |
4726 | 2012-03-07 Andreas Schwab <[email protected]> |
4727 | ||
4728 | * m68klinux-nat.c (getregs_supplies): Make static. | |
4729 | (getfpregs_supplies): Likewise. | |
4730 | (have_ptrace_getregs): Likewise. | |
4731 | ||
1281d2a3 JB |
4732 | 2012-03-06 Joel Brobecker <[email protected]> |
4733 | ||
4734 | * dwarf2read.c (dwarf2_get_die_type): Pass absolute offset | |
4735 | in call to get_die_type_at_offset. | |
4736 | ||
2b03b41d SS |
4737 | 2012-03-06 Stan Shebs <[email protected]> |
4738 | ||
4739 | * mi/mi-cmd-break.c: Enforce coding standards, fix comments. | |
4740 | * mi/mi-cmd-disas.c: Ditto. | |
4741 | * mi/mi-cmd-env.c: Ditto. | |
4742 | * mi/mi-cmd-file.c: Ditto. | |
4743 | * mi/mi-cmd-stack.c: Ditto. | |
4744 | * mi/mi-cmd-target.c: Ditto. | |
4745 | * mi/mi-cmd-var.c: Ditto. | |
4746 | * mi/mi-cmds.c: Ditto. | |
4747 | * mi/mi-cmds.h: Ditto. | |
4748 | * mi/mi-console.c: Ditto. | |
4749 | * mi/mi-getopt.c: Ditto. | |
4750 | * mi/mi-getopt.h: Ditto. | |
4751 | * mi/mi-interp.c: Ditto. | |
4752 | * mi/mi-main.c: Ditto. | |
4753 | * mi/mi-out.c: Ditto. | |
4754 | * mi/mi-parse.c: Ditto. | |
4755 | * mi/mi-parse.h: Ditto. | |
4756 | * mi/mi-symbol-cmds.c: Ditto. | |
4757 | ||
4758 | * mi/mi-getopt.h: Move mi_opt struct up. | |
4759 | * mi/mi-main.c (captured_mi_execute_command): Remove redundant | |
4760 | return. | |
4761 | * mi/mi-out.c (_initialize_mi_out): Remove empty initialize. | |
4762 | ||
c988ad87 TT |
4763 | 2012-03-06 Tom Tromey <[email protected]> |
4764 | ||
4765 | * proc-service.c (ps_pglobal_lookup): Set the current program | |
4766 | space. | |
4767 | ||
1b7c1b10 PA |
4768 | 2012-03-06 Pedro Alves <[email protected]> |
4769 | ||
4770 | * gregset.h [HAVE_SYS_PROCFS_H]: Include <sys/procfs.h>. | |
4771 | ||
3c182069 JB |
4772 | 2012-03-05 Joel Brobecker <[email protected]> |
4773 | ||
4774 | * MAINTAINERS: List Maciej W. Rozycki as the mips maintainer. | |
4775 | ||
2e794194 JK |
4776 | 2012-03-05 Jan Kratochvil <[email protected]> |
4777 | ||
4778 | Code cleanup. | |
4779 | * common/linux-osdata.c (linux_common_core_of_thread): New function | |
4780 | comment. | |
4781 | * linux-nat.c (linux_nat_wait_1): Replace linux_nat_core_of_thread_1 | |
4782 | call by linux_common_core_of_thread. | |
4783 | (linux_nat_core_of_thread_1): Remove. | |
4784 | * linux-nat.h (linux_nat_core_of_thread_1): Remove declaration. | |
4785 | * linux-thread-db.c: Include linux-osdata.h. | |
4786 | (update_thread_core): Replace linux_nat_core_of_thread_1 call by | |
4787 | linux_common_core_of_thread. | |
4788 | ||
9f9f1f31 TT |
4789 | 2012-03-05 Tom Tromey <[email protected]> |
4790 | ||
4791 | * value.c (value_primitive_field): Don't fetch contents for | |
4792 | non-virtual bases. | |
4793 | ||
b7b189f3 TT |
4794 | 2012-03-05 Tom Tromey <[email protected]> |
4795 | ||
4796 | * jv-valprint.c (java_value_print): Correctly compute 'obj_addr'. | |
4797 | ||
05b8a789 | 4798 | 2012-03-05 Andreas Arnez <[email protected]> |
5538f557 | 4799 | |
5538f557 JB |
4800 | * s390-nat.c: Include "gregset.h". |
4801 | ||
75528772 JK |
4802 | 2012-03-05 Jan Kratochvil <[email protected]> |
4803 | ||
4804 | * libunwind-frame.c (LIBUNWIND_SO): Change .7 to .8. | |
4805 | [!LIBUNWIND_SO] (LIBUNWIND_SO_7): New #define. | |
4806 | (libunwind_load): New variable so_error, use it for dlerror. Try to | |
4807 | load also LIBUNWIND_SO_7. | |
4808 | ||
275418ae PA |
4809 | 2012-03-05 Pedro Alves <[email protected]> |
4810 | ||
4811 | * i387-tdep.c (i387_supply_xsave): Assert the xsave section buffer | |
4812 | is not NULL, and remove resulting dead code. | |
4813 | ||
5cbb9812 TS |
4814 | 2012-03-05 Thomas Schwinge <[email protected]> |
4815 | ||
4816 | * sh-tdep.c (sh_skip_prologue): Provide an upper limit on the function | |
4817 | prologue to sh_analyze_prologue. | |
4818 | (sh_analyze_prologue): Make better use of such an upper limit, and | |
4819 | generally be more cautious about accessing memory. | |
4820 | ||
541515ad TT |
4821 | 2012-03-05 Tom Tromey <[email protected]> |
4822 | ||
4823 | * ia64-vms-tdep.c (_initialize_ia64_vms_tdep): Rename from | |
4824 | _initialize_ia64_hpux_tdep. | |
4825 | ||
b4d36fb8 PA |
4826 | 2012-03-05 Pedro Alves <[email protected]> |
4827 | ||
24490249 PA |
4828 | PR gdb/13766 |
4829 | ||
b4d36fb8 PA |
4830 | * i387-tdep.c (i387_supply_xsave): If we have an xsave buffer, and |
4831 | the register state is clear, supply explicit zero, instead of | |
4832 | marking the register unavailable. | |
4833 | ||
60c9a3c0 TG |
4834 | 2012-03-05 Tristan Gingold <[email protected]> |
4835 | ||
4836 | * NEWS: Mention OpenVMS ia64 new target. | |
4837 | ||
696759ad TG |
4838 | 2012-03-05 Tristan Gingold <[email protected]> |
4839 | ||
4840 | * ia64-tdep.h: Include libunwind-frame.h and libunwind-ia64.h. | |
4841 | (ia64_unw_accessors, ia64_unw_rse_accessors) | |
4842 | (ia64_libunwind_descr): Declare. | |
4843 | * ia64-vms-tdep.c: New file. | |
4844 | * ia64-tdep.c (ia64_unw_accessors, ia64_unw_rse_accessors) | |
4845 | (ia64_libunwind_descr): Make them public. | |
4846 | * configure.tgt: Add ia64-*-*vms*. | |
4847 | * Makefile.in (ALL_64_TARGET_OBS): Add ia64-vms-tdep.o | |
4848 | (ALLDEPFILES): Add ia64-vms-tdep.c | |
4849 | ||
34864976 TG |
4850 | 2012-03-05 Tristan Gingold <[email protected]> |
4851 | ||
169081d0 TG |
4852 | * target.h (target_object): Add TARGET_OBJECT_OPENVMS_UIB. |
4853 | * remote.c (PACKET_qXfer_uib): New enum value. | |
4854 | (remote_protocol_features): Add entry for PACKET_qXfer_uib. | |
4855 | (remote_xfer_partial): Handle TARGET_OBJECT_OPENVMS_UIB. | |
4856 | (_initialize_remote): Call add_packet_config_cmd for | |
4857 | xfer:uib packet. | |
4858 | ||
4859 | 2012-03-05 Tristan Gingold <[email protected]> | |
4860 | ||
4861 | * osabi.c (gdb_osabi_names): Add OpenVMS. | |
4862 | (generic_elf_osabi_sniffer): Likewise. | |
4863 | * defs.h (gdb_osabi): Add GDB_OSABI_OPENVMS. | |
34864976 | 4864 | |
6597b100 JK |
4865 | 2012-03-04 Jan Kratochvil <[email protected]> |
4866 | ||
4867 | Removed unused code. | |
4868 | * libunwind-frame.c (libunwind_frame_unwind) | |
4869 | (libunwind_frame_base_address): Remove. | |
4870 | * libunwind-frame.h (libunwind_frame_base_address): Remove declaration. | |
4871 | ||
87399aa1 YQ |
4872 | 2012-03-04 Yao Qi <[email protected]> |
4873 | ||
4874 | * common/agent.c (gdb_connect_sync_socket): Add _ markup and | |
4875 | remove trailing new line. | |
4876 | (agent_run_command, agent_run_command): Add _ markup. | |
4877 | (agent_capability_check): Likewise. | |
4878 | ||
abf1152a JK |
4879 | 2012-03-03 Jan Kratochvil <[email protected]> |
4880 | ||
4881 | * breakpoint.c (set_condition_evaluation_mode): Set | |
4882 | CONDITION_EVALUATION_MODE unconditionally. | |
4883 | ||
5808517f YQ |
4884 | 2012-03-03 Yao Qi <[email protected]> |
4885 | ||
4886 | * common/agent.c (agent_look_up_symbols): Add one parameter 'arg'. | |
4887 | * common/agent.h: Update declaration. | |
4888 | * inf-child.c (inf_child_use_agent): New. | |
4889 | (inf_child_can_use_agent): New. | |
4890 | (inf_child_target): Initialize fields `to_use_agent' | |
4891 | and `to_can_use_agent'. | |
4892 | * agent.c (agent_new_objfile): New. | |
89b7509a | 4893 | (_initialize_agent): Add agent_new_objfile to new_objfile |
5808517f YQ |
4894 | observer. |
4895 | ||
4896 | * linux-nat.c (linux_child_static_tracepoint_markers_by_strid): | |
4897 | New. | |
89b7509a | 4898 | (linux_target_install_ops): Initialize field |
5808517f YQ |
4899 | `to_static_tracepoint_markers_by_strid'. |
4900 | * remote.c (free_current_marker): Move it to ... | |
4901 | * tracepoint.c (free_current_marker): ... here. New. | |
4902 | (cleanup_target_stop): New. | |
4903 | * tracepoint.h: Declare free_current_marker. | |
4904 | * NEWS: Add one entry about `info static-tracepoint-marker'. | |
4905 | ||
58b4daa5 YQ |
4906 | 2012-03-03 Yao Qi <[email protected]> |
4907 | ||
4908 | * common/agent.c (agent_loaded_p): New. | |
89b7509a | 4909 | (agent_look_up_symbols): New global. |
58b4daa5 YQ |
4910 | * common/agent.h: Declare agent_loaded_p. |
4911 | ||
8ffcbaaf YQ |
4912 | 2012-03-03 Yao Qi <[email protected]> |
4913 | ||
4914 | * common/agent.c (struct ipa_sym_addresses) <addr_capability>: New. | |
4915 | (agent_capability_check, agent_capability_invalidate): New. | |
4916 | (symbol_list): New array element. | |
4917 | * common/agent.h (enum agent_capa): New. | |
4918 | * target.c (target_pre_inferior): Call agent_capability_invalidate. | |
4919 | ||
d1feda86 YQ |
4920 | 2012-03-03 Yao Qi <[email protected]> |
4921 | ||
4922 | * target.h (struct target_ops) <to_use_agent>: New field. | |
4923 | (struct target_ops) <to_can_use_agent>: New field. | |
4924 | (target_use_agent, target_can_use_agent): New macro. | |
4925 | * target.c (update_current_target): Update. | |
4926 | * remote.c: New enum `PACKET_QAgent'. | |
4927 | (remote_protocol_features): Add a new element. | |
4928 | (remote_use_agent, remote_can_use_agent): New. | |
4929 | (init_remote_ops): Initialize field `can_use_agent' with | |
4930 | remote_can_use_agent. Intiailize field `use_agent' with | |
4931 | remote_use_agent. | |
4932 | * common/agent.c (use_agent): New global. | |
4933 | * common/agent.h: Declare it. | |
4934 | * tracepoint.c (info_static_tracepoint_markers_command): Add | |
4935 | comment. | |
4936 | * Makefile.in (SFILES): Add common/agent.c and agent.c. | |
4937 | (COMMON_OBS): Add common/agent.o and agent.o | |
4938 | (common-agent.o): New rule. | |
4939 | * agent.c: New. | |
4940 | ||
2fa291ac YQ |
4941 | 2012-03-03 Yao Qi <[email protected]> |
4942 | ||
4943 | * common/agent.c: New. | |
4944 | * common/agent.h: New. | |
4945 | * configure.ac: Add `sys/socket.h' and `sys/un.h' to | |
4946 | AC_CHECK_HEADERS. | |
4947 | * configure, configh.in: Regenerated. | |
4948 | ||
9fc05685 KB |
4949 | 2012-03-02 Kevin Buettner <[email protected]> |
4950 | ||
4951 | * sh-tdep.c (sh_frame_cache): Don't fetch the FPSCR register | |
4952 | unless it exists for this architecture. | |
4953 | ||
a5ee536b JB |
4954 | 2012-03-02 Joel Brobecker <[email protected]> |
4955 | ||
4956 | * language.h (struct language_defn): New "method" la_read_var_value. | |
4957 | * findvar.c: #include "language.h". | |
4958 | (default_read_var_value): Renames read_var_value. Rewrite | |
4959 | function description. | |
4960 | (read_var_value): New function. | |
4961 | * value.h (default_read_var_value): Add prototype. | |
4962 | * ada-lang.c (ada_read_renaming_var_value, ada_read_var_value): | |
4963 | New functions. | |
4964 | (ada_language_defn): Add entry for la_read_var_value. | |
4965 | * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, language.c, | |
4966 | * m2-lang.c, objc-lang.c, opencl-lang.c, p-lang.c: Update | |
4967 | language_defn structures to add entry for new la_read_var_value | |
4968 | field. | |
4969 | ||
f59f708a PA |
4970 | 2012-03-02 Tom Tromey <[email protected]> |
4971 | Pedro Alves <[email protected]> | |
4972 | ||
4973 | PR breakpoints/13776: | |
4974 | * breakpoint.c (breakpoint_init_inferior): Delete step-resume | |
4975 | breakpoints. | |
4976 | (delete_longjmp_breakpoint_at_next_stop): New. | |
4977 | * breakpoint.h (delete_longjmp_breakpoint_at_next_stop): Declare. | |
4978 | * target.c (generic_mourn_inferior): Call mark_breakpoints_out | |
4979 | before deleting the inferior. Add comments. | |
4980 | * thread.c (clear_thread_inferior_resources): Don't delete lonjmp | |
4981 | breakpoints immediately, but only on next stop. Move that code | |
4982 | next to where we mark other breakpoints for deletion. | |
4983 | ||
44099a67 JB |
4984 | 2012-03-02 Joel Brobecker <[email protected]> |
4985 | ||
4986 | * mips-linux-nat.c (mips_linux_read_description): Add missing i18n | |
4987 | marker. | |
4988 | * mips-tdep.c (mips_linux_reg_names): Improve comment to avoid ARI | |
4989 | violation. | |
4990 | ||
2a2ef594 PA |
4991 | 2012-03-02 Pedro Alves <[email protected]> |
4992 | ||
4993 | * linux-thread-db.c (attach_thread): Avoid in_thread_list call. | |
4994 | ||
b261e0c5 UW |
4995 | 2012-03-02 Ulrich Weigand <[email protected]> |
4996 | ||
4997 | Fix -Wmissing-prototypes build. | |
4998 | * ppc-linux-nat.c (ppc_linux_get_hwcap): Make static. | |
4999 | * remote-sim.c (gdbsim_has_all_memory): Likewise. | |
5000 | (gdbsim_has_memory): Likewise. | |
5001 | ||
a95babbf YQ |
5002 | 2012-03-02 Yao Qi <[email protected]> |
5003 | ||
5004 | Fix -Wmissing-prototypes build. | |
5005 | * charset.c (phony_iconv_open): Make static. | |
5006 | (phony_iconv_close, phony_iconv): Likewise. | |
5007 | * i386-linux-nat.c (_initialize_i386_linux_nat): New prototype. | |
5008 | * i386-windows-nat.c (_initialize_i386_windows_nat): New | |
5009 | prototype. | |
5010 | * mingw-hdep.c (_initialize_mingw_hdep): New prototype. | |
5011 | * ser-mingw.c (create_select_thread): Make static. | |
5012 | * windows-termcap.c (tgetent): New prototype. | |
5013 | (tgetnum, tgetflag, tgetstr, tputs, tgoto): Likewise. | |
5014 | ||
d603d4b3 JK |
5015 | 2012-03-02 Zhang Yuanhui <[email protected]> |
5016 | ||
5017 | Fix -Wmissing-prototypes build. | |
5018 | * windows-nat.c (dll_symbol_command, ctrl_c_handler): Make them static. | |
5019 | (_initialize_windows_nat, _initialize_check_for_gdb_ini) | |
5020 | (_initialize_loadable): New prototypes. | |
5021 | ||
7fb3ad1f DE |
5022 | 2012-03-02 Doug Evans <[email protected]> |
5023 | ||
5024 | * dwarf2read.c (load_full_comp_unit): Remove unnecessary reading of | |
5025 | abbrev table, read_comp_unit will do it. | |
5026 | ||
693be288 JK |
5027 | 2012-03-02 Jan Kratochvil <[email protected]> |
5028 | ||
5029 | Fix -Wmissing-prototypes build. | |
5030 | * alpha-tdep.c (alpha_deal_with_atomic_sequence): Make it static. | |
5031 | * amd64-darwin-tdep.c (_initialize_amd64_darwin_tdep): New prototype. | |
5032 | * amd64-windows-tdep.c (_initialize_amd64_windows_tdep): Likewise. | |
5033 | * arm-symbian-tdep.c (arm_symbian_skip_trampoline_code): Make it static. | |
5034 | (_initialize_arm_symbian_tdep): New prototype. | |
5035 | * arm-wince-tdep.c (arm_wince_skip_main_prologue): Make it static. | |
5036 | * i386-darwin-tdep.c (_initialize_i386_darwin_tdep): New prototype. | |
5037 | * i386-linux-tdep.c (i386_linux_displaced_step_copy_insn): Make it | |
5038 | static. | |
5039 | * lm32-tdep.c (_initialize_lm32_tdep): New prototype. | |
5040 | * microblaze-linux-tdep.c (_initialize_microblaze_linux_tdep): New | |
5041 | prototype. | |
5042 | * microblaze-tdep.c (microblaze_debug, microblaze_fetch_instruction) | |
5043 | (microblaze_skip_prologue, microblaze_frame_cache): Make them static. | |
5044 | * mips-linux-tdep.c (mips_linux_regset_from_core_section): Make it | |
5045 | static. | |
5046 | * moxie-tdep.c (moxie_process_record): Likewise. | |
5047 | * remote-mips.c (mips_can_use_watchpoint, mips_insert_watchpoint) | |
5048 | (mips_remove_watchpoint, mips_stopped_by_watchpoint): Make them static. | |
5049 | * rl78-tdep.c (rl78_breakpoint_from_pc): Make it static. | |
5050 | (_initialize_rl78_tdep): New prototype. | |
5051 | * rx-tdep.c (rx_breakpoint_from_pc): Make it static. | |
5052 | (_initialize_rx_tdep): New prototype. | |
5053 | * solib-darwin.c (darwin_in_dynsym_resolve_code): Make it static. | |
5054 | (_initialize_darwin_solib): New prototype. | |
5055 | * solib-spu.c: Include solib-spu.h. | |
5056 | (_initialize_spu_solib): New prototype. | |
5057 | * spu-multiarch.c (_initialize_spu_multiarch): New prototype. | |
5058 | * tic6x-tdep.c (tic6x_analyze_prologue, tic6x_skip_prologue) | |
5059 | (tic6x_breakpoint_from_pc, tic6x_frame_unwind_cache) | |
5060 | (tic6x_software_single_step): Make it static. | |
5061 | (_initialize_tic6x_tdep): New prototype. | |
5062 | ||
638234e5 JK |
5063 | 2012-03-02 Jan Kratochvil <[email protected]> |
5064 | ||
5065 | Fix -Wmissing-prototypes build. | |
5066 | * cris-tdep.c (cris_can_use_hardware_watchpoint) | |
5067 | (cris_region_ok_for_watchpoint, cris_stopped_data_address): Remove. | |
5068 | ||
f4a6f16d JK |
5069 | 2012-03-01 Jan Kratochvil <[email protected]> |
5070 | ||
5071 | Fix -Wmissing-prototypes build. | |
5072 | * frv-tdep.c (frv_check_watch_resources, frv_stopped_data_address) | |
5073 | (frv_have_stopped_data_address): Remove. | |
5074 | ||
04dcf5fa JK |
5075 | 2012-03-01 Jan Kratochvil <[email protected]> |
5076 | ||
5077 | Fix -Wmissing-prototypes build. | |
5078 | * Makefile.in (HFILES_NO_SRCDIR): Add sh64-tdep.h. | |
5079 | * sh-tdep.c: Include sh64-tdep.h. | |
5080 | * sh-tdep.h (sh64_gdbarch_init, sh64_show_regs): Remove declarations. | |
5081 | * sh64-tdep.c: Include sh64-tdep.h. | |
5082 | * sh64-tdep.h: New file. | |
5083 | ||
19080931 MR |
5084 | 2012-03-01 Maciej W. Rozycki <[email protected]> |
5085 | ||
5086 | * mips-tdep.c (mips32_scan_prologue): Correct indentation. | |
5087 | ||
9aac7884 MR |
5088 | 2012-03-01 Maciej W. Rozycki <[email protected]> |
5089 | ||
5090 | * mips-tdep.c (mips_gdbarch_init): Only set pc_regnum and | |
5091 | sp_regnum once the gdbarch_init_osabi hook has been called. | |
5092 | ||
a385295e MR |
5093 | 2012-03-01 Maciej W. Rozycki <[email protected]> |
5094 | ||
5095 | * mips-tdep.c (mips32_bc1_pc): New function. | |
5096 | (mips32_next_pc): Handle BC1ANY2F, BC1ANY2T, BC1ANY4F, BC1ANY4T, | |
5097 | BPOSGE32 and BPOSGE64 instructions. | |
5098 | (deal_with_atomic_sequence): Likewise. | |
5099 | (mips32_instruction_has_delay_slot): Likewise. | |
5100 | ||
1faeff08 | 5101 | 2012-03-01 Maciej W. Rozycki <[email protected]> |
a09130f9 PA |
5102 | Chris Dearman <[email protected]> |
5103 | Maciej W. Rozycki <[email protected]> | |
5104 | Joseph Myers <[email protected]> | |
1faeff08 MR |
5105 | |
5106 | * features/mips-dsp.xml: New file. | |
5107 | * features/mips64-dsp.xml: New file. | |
5108 | * features/mips-dsp-linux.xml: New file. | |
5109 | * features/mips64-dsp-linux.xml: New file. | |
5110 | * features/Makefile (WHICH): Add mips-dsp-linux and | |
5111 | mips64-dsp-linux. | |
5112 | (mips-dsp-expedite, mips64-dsp-expedite): New variables. | |
5113 | * features/mips-dsp-linux.c: New file. | |
5114 | * features/mips64-dsp-linux.c: New file. | |
5115 | * regformats/mips-dsp-linux.dat: New file. | |
5116 | * regformats/mips64-dsp-linux.dat: New file. | |
5117 | * mips-linux-nat.c (mips_linux_register_addr): Handle DSP | |
5118 | registers. | |
5119 | (mips64_linux_register_addr): Likewise. | |
5120 | (mips64_linux_regsets_fetch_registers): Likewise. | |
5121 | (mips64_linux_regsets_store_registers): Likewise. | |
5122 | (mips64_linux_fetch_registers): Update call to | |
5123 | mips64_linux_regsets_fetch_registers. | |
5124 | (mips64_linux_store_registers): Update call to | |
5125 | mips64_linux_regsets_store_registers. | |
5126 | (mips_linux_read_description): Probe for DSP registers. | |
5127 | (_initialize_mips_linux_nat): Call initialize_tdesc_mips_dsp_linux | |
5128 | and initialize_tdesc_mips64_dsp_linux. | |
5129 | * mips-linux-tdep.c (supply_gregset, mips64_supply_gregset): | |
5130 | Remove padding of no longer used embedded register slots. | |
5131 | * mips-linux-tdep.h (DSP_BASE, DSP_CONTROL): New macros. | |
5132 | (MIPS_RESTART_REGNUM): Redefine enum value. | |
5133 | * mips-tdep.c (mips_generic_reg_names): Remove trailing null | |
5134 | strings. | |
5135 | (mips_tx39_reg_names): Likewise. | |
5136 | (mips_linux_reg_names): New array of register names for Linux | |
5137 | targets. | |
5138 | (mips_register_name): Check for a null pointer in | |
5139 | mips_processor_reg_names and return an empty string. | |
5140 | (mips_register_type): Exclude embedded registers for the IRIX | |
5141 | and Linux ABIs. | |
5142 | (mips_pseudo_register_type): Likewise. Use dynamic numbers to | |
5143 | refer to FP registers, LO, HI, BadVAddr, Cause and PC. Handle | |
5144 | DSP registers. | |
5145 | (mips_stab_reg_to_regnum): Handle DSP accumulators. | |
5146 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise. | |
5147 | (mips_gdbarch_init): Likewise. Initialize internal register | |
5148 | indices for the Linux ABI. Use dynamic numbers to refer to | |
5149 | registers, as applicable, while parsing the target description. | |
5150 | * mips-tdep.h (struct mips_regnum): Add dspacc/dspctl offsets. | |
5151 | ||
263689d8 JB |
5152 | 2012-03-01 Joel Brobecker <[email protected]> |
5153 | ||
5154 | * frame.h (read_frame_register_unsigned): Fix typo in function | |
5155 | description. | |
5156 | ||
f3b4f45c PA |
5157 | 2012-03-01 Pedro Alves <[email protected]> |
5158 | ||
5159 | * jit-reader.in [!__cplusplus] | |
5160 | (GDB_DECLARE_GPL_COMPATIBLE_READER): Add missing backslash. | |
5161 | ||
b03a2011 PA |
5162 | 2012-03-01 Pedro Alves <[email protected]> |
5163 | ||
5164 | * configure.ac (build_warnings): Add -Wmissing-prototypes. | |
5165 | * configure: Regenerate. | |
5166 | ||
70221824 PA |
5167 | 2012-03-01 Pedro Alves <[email protected]> |
5168 | ||
5169 | * amd64-linux-tdep.c (amd64_linux_record_signal): Make static. | |
5170 | * breakpoint.c (create_exception_master_breakpoint, trace_command) | |
5171 | (ftrace_command, strace_command): Make static. | |
5172 | * d-lang.c (_initialize_d_language): Declare. | |
5173 | * dwarf2expr.c (_initialize_dwarf2expr): Declare. | |
5174 | * dwarf2loc.c (_initialize_dwarf2loc): | |
5175 | * dwarf2read.c (process_psymtab_comp_unit): Make static. | |
5176 | * exec.c (exec_get_section_table): Make static. | |
5177 | * i386-linux-tdep.c (i386_linux_record_signal): Make static. | |
5178 | * infcmd.c (ensure_valid_thread, ensure_not_tfind_mode): Make static. | |
5179 | * inferior.c (remove_inferior_command, add_inferior_command) | |
5180 | (clone_inferior_command): Make static. | |
5181 | * linux-nat.c (linux_nat_thread_address_space) | |
5182 | (linux_nat_core_of_thread): Make static. | |
5183 | * linux-tdep.c (_initialize_linux_tdep): Declare. | |
5184 | * objc-lang.c (_initialize_objc_lang): Declare. | |
5185 | * opencl-lang.c (builtin_opencl_type, opencl_language_arch_info): | |
5186 | Make static. | |
5187 | (_initialize_opencl_language): Declare. | |
5188 | * record.c (_initialize_record): Declare. | |
5189 | * remote.c (demand_private_info, remote_get_tib_address) | |
5190 | (remote_supports_cond_tracepoints) | |
5191 | (remote_supports_fast_tracepoints, remote_get_tracepoint_status): | |
5192 | Make static. | |
5193 | * skip.c (_initialize_step_skip): Declare. | |
5194 | * symtab.c (skip_prologue_using_lineinfo): Make static. | |
5195 | * tracepoint.c (delete_trace_state_variable) | |
5196 | (trace_variable_command, delete_trace_variable_command) | |
5197 | (get_uploaded_tsv, find_matching_tracepoint_location) | |
5198 | (find_matching_tsv, create_tsv_from_upload, get_traceframe_info): | |
5199 | Make static. | |
5200 | * value.c (pack_unsigned_long): Make static. | |
5201 | * varobj.c (varobj_ensure_python_env): Make static. | |
5202 | * windows-tdep.c (_initialize_windows_tdep): Declare. | |
5203 | * xml-syscall.c (make_cleanup_free_syscalls_info): Make static. | |
5204 | ||
33fbcbee PA |
5205 | 2012-03-01 Pedro Alves <[email protected]> |
5206 | ||
5207 | * linux-tdep.c (linux_has_shared_address_space): Make static. Add | |
5208 | gdbarch parameter. | |
5209 | (linux_init_abi): Install it as has_shared_address_space gdbarch | |
5210 | callback. | |
5211 | ||
44d0cd3b PA |
5212 | 2012-03-01 Pedro Alves <[email protected]> |
5213 | ||
5214 | * observer.c (observer_test_first_notification_function) | |
5215 | (observer_test_second_notification_function) | |
5216 | (observer_test_third_notification_function): Add declarations. | |
5217 | ||
ed01b82c PA |
5218 | 2012-03-01 Pedro Alves <[email protected]> |
5219 | ||
5220 | * common/signals.c (default_target_signal_to_host) | |
5221 | (default_target_signal_from_host): Move ... | |
5222 | * arch-utils.c: ... here. | |
5223 | * arch-utils.h (default_target_signal_to_host) | |
5224 | (default_target_signal_from_host): Declare. | |
5225 | ||
5226 | * common/signals.c (target_signal_from_command): Move ... | |
5227 | * infrun.c: ... here. | |
5228 | * inferior.h (target_signal_from_command): Declare. | |
5229 | * target.h (target_signal_from_command) | |
5230 | (default_target_signal_from_host, default_target_signal_to_host): | |
5231 | Delete declarations. | |
5232 | ||
5233 | * common/signals.c (_initialize_signals): Delete. | |
5234 | ||
c9b87335 PA |
5235 | 2012-03-01 Pedro Alves <[email protected]> |
5236 | ||
5237 | * jit-reader.in (plugin_is_GPL_compatible): Add declarations for | |
5238 | both __cplusplus and !__cplusplus. | |
5239 | ||
9340a6c0 PA |
5240 | 2012-03-01 Pedro Alves <[email protected]> |
5241 | ||
5242 | * psymtab.c (find_and_open_source): Delete declaration. | |
5243 | * source.c (find_and_open_source): Move comment ... | |
5244 | * source.h (find_and_open_source): ... to this new declaration. | |
5245 | ||
e451c4a1 PA |
5246 | 2012-03-01 Pedro Alves <[email protected]> |
5247 | ||
5248 | * inline-frame.c: Include inline-frame.h. | |
5249 | ||
983fb104 PA |
5250 | 2012-03-01 Pedro Alves <[email protected]> |
5251 | ||
5252 | * tui/tui-data.c (set_gen_win_origin): Delete. | |
5253 | * tui/tui-data.h (tui_set_gen_win_origin): Delete declaration. | |
5254 | * tui/tui-regs.c (tui_last_reg_element_no_in_line): Delete. | |
5255 | ||
5fbce5df PA |
5256 | 2012-03-01 Pedro Alves <[email protected]> |
5257 | ||
5258 | * remote.c (encode_actions): Delete declaration. | |
5259 | * tracepoint.c (encode_actions): Make extern. | |
5260 | * tracepoint.h (encode_actions): Declare. | |
5261 | ||
49a8461d PA |
5262 | 2012-03-01 Pedro Alves <[email protected]> |
5263 | ||
5264 | * python/py-breakpoint.c: Include python.h. | |
5265 | * python/py-continueevent.c (create_continue_event_object): Make | |
5266 | static. | |
5267 | * python/py-lazy-string.c (stpy_get_type): Make static. | |
5268 | * python/py-newobjfileevent.c (create_new_objfile_event_object): | |
5269 | Make static. | |
5270 | * python/py-utils.c (unicode_to_target_python_string): Make | |
5271 | static. | |
5272 | * python/py-value.c: Include python.h. | |
5273 | ||
9079102f PA |
5274 | 2012-03-01 Pedro Alves <[email protected]> |
5275 | ||
5276 | * inferior.c (delete_threads_of_inferior): Delete. | |
5277 | ||
a298c5e8 PA |
5278 | 2012-03-01 Pedro Alves <[email protected]> |
5279 | ||
5280 | Import fallback definitions from glibc. | |
5281 | ||
5282 | * gdb_proc_service.h [!HAVE_PROC_SERVICE_H] (struct | |
5283 | ps_prochandle): Forward declare. | |
5284 | (ps_err_e): Use glibc's comments. | |
5285 | [!HAVE_PROC_SERVICE_H] (ps_pdread, ps_pdwrite, ps_ptread) | |
5286 | (ps_ptwrite, ps_lgetregs, ps_lsetregs, ps_lgetfpregs) | |
5287 | (ps_lsetfpregs, ps_getpid, ps_get_thread_area, ps_pglobal_lookup) | |
5288 | (ps_pstop, ps_pcontinue, ps_lstop, ps_lcontinue, ps_lgetxregsize) | |
5289 | (ps_lgetxregs, ps_lsetxregs, ps_plog): Declare. | |
5290 | (struct ps_prochandle): Adjust comment. | |
5291 | ||
e3084549 PA |
5292 | 2012-03-01 Pedro Alves <[email protected]> |
5293 | ||
5294 | * ada-lang.c (ada_modulus_from_name): Delete. | |
5295 | * ada-lex.l (lexer_init): Make static. | |
5296 | ||
ad5f7d6e PA |
5297 | 2012-03-01 Pedro Alves <[email protected]> |
5298 | ||
5299 | PR gdb/13767 | |
5300 | ||
5301 | * frame.c (read_frame_register_unsigned): New. | |
5302 | * frame.h (read_frame_register_unsigned): Declare. | |
5303 | * i387-tdep.c (print_i387_status_word): New parameter `status_p'. | |
5304 | Handle it. | |
5305 | (print_i387_control_word): New parameter `control_p'. Handle it. | |
5306 | (i387_print_float_info): Handle unavailable float registers. | |
5307 | ||
e0a4d108 KS |
5308 | 2012-03-01 Keith Seitz <[email protected]> |
5309 | ||
5310 | * linespec.c (decode_line_2): Sort the list of methods | |
5311 | alphabetically before presenting the user with a selection | |
5312 | menu. | |
5313 | ||
122d1940 DE |
5314 | 2012-03-01 Doug Evans <[email protected]> |
5315 | ||
5316 | * dwarf2read.c (dwarf2_cu): Remove unused members has_form_ref_addr, | |
5317 | has_namespace_info. | |
5318 | (dwarf2_read_abbrevs): Remove corresponding initialization. | |
5319 | ||
7d74f244 DE |
5320 | 2012-03-01 Scott J. Goldman <[email protected]> |
5321 | ||
5322 | * NEWS: Mention new python command class gdb.COMMAND_USER. | |
5323 | * cli/cli-cmds.c (show_user): Print error when used on a python | |
5324 | command. | |
5325 | (init_cli_cmds): Update documentation strings for "show user" and | |
5326 | "set/show max-user-call-depth" to clarify that it does not apply to | |
5327 | python commands. | |
5328 | * python/py-cmd.c (cmdpy_init): Treat class_user as a valid class in | |
5329 | error check. | |
5330 | (gdbpy_initialize_commands): Add COMMAND_USER as a constant in | |
5331 | gdb python api. | |
5332 | * top.c (execute_command): Only execute a user-defined command as a | |
5333 | legacy macro if c->user_commands is set. | |
5334 | ||
e88acd96 TT |
5335 | 2012-03-01 Tom Tromey <[email protected]> |
5336 | ||
5337 | * valprint.h (struct generic_val_print_decorations): New. | |
5338 | (generic_val_print): Declare. | |
5339 | * valprint.c (generic_val_print): New function. | |
5340 | * p-valprint.c (p_decorations): New global. | |
5341 | (pascal_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, | |
5342 | TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_RANGE, TYPE_CODE_INT, | |
5343 | TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ERROR, TYPE_CODE_UNDEF, | |
5344 | TYPE_CODE_BOOL, TYPE_CODE_CHAR>: Call generic_val_print. | |
5345 | * m2-valprint.c (m2_decorations): New global. | |
5346 | (m2_val_print) <TYPE_CODE_REF, TYPE_CODE_ENUM, TYPE_CODE_FUNC, | |
5347 | TYPE_CODE_BOOL, TYPE_CODE_RANGE, TYPE_CODE_INT, TYPE_CODE_CHAR, | |
5348 | TYPE_CODE_FLT, TYPE_CODE_METHOD, TYPE_CODE_VOID, TYPE_CODE_UNDEF, | |
5349 | TYPE_CODE_ERROR>: Call generic_val_print. | |
5350 | * f-valprint.c (f_decorations): New global. | |
5351 | (f_val_print): Use print_function_pointer_address. | |
5352 | <TYPE_CODE_REF, TYPE_CODE_FUNC, TYPE_CODE_CHAR, TYPE_CODE_FLAGS, | |
5353 | TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_ENUM, TYPE_CODE_RANGE, | |
5354 | TYPE_CODE_BOOL, TYPE_CODE_COMPLEX, TYPE_CODE_UNDEF>: Call | |
5355 | generic_val_print. | |
5356 | * c-valprint.c (c_decorations): New global. | |
5357 | (c_val_print) <TYPE_CODE_MEMBERPTR, TYPE_CODE_REF, TYPE_CODE_ENUM, | |
5358 | TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_METHOD, TYPE_CODE_BOOL, | |
5359 | TYPE_CODE_RANGE, TYPE_CODE_CHAR, TYPE_CODE_FLT, | |
5360 | TYPE_CODE_DECFLOAT, TYPE_CODE_VOID, TYPE_CODE_ERROR, | |
5361 | TYPE_CODE_UNDEF, TYPE_CODE_COMPLEX>: Call generic_val_print. | |
5362 | * ada-valprint.c (ada_val_print_1) <TYPE_CODE_FLAGS>: Remove | |
5363 | case. | |
5364 | ||
d3eab38a TT |
5365 | 2012-03-01 Tom Tromey <[email protected]> |
5366 | ||
5367 | * valprint.c (val_print): Update. | |
5368 | * p-valprint (pascal_val_print): Return void. | |
5369 | * p-lang.h (pascal_val_print): Return void. | |
5370 | * m2-valprint.c (m2_val_print): Return void. | |
5371 | * m2-lang.h (m2_val_print): Return void. | |
5372 | * language.h (struct language_defn) <la_val_print>: Return void. | |
5373 | * language.c (unk_lang_val_print): Return void. | |
5374 | * jv-valprint.c (java_val_print): Return void. | |
5375 | * jv-lang.h (java_val_print): Return void. | |
5376 | * f-valprint.c (f_val_print): Return void. | |
5377 | * f-lang.h (f_val_print): Return void. | |
5378 | * d-valprint.c (d_val_print): Return void. | |
5379 | (dynamic_array_type): Update. | |
5380 | * d-lang.h (d_val_print): Return void. | |
5381 | * c-valprint.c (c_val_print): Return void. | |
5382 | * c-lang.h (c_val_print): Return void. | |
5383 | * ada-valprint.c (ada_vada_val_print, ada_val_print_1): Return | |
5384 | void. | |
5385 | * ada-lang.h (ada_val_print): Return void. | |
5386 | ||
35c0084b TT |
5387 | 2012-03-01 Tom Tromey <[email protected]> |
5388 | ||
5389 | * value.h (val_print): Return void. | |
5390 | * valprint.c (val_print): Return void. | |
5391 | ||
a1f5dd1b TT |
5392 | 2012-03-01 Tom Tromey <[email protected]> |
5393 | ||
5394 | * value.h (common_val_print): Return void. | |
5395 | * valprint.c (common_val_print): Return void. | |
5396 | ||
8e069a98 TT |
5397 | 2012-03-01 Tom Tromey <[email protected]> |
5398 | ||
5399 | * value.h (value_print): Return void. | |
5400 | * valprint.c (value_print): Return void. | |
5401 | * p-valprint.c (pascal_value_print): Return void. | |
5402 | * p-lang.h (pascal_value_print): Return void. | |
5403 | * language.h (struct language_defn) <la_value_print>: Return | |
5404 | void. | |
5405 | * language.c (unk_lang_value_print): Return void. | |
5406 | * jv-valprint.c (java_value_print): Return void. | |
5407 | * jv-lang.h (java_value_print): Return void. | |
5408 | * f-valprint.c (c_value_print): Don't declare. | |
5409 | Include c-lang.h. | |
5410 | * c-valprint.c (c_value_print): Return void. | |
5411 | * c-lang.h (c_value_print): Return void. | |
5412 | * ada-valprint.c (ada_value_print): Return void. | |
5413 | * ada-lang.h (ada_value_print): Return void. | |
5414 | ||
be335936 TT |
5415 | 2012-03-01 Tom Tromey <[email protected]> |
5416 | ||
5417 | * value.c (value_primitive_field): Handle virtual base classes. | |
5418 | ||
b0db66a7 TT |
5419 | 2012-03-01 Tom Tromey <[email protected]> |
5420 | ||
5421 | * gdbtypes.h (struct vbase): Remove. | |
5422 | ||
132c57b4 TT |
5423 | 2012-03-01 Tom Tromey <[email protected]> |
5424 | ||
5425 | * c-valprint.c (print_function_pointer_address): Move... | |
5426 | * valprint.c: ... here. Make non-static. | |
5427 | * m2-valprint.c (print_function_pointer_address): Remove. | |
5428 | * valprint.h (print_function_pointer_address): Declare. | |
5429 | ||
e41eec66 JB |
5430 | 2012-03-01 Joel Brobecker <[email protected]> |
5431 | ||
5432 | * NEWS: Document the fact that one can provide a condition when | |
5433 | creating an Ada exception catchpoint. | |
5434 | ||
19c37f24 TT |
5435 | 2012-03-01 Tom Tromey <[email protected]> |
5436 | ||
5437 | * valprint.c (val_print_type_code_flags): Fix placement of | |
5438 | trailing brace. | |
5439 | ||
f0fed3a3 JB |
5440 | 2012-03-01 Joel Brobecker <[email protected]> |
5441 | ||
5442 | * copyright.py (MULTILINE_COMMENT_PREFIXES): Delete. | |
5443 | (update_files): Do not set MULTILINE_COMMENT_PREFIXES | |
5444 | environment variable before calling update-copyright. | |
5445 | ||
8ba85d85 JB |
5446 | 2012-03-01 Joel Brobecker <[email protected]> |
5447 | ||
5448 | * gnulib/extra/update-copyright: Update to the latest from | |
5449 | gnulib's git repository. | |
5450 | * copyright.py: Set UPDATE_COPYRIGHT_USE_INTERVALS environment | |
5451 | variable to 2 instead of 1. | |
5452 | ||
8219b1e8 JB |
5453 | 2012-02-29 Joel Brobecker <[email protected]> |
5454 | ||
5455 | * varobj.c (c_value_of_variable): Remove dead code. | |
5456 | ||
718cb7da JB |
5457 | 2012-02-29 Joel Brobecker <[email protected]> |
5458 | ||
5459 | * ada-lex.p (processId): Do not modify already encoded IDs. | |
5460 | Update function documentation. | |
5461 | ||
739593e0 JB |
5462 | 2012-02-29 Joel Brobecker <[email protected]> |
5463 | ||
5464 | * ada-lang.h (ada_find_renaming_symbol): Replace parameter | |
5465 | "name" with "struct symbol *name_sym". | |
5466 | * ada-exp.y (write_var_or_type): Update call to | |
5467 | ada_find_renaming_symbol. | |
5468 | "name" with "struct symbol *name_sym". Adjust Implementation | |
5469 | accordingly. Adjust the function documentation. | |
5470 | ||
852dff6c JB |
5471 | 2012-02-29 Joel Brobecker <[email protected]> |
5472 | ||
5473 | * ada-lang.h (ada_find_any_symbol, ada_find_any_type): Delete. | |
5474 | * ada-lang.c (ada_find_any_type): Add advance declaration. | |
5475 | Make static. Replace ada_find_any_symbol by | |
5476 | ada_find_any_type_symbol. | |
5477 | (ada_find_any_type_symbol): Renames ada_find_any_symbol. | |
5478 | Improve function description. Make static. | |
5479 | (ada_find_renaming_symbol, find_old_style_renaming_symbol): | |
5480 | Replace ada_find_any_symbol by ada_find_any_type_symbol. | |
5481 | ||
1b611343 JB |
5482 | 2012-02-29 Joel Brobecker <[email protected]> |
5483 | ||
5484 | * ada-lang.c (struct tag_args): Delete. | |
5485 | (ada_get_tsd_type): Function body moved up in source file. | |
5486 | (ada_tag_name_1, ada_tag_name_2): Delete. | |
5487 | (ada_get_tsd_from_tag): New function. | |
5488 | (ada_tag_name_from_tsd): New function. | |
5489 | (ada_tag_name): Use a TRY_CATCH block instead of catch_errors | |
5490 | to determine the tag name. | |
5491 | ||
41246937 JB |
5492 | 2012-02-29 Joel Brobecker <[email protected]> |
5493 | ||
5494 | * ada-lang.h (ada_get_decoded_value, ada_get_decoded_type): Add | |
5495 | declaration. | |
5496 | * ada-lang.c (ada_get_decoded_value, ada_get_decoded_type): New | |
5497 | function. | |
5498 | ||
ffde82bf JB |
5499 | 2012-02-29 Joel Brobecker <[email protected]> |
5500 | ||
5501 | * ada-lang.c (ada_is_ignored_field): Rewrite wrong comment. | |
5502 | ||
2ad01556 JB |
5503 | 2012-02-29 Joel Brobecker <[email protected]> |
5504 | ||
5505 | * ada-lang.c (ada_lookup_symbol_list): Only cache the result of | |
5506 | full searches. | |
5507 | ||
99b1c762 JB |
5508 | 2012-02-29 Joel Brobecker <[email protected]> |
5509 | ||
5510 | * ada-lang.c (constrained_packed_array_type): If there is a | |
5511 | parallel XA type, use it to determine the array index type. | |
5512 | ||
2d4a02ee JB |
5513 | 2012-02-29 Joel Brobecker <[email protected]> |
5514 | ||
5515 | * ada-valprint.c (ada_val_print_1): If our value is a reference | |
5516 | to an array descriptor, dereference it before converting it | |
5517 | to a simple array. | |
5518 | ||
c48db5ca JB |
5519 | 2012-02-29 Joel Brobecker <[email protected]> |
5520 | ||
5521 | * ada-lang.c (ada_to_fixed_value): Call unwrap_value before | |
5522 | creating fixed value. | |
5523 | (ada_value_ind, ada_coerce_ref, assign_component) | |
5524 | (ada_evaluate_subexp): Remove call to unwrap_value before | |
5525 | call to ada_to_fixed_value. | |
5526 | ||
2e6fda7d JB |
5527 | 2012-02-29 Joel Brobecker <[email protected]> |
5528 | ||
5529 | * ada-lang.c (to_fixed_array_type): Set result's type name. | |
5530 | ||
5845583d JB |
5531 | 2012-02-29 Joel Brobecker <[email protected]> |
5532 | ||
5533 | * ada-lang.c (catch_ada_exception_command_split): Add new | |
5534 | argument cond_string. Add support for condition at end of | |
5535 | "catch exception" commands. | |
5536 | (ada_decode_exception_location): Add new argument cond_string. | |
5537 | Update call to catch_ada_exception_command_split. | |
5538 | (create_ada_exception_catchpoint): Add new argument cond_string. | |
5539 | Set the breakpoint condition if needed. | |
5540 | (catch_ada_exception_command): Update call to | |
5541 | ada_decode_exception_location. | |
5542 | (ada_decode_assert_location): Add function documentation. | |
5543 | Add support for condition at end of "catch assert" command. | |
5544 | (catch_assert_command): Update calls to ada_decode_assert_location | |
5545 | and create_ada_exception_catchpoint. | |
5546 | ||
9a7f938f JK |
5547 | 2012-02-29 Jan Kratochvil <[email protected]> |
5548 | ||
5549 | Fix disp-step-syscall.exp: fork: single step over fork. | |
5550 | * i386-linux-tdep.c (-i386_linux_get_syscall_number): Rename to ... | |
5551 | (i386_linux_get_syscall_number_from_regcache): ... here, new function | |
5552 | comment, change parameters gdbarch and ptid to regcache. Remove | |
5553 | parameter regcache, initialize gdbarch from regcache here. | |
5554 | (i386_linux_get_syscall_number, i386_linux_displaced_step_copy_insn): | |
5555 | New functions. | |
5556 | (i386_linux_init_abi): Install i386_linux_displaced_step_copy_insn | |
5557 | instead. | |
5558 | * i386-tdep.c (i386_syscall_p): Check also for 'sysenter' and | |
5559 | 'syscall'. Make the 'int' check more strict. | |
5560 | ||
ffdf6de5 JK |
5561 | 2012-02-29 Jan Kratochvil <[email protected]> |
5562 | ||
5563 | Fix reverse mode for syscall on AMD CPUs in 32-bit mode. | |
5564 | * i386-linux-tdep.c (i386_linux_intx80_sysenter_record): Rename to ... | |
5565 | (i386_linux_intx80_sysenter_syscall_record): ... here. | |
5566 | (i386_linux_init_abi): Initialize also I386_SYSCALL_RECORD. | |
5567 | Use the renamed function name. | |
5568 | ||
c70a6932 JK |
5569 | 2012-02-29 Jan Kratochvil <[email protected]> |
5570 | ||
5571 | * arm-linux-tdep.c (arm_linux_copy_svc): Reset stale FRAME. | |
5572 | * breakpoint.c (until_break_command): Likewise. | |
5573 | * elfread.c (elf_gnu_ifunc_resolver_stop): Likewise. | |
5574 | * infcall.c (call_function_by_hand): Likewise. | |
5575 | * infcmd.c (finish_forward): Likewise. | |
5576 | * infrun.c (insert_exception_resume_breakpoint): Likewise. | |
5577 | ||
05b8a789 | 5578 | 2012-02-28 Tristan Gingold <[email protected]> |
d4cd3da9 | 5579 | |
d4cd3da9 JB |
5580 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Rework code to |
5581 | avoid variable assignments inside condition. | |
5582 | ||
6425366c JK |
5583 | 2012-02-28 Jan Kratochvil <[email protected]> |
5584 | ||
5585 | Fix static analysis issue found by cppcheck. | |
5586 | * microblaze-tdep.c (microblaze_extract_return_value): Fix | |
5587 | uninitialized BUF for size 2. | |
5588 | ||
c8cef75f | 5589 | 2012-02-27 Chris Dearman <[email protected]> |
a09130f9 PA |
5590 | Nathan Froyd <[email protected]> |
5591 | Maciej W. Rozycki <[email protected]> | |
c8cef75f MR |
5592 | |
5593 | * mips-tdep.c (mips32_instruction_has_delay_slot): New function. | |
5594 | (mips16_instruction_has_delay_slot): Likewise. | |
5595 | (mips_segment_boundary): Likewise. | |
5596 | (mips_adjust_breakpoint_address): Likewise. | |
5597 | (mips_gdbarch_init): Use mips_adjust_breakpoint_address. | |
5598 | ||
473347ad | 5599 | 2012-02-27 Maciej W. Rozycki <[email protected]> |
a09130f9 | 5600 | Maciej W. Rozycki <[email protected]> |
473347ad MR |
5601 | |
5602 | * infrun.c (handle_inferior_event): Don't proceed through | |
5603 | shared library trampolines if stepping at the machine | |
5604 | instruction level. | |
5605 | ||
cf233303 MR |
5606 | 2012-02-27 Maciej W. Rozycki <[email protected]> |
5607 | ||
5608 | * mips-linux-tdep.c (mips_linux_init_abi): Set num_pseudo_regs | |
5609 | too. | |
5610 | ||
cb2cf4ce TS |
5611 | 2012-02-27 Thomas Schwinge <[email protected]> |
5612 | ||
5613 | * sh-tdep.c (sh_make_stub_cache, sh_stub_this_id) | |
5614 | (sh_stub_unwind_sniffer): New functions. | |
5615 | (sh_stub_unwind): New variable. | |
5616 | (sh_gdbarch_init): Wire everything. | |
5617 | ||
644cebc9 PA |
5618 | 2012-02-27 Pedro Alves <[email protected]> |
5619 | ||
5620 | * linux-nat.c (pid_is_stopped): Delete, moved to common/. | |
5621 | (linux_nat_post_attach_wait): Adjust to use | |
5622 | linux_proc_pid_is_stopped. | |
5623 | * common/linux-procfs.h (linux_proc_pid_is_stopped): Declare. | |
5624 | * common/linux-procfs.c (linux_proc_pid_is_stopped): New function, | |
5625 | based on pid_is_stopped from both linux-nat.c and | |
5626 | gdbserver/linux-low.c, and renamed. | |
5627 | ||
283002cf MR |
5628 | 2012-02-24 Maciej W. Rozycki <[email protected]> |
5629 | ||
5630 | * remote.c (remote_watchpoint_addr_within_range): New function. | |
5631 | (init_remote_ops): Use it. | |
5632 | ||
9b3e86b1 MR |
5633 | 2012-02-24 Maciej W. Rozycki <[email protected]> |
5634 | ||
5635 | * target.h (target_watchpoint_addr_within_range): Document macro. | |
5636 | ||
e36930bb PA |
5637 | 2012-02-24 Pedro Alves <[email protected]> |
5638 | ||
5639 | * stack.c (set_last_displayed_sal): Issue internal_error instead | |
5640 | of warning, and issue it after clearing the last displayed sal. | |
5641 | ||
883bc8d1 PA |
5642 | 2012-02-24 Jan Kratochvil <[email protected]> |
5643 | Pedro Alves <[email protected]> | |
5644 | ||
5645 | * breakpoint.c (until_break_command): Install breakpoints after | |
5646 | all frame manipulations. | |
5647 | ||
b775012e LM |
5648 | 2012-02-24 Luis Machado <[email protected]> |
5649 | ||
5650 | * remote.c (remote_supports_cond_breakpoints): New forward | |
5651 | declaration. | |
5652 | (remote_add_target_side_condition): New function. | |
5653 | (remote_insert_breakpoint): Add target-side breakpoint | |
5654 | conditional if supported. | |
5655 | (remote_insert_hw_breakpoint): Likewise. | |
5656 | (init_remote_ops): Set to_supports_evaluation_of_breakpoint_conditions | |
5657 | hook. | |
5658 | ||
5659 | * target.c (update_current_target): Inherit | |
5660 | to_supports_evaluation_of_breakpoint_conditions. | |
5661 | Default to_supports_evaluation_of_breakpoint_conditions to return_zero. | |
5662 | ||
5663 | * target.h (struct target_ops) | |
5664 | <to_supports_evaluation_of_breakpoint_conditions>: New field. | |
5665 | (target_supports_evaluation_of_breakpoint_conditions): New #define. | |
5666 | ||
5667 | * breakpoint.c (get_first_locp_gte_addr): New forward declaration. | |
5668 | (condition_evaluation_both, condition_evaluation_auto, | |
5669 | condition_evaluation_host, condition_evaluation_target, | |
5670 | condition_evaluation_enums, condition_evaluation_mode_1, | |
5671 | condition_evaluation_mode): New static globals. | |
5672 | (translate_condition_evaluation_mode): New function. | |
5673 | (breakpoint_condition_evaluation_mode): New function. | |
5674 | (gdb_evaluates_breakpoint_condition_p): New function. | |
5675 | (ALL_BP_LOCATIONS_AT_ADDR): New helper macro. | |
5676 | (mark_breakpoint_modified): New function. | |
5677 | (mark_breakpoint_location_modified): New function. | |
5678 | (set_condition_evaluation_mode): New function. | |
5679 | (show_condition_evaluation_mode): New function. | |
5680 | (bp_location_compare_addrs): New function. | |
5681 | (get_first_location_gte_addr): New helper function. | |
5682 | (set_breakpoint_condition): Free condition bytecode if locations | |
5683 | has become unconditional. Call mark_breakpoint_modified (...). | |
5684 | (condition_command): Call update_global_location_list (1) for | |
5685 | breakpoints. | |
5686 | (breakpoint_xfer_memory): Use is_breakpoint (...). | |
5687 | (is_breakpoint): New function. | |
5688 | (parse_cond_to_aexpr): New function. | |
5689 | (build_target_condition_list): New function. | |
5690 | (insert_bp_location): Handle target-side conditional | |
5691 | breakpoints and call build_target_condition_list (...). | |
5692 | (update_inserted_breakpoint_locations): New function. | |
5693 | (insert_breakpoint_locations): Handle target-side conditional | |
5694 | breakpoints. | |
5695 | (bpstat_check_breakpoint_conditions): Add comment. | |
5696 | (bp_condition_evaluator): New function. | |
5697 | (bp_location_condition_evaluator): New function. | |
5698 | (print_breakpoint_location): Print information on where the condition | |
5699 | will be evaluated. | |
5700 | (print_one_breakpoint_location): Likewise. | |
5701 | (init_bp_location): Call mark_breakpoint_location_modified (...) for | |
5702 | breakpoint location. | |
5703 | (force_breakpoint_reinsertion): New functions. | |
5704 | (update_global_location_list): Handle target-side breakpoint | |
5705 | conditions. | |
5706 | Reinsert locations that are already inserted if conditions have | |
5707 | changed. | |
5708 | (bp_location_dtor): Free agent expression bytecode. | |
5709 | (disable_breakpoint): Call mark_breakpoint_modified (...). | |
5710 | Call update_global_location_list (...) with parameter 1 for breakpoints. | |
5711 | (disable_command): Call mark_breakpoint_location_modified (...). | |
5712 | Call update_global_location_list (...) with parameter 1 for breakpoints. | |
5713 | (enable_breakpoint_disp): Call mark_breakpoint_modified (...). | |
5714 | (enable_command): mark_breakpoint_location_modified (...). | |
5715 | (_initialize_breakpoint): Update documentation and add | |
5716 | condition-evaluation breakpoint subcommand. | |
5717 | ||
5718 | * breakpoint.h: Include ax.h. | |
5719 | (condition_list): New data structure. | |
5720 | (condition_status): New enum. | |
5721 | (bp_target_info) <cond_list>: New field. | |
5722 | (bp_location) <condition_changed, cond_bytecode>: New fields. | |
5723 | (is_breakpoint): New prototype. | |
5724 | ||
3788aec7 LM |
5725 | 2012-02-24 Luis Machado <[email protected]> |
5726 | ||
5727 | * remote.c (remote_state) <cond_breakpoints>: New field. | |
5728 | (PACKET_ConditionalBreakpoints): New enum. | |
5729 | (remote_cond_breakpoint_feature): New function. | |
5730 | (remote_protocol_features): Add new ConditionalBreakpoints entry. | |
5731 | (remote_supports_cond_breakpoints): New function. | |
5732 | (_initialize_remote): Add new packet configuration for | |
5733 | target-side conditional breakpoints. | |
5734 | ||
72895ff6 LM |
5735 | 2012-02-24 Luis Machado <[email protected]> |
5736 | ||
5737 | * NEWS: Mention target-side conditional breakpoint support, | |
5738 | new condition-evaluation breakpoint subcommand and remote | |
5739 | packet extensions. | |
5740 | ||
dea2aa5f LM |
5741 | 2012-02-24 Luis Machado <[email protected]> |
5742 | ||
5743 | * breakpoint.c (bp_location_compare): Sort by pspace before sorting by | |
5744 | number. | |
5745 | ||
8a8bc27f TS |
5746 | 2012-02-24 Thomas Schwinge <[email protected]> |
5747 | ||
5748 | * sh-tdep.c (sh_skip_prologue): Use skip_prologue_using_sal. | |
5749 | (after_prologue): Remove. | |
5750 | ||
6b446fdf TT |
5751 | 2012-02-23 Tom Tromey <[email protected]> |
5752 | ||
5753 | * jv-valprint.c (java_val_print): Remove dead code. | |
5754 | ||
ef59abfb TG |
5755 | 2012-02-23 Tristan Gingold <[email protected]> |
5756 | ||
a09130f9 PA |
5757 | * ada-tasks.c (struct ada_tasks_inferior_data): Add |
5758 | known_tasks_element and known_tasks_length fields. | |
5759 | (read_known_tasks_array): Change argument type. Use pointer type | |
5760 | and number of elements from DATA. Adjust. | |
5761 | (read_known_tasks_list): Likewise. | |
5762 | (get_known_tasks_addr): Remove. | |
5763 | (ada_set_current_inferior_known_tasks_addr): Renamed to ... | |
5764 | (ada_tasks_inferior_data_sniffer): ... this. Use symtab for element | |
5765 | type and array length. Merge former get_known_tasks_addr code. | |
ef59abfb | 5766 | |
def166f6 JK |
5767 | 2012-02-23 Jan Kratochvil <[email protected]> |
5768 | ||
5769 | PR backtrace/13716 | |
5770 | * infcmd.c (finish_forward): New variable frame_id, initialize it, use | |
5771 | it after set_momentary_breakpoint. | |
5772 | ||
aeaa2474 SA |
5773 | 2012-02-22 Sterling Augustine <[email protected]> |
5774 | ||
5775 | PR 13689: | |
5776 | * breakpoint.c (watchpoint_exp_is_constant): Add UNOP_CAST to switch. | |
5777 | ||
feea76c2 GB |
5778 | 2012-02-22 Gary Benson <[email protected]> |
5779 | ||
5780 | * dwarf2read.c (dwarf2_read_index): Correct misspelling. | |
5781 | (find_slot_in_mapped_hash): Likewise. | |
5782 | ||
f06e05e0 JK |
5783 | 2012-02-21 Jan Kratochvil <[email protected]> |
5784 | ||
5785 | PR build/13638 | |
5786 | * configure.ac (MAKEINFO): Replace AC_CHECK_PROG by AC_ARG_VAR. | |
5787 | (MAKEINFOFLAGS): Replace static string by AC_ARG_VAR. | |
5788 | * configure: Regenerate. | |
5789 | ||
b54a8fd7 PA |
5790 | 2012-02-21 Tristan Gingold <[email protected]> |
5791 | Pedro Alves <[email protected]> | |
5792 | ||
5793 | * ia64-tdep.c: Do not include libunwind-ia64.h. | |
5794 | * libunwind-frame.h: Remove #ifdef HAVE_LIBUNWIND_H guard. | |
5795 | Include libunwind-ia64.h instead of libunwind.h. | |
5796 | * configure.ac (--with-libunwind, $enable_libunwind): Don't check | |
5797 | for libunwind.h existence. | |
5798 | * configure, config.in: Regenerate. | |
5799 | ||
dfcee124 AG |
5800 | 2012-02-21 Anton Gorenkov <[email protected]> |
5801 | ||
5802 | * c-valprint.c (c_value_print): Use value_rtti_indirect_type | |
5803 | instead of value_rtti_target_type. | |
5804 | * eval.c (evaluate_subexp_standard): Use value_rtti_indirect_type | |
5805 | instead of value_rtti_target_type. | |
5806 | * typeprint.c (whatis_exp): Use value_rtti_indirect_type instead of | |
5807 | value_rtti_target_type. | |
5808 | * valops.c (value_ind): Extract function readjust_indirect_value_type. | |
5809 | (value_rtti_target_type): Rename to ... | |
5810 | (value_rtti_indirect_type): ... here and make it indirect. Update | |
5811 | function comment. | |
5812 | * value.c (readjust_indirect_value_type): New function. | |
5813 | (coerce_ref): Support for enclosing type setting for references | |
5814 | with readjust_indirect_value_type. | |
5815 | * value.h (readjust_value_type): New declaration. | |
5816 | (value_rtti_target_type): Rename to ... | |
5817 | (value_rtti_indirect_type): ... here. | |
5818 | ||
02568277 AG |
5819 | 2012-02-21 Anton Gorenkov <[email protected]> |
5820 | ||
5821 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
5822 | ||
10c07b7e | 5823 | 2012-02-20 Doug Evans <[email protected]> |
28ee876a | 5824 | |
d82ea6a8 DE |
5825 | * objfiles.c (add_to_objfile_sections): Remove outdated comments. |
5826 | Rename objfile_p_char parameter to objfilep. | |
5827 | (build_objfile_section_table): Result is now void. All callers | |
5828 | updated. | |
5829 | * objfiles.h (struct objfile): Tweak comments, whitespace. | |
5830 | (build_objfile_section_table): Update. | |
5831 | ||
28ee876a DE |
5832 | * elfread.c (elf_symfile_segments): Fix warning text. |
5833 | ||
24c79950 TT |
5834 | 2012-02-20 Tom Tromey <[email protected]> |
5835 | ||
5836 | PR gdb/13498: | |
5837 | * dwarf2read.c (dw2_expand_symtabs_matching): Only visit a | |
5838 | particular set of file names once. | |
5839 | (dw2_map_symbol_filenames): Likewise. | |
5840 | ||
3a9b40b6 JK |
5841 | 2012-02-20 Jan Kratochvil <[email protected]> |
5842 | ||
5843 | Code cleanup. | |
5844 | * main.c (write_files): Remove the declaration. | |
5845 | (external_editor_command): Move the declaration ... | |
5846 | [GDBTK] (external_editor_command): ... here. Fix the comment. | |
5847 | ||
4d0795ca TT |
5848 | 2012-02-20 Tom Tromey <[email protected]> |
5849 | ||
5850 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove | |
5851 | extraneous block. | |
5852 | ||
637fd620 TG |
5853 | 2012-02-20 Tristan Gingold <[email protected]> |
5854 | ||
5855 | * darwin-nat.h (enum darwin_msg_state): Add comments. | |
5856 | ||
6f124894 TG |
5857 | 2012-02-20 Tristan Gingold <[email protected]> |
5858 | ||
5859 | * amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset | |
5860 | value. | |
5861 | ||
2e6e3d9c JB |
5862 | 2012-20-18 Joel Brobecker <[email protected]> |
5863 | ||
5864 | * breakpoint.c (watchpoint_exp_is_const): Add missing empty line | |
5865 | between function description and implementation. | |
5866 | ||
2e8265fd TT |
5867 | 2012-02-17 Tom Tromey <[email protected]> |
5868 | ||
5869 | PR python/12070: | |
5870 | * python/py-event.c (event_object_getset): New global. | |
5871 | (event_object_type): Reference it. | |
5872 | * python/py-type.c (field_object_getset): New global. | |
5873 | (field_object_type): Reference it. | |
5874 | * python/python-internal.h (gdb_py_generic_dict): Declare. | |
5875 | * python/py-utils.c (gdb_py_generic_dict): New function. | |
5876 | ||
8544a150 | 5877 | 2012-02-17 Tristan Gingold <[email protected]> |
6f124894 | 5878 | |
8544a150 | 5879 | * solib-darwin.c (darwin_current_sos): Check magic and filetype |
6f124894 | 5880 | |
ca193e27 TS |
5881 | 2012-02-17 Thomas Schwinge <[email protected]> |
5882 | ||
5883 | * sh-tdep.c (sh_is_renesas_calling_convention): Fix handling of | |
5884 | TYPE_CALLING_CONVENTION annotation. | |
5885 | ||
e5586183 KB |
5886 | 2012-02-16 Kevin Buettner <[email protected]> |
5887 | ||
5888 | * MAINTAINERS: Add rx to target ISA section. | |
5889 | * Makefile.in (ALL_TARGET_OBS): Add rx-tdep.o. | |
5890 | (ALLDEPFILES): Add rx-tdep.c. | |
5891 | ||
7dcd53a0 TT |
5892 | 2012-02-16 Tom Tromey <[email protected]> |
5893 | ||
5894 | * symfile.c (symbol_file_add_main_1): Use inferior's | |
5895 | symfile_flags. | |
5896 | * solib.c (solib_read_symbols): Use inferior's symfile_flags. | |
5897 | * linux-nat.c (linux_child_follow_fork): Set symfile_flags on | |
5898 | inferior. | |
5899 | * infrun.c (handle_vfork_child_exec_or_exit): Set symfile_flags on | |
5900 | inferior. | |
5901 | (follow_exec): Use inferior's symfile_flags. | |
5902 | * inferior.h (struct inferior) <symfile_flags>: New field. | |
5903 | ||
ddd60447 MF |
5904 | 2012-02-16 Mike Frysinger <[email protected]> |
5905 | ||
5906 | PR gdb/9734: | |
5907 | * remote-sim.c (gdbsim_create_inferior): Call error() when | |
5908 | sim_create_inferior() fails. | |
5909 | ||
b0d32fb6 TG |
5910 | 2012-02-16 Josh Matthews <[email protected]> |
5911 | ||
5912 | * machoread.c: Initialize nbr_syms to avoid warnings-as-errors failure. | |
5913 | ||
9addecb9 TT |
5914 | 2012-02-16 Tom Tromey <[email protected]> |
5915 | ||
5916 | PR c++/13653: | |
5917 | * thread.c (struct current_thread_cleanup) <was_removable>: New | |
5918 | field. | |
5919 | (restore_current_thread_cleanup_dtor): Restore 'removable' field. | |
5920 | (make_cleanup_restore_current_thread): Initialize new field. | |
5921 | ||
a58b110a KB |
5922 | 2012-02-15 Kevin Buettner <[email protected]> |
5923 | ||
5924 | * MAINTAINERS: Add rl78 to target ISA section. | |
5925 | * Makefile.in (ALL_TARGET_OBS): Add rl78-tdep.o. | |
5926 | (ALLDEPFILES): Add rl78-tdep.c. | |
5927 | * NEWS: Mention rl78 as a new target. | |
5928 | ||
4cb6da1c AR |
5929 | 2012-02-15 Aleksandar Ristovski <[email protected]> |
5930 | ||
5931 | * frame.c (find_frame_sal): Initialize sal->pspace field from frame | |
5932 | data. | |
5933 | * stack.c (set_last_displayed_sal): Validate that PSPACE is not NULL. | |
5934 | ||
3af2590d TT |
5935 | 2012-02-15 Tom Tromey <[email protected]> |
5936 | ||
5937 | PR gdb/12659: | |
5938 | * infcmd.c (registers_info): Print just the current register's | |
5939 | name. | |
5940 | ||
c6910659 TT |
5941 | 2012-02-15 Tom Tromey <[email protected]> |
5942 | ||
5943 | * python/py-symbol.c (sympy_value): Use _(). | |
5944 | ||
7cee1e54 PA |
5945 | 2012-02-15 Pedro Alves <[email protected]> |
5946 | ||
5947 | * remote.c (remote_detach_1, extended_remote_attach_1): Tweak | |
5948 | output to be like native targets'. | |
5949 | (remote_pid_to_str): Special case the null ptid. | |
5950 | ||
816338b5 SS |
5951 | 2012-02-14 Stan Shebs <[email protected]> |
5952 | ||
5953 | * NEWS: Mention enable count command. | |
5954 | * breakpoint.h (struct breakpoint): New field enable_count. | |
5955 | * breakpoint.c (enable_breakpoint_disp): Add count argument. | |
5956 | (enable_breakpoint): Add arg to call. | |
5957 | (struct disp_data): New struct. | |
5958 | (do_enable_breakpoint_disp): Interp arg as disp_data and unpack. | |
5959 | (do_map_enable_once_breakpoint): Create a struct and pass it. | |
5960 | (do_map_enable_delete_breakpoint): Ditto. | |
5961 | (do_map_enable_count_breakpoint): New function. | |
5962 | (enable_count_command): New function. | |
5963 | (bpstat_stop_status): Decrement enable_count. | |
5964 | (print_one_breakpoint_location): Report enable count. | |
5965 | (_initialize_breakpoint): Add enable count command. | |
5966 | ||
c47a44f4 KB |
5967 | 2012-02-14 Kevin Buettner <[email protected]> |
5968 | ||
5969 | * rl78-tdep.c (reggroups.h): Include. | |
5970 | (RL78_RAW_BANK0_R0_REGNUM, RL78_RAW_BANK0_R1_REGNUM) | |
5971 | (RL78_RAW_BANK0_R2_REGNUM, RL78_RAW_BANK0_R3_REGNUM) | |
5972 | (RL78_RAW_BANK0_R4_REGNUM, RL78_RAW_BANK0_R5_REGNUM) | |
5973 | (RL78_RAW_BANK0_R6_REGNUM, RL78_RAW_BANK0_R7_REGNUM) | |
5974 | (RL78_RAW_BANK1_R0_REGNUM, RL78_RAW_BANK1_R1_REGNUM) | |
5975 | (RL78_RAW_BANK1_R2_REGNUM, RL78_RAW_BANK1_R3_REGNUM) | |
5976 | (RL78_RAW_BANK1_R4_REGNUM, RL78_RAW_BANK1_R5_REGNUM) | |
5977 | (RL78_RAW_BANK1_R6_REGNUM, RL78_RAW_BANK1_R7_REGNUM) | |
5978 | (RL78_RAW_BANK2_R0_REGNUM, RL78_RAW_BANK2_R1_REGNUM) | |
5979 | (RL78_RAW_BANK2_R2_REGNUM, RL78_RAW_BANK2_R3_REGNUM) | |
5980 | (RL78_RAW_BANK2_R4_REGNUM, RL78_RAW_BANK2_R5_REGNUM) | |
5981 | (RL78_RAW_BANK2_R6_REGNUM, RL78_RAW_BANK2_R7_REGNUM) | |
5982 | (RL78_RAW_BANK3_R0_REGNUM, RL78_RAW_BANK3_R1_REGNUM) | |
5983 | (RL78_RAW_BANK3_R2_REGNUM, RL78_RAW_BANK3_R3_REGNUM) | |
5984 | (RL78_RAW_BANK3_R4_REGNUM, RL78_RAW_BANK3_R5_REGNUM) | |
5985 | (RL78_RAW_BANK3_R6_REGNUM, RL78_RAW_BANK3_R7_REGNUM): Add to | |
5986 | beginning of register list. | |
5987 | (RL78_BANK0_R0_REGNUM, RL78_BANK0_R1_REGNUM, RL78_BANK0_R2_REGNUM) | |
5988 | (RL78_BANK0_R3_REGNUM, RL78_BANK0_R4_REGNUM, RL78_BANK0_R5_REGNUM) | |
5989 | (RL78_BANK0_R6_REGNUM, RL78_BANK0_R7_REGNUM, RL78_BANK1_R0_REGNUM) | |
5990 | (RL78_BANK1_R1_REGNUM, RL78_BANK1_R2_REGNUM, RL78_BANK1_R3_REGNUM) | |
5991 | (RL78_BANK1_R4_REGNUM, RL78_BANK1_R5_REGNUM, RL78_BANK1_R6_REGNUM) | |
5992 | (RL78_BANK1_R7_REGNUM, RL78_BANK2_R0_REGNUM, RL78_BANK2_R1_REGNUM) | |
5993 | (RL78_BANK2_R2_REGNUM, RL78_BANK2_R3_REGNUM, RL78_BANK2_R4_REGNUM) | |
5994 | (RL78_BANK2_R5_REGNUM, RL78_BANK2_R6_REGNUM, RL78_BANK2_R7_REGNUM) | |
5995 | (RL78_BANK3_R0_REGNUM, RL78_BANK3_R1_REGNUM, RL78_BANK3_R2_REGNUM) | |
5996 | (RL78_BANK3_R3_REGNUM, RL78_BANK3_R4_REGNUM, RL78_BANK3_R5_REGNUM) | |
5997 | (RL78_BANK3_R6_REGNUM, RL78_BANK3_R7_REGNUM): Move these into | |
5998 | the pseudo registers. Rearrange other pseudo registers too so | |
5999 | that the bank registers appear at the end. | |
6000 | (rl78_register_type): Account for the fact that the byte sized | |
6001 | bank registers are now pseudo-registers. | |
6002 | (rl78_register_name): Rearrange the register name array. Make | |
6003 | initial set of raw banked registers inaccessible. | |
6004 | (rl78_register_reggroup_p, rl78_register_sim_regno): New functions. | |
6005 | (rl78_pseudo_register_read, rl78_pseudo_register_write): Add | |
6006 | case for copying bytes back and forth between raw and pseudo | |
6007 | versions of the banked registers. Update other cases to reflect | |
6008 | the changed names. | |
6009 | (rl78_return_value): Update to account for changed names of | |
6010 | raw registers. | |
6011 | (rl78_gdbarch_init): Register rl78_register_reggroup_p() and | |
6012 | rl78_register_sim_regno(). | |
6013 | ||
e4569f1e KB |
6014 | 2012-02-14 Kevin Buettner <[email protected]> |
6015 | ||
6016 | * rl78-tdep.c (rl78_skip_prologue): Make `const' the type of | |
6017 | the name parameter being passed to find_pc_partial_function(). | |
6018 | ||
7a05aae7 JK |
6019 | 2012-02-14 Jan Kratochvil <[email protected]> |
6020 | ||
6021 | * MAINTAINERS: Step down from being ia64 target maintainer. | |
6022 | ||
11fde611 JK |
6023 | 2012-02-12 Jan Kratochvil <[email protected]> |
6024 | ||
6025 | * ppc-linux-nat.c (fetch_register, store_register): Fix GCC aliasing | |
6026 | compilation warning. | |
6027 | ||
57008375 JK |
6028 | 2012-02-12 Jan Kratochvil <[email protected]> |
6029 | ||
6030 | Fix crash on loaded shlibs without loaded exec_bfd. | |
6031 | * exec.c (exec_files_info): Do not crash on NULL EXEC_BFD. | |
6032 | (set_section_command): Replace exec_bfd by p->bfd. | |
6033 | ||
ff3c9849 TT |
6034 | 2012-02-10 Tom Tromey <[email protected]> |
6035 | ||
6036 | * linespec.c (decode_line_internal): Skip symtabs_from_filename | |
6037 | when we have a C++ qualified name. | |
6038 | ||
db2b9fdd PA |
6039 | 2012-02-10 Pedro Alves <[email protected]> |
6040 | ||
6041 | * inferior.c (inferior_pid_to_str): New. | |
6042 | (print_inferior, inferior_command): Use it. | |
6043 | ||
12cd34f3 PA |
6044 | 2012-02-10 Pedro Alves <[email protected]> |
6045 | ||
6046 | * configure.ac (HAVE_ELF test): Put the old CFLAGS at the end of | |
6047 | the test CFLAGS. | |
6048 | * configure: Regenerate. | |
6049 | ||
e871429d JK |
6050 | 2012-02-10 Jan Kratochvil <[email protected]> |
6051 | ||
6052 | * linespec.c (decode_line_internal): Fix comment correctness. | |
6053 | ||
1916efaf PA |
6054 | 2012-02-09 Valery Khromov <[email protected]> |
6055 | ||
6056 | PR gdb/12953 | |
6057 | * Makefile.in (HFILES_NO_SRCDIR): Add amd64bsd-nat.h. | |
6058 | * amd64bsd-nat.c: Add support for debug registers (adapted from | |
6059 | i386bsd-nat.c). | |
6060 | [HAVE_PT_GETDBREGS] (amd64bsd_dr_get, amd64bsd_dr_set) | |
6061 | (amd64bsd_dr_set_control, amd64bsd_dr_set_addr) | |
6062 | (amd64bsd_dr_get_addr, amd64bsd_dr_get_status) | |
6063 | (amd64bsd_dr_get_control): New functions. | |
6064 | * amd64bsd-nat.h: New file (adapted from i386bsd-nat.h). | |
6065 | * amd64fbsd-nat.c: Include "amd64bsd-nat.h", "i386-nat.h". | |
6066 | [HAVE_PT_GETDBREGS] (_initialize_amd64fbsd_nat): Add hardware | |
6067 | watchpoints initialization. | |
6068 | * config/i386/fbsd64.mh (NATDEPFILES): Add i386-nat.o. | |
6069 | ||
f4859d94 JK |
6070 | 2012-02-09 Jan Kratochvil <[email protected]> |
6071 | ||
6072 | * gdb-gdb.py (StructMainTypePrettyPrinter) <struct_field_img>: Print | |
6073 | flds_bnds.fields. | |
6074 | (StructMainTypePrettyPrinter) <bounds_img>: Print flds_bnds.bounds. | |
6075 | ||
c56a97f9 JK |
6076 | 2012-02-09 Jan Kratochvil <[email protected]> |
6077 | ||
6078 | * breakpoint.c (bp_location_compare): Fix comment. Reindent the code. | |
6079 | ||
1a119f36 JB |
6080 | 2012-02-08 Joel Brobecker <[email protected]> |
6081 | ||
6082 | * language.h (symbol_name_cmp_ftype): Renames | |
6083 | symbol_name_match_p_ftype. | |
6084 | (struct language_defn)[la_get_symbol_name_cmp]: Renames | |
6085 | la_get_symbol_name_match_p. | |
6086 | * ada-lang.c (ada_get_symbol_name_cmp): Renames | |
6087 | ada_get_symbol_name_match_p. Update comment. | |
6088 | (ada_language_defn)[la_get_symbol_name_cmp]: Update value. | |
6089 | * linespec.c (struct symbol_matcher_data)[symbol_name_cmp]: | |
6090 | Renames symbol_name_match_p. Update field type. | |
6091 | (iterate_name_matcher, iterate_over_all_matching_symtabs): Adjust. | |
6092 | * c-lang.c, d-lang.c, f-lang.c, jv-lang.c, m2-lang.c, objc-lang.c, | |
6093 | opencl-lang.c, p-lang.c: Replace "la_get_symbol_name_match_p" by | |
6094 | "la_get_symbol_name_cmp" in comments. | |
6095 | * language.c: Likewise. | |
6096 | ||
c71bb1cf RO |
6097 | 2012-02-08 Rainer Orth <[email protected]> |
6098 | ||
6099 | * amd64-sol2-tdep.c (amd64_sol2_gregset_reg_offset): Correct | |
6100 | %eflags offset. | |
6101 | * i386-sol2-nat.c (amd64_sol2_gregset64_reg_offs) | |
6102 | (amd64_sol2_gregset32_reg_offs): Likewise. | |
6103 | ||
4b2d20a5 TG |
6104 | 2012-02-08 Joel Brobecker <[email protected]> |
6105 | ||
6106 | * solib-darwin.c (darwin_bfd_open): Make sure that the filename | |
6107 | of the returned BFD is allocated by GDB. | |
6108 | ||
f0823d2c TT |
6109 | 2012-02-07 Tom Tromey <[email protected]> |
6110 | ||
6111 | PR python/12027: | |
6112 | * python/python-internal.h (frame_object_type): Declare. | |
6113 | * python/py-symbol.c (sympy_needs_frame): New function. | |
6114 | (sympy_value): New function. | |
6115 | (symbol_object_getset): Add "needs_frame". | |
6116 | (symbol_object_methods): Add "value". | |
6117 | * python/py-frame.c (frame_object_type): No longer static. | |
6118 | ||
64e7d9dd TT |
6119 | 2012-02-07 Tom Tromey <[email protected]> |
6120 | ||
6121 | PR python/13599: | |
6122 | * python/py-symbol.c (sympy_line): New function. | |
6123 | (symbol_object_getset): Add "line". | |
6124 | ||
1d6b2d2b TT |
6125 | 2012-02-07 Tom Tromey <[email protected]> |
6126 | ||
6127 | * charset.c (find_charset_names): Check 'in' against NULL. | |
6128 | ||
0d5cff50 DE |
6129 | 2012-02-06 Doug Evans <[email protected]> |
6130 | ||
6131 | * gdbtypes.h (struct main_type): Change type of name,tag_name, | |
6132 | and fields.name members from char * to const char *. All uses updated. | |
6133 | (struct cplus_struct_type): Change type of fn_fieldlists.name member | |
6134 | from char * to const char *. All uses updated. | |
6135 | (type_name_no_tag): Update. | |
6136 | (lookup_unsigned_typename, lookup_signed_typename): Update. | |
6137 | * gdbtypes.c (type_name_no_tag): Change result type | |
6138 | from char * to const char *. All callers updated. | |
6139 | (lookup_unsigned_typename, lookup_signed_typename): Change type of | |
6140 | name parameter from char * to const char *. | |
6141 | * symtab.h (struct cplus_specific): Change type of demangled_name | |
6142 | member from char * to const char *. All uses updated. | |
6143 | (struct general_symbol_info): Change type of name and | |
6144 | mangled_lang.demangled_name members from char * to const char *. | |
6145 | All uses updated. | |
6146 | (symbol_get_demangled_name, symbol_natural_name): Update. | |
6147 | (symbol_demangled_name, symbol_search_name): Update. | |
6148 | * symtab.c (symbol_get_demangled_name): Change result type | |
6149 | from char * to const char *. All callers updated. | |
6150 | (symbol_natural_name, symbol_demangled_name): Ditto. | |
6151 | (symbol_search_name): Ditto. | |
6152 | (completion_list_add_name): Change type of symname,sym_text, | |
6153 | text,word parameters from char * to const char *. | |
6154 | (completion_list_objc_symbol): Change type of sym_text, | |
6155 | text,word parameters from char * to const char *. | |
6156 | * ada-lang.c (find_struct_field): Change type of name parameter | |
6157 | from char * to const char *. | |
6158 | (encoded_ordered_before): Similarly for N0,N1 parameters. | |
6159 | (old_renaming_is_invisible): Similarly for function_name parameter. | |
6160 | (ada_type_name): Change result type from char * to const char *. | |
6161 | All callers updated. | |
6162 | * ada-lang.h (ada_type_name): Update. | |
6163 | * buildsym.c (hashname): Change type of name parameter | |
6164 | from char * to const char *. | |
6165 | * buildsym.h (hashname): Update. | |
6166 | * dbxread.c (end_psymtab): Change type of include_list parameter | |
6167 | from char ** to const char **. | |
6168 | * dwarf2read.c (determine_prefix): Change result type | |
6169 | from char * to const char *. All callers updated. | |
6170 | * f-lang.c (find_common_for_function): Change type of name, funcname | |
6171 | parameters from char * to const char *. | |
6172 | * f-lang.c (find_common_for_function): Update. | |
6173 | * f-valprint.c (list_all_visible_commons): Change type of funcname | |
6174 | parameters from char * to const char *. | |
6175 | * gdbarch.sh (static_transform_name): Change type of name parameter | |
6176 | and result from char * to const char *. | |
6177 | * gdbarch.c: Regenerate. | |
6178 | * gdbarch.h: Regenerate. | |
6179 | * i386-sol2-tdep.c (i386_sol2_static_transform_name): Change type | |
6180 | of name parameter from char * to const char *. | |
6181 | * jv-lang.c (java_primitive_type_from_name): Ditto. | |
6182 | (java_demangled_signature_length): Similarly for signature parameter. | |
6183 | (java_demangled_signature_copy): Ditto. | |
6184 | (java_demangle_type_signature): Ditto. | |
6185 | * jv-lang.h (java_primitive_type_from_name): Update. | |
6186 | (java_demangle_type_signature): Update. | |
6187 | * objc-lang.c (specialcmp): Change type of a,b parameters | |
6188 | from char * to const char *. | |
6189 | * p-lang.c (is_pascal_string_type): Change type of arrayname parameter | |
6190 | from char * to const char *. All callers updated. | |
6191 | * p-lang.h (is_pascal_string_type): Update. | |
6192 | * solib-frv.c (find_canonical_descriptor_in_load_object): Change type | |
6193 | of name parameter from char * to const char *. | |
6194 | * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Ditto. | |
6195 | * utils.c (fprintf_symbol_filtered): Ditto. | |
6196 | * defs.h (fprintf_symbol_filtered): Update. | |
6197 | * sparc-tdep.h (sparc_sol2_static_transform_name): Update. | |
6198 | * stabsread.h (end_psymtab): Update. | |
6199 | * stack.c (find_frame_funname): Change type of funname parameter | |
6200 | from char ** to const char **. | |
6201 | * stack.h (find_frame_funname): Update. | |
6202 | * typeprint.c (type_print): Change type of varstring parameter | |
6203 | from char * to const char *. | |
6204 | * value.h (type_print): Update. | |
6205 | * xcoffread.c (xcoff_start_psymtab): Change type of filename parameter | |
6206 | from char * to const char *. All callers updated. | |
6207 | (xcoff_end_psymtab): Change type of include_list parameter | |
6208 | from char ** to const char **. All callers updated. | |
6209 | (swap_sym): Similarly for name parameter. All callers updated. | |
6210 | * coffread.c (patch_type): Add (char*) cast to xfree parameter. | |
6211 | Use xstrdup. | |
6212 | (process_coff_symbol): Use xstrdup. | |
6213 | * stabsread.c (stabs_method_name_from_physname): Renamed from | |
6214 | update_method_name_from_physname. Change result type from void | |
6215 | to char *. All callers updated. | |
6216 | (read_member_functions): In has_destructor case, store name in objfile | |
6217 | obstack instead of malloc space. In !has_stub case, fix mem leak. | |
6218 | ||
5579a92e TT |
6219 | 2012-02-06 Luca Pizzamiglio <[email protected]> |
6220 | ||
6221 | * configure: Rebuild. | |
6222 | * configure.ac: Put -L../bfd and -L../libiberty at the front of | |
6223 | LDFLAGS. | |
6224 | ||
9058f767 KB |
6225 | 2012-02-03 Kevin Buettner <[email protected]> |
6226 | ||
6227 | * configure.tgt (rl78-*-elf): New target. | |
6228 | * rl78-tdep.c: New file. | |
6229 | ||
5b37825d PW |
6230 | 2012-02-03 Philippe Waroquiers <[email protected]> |
6231 | ||
6232 | * remote.c (remote_rcmd): Use getpkt_sane to detect timeout | |
6233 | and continue the loop. Add QUIT statement. | |
6234 | ||
e009ee71 TT |
6235 | 2012-02-03 Tom Tromey <[email protected]> |
6236 | ||
6237 | PR gdb/13596: | |
6238 | * solib.h (gdb_bfd_lookup_symbol_from_symtab): Rename from | |
6239 | bfd_lookup_symbol_from_symtab. | |
6240 | * solib-pa64.c (pa64_solib_create_inferior_hook): Use | |
6241 | gdb_bfd_lookup_symbol_from_symtab. | |
6242 | ||
f7e44f65 JB |
6243 | 2012-02-03 Joel Brobecker <[email protected]> |
6244 | ||
6245 | * mi/mi-cmd-stack.c (list_args_or_locals): For argument symbols, | |
6246 | use SYMBOL_LINKAGE_NAME to find the corresponding non-argument | |
6247 | symbol. Add assertion that sym2 is never NULL. | |
6248 | ||
2c02bd72 DE |
6249 | 2012-02-02 Doug Evans <[email protected]> |
6250 | ||
6251 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Change type of | |
6252 | "name" parameter to const char ** from char **. All callers updated. | |
6253 | (find_pc_partial_function): Ditto. | |
6254 | (cache_pc_function_name): Change type to const char * from char *. | |
6255 | * symtab.h ((find_pc_partial_function_gnu_ifunc): Update. | |
6256 | (find_pc_partial_function): Update. | |
6257 | * alpha-tdep.h (struct gdbarch_tdep, member pc_in_sigtramp): Change | |
6258 | type of "name" parameter to const char * from char *. | |
6259 | All uses updated. | |
6260 | * arch-utils.c (generic_in_solib_return_trampoline): Change | |
6261 | type of "name" parameter to const char * from char *. | |
6262 | * arch-utils.h (generic_in_solib_return_trampoline): Update. | |
6263 | * frv-linux-tdep.c (frv_linux_pc_in_sigtramp): Change | |
6264 | type of "name" parameter to const char * from char *. | |
6265 | * gdbarch.sh (in_solib_return_trampoline): Ditto. | |
6266 | * gdbarch.c: Regenerate. | |
6267 | * gdbarch.h: Regenerate. | |
6268 | * hppa-hpux-tdep.c (hppa_hpux_in_solib_return_trampoline): Update. | |
6269 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Update. | |
6270 | * m32r-linux-tdep.c (m32r_linux_pc_in_sigtramp): Change | |
6271 | type of "name" parameter to const char * from char *. | |
6272 | * skip.c (skip_function_pc): Ditto. | |
6273 | * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Ditto. | |
6274 | * sparc-tdep.h (sparc_sol2_pc_in_sigtramp): Update. | |
6275 | * sparc64fbsd-tdep.c (sparc64fbsd_pc_in_sigtramp): Ditto. | |
6276 | * sparc64nbsd-tdep.c (sparc64nbsd_pc_in_sigtramp): Ditto. | |
6277 | * sparc64obsd-tdep.c (sparc64obsd_pc_in_sigtramp): Ditto. | |
6278 | * sparcnbsd-tdep.c (sparc32nbsd_pc_in_sigtramp): Ditto. | |
6279 | * sparcobsd-tdep.c (sparc32obsd_pc_in_sigtramp): Ditto. | |
6280 | * nbsd-tdep.c (nbsd_pc_in_sigtramp): Similary for "func_name". | |
6281 | * nbsd-tdep.h (nbsd_pc_in_sigtramp): Update. | |
6282 | ||
e886a173 PA |
6283 | 2012-02-02 Pedro Alves <[email protected]> |
6284 | ||
6285 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Return 0 if | |
6286 | the current inferior has no execution. Make sure the current | |
6287 | remote process matches gdb's current inferior. | |
6288 | ||
c709a7c2 TT |
6289 | 2012-02-02 Tom Tromey <[email protected]> |
6290 | ||
6291 | PR gdb/13405: | |
6292 | * tui/tui-win.c (parse_scrolling_args): Don't write to possibly | |
6293 | read-only memory. | |
6294 | ||
f149aabd TT |
6295 | 2012-02-02 Tom Tromey <[email protected]> |
6296 | ||
6297 | PR gdb/9307: | |
6298 | * symtab.c (lookup_language_this): Set block_found. | |
6299 | ||
03bef283 TT |
6300 | 2012-02-01 Tom Tromey <[email protected]> |
6301 | ||
6302 | PR gdb/13431: | |
6303 | * jit.c (struct jit_inferior_data): Rewrite. | |
6304 | (struct jit_objfile_data): New. | |
6305 | (get_jit_objfile_data): New function. | |
6306 | (add_objfile_entry): Update. | |
6307 | (jit_read_descriptor): Return int. Replace descriptor_addr | |
6308 | argument with inf_data. Update. Don't call error. | |
6309 | (jit_breakpoint_re_set_internal): Reorder logic. Update. Look up | |
6310 | descriptor here. | |
6311 | (jit_inferior_init): Don't look up descriptor. Don't call error. | |
6312 | (jit_reset_inferior_data_and_breakpoints) | |
6313 | (jit_inferior_created_observer): Remove. | |
6314 | (jit_inferior_exit_hook): Update. | |
6315 | (jit_executable_changed_observer): Remove. | |
6316 | (jit_event_handler): Update. | |
6317 | (free_objfile_data): Reset inferior data if needed. | |
6318 | (_initialize_jit): Update. | |
6319 | ||
f0bbc364 TT |
6320 | 2012-02-01 Tom Tromey <[email protected]> |
6321 | ||
6322 | * jit.c (bfd_open_from_target_memory): Move higher in file. | |
6323 | ||
47c1316c TG |
6324 | 2012-02-01 Tristan Gingold <[email protected]> |
6325 | ||
6326 | * libunwind-frame.c (libunwind_load): Display message if dlopen | |
6327 | failed. | |
6328 | ||
8e704927 GB |
6329 | 2012-02-01 Gary Benson <[email protected]> |
6330 | ||
09c7a31f | 6331 | * symtab.h (symbol_found_callback_ftype): New typedef. |
8e704927 GB |
6332 | (iterate_over_symbols): Use the above. |
6333 | * symtab.c (iterate_over_symbols): Likewise. | |
6334 | * language.h (language_defn->la_iterate_over_symbols): Likewise. | |
6335 | * ada-lang.c (ada_iterate_over_symbols): Likewise. | |
6336 | * linespec.c (iterate_over_all_matching_symtabs): Likewise. | |
6337 | (iterate_name_matcher): Document return values. | |
6338 | (collect_one_symbol): Likewise. | |
6339 | (collect_function_symbols): Likewise. | |
6340 | (collect_symbols): Likewise. | |
6341 | ||
d9680e73 TT |
6342 | 2012-02-01 Tom Tromey <[email protected]> |
6343 | ||
6344 | * ada-lang.c (resolve_subexp): Update. | |
6345 | (ada_lookup_symbol_list): Add 'full_search' argument. | |
6346 | (ada_iterate_over_symbols): Pass 0 as full_search argument to | |
6347 | ada_lookup_symbol_list. | |
6348 | (ada_lookup_encoded_symbol): Update. | |
6349 | (get_var_value): Update. | |
6350 | * ada-exp.y (block_lookup): Update. | |
6351 | (write_var_or_type): Update. | |
6352 | (write_name_assoc): Update. | |
6353 | * ada-lang.h (ada_lookup_symbol_list): Update. | |
6354 | ||
72e1143f TT |
6355 | 2012-01-31 Tom Tromey <[email protected]> |
6356 | ||
6357 | * language.h (struct language_defn) <la_iterate_over_symbols>: Fix | |
6358 | comment. | |
6359 | ||
ab2d2ad3 DE |
6360 | 2012-01-31 Doug Evans <[email protected]> |
6361 | ||
6362 | * symtab.h: Remove outdated comment. | |
e9111bf7 | 6363 | (SYMBOL_MATCHES_NATURAL_NAME): Delete. |
ab2d2ad3 | 6364 | |
bc884eba JB |
6365 | 2012-02-01 Josh Matthews <[email protected]> (tiny change) |
6366 | ||
6367 | Fix build error in Darwin port. | |
6368 | * i386-darwin-nat.c: Include i386-nat.h. | |
6369 | ||
8fc3fc34 TT |
6370 | 2012-01-30 Tom Tromey <[email protected]> |
6371 | ||
6372 | PR breakpoints/13568: | |
6373 | * dwarf2read.c (dwarf_decode_macro_bytes): Add 'include_hash' | |
6374 | argument. Check for recursive includes. | |
6375 | (dwarf_decode_macros): Create an include hash. | |
6376 | ||
5d853008 ME |
6377 | 2012-01-30 Michael Eager <[email protected]> |
6378 | ||
6379 | * configure.tgt (powerpc-*-linux*): Add glibc-tdep.o. | |
6380 | * ppc-linux-tdep.c: Include glibc-tdep.h. | |
ab2d2ad3 | 6381 | (powerpc32_plt_stub, powerpc32_plt_stub_so): Add PLT stub templates. |
5d853008 ME |
6382 | (powerpc_linux_in_plt_stub): New function. |
6383 | (powerpc_linux_in_dynsym_resolve_code): New function. | |
6384 | (ppc_skip_trampoline_code): New function. | |
6385 | (ppc_linux_init_abi): Use PPC specific functions rather than generic. | |
6386 | Use glibc_skip_solib_resolver. | |
6387 | ||
40478521 JK |
6388 | 2012-01-28 Jan Kratochvil <[email protected]> |
6389 | ||
6390 | Code cleanup: Make 1440 bytes of data segment read-only. | |
6391 | * arch-utils.c (endian_enum): Make it const char *const []. | |
6392 | * arm-tdep.c (fp_model_strings, arm_abi_strings, arm_mode_strings): | |
6393 | Likewise. | |
6394 | * breakpoint.c (always_inserted_enums): Likewise. | |
6395 | * cli/cli-cmds.c (script_ext_enums): Likewise. | |
6396 | * cli/cli-decode.c (add_setshow_enum_cmd, complete_on_enum): Make the | |
6397 | enumlist parameter const char *const *. | |
6398 | * cli/cli-decode.h (struct cmd_list_element): Make the enums field | |
6399 | const char *const *. | |
6400 | * command.h (complete_on_enum, add_setshow_enum_cmd): Make the enumlist | |
6401 | parameter const char *const *. | |
6402 | * cris-tdep.c (cris_modes): Make it const char *const []. | |
6403 | * filesystem.c (target_file_system_kinds): Likewise. | |
6404 | * i386-tdep.c (valid_flavors, valid_conventions): Likewise. | |
6405 | * infrun.c (follow_fork_mode_kind_names, follow_exec_mode_names) | |
6406 | (can_use_displaced_stepping_enum, scheduler_enums) | |
6407 | (exec_direction_names): Likewise. | |
6408 | * language.c (_initialize_language): Make the type_or_range_names and | |
6409 | case_sensitive_names variables const char *const []. | |
6410 | * mips-tdep.c (mips_abi_strings): Make it const char *const []. | |
6411 | * python/python.c (python_excp_enums): Likewise. | |
6412 | * remote.c (interrupt_sequence_modes): Likewise. | |
6413 | * rs6000-tdep.c (powerpc_vector_strings): Likewise. | |
6414 | * serial.c (logbase_enums): Likewise. | |
6415 | * sh-tdep.c (sh_cc_enum): Likewise. | |
6416 | * stack.c (print_frame_arguments_choices, print_entry_values_choices): | |
6417 | Likewise. | |
6418 | * symtab.c (multiple_symbols_modes): Likewise. | |
6419 | * tui/tui-win.c (tui_border_kind_enums, tui_border_mode_enums): | |
6420 | Likewise. | |
6421 | * utils.c (internal_problem_modes): Likewise. | |
6422 | ||
b3b8b934 JK |
6423 | 2012-01-27 Jan Kratochvil <[email protected]> |
6424 | ||
6425 | Fix the 2012-01-26 regression by la_get_symbol_name_match_p. | |
6426 | * linespec.c (iterate_name_matcher): Negate the SYMBOL_NAME_MATCH_P | |
6427 | result. | |
6428 | ||
8c85a4e2 DE |
6429 | 2012-01-27 Doug Evans <[email protected]> |
6430 | ||
6431 | * configure.ac (with_python): Fix absolute path handling for win32. | |
6432 | * configure: Regenerate. | |
6433 | ||
78d8b4d7 DE |
6434 | 2012-01-26 Doug Evans <[email protected]> |
6435 | ||
eca864fe DE |
6436 | * symtab.c: Whitespace cleanup, no code changes. |
6437 | ||
7e082072 DE |
6438 | * symtab.c (lookup_symbol_in_language): Improve comment. |
6439 | (lookup_symbol_aux): Fix comment. | |
6440 | ||
7dc25483 DE |
6441 | * psymtab.c (add_psymbol_to_list): Result is now "void". |
6442 | * psympriv.h (add_psymbol_to_list): Update. | |
6443 | ||
78d8b4d7 DE |
6444 | * dwarf2read.c (add_partial_symbol): Delete local psym, unused. |
6445 | ||
4c63965b JK |
6446 | 2012-01-26 Jan Kratochvil <[email protected]> |
6447 | ||
6448 | Do not open script filenames twice. | |
6449 | * cli/cli-cmds.c (source_script_from_stream): Pass to | |
6450 | source_python_script also STREAM. | |
6451 | * python/py-auto-load.c (source_section_scripts): Pass to | |
6452 | source_python_script_for_objfile also STREAM. | |
6453 | (auto_load_objfile_script): Pass to source_python_script_for_objfile | |
6454 | also INPUT. | |
6455 | * python/python-internal.h (source_python_script_for_objfile): New | |
6456 | parameter file, rename parameter file to filename. | |
6457 | * python/python.c (python_run_simple_file): Call PyRun_SimpleFile | |
6458 | instead if !_WIN32. Update the function comment. | |
6459 | (source_python_script, source_python_script_for_objfile) | |
6460 | (source_python_script): New parameter file, rename parameter file to | |
6461 | filename. Pass FILENAME to python_run_simple_file. | |
6462 | * python/python.h (source_python_script): New parameter file, rename | |
6463 | parameter file to filename. | |
6464 | ||
88f38a04 PA |
6465 | 2012-01-26 Pedro Alves <[email protected]> |
6466 | ||
6467 | * corelow.c (core_has_fake_pid): Delete. | |
6468 | (core_close): Delete references to `core_has_fake_pid'. | |
6469 | (add_to_thread_list): Adjust to mark the inferior's pid as fake. | |
6470 | (core_open): Delete references to `core_has_fake_pid'. | |
6471 | (core_pid_to_str): Adjust to check inferior->fake_pid_p instead of | |
6472 | the removed global. | |
6473 | ||
e078317b JB |
6474 | 2012-01-26 Joel Brobecker <[email protected]> |
6475 | ||
6476 | * symfile.h (struct quick_symbol_functions) [expand_symtabs_matching]: | |
6477 | Remove language parameter from name_matcher. Adjust the comment. | |
6478 | * symtab.c (search_symbols_name_matches, expand_partial_symbol_name): | |
6479 | Remove language parameter. | |
6480 | * ada-lang.c (ada_expand_partial_symbol_name): Likewise. | |
6481 | * linespec.c (iterate_name_matcher): Likewise. | |
6482 | * dwarf2read.c (dw2_expand_symtabs_matching): Adjust type of | |
6483 | name_matcher. Adjust call accordingly. | |
6484 | * psymtab.c (expand_symtabs_matching_via_partial): Likewise. | |
6485 | (maintenance_check_symtabs): Adjust type of parameter "fun". | |
6486 | * psymtab.h (maintenance_check_symtabs): Likewise. | |
6487 | ||
74ccd7f5 JB |
6488 | 2012-01-26 Joel Brobecker <[email protected]> |
6489 | ||
6490 | * language.h (symbol_name_match_p_ftype): New typedef. | |
6491 | (struct language_defn): Replace field la_symbol_name_compare | |
6492 | by la_get_symbol_name_match_p. | |
6493 | * ada-lang.c (ada_get_symbol_name_match_p): New function. | |
6494 | (ada_language_defn): Use it. | |
6495 | * linespec.c (struct symbol_matcher_data): New type. | |
6496 | (iterate_name_matcher): Rewrite. | |
6497 | (iterate_over_all_matching_symtabs): Pass a pointer to | |
6498 | a symbol_matcher_data struct to expand_symtabs_matching | |
6499 | instead of just the lookup name. | |
6500 | * c-lang.c, d-lang.c, jv-lang.c, m2-lang.c, objc-lang.c, | |
6501 | opencl-lang.c, p-lang.c, language.c: Delete field | |
6502 | la_symbol_name_compare, and replace by NULL for new field | |
6503 | la_get_symbol_name_match_p. | |
6504 | * symfile.h (struct quick_symbol_functions): Update comment. | |
6505 | ||
5d268276 TT |
6506 | 2012-01-25 Tom Tromey <[email protected]> |
6507 | ||
6508 | * breakpoint.c (bpstat_stop_status): Check 'breakpoint_at' before | |
6509 | dereferencing. | |
6510 | ||
edcc5120 TT |
6511 | 2012-01-24 Tom Tromey <[email protected]> |
6512 | ||
6513 | PR symtab/12406: | |
6514 | * solib.c (update_solib_list): Update the program space's | |
6515 | added_solibs and deleted_solibs fields. | |
6516 | * progspace.h (struct program_space) <added_solibs, | |
6517 | deleted_solibs>: New fields. | |
6518 | (clear_program_space_solib_cache): Declare. | |
6519 | * progspace.c (release_program_space): Call | |
6520 | clear_program_space_solib_cache. | |
6521 | (clear_program_space_solib_cache): New function. | |
6522 | * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: Call | |
6523 | bpstat_stop_status. Use handle_solib_event. | |
6524 | * breakpoint.c: Include gdb_regex.h. | |
6525 | (print_solib_event): New function. | |
6526 | (bpstat_print): Use print_solib_event. | |
6527 | (bpstat_stop_status): Add special case for bp_shlib_event. | |
6528 | (handle_solib_event): New function. | |
6529 | (bpstat_what): Use handle_solib_event. | |
6530 | (struct solib_catchpoint): New. | |
6531 | (dtor_catch_solib, insert_catch_solib, remove_catch_solib) | |
6532 | (breakpoint_hit_catch_solib, check_status_catch_solib) | |
6533 | (print_it_catch_solib, print_one_catch_solib) | |
6534 | (print_mention_catch_solib, print_recreate_catch_solib): New | |
6535 | functions. | |
6536 | (catch_solib_breakpoint_ops): New global. | |
6537 | (catch_load_or_unload, catch_load_command_1) | |
6538 | (catch_unload_command_1): New functions. | |
6539 | (internal_bkpt_check_status): Add special case for | |
6540 | bp_shlib_event. | |
6541 | (internal_bkpt_print_it): Use print_solib_event. | |
6542 | (initialize_breakpoint_ops): Initialize | |
6543 | catch_solib_breakpoint_ops. | |
6544 | (_initialize_breakpoint): Register "catch load" and "catch | |
6545 | unload". | |
6546 | * breakpoint.h (handle_solib_event): Declare. | |
6547 | * NEWS: Add entry for "catch load" and "catch unload". | |
6548 | ||
fa864999 TT |
6549 | 2012-01-24 Tom Tromey <[email protected]> |
6550 | ||
6551 | * ada-lang.c: Include gdb_vecs.h. | |
6552 | * charset.c: Include gdb_vecs.h. | |
6553 | * tracepoint.h: Include gdb_vecs.h. | |
6554 | * gdb_vecs.h: New file. | |
6555 | ||
f90263c1 TT |
6556 | 2012-01-24 Pedro Alves <[email protected]> |
6557 | ||
6558 | * breakpoint.c (breakpoint_hit_catch_fork) | |
6559 | (breakpoint_hit_catch_vfork, breakpoint_hit_catch_syscall) | |
6560 | (breakpoint_hit_catch_exec): Make use of the `ws' argument. | |
6561 | * infrun.c (inferior_has_forked, inferior_has_vforked) | |
6562 | (inferior_has_execd, inferior_has_called_syscall): Delete. | |
6563 | (handle_syscall_event): Get syscall_number from the execution | |
6564 | control state's wait status. | |
6565 | (wait_for_inferior): Don't clear syscall_number. | |
6566 | ||
09ac7c10 TT |
6567 | 2012-01-24 Pedro Alves <[email protected]> |
6568 | ||
6569 | * breakpoint.c (bpstat_check_location, bpstat_stop_status, | |
6570 | pc_at_non_inline_function): Add `ws' parameter, and pass it down. | |
6571 | (breakpoint_hit_catch_fork, breakpoint_hit_catch_vfork) | |
6572 | (breakpoint_hit_catch_syscall, breakpoint_hit_catch_exec): Add | |
6573 | `ws' parameter. | |
6574 | (breakpoint_hit_ranged_breakpoint): Add `ws' parameter. Return | |
6575 | false for events other than TARGET_SIGNAL_TRAP. | |
6576 | (breakpoint_hit_watchpoint, base_breakpoint_breakpoint_hit): | |
6577 | Add `ws' parameter. | |
6578 | (bkpt_breakpoint_hit): Add `ws' parameter. Return false for | |
6579 | events other than TARGET_SIGNAL_TRAP. | |
6580 | (tracepoint_breakpoint_hit): Add `ws' parameter. | |
6581 | * breakpoint.h (struct breakpoint_ops) <breakpoint_hit>: Add `ws' | |
6582 | parameter. | |
6583 | (bpstat_stop_status): Same. | |
6584 | (pc_at_non_inline_function): Same. | |
6585 | * infrun.c (handle_syscall_event, handle_inferior_event): Adjust | |
6586 | to pass the current event's waitstatus to bpstat_stop_status | |
6587 | and pc_at_non_inline_function. | |
6588 | ||
86eb7e95 JK |
6589 | 2012-01-24 Jan Kratochvil <[email protected]> |
6590 | ||
6591 | Code cleanup. | |
6592 | * cli/cli-cmds.c (source_script_from_stream): Never fclose STREAM. | |
6593 | Update the function comment for it. | |
6594 | (source_script_with_search): Call make_cleanup_fclose for STREAM. | |
6595 | * cli/cli-script.c (script_from_file): Do not call make_cleanup_fclose | |
6596 | for STREAM. | |
6597 | ||
a9b3a50f PA |
6598 | 2012-01-24 Pedro Alves <[email protected]> |
6599 | ||
6600 | * breakpoint.c (bpstat_stop_status): Moving clearing print_it | |
6601 | outside `bs->stop' block. | |
6602 | (bpstat_what): Rework bp_shlib_event handling. | |
6603 | (internal_bkpt_check_status): If the breakpoint is a | |
6604 | bp_shlib_event, then set bs->stop and bs->print if | |
6605 | stop_on_solib_events is set. | |
6606 | ||
53fe1783 GB |
6607 | 2012-01-24 Gary Benson <[email protected]> |
6608 | ||
6609 | Delete #if 0'd out code. | |
6610 | * stack.c (print_frame_label_vars): Remove. | |
6611 | (catch_info): Likewise. | |
6612 | (_initialize_stack): Remove "info catch" command. | |
6613 | * NEWS: Mention the above. | |
6614 | ||
49c62f2e PA |
6615 | 2012-01-24 Pedro Alves <[email protected]> |
6616 | ||
6617 | * remote.c (remote_add_inferior): New `fake_pid_p' parameter. Use | |
6618 | it. | |
6619 | (remote_notice_new_inferior): If the remote end doesn't support | |
6620 | the multiprocess extensions, then the PID is fake. | |
6621 | (add_current_inferior_and_thread): New. | |
6622 | (remote_start_remote): Use it. | |
6623 | (extended_remote_attach_1): Adjust. | |
6624 | (extended_remote_create_inferior_1): Use | |
6625 | add_current_inferior_and_thread. | |
6626 | ||
d0d8b0c6 JK |
6627 | 2012-01-24 Jan Kratochvil <[email protected]> |
6628 | ||
6629 | Fix watchpoints to be specific for each inferior. | |
6630 | * breakpoint.c (watchpoint_in_thread_scope): Verify also | |
6631 | current_program_space. | |
6632 | * i386-nat.c (i386_inferior_data_cleanup): New. | |
6633 | (i386_inferior_data_get): Replace variable inf_data_local by an | |
6634 | inferior_data call. | |
6635 | (i386_use_watchpoints): Initialize i386_inferior_data. | |
6636 | * linux-nat.c (linux_nat_iterate_watchpoint_lwps): Use INFERIOR_PTID | |
6637 | specific iterate_over_lwps. | |
6638 | ||
4403d8e9 JK |
6639 | 2012-01-24 Jan Kratochvil <[email protected]> |
6640 | ||
6641 | Fix watchpoints across inferior fork. | |
6642 | * amd64-linux-nat.c (update_debug_registers_callback): Update the | |
6643 | comment for linux_nat_iterate_watchpoint_lwps. | |
6644 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use | |
6645 | linux_nat_iterate_watchpoint_lwps. | |
6646 | (amd64_linux_prepare_to_resume): New comment on Linux kernel. | |
6647 | * i386-linux-nat.c (update_debug_registers_callback): Update the | |
6648 | comment for linux_nat_iterate_watchpoint_lwps. | |
6649 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use | |
6650 | linux_nat_iterate_watchpoint_lwps. | |
6651 | (i386_linux_prepare_to_resume): New comment on Linux kernel. | |
6652 | * i386-nat.c: Include inferior.h. | |
6653 | (dr_mirror): Remove. | |
6654 | (i386_inferior_data, struct i386_inferior_data) | |
6655 | (i386_inferior_data_get): New. | |
6656 | (i386_debug_reg_state): Use i386_inferior_data_get. | |
6657 | (i386_cleanup_dregs, i386_update_inferior_debug_regs) | |
6658 | (i386_insert_watchpoint, i386_remove_watchpoint) | |
6659 | (i386_stopped_data_address, i386_insert_hw_breakpoint) | |
6660 | (i386_remove_hw_breakpoint): New variable state, use | |
6661 | i386_debug_reg_state instead of DR_MIRROR. | |
6662 | * linux-nat.c (delete_lwp): New declaration. | |
6663 | (num_lwps): Move here from downwards. | |
6664 | (delete_lwp_cleanup): New. | |
6665 | (linux_child_follow_fork): Create new child_lp, call | |
6666 | linux_nat_new_thread and linux_nat_prepare_to_resume before calling | |
6667 | PTRACE_DETACH. | |
6668 | (num_lwps): Move upwards. | |
6669 | (linux_nat_iterate_watchpoint_lwps): New. | |
6670 | * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): New. | |
6671 | (linux_nat_iterate_watchpoint_lwps_ftype): New declaration. | |
6672 | ||
2992c9a7 | 6673 | 2012-01-24 Joel Brobecker <[email protected]> |
6674 | ||
6675 | GDB 7.4 released. | |
6676 | ||
e360902b PA |
6677 | 2012-01-23 Pedro Alves <[email protected]> |
6678 | ||
6679 | * top.c (caution): Rename to ... | |
6680 | (confirm): ... this. | |
6681 | (show_caution): Rename to ... | |
6682 | (show_confirm): ... this. | |
6683 | (quit_cover): Adjust. | |
6684 | (init_main): Adjust. | |
6685 | * top.h (caution): Rename to ... | |
6686 | (confirm): ... this. | |
6687 | * utils.c (internal_vproblem, defaulted_query): Adjust. | |
6688 | ||
050a2e1d PA |
6689 | 2012-01-23 Pedro Alves <[email protected]> |
6690 | ||
6691 | * top.c (caution): Update comment. | |
6692 | (execute_command): Don't consider the current value of `caution'. | |
6693 | ||
77a35dd8 JK |
6694 | 2012-01-23 Jan Kratochvil <[email protected]> |
6695 | ||
6696 | * cli/cli-cmds.c (find_and_open_script): Handle failure of fdopen. | |
6697 | ||
a71b5a38 UW |
6698 | 2012-01-23 Ulrich Weigand <[email protected]> |
6699 | ||
6700 | * inf-child.c: Include "gdb_stat.h" instead of <sys/stat.h>. | |
6701 | * linux-tdep.c (linux_info_proc): Avoid ARI coding style warning. | |
6702 | * target.c (target_fileio_pwrite): Remove buffer address from | |
6703 | debug output. | |
6704 | (target_fileio_pread): Likewise. | |
6705 | ||
d99bd577 UW |
6706 | 2012-01-20 Ulrich Weigand <[email protected]> |
6707 | ||
6708 | * NEWS: Document remote "info proc" and "generate-core-file". | |
6709 | ||
35c2fab7 UW |
6710 | 2012-01-20 Ulrich Weigand <[email protected]> |
6711 | ||
6712 | * gdbarch.sh (find_memory_regions): New callback. | |
6713 | * gdbarch.c, gdbarch.h: Regenerate. | |
6714 | ||
6715 | * gcore.c (gcore_memory_sections): Try gdbarch find_memory_regions | |
6716 | callback before falling back to target method. | |
6717 | ||
6718 | * linux-nat.c (read_mapping, linux_nat_find_memory_regions): Remove. | |
6719 | (linux_target_install_ops): No longer install it. | |
6720 | ||
6721 | * linux-tdep.c (linux_find_memory_regions): New function. | |
6722 | (linux_init_abi): Install it. | |
6723 | ||
6432734d UW |
6724 | 2012-01-20 Ulrich Weigand <[email protected]> |
6725 | ||
6726 | * gdbarch.sh (make_corefile_notes): New architecture callback. | |
6727 | * gdbarch.c: Regenerate. | |
6728 | * gdbarch.h: Likewise. | |
6729 | ||
6730 | * gcore.c (write_gcore_file): Try gdbarch_make_corefile_notes | |
6731 | before target_make_corefile_notes. If NULL is returned, the | |
6732 | target does not support core file generation. | |
6733 | ||
6734 | * linux-nat.c: Include "linux-tdep.h". | |
6735 | (find_signalled_thread, find_stop_signal): Remove. | |
6736 | (linux_nat_do_thread_registers): Likewise. | |
6737 | (struct linux_nat_corefile_thread_data): Likewise. | |
6738 | (linux_nat_corefile_thread_callback): Likewise. | |
6739 | (iterate_over_spus): Likewise. | |
6740 | (struct linux_spu_corefile_data): Likewise. | |
6741 | (linux_spu_corefile_callback): Likewise. | |
6742 | (linux_spu_make_corefile_notes): Likewise. | |
6743 | (linux_nat_collect_thread_registers): New function. | |
6744 | (linux_nat_make_corefile_notes): Replace contents by call to | |
6745 | linux_make_corefile_notes passing linux_nat_collect_thread_registers | |
6746 | as native-only callback. | |
6747 | ||
6748 | * linux-tdep.h: Include "bfd.h". | |
6749 | (struct regcache): Add forward declaration. | |
6750 | (linux_collect_thread_registers_ftype): New typedef. | |
6751 | (linux_make_corefile_notes): Add prototype. | |
6752 | * linux-tdep.c: Include "gdbthread.h", "gdbcore.h", "regcache.h", | |
6753 | "regset.h", and "elf-bfd.h". | |
6754 | (find_signalled_thread, find_stop_signal): New functions. | |
6755 | (linux_spu_make_corefile_notes): Likewise. | |
6756 | (linux_collect_thread_registers): Likewise. | |
6757 | (struct linux_corefile_thread_data): New data structure. | |
6758 | (linux_corefile_thread_callback): New funcion. | |
6759 | (linux_make_corefile_notes): Likewise. | |
6760 | (linux_make_corefile_notes_1): Likewise. | |
6761 | (linux_init_abi): Install it. | |
6762 | ||
3030c96e UW |
6763 | 2012-01-20 Ulrich Weigand <[email protected]> |
6764 | ||
6765 | * gdbarch.sh (info_proc): New callback. | |
6766 | * gdbarch.c, gdbarch.h: Regenerate. | |
6767 | ||
6768 | * infcmd.c (info_proc_cmd_1): Try gdbarch info_proc callback | |
6769 | before falling back to the target info_proc callback. | |
6770 | ||
6771 | * linux-nat.c: Do not include "cli/cli-utils.h". | |
6772 | (linux_nat_info_proc): Remove. | |
6773 | (linux_target_install_ops): No longer install it. | |
6774 | ||
6775 | * linux-tdep.c: Include "cli/cli-utils.h" and <ctype.h>. | |
6776 | (read_mapping): New function. | |
6777 | (linux_info_proc): Likewise. | |
6778 | (linux_init_abi): Install it. | |
6779 | ||
145b16a9 UW |
6780 | 2012-01-20 Ulrich Weigand <[email protected]> |
6781 | ||
6782 | * defs.h (enum info_proc_what): Moved here from linux-nat.c | |
6783 | * infcmd.c: (info_proc_cmd_1): New function. | |
6784 | (info_proc_cmd): New function, moved here from equivalent routine | |
6785 | orignally in linux-nat.c. | |
6786 | (info_proc_cmd_mappings): Likewise. | |
6787 | (info_proc_cmd_stat): Likewise. | |
6788 | (info_proc_cmd_status): Likewise. | |
6789 | (info_proc_cmd_cwd): Likewise. | |
6790 | (info_proc_cmd_cmdline): Likewise. | |
6791 | (info_proc_cmd_exe): Likewise. | |
6792 | (info_proc_cmd_all): Likewise. | |
6793 | (_initialize_infcmd): Install "info proc" command and subcommands. | |
6794 | ||
6795 | * target.h (struct target_ops): Add to_info_proc. | |
6796 | (target_info_proc): Add prototype. | |
6797 | * target.c (target_info_proc): New function. | |
6798 | ||
6799 | * procfs.c (procfs_info_proc): Add prototype. | |
6800 | (info_proc_cmd): Rename into ... | |
6801 | (procfs_info_proc): ... this. Update argument types as appropriate | |
6802 | for a to_info_proc implementation. Handle "what" argument. | |
6803 | (procfs_target): Install procfs_info_proc. | |
6804 | (_initialize_procfs): No longer install "info proc" command. | |
6805 | ||
6806 | * linux-nat.c: (enum info_proc_what): Remove. | |
6807 | (linux_nat_info_proc_cmd_1): Rename into ... | |
6808 | (linux_nat_info_proc): ... this. Update argument types as appropriate | |
6809 | for a to_info_proc implementation. | |
6810 | (linux_nat_info_proc_cmd): Remove. | |
6811 | (linux_nat_info_proc_cmd_mappings): Likewise. | |
6812 | (linux_nat_info_proc_cmd_stat): Likewise. | |
6813 | (linux_nat_info_proc_cmd_status): Likewise. | |
6814 | (linux_nat_info_proc_cmd_cwd): Likewise. | |
6815 | (linux_nat_info_proc_cmd_cmdline): Likewise. | |
6816 | (linux_nat_info_proc_cmd_exe): Likewise. | |
6817 | (linux_nat_info_proc_cmd_all): Likewise. | |
6818 | (linux_target_install_ops): Install linux_nat_info_proc. | |
6819 | (_initialize_linux_nat): No longer install "info proc" command | |
6820 | and subcommands. | |
6821 | ||
b9e7b9c3 UW |
6822 | 2012-01-20 Ulrich Weigand <[email protected]> |
6823 | ||
6824 | * configure.ac [AC_CHECK_FUNCS]: Check for readlink. | |
6825 | * config.in, configure: Regenerate. | |
6826 | ||
6827 | * target.h (struct target_ops): Add to_fileio_readlink. | |
6828 | (target_fileio_readlink): Add prototype. | |
6829 | * target.c (target_fileio_readlink): New function. | |
6830 | ||
6831 | * inf-child.c: Conditionally include <sys/param.h>. | |
6832 | (inf_child_fileio_readlink): New function. | |
6833 | (inf_child_target): Install it. | |
6834 | ||
6835 | * remote.c (PACKET_vFile_readlink): New enum value. | |
6836 | (remote_hostio_readlink): New function. | |
6837 | (init_remote_ops): Install it. | |
6838 | (_initialize_remote): Handle vFile:readlink packet type. | |
6839 | ||
7313baad UW |
6840 | 2012-01-20 Pedro Alves <[email protected]> |
6841 | Ulrich Weigand <[email protected]> | |
6842 | ||
6843 | * configure.ac [AC_CHECK_FUNCS]: Check for pread and pwrite. | |
6844 | * config.in, configure: Regenerate. | |
6845 | ||
6846 | * target.h (struct target_ops): Add to_fileio_open, to_fileio_pwrite, | |
6847 | to_fileio_pread, to_fileio_close, to_fileio_unlink. | |
6848 | (target_fileio_open): Add prototype. | |
6849 | (target_fileio_pwrite): Likewise. | |
6850 | (target_fileio_pread): Likewise. | |
6851 | (target_fileio_close): Likewise. | |
6852 | (target_fileio_unlink): Likewise. | |
6853 | (target_fileio_read_alloc): Likewise. | |
6854 | (target_fileio_read_stralloc): Likewise. | |
6855 | ||
6856 | * target.c: Include "gdb/fileio.h". | |
6857 | (target_read_stralloc): Accept trailing, but not embedded NUL bytes. | |
6858 | (default_fileio_target): New function. | |
6859 | (target_fileio_open): Likewise. | |
6860 | (target_fileio_pwrite): Likewise. | |
6861 | (target_fileio_pread): Likewise. | |
6862 | (target_fileio_close): Likewise. | |
6863 | (target_fileio_unlink): Likewise. | |
6864 | (target_fileio_close_cleanup): Likewise. | |
6865 | (target_fileio_read_alloc_1): Likewise. | |
6866 | (target_fileio_read_alloc): Likewise. | |
6867 | (target_fileio_read_stralloc): Likewise. | |
6868 | ||
6869 | * inf-child.c: Include "gdb/fileio.h", <sys/types.h>, <sys/stat.h>, | |
6870 | <fcntl.h>, and <unistd.h>. | |
6871 | (inf_child_fileio_open_flags_to_host): New function. | |
6872 | (inf_child_errno_to_fileio_error): Likewise. | |
6873 | (inf_child_fileio_open): Likewise. | |
6874 | (inf_child_fileio_pwrite): Likewise. | |
6875 | (inf_child_fileio_pread): Likewise. | |
6876 | (inf_child_fileio_close): Likewise. | |
6877 | (inf_child_fileio_unlink): Likewise. | |
6878 | (inf_child_target): Install to_fileio routines. | |
6879 | ||
6880 | * remote.c (init_remote_ops): Install to_fileio routines. | |
6881 | ||
901f9912 UW |
6882 | 2012-01-20 Pedro Alves <[email protected]> |
6883 | Ulrich Weigand <[email protected]> | |
6884 | ||
6885 | * remote.c (remote_multi_process_p): Only check for multi-process | |
6886 | protocol feature, do not check for extended protocol. | |
6887 | (remote_supports_multi_process): Check for extended protocol here. | |
6888 | (set_general_process): Likewise. | |
6889 | (extended_remote_kill): Likewise. | |
6890 | (remote_pid_to_str): Likewise. | |
6891 | (remote_query_supported): Always query multiprocess mode. | |
6892 | ||
e714e1bf UW |
6893 | 2012-01-20 Pedro Alves <[email protected]> |
6894 | Ulrich Weigand <[email protected]> | |
6895 | ||
6896 | * inferior.h (struct inferior): Add fake_pid_p. | |
6897 | * inferior.c (exit_inferior_1): Clear fake_pid_p. | |
6898 | * remote.c (remote_start_remote): Set fake_pid_p if we have to use | |
6899 | magic_null_ptid since the remote side doesn't provide a real PID. | |
6900 | ||
50897289 TT |
6901 | 2012-01-19 Tom Tromey <[email protected]> |
6902 | ||
6903 | * NEWS: Combine the two Python sections. | |
6904 | ||
1afc2033 JK |
6905 | 2012-01-19 Jan Kratochvil <[email protected]> |
6906 | ||
6907 | * target.h (target_close): Update comment on the target's unpush state. | |
6908 | ||
305436e0 PA |
6909 | 2012-01-19 Pedro Alves <[email protected]> |
6910 | ||
6911 | * linux-nat.c (linux_nat_close): Call linux_nat_is_async_p and | |
6912 | linux_nat_async directly instead of going through the target | |
6913 | vector. | |
6914 | * target.c (unpush_target): Close target after unpushing it, not | |
6915 | before. | |
6916 | ||
49323895 GB |
6917 | 2012-01-19 Gary Benson <[email protected]> |
6918 | ||
6919 | * mdebugread.c (sort_blocks): Replace integer constants with ones | |
6920 | derived from FIRST_LOCAL_BLOCK. | |
6921 | ||
1db33378 PP |
6922 | 2012-01-18 Paul Pluzhnikov <[email protected]> |
6923 | Jan Kratochvil <[email protected]> | |
6924 | ||
6925 | PR gdb/9538 | |
6926 | * symfile.c (find_separate_debug_file): New function. | |
6927 | (terminate_after_last_dir_separator): Likewise. | |
6928 | (find_separate_debug_file_by_debuglink): Also try realpath. | |
6929 | * configure.ac (AC_CHECK_FUNCS): Add lstat. | |
6930 | * configure: Regenerate. | |
6931 | * config.in: Regenerate. | |
6932 | ||
f83d8a90 DE |
6933 | 2012-01-18 Doug Evans <[email protected]> |
6934 | ||
6935 | * Makefile.in (TARGET_SYSTEM_ROOT, TARGET_SYSTEM_ROOT_DEFINE): Delete. | |
6936 | (main.o): Remove rule. | |
6937 | * configure.ac (BINDIR): Define with AC_DEFINE_DIR. | |
6938 | (--with-sysroot): Rewrite. | |
6939 | * configure: Regenerate. | |
6940 | * config.in: Regenerate. | |
6941 | ||
2dbca4d6 SDJ |
6942 | 2012-01-18 Sergio Durigan Junior <[email protected]> |
6943 | ||
6944 | * parse.c (initialize_expout): New function. | |
6945 | (reallocate_expout): Likewise. | |
6946 | (parse_exp_in_context): Use `initialize_expout' and | |
6947 | `reallocate_expout' when appropriate. | |
6948 | ||
0695b514 PA |
6949 | 2012-01-18 Pedro Alves <[email protected]> |
6950 | ||
6951 | * record.c (struct record_breakpoint, record_breakpoint_p) | |
6952 | (record_breakpoints): New. | |
6953 | (record_insert_breakpoint, record_remove_breakpoint): Manage | |
6954 | record breakpoints list. Only remove breakpoints from the | |
6955 | inferior if they had been inserted there in the first place. | |
6956 | ||
136e1c30 DE |
6957 | 2012-01-17 Doug Evans <[email protected]> |
6958 | ||
6959 | * linespec.c (decode_line_internal): Don't call symtabs_from_filename | |
6960 | if we know we don't have a file name to look for. | |
6961 | ||
c0bf857d PA |
6962 | 2012-01-17 Pedro Alves <[email protected]> |
6963 | ||
6964 | * dwarf2-frame.c (dwarf2_frame_cfa): Throw NOT_AVAILABLE_ERROR, if | |
6965 | the frame's stop reason is UNWIND_UNAVAILABLE. | |
6966 | ||
b486de60 JK |
6967 | 2012-01-17 Jan Kratochvil <[email protected]> |
6968 | ||
6969 | Fix compilation error. | |
6970 | * m2-exp.y (yyerror): Use ANSI C prototype. | |
6971 | ||
d04550a6 SDJ |
6972 | 2012-01-16 Sergio Durigan Junior <[email protected]> |
6973 | ||
6974 | * f-exp.y (parse_number): Convert prototype from K&R to ANSI C. | |
6975 | (growbuf_by_size): Likewise. | |
6976 | (yyerror): Likewise. | |
6977 | * m2-exp.y (make_qualname): Remove function (was #if 0'ed). | |
6978 | (modblock): Remove variable (was #if 0'ed). | |
6979 | (parse_number): Convert prototype from K&R to ANSI C. | |
6980 | (yyerror): Likewise. | |
6981 | * objc-exp.y (parse_number): Likewise. | |
6982 | (yyerror): Likewise. | |
6983 | (yylex): Remove #if 0'ed code. | |
6984 | * p-exp.y (uptok): Convert prototype from K&R to ANSI C. | |
6985 | (yyerror): Likewise. | |
6986 | ||
4aac40c8 TT |
6987 | 2012-01-16 Tom Tromey <[email protected]> |
6988 | ||
6989 | * NEWS: Add item. | |
6990 | * symtab.h (compare_filenames_for_search): Declare. | |
6991 | * symtab.c (compare_filenames_for_search): New function. | |
6992 | (iterate_over_some_symtabs): Use it. | |
6993 | * symfile.h (struct quick_symbol_functions) | |
6994 | <map_symtabs_matching_filename>: Change spec. | |
6995 | * psymtab.c (partial_map_symtabs_matching_filename): Use | |
6996 | compare_filenames_for_search. Update for new spec. | |
6997 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Use | |
6998 | compare_filenames_for_search. Update for new spec. | |
6999 | * breakpoint.c (clear_command): Use compare_filenames_for_search. | |
7000 | ||
cafec441 TT |
7001 | 2012-01-16 Tom Tromey <[email protected]> |
7002 | ||
7003 | PR python/13281: | |
7004 | * gdbtypes.h (TYPE_FLAG_ENUM): New macro. | |
7005 | (struct main_type) <flag_flag_enum>: New field. | |
7006 | * dwarf2read.c (process_enumeration_scope): Detect "flag" enums. | |
7007 | * NEWS: Add entries. | |
7008 | * c-valprint.c (c_val_print) <TYPE_CODE_ENUM>: Handle "flag" | |
7009 | enums. | |
7010 | * python/lib/gdb/printing.py (_EnumInstance): New class. | |
7011 | (FlagEnumerationPrinter): Likewise. | |
7012 | ||
983af33b SDJ |
7013 | 2012-01-16 Sergio Durigan Junior <[email protected]> |
7014 | ||
7015 | * breakpoint.c (create_sals_from_address_default): New function. | |
7016 | (create_breakpoints_sal_default): Likewise. | |
7017 | (decode_linespec_default): Likewise. | |
7018 | (is_marker_spec): Removed. | |
7019 | (strace_marker_p): New function. | |
7020 | (init_breakpoint_sal): Using `strace_marker_p' instead of | |
7021 | `is_marker_spec'. | |
7022 | (create_breakpoint): Call method `create_sals_from_address' from | |
7023 | breakpoint_ops, replacing code that created SALs conditionally | |
7024 | on the type of the breakpoint. Call method `create_breakpoints_sal', | |
7025 | replacing code that created breakpoints conditionally on the type | |
7026 | wanted. | |
7027 | (base_breakpoint_create_sals_from_address): New function. | |
7028 | (base_breakpoint_create_breakpoints_sal): Likewise. | |
7029 | (base_breakpoint_decode_linespec): Likewise. | |
7030 | (base_breakpoint_ops): Add methods | |
7031 | `base_breakpoint_create_sals_from_address', | |
7032 | `base_breakpoint_create_breakpoints_sal' and | |
7033 | `base_breakpoint_decode_linespec'. | |
7034 | (bkpt_create_sals_from_address): New function. | |
7035 | (bkpt_create_breakpoints_sal): Likewise. | |
7036 | (bkpt_decode_linespec): Likewise. | |
7037 | (tracepoint_create_sals_from_address): Likewise. | |
7038 | (tracepoint_create_breakpoints_sal): Likewise. | |
7039 | (tracepoint_decode_linespec): Likewise. | |
7040 | (strace_marker_create_sals_from_address): Likewise. | |
7041 | (strace_marker_create_breakpoints_sal): Likewise. | |
7042 | (strace_marker_decode_linespec): Likewise. | |
7043 | (strace_marker_breakpoint_ops): New variable. | |
7044 | (addr_string_to_sals): Remove `marker_spec'. Call method | |
7045 | `decode_linespec' from breakpoint_ops, replacing code that decoded | |
7046 | an address string into a SAL. Use `strace_marker_p' instead of | |
7047 | `marker_spec'. | |
7048 | (strace_command): Decide whether we are dealing with a static | |
7049 | tracepoint with marker or not. Use the appropriate breakpoint_ops. | |
7050 | (initialize_breakpoint_ops): Initialize new fields of breakpoint_ops. | |
7051 | * breakpoint.h (linespec_result, linespec_sals): New forward | |
7052 | declarations. | |
7053 | (breakpoint_ops) <create_sals_from_address>, | |
7054 | <create_breakpoints_sal>, <decode_linespec>: New methods. | |
7055 | ||
4795f398 DE |
7056 | 2012-01-14 Doug Evans <[email protected]> |
7057 | ||
7058 | * NEWS: Update text for "maint set python print-stack". | |
7059 | It is deprecated in gdb 7.4 and deleted in 7.5. | |
7060 | ||
ee5106fe EZ |
7061 | 2012-01-13 Eli Zaretskii <[email protected]> |
7062 | ||
7063 | * gdb_curses.h (MOUSE_MOVED) [__MINGW32__]: Undefine before | |
7064 | including curses.h. | |
7065 | ||
b161e06f JK |
7066 | 2012-01-12 Jan Kratochvil <[email protected]> |
7067 | ||
7068 | * configure: Regenerate. | |
7069 | * config.in: Regenerate. | |
7070 | ||
85254831 KS |
7071 | 2012-01-12 Keith Seitz <[email protected]> |
7072 | ||
7073 | PR mi/10586 | |
7074 | * varobj.c (ANONYMOUS_STRUCT_NAME): Define. | |
7075 | (ANONYMOUS_UNION_NAME): Define. | |
7076 | (is_path_expr_parent): New function. | |
7077 | (get_path_expr_parent): New function. | |
7078 | (is_anonymous_child): New function. | |
7079 | (create_child_with_value): If the child is anonymous and without | |
7080 | a name, assign an object name to it. | |
7081 | (c_describe_child): Use get_path_expr_parent to determine | |
7082 | the parent expression. | |
7083 | If there field represents an anonymous struct or union and | |
7084 | has no name, set an appropriate display name and expression. | |
7085 | (cplus_describe_child): Likewise. | |
7086 | ||
620fa63a PA |
7087 | 2012-01-12 Pedro Alves <[email protected]> |
7088 | ||
7089 | * i386-tdep.c (i386_frame_cache_1): Also mark the frame base as | |
7090 | available when %ebp is found to be zero (outermost). | |
7091 | ||
2efa2c79 AT |
7092 | 2012-01-11 Andreas Tobler <[email protected]> |
7093 | ||
7094 | * common/gdb_assert.h (gdb_static_assert): Rename static_assert to | |
7095 | an internal gdb_static_assert. | |
7096 | * mi/mi-common.c: Rename static_assert to gdb_static_assert. | |
7097 | ||
88e7d25d TT |
7098 | 2012-01-11 Tom Tromey <[email protected]> |
7099 | ||
7100 | PR gdb/9598: | |
7101 | * breakpoint.c (_initialize_breakpoint): Fix help for "catch | |
7102 | catch" and "catch throw". | |
7103 | ||
72384ba3 PH |
7104 | 2012-01-11 Paul Hilfinger <[email protected]> |
7105 | ||
7106 | * blockframe.c (block_innermost_frame): Start search from selected | |
7107 | frame, if present, or otherwise the current frame. | |
7108 | ||
7109 | * c-exp.y (variable): Update innermost_block for | |
7110 | 'block COLONCOLON NAME' clause. | |
7111 | * m2-exp.y (variable): Ditto. | |
7112 | * objc-exp.y (variable): Ditto. | |
7113 | ||
065a711f TT |
7114 | 2012-01-10 Tom Tromey <[email protected]> |
7115 | ||
7116 | PR python/13199: | |
7117 | * python/python.c (finish_python_initialization): Set sys.argv. | |
7118 | ||
f3f5162e DE |
7119 | 2012-01-10 Doug Evans <[email protected]> |
7120 | ||
7121 | * dwarf2read.c (dwarf_decode_lines): Remove arg "abfd". New arg | |
7122 | "want_line_info". All callers updated. | |
7123 | (dwarf_decode_lines_1): New function. | |
7124 | (handle_DW_AT_stmt_list): Add function comment. | |
7125 | New arg "want_line_info". All callers updated. | |
7126 | (read_file_scope,read_type_unit_scope): Move comment from | |
7127 | handle_DW_AT_stmt_list to here. | |
7128 | ||
9934703b JK |
7129 | 2012-01-10 Jan Kratochvil <[email protected]> |
7130 | ||
7131 | Fix regression after libiberty/ update for GCC PR 6057 and others. | |
7132 | * c-exp.y (operator) <OPERATOR DELETE> | |
7133 | (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. | |
7134 | * cp-name-parser.y (fill_comp, make_operator, make_dtor) | |
7135 | (make_builtin_type, make_name): New variable i, add gdb_assert. | |
7136 | (operator) <OPERATOR NEW>: Update ARGS to 3. | |
7137 | (operator) <OPERATOR DELETE>: Add trailing space. | |
7138 | (operator) <OPERATOR NEW '[' ']'>: Update ARGS to 3. | |
7139 | (operator) <OPERATOR DELETE '[' ']'>: Add trailing space. | |
7140 | * cp-support.c (cp_canonicalize_string): Check NULL from | |
7141 | cp_comp_to_string, call warning and return. | |
7142 | ||
06b9f45f JK |
7143 | 2012-01-10 Jan Kratochvil <[email protected]> |
7144 | ||
7145 | Fix duplicate .o files after omitting libbfd.a. | |
7146 | * Makefile.in (ALL_TARGET_OBS): Remove corelow.o. | |
7147 | (SFILES): Add corelow.c. | |
7148 | (COMMON_OBS): Add corelow.o. | |
7149 | (ALLDEPFILES): Remove corelow.c. | |
7150 | * config/alpha/alpha-linux.mh (NATDEPFILES): Remove corelow.o. | |
7151 | * config/alpha/alpha-osf3.mh: Likewise. | |
7152 | * config/alpha/fbsd.mh: Likewise. | |
7153 | * config/arm/nbsdaout.mh: Likewise. | |
7154 | * config/arm/nbsdelf.mh: Likewise. | |
7155 | * config/i386/i386gnu.mh: Likewise. | |
7156 | * config/ia64/hpux.mh: Likewise. | |
7157 | * config/ia64/linux.mh: Likewise. | |
7158 | * config/m32r/linux.mh: Likewise. | |
7159 | * config/m68k/linux.mh: Likewise. | |
7160 | * config/mips/irix5.mh: Likewise. | |
7161 | * config/mips/irix6.mh: Likewise. | |
7162 | * config/pa/hpux.mh: Likewise. | |
7163 | * config/pa/linux.mh: Likewise. | |
7164 | * config/powerpc/aix.mh: Likewise. | |
7165 | * config/sparc/linux.mh: Likewise. | |
7166 | * config/sparc/linux64.mh: Likewise. | |
7167 | * config/sparc/sol2.mh: Likewise. | |
7168 | * config/vax/vax.mh: Likewise. | |
7169 | * configure.tgt (alpha*-*-freebsd* alpha*-*-kfreebsd*-gnu) | |
7170 | (alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu, alpha*-*-openbsd*) | |
7171 | (am33_2.0*-*-linux*, arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-linux*) | |
7172 | (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-netbsd*) | |
7173 | (hppa*-*-openbsd*, i[34567]86-*-dicos*, i[34567]86-*-freebsd*) | |
7174 | (i[34567]86-*-kfreebsd*-gnu, i[34567]86-*-netbsd*) | |
7175 | (i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*, i[34567]86-*-nto*) | |
7176 | (i[34567]86-*-solaris2.1[0-9]*, x86_64-*-solaris2.1[0-9]*) | |
7177 | (i[34567]86-*-solaris*, i[34567]86-*-linux*, i[34567]86-*-cygwin*) | |
7178 | (i[34567]86-*-mingw32*, m68*-*-netbsd*, m68*-*-knetbsd*-gnu) | |
7179 | (m68*-*-openbsd*, m88*-*-openbsd*, microblaze*-linux-*) | |
7180 | (microblaze*-*-linux*, mips*-*-linux*, mips*-*-netbsd*) | |
7181 | (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) | |
7182 | (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-linux*) | |
7183 | (powerpc64-*-linux*, s390*-*-*, score-*-*, sh*-*-linux*) | |
7184 | (sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) | |
7185 | (sparc*-*-freebsd*, sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*) | |
7186 | (sparc-*-knetbsd*-gnu, sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu) | |
7187 | (sparc-*-openbsd*, sparc64-*-openbsd*, tic6x-*-*linux, vax-*-netbsd*) | |
7188 | (vax-*-knetbsd*-gnu, vax-*-openbsd*, x86_64-*-dicos*, x86_64-*-linux*) | |
7189 | (x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu, x86_64-*-netbsd*) | |
7190 | (x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*, xtensa*-*-linux*): Remove | |
7191 | corelow.o from gdb_target_obs. | |
7192 | * corefile.c (core_target): Update the comment on NULL value. | |
7193 | (core_file_command): Replace error by gdb_assert on CORE_TARGET. | |
7194 | * corelow.c (sniff_core_bfd): Call error instead of warning on zero | |
7195 | MATCHES. Drop YUMMY set on NULL. | |
7196 | (core_close): Do not call exit_inferior_silent on zero PID. Do not | |
7197 | reclaim CORE_DATA if it is already NULL. | |
7198 | ||
34365054 DE |
7199 | 2012-01-09 Doug Evans <[email protected]> |
7200 | ||
7201 | * gdbtypes.c (safe_parse_type): Initialize type to keep gcc happy. | |
7202 | * varobj.c (varobj_set_value): Initialize val,value to keep gcc happy. | |
7203 | ||
696166a3 KS |
7204 | 2012-01-09 Keith Seitz <[email protected]> |
7205 | ||
7206 | * breakpoint.c (wrapper.h): Don't include. | |
7207 | ||
8e7b59a5 KS |
7208 | 2012-01-09 Keith Seitz <[email protected]> |
7209 | ||
7210 | * Makefile.in (SFILES): Remove wrapper.c. | |
7211 | (HFILES_NO_SRCDIR): Remove wrapper.h. | |
7212 | (COMMON_OBS): Remove wrapper.o. | |
7213 | * cli/cli-interp.c: Don't inlude wrapper.h. | |
7214 | * corelow.c: Likewise. | |
7215 | (core_open): Replace gdb_target_find_new_threads with | |
7216 | TRY_CATCH around target_find_new_threads. | |
7217 | * eval.c (fetch_subexp_value): Likewise for value_fetch_lazy. | |
7218 | * gdbtypes.c (safe_parse_type): Likewise for parse_and_eval_type. | |
7219 | * varobj.c (varobj_create): Likewise for parse_exp_1 and | |
7220 | evaluate_expression. | |
7221 | (varobj_set_value): Likewise for evaluate_expression and | |
7222 | value_assign. | |
7223 | (install_new_variable): Likewise for value_fetch_lazy. | |
7224 | (adjust_value_for_child_access): Likewise for value_ind. | |
7225 | (c_describe_child): Likewise for value_subscript and | |
7226 | value_ind. | |
7227 | (c_value_of_root): Likewise for evaluate_expression. | |
7228 | * wrapper.c: Remove. | |
7229 | * wrapper.h: Remove. | |
7230 | ||
1a4eeb98 DE |
7231 | 2012-01-09 Doug Evans <[email protected]> |
7232 | ||
9ff913ba DE |
7233 | * dwarf2read.c (read_and_check_comp_unit_head): Renamed from |
7234 | partial_read_comp_unit_head. Replace "buffer", "buffer_size" and | |
7235 | "abfd" args with "section". All callers updated. | |
7236 | Error checking code moved ... | |
7237 | (error_check_comp_unit_head): ... here. New function. | |
7238 | (read_and_check_type_unit_head): Renamed from read_type_unit_head. | |
7239 | Delete arg "abfd". New arg "type_offset". All callers updated. | |
7240 | (create_debug_types_hash_table): Simplify by using | |
7241 | read_and_check_type_unit_head. | |
7242 | ||
1a4eeb98 DE |
7243 | * parser-defs.h (namecopy): Delete. |
7244 | * parse.c (namecopy, namecopy_size): Move into copy_name. | |
7245 | ||
2e6af8c0 JK |
7246 | 2012-01-09 Jan Kratochvil <[email protected]> |
7247 | ||
7248 | Partially fix duplicate .o files after omitting libbfd.a. | |
7249 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove solib.o. | |
7250 | * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
7251 | * config/i386/obsdaout.mh (NATDEPFILES): Remove solib.o. | |
7252 | * config/m68k/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
7253 | * config/m68k/obsd.mh (NATDEPFILES): Remove solib.o. | |
7254 | * config/powerpc/aix.mh (NATDEPFILES): Remove xcoffread.o. | |
7255 | * config/vax/nbsdaout.mh (NATDEPFILES): Remove solib.o. | |
7256 | ||
9f2f828a PA |
7257 | 2012-01-09 Pedro Alves <[email protected]> |
7258 | ||
7259 | * MAINTAINERS: Update my email address. | |
7260 | ||
4d72c0bc DE |
7261 | 2012-01-08 Doug Evans <[email protected]> |
7262 | ||
d467dd73 DE |
7263 | * dwarf2read.c (dwarf2_per_objfile): Rename n_type_comp_units to |
7264 | n_type_units. Rename type_comp_units to all_type_units. | |
7265 | All uses updated. | |
7266 | (add_signatured_type_cu_to_table): Renamed from | |
7267 | add_signatured_type_cu_to_list. All callers updated. | |
7268 | ||
4d72c0bc DE |
7269 | * gdbtypes.h (struct cplus_struct_type): Delete member |
7270 | nfn_fields_total. All uses removed. | |
7271 | ||
21b2bd31 DE |
7272 | 2012-01-06 Doug Evans <[email protected]> |
7273 | ||
7274 | * dwarf2read.c: Move FIXME from dwarf2_build_psymtabs_hard | |
7275 | to top of file. | |
7276 | (dwarf2_find_comp_unit): Delete. | |
7277 | (process_psymtab_comp_unit): Make result "void". | |
7278 | Delete args buffer, info_ptr, buffer_size, and replace with | |
7279 | "section". All callers updated. | |
7280 | (dwarf2_build_psymtabs_hard): Simplify. | |
7281 | ||
bfd189b1 SDJ |
7282 | 2012-01-06 Sergio Durigan Junior <[email protected]> |
7283 | Thiago Jung Bauermann <[email protected]> | |
7284 | ||
7285 | * ada-lang.c (ada_exception_name_addr): Add `volatile' keyword | |
7286 | before `struct gdb_exception'. | |
7287 | * breakpoint.c (update_global_location_list_nothrow) | |
7288 | (update_breakpoint_locations, enable_breakpoint_disp): Likewise. | |
7289 | * cp-abi.c (value_rtti_type): Likewise. | |
7290 | * cp-support.c (cp_validate_operator): Likewise. | |
7291 | * infrun.c (insert_exception_resume_breakpoint) | |
7292 | (check_exception_resume, keep_going): Likewise. | |
7293 | * mi-interp.c (mi_breakpoint_created) | |
7294 | (mi_breakpoint_modified): Likewise. | |
7295 | * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Likewise. | |
7296 | * solib-ia64-hpux.c (ia64_hpux_at_dld_breakpoint_p) | |
7297 | (ia64_hpux_handle_dld_breakpoint_1): Likewise. | |
7298 | ||
6b07635f DE |
7299 | 2012-01-05 Doug Evans <[email protected]> |
7300 | ||
0b30b85c DE |
7301 | * dwarf2read.c (statement_prologue): Delete, unused. |
7302 | ||
98714339 DE |
7303 | * dwarf2read.c (dwarf2_per_cu_addr_size): Make result type an int. |
7304 | * dwarf2loc.h (dwarf2_per_cu_addr_size): Update. | |
7305 | ||
6b07635f DE |
7306 | * dwarf2read.c (comp_unit_header): Delete, unused. |
7307 | ||
761f4555 UW |
7308 | 2012-01-05 Ulrich Weigand <[email protected]> |
7309 | ||
7310 | * configure.tgt [s390*-*-*] (gdb_target_obs): Add corelow.o. | |
7311 | * config/s390/s390.mh (NATDEPFILES): Remove corelow.o. | |
7312 | ||
2ca0b532 PA |
7313 | 2012-01-05 Khoo Yit Phang <[email protected]> |
7314 | ||
7315 | * infrun.c (normal_stop): Don't skip calling the normal_stop | |
7316 | observers if the thread was doing a multi-step, but stopped for | |
7317 | some reason other than stepping. | |
7318 | ||
50aeff07 PA |
7319 | 2012-01-05 Pedro Alves <[email protected]> |
7320 | ||
7321 | * cli/cli-decode.h: Add comments. | |
7322 | (CMD_LIST_AMBIGUOUS): Moved to command.h | |
7323 | (add_cmd, add_alias_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
7324 | (set_cmd_cfunc, set_cmd_sfunc, set_cmd_completer, cmd_cfunc_eq) | |
7325 | (set_cmd_context, get_cmd_context, lookup_cmd, lookup_cmd_1) | |
7326 | (deprecate_cmd, deprecated_cmd_warning, lookup_cmd_composition) | |
7327 | (add_com, add_com_alias, add_info, add_info_alias) | |
7328 | (complete_on_cmdlist, complete_on_enum, help_list): Remove | |
7329 | declarations. | |
7330 | * command.h: Add and adjust comments. | |
7331 | (CMD_LIST_AMBIGUOUS): Moved here. | |
7332 | (help_cmd, help_cmd_list): Delete declarations. | |
7333 | ||
5953832c DE |
7334 | 2012-01-04 Doug Evans <[email protected]> |
7335 | ||
e5fe5e75 DE |
7336 | * dwarf2read.c (dwarf2_read_abbrevs): Delete arg "abfd". |
7337 | All callers updated. | |
7338 | (load_full_type_unit): Renamed from read_signatured_type_at_offset. | |
7339 | Replace all arguments with "per_cu". All callers updated. | |
7340 | ||
28dee7f5 DE |
7341 | * dwarf2read.c (dwarf2_per_cu_data): Remove outdated comment. |
7342 | ||
23745b47 DE |
7343 | * dwarf2read.c (init_one_comp_unit): Delete arg "objfile". |
7344 | New arg "per_cu". All callers updated. | |
7345 | ||
5953832c DE |
7346 | Delete #if 0'd out code. |
7347 | * language.c (binop_result_type): Delete. | |
7348 | (simple_type, ordered_type, same_type, integral_type): Delete. | |
7349 | (numeric_type, character_type, string_type, boolean_type): Delete. | |
7350 | (float_type, structured_type): Delete. | |
7351 | * language.h: Update. | |
7352 | ||
0f5b7562 TT |
7353 | 2012-01-04 Tom Tromey <[email protected]> |
7354 | ||
7355 | * python/py-value.c (valpy_binop): Initialize 'res_val'. | |
7356 | ||
78218f56 JB |
7357 | 2012-01-04 Joel Brobecker <[email protected]> |
7358 | ||
7359 | * corefile.c (close_exec_file): Delete. | |
7360 | (reopen_exec_file): Remove commented out code that seems related | |
7361 | to close_exec_file, which is being deleted here. | |
7362 | * inferior.h (close_exec_file): Delete. | |
7363 | * fork-child.c (fork_inferior): Remove call to fork_inferior. | |
7364 | ||
0fcd72ba JB |
7365 | 2012-01-04 Joel Brobecker <[email protected]> |
7366 | ||
7367 | * ada-lang.c: #include "cli/cli-utils.h". | |
7368 | (get_selections): Use skip_spaces. | |
7369 | (ada_get_next_arg): Use skip_spaces and skip_to_space. | |
7370 | (catch_ada_exception_command_split): Use skip_spaces. | |
7371 | (ada_decode_assert_location): Likewise. | |
7372 | ||
1dabb4c4 JB |
7373 | 2012-01-04 Joel Brobecker <[email protected]> |
7374 | ||
7375 | * linespec.c (decode_line_internal): Check for C++ or Java | |
7376 | compound constructs only if the current language is C, C++ | |
7377 | or Java. | |
7378 | ||
5931a2fa JK |
7379 | 2012-01-04 Jan Kratochvil <[email protected]> |
7380 | ||
7381 | Revert: | |
7382 | 2012-01-02 Jan Kratochvil <[email protected]> | |
7383 | Joel Brobecker <[email protected]> | |
7384 | Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. | |
7385 | * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to | |
7386 | 3 times. | |
7387 | * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and | |
7388 | fall through into AT_ENTRY_POINT. | |
7389 | (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust | |
7390 | DUMMY_ADDR with it. | |
7391 | * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase | |
7392 | PPC_INSN_SIZE skip to 3 times. | |
7393 | ||
1a2da5ee JB |
7394 | 2012-01-04 Joel Brobecker <[email protected]> |
7395 | ||
7396 | * linespec.c (add_minsym): Preserve function descriptors. | |
7397 | ||
8645ff69 UW |
7398 | 2012-01-04 Ulrich Weigand <[email protected]> |
7399 | ||
7400 | * breakpoint.c (all_locations_are_pending): Consider locations | |
7401 | in program spaces executing during startup pending as well. | |
7402 | ||
0b302171 JB |
7403 | 2012-01-04 Joel Brobecker <[email protected]> |
7404 | ||
7405 | Copyright year update in most files of the GDB Project. | |
7406 | ||
8ba098ad JB |
7407 | 2012-01-04 Joel Brobecker <[email protected]> |
7408 | ||
7409 | * copyright.sh: Delete. | |
7410 | * copyright.py: Rewrite. | |
7411 | ||
09c01c30 JB |
7412 | 2012-01-04 Joel Brobecker <[email protected]> |
7413 | ||
7414 | * gnulib/extra/update-copyright: New file, imported from gnulib. | |
7415 | ||
3c36c0af JB |
7416 | 2012-01-04 Joel Brobecker <[email protected]> |
7417 | ||
7418 | * README (Copyright and License Notices): New section. | |
7419 | ||
888fe1e1 TT |
7420 | 2012-01-03 Tom Tromey <[email protected]> |
7421 | ||
7422 | PR python/12533: | |
7423 | * python/py-value.c (valpy_dereference, valpy_get_address | |
7424 | valpy_get_dynamic_type, valpy_lazy_string, valpy_do_cast) | |
7425 | (valpy_getitem, valpy_call, valpy_binop, valpy_negative) | |
7426 | (valpy_absolute, valpy_richcompare): Free intermediate values. | |
7427 | ||
6e681866 JB |
7428 | 2011-01-03 Joel Brobecker <[email protected]> |
7429 | ||
7430 | * ada-lang.c: Reformat the copyright notice. | |
7431 | ||
0cd09acb JK |
7432 | 2012-01-02 Jan Kratochvil <[email protected]> |
7433 | ||
7434 | * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o. | |
7435 | * configure.tgt (arm*-wince-pe, arm*-*-mingw32ce*, arm*-*-symbianelf*) | |
7436 | (i[34567]86-*-dicos*, i[34567]86-*-cygwin*, i[34567]86-*-mingw32*) | |
7437 | (x86_64-*-dicos*, x86_64-*-mingw*): Remove solib-target.o. | |
7438 | Revert this part of: | |
7439 | 2012-01-02 Jan Kratochvil <[email protected]> | |
7440 | Build gdb directly from *.o files not using libgdb.a. | |
7441 | * Makefile.in (COMMON_OBS): Remove solib-target.o. | |
7442 | ||
12c3e59c JB |
7443 | 2012-01-02 Joel Brobecker <[email protected]> |
7444 | ||
7445 | * gdb/common/gdb_thread_db.h, gdb/dbxread.c, gdb/environ.c, | |
7446 | gdb/gcore.h, gdb/rs6000-tdep.h, gdb/s390-nat.c, gdb/tic6x-tdep.c: | |
7447 | Reformat the copyright header. | |
7448 | ||
11bf1490 JK |
7449 | 2012-01-02 Jan Kratochvil <[email protected]> |
7450 | ||
7451 | Revert this part of: | |
7452 | 2012-01-02 Jan Kratochvil <[email protected]> | |
7453 | Remove the gdbtui binary. | |
7454 | * gdb.c (main): Remove args.interpreter_p initialization. | |
7455 | * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. | |
7456 | * main.h (struct captured_main_args): Remove interpreter_p. | |
7457 | ||
1fef196f JB |
7458 | 2012-01-02 Joel Brobecker <[email protected]> |
7459 | ||
7460 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011. | |
7461 | ||
67827812 JB |
7462 | 2012-01-02 Joel Brobecker <[email protected]> |
7463 | ||
7464 | * top.c (print_gdb_version): Update copyright year. | |
7465 | ||
a4d0b831 YQ |
7466 | 2012-01-02 Yao Qi <[email protected]> |
7467 | ||
7468 | * inf-ptrace.c (inf_ptrace_xfer_partial): Reindent. | |
7469 | ||
b5914469 JK |
7470 | 2012-01-02 Jan Kratochvil <[email protected]> |
7471 | Joel Brobecker <[email protected]> | |
7472 | ||
7473 | Fix regression for gdb.cp/gdb2495.exp with gcc-4.7. | |
7474 | * arch-utils.c (displaced_step_at_entry_point): Incrase BP_LEN skip to | |
7475 | 3 times. | |
7476 | * infcall.c (call_function_by_hand) <AT_SYMBOL>: Move it upwards and | |
7477 | fall through into AT_ENTRY_POINT. | |
7478 | (call_function_by_hand) <AT_ENTRY_POINT>: New variable bp_len. Adjust | |
7479 | DUMMY_ADDR with it. | |
7480 | * ppc-linux-tdep.c (ppc_linux_displaced_step_location): Increase | |
7481 | PPC_INSN_SIZE skip to 3 times. | |
7482 | ||
8da828f7 JK |
7483 | 2012-01-02 Jan Kratochvil <[email protected]> |
7484 | ||
7485 | * amd64-linux-nat.c (update_debug_registers_callback): New comment on | |
7486 | the return value. | |
7487 | * i386-linux-nat.c (update_debug_registers_callback): Likewise. | |
7488 | ||
8574e74b JK |
7489 | 2012-01-02 Jan Kratochvil <[email protected]> |
7490 | ||
7491 | Build gdb directly from *.o files not using libgdb.a. | |
7492 | * Makefile.in (SUBDIR_TUI_OBS): Remove duplicate tui.o. | |
7493 | (COMMON_OBS): Remove solib-target.o. | |
7494 | (LIBGDB_OBS, libgdb.a): Move it before the gdb$(EXEEXT) rule. | |
7495 | (gdb$(EXEEXT)): Replace libgdb.a with $(LIBGDB_OBS). | |
7496 | (LIBGDB_OBS, libgdb.a): Move it above. | |
7497 | * configure.tgt (alpha*-*-linux*, alpha*-*-freebsd*) | |
7498 | (alpha*-*-kfreebsd*-gnu, alpha*-*-netbsd*, alpha*-*-knetbsd*-gnu) | |
7499 | (alpha*-*-openbsd*, am33_2.0*-*-linux*, arm*-wince-pe) | |
7500 | (arm*-*-mingw32ce*, arm*-*-linux*, arm*-*-netbsd*, arm*-*-knetbsd*-gnu) | |
7501 | (arm*-*-openbsd*, cris*, frv-*-*, hppa*-*-hpux*, hppa*-*-linux*) | |
7502 | (hppa*-*-netbsd*, hppa*-*-openbsd*, i[34567]86-*-darwin*) | |
7503 | (i[34567]86-*-dicos*, i[34567]86-*-freebsd*, i[34567]86-*-kfreebsd*-gnu) | |
7504 | (i[34567]86-*-netbsd*, i[34567]86-*-knetbsd*-gnu, i[34567]86-*-openbsd*) | |
7505 | (i[34567]86-*-nto*, i[34567]86-*-solaris2.1[0-9]*) | |
7506 | (x86_64-*-solaris2.1[0-9]*, i[34567]86-*-solaris*, i[34567]86-*-linux*) | |
7507 | (i[34567]86-*-gnu*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*) | |
7508 | (m68*-*-netbsd*, m68*-*-knetbsd*-gnu, m68*-*-openbsd*) | |
7509 | (microblaze*-linux-*, microblaze*-*-linux*, mips*-sgi-irix5*) | |
7510 | (mips*-sgi-irix6*, mips*-*-linux*, mips*-*-netbsd*) | |
7511 | (mips*-*-knetbsd*-gnu, mips64*-*-openbsd*, powerpc-*-netbsd*) | |
7512 | (powerpc-*-knetbsd*-gnu, powerpc-*-openbsd*, powerpc-*-aix*, rs6000-*-*) | |
7513 | (powerpc-*-linux*, powerpc64-*-linux*, powerpc*-*-*, s390*-*-*) | |
7514 | (sh*-*-linux*, sh*-*-netbsdelf*, sh*-*-knetbsd*-gnu, sh*-*-openbsd*) | |
7515 | (sparc-*-linux*, sparc64-*-linux*, sparc*-*-freebsd*) | |
7516 | (sparc*-*-kfreebsd*-gnu, sparc-*-netbsd*, sparc-*-knetbsd*-gnu) | |
7517 | (sparc64-*-netbsd*, sparc64-*-knetbsd*-gnu, sparc-*-openbsd*) | |
7518 | (sparc64-*-openbsd*, sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*) | |
7519 | (sparc-*-solaris2*, sparcv9-*-solaris2*, sparc64-*-solaris2*) | |
7520 | (vax-*-netbsd*, vax-*-knetbsd*-gnu, x86_64-*-darwin*, x86_64-*-dicos*) | |
7521 | (x86_64-*-linux*, x86_64-*-freebsd*, x86_64-*-kfreebsd*-gnu) | |
7522 | (x86_64-*-netbsd*, x86_64-*-knetbsd*-gnu, x86_64-*-openbsd*) | |
7523 | (xtensa*-*-linux*, xtensa*): Remove solib.o from gdb_target_obs. | |
7524 | ||
217bff3e JK |
7525 | 2012-01-02 Jan Kratochvil <[email protected]> |
7526 | ||
7527 | Remove the gdbtui binary. | |
7528 | * .gitignore (/gdbtui): Remove. | |
7529 | * Makefile.in (TUI): Remove. | |
7530 | (SUBDIR_TUI_OBS): Remove tui-main.o. | |
7531 | (SUBDIR_TUI_SRCS): Remove tui/tui-main.c. | |
7532 | (all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui) | |
7533 | (tui-main.o): Remove. | |
7534 | (all_object_files): Remove tui-main.o. | |
7535 | * NEWS: New note for the gdbtui removal. | |
7536 | * configure: Rebuilt. | |
7537 | * configure.ac: No longer add all-tui, clean-tui, install-tui and | |
7538 | uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and | |
7539 | CONFIG_UNINSTALL respectively. | |
7540 | * gdb.c (main): Remove args.interpreter_p initialization. | |
7541 | * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. | |
7542 | * main.h (struct captured_main_args): Remove interpreter_p. | |
7543 | * tui/tui-main.c: Remove. | |
7544 | ||
9cdd5dbd DE |
7545 | 2012-01-01 Doug Evans <[email protected]> |
7546 | ||
bb5ed363 DE |
7547 | * dwarf2read.c (dwarf2_compute_name): Simplify objfile references. |
7548 | (dwarf2_physname, read_import_statement): Ditto. | |
7549 | (read_call_site_scope, dwarf2_record_block_ranges): Ditto. | |
7550 | (process_structure_scope read_subroutine_type): Ditto. | |
7551 | (read_typedef, load_partial_dies, read_partial_die): Ditto. | |
7552 | (find_partial_die, dwarf_decode_lines, lookup_die_type): Ditto. | |
7553 | (dwarf2_fetch_die_location_block): Ditto. | |
7554 | (dwarf_decode_macros, dwarf2_symbol_mark_computed): Ditto. | |
7555 | ||
a0f42c21 DE |
7556 | * dwarf2read.c (read_signatured_type): Delete `objfile' arg. |
7557 | All callers updated. | |
7558 | (load_full_comp_unit, queue_comp_unit, process_queue): Ditto. | |
7559 | (dw2_do_instantiate_symtab, dw2_instantiate_symtab): Ditto. | |
7560 | (process_psymtab_comp_unit, load_partial_comp_unit): Ditto. | |
7561 | ||
2dc860c0 DE |
7562 | * dwarf2read.c (load_cu): Move assert to more useful location. |
7563 | ||
68dc6402 DE |
7564 | * dwarf2read.c (free_heap_comp_unit): Renamed from free_one_comp_unit. |
7565 | All callers updated. | |
7566 | ||
9cdd5dbd DE |
7567 | * dwarf2read.c (dwarf2_per_objfile): Add comment. |
7568 | (dwarf2_elf_names): Minor reformat. | |
7569 | (dwarf2_per_cu_data): Tweak comment. | |
7570 | (dwarf2_read_section): Fix comment. | |
7571 | (create_all_comp_units): Fix comment. | |
7572 | (load_full_comp_unit): Fix comment. | |
7573 | (process_full_comp_unit): Fix comment. | |
7574 | (read_signatured_type): Fix comment. | |
7575 | ||
0c10e53e | 7576 | For older changes see ChangeLog-2011. |
c906108c SS |
7577 | \f |
7578 | Local Variables: | |
7579 | mode: change-log | |
7580 | left-margin: 8 | |
7581 | fill-column: 74 | |
7582 | version-control: never | |
57da7796 | 7583 | coding: utf-8 |
c906108c | 7584 | End: |