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