Commit | Line | Data |
---|---|---|
31bb40e4 MK |
1 | 2004-01-18 Mark Kettenis <kettenis@gnu.org> |
2 | ||
3 | * Makefile.in (ALLDEPFILES): Remove core-sol2.c. | |
4 | (core-sol2.o): Remove dependency. | |
5 | * core-sol2.c: Remove file. | |
6 | ||
887432a5 AC |
7 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
8 | ||
9 | * mdebugread.c (compare_blocks): Make addr_diff a LONGEST. | |
10 | * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK | |
11 | enums. | |
12 | ||
29182b13 DJ |
13 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
14 | ||
15 | * remote.c: Update copyright years. | |
16 | ||
2963ee1d DJ |
17 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
18 | ||
19 | * remote.c (remote_vcont_resume): Use xstrprintf instead of sprintf. | |
20 | ||
79d45cd4 AC |
21 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
22 | ||
ee300cd4 AC |
23 | * mdebugread.c: Update copyright. |
24 | (parse_symbol): Replace DEPRECATED_STREQ with strcmp. | |
25 | (parse_type, parse_procedure): Ditto. | |
26 | (parse_partial_symbols, psymtab_to_symtab_1): Ditto. | |
27 | ||
fcacc9c2 AC |
28 | * cris-tdep.c (cris_store_struct_return): Put back accidently |
29 | deleted function. | |
30 | ||
79d45cd4 AC |
31 | * gdbarch.sh: Update copyright year. |
32 | * gdbarch.h, gdbarch.c: Re-generate. | |
33 | ||
b263358a DJ |
34 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
35 | ||
36 | Suggested by George Anzinger. | |
37 | * dwarf2expr.c (execute_stack_op): Fetch the second item from the | |
38 | correct stack offset. Include unknown opcode numbers in the error | |
39 | message. | |
40 | ||
931aecf5 AC |
41 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
42 | ||
43 | * x86-64-tdep.c (x86_64_init_abi): No need to clear | |
44 | extract_struct_value_address, i386 does not set it. | |
45 | * sparc64-tdep.c (sparc64_init_abi): Do not set | |
46 | extract_struct_value_address, never called. | |
47 | (sparc64_extract_struct_value_address): Delete function. | |
48 | * m68hc11-tdep.c: Update copyright. | |
49 | (m68hc11_gdbarch_init): Delete redundant assignment of | |
50 | extract_struct_value_address. | |
51 | * i386-tdep.c: Update copyright. | |
52 | (i386_gdbarch_init): Do not set extract_struct_value_address, | |
53 | never called. | |
54 | (i386_extract_struct_value_address): Delete function. | |
55 | * sparc-tdep.c (sparc32_gdbarch_init): Do not set | |
56 | extract_struct_value_address, never called. | |
57 | (sparc32_extract_struct_value_address): #if 0 function. Add | |
58 | comments explaining its future. | |
59 | ||
756fe439 DJ |
60 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
61 | ||
62 | * arm-tdep.c (arm_write_pc): New function. | |
63 | (arm_gdbarch_init): Call set_gdbarch_write_pc. | |
64 | ||
e74f0f02 DJ |
65 | 2004-01-17 Daniel Jacobowitz <drow@mvista.com> |
66 | ||
67 | * breakpoint.c (must_shift_inst_regs): Delete. | |
68 | (bpstat_stop_status): Delete references to DECR_PC_AFTER_HW_BREAK | |
69 | and SHIFT_INST_REGS. | |
70 | * infcmd.c (step_1, step_1_continuation): Delete references to | |
71 | SHIFT_INST_REGS. | |
72 | * infrun.c (keep_going): Likewise. | |
73 | * target.h (DECR_PC_AFTER_HW_BREAK): Don't define. | |
74 | * config/i386/nm-i386.h (DECR_PC_AFTER_HW_BREAK): Likewise. | |
75 | ||
b6cb9035 AC |
76 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
77 | ||
444a1e2e AC |
78 | * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Delete. |
79 | * gdbarch.h, gdbarch.c: Re-generate. | |
80 | * infcmd.c (print_return_value): Delete reference to | |
81 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
82 | ||
def7e6ed AC |
83 | * cris-tdep.c (cris_gdbarch_init): Do not set |
84 | deprecated_extract_struct_value_address. | |
85 | ||
07be497a AC |
86 | * xstormy16-tdep.c: Update copyright. |
87 | (xstormy16_extract_struct_value_address): Update to current | |
88 | extract struct value address interface. | |
89 | (xstormy16_gdbarch_init): Set extract_struct_value_address. | |
90 | * sh64-tdep.c (sh64_extract_struct_value_address): Update to | |
91 | current extract struct value address interface. | |
92 | (sh64_gdbarch_init): Set extract_struct_value_address. | |
93 | ||
6b4d5c91 AC |
94 | * cris-tdep.c: Update copyright. |
95 | (cris_extract_struct_value_address): Delete function. | |
96 | (struct_return_address): Delete variable. | |
97 | (cris_store_struct_return): Do not set struct_return_address. | |
98 | ||
464e0365 AC |
99 | * mcore-tdep.c: Update copyright. |
100 | (mcore_extract_struct_value_address): Delete function. Update | |
101 | comments. | |
102 | (mcore_gdbarch_init): Update. | |
103 | * mn10300-tdep.c: Update copyright. | |
104 | (mn10300_extract_struct_value_address): Delete function. | |
105 | (mn10300_gdbarch_init): Update. | |
106 | * v850-tdep.c: Update copyright. | |
107 | (v850_extract_struct_value_address): Delete. | |
108 | (v850_gdbarch_init): Update. | |
109 | * ns32k-tdep.c: Update copyright. | |
110 | (ns32k_extract_struct_value_address): Delete. | |
111 | (ns32k_gdbarch_init): Update. | |
112 | * hppa-tdep.c (hppa_extract_struct_value_address): Delete. | |
113 | (hppa_gdbarch_init): Update. | |
114 | * vax-tdep.c: Update copyright. | |
115 | (vax_extract_struct_value_address): Delete. | |
116 | (vax_gdbarch_init): Update. | |
117 | ||
afb18d0f AC |
118 | * gdbarch.sh (DEPRECATED_NPC_REGNUM): Delete. |
119 | * gdbarch.h, gdbarch.c: Re-generate. | |
120 | * procfs.c (procfs_fetch_registers): Delete reference to | |
121 | DEPRECATED_NPC_REGNUM. | |
122 | (procfs_store_registers): Ditto. | |
123 | * regcache.c (generic_target_write_pc): Simplify. | |
124 | * lynx-nat.c: Delete #ifdef SPARC code. Not used. | |
125 | ||
a698f53e AC |
126 | * core-sol2.c (fetch_core_registers): Replace |
127 | DEPRECATED_NPC_REGNUM with equivalent tdep value. | |
128 | ||
adc11376 AC |
129 | * hppa-tdep.c: Update copyright year. |
130 | (hppa_target_write_pc): Use PCOQ_TAIL_REGNUM instead of | |
131 | NPC_REGNUM. | |
132 | (hppa_gdbarch_init): Do not set deprecated_npc_regnum. | |
133 | ||
b6cb9035 AC |
134 | * mips-tdep.c (mips_write_pc): New function. |
135 | (mips_gdbarch_init): Set "write_pc" to "mips_write_pc". | |
136 | (mips_read_pc): Use mips_regnum instead of PC_REGNUM. | |
137 | (mips_find_saved_regs, mips_software_single_step: Ditto. | |
138 | (mips_frame_saved_pc, mips_frame_saved_pc): Ditto. | |
139 | mips_init_extra_frame_info, mips_pop_frame): Ditto. | |
140 | ||
6d82d43b AC |
141 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
142 | ||
143 | * mips-tdep.c: Re-indent. Group functions by ABI. | |
144 | ||
71bd6bd4 AC |
145 | 2004-01-17 Andrew Cagney <cagney@redhat.com> |
146 | ||
147 | * gdbarch.sh (DECR_PC_AFTER_BREAK): Make zero the default. | |
148 | * gdbarch.c: Re-generate. | |
149 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
150 | DECR_PC_AFTER_BREAK to zero. | |
151 | * vax-tdep.c (vax_gdbarch_init): Ditto. | |
152 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
153 | * sparc-tdep.c (sparc32_gdbarch_init): Ditto. | |
154 | * sh64-tdep.c (sh64_gdbarch_init): Ditto. | |
155 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
156 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
157 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
158 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
159 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
160 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
161 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
162 | * m32r-tdep.c (m32r_gdbarch_init): Ditto. | |
163 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
164 | * i386-interix-tdep.c (i386_interix_init_abi): Ditto. | |
165 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
166 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
167 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
168 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
169 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
170 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
171 | * i386-nto-tdep.c (i386nto_init_abi): Add comment. | |
172 | ||
a02abb62 JB |
173 | 2004-01-17 J. Brobecker <brobecker@gnat.com> |
174 | ||
175 | * dwarf2read.c (dwarf2_non_const_array_bound_ignored_complaint): | |
176 | Delete, no longer used. | |
177 | (read_subrange_type): New function, mostly extracted from | |
178 | read_array_type(). | |
179 | (read_array_type): Replace extracted code by call to | |
180 | read_subrange_type(). | |
181 | (dwarf2_get_attr_constant_value): New function. | |
182 | (scan_partial_symbols): Add handling for DW_TAG_subrange_type. | |
183 | (add_partial_symbol): Likewise. | |
184 | (process_die): Likewise. | |
185 | (new_symbol): Likewise. | |
186 | (read_type_die): Likewise. | |
187 | ||
cf5b2f1b AC |
188 | 2004-01-16 Andrew Cagney <cagney@redhat.com> |
189 | ||
190 | * symfile.c: Update copyright year. | |
191 | (compare_symbols): Delete unused function. | |
192 | * stabsread.c: Update copyright year. | |
193 | (lrs_general_complaint): Delete unused function. | |
194 | (ref_search_value): Ditto. | |
195 | (get_substring): Delete declaration. | |
196 | * sh64-tdep.c: Update copyright year. | |
197 | (sh64_get_gdb_regnum): Delete unused function. | |
198 | * dwarf2read.c (dwarf2_unsupported_at_frame_base_complaint): | |
199 | Delete unused function. | |
200 | ||
d33b9831 MK |
201 | 2004-01-17 Mark Kettenis <kettenis@gnu.org> |
202 | ||
203 | * defs.h (gdb_osabi): Add GDB_OSABI_OPENBSD_ELF. | |
204 | * osabi.c (gdb_osabi_names): Add "OpenBSD ELF". | |
205 | ||
7aea86e6 AC |
206 | 2004-01-16 Andrew Cagney <cagney@redhat.com> |
207 | ||
208 | Changes from Peter Schauer. | |
209 | * rs6000-tdep.c: Update copyright year. | |
210 | (rs6000_push_dummy_call): Update the stack pointer before | |
211 | accessing the corresponding stack region. | |
212 | * rs6000-nat.c: Update copyright year. | |
213 | (set_host_arch): Set "info.abfd" to "exec_bfd". | |
214 | ||
26b0da32 MK |
215 | 2004-01-15 Mark Kettenis <kettenis@gnu.org> |
216 | ||
217 | * blockframe.c: Update copyright year. | |
218 | (inside_entry_func): Don't treat a zero PC specially. | |
219 | ||
86fbe6cc EZ |
220 | 2004-01-14 Elena Zannoni <ezannoni@redhat.com> |
221 | ||
222 | * gcore.c (gcore_copy_callback): Use paddr_d to print size | |
223 | variable. | |
224 | (gcore_create_callback): Ditto. Skip any memory segment that has | |
225 | no permissions set. | |
226 | ||
63d06c5c DC |
227 | 2004-01-14 David Carlton <carlton@kealia.com> |
228 | ||
229 | Change symbols for C++ nested types to contain the fully qualified | |
230 | name, if possible. (At least in the DWARF-2 case.) Partial fix | |
231 | for PR's c++/57, c++/488, c++/539, c++/573, c++/609, c++/832, | |
232 | c++/895. | |
233 | * c-exp.y (qualified_type): Handle types nested within classes. | |
234 | * cp-namespace.c: Update comments. | |
235 | (cp_set_block_scope): Delete #if 0. | |
236 | (cp_lookup_nested_type): Handle types nested within classes. | |
237 | * dwarf2read.c: (scan_partial_symbols): Call add_partial_structure | |
238 | when appropriate. | |
239 | (add_partial_symbol): Add the name of the enclosing namespace to | |
240 | types. | |
241 | (pdi_needs_namespace): New. | |
242 | (add_partial_namespace): Tweak comment. | |
243 | (add_partial_structure): New. | |
244 | (psymtab_to_symtab_1): Initialize processing_current_prefix | |
245 | here... | |
246 | (process_die): instead of here. | |
247 | (read_structure_scope): Try to figure out the name of the class or | |
248 | namespace that the structure might be defined within. | |
249 | (read_enumeration): Generate fully-qualified names, if possible. | |
250 | (read_namespace): Don't set name to NULL. | |
251 | (die_specification): New. | |
252 | (new_symbol): Generate fully-qualified names for types. | |
253 | (read_type_die): Determine appropriate prefix. | |
254 | (determine_prefix): New. | |
255 | (typename_concat): New. | |
256 | (class_name): New. | |
257 | * valops.c (value_aggregate_elt): Pass NOSIDE to | |
258 | value_struct_elt_for_reference. | |
259 | (value_struct_elt_for_reference): Make static, add NOSIDE | |
260 | parameter, call value_maybe_namespace_elt as a last resort. | |
261 | (value_namespace_elt): Break out code into | |
262 | value_maybe_namespace_elt. | |
263 | (value_maybe_namespace_elt): New. | |
264 | ||
87783b8b AC |
265 | 2004-01-12 Andrew Cagney <cagney@redhat.com> |
266 | ||
267 | * mips-tdep.c (mips_convert_register_p): Handle both raw and | |
268 | cooked floating-point registers. | |
269 | (mips_gdbarch_init): Set convert_register_p, register_to_value, | |
270 | and value_to_register. | |
271 | ||
6503b91e AC |
272 | 2004-01-13 Andrew Cagney <cagney@redhat.com> |
273 | ||
274 | * gdbarch.sh (FUNCTION_START_OFFSET): Make zero the default. | |
275 | * gdbarch.c: Re-generate. | |
276 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Do not set | |
277 | FUNCTION_START_OFFSET. | |
278 | * v850-tdep.c (v850_gdbarch_init): Ditto. | |
279 | * sparc-tdep.c (sparc32_gdbarch_init): Ditto. | |
280 | * sh64-tdep.c (sh64_gdbarch_init): Ditto. | |
281 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
282 | * s390-tdep.c (s390_gdbarch_init): Ditto. | |
283 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
284 | * ns32k-tdep.c (ns32k_gdbarch_init): Ditto. | |
285 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. | |
286 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
287 | * mcore-tdep.c (mcore_gdbarch_init): Ditto. | |
288 | * m68k-tdep.c (m68k_gdbarch_init): Ditto. | |
289 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
290 | * m32r-tdep.c (m32r_gdbarch_init): Ditto. | |
291 | * ia64-tdep.c (ia64_gdbarch_init): Ditto. | |
292 | * i386-tdep.c (i386_gdbarch_init): Ditto. | |
293 | * hppa-tdep.c (hppa_gdbarch_init): Ditto. | |
294 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. | |
295 | * frv-tdep.c (frv_gdbarch_init): Ditto. | |
296 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. | |
297 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
298 | * avr-tdep.c (avr_gdbarch_init): Ditto. | |
299 | * arm-tdep.c (arm_gdbarch_init): Ditto. | |
300 | * alpha-tdep.c (alpha_gdbarch_init): Ditto. | |
301 | ||
ea1dd7bc DJ |
302 | 2004-01-13 Daniel Jacobowitz <drow@mvista.com> |
303 | ||
304 | * infrun.c (follow_fork_mode_ask): Remove. | |
305 | (follow_fork_mode_kind_names): Remove follow_fork_mode_ask. | |
306 | (follow_fork): Simplify and remove internal error for | |
307 | follow_fork_mode_ask. | |
308 | (_initialize_infrun): Update "set follow-fork-mode" help text. | |
309 | ||
0f0cffd2 AC |
310 | 2004-01-13 Andrew Cagney <cagney@redhat.com> |
311 | ||
312 | * configure.in: Update copyright year. | |
313 | (build_warnings): Add -Wunused-label. | |
314 | * configure: Re-generate. | |
315 | ||
de38af99 AC |
316 | 2004-01-12 Andrew Cagney <cagney@redhat.com> |
317 | ||
954a7fba AC |
318 | * exec.h (exec_ops): Make "extern". |
319 | ||
de38af99 AC |
320 | * mips-tdep.c (mips_pseudo_register_read): Don't return a value, |
321 | the function is void. | |
322 | (mips_pseudo_register_write): Ditto. | |
323 | ||
1a111ce3 AC |
324 | 2004-01-12 Andrew Cagney <cagney@redhat.com> |
325 | ||
326 | * stack.c (frame_info): Delete DEPRECATED_PRINT_EXTRA_FRAME_INFO | |
327 | call. Never defined. | |
328 | * sparc-tdep.h (struct frame_info): Add opaque declaration. | |
329 | * sparc64-tdep.h (struct gdbarch): Add opaque declaration. | |
330 | (struct sparc_gregset, struct regcache): Ditto. | |
331 | * sparc-nat.c: Update copyright. Specify "GNU/Linux". | |
332 | ||
48efe704 AC |
333 | 2004-01-12 Andrew Cagney <cagney@redhat.com> |
334 | ||
335 | * mi/ChangeLog: Delete file. Renamed to ... | |
336 | * mi/ChangeLog-1999-2003: New file. | |
337 | * tui/ChangeLog: Delete file. Renamed to ... | |
338 | * tui/ChangeLog-1998-2003: New file. | |
339 | ||
a54124c5 MK |
340 | 2004-01-11 Mark Kettenis <kettenis@gnu.org> |
341 | ||
2ca62865 MK |
342 | * sparc64nbsd-tdep.c: Include "regset.h". |
343 | (sparc64nbsd_sizeof_struct_reg, sparc64nbsd_sizeof_struct_fpreg): | |
344 | Remove variables. | |
345 | (fetch_core_registers): Remove function. | |
346 | (sparc64nbsd_core_fns): Remove variable. | |
347 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): New | |
348 | functions. | |
349 | (sparc64nbsd_init_abi): Initialize TDEP->gregset, | |
350 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset. | |
351 | (_initialize_sparc64nbsd_tdep): Remove call to add_core_fns. | |
352 | ||
ca9d58e9 MK |
353 | * sparc-tdep.c (sparc32_extract_struct_value_address): Rename from |
354 | sparc_extract_struct_value_address. | |
355 | (sparc32_gdbarch_init): Set extract_struct_value_address. | |
356 | * sparc64-tdep.c (sparc64_extract_struct_value_address): New | |
357 | function. | |
358 | (sparc64_init_abi): Set extract_struct_value_address. Don't set | |
359 | return_value_on_stack. | |
360 | ||
3cc87ec0 MK |
361 | * NEWS: Mention that %cs and %ss have been added to the AMD64 |
362 | configurations | |
363 | ||
5bf00f29 MK |
364 | * frame.c: Update copyright year. |
365 | (get_prev_frame): Improve comment. | |
366 | ||
4f7ec84e MK |
367 | * sparc64fbsd-tdep.c: Include "regset.h". |
368 | (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): | |
369 | Remove variables. | |
370 | (fetch_core_registers): Remove function. | |
371 | (sparc64fbsd_core_fns): Remove variable. | |
372 | (sparc64fbsd_supply_gregset, sparc64fbsd_supply_fpregset): New | |
373 | functions. | |
374 | (sparc64fbsd_init_abi): Initialize TDEP->gregset, | |
375 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_gregset. | |
46b58ce9 | 376 | (_initialize_sparc64fbsd_tdep): Remove call to add_core_fns. |
4f7ec84e | 377 | |
4e7b0cd3 MK |
378 | * sparcnbsd-tdep.c: Include "regset.h". |
379 | (fetch_core_registers): Remove function. | |
380 | (sparcnbsd_core_fns, sparcnbsd_elfcore_fns): Remove varaibles. | |
381 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): New | |
382 | functions. | |
383 | (sparc32nbsd_init_abi): Initialize TDEP->gregset and | |
384 | TDEP->fpregset. | |
46b58ce9 | 385 | (_initialize_sparcnbsd_tdep): Remove calls to add_core_fns. |
4e7b0cd3 | 386 | |
a54124c5 MK |
387 | * sparc-tdep.h (struct regset): Provide opaque declaration. |
388 | (struct gdbarch_tdep): Add gregset, sizeof_gregset, | |
389 | fpregset and sizeof_fpregset members. | |
390 | * sparc-tdep.c (struct regset): Provide opaque declaration. | |
391 | (sparc_regset_from_core_section): New function. | |
392 | (sparc32_gdbarch_init): Initialize TDEP->gregset, | |
393 | TDEP->sizeof_gregset, TDEP->fpregset and TDEP->sizeof_fpregset. | |
394 | Set regset_from_core_section when appropriate. | |
395 | ||
29ff87c5 MK |
396 | 2004-01-10 Mark Kettenis <kettenis@gnu.org> |
397 | ||
79b1ab3d MK |
398 | * x86-64-tdep.c (amd64_non_pod_p): New function. |
399 | (amd64_classify_aggregate): Return class memory for non-POD | |
400 | C++ structure types. | |
401 | ||
6470d250 MK |
402 | * x86-64-tdep.c (amd64_push_arguments): Add struct_return |
403 | argument. Use it to reserve a register if necessary. | |
404 | (amd64_push_dummy_call): Pass STRUCT_RETURN in call to | |
405 | amd64_push_arguments. | |
406 | ||
562c50c2 MK |
407 | * x86-64-tdep.c (amd64_classify_aggregate): Ignore static fields. |
408 | ||
af233647 MK |
409 | * x86-64-tdep.c (amd64_register_info): Add %cs and %ss. Adjust |
410 | register numbers in comments. | |
411 | * x86-64-tdep.h: Update copyright year. | |
412 | (X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM, X86_64_XMM1_REGNUM): | |
413 | Adjust for addition of %cs and %ss. | |
414 | * amd64fbsd-nat.c: Update copyright year. | |
415 | (reg_offset): Add register offsets for %cs and %ss. | |
416 | * amd64fbsd-tdep.c: Update copyright year. | |
417 | (amd64fbsd_r_reg_offset): Add register offsets for %cs and %ss. | |
418 | (amd64fbsd_sc_reg_offset): Likewise. | |
419 | * x86-64-linux-nat.c: Update copyright year. | |
420 | (x86_64_linux_gregset64_reg_offset): Add register offsets for %cs | |
421 | and %ss. | |
422 | * amd64nbsd-nat.c: Update copyright year. | |
423 | (amd64nbsd32_r_reg_offset): Add register offsets for %cs and %ss. | |
424 | * amd64nbsd-tdep.c: Update copyright year. | |
425 | (amd64nbsd_r_reg_offset): Add register offsets for %cs and %ss. | |
426 | * x86-64-linux-tdep.c: Update copyright year. | |
427 | (user_to_gdb_regmap): Add mapping for %cs and %ss. | |
428 | (x86_64_linux_sc_reg_offset): Adjust for addition of %cs and %ss. | |
429 | * regformats/reg-x86-64.dat: Add %cs and %ss. | |
430 | ||
29ff87c5 MK |
431 | * blockframe.c (inside_entry_func): Reformat. Introduce new local |
432 | variables to prevent long lines. Update comments to reflect | |
433 | reality. | |
434 | ||
38d518c9 EZ |
435 | 2004-01-09 David Carlton <carlton@kealia.com> |
436 | ||
437 | Checked in by Elena Zannoni <ezannoni@redhat.com>. | |
438 | * dwarf2read.c (read_namespace): Pull out name-generating code | |
439 | into namespace_name. Rename previous_namespace to previous_prefix | |
440 | and processing_current_namespace to processing_current_prefix.. | |
441 | (namespace_name): New function. | |
442 | (add_partial_symbol): Substitute uses of pdi->name with | |
443 | actual_name. | |
444 | * cp-support.h: Rename processing_current_namespace to | |
445 | processing_current_prefix. | |
446 | Update copyright year. | |
447 | * cp-namespace.c: Rename processing_current_namespace to | |
448 | processing_current_prefix. | |
449 | Update copyright year. | |
450 | ||
1e4728e7 AC |
451 | 2004-01-09 Andrew Cagney <cagney@redhat.com> |
452 | ||
453 | * jv-valprint.c, ser-unix.c: Add missing copyright years. | |
454 | ||
c77c642a MK |
455 | 2004-01-09 Mark Kettenis <kettenis@gnu.org> |
456 | ||
457 | * dbxread.c (read_dbx_symtab): Ignore N_PATCH stabs instead of | |
458 | complaining. | |
459 | (process_one_symbol): Deal with N_PATCH stabs. | |
460 | ||
b44e9041 EZ |
461 | 2004-01-09 Elena Zannoni <ezannoni@redhat.com> |
462 | ||
463 | * dwarf2read.c (read_array_type): Discard FORTRAN_HACK macro and | |
464 | ifdeffed code. | |
465 | Update copyright year. | |
38d518c9 | 466 | |
eccfb640 MC |
467 | 2004-01-08 Michael Chastain <mec.gnu@mindspring.com> |
468 | ||
469 | * config/pa/tm-hppa.h: Update extern declarations for | |
470 | hppa32_hpux_frame_saved_pc_in_sigtramp, | |
471 | hppa32_hpux_frame_base_before_sigtramp, and | |
472 | hppa32_hpux_frame_find_saved_regs_in_sigtramp. | |
473 | ||
848c5feb MC |
474 | 2004-01-08 Michael Chastain <mec.gnu@mindspring.com> |
475 | ||
476 | * config/pa/tm-hppah.h: Update copyright years. | |
477 | ||
3cc5d663 AC |
478 | 2004-01-08 Andrew Cagney <cagney@redhat.com> |
479 | ||
480 | * mips-tdep.c (mips_n32n64_reg_struct_has_addr): Delete function. | |
481 | (mips_o32_reg_struct_has_addr): Delete function. | |
482 | (mips_gdbarch_init): Update. | |
483 | (mips_extract_struct_value_address): Delete function. | |
484 | ||
bfec0b41 JJ |
485 | 2004-01-08 David Mosberger <davidm@hpl.hp.com> |
486 | ||
487 | * ia64-linux-tdep.c: Update GATE_AREA_END value to reflect | |
488 | reality. | |
489 | ||
16e109ca AC |
490 | 2004-01-07 Andrew Cagney <cagney@redhat.com> |
491 | ||
6214a8a1 AC |
492 | * mips-tdep.c (mips_gdbarch_init): Set elf_flags to the previous |
493 | architecture's elf flags (when available). | |
494 | ||
8d5838b5 AC |
495 | * mips-tdep.c (mips_gdbarch_init): Move code determining the MIPS |
496 | FPU to the start, check the MIPS FPU when looking for an old | |
497 | architecture. | |
498 | (set_mipsfpu_single_command): Update the architecture. | |
499 | (set_mipsfpu_double_command, set_mipsfpu_none_command): Ditto. | |
500 | ||
480d3dd2 AC |
501 | * mips-tdep.c (MIPS_DEFAULT_MASK_ADDRESS_P): Delete macro. |
502 | (mips_mask_address_p): Add "tdep" parameter. | |
503 | (show_mask_address, mips_addr_bits_remove): Update. | |
504 | (mips_dump_tdep): Update. | |
505 | (MIPS_DEFAULT_STACK_ARGSIZE): Delete macro. | |
506 | (MIPS_STACK_ARGSIZE): Delete macro. | |
507 | (mips_stack_argsize, mips_eabi_push_dummy_call): Update. | |
508 | (mips_n32n64_push_dummy_call, mips_o32_push_dummy_call): Update. | |
509 | (mips_o64_push_dummy_call, mips_o32_return_value): Update. | |
510 | (mips_dump_tdep): Update. | |
511 | (MIPS_SAVED_REGSIZE): Delete macro. | |
512 | (MIPS_DEFAULT_SAVED_REGSIZE): Delete macro. | |
513 | (mips_saved_regsize, mips_eabi_use_struct_convention): Update. | |
514 | (mips_eabi_reg_struct_has_addr, mips_find_saved_regs): Update. | |
515 | (mips_frame_saved_pc, mips16_heuristic_proc_desc): Update. | |
516 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call): Update. | |
517 | (mips_o32_push_dummy_call, mips_o64_push_dummy_call): Update. | |
518 | (mips_pop_frame, return_value_location): Update. | |
519 | (mips_n32n64_return_value, mips_dump_tdep): Update. | |
520 | ||
ec03c1ac AC |
521 | * mips-tdep.c (mips_gdbarch_init): Clean up code selecting the |
522 | MIPS ABI. | |
523 | ||
16e109ca AC |
524 | * mips-tdep.c: Update copyright. |
525 | (mips_gdbarch_init): Merge two code blocks handling the register | |
526 | name and number layout. | |
527 | ||
15255275 MS |
528 | 2004-01-02 Pawel Ostrowski <pasza@zodiac.mimuw.edu.pl> |
529 | ||
530 | * tracepoint.c (validate_actionline): Fix segv at EOF | |
531 | ||
9f9057da MC |
532 | 2004-01-07 Michael Chastain <mec.gnu@mindspring.com> |
533 | ||
534 | * hpread.c (hpread_read_struct_type): Call SET_FIELD_PHYSNAME | |
535 | properly for static fields. | |
536 | ||
0127c0d3 | 537 | 2004-01-06 Jeff Johnston <jjohnstn@redhat.com> |
91562f53 | 538 | Jason Molenda <jmolenda@apple.com> |
0127c0d3 JJ |
539 | |
540 | * disasm.c: Update copyright to include 2004. | |
541 | (do_mixed_source_and_assembly): For uiout asm list | |
542 | and tuple cleanups, initialize to null_cleanup instead of | |
543 | NULL and do so prior to loop. Only reset when we close off | |
544 | the tuple/list. Move check for whether to close off the | |
545 | asm tuple/list to after dump_insns call where it will be run | |
546 | on each loop iteration. | |
547 | ||
5269965e AC |
548 | 2004-01-05 Andrew Cagney <cagney@redhat.com> |
549 | ||
54f1137d AC |
550 | * ser-unix.c (ser_unix_async): Fix tipo, "NOTHING_SECHEDULED" |
551 | should be a switch case and not a label. | |
552 | * mips-tdep.c (mips32_next_pc): Delete unused labels | |
553 | "greater_equal_branch" and "less_zero_branch". | |
554 | * jv-valprint.c (java_print_value_fields): Delete unused label | |
555 | "flush_it". | |
556 | ||
5269965e AC |
557 | * target.c (unpush_target): Only close a target that is in the |
558 | target stack. | |
559 | ||
dbc22fa1 MK |
560 | 2004-01-05 Mark Kettenis <kettenis@gnu.org> |
561 | ||
9515395e MK |
562 | * sparc-tdep.c (sparc_extract_struct_value_address): Get the |
563 | address from [sp + 64] instead of %o2. | |
564 | ||
dbc22fa1 MK |
565 | * frame.c (get_prev_frame): Don't try to unwind the PC. This |
566 | fixes PR backtrace/1476. | |
567 | ||
5439edaa AC |
568 | 2004-01-05 Andrew Cagney <cagney@redhat.com> |
569 | ||
570 | * libunwind-frame.h (struct frame_id): Add opaque declaration, | |
571 | move to start of file. | |
572 | * i386-tdep.h (struct regcache): Add opaque declaration. | |
573 | * config/ia64/nm-linux.h (struct target_ops): Add opaque | |
574 | declaration. | |
575 | * ia64-tdep.c (ia64_find_proc_info_x): Do not use __FUNCTION__. | |
576 | (ia64_gdbarch_init): Use "GNU/Linux" in comment. | |
577 | * win32-nat.c (fake_create_process): Use ISO C style definition. | |
578 | * stabsread.c (define_symbol): Delete #ifndef | |
579 | DEPRECATED_USE_REGISTER_NOT_ARG wrapper around | |
580 | stabs_argument_has_addr call, macro never defined. | |
581 | ||
19061abe MC |
582 | 2004-01-04 Michael Chastain <mec.gnu@mindspring.com> |
583 | ||
584 | * op50-rom.c: Delete. | |
585 | * w89k-rom.c: Delete. | |
586 | * Makefile.in: Remove references. | |
587 | ||
e53bef9f MK |
588 | 2004-01-04 Mark Kettenis <kettenis@gnu.org> |
589 | ||
590 | * x86-64-tdep.c: Update copyright year. | |
591 | (struct amd64_register_info): Rename from x86_64_register_info. | |
592 | (amd64_register_info): Rename from x86_64_register_info. | |
593 | (AMD64_NUM_REGS): Rename from X86_64_NUM_REGS. | |
594 | (amd64_register_name): Rename from x86_64_register_name. | |
595 | (amd64_register_type): Rename from x86_64_register_type. | |
596 | (amd64_dwarf_regmap): Rename from x86_64_dwarf_regmap. | |
597 | (amd64_dwarf_regmap_len): Rename from x86_64_dwarf_regmap_len. | |
598 | (amd64_dwarf_reg_to_regnum): Rename from | |
599 | x86_64_dwarf_reg_to_regnum. | |
600 | (amd64_convert_register_p): Rename from x86_64_convert_register_p. | |
601 | (amd64_push_dummy_call): Rename from x86_64_push_dummy_call. | |
602 | (AMD64_NUM_SAVED_REGS): Rename from X86_64_NUM_SAVED_REGS. | |
603 | (struct amd64_frame_cache): Renamed from x86_64_frame_cache. | |
604 | (amd64_alloc_frame_cache): Renamed from x86_64_alloc_frame_cache. | |
605 | (amd64_analyze_prologue): Rename from x86_64_analyze_prologue. | |
606 | (amd64_skip_prologue): Rename from x86_64_skip_prologue. | |
607 | (amd64_frame_cache): Rename from x86_64_frame_cache. | |
608 | (amd64_frame_this_id): Rename from x86_64_frame_this_id. | |
609 | (amd64_frame_prev_register): Rename from | |
610 | x86_64_frame_prev_register. | |
611 | (amd64_frame_unwind): Rename from x86_64_frame_unwind. | |
612 | (amd64_frame_sniffer): Rename from x86_64_frame_sniffer. | |
613 | (amd64_sigtramp_frame_cache): Rename from | |
614 | x86_64_sigtramp_frame_cache. | |
615 | (amd64_sigtramp_frame_prev_register): Rename from | |
616 | x86_64_sigtramp_frame_prev_register. | |
617 | (amd64_sigtramp_frame_unwind): Rename from | |
618 | x86_64_sigtramp_frame_unwind. | |
619 | (amd64_sigtramp_frame_sniffer): Rename from | |
620 | x86_64_sigtramp_frame_sniffer. | |
621 | (amd64_frame_base_address): Rename from x86_64_frame_base_address. | |
622 | (amd64_frame_base): Rename from x86_64_frame_base. | |
623 | (amd64_unwind_dummy_id): Rename from x86_64_unwind_dummy_id. | |
624 | (amd64_frame_align): Rename from x86_64_frame_align. | |
625 | (amd64_supply_fpregset): Rename from x86_64_supply_fpregset. | |
626 | (amd64_regset_from_core_section): Rename from | |
627 | x86_64_regset_from_core_section. | |
628 | (x86_64_init_abi): Update comments. | |
629 | ||
fca6aa58 NR |
630 | 2004-01-04 Nick Roberts <nick@nick.uklinux.net> |
631 | ||
632 | * MAINTAINERS (write after approval): Add myself. | |
633 | ||
8ada74e3 MK |
634 | 2004-01-04 Mark Kettenis <kettenis@gnu.org> |
635 | ||
636 | * sparc64-tdep.c (sparc64_store_arguments): Fix handling of | |
637 | `float' arguments. | |
638 | ||
5154b0cd MK |
639 | 2004-01-04 Mark Kettenis <kettenis@gnu.org> |
640 | ||
641 | * sparc64-tdep.c (sparc64_store_floating_fields): Update comment | |
642 | such that it mentions a specific version of GCC that exhibits this | |
643 | bug. | |
644 | ||
fb316966 MK |
645 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
646 | ||
200cc553 MK |
647 | * sparc64-tdep.c (sparc64_store_floating_fields): If TYPE is a |
648 | structure that has a single `float' member, store it in %f1 in | |
649 | addition to %f0. | |
650 | ||
e226a4a0 MK |
651 | * sparc-sol2-nat.c: Add missing '\'. |
652 | ||
b9d4c5ed MK |
653 | * sparc-tdep.c (sparc32_return_value): New function. |
654 | (sparc32_use_struct_convention, sparc32_return_value_on_stack): | |
655 | Remove functions. | |
656 | (sparc32_gdbarch_init): Set return_value, don't set | |
657 | extract_return_value, store_return_value, use_struct_convention | |
658 | and return_value_on_stack. | |
659 | ||
fb316966 MK |
660 | * sparc-sol2-nat.c: Add missing ')'. |
661 | ||
1af510a8 JB |
662 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
663 | ||
664 | * infrun.c (handle_step_into_function): New function. | |
665 | (handle_inferior_event): Extract out some code into the new | |
666 | function above. | |
667 | ||
5cf4d23a JB |
668 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
669 | ||
670 | * infrun.c (handle_inferior_event): Move the declaration of | |
671 | real_stop_pc inside the if blocks where it is used. | |
672 | ||
60af1db2 MK |
673 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
674 | ||
675 | * sparc64-tdep.c (sparc64_16_byte_align_p) | |
676 | (sparc64_store_floating_fields, sparc64_store_floating_fields): | |
677 | Use check_typedef to get subtypes of structures and unions. | |
678 | (sparc64_store_return_value): Fix calculation of the appropriate | |
679 | offset into VALBUF when storing a structure or union. | |
680 | (sparc64_return_value): New function. | |
681 | (sparc64_use_struct_convention): Remove function. | |
682 | (sparc64_init_abi): Set return_value, don't set | |
683 | extract_return_value, store_return_value and | |
684 | use_struct_convention. | |
685 | ||
1a901d3f EZ |
686 | 2004-01-03 Eli Zaretskii <eliz@elta.co.il> |
687 | ||
688 | * config/djgpp/fnchange.lst: Add lines for COPYING.LIBGLOSS, | |
689 | bfd/doc/ChangeLog-9103, bfd/elf32-m68hc1x.c, | |
690 | gdb/config/alpha/xm-alphaosf.h, | |
691 | gdb/config/powerpc/tm-ppcle-eabi.h, | |
692 | gdb/config/rs6000/tm-rs6000-aix4.h, gdb/gdbtk/ChangeLog-2001, | |
693 | gdb/gdbtk/ChangeLog-2002, gdb/gdbtk/ChangeLog-2003, | |
694 | gdb/gdbtk/plugins/intel-pentium/intel-pentium.tcl.in, | |
695 | gdb/gdbtk/plugins/rhabout/rhabout.tcl.in, gdb/i386-linux-nat.c, | |
696 | gdb/ia64-aix-nat.c, gdb/ia64-aix-tdep.c, gdb/ia64-linux-nat.c, | |
697 | gdb/ia64-linux-nat.c, gdb/ppc-linux-tdep.c, gdb/ppc-linux-nat.c, | |
698 | gdb/sparc64nbsd-nat.c, gdb/sparc64nbsd-tdep.c, | |
699 | gdb/sparc64-linux-nat.c, gdb/sparc64-linux-tdep.c, | |
700 | gdb/sparc64-nat.c, gdb/sparc64-tdep.c, gdb/sparc64-sol2-tdep.c, | |
701 | gdb/sparc-sol2-nat.c, gdb/sparc-sol2-tdep.c, | |
702 | gdb/testsuite/gdb.gdbtk/, gdb/testsuite/gdb.mi/mi-var-child.exp, | |
703 | nclude/ChangeLog-9103, include/coff/ChangeLog-9103, | |
704 | include/elf/ChangeLog-9103, include/opcode/ChangeLog-9103, | |
705 | opcodes/ChangeLog-0001, opcodes/ChangeLog-0203, | |
706 | opcodes/openrisc-dis.c, opcodes/openrisc-desc.h, | |
707 | sim/frv/profile-fr550.c, sim/frv/profile-fr550.h, | |
708 | sim/sh64/sem-compact-switch.c, sim/sh64/sem-media-switch.c, | |
709 | sim/testsuite/sim/sh64/compact/ldsl-mach.cgs, | |
710 | sim/testsuite/sim/sh64/compact/ldsl-macl.cgs, | |
711 | sim/testsuite/sim/sh64/compact/stsl-mach.cgs, and | |
712 | sim/testsuite/sim/sh64/compact/stsl-macl.cgs. | |
713 | Remove lines for .cvsignore files. | |
714 | ||
ef52e463 JB |
715 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
716 | ||
717 | * infrun.c: Back out the previous change. | |
718 | ||
cb1bf9dc MK |
719 | 2004-01-03 Mark Kettenis <kettenis@gnu.org> |
720 | ||
f0424ef6 MK |
721 | * NEWS: Mention revised SPARC target. Add sparc-*-lynxos* and |
722 | sparc-*-sunos4* to the list of REMOVED configurations. | |
723 | ||
cb1bf9dc MK |
724 | * configure.tgt: Add back sparc-*-vxworks*. |
725 | * remote-vxsparc.c: Remove all includes except for "defs.h", | |
726 | "regcache.h", "vx-share/ptrace.h" and "vx-share/regPacket.h". | |
727 | Include "sparc-tdep.h". | |
728 | (SPARC_R_G1): New define. | |
729 | (vxsparc_gregset): New variable. | |
730 | (ext_format_sparc): Remove extern declaration. | |
731 | (vx_read_register): Rewrite to use sparc32_supply_gregset and | |
732 | sparc32_supply_fpregset. | |
733 | (vx_write_register): Rewrite to use sparc32_collect_gregset, | |
734 | sparc_collect_rwindow and sparc32_collect_fpregset. | |
735 | * config/sparc/tm-vxworks.h: New file, based on recently removed | |
736 | tm-vxsparc.h. | |
737 | * config/sparc/vxworks.mt: New file, based on recently removed | |
738 | vxworks.mt. | |
739 | ||
5e938f9f JB |
740 | 2004-01-03 J. Brobecker <brobecker@gnat.com> |
741 | ||
742 | * infrun.c (handle_step_into_function): New function. | |
743 | (handle_inferior_event): Extract out some code into the new | |
744 | function above. | |
745 | ||
386c036b MK |
746 | 2004-01-02 Mark Kettenis <kettenis@gnu.org> |
747 | ||
748 | * Makefile.in (ALLDEPFILES): Remove sparc-linux-nat.c and | |
749 | sparcl-tdep.c. Add sparc-linux-tdep.c, sparc-sol2-nat.c, | |
750 | sparc-sol2-tdep.c, sparc-sol2-nat.c, sparc-sol2-tdep.c, | |
751 | sparc64-linux-nat.c, sparc64-linux-tdep.c, sparc64-nat.c, | |
752 | sparc64-sol2-tdep.c, sparc64-tdep.c, sparc64fbsd-nat.c, | |
753 | sparc64fbsd-tdep.c, sparcnbsd-nat.c, sparcnbsd-tdep.c. | |
754 | (sparc_nat_h): New variable. | |
755 | (sparcbsd_nat_h, sparcnbsd_tdep_h): Remove variables. | |
756 | (tm-sun4os4.h): Remove dependency. | |
757 | (sparcbsd-nat.o, sparc-linux-nat.o): Remove dependencies. | |
758 | (sparc64fbsd-nat.o, sparc64fbsd-tdep.o, sparc64nbsd-nat.o, | |
759 | sparc64-tdep.o, sparc-nat.o, sparcnbsd-nat.o, sparcnbsd-tdep.o, | |
760 | sparc-tdep.o): Update dependencies. | |
761 | (sparc-linux-tdep.o, sparc-sol2-nat.o, sparc-sol2-tdep.o, | |
762 | sparc64-linux-nat.o, sparc64-linux-tdep.o, sparc64-nat.o, | |
763 | sparc64-sol2-tdep.o, sparc64-tdep.o, sparc64nbsd-tdep.o): New | |
764 | dependencies. | |
765 | * configure.host: Remove existing sparc-*-lynxos*, | |
766 | sparc-*-solaris*, sparc-*-sunos4*, sparc-*-sunos5*, sparc-*-*, | |
767 | ultrasparc-*-freebsd, sparcv9-*-freebsd, sparc64-*-linux*, | |
768 | sparcv9-*-* and sparc64-*-* triplets. Add new sparc64-*-linux*, | |
769 | sparc-*-solaris2*, sparcv9-*-solaris2* and sparc64-*-solaris2* | |
770 | triplets. | |
771 | * configure.tgt: Remove exitsing sparc-*-aout*, sparc-*-coff*, | |
772 | sparc-*-elf*, sparc*-lynxos*, sparc-*-solars2*, sparc-*-sunos4*, | |
773 | sparc-*-sunos5*, sparc-*-vxworks*, sparc64-*linux*, sparc64-*-*, | |
774 | sparcv9-*-* and commented out sparc64-*-solars2* triplets. Add | |
775 | new sparc-*-solaris2.[0-6], sparc-*-solaris2.[0-6].*, | |
776 | sparc64-*-linux, sparc-*-solaris2*, sparcv9-*-solaris*, | |
777 | sparc64-*-solaris2* and sparc64-*-* triplets. | |
778 | * sparc64-tdep.c: Update copyright year. Include "inferior.h", | |
779 | "symtab.h" and "objfiles.h". | |
780 | (BIAS): Remove define. | |
781 | (X_OP, X_RD, X_A, X_COND, X_OP2, X_IMM22, X_OP3, X_I, X_DISP22) | |
782 | (X_DISP19): Remove macros. | |
783 | (sparc_fetch_instruction): Remove function. | |
784 | (struct gdbarch_tdep): Remove definition. | |
785 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use ARRAY_SIZE. | |
786 | (sparc_breakpoint_from_pc): Remove function. | |
787 | (struct sparc64_frame_cache): Remove definition. | |
788 | (sparc64_alloc_frame_cache, sparc64_analyze_prologue, | |
789 | sparc64_unwind_pc): Remove functions. | |
790 | (sparc64_skip_prologue): Use `struct sparc_frame_cache' instead of | |
791 | `struct sparc64_frame_cache. Call sparc_analyze_prologue instead | |
792 | of sparc64_analyze_prologue. Mark constant as ULL instead of UL. | |
793 | (sparc64_frame_cache): Change return type to `struct | |
794 | sparc_frame_cache *'. Simply call sparc_frame_cache. | |
795 | (sparc64_frame_this_id, sparc64_frame_prev_register, | |
796 | sparc64_frame_base_address): Use `struct sparc_frame_cache' | |
797 | instead of `struct sparc64_frame_cache. | |
798 | (sparc_unwind_dummy_id, sparc_extract_struct_value_address, | |
799 | sparc_analyze_control_transfer, sparc_software_single_step, | |
800 | sparc64_gdbarch_init, sparc_supply_rwindow, sparc_fill_rwindow, | |
801 | _initialize_sparc64_tdep): Remove functions. | |
802 | (TSTATE_CWP, TSTATE_ICC, TSTATE_XCC): New macros. | |
803 | (PSR_S, PSR_ICC, PSR_VERS, PSR_IMPL, PSR_V8PLUS, PSR_XCC): New | |
804 | macros. | |
805 | (sparc64_supply_gregset, sparc64_collect_gregset, | |
806 | sparc64_supply_fpregset, sparc64_collect_fpregset): New functions. | |
807 | (sparc64_init_abi): New function. | |
808 | * sparc64-tdep.h: Update copyright year. Fix typo in multiple | |
809 | inclusion guard. Include "sparc-tdep.h". | |
810 | (BIAS): Define. | |
811 | (r_tstate_offset, r_fprs_offset): New defines. | |
812 | (enum sparc_regnum): Remove defenition. | |
813 | (enum sparc64_regnum): Reformat. | |
814 | (sparc_supply_rwindow, sparc_fill_rwindow): Remove prototypes. | |
815 | (sparc64_init_abi, sparc64_supply_gregset, | |
816 | sparc64_collect_gregset, sparc64_supply_fpregset, | |
817 | sparc64_collect_fpregset): New prototypes. | |
818 | (sparc64_sol2_gregset, sparc64nbsd_gregset, sparc64fbsd_gregset): | |
819 | Add extern declarations. | |
820 | (sparc64_sol2_init_abi): New prototype. | |
821 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
822 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
823 | prototypes. | |
824 | * sparc64fbsd-nat.c: Include "sparc-nat.h", don't include | |
825 | "sparnbsd-nat.h". | |
826 | (sparc64fbsd_reg_supplies_p, sparc64fbsd_fpreg_supplies_p): Remove | |
827 | functions. | |
828 | (_initialize_sparc64fbsd_nat): Remove initialization of | |
829 | sparcbsd_supply_reg, sparcbsd_fill_reg, sparcbsd_supply_fpreg, | |
830 | sparcbsd_fill_fpreg, sparcbsd_reg_supplies_p, | |
831 | sparcbsd_fpreg_supplies_p. Initialize sparc_gregset. | |
832 | * sparc64fbsd-tdep.c: Update copyright year. Include "frame.h", | |
833 | "frame-unwind.h", "trad-frame.h" and "gdb_assert.h". | |
834 | (sparc64fbsd_r_global_offset, sparc64fbsd_r_out_offset) | |
835 | (sparc64fbsd_r_fprs_offset, sparc64fbsd_r_tnpc_offset) | |
836 | (sparc64fbsd_r_tpc_offset, sparc64fbsd_r_tstate_offset) | |
837 | (sparc64fbsd_r_y_offset): Remove variables. | |
838 | (sparc64fbsd_sizeof_struct_reg, sparc64fbsd_sizeof_struct_fpreg): | |
839 | Make static and const. | |
840 | (sparc64fbsd_supply_reg, sparc64fbsd_fill_reg) | |
841 | (sparc64fbsd_supply_fpreg, sparc64fbsd_fill_fpreg): Remove | |
842 | functions. | |
843 | (sparc64fbsd_gregset): New variable. | |
844 | (fetch_core_registers): Replace calls to sparc64fbsd_supply_reg | |
845 | and sparc64fbsd_supply_fpreg with calls to sparc64_supply_gregset | |
846 | and sparc64_supply_fpregset. | |
847 | (sparc64fbsd_pc_in_sigtramp, sparc64fbsd_sigtramp_frame_cache) | |
848 | (sparc64fbsd_sigtramp_frame_this_id) | |
849 | (sparc64fbsd_sigtramp_frame_prev_register): New functions. | |
850 | (sparc64fbsd_sigtramp_frame_unwind): New variable. | |
851 | (sparc64fbsd_sigtramp_frame_sniffer): New function. | |
852 | (sparc64fbsd_init_abi): Set pc_in_sigtramp, append | |
853 | sparc64fbsd_sigtramp_frame_sniffer. Call sparc64_init_abi. | |
854 | * sparcnbsd-tdep.c: Update copyright year. Include | |
855 | "floatformat.h", "frame.h", "frame-unwind.h", "symtab.h", | |
856 | "trad-frame.h" and "gdb_assert.h", don't include "target.h", | |
857 | "value.h" and "sparcnbsd-tdep.h". | |
858 | (REG32_OFFSET_PSR, REG32_OFFSET_PC, REG32_OFFSET_NPC) | |
859 | (REG32_OFFSET_Y, REG32_OFFSET_GLOBAL, REG32_OFFSET_OUT) | |
860 | (REG64_OFFSET_TSTATE, REG64_OFFSET_PC, REG64_OFFSET_NPC) | |
861 | (REG64_OFFSET_Y, REG64_OFFSET_GLOBAL, REG64_OFFSET_OUT): Remove | |
862 | defines. | |
863 | (sparcnbsd_gregset): New variable. | |
864 | (sparcnbsd_supply_reg32, sparcnbsd_supply_reg64) | |
865 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64) | |
866 | (sparcnbsd_supply_fpreg32, sparcnbsd_supply_fpreg64) | |
867 | (sparcnbsd_fill_reg32, sparcnbsd_fill_reg64): Remove functions. | |
868 | (sparc32nbsd_sigtramp_start, sparc32nbsd_sigtramp_end): New | |
869 | variables. | |
870 | (sparc32nbsd_pc_in_sigtramp, sparc32nbsd_sigcontext_frame_cache) | |
871 | (sparc32nbsd_sigcontext_frame_this_id) | |
872 | (sparc32nbsd_sigcontext_frame_prev_register): New functions. | |
873 | (sparc32nbsd_sigcontext_frame_unwind): New variable. | |
874 | (sparc32nbsd_sigtramp_frame_sniffer): New function. | |
875 | (sparcnbsd_get_longjmp_target_32, | |
876 | sparcnbsd_get_longjmp_target_64): Remove functions. | |
877 | (sparcnbsd_aout_in_solib_call_trampoline): Rewrite. | |
878 | (sparcnbsd_init_abi_common, sparcnbsd_init_aout, | |
879 | sparcnbsd_init_elf): Remove. | |
880 | (sparcnbsd_init_abi, sparcnbsd_aout_init_abi) | |
881 | (sparcnbsd_elf_init_abi): New functions. | |
882 | (_initialize_sparcnbsd_tdep): New prototype. | |
883 | (_initialize_sparnbsd_tdep): Update. | |
884 | * config/sparc/fbsd.mh (NATDEPFILES): Remove sparcbsd-nat.o and | |
885 | corelow.o. Add sparc64-nat.o and sparc-nat.o. | |
886 | * config/sparc/fbsd.mt (TDEPFILES): Add sparc-tdep.o and corelow.o. | |
887 | * config/sparc/linux.mh: Update comment. | |
888 | (XM_FILE, HOST_IPC): Remove variables. | |
889 | (NATDEPFILES): Add sparc-sol2-nat.o and core-regset.o. Remove | |
890 | sparc-linux-nat.o. | |
891 | * config/sparc/linux.mt: Update comment. | |
892 | (TDEPFILES): Add sparc-sol2-tdep.o and sparc-linux-tdep.o. | |
893 | * config/sparc/nbsd.mt: Reformat. | |
894 | * config/sparc/nbsd64.mh: Update comment. | |
895 | (NATDEPFILES): Add sparc-nat.o. | |
896 | * config/sparc/nbsd64.mt: Update comment. | |
897 | (TDEPFILES): Add sparc64-tdep.o and sparc64nbsd-tdep.o. | |
898 | (TM_FILE): Set to tm-nbsd.h. | |
899 | * config/sparc/nbsdelf.mh: Update comment. | |
900 | (NATDEPFILES): Add sparc-nat.o. | |
901 | (XM_FILE): Delete. | |
902 | * config/sparc/nbsdaout.mh: Update comment. | |
903 | (NATDEPFILES): Add sparc-nat.o | |
904 | (XM_FILE): Delete. | |
905 | * config/sparc/nm-linux.h: Update copyright year. Don't include | |
906 | "config/nm-svr4.h" and "solib.h". Add protection against multiple | |
907 | inclusion. | |
908 | (KERNEL_U_SIZE): Remove define. | |
909 | (kernel_u_size): Remove prototype. | |
910 | (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Define. | |
911 | * config/sparc/nm-nbsd.h: Update copyright. Don't include | |
912 | "regcache.h". | |
913 | (CHILD_PREPARE_TO_STORE): Remove define. | |
914 | * config/sparc/nm-nbsdaout.h: Tweak some comments. | |
915 | * sparc-nat.c, sparc-tdep.c, sparc-tdep.h, sparc64nbsd-nat.c, | |
916 | sparcnbsd-nat.c: Rewrite files. | |
917 | * config/sparc/tm-linux.h, config/sparc/tm-nbsd.h: Rewrite files. | |
918 | * sparc-linux-nat.c, sparcbsd-nat.c, sparcbsd-nat.h, | |
919 | sparcnbsd-tdep.h: Remove files. | |
920 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4os4.h, | |
921 | config/sparc/nm-sun4sol2.h, config/sparc/sp64.mt, | |
922 | config/sparc/sp64linux.mt, config/sparc/sp64sol2.mt, | |
923 | config/sparc/sparc-em.mt, config/sparc/sparclynx.mh, | |
924 | config/sparc/sparclynx.mt, config/sparc/sun4os4.mh, | |
925 | config/sparc/sun4os4.mt, config/sparc/sun4sol2.mh, | |
926 | config/sparc/sun4sol2.mt, config/sparc/tm-sp64.h, | |
927 | config/sparc/tm-sp64linux.h, config/sparc/tm-sparc.h, | |
928 | config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h, | |
929 | config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h, | |
930 | config/sparc/tm-vxsparc.h, config/sparc/vxsparc.mt, | |
931 | config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h: Remove files. | |
932 | * sparc-linux-tdep.c, sparc-nat.h, sparc-sol2-nat.c, | |
933 | sparc-sol2-tdep.c, sparc64-linux-nat.c, sparc64-linux-t dep.c, | |
934 | sparc64-nat.c, sparc64-sol2-tdep.c, sparc64nbsd-tdep.c: New files. | |
935 | * config/sparc/linux64.mh, config/sparc/linux64.mt, | |
936 | config/sparc/nm-sol2.h, config/sparc/sol2-64.mt, | |
937 | config/sparc/sol2.mh, config/sparc/sol2.mt, config/sparc/sparc.mt, | |
938 | config/sparc/sparc64.mt, config/sparc/tm-sol2.h: New files. | |
939 | ||
ee84457a AC |
940 | 2004-01-02 Andrew Cagney <cagney@redhat.com> |
941 | ||
942 | From 2003-12-18 Kazuhiro Inaoka: | |
943 | * configure.host: Add m32r-linux target. | |
944 | ||
0bc2134e MC |
945 | 2004-01-02 Michael Chastain <mec.gnu@mindspring.com> |
946 | ||
947 | * top.c (print_gdb_version): Update year to 2004. | |
948 | ||
89a72f9c MM |
949 | 2004-01-02 Mark Mitchell <mark@codesourcery.com> |
950 | ||
951 | * MAINTAINERS: Add myself to the write-after-approval category. | |
952 | ||
86b013ed DJ |
953 | 2004-01-02 Daniel Jacobowitz <drow@mvista.com> |
954 | ||
955 | From Bernardo Innocenti <bernie@develer.com>: | |
956 | * configure.tgt: Add uClinux target. | |
957 | ||
e42c9534 AC |
958 | 2004-01-02 Andrew Cagney <cagney@redhat.com> |
959 | ||
960 | * utils.c (do_my_cleanups): Make static, add forward declaration. | |
961 | * defs.h (do_my_cleanups): Delete declaration. | |
962 | ||
162467d3 EZ |
963 | 2004-01-02 Eli Zaretskii <eliz@elta.co.il> |
964 | ||
965 | * config/djgpp/fnchange.lst: Add lines for gdb/ChangeLog-2003 and | |
966 | bfd/ChangeLog-0203. | |
967 | ||
78434e59 MK |
968 | 2004-01-02 Mark Kettenis <kettenis@gnu.org> |
969 | ||
970 | * configure.in: Check for <machine/reg.h>. Check for `struct reg' | |
971 | in <machine/reg.h>. | |
972 | * configure, config.in: Regenerate. | |
973 | ||
48efe704 AC |
974 | For older changes see ChangeLog-2003, mi/ChangeLog-1999-2003, and |
975 | tui/ChangeLog-1998-2003. | |
c906108c SS |
976 | \f |
977 | Local Variables: | |
978 | mode: change-log | |
979 | left-margin: 8 | |
980 | fill-column: 74 | |
981 | version-control: never | |
982 | End: |