1 2004-01-03 Mark Kettenis <kettenis@gnu.org>
3 * configure.tgt: Add back sparc-*-vxworks*.
4 * remote-vxsparc.c: Remove all includes except for "defs.h",
5 "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h".
6 Include "sparc-tdep.h".
7 (SPARC_R_G1): New define.
8 (vxsparc_gregset): New variable.
9 (ext_format_sparc): Remove extern declaration.
10 (vx_read_register): Rewrite to use sparc32_supply_gregset and
11 sparc32_supply_fpregset.
12 (vx_write_register): Rewrite to use sparc32_collect_gregset,
13 sparc_collect_rwindow and sparc32_collect_fpregset.
14 * config/sparc/tm-vxworks.h: New file, based on recently removed
16 * config/sparc/vxworks.mt: New file, based on recently removed
19 2004-01-03 J. Brobecker <brobecker@gnat.com>
21 * infrun.c (handle_step_into_function): New function.
22 (handle_inferior_event): Extract out some code into the new
25 2004-01-02 Mark Kettenis <kettenis@gnu.org>
27 * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and
28 sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c,
29 sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c,
30 sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c,
31 sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c,
32 sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c.
33 (sparc_nat_h): New variable.
34 (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables.
35 (tm-sun4os4.h): Remove dependency.
36 (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies.
37 (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o,
38 sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o,
39 sparc-tdep.o): Update dependencies.
40 (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o,
41 sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o,
42 sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New
44 * configure.host: Remove existing sparc-*-lynxos*,
45 sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*,
46 ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*,
47 sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*,
48 sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2*
50 * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*,
51 sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*,
52 sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*,
53 sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add
54 new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*,
55 sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*,
56 sparc64-*-solaris2* and sparc64-*-* triplets.
57 * sparc64-tdep.c: Update copyright year. Include "inferior.h",
58 "symtab.h" and "objfiles.h".
59 (BIAS): Remove define.
60 (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22)
61 (X_DISP19): Remove macros.
62 (sparc_fetch_instruction): Remove function.
63 (struct gdbarch_tdep): Remove definition.
64 (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE.
65 (sparc_breakpoint_from_pc): Remove function.
66 (struct sparc64_frame_cache): Remove definition.
67 (sparc64_alloc_frame_cache, sparc64_analyze_prologue,
68 sparc64_unwind_pc): Remove functions.
69 (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of
70 `struct sparc64_frame_cache. Call sparc_analyze_prologue instead
71 of sparc64_analyze_prologue. Mark constant as ULL instead of UL.
72 (sparc64_frame_cache): Change return type to `struct
73 sparc_frame_cache *'. Simply call sparc_frame_cache.
74 (sparc64_frame_this_id, sparc64_frame_prev_register,
75 sparc64_frame_base_address): Use `struct sparc_frame_cache'
76 instead of `struct sparc64_frame_cache.
77 (sparc_unwind_dummy_id, sparc_extract_struct_value_address,
78 sparc_analyze_control_transfer, sparc_software_single_step,
79 sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow,
80 _initialize_sparc64_tdep): Remove functions.
81 (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros.
82 (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New
84 (sparc64_supply_gregset, sparc64_collect_gregset,
85 sparc64_supply_fpregset, sparc64_collect_fpregset): New functions.
86 (sparc64_init_abi): New function.
87 * sparc64-tdep.h: Update copyright year. Fix typo in multiple
88 inclusion guard. Include "sparc-tdep.h".
90 (r_tstate_offset, r_fprs_offset): New defines.
91 (enum sparc_regnum): Remove defenition.
92 (enum sparc64_regnum): Reformat.
93 (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes.
94 (sparc64_init_abi, sparc64_supply_gregset,
95 sparc64_collect_gregset, sparc64_supply_fpregset,
96 sparc64_collect_fpregset): New prototypes.
97 (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset):
98 Add extern declarations.
99 (sparc64_sol2_init_abi): New prototype.
100 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
101 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
103 * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include
105 (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove
107 (_initialize_sparc64fbsd_nat): Remove initialization of
108 sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg,
109 sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p,
110 sparcbsd_fpreg_supplies_p. Initialize sparc_gregset.
111 * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h",
112 "frame-unwind.h", "trad-frame.h" and "gdb_assert.h".
113 (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset)
114 (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset)
115 (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset)
116 (sparc64fbsd_r_y_offset): Remove variables.
117 (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg):
118 Make static and const.
119 (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg)
120 (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove
122 (sparc64fbsd_gregset): New variable.
123 (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg
124 and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset
125 and sparc64_supply_fpregset.
126 (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache)
127 (sparc64fbsd_sigtramp_frame_this_id)
128 (sparc64fbsd_sigtramp_frame_prev_register): New functions.
129 (sparc64fbsd_sigtramp_frame_unwind): New variable.
130 (sparc64fbsd_sigtramp_frame_sniffer): New function.
131 (sparc64fbsd_init_abi): Set pc_in_sigtramp, append
132 sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi.
133 * sparcnbsd-tdep.c: Update copyright year. Include
134 "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h",
135 "trad-frame.h" and "gdb_assert.h", don't include "target.h",
136 "value.h" and "sparcnbsd-tdep.h".
137 (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC)
138 (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT)
139 (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC)
140 (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove
142 (sparcnbsd_gregset): New variable.
143 (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64)
144 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64)
145 (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64)
146 (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions.
147 (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New
149 (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache)
150 (sparc32nbsd_sigcontext_frame_this_id)
151 (sparc32nbsd_sigcontext_frame_prev_register): New functions.
152 (sparc32nbsd_sigcontext_frame_unwind): New variable.
153 (sparc32nbsd_sigtramp_frame_sniffer): New function.
154 (sparcnbsd_get_longjmp_target_32,
155 sparcnbsd_get_longjmp_target_64): Remove functions.
156 (sparcnbsd_aout_in_solib_call_trampoline): Rewrite.
157 (sparcnbsd_init_abi_common, sparcnbsd_init_aout,
158 sparcnbsd_init_elf): Remove.
159 (sparcnbsd_init_abi, sparcnbsd_aout_init_abi)
160 (sparcnbsd_elf_init_abi): New functions.
161 (_initialize_sparcnbsd_tdep): New prototype.
162 (_initialize_sparnbsd_tdep): Update.
163 * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and
164 corelow.o. Add sparc64-nat.o and sparc-nat.o.
165 * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o.
166 * config/sparc/linux.mh: Update comment.
167 (XM_FILE, HOST_IPC): Remove variables.
168 (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove
170 * config/sparc/linux.mt: Update comment.
171 (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o.
172 * config/sparc/nbsd.mt: Reformat.
173 * config/sparc/nbsd64.mh: Update comment.
174 (NATDEPFILES): Add sparc-nat.o.
175 * config/sparc/nbsd64.mt: Update comment.
176 (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o.
177 (TM_FILE): Set to tm-nbsd.h.
178 * config/sparc/nbsdelf.mh: Update comment.
179 (NATDEPFILES): Add sparc-nat.o.
181 * config/sparc/nbsdaout.mh: Update comment.
182 (NATDEPFILES): Add sparc-nat.o
184 * config/sparc/nm-linux.h: Update copyright year. Don't include
185 "config/nm-svr4.h" and "solib.h". Add protection against multiple
187 (KERNEL_U_SIZE): Remove define.
188 (kernel_u_size): Remove prototype.
189 (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define.
190 * config/sparc/nm-nbsd.h: Update copyright. Don't include
192 (CHILD_PREPARE_TO_STORE): Remove define.
193 * config/sparc/nm-nbsdaout.h: Tweak some comments.
194 * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c,
195 sparcnbsd-nat.c: Rewrite files.
196 * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files.
197 * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h,
198 sparcnbsd-tdep.h: Remove files.
199 * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h,
200 config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt,
201 config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt,
202 config/sparc/sparc-em.mt, config/sparc/sparclynx.mh,
203 config/sparc/sparclynx.mt, config/sparc/sun4os4.mh,
204 config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh,
205 config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h,
206 config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h,
207 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
208 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
209 config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt,
210 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files.
211 * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c,
212 sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c,
213 sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files.
214 * config/sparc/linux64.mh, config/sparc/linux64.mt,
215 config/sparc/nm-sol2.h, config/sparc/sol2-64.mt,
216 config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt,
217 config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files.
219 2004-01-02 Andrew Cagney <cagney@redhat.com>
221 From 2003-12-18 Kazuhiro Inaoka:
222 * configure.host: Add m32r-linux target.
224 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
226 * top.c (print_gdb_version): Update year to 2004.
228 2004-01-02 Mark Mitchell <mark@codesourcery.com>
230 * MAINTAINERS: Add myself to the write-after-approval category.
232 2004-01-02 Daniel Jacobowitz <drow@mvista.com>
234 From Bernardo Innocenti <bernie@develer.com>:
235 * configure.tgt: Add uClinux target.
237 2004-01-02 Andrew Cagney <cagney@redhat.com>
239 * utils.c (do_my_cleanups): Make static, add forward declaration.
240 * defs.h (do_my_cleanups): Delete declaration.
242 2004-01-02 Eli Zaretskii <eliz@elta.co.il>
244 * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and
247 2004-01-02 Mark Kettenis <kettenis@gnu.org>
249 * configure.in: Check for <machine/reg.h>. Check for `struct reg'
251 * configure, config.in: Regenerate.
253 For older changes see ChangeLog-2003
259 version-control: never