Commit | Line | Data |
---|---|---|
a54124c5 MK |
1 | 2004-01-11 Mark Kettenis <kettenis@gnu.org> |
2 | ||
2ca62865 MK |
3 | * sparc64nbsd-tdep.c: Include "regset.h". |
4 | (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg): | |
5 | Remove variables. | |
6 | (fetch_core_registers): Remove function. | |
7 | (sparc64nbsd_core_fns): Remove variable. | |
8 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New | |
9 | functions. | |
10 | (sparc64nbsd_init_abi): Initialize TDEP->gregset, | |
11 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset. | |
12 | (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns. | |
13 | ||
ca9d58e9 MK |
14 | * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from |
15 | sparc_extract_struct_value_address. | |
16 | (sparc32_gdbarch_init): Set extract_struct_value_address. | |
17 | * sparc64-tdep.c (sparc64_extract_struct_value_address): New | |
18 | function. | |
19 | (sparc64_init_abi): Set extract_struct_value_address. Don't set | |
20 | return_value_on_stack. | |
21 | ||
3cc87ec0 MK |
22 | * NEWS: Mention that %cs and %ss have been added to the AMD64 |
23 | configurations | |
24 | ||
5bf00f29 MK |
25 | * frame.c: Update copyright year. |
26 | (get_prev_frame): Improve comment. | |
27 | ||
4f7ec84e MK |
28 | * sparc64fbsd-tdep.c: Include "regset.h". |
29 | (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): | |
30 | Remove variables. | |
31 | (fetch_core_registers): Remove function. | |
32 | (sparc64fbsd_core_fns): Remove variable. | |
33 | (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New | |
34 | functions. | |
35 | (sparc64fbsd_init_abi): Initialize TDEP->gregset, | |
36 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset. | |
46b58ce9 | 37 | (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns. |
4f7ec84e | 38 | |
4e7b0cd3 MK |
39 | * sparcnbsd-tdep.c: Include "regset.h". |
40 | (fetch_core_registers): Remove function. | |
41 | (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles. | |
42 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New | |
43 | functions. | |
44 | (sparc32nbsd_init_abi): Initialize TDEP->gregset and | |
45 | TDEP->fpregset. | |
46b58ce9 | 46 | (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns. |
4e7b0cd3 | 47 | |
a54124c5 MK |
48 | * sparc-tdep.h (struct regset): Provide opaque declaration. |
49 | (struct gdbarch_tdep): Add gregset, sizeof_gregset, | |
50 | fpregset and sizeof_fpregset members. | |
51 | * sparc-tdep.c (struct regset): Provide opaque declaration. | |
52 | (sparc_regset_from_core_section): New function. | |
53 | (sparc32_gdbarch_init): Initialize TDEP->gregset, | |
54 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset. | |
55 | Set regset_from_core_section when appropriate. | |
56 | ||
29ff87c5 MK |
57 | 2004-01-10 Mark Kettenis <kettenis@gnu.org> |
58 | ||
79b1ab3d MK |
59 | * x86-64-tdep.c (amd64_non_pod_p): New function. |
60 | (amd64_classify_aggregate): Return class memory for non-POD | |
61 | C++ structure types. | |
62 | ||
6470d250 MK |
63 | * x86-64-tdep.c (amd64_push_arguments): Add struct_return |
64 | argument. Use it to reserve a register if necessary. | |
65 | (amd64_push_dummy_call): Pass STRUCT_RETURN in call to | |
66 | amd64_push_arguments. | |
67 | ||
562c50c2 MK |
68 | * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields. |
69 | ||
af233647 MK |
70 | * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust |
71 | register numbers in comments. | |
72 | * x86-64-tdep.h: Update copyright year. | |
73 | (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): | |
74 | Adjust for addition of %cs and %ss. | |
75 | * amd64fbsd-nat.c: Update copyright year. | |
76 | (reg_offset): Add register offsets for %cs and %ss. | |
77 | * amd64fbsd-tdep.c: Update copyright year. | |
78 | (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss. | |
79 | (amd64fbsd_sc_reg_offset): Likewise. | |
80 | * x86-64-linux-nat.c: Update copyright year. | |
81 | (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs | |
82 | and %ss. | |
83 | * amd64nbsd-nat.c: Update copyright year. | |
84 | (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss. | |
85 | * amd64nbsd-tdep.c: Update copyright year. | |
86 | (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss. | |
87 | * x86-64-linux-tdep.c: Update copyright year. | |
88 | (user_to_gdb_regmap): Add mapping for %cs and %ss. | |
89 | (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss. | |
90 | * regformats/reg-x86-64.dat: Add %cs and %ss. | |
91 | ||
29ff87c5 MK |
92 | * blockframe.c (inside_entry_func): Reformat. Introduce new local |
93 | variables to prevent long lines. Update comments to reflect | |
94 | reality. | |
95 | ||
38d518c9 EZ |
96 | 2004-01-09 David Carlton <carlton@kealia.com> |
97 | ||
98 | Checked in by Elena Zannoni <ezannoni@redhat.com>. | |
99 | * dwarf2read.c (read_namespace): Pull out name-generating code | |
100 | into namespace_name. Rename previous_namespace to previous_prefix | |
101 | and processing_current_namespace to processing_current_prefix.. | |
102 | (namespace_name): New function. | |
103 | (add_partial_symbol): Substitute uses of pdi->name with | |
104 | actual_name. | |
105 | * cp-support.h: Rename processing_current_namespace to | |
106 | processing_current_prefix. | |
107 | Update copyright year. | |
108 | * cp-namespace.c: Rename processing_current_namespace to | |
109 | processing_current_prefix. | |
110 | Update copyright year. | |
111 | ||
1e4728e7 AC |
112 | 2004-01-09 Andrew Cagney <cagney@redhat.com> |
113 | ||
114 | * jv-valprint.c, ser-unix.c: Add missing copyright years. | |
115 | ||
c77c642a MK |
116 | 2004-01-09 Mark Kettenis <kettenis@gnu.org> |
117 | ||
118 | * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of | |
119 | complaining. | |
120 | (process_one_symbol): Deal with N_PATCH stabs. | |
121 | ||
b44e9041 EZ |
122 | 2004-01-09 Elena Zannoni <ezannoni@redhat.com> |
123 | ||
124 | * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and | |
125 | ifdeffed code. | |
126 | Update copyright year. | |
38d518c9 | 127 | |
eccfb640 MC |
128 | 2004-01-08 Michael Chastain <mec.gnu@mindspring.com> |
129 | ||
130 | * config/pa/tm-hppa.h: Update extern declarations for | |
131 | hppa32_hpux_frame_saved_pc_in_sigtramp, | |
132 | hppa32_hpux_frame_base_before_sigtramp, and | |
133 | hppa32_hpux_frame_find_saved_regs_in_sigtramp. | |
134 | ||
848c5feb MC |
135 | 2004-01-08 Michael Chastain <mec.gnu@mindspring.com> |
136 | ||
137 | * config/pa/tm-hppah.h: Update copyright years. | |
138 | ||
3cc5d663 AC |
139 | 2004-01-08 Andrew Cagney <cagney@redhat.com> |
140 | ||
141 | * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function. | |
142 | (mips_o32_reg_struct_has_addr): Delete function. | |
143 | (mips_gdbarch_init): Update. | |
144 | (mips_extract_struct_value_address): Delete function. | |
145 | ||
bfec0b41 JJ |
146 | 2004-01-08 David Mosberger <davidm@hpl.hp.com> |
147 | ||
148 | * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect | |
149 | reality. | |
150 | ||
16e109ca AC |
151 | 2004-01-07 Andrew Cagney <cagney@redhat.com> |
152 | ||
6214a8a1 AC |
153 | * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous |
154 | architecture's elf flags (when available). | |
155 | ||
8d5838b5 AC |
156 | * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS |
157 | FPU to the start, check the MIPS FPU when looking for an old | |
158 | architecture. | |
159 | (set_mipsfpu_single_command): Update the architecture. | |
160 | (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto. | |
161 | ||
480d3dd2 AC |
162 | * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro. |
163 | (mips_mask_address_p): Add "tdep" parameter. | |
164 | (show_mask_address, mips_addr_bits_remove): Update. | |
165 | (mips_dump_tdep): Update. | |
166 | (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro. | |
167 | (MIPS_STACK_ARGSIZE): Delete macro. | |
168 | (mips_stack_argsize, mips_eabi_push_dummy_call): Update. | |
169 | (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update. | |
170 | (mips_o64_push_dummy_call, mips_o32_return_value): Update. | |
171 | (mips_dump_tdep): Update. | |
172 | (MIPS_SAVED_REGSIZE): Delete macro. | |
173 | (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro. | |
174 | (mips_saved_regsize, mips_eabi_use_struct_convention): Update. | |
175 | (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update. | |
176 | (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update. | |
177 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update. | |
178 | (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update. | |
179 | (mips_pop_frame, return_value_location): Update. | |
180 | (mips_n32n64_return_value, mips_dump_tdep): Update. | |
181 | ||
ec03c1ac AC |
182 | * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the |
183 | MIPS ABI. | |
184 | ||
16e109ca AC |
185 | * mips-tdep.c: Update copyright. |
186 | (mips_gdbarch_init): Merge two code blocks handling the register | |
187 | name and number layout. | |
188 | ||
15255275 MS |
189 | 2004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl> |
190 | ||
191 | * tracepoint.c (validate_actionline): Fix segv at EOF | |
192 | ||
9f9057da MC |
193 | 2004-01-07 Michael Chastain <mec.gnu@mindspring.com> |
194 | ||
195 | * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME | |
196 | properly for static fields. | |
197 | ||
0127c0d3 | 198 | 2004-01-06 Jeff Johnston <jjohnstn@redhat.com> |
91562f53 | 199 | Jason Molenda <jmolenda@apple.com> |
0127c0d3 JJ |
200 | |
201 | * disasm.c: Update copyright to include 2004. | |
202 | (do_mixed_source_and_assembly): For uiout asm list | |
203 | and tuple cleanups, initialize to null_cleanup instead of | |
204 | NULL and do so prior to loop. Only reset when we close off | |
205 | the tuple/list. Move check for whether to close off the | |
206 | asm tuple/list to after dump_insns call where it will be run | |
207 | on each loop iteration. | |
208 | ||
5269965e AC |
209 | 2004-01-05 Andrew Cagney <cagney@redhat.com> |
210 | ||
54f1137d AC |
211 | * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED" |
212 | should be a switch case and not a label. | |
213 | * mips-tdep.c (mips32_next_pc): Delete unused labels | |
214 | "greater_equal_branch" and "less_zero_branch". | |
215 | * jv-valprint.c (java_print_value_fields): Delete unused label | |
216 | "flush_it". | |
217 | ||
5269965e AC |
218 | * target.c (unpush_target): Only close a target that is in the |
219 | target stack. | |
220 | ||
dbc22fa1 MK |
221 | 2004-01-05 Mark Kettenis <kettenis@gnu.org> |
222 | ||
9515395e MK |
223 | * sparc-tdep.c (sparc_extract_struct_value_address): Get the |
224 | address from [sp + 64] instead of %o2. | |
225 | ||
dbc22fa1 MK |
226 | * frame.c (get_prev_frame): Don't try to unwind the PC. This |
227 | fixes PR backtrace/1476. | |
228 | ||
5439edaa AC |
229 | 2004-01-05 Andrew Cagney <cagney@redhat.com> |
230 | ||
231 | * libunwind-frame.h (struct frame_id): Add opaque declaration, | |
232 | move to start of file. | |
233 | * i386-tdep.h (struct regcache): Add opaque declaration. | |
234 | * config/ia64/nm-linux.h (struct target_ops): Add opaque | |
235 | declaration. | |
236 | * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__. | |
237 | (ia64_gdbarch_init): Use "GNU/Linux" in comment. | |
238 | * win32-nat.c (fake_create_process): Use ISO C style definition. | |
239 | * stabsread.c (define_symbol): Delete #ifndef | |
240 | DEPRECATED_USE_REGISTER_NOT_ARG wrapper around | |
241 | stabs_argument_has_addr call, macro never defined. | |
242 | ||
19061abe MC |
243 | 2004-01-04 Michael Chastain <mec.gnu@mindspring.com> |
244 | ||
245 | * op50-rom.c: Delete. | |
246 | * w89k-rom.c: Delete. | |
247 | * Makefile.in: Remove references. | |
248 | ||
e53bef9f MK |
249 | 2004-01-04 Mark Kettenis <kettenis@gnu.org> |
250 | ||
251 | * x86-64-tdep.c: Update copyright year. | |
252 | (struct amd64_register_info): Rename from x86_64_register_info. | |
253 | (amd64_register_info): Rename from x86_64_register_info. | |
254 | (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS. | |
255 | (amd64_register_name): Rename from x86_64_register_name. | |
256 | (amd64_register_type): Rename from x86_64_register_type. | |
257 | (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap. | |
258 | (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len. | |
259 | (amd64_dwarf_reg_to_regnum): Rename from | |
260 | x86_64_dwarf_reg_to_regnum. | |
261 | (amd64_convert_register_p): Rename from x86_64_convert_register_p. | |
262 | (amd64_push_dummy_call): Rename from x86_64_push_dummy_call. | |
263 | (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS. | |
264 | (struct amd64_frame_cache): Renamed from x86_64_frame_cache. | |
265 | (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache. | |
266 | (amd64_analyze_prologue): Rename from x86_64_analyze_prologue. | |
267 | (amd64_skip_prologue): Rename from x86_64_skip_prologue. | |
268 | (amd64_frame_cache): Rename from x86_64_frame_cache. | |
269 | (amd64_frame_this_id): Rename from x86_64_frame_this_id. | |
270 | (amd64_frame_prev_register): Rename from | |
271 | x86_64_frame_prev_register. | |
272 | (amd64_frame_unwind): Rename from x86_64_frame_unwind. | |
273 | (amd64_frame_sniffer): Rename from x86_64_frame_sniffer. | |
274 | (amd64_sigtramp_frame_cache): Rename from | |
275 | x86_64_sigtramp_frame_cache. | |
276 | (amd64_sigtramp_frame_prev_register): Rename from | |
277 | x86_64_sigtramp_frame_prev_register. | |
278 | (amd64_sigtramp_frame_unwind): Rename from | |
279 | x86_64_sigtramp_frame_unwind. | |
280 | (amd64_sigtramp_frame_sniffer): Rename from | |
281 | x86_64_sigtramp_frame_sniffer. | |
282 | (amd64_frame_base_address): Rename from x86_64_frame_base_address. | |
283 | (amd64_frame_base): Rename from x86_64_frame_base. | |
284 | (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id. | |
285 | (amd64_frame_align): Rename from x86_64_frame_align. | |
286 | (amd64_supply_fpregset): Rename from x86_64_supply_fpregset. | |
287 | (amd64_regset_from_core_section): Rename from | |
288 | x86_64_regset_from_core_section. | |
289 | (x86_64_init_abi): Update comments. | |
290 | ||
fca6aa58 NR |
291 | 2004-01-04 Nick Roberts <nick@nick.uklinux.net> |
292 | ||
293 | * MAINTAINERS (write after approval): Add myself. | |
294 | ||
8ada74e3 MK |
295 | 2004-01-04 Mark Kettenis <kettenis@gnu.org> |
296 | ||
297 | * sparc64-tdep.c (sparc64_store_arguments): Fix handling of | |
298 | `float' arguments. | |
299 | ||
5154b0cd MK |
300 | 2004-01-04 Mark Kettenis <kettenis@gnu.org> |
301 | ||
302 | * sparc64-tdep.c (sparc64_store_floating_fields): Update comment | |
303 | such that it mentions a specific version of GCC that exhibits this | |
304 | bug. | |
305 | ||
fb316966 MK |
306 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
307 | ||
200cc553 MK |
308 | * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a |
309 | structure that has a single `float' member, store it in %f1 in | |
310 | addition to %f0. | |
311 | ||
e226a4a0 MK |
312 | * sparc-sol2-nat.c: Add missing '\'. |
313 | ||
b9d4c5ed MK |
314 | * sparc-tdep.c (sparc32_return_value): New function. |
315 | (sparc32_use_struct_convention, sparc32_return_value_on_stack): | |
316 | Remove functions. | |
317 | (sparc32_gdbarch_init): Set return_value, don't set | |
318 | extract_return_value, store_return_value, use_struct_convention | |
319 | and return_value_on_stack. | |
320 | ||
fb316966 MK |
321 | * sparc-sol2-nat.c: Add missing ')'. |
322 | ||
1af510a8 JB |
323 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
324 | ||
325 | * infrun.c (handle_step_into_function): New function. | |
326 | (handle_inferior_event): Extract out some code into the new | |
327 | function above. | |
328 | ||
5cf4d23a JB |
329 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
330 | ||
331 | * infrun.c (handle_inferior_event): Move the declaration of | |
332 | real_stop_pc inside the if blocks where it is used. | |
333 | ||
60af1db2 MK |
334 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
335 | ||
336 | * sparc64-tdep.c (sparc64_16_byte_align_p) | |
337 | (sparc64_store_floating_fields, sparc64_store_floating_fields): | |
338 | Use check_typedef to get subtypes of structures and unions. | |
339 | (sparc64_store_return_value): Fix calculation of the appropriate | |
340 | offset into VALBUF when storing a structure or union. | |
341 | (sparc64_return_value): New function. | |
342 | (sparc64_use_struct_convention): Remove function. | |
343 | (sparc64_init_abi): Set return_value, don't set | |
344 | extract_return_value, store_return_value and | |
345 | use_struct_convention. | |
346 | ||
1a901d3f EZ |
347 | 2004-01-03 Eli Zaretskii <eliz@elta.co.il> |
348 | ||
349 | * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS, | |
350 | bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c, | |
351 | gdb/config/alpha/xm-alphaosf.h, | |
352 | gdb/config/powerpc/tm-ppcle-eabi.h, | |
353 | gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001, | |
354 | gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003, | |
355 | gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in, | |
356 | gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c, | |
357 | gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c, | |
358 | gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c, | |
359 | gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c, | |
360 | gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c, | |
361 | gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c, | |
362 | gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c, | |
363 | gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp, | |
364 | nclude/ChangeLog-9103, include/coff/ChangeLog-9103, | |
365 | include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103, | |
366 | opcodes/ChangeLog-0001, opcodes/ChangeLog-0203, | |
367 | opcodes/openrisc-dis.c, opcodes/openrisc-desc.h, | |
368 | sim/frv/profile-fr550.c, sim/frv/profile-fr550.h, | |
369 | sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c, | |
370 | sim/testsuite/sim/sh64/compact/ldsl-mach.cgs, | |
371 | sim/testsuite/sim/sh64/compact/ldsl-macl.cgs, | |
372 | sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and | |
373 | sim/testsuite/sim/sh64/compact/stsl-macl.cgs. | |
374 | Remove lines for .cvsignore files. | |
375 | ||
ef52e463 JB |
376 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
377 | ||
378 | * infrun.c: Back out the previous change. | |
379 | ||
cb1bf9dc MK |
380 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
381 | ||
f0424ef6 MK |
382 | * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and |
383 | sparc-*-sunos4* to the list of REMOVED configurations. | |
384 | ||
cb1bf9dc MK |
385 | * configure.tgt: Add back sparc-*-vxworks*. |
386 | * remote-vxsparc.c: Remove all includes except for "defs.h", | |
387 | "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h". | |
388 | Include "sparc-tdep.h". | |
389 | (SPARC_R_G1): New define. | |
390 | (vxsparc_gregset): New variable. | |
391 | (ext_format_sparc): Remove extern declaration. | |
392 | (vx_read_register): Rewrite to use sparc32_supply_gregset and | |
393 | sparc32_supply_fpregset. | |
394 | (vx_write_register): Rewrite to use sparc32_collect_gregset, | |
395 | sparc_collect_rwindow and sparc32_collect_fpregset. | |
396 | * config/sparc/tm-vxworks.h: New file, based on recently removed | |
397 | tm-vxsparc.h. | |
398 | * config/sparc/vxworks.mt: New file, based on recently removed | |
399 | vxworks.mt. | |
400 | ||
5e938f9f JB |
401 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
402 | ||
403 | * infrun.c (handle_step_into_function): New function. | |
404 | (handle_inferior_event): Extract out some code into the new | |
405 | function above. | |
406 | ||
386c036b MK |
407 | 2004-01-02 Mark Kettenis <kettenis@gnu.org> |
408 | ||
409 | * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and | |
410 | sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c, | |
411 | sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c, | |
412 | sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c, | |
413 | sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c, | |
414 | sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c. | |
415 | (sparc_nat_h): New variable. | |
416 | (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables. | |
417 | (tm-sun4os4.h): Remove dependency. | |
418 | (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies. | |
419 | (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o, | |
420 | sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o, | |
421 | sparc-tdep.o): Update dependencies. | |
422 | (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o, | |
423 | sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o, | |
424 | sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New | |
425 | dependencies. | |
426 | * configure.host: Remove existing sparc-*-lynxos*, | |
427 | sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*, | |
428 | ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*, | |
429 | sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*, | |
430 | sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2* | |
431 | triplets. | |
432 | * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*, | |
433 | sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*, | |
434 | sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*, | |
435 | sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add | |
436 | new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*, | |
437 | sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*, | |
438 | sparc64-*-solaris2* and sparc64-*-* triplets. | |
439 | * sparc64-tdep.c: Update copyright year. Include "inferior.h", | |
440 | "symtab.h" and "objfiles.h". | |
441 | (BIAS): Remove define. | |
442 | (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22) | |
443 | (X_DISP19): Remove macros. | |
444 | (sparc_fetch_instruction): Remove function. | |
445 | (struct gdbarch_tdep): Remove definition. | |
446 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE. | |
447 | (sparc_breakpoint_from_pc): Remove function. | |
448 | (struct sparc64_frame_cache): Remove definition. | |
449 | (sparc64_alloc_frame_cache, sparc64_analyze_prologue, | |
450 | sparc64_unwind_pc): Remove functions. | |
451 | (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of | |
452 | `struct sparc64_frame_cache. Call sparc_analyze_prologue instead | |
453 | of sparc64_analyze_prologue. Mark constant as ULL instead of UL. | |
454 | (sparc64_frame_cache): Change return type to `struct | |
455 | sparc_frame_cache *'. Simply call sparc_frame_cache. | |
456 | (sparc64_frame_this_id, sparc64_frame_prev_register, | |
457 | sparc64_frame_base_address): Use `struct sparc_frame_cache' | |
458 | instead of `struct sparc64_frame_cache. | |
459 | (sparc_unwind_dummy_id, sparc_extract_struct_value_address, | |
460 | sparc_analyze_control_transfer, sparc_software_single_step, | |
461 | sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow, | |
462 | _initialize_sparc64_tdep): Remove functions. | |
463 | (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros. | |
464 | (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New | |
465 | macros. | |
466 | (sparc64_supply_gregset, sparc64_collect_gregset, | |
467 | sparc64_supply_fpregset, sparc64_collect_fpregset): New functions. | |
468 | (sparc64_init_abi): New function. | |
469 | * sparc64-tdep.h: Update copyright year. Fix typo in multiple | |
470 | inclusion guard. Include "sparc-tdep.h". | |
471 | (BIAS): Define. | |
472 | (r_tstate_offset, r_fprs_offset): New defines. | |
473 | (enum sparc_regnum): Remove defenition. | |
474 | (enum sparc64_regnum): Reformat. | |
475 | (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes. | |
476 | (sparc64_init_abi, sparc64_supply_gregset, | |
477 | sparc64_collect_gregset, sparc64_supply_fpregset, | |
478 | sparc64_collect_fpregset): New prototypes. | |
479 | (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset): | |
480 | Add extern declarations. | |
481 | (sparc64_sol2_init_abi): New prototype. | |
482 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
483 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
484 | prototypes. | |
485 | * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include | |
486 | "sparnbsd-nat.h". | |
487 | (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove | |
488 | functions. | |
489 | (_initialize_sparc64fbsd_nat): Remove initialization of | |
490 | sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg, | |
491 | sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p, | |
492 | sparcbsd_fpreg_supplies_p. Initialize sparc_gregset. | |
493 | * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h", | |
494 | "frame-unwind.h", "trad-frame.h" and "gdb_assert.h". | |
495 | (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset) | |
496 | (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset) | |
497 | (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset) | |
498 | (sparc64fbsd_r_y_offset): Remove variables. | |
499 | (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): | |
500 | Make static and const. | |
501 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
502 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
503 | functions. | |
504 | (sparc64fbsd_gregset): New variable. | |
505 | (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg | |
506 | and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset | |
507 | and sparc64_supply_fpregset. | |
508 | (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache) | |
509 | (sparc64fbsd_sigtramp_frame_this_id) | |
510 | (sparc64fbsd_sigtramp_frame_prev_register): New functions. | |
511 | (sparc64fbsd_sigtramp_frame_unwind): New variable. | |
512 | (sparc64fbsd_sigtramp_frame_sniffer): New function. | |
513 | (sparc64fbsd_init_abi): Set pc_in_sigtramp, append | |
514 | sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi. | |
515 | * sparcnbsd-tdep.c: Update copyright year. Include | |
516 | "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h", | |
517 | "trad-frame.h" and "gdb_assert.h", don't include "target.h", | |
518 | "value.h" and "sparcnbsd-tdep.h". | |
519 | (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC) | |
520 | (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT) | |
521 | (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC) | |
522 | (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove | |
523 | defines. | |
524 | (sparcnbsd_gregset): New variable. | |
525 | (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64) | |
526 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64) | |
527 | (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64) | |
528 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions. | |
529 | (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New | |
530 | variables. | |
531 | (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache) | |
532 | (sparc32nbsd_sigcontext_frame_this_id) | |
533 | (sparc32nbsd_sigcontext_frame_prev_register): New functions. | |
534 | (sparc32nbsd_sigcontext_frame_unwind): New variable. | |
535 | (sparc32nbsd_sigtramp_frame_sniffer): New function. | |
536 | (sparcnbsd_get_longjmp_target_32, | |
537 | sparcnbsd_get_longjmp_target_64): Remove functions. | |
538 | (sparcnbsd_aout_in_solib_call_trampoline): Rewrite. | |
539 | (sparcnbsd_init_abi_common, sparcnbsd_init_aout, | |
540 | sparcnbsd_init_elf): Remove. | |
541 | (sparcnbsd_init_abi, sparcnbsd_aout_init_abi) | |
542 | (sparcnbsd_elf_init_abi): New functions. | |
543 | (_initialize_sparcnbsd_tdep): New prototype. | |
544 | (_initialize_sparnbsd_tdep): Update. | |
545 | * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and | |
546 | corelow.o. Add sparc64-nat.o and sparc-nat.o. | |
547 | * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o. | |
548 | * config/sparc/linux.mh: Update comment. | |
549 | (XM_FILE, HOST_IPC): Remove variables. | |
550 | (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove | |
551 | sparc-linux-nat.o. | |
552 | * config/sparc/linux.mt: Update comment. | |
553 | (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o. | |
554 | * config/sparc/nbsd.mt: Reformat. | |
555 | * config/sparc/nbsd64.mh: Update comment. | |
556 | (NATDEPFILES): Add sparc-nat.o. | |
557 | * config/sparc/nbsd64.mt: Update comment. | |
558 | (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o. | |
559 | (TM_FILE): Set to tm-nbsd.h. | |
560 | * config/sparc/nbsdelf.mh: Update comment. | |
561 | (NATDEPFILES): Add sparc-nat.o. | |
562 | (XM_FILE): Delete. | |
563 | * config/sparc/nbsdaout.mh: Update comment. | |
564 | (NATDEPFILES): Add sparc-nat.o | |
565 | (XM_FILE): Delete. | |
566 | * config/sparc/nm-linux.h: Update copyright year. Don't include | |
567 | "config/nm-svr4.h" and "solib.h". Add protection against multiple | |
568 | inclusion. | |
569 | (KERNEL_U_SIZE): Remove define. | |
570 | (kernel_u_size): Remove prototype. | |
571 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define. | |
572 | * config/sparc/nm-nbsd.h: Update copyright. Don't include | |
573 | "regcache.h". | |
574 | (CHILD_PREPARE_TO_STORE): Remove define. | |
575 | * config/sparc/nm-nbsdaout.h: Tweak some comments. | |
576 | * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c, | |
577 | sparcnbsd-nat.c: Rewrite files. | |
578 | * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files. | |
579 | * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h, | |
580 | sparcnbsd-tdep.h: Remove files. | |
581 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h, | |
582 | config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt, | |
583 | config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt, | |
584 | config/sparc/sparc-em.mt, config/sparc/sparclynx.mh, | |
585 | config/sparc/sparclynx.mt, config/sparc/sun4os4.mh, | |
586 | config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh, | |
587 | config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h, | |
588 | config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h, | |
589 | config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h, | |
590 | config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h, | |
591 | config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt, | |
592 | config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files. | |
593 | * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c, | |
594 | sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c, | |
595 | sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files. | |
596 | * config/sparc/linux64.mh, config/sparc/linux64.mt, | |
597 | config/sparc/nm-sol2.h, config/sparc/sol2-64.mt, | |
598 | config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt, | |
599 | config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files. | |
600 | ||
ee84457a AC |
601 | 2004-01-02 Andrew Cagney <cagney@redhat.com> |
602 | ||
603 | From 2003-12-18 Kazuhiro Inaoka: | |
604 | * configure.host: Add m32r-linux target. | |
605 | ||
0bc2134e MC |
606 | 2004-01-02 Michael Chastain <mec.gnu@mindspring.com> |
607 | ||
608 | * top.c (print_gdb_version): Update year to 2004. | |
609 | ||
89a72f9c MM |
610 | 2004-01-02 Mark Mitchell <mark@codesourcery.com> |
611 | ||
612 | * MAINTAINERS: Add myself to the write-after-approval category. | |
613 | ||
86b013ed DJ |
614 | 2004-01-02 Daniel Jacobowitz <drow@mvista.com> |
615 | ||
616 | From Bernardo Innocenti <bernie@develer.com>: | |
617 | * configure.tgt: Add uClinux target. | |
618 | ||
e42c9534 AC |
619 | 2004-01-02 Andrew Cagney <cagney@redhat.com> |
620 | ||
621 | * utils.c (do_my_cleanups): Make static, add forward declaration. | |
622 | * defs.h (do_my_cleanups): Delete declaration. | |
623 | ||
162467d3 EZ |
624 | 2004-01-02 Eli Zaretskii <eliz@elta.co.il> |
625 | ||
626 | * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and | |
627 | bfd/ChangeLog-0203. | |
628 | ||
78434e59 MK |
629 | 2004-01-02 Mark Kettenis <kettenis@gnu.org> |
630 | ||
631 | * configure.in: Check for <machine/reg.h>. Check for `struct reg' | |
632 | in <machine/reg.h>. | |
633 | * configure, config.in: Regenerate. | |
634 | ||
af1c6d45 | 635 | For older changes see ChangeLog-2003 |
c906108c SS |
636 | \f |
637 | Local Variables: | |
638 | mode: change-log | |
639 | left-margin: 8 | |
640 | fill-column: 74 | |
641 | version-control: never | |
642 | End: |