Move changelog to correct position.
[platform/upstream/binutils.git] / gdb / ChangeLog
1 2002-01-05  Andrew Cagney  <ac131313@redhat.com>
2
3         * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
4         * configure, config.in: Re-generate.
5         * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
6         * defs.h: Do not include <endian.h>.
7
8 2002-01-05  Jason Thorpe  <thorpej@wasabisystems.com>
9
10         * acconfig.h (HAVE_PT_GETXMMREGS): New.
11         * config.in: Regenerate.
12         * configure.in: Update copyright years.
13         Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
14         * configure: Regenerate.
15         * i386bsd-nat.c: Update copyright years.
16         (fill_gregset): Use regcache_collect.
17         (fetch_inferior_registers): Only fetch integer registers
18         if requested to do so.  Add support for XMM registers
19         using PT_GETXMMREGS.
20         (store_inferior_registers): Only store integer registers
21         if requested to do so.  Add support for XMM registers
22         using PT_SETXMMREGS.
23         * i386nbsd-nat.c (fetch_inferior_registers): Remove.
24         (store_inferior_registers): Remove.
25         (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
26         (fetch_elfcore_registers): New function.
27         (i386nbsd_elfcore_fns): New.
28         (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
29         * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
30         i386bsd-nat.o.
31         * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
32         * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
33         * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
34         * config/i386/tm-nbsd.h: Update copyright years.
35         (HAVE_SSE_REGS): Define.
36         (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
37         (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
38         (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
39         (SIGCONTEXT_PC_OFFSET): Remove.
40         (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
41
42 2002-01-05  Andrew Cagney  <ac131313@redhat.com>
43
44         * configure.tgt: Remove powerpc-*-macos* target.
45         * config/m68k/xm-mpw.h: Delete file.
46         * config/xm-mpw.h: Delete file.
47         * ser-mac.c: Delete file.
48         * mpw-make.sed: Delete file.
49         * mpw-config.in: Delete file.
50         * mac-xdep.c: Delete file.
51         * mac-gdb.r: Delete file.
52         * mac-defs.h: Delete file.
53         * mac-nat.c: Delete file.
54         * config/powerpc/macos.mh: Delete file.
55         * config/powerpc/macos.mt: Delete file.
56         * config/powerpc/nm-macos.h: Delete file.
57         * config/powerpc/tm-macos.h: Delete file.
58         * source.c (openp, open_source_file): Remove obsolete code.
59         * top.c (gdb_readline): Ditto.
60         * utils.c (query): Ditto.
61         * event-top.c (display_gdb_prompt): Ditto.
62         * Makefile.in (ser-mac.o): Delete obsolete target.
63         * NEWS: Update.
64
65 2002-01-04  Andrew Cagney  <ac131313@redhat.com>
66
67         * defs.h (BIG_ENDIAN): Delete macro definition.
68         * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
69         coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
70         findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
71         printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
72         remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
73         stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
74         config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
75         config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
76         config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
77         config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
78         config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
79         config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
80         mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
81         * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
82         * gdbarch.c: Re-generate.
83
84 2002-01-04  Daniel Jacobowitz  <drow@mvista.com>
85
86         * thread-db.c (thread_db_new_objfile): Do not enable thread_db
87         for core files.
88
89 2002-01-04  Jason Thorpe  <thorpej@wasabisystems.com>
90
91         * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
92
93 2002-01-04  Andrew Cagney  <ac131313@redhat.com>
94
95         * value.h (value_ptr): Delete typedef.
96
97 2002-01-04  Jason Thorpe  <thorpej@wasabisystems.com>
98
99         * i386nbsd-nat.c: Update copyright years.
100         Include i386-tdep.h.
101
102 2002-01-04  Elena Zannoni  <ezannoni@redhat.com>
103
104         * stabsread.c: Update copyright years.
105
106         From Debashis Mahata <debashis.mahata@wipro.com>:
107         (read_struct_fields): Deal with Sun C compiler erroneous stab
108         output for structs and unions.
109         Fix PR gdb/269.
110
111 2002-01-04  Daniel Jacobowitz  <drow@mvista.com>
112
113         * p-valprint.c: Include "cp-abi.h" for baseclass_offset
114         prototype.
115
116 2002-01-04  Daniel Jacobowitz  <drow@mvista.com>
117
118         * cp-abi.c: Fix whitespace.
119         (baseclass_offset): New wrapper function.
120         * cp-abi.h (baseclass_offset): Add prototype.
121         (struct cp_abi_ops): Add baseclass_offset pointer.
122
123         * valops.c (vb_match): Move to...
124         * gnu-v2-abi.c (vb_match): here.
125         * valops.c (baseclass_offset): Move to...
126         * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
127
128         * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
129
130         * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
131         * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
132         * hpacc-abi.c (init_hpacc_ops): Likewise.
133
134 2002-01-04  Daniel Jacobowitz  <drow@mvista.com>
135
136         * valops.c (find_overload_match): Accept obj as a
137         reference parameter.  Update it before returning.
138         * value.h (find_overload_match): Update prototype.
139         * eval.c (evaluate_subexp_standard): Pass object to
140         find_overload_match by reference.
141
142 2002-01-03  Andrew Cagney  <ac131313@redhat.com>
143
144         * valarith.c: Replace value_ptr with struct value pointer.  Remove
145         register attribute from value declarations.
146         * valops.c: Ditto.
147         * value.h: Ditto.
148         * scm-lang.c (scm_lookup_name): Ditto.
149
150 2002-01-03  Michael Snyder  <msnyder@redhat.com>
151  
152         Abstract the functionality of iterating over mapped memory
153         regions into a general purpose iterator function.
154         * procfs.c (iterate_over_mappings): New function, general purpose 
155         iterator for memory sections.
156         (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
157         (solib_mappings_callback): New function, callback for above.
158         (info_proc_mappings): Reimpliment using iterate_over_mappings.
159         (info_mappings_callback): New function, callback for above.
160
161         * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
162
163 2002-01-01  Mark Kettenis  <kettenis@gnu.org>
164
165         * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
166         * i386-tdep.c: Include "elf-bfd.h".
167         (process_note_abi_tag_sections): New function.
168         (i386_gdbarch_init): Add code to recognize various OS/ABI
169         combinations.
170
171         * maint.c (_initialize_maint_cmds): Add missing \ in
172         string-literal.
173
174 For older changes see ChangeLog-2001
175 \f
176 Local Variables:
177 mode: change-log
178 left-margin: 8
179 fill-column: 74
180 version-control: never
181 End: