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