]>
Commit | Line | Data |
---|---|---|
aa59ba6b UW |
1 | 2008-05-22 Ulrich Weigand <[email protected]> |
2 | ||
3 | * symtab.h (enum address_class): Remove LOC_LOCAL_ARG. | |
4 | ||
5 | * ada-exp.y (select_possible_type_sym): Do not handle LOC_LOCAL_ARG. | |
6 | * ada-lang.c (resolve_subexp, symtab_for_sym): Likewise. | |
7 | (ada_add_block_symbols): Likewise. | |
8 | * ax-gdb.c (gen_var_ref): Likewise. | |
9 | * buildsyms.c (finish_block): Likewise. | |
10 | * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. | |
11 | * m2-exp.y (yylex): Likewise. | |
12 | * mi/mi-cmd-stack.c (list_args_or_locals): Likewise. | |
13 | * printcmd.c (address_info): Likewise. | |
14 | * stack.c (print_frame_args, print_frame_arg_vars): Likewise. | |
15 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
16 | * symtab.c (lookup_block_symbol): Likewise. | |
17 | * tracepoint.c (collect_symbol, add_local_symbols): Likewise. | |
18 | (scope_info): Likewise. | |
19 | ||
0bb4e8c4 UW |
20 | 2008-05-22 Ulrich Weigand <[email protected]> |
21 | ||
22 | * symtab.h (enum address_class): Remove LOC_INDIRECT and | |
23 | LOC_HP_THREAD_LOCAL_STATIC. | |
24 | ||
25 | * findvar.c (symbol_read_needs_frame, read_var_value): Do not | |
26 | handle LOC_INDIRECT or LOC_HP_THREAD_LOCAL_STATIC. | |
27 | (read_var_value): Likewise. | |
28 | * buildsym.c (finish_block): Likewise. | |
29 | * objfiles.c (objfile_relocate): Likewise. | |
30 | * printcmd.c (address_info): Likewise. | |
31 | * symmisc.c (print_symbol, print_partial_symbols): Likewise. | |
32 | * tracepoint.c (scope_info): Likewise. | |
33 | ||
9f61f19b MG |
34 | 2008-05-21 Markus Deuling <[email protected]> |
35 | Maxim Grigoriev <[email protected]> | |
36 | ||
37 | * xtensa-tdep.c (xtensa_read_register): Remove. | |
38 | (xtensa_frame_cache): Get rid of xtensa_read_register. Pass extra | |
39 | argument litbase to call0_frame_cache(). | |
40 | (call0_track_op, call0_analyze_prologue) | |
41 | (call0_frame_cache): Use extra argument litbase. | |
42 | ||
0e479716 JB |
43 | 2008-05-21 Joel Brobecker <[email protected]> |
44 | ||
45 | * infcmd.c (_initialize_infcmd): Add new "fin" alias for "finish". | |
46 | ||
214be669 UW |
47 | 2008-05-21 Ulrich Weigand <[email protected]> |
48 | ||
49 | * frame.h (SIZEOF_FRAME_SAVED_REGS): Remove. | |
50 | ||
0cd9ab92 UW |
51 | 2008-05-21 Ulrich Weigand <[email protected]> |
52 | ||
53 | * alpha-mdebug-tdep.c: Include "trad-frame.h". | |
54 | (struct alpha_mdebug_unwind_cache): Change type of SAVED_REGS to | |
55 | struct trad_frame_saved_reg *. | |
56 | (alpha_mdebug_frame_unwind_cache): Allocate SAVED_REGS using | |
57 | trad_frame_alloc_saved_regs. Update accesses. Record previous | |
58 | value of SP as being vfp. | |
59 | (alpha_mdebug_frame_prev_register): Use trad_frame_get_prev_register. | |
60 | * Makefile.in (alpha-mdebug-tdep.o): Update dependencies. | |
61 | ||
f52cb1b8 MD |
62 | 2008-05-21 Markus Deuling <[email protected]> |
63 | ||
64 | * score-tdep.c (score_print_insn): Get the current endianess from | |
65 | disassemble_info instead of gdbarch_byte_order. | |
66 | ||
8fa75a5d PA |
67 | 2008-05-21 Pedro Alves <[email protected]> |
68 | ||
69 | * frame.c (get_prev_frame_1): Build frame id before setting | |
70 | this_frame->prev_p, not after. | |
71 | ||
e8e48118 NR |
72 | 2008-05-21 Nick Roberts <[email protected]> |
73 | ||
74 | * annotate.c (annotate_new_thread): New function for new-thread | |
75 | annotation. | |
76 | * annotate.h: (annotate_new_thread): New extern. | |
77 | * thread.c (add_thread_with_info): Use it. | |
78 | * Makefile.in (thread.o): Add dependency on annotate.h. | |
79 | ||
c57918b2 JB |
80 | 2008-05-20 Joel Brobecker <[email protected]> |
81 | ||
82 | * win32-nat.c (win32_wait): Block the control-c event while | |
83 | waiting for a debug event. | |
84 | ||
6c9353d3 PA |
85 | 2008-05-19 Pedro Alves <[email protected]> |
86 | ||
87 | * symtab.h (lookup_symbol_in_language): Update comment. | |
88 | * symtab.c (lookup_symbol_aux_block): Update comment. | |
89 | * ada-lang.c (ada_lookup_symbol_list): Update comment. | |
90 | ||
2570f2b7 UW |
91 | 2008-05-19 Ulrich Weigand <[email protected]> |
92 | ||
93 | * symtab.h (lookup_symbol_in_language): Remove SYMTAB parameter. | |
94 | (lookup_symbol): Likewise. | |
95 | * symtab.c (lookup_symbol_in_language): Remove SYMTAB parameter. | |
96 | (lookup_symbol): Likewise. | |
97 | (search_symbols): Update. | |
98 | ||
99 | * linespec.c (find_methods, collect_methods): Update. | |
100 | (add_matching_methods, add_constructors): Update. | |
101 | (decode_compound, decode_dollar, decode_variable): Update. | |
102 | (lookup_prefix_sym): Update. | |
103 | ||
104 | (symbol_found): Remove SYM_SYMTAB parameter. | |
105 | Use SYMBOL_SYMTAB (sym) instead. | |
106 | ||
107 | * gdbtypes.c (lookup_typename): Update. | |
108 | (lookup_struct, lookup_union, lookup_enum): Update. | |
109 | (lookup_template_type): Update. | |
110 | (check_typedef): Update. | |
111 | * language.c (lang_bool_type): Update. | |
112 | * mdebugread.c (parse_procedure): Update. | |
113 | * mi/mi-cmd-stack.c (list_args_or_locals): Update. | |
114 | * parse.c (write_dollar_variable): Update. | |
115 | * printcmd.c (address_info): Update. | |
116 | * source.c (select_source_symtab): Update. | |
117 | * stack.c (print_frame_args, print_frame_arg_vars): Update. | |
118 | * valops.c (find_function_in_inferior): Update. | |
119 | (value_struct_elt_for_reference): Update. | |
120 | * value.c (value_static_field, value_fn_field): Update. | |
121 | ||
122 | * alpha-mdebug-tdep.c (find_proc_desc): Update. | |
123 | * arm-tdep.c (arm_skip_prologue): Update. | |
124 | * mt-tdep.c (mt_skip_prologue): Update. | |
125 | * xstormy16-tdep.c (xstormy16_skip_prologue): Update. | |
126 | ||
127 | * ada-lang.h (struct ada_symbol_info): Remove SYMTAB member. | |
128 | * ada-lang.c (ada_add_block_symbols): Remove SYMTAB parameter. | |
129 | (add_defn_to_vec): Likewise. | |
130 | (ada_add_block_symbols): Likewise. | |
131 | (lookup_cached_symbol, cache_symbol): Likewise. | |
132 | (standard_lookup): Update. | |
133 | (ada_lookup_symbol_list): Update. | |
134 | ||
135 | * c-valprint.c (c_val_print): Update. | |
136 | * cp-support.c (cp_lookup_rtti_type): Update. | |
137 | * jv-lang.c (java_lookup_class, get_java_object_type): Update. | |
138 | * objc-lang.c (lookup_struct_typedef, find_imps): Update. | |
139 | * p-valprint.c (pascal_val_print): Update. | |
140 | * scm-lang.c (scm_lookup_name): Update. | |
141 | ||
142 | * c-exp.y: Update. | |
143 | * f-exp.y: Update. | |
144 | * jv-exp.y: Update. | |
145 | * m2-exp.y: Update. | |
146 | * objc-exp.y: Update. | |
147 | * p-exp.y: Update. | |
148 | ||
21b556f4 UW |
149 | 2008-05-19 Ulrich Weigand <[email protected]> |
150 | ||
151 | * language.h (struct language_defn): Remove SYMTAB parameter from | |
152 | la_lookup_symbol_nonlocal callback function pointer. | |
153 | ||
154 | * ada-lang.h (ada_lookup_encoded_symbol): Remove SYMTAB parameter. | |
155 | (ada_lookup_encoded_symbol): Likewise. | |
156 | * ada-lang.c (ada_lookup_encoded_symbol): Remove SYMTAB parameter. | |
157 | Always call fixup_symbol_section. | |
158 | (ada_lookup_symbol): Remove SYMTAB parameter. | |
159 | (ada_lookup_symbol_nonlocal): Likewise. | |
160 | * ada-exp.y (write_object_renaming): Update. | |
161 | (find_primitive_type): Likewise. | |
162 | ||
163 | * cp-support.h (cp_lookup_symbol_nonlocal): Remove SYMTAB parameter. | |
164 | (cp_lookup_symbol_namespace): Likewise. | |
165 | * cp-namespace.c (lookup_namespace_scope): Remove SYMTAB parameter. | |
166 | (lookup_symbol_file): Likewise. | |
167 | (lookup_possible_namespace_symbol): Likewise. | |
168 | (cp_lookup_symbol_nonlocal): Likewise. | |
169 | (cp_lookup_symbol_namespace): Likewise. | |
170 | (cp_lookup_nested_type): Update. | |
171 | ||
172 | * scm-valprint.c (scm_inferior_print): Update. | |
173 | * valops.c (value_maybe_namespace_elt): Update. | |
174 | ||
175 | * solist.h (struct target_so_ops): Remove SYMTAB parameter from | |
176 | lookup_lib_global_symbol callback function pointer. | |
177 | (solib_global_lookup): Remove SYMTAB parameter. | |
178 | * solib.c (solib_global_lookup): Remove SYMTAB parameter. | |
179 | * solib-svr4.c (elf_lookup_lib_symbol): Likewise. | |
180 | ||
181 | * symtab.h (basic_lookup_symbol_nonlocal): Remove SYMTAB parameter. | |
182 | (lookup_symbol_static): Likewise. | |
183 | (lookup_symbol_global): Likewise. | |
184 | (lookup_symbol_aux_block): Likewise. | |
185 | (lookup_global_symbol_from_objfile): Likewise. | |
186 | * symtab.c (lookup_symbol_aux): Remove SYMTAB parameter. | |
187 | (lookup_symbol_aux_local): Likewise. | |
188 | (lookup_symbol_aux_block): Likewise. | |
189 | (lookup_symbol_aux_symtabs): Likewise. | |
190 | (lookup_symbol_aux_psymtabs): Likewise. | |
191 | (lookup_global_symbol_from_objfile): Likewise. | |
192 | (basic_lookup_symbol_nonlocal): Likewise. | |
193 | (lookup_symbol_static): Likewise. | |
194 | (lookup_symbol_global): Likewise. | |
195 | ||
196 | (lookup_symbol_in_language): Do not pass SYMTAB to lookup_symbol_aux. | |
197 | ||
39237dd1 PA |
198 | 2008-05-17 Pedro Alves <[email protected]> |
199 | ||
200 | * remote.c (init_extended_remote_ops): Fix typo. | |
201 | ||
7c0d47a5 PA |
202 | 2008-05-16 Pedro Alves <[email protected]> |
203 | ||
204 | * NEWS: Mention new DICOS x86 target configuration. | |
205 | ||
907fc202 UW |
206 | 2008-05-16 Pedro Alves <[email protected]> |
207 | Ulrich Weigand <[email protected]> | |
208 | ||
209 | * minsyms.c (lookup_minimal_symbol_by_pc_name): New function. | |
210 | * symtab.h (lookup_minimal_symbol_by_pc_name): Add prototype. | |
211 | ||
212 | * symtab.c (fixup_section): Remove prototype. Add ADDR parameter; | |
213 | use it instead of ginfo->value.address. Look up minimal symbol by | |
214 | address and name. Assume OBJFILE is non-NULL. | |
215 | (fixup_symbol_section): Ensure we always have an objfile to look | |
216 | into. Extract and pass to fixup_section the symbol's address that | |
217 | will match the minimal symbol's address. | |
218 | (fixup_psymbol_section): Likewise. | |
219 | ||
220 | (find_pc_sect_psymtab): Fall back to non-addrmap case when debugging | |
221 | overlays and the addrmap returned the wrong section. | |
222 | ||
223 | * dwarf2read.c (var_decode_location): Set SYMBOL_CLASS before | |
224 | calling fixup_symbol_section. | |
225 | ||
42848c96 UW |
226 | 2008-05-16 Ulrich Weigand <[email protected]> |
227 | ||
228 | * minsyms.c: Include "target.h". | |
229 | (find_solib_trampoline_target): Handle minimal symbols pointing | |
230 | to function descriptors as well. | |
231 | * Makefile.in (minsyms.o): Update dependencies. | |
232 | ||
233 | * ppc-linux-tdep.c (ppc64_standard_linkage): Rename to ... | |
234 | (ppc64_standard_linkage1): ... this. Fix optional instructions. | |
235 | (PPC64_STANDARD_LINKAGE_LEN): Rename to ... | |
236 | (PPC64_STANDARD_LINKAGE1_LEN): ... this. | |
237 | (ppc64_standard_linkage2, ppc64_standard_linkage3): New. | |
238 | (PPC64_STANDARD_LINKAGE2_LEN, PPC64_STANDARD_LINKAGE3_LEN): New. | |
239 | (ppc64_standard_linkage_target): Rename to ... | |
240 | (ppc64_standard_linkage1_target): ... this. | |
241 | (ppc64_standard_linkage2_target, ppc64_standard_linkage3_target): New. | |
242 | (ppc64_skip_trampoline_code): Support three variants of standard | |
243 | linkage stubs. Call find_solib_trampoline_target to handle | |
244 | glink stubs. | |
245 | ||
74d1f063 UW |
246 | 2008-05-16 Ulrich Weigand <[email protected]> |
247 | ||
248 | * ppc-linux-tdep.c (ppc_linux_init_abi): Do not install | |
249 | ppc64_sysv_abi_adjust_breakpoint_address. | |
250 | * ppc-sysv-tdep.c (ppc64_sysv_abi_adjust_breakpoint_address): Remove. | |
251 | * ppc-tdep.h (ppc64_sysv_abi_adjust_breakpoint_address): Remove. | |
252 | ||
8526f328 UW |
253 | 2008-05-16 Ulrich Weigand <[email protected]> |
254 | ||
255 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Remove. | |
256 | (ppc_linux_init_abi): Install find_solib_trampoline_target instead | |
257 | of ppc_linux_skip_trampoline_code. | |
258 | ||
ba2b1c56 DJ |
259 | 2008-05-15 Daniel Jacobowitz <[email protected]> |
260 | ||
261 | * gdbarch.sh: Delete dwarf_reg_to_regnum. | |
262 | * gdbarch.c, gdbarch.h: Regenerated. | |
263 | * amd64-tdep.c, arm-tdep.c, h8300-tdep.c, hppa-linux-tdep.c, | |
264 | hppa-tdep.c, i386-tdep.c, m32c-tdep.c, m68k-tdep.c, mips-tdep.c, | |
265 | s390-tdep.c, xtensa-tdep.c: Do not set dwarf_reg_to_regnum. | |
266 | ||
4fdebdd0 PA |
267 | 2008-05-15 Pedro Alves <[email protected]> |
268 | ||
269 | * linux-nat.c (trap_ptid): Delete. | |
270 | (linux_nat_detach, linux_nat_wait, linux_nat_mourn_inferior): | |
271 | Adjust. | |
272 | * linux-thread-db.c (thread_db_wait): Adjust. | |
273 | ||
bc882aa9 JB |
274 | 2008-05-15 Joel Brobecker <[email protected]> |
275 | ||
276 | * linespec.c (decode_line_1): Fix a couple of comments. | |
277 | ||
83b94be5 AM |
278 | 2008-05-15 Alan Modra <[email protected]> |
279 | ||
280 | * dbxread.c: Formatting. | |
281 | (INTERNALIZE_SYMBOL): Init n_other. | |
282 | (set_namestring): Take pointer to nlist arg rather than struct | |
283 | copy. Update all callers. | |
284 | ||
87669130 AS |
285 | 2008-05-15 Andreas Schwab <[email protected]> |
286 | ||
287 | * Makefile.in (dwarf2loc.o): Remove $(addrmap_h). | |
288 | (dwarf2read.o): Add $(addrmap_h). | |
289 | ||
00d5f93a UW |
290 | 2008-05-14 Ulrich Weigand <[email protected]> |
291 | ||
292 | * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Rename ... | |
293 | (ppc64_linux_convert_from_func_ptr_addr): ... to this. No longer try | |
294 | to handle ppc32 PLT entries. | |
295 | (ppc_linux_init_abi): Install ppc64_linux_convert_from_func_ptr_addr | |
296 | only on ppc64. | |
297 | ||
2eaf8d2a DJ |
298 | 2008-05-14 Daniel Jacobowitz <[email protected]> |
299 | ||
300 | * elfread.c (elf_symtab_read): Create trampolines for @plt symbols. | |
301 | * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Renamed from | |
302 | lookup_minimal_symbol_by_pc_section. Prefer trampolines if requested. | |
303 | (lookup_minimal_symbol_by_pc_section): Use | |
304 | lookup_minimal_symbol_by_pc_section_1. | |
305 | (lookup_solib_trampoline_symbol_by_pc): Likewise. | |
306 | ||
20c62566 JB |
307 | 2008-05-13 Joel Brobecker <[email protected]> |
308 | ||
309 | * findcmd.c: Add #include "gdb_stdint.h". | |
310 | * Makefile.in (findcmd.o): Update dependencies. | |
311 | ||
87a7da84 DM |
312 | 2008-05-11 David S. Miller <[email protected]> |
313 | ||
de0c3d9d DM |
314 | * sparc-linux-tdep.c (sparc32_linux_init_abi): Remove |
315 | long double size override, Linux does use 128-bit now. | |
316 | ||
e8467b5a DM |
317 | * sparc-linux-tdep.c (PSR_SYSCALL): Define. |
318 | (sparc_linux_write_pc): New function. | |
319 | (sparc32_linux_init_abi): Register it. | |
320 | * sparc64-linux-tdep.c (TSTATE_SYSCALL): Define. | |
321 | (sparc64_linux_write_pc): New function. | |
322 | (sparc64_linux_init_abi): Register it. | |
323 | ||
87a7da84 DM |
324 | * sparc-linux-tdep.c, sparc64-linux-tdep.c: Use |
325 | dwarf2_append_unwinders(), not dwarf2_frame_sniffer. | |
326 | ||
8a4c2d24 UW |
327 | 2008-05-11 Ulrich Weigand <[email protected]> |
328 | ||
329 | * rs6000-tdep.c (rs6000_gdbarch_init): Set up info.target_desc | |
330 | and info.tdep_info before calling gdbarch_init_osabi. | |
331 | ||
003f3813 JB |
332 | 2008-05-09 Joel Brobecker <[email protected]> |
333 | ||
334 | * ada-lang.c (ada_evaluate_subexp) [BINOP_ASSIGN]: Do not force | |
335 | the type of the right hand side of the assignment to the type | |
336 | of the left hand side if the left hand side is a convenience | |
337 | variable. | |
338 | ||
7ae0e2a2 UW |
339 | 2008-05-09 Ulrich Weigand <[email protected]> |
340 | ||
341 | * NEWS: Mention gdbserver bi-arch capability. | |
342 | ||
08388c79 DE |
343 | 2008-05-09 Doug Evans <[email protected]> |
344 | ||
345 | New "find" command. | |
346 | * NEWS: Document find command and qSearch:memory packet. | |
347 | * Makefile.in (SFILES): Add findcmd.c. | |
348 | (COMMON_OBJS): Add findcmd.o. | |
349 | (findcmd.o): New rule. | |
350 | * findcmd.c: New file. | |
351 | * target.h (target_ops): New member to_search_memory. | |
352 | (simple_search_memory): Declare. | |
353 | (target_search_memory): Declare. | |
354 | * target.c (simple_search_memory): New fn. | |
355 | (target_search_memory): New fn. | |
356 | * remote.c (PACKET_qSearch_memory): New packet kind. | |
357 | (remote_search_memory): New fn. | |
358 | (init_remote_ops): Init to_search_memory. | |
359 | (init_extended_remote_ops): Ditto. | |
360 | (_initialize_remote): Add qSearch:memory packet config command. | |
361 | ||
11c68c47 EZ |
362 | 2008-05-09 Eli Zaretskii <[email protected]> |
363 | ||
364 | * thread.c (_initialize_thread): Don't use commas and periods in | |
365 | first line of doc string of "set/show print thread-events". | |
366 | ||
6834c9bb JB |
367 | 2008-05-08 Joel Brobecker <[email protected]> |
368 | ||
369 | * alpha-mdebug-tdep.c, alpha-osf1-tdep.c, alpha-tdep.c: | |
370 | Update for unwinder changes. | |
371 | ||
86c31399 JB |
372 | 2008-05-08 Joel Brobecker <[email protected]> |
373 | ||
374 | * frame.c (get_frame_base_address, get_frame_locals_address) | |
375 | (get_frame_args_address): Pass the correct frame when calling | |
376 | frame_base_find_by_frame. | |
377 | ||
96ef3384 UW |
378 | 2008-05-08 Ulrich Weigand <[email protected]> |
379 | ||
380 | * remote.c (extended_remote_attach_1): Call target_find_description. | |
381 | ||
45280a52 DJ |
382 | 2008-05-08 Daniel Jacobowitz <[email protected]> |
383 | ||
384 | * remote.c (extended_remote_create_inferior_1): Clean up | |
385 | before marking the target running. | |
386 | ||
227e86ad JB |
387 | 2008-05-08 Joel Brobecker <[email protected]> |
388 | ||
389 | * hppa-tdep.h, hppa-tdep.c, hppa-hpux-tdep.c: Update for unwinder | |
390 | changes. | |
391 | ||
236369e7 JB |
392 | 2008-05-07 Joel Brobecker <[email protected]> |
393 | ||
394 | * sparc-tdep.c, sparc-tdep.h, sparc-sol2-tdep.c, sparc64-tdep.c, | |
395 | sparc64-sol2-tdep.c: Update for unwinder changes. | |
396 | ||
de237128 DJ |
397 | 2008-05-07 Daniel Jacobowitz <[email protected]> |
398 | ||
399 | * cp-support.c (mangled_name_to_comp): Initialize storage. | |
400 | (unqualified_name_from_comp): Likewise. | |
401 | ||
4fff2411 JZ |
402 | 2008-05-07 Jie Zhang <[email protected]> |
403 | ||
404 | * remote.c (remote_insert_breakpoint): Call get_remote_state | |
405 | after gdbarch_breakpoint_from_pc is called. | |
406 | (remote_insert_hw_breakpoint): Likewise. | |
407 | ||
d8ca156b JB |
408 | 2008-05-06 Joel Brobecker <[email protected]> |
409 | ||
410 | * valprint.c (val_print): Add new language parameter and use it | |
411 | instead of using the current_language. Update calls to val_print | |
412 | throughout. | |
413 | (common_val_print): Add new langauge parameter and pass it to | |
414 | val_print. | |
415 | * value.h (struct language_defn): Add opaque declaration. | |
416 | (val_print, common_val_print): Update declarations. | |
417 | * stack.c (print_frame_args): Update call to common_val_print | |
418 | using the appropriate language. | |
419 | * mi/mi-cmd-stack.c (list_args_or_locals): Likewise. | |
420 | * c-valprint, f-valprint.c, m2-valprint.c, mt-tdep.c, infcmd.c, | |
421 | mi/mi-main.c, jv-valprint.c, ada-valprint.c, varobj.c, p-valprint.c, | |
422 | scm-valprint.c, cp-valprint.c, sh64-tdep.c, printcmd.c: | |
423 | #include "language.h" if necessary. | |
424 | Update calls to val_print and common_val_print. | |
425 | * Makefile.in (mt-tdep.o, sh64-tdep.o, mi-cmds.o, mi-main.o): | |
426 | Update dependencies. | |
427 | ||
b1e6fd19 JB |
428 | 2008-05-06 Joel Brobecker <[email protected]> |
429 | ||
430 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Treat addresses | |
431 | pointing inside a non-executable section as function descriptors. | |
432 | ||
02b19d84 PA |
433 | 2008-05-06 Pedro Alves <[email protected]> |
434 | ||
435 | * inf-loop.c (inferior_event_handler): Run all continuations and | |
436 | print any language change before running the breakpoint commands. | |
437 | ||
15c1e57f JB |
438 | 2008-05-06 Joel Brobecker <[email protected]> |
439 | ||
440 | * frame-unwind.c (frame_unwind_got_bytes): New function. | |
441 | * frame-unwind.h (frame_unwind_got_bytes): Add declaration. | |
442 | * libunwind-frame.h, libunwind-frame.c, ia64-tdep.c: Update | |
443 | for unwinder changes. | |
444 | ||
d14508fe DE |
445 | 2008-05-05 Doug Evans <[email protected]> |
446 | ||
447 | * NEWS: Mention new /m modifier for disassemble command. | |
448 | * cli/cli-cmds.c (print_disassembly): New function. | |
449 | (disassemble_current_function): New function | |
450 | (disassemble_command): Recognize /m modifier, print mixed | |
451 | source+assembly. | |
452 | (init_cli_cmds): Update disassemble help text. | |
453 | ||
5142f611 MG |
454 | 2008-05-05 Maxim Grigoriev <[email protected]> |
455 | ||
456 | * xtensa-tdep.c: Update for unwinder changes. | |
457 | ||
f36bf22c AS |
458 | 2008-05-05 Andreas Schwab <[email protected]> |
459 | ||
460 | Update m68k port for unwinder changes. | |
461 | * m68k-tdep.c (m68k_frame_cache): Expect this_frame. | |
462 | (m68k_frame_this_id, m68k_frame_prev_register): Update signature. | |
463 | (m68k_frame_unwind): Use default_frame_sniffer. | |
464 | (m68k_frame_sniffer): Remove. | |
465 | (m68k_frame_base_address): Expect this_frame. | |
466 | (m68k_dummy_id): Renamed from m68k_unwind_dummy_id. Expect | |
467 | this_frame. | |
468 | (m68k_gdbarch_init): Use set_gdbarch_dummy_id, | |
469 | dwarf2_append_unwinders, and frame_unwind_append_unwinder. | |
470 | * m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Expect frame_info | |
471 | parameter instead of pc value. | |
472 | (m68k_linux_get_sigtramp_info, m68k_linux_sigtramp_frame_cache): | |
473 | Expect this_frame. | |
474 | (m68k_linux_sigtramp_frame_this_id) | |
475 | (m68k_linux_sigtramp_frame_prev_register) | |
476 | (m68k_linux_sigtramp_frame_sniffer): Update signature. | |
477 | (m68k_linux_sigtramp_frame_unwind): Use | |
478 | m68k_linux_sigtramp_frame_sniffer. | |
479 | (m68k_linux_init_abi): Use frame_unwind_append_unwinder. | |
480 | ||
481 | * m68klinux-nat.c (store_register): Fix typo. | |
482 | ||
b3dc826b PA |
483 | 2008-05-05 Pedro Alves <[email protected]> |
484 | ||
485 | * infcmd.c (step_1): Put thread id on the stack to avoid possible | |
486 | NULL dereferencing. | |
487 | ||
6528a9ea LM |
488 | 2008-05-05 Luis Machado <[email protected]> |
489 | ||
490 | * symfile.c (reread_symbols): Update objfile's entry point. | |
491 | ||
5eeb2539 AR |
492 | 2008-05-05 Aleksandar Ristovski <[email protected]> |
493 | Joel Brobecker <[email protected]> | |
1f906a60 | 494 | |
5eeb2539 AR |
495 | * ada-lang.c: Update throughout to use symbol_matches_domain |
496 | instead of matching the symbol domain explictly. | |
497 | * dwarf2read.c (add_partial_symbol): Do not add new psym for | |
f36bf22c | 498 | STRUCT_DOMAIN. Make sure you recognize c++ struct and java and ada |
5eeb2539 | 499 | class as typedefs. See lookup_partial_symbol function. |
f36bf22c | 500 | (new_symbol): Similar to add_partial_symbol, do not create |
5eeb2539 AR |
501 | symbol for the typedef. See lookup_block_symbol. |
502 | * symtab.c (symbol_matches_domain): New function, takes care | |
503 | of dual meaning of STRUCT_DOMAIN symbol for c++, ada and java. | |
504 | (lookup_partial_symbol): Use symbol_matches_domain to see if the | |
505 | found psym domain matches the given domain. | |
506 | (lookup_block_symbol): Likewise. | |
507 | ||
e2b7ddea VP |
508 | 2008-05-05 Vladimir Prus <[email protected]> |
509 | ||
510 | * top.c (command_line_handler_continuation): Remove. | |
511 | (execute_command): Do not install the above. | |
512 | ||
fcfb8b02 VP |
513 | 2008-05-05 Vladimir Prus <[email protected]> |
514 | ||
515 | * inf-loop.c (inferior_event_handler): Call bpstat_do_action, | |
516 | and catch all exceptions from it. | |
517 | * top.c (command_line_handler_continuation): Don't | |
518 | call bpstat_do_action here. | |
519 | ||
f792889a DJ |
520 | 2008-05-04 Daniel Jacobowitz <[email protected]> |
521 | ||
522 | * dwarf2read.c (struct dwarf2_cu): Add type_hash. | |
523 | (struct die_info): Remove type. | |
524 | (read_type_die, read_typedef, read_base_type, read_subrange_type) | |
525 | (read_structure_type, read_enumeration_type, read_array_type) | |
526 | (read_tag_pointer_type, read_tag_ptr_to_member_type) | |
527 | (read_tag_reference_type, read_tag_const_type, read_tag_volatile_type) | |
528 | (read_tag_string_type, read_subroutine_type, read_set_type) | |
529 | (read_unspecified_type): Delete prototypes. Remove check for | |
530 | already-loaded type. Return the new type. | |
531 | (set_die_type): Return the new type. | |
532 | (reset_die_and_siblings_types): Delete. | |
533 | (load_comp_unit, load_full_comp_unit): Set type_hash. | |
534 | (process_queue): Remove call to reset_die_and_siblings_types. | |
535 | (process_die): Do not read most types here. Use read_type_die | |
536 | for others. | |
537 | (read_func_scope, dwarf2_add_member_fn): Use read_type_die. | |
538 | (quirk_gcc_member_function_pointer): Return the new type. | |
539 | (process_structure_scope, process_enumeration_scope): Use | |
540 | get_die_type and read the DIE's type. | |
541 | (read_full_die): Do not initialize die->type. | |
542 | (tag_type_to_type): Use read_type_die. | |
543 | (read_type_die): Check for already defined types. Return the | |
544 | type. | |
545 | (determine_prefix): Use get_die_type. | |
546 | (set_die_type): Return the type. | |
547 | (get_die_type): Take a CU argument. Check for no type_hash. | |
548 | ||
e7030f15 DJ |
549 | 2008-05-04 Daniel Jacobowitz <[email protected]> |
550 | ||
551 | * dwarf2read.c (dwarf2_ranges_read, read_partial_die): Initialize | |
552 | locals. | |
553 | ||
611c83ae PA |
554 | 2008-05-04 Pedro Alves <[email protected]> |
555 | ||
556 | * breakpoint.c (update_breakpoints_after_exec): Delete bp_longjmp | |
557 | and bp_longjmp_resume breakpoints. | |
558 | (breakpoint_address_is_meaningful): Claim bp_longjmp_resume as | |
559 | meaningful. | |
560 | (create_longjmp_breakpoint): Don't create bp_longjmp_resume | |
561 | breakpoints. Create bp_longjmp breakpoints as momentary | |
562 | breakpoints. | |
563 | (enable_longjmp_breakpoint): Delete. | |
564 | (set_longjmp_breakpoint): New. | |
565 | (disable_longjmp_breakpoint): Delete. | |
566 | (delete_longjmp_breakpoint): New. | |
567 | (set_longjmp_resume_breakpoint): Delete. | |
568 | (set_momentary_breakpoint_at_pc): New. | |
569 | (breakpoint_re_set_one): Don't delete bp_longjmp and | |
570 | bp_longjmp_resume breakpoints. | |
571 | (breakpoint_re_set): Don't create longjmp and longjmp-resume | |
572 | breakpoints. | |
573 | ||
574 | * infrun.c (step_resume_breakpoint): Add comment. | |
575 | (struct execution_control_state): Delete handling_longjmp member. | |
576 | (init_execution_control_state). Don't clear handling_longjmp. | |
577 | (context_switch): Don't context switch handling_longjmp. | |
578 | (handle_inferior_event): If handling a bp_longjmp breakpoint, | |
579 | create a bp_longjmp_resume breakpoint, and set it as current | |
580 | step_resume_breakpoint, then step over the longjmp breakpoint. If | |
581 | handling a bp_longjmp_resume breakpoint, don't delete the longjmp | |
582 | breakpoint, delete the longjmp-resume breakpoint, and stop | |
583 | stepping. | |
584 | (currently_stepping): Remove handling_longjmp from expression. | |
585 | (insert_step_resume_breakpoint_at_sal): Update comment. | |
586 | (insert_longjmp_resume_breakpoint): New. | |
587 | ||
588 | * breakpoint.h (set_momentary_breakpoint_at_pc): Declare. | |
589 | (enable_longjmp_breakpoint, disable_longjmp_breakpoint): Delete | |
590 | declarations. | |
591 | (set_longjmp_breakpoint, delete_longjmp_breakpoint): Declare. | |
592 | (set_longjmp_resume_breakpoint): Delete declaration. | |
593 | ||
594 | * gdbthread.h (save_infrun_state): Remove handling_longjmp | |
595 | parameter. | |
596 | (load_infrun_state): Delete *handling_longjmp parameter. | |
597 | * thread.c (save_infrun_state): Remove handling_longjmp parameter. | |
598 | Update body. | |
599 | (load_infrun_state): Delete *handling_longjmp parameter. Update | |
600 | body. | |
601 | ||
602 | * infcmd.c (disable_longjmp_breakpoint_cleanup): Delete. | |
603 | (delete_longjmp_breakpoint_cleanup): New. | |
604 | (step_1): Call set_longjmp_breakpoint instead of | |
605 | enable_longjmp_breakpoint. Use delete_longjmp_breakpoint_cleanup | |
606 | instead of disable_longjmp_breakpoint_cleanup when making cleanup. | |
607 | (step_1_continuation): Pass thread id in the continuation args to | |
608 | step_once. | |
609 | (step_once): Add thread parameter. Pass thread id the the | |
610 | continuation. | |
611 | ||
85cbf3d3 JK |
612 | 2008-05-04 Jan Kratochvil <[email protected]> |
613 | ||
614 | Set CU BASE_ADDRESS already from partial DIEs. | |
615 | * dwarf2read.c (read_partial_die): New variables BASE_ADDRESS and | |
616 | BASE_ADDRESS_TYPE. Set these variables from DW_AT_LOW_PC and | |
617 | DW_AT_ENTRY_PC. Set CU->HEADER.BASE_KNOWN and CU->HEADER.BASE_ADDRESS | |
618 | from these variables if it was still unset. | |
619 | ||
ff013f42 JK |
620 | * Makefile.in: Update dependencies. |
621 | * dwarf2read.c: Include "addrmap.h" | |
622 | (struct dwarf2_cu): New fields RANGES_OFFSET and HAS_RANGES_OFFSET. | |
623 | (dwarf2_ranges_read): New prototype. | |
624 | (dwarf2_build_psymtabs_hard): Initialize and prepare PSYMTABS_ADDRMAP. | |
625 | Add discontiguous range to PSYMTABS_ADDRMAP by DWARF2_RANGES_READ on | |
626 | HAS_RANGES_OFFSET, otherwise add there the contiguous range. | |
627 | (dwarf2_ranges_read): New parameter RANGES_PST, update the function | |
628 | comment for it. Add the found ranges to RANGES_PST. New variable | |
629 | BASEADDR, initialize it the common way. | |
630 | (dwarf2_get_pc_bounds): Update the caller for the new parameter. | |
631 | (read_partial_die): `DW_AT_ranges' now only sets RANGES_OFFSET and | |
632 | HAS_RANGES_OFFSET for the later processing. | |
633 | * objfiles.h (struct objfile): New field PSYMTABS_ADDRMAP. | |
634 | * symtab.c: Include "addrmap.h" | |
635 | (find_pc_sect_psymtab): Support reading the field PSYMTABS_ADDRMAP. | |
636 | Move the psymtab locator into ... | |
637 | (find_pc_sect_psymtab_closer): ... a new function. | |
638 | ||
a7f1256d UW |
639 | 2008-05-04 Ulrich Weigand <[email protected]> |
640 | ||
641 | * arch-utils.c (gdbarch_update_p): Use default values for | |
642 | info.abfd and info.target_desc if they are NULL. | |
643 | (gdbarch_from_bfd): Remove assertion. | |
644 | (set_gdbarch_from_file): Call gdbarch_find_by_info directly, | |
645 | using the current target description. | |
646 | (gdbarch_info_fill): Do not use default values for info->abfd | |
647 | and info->target_desc. | |
648 | ||
b2de52bb JK |
649 | 2008-05-04 Jan Kratochvil <[email protected]> |
650 | ||
651 | * symfile.c (reread_symbols): Reload EXEC_BFD on its change. | |
652 | ||
515630c5 UW |
653 | 2008-05-04 Ulrich Weigand <[email protected]> |
654 | ||
655 | * inferior.h (read_pc_pid, write_pc_pid): Remove. | |
656 | * regcache.h (regcache_read_pc, regcache_write_pc): Add prototypes. | |
657 | ||
658 | * regcache.c (read_pc_pid): Remove, replace by ... | |
659 | (regcache_read_pc): ... this function. | |
660 | (write_pc_pid): Remove, replace by ... | |
661 | (regcache_write_pc): ... this function. | |
662 | (read_pc, write_pc): Update. | |
663 | ||
664 | * infrun.c (displaced_step_prepare): Replace read_pc_pid and | |
665 | write_pc_pid by regcache_read_pc and regcache_write_pc. | |
666 | (displaced_step_fixup): Likewise. | |
667 | (resume): Likewise. Use regcache arch instead of current_gdbarch. | |
668 | (prepare_to_proceed): Likewise. | |
669 | (proceed): Likewise. | |
670 | (adjust_pc_after_break): Likewise. | |
671 | (handle_inferior_event): Likewise. | |
672 | ||
673 | * linux-nat.c (cancel_breakpoint): Likewise. | |
674 | * linux-thread-db.c (check_event): Likewise. | |
675 | * aix-thread.c (aix_thread_wait): Likewise. | |
676 | * tracepoint.c (trace_dump_command): Likewise. | |
677 | ||
ebd3bcc1 JK |
678 | 2008-05-04 Jan Kratochvil <[email protected]> |
679 | ||
680 | * dwarf2loc.c (dwarf_expr_frame_base): Error out on missing | |
681 | SYMBOL_LOCATION_BATON. | |
682 | ||
c47ffbe3 VP |
683 | 2008-05-04 Vladimir Prus <[email protected]> |
684 | ||
f78bff48 VP |
685 | * target.h (struct target_ops): New field to_auxv_parse. |
686 | * auxv.c (default_auxv_parse): New, renamed from previous | |
687 | target_auxv_parse. | |
688 | (target_auxv_parse): Try to call target method. Fallback to | |
689 | default_auxv_parse if not found. | |
690 | * procfs.c (procfs_auxv_parse): New. | |
691 | (init_procfs_ops): On Solaris, in 64-bit mode, install | |
692 | procfs_auxv_parse. | |
c47ffbe3 | 693 | |
35076fa0 AN |
694 | 2008-05-03 Adam Nemet <[email protected]> |
695 | ||
696 | * symfile.c (add_symbol_file_command): Use paddress rather than | |
697 | hex_string to print the address. | |
698 | ||
5b197912 UW |
699 | 2008-05-03 Ulrich Weigand <[email protected]> |
700 | ||
701 | * rs6000-tdep.c (rs6000_frame_this_id): If info->base is 0, | |
702 | return the null frame ID to terminate the backtrace. | |
703 | ||
4a7622d1 UW |
704 | 2008-05-03 Ulrich Weigand <[email protected]> |
705 | ||
706 | * rs6000-tdep.c: Do not include "rs6000-tdep.h". | |
707 | (rs6000_find_toc_address_hook): Move to rs6000-aix-tdep.c. | |
708 | (SIG_FRAME_PC_OFFSET): Likewise. | |
709 | (SIG_FRAME_LR_OFFSET): Likewise. | |
710 | (SIG_FRAME_FP_OFFSET): Likewise. | |
711 | (rs6000_push_dummy_call): Likewise. | |
712 | (rs6000_return_value): Likewise. | |
713 | (rs6000_convert_from_func_ptr_addr): Likewise. | |
714 | (branch_dest, rs6000_software_single_step): Likewise. | |
715 | (deal_with_atomic_sequence): Rename to ... | |
716 | (ppc_deal_with_atomic_sequence): ... this. Adapt all callers. | |
717 | Do not call branch_dest; inline required parts of that function. | |
718 | (rs6000_skip_trampoline_code): Replace DEPRECATED_SYMBOL_NAME | |
719 | with SYMBOL_LINKAGE_NAME. | |
720 | (struct reg, regsize): Delete. | |
721 | (read_memory_addr): Delete; inline into callers. | |
722 | (rs6000_skip_prologue): Move after skip_prologue. | |
723 | (skip_prologue): Remove prototype. | |
724 | (rs6000_gdbarch_init): Remove sysv_abi variable; perform all | |
725 | initialization as if this variable were true. Do not install | |
726 | ppc64_sysv_abi_adjust_breakpoint_address. | |
727 | ||
728 | * rs6000-aix-tdep.c: Include "gdb_assert.h", "gdbtypes.h", | |
729 | "gdbcore.h", "target.h", "value.h", "infcall.h", "objfiles.h", | |
730 | and "breakpoint.h". | |
731 | (rs6000_find_toc_address_hook): Move here from rs6000-tdep.c. | |
732 | (SIG_FRAME_PC_OFFSET): Likewise. | |
733 | (SIG_FRAME_LR_OFFSET): Likewise. | |
734 | (SIG_FRAME_FP_OFFSET): Likewise. | |
735 | (rs6000_push_dummy_call): Likewise. | |
736 | (rs6000_return_value): Likewise. | |
737 | (rs6000_convert_from_func_ptr_addr): Likewise. | |
738 | (branch_dest, rs6000_software_single_step): Likewise. Replace | |
739 | tdep->text_segment_base by AIX_TEXT_SEGMENT_BASE. | |
740 | (rs6000_aix_init_osabi): Install rs6000_push_dummy_call, | |
741 | rs6000_return_value, and rs6000_convert_from_func_ptr_addr. | |
742 | Call set_gdbarch_long_double_bit and set_gdbarch_frame_red_zone_size. | |
743 | Set tdep->lr_frame_offset. Do not set tdep->text_segment_base. | |
744 | ||
745 | * rs6000-tdep.h (rs6000_software_single_step): Remove prototype. | |
746 | (AIX_TEXT_SEGMENT_BASE): New macro. | |
747 | * rs6000-nat.c (exec_one_dummy_insn): Replace tdep->text_segment_base | |
748 | by AIX_TEXT_SEGMENT_BASE. | |
749 | ||
750 | * ppc-tdep.h (ppc_deal_with_atomic_sequence): Add prototype. | |
751 | (struct gdbarch_tdep): Remove text_segment_base member. | |
752 | * ppc-linux-tdep.c (ppc_linux_init_abi): On 64-bit, install | |
753 | ppc64_sysv_abi_adjust_breakpoint_address. | |
754 | ||
755 | * Makefile.in (rs6000-tdep.o): Update dependencies. | |
756 | (rs6000-aix-tdep.o): Likewise. | |
757 | ||
938f5214 TJB |
758 | 2008-05-03 Luis Machado <[email protected]> |
759 | Thiago Jung Bauermann <[email protected]> | |
760 | ||
761 | * cli/cli-decode.c (lookup_cmd_1): Fix indentation. | |
762 | * doublest.c (convert_typed_floating): Fix typo in comment. | |
763 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
764 | * frame-unwind.h (frame_sniffer_ftype): Likewise. | |
765 | * frame.c (frame_unwind_address_in_block): Likewise. | |
766 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Likewise. | |
767 | * symtab.h (struct symbol): Likewise. | |
768 | * tramp-frame.h (struct trad_frame_cache): Likewise. | |
769 | * value.c (allocate_repeat_value): Likewise. | |
770 | ||
0b02b92d UW |
771 | 2008-05-03 Ulrich Weigand <[email protected]> |
772 | ||
773 | * infrun.c (handle_inferior_event): Do not insert breakpoints at | |
774 | TARGET_WAITKIND_LOADED events during startup (i.e. in the shell). | |
775 | ||
d705c43c PA |
776 | 2008-05-03 Pedro Alves <[email protected]> |
777 | ||
778 | * parse.c (parse_exp_in_context): Don't override | |
779 | expression_context_pc if get_selected_block returned a valid | |
780 | block. | |
781 | ||
d6350901 DJ |
782 | 2008-05-03 Daniel Jacobowitz <[email protected]> |
783 | ||
784 | * alpha-tdep.h (ALPHA_REGISTER_BYTES): Delete. | |
785 | * arm-tdep.h (STATUS_REGISTER_SIZE): Delete. | |
786 | * breakpoint.c (args_for_catchpoint_enable, current_exception_event): | |
787 | Delete. | |
788 | * c-typeprint.c (c_type_print_base): Delete handling of template | |
789 | instantiations. | |
790 | * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET) | |
791 | (METHOD_PTR_TO_VOFFSET): Delete. | |
792 | * defs.h (QUIT_FIXME): Delete. | |
793 | * f-lang.h (DEFAULT_DOTMAIN_NAME_IN_MF77, DEFAULT_MAIN_NAME_IN_MF77) | |
794 | (DEFAULT_DOTMAIN_NAME_IN_XLF_BUGGY, DEFAULT_DOTMAIN_NAME_IN_XLF): Delete. | |
795 | * gdbtypes.h (struct cplus_struct_type): Delete is_inlined, | |
796 | ninstantiations, and instantiations. | |
797 | (TYPE_INSTANTIATIONS, TYPE_NINSTANTIATIONS, TYPE_INSTANTIATION) | |
798 | (TYPE_FN_FIELD_INLINED): Delete. | |
799 | * srec.h (SREC_BINARY): Delete. | |
800 | * symtab.c (symbol_init_demangled_name): Delete. | |
801 | * symtab.h (SYMBOL_INIT_DEMANGLED_NAME, symbol_init_demangled_name) | |
802 | (SYMBOL_OBJFILE, struct exception_event_record, CURRENT_EXCEPTION_KIND) | |
803 | (CURRENT_EXCEPTION_CATCH_SAL, CURRENT_EXCEPTION_CATCH_LINE) | |
804 | (CURRENT_EXCEPTION_CATCH_FILE, CURRENT_EXCEPTION_CATCH_PC) | |
805 | (CURRENT_EXCEPTION_THROW_SAL, CURRENT_EXCEPTION_THROW_LINE) | |
806 | (CURRENT_EXCEPTION_THROW_FILE, CURRENT_EXCEPTION_THROW_PC): Delete. | |
807 | * target.h (enum thread_control_capabilities): Delete tc_switch. | |
808 | (target_can_switch_threads): Delete. | |
809 | ||
30510692 DJ |
810 | 2008-05-03 Daniel Jacobowitz <[email protected]> |
811 | ||
812 | * Makefile.in (objfiles.o): Update. | |
813 | * exec.c (exec_set_section_address): Support p->addr != 0. | |
814 | * objfiles.c (objfile_relocate): Update exec_ops section | |
815 | addresses. | |
816 | * symfile.c (place_section): Move exec_set_section_address call... | |
817 | (default_symfile_offsets): ...to here. | |
818 | ||
7284e1be UW |
819 | 2008-05-03 Ulrich Weigand <[email protected]> |
820 | ||
821 | * Makefile.in (ppc_linux_tdep_h): New macro. | |
822 | (powerpc_32l_c, powerpc_altivec32_c, powerpc_altivec32l_c): Likewise. | |
823 | (powerpc_64l_c, powerpc_altivec64_c, powerpc_altivec64l_c): Likewise. | |
824 | (powerpc_e500l_c): Likewise. | |
825 | (ppc-linux-nat.o): Update dependencies. | |
826 | (ppc-linux-tdep.o): Update dependencies. | |
827 | (rs6000-tdep.o): Update dependencies. | |
828 | ||
829 | * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Remove. | |
830 | (ppc_linux_svr4_fetch_link_map_offsets): Remove. | |
831 | (ppc_linux_gregset, ppc_linux_fpregset): Move to ppc-linux-tdep.h | |
832 | (ppc_supply_reg, ppc_collect_reg): Add prototypes. | |
833 | (tdesc_powerpc_e500): Remove. | |
834 | ||
835 | * rs6000.c: Include "features/rs6000/powerpc-altivec32.c" | |
836 | and "features/rs6000/powerpc-altivec64.c". | |
837 | (ppc_supply_reg, ppc_collect_reg): Make global. | |
838 | (variants): Use tdesc_powerpc_32 for "powerpc" and | |
839 | tdesc_powerpc_altivec64 for "powerpc64". | |
840 | (_initialize_rs6000_tdep): Initialize AltiVec descriptions. | |
841 | ||
842 | * ppc-linux-tdep.h: New file. | |
843 | ||
844 | * ppc-linux-tdep.c: Include "ppc-linux-tdep.c". | |
845 | Include "features/rs6000/powerpc-32l.c". | |
846 | Include "features/rs6000/powerpc-altivec32l.c". | |
847 | Include "features/rs6000/powerpc-64l.c". | |
848 | Include "features/rs6000/powerpc-altivec64l.c". | |
849 | Include "features/rs6000/powerpc-e500l.c". | |
850 | (ppc_linux_supply_gregset): New function. | |
851 | (ppc_linux_collect_gregset): Handle orig_r3 and trap registers. | |
852 | (ppc32_linux_gregset): Use ppc_linux_supply_gregset. | |
853 | (ppc64_linux_gregset): Likewise. | |
854 | (ppc_linux_sigtramp_cache): Handle orig_r3 and trap registers. | |
855 | (ppc_linux_trap_reg_p): New function. | |
856 | (ppc_linux_write_pc): New function. | |
857 | (ppc_linux_core_read_description): New function. | |
858 | (ppc_linux_init_abi): Install ppc_linux_write_pc and | |
859 | ppc_linux_core_read_description. Install orig_r3 and trap | |
860 | registers if present in the target description. | |
861 | (_initialize_ppc_linux_tdep): Initialize Linux target descriptions. | |
862 | ||
863 | * ppc-linux-nat.c: Include "ppc-linux-tdep.h". | |
864 | (PT_ORIG_R3, PT_TRAP): Define if necessary. | |
865 | (ppc_register_u_addr): Handle orig_r3 and trap registers. | |
866 | (fetch_ppc_registers): Likewise. | |
867 | (store_ppc_registers): Likewise. | |
868 | (store_register): Likewise. | |
869 | (ppc_linux_read_description): Check whether AltiVec is supported. | |
870 | Check whether inferior is 32-bit or 64-bit. Return the appropriate | |
871 | Linux target description. | |
872 | ||
873 | * features/Makefile (WHICH): Use rs6000/powerpc-32l and | |
874 | rs6000/powerpc-altivec32l instead of rs6000/powerpc-32. | |
875 | Use rs6000/powerpc-64l and rs6000/powerpc-altivec64l instead | |
876 | of rs6000/powerpc-64. Use rs6000/powerpc-e500l instead of | |
877 | rs6000/powerpc-e500. Update -expedite variables accordingly. | |
878 | ||
879 | * features/rs6000/power-spe.xml: Use regnum 73 for "acc". | |
880 | * features/rs6000/powerpc-32.xml: Do not include power-altivec.xml. | |
881 | * features/rs6000/powerpc-64.xml: Do not include power-altivec.xml. | |
882 | * features/rs6000/powerpc-e500.c: Regenerate. | |
883 | * features/rs6000/powerpc-32.c: Regenerate. | |
884 | * features/rs6000/powerpc-64.c: Regenerate. | |
885 | ||
886 | * features/rs6000/power-linux.xml: New file. | |
887 | * features/rs6000/power64-linux.xml: New file. | |
888 | * features/rs6000/powerpc-32l.xml: New file. | |
889 | * features/rs6000/powerpc-altivec32l.xml: New file. | |
890 | * features/rs6000/powerpc-64l.xml: New file. | |
891 | * features/rs6000/powerpc-altivec64l.xml: New file. | |
892 | * features/rs6000/powerpc-e500l.xml: New file. | |
893 | * features/rs6000/powerpc-32l.c: New (generated) file. | |
894 | * features/rs6000/powerpc-altivec32l.c: New (generated) file. | |
895 | * features/rs6000/powerpc-64l.c: New (generated) file. | |
896 | * features/rs6000/powerpc-altivec64l.c: New (generated) file. | |
897 | * features/rs6000/powerpc-e500l.xml: New (generated) file. | |
898 | ||
899 | * regformats/reg-ppc.dat: Remove. | |
900 | * regformats/reg-ppc64.dat: Remove. | |
901 | * regformats/rs6000/powerpc-32.dat: Remove. | |
902 | * regformats/rs6000/powerpc-64.dat: Remove. | |
903 | * regformats/rs6000/powerpc-e500.dat: Remove. | |
904 | * regformats/rs6000/powerpc-32l.dat: New (generated) file. | |
905 | * regformats/rs6000/powerpc-altivec32l.dat: New (generated) file. | |
906 | * regformats/rs6000/powerpc-64l.dat: New (generated) file. | |
907 | * regformats/rs6000/powerpc-altivec64l.dat: New (generated) file. | |
908 | * regformats/rs6000/powerpc-e500l.dat: New (generated) file. | |
909 | ||
063bfe2e VP |
910 | 2008-05-03 Pedro Alves <[email protected]> |
911 | ||
912 | * thread.c (delete_thread): Call observer_notify_thread_exit. | |
913 | * mi/mi-interp.c (mi_interpreter_init): Register mi_thread_exit as | |
914 | thread_exit observer. | |
915 | (mi_thread_exit): New. | |
916 | ||
f132ba9d TJB |
917 | 2008-05-03 Thiago Jung Bauermann <[email protected]> |
918 | ||
919 | * breakpoint.c (create_exception_catchpoint): Remove prototype | |
920 | for already deleted function. | |
921 | * breakpoint.h (ep_is_exception_catchpoint): Likewise. | |
922 | * frame.h (show_stack_frame): Remove prototype. | |
923 | * stack.c (show_stack_frame): Remove empty, unused function. | |
924 | * source.c (symtab_to_fullname, print_source_lines): Small fix | |
925 | in comment. | |
926 | * value.c (show_values): Update comments to mention "show values" | |
927 | command instead of "info history". | |
928 | ||
bccdca4a UW |
929 | 2008-05-02 Ulrich Weigand <[email protected]> |
930 | ||
931 | * linespec.c: Include "target.h". | |
932 | (minsym_found): Handle minimal symbols pointing to function | |
933 | descriptors. Use find_function_start_pc. | |
934 | * minsyms.c (msymbol_objfile): New function. | |
935 | * parse.c (write_exp_msymbol): Handle minimal symbols pointing | |
936 | to function descriptors. | |
937 | * symtab.c (fixup_section): Only use minimal symbol at the same | |
938 | address to determine section of a symbol. | |
939 | (find_function_start_pc): New function. | |
940 | (find_function_start_sal): Use it. | |
941 | * symtab.h (msymbol_objfile): Add prototype. | |
942 | (find_function_start_pc): Likewise. | |
943 | * value.c: Include "objfiles.h". | |
944 | (value_fn_field): Handle minimal symbols pointing to function | |
945 | descriptors. | |
946 | * Makefile.in (linespec.o): Update dependencies. | |
947 | (value.o): Likewise. | |
948 | ||
de4d072f JB |
949 | 2008-05-02 Joel Brobecker <[email protected]> |
950 | ||
951 | * ada-lang.c (unwrap_value): Handle the case where the "F" field | |
952 | inside a PAD type is a bitfield. | |
953 | ||
93d4208d UW |
954 | 2008-05-02 Ulrich Weigand <[email protected]> |
955 | ||
956 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Handle | |
957 | TYPE_CODE_BOOL and TYPE_CODE_CHAR the same as TYPE_CODE_INT. | |
958 | Handle TYPE_CODE_REF the same as TYPE_CODE_PTR. | |
959 | Handle TYPE_CODE_METHOD the same as TYPE_CODE_FUNC. | |
960 | Allow typedefs when checking for function pointer arguments. | |
961 | Right-align small structs passed on the stack. | |
962 | (ppc64_sysv_abi_return_value): Handle TYPE_CODE_BOOL and | |
963 | TYPE_CODE_CHAR the same as TYPE_CODE_INT. | |
964 | Handle TYPE_CODE_REF the same as TYPE_CODE_PTR. | |
965 | ||
60c5725c DJ |
966 | 2008-05-02 Daniel Jacobowitz <[email protected]> |
967 | ||
968 | * Makefile.in (arm-tdep.o): Update. | |
969 | * arm-tdep.c (arm_objfile_data_key, struct arm_mapping_symbol) | |
970 | (struct arm_per_objfile, arm_compare_mapping_symbols): New. | |
971 | (arm_pc_is_thumb): Use mapping symbols. | |
972 | (arm_objfile_data_cleanup, arm_record_special_symbol): New. | |
973 | (arm_gdbarch_init): Call set_gdbarch_record_special_symbol. | |
974 | (_initialize_arm_tdep): Initialize arm_objfile_data_key. | |
975 | * elfread.c (elf_symtab_read): Use gdbarch_record_special_symbol. | |
976 | * gdbarch.sh: Add record_special_symbol. | |
977 | * gdbarch.c, gdbarch.h: Regenerated. | |
978 | * objfiles.c (struct objfile_data): Add cleanup member. | |
979 | (register_objfile_data_with_cleanup): New function, from | |
980 | register_objfile_data. | |
981 | (register_objfile_data): Use it. | |
982 | (objfile_free_data): Call clear_objfile_data. | |
983 | (clear_objfile_data): Call cleanup functions. | |
984 | * objfiles.h (register_objfile_data_with_cleanup): Declare. | |
985 | ||
574dffa2 DJ |
986 | 2008-05-02 Daniel Jacobowitz <[email protected]> |
987 | ||
988 | * objfiles.c (init_entry_point_info): Handle shared libraries. | |
989 | ||
2c404490 DJ |
990 | 2008-05-02 Daniel Jacobowitz <[email protected]> |
991 | ||
992 | * arm-tdep.c (arm_prologue_this_id): Compare pc, not func, to | |
993 | lowest_pc. | |
994 | ||
237fc4c9 PA |
995 | 2008-05-02 Jim Blandy <[email protected]> |
996 | Pedro Alves <[email protected]> | |
997 | ||
998 | Implement displaced stepping. | |
999 | ||
1000 | * gdbarch.sh (max_insn_length): New 'variable'. | |
1001 | (displaced_step_copy, displaced_step_fixup) | |
1002 | (displaced_step_free_closure, displaced_step_location): New | |
1003 | functions. | |
1004 | (struct displaced_step_closure): Add forward declaration. | |
1005 | * gdbarch.c, gdbarch.h: Regenerated. | |
1006 | ||
1007 | * arch-utils.c: #include "objfiles.h". | |
1008 | (simple_displaced_step_copy_insn) | |
1009 | (simple_displaced_step_free_closure) | |
1010 | (displaced_step_at_entry_point): New functions. | |
1011 | * arch-utils.h (simple_displaced_step_copy_insn) | |
1012 | (simple_displaced_step_free_closure) | |
1013 | (displaced_step_at_entry_point): New prototypes. | |
1014 | ||
1015 | * i386-tdep.c (I386_MAX_INSN_LEN): Rename to... | |
1016 | (I386_MAX_MATCHED_INSN_LEN): ... this. | |
1017 | (i386_absolute_jmp_p, i386_absolute_call_p) | |
1018 | (i386_ret_p, i386_call_p, i386_breakpoint_p, i386_syscall_p) | |
1019 | (i386_displaced_step_fixup): New functions. | |
1020 | (struct i386_insn, i386_match_insn): Update. | |
1021 | (i386_gdbarch_init): Set gdbarch_max_insn_length. | |
1022 | * i386-tdep.h (I386_MAX_INSN_LEN): New. | |
1023 | (i386_displaced_step_fixup): New prototype. | |
1024 | * i386-linux-tdep.c (i386_linux_init_abi): Include "arch-utils.h". | |
1025 | Register gdbarch_displaced_step_copy, | |
1026 | gdbarch_displaced_step_fixup, gdbarch_displaced_step_free_closure, | |
1027 | and gdbarch_displaced_step_location functions. | |
1028 | ||
1029 | * infrun.c (debug_displaced): New variable. | |
1030 | (show_debug_displaced): New function. | |
1031 | (struct displaced_step_request): New struct. | |
1032 | (displaced_step_request_queue, displaced_step_ptid) | |
1033 | (displaced_step_gdbarch, displaced_step_closure) | |
1034 | (displaced_step_original, displaced_step_copy) | |
1035 | (displaced_step_saved_copy, can_use_displaced_stepping): New | |
1036 | variables. | |
1037 | (show_can_use_displaced_stepping, use_displaced_stepping) | |
1038 | (displaced_step_clear, cleanup_displaced_step_closure) | |
1039 | (displaced_step_dump_bytes, displaced_step_prepare) | |
1040 | (displaced_step_clear_cleanup, write_memory_ptid) | |
1041 | (displaced_step_fixup): New functions. | |
1042 | (resume): Call displaced_step_prepare. | |
1043 | (proceed): Call read_pc once, and remember the value. If using | |
1044 | displaced stepping, don't remove breakpoints. | |
1045 | (handle_inferior_event): Call displaced_step_fixup. Add some | |
1046 | debugging output. When we try to step over a breakpoint, but get | |
1047 | a signal to deliver to the thread instead, ensure the step-resume | |
1048 | breakpoint is actually inserted. If a thread hop is needed, and | |
1049 | displaced stepping is enabled, don't remove breakpoints. | |
1050 | (init_wait_for_inferior): Call displaced_step_clear. | |
1051 | (_initialize_infrun): Add "set debug displaced" command. Add | |
1052 | "maint set can-use-displaced-stepping" command. Clear | |
1053 | displaced_step_ptid. | |
1054 | * inferior.h (debug_displaced): Declare variable. | |
1055 | (displaced_step_dump_bytes): Declare function. | |
1056 | ||
1057 | * Makefile.in (arch-utils.o, i386-linux-tdep.o): Update | |
1058 | dependencies. | |
1059 | ||
0428b8f5 DJ |
1060 | 2008-05-02 Daniel Jacobowitz <[email protected]> |
1061 | ||
1062 | * arm-tdep.c (arm_mode_strings, arm_fallback_mode_string) | |
1063 | (arm_force_mode_string, arm_show_fallback_mode) | |
1064 | (arm_show_force_mode): New. | |
1065 | (arm_pc_is_thumb): Honor fallback-mode and force-mode. Use | |
1066 | arm_frame_is_thumb. | |
1067 | (_initialize_arm_tdep): Add "set arm fallback-mode" | |
1068 | and "set arm force-mode". | |
1069 | * NEWS: Document new commands. | |
1070 | ||
d01a8610 AS |
1071 | 2008-05-02 Andrew Stubbs <[email protected]> |
1072 | ||
1073 | * main.h (batch_silent): Declare. | |
1074 | * event-top.c: Include main.h. | |
1075 | (gdb_setup_readline): Remove extern batch_silent declaration. | |
1076 | * infrun.c (normal_stop): Don't print source location when running in | |
1077 | --batch-silent mode. | |
1078 | * Makefile.in (event-top.o): Add main.h dependency. | |
1079 | ||
5009afc5 AS |
1080 | 2008-05-02 Andreas Schwab <[email protected]> |
1081 | ||
1082 | * target.h (struct target_ops): Add | |
1083 | to_watchpoint_addr_within_range. | |
1084 | (target_watchpoint_addr_within_range): New function. | |
1085 | * target.c (update_current_target): Inherit | |
1086 | to_watchpoint_addr_within_range, defaulting to | |
1087 | default_watchpoint_addr_within_range. | |
1088 | (default_watchpoint_addr_within_range): New function. | |
1089 | (debug_to_watchpoint_addr_within_range): New function. | |
1090 | (setup_target_debug): Set to_watchpoint_addr_within_range. | |
1091 | * ppc-linux-nat.c (ppc_linux_watchpoint_addr_within_range): | |
1092 | New function. | |
1093 | (_initialize_ppc_linux_nat): Set to_watchpoint_addr_within_range. | |
1094 | * breakpoint.c (watchpoints_triggered): Use | |
1095 | target_watchpoint_addr_within_range. | |
1096 | ||
a15c5c83 PA |
1097 | 2008-05-01 Pedro Alves <[email protected]> |
1098 | ||
1099 | * configure.tgt: Add i[34567]86-*-dicos* and x86_64-*-dicos*. | |
1100 | (i[34567]86-*-dicos*, x86_64-*-dicos*): | |
1101 | Set gdb_osabi to GDB_OSABI_DICOS. | |
1102 | ||
1103 | * defs.h (enum gdb_osabi): Add GDB_OSABI_DICOS. | |
1104 | * osabi.c (gdb_osabi_name): Add "DICOS". | |
1105 | ||
1106 | * i386-dicos-tdep.c: New file. | |
1107 | ||
1108 | * Makefile.in (ALL_TARGET_OBS): Add i386-dicos-tdep.o. | |
1109 | (ALLDEPFILES): Add i386-dicos-tdep.c. | |
1110 | (i386-dicos-tdep.o): New rule. | |
1111 | ||
728c8f58 PA |
1112 | 2008-05-01 Pedro Alves <[email protected]> |
1113 | ||
1114 | * linux-nat.c (linux_nat_switch_fork): Reinit GDB's thread list | |
1115 | and register the fork's PTID as a thread. | |
1116 | ||
604133b5 AR |
1117 | 2008-05-01 Aleksandar Ristovski <[email protected]> |
1118 | ||
1119 | PR gdb/1665 | |
1120 | * breakpoint.c (create_breakpoint): Add breakpoint_ops argument and | |
1121 | assign its value to the breakpoint created. | |
1122 | (create_breakpoints): Add breakpoint_ops argument and pass it | |
1123 | to create_breakpoint call. | |
1124 | (break_command_really): Add breakpoint_ops argument and pass/assign | |
1125 | appropriately. | |
1126 | (break_command_1): Pass NULL as ops argument. | |
1127 | (set_breakpoint): Pass NULL as ops argument. | |
1128 | (print_one_exception_catchpoint): Print <PENDING> if no loc available. | |
1129 | (handle_gnu_v3_exceptions): Call generic breakpoint code to insert | |
1130 | catch and throw catchpoints. | |
5009afc5 | 1131 | |
1f906a60 | 1132 | 2008-05-01 Aleksandar Ristovski <[email protected]> |
1cded358 AR |
1133 | |
1134 | PR gdb/2343 | |
1135 | * corelow.c (core_open): Use gdbarch_target_signal_from_host to | |
1136 | translate signal numeric value from the target to GDB's enum | |
1137 | target_signal. | |
1138 | * gdbarch.c, gdbarch.h: Regenerated. | |
1139 | * gdbarch.sh: Added two new functions target_signal_from_host and | |
1140 | target_signal_to_host. | |
1141 | * target.h (default_target_signal_from_host, | |
1142 | default_target_signal_to_host): New functions - declarations. | |
1143 | * signals/signals.c (struct gdbarch): New declaration. | |
1144 | (default_target_signal_to_host, default_target_signal_from_host): New | |
1145 | functions. | |
1146 | ||
b39cc962 DJ |
1147 | 2008-05-01 Daniel Jacobowitz <[email protected]> |
1148 | ||
1149 | * arm-linux-tdep.h (ARM_CPSR_REGNUM): Delete definition. | |
1150 | * arm-tdep.c (arm_frame_is_thumb): New. | |
1151 | (arm_pc_is_thumb): Clarify comment. | |
1152 | (thumb_analyze_prologue): Remove PC special case. | |
1153 | (thumb_scan_prologue): Take a block_addr argument. Use it for | |
1154 | find_pc_partial_function. Remove unused variables. | |
1155 | (arm_scan_prologue): Use arm_frame_is_thumb. Use the block address | |
1156 | for find_pc_partial_function. Remove PC special case. | |
1157 | (arm_prologue_prev_register): Add special handling for PC and CPSR. | |
1158 | (arm_dwarf2_prev_register, arm_dwarf2_frame_init_reg): New. | |
1159 | (arm_get_next_pc): Use arm_frame_is_thumb. | |
1160 | (arm_write_pc): Use CPSR_T instead of 0x20. | |
1161 | (arm_gdbarch_init): Call dwarf2_frame_set_init_reg. | |
1162 | * arm-tdep.h (enum gdb_regnum): Add ARM_CPSR_REGNUM. | |
1163 | (CPSR_T): Define. | |
1164 | * dwarf2-frame.c (dwarf2_frame_prev_register): Handle | |
1165 | DWARF2_FRAME_REG_FN. | |
1166 | * dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add | |
1167 | DWARF2_FRAME_REG_FN. | |
1168 | (struct dwarf2_frame_state_reg): Add FN to loc union. | |
1169 | ||
944f08ab JB |
1170 | 2008-05-01 Nick Roberts <[email protected]> |
1171 | ||
1172 | * exec.c (print_section_info): Add missing '\n'. | |
1173 | ||
cfc01461 VP |
1174 | 2008-05-01 Vladimir Prus <[email protected]> |
1175 | ||
1176 | * thread.c (add_thread): Move observer call to ... | |
1177 | (add_thread_silent): ... here. | |
1178 | ||
1af5d7ce UW |
1179 | 2008-04-30 Ulrich Weigand <[email protected]> |
1180 | ||
1181 | * rs6000-tdep.c: Update for unwinder changes. | |
1182 | * ppcobsd-tdep.c: Likewise. | |
1183 | ||
f089c433 UW |
1184 | 2008-04-30 Ulrich Weigand <[email protected]> |
1185 | ||
1186 | * s390-tdep.c: Update for unwinder changes. | |
1187 | ||
8d998b8f UW |
1188 | 2008-04-30 Ulrich Weigand <[email protected]> |
1189 | ||
1190 | * spu-tdep.c: Update for unwinder changes. | |
1191 | ||
5366653e DJ |
1192 | 2008-04-30 Daniel Jacobowitz <[email protected]> |
1193 | ||
1194 | * hppanbsd-tdep.c, m68kbsd-tdep.c, mn10300-linux-tdep.c, | |
1195 | ppc-linux-tdep.c, ppcnbsd-tdep.c, sparc-linux-tdep.c, | |
1196 | sparc64-linux-tdep.c: Update for unwinder changes. | |
1197 | ||
b8a22b94 DJ |
1198 | 2008-04-30 Daniel Jacobowitz <[email protected]> |
1199 | ||
1200 | * mipsnbsd-tdep.c, mips64obsd-tdep.c, mips-linux-tdep.c: Update | |
1201 | for unwinder changes. | |
1202 | * mips-tdep.c: Likewise. | |
1203 | (mips_stub_frame_cache): Unwind the ABI stack pointer, not the | |
1204 | raw one. | |
1205 | ||
a262aec2 DJ |
1206 | 2008-04-30 Daniel Jacobowitz <[email protected]> |
1207 | ||
1208 | * arm-linux-tdep.c, arm-tdep.c, armobsd-tdep.c: Update for | |
1209 | unwinder changes. | |
1210 | ||
10458914 DJ |
1211 | 2008-04-30 Daniel Jacobowitz <[email protected]> |
1212 | ||
1213 | Update i386 and amd64 ports for unwinder changes. | |
1214 | ||
1215 | * amd64-tdep.c (amd64_frame_cache): Expect this_frame. | |
1216 | (amd64_frame_this_id, amd64_frame_prev_register): Update signature. | |
1217 | (amd64_frame_unwind): Use default_frame_sniffer. | |
1218 | (amd64_frame_sniffer): Delete. | |
1219 | (amd64_sigtramp_frame_cache): Expect this_frame. | |
1220 | (amd64_sigtramp_frame_this_id, amd64_sigtramp_frame_prev_register) | |
1221 | (amd64_sigtramp_frame_sniffer): Update signature. | |
1222 | (amd64_sigtramp_frame_unwind): Add amd64_sigtramp_frame_sniffer. | |
1223 | (amd64_frame_base_address): Expect this_frame. | |
1224 | (amd64_dummy_id): Renamed from amd64_unwind_dummy_id. Expect | |
1225 | this_frame. | |
1226 | (amd64_init_abi): Use set_gdbarch_dummy_id and | |
1227 | frame_unwind_append_unwinder. | |
1228 | * i386-tdep.c (i386_frame_cache): Expect this_frame. | |
1229 | (i386_frame_this_id, i386_frame_prev_register): Update signature. | |
1230 | (i386_frame_unwind): Use default_frame_sniffer. | |
1231 | (i386_frame_sniffer): Delete. | |
1232 | (i386_sigtramp_frame_cache): Expect this_frame. | |
1233 | (i386_sigtramp_frame_this_id, i386_sigtramp_frame_prev_register) | |
1234 | (i386_sigtramp_frame_sniffer): Update signature. | |
1235 | (i386_sigtramp_frame_unwind): Use i386_sigtramp_frame_sniffer. | |
1236 | (i386_frame_base_address): Update signature. | |
1237 | (i386_dummy_id): Rename from i386_unwind_dummy_id. Expect this_frame. | |
1238 | (i386_push_dummy_call): Update comment. | |
1239 | (i386_sigtramp_p, i386_svr4_sigtramp_p, i386_svr4_sigcontext_addr): | |
1240 | Expect this_frame. | |
1241 | (i386_gdbarch_init): Use set_gdbarch_dummy_id, dwarf2_append_unwinders, | |
1242 | and frame_unwind_append_unwinder. | |
1243 | * amd64-linux-tdep.c, amd64-sol2-tdep.c, amd64fbsd-tdep.c, | |
1244 | amd64nbsd-tdep.c, amd64obsd-tdep.c, i386-linux-tdep.c, | |
1245 | i386-nto-tdep.c, i386bsd-tdep.c, i386-sol2-tdep.c, i386obsd-tdep.c, | |
1246 | i386nbsd-tdep.c: Update for unwinder changes. | |
1247 | ||
25492ce3 DJ |
1248 | 2008-04-30 Daniel Jacobowitz <[email protected]> |
1249 | ||
1250 | * trad-frame.c (struct trad_frame_cache): Rename next_frame to this_frame. | |
1251 | (trad_frame_cache_zalloc, trad_frame_alloc_saved_regs): Expect | |
1252 | this_frame. | |
1253 | (trad_frame_get_prev_register, trad_frame_get_register): Update signature. | |
1254 | * trad-frame.h (trad_frame_cache_zalloc, trad_frame_get_register) | |
1255 | (trad_frame_alloc_saved_regs, trad_frame_get_prev_register): Update | |
1256 | signature. | |
1257 | * tramp-frame.c (tramp_frame_cache, tramp_frame_start): Expect | |
1258 | this_frame. | |
1259 | (tramp_frame_this_id, tramp_frame_prev_register, tramp_frame_sniffer): | |
1260 | Update signature. | |
1261 | * tramp-frame.h (struct tramp_frame): Update signature of init. | |
1262 | * Makefile.in (trad-frame.o): Update. | |
1263 | ||
4a4e5149 DJ |
1264 | 2008-04-30 Daniel Jacobowitz <[email protected]> |
1265 | ||
1266 | * dwarf2-frame.c (read_reg): Expect this_frame in the baton. | |
1267 | (execute_stack_op): Put this_frame in the baton. | |
1268 | (execute_cfa_program): Take this_frame. | |
1269 | (struct dwarf2_frame_ops): Update comment for signal_frame_p. | |
1270 | (dwarf2_frame_default_init_reg, dwarf2_frame_init_reg) | |
1271 | (dwarf2_frame_signal_frame_p, dwarf2_frame_cache) | |
1272 | (dwarf2_frame_this_id): Adjust to work on this_frame. | |
1273 | (dwarf2_signal_frame_this_id): Delete. | |
1274 | (dwarf2_frame_prev_register): Update signature. Use new frame | |
1275 | unwind methods. | |
1276 | (dwarf2_frame_sniffer): Update signature. Expect this_frame. | |
1277 | (dwarf2_frame_unwind, dwarf2_signal_frame_unwind): Add | |
1278 | dwarf2_frame_sniffer. | |
1279 | (dwarf2_append_unwinders): New. | |
1280 | (dwarf2_frame_base_address, dwarf2_frame_base_sniffer): Expect | |
1281 | this_frame. | |
1282 | * sparc-tdep.c (sparc32_dwarf2_struct_return_p) | |
1283 | (sparc32_dwarf2_frame_init_reg): Expect this_frame. | |
1284 | * cris-tdep.c (cris_dwarf2_frame_init_reg): Likewise. | |
1285 | * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): Likewise. | |
1286 | * s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise. | |
1287 | * sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise. | |
1288 | * sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise. | |
1289 | * dwarf2-frame.h (dwarf2_frame_sniffer): Delete declaration. | |
1290 | (dwarf2_append_unwinders): Declare. | |
1291 | (dwarf2_frame_base_sniffer): Update declaration. | |
1292 | * i386-linux-tdep.c (i386_linux_dwarf_signal_frame_p): Expect | |
1293 | this_frame. | |
1294 | ||
669fac23 DJ |
1295 | 2008-04-30 Daniel Jacobowitz <[email protected]> |
1296 | ||
1297 | Convert frame unwinders to use the current frame and | |
1298 | "struct value". | |
1299 | ||
1300 | * frame.c (frame_debug): Make global. | |
1301 | (get_frame_id): Pass this frame to unwinder routines. | |
1302 | (frame_pc_unwind): Remove unused unwind->prev_pc support. | |
1303 | (do_frame_register_read): Do not discard the return value of | |
1304 | frame_register_read. | |
1305 | (frame_register_unwind): Remove debug messages. Use | |
1306 | frame_unwind_register_value. | |
1307 | (frame_unwind_register_value, get_frame_register_value): New | |
1308 | functions. | |
1309 | (create_new_frame, get_frame_base_address, get_frame_locals_address) | |
1310 | (get_frame_args_address, get_frame_type): Pass this frame to | |
1311 | unwinder routines. | |
1312 | (frame_cleanup_after_sniffer, frame_prepare_for_sniffer): New | |
1313 | functions. | |
1314 | * frame.h: Update comments. | |
1315 | (frame_debug, frame_unwind_register_value, get_frame_register_value) | |
1316 | (frame_prepare_for_sniffer): Declare. | |
1317 | * frame-unwind.h: Update comments and parameter names. | |
1318 | (default_frame_sniffer): Declare. | |
1319 | (frame_prev_register_ftype): Return a struct value *. | |
1320 | (struct frame_unwind): Remove prev_pc member. | |
1321 | (frame_unwind_sniffer_ftype, frame_unwind_append_sniffer): Delete. | |
1322 | (frame_unwind_append_unwinder, frame_unwind_got_optimized) | |
1323 | (frame_unwind_got_register, frame_unwind_got_memory) | |
1324 | (frame_unwind_got_constant, frame_unwind_got_address): Declare. | |
1325 | * frame-base.h: Update comments and parameter names. | |
1326 | * valops.c (value_fetch_lazy): Use get_frame_register_value. Iterate | |
1327 | if necessary. Add debugging output. | |
1328 | * sentinel-frame.c (sentinel_frame_prev_register) | |
1329 | (sentinel_frame_this_id): Update for new signature. | |
1330 | (sentinel_frame_prev_pc): Delete. | |
1331 | (sentinel_frame_unwinder): Remove prev_pc. | |
1332 | * ia64-tdep.c (ia64_libunwind_frame_unwind): Do not initialize | |
1333 | prev_pc. | |
1334 | * libunwind-frame.c (libunwind_frame_unwind): Likewise. | |
1335 | * frame-unwind.c (struct frame_unwind_table_entry): Remove sniffer. | |
1336 | (frame_unwind_append_sniffer): Delete. | |
1337 | (frame_unwind_append_unwinder): New function. | |
1338 | (frame_unwind_find_by_frame): Take this frame. Only use sniffers | |
1339 | from unwinders. Use frame_prepare_for_sniffer. | |
1340 | (default_frame_sniffer, frame_unwind_got_optimized) | |
1341 | (frame_unwind_got_register, frame_unwind_got_memory) | |
1342 | (frame_unwind_got_constant, frame_unwind_got_address): New functions. | |
1343 | * dummy-frame.c (dummy_frame_sniffer): Use gdbarch_dummy_id. | |
1344 | (dummy_frame_prev_register, dummy_frame_this_id): Update for new | |
1345 | signature. | |
1346 | * gdbarch.sh: Replace unwind_dummy_id with dummy_id. | |
1347 | * gdbarch.c, gdbarch.c: Regenerated. | |
1348 | * frame-base.c (default_frame_base_address) | |
1349 | (default_frame_locals_address, default_frame_args_address): Update | |
1350 | for new signature. | |
1351 | (frame_base_find_by_frame): Pass this frame to unwinder routines. | |
1352 | * infcall.c (call_function_by_hand): Update comments. | |
1353 | * Makefile.in (frame-unwind.o): Update dependencies. | |
1354 | ||
9214ee5f DJ |
1355 | 2008-04-30 Daniel Jacobowitz <[email protected]> |
1356 | ||
1357 | * ada-lang.c (ada_value_primitive_packed_val): Only check | |
1358 | value_lazy for memory lvals. | |
1359 | * findvar.c (value_of_register_lazy): New function. | |
1360 | (locate_var_value): Only check value_lazy for memory lvals. | |
1361 | * valarith.c (value_subscripted_rvalue): Likewise. | |
1362 | * valops.c (value_fetch_lazy): Handle both memory and register | |
1363 | lvals. | |
1364 | (search_struct_field, value_slice): Only check value_lazy for memory | |
1365 | lvals. | |
1366 | * value.c (struct value): Update comment for lazy. | |
1367 | (value_primitive_field): Only check value_lazy for memory lvals. | |
1368 | * value.h (value_lazy): Update comment. | |
1369 | (value_of_register_lazy): Declare. | |
1370 | ||
939643d7 DJ |
1371 | 2008-04-30 Daniel Jacobowitz <[email protected]> |
1372 | ||
1373 | * corefile.c (reopen_exec_file): Close any open files. | |
1374 | ||
1de34ab7 JB |
1375 | 2008-04-29 Joel Brobecker <[email protected]> |
1376 | ||
1377 | * ia64-tdep.c (ia64_memory_remove_breakpoint): Set | |
1378 | show_memory_breakpoints to 1 while reading the instruction bundle. | |
1379 | ||
ea42b34a JB |
1380 | 2008-04-29 Joel Brobecker <[email protected]> |
1381 | ||
1382 | * gdbarch.sh: Document the return_value method. Explain that | |
1383 | the FUNCTYPE parameter might be NULL. | |
1384 | * gdbarch.h: Regenerated. | |
1385 | * sparc-tdep.c (sparc32_push_dummy_code): Do not pass the function | |
1386 | type when calling using_struct_return, as this is unnecessary | |
1387 | on this target. | |
1388 | ||
a0fe373c JB |
1389 | 2008-04-28 Joel Brobecker <[email protected]> |
1390 | ||
1391 | * terminal.h (create_tty_session): Fix return type. | |
1392 | ||
c6446539 VP |
1393 | 2008-04-26 Vladimir Prus <[email protected]> |
1394 | ||
1395 | * mi/mi-interp.c (mi_new_thread): Quote the thread id. | |
1396 | ||
2f069f6f JB |
1397 | 2008-04-26 Joel Brobecker <[email protected]> |
1398 | ||
1399 | * breakpoint.c (condition_command, commands_from_control_command) | |
1400 | (break_command_really): Minor reformatting. | |
1401 | ||
93b5768b PA |
1402 | 2008-04-25 Pedro Alves <[email protected]> |
1403 | ||
1404 | * dwarf2read.c (dwarf2_const_value): Handle DW_FORM_strp. | |
1405 | ||
436675d3 PA |
1406 | 2008-04-25 Pedro Alves <[email protected]> |
1407 | ||
1408 | * amd64-tdep.c (amd64_get_longjmp_target): New. | |
1409 | (amd64_init_abi): Register amd64_get_longjmp_target as | |
1410 | gdbarch_get_longjmp_target callback. | |
1411 | * i386-tdep.c (i386_get_longjmp_target): Remove 64-bit handling. | |
1412 | ||
78b6a731 PA |
1413 | 2008-04-25 Pedro Alves <[email protected]> |
1414 | ||
1415 | * breakpoint.h (enum bpstat_what_main_action): Delete | |
1416 | BPSTAT_WHAT_CLEAR_LONGJMP_RESUME_SINGLE. | |
1417 | ||
1418 | * breakpoint.c (clrs): Delete. | |
1419 | (bpstat_what): Update table. | |
1420 | ||
1421 | * infrun.c (handle_inferior_event): Remove | |
1422 | BPSTAT_WHAT_CLEAR_LONGJMP_RESUME_SINGLE handling. | |
1423 | ||
9e22b03a VP |
1424 | 2008-04-24 Vladimir Prus <[email protected]> |
1425 | ||
1426 | * mi/mi-cmds.h (mi_cmd_args_ftype): Remove. | |
1427 | Adjust all prototypes using mi_cmd_args_ftype to use | |
1428 | mi_cmd_argv_ftype. | |
1429 | (struct mi_cmd): Remove the args_func field. | |
1430 | * mi/mi-cmds.c: Don't provide value for the args_func field. | |
1431 | * mi/mi-main.c (mi_execute_async_cli_command) | |
1432 | (mi_cmd_exec_run, mi_cmd_exec_next, mi_cmd_exec_next_instruction) | |
1433 | (mi_cmd_exec_step, mi_cmd_exec_step_instruction) | |
1434 | (mi_cmd_exec_finish, mi_cmd_exec_until, mi_cmd_exec_return) | |
1435 | (mi_cmd_exec_continue, mi_cmd_exec_interrupt) | |
1436 | (mi_cmd_target_download): Adjust. | |
1437 | (mi_cmd_target_select): Adjust. Pass 0 for from_tty parameter. | |
1438 | (mi_cmd_execute): Do not check for args_func. | |
1439 | (mi_execute_async_cli_command): Adjust. | |
1440 | * mi/mi-parse.c: Don't check for args_func. | |
1441 | ||
721c02de | 1442 | 2008-04-24 Vladimir Prus <[email protected]> |
18a18393 VP |
1443 | |
1444 | * breakpoint.c (bpstat_check_location) | |
1445 | (bpstat_check_watchpoint, bpstat_check_breakpoint_conditions): | |
1446 | New, extracted from bpstat_stop_status. | |
1447 | (bpstat_stop_status): Use the above. | |
1448 | ||
1449 | 2008-04-24 Vladimir Prus <[email protected]> | |
1450 | ||
721c02de VP |
1451 | * mi/mi-main.c (last_async_command): Rename to current_token. |
1452 | (previous_async_command): Remove. | |
1453 | (mi_cmd_gdb_exit): Adjust. | |
1454 | (mi_cmd_exec_interrupt): Don't dance with previous_async_command. | |
1455 | (mi_cmd_target_select): Adjust. | |
1456 | (mi_cmd_execute): Don't set previous_async_command. Free token | |
1457 | here even in async mode. | |
1458 | (mi_execute_async_cli_command): Adjust. | |
1459 | (mi_exec_async_cli_cmd_continuation): Adjust. Do not free the | |
1460 | token. | |
1461 | (mi_load_progress): Adjust. | |
1462 | ||
f13468d9 VP |
1463 | 2008-04-24 Vladimir Prus <[email protected]> |
1464 | ||
1465 | * infcmd.c (step_1_continuation): Always disable longjmp | |
1466 | breakpoint if we're not going to do another step. | |
1467 | ||
f107f563 VP |
1468 | 2008-04-24 Vladimir Prus <[email protected]> |
1469 | ||
1470 | exec_cleanup murder. | |
1471 | * breakpoint.c (until_break_command_continuation): Add | |
1472 | the 'error' parameter. Directly delete the breakoint as | |
1473 | opposed to running cleanups. | |
1474 | (until_break_command): Install continuation only | |
1475 | after starting the target. Don't use exec cleanups, | |
1476 | use ordinary cleanups. Discard cleanups is successfully | |
1477 | started the target in async mode. | |
1478 | (make_cleanup_delete_breakpoint): Remove. | |
1479 | * breakpoint.h (make_cleanup_delete_breakpoint): Remove | |
1480 | declaration. | |
1481 | * defs.h (do_exec_cleanups, make_exec_cleanup): Remove | |
1482 | declarations. | |
1483 | (struct continations): Add the 'error' parameter to the | |
1484 | continuation_hook field. | |
1485 | (add_continuation, do_all_continuations) | |
1486 | (add_intermediate_continuation) | |
1487 | (do_all_intermediate_continuations): Add the 'error' parameter. | |
1488 | * exceptions.c (throw_exception): Don't call do_exec_cleanups. | |
1489 | * inf-loop.c (inferior_event_handler): Instead of calling | |
1490 | discard_all_continuations, use do_all_continuations with 1 as | |
1491 | 'error' parameter. Pass 0 as 'error' parameter in existing uses | |
1492 | of discard_all_continuations. | |
1493 | * infcmd.c (step_1): Do not use exec cleanup. For async case, discard | |
1494 | cleanups. | |
1495 | (step_once): Install continuation only after resuming the target. | |
1496 | (step_1_continuation): Disable longjmp breakpoint on error. | |
1497 | (finish_command_continuation): Add the error parameter. Delete | |
1498 | the finish breakpoint directly, do not use cleanups. | |
1499 | (finish_command): Do not use exec_cleanups. Always setup | |
1500 | continuation. For sync case, immediately run them. | |
1501 | (attach_command_continuation): Add the error parameter. | |
1502 | * infrun.c (fetch_inferior_event): Do not use exec cleanups to | |
1503 | remove step_resume_breakpoint -- adjust delete it directly. | |
1504 | * interps.c (interp_set): Adjust call to do_all_continations. | |
1505 | * mi/mi-interp.c (mi_interpreter_exec_continuation): Do not | |
1506 | do exec cleanups. | |
1507 | * mi/mi-main.c (mi_cmd_target_select): Do not do exec | |
1508 | cleanups. | |
1509 | (mi_cmd_execute): Do not use exec_cleanup. | |
1510 | (mi_execute_async_cli_command): Simplify the string concatenation | |
1511 | logic. Do no use exec cleanup. | |
1512 | (mi_exec_async_cli_cmd_continuation): New parameter error. | |
1513 | Free last_async_command. | |
1514 | * top.c (command_line_handler_continuation): New parameter error. | |
1515 | * utils.c (exec_cleanup_chain, make_exec_cleanup) | |
1516 | (do_exec_cleanups): Remove. | |
1517 | (add_continuation, do_all_continations) | |
1518 | (add_intermediate_continuation) | |
1519 | (do_all_intermediate_continuations): New parameter error. | |
1520 | ||
74960c60 VP |
1521 | 2008-04-24 Vladimir Prus <[email protected]> |
1522 | ||
1523 | * breakpoint.h (bp_location_p): New typedef. | |
1524 | Register a vector of bp_location_p. | |
1525 | * breakpoint.c (always_inserted_mode) | |
1526 | (show_always_inserted_mode): New. | |
1527 | (unlink_locations_from_global_list): Remove. | |
1528 | (update_global_location_list) | |
1529 | (update_global_location_list_nothrow): New. | |
1530 | (update_watchpoint): Don't free locations. | |
1531 | (should_insert_location): New. | |
1532 | (insert_bp_location): Use should_insert_location. | |
1533 | (insert_breakpoint_locations): Copied from | |
1534 | insert_breakpoints. | |
1535 | (insert_breakpoint): Use insert_breakpoint_locations. | |
1536 | (bpstat_stop_status): Call update_global_location_list | |
1537 | when disabling breakpoint. | |
1538 | (allocate_bp_location): Don't add to bp_location_chain. | |
1539 | (set_raw_breakpoint) | |
1540 | (create_longjmp_breakpoint, enable_longjmp_breakpoint) | |
1541 | (disable_longjmp_breakpoint, create_overlay_event_breakpoint) | |
1542 | (enable_overlay_breakpoints, disable_overlay_breakpoints) | |
1543 | (set_longjmp_resume_breakpoint) | |
1544 | (enable_watchpoints_after_interactive_call_stop) | |
1545 | (disable_watchpoints_before_interactive_call_start) | |
1546 | (create_internal_breakpoint) | |
1547 | (create_fork_vfork_event_catchpoint) | |
1548 | (create_exec_event_catchpoint, set_momentary_breakpoint) | |
1549 | (create_breakpoints, break_command_1, watch_command_1) | |
1550 | (create_exception_catchpoint) | |
1551 | (handle_gnu_v3_exceptions) | |
1552 | (disable_breakpoint, breakpoint_re_set_one) | |
1553 | (create_thread_event_breakpoint, create_solib_event_breakpoint) | |
1554 | (create_ada_exception_breakpoint): : Don't call check_duplicates. | |
1555 | Call update_global_location_list. | |
1556 | (delete_breakpoint): Don't remove locations and don't | |
1557 | try to reinsert them. Call update_global_location_list. | |
1558 | (update_breakpoint_locations): Likewise. | |
1559 | (restore_always_inserted_mode): New. | |
1560 | (update_breakpoints_after_exec): Temporary disable | |
1561 | always inserted mode. | |
1562 | * Makefile.in: Update dependencies. | |
1563 | ||
1564 | * infrun.c (proceed): Remove breakpoints while stepping | |
1565 | over breakpoint. | |
1566 | (handle_inferior_event): Don't remove or insert | |
1567 | breakpoints. | |
1568 | * linux-fork.c (checkpoint_command): Remove breakpoints | |
1569 | before fork and insert after. | |
1570 | (linux_fork_context): Remove breakpoints before switch | |
1571 | and insert after. | |
1572 | * target.c (target_disconnect, target_detach): Remove | |
1573 | breakpoints from target. | |
1574 | ||
1575 | ||
d24317b4 VP |
1576 | 2008-04-24 Vladimir Prus <[email protected]> |
1577 | ||
1578 | * breakpoint.c (print_one_breakpoint_location): In MI | |
1579 | mode, report the location string the breakpoint was | |
1580 | originally created with. | |
1581 | ||
ee967b5f MG |
1582 | 2008-04-23 Maxim Grigoriev <[email protected]> |
1583 | ||
1584 | * Makefile.in (xtensa-tdep.o): Update dependencies. | |
1585 | * configure.tgt (xtensa*): Update dependencies. | |
1586 | * xtensa-tdep.c (arreg_number): Renamed from areg_number. | |
1587 | Local variable areg renamed to arreg. | |
1588 | (areg_number): New function. | |
1589 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
1590 | (xtensa_extract_return_value, xtensa_store_return_value): areg_number | |
1591 | replaced by arreg_number. | |
1592 | (xtensa_windowed_frame_cache, struct xtensa_frame_cache): New comments. | |
1593 | (xtensa_alloc_frame_cache): Initialize cache->wd.ws. | |
1594 | (xtensa_scan_prologue): New function. | |
1595 | (xtensa_frame_cache): New local fp_regnum. Handle separately the case, | |
1596 | when ENTRY instraction hasn't been executed yet. Get the frame pointer | |
1597 | value based on prologue analysis. Fix the bugs preventing WS and | |
1598 | AR4-AR7/A11 registers from getting right values for intermediate frames, | |
1599 | whose registers have been already spilled. | |
1600 | (xtensa_frame_prev_register): Fix WS register value. Use are_number | |
1601 | and arreg_number appropriately. | |
1602 | (xtensa_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to | |
1603 | svr4_ilp32_fetch_link_map_offsets. | |
1604 | ||
09d71d23 AS |
1605 | 2008-04-23 Andrew Stubbs <[email protected]> |
1606 | ||
1607 | * printcmd.c: Define USE_PRINTF_I64 and PRINTF_HAS_LONG_LONG on MinGW. | |
1608 | (printf_command): Convert %lld to %I64d when USE_PRINTF_I64 set. | |
1609 | ||
fdc59709 PB |
1610 | 2008-04-23 Paolo Bonzini <[email protected]> |
1611 | ||
1612 | * acinclude.m4: Add override.m4. | |
1613 | * configure: Regenerate. | |
1614 | ||
0bcd0149 JK |
1615 | 2008-04-22 Jan Kratochvil <[email protected]> |
1616 | ||
1617 | * ada-lang.c (get_selections): Variable PROMPT made non-const and | |
1618 | initialized with a trailing space now. Use PROMPT_ARG of | |
1619 | COMMAND_LINE_INPUT instead of printing it ourselves. | |
1620 | ||
88d8a8e0 JB |
1621 | 2008-04-22 Joel Brobecker <[email protected]> |
1622 | ||
1623 | * NEWS: Document support for 64-bit core file. | |
1624 | ||
c055b101 CV |
1625 | 2008-04-22 Corinna Vinschen <[email protected]> |
1626 | ||
1627 | * NEWS: Add information on calling convention and new SH CLI options. | |
1628 | ||
1629 | * sh-tdep.c (sh_cc_gcc): New static string. | |
1630 | (sh_cc_renesas): Ditto. | |
1631 | (sh_cc_enum): New static string array. | |
1632 | (sh_active_calling_convention): New static string pointer denoting | |
1633 | active user chosen ABI. | |
1634 | (sh_is_renesas_calling_convention): New function to return function | |
1635 | specific ABI, or user choice if necessary. | |
1636 | (sh_use_struct_convention): Rename first argument and turn around its | |
1637 | meaning. Check for renesas ABI and return accordingly. | |
1638 | (sh_use_struct_convention_nofpu): New function. | |
1639 | (sh_next_flt_argreg): Get function type as third parameter. Check | |
1640 | for renesas ABI and choose floating registers accordingly. | |
1641 | (sh_push_dummy_call_fpu): Check for ABI and choose argument slot and | |
1642 | struct return slot accordingly. | |
1643 | (sh_push_dummy_call_nofpu): Ditto. | |
1644 | (sh_return_value_nofpu): Call sh_use_struct_convention_nofpu from here. | |
1645 | Evaluate ABI and give to sh_use_struct_convention_nofpu. | |
1646 | (sh_return_value_fpu): Evaluate ABI and give to | |
1647 | sh_use_struct_convention. | |
1648 | (show_sh_command): New function. | |
1649 | (set_sh_command): Ditto. | |
1650 | (_initialize_sh_tdep): Initialize `set/show sh calling-convention | |
1651 | CLI command. | |
1652 | ||
1653 | * gdbarch.sh (return_value): Add func_type argument. | |
1654 | * gdbarch.c: Regenerate. | |
1655 | * gdbarch.h: Ditto. | |
1656 | * eval.c (evaluate_subexp_standard): Rename local variable value_type to | |
1657 | val_type so as not to collide with value_type function. Call | |
1658 | using_struct_return with additional function type argument. | |
1659 | * infcall.c (call_function_by_hand): Call using_struct_return and | |
1660 | gdbarch_return_value with additional function type argument. | |
1661 | * infcmd.c (print_return_value): Take addition func_type argument. | |
1662 | Call gdbarch_return_value with additional function type argument. | |
1663 | (finish_command_continuation): Call print_return_value with additional | |
1664 | function type argument. | |
1665 | (finish_command): Ditto. | |
1666 | * sparc-tdep.c (sparc32_push_dummy_code): Call using_struct_return with | |
1667 | additional function type argument. | |
1668 | * stack.c (return_command): Call using_struct_return and | |
1669 | gdbarch_return_value with additional function type argument. | |
1670 | * value.c (using_struct_return): Take additional function type argument. | |
1671 | * value.h (using_struct_return): Accommodate declaration. | |
1672 | * alpha-tdep.c (alpha_return_value): Add func_type argument. | |
1673 | * amd64-tdep.c (amd64_return_value): Ditto. | |
1674 | * arm-tdep.c (arm_return_value): Ditto. | |
1675 | * avr-tdep.c (avr_return_value): Ditto. | |
1676 | * cris-tdep.c (cris_return_value): Ditto. | |
1677 | * frv-tdep.c (frv_return_value): Ditto. | |
1678 | * h8300-tdep.c (h8300_return_value): Ditto. | |
1679 | (h8300h_return_value): Ditto. | |
1680 | * hppa-tdep.c (hppa32_return_value): Ditto. | |
1681 | (hppa64_return_value): Ditto. | |
1682 | * i386-tdep.c (i386_return_value): Ditto. | |
1683 | * ia64-tdep.c (ia64_return_value): Ditto. | |
1684 | * iq2000-tdep.c (iq2000_return_value): Ditto. | |
1685 | * m32c-tdep.c (m32c_return_value): Ditto. | |
1686 | * m32r-tdep.c (m32r_return_value): Ditto. | |
1687 | * m68hc11-tdep.c (m68hc11_return_value): Ditto. | |
1688 | * m68k-tdep.c (m68k_return_value): Ditto. | |
1689 | (m68k_svr4_return_value): Ditto. | |
1690 | * m88k-tdep.c (m88k_return_value): Ditto. | |
1691 | * mep-tdep.c (mep_return_value): Ditto. | |
1692 | * mips-tdep.c (mips_eabi_return_value): Ditto. | |
1693 | (mips_n32n64_return_value): Ditto. | |
1694 | (mips_o32_return_value): Ditto. | |
1695 | (mips_o64_return_value): Ditto. | |
1696 | * mn10300-tdep.c (mn10300_return_value): Ditto. | |
1697 | * mt-tdep.c (mt_return_value): Ditto. | |
1698 | * ppc-linux-tdep.c (ppc_linux_return_value): Ditto. | |
1699 | * ppc-sysv-tdep.c (ppc_sysv_abi_return_value): Ditto. | |
1700 | (ppc_sysv_abi_broken_return_value): Ditto. | |
1701 | (ppc64_sysv_abi_return_value): Ditto. | |
1702 | * ppc-tdep.h (ppc_sysv_abi_return_value): Ditto. | |
1703 | (ppc_sysv_abi_broken_return_value): Ditto. | |
1704 | (ppc64_sysv_abi_return_value): Ditto. | |
1705 | * ppcnbsd-tdep.c (ppcnbsd_return_value): Ditto. | |
1706 | * rs6000-tdep.c (rs6000_return_value): Ditto. | |
1707 | * s390-tdep.c (s390_return_value): Ditto. | |
1708 | * score-tdep.c (score_return_value): Ditto. | |
1709 | * sh-tdep.c (sh_return_value_nofpu): Ditto. | |
1710 | (sh_return_value_fpu): Ditto. | |
1711 | * sh64-tdep.c (sh64_return_value): Ditto. | |
1712 | * sparc-tdep.c (sparc32_return_value): Ditto. | |
1713 | * sparc64-tdep.c (sparc64_return_value): Ditto. | |
1714 | * spu-tdep.c (spu_return_value): Ditto. | |
1715 | * v850-tdep.c (v850_return_value): Ditto. | |
1716 | * vax-tdep.c (vax_return_value): Ditto. | |
1717 | * xstormy16-tdep.c (xstormy16_return_value): Ditto. | |
1718 | * xtensa-tdep.c (xtensa_return_value): Ditto. | |
1719 | ||
1720 | * gdbtypes.h (struct type): Add calling_convention member. | |
1721 | * dwarf2read.c (read_subroutine_type): Add calling convention read | |
1722 | from DW_AT_calling_convention attribute to function type. | |
1723 | ||
9eec4d1e MD |
1724 | 2008-04-22 Markus Deuling <[email protected]> |
1725 | ||
1726 | * eval.c (evaluate_subexp_standard): Use value_subscripted_rvalue for | |
1727 | multi_f77_subscript to support values from registers. | |
1728 | * valarith.c (value_subscripted_rvalue): Remove prototype and static. | |
1729 | * value.h (value_subscripted_rvalue): Add prototype. | |
1730 | ||
1731 | * f-typeprint.c (f_type_print_base): Add support for TYPE_CODE_UNION. | |
1732 | Fix output. | |
1733 | * f-valprint.c (f_val_print): Likewise. | |
1734 | ||
ef72380d CS |
1735 | 2008-04-21 Craig Silverstein <[email protected]> |
1736 | ||
1737 | * dwarf2read.c (zlib_decompress_section): Define abfd in the | |
1738 | !HAVE_ZLIB_H case. | |
1739 | ||
ff8e85c3 PA |
1740 | 2008-04-21 Pedro Alves <[email protected]> |
1741 | ||
1742 | * symfile.c (syms_from_objfile): Don't warn if lowest loadable | |
1743 | section is not a code section. | |
1744 | ||
31fffb02 CS |
1745 | 2008-04-19 Craig Silverstein <[email protected]> |
1746 | ||
1747 | * NEWS: Add information on compressed debug sections. | |
1748 | ||
8e91f023 VP |
1749 | 2008-04-19 Vladimir Prus <[email protected]> |
1750 | ||
1751 | * mi/mi-cmd-var.c (varobj_update_one): Print new | |
1752 | value for variable objects that changed type. | |
1753 | ||
603ba1de VP |
1754 | 2008-04-19 Vladimir Prus <[email protected]> |
1755 | ||
1756 | * varobj.c (varobj_invalidate): Don't touch floating | |
1757 | varobjs. | |
1758 | ||
7fc830e2 MK |
1759 | 2008-04-19 Mark Kettenis <[email protected]> |
1760 | ||
1761 | * symtab.c: (multiple_symbols_modes, multiple_symbols_ask) | |
1762 | (multiple_symbols_cancel): Remove extra const. | |
1763 | * symtab.h: Likewise. | |
1764 | ||
bcbf8b68 NR |
1765 | 2008-04-19 Nick Roberts <[email protected]> |
1766 | ||
1767 | * interps.c (top_level_interpreter): Rename static variable... | |
1768 | (top_level_interpreter_ptr): ...to this. | |
1769 | (top_level_interpreter): New function. | |
1770 | ||
1771 | * interps.h: New extern for top_level_interpreter. | |
1772 | ||
1773 | * linespec.c: Include interps.h and mi/mi-cmds.h. | |
1774 | (decode_line_2): When using MI, always set all breakpoints in menu. | |
1775 | ||
1776 | * Makefile.in (linespec.o, mi-interp.o): Add dependencies. | |
1777 | ||
31fffb02 | 1778 | 2008-04-18 Craig Silverstein <[email protected]> |
233a11ab CS |
1779 | |
1780 | * configure.ac (AC_SEARCH_LIBS): Add check for zlib. | |
1781 | * config.in, configure: Regenerate. | |
1782 | * dwarf2read.c: Include zlib.h if present. | |
1783 | Modified *_SECTION macros. | |
1784 | (section_is_p): New. | |
1785 | (dwarf2_locate_sections): Use section_is_p instead of strcmp | |
1786 | (dwarf2_resize_section): New. | |
1787 | to determine whether a given section has a given name. | |
1788 | (zlib_decompress_section): New. | |
1789 | (dwarf2_read_section): Read the compressed section if present | |
1790 | in the binary. | |
1791 | * MAINTAINERS: Added myself to section Write After Approval. | |
bcbf8b68 | 1792 | |
a03b3a97 TJB |
1793 | 2008-04-18 Thiago Jung Bauermann <[email protected]> |
1794 | ||
1795 | * defs.h (exec_set_section_offsets): Remove prototype. | |
1796 | * exec.c (exec_set_section_offsets): Remove function. | |
1797 | ||
9e386756 JB |
1798 | 2008-04-18 Joel Brobecker <[email protected]> |
1799 | ||
1800 | * stabsread.c (cleanup_undefined_types_1): Add instance flags check | |
1801 | in the search for the matching symbol. | |
1802 | ||
2ec93238 MK |
1803 | 2008-04-17 Marc Khouzam <[email protected]> |
1804 | ||
1805 | * breakpoint.c (update_watchpoint): Always reparse | |
1806 | condition. | |
1807 | ||
e9bbd7c5 JB |
1808 | 2008-04-17 Joel Brobecker <[email protected]> |
1809 | ||
1810 | * breakpoint.c (print_one_breakpoint_location): Make sure to print | |
1811 | the breakpoint address only once. | |
1812 | ||
475bbd17 JB |
1813 | 2008-04-17 Dennis Roberts <[email protected]> |
1814 | ||
1815 | * rs6000-tdep.c (rs6000_gdbarch_init): Use the BFD architecture, | |
1816 | rather than a hard-coded architecture, for xcoff executables. | |
1817 | ||
86991504 DE |
1818 | 2008-04-17 Doug Evans <[email protected]> |
1819 | ||
4584e32e DE |
1820 | * buildsym.c (watch_main_source_file_lossage): New fn. |
1821 | (end_symtab): Call it. | |
1822 | ||
86991504 DE |
1823 | * source.c (find_and_open_source): Add some comments clarifying |
1824 | handling of FULLNAME argument. Make static. Remove pointless | |
1825 | xstrdup/xfree. | |
1826 | ||
0a320680 PA |
1827 | 2008-04-17 Pedro Alves <[email protected]> |
1828 | ||
1829 | * inf-loop.c (inferior_event_handler): Also run the intermediate | |
1830 | continuations in the INF_EXEC_COMPLETE case. | |
1831 | ||
700b53b1 TT |
1832 | 2008-04-16 Tom Tromey <[email protected]> |
1833 | ||
1834 | * cli/cli-decode.h (CMD_ASYNC_OK): New define. | |
1835 | (set_cmd_async_ok, get_cmd_async_ok): Declare. | |
1836 | * cli/cli-decode.c (set_cmd_async_ok): New function. | |
1837 | (get_cmd_async_ok): New function. | |
1838 | * cli/cli-cmds.c (init_cli_cmds): Mark "pwd", "help", "info", and | |
1839 | "show" as async-ok. | |
1840 | * top.c (execute_command): Use get_cmd_async_ok. | |
1841 | * infcmd.c: Include cli/cli-decode.h. | |
1842 | (_initialize_infcmd): Mark "interrupt" as async-ok. | |
1843 | * Makefile.in (infcmd.o): Depend on cli_decode_h. | |
1844 | ||
dacec2a8 DJ |
1845 | 2008-04-16 Daniel Jacobowitz <[email protected]> |
1846 | ||
1847 | PR gdb/2445 | |
1848 | * exec.c: Correct "arch-utils.h" include. | |
1849 | ||
1f906a60 | 1850 | 2008-04-15 Aleksandar Ristovski <[email protected]> |
2cec12e5 AR |
1851 | |
1852 | PR gdb/2424 | |
1853 | * infrun.c (normal_stop) Move breakpoint_auto_delete further down | |
1854 | to allow printing to 'see' real reason of stop. This fixes PR 2424. | |
1855 | * breakpoint.c (bpdisp_texst): New function. The function takes over | |
1856 | the role of bpstats static array in print_one_breakpoint_location. | |
1857 | (print_it_typical): Print "Temporary breakpoint" instead | |
1858 | of just "Breakpoint" when breakpoint is, well, temporary. For mi-like | |
1859 | protocols, print disp field. | |
1860 | (print_one_breakpoint_location): Removed bpdisps static definition. | |
1861 | Call new bpstat_text function to get value for 'disp' field. | |
1862 | (mention): Print "Temporary breakpoint" instead of just "Breakpoint". | |
1863 | ||
4d7b71aa DJ |
1864 | 2008-04-15 Daniel Jacobowitz <[email protected]> |
1865 | ||
1866 | * gnulib/Makefile.am, gnulib/m4/gnulib-cache.m4, | |
1867 | gnulib/aux/link-warning.h, gnulib/extra/link-warning.h: Adjust | |
1868 | by rerunning gnulib-tool with --aux-dir=gnulib/extra. | |
1869 | * gnulib/Makefile.in: Regenerate. | |
1870 | ||
aa11fd3f DJ |
1871 | 2008-04-14 Daniel Jacobowitz <[email protected]> |
1872 | ||
1873 | * Makefile.in (GNULIB_H): New. Trigger all-lib. | |
1874 | (defs_h): Use $(GNULIB_H). | |
1875 | (all-lib): Depend on gnulib/Makefile. | |
1876 | (gnulib/Makefile): Regenerate gnulib/Makefile and gnulib/.deps. | |
1877 | * config.in, gnulib/Makefile.in: Regenerated. | |
1878 | ||
e28b3332 DJ |
1879 | 2008-04-14 Daniel Jacobowitz <[email protected]> |
1880 | ||
1881 | * Makefile.in (LIBGNU, INCGNU): Define. | |
1882 | (INTERNAL_CFLAGS_BASE): Add INCGNU. | |
1883 | (INTERNAL_LIBS, CLIBS, CDEPS): Add LIBGNU. | |
1884 | (CLEANDIRS): New. | |
1885 | ($(LIBGNU), all-lib): New rules. | |
1886 | (clean, distclean, do-maintainer-clean): Use CLEANDIRS. | |
1887 | * configure.ac: Use gl_EARLY, gl_INIT, and AM_INIT_AUTOMAKE. | |
1888 | Simplify AC_CONFIG_AUX_DIR. Generate gnulib/Makefile. | |
1889 | * gnulib: New directory, from gnulib-tool. | |
1890 | * configure, aclocal.m4: Regenerated. | |
1891 | ||
e3bc4218 DJ |
1892 | 2008-04-14 Daniel Jacobowitz <[email protected]> |
1893 | ||
1894 | * linux-thread-db.c (have_threads_callback): Check thread->private. | |
1895 | ||
fcacd99f VP |
1896 | 2008-04-13 Nick Roberts <[email protected]> |
1897 | Vladimir Prus <[email protected]> | |
1898 | ||
1899 | Fix @-varobjs. | |
1900 | * varobj.c (value_of_root): Update the expression for | |
1901 | floating varobjs. | |
1902 | * mi/mi-cmd-var.c (varobj_update_one): If type has changed, | |
1903 | report that. | |
1904 | ||
de051565 MK |
1905 | 2008-04-09 Marc Khouzam <[email protected]> |
1906 | ||
1907 | * mi/mi-cmd-var.c: Include "mi-getopt.h". | |
1908 | (mi_parse_format): New. Factored out from mi_cmd_var_set_format. | |
1909 | (mi_cmd_var_set_format): Use new mi_parse_format. | |
1910 | (mi_cmd_var_evaluate_expression): Support for -f option to specify | |
1911 | format. | |
1912 | * Makefile.in (mi-cmd-var.o): Update dependencies. | |
1913 | ||
1914 | * varobj.h (varobj_get_formatted_value): Declare. | |
1915 | * varobj.c (my_value_of_variable): Added format parameter. | |
1916 | (cplus_value_of_variable): Likewise. | |
1917 | (java_value_of_variable): Likewise. | |
1918 | (c_value_of_variable): Likewise. Evaluate expression based | |
1919 | on format parameter. | |
1920 | (struct language_specific): Add format parameter to function member | |
1921 | *value_of_variable. | |
1922 | (varobj_get_formatted_value): New. | |
1923 | (varobj_get_value): Added format parameter to method call. | |
1924 | ||
56953f80 JB |
1925 | 2008-04-08 Joel Brobecker <[email protected]> |
1926 | ||
1927 | * stabsread.c (cleanup_undefined_types_noname): Manually set the | |
1928 | instance flags of the undefined type before calling replace_type. | |
1929 | ||
e4e33b9e VP |
1930 | 2008-04-08 Vladimir Prus <[email protected]> |
1931 | ||
1932 | * target.h (enum strata): Remove the download_stratum. | |
1933 | ||
92b5c263 DE |
1934 | 2008-04-07 Doug Evans <[email protected]> |
1935 | ||
1936 | * buildsym.h (last_source_file): Add dwarf info to comment. | |
1937 | (last_source_start_addr): Ditto. | |
1938 | ||
effa26a9 PA |
1939 | 2008-04-07 Pedro Alves <[email protected]> |
1940 | ||
1941 | * alphanbsd-tdep.c: Include "target.h". | |
1942 | * mn10300-tdep.c: Include "target.h". | |
1943 | * Makefile.in (alphanbsd-tdep.o, mn10300-tdep.o): Update. | |
1944 | ||
2b2d9e11 VP |
1945 | 2008-04-06 Vladimir Prus <[email protected]> |
1946 | ||
1947 | Fix breakpoint condition that use member variables. | |
1948 | * valops.c (check_field): Remove. | |
1949 | (check_field_in): Rename to check_field. | |
1950 | (value_of_this): Use la_name_of_this. | |
1951 | * value.h (check_field): Adjust prototype. | |
1952 | ||
1953 | * language.h (la_value_of_this): Rename to la_name_of_this. | |
1954 | * language.c (unknown_language_defn): Specify "this" for | |
1955 | name_of_this. | |
1956 | (auto_language_defn): Likewise. | |
1957 | (local_language_defn): Likewise. | |
1958 | * ada-lang.c (ada_language_defn): Adjust comment. | |
1959 | * c-lang.c (c_language_defn): Adjust comment. | |
1960 | (cplus_language_defn): Specify "this" for name_of_this. | |
1961 | (asm_language_defn): Adjust comment. | |
1962 | (minimal_language_defn): Adjust comment. | |
1963 | * f-lang.c (f_language_defn): Specify NULL for name_of_this. | |
1964 | * jv-lang.c (java_language_defn): Specify "this" for name_of_this. | |
1965 | * m2-lang.c (m2_language_defn): Specify "this" for name_of_this. | |
1966 | * objc-lang.c (objc_language_defn): Specify "self" for | |
1967 | name_of_this. | |
1968 | * p-lang.c (pascal_language_defn): Specify "this" for | |
1969 | name_of_this. | |
1970 | * scm-lang.c (scm_language_defn): Specify NULL for name_of_this. | |
1971 | ||
1972 | * symtab.c (lookup_symbol_aux): Lookup "this" in the | |
1973 | proper scope, and check for field in type of "this", without | |
1974 | trying to create a value. | |
1975 | ||
a13e061a PA |
1976 | 2008-04-04 Pedro Alves <[email protected]> |
1977 | ||
1978 | * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_ERROR. | |
1979 | (mi_error_message): Delete declaration. | |
1980 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Call error instead of | |
1981 | returning MI_CMD_ERROR. | |
1982 | * mi/mi-main.c (mi_error_message): Delete. | |
1983 | (mi_cmd_exec_interrupt): | |
1984 | (mi_cmd_thread_select, mi_cmd_thread_list_ids) | |
1985 | (mi_cmd_thread_info): Call error instead of returning | |
1986 | MI_CMD_ERROR. | |
1987 | (mi_cmd_data_list_register_values): Call error instead of | |
1988 | returning MI_CMD_ERROR. Adapt to new get_register interface. | |
1989 | (get_register): Change return typo to void. Call error instead of | |
1990 | returning MI_CMD_ERROR. | |
1991 | (mi_cmd_data_write_register_values): Call error instead of | |
1992 | returning MI_CMD_ERROR. | |
1993 | (mi_cmd_list_features): Return MI_CMD_DONE. | |
1994 | (captured_mi_execute_command): Remove MI_CMD_ERROR handling. | |
1995 | (mi_execute_command): Always print exceptions with -error. | |
1996 | ||
aad4b048 JB |
1997 | 2008-04-04 Joel Brobecker <[email protected]> |
1998 | ||
1999 | * NEWS: Mention new commands set/show multiple-symbols. | |
2000 | ||
717d2f5a JB |
2001 | 2008-04-03 Joel Brobecker <[email protected]> |
2002 | ||
2003 | * symtab.c (multiple_symbols_ask, multiple_symbols_all) | |
2004 | (multiple_symbols_cancel): New constants. | |
2005 | (multiple_symbols_modes, multiple_symbols_mode): New static globals. | |
2006 | (multiple_symbols_select_mode): New function. | |
2007 | (_initialize_symtab): Add new set/show multiple-symbols commands. | |
2008 | * symtab.h (multiple_symbols_ask, multiple_symbols_all) | |
2009 | (multiple_symbols_cancel, multiple_symbols_select_mode): Declare. | |
2010 | * ada-lang.c (user_select_syms): Add handling of new multiple-symbols | |
2011 | setting. | |
2012 | * linespec.c (decode_line_2): Likewise. | |
2013 | ||
f73634e5 DE |
2014 | 2008-04-03 Doug Evans <[email protected]> |
2015 | ||
2016 | * symtab.h (enum free_code): Delete free_contents, unused. | |
2017 | * symmisc.c (free_symtab_block): Delete. | |
2018 | (free_symtab, case free_code): Delete. | |
2019 | ||
1f906a60 | 2020 | 2008-04-01 Aleksandar Ristovski <[email protected]> |
6af87b03 AR |
2021 | |
2022 | * valops.c (value_cast_structs): New function. Cast related | |
2023 | STRUCT types up/down and return cast value. The body of this | |
2024 | function comes mostly from value_cast_pointers. | |
2025 | (value_cast_pointers): Code for actual cast STRUCT-STRUCT moved | |
2026 | to value_cast_structs. Now value_cast_pointers needs only create | |
2027 | appropriate reference after using value_cast_structs for actual | |
2028 | casting. | |
2029 | (value_cast): Handle references. | |
2030 | ||
61ad90e1 MK |
2031 | 2008-04-01 Marc Khouzam <[email protected]> |
2032 | ||
2033 | * MAINTAINERS: Added myself to section Write After Approval. | |
2034 | ||
b7d038ae DJ |
2035 | 2008-03-30 Daniel Jacobowitz <[email protected]> |
2036 | ||
2037 | * ia64-tdep.c (examine_prologue): Correct array access. | |
2038 | ||
1f906a60 | 2039 | 2008-03-28 Aleksandar Ristovski <[email protected]> |
c836824f AR |
2040 | |
2041 | * cp-support.c (first_component_command): Return if no arguments. | |
2042 | ||
df3ac606 CD |
2043 | 2008-03-28 Carlos O'Donell <[email protected]> |
2044 | ||
2045 | * ser-mingw.c (ser_windows_open): Open requested name. | |
2046 | ||
ca933485 AR |
2047 | 2008-03-28 Aleksandar Ristovski <[email protected]> |
2048 | ||
2049 | * MAINTAINERS: Added myself. | |
2050 | ||
5f667f2d PA |
2051 | 2008-03-28 Pedro Alves <[email protected]> |
2052 | ||
2053 | * target.c (find_default_run_target): Allow a NULL `do_mesg' | |
2054 | parameter. If it is NULL, don't call error. | |
2055 | (find_default_can_async_p, find_default_is_async_p): Pass NULL as | |
2056 | `do_mesg' parameter to find_default_run_target. If no target was | |
2057 | found, return 0. | |
2058 | ||
e741f4d4 DJ |
2059 | 2008-03-28 Daniel Jacobowitz <[email protected]> |
2060 | ||
2061 | * mips-linux-tdep.c: Update N32/N64 signal frame comments. | |
2062 | (N64_SIGCONTEXT_LO, N64_SIGCONTEXT_PC, N64_SIGCONTEXT_FPCSR): Update. | |
2063 | (N64_SIGCONTEXT_FIR, N64_SIGCONTEXT_CAUSE, N64_SIGCONTEXT_BADVADDR): | |
2064 | Delete. | |
2065 | (mips_linux_n32n64_sigframe_init): Do not record cause or badvaddr. | |
2066 | ||
f66d8205 | 2067 | 2008-03-27 Joel Brobecker <[email protected]> |
2068 | ||
2069 | GDB 6.8 released. | |
2070 | ||
221c031f UW |
2071 | 2008-03-27 Ulrich Weigand <[email protected]> |
2072 | ||
2073 | * features/Makefile (%.dat): Set xmltarget to the base filename | |
2074 | of the XML source, without subdirectory. | |
2075 | * regformats/rs6000/powerpc-32.dat: Regenerate. | |
2076 | * regformats/rs6000/powerpc-64.dat: Regenerate. | |
2077 | * regformats/rs6000/powerpc-e500.dat: Regenerate. | |
2078 | ||
40c58d95 MD |
2079 | 2008-03-27 Markus Deuling <[email protected]> |
2080 | ||
2081 | * xcoffread.c (scan_xcoff_symtab): Replace current_gdbarch by | |
2082 | objfile arch. | |
2083 | ||
bb1ec7d2 NR |
2084 | 2008-03-27 Nick Roberts <[email protected]> |
2085 | ||
2086 | * mi/mi-main.c (enum captured_mi_execute_command_actions): | |
2087 | Spell suppress in EXECUTE_COMMAND_SUPPRESS_PROMPT correctly. | |
2088 | ||
5e2b427d UW |
2089 | 2008-03-26 Ulrich Weigand <[email protected]> |
2090 | ||
2091 | * objfiles.h (struct objfile): New GDBARCH member. | |
2092 | (get_objfile_arch): Add prototype. | |
2093 | * objfiles.c: Include "arch-utils.h". | |
2094 | (allocate_objfile): Look up gdbarch associated with bfd. | |
2095 | (get_objfile_arch): New function. | |
2096 | * Makefile (objfiles.o): Update dependencies. | |
2097 | ||
2098 | * dwarf2-frame.c (decode_frame_entry_1): Replace current_gdbarch | |
2099 | by objfile arch. | |
2100 | * dwarf2loc.c (dwarf_expr_read_reg): Replace current_gdbarch | |
2101 | by frame arch. | |
2102 | (locexpr_describe_location): Replace current_gdbarch by | |
2103 | objfile arch. | |
2104 | * dwarf2read.c (die_type): Replace current_gdbarch by objfile arch. | |
2105 | (dwarf2_add_field): Likewise. | |
2106 | (read_tag_pointer_type): Likewise. | |
2107 | (read_base_type): Likewise. | |
2108 | (new_symbol): Likewise. | |
2109 | ||
2110 | * coffread.c (decode_type): Add OBJFILE argument. Update callers. | |
2111 | (decode_base_type, decode_function_type): Likewise. | |
2112 | (coff_read_struct_type, coff_read_enum_type): Likewise. | |
2113 | (coff_symtab_read): Replace current_gdbarch by objfile arch. | |
2114 | (decode_base_type): Likewise. | |
2115 | (coff_read_enum_type): Likewise. | |
2116 | (coff_read_struct_type): Replace current_objfile by OBJFILE argument. | |
2117 | (coff_read_enum_type): Likewise. | |
2118 | ||
2119 | * dbxread.c (read_dbx_symtab): Replace current_gdbarch by objfile arch. | |
2120 | (end_psymtab): Likewise. | |
2121 | (process_one_symbol): Likewise. | |
2122 | ||
2123 | * mdebugread.c (parse_symbol): Replace current_gdbarch by objfile arch. | |
2124 | (parse_procedure): Likewise. | |
2125 | (parse_partial_symbols): Likewise. | |
2126 | ||
2127 | * somread.c (som_symtab_read): Replace current_gdbarch by objfile arch. | |
2128 | ||
2129 | * stabsread.c (define_symbol): Replace current_gdbarch by objfile arch. | |
2130 | Replace static pcc_promotion_type and pcc_unsigned_promotion_type by | |
2131 | built-in types. | |
2132 | (read_range_type): Replace current_gdbarch by objfile arch. Replace | |
2133 | static range_index_type by built-in type. | |
2134 | (read_one_struct_field): Replace current_gdbarch by objfile arch. | |
2135 | (read_enum_type): Likewise. | |
2136 | ||
2137 | * xcoffread.c (read_xcoff_symtab): Replace current_gdbarch by | |
2138 | objfile arch. | |
2139 | ||
5a413362 VP |
2140 | 2008-03-26 Vladimir Prus <[email protected]> |
2141 | ||
2142 | * varobj.h (varobj_floating_p): Declare. | |
2143 | * varobj.c (varobj_floating_p): New. | |
2144 | * mi/mi-cmd-var.c (mi_cmd_var_update): When passed | |
2145 | '@' as the name, update all floating varobjs. | |
2146 | ||
a5defcdc VP |
2147 | 2008-03-26 Vladimir Prus <[email protected]> |
2148 | ||
2149 | * varobj.c (struct varobj_root): Rename use_selected_frame to | |
2150 | floating, and clarify the meaning. | |
2151 | (varobj_create, varobj_update, new_root_variable): Adjust. | |
2152 | (value_of_root): Don't use type_changed as in variable, | |
2153 | adjust comment. | |
2154 | (c_value_of_root): Adjust. | |
5a413362 | 2155 | |
403fe197 PA |
2156 | 2008-03-25 Pedro Alves <[email protected]> |
2157 | ||
2158 | * linux-nat.c (linux_nat_attach): Add the pid we attached to, to | |
2159 | gdb's thread list. | |
2160 | (linux_nat_wait): Add main lwp to gdb's thread list. | |
2161 | * linux-thread-db.c (find_new_threads_callback): Also attach to | |
2162 | already listed threads which thread_db didn't know about yet. | |
2163 | ||
710151dd PA |
2164 | 2008-03-25 Pedro Alves <[email protected]> |
2165 | ||
2166 | * linux-nat.c (drain_queued_events): Fix comment typo. | |
2167 | (linux_nat_attach): In async mode, don't rely on storing a pending | |
2168 | status. Instead place the wait status on the pipe. | |
2169 | (linux_nat_resume): Remove unreacheable shortcut code in async | |
2170 | mode. | |
2171 | (stop_wait_callback): In async mode, don't store pending status. | |
2172 | Instead, cancel breakpoints or resend the signal appropriatelly. | |
2173 | (cancel_breakpoint): New, refactored from | |
2174 | cancel_breakpoints_callback. | |
2175 | (cancel_breakpoints_callback): Call cancel_breakpoint. | |
2176 | (pipe_to_local_event_queue): Remove special token processing. | |
2177 | (linux_nat_wait): Issue an internal error if a pending status is | |
2178 | found in async mode. | |
2179 | ||
807bddf3 DJ |
2180 | 2008-03-24 Daniel Jacobowitz <[email protected]> |
2181 | ||
2182 | * inflow.c (gdb_has_a_terminal): Guard access to our_process_group. | |
2183 | ||
c5b48eac VP |
2184 | 2008-03-24 Nick Roberts <[email protected]> |
2185 | Vladimir Prus <[email protected]> | |
2186 | ||
2187 | * varobj.c (struct varobj_root): New component thread_id. | |
2188 | (varobj_get_thread_id, check_scope): New functions. | |
2189 | (c_value_of_root): Use check_scope. Switch to the | |
2190 | proper thread if necessary. | |
2191 | ||
2192 | * varobj.h (varobj_get_thread_id): New extern. | |
2193 | ||
2194 | * mi/mi-cmd-var.c (print_varobj): Add thread-id field. | |
2195 | ||
12f4afab DJ |
2196 | 2008-03-23 Daniel Jacobowitz <[email protected]> |
2197 | ||
2198 | PR gdb/544 | |
2199 | * top.c: Revert 2008-03-21 changes. | |
2200 | ||
6208b47d VP |
2201 | 2008-03-23 Vladimir Prus <[email protected]> |
2202 | ||
2203 | * thread.c (make_cleanup_restore_current_thread): Make it | |
2204 | globally visible. | |
2205 | * gdbthread.h (make_cleanup_restore_current_thread): Declare. | |
2206 | * varobj.c (varobj_update): Don't save/restore frame. | |
2207 | (c_value_of_root): Save/restore thread and frame here, | |
2208 | using make_cleanup_restore_current_thread. | |
2209 | * Makefile.in: Update dependecies. | |
2210 | ||
44a67aa7 VP |
2211 | 2008-03-23 Vladimir Prus <[email protected]> |
2212 | ||
2213 | * varobj.c (struct varobj_root): Clarify | |
2214 | comment on the frame field. | |
2215 | (varobj_create): Don't set frame if we have no | |
2216 | block. | |
2217 | ||
b562a0cb DJ |
2218 | 2008-03-21 Daniel Jacobowitz <[email protected]> |
2219 | ||
2220 | PR gdb/544 | |
2221 | Suggested by Jan Kratochvil: | |
2222 | * top.c (gdb_rl_operate_and_get_next_completion): Call | |
2223 | rl_redisplay_function. | |
2224 | (gdb_rl_redisplay): New. | |
2225 | (init_main): Set rl_redisplay_function. | |
2226 | ||
ed1bd5f5 JB |
2227 | 2008-03-21 Thomas Mittelstaedt <[email protected]> (tiny change) |
2228 | ||
2229 | * aix-thread.c (pdc_read_regs): Fix compiler warning. | |
2230 | (pdc_write_regs, aix_thread_resume, fetch_regs_kernel_thread) | |
2231 | (store_regs_kernel_thread): Likewise. | |
2232 | ||
b84876c2 PA |
2233 | 2008-03-21 Pedro Alves <[email protected]> |
2234 | ||
2235 | Linux native async support. | |
2236 | ||
2237 | * target.h (struct target_ops): Delete to_async_mask_value and add | |
2238 | to_async_mask. | |
2239 | (target_is_async_p, target_async): Formatting. | |
2240 | (target_async_mask_value): Delete. | |
2241 | (target_async_mask): Delete function declaration, and add new | |
2242 | target macro with the same name. | |
2243 | ||
2244 | * target.c (update_current_target): Replace to_async_mask_value by | |
2245 | to_async_mask. Default to_async_mask to return_one. | |
2246 | (target_async_mask): Delete. | |
2247 | (find_default_can_async_p, find_default_is_async_p): New. | |
2248 | (init_dummy_target): register find_default_can_async_p and | |
2249 | find_default_is_async_p on the dummy target. | |
2250 | ||
2251 | * linux-nat.c: Include inf-loop.h, event-loop.h and event-top.h. | |
2252 | (debug_linux_nat_async): New global. | |
2253 | (show_debug_linux_nat_async): New function. | |
2254 | (linux_nat_async_enabled, linux_nat_async_mask_value) | |
2255 | (linux_nat_event_pipe, linux_nat_num_queued_events) | |
2256 | (linux_nat_async_events_enabled): New globals. | |
2257 | (struct waitpid_result): New struct. | |
2258 | (waitpid_queue): New global. | |
2259 | (queued_waitpid, push_waitpid, drain_queued_events): New. | |
2260 | (my_waitpid): Call queued_waitpid. | |
2261 | (linux_child_follow_fork): Disable async events during the call. | |
2262 | (blocked_mask): Delete. | |
2263 | (sync_sigchld_action, async_sigchld_action): New globals. | |
2264 | (lin_lwp_attach_lwp): In sync mode, don't reblock SIGCHLD. In | |
2265 | async mode, block events during the call. | |
2266 | (linux_nat_create_inferior): New. | |
2267 | (linux_nat_attach): In sync mode, restore the mask states. In | |
2268 | async mode, wake the event loop immediatelly. | |
2269 | (detach_callback): Drain all queued events of the lwp we're | |
2270 | detaching from. | |
2271 | (linux_nat_detach): Block async mode, and drain events of the main | |
2272 | process. | |
2273 | (linux_nat_resume): If in async mode, mask async events during the | |
2274 | call. If short circuiting, force event loop to wake up. If | |
2275 | resuming, set target_executing, and register target events in the | |
2276 | event loop. | |
2277 | (pipe_to_local_event_queue, local_event_queue_to_pipe): New. | |
2278 | (linux_nat_wait): In async mode, block events during the call. | |
2279 | Only enable/disable passing SIGINT to the inferior in sync mode. | |
2280 | Get events from local waitpid queue. If no interesting events was | |
2281 | found, return to events loop. Reregister target events in the | |
2282 | event loop on exit. In sync mode, no need to reblock SIGCHLD. | |
2283 | (linux_nat_kill): Disable events on entry. | |
2284 | (linux_nat_mourn_inferior): In sync mode, don't restore the masks | |
2285 | here. Detach async mode from the event loop if there are no more | |
2286 | forks available, otherwise leave it on. | |
2287 | (sigchld_handler): Assure this is called only in sync mode. | |
2288 | (linux_async_permitted, linux_async_permitted_1): New globals. | |
2289 | (set_maintenance_linux_async_permitted) | |
2290 | (show_maintenance_linux_async_permitted): New functions. | |
2291 | (linux_nat_is_async_p, linux_nat_can_async_p) | |
2292 | (linux_nat_async_mask): New. | |
2293 | (linux_nat_event_pipe_pop, linux_nat_event_pipe_push): New. | |
2294 | (get_pending_events, async_sigchld_handler): New. | |
2295 | (linux_nat_async_events): New. | |
2296 | (async_terminal_is_ours): New global. | |
2297 | (linux_nat_terminal_inferior, linux_nat_terminal_ours): New. | |
2298 | (async_client_callback, async_client_context): New. | |
2299 | (linux_nat_async_file_handler, linux_nat_async) | |
2300 | (linux_nat_disable_async, linux_nat_enable_async): New. | |
2301 | (linux_nat_add_target): Register linux_nat_create_inferior, | |
2302 | linux_nat_can_async_p, linux_nat_is_async_p, linux_nat_async, | |
2303 | linux_nat_async_mask, linux_nat_terminal_inferior and | |
2304 | linux_nat_terminal_ours. | |
2305 | (_initialize_linux_nat): Remove local action variable, and update | |
2306 | code that used it to use sync_sigchld_action. Add new | |
2307 | "lin-lwp-async" debug set/show command. Put the "lin-lwp" debug | |
2308 | set/show command in the maintenance class. Add new "linux-async" | |
2309 | maintenance set/show command. Block SIGCHLD by default. Setup | |
2310 | async_sichld_action, and sync_sigchld_action. Install the default | |
2311 | async mode. | |
2312 | (lin_thread_get_thread_signals): Use a local sigset_t for blocking | |
2313 | the cancel signals. | |
2314 | ||
2315 | * linux-thread-db.c (re_check_for_thread_db): New. | |
2316 | (clear_lwpid_callback): Handle TARGET_WAITKIND_IGNORE. | |
2317 | (thread_db_can_async_p, thread_db_is_async_p, thread_db_async) | |
2318 | (thread_db_async_mask): New. | |
2319 | (init_thread_db_ops): Register thread_db_can_async_p, | |
2320 | thread_db_is_async_p, thread_db_async and thread_db_async_mask. | |
2321 | ||
2322 | * remote.c (remote_async_mask_value): New. | |
2323 | (remote_return_zero): New. | |
2324 | (init_remote_ops): Register remote_return_zero as callbacks of | |
2325 | to_can_async_p and to_is_async_p. | |
2326 | (remote_can_async_p, remote_is_async_p, remote_async): Update to | |
2327 | use remote_async_mask_value. | |
2328 | (remote_async_mask): New. | |
2329 | (init_remote_async_ops): Remove to_async_mask_value setting and | |
2330 | register remote_async_mask as to_async_mask callback in | |
2331 | remote_async_ops. | |
2332 | ||
2333 | * Makefile.in (linux-nat.o): Update. | |
2334 | ||
17faa917 DJ |
2335 | 2008-03-21 Daniel Jacobowitz <[email protected]> |
2336 | ||
2337 | * gdbthread.h (add_thread_with_info): New. | |
2338 | * linux-thread-db.c: Add some documentation. | |
2339 | (GET_LWP, GET_PID, GET_THREAD, is_lwp, is_thread, BUILD_LWP): Delete. | |
2340 | (struct private_thread_info): Remove th_valid and ti_valid. | |
2341 | Replace ti with tid. | |
2342 | (thread_get_info_callback): Do not add TID to the new ptid. Do | |
2343 | not cache th or ti. | |
2344 | (thread_db_map_id2thr, lwp_from_thread): Delete functions. | |
2345 | (thread_from_lwp): Assert that the LWP is set. Do not add TID to the | |
2346 | new PTID. | |
2347 | (attach_thread): Handle an already-existing thread. Use | |
2348 | add_thread_with_info. Cache the th and tid. | |
2349 | (detach_thread): Verify that private was set. Remove verbose | |
2350 | argument and printing. Update caller. | |
2351 | (thread_db_detach): Do not adjust inferior_ptid. | |
2352 | (clear_lwpid_callback, thread_db_resume, thread_db_kill): Delete. | |
2353 | (check_event, find_new_threads_callback): Do not add TID to the new PTID. | |
2354 | (thread_db_wait): Do not use lwp_from_thread. | |
2355 | (thread_db_pid_to_str): Use the cached TID. | |
2356 | (thread_db_extra_thread_info): Check that private is set. | |
2357 | (same_ptid_callback): Delete. | |
2358 | (thread_db_get_thread_local_address): Do not use it or check | |
2359 | is_thread. Check that private is set. Assume that the thread | |
2360 | handle is already cached. | |
2361 | (init_thread_db_ops): Remove to_resume and to_kill. | |
2362 | * thread.c (add_thread_with_info): New. | |
2363 | (add_thread): Use it. | |
2364 | * linux-nat.c (find_thread_from_lwp): Delete. | |
2365 | (exit_lwp): Do not use it. Check print_thread_events. Print before | |
2366 | deleting the thread. | |
2367 | (GET_PID, GET_LWP, BUILD_LWP, is_lwp): Move to... | |
2368 | * linux-nat.h (GET_PID, GET_LWP, BUILD_LWP, is_lwp): ...here. | |
2369 | * inf-ttrace.c (inf_ttrace_wait): Use print_thread_events and | |
2370 | printf_unfiltered for thread exits. | |
2371 | * procfs.c (procfs_wait): Likewise. | |
2372 | ||
6214f497 DJ |
2373 | 2008-03-21 Chris Demetriou <[email protected]> |
2374 | ||
2375 | * symtab.c (rbreak_command): Quote symbol name before passing | |
2376 | it to break_command. | |
2377 | ||
63092375 DJ |
2378 | 2008-03-21 Daniel Jacobowitz <[email protected]> |
2379 | ||
2380 | * eval.c (evaluate_subexp_for_address): Clarify error message. | |
2381 | Use value_must_coerce_to_target. | |
2382 | * infcall.c (value_arg_coerce): Call value_coerce_to_target. | |
2383 | * valops.c (value_assign): Call value_coerce_to_target when | |
2384 | assigning to anything but internalvars. Leave GDB-side arrays | |
2385 | as arrays when assigning to internalvars. | |
2386 | (value_must_coerce_to_target, value_coerce_to_target): New. | |
2387 | (value_coerce_array, value_addr): Call value_coerce_to_target. | |
2388 | (value_array): Create the array in GDB's memory instead of | |
2389 | the inferior's. | |
2390 | * value.h (value_must_coerce_to_target, value_coerce_to_target): | |
2391 | Declare. | |
2392 | ||
b21991b0 DJ |
2393 | 2008-03-21 Daniel Jacobowitz <[email protected]> |
2394 | ||
2395 | * top.c (quit_confirm): Warn that we will kill the program. | |
2396 | ||
49a834f9 PA |
2397 | 2008-03-19 Pedro Alves <[email protected]> |
2398 | ||
2399 | * inflow.c (terminal_ours_1): Guard access to | |
2400 | inferior_process_group with #ifdef PROCESS_GROUP_TYPE. | |
2401 | ||
ae0d2f24 UW |
2402 | 2008-03-18 Ulrich Weigand <[email protected]> |
2403 | Jim Blandy <[email protected]> | |
2404 | Daniel Jacobowitz <[email protected]> | |
2405 | ||
2406 | * dwarf2expr.h (struct dwarf_expr_context): Add ADDR_SIZE member. | |
2407 | (dwarf2_read_address): Update prototype. | |
2408 | ||
2409 | * dwarf2expr.c (unsigned_address_type): Add ADDR_SIZE parameter. | |
2410 | (signed_address_type): Likewise. | |
2411 | (dwarf2_read_address): Replace BYTES_READ parameter with ADDR_SIZE. | |
2412 | (execute_stack_op): Update calls to unsigned_address_type, | |
2413 | signed_address_type and dwarf2_read_address. Fix implementation | |
2414 | of DW_OP_deref_size. | |
2415 | ||
2416 | * dwarf2loc.h (dwarf2_per_cu_objfile): Add prototype. | |
2417 | (dwarf2_per_cu_addr_size): Likewise. | |
2418 | (struct dwarf2_locexpr_baton): Replace OBJFILE with PER_CU. | |
2419 | (struct dwarf2_loclist_baton): Likewise. | |
2420 | ||
2421 | * dwarf2loc.c (find_location_expression): Update calls to | |
2422 | dwarf2_read_address. Use dwarf2_per_cu_objfile and | |
2423 | dwarf2_per_cu_addr_size to retrieve PER_CU parameters. | |
2424 | (locexpr_describe_location): Likewise. | |
2425 | (dwarf2_evaluate_loc_desc): Replace OBJFILE with PER_CU parameter. | |
2426 | Set ctx->addr_size to dwarf2_per_cu_addr_size (per_cu). | |
2427 | (dwarf2_loc_desc_needs_frame): Add PER_CU parameter. Set ctx->addr_size | |
2428 | to dwarf2_per_cu_addr_size (per_cu). | |
2429 | (locexpr_read_variable): Update dwarf2_evaluate_loc_desc call. | |
2430 | (loclist_read_variable): Likewise. | |
2431 | (locexpr_read_needs_frame): Update dwarf2_loc_desc_needs_frame call. | |
2432 | ||
2433 | * dwarf2read.c (dwarf2_symbol_mark_computed): Set baton->per_cu | |
2434 | instead of baton->objfile. | |
2435 | (dwarf2_per_cu_obfile): New function. | |
2436 | (dwarf2_per_cu_addr_size): Likewise. | |
2437 | ||
2438 | * dwarf2-frame.c (struct comp_unit): Move higher. | |
2439 | (struct dwarf2_cie): Add UNIT and ADDR_SIZE members. | |
2440 | (execute_stack_op): Add ADDR_SIZE parameter; set ctx->addr_size. | |
2441 | (execute_cfa_program): Add FDE parameter. Replace EH_FRAME_P | |
2442 | parameter by using fde->eh_frame_p. Use read_encoded_value | |
2443 | to implement DW_CFA_set_loc. | |
2444 | (struct dwarf2_frame_cache): Add ADDR_SIZE member. | |
2445 | (dwarf2_frame_cache): Set cache->addr_size. Update calls to | |
2446 | execute_stack_op and execute_cfa_program. | |
2447 | (dwarf2_frame_prev_register): Update calls to execute_stack_op. | |
2448 | (size_of_encoded_value): Remove. | |
2449 | (read_encoded_value): Add PTR_LEN and FUNC_BASE parameters. | |
2450 | Remove call to size_of_encoded_value. Implement DW_EH_PE_funcrel. | |
2451 | (add_cie): Set cie->unit backlink. | |
2452 | (decode_frame_entry_1): Set cie->addr_size. Update calls to | |
2453 | read_encoded_value. | |
2454 | (dwarf2_build_frame_info): Allocate UNIT on objfile obstack. | |
2455 | ||
1c8201d1 MD |
2456 | 2008-03-17 Markus Deuling <[email protected]> |
2457 | ||
2458 | * i386-tdep.c (i386_print_insn): Remove unnecessary call to | |
2459 | gdbarch_bfd_arch_info. | |
2460 | ||
46bba1ef JB |
2461 | 2008-03-17 Joel Brobecker <[email protected]> |
2462 | ||
2463 | * aix-thread.c (pdc_read_regs): Minor reformatting. | |
2464 | ||
0bcd3e20 VP |
2465 | 2008-03-17 Vladimir Prus <[email protected]> |
2466 | ||
2467 | * thread.c (print_thread_info): Don't insist | |
2468 | on having current thread if there are no | |
2469 | threads at all. | |
2470 | ||
9356cf8d PA |
2471 | 2008-03-17 Pedro Alves <[email protected]> |
2472 | ||
2473 | * infcmd.c (attach_command_post_wait) | |
2474 | (attach_command_continuation): New. | |
2475 | (attach_command): Support background async execution, and async | |
2476 | execution in synchronous mode. | |
2477 | ||
5c3ce3f7 DJ |
2478 | 2008-03-17 Daniel Jacobowitz <[email protected]> |
2479 | ||
2480 | * stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR. | |
2481 | * symmisc.c (dump_symtab_1): Likewise. | |
2482 | * wrapper.c (gdb_value_struct_elt): Likewise. | |
2483 | ||
fa2c6a57 PA |
2484 | 2008-03-17 Pedro Alves <[email protected]> |
2485 | ||
2486 | * linux-nat.c (linux_nat_filter_event): Fix comment typo. | |
2487 | ||
02f3fc28 PA |
2488 | 2008-03-17 Pedro Alves <[email protected]> |
2489 | ||
2490 | * linux-nat.c (linux_nat_filter_event): New, refactored from | |
2491 | linux_nat_wait. | |
2492 | (linux_nat_wait): Call linux_nat_filter_event. | |
2493 | ||
2f77b315 UW |
2494 | 2008-03-17 Ulrich Weigand <[email protected]> |
2495 | ||
2496 | * top.c (execute_command): Fix uninitialized variable error. | |
2497 | ||
f01be29b NH |
2498 | 2008-03-16 Nick Hudson <[email protected]> |
2499 | ||
2500 | * Makefile.in (amd64nbsd-nat.o): New dependency. | |
2501 | * amd64nbsd-nat.c: Include "nbsd-nat.h". | |
2502 | (_initialize_amd64nbsd_nat): Update target vector to use | |
2503 | nbsd_pid_to_exec_file. | |
2504 | * config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o. | |
2505 | ||
6cf32704 VP |
2506 | 2008-03-15 Vladimir Prus <[email protected]> |
2507 | ||
2508 | Remove ignoring leading exec events code. | |
2509 | * fork-child.c (startup_inferior): Do not set | |
2510 | inferior_ignoring_leading_exec_events. | |
2511 | * inf-child.c (inf_child_reported_exec_events_per_exec_call): Remove. | |
2512 | (inf_child_target): Do not set to_reported_exec_events_per_exec_call. | |
2513 | * infrun.c (inferior_ignoring_leading_exec_events): Remove. | |
2514 | (handle_inferior_event): Remove code for ignoring leading exec | |
2515 | events. | |
2516 | * target.c (update_current_target): Do not inherit, or default, | |
2517 | to_reported_exec_events_per_exec_call. | |
2518 | (debug_to_reported_exec_events_per_exec_call): Remove. | |
2519 | (setup_target_debug): Do not set to_reported_exec_events_per_exec_call. | |
2520 | * target.h (target_reported_exec_events_per_exec_call): Remove. | |
2521 | (struct target): Remove the to_reported_exec_events_per_exec_call | |
2522 | field. | |
2523 | ||
8e8901c5 VP |
2524 | 2008-03-15 Vladimir Prus <[email protected]> |
2525 | ||
2526 | Implement -thread-info. | |
2527 | * gdbthread.h (print_thread_info): Declare. | |
2528 | ||
2529 | * thread.c (print_thread_info): New, extracted | |
2530 | from info_threads_command and adjusted to | |
2531 | work for CLI and MI. | |
2532 | (info_threads_command): Use print_thread_info. | |
2533 | * Makefile.in: Update dependencies. | |
2534 | ||
2535 | * mi/mi-cmds.c (mi_cmds): Specify a handler | |
2536 | for -thread-info. | |
2537 | * mi/mi-cmds.h (mi_cmd_thread_info): Declare. | |
2538 | * mi/mi-main.c (mi_cmd_thread_info): New. | |
2539 | (mi_cmd_list_features): Include 'thread-info'. | |
2540 | ||
7d1e6fb8 KB |
2541 | 2008-03-14 Kevin Buettner <[email protected]> |
2542 | ||
2543 | * mips-tdep.c (mips32_scan_prologue): Use the ABI register size | |
2544 | to decide whether to match instruction patterns using "sw" and "sd". | |
2545 | ||
89113898 PA |
2546 | 2008-03-14 Pedro Alves <[email protected]> |
2547 | ||
2548 | * infcmd.c (jump_command): Postpone disabling stdin until after | |
2549 | the possible query. | |
2550 | ||
64a0ac84 PA |
2551 | 2008-03-14 Pedro Alves <[email protected]> |
2552 | ||
2553 | * inflow.c (gdb_getpgrp): New. | |
2554 | (gdb_has_a_terminal): Use get_getpgrp. | |
2555 | (terminal_ours_1): If attach_flag is set, don't refetch | |
2556 | inferior_process_group. | |
2557 | ||
1fddbabb PA |
2558 | 2008-03-14 Pedro Alves <[email protected]> |
2559 | ||
2560 | * features/library-list.dtd: Allow "section" elements as children | |
2561 | of "library". Add "section" element and describe its attributes. | |
2562 | ||
2563 | * solib-target.c (struct lm_info): Add section_bases member. | |
2564 | (library_list_start_segment): Error out if seen a section element. | |
2565 | (library_list_start_section): New. | |
2566 | (library_list_end_library): New. | |
2567 | (solib_target_free_library_list): Free section_bases. | |
2568 | (section_attributes): New. | |
2569 | (library_children): Make "segment" optional. Add "section" child. | |
2570 | (library_list_children): Register library_list_end_library. | |
2571 | (solib_target_relocate_section_addresses): Handle section bases. | |
2572 | ||
2573 | * NEWS: Mention new qXfer:libraries:read section offsets support. | |
2574 | ||
712af3be VP |
2575 | 2008-03-14 Vladimir Prus <[email protected]> |
2576 | ||
2577 | * defs.h (do_exec_error_cleanups, discard_exec_error_cleanups) | |
2578 | (make_exec_error_cleanup): Remove declarations. | |
2579 | * utils.c (exec_error_cleanup_chain): Remove. | |
2580 | (do_exec_error_cleanups, discard_exec_error_cleanups) | |
2581 | (make_exec_error_cleanup): Remove. | |
2582 | * event-loop.c (start_event_loop): Adjust call to | |
2583 | async_enable_stdin. | |
2584 | * event-top.c (async_enable_stdin): Remove the paramater dummy. | |
2585 | (async_disable_stdin): Don't register async_enable_stdin via | |
2586 | cleanup. | |
2587 | * inf-loop.c (inferior_event_handler): Don't | |
2588 | call do_exec_error_cleanups. Call async_enable_stdin instead. | |
2589 | * event-loop.c (start_event_loop): Adjust call to | |
2590 | async_enable_stdin. | |
2591 | * tui/tui-interp.c (tui_command_loop): Adjust call to | |
2592 | async_enable_stdin. | |
2593 | ||
32c1e744 VP |
2594 | 2008-03-14 Vladimir Prus <[email protected]> |
2595 | ||
2596 | Async mode fixes. | |
2597 | * Makefile.in (infcmd.o, inf-loop.o): Update dependencies. | |
2598 | * breakpoint.c (bpstat_do_actions): In async mode, | |
2599 | don't jump to top expecting stop_bpstat to be already | |
2600 | updated. | |
2601 | * event-loop.c (start_event_loop): Call async_enable_stdin | |
2602 | on exception. | |
2603 | * event-top.c (async_enable_stdin): Do nothing if sync_execution | |
2604 | is not set. | |
2605 | (command_handler): Do not setup continuation here. | |
2606 | (command_line_handler_continuation): Move to... | |
2607 | * top.c (command_line_handler_continuation): ... here. | |
2608 | (execute_command): In async mode, register continuation. | |
2609 | Don't check frame's language in running in async mode. | |
2610 | * exceptions.c (throw_exception): Don't do exec_error_cleanups. | |
2611 | * inf-loop.c (complete_execution): Inline into... | |
2612 | (inferior_event_handler): ... here. Clear target_executing before | |
2613 | doing any cleanups. Don't try to show prompt if the target was | |
2614 | resumed. | |
2615 | * infcmd.c (signal_command): Add support for async mode. | |
2616 | (finish_command): Only add continuation if the target was | |
2617 | successfully resumed. | |
2618 | * remote.c (init_async_opts): Register to_get_thread_local_address | |
2619 | handler. | |
2620 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Don't mess | |
2621 | with sync_execution. | |
2622 | * tui/tui-interp.c (tui_command_loop): Call async_enable_stdin | |
2623 | on exception. | |
2624 | ||
c04ea773 DJ |
2625 | 2008-03-14 Daniel Jacobowitz <[email protected]> |
2626 | ||
2627 | * corefile.c (reopen_exec_file): Use exec_bfd_mtime. | |
2628 | * exec.c (exec_bfd_mtime): Define. | |
2629 | (exec_close): Clear it. | |
2630 | (exec_file_attach): Set it. | |
2631 | * gdbcore.h (exec_bfd_mtime): Declare. | |
2632 | * source.c (find_source_lines): Do not use bfd_get_mtime. | |
2633 | ||
952dc227 VP |
2634 | 2008-03-14 Vladimir Prus <[email protected]> |
2635 | ||
2636 | * top.c (simplified_command_loop): Remove. | |
2637 | ||
4cf46804 VP |
2638 | 2008-03-14 Vladimir Prus <[email protected]> |
2639 | ||
2640 | Remove unused remote.c hooks. | |
2641 | * remote.c (deprecated_target_resume_hook) | |
2642 | (deprecated_target_wait_loop_hook): Remove. | |
2643 | (remote_resume): Do not call deprecated_target_resume_hook. | |
2644 | (remote_wait): Do not call deprecated_target_wait_loop_hook. | |
2645 | (remote_async_wait): Likewise. | |
2646 | ||
683f2885 VP |
2647 | 2008-03-14 Vladimir Prus <[email protected]> |
2648 | ||
2649 | Implement MI notification for new threads. | |
2650 | * doc/observer.texi (new_thread): Document. | |
2651 | * observer.sh: Forward declare struct thread_info. | |
2652 | * thread.c (add_thread): Notify observer. | |
2653 | ||
2654 | * interps.h (interp_init_ftype): New parameter | |
2655 | top_level. | |
2656 | (interp_set): Likewise. | |
2657 | (top_level_interpreter_data): Declare. | |
2658 | * interps.c (interp_set): New parameter top_level. | |
2659 | Pass it to interpreter's init function. Remember | |
2660 | top level interpreter. | |
2661 | (interpreter_exec_cmd): Adjust. | |
2662 | (top_level_interpreter_data): New. | |
2663 | * main.c (captured_main): Pass 1 for top_level | |
2664 | parameter of interp_set. | |
2665 | * cli/cli-interp.c (cli_interpreter_init): New | |
2666 | parameter top_level. | |
2667 | * tui/tui-interp.c (tui_init): New parameter top_level. | |
2668 | ||
2669 | * mi/mi-interp.c (mi_new_thread): New. | |
2670 | (mi_interpreter_init): If top level, register | |
2671 | observer for new threads. | |
2672 | ||
2673 | * Makefile.in (mi-interp.o, thread.o): Update dependencies. | |
2674 | ||
ff9b3928 PA |
2675 | 2008-03-14 Pedro Alves <[email protected]> |
2676 | ||
2677 | * top.c (execute_command): Disable break and stop | |
2678 | commands in async mode. | |
2679 | ||
b18392ef PA |
2680 | 2008-03-14 Pedro Alves <[email protected]> |
2681 | ||
2682 | revert: | |
2683 | 2008-03-14 Pedro Alves <[email protected]> | |
2684 | * inf-loop.c (inferior_event_handler): Don't include remote.h. | |
2685 | Call target_stop in the INF_QUIT_REQ case. | |
2686 | * Makefile.in (inf-loop.o): Update. | |
2687 | ||
0aca9f07 PA |
2688 | 2008-03-14 Pedro Alves <[email protected]> |
2689 | ||
2690 | * inf-loop.c (inferior_event_handler): Don't include remote.h. | |
2691 | Call target_stop in the INF_QUIT_REQ case. | |
2692 | * Makefile.in (inf-loop.o): Update. | |
2693 | ||
0b4e556c PA |
2694 | 2008-03-14 Pedro Alves <[email protected]> |
2695 | ||
2696 | * top.c (execute_command): Enable break, info and interrupt | |
2697 | commands in async mode. | |
2698 | ||
8defab1a DJ |
2699 | 2008-03-13 Vladimir Prus <[email protected]> |
2700 | Daniel Jacobowitz <[email protected]> | |
2701 | ||
2702 | * breakpoint.h (breakpoint_restore_shadows): New | |
2703 | declaration. | |
2704 | * breakpoint.c (breakpoint_restore_shadows): New. | |
2705 | (read_memory_nobpt): Delete. | |
2706 | * gdbcore.h (read_memory_nobpt): Delete declaration. | |
2707 | * target.c (memory_xfer_partial): Call | |
2708 | breakpoint_restore_shadows. | |
2709 | (restore_show_memory_breakpoints) | |
2710 | (make_show_memory_beakpoints_cleanup): New. | |
2711 | (show_memory_breakpoints): New. | |
2712 | * target.h (make_show_memory_beakpoints_cleanup): Declare. | |
2713 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): | |
2714 | Make sure we see memory breakpoints when checking if | |
2715 | breakpoint is still there. | |
2716 | * alpha-tdep.c, alphanbsd-tdep.c, frame.c, frv-tdep.c, | |
2717 | hppa-linux-tdep.c, hppa-tdep.c, i386-linux-nat.c, i386-tdep.c, | |
2718 | m68klinux-tdep.c, mips-tdep.c, mn10300-tdep.c, s390-tdep.c, | |
2719 | sparc-tdep.c: Use target_read_memory instead of read_memory_nobpt. | |
2720 | ||
fd532e2e PA |
2721 | 2008-03-12 Pedro Alves <[email protected]> |
2722 | ||
2723 | * thread.c (add_thread): Use printf_unfiltered to print. | |
2724 | ||
f749779f | 2725 | 2008-03-12 Joel Brobecker <[email protected]> |
965b60ee JB |
2726 | |
2727 | * sol-thread.c: Replace use of TM_I386SOL2_H by an expression | |
2728 | that is true only on x86-solaris and x86_64-solaris. | |
2729 | * procfs.c: Likewise. Move procfs_find_LDT_entry up together | |
2730 | with proc_get_LDT_entry. | |
2731 | ||
2732 | 2008-03-12 Thiago Jung Bauermann <[email protected]> | |
83116857 TJB |
2733 | |
2734 | * configure.ac (AC_CHECK_FUNCS): Add check for setsid. | |
2735 | * config.in, configure: Regenerate. | |
2736 | * fork-child.c (fork_inferior): Call create_tty_session. | |
2737 | * inflow.c (new_tty): Set controlling terminal with TIOCSCTTY. | |
2738 | (create_tty_session): New function. | |
2739 | * terminal.h: Declare create_tty_session. | |
2740 | ||
4fbb74a6 AM |
2741 | 2008-03-12 Alan Modra <[email protected]> |
2742 | ||
2743 | PR 5900 | |
2744 | * elfread.c (elf_symtab_read): Make shndx an unsigned int. | |
2745 | * mipsread.c: Include elf/internal.h. | |
2746 | (read_alphacoff_dynamic_symtab): Map external reserved sym_shndx | |
2747 | to internal range. | |
2748 | ||
20a6ec49 MD |
2749 | 2008-03-11 Markus Deuling <[email protected]> |
2750 | ||
2751 | * win32-nat.c (do_win32_fetch_inferior_registers): Use get_regcache_arch | |
2752 | to get at the current architecture and at the target specific vector. | |
2753 | Add target specific vector to I387_FISEG_REGNUM and I387_FOP_REGNUM and | |
2754 | remove define of I387_ST0_REGNUM. | |
2755 | ||
2756 | * amd64-tdep.c (I387_ST0_REGNUM): Remove define. | |
2757 | ||
2758 | (amd64_supply_fxsave, amd64_collect_fxsave): Use get_regcache_arch to | |
2759 | get at the current architecture | |
2760 | (I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Add target specific vector as | |
2761 | parameter. | |
2762 | ||
2763 | * i386-tdep.c: Remove various define's and undef's of I387_ST0_REGNUM, | |
2764 | I387_NUM_XMM_REGS and I387_MM0_REGNUM. | |
2765 | ||
2766 | (I387_NUM_XMM_REGS, I387_XMM0_REGNUM, I387_MXCSR_REGNUM, | |
2767 | I387_ST0_REGNUM, I387_FCTRL_REGNUM, I387_MM0_REGNUM, | |
2768 | (I387_FSTAT_REGNUM): Add target specific vector as parameter. | |
2769 | ||
2770 | (i386_register_name, i386_dbx_reg_to_regnum): Use gdbarch_tdep to get | |
2771 | at the target specific vector. | |
2772 | ||
2773 | (i386_get_longjmp_target): Use get_frame_arch to get at the current | |
2774 | architecture. Use gdbarch_tdep to get at the target specific vector. | |
2775 | ||
2776 | (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as parameter and | |
2777 | update caller. Use gdbarch_tdep to get at the target specific vector. | |
2778 | ||
2779 | (i386_register_to_value: Use get_frame_arch to get at the current | |
2780 | architecture. | |
2781 | ||
2782 | * i386-tdep.h (i386_fp_regnum_p, i386_fpc_regnum_p): Add gdbarch as | |
2783 | parameter. | |
2784 | ||
2785 | * i387-tdep.c (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM, | |
2786 | I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM | |
2787 | I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_ST0_REGNUM, FSAVE_ADDR, | |
2788 | FXSAVE_ADDR, I387_XMM0_REGNUM): Add target specific vector as parameter. | |
2789 | ||
2790 | (I387_ST0_REGNUM, I387_NUM_XMM_REGS): Remove various define's and | |
2791 | undef's. | |
2792 | ||
2793 | (i387_convert_register_p, i387_register_to_value, | |
2794 | i387_value_to_register): Update call for i386_fp_regnum_p. | |
2795 | ||
2796 | * i387-tdep.h: Remove comment. | |
2797 | (I387_ST0_REGNUM, I387_NUM_XMM_REGS, I387_MM0_REGNUM): Add define. | |
2798 | (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM, I387_FTAG_REGNUM, | |
2799 | I387_FISEG_REGNUM, I387_FIOFF_REGNUM, I387_FOSEG_REGNUM, | |
2800 | I387_FOOFF_REGNUM, I387_FOP_REGNUM, I387_XMM0_REGNUM, | |
2801 | I387_MXCSR_REGNUM): Add target specific vector as parameter. | |
2802 | ||
ccd213ac DJ |
2803 | 2008-03-10 Daniel Jacobowitz <[email protected]> |
2804 | ||
2805 | * Makefile.in (fork-child.o): Update. | |
2806 | * NEWS: Document "set exec-wrapper" and the gdbserver --wrapper | |
2807 | argument. Gather all gdbserver features together. | |
2808 | * fork-child.c (exec_wrapper): New variable. | |
2809 | (fork_inferior): Use it. | |
2810 | (startup_inferior): Skip an extra trap if using "set exec-wrapper". | |
2811 | (unset_exec_wrapper_command, _initialize_fork_child): New. | |
2812 | ||
2813 | 2008-03-10 Hidetaka Takano <[email protected]> | |
80618b99 MS |
2814 | |
2815 | * source.c (directory_command): Modify the determination of | |
2816 | condition of terminal "from_tty". | |
2817 | ||
22566fbd DJ |
2818 | 2008-03-10 Matt Rice <[email protected]> |
2819 | ||
2820 | * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC. | |
2821 | ||
9971ac47 UW |
2822 | 2008-03-10 Hidetaka Takano <[email protected]> |
2823 | ||
2824 | * spu-tdep.c (info_spu_event_command): Insert a '\0' to the end | |
2825 | of the data passing to strtoulst function. | |
2826 | (info_spu_signal_command): Likewise. | |
2827 | ||
835670cf VP |
2828 | 2008-03-08 Vladimir Prus <[email protected]> |
2829 | ||
2830 | * mi/mi-interp.c (mi_command_loop): Remove | |
2831 | commented-out code. | |
2832 | ||
be86555c JB |
2833 | 2008-03-07 Joel Brobecker <[email protected]> |
2834 | ||
2835 | * remote.c (extended_remote_attach_1): Make local variable pid an int | |
2836 | instead of a pid_t. | |
2837 | ||
4d7b2d5b JB |
2838 | 2008-03-07 Joel Brobecker <[email protected]> |
2839 | ||
2840 | * solib-svr4.c (svr4_same_1): New function, originally extracted | |
2841 | from svr4_same and expanded to handle the sparc64 case. | |
2842 | (svr4_same): Move up and reimplement using svr4_same_1. | |
2843 | (enable_break): Use svr4_same_1 to do shared library name comparisons. | |
2844 | ||
61fed90e RR |
2845 | 2008-03-07 Ramana Radhakrishnan <[email protected]> |
2846 | ||
2847 | * MAINTAINERS: Move self to Paper trail. | |
2848 | ||
b803fb0f DJ |
2849 | 2008-03-05 Daniel Jacobowitz <[email protected]> |
2850 | ||
2851 | * Makefile.in (mingw-hdep.o, posix-hdep.o, remote-fileio.o): Update. | |
2852 | * event-loop.c (call_async_signal_handler): New. | |
2853 | * event-loop.h (call_async_signal_handler) | |
2854 | (gdb_call_async_signal_handler): Declare. | |
2855 | (mark_async_signal_handler): Add comments. | |
2856 | * event-top.c (handle_sigint): Use gdb_call_async_signal_handler. | |
2857 | * mingw-hdep.c (sigint_event, sigint_handler): New. | |
2858 | (gdb_select): Use them. Wait for the readline signal handler | |
2859 | to finish. | |
2860 | (gdb_call_async_signal_handler, _initialize_mingw_hdep): New functions. | |
2861 | * posix-hdep.c (gdb_call_async_signal_handler): New function. | |
2862 | * remote-fileio.c (sigint_fileio_token, async_remote_fileio_interrupt): | |
2863 | New. | |
2864 | (remote_fileio_ctrl_c_signal_handler): Use | |
2865 | gdb_call_async_signal_handler. | |
2866 | (initialize_remote_fileio): Initialize sigint_fileio_token. | |
2867 | * remote.c (initialize_sigint_signal_handler, handle_remote_sigint): Do | |
2868 | not initialize tokens here. | |
2869 | (handle_remote_sigint_twice): Likewise. Reinstall | |
2870 | handle_remote_sigint. | |
2871 | (async_remote_interrupt_twice): Just call interrupt_query. | |
2872 | (cleanup_sigint_signal_handler): Do not delete tokens. | |
2873 | (remote_interrupt, remote_interrupt_twice): Use | |
2874 | gdb_call_async_signal_handler. | |
2875 | (interrupt_query): Reinstall the default signal handler. | |
2876 | (_initialize_remote): Initialize tokens here. | |
2877 | ||
8f4d54ed JB |
2878 | 2008-03-04 Joel Brobecker <[email protected]> |
2879 | ||
2880 | * features/rs6000/power-core.xml, features/rs6000/power64-core.xml, | |
2881 | features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml: | |
2882 | Change the type of the lr register to code_ptr. | |
2883 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, | |
2884 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, | |
2885 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, | |
2886 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, | |
2887 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, | |
2888 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, | |
2889 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: Regenerate. | |
2890 | ||
95ece428 JW |
2891 | 2008-03-03 James E. Wilson <[email protected]> |
2892 | ||
2893 | * MAINTAINERS: Update my email address. | |
2894 | ||
686a5eed KS |
2895 | 2008-03-03 Keith Seitz <[email protected]> |
2896 | ||
2897 | From Dave Murphy <[email protected]>: | |
2898 | * configure.ac: Set tcl configdir to win under mingw. | |
2899 | * configure: Regenerate. | |
2900 | ||
fa4727a6 DJ |
2901 | 2008-03-03 Daniel Jacobowitz <[email protected]> |
2902 | ||
2903 | * breakpoint.c (fetch_watchpoint_value): New function. | |
2904 | (update_watchpoint): Set and clear val_valid. Use | |
2905 | fetch_watchpoint_value. Handle unreadable values on the | |
2906 | value chain. Correct check for user-requested array watchpoints. | |
2907 | (breakpoint_init_inferior): Clear val_valid. | |
2908 | (watchpoint_value_print): New function. | |
2909 | (print_it_typical): Use it. Do not free or clear old_val. Print | |
2910 | watchpoints even if old_val == NULL. | |
2911 | (watchpoint_check): Use fetch_watchpoint_value. Check for values | |
2912 | becoming readable or unreadable. | |
2913 | (watch_command_1): Use fetch_watchpoint_value. Set val_valid. | |
2914 | (do_enable_watchpoint): Likewise. | |
2915 | * breakpoint.h (struct breakpoint): Update comment for val. Add | |
2916 | val_valid. | |
2917 | * NEWS: Mention watchpoints on inaccessible memory. | |
2918 | ||
c03374d5 DJ |
2919 | 2007-02-29 Daniel Jacobowitz <[email protected]> |
2920 | ||
2921 | * Makefile.in (i386-nat.o): Update. | |
2922 | * amd64-linux-nat.c (_initialize_amd64_linux_nat): Call | |
2923 | i386_use_watchpoints. | |
2924 | * i386-linux-nat.c (_initialize_i386_linux_nat): Call | |
2925 | i386_use_watchpoints. | |
2926 | * i386-nat.c (i386_stopped_data_address): Take two arguments. | |
2927 | (i386_stopped_by_watchpoint): Update call. | |
2928 | (i386_can_use_hw_breakpoint, i386_use_watchpoints): New. | |
2929 | * config/i386/nm-i386.h: Conditionalize definitions on | |
2930 | ! I386_WATCHPOINTS_IN_TARGET_VECTOR. | |
2931 | (i386_use_watchpoints): Declare. | |
2932 | (i386_stopped_data_address): Update. | |
2933 | * config/i386/nm-linux.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. | |
2934 | * config/i386/nm-linux64.h (I386_WATCHPOINTS_IN_TARGET_VECTOR): Define. | |
2935 | ||
c24d7425 | 2936 | 2008-02-29 Joel Brobecker <[email protected]> |
2937 | ||
2938 | GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC) | |
2939 | * version.in: Bump version to 6.8.50.20080229-cvs. | |
2940 | ||
a7dfd010 MD |
2941 | 2008-02-28 Markus Deuling <[email protected]> |
2942 | ||
2943 | * f-typeprint.c (f_print_type): Handle NULL pointer in VARSTRING | |
2944 | properly. | |
2945 | ||
258c00cc TT |
2946 | 2008-02-28 Tom Tromey <[email protected]> |
2947 | ||
2948 | * infcmd.c (notice_args_read): Print result of get_inferior_args. | |
2949 | ||
8edfe269 DJ |
2950 | 2008-02-28 Daniel Jacobowitz <[email protected]> |
2951 | ||
2952 | * infcmd.c (kill_if_already_running): Make static. Use | |
2953 | target_require_runnable. | |
2954 | * target.c (target_require_runnable): New. | |
2955 | * target.h (target_require_runnable): Declare. | |
2956 | ||
0d6ba1b1 DJ |
2957 | 2008-02-28 Daniel Jacobowitz <[email protected]> |
2958 | ||
2959 | * frame.c (reinit_frame_cache): Only annotate if frames were | |
2960 | previously valid. | |
2961 | ||
6fe305f7 UW |
2962 | 2008-02-28 Ulrich Weigand <[email protected]> |
2963 | ||
2964 | * regformats/reg-ppc.dat: Rename "ps" to "msr". | |
2965 | * regformats/reg-ppc64.dat: Likewise. | |
2966 | ||
9b4b61c8 UW |
2967 | 2008-02-28 Ulrich Weigand <[email protected]> |
2968 | ||
2969 | * features/Makefile (%.dat): Emit xmltarget statement. | |
2970 | ||
2971 | * regformats/regdat.sh: Support xmltarget and xmlarch statments. | |
2972 | Generate code to set gdbserver_xmltarget in init_registers_${name}. | |
2973 | ||
2974 | * regformats/arm-with-iwmmxt.dat: Regenerate. | |
2975 | * regformats/mips64-linux.dat: Regenerate. | |
2976 | * regformats/mips-linux.dat: Regenerate. | |
2977 | * regformats/rs6000/powerpc-32.dat: Regenerate. | |
2978 | * regformats/rs6000/powerpc-64.dat: Regenerate. | |
2979 | * regformats/rs6000/powerpc-e500.dat: Regenerate. | |
2980 | ||
2981 | * regformats/reg-arm.dat: Add xmlarch statement. | |
2982 | * regformats/reg-i386.dat: Likewise. | |
2983 | * regformats/reg-i386-linux.dat: Likewise. | |
2984 | * regformats/reg-x86-64-linux.dat: Likewise. | |
2985 | * regformats/reg-spu.dat: Likewise. | |
2986 | ||
20b4711e DJ |
2987 | 2008-02-27 Daniel Jacobowitz <[email protected]> |
2988 | ||
2989 | * remote.c (remote_wait, remote_async_wait): Stop if we receive | |
2990 | an error. | |
2991 | ||
1843f87b DJ |
2992 | 2008-02-27 Daniel Jacobowitz <[email protected]> |
2993 | ||
2994 | * utils.c (debug_timestamp): New. | |
2995 | (vfprintf_unfiltered): Print timestamps if requested. | |
2996 | (show_debug_timestamp): New. | |
2997 | (initialize_utils): Register "set debug timestamp". | |
2998 | * NEWS: Mention "set debug timestamp". Add GDB 6.8 section. | |
2999 | ||
6a048695 JB |
3000 | 2008-02-27 Joel Brobecker <[email protected]> |
3001 | ||
3002 | * breakpoint.c (skip_prologue_sal): New function. | |
3003 | (resolve_sal_pc): Adjust SAL past prologue if the SAL was | |
3004 | computed from a line number. | |
3005 | ||
0b998f49 JB |
3006 | 2008-02-27 Joel Brobecker <[email protected]> |
3007 | ||
3008 | * features/rs6000/power-core.xml, features/rs6000/power64-core.xml | |
3009 | features/rs6000/powerpc-601.xml, features/rs6000/rs6000.xml: | |
3010 | Set PC register type to "code_ptr". | |
3011 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, | |
3012 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, | |
3013 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, | |
3014 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, | |
3015 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, | |
3016 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, | |
3017 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: | |
3018 | Regenerate. | |
3019 | ||
d05b4ac3 UW |
3020 | 2008-02-27 Ulrich Weigand <[email protected]> |
3021 | ||
3022 | * regformats/regdat.sh: Rename init_registers function in | |
3023 | generated file to init_registers_${name}. | |
3024 | ||
3025 | * regformats/reg-crisv32.dat: Set "name" to crisv32. | |
3026 | * regformats/reg-ppc64.dat: Set "name" to ppc64. | |
3027 | * regformats/reg-s390x.dat: Set "name" to s390x. | |
3028 | ||
a5d9d57d DJ |
3029 | 2008-02-26 Greg Law <[email protected]> |
3030 | ||
3031 | * regcache.c (registers_changed): Call reinit_frame_cache. | |
3032 | ||
e25c958c DJ |
3033 | 2008-02-26 Daniel Jacobowitz <[email protected]> |
3034 | ||
3035 | * configure.tgt (sh-*-linux*): Match sh*. Add glibc-tdep.o. | |
3036 | * sh-linux-tdep.c (sh_linux_init_abi): Use glibc_skip_solib_resolver | |
3037 | and svr4_fetch_objfile_link_map. | |
3038 | * Makefile.in (sh-linux-tdep.o): Update. | |
3039 | ||
5daa78cc TJB |
3040 | 2008-02-26 Thiago Jung Bauermann <[email protected]> |
3041 | ||
3042 | * amd64-tdep.c (amd64_classify): Add support for decimal float | |
3043 | types. | |
3044 | * i386-tdep.c (i386_return_value): Make 128-bit decimal float | |
3045 | use the struct return convention. | |
3046 | ||
54e52265 VP |
3047 | 2008-02-26 Nick Roberts <[email protected]> |
3048 | ||
3049 | * breakpoint.c (print_one_breakpoint_location): Revert Enb field | |
3050 | to old format. Discard breakpoint address if shared library is | |
3051 | unloaded. | |
3052 | (breakpoint_1): Adjust formatting of table header accordingly. | |
3053 | ||
d8f2712d VP |
3054 | 2008-02-25 Vladimir Prus <[email protected]> |
3055 | ||
3056 | * remote.c (remote_get_threadlist): If the response | |
3057 | is empty, don't try to parse it. | |
3058 | ||
05ce04a4 VP |
3059 | 2008-02-23 Vladimir Prus <[email protected]> |
3060 | ||
3061 | Unbreak 'target async'. | |
3062 | * serial.c (serial_async): Set the | |
3063 | handler function before enabling async | |
3064 | mode. | |
3065 | ||
b36ec657 DJ |
3066 | 2008-02-22 Daniel Jacobowitz <[email protected]> |
3067 | ||
3068 | * solib-svr4.c (enable_break): Convert r_brk to a code address. | |
3069 | ||
df7df359 PA |
3070 | 2008-02-21 Pedro Alves <[email protected]> |
3071 | ||
3072 | * remote.c (extended_remote_attach_1): Set attach_flag. | |
3073 | (extended_remote_create_inferior_1): Clear attach_flag. | |
3074 | ||
7cd25cfc DJ |
3075 | 2008-02-20 Daniel Jacobowitz <[email protected]> |
3076 | ||
3077 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set | |
3078 | r_brk_offset. | |
3079 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
3080 | * solib-svr4.c (solib_svr4_r_brk): New. | |
3081 | (open_symbol_file_object, svr4_current_sos): Always check the | |
3082 | debug base. | |
3083 | (svr4_fetch_objfile_link_map): Do not set debug_base. | |
3084 | (enable_break): Use r_brk if it is set. | |
3085 | (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset. | |
3086 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
3087 | * solib-svr4.h (struct link_map_offsets): Add r_brk_offset. | |
3088 | ||
07ea644b MD |
3089 | 2008-02-20 Markus Deuling <[email protected]> |
3090 | Mark Kettenis <[email protected]> | |
3091 | ||
3092 | * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by | |
3093 | trad_frame_saved_reg. | |
3094 | (trad-frame.h): New include. | |
3095 | ||
3096 | (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs | |
3097 | instead of frame_obstack_zalloc. | |
3098 | (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register. | |
3099 | ||
3100 | * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h. | |
3101 | ||
40887e1a MD |
3102 | 2008-02-20 Markus Deuling <[email protected]> |
3103 | ||
3104 | * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess | |
3105 | from disassemble_info instead of gdbarch_byte_order. | |
3106 | ||
3107 | * mips-tdep.c (gdb_print_insn_mips): Likewise. | |
3108 | * arm-tdep.c (gdb_print_insn_arm): Likewise. | |
3109 | ||
ae4b2284 MD |
3110 | 2008-02-20 Markus Deuling <[email protected]> |
3111 | ||
3112 | * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add | |
3113 | gdbarch as parameter. | |
3114 | ||
3115 | * gdbarch.{c,h}: Regenerate. | |
3116 | ||
3117 | * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as | |
3118 | parameter. | |
3119 | * mem-break.c (default_memory_insert_breakpoint) | |
3120 | (default_memory_remove_breakpoint): Likewise. | |
3121 | * target.h (default_memory_remove_breakpoint) | |
3122 | (default_memory_insert_breakpoint): Likewise. | |
3123 | ||
3124 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as | |
3125 | parameter. Replace current_gdbarch by gdbarch. | |
3126 | * m32r-tdep.c (m32r_memory_insert_breakpoint) | |
3127 | (m32r_memory_remove_breakpoint): Likewise. | |
3128 | ||
d9bf65d5 DJ |
3129 | 2008-02-19 Daniel Jacobowitz <[email protected]> |
3130 | ||
3131 | * MAINTAINERS: Add Vladimir Prus as MI maintainer. | |
3132 | ||
b93b6ca7 JB |
3133 | 2008-02-19 Joel Brobecker <[email protected]> |
3134 | ||
3135 | * NEWS: Add entry describing Add support improvements. | |
3136 | ||
4ed226fe MD |
3137 | 2008-02-18 Markus Deuling <[email protected]> |
3138 | ||
3139 | * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by | |
3140 | M68K_FP0_REGNUM. | |
3141 | ||
caaa79ad MD |
3142 | 2008-02-18 Markus Deuling <[email protected]> |
3143 | ||
3144 | * sentinel-frame.c (sentinel_frame_prev_register): Do not call | |
3145 | register_offset_hack anymore. | |
3146 | ||
3147 | * regcache.{c,h} (register_offset_hack): Remove. | |
3148 | ||
e38c262f MD |
3149 | 2008-02-18 Markus Deuling <[email protected]> |
3150 | ||
3151 | * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter. | |
3152 | ||
3153 | * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace | |
3154 | current_gdbarch by gdbarch. | |
3155 | (hppa64_hpux_find_global_pointer): Likewise. | |
3156 | * hppa-tdep.c (hppa_find_global_pointer): Likewise. | |
3157 | (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for | |
3158 | find_global_pointer. | |
3159 | ||
3160 | * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as | |
3161 | parameter. | |
3162 | * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise. | |
3163 | ||
3164 | * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead | |
3165 | of gdbarch_num_regs. | |
3166 | ||
3167 | * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and | |
3168 | replace current_gdbarch by gdbarch. | |
3169 | (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr. | |
3170 | ||
206988c4 MD |
3171 | 2008-02-18 Markus Deuling <[email protected]> |
3172 | ||
3173 | * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter | |
3174 | and replace current_gdbarch by gdbarch. | |
3175 | ||
3176 | (store_register): Update call for exec_one_dummy_insn. | |
3177 | (fetch_register, store_register): Update call of regmap. | |
3178 | ||
3179 | * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as | |
3180 | parameter and replace current_gdbarch by gdbarch. | |
3181 | ||
3182 | (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at | |
3183 | the current architecture. Update call for getregs_supplies and | |
3184 | getfpregs_supplies. | |
3185 | (ppcnbsd_fetch_inferior_registers): Likewise. | |
3186 | ||
3187 | * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and | |
3188 | replace current_gdbarch by gdbarch. | |
3189 | (ppcobsd_fetch_registers, ppcobsd_store_registers): Use | |
3190 | get_regcache_arch to get at the current architecture. Update call for | |
3191 | getfpregs_supplies. | |
3192 | ||
f642be6b MD |
3193 | 2008-02-18 Markus Deuling <[email protected]> |
3194 | ||
3195 | * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch | |
3196 | variables. | |
3197 | ||
b1f2bf01 MD |
3198 | 2008-02-15 Markus Deuling <[email protected]> |
3199 | ||
3200 | * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error. | |
3201 | ||
ee163bf5 VP |
3202 | 2008-02-14 Vladimir Prus <[email protected]> |
3203 | ||
3204 | * NEWS: Mention pending breakpints in MI. | |
3205 | ||
f6fbcbf9 MD |
3206 | 2008-02-14 Markus Deuling <[email protected]> |
3207 | ||
3208 | * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o. | |
3209 | ||
36af4ef6 MD |
3210 | 2008-02-13 Markus Deuling <[email protected]> |
3211 | ||
3212 | Add script to build and test GDB using enable-targets=all. | |
3213 | ||
3214 | * gdb_buildall.sh: New file. | |
3215 | ||
94a0e877 MG |
3216 | 2008-02-11 Maxim Grigoriev <[email protected]> |
3217 | ||
3218 | * NEWS (New native configurations): Xtensa GNU/Linux. | |
3219 | (New targets): Xtensa GNU/Linux. | |
3220 | * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and | |
3221 | xtensa-linux-tdep.o | |
3222 | (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c | |
3223 | (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies. | |
3224 | * configure.tgt (xtensa*-*-linux*): New entry. | |
3225 | * xtensa-config.c (xtensa_tdep): New variable. | |
3226 | (xtensa_config_byte_order, xtensa_config_tdep): Removed. | |
3227 | (rmap): Change format based on new macro XTREG. | |
3228 | (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h. | |
3229 | * xtensa-linux-nat.c: New. | |
3230 | * xtensa-linux-tdep.c: New. | |
3231 | * xtensa-xtregs.c: New. | |
3232 | * xtensa-tdep.h (xtensa_elf_gregset_t): Update. | |
3233 | (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE) | |
3234 | (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros. | |
3235 | (xtensa_register_t): New field coprocessor. | |
3236 | (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected. | |
3237 | * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed. | |
3238 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write): | |
3239 | Update to handle privileged registers. | |
3240 | (xtensa_supply_gregset) Remove exccause and excvaddr registers. | |
3241 | (xtensa_push_dummy_call): Set windowstart register correctly. | |
3242 | (call0_analyze_prologue): Initialize xtensa_default_isa. | |
3243 | (xtensa_derive_tdep): New. | |
3244 | (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and | |
3245 | xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead. | |
3246 | Call xtensa_derive_tdep(). | |
3247 | * config/xtensa/linux.mh: New. | |
3248 | * regformats/reg-xtensa.dat: New. | |
3249 | ||
b7ee1b0a | 3250 | 2008-02-09 Aleksandar Ristovski <[email protected]> (tiny change) |
f90c07ac EZ |
3251 | |
3252 | * corelow.c (core_open): Use IS_ABSOLUTE_PATH. | |
3253 | (filenames.h): New include. | |
3254 | * Makefile.in (corelow.o): Add dependency for filenames.h. | |
3255 | ||
8da2a1df DJ |
3256 | 2008-02-08 Doug Evans <[email protected]> |
3257 | ||
3258 | * source.c (find_and_open_source): Always rewrite absolute filenames. | |
3259 | ||
776592bf DE |
3260 | 2008-02-07 Doug Evans <[email protected]> |
3261 | ||
3262 | * breakpoint.c: #include "hashtab.h". | |
3263 | (ambiguous_names_p): New fn. | |
3264 | (update_breakpoint_locations): When restoring bp enable status, don't | |
3265 | compare function names if any functions have same name. | |
3266 | * Makefile.in (breakpoint.o): Add hashtab.h dependency. | |
3267 | ||
d6565258 JB |
3268 | 2008-02-07 Joel Brobecker <[email protected]> |
3269 | ||
3270 | * ada-lang.c (symbol_completion_add): Make SV parameter a VEC** | |
3271 | instead of just a VEC*. Update use of SV. | |
3272 | (ada_make_symbol_completion_list): Update symbol_completion_add calls. | |
3273 | ||
6d53d0af JB |
3274 | 2007-02-07 Joel Brobecker <[email protected]> |
3275 | ||
3276 | * NEWS: Put all new commands since gdb-6.7 together. | |
3277 | ||
2ba95b9b JB |
3278 | 2007-02-07 Joel Brobecker <[email protected]> |
3279 | ||
3280 | * ada-lang.c: #include "vec.h". | |
3281 | (struct string_vector, new_string_vector, string_vector_append): | |
3282 | Delete. | |
3283 | (char_ptr): New typedef. | |
3284 | (DEF_VEC_P (char_ptr)): New VEC type. | |
3285 | (symbol_completion_add): Update profile to take the new VEC type | |
3286 | instead of the old string_vector structure. Update code accordingly. | |
3287 | (ada_make_symbol_completion_list): Use the new VEC type instead of | |
3288 | the old string_vector structure, and update the code accordingly. | |
3289 | * Makefile.in (ada-lang.o): Add dependency on vec.h. | |
3290 | ||
4ae0885a PM |
3291 | 2008-02-06 Pierre Muller <[email protected]> |
3292 | ||
3293 | * p-exp.y: Set current_type in missing places. | |
3294 | (leftdiv_is_integer): New static variable. | |
3295 | Typecast right operand of BINOP_DIV to long_double if both operands | |
3296 | are integers. | |
3297 | ||
06b1d59c MR |
3298 | 2008-02-06 Maciej W. Rozycki <[email protected]> |
3299 | ||
3300 | * remote-mips.c (set_breakpoint): Rename to... | |
3301 | (mips_set_breakpoint): ... this. | |
3302 | (clear_breakpoint): Rename to... | |
3303 | (mips_clear_breakpoint): ... this. | |
3304 | (common_breakpoint): Rename to... | |
3305 | (mips_common_breakpoint): ... this. | |
3306 | (check_lsi_error): Rename to... | |
3307 | (mips_check_lsi_error): ... this. | |
3308 | ||
41d27058 JB |
3309 | 2007-02-05 Joel Brobecker <[email protected]> |
3310 | ||
3311 | * language.h (struct language_defn): Add new field | |
3312 | la_make_symbol_completion_list. | |
3313 | * symtab.c (default_make_symbol_completion_list): Renames | |
3314 | make_symbol_completion_list. | |
3315 | (make_symbol_completion_list): New function. | |
3316 | * symtab.h (default_make_symbol_completion_list): Add declaration. | |
3317 | * langauge.c (unknown_language): Set la_make_symbol_completion_list. | |
3318 | (auto_language, local_language): Likewise. | |
3319 | * objc-lang.c (objc_language_defn): Likewise. | |
3320 | * scm-lang.c (scm_language_defn): Likewise. | |
3321 | * m2-lang.c (m2_language_defn): Likewise. | |
3322 | * f-lang.c (f_language_defn): Likewise. | |
3323 | * jv-lang.c (java_language_defn): Likewise. | |
3324 | * p-lang.c (pascal_language_defn): Likewise. | |
3325 | * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn) | |
3326 | (minimal_language_defn): Likewise. | |
3327 | * ada-lang.c (struct string_vector): New structure. | |
3328 | (new_string_vector, string_vector_append, ada_unqualified_name) | |
3329 | (add_angle_brackets, symbol_completion_match, symbol_completion_add) | |
3330 | (ada_make_symbol_completion_list): New functions. | |
3331 | (ada_language_defn): Set la_make_symbol_completion_list. | |
3332 | * ada-lang.h (ada_make_symbol_completion_list): Remove declaration, | |
3333 | this function is static. | |
3334 | ||
ee3a2f01 KB |
3335 | 2008-02-05 Kevin Buettner <[email protected]> |
3336 | ||
3337 | * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer | |
3338 | to account for call site optimizations. | |
3339 | ||
d844e34b JB |
3340 | 2008-02-05 Andrzej Zaborowski <[email protected]> |
3341 | ||
3342 | * tracepoint.c (read_actions): Handle end-of-text indicator | |
3343 | in action list properly. (Committed by Jim Blandy) | |
3344 | ||
02e4669d JB |
3345 | 2008-02-05 Jim Blandy <[email protected]> |
3346 | ||
3347 | * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a | |
3348 | pseudoregister, not an internal error. | |
85ecb32b | 3349 | Reported by: Andrzej Zaborowski |
02e4669d | 3350 | |
c39c8256 VP |
3351 | 2008-02-04 Vladimir Prus <[email protected]> |
3352 | ||
3353 | * varobj.c (c_value_of_variable): Use xstrdup. | |
3354 | ||
ae7d22a6 VP |
3355 | 2008-02-04 Vladimir Prus <[email protected]> |
3356 | ||
3357 | Update stored rendition of varobj value when format changes. | |
3358 | * varobj.c (varobj_set_display_format): Recomputed | |
3359 | print_value. | |
3360 | (c_value_of_variable): Return print_value. | |
3361 | ||
81fe8080 DE |
3362 | 2008-02-03 Doug Evans <[email protected]> |
3363 | ||
301f0ecf DE |
3364 | * eval.c (evaluate_subexp_standard): Fix type of result of mixed |
3365 | integer/float division operations when EVAL_AVOID_SIDE_EFFECTS. | |
3366 | * valops.c (value_one): New function. | |
3367 | * value.h (value_one): Declare. | |
3368 | ||
3369 | Fix argument promotion for binary arithmetic ops for C. | |
3370 | * valarith.c (unop_result_type): New fn. | |
3371 | (binop_result_type): New fn. | |
3372 | (value_binop): Move result type computation to binop_result_type. | |
3373 | (value_pos, value_neg, value_complement): Move result type | |
3374 | computation to unop_result_type. | |
3375 | ||
81fe8080 DE |
3376 | PR 2384 |
3377 | * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. | |
3378 | Return basetype, fieldno if found. All callers updated. | |
3379 | Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different | |
3380 | objfile. | |
3381 | * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno. | |
3382 | * symfile.h (fill_in_vptr_fieldno): Delete. | |
3383 | ||
41808ebe DE |
3384 | 2008-02-02 Doug Evans <[email protected]> |
3385 | ||
f8597ac3 DE |
3386 | * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero. |
3387 | ||
41808ebe DE |
3388 | * typeprint.c (*): Whitespace cleanup. |
3389 | ||
f964a756 MK |
3390 | 2008-02-02 Mark Kettenis <[email protected]> |
3391 | Luis Machado <[email protected]> | |
3392 | Thiago Jung Bauermann <[email protected]> | |
3393 | ||
3394 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that | |
3395 | don't fit into registerson the stack the way GCC does. | |
3396 | ||
b06ead72 JB |
3397 | 2008-02-01 Joel Brobecker <[email protected]> |
3398 | ||
3399 | * symtab.c (symbol_set_names): Do not add an entry in the demangling | |
3400 | hash table for Ada symbols. Just store the linkage name as is, | |
3401 | and leave the demangled_name as NULL. | |
3402 | ||
2cfa0c8d JB |
3403 | 2007-02-01 Joel Brobecker <[email protected]> |
3404 | ||
3405 | * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms | |
3406 | in the global scope. | |
3407 | (new_symbol): Likewise. | |
3408 | ||
98deb0da VP |
3409 | 2008-02-01 Vladimir Prus <[email protected]> |
3410 | ||
3411 | * breakpoint.c (break_command_1): Return void. | |
3412 | (break_command_really): Return void. Rethrow | |
3413 | exceptions instead of returning. | |
3414 | (gdb_breakpoint): Remove the error_message parameter. | |
3415 | Return void. Rename to set_breakpoint. | |
3416 | * gdb.h (gdb_breakpoint): Rename and move to... | |
3417 | * breakpoint.h (set_breakpoint): ...here. | |
3418 | * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore | |
3419 | event hooks even if exception is thrown. Adjust to | |
3420 | gdb_breakpoint interface changes. | |
3421 | ||
3422 | ||
ce0451ad TJB |
3423 | 2008-02-01 Thiago Jung Bauermann <[email protected]> |
3424 | ||
3425 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit | |
3426 | float in both first and second word in the doubleword, to support | |
3427 | old and new ABIs. | |
3428 | ||
723a2275 VP |
3429 | 2008-02-01 Vladimir Prus <[email protected]> |
3430 | ||
3431 | Properly rethrow exception. This fixes errors | |
3432 | about non-existent functions for -break-insert. | |
3433 | * breakpoint.c (break_command_really): Use throw_exception | |
3434 | for rethrowing. If rethrowing, don't print the exception. | |
3435 | ||
d64a946d TJB |
3436 | 2008-01-31 Thiago Jung Bauermann <[email protected]> |
3437 | ||
3438 | * NEWS: Mention Decimal Floating Point support. | |
3439 | ||
02b156f5 JB |
3440 | 2008-01-31 Joel Brobecker <[email protected]> |
3441 | ||
3442 | * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned | |
3443 | value type to builtin_type_void_func_ptr. | |
3444 | ||
a16b8bcd UW |
3445 | 2008-01-31 Andreas Krebbel <[email protected]> |
3446 | ||
3447 | * s390-tdep.c (is_float_singleton, is_float_like, | |
3448 | alignment_of, s390_return_value): Make checks for | |
3449 | TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well. | |
3450 | ||
f949c649 TJB |
3451 | 2008-01-31 Luis Machado <[email protected]> |
3452 | Thiago Jung Bauermann <[email protected]> | |
3453 | ||
3454 | * infcmd.c (default_print_registers_info): Also print hex | |
3455 | raw contents for TYPE_CODE_DECFLOAT registers. | |
3456 | * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member. | |
3457 | * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro. | |
3458 | (rs6000_register_name): Add support for DFP pseudo-registers. | |
3459 | (rs6000_pseudo_register_type): Likewise. | |
3460 | rs6000_pseudo_register_reggroup_p): Likewise. | |
3461 | (ppc_pseudo_register_read): New function. | |
3462 | (ppc_pseudo_register_write): Likewise. | |
3463 | (rs6000_pseudo_register_read): Likewise. | |
3464 | (rs6000_pseudo_register_write): Likewise. | |
3465 | (e500_pseudo_register_read): Move checks to | |
3466 | rs6000_pseudo_register_read. | |
3467 | (e500_pseudo_register_write): Move checks to | |
3468 | rs6000_pseudo_register_write. | |
3469 | (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum. Install | |
3470 | rs6000_pseudo_register_read and rs6000_pseudo_register_write | |
3471 | in gdbarch if SPE or DFP is available. Adjust gdbarch's | |
3472 | num_pseudo_regs to account for DFP pseudo regs. | |
3473 | ||
5a9e69ba TJB |
3474 | 2008-01-31 Thiago Jung Bauermann <[email protected]> |
3475 | ||
3476 | * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member. | |
3477 | * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro. | |
3478 | (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type, | |
3479 | rs6000_pseudo_register_reggroup_p, e500_move_ev_register, | |
3480 | e500_pseudo_register_read, e500_pseudo_register_write): Use | |
3481 | IS_SPE_PSEUDOREG macro. | |
3482 | (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum. | |
3483 | (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable. | |
3484 | Remove initialization of tdep->ppc_ev31_regnum. | |
3485 | ||
4e885b20 JB |
3486 | 2008-01-08 Paul Hilfinger <[email protected]> |
3487 | ||
3488 | * printcmd.c (print_formatted): Handle references as for unformatted | |
3489 | prints. | |
3490 | ||
80f064a2 JB |
3491 | 2008-01-30 Joel Brobecker <[email protected]> |
3492 | ||
3493 | * eval.c (evaluate_subexp_standard): Add handling of user | |
3494 | registers when in EVAL_AVOID_SIDE_EFFECTS mode. | |
3495 | ||
9b3442ee PM |
3496 | 2008-01-30 Pierre Muller <[email protected]> |
3497 | ||
3498 | * eval.c (evaluate_subexp_standard): Support | |
3499 | BINOP_INTDIV opcode. | |
3500 | ||
d118ef87 PH |
3501 | 2008-01-30 Paul N. Hilfinger <[email protected]> |
3502 | ||
3503 | * valarith.c (value_binop): Add floating-point BINOP_MIN and | |
3504 | BINOP_MAX cases. | |
3505 | For BINOP_EXP, use length and signedness of left operand only for | |
3506 | result, as for shifts. | |
3507 | For integral operands to BINOP_EXP, use new integer_pow and | |
3508 | uinteger_pow functions so as to get full range of results. | |
3509 | (integer_pow): New function. | |
3510 | (uinteger_pow): New function. | |
3511 | ||
d56d46f5 VP |
3512 | 2008-01-30 Vladimir Prus <[email protected]> |
3513 | ||
3514 | Use vector for varobj_list_children interface. | |
3515 | * gdb/varobj.c (varobj_list_children): Return vector | |
3516 | of varobjs. | |
3517 | * gdb/varobj.h (varobj_list_children): Adjust | |
3518 | prototype. | |
3519 | (varobj_p): Declare. Declare vector thereof. | |
3520 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust | |
3521 | for varobj_list_children change. | |
3522 | * Makefile.in (varobj_h): Update dependencies. | |
3523 | ||
1300a2f4 TJB |
3524 | 2008-01-30 Thiago Jung Bauermann <[email protected]> |
3525 | ||
3526 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for | |
3527 | TYPE_CODE_DECFLOAT arguments. | |
3528 | (ppc64_sysv_abi_push_dummy_call) Likewise. | |
3529 | (get_decimal_float_return_value): New function. | |
3530 | (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return | |
3531 | values by calling get_decimal_float_return_value. | |
3532 | (ppc64_sysv_abi_return_value): Likewise. | |
3533 | ||
95ef687d NR |
3534 | 2008-01-30 Nick Roberts <[email protected]> |
3535 | ||
3536 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Add field | |
3537 | for preprocessor macro information. Formatting changes. | |
3538 | ||
2d717e4f DJ |
3539 | 2008-01-29 Daniel Jacobowitz <[email protected]> |
3540 | ||
3541 | * remote.c (struct remote_state): Add cached_wait_status. | |
3542 | (remote_exec_file): New variable. | |
3543 | (PACKET_vAttach, PACKET_vRun): New constants. | |
3544 | (extended_remote_restart): Do not query for status. | |
3545 | (struct start_remote_args): New. | |
3546 | (remote_start_remote): Take it as a second argument. Check | |
3547 | whether the target is running. Issue an error for non-running | |
3548 | non-extended targets. Cache the wait status. Set inferior_ptid | |
3549 | here. | |
3550 | (remote_open_1): Prompt to disconnect non-running targets. Make | |
3551 | sure the target is marked running. Do not set inferior_ptid here. | |
3552 | Update call to remote_start_remote. Do not call remote_check_symbols | |
3553 | if the target is not running. | |
3554 | (remote_detach_1): Rename from remote_detach. Take an EXTENDED | |
3555 | argument. Handle a non-running target. | |
3556 | (remote_detach): Use it. | |
3557 | (extended_remote_detach): New. | |
3558 | (remote_disconnect): Fix typo. Use remoute_mourn_1. | |
3559 | (extended_remote_attach_1, extended_remote_attach) | |
3560 | (extended_async_remote_attach): New. | |
3561 | (remote_vcont_resume): Remove unused variable. | |
3562 | (remote_wait, remote_async_wait): Use any cached wait status. | |
3563 | (putpkt_binary, getpkt): Clear any cached wait status. | |
3564 | (extended_remoute_mourn_1): New. | |
3565 | (extended_remote_mourn): Use it. | |
3566 | (extended_async_remote_mourn, extended_remote_run): New. | |
3567 | (extended_remote_create_inferior_1): New. | |
3568 | (extended_remote_create_inferior): Use it. | |
3569 | (extended_remote_async_create_inferior): Likewise. | |
3570 | (remote_xfer_partial): Skip for non-executing targets. | |
3571 | (init_extended_remote_ops): Set to_detach and to_attach. | |
3572 | (init_extended_async_remote_ops): Likewise. Use | |
3573 | extended_async_remote_mourn. | |
3574 | (_initialize_remote): Register vAttach, vRun, and | |
3575 | set remote exec-file. | |
3576 | * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support. | |
3577 | ||
e85a822c DJ |
3578 | 2008-01-29 Daniel Jacobowitz <[email protected]> |
3579 | ||
3580 | * Makefile.in (symfile.o): Update. | |
3581 | * NEWS: Mention exec tracing support. | |
3582 | * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for | |
3583 | exec events. | |
3584 | * infcmd.c (kill_if_already_running, detach_command) | |
3585 | (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries. | |
3586 | * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete. | |
3587 | (follow_exec): Do not check may_follow_exec. Do not mourn and push | |
3588 | targets. Apply the sysroot path to the loaded executable. Use | |
3589 | no_shared_libraries. | |
3590 | * linux-nat.c (linux_child_follow_fork): Print fork following | |
3591 | messages if verbose. | |
3592 | (kill_wait_callback): Kill again before waiting a second time. | |
3593 | * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with | |
3594 | no_shared_libraries. | |
3595 | ||
9db13498 JB |
3596 | 2008-01-29 Joel Brobecker <[email protected]> |
3597 | ||
3598 | * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR. | |
3599 | ||
b4d5ed91 JB |
3600 | 2008-01-29 Joel Brobecker <[email protected]> |
3601 | ||
3602 | * nto-tdep.h: Remove #include "defs.h". | |
3603 | * nto-tdep.c: Add #include "defs.h". | |
3604 | * Makefile.in (nto_tdep_h): Update dependencies. | |
3605 | (nto-tdep.o): Likewise. | |
3606 | ||
107313f7 | 3607 | 2008-01-29 Joel Brobecker <[email protected]> |
ae123ec6 JB |
3608 | |
3609 | * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter | |
3610 | and use it. | |
3611 | (proceed, start_remote): Update call to wait_for_inferior. | |
3612 | * inferior.h (wait_for_inferior): Update declaration. | |
3613 | * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c, | |
3614 | solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior. | |
3615 | * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as | |
3616 | TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED. | |
3617 | ||
3f4178d6 DJ |
3618 | 2008-01-29 Aleksandar Ristovski <[email protected]> |
3619 | ||
3620 | * varobj (adjust_value_for_child_access): Added checking for | |
3621 | returned value from gdb_value_ind. | |
3622 | (c_describe_child): Likewise. | |
3623 | (cplus_describe_child): Fixed a typo. | |
3624 | ||
5eeba8d4 JB |
3625 | 2008-01-29 Jim Blandy <[email protected]> |
3626 | ||
3627 | * MAINTAINERS: Update my info. | |
3628 | ||
a5606eee VP |
3629 | 2008-01-29 Vladimir Prus <[email protected]> |
3630 | ||
3631 | Use multiple locations for hardware watchpoints. | |
3632 | This eliminates the need to traverse value chain, doing | |
3633 | various checks, in three different places. | |
3634 | ||
3635 | * breakpoint.h (struct bp_location): New fields | |
3636 | lengths and watchpoint_type. | |
3637 | (struct breakpoint): Remove the val_chain field. | |
3638 | * breakpoint.c (is_hardware_watchpoint): New. | |
3639 | (free_valchain): Remove. | |
3640 | (update_watchpoint): New. | |
3641 | (insert_bp_location): For hardware watchpoint, just | |
3642 | directly insert it. | |
3643 | (insert_breakpoints): Call update_watchpoint_locations | |
3644 | on all watchpoints. If we have failed to insert | |
3645 | any location of a hardware watchpoint, remove all inserted | |
3646 | locations. | |
3647 | (remove_breakpoint): For hardware watchpoints, directly | |
3648 | remove location. | |
3649 | (watchpoints_triggered): Iterate over locations. | |
3650 | (bpstat_stop_status): Use only first location of | |
3651 | a resource watchpoint. | |
3652 | (delete_breakpoint): Don't call free_valchain. | |
3653 | (print_one_breakpoint): Don't print all | |
3654 | locations for watchpoints. | |
3655 | (breakpoint_re_set_one): Use update_watchpoint for | |
3656 | watchpoints. | |
3657 | ||
0b3de036 VP |
3658 | 2008-01-29 Vladimir Prus <[email protected]> |
3659 | ||
3660 | Don't reset watchpoint block on solib load. | |
3661 | ||
3662 | * breakpoint.c (insert_bp_location): For watchpoints, | |
3663 | recompute condition. | |
3664 | (breakpoint_re_set_one): Instead of recomputing value | |
3665 | and condition for watchpoints, just reset value and | |
3666 | let insert_breakpoints/insert_bp_location recompute it. | |
3667 | Don't do anything about disabled watchpoint. | |
3668 | ||
c3940723 PM |
3669 | 2008-01-29 Pierre Muller <[email protected]> |
3670 | ||
3671 | * valarith.c (value_binop): Handle unsigned integer | |
3672 | division by zero. | |
3673 | ||
83845630 KB |
3674 | 2008-01-28 Kevin Buettner <[email protected]> |
3675 | ||
3676 | * mn10300-tdep.c (mn10300_analyze_prologue): Check for an | |
3677 | instruction pattern that appears frequently in position | |
3678 | independent code. Fix bug in code which looks for "fmov" and | |
3679 | backtracks if no "fmov" is found. | |
3680 | ||
9ce5d3bb DE |
3681 | 2008-01-28 Doug Evans <[email protected]> |
3682 | ||
3683 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
131fe1bb DE |
3684 | Reformat comments to 80 columns. |
3685 | Move local var def closer to only use. | |
9ce5d3bb | 3686 | |
c78d192c DJ |
3687 | 2008-01-28 Daniel Jacobowitz <[email protected]> |
3688 | ||
3689 | * fork-child.c (SHELL_FILE): Remove #ifndef. | |
3690 | (fork_inferior): Remove SHELL_COMMAND_CONCAT. | |
3691 | ||
e11481da PM |
3692 | 2008-01-25 Pierre Muller <[email protected]> |
3693 | ||
3694 | * i386-tdep.c (i386_skip_noop): New function. | |
3695 | (i386_analyze_prologue): Call i386_skip_noop function. | |
3696 | ||
244e85c8 MS |
3697 | 2008-01-24 Michael Snyder <[email protected]> |
3698 | ||
3699 | * procfs.c (procfs_xfer_partial): Comment, cut/paste error. | |
3700 | * win32-nat.c (win32_xfer_partial): Ditto. | |
3701 | * target.c (default_xfer_partial): Minor whitespace adjustment. | |
3702 | ||
dd6be234 PA |
3703 | 2008-01-24 Pedro Alves <[email protected]> |
3704 | ||
3705 | * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't | |
3706 | strip bit 1 even if pc doesn't point to thumb code. | |
3707 | ||
9fa2223d DJ |
3708 | 2008-01-23 Daniel Jacobowitz <[email protected]> |
3709 | ||
3710 | * remote.c (remote_wait): Handle SIGINT between packets. | |
3711 | (remote_async_wait): Likewise. | |
3712 | ||
93815fbf VP |
3713 | 2008-01-23 Vladimir Prus <[email protected]> |
3714 | Chris Demetriou <[email protected]> | |
3715 | ||
3716 | * thread.c (add_thread_silent): Renamed | |
3717 | from add_thread. | |
3718 | (print_thread_events): New variable definition. | |
3719 | (show_print_thread_events): New function. | |
3720 | (_initialize_thread): Add "set print thread-events" and | |
3721 | "show print thread-events" commands. | |
3722 | (add_thread): Announce new thread. | |
3723 | * gdbthread.h (add_thread_silent): Declare. | |
3724 | (print_thread_events): New variable declaration. | |
3725 | * inf-ttrace.c (inf_ttrace_wait): Don't | |
3726 | inform about new thread, as add_thread is always | |
3727 | called too, and will take care of that. | |
3728 | * infrun.c (handle_inferior_event): Likewise. | |
3729 | * procfs.c (procfs_wait): Likewise. | |
3730 | * remote.c (remote_currthread): Likewise. | |
3731 | * sol-thread.c (sol_thread_wait): Likewise. | |
3732 | * win32-nat.c (get_win32_debug_event): Likewise. | |
3733 | * linux-thread-db.c (attach_thread): Likewise. | |
3734 | Remove the verbose parameter. | |
3735 | (check_event): Make detach_thread be verbose | |
3736 | only if print_thread_events is set. | |
3737 | * linux-nat.c (lin_lwp_attach_lwp): Don't inform | |
3738 | about new thread. This is called only from | |
3739 | linux-thread-db.c:attach_thread, which will take care. | |
3740 | Remove the verbose parameter. | |
3741 | * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype. | |
3742 | ||
b4d7c9a6 NR |
3743 | 2008-01-23 Nick Roberts <[email protected]> |
3744 | ||
3745 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output. | |
3746 | ||
60c46647 VP |
3747 | 2008-01-22 Vladimir Prus <[email protected]> |
3748 | ||
3749 | * breakpoint.c (break_command_really): New parameter | |
3750 | ignore_count. | |
3751 | (break_command_1): Pass 0 as | |
3752 | ignore_count to break_command_really. | |
3753 | (gdb_breakpoint): Pass ignore_count to | |
3754 | break_command_really. | |
3755 | ||
e84605cd KB |
3756 | 2008-01-21 Kevin Buettner <[email protected]> |
3757 | ||
3758 | * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find | |
3759 | sigcontext struct via pointer. | |
3760 | (struct sigframe comment): Update to show new field `psc'. | |
3761 | ||
9d9cd7ac VP |
3762 | 2008-01-21 Vladimir Prus <[email protected]> |
3763 | ||
3764 | * infrun.c (handle_inferior_event): If | |
3765 | we failed to remove breakpoints, error, | |
3766 | don't try to increment PC by hand. | |
3767 | ||
af5ca30d NH |
3768 | 2008-01-18 Nick Hudson <[email protected]> |
3769 | ||
3770 | Add NetBSD/hppa target and host support. | |
3771 | ||
3772 | * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ... | |
3773 | (hppabsd_gregset): Move to ... | |
3774 | (hppabsd_regset_from_core_section): Rename | |
3775 | hppaobsd_regset_from_core_section and move to ... | |
3776 | (hppabsd_find_global_pointer): Update comment. | |
3777 | (hppabsd_init_abi): Make global. Do not register | |
3778 | hppabsd_regset_from_core_section. | |
3779 | (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and | |
3780 | move to ... | |
3781 | (_initialize_hppabsd_tdep): Move to ... | |
3782 | * hppaobsd-tdep.c: ... here. New file. | |
3783 | * hppnbsd-tdep.c: New file. | |
3784 | * hppnbsd-nat.c: New file. | |
3785 | * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o. | |
3786 | (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c. | |
3787 | (hppabsd-nat.o, hppabsd-tdep.o): New dependencies. | |
3788 | (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies. | |
3789 | * configure.host (hppa*-*-netbsd*): New entry. | |
3790 | * configure.tgt (hppa*-*-netbsd*): New entry. | |
3791 | (hppa*-*-openbsd*): Update. | |
3792 | * NEWS (New native configuration): Mention NetBSD/hppa. | |
3793 | (New targets): Mention NetBSD/hppa. | |
3794 | ||
32c9a795 MD |
3795 | 2008-01-18 Markus Deuling <[email protected]> |
3796 | ||
3797 | * gdbarch.sh (function_list): Add new property bits_big_endian to | |
3798 | gdbarch structure. | |
3799 | * gdbarch.{c,h}: Regenerate. | |
3800 | ||
3801 | * value.c (struct value): Replace BITS_BIG_ENDIAN by | |
3802 | gdbarch_bits_big_endian (comment). | |
3803 | (unpack_field_as_long, modify_field): Likewise. | |
3804 | * value.h: Likewise (comment). | |
3805 | * valops.c (value_slice): Likewise. | |
3806 | * valarith.c (value_subscript, value_bit_index): Likewise. | |
3807 | * gdbtypes.h (field): Likewise (comment). | |
3808 | * eval.c (evaluate_subexp_standard): Likewise. | |
3809 | * dwarf2read.c (dwarf2_add_field): Likewise. | |
3810 | * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) | |
3811 | (move_bits, ada_value_assign, value_assign_to_component): Likewise. | |
3812 | ||
3813 | * defs.h (BITS_BIG_ENDIAN): Remove. | |
3814 | ||
1e5e79d0 MD |
3815 | 2008-01-18 Markus Deuling <[email protected]> |
3816 | ||
3817 | * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate | |
3818 | function calls. | |
3819 | * m2-exp.y (yylex): Likewise. | |
3820 | * objc-exp.y (yylex): Likewise. | |
3821 | ||
3822 | * defs.h (DEPRECATED_STREQN): Remove. | |
3823 | ||
fabda5a7 L |
3824 | 2008-01-17 H.J. Lu <[email protected]> |
3825 | ||
3826 | * MAINTAINERS: Update my email address. | |
3827 | ||
92726479 JB |
3828 | 2008-01-17 Jim Blandy <[email protected]> |
3829 | ||
3830 | * README: Mention gdbserver/README. | |
3831 | ||
ef80d18e PM |
3832 | 2008-01-17 Pierre Muller <[email protected]> |
3833 | ||
3834 | * valarith.c (value_binop): Handle BINOP_INTDIV | |
3835 | for unsigned and signed integers. | |
3836 | ||
1de90795 UW |
3837 | 2008-01-17 Ulrich Weigand <[email protected]> |
3838 | ||
3839 | * s390-tdep.c (s390_gdbarch_init): Set default long double | |
3840 | type to 128-bit IEEE quad. | |
3841 | ||
c70bd6f3 JB |
3842 | 2008-01-17 Joel Brobecker <[email protected]> |
3843 | ||
3844 | * hpux-thread.c (hpux_thread_resume): Delete commented-out code. | |
3845 | ||
ba759613 MK |
3846 | 2008-01-16 Mark Kettenis <[email protected]> |
3847 | ||
77d49ac6 MK |
3848 | * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS. |
3849 | ||
ba759613 MK |
3850 | * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest. |
3851 | * value.c: All callers changed. | |
3852 | ||
7ecb6532 MD |
3853 | 2008-01-16 Markus Deuling <[email protected]> |
3854 | ||
3855 | * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace | |
3856 | DEPRECATED_STREQ by its expression. | |
3857 | * coffread.c (coff_locate_sections, coff_symtab_read): Likewise. | |
3858 | * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos) | |
3859 | (scan_xcoff_symtab): Likewise. | |
3860 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise. | |
3861 | * f-lang.c (find_common_for_function): Likewise. | |
3862 | * objc-exp.y (parse_number): Likewise. | |
3863 | ||
3864 | * defs.h (DEPRECATED_STREQ): Remove. | |
3865 | ||
d15cf01c MD |
3866 | 2008-01-16 Markus Deuling <[email protected]> |
3867 | ||
3868 | * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter. | |
3869 | * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use | |
3870 | get_frame_arch to get at the current_architecture. Update AM33_MODE | |
3871 | call. | |
3872 | (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller. | |
3873 | (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current | |
3874 | architecture. | |
3875 | (set_reg_offsets, mn10300_analyze_prologue): Fix indentation. | |
3876 | ||
f8028488 MD |
3877 | 2008-01-16 Markus Deuling <[email protected]> |
3878 | ||
3879 | * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as | |
3880 | parameter. | |
3881 | * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise. | |
3882 | ||
3883 | (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace | |
3884 | current_gdbarch by gdbarch. Update caller. | |
3885 | ||
3886 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers) | |
3887 | (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at | |
3888 | the current architecture. Update calls of | |
3889 | amd64_native_gregset_supplies_p. | |
3890 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers) | |
3891 | (amd64bsd_store_inferior_registers): Likewise. | |
3892 | ||
e101270f MD |
3893 | 2008-01-16 Markus Deuling <[email protected]> |
3894 | ||
3895 | * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter. | |
3896 | Replace current_gdbarch by gdbarch. Update caller. | |
3897 | ||
063e58ba MD |
3898 | 2008-01-16 Markus Deuling <[email protected]> |
3899 | ||
3900 | * dbxread.c (repeated_header_complaint, dbx_symfile_init) | |
3901 | (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint) | |
3902 | (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1) | |
3903 | (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol) | |
3904 | (stabsect_build_psymtabs): Fix indentation. | |
3905 | ||
662fb31b MS |
3906 | 2008-01-15 Michael Snyder <[email protected]> |
3907 | ||
3908 | * corelow.c (core_xfer_partial): Comment, cut/paste error. | |
3909 | ||
c1766e7d PM |
3910 | 2008-01-14 Pierre Muller <[email protected]> |
3911 | ||
3912 | * win32-nat.c (win32_create_inferior): Restore code calling | |
3913 | CloseHandle on ProcessInformation structure. | |
3914 | ||
5ed10e6e NH |
3915 | 2008-01-13 Nick Hudson <[email protected]> |
3916 | ||
3917 | * configure.ac: Check for void * as 3 argument of ptrace. | |
3918 | * configure: regenerate. | |
3919 | ||
be8626e0 MD |
3920 | 2008-01-11 Markus Deuling <[email protected]> |
3921 | ||
3922 | * alpha-tdep.c (alpha_heuristic_proc_start) | |
3923 | (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace | |
3924 | current_gdbarch by gdbarch. | |
3925 | ||
3926 | (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the | |
3927 | current architecture by frame_info. Update alpha_heuristic_proc_start | |
3928 | call. | |
3929 | ||
3930 | (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use | |
3931 | get_frame_arch to get at the current architecture by frame_info. Update | |
3932 | alpha_sigtramp_register_address call. | |
3933 | ||
3934 | * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace | |
3935 | current_gdbarch by gdbarch. Update caller. | |
3936 | (convert_to_extended, convert_from_extended): Add endianess parameter | |
3937 | for comparison. Update caller. | |
3938 | (arm_extract_return_value, arm_store_return_value): Use | |
3939 | get_regcache_arch to get at the current architecture. | |
3940 | ||
3941 | * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace | |
3942 | current_gdbarch by gdbarch. Update caller. | |
3943 | (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add | |
3944 | gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch. | |
3945 | ||
3946 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add | |
3947 | gdbarch as parameter. Update caller. | |
3948 | (h8300_init_frame_cache): Add gdbarch as parameter. Replace | |
3949 | current_gdbarch by gdbarch. Update caller. | |
3950 | ||
3951 | * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and | |
3952 | update caller. Replace current_gdbarch by gdbarch. | |
3953 | ||
3954 | * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at | |
3955 | the current architecture. Replace current_gdbarch by gdbarch. | |
3956 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise. | |
3957 | (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its | |
3958 | expression. Add gdbarch as parameter and replace current_gdbarch with | |
3959 | it. Update caller. | |
3960 | (M6811_TDEP): Remove. | |
3961 | (m68hc11_frame_prev_register): Use get_frame_arch to get at the current | |
3962 | architecture. | |
3963 | (m68hc11_scan_prologue): Add gdbarch as parameter. Replace | |
3964 | current_gdbarch by gdbarch. Update caller. | |
3965 | ||
3966 | * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and | |
3967 | update caller. | |
3968 | (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch | |
3969 | by gdbarch. | |
3970 | ||
3971 | * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update | |
3972 | caller. Relace current_gdbarch by gdbarch. | |
3973 | (altivec_register_p, spe_register_p): Likewise. | |
3974 | * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as | |
3975 | parameter. | |
3976 | * ppc-linux-nat.c (fetch_register, store_register): Update caller of | |
3977 | altivec_register_p and spe_register_p. | |
3978 | ||
3979 | * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update | |
3980 | caller. Replace current_gdbarch by gdbarch. | |
3981 | (score_analyze_prologue): use get_frame_arch to get at the current | |
3982 | architecture. | |
3983 | ||
3984 | * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter. | |
3985 | * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace | |
3986 | current_gdbarch by gdbarch. Update caller. | |
3987 | (sparc_frame_cache): Use get_frame_arch to get at the current | |
3988 | architecture. | |
3989 | * sparce64-tdep.c (sparc64_skip_prologue): Update call of | |
3990 | sparc_analyze_prologue. | |
3991 | ||
3992 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as | |
3993 | parameter. | |
3994 | ||
ed49a04f MD |
3995 | 2008-01-11 Markus Deuling <[email protected]> |
3996 | ||
3997 | * exec.c: #include "arch-utils.h" | |
3998 | (print_section_info): Use gdbarch_from_bfd to get at the | |
3999 | current architecture. Replace current_gdbarch. Fix indention. Replace | |
4000 | deprecated_print_address_numeric by paddress. | |
4001 | * Makefile.in (exec.o) Add dependency to arch-utils.h. | |
4002 | ||
4003 | * valprint.c (val_print_string): Replace | |
4004 | deprecated_print_address_numeric. | |
4005 | * tracepoint.c (trace_mention, scope_info): Likewise. | |
4006 | * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol) | |
4007 | (print_symbol, print_partial_symbols, maintenance_info_psymtabs) | |
4008 | (maintenance_check_symtabs): Likewise. | |
4009 | * symfile.c (list_overlays_command): Likewise. | |
4010 | * stack.c (frame_info, print_block_frame_labels): Likewise. | |
4011 | * printcmd.c (print_address, print_address_demangle) | |
4012 | (address_info): Likewise. | |
4013 | * corefile.c (memory_error): Likewise. | |
4014 | * infcmd.c (jump_command): Likewise. | |
4015 | * breakpoint.c (insert_bp_location, describe_other_breakpoints) | |
4016 | (mention, delete_breakpoint): Likewise. | |
4017 | * c-valprint.c (print_function_pointer_address, c_val_print): Likewise. | |
4018 | * dwarf2read.c (dump_die): Likewise. | |
4019 | * ada-valprint.c (ada_val_print_1): Likewise. | |
4020 | * f-valprint.c (f_val_print): Likewise. | |
4021 | * linux-fork.c (info_forks_command): Likewise. | |
4022 | * m32r-com.c (m32r_load_section, m32r_load) | |
4023 | (m32r_upload_command): Likewise. | |
4024 | ||
4025 | * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment. | |
4026 | ||
6093d2eb MD |
4027 | 2008-01-11 Markus Deuling <[email protected]> |
4028 | ||
4029 | * gdbarch.sh (skip_prologue): Add gdbarch | |
4030 | as parameter. | |
4031 | * gdbarch.{c,h}: Regenerate. | |
4032 | ||
4033 | * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter. | |
4034 | * amd64-tdep.c (amd64_skip_prologue): Likewise. | |
4035 | * avr-tdep.c (avr_skip_prologue): Likewise. | |
4036 | * cris-tdep.c (cris_skip_prologue): Likewise. | |
4037 | * frv-tdep.c (frv_skip_prologue): Likewise. | |
4038 | * h8300-tdep.c (h8300_skip_prologue): Likewise. | |
4039 | * hppa-tdep.c (hppa_skip_prologue): Likewise. | |
4040 | * i386-tdep.c (i386_skip_prologue): Likewise. | |
4041 | * ia64-tdep.c (ia64_skip_prologue): Likewise. | |
4042 | * iq2000-tdep.c (iq2000_skip_prologue): Likewise. | |
4043 | * m32r-tdep.c (m32r_skip_prologue): Likewise. | |
4044 | * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise. | |
4045 | * m68k-tdep.c (m68k_skip_prologue): Likewise. | |
4046 | * m88k-tdep.c (m88k_skip_prologue): Likewise. | |
4047 | * mep-tdep.c (mep_skip_prologue): Likewise. | |
4048 | * mips-tdep.c (mips_skip_prologue): Likewise. | |
4049 | * mn10300-tdep.c (mn10300_skip_prologue): Likewise. | |
4050 | * mt-tdep.c (mt_skip_prologue): Likewise. | |
4051 | * rs6000-tdep.c (rs6000_skip_prologue): Likewise. | |
4052 | * score-tdep.c (score_skip_prologue): Likewise. | |
4053 | * sh64-tdep.c (sh64_skip_prologue): Likewise. | |
4054 | * sh-tdep.c (sh_skip_prologue): Likewise. | |
4055 | * sparc64-tdep.c (sparc64_skip_prologue): Likewise. | |
4056 | * sparc-tdep.c (sparc32_skip_prologue): Likewise. | |
4057 | * spu-tdep.c (spu_skip_prologue): Likewise. | |
4058 | * v850-tdep.c (v850_skip_prologue): Likewise. | |
4059 | * vax-tdep.c (vax_skip_prologue): Likewise. | |
4060 | * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise. | |
4061 | * xtensa-tdep.c (xtensa_skip_prologue): Likewise. | |
4062 | ||
4063 | * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace | |
4064 | current_gdbarch by gdbarch. | |
4065 | * m32c-tdep.c (m32c_skip_prologue): Likewise. | |
4066 | * s390-tdep.c (s390_skip_prologue): Likewise. | |
4067 | ||
72f5cf0e DE |
4068 | 2008-01-10 Doug Evans <[email protected]> |
4069 | ||
4070 | * defs.h (struct continuation_arg): Fix typo in comment. | |
4071 | * target.c (target_translate_tls_address): Fix comment spelling error. | |
4072 | ||
689e4e2d TJB |
4073 | 2008-01-09 Thiago Jung Bauermann <[email protected]> |
4074 | ||
4075 | * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string. | |
4076 | (DOUBLEST_SCAN_FORMAT): Likewise. | |
4077 | * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT. | |
4078 | * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT. | |
4079 | * c-exp.y (parse_number): Likewise. | |
4080 | * jv-exp.y (parse_number): Likewise. | |
4081 | * objc-exp.y (parse_number): Likewise. | |
4082 | * p-exp.y (parse_number): Likewise. | |
4083 | ||
ab0d6e0d JB |
4084 | 2008-01-09 Joel Brobecker <[email protected]> |
4085 | ||
4086 | * gdbtypes.c (create_array_type): Add handling of null Ada arrays. | |
4087 | (check_typedef): Likewise. | |
4088 | ||
0aea4bf3 LM |
4089 | 2008-01-09 Luis Machado <[email protected]> |
4090 | ||
4091 | * printcmd.c (printf_command): Add seen_big_h, seen_big_d and | |
4092 | seen_double_big_d, treat the new H, D, and DD modifiers as length | |
4093 | modifiers. | |
4094 | ||
137033e9 JB |
4095 | 2008-01-08 Joel Brobecker <[email protected]> |
4096 | ||
4097 | * dwarf2read.c (read_enumeration_type): Add comment. | |
4098 | ||
dda297ec TJB |
4099 | 2008-01-08 Thiago Jung Bauermann <[email protected]> |
4100 | ||
4101 | * config.in: Regenerate. | |
4102 | ||
a93c0eb6 JB |
4103 | 2008-01-08 Joel Brobecker <[email protected]> |
4104 | ||
4105 | * ada-lang.c (ada_convert_actual): Renames convert_actual. | |
4106 | Make non-static. | |
4107 | (ada_convert_actuals): Delete. | |
4108 | * ada-lang.h (ada_convert_actual): Add declaration. | |
4109 | (ada_convert_actuals): Remove declaration. | |
4110 | * infcall.c: #include "ada-lang.h". | |
4111 | (value_arg_coerce): Add new parameter sp. Update function | |
4112 | documetnation. Add handling of Ada function call parameters. | |
4113 | * Makefile.in (infcall.o): Update dependencies. | |
4114 | ||
a84a8a0d JB |
4115 | 2008-01-08 Paul Hilfinger <[email protected]> |
4116 | ||
4117 | * ada-lang.c (ensure_lval): Fix value lval kind. | |
4118 | (convert_actual): Add handling for arguments passed by reference. | |
4119 | ||
d7f98cce DE |
4120 | 2008-01-08 Doug Evans <[email protected]> |
4121 | ||
4122 | * dbxread.c (read_dbx_symtab): Fix indentation. | |
4123 | ||
4ef30785 TJB |
4124 | 2008-01-07 Thiago Jung Bauermann <[email protected]> |
4125 | ||
4126 | * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h. | |
4127 | (valarith.o): Depend on dfp.h. | |
4128 | (valops.o): Likewise. | |
4129 | * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h. | |
4130 | (set_decnumber_context): New function. | |
4131 | (decimal_check_errors): Likewise. | |
4132 | (decimal_from_number): Likewise. | |
4133 | (decimal_to_number): Likewise. | |
4134 | (decimal_from_string): Use set_decnumber_context and | |
4135 | decimal_check_errors. | |
4136 | (decimal_from_integral): New function. | |
4137 | (decimal_from_floating): Likewise. | |
4138 | (decimal_to_double): Likewise. | |
4139 | (promote_decimal): Likewise. | |
4140 | (decimal_binop): Likewise. | |
4141 | (decimal_is_zero): Likewise. | |
4142 | (decimal_compare): Likewise. | |
4143 | (decimal_convert): Likewise. | |
4144 | * dfp.h (decimal_from_integral): New prototype. | |
4145 | (decimal_from_floating): Likewise. | |
4146 | (decimal_to_double): Likewise. | |
4147 | (decimal_binop): Likewise. | |
4148 | (decimal_is_zero): Likewise. | |
4149 | (decimal_compare): Likewise. | |
4150 | (decimal_convert): Likewise. | |
4151 | * eval.c (evaluate_subexp_standard): Remove expect_type argument from | |
4152 | call to value_from_decfloat. | |
4153 | * valarith.c: Include dfp.h. | |
4154 | (value_args_as_decimal): New function. | |
4155 | (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values. | |
4156 | (value_logical_not): Likewise. | |
4157 | (value_equal): Likewise. | |
4158 | (value_less): Likewise. | |
4159 | (value_pos): Likewise. | |
4160 | (value_neg): Formatting fix. | |
4161 | * valops.c: Include dfp.h. | |
4162 | (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values. | |
4163 | * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT. | |
4164 | (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT. | |
4165 | (value_from_decfloat): Remove expect_type argument. | |
4166 | * value.h (value_from_decfloat): Update prototype. | |
4167 | ||
a7c02bc8 VP |
4168 | 2008-01-07 Vladimir Prus <[email protected]> |
4169 | ||
4170 | Ignore change in name of dynamic linker during | |
4171 | execution on Solaris. This also unbreaks pending breakpoints. | |
4172 | ||
4173 | * solist.h (struct target_so_ops): New field same. | |
4174 | * solib-svr4.c (svr4_same): New. | |
4175 | (_initialize_svr4_solib): Register svr4_same. | |
4176 | * solib.c (update_solib_list): Use ops->same, if available. | |
4177 | ||
610dd7f9 CF |
4178 | 2008-01-06 Christopher Faylor <[email protected]> |
4179 | ||
4180 | * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings | |
4181 | when using MS-DOS paths. | |
4182 | ||
7a404eba PA |
4183 | 2008-01-05 Pedro Alves <[email protected]> |
4184 | ||
4185 | * NEWS: Mention --pid and --core command line behaviour changes. | |
4186 | ||
a4d9b460 PA |
4187 | 2008-01-05 Pedro Alves <[email protected]> |
4188 | ||
4189 | * main.c (captured_main): Remove 'count' varible and the | |
4190 | ALIGN_STACK_ON_ENTRY block that used it. Error out if --core and | |
4191 | --pid options were issued simultaneously. If an explicit pid | |
4192 | option was passed, don't fallback to core file. Detect extra | |
4193 | arguments better in the presence of explicit pid or core | |
4194 | arguments. | |
4195 | ||
0c281816 JB |
4196 | 2008-01-05 Joel Brobecker <[email protected]> |
4197 | ||
4198 | * ada-lang.c (ada_which_variant_applies): Correctly compute | |
4199 | the value of the discriminant when the variant record is packed. | |
4200 | ||
babe1480 JB |
4201 | 2008-01-04 Joel Brobecker <[email protected]> |
4202 | ||
4203 | * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes | |
4204 | that are used to differentiate homonyms. | |
4205 | ||
727e3d2e JB |
4206 | 2008-01-04 Jerome Guitton <[email protected]> |
4207 | ||
4208 | * ada-lang.c (decode_packed_array_type): Avoid a seg fault | |
4209 | when the type is an anonymous pointer type. | |
4210 | (ada_check_typedef): Avoid a seg fault when the type is null. | |
4211 | * ada-typeprint.c (print_array_type): Add support for pointer | |
4212 | to packed arrays. | |
4213 | ||
bb28a9dc JB |
4214 | 2008-01-04 Paul N. Hilfinger <[email protected]> |
4215 | ||
4216 | * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment. | |
4217 | ||
6799def4 JB |
4218 | 2008-01-04 Joel Brobecker <[email protected]> |
4219 | ||
4220 | * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in | |
4221 | EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS. | |
4222 | ||
d3353bbd JB |
4223 | 2008-01-04 Joel Brobecker <[email protected]> |
4224 | ||
4225 | * ada-exp.y (chop_separator): New function. | |
4226 | (write_selectors): Rewrite to re-use chop_separator. | |
4227 | (ada_nget_field_index, get_symbol_field_type): New functions. | |
4228 | (write_var_or_type): Add support for "ptype TYPENAME.FIELD" | |
4229 | expressions. | |
4230 | ||
82cf6c60 TJB |
4231 | 2008-01-03 Thiago Jung Bauermann <[email protected]> |
4232 | ||
4233 | * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead | |
4234 | of SYMBOL_VALUE when working with function symbols. | |
4235 | ||
b3dbf008 JB |
4236 | 2008-01-03 Joel Brobecker <[email protected]> |
4237 | ||
4238 | * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER | |
4239 | expressions. These expressions do not need to be rewriten. | |
4240 | ||
02eb380e JB |
4241 | 2008-01-03 Joel Brobecker <[email protected]> |
4242 | ||
4243 | * dwarf2read.c (read_enumeration_type): Flag type as stub if | |
4244 | the given die is a declaration. | |
4245 | ||
abb68b3e JB |
4246 | 2008-01-03 Joel Brobecker <[email protected]> |
4247 | ||
4248 | * ada-lang.c (ada_array_bound_from_type): Make non-static. | |
4249 | Handle properly the case when the index type is an enumerated type. | |
4250 | Do not return the subtype of the bounds type, just return the | |
4251 | bounds type directly - this is not needed and is more consistent | |
4252 | with what we do for arrays when no XA parallel type exists. | |
4253 | ||
f192137b JB |
4254 | 2008-01-03 Joel Brobecker <[email protected]> |
4255 | ||
4256 | * ada-lang.c (static_unwrap_type): Add forward declaration. | |
4257 | (template_to_static_fixed_type): Fields of dynamic types sometimes | |
4258 | also need to be unwrapped. Take this into account. | |
4259 | (ada_to_fixed_type_1): Renamed from ada_to_fixed_type. | |
4260 | (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1. | |
4261 | * ada-typeprint.c (ada_print_type): Get the typename from | |
4262 | the original type, not the base type. | |
4263 | ||
1ed6ede0 JB |
4264 | 2008-01-03 Jerome Guitton <[email protected]> |
4265 | ||
4266 | * ada-lang.c (ada_value_struct_elt, to_fixed_array_type) | |
4267 | (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value): | |
4268 | Update calls to ada_to_fixed_type. | |
4269 | (ada_template_to_fixed_record_type_1): Ditto, but without looking | |
4270 | for the tag. | |
4271 | (ada_to_fixed_type): Add check_tag parameter; do not look for | |
4272 | tag if null. When looking for a tag, use a fixed record type. | |
4273 | * ada-lang.h (ada_to_fixed_type): Add check_tag parameter. | |
4274 | * ada-valprint.c (printable_val_type, ada_value_print): Update | |
4275 | calls to ada_to_fixed_type. | |
4276 | ||
542a88d0 LM |
4277 | 2008-01-03 Luis Machado <[email protected]> |
4278 | ||
4279 | * doublest.c (convert_floatformat_to_doublest): Call | |
4280 | floatformat_to_doublest instead of floatformat_to_double and use | |
4281 | DOUBLEST variables. | |
4282 | (convert_doublest_to_floatformat): Call floatformat_from_doublest | |
4283 | instead of floatformat_from_double and use DOUBLEST variables. | |
4284 | ||
dc2bbab2 NH |
4285 | 2008-01-03 Nick Hudson <[email protected]> |
4286 | ||
4287 | * MAINTAINERS (Write After Approval): Add self. | |
4288 | ||
8b60591b JB |
4289 | 2008-01-03 Joel Brobecker <[email protected]> |
4290 | ||
4291 | * symfile.c (set_initial_language): Make non-static. | |
4292 | * symfile.h (set_initial_language): Add declaration. | |
4293 | * language.c: #include "symfile.h". | |
4294 | (set_language): Call set_initial_language if the frame language | |
4295 | could not be determined. | |
4296 | ||
ceef53c1 JB |
4297 | 2008-01-03 Paul N. Hilfinger <[email protected]> |
4298 | ||
4299 | * eval.c (evaluate_subexp_for_address): Provide frame address to | |
4300 | locate_var_value only if it will be needed. | |
4301 | ||
ef29ce1a JK |
4302 | 2008-01-02 Jan Kratochvil <[email protected]> |
4303 | ||
4304 | * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB. | |
4305 | ||
0a07e705 JB |
4306 | 2008-01-02 Joel Brobecker <[email protected]> |
4307 | ||
4308 | * ada-lang.c (ada_evaluate_subexp): Modify the value returned | |
4309 | when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory. | |
4310 | This is needed to make sure that any other treatment applied | |
4311 | to the resulting value does not fail for spurious reason, | |
4312 | such as trying to take the address of this value. | |
4313 | ||
f58b38bf JB |
4314 | 2008-01-02 Joel Brobecker <[email protected]> |
4315 | ||
4316 | * ada-lang.c (ada_value_equal): Dereference reference types when | |
4317 | comparing arrays. | |
4318 | ||
9b254dd1 DJ |
4319 | 2008-01-01 Daniel Jacobowitz <[email protected]> |
4320 | ||
4321 | Updated copyright notices for most files. | |
4322 | ||
33605d39 CF |
4323 | 2008-01-01 Christopher Faylor <[email protected]> |
4324 | ||
4325 | * win32-nat.c (psapi_module_handle): Remove static. | |
4326 | (get_module_name): Rename from psapi_get_dll_name. Revamp slightly to | |
4327 | return first module found if base_address is zero. Don't initialize | |
4328 | psapi function pointers here. Convert to cygwin paths when | |
4329 | appropriate. | |
4330 | (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine | |
4331 | executable name. Use get_module_name when that fails or when | |
4332 | !__CYGWIN__. | |
4333 | (_initialize_psapi): New function. Initialize psapi stuff before it is | |
4334 | needed or issue a warning if it is not found. Move psapi_module_handle | |
4335 | here. | |
4336 | ||
29480c32 JB |
4337 | 2008-01-01 Joel Brobecker <[email protected]> |
4338 | ||
4339 | * ada-lang.c (ada_remove_trailing_digits): New function. | |
4340 | (ada_remove_po_subprogram_suffix): New function. | |
4341 | (ada_decode): Improve. Move the description of the algorithm | |
4342 | directly inside the code, instead of in the function global | |
4343 | description. | |
4344 | ||
969a1360 JB |
4345 | 2008-01-01 Joel Brobecker <[email protected]> |
4346 | ||
4347 | * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref | |
4348 | and always print the dereferenced value. | |
4349 | ||
b7789565 JB |
4350 | 2008-01-01 Joel Brobecker <[email protected]> |
4351 | ||
4352 | * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling | |
4353 | of the case where the first argument is a reference. | |
4354 | (ada_evaluate_subexp, case BINOP_ADD): Likewise. | |
4355 | ||
73fb9985 JB |
4356 | 2008-01-01 Joel Brobecker <[email protected]> |
4357 | ||
4358 | Implement support for Ada interface types. | |
4359 | ||
4360 | * ada-lang.c (ada_is_dispatch_table_ptr_type): New function. | |
4361 | (ada_is_ignored_field): Ignore fields that are a dispatch table | |
4362 | of a tagged type. | |
4363 | ||
636265b6 JB |
4364 | 2008-01-01 Joel Brobecker <[email protected]> |
4365 | ||
4366 | * top.c (print_gdb_version): Update copyright year. | |
4367 | ||
9d200a2e | 4368 | 2008-01-01 Joel Brobecker <[email protected]> |
b7589f7d | 4369 | |
9d200a2e JB |
4370 | * ChangeLog-2007: New ChangeLog rotation. |
4371 | * ChangeLog: Reset for 2008. | |
4372 | * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and | |
4373 | ChangeLog-2007. | |
b7589f7d | 4374 | |
9d200a2e | 4375 | For older changes see ChangeLog-2007. |
c906108c SS |
4376 | \f |
4377 | Local Variables: | |
4378 | mode: change-log | |
4379 | left-margin: 8 | |
4380 | fill-column: 74 | |
4381 | version-control: never | |
57da7796 | 4382 | coding: utf-8 |
c906108c | 4383 | End: |