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