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