2002-01-07 Michael Snyder <msnyder@redhat.com>
[binutils-gdb.git] / gdb / ChangeLog
1 2002-01-07 Michael Snyder <msnyder@redhat.com>
2
3 * thread-db.c (thread_db_new_objfile): Indendation fix.
4
5 * infptrace.c (GDB_MAX_ALLOCA): New define.
6 (child_xfer_memory): Use xmalloc/xfree instead of alloca if the
7 size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte,
8 can be overridden with whatever value is appropriate to the host).
9 * infttrace.c (child_xfer_memory): Add FIXME warning about use of
10 alloca to allocate potentially large buffer.
11 * rs6000-nat.c (child_xfer_memory): Ditto.
12 * symm-nat.c (child_xfer_memory): Ditto.
13 * x86-64-linux-nat.c (child_xfer_memory): Ditto.
14
15 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com>
16
17 From Nick Clifton <nickc@redhat.com>
18 * d10v-tdep.c: Set STACK_START to 0x200bffe.
19
20 2002-01-07 Michael Snyder <msnyder@redhat.com>
21
22 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
23 Don't use exec_bfd if it's NULL.
24
25 2002-01-06 Mark Kettenis <kettenis@gnu.org>
26
27 * valops.c (value_arg_coerce): Fix formatting.
28
29 2002-01-06 Andrew Cagney <ac131313@redhat.com>
30
31 * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>.
32 * gnu-nat.c: Ditto.
33
34 2002-01-06 Andrew Cagney <ac131313@redhat.com>
35
36 * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff,
37 arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms,
38 i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf,
39 ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and
40 z8k-coff have not been multi-arched. Update z8k-coff build
41 status.
42
43 2002-01-06 Andrew Cagney <ac131313@redhat.com>
44
45 * MAINTAINERS: Mark a29k target as obsolete.
46 * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o)
47 (remote-mm.o, remote-udi.o): Obsolete. Remove references in
48 comments.
49 * NEWS: Note that a29k targets are obsolete.
50 * a29k-tdep.c: Mark as obsolete.
51 * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*,
52 a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and
53 a29k-*-vxworks* targets as obsolete.
54 * remote-adapt.c: Obsolete.
55 * remote-eb.c: Obsolete.
56 * remote-mm.c: Obsolete.
57 * remote-udi.c: Obsolete.
58 * config/a29k/a29k-udi.mt: Obsolete.
59 * config/a29k/a29k.mt: Obsolete.
60 * config/a29k/tm-a29k.h: Obsolete.
61 * config/a29k/tm-vx29k.h: Obsolete.
62 * config/a29k/vx29k.mt: Obsolete.
63
64 2002-01-05 Andrew Cagney <ac131313@redhat.com>
65
66 * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
67 with BFD_ENDIAN_BIG.
68
69 2002-01-05 Andrew Cagney <ac131313@redhat.com>
70
71 * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.
72 * configure, config.in: Re-generate.
73 * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>.
74 * defs.h: Do not include <endian.h>.
75
76 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com>
77
78 * acconfig.h (HAVE_PT_GETXMMREGS): New.
79 * config.in: Regenerate.
80 * configure.in: Update copyright years.
81 Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>.
82 * configure: Regenerate.
83 * i386bsd-nat.c: Update copyright years.
84 (fill_gregset): Use regcache_collect.
85 (fetch_inferior_registers): Only fetch integer registers
86 if requested to do so. Add support for XMM registers
87 using PT_GETXMMREGS.
88 (store_inferior_registers): Only store integer registers
89 if requested to do so. Add support for XMM registers
90 using PT_SETXMMREGS.
91 * i386nbsd-nat.c (fetch_inferior_registers): Remove.
92 (store_inferior_registers): Remove.
93 (fetch_core_registers): Use supply_gregset and i387_supply_fsave.
94 (fetch_elfcore_registers): New function.
95 (i386nbsd_elfcore_fns): New.
96 (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns.
97 * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and
98 i386bsd-nat.o.
99 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
100 * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o.
101 * config/i386/nbsdelf.mt (TDEPFILES): Likewise.
102 * config/i386/tm-nbsd.h: Update copyright years.
103 (HAVE_SSE_REGS): Define.
104 (IN_SIGTRAMP): Define as i386bsd_in_sigtramp.
105 (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start.
106 (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end.
107 (SIGCONTEXT_PC_OFFSET): Remove.
108 (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc.
109
110 2002-01-05 Andrew Cagney <ac131313@redhat.com>
111
112 * configure.tgt: Remove powerpc-*-macos* target.
113 * config/m68k/xm-mpw.h: Delete file.
114 * config/xm-mpw.h: Delete file.
115 * ser-mac.c: Delete file.
116 * mpw-make.sed: Delete file.
117 * mpw-config.in: Delete file.
118 * mac-xdep.c: Delete file.
119 * mac-gdb.r: Delete file.
120 * mac-defs.h: Delete file.
121 * mac-nat.c: Delete file.
122 * config/powerpc/macos.mh: Delete file.
123 * config/powerpc/macos.mt: Delete file.
124 * config/powerpc/nm-macos.h: Delete file.
125 * config/powerpc/tm-macos.h: Delete file.
126 * source.c (openp, open_source_file): Remove obsolete code.
127 * top.c (gdb_readline): Ditto.
128 * utils.c (query): Ditto.
129 * event-top.c (display_gdb_prompt): Ditto.
130 * Makefile.in (ser-mac.o): Delete obsolete target.
131 * NEWS: Update.
132
133 2002-01-04 Andrew Cagney <ac131313@redhat.com>
134
135 * defs.h (BIG_ENDIAN): Delete macro definition.
136 * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c,
137 coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h,
138 findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c,
139 printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
140 remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c,
141 stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h,
142 config/a29k/tm-vx29k.h, config/arm/tm-arm.h,
143 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
144 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
145 config/m32r/tm-m32r.h, config/m68k/tm-m68k.h,
146 config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h,
147 config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c,
148 mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
149 * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG.
150 * gdbarch.c: Re-generate.
151
152 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
153
154 * thread-db.c (thread_db_new_objfile): Do not enable thread_db
155 for core files.
156
157 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
158
159 * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o.
160
161 2002-01-04 Andrew Cagney <ac131313@redhat.com>
162
163 * value.h (value_ptr): Delete typedef.
164
165 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com>
166
167 * i386nbsd-nat.c: Update copyright years.
168 Include i386-tdep.h.
169
170 2002-01-04 Elena Zannoni <ezannoni@redhat.com>
171
172 * stabsread.c: Update copyright years.
173
174 From Debashis Mahata <debashis.mahata@wipro.com>:
175 (read_struct_fields): Deal with Sun C compiler erroneous stab
176 output for structs and unions.
177 Fix PR gdb/269.
178
179 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
180
181 * p-valprint.c: Include "cp-abi.h" for baseclass_offset
182 prototype.
183
184 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
185
186 * cp-abi.c: Fix whitespace.
187 (baseclass_offset): New wrapper function.
188 * cp-abi.h (baseclass_offset): Add prototype.
189 (struct cp_abi_ops): Add baseclass_offset pointer.
190
191 * valops.c (vb_match): Move to...
192 * gnu-v2-abi.c (vb_match): here.
193 * valops.c (baseclass_offset): Move to...
194 * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename.
195
196 * gnu-v3-abi.c (gnuv3_baseclass_offset): New function.
197
198 * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset.
199 * gnu-v3-abi.c (init_gnuv3_ops): Likewise.
200 * hpacc-abi.c (init_hpacc_ops): Likewise.
201
202 2002-01-04 Daniel Jacobowitz <drow@mvista.com>
203
204 * valops.c (find_overload_match): Accept obj as a
205 reference parameter. Update it before returning.
206 * value.h (find_overload_match): Update prototype.
207 * eval.c (evaluate_subexp_standard): Pass object to
208 find_overload_match by reference.
209
210 2002-01-03 Andrew Cagney <ac131313@redhat.com>
211
212 * valarith.c: Replace value_ptr with struct value pointer. Remove
213 register attribute from value declarations.
214 * valops.c: Ditto.
215 * value.h: Ditto.
216 * scm-lang.c (scm_lookup_name): Ditto.
217
218 2002-01-03 Michael Snyder <msnyder@redhat.com>
219
220 Abstract the functionality of iterating over mapped memory
221 regions into a general purpose iterator function.
222 * procfs.c (iterate_over_mappings): New function, general purpose
223 iterator for memory sections.
224 (proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
225 (solib_mappings_callback): New function, callback for above.
226 (info_proc_mappings): Reimpliment using iterate_over_mappings.
227 (info_mappings_callback): New function, callback for above.
228
229 * procfs.c (proc_set_watchpoint): Add cast to suppress warning.
230
231 2002-01-01 Mark Kettenis <kettenis@gnu.org>
232
233 * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member.
234 * i386-tdep.c: Include "elf-bfd.h".
235 (process_note_abi_tag_sections): New function.
236 (i386_gdbarch_init): Add code to recognize various OS/ABI
237 combinations.
238
239 * maint.c (_initialize_maint_cmds): Add missing \ in
240 string-literal.
241
242 For older changes see ChangeLog-2001
243 \f
244 Local Variables:
245 mode: change-log
246 left-margin: 8
247 fill-column: 74
248 version-control: never
249 End: