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