ad3c71c4986d0c9ed2261b87a64cf39813dca53d
[binutils-gdb.git] / gdb / ChangeLog
1 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
2
3 * gdbarch.sh (bfd_vma): Remove.
4 * gdbarch.c, gdbarch.h: Regenerate.
5
6 * gdbtypes.h (builtin_bfd_vma_type): Remove.
7 * gdbtypes.h (builtin_bfd_vma_type): Remove.
8 (build_gdbtypes): Do not initialize it.
9 (_initialize_gdbtypes): Do not swap it.
10
11 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
12
13 * gdbtypes.c (builtin_type_v2_double, builtin_type_v4_float,
14 builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16,
15 builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32,
16 builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf,
17 builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi,
18 builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si,
19 builtin_type_vec64, builtin_type_vec128): Remove.
20 (init_simd_type): Remove.
21 (init_vector_type): Make global.
22 (build_builtin_type_vec64, build_builtin_type_vec128): Remove.
23 (build_gdbtypes): Do not build vector types.
24 (_initialize_gdbtypes): Do not swap vector types.
25 * gdbtypes.h (builtin_type_v2_double, builtin_type_v4_float,
26 builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16,
27 builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32,
28 builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf,
29 builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi,
30 builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si,
31 builtin_type_vec64, builtin_type_vec128): Remove declarations.
32 (init_vector_type): Add prototype.
33
34 * i386-tdep.h (struct gdbarch_tdep): Add i386_mmx_type and
35 i386_sse_type members.
36 (i386_mmx_type, i386_sse_type): Change from variables to functions.
37 * i386-tdep.c (i386_mmx_type, i386_sse_type): Remove variables.
38 (i386_init_types): Do not build vector types.
39 (i386_mmx_type, i386_sse_type): New functions.
40 (i386_register_type): Call them instead of using global variables.
41 (i386_gdbarch_init): Use XCALLOC to allocate tdep structure.
42 * amd64-tdep.c (amd64_register_type): Call i386_sse_type instead
43 of using global variable.
44
45 * rs6000-tdep.h (struct gdbarch_tdep): Add ppc_builtin_type_vec64
46 and ppc_builtin_type_vec128 members.
47 * rs6000-tdep.c (rs6000_builtin_type_vec64): New function.
48 (rs6000_builtin_type_vec128): Likewise.
49 (rs6000_register_type): Call them instead of using builtin_type_vec64
50 and builtin_type_vec128.
51 (rs6000_gdbarch_init): Use XCALLOC to allocate tdep structure.
52
53 * spu-tdep.c (struct gdbarch_tdep): New data type.
54 (spu_builtin_type_vec128): Remove variable.
55 (spu_builtin_type_vec128): New function.
56 (spu_register_type): Call it instead of using global variable.
57 (spu_gdbarch_init): Allocate tdep structure.
58 (spu_init_vector_type): Remove function.
59 (_initialize_spu_tdep): Do not call it.
60
61 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
62
63 * amd64-tdep.c (struct amd64_register_info): Remove.
64 (amd64_register_info): Remove.
65 (amd64_register_names): New static variable.
66 (AMD64_NUM_REGS): Use amd64_register_names instead of
67 amd64_register_info.
68 (amd64_register_name): Likewise.
69 (amd64_register_type): Do not refer to amd64_register_info.
70
71 * s390-tdep.c (struct s390_register_info): Remove.
72 (s390_register_info): Remove.
73 (s390_register_name): Do not refer to s390_register_info.
74 (s390_register_type): Likewise.
75
76 * sparc64-tdep.c (struct sparc64_register_info): Remove.
77 (sparc64_register_info, sparc64_pseudo_register_info): Remove.
78 (sparc64_register_names, sparc64_pseudo_register_names): New.
79 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use
80 sparc64_register_names and sparc64_pseudo_register_names instead of
81 sparc64_register_info and sparc64_pseudo_register_info.
82 (sparc64_register_name): Likewise.
83 (sparc64_register_type): Do not refer to sparc64_register_info
84 and sparc64_pseudo_register_info.
85
86 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
87
88 * c-lang.c (cplus_builtin_types): Remove.
89 (enum cplus_primitive_types): New data type.
90 (cplus_language_arch_info): New function.
91 (cplus_language_defn): Set la_language_arch_info member. Do not set
92 la_builtin_type_vector and string_char_type members.
93
94 * f-lang.c (f_builtin_types): Remove.
95 (enum f_primitive_types): New data type.
96 (f_language_arch_info): New function.
97 (f_language_de): Set la_language_arch_info member. Do not set
98 la_builtin_type_vector and string_char_type members.
99
100 * m2-lang.c (m2_builtin_types): Remove.
101 (enum m2_primitive_types): New data type.
102 (m2_language_arch_info): New function.
103 (m2_language_defn): Set la_language_arch_info member. Do not set
104 la_builtin_type_vector and string_char_type members.
105
106 * objc-lang.c (objc_builtin_types): Remove.
107 (objc_language): Set la_language_arch_info member. Do not set
108 la_builtin_type_vector and string_char_type members.
109
110 * p-lang.c (pascal_builtin_types): Remove.
111 (enum pascal_primitive_types): New data type.
112 (pascal_language_arch_info): New function.
113 (pascal_language_defn): Set la_language_arch_info member. Do not set
114 la_builtin_type_vector and string_char_type members.
115
116 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com>
117
118 * regcache.c (struct regcache): Add ptid_t member.
119 (regcache_xmalloc): Initialize it.
120 (regcache_cpy_no_passthrough): Do not refer to current_regcache.
121 (regcache_dup): Likewise.
122 (regcache_dup_no_passthrough): Likewise.
123 (current_regcache): Make static.
124 (registers_ptid): Remove variable.
125 (get_thread_regcache): New function.
126 (get_current_regcache): New function.
127 (registers_changed): Implement by freeing current regcache.
128 (regcache_raw_read): Do not refer to current_regcache. Set
129 inferior_ptid to regcache->ptid while calling target routines.
130 (regcache_raw_write): Likewise.
131 (regcache_raw_supply): Do not refer to current_regcache.
132 (read_pc_pid): Use thread regcache. Do not modify inferior_ptid.
133 (write_pc_pid): Likewise.
134 (build_regcache): Remove.
135 (_initialize_regcache): Do not call DEPRECATED_REGISTER_GDBARCH_SWAP
136 or deprecated_register_gdbarch_swap. Do not initialize
137 registers_ptid.
138 * regcache.h (get_current_regcache): Add prototype.
139 (get_thread_regcache): Likewise.
140 (current_regcache): Remove declaration.
141
142 * corelow.c (core_open): Replace current_regcache by
143 get_current_regcache ().
144 * frame.c (frame_pop): Likewise.
145 (put_frame_register): Likewise.
146 (get_current_frame, create_new_frame): Likewise.
147 * mi/mi-main.c (mi_cmd_data_write_register_values): Likewise.
148 * stack.c (return_command): Likewise.
149 * infcall.c (call_function_by_hand): Likewise.
150 * infrun.c (resume): Likewise.
151 (save_inferior_status, restore_inferior_status): Likewise.
152 * linux-fork.c (fork_load_infrun_state): Likewise.
153 (fork_save_infrun_state): Likewise.
154 * win32-nat.c (win32_resume): Likewise.
155 * i386fbsd-nat.c (i386fbsd_resume): Likewise.
156 * monitor.c (monitor_wait): Likewise.
157 * remote.c (remote_wait): Likewise.
158 * remote-mips.c (mips_wait): Likewise.
159
160 * bsd-kvm.c (bsd_kvm_open): Likewise
161 (bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Likewise.
162 * fbsd-nat.c (fbsd_make_corefile_notes): Likewise.
163 * i386-linux-nat.c (i386_linux_resume): Likewise.
164 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise.
165 (ia64_linux_stopped_data_address): Likewise.
166
167 * frv-tdep.c (frv_fdpic_loadmap_addresses): Likewise.
168 * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
169 * mep-tdep.c (current_me_module, current_options): Likewise.
170 * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Likewise.
171
172 * linux-nat.c (linux_nat_do_thread_registers): Use thread
173 regcache instead of current_regcache. Call target_fetch_registers.
174 (linux_nat_corefile_thread_callback): Update call site.
175 (linux_nat_do_registers): Likewise.
176 * procfs.c (procfs_do_thread_registers): Use thread regcache instead
177 of current_regcache.
178 (procfs_make_note_section): Likewise.
179 * proc-service.c (ps_lgetregs, ps_lsetregs): Likewise.
180 (ps_lgetfpregs, ps_lsetfpregs): Likewise.
181 * sol-thread.c (ps_lgetregs, ps_lsetregs): Likewise.
182 (ps_lgetfpregs, ps_lsetfpregs): Likewise.
183
184 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
185
186 * regcache.c (read_register, read_register_pid): Remove.
187 (write_register, write_register_pid): Likewise.
188 * regcache.h (read_register, read_register_pid): Remove prototype.
189 (write_register, write_register_pid): Likewise.
190
191 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
192
193 * gdbarch.sh (read_pc): Add REGCACHE argument. Remove PTID argument.
194 (write_pc): Likewise. Remove default implementation, add predicate.
195 * gdbarch.c, gdbarch.h: Regenerate.
196 * regcache.c (read_pc_pid): Use current regcache instead of calling
197 read_register_pid.
198 (write_pc_pid): Check gdbarch_write_pc predicate, implement default
199 case inline.
200 (generic_target_write_pc): Remove.
201 * inferior.h (generic_target_write_pc): Remove.
202 * frv-tdep.c (frv_gdbarch_init): Do not install it.
203 * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise.
204 * rs6000-tdep.c (rs6000_gdbarch_init): Likewise.
205 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
206 * sh-tdep.c (sh_gdbarch_init): Likewise.
207 * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise.
208
209 * avr-tdep.c (avr_read_pc): Add REGCACHE argument. Remove PTID
210 argument. Use REGCACHE instead of calling read_register_pid.
211 * hppa-hpux-tdep.c (hppa_hpux_read_pc): Likewise.
212 * hppa-tdep.c (hppa_read_pc): Likewise.
213 * hppa-tdep.h (hppa_read_pc): Likewise.
214 * ia64-tdep.c (ia64_read_pc): Likewise.
215 * m32r-tdep.c (m32r_read_pc): Likewise.
216 * mep-tdep.c (mep_read_pc): Likewise.
217 * mn10300-tdep.c (mn10300_read_pc): Likewise.
218 * spu-tdep.c (spu_read_pc): Likewise.
219
220 * arm-tdep.c (arm_write_pc): Add REGCACHE argument. Remove PTID
221 argument. Use REGCACHE instead of calling write_register_pid.
222 * avr-tdep.c (avr_write_pc): Likewise.
223 * hppa-hpux-tdep.c (hppa_hpux_write_pc): Likewise.
224 * hppa-tdep.c (hppa_write_pc): Likewise.
225 * hppa-tdep.h (hppa_write_pc): Likewise.
226 * i386-linux-tdep.c (i386_linux_write_pc): Likewise.
227 * amd64-linux-tdep.c (amd64_linux_write_pc): Likewise.
228 * ia64-linux-tdep.c (ia64_linux_write_pc): Likewise.
229 * ia64-tdep.c (ia64_write_pc): Likewise.
230 * ia64-tdep.h (ia64_write_pc): Likewise.
231 * m32r-tdep.c (m32r_write_pc): Likewise.
232 * m88k-tdep.c (m88k_write_pc): Likewise.
233 * mep-tdep.c (mep_write_pc): Likewise.
234 * mips-tdep.c (mips_write_pc): Likewise.
235 * mips-linux-tdep.c (mips_linux_write_pc): Likewise.
236 * mn10300-tdep.c (mn10300_write_pc): Likewise.
237 * sparc-tdep.c (sparc_write_pc): Likewise.
238 * spu-tdep.c (spu_write_pc): Likewise.
239
240 * mips-tdep.c (read_signed_register): Remove.
241 (read_signed_register_pid): Likewise.
242 (mips_read_pc): Add REGCACHE argument. Remove PTID argument.
243 Use REGCACHE instead of calling read_signed_register_pid.
244
245 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
246
247 * gdbarch.sh (push_dummy_code): Add REGCACHE argument.
248 * gdbarch.c, gdbarch.h: Regenerate.
249 * infcall.c (generic_push_dummy_code): Add REGCACHE argument.
250 (push_dummy_code): Likewise. Pass it to callee.
251 (call_function_by_hand): Pass current regcache to push_dummy_code.
252
253 * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Add REGCACHE
254 argument. Use it instead of current_regcache.
255
256 * cris-tdep.c (cris_push_dummy_code): Add REGCACHE argument.
257 * sparc-tdep.c (sparc32_push_dummy_code): Likewise.
258
259 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
260
261 * gdbarch.sh (get_longjmp_target): Add FRAME argument.
262 * gdbarch.c, gdbarch.h: Regenerate.
263 * infrun.c (handle_inferior_event): Pass current frame to
264 gdbarch_get_longjmp_target.
265
266 * alpha-tdep.c (alpha_get_longjmp_target): Add FRAME argument.
267 Read registers from FRAME instead of using read_register.
268 Use get_frame_arch instead of current_gdbarch.
269 * arm-tdep.c (arm_get_longjmp_target): Likewise.
270 * i386-tdep.c (i386_get_longjmp_target): Likewise.
271 * m68k-tdep.c (m68k_get_longjmp_target): Likewise.
272 * mips-linux-tdep.c (mips_linux_get_longjmp_target): Likewise.
273 (mips64_linux_get_longjmp_target): Likewise.
274 * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Likewise.
275
276 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
277
278 * gdbarch.sh (skip_trampoline_code): Add FRAME argument.
279 * gdbarch.c, gdbarch.h: Regenerate.
280 * arch-utils.c (generic_skip_trampoline_code): Add FRAME argument.
281 * arch-utils.h (generic_skip_trampoline_code): Likewise.
282 * infrun.c (handle_inferior_event): Pass current frame to
283 gdbarch_skip_trampoline_code and skip_language_trampoline.
284
285 * language.c (unk_lang_trampoline): Add FRAME argument.
286 (skip_language_trampoline): Add FRAME argument. Pass it to
287 skip_trampoline callback.
288 * language.h: Add forward declaration of struct frame_info.
289 (struct language_defn): Add FRAME argument to skip_trampoline.
290 (skip_language_trampoline): Add FRAME argument.
291 * cp-abi.c (cplus_skip_trampoline): Add FRAME argument. Pass it
292 to skip_trampoline callback.
293 * cp-abi.h: Add forward declaration of struct frame_info.
294 (cplus_skip_trampoline): Add FRAME argument.
295 (struct cp_abi_ops): Add FRAME argument to skip_trampoline callback.
296 * gnu-v3-abi.c (gnuv3_skip_trampoline): Add FRAME argument. Pass it
297 to gdbarch_skip_trampoline_code.
298 * objc-lang.c (objc_skip_trampoline): Add FRAME argument. Pass it
299 to gdbarch_skip_trampoline_code.
300
301 * minsyms.c (find_solib_trampoline_target): Add FRAME argument.
302 * symtab.h (find_solib_trampoline_target): Likewise.
303 * obsd-tdep.c (obsd_skip_solib_resolver): Pass current frame to
304 find_solib_trampoline_target.
305
306 * arm-tdep.c (arm_skip_stub): Add FRAME argument. Read registers
307 from FRAME instead of calling read_register.
308
309 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Add FRAME
310 argument. Read registers from FRAME instead of using read_register.
311 * hppa-tdep.c (hppa_skip_trampoline_code): Likewise.
312 * hppa-tdep.h (hppa_skip_trampoline_code): Add FRAME argument.
313
314 * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): Add FRAME
315 argument.
316
317 * m32c-tdep.c (m32c_skip_trampoline_code): Add FRAME argument.
318
319 * mips-tdep.c (mips_skip_trampoline_code): Add FRAME argument. Read
320 registers from FRAME instead of using read_signed_register.
321
322 * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Add FRAME
323 argument.
324 (ppc64_standard_linkage_target): Likewise. Read registers from FRAME
325 instead of using read_register.
326 (ppc64_skip_trampoline_code): Add FRAME argument. Pass it to
327 ppc64_standard_linkage_target.
328 * rs6000-tdep.c (rs6000_skip_trampoline_code): Add FRAME argument.
329 Pass it to find_solib_trampoline_target. Read registers from FRAME
330 instead of using read_register.
331
332 * xstormy16-tdep.c (xstormy16_skip_trampoline_code): Add FRAME
333 argument.
334
335 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
336
337 * gdbarch.sh (software_single_step): Replace REGCACHE argument by
338 FRAME argument.
339 * gdbarch.c, gdbarch.h: Regenerate.
340 * infrun.c (resume): Pass current frame to SOFTWARE_SINGLE_STEP.
341
342 * alpha-tdep.c (alpha_next_pc): Add FRAME argument. Retrieve
343 registers from FRAME instead of using read_register.
344 (alpha_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
345 to alpha_next_pc. Use get_frame_pc instead of read_pc.
346 * alpha-tdep.h (alpha_software_single_step): Replace REGCACHE
347 argument by FRAME.
348
349 * arm-tdep.c (shifted_reg_val): Add FRAME argument. Read registers
350 from FRAME instead of using read_register.
351 (thumb_get_next_pc): Likewise.
352 (arm_get_next_pc): Likewise.
353 (arm_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
354 to arm_get_next_pc. Use get_frame_pc instead of read_register.
355 * arm-tdep.h (arm_software_single_step): Replace REGCACHE
356 argument by FRAME.
357
358 * cris-tdep.c (find_step_target): Add FRAME argument. Read registers
359 from FRAME instead of using read_register.
360 (cris_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
361 to find_step_target.
362
363 * mips-tdep.c (mips32_next_pc): Add FRAME argument. Read registers
364 from FRAME instead of using read_register / read_signed_register.
365 (extended_mips16_next_pc): Likewise.
366 (mips16_next_pc): Likewise.
367 (mips_next_pc): Likewise.
368 (mips_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
369 to mips_next_pc. Use get_frame_pc instead of read_pc.
370 * mips-tdep.h (mips_software_single_step): Replace REGCACHE
371 argument by FRAME.
372
373 * rs6000-tdep.c (branch_dest): Add FRAME argument. Use it instead
374 of current frame. Read registers from FRAME.
375 (deal_with_atomic_sequence): Add FRAME argument. Pass it to
376 branch_dest. Use get_frame_pc instead of read_pc.
377 (rs6000_software_single_step): Likewise.
378 (bl_to_blrl_insn_p): Do not call branch_dest.
379 * rs6000-tdep.h (rs6000_software_single_step): Replace REGCACHE
380 argument by FRAME.
381
382 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Add FRAME argument.
383 Read registers from FRAME instead of current regcache.
384 * sparc-linux-tdep.c (sparc32_linux_step_trap): Likewise.
385 * sparcnbsd-tdep.c (sparcnbsd_step_trap): Likewise.
386 * sparc-tdep.c (sparc_address_from_register): Remove.
387 (sparc_analyze_control_transfer): Pass FRAME argument instead of
388 GDBARCH. Pass FRAME to step_trap callback.
389 (sparc_step_trap): Add FRAME argument.
390 (space_software_single_step): Replace REGCACHE by FRAME. Pass FRAME
391 to sparc_analyze_control_transfer. Read registers from FRAME instead
392 of calling sparc_address_from_register.
393 * sparc-tdep.h (struct gdbarch_tdep): Add FRAME argument to
394 step_trap callback.
395 (sparc_address_from_register): Remove prototype.
396 (sparc_software_single_step): Replace REGCACHE argument by FRAME.
397 (sparcnbsd_step_trap): Add FRAME argument.
398
399 * spu-tdep.c (spu_software_single_step): Replace REGCACHE argument
400 by FRAME. Read registers from FRAME instead of REGCACHE.
401
402 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
403
404 * arm-tdep.c (arm_print_float_info): Use register value from FRAME
405 instead of calling read_register.
406
407 * avr-tdep.c (avr_push_dummy_call): Write to REGCACHE instead of
408 calling write_register.
409
410 * hppa-tdep.c (hppa32_push_dummy_call): Write to REGCACHE instead of
411 calling write_register.
412
413 * ia64-tdep.c (find_func_descr): Add REGCACHE parameter. Use it
414 instead of calling read_register.
415 (ia64_push_dummy_call): Update call to find_func_descr. Use REGCACHE
416 instead of calling read_register and write_register.
417
418 * m32r-tdep.c (m32r_linux_supply_gregset): Use REGCACHE parameter
419 instead of current_regcache.
420
421 * mn10300-tdep.c (mn10300_push_dummy_call): Write to REGCACHE instead
422 of calling write_register.
423 * mn10300-linux-tdep.c (am33_supply_fpregset_method): Use REGCACHE
424 parameter instead of current_regcache.
425
426 * mips-tdep.c (mips2_fp_compat): Add FRAME parameter. Use it
427 instead of calling read_register.
428 (mips_read_fp_register_double, mips_print_fp_register): Update calls.
429 (mips_eabi_push_dummy_call): Use REGCACHE instead of write_register.
430 (mips_n32n64_push_dummy_call): Likewise.
431 (mips_o32_push_dummy_call): Likewise.
432 (mips_o64_push_dummy_call): Likewise.
433
434 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use REGCACHE
435 parameter instead of current_regcache.
436
437 * xtensa-tdep.c (xtensa_register_write_masked): Add REGCACHE parameter.
438 Use it instead of read_register and write_register.
439 (xtensa_register_read_masked): Likewise.
440 (xtensa_pseudo_register_read): Update call.
441 (xtensa_pseudo_register_write): Likewise.
442 (xtensa_frame_cache): Use register values unwound from NEXT_FRAME
443 instead of calling read_register.
444 (xtensa_push_dummy_call): Update comment.
445
446 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
447
448 * mips-tdep.c (mips16_scan_prologue): Replace read_next_frame_reg
449 by frame_unwind_register_signed calls.
450 (mips32_scan_prologue): Likewise. Skip analysis of alloca stack
451 frame allocations when called with NULL NEXT_FRAME parameter.
452 (read_next_frame_reg): Remove.
453
454 * sh-tdep.c (sh_analyze_prologue): Add FPSCR parameter. Use it
455 instead of reading the FPSCR register.
456 (sh_frame_cache): Pass unwound FPSCR register value to
457 sh_analyze_prologue.
458 (sh_skip_prologue): Pass dummy FPSCR value to sh_analyze_prologue.
459
460 * v850-tdep.c (v850_analyze_prologue): Add CTBP parameter. Use it
461 instead of reading the CTBP register.
462 (v850_frame_cache): Pass unwound CTBP register value to
463 v850_analyze_prologue.
464
465 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
466
467 * sh-tdep.h (sh_show_regs): Add FRAME parameter.
468 * sh-tdep.c (sh_show_regs): Likewise.
469 (sh_show_regs_command): Pass current frame to sh_show_regs routine.
470 (sh_generic_show_regs): Add FRAME parameter. Use register
471 values from that frame instead of calling read_register.
472 (sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs,
473 sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs,
474 sh_dsp_show_regs): Likewise.
475 * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs,
476 sh64_show_regs): Likewise.
477
478 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
479
480 * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Read from
481 current regcache instead of calling read_register.
482
483 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
484
485 * mep-tdep.c (current_me_module): Read from current regcache
486 instead of calling read_register.
487 (current_options): Likewise.
488
489 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
490
491 * cris-tdep.c (cris_stopped_data_address): Read register values
492 from current frame instead of calling read_register.
493 * frv-tdep.c (frv_stopped_data_address): Likewise.
494
495 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
496
497 * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc
498 instead of write_register (PC_REGNUM, ...).
499
500 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
501
502 * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment
503 explaining why the PC adjustment code is necessary.
504
505 2007-06-15 Vladimir Prus <vladimir@codesourcery.com>
506
507 * m68k-tdep.h (enum m68k_flavour): New.
508 (struct gdbarch_tdep): New fields
509 float_return, flavour and fpregs_present.
510 * m68k-tdep.c (m68k_register_type): Use
511 fpregs_present and conditionalize floating
512 registers type on flavour.
513 (m68k_register_names): New.
514 (m68k_register_name): Use the above.
515 (m68k_convert_register_p): Consult fpregs_present.
516 (m68k_register_to_value, m68k_value_to_register):
517 Use register_type to obtain the type of floating
518 point registers.
519 (m68k_svr4_extract_return_value): Check tdep->float_return.
520 Use register_type to get the type of floating
521 point regiters.
522 (m68k_svr4_store_return_value): Likewise.
523 (m68k_dwarf_reg_to_regnum): Check tdep->fpregs_present.
524 (m68k_analyze_register_saves): Likewise.
525 (m68k_gdbarch_init): Extract infromation
526 from XML description, if present. Guess coldfire by
527 looking at the file, if present. Conditionalize
528 setting of long double format. Set decr_pc_after_break
529 to 2 on coldfire and fido. Enable XML-driven
530 register description.
531 * m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use
532 size of tdep->fpreg_type, as opposed to hardcoded value.
533 * Makefile.in (m68k-tdep.o): Update dependencies.
534
535 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com>
536
537 * NEWS: Mention "info spu" commands and qXfer:spu:read and
538 qXfer:spu:write remote packet types.
539
540 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
541
542 * xml-tdesc.c (tdesc_start_target): New.
543 (target_attributes): New.
544 (tdesc_elements): Use it.
545 * features/gdb-target.dtd: Add #FIXED version attribute for
546 <target>.
547
548 2007-06-13 Arthur Huillet <arthur.huillet@free.fr>
549
550 * mi/mi-cmd-var.c (mi_cmd_var_assign): Fix typo.
551
552 2007-06-13 Claudio Fontana <claudio.fontana@gmail.com>
553
554 * fork-child.c (fork_inferior): Update comment.
555
556 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
557
558 * features/Makefile: Generate regformats for mips-linux and
559 mips64-linux.
560 * features/sort-regs.xsl: Correct typo.
561 * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete.
562 * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated
563 files.
564
565 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
566
567 * config/mips/linux.mh (TDEP_XML): New.
568 * features/mips-linux.xml, features/mips64-linux.xml: New files.
569 * mips-linux-nat.c (mips_linux_register_addr): Handle
570 MIPS_RESTART_REGNUM.
571 (mips64_linux_register_addr): Likewise.
572 (super_xfer_partial, mips_linux_xfer_partial): New.
573 (_initialize_mips_linux_nat): Add them to the target_ops.
574 * mips-linux-tdep.c (mips_supply_gregset): Handle MIPS_RESTART_REGNUM.
575 (mips_fill_gregset, mips64_supply_gregset, mips64_fill_gregset)
576 (mips_linux_o32_sigframe_init)
577 (mips_linux_n32n64_sigframe_init): Likewise.
578 (mips_linux_write_pc, mips_linux_restart_reg_p): New.
579 (mips_linux_init_abi): Use mips_linux_write_pc. Check for the
580 "org.gnu.gdb.mips.linux" feature.
581 * mips-linux-tdep.h (MIPS_RESTART_REGNUM): New constant.
582 (mips_linux_restart_reg_p): New prototype.
583 * mips-tdep.c (mips_gdbarch_init): Pass tdesc_data to the OS/ABI
584 initialization routine.
585 * Makefile.in (mips-linux-tdep.o, mips-linux-nat.o): Update.
586
587 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
588
589 * Makefile.in (mips-tdep.o): Update.
590 * mips-tdep.c (struct register_alias, mips_o32_aliases)
591 (mips_n32_n64_aliases, mips_register_aliases): New.
592 (mips_register_name): Call tdesc_register_name.
593 (mips_tdesc_register_reggroup_p): New.
594 (mips_pseudo_register_type, value_of_mips_user_reg): New.
595 (mips_gdbarch_init): Add target-described register support.
596 Register aliases for register names.
597 * target-descriptions.c (tdesc_register_name): Make global.
598 (tdesc_register_in_reggroup_p): New function, broken out from
599 tdesc_register_reggroup_p.
600 (tdesc_register_reggroup_p): Use it.
601 * target-descriptions.h (tdesc_register_name)
602 (tdesc_register_in_reggroup_p): New prototypes.
603 * NEWS: Correct formatting. Mention MIPS register support.
604 * features/mips-cp0.xml, features/mips-fpu.xml,
605 features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml,
606 features/mips64-cpu.xml: New files.
607
608 2007-06-13 Markus Deuling <deuling@de.ibm.com>
609
610 * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit.
611 * valops.c (value_cast): Likewise.
612 * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise.
613 * ui-out.c (ui_out_field_core_addr): Likewise.
614 * tracepoint.c (tracepoints_info): Likewise.
615 * symtab.c (print_msymbol_info): Likewise.
616 * solib-irix.c (irix_current_sos)
617 (irix_open_symbol_file_object): Likewise.
618 * remote.c (build_remote_gdbarch_data): Likewise.
619 * prologue-value.c (make_pv_area): Likewise.
620 * procfs.c (info_mappings_callback): Likewise.
621 * printcmd.c (print_scalar_formatted)
622 (deprecated_print_address_numeric): Likewise.
623 * memattr.c (mem_info_command): Likewise.
624 * linux-nat.c (linux_nat_info_proc_cmd): Likewise.
625 * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise.
626 * exec.c (print_section_info): Likewise.
627 * dwarf2read.c (read_subrange_type): Likewise.
628 * dwarf2loc.c (find_location_expression): Likewise.
629 * dwarf2expr.c (dwarf2_read_address, unsigned_address_type)
630 (signed_address_type, execute_stack_op): Likewise.
631 * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise.
632 * gdbarch.c, gdbarch.h: Regenerate.
633
634 2007-06-13 Markus Deuling <deuling@de.ibm.com>
635
636 * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info.
637 * arch-utils.c (show_architecture): Likewise.
638 * remote-mips.c (mips_open): Likewise
639 * nto-tdep.c (nto_find_and_open_solib)
640 (nto_init_solib_absolute_prefix): Likewise.
641 * nto-procfs (procfs_open): Likewise.
642 * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise.
643 * gcore.c (default_gcore_mach, default_gcore_arch): Likewise.
644 * gdbarch.c, gdbarch.h: Regenerate.
645
646 2007-06-13 Markus Deuling <deuling@de.ibm.com>
647
648 * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit.
649 * gdbtypes.c (build_flt): Likewise.
650 * gdbarch.c, gdbarch.h: Regenerate.
651
652 2007-06-13 Markus Deuling <deuling@de.ibm.com>
653
654 * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by
655 gdbarch_breakpoint_from_pc.
656 * s390-tdep.c (s390_gdbarch_init): Likewise (comment).
657 * remote.c (remote_insert_breakpoint)
658 (remote_insert_hw_breakpoint): Likewise.
659 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
660 * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment).
661 * breakpoint.h (bp_target_info): Likewise (comment).
662 * breakpoint.c (read_memory_nobpt): Likewise.
663 * mem-break.c (default_memory_insert_breakpoint): Likewise.
664 (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment.
665 * gdbarch.c, gdbarch.h: Regenerate.
666
667 2007-06-13 Markus Deuling <deuling@de.ibm.com>
668
669 * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit.
670 * solib-svr4.c (svr4_truncate_ptr): Likewise.
671 * solib-pa64.c (read_dynamic_info): Likewise.
672 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise.
673 * solib.c (info_sharedlibrary_command): Likewise.
674 * s390-nat.c (SUBOFF): Likewise.
675 * p-valprint.c (pascal_val_print): Likewise.
676 * procfs.c (info_proc_mappings): Likewise.
677 * printcmd.c (decode_format): Likewise.
678 * nto-tdep.c (nto_truncate_ptr): Likewise.
679 * mips-linux-tdep.c (mips_linux_get_longjmp_target)
680 (mips64_linux_get_longjmp_target): Likewise.
681 * m68k-tdep.c (m68k_get_longjmp_target): Likewise.
682 * jv-valprint.c (java_value_print): Likewise.
683 * jv-lang.c (get_java_object_header_size): Likewise.
684 * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise.
685 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
686 (hppa_hpux_unwind_adjust_stub): Likewise.
687 * gnu-v3-abi.c (build_gdb_vtable_type): Likewise.
688 * gdbtypes.c (make_pointer_type, make_reference_type)
689 (smash_to_memberptr_type): Likewise.
690 * gdbarch.c, gdbarch.h: Regenerate.
691
692 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
693
694 * mips-tdep.c (mips_print_register): Remove unused ALL argument.
695 (print_gp_register_row): Stop before printing a register bigger
696 than the ABI register size.
697 (mips_print_registers_info): Update call to mips_print_register.
698
699 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
700
701 * expression.h (enum exp_opcode): Document a register name for
702 OP_REGISTER.
703 * parse.c (write_dollar_variable): Write the register name for
704 OP_REGISTER.
705 (operator_length_standard): Expect the register name following
706 OP_REGISTER.
707 * ada-lang.c (resolve_subexp): Likewise.
708 * ax-gdb.c (gen_expr): Likewise.
709 * eval.c (evaluate_subexp_standard): Likewise.
710 * expprint.c (print_subexp_standard, dump_subexp_body_standard):
711 Likewise.
712 * tracepoint.c (encode_actions): Likewise.
713
714 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
715
716 * utils.c (set_screen_size): Use INT_MAX for default columns.
717
718 2007-06-13 Ulrich Weigand <uweigand@de.ibm.com>
719
720 * remote.c (remote_protocol_features): Add qXfer:spu:read and
721 qXfer:spu:write packet types.
722
723 2007-06-12 Markus Deuling <deuling@de.ibm.com>
724
725 * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove.
726 * gdbarch.c, gdbarch.h: Regenerate.
727
728 2007-06-12 Markus Deuling <deuling@de.ibm.com>
729
730 * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by
731 gdbarch_stab_reg_to_regnum.
732 * stabsread.c (define_symbol): Likewise.
733 * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by
734 gdbarch_ecoff_reg_to_regnum.
735 * mdebugread.c (parse_symbol): Likewise.
736 * i386-tdep.c (i386_gdbarch_init): Likewise (comment).
737 * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by
738 gdbarch_dwarf_reg_to_regnum.
739 * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum.
740 * coffread.c (process_coff_symbol): Likewise.
741 * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by
742 gdbarch_dwarf2_reg_to_regnum.
743 * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc)
744 (locexpr_describe_location): Likewise.
745 * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache)
746 (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise.
747 * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro.
748 * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro.
749 * gdbarch.c, gdbarch.h: Regenerate.
750
751 2007-06-12 Markus Deuling <deuling@de.ibm.com>
752
753 * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by
754 gdbarch_smash_text_address.
755 * somread.c (som_symtab_read): Likewise.
756 * elfread.c (record_minimal_symbol): Likewise.
757 * dbxread.c (process_one_symbol): Likewise.
758 * coffread.c (coff_symtab_read): Likewise.
759 * gdbarch.c, gdbarch.h: Regenerate.
760
761 2007-06-12 Markus Deuling <deuling@de.ibm.com>
762
763 * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value.
764 * findvar.c (value_from_register): Likewise.
765 * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register.
766 * valops.c (value_assign): Likewise.
767 * gdbarch.sh (CONVERT_REGISTER_P): Replace by
768 gdbarch_convert_register_p.
769 * findvar.c (value_from_register): Likewise.
770 * valops.c (value_assign): Likewise.
771 * gdbarch.c, gdbarch.h: Regenerate.
772
773 2007-06-12 Markus Deuling <deuling@de.ibm.com>
774
775 * gdbarch.sh (REGISTER_SIM_REGNO): Replace by
776 gdbarch_register_sim_regno.
777 * sim-regno.h (sim_regno): Likewise (comment).
778 * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise.
779 * gdbarch.c, gdbarch.h: Regenerate.
780
781 2007-06-12 Markus Deuling <deuling@de.ibm.com>
782
783 * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by
784 gdbarch_virtual_frame_pointer.
785 * tracepoint.c (encode_actions): Likewise.
786 * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise.
787 * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise.
788 * gdbarch.c, gdbarch.h: Regenerate.
789
790 2007-06-12 Markus Deuling <deuling@de.ibm.com>
791
792 * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit.
793 * p-lang.c (pascal_create_fundamental_type): Likewise.
794 * objc-lang.c (objc_create_fundamental_type): Likewise.
795 * mdebugread.c (_initialize_mdebugread): Likewise.
796 * m2-lang.c (m2_create_fundamental_type)
797 (_initialize_m2_language): Likewise.
798 * gdbtypes.c (build_gdbtypes): Likewise.
799 * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
800 * doublest.c (floatformat_from_length): Likewise.
801 * c-lang.c (c_create_fundamental_type): Likewise.
802 * ada-lang.c (ada_create_fundamental_type)
803 (ada_language_arch_info): Likewise.
804 * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format.
805 * value.c (unpack_double): Likewise (comment).
806 * gdbtypes.c (build_gdbtypes): Likewise.
807 * doublest.c (floatformat_from_length): Likewise.
808 * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit.
809 * valarith.c (value_binop): Likewise.
810 * p-lang.c (pascal_create_fundamental_type): Likewise.
811 * objc-lang.c (objc_create_fundamental_type): Likewise.
812 * mdebugread.c (_initialize_mdebugread): Likewise.
813 * m2-lang.c (m2_create_fundamental_type): Likewise.
814 * gdbtypes.c (build_gdbtypes): Likewise.
815 * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
816 * doublest.c (floatformat_from_length): Likewise.
817 * cris-tdep.c (cris_gdbarch_init): Likewise (comment).
818 * c-lang.c (c_create_fundamental_type): Likewise.
819 * ada-lex.l (processReal): Likewise.
820 * ada-lang.c (ada_create_fundamental_type)
821 (ada_language_arch_info): Likewise.
822 * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format.
823 * value.c (unpack_double): Likewise (comment).
824 * gdbtypes.c (build_gdbtypes): Likewise.
825 * doublest.c (floatformat_from_length): Likewise.
826 * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by
827 gdbarch_long_double_bit.
828 * p-lang.c (pascal_create_fundamental_type): Likewise.
829 * objc-lang.c (objc_create_fundamental_type): Likewise.
830 * m2-lang.c (m2_create_fundamental_type): Likewise.
831 * gdbtypes.c (build_gdbtypes): Likewise.
832 * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
833 * doublest.c (floatformat_from_length): Likewise.
834 * c-lang.c (c_create_fundamental_type): Likewise.
835 * ada-lex.l (processReal): Likewise.
836 * ada-lang.c (ada_create_fundamental_type)
837 (ada_language_arch_info): Likewise.
838 * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by
839 gdbarch_long_double_format.
840 * gdbtypes.c (build_gdbtypes): Likewise.
841 * doublest.c (floatformat_from_length): Likewise.
842 * gdbarch.c, gdbarch.h: Regenerate.
843
844 2007-06-12 Markus Deuling <deuling@de.ibm.com>
845
846 * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit.
847 * ada-lang.c (ada_create_fundamental_type)
848 (ada_language_arch_info): Likewise.
849 * c-lang.c (c_create_fundamental_type): Likewise.
850 * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise.
851 * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
852 * m2-lang.c (m2_create_fundamental_type): Likewise.
853 * objc-lang.c (objc_create_fundamental_type): Likewise.
854 * p-lang.c (pascal_create_fundamental_type): Likewise.
855 * gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit.
856 * c-exp.y (parse_number): Likewise.
857 * objc-exp.y (parse_number): Likewise.
858 * ada-lex.l (processInt): Likewise.
859 * f-exp.y (parse_number): Likewise.
860 * p-exp.y (parse_number): Likewise.
861 * ada-lang.c (ada_create_fundamental_type, ada_language_arch_info)
862 (gdbtypes_post_init, build_gdbtypes): Likewise.
863 * p-lang.c (pascal_create_fundamental_type): Likewise.
864 * parse.c (build_parse): Likewise.
865 * xcoffread.c (_initialize_xcoffread): Likewise.
866 * stabsread.c (define_symbol, read_one_struct_field, read_enum_type)
867 (read_range_type): Likewise.
868 * objc-lang.c (objc_create_fundamental_type): Likewise.
869 * f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise.
870 * m2-lang.c (m2_create_fundamental_type, _initialize_m2_language)
871 (m2_create_fundamental_type): Likewise.
872 * c-lang.c (c_create_fundamental_type): Likewise.
873 * coffread.c (coff_read_enum_type): Likewise.
874 * mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise.
875 * dwarf2read.c (new_symbol): Likewise.
876 * gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit.
877 * c-exp.y (parse_number): Likewise.
878 * objc-exp.y (parse_number): Likewise.
879 * ada-lex.l (processInt): Likewise.
880 * f-exp.y (parse_number): Likewise.
881 * p-exp.y (parse_number): Likewise.
882 * valarith.c (value_binop): Likewise.
883 * symfile.c (read_target_long_array, simple_overlay_update_1): Likewise.
884 * ada-lang.c (ada_create_fundamental_type)
885 (ada_language_arch_info): Likewise.
886 * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
887 * symfile.c (TARGET_LONG_BYTES): Likewise.
888 * p-lang.c (pascal_create_fundamental_type): Likewise.
889 * objc-lang.c (objc_create_fundamental_type): Likewise.
890 * m2-lang.c (m2_create_fundamental_type): Likewise.
891 * f-lang.c (f_create_fundamental_type): Likewise.
892 * c-lang.c (c_create_fundamental_type): Likewise.
893 * coffread.c (decode_base_type): Likewise.
894 * gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit.
895 * c-exp.y (parse_number): Likewise.
896 * objc-exp.y (parse_number): Likewise.
897 * p-exp.y (parse_number): Likewise.
898 * ada-lang.c (ada_create_fundamental_type)
899 (ada_language_arch_info): Likewise.
900 * gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise.
901 * stabsread.c (read_range_type): Likewise.
902 * p-lang.c (pascal_create_fundamental_type): Likewise.
903 * objc-lang.c (objc_create_fundamental_type): Likewise.
904 * m2-lang.c (m2_create_fundamental_type): Likewise.
905 * f-lang.c (f_create_fundamental_type): Likewise.
906 * c-lang.c (c_create_fundamental_type): Likewise.
907 * gdbarch.c, gdbarch.h: Regenerate.
908
909 2007-06-12 Andreas Schwab <schwab@suse.de>
910
911 * frame-unwind.h (frame_dealloc_cache_ftype): Define.
912 (struct frame_unwind): Add dealloc_cache.
913 * frame.c (reinit_frame_cache): Call dealloc_cache on all caches.
914
915 * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare.
916 * libunwind-frame.c (libunwind_frame_dealloc_cache): Define.
917 (libunwind_frame_unwind): Set dealloc_cache.
918 * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache.
919
920 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com>
921 Markus Deuling <deuling@de.ibm.com>
922
923 * remote.c (remote_write_qxfer): New function.
924 (remote_xfer_partial): Add handling for TARGET_OBJECT_SPU.
925 (remote_read_qxfer): Do not cache empty objects.
926 (_initialize_remote): Add PACKET_qXfer_spu_read and
927 PACKET_qXfer_spu_write.
928
929 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com>
930
931 * target.h (enum target_object): Add TARGET_OBJECT_SPU.
932 * spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU.
933
934 * spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers.
935 (enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM,
936 SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM.
937 * spu-tdep.c (infospucmdlist): New variable.
938 (spu_register_name): Handle additional pseudo registers.
939 (spu_register_type): Likewise.
940 (spu_pseudo_register_read): Likewise.
941 (spu_pseudo_register_write): Likewise.
942 (spu_pseudo_register_read_spu): New function.
943 (spu_pseudo_register_write_spu): Likewise.
944 (info_spu_event_command): New function.
945 (info_spu_signal_command): Likewise.
946 (info_spu_mailbox_list): Likewise.
947 (info_spu_mailbox_command): Likewise.
948 (spu_mfc_get_bitfield): Likewise.
949 (info_spu_dma_cmdlist): Likewise.
950 (info_spu_dma_command): Likewise.
951 (info_spu_proxydma_command): Likewise.
952 (info_spu_command): Likewise.
953 (_initialize_spu_tdep): Install "info spu" commands.
954
955 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com>
956
957 * spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when
958 accessing non-seekable spufs files.
959
960 2007-06-09 Markus Deuling <deuling@de.ibm.com>
961
962 * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by
963 gdbarch_skip_trampoline_code.
964 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment).
965 * objc-lang.c (objc_skip_trampoline)
966 (objc_submethod_helper_data): Likewise.
967 * m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment).
968 * infrun.c (handle_inferior_event): Likewise.
969 * gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise.
970 * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by
971 gdbarch_in_solib_return_trampoline.
972 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment).
973 * infrun.c (handle_inferior_event): Likewise.
974 * hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise.
975 * gdbarch.c, gdbarch.h: Regenerate.
976
977 2007-06-09 Markus Deuling <deuling@de.ibm.com>
978
979 * gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue.
980 * symtab.c (find_function_start_sal, in_prologue): Likewise.
981 * linespec.c (minsym_found): Likewise.
982 * infrun.c (step_into_function): Likewise.
983 * gdbarch.c, gdbarch.h: Regenerate.
984
985 2007-06-09 Markus Deuling <deuling@de.ibm.com>
986
987 * gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc.
988 * valops.c (value_allocate_space_in_inferior): Likewise.
989 * gdbarch.c, gdbarch.h: Regenerate.
990
991 2007-06-09 Markus Deuling <deuling@de.ibm.com>
992
993 * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by
994 gdbarch_memory_insert_breakpoint.
995 * mem-break.c (memory_insert_breakpoint): Likewise.
996 * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by
997 gdbarch_memory_remove_breakpoint.
998 * mem-break.c (memory_remove_breakpoint): Likewise.
999 * gdbarch.c, gdbarch.h: Regenerate.
1000
1001 2007-06-09 Markus Deuling <deuling@de.ibm.com>
1002
1003 * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by
1004 gdbarch_fetch_tls_load_module_address.
1005 * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by
1006 gdbarch_fetch_tls_load_module_address_p.
1007 * gdbarch.c, gdbarch.h: Regenerate.
1008
1009 2007-06-09 Markus Deuling <deuling@de.ibm.com>
1010
1011 * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by
1012 gdbarch_decr_pc_after_break.
1013 * tracepoint.c (trace_dump_command): Likewise.
1014 * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise.
1015 * linux-thread-db.c (check_event): Likewise.
1016 * linux-nat.c (cancel_breakpoints_callback): Likewise.
1017 * infrun.c (adjust_pc_after_break, normal_stop): Likewise.
1018 * frame.h: Likewise (comment).
1019 * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise.
1020 * aix-thread.c (aix_thread_wait): Likewise.
1021 * gdbarch.c, gdbarch.h: Regenerate.
1022
1023 2007-06-09 Markus Deuling <deuling@de.ibm.com>
1024
1025 * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by
1026 gdbarch_address_class_type_flags.
1027 * dwarf2read.c (read_tag_pointer_type): Likewise.
1028 * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by
1029 gdbarch_address_class_type_flags_p.
1030 * dwarf2read.c (read_tag_pointer_type): Likewise.
1031 * gdbarch.c, gdbarch.h: Regenerate.
1032
1033 2007-06-09 Markus Deuling <deuling@de.ibm.com>
1034
1035 * gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove.
1036 * value.c (value_as_address): Likewise (comment).
1037 * remote-mips.c (common_breakpoint): Likewise.
1038 * regcache.c (read_pc_pid): Likewise.
1039 * printcmd.c (do_one_display): Likewise.
1040 * monitor.c (monitor_write_memory, monitor_read_memory)
1041 (monitor_insert_breakpoint): Likewise.
1042 * mips-tdep.c (heuristic_proc_start): Likewise.
1043 * infrun.c (insert_step_resume_breakpoint_at_frame)
1044 (insert_step_resume_breakpoint_at_caller): Likewise.
1045 * buildsym.c (record_line): Likewise.
1046 * arm-tdep.c (arm_scan_prologue, thumb_get_next_pc)
1047 (arm_get_next_pc): Likewise.
1048 * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register)
1049 (store_regs): Likewise.
1050 * arm-linux-tdep.c (arm_linux_supply_gregset): Likewise.
1051 * arm-linux-nat.c (fetch_register, fetch_regs): Likewise.
1052 * gdbarch.c, gdbarch.h: Regenerate.
1053
1054 2007-06-09 Markus Deuling <deuling@de.ibm.com>
1055
1056 * gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name.
1057 * tracepoint.c (scope_info): Likewise.
1058 * target.c (debug_print_register): Likewise.
1059 * stack.c (frame_info): Likewise.
1060 * sh-tdep.c (sh_register_reggroup_p): Likewise.
1061 * sh64-tdep.c (sh64_do_fp_register, sh64_do_register)
1062 (sh64_media_print_registers_info)
1063 (sh64_compact_print_registers_info): Likewise.
1064 * rs6000-tdep.c (rs6000_register_reggroup_p): Likewise.
1065 * remote-sim.c (gdbsim_fetch_register): Likewise.
1066 * remote.c (packet_reg): Likewise (comment).
1067 * reggroups.c (default_register_reggroup_p): Likewise.
1068 * regcache.c (regcache_dump): Likewise.
1069 * printcmd.c (address_info): Likewise.
1070 * ppc-linux-nat.c (fetch_register, store_register): Likewise.
1071 * mt-dep.c (mt_registers_info): Likewise.
1072 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment).
1073 * mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single)
1074 (mips_read_fp_register_double, mips_print_fp_register)
1075 (mips_print_register, print_gp_register_row, mips_print_registers_info)
1076 (mips_register_sim_regno): Likewise.
1077 * m68klinux-nat.c (regmap, fetch_register, store_register): Likewise.
1078 * inf-ptrace.c (inf_ptrace_fetch_register)
1079 (inf_ptrace_store_register): Likewise.
1080 * infcmd.c (default_print_registers_info): Likewise.
1081 * ia64-linux-nat.c (ia64_linux_fetch_register)
1082 (ia64_linux_store_register): Likewise.
1083 * i386-linux-nat.c (fetch_register, store_register): Likewise.
1084 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise.
1085 * hppa-linux-nat.c (fetch_register, store_register): Likewise.
1086 * hppa-hpux-nat.c (hppa_hpux_fetch_register)
1087 (hppa_hpux_store_register): Likewise.
1088 * findvar.c (locate_var_value): Likewise.
1089 * dwarf2loc.c (locexpr_describe_location): Likewise.
1090 * dwarf2-frame.c (execute_cfa_program): Likewise.
1091 * arm-tdep.c (arm_push_dummy_call): Likewise.
1092 * arch-utils.c (legacy_register_sim_regno): Likewise.
1093 * alpha-tdep.c (alpha_register_reggroup_p): Likewise.
1094 * alpha-nat.c (fetch_osf_core_registers): Likewise.
1095 * mi/mi-main.c (mi_cmd_data_list_register_names)
1096 (mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values)
1097 (mi_cmd_data_write_register_values): Likewise.
1098 * gdbarch.c, gdbarch.h: Regenerate.
1099
1100 2007-06-07 Daniel Jacobowitz <dan@codesourcery.com>
1101
1102 * target-memory.c (blocks_to_erase): Correct off-by-one error.
1103
1104 2007-06-06 Vladimir Prus <vladimir@codesourcery.com>
1105
1106 * remote.c (process_g_packet): Don't check size.
1107 * gdbarch.sh: Remove register_bytes_ok.
1108 * gdbarch.c: Regenerated.
1109 * gdbarch.h: Regenerated.
1110 * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove.
1111 (m68k_register_bytes_ok): Remove.
1112 (m68k_gdbarch_init): Don't register m68k_register_bytes_ok.
1113
1114 2007-06-06 Andreas Schwab <schwab@suse.de>
1115
1116 * libunwind-frame.c (unw_destroy_addr_space_p): Define.
1117 (destroy_addr_space_name): Define.
1118 (libunwind_load): Get address of destroy_addr_space function.
1119 (libunwind_frame_cache): Destroy unw_addr_space_t object before
1120 returning unsuccessfully.
1121 (libunwind_frame_sniffer): Destroy unw_addr_space_t object before
1122 returning.
1123 (libunwind_sigtramp_frame_sniffer): Likewise.
1124 (libunwind_get_reg_special): Likewise.
1125
1126 2007-06-06 Markus Deuling <deuling@de.ibm.com>
1127
1128 * gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by
1129 gdbarch_fetch_pointer_argument.
1130 * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise.
1131 * gdbarch.c, gdbarch.h: Regenerate.
1132
1133 2007-06-06 Markus Deuling <deuling@de.ibm.com>
1134
1135 * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by
1136 gdbarch_have_nonsteppable_watchpoint.
1137 * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise.
1138 * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by
1139 gdbarch_cannot_step_breakpoint.
1140 * infrun.c (resume): Likewise.
1141 * gdbarch.c, gdbarch.h: Regenerate.
1142
1143 2007-06-06 Markus Deuling <deuling@de.ibm.com>
1144
1145 * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip.
1146 * stack.c (print_frame_args): Likewise.
1147 * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args.
1148 * stack.c (print_args_stub, frame_info): Likewise.
1149 * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p.
1150 * stack.c (print_args_stub, frame_info): Likewise.
1151 * gdbarch.c, gdbarch.h: Regenerate.
1152
1153 2007-06-06 Markus Deuling <deuling@de.ibm.com>
1154
1155 * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by
1156 gdbarch_coff_make_msymbol_special.
1157 * coffread.c (coff_symtab_read): Likewise.
1158 * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by
1159 gdbarch_elf_make_msymbol_special.
1160 * elfread.c (elf_symtab_read): Likewise.
1161 * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment).
1162 * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment).
1163 * gdbarch.c, gdbarch.h: Regenerate.
1164
1165 2007-06-06 Markus Deuling <deuling@de.ibm.com>
1166
1167 * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by
1168 gdbarch_frame_red_zone_size.
1169 * gdbarch.c, gdbarch.h: Regenerate.
1170
1171 2007-06-06 Markus Deuling <deuling@de.ibm.com>
1172
1173 * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than.
1174 * infcall.c (call_function_by_hand): Likewise.
1175 * gcore.c (derive_stack_segment): Likewise.
1176 * frame.c (frame_id_inner): Likewise.
1177 * arch-utils.c (core_addr_lessthan): Likewise (comment).
1178 * ada-lang.c (ensure_lval): Likewise.
1179 * gdbarch.c, gdbarch.h: Regenerate.
1180
1181 2007-06-06 Markus Deuling <deuling@de.ibm.com>
1182
1183 * gdbarch.sh (ADDRESS_TO_POINTER): Replace by
1184 gdbarch_address_to_pointer.
1185 * findvar.c (store_typed_address): Likewise.
1186 * gdbtypes.c (make_pointer_type): Likewise (comment).
1187 * procfs.c (procfs_address_to_host_pointer): Likewise.
1188 * std-regs.c (value_of_builtin_frame_reg): Likewise.
1189 (value_of_builtin_frame_fp_reg): Likewise.
1190 (value_of_builtin_frame_pc_reg): Likewise.
1191 * utils.c (paddress): Likewise (comment).
1192 * gdbarch.sh (POINTER_TO_ADDRESS): Replace by
1193 gdbarch_pointer_to_address.
1194 * findvar.c (extract_typed_address): Likewise.
1195 * gdbtypes.c (make_pointer_type): Likewise (comment).
1196 * valops.c (value_cast): Likewise (comment).
1197 * gdbarch.c, gdbarch.h: Regenerate.
1198
1199 2007-06-06 Markus Deuling <deuling@de.ibm.com>
1200
1201 * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target.
1202 * infrun.c (handle_inferior_event): Likewise.
1203 * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by
1204 gdbarch_get_longjmp_target_p.
1205 * breakpoint.c (breakpoint_re_set): Likewise.
1206 * infrun.c (handle_inferior_event): Likewise.
1207 * gdbarch.c, gdbarch.h: Regenerate.
1208
1209 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com>
1210
1211 * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook,
1212 HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break,
1213 HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification,
1214 hp_cxx_exception_support, hp_cxx_exception_support_initialized,
1215 eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr,
1216 eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior,
1217 find_stub_with_shl_get, cover_find_stub_with_shl_get,
1218 initialize_hp_cxx_exception_support, child_enable_exception_callback,
1219 current_ex_event, child_get_current_exception_event): Remove.
1220 (hppa_hpux_inferior_created): Remove.
1221 (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created.
1222
1223 * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove.
1224 (deprecated_exception_support_initialized): Remove.
1225 * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove.
1226 (deprecated_exception_support_initialized): Remove.
1227 (breakpoint_init_inferior): Remove handling of non-zero
1228 deprecated_exception_catchpoints_are_fragile.
1229
1230 * symtab.h (deprecated_hp_som_som_object_present): Remove.
1231 * symtab.c (deprecated_hp_som_som_object_present): Remove.
1232 * c-typeprint.c (c_type_print_base): Remove handling of non-zero
1233 deprecated_hp_som_som_object_present.
1234 * eval.c (evaluate_subexp_standard): Likewise.
1235 * valops.c (value_cast): Likewise.
1236
1237 * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove.
1238 * parser-defs.h (parse_nested_classes_for_hpacc): Remove.
1239 * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc.
1240
1241 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com>
1242
1243 * objfiles.h (ImportEntry, ExportEntry): Remove types.
1244 (struct objfile): Remove import_list, import_list_size,
1245 export_list, export_list_size members.
1246 (is_in_import_list): Remove prototype.
1247 * objfiles.c (is_in_import_list): Remove.
1248 * somread.c (init_import_symbols, init_export_symbols): Remove.
1249 (som_symfile_read): Do not call init_import_symbols. Do not
1250 set objfile->export_list and objfile->export_list_size.
1251
1252 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
1253
1254 * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting.
1255 Use the original objfile if necessary.
1256
1257 2007-06-04 Daniel Jacobowitz <dan@codesourcery.com>
1258
1259 * defs.h (ldirname): New prototype.
1260 * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is
1261 missing.
1262 * utils.c (ldirname): New function.
1263 * xml-tdesc.c (file_read_description_xml): Use ldirname.
1264
1265 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
1266
1267 * spu-tdep.c (spu_push_dummy_call): Store stack back chain.
1268
1269 2007-06-01 Joel Brobecker <brobecker@adacore.com>
1270
1271 * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning.
1272
1273 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
1274
1275 * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove.
1276
1277 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com>
1278
1279 * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777,
1280 INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove.
1281 (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET,
1282 PPC_LINUX_HANDLER_PTR_OFFSET): Remove.
1283 (ppc_linux_in_sigtramp, insn_is_sigreturn,
1284 ppc_linux_at_sigtramp_return_path): Remove.
1285
1286 2007-05-31 Markus Deuling <deuling@de.ibm.com>
1287
1288 * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize)
1289 (xtensa_register_write_masked, xtensa_register_read_masked)
1290 (xtensa_extract_return_value, xtensa_store_return_value
1291 (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace
1292 TARGET_BYTE_ORDER by gdbarch_byte_order.
1293 * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh)
1294 (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu)
1295 (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise.
1296 * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64)
1297 (sh64_push_dummy_call, sh64_extract_return_value)
1298 (sh64_store_return_value, sh64_register_convert_to_virtual)
1299 (sh64_register_convert_to_raw, sh64_pseudo_register_read)
1300 (sh64_pseudo_register_write, sh64_do_fp_register)
1301 (sh64_frame_prev_register): Likewise.
1302 * score-tdep.c (score_print_insn, score_breakpoint_from_pc)
1303 (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise.
1304 * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call)
1305 (e500_move_ev_register,gdb_print_insn_powerpc): Likewise.
1306 * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise.
1307 * ppc-linux-nat.c (store_register): Likewise.
1308 * nto-tdep.c (nto_find_and_open_solib)
1309 (nto_init_solib_absolute_prefix): Likewise.
1310 * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write)
1311 (mips_convert_register_p, mips_eabi_push_dummy_call)
1312 (mips_n32n64_push_dummy_call, mips_n32n64_return_value)
1313 (mips_o32_push_dummy_call, mips_o32_return_value)
1314 (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value)
1315 (mips_read_fp_register_single, mips_read_fp_register_double)
1316 (mips_print_register, print_gp_register_row, gdb_print_insn_mips)
1317 (mips_breakpoint_from_pc): Likewise.
1318 * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise.
1319 * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset)
1320 (mips_linux_o32_sigframe_init): Likewise.
1321 * m32r-tdep.c (m32r_memory_insert_breakpoint)
1322 (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise.
1323 * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer)
1324 (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise.
1325 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise.
1326 * coffread.c (process_coff_symbol): Likewise.
1327 * arm-tdep.c (convert_from_extended, convert_to_extended)
1328 (gdb_print_insn_arm): Likewise.
1329
1330 2007-05-31 Markus Deuling <deuling@de.ibm.com>
1331
1332 * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs.
1333 * i386-tdep.c (i386_dbx_reg_to_regnum)
1334 (i386_svr4_reg_to_regnum): Likewise.
1335 * inf-ptrace.c (inf_ptrace_fetch_registers)
1336 (inf_ptrace_store_registers): Likewise.
1337 * corelow.c (get_core_registers): Likewise.
1338 * i386-linux-nat.c (supply_gregset, fill_gregset)
1339 (i386_linux_fetch_inferior_registers)
1340 (i386_linux_store_inferior_registers): Likewise.
1341 * remote.c (init_remote_state,packet_reg_from_regnum)
1342 (packet_reg_from_pnum,process_g_packet,remote_fetch_registers)
1343 (remote_prepare_to_store,store_registers_using_G)
1344 (remote_store_registers,remote_arch_state): Likewise.
1345 * tracepoint.c (encode_actions): Likewise.
1346 * mi/mi-main.c (mi_cmd_data_list_register_names)
1347 (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
1348 (mi_cmd_data_write_register_values): Likewise.
1349 * tui/tui-regs.c (tui_show_register_group)
1350 (tui_show_register_group): Likewise.
1351 * xtensa-tdep.h (FP_ALIAS): Likewise.
1352 * xtensa-tdep.c (xtensa_register_name,xtensa_register_type)
1353 (xtensa_reg_to_regnum,xtensa_pseudo_register_read)
1354 (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise.
1355 * win32-nat.c (do_win32_fetch_inferior_registers)
1356 (do_win32_store_inferior_registers,fetch_elf_core_registers
1357 * user-regs.h: Likewise (comment).
1358 * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
1359 * trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
1360 * target-descriptions.h: Likewise (comment).
1361 * target-descriptions.c (tdesc_use_registers): Likewise (comment).
1362 * target.c (debug_print_register): Likewise.
1363 * stack.c (frame_info): Likewise.
1364 * stabsread.c (define_symbol): Likewise.
1365 * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register)
1366 (sh64_media_print_registers_info)
1367 (sh64_compact_print_registers_info): Likewise.
1368 * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
1369 * rs6000-nat.c (fetch_register,store_register): Likewise.
1370 * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register)
1371 (gdbsim_fetch_register,gdbsim_store_register): Likewise.
1372 * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise.
1373 * remote-m32r-sdi.c (m32r_fetch_registers)
1374 (m32r_store_registers): Likewise.
1375 * reggroups.c (default_register_reggroup_p): Likewise.
1376 * regcache.c (init_regcache_descr,register_size,regcache,regcache_save)
1377 (regcache_restore,regcache_dump): Likewise.
1378 * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise.
1379 * mips-tdep.c (mips_xfer_register,mips_register_name)
1380 (mips_register_reggroup_p,mips_pseudo_register_read)
1381 (mips_pseudo_register_write,mips_convert_register_p,mips_register_type)
1382 (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset)
1383 (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs)
1384 (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg)
1385 (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value)
1386 (print_gp_register_row,mips_print_registers_info)
1387 (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum)
1388 (mips_register_sim_regno): Likewise.
1389 * mips-linux-tdep.c (mips_linux_o32_sigframe_init)
1390 (mips_linux_n32n64_sigframe_init): Likewise.
1391 * mips-linux-nat.c (mips_linux_register_addr)
1392 (mips64_linux_register_addr): Likewise.
1393 * findvar.c (value_of_register): Likewise.
1394 * infcmd.c (default_print_registers_info,registers_info)
1395 (print_vector_info,print_float_info): Likewise.
1396 * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise.
1397 * inf-child.c (inf_child_fetch_inferior_registers): Likewise.
1398 * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
1399 * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise.
1400 * m32r-tdep.c (m32r_frame_unwind_cache): Likewise.
1401 * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register)
1402 (ia64_cannot_store_register,ia64_linux_fetch_registers)
1403 (ia64_linux_store_registers): Likewise.
1404 * hpux-thread.c (hpux_thread_fetch_registers)
1405 (hpux_thread_store_registers): Likewise.
1406 * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM)
1407 (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register)
1408 (h8300_register_type): Likewise.
1409 * dwarf2-frame.c (dwarf2_frame_cache)
1410 (dwarf2_frame_state_alloc_regs): Likewise.
1411 * cris-tdep.c (cris_register_size,cris_cannot_fetch_register)
1412 (cris_cannot_store_register,crisv32_cannot_fetch_register)
1413 (crisv32_cannot_store_register,cris_register_name): Likewise.
1414 * avr-tdep.c (avr_frame_unwind_cache): Likewise.
1415 * arch-utils.c (legacy_register_sim_regno)
1416 (legacy_virtual_frame_pointer): Likewise.
1417 * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise.
1418 * arm-tdep.h: Likewise (comment).
1419 * frv-tdep.c (frv_register_sim_regno): Likewise.
1420 * m68klinux-nat.c (old_fetch_inferior_registers)
1421 (old_store_inferior_registers): Likewise.
1422 * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
1423 * irix5-nat.c (fetch_core_registers): Likewise.
1424 * hppa-tdep.c (hppa_frame_cache): Likewise.
1425 * hppa-linux-nat.c (hppa_linux_register_addr)
1426 (hppa_linux_fetch_inferior_registers)
1427 (hppa_linux_store_inferior_registers): Likewise.
1428 * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers)
1429 (hppa_hpux_store_inferior_registers): Likewise.
1430 * amd64-nat.c (amd64_native_gregset_reg_offset)
1431 (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise.
1432 * dbug-rom.c (dbug_regname): Likewise.
1433 * m68hc11-tdep.c (m68hc11_frame_unwind_cache)
1434 (HARD_PAGE_REGNUM (comment)): Likewise.
1435 * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs.
1436 * i386-tdep.c (i386_dbx_reg_to_regnum)
1437 (i386_svr4_reg_to_regnum): Likewise.
1438 * mi/mi-main.c (mi_cmd_data_list_register_names)
1439 (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values)
1440 (mi_cmd_data_write_register_values): Likewise.
1441 * gdbarch.c, gdbarch.h: Regenerate.
1442 * tui/tui-regs.c (tui_show_register_group): Likewise.
1443 * xtensa-tdep.h (FP_ALIAS): Likewise.
1444 * user-regs.h: Likewise (comment).
1445 * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise.
1446 * trad-frame.c (trad_frame_alloc_saved_regs): Likewise.
1447 * target-descriptions.h: Likewise (comment).
1448 * target.c (debug_print_register): Likewise.
1449 * stack.c (frame_info): Likewise.
1450 * stabsread.c (define_symbol): Likewise.
1451 * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info)
1452 (sh64_compact_print_registers_info): Likewise.
1453 * rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
1454 * regcache.c (init_regcache_descr,register_size,regcache,regcache_save
1455 (regcache_restore,regcache_dump): Likewise.
1456 * mips-tdep.c (print_gp_register_row,mips_print_registers_info)
1457 (mips_dwarf_dwarf2_ecoff_reg_to_regnum)
1458 (mips_stab_reg_to_regnum): Likewise.
1459 * findvar.c (value_of_register): Likewise.
1460 * infcmd.c (default_print_registers_info,registers_info)
1461 (print_vector_info,print_float_info): Likewise.
1462 * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise.
1463 * h8300-tdep.c (h8300_register_type): Likewise.
1464 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
1465 * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise.
1466 * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum)
1467 (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise.
1468 * parse.c: Remove comment.
1469 * gdbarch.c, gdbarch.h: Regenerate
1470
1471 2007-05-31 Markus Deuling <deuling@de.ibm.com>
1472
1473 * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by
1474 gdbarch_cannot_fetch_register.
1475 * alpha-nat.c (fetch_osf_core_registers): Likewise.
1476 * hppa-linux-nat.c (fetch_register): Likewise.
1477 * inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
1478 * m68klinux-nat.c (fetch_register): Likewise.
1479 * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg):
1480 Likewise.
1481 * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by
1482 gdbarch_cannot_store_register.
1483 * hppa-linux-nat.c (store_register): Likewise.
1484 * inf-ptrace.c (inf_ptrace_store_register): Likewise.
1485 * regcache.c (regcache_raw_write): Likewise.
1486 * m68klinux-nat.c (store_register): Likewise.
1487 * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise.
1488 * gdbarch.c, gdbarch.h: Regenerate.
1489
1490 2007-05-31 Markus Deuling <deuling@de.ibm.com>
1491
1492 * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi.
1493 * gdbarch.c, gdbarch.h: Regenerate.
1494
1495 2007-05-31 Markus Deuling <deuling@de.ibm.com>
1496
1497 * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed.
1498 * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise.
1499 * gdbarch.c, gdbarch.h: Regenerate.
1500
1501 2007-05-31 Markus Deuling <deuling@de.ibm.com>
1502
1503 * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order.
1504 * ax-gdb.c (gen_bitfield_ref): Likewise.
1505 * mi/mi-main.c (get_register): Likewise.
1506 * findvar.c (default_value_from_register, extract_signed_integer)
1507 (extract_unsigned_integer, extract_long_unsigned_integer)
1508 (store_signed_integer, store_unsigned_integer): Likewise.
1509 * regcache.c (regcache_dump): Likewise.
1510 * value.c (lookup_internalvar, value_of_internalvar)
1511 (set_internalvar): Likewise.
1512 * defs.h: Likewise.
1513 * valprint.c (print_binary_chars, print_octal_chars)
1514 (print_decimal_chars, print_hex_chars, print_char_chars): Likewise.
1515 * infcmd.c (default_print_registers_info): Likewise.
1516 * arch-utils.c (selected_byte_order, show_endian): Likewise.
1517 * stabsread.c (define_symbol): Likewise.
1518 * doublest.c (floatformat_from_length, floatformat_from_type)
1519 (extract_typed_floating, store_typed_floating): Likewise.
1520 * gdbarch.c, gdbarch.h: Regenerate.
1521
1522 2007-05-31 Markus Deuling <deuling@de.ibm.com>
1523
1524 * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by
1525 gdbarch_call_dummy_location.
1526 * infcall.c (call_function_by_hand): Likewise.
1527 * inferior.h: Change comment.
1528 * arch-utils.c: Change comment.
1529 * gdbarch.c, gdbarch.h: Regenerate.
1530
1531 2007-05-28 Joel Brobecker <brobecker@adacore.com>
1532
1533 * solib-aix5.c: Delete.
1534 * Makefile.in (solib-aix5.o): Delete rule.
1535
1536 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
1537
1538 * breakpoint.h (enum bpstat_what_main_action): Remove
1539 BPSTAT_WHAT_THROUGH_SIGTRAMP.
1540 * infrun.c (process_event_stop_test): Do not check for it.
1541
1542 2007-05-22 Chris Dearman <chris@mips.com>
1543 Maciej W. Rozycki <macro@mips.com>
1544
1545 * ser-unix.c (show_serial_hwflow): New function.
1546 (hardwire_raw): Add hardware flow control support.
1547 (_initialize_ser_hardwire): Add "set/show remoteflow".
1548 * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h).
1549 * NEWS: Document the new command.
1550
1551 2007-05-21 Ulrich Weigand <uweigand@de.ibm.com>
1552
1553 * config/i386/tm-linux.h (sys_quotactl): Do not define.
1554 * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not
1555 define for i[[3456]]86-*-linux* native configurations.
1556 * config.in, configure: Regenerate.
1557
1558 2007-05-19 Joel Brobecker <brobecker@adacore.com>
1559
1560 * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging
1561 a core file. Add comment in the function description.
1562
1563 2007-05-18 Caroline Tice <ctice@apple.com>
1564
1565 * c-valprint.c (c_value_print): If the initialized field of the
1566 value struct is 0, print out "[uninitialized]" before the value.
1567 * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field;
1568 allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a
1569 DW_OP_regx op; add case for DW_OP_GNU_uninit and update
1570 ctx->initialized appropriately. Verify no location op follows
1571 DW_OP_GNU_uninit.
1572 * dwarf2expr.h (struct dwarf_expr_context): New field, initialized.
1573 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to
1574 set_value_initialized.
1575 * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit.
1576 (decode_locdesc): Add case for DW_OP_GNU_uninit.
1577 * value.c (struct value): New field, initialized.
1578 (allocate_value): Initialize new field.
1579 (set_value_initialized): New function.
1580 (value_initialized): New function.
1581 * value.h (value_initialized): New extern declaration.
1582 (set_value_initialized): Likewise.
1583
1584 2007-05-18 Caroline Tice <ctice@apple.com>
1585
1586 * MAINTAINERS (Write After Approval): Add self.
1587
1588 2007-05-17 Joel Brobecker <brobecker@adacore.com>
1589
1590 * gdbtypes.c (make_reference_type): Preserve the type chain
1591 and set the length of all the variants of the pointer type.
1592
1593 2007-05-17 Joel Brobecker <brobecker@adacore.com>
1594
1595 * gdbtypes.c (make_pointer_type): Preserve the pointer type chain
1596 and set the length of all the variants of the pointer type.
1597
1598 2007-05-17 Maciej W. Rozycki <macro@mips.com>
1599
1600 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a
1601 comment.
1602 (mips_o64_push_dummy_call): Reformat a comment.
1603
1604 2007-05-17 Qinwei <qinwei@sunnorth.com.cn>
1605
1606 * score-tdep.c (score_frame_cache->fp, score_analyze_prologue)
1607 (score_prologue_frame_base_address): Return fp to keep gdb print
1608 local variables correctly when debugging information is stabs.
1609
1610 (score_analyze_prologue): For software watchpoint, fetch all the
1611 instructions from range [startaddr, pc] once and identify them locally
1612 to reduce memory access.
1613 (score_malloc_and_get_memblock, score_free_memblock)
1614 (score_adjust_memblock_ptr): New functions.
1615 (score_fetch_inst): Fetch single instruction or mutiple instructions.
1616
1617 (score_target_can_use_watch, score_stopped_by_watch)
1618 (score_target_insert_watchpoint, score_target_remove_watchpoint)
1619 (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint):
1620 New functions for remote & local hw-watchpoint and hw-breakpoint.
1621
1622 2007-05-16 Alfred M. Szmidt <ams@gnu.org>
1623
1624 * reply_mig_hack.awk: Check for `auto const mach_msg_type_t'
1625 declarations as well.
1626
1627 2007-05-16 Ulrich Weigand <uweigand@de.ibm.com>
1628
1629 * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h.
1630 * config/arm/tm-embed.h: Delete file.
1631
1632 * arm-tdep.h (arm_software_single_step): Declare.
1633 * arm-tdep.c (arm_software_single_step): Make global.
1634 (arm_gdbarch_init): Move set_gdbarch_software_single_step call
1635 from here to ...
1636 * arm-linux-tdep.c (arm_linux_init_abi): ... here ...
1637 * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ...
1638 * armobsd-tdep.c (armobsd_init_abi): ... here ...
1639 * arm-wince-tdep.c (arm_wince_init_abi): ... and here.
1640
1641 * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer
1642 allow defines to be overriden by TM file.
1643 (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also,
1644 change default to {0xbe,0xbe}.
1645 * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint,
1646 arm_obsd_thumb_be_breakpoint): New global variables.
1647 (armobsd_init_abi): Override tdep->thumb_breakpoint and
1648 tdep->thumb_breakpoint_size.
1649 * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable.
1650 (arm_wince_init_abi): Override tdep->thumb_breakpoint and
1651 tdep->thumb_breakpoint_size.
1652
1653 * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code.
1654
1655 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
1656
1657 * NEWS: Mention removed "set mips stack-arg-size" and "set mips
1658 saved-gpreg-size".
1659
1660 * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants.
1661 (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string)
1662 (mips_stack_argsize_string, mips_stack_argsize): Delete.
1663 (mips_abi_regsize): Simplify.
1664 (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
1665 (mips_n32n64_return_value, mips_o32_push_dummy_call)
1666 (mips_o32_return_value, mips_o64_push_dummy_call)
1667 (mips_o64_return_value): Propogate constant register sizes. Use the
1668 ABI register size instead of mips_stack_argsize.
1669 (mips_dump_tdep): Don't print mips_stack_argsize.
1670 (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size
1671 settings.
1672
1673 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
1674
1675 * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete.
1676 * config/mips/tm-linux.h: Delete.
1677 * mips-linux-tdep.c (mips_svr4_so_ops): New.
1678 (mips_linux_in_dynsym_resolve_code): Make static. Use
1679 svr4_in_dynsym_resolve_code.
1680 (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call
1681 set_solib_ops.
1682 * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make
1683 global.
1684 * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare.
1685 * Makefile.in (mips-linux-tdep.o): Update.
1686 * solib.c (set_solib_ops): New.
1687 (current_target_so_ops): Update comment.
1688 * solib.h (set_solib_ops): New prototype.
1689
1690 2007-05-16 Chris Dearman <chris@mips.com>
1691
1692 * printcmd.c (do_examine): Fix typos in a comment.
1693
1694 2007-05-16 Richard Sandiford <richard@codesourcery.com>
1695
1696 * configure.ac: Allow sysroots to be relocated under $prefix as
1697 well as $exec_prefix.
1698 * configure: Regenerate.
1699
1700 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com>
1701
1702 * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>.
1703 (offsetof): Do not define.
1704 (find_stub_with_shl_get): Use numerical value 3 instead of
1705 symbolic value TYPE_PROCEDURE.
1706
1707 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
1708
1709 * gdb_proc_service.h (paddr_t): Delete typedef.
1710 * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New.
1711 (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr.
1712 (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr.
1713 (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t.
1714 * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t.
1715 * Makefile.in (proc-service.o): Update.
1716
1717 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
1718
1719 * Makefile.in (mips-tdep.o): Update.
1720 * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI
1721 unwinder.
1722
1723 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
1724
1725 * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long
1726 instead of store_typed_address.
1727 * value.c (pack_long): New.
1728 (value_from_longest): Use it.
1729 * value.h (pack_long): New prototype.
1730
1731 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
1732
1733 * dwarf2-frame.c (read_encoded_value): Correct typo. Use
1734 DW_EH_PE_signed if appropriate.
1735
1736 2007-05-14 Paul Brook <paul@codesourcery.com>
1737 Daniel Jacobowitz <dan@codesourcery.com>
1738
1739 * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New
1740 function.
1741 (dwarf_decode_lines): Check for line info without a file.
1742
1743 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
1744
1745 * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs
1746 as hexadecimal.
1747
1748 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
1749
1750 * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of
1751 STRUCTOP_STRUCT.
1752 * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of
1753 STRUCTOP_STRUCT.
1754 * jv-typeprint.c (java_print_type): Do not crash on NULL varstring.
1755
1756 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com>
1757
1758 * gdbarch.sh (read_sp): Remove.
1759 * gdbarch.c, gdbarch.h: Regenerate.
1760 * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP.
1761
1762 * avr-tdep.c (avr_read_sp): Remove.
1763 (avr_unwind_sp): New function.
1764 (avr_gdbarch_init): Install unwind_sp instead of read_sp callback.
1765 * mips-tdep.c (mips_read_sp): Remove.
1766 (mips_unwind_sp): New function.
1767 (mips_gdbarch_init): Install unwind_sp instead of read_sp callback.
1768 * score-tdep.c (score_read_unsigned_register): Remove.
1769 (score_read_sp): Remove.
1770 (score_unwind_sp): New function.
1771 (score_gdbarch_init): Install unwind_sp instead of read_sp callback.
1772
1773 2007-05-14 Maxim Grigoriev <maxim2405@gmail.com>
1774
1775 * buildsym.c (start_subfile): Handle absolute pathnames
1776 while comparing subfile names.
1777
1778 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
1779
1780 * hppa-hpux-tdep.c: Include "regcache.h".
1781 * hppa-linux-tdep.c: Likewise.
1782 * hppa-tdep.c: Include "gdb_stdint.h".
1783 (find_unwind_entry): Cast host pointer to uintptr_t before passing
1784 it to paddr_nz.
1785 * Makefile.in: Update dependencies.
1786
1787 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
1788
1789 * blockframe.c: Remove obsolete comments.
1790 * alpha-nat.c (fetch_osf_core_registers): Update comment.
1791 * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment.
1792 * hppa-tdep.h (enum hppa_regnum): Likewise.
1793 * mips-tdep.h: Likewise.
1794 * m68hc11-tdep.c: Likewise.
1795
1796 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com>
1797
1798 * inferior.h (read_sp): Remove prototype.
1799 * regcache.c (read_sp): Remove.
1800 * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp.
1801 * infcall.c (call_function_by_hand): Likewise.
1802 * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead
1803 of calling read_sp.
1804 * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
1805
1806 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
1807
1808 * i386-linux-nat.c (i386_linux_resume): Use regcache functions
1809 instead of read_register and read_register_pid.
1810
1811 * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE
1812 argument instead of PTID. Use regcache functions instead of
1813 read_register_pid.
1814 (ia64_linux_insert_watchpoint): Update call.
1815 (ia64_linux_stopped_data_address): Use regcache functions
1816 instead of read_register_pid and write_register_pid.
1817
1818 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
1819
1820 * libunwind-frame.h (struct regcache): Add forward declaration.
1821 (libunwind_get_reg_special): Add REGCACHE argument.
1822 * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE
1823 argument. Pass it to unw_init_remote_p.
1824
1825 * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to
1826 libunwind_get_reg_special.
1827 (ia64_access_reg): Remove "write" case.
1828 (ia64_access_fpreg): Likewise. Read from next_frame passed
1829 as callback argument instead of from current_regcache.
1830 (ia64_access_rse_reg): Remove "write" case. Read from regcache
1831 passed as callback argument instead of from current_regcache.
1832 (ia64_access_rse_fpreg): New function.
1833 (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg.
1834
1835 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
1836
1837 * NEWS: Mention SPU overlay support.
1838
1839 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
1840
1841 * spu-tdep.c (spu_frame_unwind_cache): Add comment.
1842
1843 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
1844
1845 * breakpoint.c (remove_breakpoint): Do not remove software
1846 breakpoints in unmapped overlay sections.
1847
1848 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
1849
1850 * spu-tdep.c: Include "observer.h".
1851 (spu_frame_unwind_cache): Unwind PC through overlay return stubs.
1852 (spu_overlay_data): New variable.
1853 (struct spu_overlay_table): New type.
1854 (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update,
1855 spu_overlay_new_objfile): New functions.
1856 (spu_gdbarch_init): Install spu_overlay_update.
1857 (_initialize_spu_tdep): Register spu_overlay_new_objfile,
1858 allocate spu_overlay_data objfile data.
1859
1860 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
1861
1862 * gdbarch.sh (overlay_update): New gdbarch function.
1863 (struct obj_section): Add forward declaration.
1864 * gdbarch.c, gdbarch.h: Regenerate.
1865
1866 * symfile.c (simple_overlay_update): Make global.
1867 (target_overlay_update): Remove variable.
1868 (overlay_is_mapped): Call gdbarch_overlay_update instead of
1869 target_overlay_update.
1870 (overlay_load_command): Likewise.
1871 * symfile.h (struct obj_section): Add forward declaration.
1872 (simple_overlay_update): Add prototype.
1873
1874 * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update.
1875
1876 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
1877
1878 * observer.sh: Add "struct objfile" forward declaration.
1879 * target.h (deprecated_target_new_objfile_hook): Remove.
1880 * symfile.c (deprecated_target_new_objfile_hook): Remove.
1881 (clear_symtab_users): Call observer_notify_new_objfile.
1882 (symbol_file_add_with_addrs_or_offsets): Likewise.
1883 * rs6000-nat.c: Include "observer.h".
1884 (vmap_ldinfo): Call observer_notify_new_objfile.
1885 (xcoff_relocate_core): Likewise.
1886 * remote.c (remote_new_objfile_chain): Remove.
1887 (remote_new_objfile): Do not call remote_new_objfile_chain.
1888 (_initialize_remote): Use observer_attach_new_objfile.
1889 * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove.
1890 (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain.
1891 (_initialize_tui_hooks): Use observer_attach_new_objfile.
1892 * aix-thread.c: Include "observer.h".
1893 (target_new_objfile_chain): Remove.
1894 (new_objfile): Do not call target_new_objfile_chain.
1895 (_initialize_aix_thread): Use observer_attach_new_objfile.
1896 * hpux-thread.c: Include "observer.h"
1897 (target_new_objfile_chain): Remove.
1898 (hpux_thread_new_objfile): Make static. Do not call
1899 target_new_objfile_chain.
1900 (_initialize_hpux_thread): Use observer_attach_new_objfile.
1901 * linux-thread-db.c: Include "observer.h".
1902 (target_new_objfile_chain): Remove.
1903 (thread_db_new_objfile): Do not call target_new_objfile_chain.
1904 (_initialize_thread_db): Use observer_attach_new_objfile.
1905 * sol-thread.c: Include "observer.h".
1906 (target_new_objfile_chain): Remove.
1907 (sol_thread_new_objfile): Make static. Do not call
1908 target_new_objfile_chain.
1909 (_initialize_sol_thread): Use observer_attach_new_objfile.
1910 * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o,
1911 rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on
1912 $(observer_h).
1913
1914 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
1915
1916 * gdbarch.sh (remote_translate_xfer_address): Remove.
1917 * gdbarch.h, gdbarch.c: Regenerate.
1918 * arch-utils.c (generic_remote_translate_xfer_address): Remove.
1919 * arch-utils.h (generic_remote_translate_xfer_address): Remove.
1920 * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not
1921 call gdbarch_remote_translate_xfer_address.
1922 * frv-tdep.c (frv_gdbarch_init): Do not call
1923 set_gdbarch_remote_translate_xfer_address.
1924 * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove.
1925 (ia64_gdbarch_init): Do not install it.
1926
1927 2007-05-11 Bob Wilson <bob.wilson@acm.org>
1928
1929 * NEWS: Mention change in handling the -tui option.
1930
1931 2007-05-11 Daniel Jacobowitz <dan@codesourcery.com>
1932
1933 * linux-thread-db.c (enable_thread_event_reporting): Fix comment
1934 typo.
1935
1936 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com>
1937
1938 * breakpoint.c (single_step_breakpoint_inserted_here_p): New function.
1939 (breakpoint_inserted_here_p): Call it.
1940 (software_breakpoint_inserted_here_p): Likewise.
1941
1942 2007-05-10 Ulrich Weigand <uweigand@de.ibm.com>
1943
1944 * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list.
1945 (inf_ptrace_fetch_register): Add register_u_offset callback parameters
1946 GDBARCH and STORE_P. Handle callback (CORE_ADDR) -1 return value.
1947 (inf_ptrace_store_register): Likewise.
1948 (inf_ptrace_trad_target): Adapt register_u_offset parameter list.
1949 * inf-ptrace.h (inf_ptrace_trad_target): Likewise.
1950
1951 * vax-nat.c (vax_register_u_offset): Adapt parameter list.
1952
1953 * linux-nat.c (linux_trad_target): Adapt parameter list.
1954 * linux-nat.h (linux_trad_target): Likewise.
1955
1956 * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters.
1957
1958 * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove.
1959 (mips_linux_cannot_store_register): Likewise.
1960 (mips_linux_register_addr): Add GDBARCH and STORE_P parameters.
1961 Return (CORE_ADDR) -1 for registers that cannot be fetched or
1962 stored via ptrace. Use GDBARCH instead of current_gdbarch.
1963 (mips64_linux_register_addr): Likewise.
1964 (mips_linux_register_u_offset): Adapt parameter list. Pass
1965 GDBARCH and STORE_P on to mips{64}_linux_register_addr.
1966
1967 * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h.
1968 * config/mips/nm-linux.h: Delete file.
1969
1970 2007-05-10 Pedro Alves <pedro_alves@portugalmail.pt>
1971
1972 * remote.c (remote_detach): Error out if remote can't detach.
1973
1974 2007-05-10 Luis Machado <luisgpm@br.ibm.com>
1975
1976 * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch
1977 instruction's opcode in the "opcode" variable and declares new
1978 variable "closing_insn".
1979
1980 2007-05-10 Chris Dearman <chris@mips.com>
1981 Maciej W. Rozycki <macro@mips.com>
1982
1983 * cli/cli-setshow.c (do_setshow_command): Remove trailing
1984 whitespace when setting a var_filename.
1985
1986 2007-05-09 Bob Wilson <bob.wilson@acm.org>
1987
1988 * main.c (captured_main): Recognize -tui option and print an error
1989 message when the TUI is not configured.
1990
1991 2007-05-09 Andreas Schwab <schwab@suse.de>
1992
1993 * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't
1994 set removed members.
1995 (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
1996
1997 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
1998
1999 * gdbarch.sh (deprecated_store_struct_return): Remove.
2000 * gdbarch.c, gdbarch.h: Regenerate.
2001 * frv-tdep.c (frv_store_struct_return): Remove.
2002 (frv_gdbarch_init): Do not install it.
2003
2004 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
2005
2006 * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define.
2007 * config/mips/nm-irix5.h (USE_PROC_FS): Do not define.
2008 * config/nm-linux.h (USE_PROC_FS): Do not undefine.
2009
2010 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com>
2011
2012 * spu-linux-nat.c: Include "gdb_stdint.h".
2013 (fetch_ppc_register): Use uint64_t instead of unsigned long long.
2014 (fetch_ppc_memory_1, store_ppc_memory_1): Likewise.
2015 (fetch_ppc_memory, store_ppc_memory): Fix coding style.
2016 (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf.
2017 (spu_child_wait): Mark up string for translation.
2018
2019 2007-05-08 Paul Gilliam <pgilliam@us.ibm.com>
2020 Luis Machado <luisgpm@br.ibm.com>
2021
2022 * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION,
2023 STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK,
2024 BC_INSTRUCTION): Define.
2025 (deal_with_atomic_sequence): New function.
2026 (rs6000_software_single_step): Call deal_with_atomic_sequence.
2027 (rs6000_gdbarch_init): Install deal_with_atomic_sequence as
2028 gdbarch_software_single_step routine.
2029
2030 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com>
2031
2032 * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1,
2033 store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory,
2034 parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open,
2035 spu_symbol_file_add_from_memory, spu_child_post_startup_inferior,
2036 spu_child_post_attach, spu_fetch_inferior_registers,
2037 spu_store_inferior_registers, spu_xfer_partial): Store PPE-side
2038 memory addresses as ULONGEST, not CORE_ADDR.
2039
2040 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com>
2041
2042 * gdbarch.sh: Add skip_permanent_breakpoint callback.
2043 * gdbarch.h, gdbarch.c: Regenerate.
2044
2045 * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition.
2046 (resume): Call gdbarch_skip_permanent_breakpoint instead of
2047 SKIP_PERMANENT_BREAKPOINT. Inline default case.
2048
2049 * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static.
2050 Add REGCACHE argument. Use it instead of read/write_register.
2051 (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint.
2052
2053 * config/pa/tm-hppah.h: Delete file.
2054 * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h.
2055 * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise.
2056
2057 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
2058
2059 * Makefile.in (c-lang.o, gnu-v3-abi.o): Update.
2060 * NEWS: Mention improved C++ thunk support.
2061 * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline.
2062 * cp-abi.c (cplus_skip_trampoline): New.
2063 * cp-abi.h (cplus_skip_trampoline): New prototype.
2064 (struct cp_abi_ops): Add skip_trampoline member.
2065 * gnu-v3-abi.c (gnuv3_skip_trampoline): New.
2066 (init_gnuv3_ops): Set skip_trampoline.
2067
2068 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
2069
2070 * rs6000-tdep.c (struct frame_extra_info): Delete.
2071
2072 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
2073
2074 * linux-thread-db.c: Update some FIXME comments.
2075 (thread_db_xfer_partial): Delete.
2076 (init_thread_db_ops): Do not set to_xfer_partial.
2077
2078 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2079
2080 * inftarg.c, infptrace.c: Remove files.
2081 * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c
2082 (inftarg.o, infptrace.o): Remove rules.
2083 * gdbcore.h (register_addr): Remove prototype.
2084 * inferior.h (kill_inferior, store_inferior_registers,
2085 fetch_inferior_registers, attach, detach, ptrace_wait, child_resume,
2086 call_ptrace, pre_fork_inferior): Remove prototypes.
2087 * target.h (child_xfer_memory, child_pid_to_exec_file,
2088 child_core_file_to_sym_file, child_post_attach,
2089 child_post_startup_inferior, child_acknowledge_created_inferior,
2090 child_insert_fork_catchpoint, child_remove_fork_catchpoint,
2091 child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
2092 child_insert_exec_catchpoint, child_remove_exec_catchpoint,
2093 child_follow_fork, child_reported_exec_events_per_exec_call,
2094 child_has_exited, child_thread_alive): Remove prototypes.
2095
2096 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2097
2098 * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype.
2099 (sparc_store_inferior_registers): Likewise.
2100 * sparc-nat.c (fetch_inferior_registers): Rename to ...
2101 (sparc_fetch_inferior_registers): ... this.
2102 (store_inferior_registers): Rename to ...
2103 (sparc_store_inferior_registers): ... this.
2104 (sparc_target): Update callback names.
2105 * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise.
2106 * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise.
2107
2108 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2109
2110 * linux-nat.c (child_post_attach): Rename to ...
2111 (linux_child_post_attach): ... this. Make static.
2112 (child_follow_fork): Rename to ...
2113 (linux_child_follow_fork): ... this. Make static.
2114 (child_insert_fork_catchpoint): Rename to ...
2115 (linux_child_insert_fork_catchpoint): ... this. Make static.
2116 (child_insert_vfork_catchpoint): Rename to ...
2117 (linux_child_insert_vfork_catchpoint): ... this. Make static.
2118 (child_insert_exec_catchpoint): Rename to ...
2119 (linux_child_insert_exec_catchpoint): ... this. Make static.
2120 (child_pid_to_exec_file): Rename to ...
2121 (linux_child_pid_to_exec_file): ... this. Make static.
2122 Add prototype.
2123 (linux_handle_extended_wait): Update call.
2124 (linux_xfer_partial): Update callback routine names.
2125
2126 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2127
2128 * configure.host (alpha*-*-osf[12]*): Remove support.
2129 * NEWS: Mention removed configurations.
2130
2131 * config/alpha/alpha-osf1.mh: Delete file.
2132 * config/alpha/alpha-osf2.mh: Delete file.
2133 * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o
2134 and infptrace.o.
2135 * config/alpha/nm-osf.h: Delete file.
2136 * config/alpha/nm-osf2.h: Delete file.
2137 * config/alpha/nm-osf3.h: Do not include "nm-osf2.h".
2138 (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h.
2139 (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h.
2140
2141 * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define.
2142 (register_addr, kernel_u_size): Remove.
2143 Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)".
2144
2145 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2146
2147 * regcache.c (regcache_invalidate): New function.
2148 (register_cached): Remove.
2149 (set_register_cached): Remove.
2150 (deprecated_registers_fetched): Remove.
2151 (registers_changed): Use regcache_invalidate instead
2152 of set_register_cached.
2153 (regcache_raw_read): Update comment.
2154
2155 * regcache.h (regcache_invalidate): Add prototype.
2156 (register_cached): Remove.
2157 (set_register_cached): Remove.
2158 (deprecated_registers_fetched): Remove.
2159
2160 * findvar.c (value_of_register): Do not call register_cached.
2161 * frame.c (frame_register): Likewise.
2162 * tui/tui-regs.c (tui_get_register): Likewise.
2163
2164 * remote.c (fetch_register_using_p): Do not call set_register_cached.
2165 (process_g_packet): Likewise.
2166 (remote_fetch_registers): Likewise.
2167 * remote-sim.c (gdbsim_fetch_register): Likewise.
2168 * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call
2169 by regcache_invalidate.
2170 (mt_pseudo_register_write): Likewise.
2171 * sh-tdep.c (sh_pseudo_register_write): Likewise.
2172
2173 * corelow.c (get_core_registers): Replace deprecated_registers_fetched
2174 call by loop over regcache_raw_supply (..., NULL).
2175
2176 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2177
2178 * target.h (struct target_ops): Add REGCACHE parameter to
2179 to_prepare_to_store.
2180 (target_prepare_to_store): Likewise.
2181 * target.c (debug_to_prepare_to_store): Add REGCACHE parameter.
2182 (update_current_target): Adapt prepare_to_store de_fault rule.
2183
2184 * regcache.c (regcache_raw_write): Pass regcache to
2185 target_prepare_to_store.
2186
2187 * inftarg.c (child_prepare_to_store): Add REGCACHE parameter.
2188 Do not call CHILD_PREPARE_TO_STORE.
2189 * gnu-nat.c (gnu_prepare_to_store): Likewise.
2190 * procfs.c (procfs_prepare_to_store): Likewise.
2191
2192 * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter.
2193 * go32-nat.c (go32_prepare_to_store): Likewise.
2194 * monitor.c (monitor_prepare_to_store): Likewise.
2195 * nto-procfs.c (procfs_prepare_to_store): Likewise.
2196 * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise.
2197 * remote-mips.c (mips_prepare_to_store): Likewise.
2198 * remote-sim.c (gdbsim_prepare_to_store): Likewise.
2199 * win32-nat.c (win32_prepare_to_store): Likewise.
2200
2201 * remote.c (remote_prepare_to_store): Add REGCACHE parameter.
2202 Use it instead of current_regcache.
2203
2204 * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE
2205 parameter. Pass it on to next target.
2206 * sol-thread.c (sol_thread_prepare_to_store): Likewise.
2207
2208 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2209
2210 * target.h (struct regcache): Add forward declaration.
2211 (struct target_ops): Add REGCACHE parameter to to_fetch_registers
2212 and to_store_registers target operations.
2213 (target_fetch_registers, target_store_registers): Update.
2214
2215 * regcache.c (regcache_raw_read): Replace register_cached by
2216 regcache_valid_p. Pass regcache to target_fetch_registers.
2217 (regcache_raw_write): Pass regcache to target_store_registers.
2218
2219 * arm-linux-nat.c (store_fpregister, store_fpregs, store_register,
2220 store_regs, store_wmmx_regs): Replace register_cached by
2221 regcache_valid_p.
2222
2223 * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache
2224 to target_fetch_registers calls.
2225 * corelow.c (core_open): Likewise.
2226 * linux-nat.c (linux_nat_corefile_thread_callback): Likewise.
2227 * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
2228 ps_lsetfpregs): Likewise.
2229 * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs,
2230 ps_lsetfpregs): Likewise.
2231 * win32-nat.c (win32_resume): Likewise.
2232 * ia64-tdep.c (ia64_store_return_value): Pass current_regcache
2233 to target_store_registers call.
2234 * rs6000-tdep.c (rs6000_push_dummy_call): Likewise.
2235
2236 * inferior.h (store_inferior_registers): Update prototype.
2237 (fetch_inferior_registers): Likewise.
2238 * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise.
2239 * mips-linux-nat.c (super_fetch_registers, super_store_registers):
2240 Update function pointer signatures.
2241
2242 * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter,
2243 use it instead of current_regcache, update calls.
2244 (aix_thread_store_registers): Likewise.
2245 * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise.
2246 (alphabsd_store_inferior_registers): Likewise.
2247 * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise.
2248 (amd64bsd_store_inferior_registers): Likewise.
2249 * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise.
2250 (amd64_linux_store_inferior_registers): Likewise.
2251 * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister,
2252 store_fpregs, fetch_register, fetch_regs, store_register, store_regs,
2253 fetch_wmmx_regs, store_wmmx_regs): Likewise.
2254 (arm_linux_fetch_inferior_registers): Likewise.
2255 (arm_linux_store_inferior_registers): Likewise.
2256 * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register,
2257 fetch_fp_regs, armnbsd_fetch_registers): Likewise.
2258 (store_register, store_regs, store_fp_register, store_fp_regs,
2259 armnbsd_store_registers): Likewise.
2260 * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise.
2261 * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise.
2262 (bsd_uthread_store_registers): Likewise.
2263 * corelow.c (get_core_registers): Likewise.
2264 * go32-nat.c (fetch_register, go32_fetch_registers, store_register,
2265 go32_store_registers): Likewise.
2266 * hppabsd-nat.c (hppabsd_fetch_registers): Likewise.
2267 (hppabsd_store_registers): Likewise.
2268 * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise.
2269 (hppa_hpux_fetch_inferior_registers): Likewise.
2270 (hppa_hpux_store_register): Likewise.
2271 (hppa_hpux_store_inferior_registers): Likewise.
2272 * hppa-linux-nat.c (fetch_register, store_register): Likewise.
2273 (hppa_linux_fetch_inferior_registers): Likewise.
2274 (hppa_linux_store_inferior_registers): Likewise.
2275 * hpux-thread.c (hpux_thread_fetch_registers): Likewise.
2276 (hpux_thread_store_registers): Likewise.
2277 * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise.
2278 (i386bsd_store_inferior_registers): Likewise.
2279 * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs,
2280 gnu_store_registers): Likewise.
2281 * i386-linux-nat.c (fetch_register, store_register, fetch_regs,
2282 store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs):
2283 Likewise.
2284 (i386_linux_fetch_inferior_registers): Likewise.
2285 (i386_linux_store_inferior_registers): Likewise.
2286 * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise.
2287 (ia64_linux_fetch_registers): Likewise.
2288 (ia64_linux_store_register): Likewise.
2289 (ia64_linux_store_registers): Likewise.
2290 * inf-child.c (inf_child_fetch_inferior_registers): Likewise.
2291 (inf_child_store_inferior_registers): Likewise.
2292 * inf-ptrace.c (inf_ptrace_fetch_register): Likewise.
2293 (inf_ptrace_fetch_registers): Likewise.
2294 (inf_ptrace_store_register): Likewise.
2295 (inf_ptrace_store_registers): Likewise.
2296 * infptrace.c (fetch_register, store_register): Likewise.
2297 (fetch_inferior_registers, store_inferior_registers): Likewise.
2298 * m32r-linux-nat.c (fetch_regs, store_regs): Likewise.
2299 (m32r_linux_fetch_inferior_registers): Likewise.
2300 (m32r_linux_store_inferior_registers): Likewise.
2301 * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise.
2302 (m68kbsd_store_inferior_registers): Likewise.
2303 * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers,
2304 store_register, old_store_inferior_registers, fetch_regs, store_regs,
2305 fetch_fpregs, store_fpregs): Likewise.
2306 (m68k_linux_fetch_inferior_registers): Likewise.
2307 (m68k_linux_store_inferior_registers): Likewise.
2308 * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise.
2309 (m88kbsd_store_inferior_registers): Likewise.
2310 * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise.
2311 (mips64obsd_store_inferior_registers): Likewise.
2312 * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise.
2313 (mips64_linux_regsets_store_registers): Likewise.
2314 (mips64_linux_fetch_registers): Likewise.
2315 (mips64_linux_store_registers): Likewise.
2316 * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise.
2317 (mipsnbsd_store_inferior_registers): Likewise.
2318 * monitor.c (monitor_fetch_register, monitor_store_register): Likewise.
2319 (monitor_fetch_registers, monitor_store_registers): Likewise.
2320 * nto-procfs.c (procfs_fetch_registers): Likewise.
2321 (procfs_store_registers): Likewise.
2322 * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register,
2323 fetch_register, supply_vrregset, fetch_altivec_registers,
2324 fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise.
2325 (store_altivec_register, store_spe_register, store_register,
2326 fill_vrregset, store_altivec_registers, store_ppc_registers,
2327 ppc_linux_store_inferior_registers): Likewise.
2328 * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise.
2329 (ppcnbsd_store_inferior_registers): Likewise.
2330 * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise.
2331 (ppcobsd_store_registers): Likewise.
2332 * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
2333 * remote.c (fetch_register_using_p, process_g_packet,
2334 fetch_registers_using_g, remote_fetch_registers): Likewise.
2335 (store_register_using_P, store_registers_using_G,
2336 remote_store_registers): Likewise.
2337 * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register,
2338 m32r_store_register, m32r_store_register): Likewise.
2339 * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise.
2340 * remote-sim.c (gdbsim_fetch_register): Likewise.
2341 (gdbsim_store_register): Likewise.
2342 * rs6000-nat.c (fetch_register, store_register): Likewise.
2343 (rs6000_fetch_inferior_registers): Likewise.
2344 (rs6000_store_inferior_registers): Likewise.
2345 * s390-nat.c (fetch_regs, store_regs): Likewise.
2346 (fetch_fpregs, store_fpregs): Likewise.
2347 (s390_linux_fetch_inferior_registers): Likewise.
2348 (s390_linux_store_inferior_registers): Likewise.
2349 * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise.
2350 (shnbsd_store_inferior_registers): Likewise.
2351 * sol-thread.c (sol_thread_fetch_registers): Likewise.
2352 (sol_thread_store_registers): Likewise.
2353 * sparc-nat.c (fetch_inferior_registers): Likewise.
2354 (store_inferior_registers): Likewise.
2355 * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
2356 (spu_store_inferior_registers): Likewise.
2357 * target.c (debug_print_register): Likewise.
2358 (debug_to_fetch_registers, debug_to_store_registers): Likewise.
2359 * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise.
2360 (vaxbsd_store_inferior_registers): Likewise.
2361 * win32-nat.c (do_win32_fetch_inferior_registers): Likewise.
2362 (win32_fetch_inferior_registers): Likewise.
2363 (win32_store_inferior_registers): Likewise.
2364
2365 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2366
2367 * gdbcore.h (struct regcache): Add forward declaration.
2368 (struct core_fns): Add REGCACHE argument to core_read_registers
2369 callback.
2370 * corelow.c (get_core_register_section): Add REGCACHE argument,
2371 use it instead of current_regcache, pass it to core_read_registers
2372 callback.
2373 (get_core_registers): Add current_regcache as parameter to
2374 get_core_register_section calls.
2375
2376 * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument,
2377 use it instead of current_regcache.
2378 * armnbsd-nat.c (fetch_core_registers): Likewise.
2379 (fetch_elfcore_registers): Likewise.
2380 * core-regset.c (fetch_core_registers): Likewise.
2381 * cris-tdep.c (fetch_core_registers): Likewise.
2382 * irix5-nat.c (fetch_core_registers): Likewise.
2383 * m68klinux-nat.c (fetch_core_registers): Likewise.
2384 * mips-linux-tdep.c (fetch_core_registers): Likewise.
2385 * win32-nat.c (fetch_elf_core_registers): Likewise.
2386
2387 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2388
2389 * gregset.h (struct regcache): Add forward declaration.
2390 (supply_gregset): Add REGCACHE parameter, make GREGS const.
2391 (supply_fpregset): Add REGCACHE parameter, make FPREGS const.
2392 (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const.
2393 (fill_gregset): Add REGCACHE parameter.
2394 (fill_fpregset): Likewise.
2395 (fill_fpxregset): Likewise.
2396
2397 Update all definitions accordingly:
2398 * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c,
2399 arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c,
2400 i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c,
2401 m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c,
2402 s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c
2403 (supply_gregset): Add REGCACHE parameter, use it instead of
2404 current_regcache. Make GREGSETP parameter const, adapt casts.
2405 (supply_fpregset): Add REGCACHE parameter, use it instead of
2406 current_regcache. Make FPREGSETP parameter const, adapt casts.
2407 (fill_gregset): Add REGCACHE parameter, use it instead of
2408 current_regcache.
2409 (fill_fpregset): Likewise.
2410
2411 Update all callers to pass in current_regcache as the new argument:
2412 * core-regset.c: Include "regcache.h".
2413 (fetch_core_registers): Update supply_gregset,and supply_fpregset calls.
2414 * procfs.c: Include "regcache.h".
2415 (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls.
2416 (procfs_store_registers): Update fill_gregset, fill_fpregset calls.
2417 (procfs_do_thread_registers): Likewise.
2418 (procfs_make_note_section): Likewise.
2419 * proc-service.c: Include "regcache.h".
2420 (ps_lgetregs): Update fill_gregset call.
2421 (ps_lsetregs): Update supply_gregset call.
2422 (ps_lgetfpregs): Update fill_fpregset call.
2423 (ps_lsetfpregs): Update supply_fpregset call.
2424 * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset,
2425 supply_fpregset calls.
2426 (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls.
2427 (ps_lgetregs): Update fill_gregset call.
2428 (ps_lsetregs): Update supply_gregset call.
2429 (ps_lgetfpregs): Update fill_fpregset call.
2430 (ps_lsetfpregs): Update supply_fpregset call.
2431
2432 * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset,
2433 fill_fpregset, and fill_fpxregset calls.
2434 * i386-linux-nat.c (fetch_regs): Update supply_gregset call.
2435 (store_regs): Update fill_gregset call.
2436 (fetch_fpregs): Update supply_fpregset call.
2437 (store_fpregs): Update fill_fpregset call.
2438 (fetch_fpxregs): Update supply_fpxregset call.
2439 (store_fpxregs): Update fill_fpxregset call.
2440 * m32r-linux-nat.c (fetch_regs): Update supply_gregset call.
2441 (store_regs): Update fill_gregset call.
2442 * m68klinux-nat.c (fetch_regs): Update supply_gregset call.
2443 (store_regs): Update fill_gregset call.
2444 (fetch_fpregs): Update supply_fpregset call.
2445 (store_fpregs): Update fill_fpregset call.
2446 (fetch_core_registers): Update supply_gregset, supply_fpregset calls.
2447 * s390-nat.c (fetch_regs): Update supply_gregset call.
2448 (store_regs): Update fill_gregset call.
2449 (fetch_fpregs): Update supply_fpregset call.
2450 (store_fpregs): Update fill_fpregset call.
2451
2452 * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update
2453 dependencies.
2454
2455 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2456
2457 * monitor.c (monitor_supply_register): Add REGCACHE parameter, use
2458 it instead of current_regcache.
2459 (parse_register_dump): Add REGCACHE parameter, pass it to
2460 supply_register callback.
2461 (monitor_dump_reg_block): Add REGCACHE parameter, pass it to
2462 parse_register_dump.
2463 (monitor_dump_regs): Add REGCACHE parameter, pass it to
2464 parse_register_dump and dumpregs callback.
2465 (monitor_wait): Pass current_regcache to parse_register_dump and
2466 monitor_dump_regs.
2467 (monitor_fetch_register): Pass current_regcache to
2468 monitor_supply_register.
2469 (monitor_fetch_registers): Pass current_regcache to
2470 monitor_dump_regs.
2471 * monitor.h (struct monitor_ops): Add REGCACHE parameter to
2472 supply_register and dumpregs callbacks.
2473 (monitor_supply_register, monitor_dump_reg_block): Update
2474 prototypes.
2475 * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass
2476 it to monitor_supply_register.
2477 * dink32-rom.c (dink32_supply_register): Likewise.
2478 * ppcbug-rom.c (ppcbug_supply_register): Likewise.
2479 * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE
2480 instead of current_regcache.
2481
2482 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2483
2484 * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset):
2485 Add REGCACHE parameter. Use it instead of current_regcache.
2486 (i386nto_supply_regset): Add REGCACHE parameter, pass it to
2487 i386nto_supply_gregset and i386nto_supply_fpregset.
2488 (i386nto_regset_fill): Add REGCACHE parameter; use it instead
2489 of current_regcache.
2490
2491 * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to
2492 nto_supply_ helper functions.
2493 (procfs_store_registers): Pass current_regcache to nto_regset_fill.
2494
2495 * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter.
2496
2497 * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to
2498 supply_greget, supply_fpregset, supply_altregset, supply_regset,
2499 and regset_fill member function pointers.
2500 (nto_dummy_supply_regset): Adapt prototype.
2501
2502 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2503
2504 * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it
2505 instead of current_regcache. Make REGS const.
2506 (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache.
2507 * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update
2508 prototypes.
2509 * shnbsd-nat.c: Include "regcache.h".
2510 (shnbsd_fetch_inferior_registers): Pass current_regcache to
2511 shnbsd_supply_reg.
2512 (shnbsd_store_inferior_registers): Pass current_regcache to
2513 shnbsd_fill_reg.
2514 * Makefile.in (shbsd-nat.o): Update dependencies.
2515
2516 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2517
2518 * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it
2519 instead of current_regcache.
2520 (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg.
2521 Make GREGSETP const, remove superfluous casts.
2522 (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache.
2523 (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove
2524 superfluous casts.
2525 (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
2526 (supply_64bit_reg): Likewise
2527 (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg.
2528 Make GREGSETP const, adapt casts accordingly.
2529 (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache.
2530 (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt
2531 casts accordingly.
2532 (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache.
2533 (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_
2534 helper routines.
2535 * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset,
2536 mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset,
2537 mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset):
2538 Adapt prototypes.
2539 * mips-linux-nat.c: Include "regcache.h".
2540 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
2541 current_regcache to mips{64}_(supply|fill)_ helper routines.
2542 (mips64_linux_regsets_fetch_registers): Likewise.
2543 (mips64_linux_regsets_store_registers): Likewise.
2544
2545 * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add
2546 REGCACHE argument; replace current_regcache. Make REGS const.
2547 (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument;
2548 replace current_regcache.
2549 * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg,
2550 mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes.
2551 * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers,
2552 mipsnbsd_store_inferior_registers): Pass current_regcache to
2553 mipsnbsd_(supply|fill)_... helper routines.
2554
2555 * Makefile.in (mips-linux-nat.o): Update dependencies.
2556
2557 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2558
2559 * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove.
2560 * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes.
2561 * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace
2562 i387_fill_fsave and i387_fill_fxsave calls by inline copies.
2563 * i386-nto-tdep.c (i386nto_regset_fill): Likewise.
2564 * i386gnu-nat.c (store_fpregs): Likewise.
2565 * i386v4-nat.c (fill_fpregset): Likewise.
2566 * go32-nat.c (store_register, go32_store_registers): Likewise.
2567
2568 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2569
2570 * cris-tdep.c (supply_gregset): Rename to ...
2571 (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it
2572 instead of current_regcache.
2573 (fetch_core_registers): Update call. Pass current_regcache.
2574
2575 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2576
2577 * arnmnbsd-nat.c (supply_gregset): Rename to ...
2578 (arm_supply_gregset): ... this. Add REGCACHE parameter.
2579 Use it instead of current_regcache.
2580 (supply_fparegset): Rename to ...
2581 (arm_supply_fparegset): ... this. Add REGCACHE parameter.
2582 Use it instead of current_regcache.
2583 (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache.
2584 (fetch_core_registers, fetch_elfcore_registers): Likewise.
2585
2586 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2587
2588 * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs,
2589 alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter,
2590 use it instead of current_regcache.
2591 * alpha-tdep.h (struct regcache): Add forward declaration.
2592 (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs,
2593 alpha_fill_fp_regs): Update prototypes.
2594
2595 * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset,
2596 fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines.
2597 * alpha-linux-nat.c: Include "regcache.h".
2598 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass
2599 current_regcache to alpha_supply/fill_ routines.
2600
2601 * alphabsd-tdep.c: Include "regcache.h".
2602 (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter,
2603 pass it to alpha_supply_ routines. Make REGS const.
2604 (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter,
2605 pass it to alpha_fill_ routines.
2606 * alphabsd-tdep.h (struct regcache): Add forward declaration.
2607 (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg,
2608 alphabsd_fill_fpreg): Update prototypes.
2609
2610 * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset,
2611 fill_fpregset, alphabsd_fetch_inferior_registers,
2612 alphabsd_store_inferior_registers): Pass current_regcache to
2613 alphabsd_supply/fill_ routines.
2614
2615 * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update
2616 dependencies.
2617
2618 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2619
2620 * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs,
2621 supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it
2622 instead of current_regcache.
2623 (fetch_regs_user_thread, fetch_regs_kernel_thread): Add
2624 REGCACHE parameter, pass it to supply_ routines.
2625 (aix_thread_fetch_registers): Pass current_regcache to
2626 fetch_regs_user_thread and fetch_regs_kernel_thread.
2627
2628 (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32):
2629 Add REGCACHE parameter, use it instead of current_regcache.
2630 Call regcache_valid_p instead of register_cached.
2631 (store_regs_user_thread, store_regs_kernel_thread): Likewise.
2632 Also, pass REGCACHE to fill_ routines.
2633 (aix_thread_store_registers): Pass current_regcache to
2634 store_regs_user_thread and store_regs_kernel_thread.
2635
2636 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2637
2638 * m32r-linux-nat.c (supply_gregset): Do not modify contents
2639 pointed to by GREGSETP.
2640
2641 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2642
2643 * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead
2644 of regcache_raw_read_signed.
2645 (fill_fpregset): Use regcache_raw_collect instead of
2646 regcache_raw_read.
2647
2648 2007-05-03 Kevin Buettner <kevinb@redhat.com>
2649
2650 * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating
2651 point arguments, test explicitly for use of the EABI32 ABI
2652 instead of inferring this condition from tests on register
2653 sizes.
2654
2655 2007-05-03 Kevin Buettner <kevinb@redhat.com>
2656
2657 * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address
2658 prior to allocating its location.
2659
2660 2007-05-02 Maciej W. Rozycki <macro@mips.com>
2661
2662 * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions
2663 based on mips_abi_regsize() whose result is known in advance.
2664 (mips_o64_push_dummy_call): Likewise.
2665
2666 2007-04-29 Ulrich Weigand <uweigand@de.ibm.com>
2667
2668 * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check.
2669 * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS.
2670
2671 * mips-linux-nat.c: Include "gregset.h".
2672 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move
2673 from mips-linux-tdep.c. Change parameter type to gdb_gregset_t.
2674 * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
2675 fill_fpregset): Move to mips-linux-nat.c.
2676
2677 * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies.
2678
2679 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
2680
2681 * regcache.c (deprecated_read_register_gen): Remove, inline ...
2682 (read_register): ... here.
2683 (deprecated_write_register_gen): Remove, inline ...
2684 (write_register): ... here.
2685 * regcache.h (deprecated_read_register_gen): Remove prototype.
2686 (deprecated_write_register_gen): Likewise.
2687
2688 * remote-sim.c (gdbsim_store_register): Replace call to
2689 deprecated_read_register_gen with regcache_cooked_read.
2690 * target.c (debug_print_register): Replace calls to
2691 deprecated_read_register_gen and read_register with
2692 regcache_cooked_read.
2693
2694 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
2695
2696 * hpux-thread.c (hpux_thread_store_registers): Use
2697 regcache_raw_collect, not regcache_raw_read.
2698 * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply,
2699 not regcache_raw_write.
2700
2701 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
2702
2703 * gdbarch.sh: Remove deprecated_register_byte.
2704 * gdbarch.c, gdbarch.h: Regenerate.
2705 * arch-utils.h (generic_register_size, generic_register_byte): Remove.
2706 * arch-utils.c (generic_register_size, generic_register_byte): Remove.
2707
2708 * regcache.h (regcache_valid_p): Make REGCACHE parameter const.
2709 * regcache.c (regcache_valid_p): Allow to query cooked registers in
2710 read-only register caches. Make REGCACHE parameter const.
2711 (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE.
2712
2713 * mi/mi-main.c (old_regs): Remove.
2714 (mi_setup_architecture_data, _initialize_mi_main): Remove.
2715 (register_changed_p): Reimplement to compare two register caches.
2716 (mi_cmd_data_list_changed_registers): Update caller.
2717 * mi/mi-main.h (mi_setup_architecture_data): Remove.
2718 * mi/mi-interp.c (mi_interpreter_init): Do not call
2719 mi_setup_architecture_data.
2720
2721 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
2722
2723 * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define,
2724 inline definition at the places the macros are used.
2725 * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise.
2726
2727 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com>
2728
2729 * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and
2730 "gdb_string.h".
2731 (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables.
2732 (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions.
2733 (rs6000_aix32_regset, rs6000_aix64_regset): New variables.
2734 (rs6000_aix_regset_from_core_section): New function.
2735 (rs6000_aix_init_osabi): Register it.
2736 (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and
2737 sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000.
2738 * rs6000-nat.c (CoreRegs): Do not define type.
2739 (fetch_core_registers, rs6000_core_fns): Remove.
2740 (_initialize_core_rs6000): Do not register it. Rename to ...
2741 (_initialize_rs6000_nat): ... this.
2742 * Makefile.in (rs6000-aix-tdep.o): Update dependencies.
2743
2744 2007-04-27 Kevin Buettner <kevinb@redhat.com>
2745
2746 * dwarf2expr.c (unsigned_address_type): Add forward declaration.
2747 (dwarf2_read_address): Sign extend return address as required by
2748 target architecture.
2749
2750 2007-04-27 Kevin Buettner <kevinb@redhat.com>
2751
2752 * solib-frv.c (lm_base): Bail out if the main executable has
2753 not been relocated.
2754
2755 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
2756
2757 * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
2758 of FPCR register in fpregset.
2759
2760 2007-04-27 Maciej W. Rozycki <macro@mips.com>
2761
2762 * Makefile.in (gdbtk-wrapper.o): Update dependencies.
2763 (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise.
2764
2765 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
2766
2767 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove.
2768 * rs6000-nat.c (rs6000_wait): New function.
2769 (_initialize_core_rs6000): Install it as to_wait target method.
2770 * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS.
2771
2772 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
2773
2774 * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove.
2775 * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK.
2776 * rs6000-nat.c (super_create_inferior): New variable.
2777 (rs6000_create_inferior): Make static. Adapt argument list. Call
2778 original version of create_inferior via super_create_inferior.
2779 (_initialize_core_rs6000): Install to_create_inferior target method.
2780
2781 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
2782
2783 * aix-thread.c (aix_thread_xfer_memory): Replace by ...
2784 (aix_thread_xfer_partial): ... this.
2785 (init_aix_thread_ops): Install to_xfer_partial instead
2786 of deprecated_xfer_memory target method.
2787
2788 * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o
2789 and inftarg.o, add inf-ptrace.o.
2790 * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS,
2791 CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove.
2792 * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h".
2793 (fetch_inferior_registers): Rename to ...
2794 (rs6000_fetch_inferior_registers): ... this. Make static.
2795 (store_inferior_registers): Rename to ...
2796 (rs6000_store_inferior_registers): ... this. Make static.
2797 (read_word, child_xfer_memory): Remove.
2798 (rs6000_xfer_partial): New function.
2799 (kernel_u_size): Remove.
2800 (_initialize_core_rs6000): Add inf_ptrace-based target.
2801 * Makefile.in (rs6000-nat.o): Update dependencies.
2802
2803 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
2804
2805 * inf-ptrace.c: Include "gdb_stdint.h".
2806 (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as
2807 intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3.
2808 (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t"
2809 before casting CORE_ADDR to PTRACE_TYPE_ARG3.
2810 (inf_ptrace_store_register): Likewise.
2811 * Makefile.in (inf-ptrace.o): Update dependencies.
2812
2813 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
2814
2815 * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules.
2816 * configure.tgt (rs6000-*-*): Likewise.
2817 * config/rs6000/aix4.mh: Delete file.
2818 * config/rs6000/aix4.mt: Delete file.
2819 * config/rs6000/rs6000.mh: Delete file.
2820 * config/rs6000/rs6000.mt: Delete file.
2821
2822 * config/powerpc/nm-aix.h: Delete file.
2823 * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h.
2824
2825 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
2826
2827 * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *".
2828 Remove obsolete part of comment.
2829 (store_regs_user_thread): Use uint32_t temporaries when calling
2830 fill_sprs32.
2831 (store_regs_kernel_thread): Likewise. Add assertion to verify
2832 correct size of struct ptsprs members.
2833 (aix_thread_xfer_memory): Fix type of myaddr.
2834 (aix_thread_extra_thread_info): Fix compiler warning.
2835 * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *".
2836 (fetch_register, store_register): Adapt callers.
2837
2838 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com>
2839
2840 * vec.h (vec_free): Rename to vec_free_. Adapt users.
2841
2842 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
2843
2844 * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h",
2845 and "regcache.h".
2846 (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New.
2847 (alpha_linux_gregset, alpha_linux_fpregset): New variables.
2848 (alpha_linux_regset_from_core_section): New function.
2849 (alpha_linux_init_abi): Install it.
2850 * alpha-linux-nat.c: Do not include "gdbcore.h". Include
2851 "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>,
2852 <sys/procfs.h>, and "gregset.h".
2853 (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR):
2854 Move from config/alpha/nm-linux.h.
2855 (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy
2856 from alpha-nat.c.
2857 (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c.
2858 * alpha-nat.c: Remove #ifdef __linux__ section.
2859 (fetch_elf_core_registers, alpha_elf_core_fns): Remove.
2860 (_initialize_core_alpha): Do not register alpha_elf_core_fns.
2861 (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally.
2862 (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h.
2863 * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h.
2864 (NATDEPFILES): Remove alpha-nat.o.
2865 * config/alpha/nm-linux.h: Delete file.
2866 * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c.
2867 * Makefile.in (alpha-linux-nat.o): Update dependencies.
2868 (alpha-linux-tdep.o): Likewise.
2869
2870 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
2871
2872 * mips-linux-nat.c: No longer include "gdbcore.h".
2873 (mips_linux_register_addr): Move from mips-linux-tdep.c.
2874 (mips64_linux_register_addr): Likewise.
2875 (mips_linux_register_u_offset): Call mips_linux_register_addr or
2876 mips64_linux_register_addr instead of register_addr.
2877 * mips-linux-tdep.c (mips_linux_register_addr,
2878 mips64_linux_register_addr): Move to mips-linux-nat.c.
2879 (register_addr): Remove.
2880 (register_addr_data, init_register_addr_data): Remove.
2881 (_initialize_mips_linux_tdep): Do not initialize register_addr_data.
2882 (set_mips_linux_register_addr): Remove.
2883 (mips_linux_init_abi): Do not call set_mips_linux_register_addr.
2884 * Makefile.in (mips-linux-nat.o): Update dependencies.
2885
2886 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
2887
2888 * linux-nat.c (linux_register_u_offset): Remove.
2889 (linux_target_install_ops): New function.
2890 (linux_target): Use it.
2891 (linux_trad_target): New function.
2892 * linux-nat.h (linux_trad_target): Declare.
2893
2894 * alpha-linux-nat.c: Include "gdbcore.h".
2895 (alpha_linux_register_u_offset): New function.
2896 (_initialize_alpha_linux_nat): Use linux_trad_target.
2897
2898 * mips-linux-nat.c: Include "gdbcore.h".
2899 (mips_linux_register_u_offset): New function.
2900 (_initialize_mips_linux_nat): Use linux_trad_target.
2901
2902 * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2903 * config/arm/nm-linux.h: Delete file.
2904
2905 * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove.
2906 * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove.
2907
2908 * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2909 * config/ia64/nm-linux.h: Delete file.
2910
2911 * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2912 * config/m32r/nm-linux.h: Delete file.
2913
2914 * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2915 * config/m68k/nm-linux.h: Delete file.
2916
2917 * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2918 * config/pa/nm-linux.h: Delete file.
2919
2920 * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2921 * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise.
2922 * config/powerpc/nm-linux.h: Delete file.
2923
2924 * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h.
2925 * config/s390/nm-linux.h: Delete file.
2926
2927 * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h.
2928 * config/sparc/linux64.mh (NAT_FILE): Likewise.
2929 * config/sparc/nm-linux.h: Delete file.
2930
2931 * Makefile.in (alpha-linux-nat.o): Update dependencies.
2932 (mips-linux-nat.o): Likewise.
2933
2934 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com>
2935
2936 * core-aout.c: Delete file.
2937 * Makefile.in (ALLDEPFILES): Remove core-aout.c.
2938 (core-aout.o): Delete rule.
2939 * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove.
2940
2941 * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove.
2942
2943 * arm-linux-nat.c (arm_linux_kernel_u_size): Remove.
2944 * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE,
2945 KERNEL_U_ADDR): Remove.
2946
2947 * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove.
2948 (cannot_fetch_register, cannot_store_register): Remove.
2949 (fetch_register): Inline cannot_fetch_register and register_addr.
2950 (store_register): Inline cannot_store_register and register_addr.
2951 * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o.
2952 * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
2953 REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER):
2954 Remove.
2955
2956 * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove.
2957 (fetch_register): Inline register_addr.
2958 (store_register): Inline register_addr.
2959 * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o.
2960 * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR,
2961 U_REGS_OFFSET, REGISTER_U_ADDR): Remove.
2962
2963 * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove.
2964 * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET,
2965 REGISTER_U_ADDR): Remove.
2966
2967 * hppa-linux-nat.c (register_addr): Rename to ...
2968 (hppa_linux_register_addr): ... this. Make static.
2969 (fetch_register, store_register): Adapt callers.
2970 * config/pa/nm-linux.h (U_REGS_OFFSET): Remove.
2971
2972 * ppc-linux-nat.c (kernel_u_size): Remove.
2973 * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove.
2974
2975 * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static.
2976 * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o.
2977 (NAT_FILE): Remove.
2978 * config/vax/nm-vax.h: Delete file.
2979
2980 2007-04-20 Mark Shinwell <shinwell@codesourcery.com>
2981
2982 * MAINTAINERS (Write After Approval): Add myself.
2983
2984 2007-04-20 Mark Shinwell <shinwell@codesourcery.com>
2985
2986 * Makefile.in: Adjust dependencies of m68klinux-tdep.c.
2987 * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New.
2988 (m68k_linux_sigcontext_reg_offset): Fix typo.
2989 (target_is_uclinux): New.
2990 (m68k_linux_inferior_created): New.
2991 (m68k_linux_get_sigtramp_info): Check for uClinux or
2992 normal Linux. Use m68k_uclinux_sigcontext_reg_offset for
2993 uClinux.
2994 (_initialize_m68k_linux_tdep): Register
2995 m68k_linux_inferior_created.
2996
2997 2007-04-19 Pedro Alves <pedro_alves@portugalmail.pt>
2998
2999 * win32-nat.c (win32_detach): Remove delete_command call.
3000 Resume inferior with win32_resume instead of win32_continue.
3001
3002 2007-04-19 Jerome Guitton <guitton@adacore.com>
3003
3004 * ser-mingw.c (fd_is_file): New function.
3005 (file_select_thread): New function.
3006 (ser_console_wait_handle): Add special handling for files.
3007
3008 2007-04-18 Denis Pilat <denis.pilat@st.com>
3009
3010 * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type
3011 when missing from DW_TAG_subrange_type. Remove the handling of null
3012 return from die_type.
3013
3014 2007-04-18 Maciej W. Rozycki <macro@mips.com>
3015
3016 * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last
3017 change to rearrange some brackets.
3018 (mips_n32n64_push_dummy_call): Likewise.
3019 (mips_o32_push_dummy_call): Likewise.
3020 (mips_o64_push_dummy_call): Likewise.
3021
3022 2007-04-18 Denis Pilat <denis.pilat@st.com>
3023
3024 * infcmd.c (post_create_inferior): Start with a call to
3025 target_terminal_ours.
3026
3027 2007-04-17 Maciej W. Rozycki <macro@mips.com>
3028
3029 * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some
3030 brackets.
3031 (mips_n32n64_push_dummy_call): Likewise. Reformat some
3032 expressions.
3033 (mips_o32_push_dummy_call): Likewise.
3034 (mips_o64_push_dummy_call): Likewise.
3035
3036 2007-04-17 Maciej W. Rozycki <macro@mips.com>
3037
3038 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
3039 comment.
3040
3041 2007-04-17 Maciej W. Rozycki <macro@mips.com>
3042
3043 * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a
3044 comment.
3045 (mips_o32_push_dummy_call): Likewise.
3046
3047 2007-04-17 Andreas Schwab <schwab@suse.de>
3048
3049 * symtab.c (skip_prologue_using_sal): Allow the end of the prologue
3050 sal to be bigger than the end of the function.
3051
3052 2007-04-17 Maciej W. Rozycki <macro@mips.com>
3053 Nigel Stephens <nigel@mips.com>
3054
3055 * mips-tdep.c (mips_o32_push_dummy_call): Take account of
3056 argument alignment requirements when calculating stack space
3057 required. When aligning an arg register to eight bytes
3058 boundary, align stack_offset too. Write floating-point
3059 arguments to the appropriate integer register if need go there.
3060 (mips_o64_push_dummy_call): Likewise.
3061
3062 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
3063
3064 * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and
3065 "sig" arguments, add "regcache" argument.
3066 * gdbarch.c, gdbarch.h: Regenerate.
3067
3068 * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments.
3069 (handle_inferior_event): Call remove_single_step_breakpoints directly
3070 instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints.
3071
3072 * alpha-tdep.c (alpha_software_single_step): Update argument list.
3073 Remove handling of !insert_breakpoints_p case.
3074 * arm-tdep.c (arm_software_single_step): Likewise.
3075 * cris-tdep.c (cris_software_single_step): Likewise.
3076 * mips-tdep.c (mips_software_single_step): Likewise.
3077 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
3078 * sparc-tdep.c (sparc_software_single_step): Likewise.
3079 * spu-tdep.c (spu_software_single_step): Likewise.
3080
3081 * alpha-tdep.h (alpha_software_single_step): Update prototype.
3082 * mips-tdep.h (mips_software_single_step): Likewise.
3083 * rs6000-tdep.h (rs6000_software_single_step): Likewise.
3084 * sparc-tdep.h (sparc_software_single_step): Likewise.
3085
3086 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com>
3087
3088 * alpha-tdep.c (alpha_software_single_step): Do not call write_pc
3089 when removing single-step breakpoints.
3090
3091 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
3092
3093 * varobj.h (varobj_set_frozen): New
3094 (varobj_get_frozen): New.
3095 (varobj_update): New parameter explicit.
3096 * varobj.c (struct varobj): New fields frozen
3097 and not_fetched.
3098 (varobj_set_frozen, varobj_get_frozen): New.
3099 (install_new_value): Don't fetch values for
3100 frozen variable object, or children thereof. Allow
3101 a frozen variable object to have non-fetched value.
3102 (varobj_update): Allow updating child variables.
3103 Don't traverse frozen children.
3104 (new_variable): Initialize the frozen field.
3105 (c_value_of_variable): Return NULL for frozen
3106 variable without any value yet.
3107 * mi/mi-cmd-var.c (varobj_update_one): New parameter
3108 'explicit'.
3109 (mi_cmd_var_create): Output the 'frozen' field,
3110 as soon as testsuite is adjusted to expect that field.
3111 (mi_cmd_var_set_frozen): New.
3112 (mi_cmd_var_update): Pass the 'explicit' parameter to
3113 varobj_update_one.
3114 * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'.
3115 * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare.
3116
3117 2007-04-13 Paul Brook <paul@codesourcery.com>
3118
3119 * target-descriptions.c (tdesc_named_type): Add ieee_single and
3120 ieee_double.
3121 * doc/gdb.texinfo: Document ieee_single and ieee_double target types.
3122
3123 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3124
3125 * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c,
3126 remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h,
3127 scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c,
3128 ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete.
3129 * Makefile.in: Remove references to deleted files.
3130 * README: Do not mention deleted ROM monitor interfaces.
3131 * defs.h (enum language): Delete language_scm.
3132 * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING.
3133 (dump_subexp_body_standard): Likewise.
3134 * parse.c (operator_length_standard): Likewise.
3135 * expression.h (enum exp_opcode): Delete OP_EXPRSTRING.
3136 * remote-mips.c: Do not include remote-utils.h.
3137 * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug
3138 throughout.
3139 * value.c: Do not include scm-lang.h.
3140 (unpack_long): Delete scm_unpack call.
3141 * config/h8300/h8300.mt, config/mips/embed.mt,
3142 config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt,
3143 config/sh/embed.mt, config/sh/linux.mt: Remove references to
3144 deleted files.
3145 * NEWS: Mention removed files.
3146
3147 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3148
3149 * symfile.c (add_psymbol_with_dem_name_to_list): Remove.
3150 * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype.
3151
3152 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3153
3154 * NEWS: Mention removal of HP aCC support.
3155
3156 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3157
3158 * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the
3159 first entry for static executables.
3160 (breakpoint_addr): Delete unused variable.
3161 (elf_locate_base): Search for _r_debug in static executables.
3162 (enable_break): Do not set breakpoint_addr. Scan solib_break_names
3163 also.
3164
3165 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3166
3167 * breakpoint.c (update_breakpoints_after_exec, print_it_typical)
3168 (bpstat_what, print_one_breakpoint, allocate_bp_location)
3169 (mention): Remove bp_through_sigtramp support.
3170 * breakpoint.h (enum bptype): Remove bp_through_sigtramp.
3171
3172 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3173
3174 * breakpoint.c (bpstat_what): Give step-resume higher priority than
3175 shlib events.
3176
3177 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com>
3178
3179 * infrun.c: Doc fixes.
3180 (handle_inferior_event): Clarify debug message.
3181 (insert_step_resume_breakpoint_at_sal): Print a debug message.
3182
3183 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
3184
3185 * configure.tgt (arm-*-nto*, sh-*-nto*): Remove.
3186
3187 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com>
3188
3189 * config/m68k/tm-monitor.h: Delete file.
3190 * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove.
3191 * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break
3192 call moved to ...
3193 * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ...
3194 * m68klinux-tdep.c (m68k_linux_init_abi): ... here.
3195
3196 2007-04-12 Luis Machado <luisgpm@br.ibm.com>
3197
3198 * gdbarch.sh (software_single_step): Change the return type
3199 from void to int and reformatted some comments to <= 80
3200 columns.
3201 * gdbarch.c, gdbarch.h: Regenerated.
3202 * alpha-tdep.c (alpha_software_single_step): Likewise.
3203 * alpha-tdep.h (alpha_software_single_step): Likewise.
3204 * arm-tdep.c (arm_software_single_step): Likewise.
3205 * cris-tdep.c (cris_software_single_step): Likewise.
3206 * mips-tdep.c (mips_software_single_step): Likewise.
3207 * mips-tdep.h (mips_software_single_step): Likewise.
3208 * rs6000-tdep.c (rs6000_software_single_step): Likewise.
3209 * rs6000-tdep.h (rs6000_software_single_step): Likewise.
3210 * sparc-tdep.c (sparc_software_single_step): Likewise.
3211 * sparc-tdep.h (sparc_software_single_step): Likewise.
3212 * spu-tdep.c (spu_software_single_step): Likewise.
3213 * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP
3214 and act accordingly.
3215
3216 2007-04-11 Steve Ellcey <sje@cup.hp.com>
3217
3218 * configure.ac (build_warnings): Add -Wno-char-subscripts.
3219 * configure: Regenerate.
3220 * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts.
3221
3222 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3223
3224 * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'.
3225
3226 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3227
3228 * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New
3229 macros.
3230 (TYPE_IS_OPAQUE): Empty vs. opaque structures are now
3231 distinct on the TYPE_STUB_SUPPORTED debug targets.
3232 * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED.
3233
3234 2007-04-11 Joel Brobecker <brobecker@adacore.com>
3235
3236 * sparc-tdep.c (X_RS2): New macro.
3237 (sparc_skip_stack_check): New function.
3238 (sparc_analyze_prologue): Adjust PC past stack probing
3239 sequence if necessary.
3240
3241 2007-04-10 Andreas Schwab <schwab@suse.de>
3242
3243 * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR
3244 register.
3245
3246 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
3247
3248 * breakpoint.c (gdb_breakpoint_query): Really return an
3249 enum gdb_rc.
3250 (gdb_breakpoint): Likewise.
3251 * thread.c (gdb_list_thread_ids): Likewise.
3252 (gdb_thread_select): Likewise.
3253 * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc.
3254 (mi_cmd_thread_list_ids): Remove bogus initialization.
3255
3256 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
3257
3258 * Makefile.in (SFILES): Remove hpacc-abi.c.
3259 (COMMON_OBS): Remove hpacc-abi.o.
3260 (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE).
3261 (hpacc-abi.o, hpread.o): Delete rules.
3262 * somread.c: Delete extern declarations from hpread.c.
3263 (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs.
3264 (som_symfile_finish): Do not call hpread_symfile_finish.
3265 (som_symfile_init): Do not call hpread_symfile_init.
3266 * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o.
3267 * config/pa/hppahpux.mt (TDEPFILES): Likewise.
3268 * hpacc-abi.c, hpread.c: Deleted.
3269
3270 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com>
3271
3272 * solib-svr4.c (enable_break): Simplify return value.
3273 (svr4_solib_create_inferior_hook): Do not warn if enable_break fails.
3274
3275 2007-04-10 Andreas Schwab <schwab@suse.de>
3276
3277 * solib-svr4.h (struct link_map_offsets): Remove l_addr_size,
3278 l_ld_size, l_next_size, l_prev_size, l_name_size.
3279
3280 * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address
3281 to extract addresses from link map.
3282 (LM_DYNAMIC_FROM_LINK_MAP): Likewise.
3283 (LM_NEXT): Likewise.
3284 (LM_NAME): Likewise.
3285 (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise.
3286 (elf_locate_base): Likewise.
3287 (open_symbol_file_object): Likewise.
3288 (svr4_fetch_objfile_link_map): Likewise.
3289 (SOLIB_EXTRACT_ADDRESS): Remove unused macro.
3290 (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of
3291 l_ld_size.
3292 (svr4_ilp32_fetch_link_map_offsets): Don't set removed members.
3293 (svr4_lp64_fetch_link_map_offsets): Likewise.
3294
3295 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set
3296 removed members. Set l_ld_offset to -1 if not present.
3297
3298 2007-04-08 Vladimir Prus <vladimir@codesourcery.com>
3299
3300 Pass stderr of program run with "target remote |"
3301 via gdb_stderr.
3302 * serial.c (serial_open): Set error_fd to -1.
3303 * serial.h (struct serial): New field error_fd.
3304 (struct serial_opts): New field avail.
3305 * ser-pipe.c (pipe_open): Create another pair
3306 of sockets. Pass stderr to gdb.
3307 * ser-mingw.c (pipe_windows_open): Pass
3308 PEX_STDERR_TO_PIPE to pex_run. Initialize
3309 sd->error_fd.
3310 (pipe_avail): New.
3311 (_initialize_ser_windows): Hook pipe_avail.
3312 * ser-base.c (generic_readchar): Check if there's
3313 anything in stderr channel and route that to gdb_stderr.
3314
3315 2007-04-03 Pedro Alves <pedro_alves@portugalmail.pt>
3316
3317 * dbxread.c (read_ofile_symtab): Move current_objfile
3318 clearing to after end_stabs.
3319
3320 2007-04-01 Andreas Schwab <schwab@suse.de>
3321
3322 * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter
3323 gdbarch instead of current_gdbarch.
3324
3325 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
3326
3327 * varobj.c (varobj_create): Keep varobj value
3328 NULL when evaluating the type.
3329
3330 2007-03-31 Pedro Alves <pedro_alves@portugalmail.pt>
3331
3332 * NEWS: Mention new Windows CE support.
3333
3334 2007-03-30 Pedro Alves <pedro_alves@portugalmail.pt>
3335
3336 * configure.tgt: Move mips*-*-pe and sh*-*-pe to
3337 the obsoletion stanza.
3338 * NEWS: Mention deleted targets.
3339
3340 * config/sh/tm-wince.h: Remove.
3341 * config/sh/wince.mt: Remove.
3342 * config/mips/tm-wince.h: Remove.
3343 * config/mips/wince.mt: Remove.
3344
3345 * wince.c: Remove.
3346 * wince-stub.c: Remove.
3347 * wince-stub.h: Remove.
3348 * Makefile.in (wince.o): Remove rule.
3349 (wince-stub.o): Likewise.
3350
3351 * mips-tdep.c (mips_next_pc): Make static.
3352 * mips-tdep.h (mips_next_pc): Remove declaration.
3353 * arm-tdep.c (arm_pc_is_thumb): Make static.
3354 (thumb_get_next_pc): Likewise.
3355 (arm_get_next_pc): Likewise.
3356 * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration.
3357 (arm_pc_is_thumb): Likewise.
3358 (thumb_get_next_pc): Likewise.
3359 (arm_get_next_pc): Likewise.
3360
3361 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
3362
3363 * MAINTAINERS: Remove d10v entry.
3364 * Makefile.in (SFILES): Remove dwarfread.c.
3365 (COMMON_OBS): Remove dwarfread.o.
3366 (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o)
3367 (remote-est.o, rom68k-rom.o): Delete.
3368 * NEWS: Mention removal of d10v, target abug, target cpu32bug,
3369 target est, target rom68k, and DWARF 1.
3370 * configure.tgt: Mark d10v as removed.
3371 * dwarf2read.c: Doc update.
3372 * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset,
3373 and lnsize.
3374 (elf_locate_sections): Do not set them.
3375 (elf_symfile_read): Do not call dwarf_build_psymtabs.
3376 * symfile.h (dwarf_build_psymtabs): Delete prototype.
3377 * config/m68k/monitor.mt (TDEPFILES): Prune.
3378 * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c,
3379 remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete.
3380
3381 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
3382
3383 * doublest.c (convert_floatformat_to_doublest): Use
3384 floatformat_classify.
3385 (floatformat_is_nan): Rename to...
3386 (floatformat_classify): ...this. Return more information.
3387 * doublest.h (enum float_kind): New.
3388 (floatformat_is_nan): Replace prototype...
3389 (floatformat_classify): ...with this one.
3390 * valprint.c (print_floating): Use floatformat_classify. Handle
3391 infinity.
3392
3393 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
3394
3395 * README: Mention ISO C library requirement.
3396
3397 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
3398
3399 * Makefile.in (SFILES): Remove nlmread.c.
3400 (COMMON_OBS): Remove nlmread.o.
3401 (nlmread.o): Delete rule.
3402 * README: Delete reference to remote-st.c.
3403 * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete.
3404 * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and
3405 GDB_OSABI_LYNXOS.
3406 * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete.
3407 (_initialize_i386_tdep): Do not reference them.
3408 * nlmread.c: Delete file.
3409 * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS.
3410 * target.c: Doc update.
3411 * thread.c: Delete commented include.
3412 * config/alpha/tm-alpha.h: Doc update.
3413
3414 2007-03-30 Chris Dearman <chris@mips.com>
3415
3416 * utils.c (string_to_core_addr): Comment typo.
3417
3418 2007-03-30 Chris Dearman <chris@mips.com>
3419
3420 * mips-tdep.c: Comment typo.
3421
3422 2007-03-29 Ulrich Weigand <uweigand@de.ibm.com>
3423
3424 * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove.
3425 * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
3426 * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove.
3427 * config/powerpc/nm-ppc64-linux.h: Remove file.
3428 * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h.
3429 * inferior.h (PTRACE_ARG3_TYPE): Do not define.
3430 (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3.
3431 * infptrace.c (call_ptrace): Likewise.
3432 * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define.
3433 (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3
3434 and PTRACE_XFER_TYPE by PTRACE_TYPE_RET.
3435 (store_register): Likewise.
3436
3437 2007-03-29 Joel Brobecker <brobecker@adacore.com>
3438
3439 * Makefile.in (varobj.o): Add missing dependency.
3440
3441 2007-03-29 Michael Snyder <msnyder@access-company.com>
3442
3443 * MAINTAINERS: Update my email address.
3444
3445 2007-03-29 Joel Brobecker <brobecker@adacore.com>
3446
3447 Add support for exception handling with multiple versions of
3448 the Ada runtime:
3449 * ada-lang.c: Update general comments on how Ada exception catchpoints
3450 are implemented.
3451 (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name)
3452 (__gnat_raise_nodefer_with_msg): Delete.
3453 (ada_unhandled_exception_name_addr_ftype): New type.
3454 (exception_support_info): New type.
3455 (ada_unhandled_exception_name_addr): Add forward declaration.
3456 (ada_unhandled_exception_name_addr_from_raise): Likewise.
3457 (default_exception_support_info): New constant.
3458 (exception_support_info_fallback): Likewise.
3459 (exception_info): New global variable.
3460 (ada_exception_support_info_sniffer): New function.
3461 (ada_executable_changed_observer): Likewise.
3462 (ada_unhandled_exception_name_addr_from_raise): Renamed from
3463 ada_unhandled_exception_name_addr.
3464 (ada_unhandled_exception_name_addr): Reimplement to match the
3465 latest Ada runtime implementation.
3466 (error_breakpoint_runtime_sym_not_found): Delete.
3467 (ada_exception_sym_name): Get the exception sym name from
3468 exception_info rather than hardcoding it.
3469 (ada_exception_sal): Add call to ada_exception_support_info_sniffer.
3470 Update error handling.
3471 * Makefile.in (ada-lang.o): Add dependency on observer.h.
3472
3473 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
3474
3475 * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
3476 (remote-st.o, uw-thread.o): Delete.
3477 (HFILES_NO_SRCDIR, ALLDEPFILES): Update.
3478 * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*,
3479 i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*,
3480 i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*,
3481 i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*,
3482 i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and
3483 rs6000-*-lynxos* to an obsoletion stanza.
3484 * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*,
3485 i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*,
3486 and rs6000-*-lynxos* to an obsoletion stanza. Do not mention
3487 i[34567]86-*-netware*.
3488 * NEWS: Mention deleted targets.
3489
3490 * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c,
3491 uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh,
3492 config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh,
3493 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
3494 config/i386/ncr3000.mh, config/i386/ncr3000.mt,
3495 config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h,
3496 config/i386/nm-i386sco5.h, config/i386/nm-i386v.h,
3497 config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h,
3498 config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt,
3499 config/m68k/tm-cisco.h, config/m68k/tm-os68k.h,
3500 config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt,
3501 config/rs6000/tm-rs6000ly.h: Delete files.
3502
3503 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com>
3504
3505 * defs.h (deprecated_registers_changed_hook): Delete declaration.
3506 * interps.c (clear_interpreter_hooks): Do not clear
3507 deprecated_registers_changed_hook.
3508 * regcache.c (registers_changed): Do not call it.
3509 * top.c (deprecated_registers_changed_hook): Do not define it.
3510 * mi/mi-interp.c (mi_command_loop): Do not clear it.
3511 * tui/tui-hooks.c (tui_install_hooks): Do not install it.
3512 (tui_remove_hooks): Do not remove it.
3513 (tui_selected_frame_level_changed_hook): Check for negative level.
3514 Use get_selected_frame.
3515 (tui_registers_changed_hook): Deleted.
3516
3517 2007-03-29 Joel Brobecker <brobecker@adacore.com>
3518
3519 * stabsread.c (add_undefined_type): Add extra parameter.
3520 Now handles nameless types separately.
3521 (struct nat): New type.
3522 (noname_undefs, noname_undefs_allocated, noname_undefs_length):
3523 New static variables.
3524 (read_type): Update calls to add_undefined_type.
3525 (add_undefined_type_noname): New function.
3526 (add_undefined_type_1): Renames from add_undefined_type.
3527 (cleanup_undefined_types_noname): New function.
3528 (cleanup_undefined_types_1): Renames cleanup_undefined_types.
3529 (cleanup_undefined_types): New handles nameless types separately.
3530 (_initialize_stabsread): Initialize our new static constants.
3531
3532 2007-03-29 Denis Pilat <denis.pilat@st.com>
3533
3534 * configure.ac: Test for signal.h.
3535 * configure, config.in: Regenerate.
3536
3537 2007-03-29 Denis Pilat <denis.pilat@st.com>
3538
3539 * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output.
3540 * infrun.c (normal_stop): Remove MI specific frame printing treatment.
3541
3542 2007-03-29 Pedro Alves <pedro_alves@portugalmail.pt>
3543
3544 * arm-wince-tdep.c: New.
3545 * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h.
3546 (MT_CFLAGS): Delete.
3547 (TM_CLIBS): Delete.
3548 (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o,
3549 solib-legacy.o, solib-svr4.o, and remove wince.o.
3550 * configure.tgt (arm*-*-mingw32ce*): Add.
3551 * signals/signals.c [HAVE_SIGNAL_H]: Check.
3552 (do_target_signal_to_host): Silence 'not used' warning.
3553 * config/arm/tm-wince.h: Remove.
3554
3555 2007-03-28 Ulrich Weigand <uweigand@de.ibm.com>
3556
3557 * arch-utils.c (legacy_pc_in_sigtramp): Remove.
3558 * arch-utils.h (legacy_pc_in_sigtramp): Remove.
3559
3560 * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove.
3561 * config/ia64/tm-linux.h: Remove file.
3562 * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback.
3563 * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of
3564 legacy_pc_in_sigtramp.
3565 (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp.
3566 * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static.
3567 Remove func_name argument.
3568 (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp.
3569
3570 * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine.
3571 * target.c (update_current_target): Add to_have_steppable_watchpoint.
3572 * target.h (struct target_ops): Add to_have_steppable_watchpoint.
3573 (HAVE_STEPPABLE_WATCHPOINT): Define.
3574
3575 * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o.
3576 * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET,
3577 CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER,
3578 TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT,
3579 STOPPED_BY_WATCHPOINT, target_stopped_data_address,
3580 target_insert_watchpoint, target_remove_watchpoint): Remove.
3581 (FETCH_INFERIOR_REGISTERS): Define.
3582 * ia64-linux-nat.c (ia64_register_addr): Make static.
3583 (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise.
3584 (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument.
3585 (ia64_linux_remove_watchpoint): Likewise. Add type argument.
3586 (ia64_linux_stopped_data_address): Make static. Add target_ops.
3587 (ia64_linux_stopped_by_watchpoint): Make static.
3588 (ia64_linux_can_use_hw_breakpoint): New function.
3589 (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise.
3590 (ia64_linux_store_register, ia64_linux_store_registers): Likewise.
3591 (_initialize_ia64_linux_nat): Install register and watchpoint ops.
3592
3593 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
3594
3595 * linespec.c: Include language.h.
3596 (find_methods): Add language parameter. Call
3597 lookup_symbol_in_language. Pass language down.
3598 (add_matching_methods): Likewise. Call
3599 lookup_symbol_in_language.
3600 (add_constructors): Likewise.
3601 (find_method): Pass sym_class to collect_methods.
3602 (collect_methods): Add sym_class parameter. Pass language
3603 down.
3604 * symtab.c (lookup_symbol): Rename to ...
3605 (lookup_symbol_in_language): ... this. Add language
3606 parameter. Use passed language instead of current_language.
3607 (lookup_symbol): New as wrapper around
3608 lookup_symbol_in_language.
3609 (lookup_symbol_aux): Add language parameter. Use passed
3610 language instead of current_language.
3611 (search_symbols): Indent.
3612 * symtab.h (enum language): Forward declare.
3613 (lookup_symbol_in_language): Declare.
3614 (lookup_symbol): Update description.
3615 * ada-lang.h (lookup_symbol_in_language): Remove declaration.
3616 * ada-lang.c (restore_language): Remove.
3617 (lookup_symbol_in_language): Remove.
3618
3619 2007-03-27 Pedro Alves <pedro_alves@portugalmail.pt>
3620
3621 * breakpoint.c (bpstat_num): Add int *num parameter.
3622 * breakpoint.h (bpstat_num): Likewise.
3623 * infcmd.c (continue_command): Adjust to new bpstat_num
3624 interface.
3625 (program_info): Likewise.
3626
3627 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
3628
3629 * config/sh/tm-sh.h: Remove file.
3630 * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove.
3631 * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove.
3632 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove.
3633 * config/sh/tm-wince.h: Do not include "sh/tm-sh.h".
3634
3635 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com>
3636
3637 * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT,
3638 DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove.
3639 * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT,
3640 DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT.
3641 * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint
3642 sequence if target_shortname is "remote".
3643
3644 2007-03-27 Anton Blanchard <anton@samba.org>
3645
3646 * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset
3647 instead of wordsize when looking for the LR in a stack frame.
3648
3649 2007-03-27 Andreas Schwab <schwab@suse.de>
3650 Daniel Jacobowitz <dan@codesourcery.com>
3651
3652 * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to...
3653 (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p
3654 argument. Update all callers.
3655 (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum.
3656 (dwarf2_frame_set_eh_frame_regnum): Rename to...
3657 (dwarf2_frame_set_adjust_regnum): ...this. Update argument type.
3658 * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to...
3659 (dwarf2_frame_set_adjust_regnum): ...this.
3660 (dwarf2_frame_eh_frame_regnum): Delete prototype.
3661 * rs6000-tdep.c: Include "dwarf2-frame.h".
3662 (rs6000_adjust_frame_regnum): Define.
3663 (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder.
3664 Register rs6000_adjust_frame_regnum.
3665
3666 * Makefile.in (rs6000-tdep.o): Update dependencies.
3667
3668 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
3669
3670 * Makefile.in: Add support for a "pdf" target.
3671
3672 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
3673
3674 * amd64-tdep.c (amd64_init_frame_cache): New function.
3675 (amd64_alloc_frame_cache, amd64_skip_prologue): Use it.
3676
3677 2007-03-26 Nigel Stephens <nigel@mips.com>
3678 Maciej W. Rozycki <macro@mips.com>
3679
3680 * ui-out.c (ui_out_field_core_addr): Truncate address to
3681 TARGET_ADDR_BIT size before printing.
3682
3683 2007-03-22 Nigel Stephens <nigel@mips.com>
3684 Maciej W. Rozycki <macro@mips.com>
3685
3686 * remote-mips.c (mips_xfer_memory): Update prototype.
3687
3688 2007-03-22 Joel Brobecker <brobecker@adacore.com>
3689
3690 * symfile.h: #include "symtab.h"
3691
3692 2007-03-22 Denis Pilat <denis.pilat@st.com>
3693
3694 * utils.c (pagination_on_command, pagination_off_command):
3695 Remove useless prototypes.
3696
3697 2007-03-21 Pierre Muller <muller@ics.u-strasbg.fr>
3698
3699 Fix PR pascal/2232.
3700 * p-valprint.c (pascal_object_print_value): Use type_name_no_tag
3701 instead of TYPE_NAME for object base class name.
3702
3703
3704 2007-03-19 Kevin Buettner <kevinb@redhat.com>
3705
3706 * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
3707 Specify frame type in calls to frame_func_unwind().
3708
3709 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
3710
3711 * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
3712 (rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
3713 (refine_prologue_limit): Delete.
3714 (skip_prologue): Don't call it. Use extract_unsigned_integer.
3715 Assume lim_pc is set. Correct check for incomplete prologues.
3716 Do not skip clobbers of the frame pointer.
3717 * symtab.c (skip_prologue_using_sal): Fail if there is only one
3718 sal.
3719
3720 2007-03-13 Nathan Froyd <froydnj@codesourcery.com>
3721
3722 * frame.c (frame_pop): Check to see whether there's a frame to
3723 which we can pop first.
3724
3725 2007-03-13 Nathan Froyd <froydnj@codesourcery.com>
3726
3727 * MAINTAINERS (Write After Approval): Add myself.
3728
3729 2007-03-09 Markus Deuling <deuling@de.ibm.com>
3730
3731 * infrun.c (breakpoints_failed): Remove unnecessary variable.
3732 (handle_inferior_event): Remove unnecessary braces.
3733 * breakpoint.c (bpstat_what): Remove wrong comment.
3734
3735 2007-03-09 Ulrich Weigand <uweigand@de.ibm.com>
3736
3737 * spu-tdep.c (spu_in_function_epilogue_p): New function.
3738 (spu_gdbarch_init): Install it.
3739
3740 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
3741
3742 * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported
3743 object types, not 0.
3744
3745 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
3746
3747 * spu-tdep.c (spu_frame_align): New function.
3748 (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK.
3749
3750 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
3751
3752 * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit.
3753 (spu_software_single_step): Likewise.
3754 (spu_read_pc, spu_write_pc): New functions.
3755 (spu_gdbarch_init): Install them.
3756
3757 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com>
3758
3759 * cli/cli-dump.c (struct callback_data): load_offset needs to
3760 have signed long type.
3761
3762 2007-03-07 Joel Brobecker <brobecker@adacore.com>
3763
3764 * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer):
3765 Revert the previous change that had some unexpected side-effects
3766 on mips32.
3767 (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper
3768 function to get the address of the calling instruction.
3769
3770 2007-03-07 Denis Pilat <denis.pilat@st.com>
3771
3772 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
3773 get_selected_frame by deprecated_safe_get_selected_frame.
3774
3775 2007-03-02 Mark Kettenis <kettenis@gnu.org>
3776
3777 * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
3778 "gdb_string.h". Don't include "nbsd-tdep.h".
3779 (SIZEOF_STRUCT_REG): Remove.
3780 (SHNBSD_SIZEOF_GREGS): New.
3781 (shnbsd_supply_gregset, shnbsd_collect_gregset)
3782 (shnbsd_regset_from_core_section): New functions.
3783 (fetch_core_registers, fetch_elfcore_registers): Remove functions.
3784 (shnbsd_supply_reg, shnbsd_fill_reg): Simply call
3785 shnbsd_supply_gregset, shnbsd_collect_gregset.
3786 (shnbsd_gregset): New variable.
3787 (shnbsd_init_abi): Set regset_from_core_section.
3788 (GDB_OSABI_NETBSD_CORE): New define.
3789 (shnbsd_core_osabi_sniffer): New function.
3790 (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer.
3791 * Makefile.in (shnbsd-tdep.o): Update dependencies.
3792 * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove
3793 nbsd-tdep.o.
3794 * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o.
3795
3796 2007-02-28 Joel Brobecker <brobecker@adacore.com>
3797
3798 * gdbtypes.c (replace_type): Fix typo that caused us to not update
3799 length of the types referenced by the new type CV ring.
3800
3801 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
3802
3803 * frame.c (frame_pop, frame_observer_target_changed): Call
3804 reinit_frame_cache.
3805 (flush_cached_frames): Rename to reinit_frame_cache and delete
3806 old implementation.
3807 * frame.h (flush_cached_frames): Delete prototype and update comment.
3808
3809 * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call
3810 reinit_frame_cache instead of flush_cached_frames. Do not call
3811 select_frame after reinit_frame_cache.
3812 * corelow.c (core_open): Likewise.
3813 * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise.
3814 * infrun.c (prepare_to_proceed, context_switch)
3815 (handle_inferior_event): Likewise.
3816 * linux-fork.c (fork_load_infrun_state): Likewise.
3817 * ocd.c (ocd_start_remote): Likewise.
3818 * remote-e7000.c (e7000_start_remote): Likewise.
3819 * remote-mips.c (device): Likewise.
3820 * thread.c (switch_to_thread): Likewise.
3821 * tracepoint.c (finish_tfind_command): Likewise.
3822 * gdbarch.c: Regenerated.
3823
3824 2007-02-28 Jerome Guitton <guitton@adacore.com>
3825 Joel Brobecker <brobecker@adacore.com>
3826
3827 * gdbtypes.c (check_typedef): Do not replace stub type if
3828 the resolved type is not defined in the same objfile.
3829
3830 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
3831
3832 * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion.
3833
3834 2007-02-28 Joel Brobecker <brobecker@adacore.com>
3835
3836 * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN
3837 symbol for Ada units when the symbol is defined using 't' rather
3838 than 'Tt' as symbol descriptor.
3839
3840 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
3841
3842 * config/mips/tm-nbsd.h: Delete file.
3843 * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove.
3844 * config/sh/tm-nbsd.h: Delete file.
3845 * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
3846
3847 2007-02-28 Joel Brobecker <brobecker@adacore.com>
3848
3849 * mi/mi-cmd-var.c (varobj_update_one): Remove reference to
3850 unused WRONG_PARAM value since it was recently deleted.
3851
3852 2007-02-28 Vladimir Prus <vladimir@codesourcery.com>
3853
3854 * varobj.c (varobj_update): Free temporary vectors.
3855
3856 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com>
3857
3858 * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h.
3859 * config/powerpc/tm-linux.h: Delete file.
3860 * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h".
3861 (PROCESS_LINENUMBER_HOOK): Do not undefine.
3862 (TEXT_SEGMENT_BASE): Do not redefine.
3863 * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here
3864 from config/rs6000/tm-rs6000.h.
3865 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
3866 * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration.
3867 (TEXT_SEGMENT_BASE): Remove.
3868 (IN_SOLIB_RETURN_TRAMPOLINE): Remove.
3869 (rs6000_in_solib_return_trampoline): Remove.
3870 (SKIP_TRAMPOLINE_CODE): Remove.
3871 (rs6000_skip_trampoline_code): Remove.
3872 (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h.
3873 (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise.
3874 (FP0_REGNUM): Remove.
3875 (rs6000_find_toc_address_hook): Move to rs6000-tdep.h.
3876 (rs6000_set_host_arch_hook): Remove.
3877 * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h).
3878 (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h).
3879 * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base.
3880 * rs6000-aix-tdep.c: Include "ppc-tdep.h".
3881 (rs6000_aix_init_osabi): Set text_segment_base tdep field.
3882 * rs6000-nat.c: Include "rs6000-tdep.h".
3883 (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field.
3884 (set_host_arch): Rename to ...
3885 (rs6000_create_inferior): ... this. Make public.
3886 (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook.
3887 * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove.
3888 (rs6000_create_inferior): Remove.
3889 (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field.
3890 (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum,
3891 set_gdbarch_in_solib_return_trampoline, and
3892 set_gdbarch_skip_trampoline_code.
3893 * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here
3894 from config/rs6000/tm-rs6000.h.
3895
3896 2007-02-27 Joel Brobecker <brobecker@adacore.com>
3897
3898 * buildsym.c (record_producer): Do nothing if no producer is provided.
3899
3900 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
3901
3902 * varobj.c (varobj_update): Remove unused local. Use gdb_assert
3903 to check changelist is non-NULL. Call error if the frontend tries
3904 to update a non-root variable.
3905
3906 * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value.
3907
3908 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
3909
3910 * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)
3911 (dwarf2_frame_sniffer): Update.
3912 (dwarf2_signal_frame_this_id): New function.
3913 (dwarf2_signal_frame_unwind): Use it.
3914 (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block.
3915 * frame.c (frame_func_unwind): Add this_type argument.
3916 (get_frame_func): Update.
3917 (frame_unwind_address_in_block): Add this_type argument and check it.
3918 Fix a typo.
3919 (get_frame_address_in_block): Update.
3920 * frame.h (enum frame_type): Move higher in the file.
3921 (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type
3922 argument.
3923
3924 * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c,
3925 arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c,
3926 hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c,
3927 libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c,
3928 m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c,
3929 mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c,
3930 score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c,
3931 sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c,
3932 xstormy16-tdep.c, xtensa-tdep.c: Update calls to
3933 frame_func_unwind and frame_unwind_address_in_block to specify
3934 the frame type. Use frame_unwind_address_in_block instead of
3935 frame_pc_unwind in sniffers.
3936
3937 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
3938
3939 * frame.c (deprecated_selected_frame): Rename to...
3940 (selected_frame): ...this. Make static.
3941 (get_selected_frame, select_frame): Update.
3942 * frame.h (deprected_select_frame): Delete.
3943 (deprecated_safe_get_selected_frame): Update comments.
3944
3945 * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c,
3946 infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c,
3947 tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c,
3948 parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c,
3949 tui/tui.c: Replace references to deprecated_selected_frame.
3950
3951 2007-02-27 Fred Fish <fnf@specifix.com>
3952
3953 * rs6000-tdep.c (skip_prologue): Recognize addi instructions that
3954 directly decrement the stack pointer, accumulate their operand into
3955 the stack offset, and mark the function as not being frameless.
3956
3957 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
3958
3959 * arch-utils.c (selected_byte_order): New.
3960 * arch-utils.h (selected_byte_order): New prototype.
3961 * remote-sim.c (gdbsim_open): Use selected_byte_order.
3962
3963 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
3964
3965 * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.
3966 (default_symfile_offsets): Check VMA here. Update section VMAs.
3967
3968 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
3969
3970 * remote.c (init_remote_state): Add special handling for placeholder
3971 registers.
3972
3973 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
3974
3975 * Makefile.in (XMLFILES): Include $(TDEP_XML).
3976 (filenames_h): New variable.
3977 (clean): Clean up xml-builtin.c and stamp-xml.
3978 (arm-linux-nat.o): Update.
3979 * config/arm/linux.mh (TDEP_XML): Define.
3980 * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define.
3981 (arm_linux_has_wmmx_registers): New.
3982 (GET_THREAD_ID): Fix typo.
3983 (IWMMXT_REGS_SIZE): Define.
3984 (fetch_wmmx_regs, store_wmmx_regs): New.
3985 (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs.
3986 (arm_linux_store_inferior_registers): Use store_wmmx_regs.
3987 (super_xfer_partial, arm_linux_xfer_partial): New.
3988 (_initialize_arm_linux_nat): Use them.
3989 * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT.
3990 (xml_builtin_xfer_partial): New function.
3991 * xml-support.h (xml_builtin_xfer_partial): New prototype.
3992 * NEWS: Update mention of iWMMXt support.
3993
3994 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
3995
3996 * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves
3997 if there are no FPA registers.
3998 (arm_dwarf_reg_to_regnum): New function.
3999 (arm_register_type, arm_register_name): Return minimal values for
4000 unsupported registers.
4001 (arm_register_sim_regno): Handle iWMMXt registers.
4002 (arm_gdbarch_init): Record missing FPA registers if indicated by
4003 a target description. Recognize iWMMXt registers. Only register
4004 "info float" for FPA. Use ARM_NUM_REGS. Register
4005 arm_dwarf_reg_to_regnum.
4006 * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt
4007 constants.
4008 (struct gdbarch_tdep): Add have_fpa_registers.
4009 * features/xscale-iwmmxt.xml: Update capitalization.
4010 * regformats/arm-with-iwmmxt.dat: Regenerated.
4011
4012 2007-02-24 Kevin Buettner <kevinb@redhat.com>
4013
4014 * NEWS (New targets): Add entry for the Toshiba Media Processor.
4015
4016 2007-02-23 Kevin Buettner <kevinb@redhat.com>
4017
4018 * MAINTAINERS (mep): New target.
4019
4020 2007-02-23 Kevin Buettner <kevinb@redhat.com>
4021
4022 From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and
4023 Richard Sandiford:
4024 * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables.
4025 (mep-tdep.o): New rule.
4026 * configure.tgt (mep-*-*): New target.
4027 * mep-tdep.c: New file.
4028 * config/mep/mep.mt: New file.
4029
4030 2007-02-22 Markus Deuling <deuling@de.ibm.com>
4031
4032 * infrun.c (inferior_stop_reason, print_stop_reason): Remove
4033 BREAKPOINT_HIT and STOP_UNKNOWN.
4034
4035 2007-02-22 Markus Deuling <deuling@de.ibm.com>
4036
4037 * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.
4038
4039 2007-02-20 Joel Brobecker <brobecker@adacore.com>
4040
4041 * gdb_expat.h (XMLCALL): Define if not already defined.
4042
4043 2007-02-20 Andreas Schwab <schwab@suse.de>
4044
4045 * Makefile.in (symfile.o): Update dependencies.
4046
4047 2007-02-20 Daniel Jacobowitz <dan@codesourcery.com>
4048
4049 * MAINTAINERS: Disable -Werror for cris simulator. Build
4050 sparc64-solaris2.10 instead of the broken sparc-elf.
4051 * solib-frv.c: Include "solib.h".
4052 * Makefile.in (solib-frv.o): Update.
4053 * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch.
4054 * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int.
4055 (xtensa_frame_this_id, xtensa_frame_prev_register)
4056 (xtensa_push_dummy_call): Use %p.
4057
4058 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4059
4060 * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
4061 ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c,
4062 sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
4063 * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o)
4064 (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o)
4065 (sparc-linux-tdep.o): Update.
4066
4067 2007-02-15 Maxim Grigoriev <maxim2405@gmail.com>
4068
4069 * xtensa-tdep.h (xtensa_reg_mask_t): New.
4070 (xtensa_mask_t): Change mask field to be a separate array.
4071 * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read)
4072 (xtensa_pseudo_register_write, xtensa_unwind_pc)
4073 (xtensa_unwind_dummy_id, xtensa_push_dummy_call)
4074 (xtensa_breakpoint_from_pc): Remove implicit type casting.
4075 * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5)
4076 (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13)
4077 (mask14, mask15): Rename to
4078 (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3)
4079 (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7)
4080 (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11)
4081 (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this.
4082 (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3)
4083 (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7)
4084 (xtensa_submask8, xtensa_submask9, xtensa_submask10)
4085 (xtensa_submask11, xtensa_submask12, xtensa_submask13)
4086 (xtensa_submask14, xtensa_submask15): New.
4087 (rmap): Follow strict aliasing rules doing static initialization.
4088
4089 2007-02-13 Daniel Jacobowitz <dan@codesourcery.com>
4090
4091 * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr
4092 handling from here...
4093 (tdesc_register_type): ...to here.
4094 * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr.
4095 * features/arm-core.xml: Use code_ptr and data_ptr.
4096
4097 2007-02-13 Denis Pilat <denis.pilat@st.com>
4098
4099 * varobj.h (enum varobj_update_error): New enum.
4100 * varobj.c (struct varobj_root): Add is_valid member.
4101 (varobj_get_type): Check for invalid varobj.
4102 (varobj_get_attributes): Likewise.
4103 (variable_editable):Likewise.
4104 (varobj_update): Likewise. Use varobj_update_error.
4105 (new_root_variable): Set root varobj as valid by default.
4106 (varobj_invalidate): New function.
4107 * symfile.c (clear_symtab_users): Use varobj_invalidate.
4108 * mi/mi-cmd-var.c (varobj_update_one): Change return type to void.
4109 Use varobj_update_error.
4110
4111 2007-02-12 Pierre Muller <muller@ics.u-strasbg.fr>
4112
4113 Fix PR pascal/2223.
4114 * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as
4115 Pascal language marker.
4116 * dwarf2read.c (set_cu_language): Likewise.
4117
4118 2007-02-12 Corinna Vinschen <vinschen@redhat.com>
4119
4120 * win32-nat.c (win32_wait): Reset terminal pgrp to GDB.
4121 (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp
4122 instead of target_terminal_init since inferior_ptid isn't set yet.
4123
4124 2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt>
4125
4126 * MAINTAINERS (Write After Approval): Add myself.
4127
4128 2007-02-09 Fred Fish <fnf@specifix.com>
4129
4130 Based on work by Apple Computer, Inc.
4131 * event-top.c (async_request_quit): Call quit() whenever either
4132 quit_flag is set or immediate_quit is set.
4133
4134 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
4135
4136 * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's
4137 type to a pointer to const struct block.
4138 (ada_lookup_symbol_list): Don't cast away constness when calling
4139 remove_out_of_scope_renamings.
4140
4141 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net>
4142
4143 * linux-nat.c (linux_nat_find_memory_regions): Don't check the
4144 address of 'filename'; it is always non null.
4145
4146 2007-02-09 Joel Brobecker <brobecker@adacore.com>
4147
4148 * exec.c (add_to_section_table): Do not discard empty sections.
4149
4150 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4151
4152 * features/Makefile, features/arm-with-iwmmxt.xml,
4153 features/gdbserver-regs.xsl, features/number-regs.xsl,
4154 features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files.
4155 * regformats/arm-with-iwmmxt.dat: Generate.
4156 * NEWS: Mention iWMMXt.
4157
4158 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4159
4160 * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o)
4161 (xml-tdesc.o): Update.
4162 * xml-support.c: Add a comment.
4163 (gdb_xml_enums_boolean): New variable.
4164 (gdb_xml_parse_attr_enum): Use strcasecmp.
4165 * xml-support.h (gdb_xml_enums_boolean): Declare.
4166 * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature,
4167 next_regnum, and current_union.
4168 (tdesc_start_feature, tdesc_start_reg, tdesc_start_union)
4169 (tdesc_end_union, tdesc_start_field, tdesc_start_vector)
4170 (field_attributes, union_children, reg_attributes, union_attributes)
4171 (vector_attributes, feature_attributes, feature_children): New.
4172 (target_children): Make static. Add <feature>.
4173 (tdesc_elements): Make static.
4174 * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p)
4175 (struct tdesc_feature, tdesc_feature_p): New types.
4176 (struct target_desc): Add features member.
4177 (struct tdesc_arch_data, tdesc_data): New.
4178 (target_find_description): Clarify error message. Warn about
4179 ignored register descriptions.
4180 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
4181 (tdesc_named_type, tdesc_data_init, tdesc_data_alloc)
4182 (tdesc_data_cleanup, tdesc_numbered_register)
4183 (tdesc_numbered_register_choices, tdesc_find_register)
4184 (tdesc_register_name, tdesc_register_type)
4185 (tdesc_remote_register_number, tdesc_register_reggroup_p)
4186 (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type)
4187 (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers)
4188 (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature)
4189 (tdesc_create_feature, tdesc_record_type): New.
4190 (free_target_description): Free features.
4191 (_initialize_target_descriptions): Initialize tdesc_data.
4192 * arch-utils.c (default_remote_register_number): New.
4193 * arch-utils.h (default_remote_register_number): New prototype.
4194 * target-descriptions.h (set_tdesc_pseudo_register_name)
4195 (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p)
4196 (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup)
4197 (tdesc_numbered_register, tdesc_numbered_register_choices)
4198 (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name)
4199 (tdesc_named_type, tdesc_create_feature, tdesc_record_type)
4200 (tdesc_create_reg): Declare.
4201 * gdbarch.sh (remote_register_number): New entry.
4202 * gdbarch.c, gdbarch.h: Regenerate.
4203 * remote.c (init_remote_state): Use gdbarch_remote_register_number.
4204 * features/gdb-target.dtd: Add feature, reg, vector, union, and field.
4205
4206 * arm-tdep.c (arm_register_aliases): New.
4207 (arm_register_name_strings): Rename to...
4208 (arm_register_names): ...this. Make const. Delete the old version.
4209 (current_option, arm_register_byte): Delete.
4210 (set_disassembly_style): Simplify. Do not adjust arm_register_names.
4211 (value_of_arm_user_reg): New.
4212 (arm_gdbarch_init): Verify any described registers. Call
4213 tdesc_use_registers. Don't use arm_register_byte. Create aliases
4214 for standard register names.
4215 (_initialize_arm_tdep): Do not adjust arm_register_names.
4216 * user-regs.c (struct user_reg): Add baton member.
4217 (append_user_reg, user_reg_add_builtin, user_regs_init)
4218 (user_reg_add, value_of_user_reg): Use a baton for user
4219 register functions.
4220 * std-regs.c: Update.
4221 * user-regs.h (user_reg_read_ftype, user_reg_add_builtin)
4222 (user_reg_add): Add baton argument.
4223 * NEWS: Mention target description register support.
4224 * features/arm-core.xml, features/arm-fpa.xml: New.
4225 * eval.c (evaluate_subexp_standard): Allow ptype $register
4226 when the program is not running.
4227
4228 2007-02-09 Nick Roberts <nickrob@snap.net.nz>
4229
4230 * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field.
4231
4232 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com>
4233
4234 * rs6000-tdep.c (gdb_print_insn_powerpc): Set
4235 info->disassembler_options to "any".
4236
4237 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4238
4239 * varobj.c (install_new_value): Only call value_get_print_value
4240 if changeable.
4241
4242 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4243
4244 Reported by timeless@gmail.com:
4245 * gdb/target.c (target_flash_erase): Do not return void value.
4246 (target_flash_done): Likewise.
4247 * gdb/cli/cli-cmds.c (source_command): Likewise.
4248
4249 2007-02-08 Fred Fish <fnf@specifix.com>
4250
4251 Based on work by Apple Computer, Inc.
4252 * event-top.c (handle_sigint): Set quit_flag.
4253 (async_request_quit): Don't set quit_flag. Avoid calling quit()
4254 if quit_flag has already been reset.
4255
4256 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4257
4258 * ser-mingw.c (pipe_windows_close): Move variable initialization back
4259 up.
4260
4261 2007-02-08 Fred Fish <fnf@specifix.com>
4262
4263 * defs.h (request_quit): Remove declaration.
4264 * utils.c (request_quit): Remove definition.
4265
4266 2007-02-08 Joel Brobecker <brobecker@gnat.com>
4267 Jan Kratochvil <jan.kratochvil@redhat.com>
4268 Daniel Jacobowitz <dan@codesourcery.com>
4269
4270 * rs6000-tdep.c (bl_to_blrl_insn_p): New function.
4271 (skip_prologue): Allow bl->blrl used by PIC code.
4272
4273 2007-02-08 Mark Kettenis <kettenis@gnu.org>
4274 Daniel Jacobowitz <dan@codesourcery.com>
4275
4276 * cp-valprint.c (cp_print_value_fields, cp_print_value): Always
4277 initialize tmp_obstack.
4278 * p-valprint.c (pascal_object_print_value_fields)
4279 (pascal_object_print_value): Likewise.
4280
4281 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
4282
4283 * features/feature_to_c.sh: Use %s to avoid problems with nawk.
4284
4285 2007-02-08 Mark Kettenis <kettenis@gnu.org>
4286
4287 * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h".
4288 * Makefile.in (sparcnbsd-tdep.o): Update dependencies.
4289
4290 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
4291
4292 * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s)
4293 (xml_cache): New.
4294 (tdesc_parse_xml): Cache expanded descriptions.
4295
4296 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
4297
4298 * Makefile.in (XMLFILES): New.
4299 (COMMON_OBS): Add xml-builtin.o.
4300 (xml-builtin.c, stamp-xml): New rules.
4301 (xml-tdesc.o): Update.
4302 * features/feature_to_c.sh: New file.
4303 * xml-support.c (MAX_XINCLUDE_DEPTH): Define.
4304 (struct gdb_xml_parser): Add dtd_name and is_xinclude.
4305 (gdb_xml_start_element): Initialize scope after possibly reallocating
4306 scopes. Move cleanup later. Handle the XInclude description
4307 specially.
4308 (gdb_xml_end_element): Only parse the body if there is a current element.
4309 Call XML_DefaultCurrent if there is no element.
4310 (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New.
4311 (struct xinclude_parsing_data, xinclude_start_include)
4312 (xinclude_end_include, xml_xinclude_default)
4313 (xml_xinclude_start_doctype, xml_xinclude_end_doctype)
4314 (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes)
4315 (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New.
4316 * xml-support.h (xml_fetch_another, xml_process_xincludes)
4317 (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations.
4318 * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand
4319 XInclude directives. Use the compiled in DTD.
4320 (fetch_xml_from_file): Add baton argument. Treat it as a containing
4321 directory name. Do not warn here.
4322 (file_read_description_xml): Update call. Warn here instead. Pass
4323 a dirname as baton.
4324 (fetch_available_features_from_target): New.
4325 (target_read_description_xml): Use it.
4326 * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd
4327 to handle XInclude.
4328 * features/xinclude.dtd: New file.
4329
4330 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
4331
4332 * linux-thread-db.c (check_for_thread_db): Return early if we have
4333 no libthread_db support.
4334
4335 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com>
4336
4337 * mi/mi-parse.h: Include <sys/time.h>.
4338
4339 2007-02-05 Nick Roberts <nickrob@snap.net.nz>
4340
4341 * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print
4342 instead of print_variable_value to print values.
4343
4344 2007-02-03 Nick Roberts <nickrob@snap.net.nz>
4345
4346 * mi/mi-main.c: Numerous formatting changes.
4347 (mi_cmd_data_write_register_values): Replace clause inadvertantly
4348 removed in my previous change.
4349
4350 2007-02-03 Eli Zaretskii <eliz@gnu.org>
4351
4352 * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now):
4353 Use 1000000L instead of 1000000.
4354
4355 2007-02-03 Nick Roberts <nickrob@snap.net.nz>
4356
4357 Based on work by Apple Computer, Inc.
4358
4359 * configure.ac: Test for sys/resource.h and getrusage.
4360 * configure, config.in: Regenerate.
4361
4362 * mi/mi-main.c: Include <sys/resource.h> if present.
4363 (rusage): Declare if HAVE_GETRUSAGE.
4364 (current_command_ts, do_timings): New static variables.
4365 (timestamp, print_diff_now, print_diff, timeval_diff):
4366 New static timing functions.
4367 (mi_cmd_enable_timings): New function for new MI command.
4368 (captured_mi_execute_command, mi_execute_async_cli_command):
4369 Call timing functions.
4370
4371 * mi/mi-cmds.c (mi_cmds): Add entry for new MI command
4372 -enable-timings.
4373
4374 * mi/mi-cmds.h (mi_cmd_enable_timings): New extern.
4375
4376 * mi/mi-parse.h: (mi_timestamp): New structure.
4377 (mi_parse): Add mi_timestamp* member.
4378
4379 2007-02-02 Denis Pilat <denis.pilat@st.com>
4380
4381 * thread.c (make_cleanup_restore_current_thread): New function.
4382 (info_threads_command): Use of make_cleanup_restore_current_thread
4383 to restore the current thread and the selected frame.
4384 (restore_selected_frame): New function.
4385 (struct current_thread_cleanup): Add frame_id field.
4386 (do_restore_current_thread_cleanup): Add restoring of the selected
4387 frame.
4388 (make_cleanup_restore_current_thread): Likewise.
4389 (thread_apply_all_command): backup the selected frame while
4390 entering the function and restore it at exit.
4391 (thread_apply_command): Likewise.
4392
4393 2007-02-02 Denis Pilat <denis.pilat@st.com>
4394
4395 * MAINTAINERS (Write After Approval): Add myself to the list.
4396
4397 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
4398
4399 * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask.
4400 (m32r_store_register): Ditto.
4401
4402 2007-01-30 Vladimir Prus <vladimir@codesourcery.com>
4403
4404 * ser-mingw.c (pipe_windows_open)
4405 (pipe_windows_read, pipe_windows_write): Declare
4406 variables at the top of the function.
4407
4408 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4409
4410 * doublest.c (floatformat_from_length): Use the right element from
4411 gdbarch floatformats.
4412 (floatformat_from_type, extract_typed_floating)
4413 (store_typed_floating): Likewise.
4414 * doublest.h: Remove declarations for undefined floatformat arrays.
4415 * gdbarch.sh (float_format, double_format, long_double_format): Change
4416 to pairs.
4417 (pformat): Update for pairs.
4418 * gdbarch.c, gdbarch.h: Regenerated.
4419 * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double)
4420 (floatformats_ieee_double_littlebyte_bigword)
4421 (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext)
4422 (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f)
4423 (floatformats_vax_d): New variables.
4424 (builtin_type_ieee_single, builtin_type_ieee_double)
4425 (builtin_type_arm_ext, builtin_type_ia64_spill)
4426 (builtin_type_ia64_quad): Replace arrays with individual types.
4427 (builtin_type_ieee_single_big, builtin_type_ieee_single_little)
4428 (builtin_type_ieee_double_big, builtin_type_ieee_double_little)
4429 (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext)
4430 (builtin_type_m88110_ext, builtin_type_m88110_harris_ext)
4431 (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword)
4432 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
4433 (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete
4434 unused and endian-specific types.
4435 (recursive_dump_type): Update for floatformat pairs.
4436 (build_flt): Move higher. Handle bit == -1. Take a floatformat pair.
4437 (build_gdbtypes): Use build_flt.
4438 (_initialize_gdbtypes): Update set of initialized types.
4439 * gdbtypes.h: Update declarations to match gdbtypes.c.
4440 (struct main_type): Store a pointer to two floatformats.
4441 * arch-utils.c (default_float_format, default_double_format): Delete.
4442 * arch-utils.h (default_float_format, default_double_format): Delete.
4443
4444 * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,
4445 ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c,
4446 mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c,
4447 sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c,
4448 vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update.
4449
4450 2007-01-29 Joel Brobecker <brobecker@adacore.com>
4451
4452 * target.c (maintenance_print_target_stack): New function.
4453 (initialize_targets): Add new "maintenance print target-stack"
4454 command.
4455
4456 2007-01-28 Mark Kettenis <kettenis@gnu.org>
4457
4458 * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero.
4459
4460 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com>
4461
4462 * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long.
4463 (struct dwarf2_loclist_baton): Likewise.
4464
4465 2007-01-27 Eli Zaretskii <eliz@gnu.org>
4466
4467 * cli/cli-script.c: Include breakpoint.h.
4468 (build_command_line): Require arguments only for if and while
4469 commands.
4470 (get_command_line, execute_user_command, execute_control_command):
4471 Fix wording of warning messages.
4472 (print_command_lines): Print breakpoint commands.
4473 (execute_control_command): Call commands_from_control_command to
4474 handle the `commands' command inside a body of a flow-control
4475 command.
4476 (read_next_line): Recognize the `commands' command and build a
4477 command line structure for it.
4478 (recurse_read_control_structure, read_command_lines): Handle
4479 `commands' similarly to `if' and `while'.
4480
4481 * breakpoint.c (get_number_trailer): Document the special meaning
4482 of NULL as the first argument PP.
4483 (commands_from_control_command): New function.
4484
4485 * breakpoint.h (commands_from_control_command): Add prototype.
4486
4487 * defs.h (commands_control): New enumerated value for enum
4488 command_control_type.
4489
4490 2007-01-26 Joel Brobecker <brobecker@adacore.com>
4491
4492 * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name.
4493 (ada_exception_sal): Update accordingly.
4494
4495 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4496
4497 * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs.
4498 * NEWS: Describe CHAR array vs. string identifcation rules.
4499
4500 2007-01-25 Paul Brook <paul@codesourcery.com>
4501
4502 * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error.
4503
4504 2007-01-24 Jim Blandy <jimb@codesourcery.com>
4505
4506 * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location
4507 expression is empty, bother to return the 'optimized out' value we
4508 construct. (Thanks to Carl Burch.)
4509
4510 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
4511
4512 * varobj.c (c_value_of_root, c_value_of_child)
4513 (cplus_describe_child): Don't call release_value.
4514
4515 2007-01-24 Thiemo Seufer <ths@mips.com>
4516
4517 * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct
4518 initialization.
4519
4520 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
4521
4522 Refactor getting children name, value and type access
4523 for varobjs in C++.
4524 * varobj.c (get_type_deref): Remove.
4525 (adjust_value_for_child_access): New.
4526 (c_number_of_children): Use the above.
4527 (c_describe_child): Likewise.
4528 (enum accessibility): New.
4529 (match_accessibility): New function.
4530 (cplus_describe_child): New function.
4531 (cplus_name_of_child, cplus_value_of_child)
4532 (cplus_type_of_child): Reimplement in terms
4533 of cplus_describe_child.
4534 (cplus_number_of_children): Use
4535 adjust_value_for_child_access.
4536
4537 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
4538
4539 Fix computation of the 'editable' attribute and
4540 value changeability for for references.
4541 * varobj.c (get_value_type): New function.
4542 (c_variable_editable): Use get_value_type.
4543 (varobj_value_is_changeable): Likewise.
4544
4545 2007-01-24 Joel Brobecker <brobecker@adacore.com>
4546
4547 * source.c (find_and_open_source): Try rewriting the source
4548 path inside filename if dirname is NULL.
4549
4550 2007-01-24 Joel Brobecker <brobecker@adacore.com>
4551
4552 * dwarf2read.c (add_partial_symbol): Create an extra partial
4553 symbol in the VAR_DOMAIN for Ada structures, unions or enums.
4554 (new_symbol): Likewise for symbols.
4555
4556 2007-01-24 Nick Roberts <nickrob@snap.net.nz>
4557
4558 * mi/mi-main.c (mi_cmd_execute): Call free_all_values.
4559
4560 2007-01-23 Vladimir Prus <vladimir@codesourcery.com>
4561
4562 * value.c (value_primitive_field): Copy the full 'location'
4563 contents, instead of assuming that copying ADDRESS will
4564 bring over everything in the union. Remove obsolete comment.
4565
4566 2007-01-23 Masaki Muranaka <monaka@monami-software.com>
4567
4568 * m32c-tdep.c (make_regs, m32c_analyze_prologue)
4569 (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer)
4570 (m32c_m16c_pointer_to_address): Separate code from declarations.
4571
4572 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
4573
4574 * target.c (update_current_target): Correct typo.
4575
4576 2007-01-22 Masaki Muranaka <monaka@monami-software.com>
4577
4578 * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a
4579 declaration.
4580
4581 2007-01-11 Andrew Cagney <cagney@redhat.com>
4582 Daniel Jacobowitz <dan@codesourcery.com>
4583 Jan Kratochvil <jan.kratochvil@redhat.com>
4584
4585 * dwarf2-frame.c (execute_cfa_program): New support of
4586 `DW_CFA_GNU_negative_offset_extended'.
4587
4588 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
4589
4590 * NEWS: Mention flash support for "load" and new remote packets.
4591
4592 2007-01-21 Markus Deuling <deuling@de.ibm.com>
4593
4594 * breakpoint.c (delete_command): Skip redundant loop iterations.
4595
4596 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
4597
4598 * gdbarch.sh (register_type): Update comment.
4599 * gdbarch.h: Regenerated.
4600 * arch-utils.c (generic_register_size): Call register_type.
4601 * ia64-tdep.c (ia64_extract_return_value): Likewise.
4602 * m32c-tdep.c (check_for_saved): Likewise.
4603 * mips-tdep.c (mips_print_register, print_gp_register_row)
4604 (mips_print_registers_info): Likewise.
4605 * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write):
4606 Likewise.
4607 * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write)
4608 (sh64_do_register, sh64_print_register)
4609 (sh64_media_print_registers_info): Likewise.
4610 * tui/tui-regs.c (tui_register_format): Likewise.
4611
4612 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com>
4613
4614 * objfiles.h (ALL_PRIMARY_SYMTABS): Define.
4615
4616 * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list)
4617 (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS.
4618 * cp-support.c (make_symbol_overload_list_qualified): Likewise.
4619 * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs)
4620 (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols)
4621 (make_symbol_completion_list): Likewise.
4622
4623 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4624 Daniel Jacobowitz <dan@codesourcery.com>
4625
4626 * buildsym.c (end_symtab): Use preallocated symtab if available.
4627 Fill in SYMBOL_SYMTAB.
4628 * buildsym.h (struct subfile): Add symtab member.
4629 * dwarf2read.c (struct dwarf2_cu): Add line_header.
4630 (struct file_entry): Add symtab.
4631 (free_cu_line_header): New function.
4632 (read_file_scope): Use it. Save line_header in the cu. Process
4633 lines before DIEs.
4634 (add_file_name): Initialize new symtab member.
4635 (dwarf_decode_lines): Create symtabs for included files.
4636 (new_symbol): Set SYMBOL_SYMTAB.
4637 * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB.
4638 (search_symbols): Likewise.
4639 * symtab.h (struct symbol): Add symtab member.
4640 (SYMBOL_SYMTAB): Define.
4641
4642 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
4643
4644 * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO.
4645
4646 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
4647
4648 * arch-utils.c (show_endian): Correct reversed condition.
4649
4650 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4651
4652 * MAINTAINERS (Write After Approval): Add myself.
4653
4654 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com>
4655 Vladimir Prus <vladimir@codesourcery.com>
4656
4657 Fix 'selected frame' varobjs.
4658 * varobj.c (struct varobj): Remove the error field.
4659 (varobj_set_value): Don't check var->error.
4660 (install_new_value): Don't set var->error.
4661 (varobj_update): Always pass the new value
4662 of the root via install_new_value.
4663 (create_child): Don't set error field.
4664 (new_variable): Likewise.
4665 (c_value_of_root): Always reevaluate the value
4666 of selected frame varobjs in the selected frame.
4667 Don't call reinit_frame_cache.
4668
4669 2007-01-15 Joel Brobecker <brobecker@adacore.com>
4670
4671 * source.c (_initialize_source): Improve the help text of
4672 the substitute-path commands.
4673
4674 2007-01-14 Mark Kettenis <kettenis@gnu.org>
4675
4676 * frv-tdep.c (frv_gdbarch_init, frv_register_name)
4677 (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address)
4678 (frv_skip_prologue): Remove prototypes.
4679 (frv_adjust_breakpoint_address): Renamed from
4680 frv_gdbarch_adjust_breakpoint_address.
4681 (frv_gdbarch_init): Adjust.
4682
4683 2007-01-13 Mark Kettenis <kettenis@gnu.org>
4684
4685 * gdbarch.sh (deprecated_extract_return_value)
4686 (deprecated_store_return_value): Remove.
4687 (extract_return_value, store_return_value): Remove default values.
4688 * gdbarch.c, gdbarch.h: Regenerate.
4689 * arch-utils.c, arch-utils.h (legacy_extract_return_value)
4690 (legacy_store_return_value): Remove.
4691 * regcache.c, regcache.h (deprecated_grub_regcache_for_registers):
4692 Remove.
4693
4694 * mi/mi-main.c: Remove obsolete comment.
4695
4696 * regcache.c, regcache.h (deprecated_register_bytes)
4697 (deprecated_read_register_bytes)
4698 (deprecated_write_register_bytes): Remove.
4699
4700 * frame.c (get_frame_register_bytes, put_frame_register_bytes):
4701 Don't forget to move destination pointer.
4702
4703 2007-01-01 Mark Kettenis <kettenis@gnu.org>
4704
4705 * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove.
4706
4707 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com>
4708
4709 * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace
4710 past entry function with recent newlib.
4711
4712 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
4713
4714 * gdb.texinfo (GDB/MI Variable Objects): Improve the
4715 introduction. Specify -var-update more exactly.
4716
4717 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com>
4718
4719 * frame.c (get_prev_frame_1): Check PC_REGNUM before using it.
4720
4721 2007-01-10 Jim Blandy <jimb@codesourcery.com>
4722
4723 * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted
4724 the Global Maintainers' invitation to be a global maintainer.
4725
4726 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com>
4727
4728 * infrun.c (singlestep_pc): New variable.
4729 (resume): Set singlestep_pc.
4730 (context_switch): Add a debugging message. Flush the frame cache.
4731 (handle_inferior_event): Add debugging messages. Handle thread
4732 hops when a software single step has completed. Let context_switch
4733 handle flushing the frame cache.
4734
4735 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
4736
4737 * NEWS: Mention target descriptions, "set tdesc filename",
4738 "unset tdesc filename", "show tdesc filename", and
4739 qXfer:features:read.
4740 * arch-utils.c (choose_architecture_for_target): New function.
4741 (gdbarch_info_fill): Call it.
4742 * target-descriptions.c (struct property): Make members non-const.
4743 (struct target_desc): Add arch member.
4744 (target_description_filename): New variable.
4745 (target_find_description): Try via XML first.
4746 (tdesc_architecture): New.
4747 (free_target_description, make_cleanup_free_target_description): New.
4748 (set_tdesc_property): Call xstrdup.
4749 (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist)
4750 (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd)
4751 (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd)
4752 (show_tdesc_filename_cmd, _initialize_target_descriptions): New.
4753 * target-descriptions.h (tdesc_architecture)
4754 (make_cleanup_free_target_description, set_tdesc_architecture): New
4755 prototypes.
4756 * Makefile.in (SFILES): Add xml-tdesc.c.
4757 (COMMON_OBS): Add xml-tdesc.o.
4758 (target-descriptions.o): Update.
4759 (xml-tdesc.o): New rule.
4760 * xml-tdesc.c, xml-tdesc.h: New files.
4761 * remote.c (PACKET_qXfer_features): New enum.
4762 (remote_protocol_features): Add qXfer:features:read.
4763 (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES.
4764 (_initialize_remote): Register qXfer:features:read.
4765 * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES.
4766 * features/gdb-target.dtd: New file.
4767
4768 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
4769
4770 * copyright.sh: Clarify error.
4771
4772 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4773
4774 * symtab.c (matching_bfd_sections): Fix VMA matching for
4775 prelinked objects.
4776
4777 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4778
4779 * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle
4780 nested symbols.
4781
4782 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
4783
4784 Updated copyright notices for most files.
4785
4786 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
4787
4788 * copyright.sh (prunes): Add step-line.inp and step-line.c.
4789
4790 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
4791
4792 * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside
4793 exec_prefix.
4794 (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being
4795 '${prefix}'.
4796 * configure, config.in: Regenerate.
4797 * defs.h (debug_file_directory): Declare.
4798 * main.c (captured_main): Canonicalize gdb_sysroot. Assume
4799 TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and
4800 relocate it if DEBUGDIR_RELOCATABLE.
4801 * symfile.c (debug_file_directory): Make non-static.
4802 (find_separate_debug_file): Look for debug info for SYSROOT/PATH
4803 in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT.
4804 (_initialize_symfile): Don't initialize debug_file_directory here.
4805
4806 2007-01-09 Jim Blandy <jimb@codesourcery.com>
4807
4808 * score-tdep.c (score_push_dummy_call): Don't mix declarations and
4809 statements.
4810
4811 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
4812
4813 * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use
4814 frame_unwind_register to recurse.
4815 * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise.
4816 (alpha_heuristic_frame_prev_register): Likewise.
4817 * h8300-tdep.c (h8300_frame_prev_register): Likewise.
4818 * m32c-tdep.c (m32c_prev_register): Likewise.
4819 * frame.c (frame_register_unwind_location): Remove FIXME.
4820
4821 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
4822 Eli Zaretskii <eliz@gnu.org>
4823
4824 * copyright.sh: New file.
4825
4826 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
4827
4828 * configure.ac: Check for XML_StopParser.
4829 * xml-support.c (gdb_xml_body_text): Check for an error.
4830 (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser.
4831 (gdb_xml_end_element_wrapper): Likewise.
4832 * config.in, configure: Regenerated.
4833
4834 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4835
4836 * varobj.c (install_new_value): Always update print_value.
4837 (value_get_print_value): Immediately return NULL for missing
4838 values.
4839
4840 2007-01-08 Jim Blandy <jimb@codesourcery.com>
4841
4842 * configure.ac: Tighten pattern for extracting value of
4843 DEPRECATED_TM_FILE from the target makefile fragment.
4844 * configure: Regenerated.
4845
4846 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4847
4848 * linux-nat.c (struct simple_pid_list): Add status.
4849 (add_to_pid_list): Record the PID's status.
4850 (linux_record_stopped_pid): Likewise. Make static.
4851 (pull_pid_from_list): Return the saved status.
4852 (linux_nat_handle_extended): Deleted.
4853 (linux_handle_extended_wait): Combine with linux_nat_handle_extended.
4854 Make static. Handle non-SIGSTOP for a new thread's first signal.
4855 (flush_callback): Handle unexpected pending signals.
4856 (linux_nat_wait): Update calls to changed functions.
4857 * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait):
4858 Remove prototypes for newly static functions.
4859
4860 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
4861
4862 * gdbarch.sh (value_from_register): New gdbarch function.
4863 * gdbarch.c, gdbarch.h: Regenerate.
4864 * findvar.c (default_value_from_register): New function.
4865 (value_from_register): Use gdbarch_value_from_register.
4866 * value.h (default_value_from_register): Declare.
4867 * spu-tdep.c (spu_convert_register_p, spu_register_to_value,
4868 spu_value_to_register): Remove.
4869 (spu_value_from_register): New function.
4870 (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p,
4871 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
4872 Call set_gdbarch_value_from_register.
4873 * s390-tdep.c (s390_convert_register_p, s390_register_to_value,
4874 s390_value_to_register): Remove.
4875 (s390_value_from_register): New function.
4876 (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p,
4877 set_gdbarch_register_to_value, set_gdbarch_value_to_register.
4878 Call set_gdbarch_value_from_register.
4879
4880 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4881
4882 * NEWS: Add "set sysroot" and "show sysroot".
4883 * solib.c (solib_absolute_prefix): Delete. Replace
4884 all uses with gdb_sysroot.
4885 (_initialize_solib): Add "set sysroot" and "show sysroot".
4886 Make "solib-absolute-prefix" an alias to it.
4887
4888 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com>
4889
4890 * frame.c (get_frame_register_bytes): New function.
4891 (put_frame_register_bytes): Likewise.
4892 * frame.h (get_frame_register_bytes): Declare.
4893 (put_frame_register_bytes): Likewise.
4894 * findvar.c (value_from_register): Always construct lval_register
4895 values. Use get_frame_register_bytes.
4896 * valops.c (value_assign): Use get_frame_register_bytes and
4897 put_frame_register_bytes.
4898
4899 2007-01-08 Jim Blandy <jimb@codesourcery.com>
4900
4901 * MAINTAINERS: Update Stan Shebs' email address.
4902
4903 2007-01-07 Joel Brobecker <brobecker@adacore.com>
4904
4905 * ada-lang.c (is_known_support_routine): Improve the implementation.
4906
4907 2007-01-06 Joel Brobecker <brobecker@adacore.com>
4908
4909 * ada-lang.c: Add include of source.h.
4910 (is_known_support_routine): Improve the check verifying that the file
4911 associated to this frame exists.
4912 * Makefile.in (ada-lang.o): Add dependency on source.h.
4913
4914 2007-01-07 Jim Blandy <jimb@codesourcery.com>
4915
4916 * ax-general.c (ax_const_l): Select proper opcode for the given
4917 value.
4918
4919 2007-01-05 Vladimir Prus <vladimir@codesourcery.com>
4920
4921 * varobj.c (c_value_of_root): Don't select frame if variable
4922 object is out of scope.
4923
4924 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
4925
4926 * varobj.c (struct varobj): New member print_value.
4927 (install_new_value): Compare last printed value with current one
4928 instead of contents.
4929 (new_variable): Initialize var->print_value to NULL.
4930 (free_variable): Free var->print_value.
4931 (value_get_print_value): New function derived from
4932 c_value_of_variable.
4933 (c_value_of_variable): Use value_get_print_value.
4934
4935 2007-01-05 Joel Brobecker <brobecker@adacore.com>
4936
4937 * i386-tdep.c (i386_analyze_stack_align): Add comment.
4938
4939 2007-01-05 Joel Brobecker <brobecker@adacore.com>
4940
4941 * NEWS: Add entries for new catch commands.
4942
4943 2007-01-05 Joel Brobecker <brobecker@adacore.com>
4944
4945 * dwarf2read.c (partial_die_info): Add field has_byte_size.
4946 (add_partial_symbol): Correct identification of external references.
4947 (process_structure_scope): Likewise.
4948 (read_partial_die): Handle DW_AT_byte_size attribute.
4949
4950 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com>
4951
4952 * xml-support.c (gdb_xml_end_element): Remove wrong backslashes.
4953
4954 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
4955
4956 * varobj.c (get_type_deref): Fix variable objects for references to
4957 pointers.
4958
4959 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4960
4961 * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs
4962 with no symbols.
4963
4964 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
4965
4966 * memory-map.c (struct_memory_map_parsing_data): Remove most
4967 members. Make property_name an array.
4968 (free_memory_map_parsing_data, memory_map_start_element)
4969 (memory_map_end_element, memory_map_character_data): Delete.
4970 (memory_map_start_memory, memory_map_end_memory)
4971 (memory_map_start_property, memory_map_end_property): New functions.
4972 (property_attributes, memory_children, memory_type_enum)
4973 (memory_attributes, memory_map_children, memory_map_elements): New.
4974 (parse_memory_map): Rewrite.
4975 * xml-support.c (debug_xml): New.
4976 (xml_get_required_attribute, xml_get_integer_attribute)
4977 (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser):
4978 Delete.
4979 (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text)
4980 (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup)
4981 (gdb_xml_start_element, gdb_xml_start_element_wrapper)
4982 (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup)
4983 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse)
4984 (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest)
4985 (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support):
4986 New.
4987 * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler)
4988 (enum gdb_xml_attribute_flag, struct gdb_xml_attribute)
4989 (enum gdb_xml_element_flag, struct gdb_xml_element)
4990 (gdb_xml_element_start_handler, gdb_xml_element_end_handler)
4991 (struct gdb_xml_enum): New.
4992 (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug)
4993 (gdb_xml_error, gdb_xml_parse_attr_ulongest)
4994 (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes.
4995 (xml_get_required_attribute, xml_get_integer_attribute)
4996 (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes.
4997 * Makefile.in (xml_support_h, xml-support.o): Update.
4998
4999 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5000
5001 * Makefile.in (eval.o): Update dependencies.
5002 * eval.c: Include "ui-out.h" and "exceptions.h".
5003 (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable.
5004 Use value_zero if an error occurs when avoiding side effects.
5005 * varobj.c (c_value_of_root): Initialize new_val.
5006
5007 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5008
5009 * varobj.c (varobj_list_children): Stop if the number of children is
5010 unknown.
5011 (c_number_of_children):
5012
5013 2007-01-04 Mark Kettenis <kettenis@gnu.org>
5014
5015 * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE.
5016 (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start)
5017 (alpha_heuristic_frame_unwind_cache, alpha_next_pc)
5018 (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and
5019 sizeof, instead of hardcoded constants.
5020
5021 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5022
5023 * CONTRIBUTE: Use sourceware.org.
5024
5025 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5026
5027 * buildsym.c (start_subfile): Handle producer.
5028 (record_producer): New function.
5029 * buildsym.h (struct subfile): Include producer.
5030 (record_producer): New prototype.
5031 * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation.
5032 (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and
5033 armcc_cfa_offsets_reversed.
5034 (execute_cfa_program): Handle armcc_cfa_offsets_sf.
5035 (dwarf2_frame_find_quirks): New function.
5036 (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed.
5037 (decode_frame_entry_1): Record the CIE version. Record the
5038 augmentation. Skip armcc augmentations.
5039 * dwarf2read.c (read_file_scope): Save the producer.
5040 * symtab.h (struct symtab): Rename unused version member to
5041 producer.
5042
5043 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
5044
5045 * configure.ac (build_warnings): Use -Wall and
5046 -Wdeclaration-after-statement.
5047 * configure: Regenerated.
5048
5049 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
5050
5051 Simplify access to variours properties of child
5052 variable objects in C.
5053 * varobj.c (value_struct_element_index): New function.
5054 (c_describe_child): New function.
5055 (c_name_of_child, c_value_of_child)
5056 (c_type_of_child): Rewrite to use c_describe_child.
5057
5058 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
5059
5060 gdb/
5061 * varobj.c: Include "vec.h".
5062 (varobj_p): New typedef, declare vector of those.
5063 (struct varobj): Use vector for the 'children' member.
5064 (child_exists): Remove.
5065 (save_child_in_parent): Remove.
5066 (remove_child_from_parent): Remove.
5067 (struct varobj_child): Remove.
5068 (struct vstack): Remove.
5069 (vpush, vpop): Remove.
5070 (varobj_list_children): Adjust to work work vector.
5071 (varobj_update): Likewise. Use vectors for
5072 working stack and result.
5073 (delete_variable_1): Likewise.
5074 * Makefile.in (varobj.o): Update dependencies.
5075
5076 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
5077
5078 Port from Apple's version.
5079 gdb/
5080 * varobj.c (type_changeable): Rename to...
5081 (varobj_value_is_changeable_p): ...this. Adjust all callers.
5082 (is_root_p): New function. Use it everywhere.
5083
5084 2007-01-04 Jim Blandy <jimb@codesourcery.com>
5085
5086 * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup',
5087 then plain 'fixup'.
5088
5089 2007-01-04 Joel Brobecker <brobecker@adacore.com>
5090
5091 * hpread.c (hpread_start_psymtab): Remove unnecessary extern.
5092
5093 2007-01-04 Joel Brobecker <brobecker@adacore.com>
5094
5095 * hpread.c (hpread_type_lookup): Fix compilation failure.
5096
5097 2007-01-04 Qinwei <qinwei@sunnorth.com.cn>
5098
5099 * NEWS: New port to S+core.
5100 * MAINTAINERS (Write After Approval, Responsible Maintainers):
5101 Add myself.
5102
5103 * Makefile.in: Add dependencies for S+core files.
5104 * configure.tgt (score*, score-*-*): Add S+core target.
5105 * config/score/embed.mt: New file.
5106 * score-tdep.c: New file.
5107 * score-tdep.h: New file.
5108
5109 2007-01-04 Joel Brobecker <brobecker@adacore.com>
5110
5111 * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with
5112 the appropriate type rather than a bogus void type.
5113
5114 2007-01-04 Joel Brobecker <brobecker@adacore.com>
5115
5116 * ada-lang.h (ada_find_printable_frame): Remove.
5117 (ada_exception_catchpoint_p, ada_decode_exception_location)
5118 (ada_decode_assert_location): Add declaration.
5119 * ada-lang.c: Add include of annotate.h and valprint.h.
5120 (exception_catchpoint_kind): New enum.
5121 (function_name_from_pc, is_known_support_routine)
5122 (ada_find_printable_frame, ada_unhandled_exception_name_addr)
5123 (ada_exception_name_addr_1, ada_exception_name_addr)
5124 (print_it_exception, print_one_exception, print_mention_exception)
5125 (print_it_catch_exception, print_one_catch_exception)
5126 (print_mention_catch_exception, catch_exception_breakpoint_ops)
5127 (print_it_catch_exception_unhandled)
5128 (print_one_catch_exception_unhandled)
5129 (print_mention_catch_exception_unhandled, print_it_catch_assert)
5130 (print_one_catch_assert, print_mention_catch_assert)
5131 (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found)
5132 (ada_get_next_arg, catch_ada_exception_command_split)
5133 (ada_exception_sym_name, ada_exception_sym_name)
5134 (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string)
5135 (ada_parse_catchpoint_condition, ada_exception_sal)
5136 (ada_decode_exception_location)
5137 (ada_decode_assert_location): New function.
5138 (catch_exception_unhandled_breakpoint_ops): New global variable.
5139 (catch_assert_breakpoint_ops): New global variable.
5140 * breakpoint.c: Add include of ada-lang.h.
5141 (print_one_breakpoint): Do not print the condition for Ada
5142 exception catchpoints.
5143 (create_ada_exception_breakpoint): New function.
5144 (catch_ada_exception_command, catch_assert_command): New function.
5145 (catch_command_1): Add support for the new "catch exception" and
5146 "catch assert" commands.
5147 (_initialize_breakpoint): Add help description for the new catch
5148 commands.
5149 * Makefile.in (ada-lang.o): Add dependency on annotate.h and
5150 valprint.h.
5151 (breakpoint.o): Add dependency on ada-lang.h.
5152
5153 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
5154
5155 * coffread.c (cs_to_section): If bfd_section is found, always
5156 return its section index.
5157 (coff_symtab_read): Determine the minimal_symbol_type using the
5158 bfd_section flags.
5159
5160 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5161 Daniel Jacobowitz <dan@codesourcery.com>
5162
5163 * Makefile.in (top.o): Update.
5164 * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result)
5165 (saved_after_char_processing_hook, gdb_readline_wrapper_line)
5166 (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup):
5167 New.
5168 (gdb_readline_wrapper): Rewrite to use asynchronous readline.
5169
5170 2007-01-03 Mark Kettenis <kettenis@gnu.org>
5171
5172 * arm-linux-tdep.c (arm_linux_extract_return_value): Remove.
5173 (arm_linux_init_abi): Don't set deprecated_extract_return_value.
5174
5175 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5176
5177 * ada-lang.c (find_struct_field): Initialize *byte_offset_p.
5178 * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i.
5179 * c-typeprint.c (c_type_print_varspec_suffix): Don't test length
5180 greater than or equal to zero.
5181 * m2-typeprint.c (m2_array): Likewise.
5182 * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise.
5183 * gdbtypes.c (copy_type_recursive): Correct == typo.
5184 * i386-tdep.c (i386_skip_prologue): Remove stray semicolon.
5185 * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer
5186 greater than zero.
5187 * macroscope.c (sal_macro_scope): Don't name a local variable "main".
5188 (default_macro_scope): Remove unused variable.
5189 * prologue-value.h (pv_area_find_reg): Don't name an argument
5190 "register".
5191 * remote-fileio.c (remote_fio_func_map): Add missing braces.
5192 * remote.c (sigint_remote_twice_token, sigint_remote_token): Change
5193 type.
5194 (cleanup_sigint_signal_handler): Remove casts.
5195 * valprint.c (val_print): Use a volatile local for the modified
5196 argument.
5197 * varobj.c (languages): Remove extra array dimension.
5198 (varobj_create): Correct access to languages array.
5199 * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add
5200 missing braces.
5201 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise.
5202 * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise.
5203 * mi/mi-getopt.c (mi_valid_noargs): Likewise.
5204 * mi/mi-main.c (mi_cmd_data_read_memory): Likewise.
5205 (mi_cmd_data_write_memory): Likewise.
5206 * signals/signals.c (target_signal_to_string): Cast to int before
5207 comparing.
5208 * tui/tui-layout.c (init_and_make_win): Take and return a void *.
5209 Update all callers.
5210
5211 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
5212
5213 * NEWS: Mention pointer to member improvements.
5214 * Makefile.in (gnu-v3-abi.o): Delete special rule.
5215 (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update.
5216 * ada-valprint.c (ada_print_scalar): Update for new type codes.
5217 * c-typeprint.c (c_print_type): Update for new type codes.
5218 (c_type_print_varspec_prefix, c_type_print_varspec_suffix)
5219 (c_type_print_base): Likewise.
5220 (c_type_print_args): Rewrite.
5221 * c-valprint.c (c_val_print): Update for new type codes. Remove
5222 support for references to members. Treat methods like functions.
5223 * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size)
5224 (cplus_make_method_ptr, cplus_method_ptr_to_value): New.
5225 * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size)
5226 (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes.
5227 (struct cp_abi_ops): Add corresponding members.
5228 * cp-valprint.c (cp_print_class_method): Delete.
5229 (cp_find_class_member): New function.
5230 (cp_print_class_member): Use it. Simplify support for bogus
5231 member pointers.
5232 * dwarf2read.c (quirk_gcc_member_function_pointer): Use
5233 lookup_methodptr_type.
5234 (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type.
5235 * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for
5236 OP_SCOPE. Update call to value_aggregate_elt. Rewrite member
5237 pointer support.
5238 (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle
5239 references returned by user defined operators.
5240 * f-typeprint.c (f_print_type, f_type_print_varspec_prefix)
5241 (f_type_print_varspec_suffix): Remove support for member pointers.
5242 * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type
5243 and adjusted.
5244 (smash_to_memberptr_type): Likewise, from smash_to_member_type.
5245 (lookup_methodptr_type): New.
5246 (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR.
5247 (recursive_dump_type): Update for new types.
5248 * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with
5249 TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR.
5250 (lookup_memberptr_type, lookup_methodptr_type)
5251 (smash_to_memberptr_type): New prototypes.
5252 (smash_to_method_type): Formatting fix.
5253 (lookup_member_type, smash_to_member_type): Delete prototypes.
5254 * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New.
5255 Do not rely on debug information for the vptr or the method's
5256 enclosing type. Handle function descriptors for IA64.
5257 (gnuv3_virtual_fn_field): Rewrite using the new functions.
5258 (gnuv3_find_method_in, gnuv3_print_method_ptr)
5259 (gnuv3_method_ptr_size, gnuv3_make_method_ptr)
5260 (gnuv3_method_ptr_to_value): New.
5261 (init_gnuv3_ops): Set new members of gnu_v3_abi_ops.
5262 * hpread.c (hpread_type_lookup): Update for new types.
5263 * infcall.c (value_arg_coerce): Likewise.
5264 * m2-typeprint.c (m2_print_type): Remove explicit support
5265 for member pointers.
5266 * m2-valprint.c (m2_val_print): Likewise.
5267 * p-typeprint.c (pascal_type_print_varspec_prefix)
5268 (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise.
5269 * p-valprint.c (pascal_val_print): Likewise.
5270 (pascal_object_print_class_method, pascal_object_print_class_member):
5271 Delete.
5272 * p-lang.h (pascal_object_print_class_method)
5273 (pascal_object_print_class_member): Delete prototypes.
5274 * stabsread.c (read_type): Update for new types.
5275 * typeprint.c (print_type_scalar): Likewise.
5276 * valops.c (value_struct_elt_for_reference, value_namespace_elt)
5277 (value_maybe_namespace_elt, value_aggregate_elt): Add want_address
5278 argument. Construct a pointer to member if the address of a
5279 function or data member is requested.
5280 (value_cast_pointers): Don't modify the input value.
5281 (value_cast): Adjust pointer to member handling for new types.
5282 Allow null pointer to member constants. Don't modify the input
5283 value.
5284 (value_ind): Remove pointer to member check. Handle function
5285 descriptors for function pointers.
5286 (value_struct_elt, value_find_oload_method_list, check_field):
5287 Remove pointer to member checks.
5288 * value.c (unpack_long): Allow pointers to data members.
5289 (value_from_longest): Allow member pointers.
5290 * value.h (value_aggregate_elt): Add want_address.
5291 * varobj.c (c_variable_editable): Remove check for members.
5292 * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta.
5293 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors
5294 in virtual tables.
5295 (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors.
5296 * c-lang.h (cp_print_class_method): Delete prototype.
5297 * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta.
5298 * mips-tdep.c (mips_gdbarch_init): Likewise.
5299 * gdbarch.c, gdbarch.h: Regenerated.
5300
5301 2007-01-01 Mark Kettenis <kettenis@gnu.org>
5302
5303 * rs6000-tdep.c (rs6000_use_struct_convention)
5304 (rs6000_extract_return_value, rs6000_store_return_value)
5305 (rs6000_extract_struct_value_address): Remove.
5306 (rs6000_return_value): New function.
5307 (rs6000_gdbarch_init): Don't set deprecated_extract_return_value,
5308 store_return_value, deprecated_extract_struct_value_address and
5309 deprecated_use_struct_convention. Use rs6000_return_value
5310 instead.
5311
5312 2007-01-02 Nick Roberts <nickrob@snap.net.nz>
5313
5314 * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete,
5315 -display-disable, -display-enable, -display-insert and
5316 -display-list.
5317
5318 2007-01-01 Joel Brobecker <brobecker@adacore.com>
5319
5320 * breakpoint.c (remove_breakpoint): Remove dead code.
5321
5322 2007-01-01 Nick Roberts <nickrob@snap.net.nz>
5323
5324 * varobj.c: Include block.h.
5325 (c_value_of_root): Check scope within nested statements.
5326
5327 2007-01-01 Mark Kettenis <kettenis@gnu.org>
5328
5329 * mi/mi-main.c (mi_cmd_data_write_register_values): Use
5330 regcache_cooked_write_signed instead of
5331 deprecated_write_register_bytes.
5332
5333 2007-01-01 Joel Brobecker <brobecker@adacore.com>
5334
5335 * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006.
5336
5337 2007-01-01 Joel Brobecker <brobecker@adacore.com>
5338
5339 Followed the Start of New Year Procedure:
5340 * ChangeLog-2006: New file, containing all the entries for 2006.
5341 * ChangeLog: Removed all 2006 entries, and changed the reference
5342 to the previous ChangeLog to point to ChangeLog 2006.
5343 * top.c (print_gdb_version): Update copyright year.
5344
5345 2007-01-01 Mark Kettenis <kettenis@gnu.org>
5346
5347 * Makefile.in (remote-sds.o): Remove.
5348 * remote-sds.c: Delete.
5349
5350 For older changes see ChangeLog-2006.
5351 \f
5352 Local Variables:
5353 mode: change-log
5354 left-margin: 8
5355 fill-column: 74
5356 version-control: never
5357 End: