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