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