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