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