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