* Makefile.in (ALL_GCC, ALL_GCC_C, ALL_GCC_CXX): Set before use.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
cfc046cf
AC
12001-03-07 Andrew Cagney <ac131313@redhat.com>
2
3 * TODO (GDB 5.1 Known Problems): Document problem of building GDB
4 with SID on Solaris 8.
5
39424bef
MK
62001-03-07 Mark Kettenis <kettenis@gnu.org>
7
8 * defs.h: Provide prototypes for floatformat_is_negative,
9 floatformat_is_nan and floatformat_mantissa.
10 * utils.c: Include "gdb_assert.h".
11 (floatformat_is_negative): New function.
12 (floatformat_is_nan): New function.
13 (floatformat_mantissa): New function.
14 * valprint.c: Include "floatformat.h".
15 (print_floating): Get rid of the Linux-specific
16 TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
17 help these new functions. Print NaN's in a format conforming to
18 ISO C99.
19
7a1bd56a
EZ
202001-03-07 Eli Zaretskii <eliz@is.elta.co.il>
21
22 * top.c (init_main): Make `set history file name' complete on file
23 names.
24
5565b556
C
252001-03-06 J.T. Conklin <jtc@redback.com>
26
21a12a30
C
27 * Makefile.in (LINTFLAGS): Update to contain all of the macros
28 which define include paths used when compiling.
29
30 * util.c (savestring, msavestring): Change type of length argument.
31 * defs.h (savestring, msavestring): Update to match.
32
5565b556
C
33 * symtab.h (decode_line_1): Removed declaration.
34
35 * symfile.c (#include <assert.h>): Removed.
36
37 * arch-utils.c (#include <ctype.h>): Removed.
38 * c-typeprint.c: Likewise.
39 * dbxread.c: Likewise.
40 * gdbtypes.c: Likewise.
41 * target.c: Likewise.
42 * os9kread.c: Likewise.
43
44 * c-valprint.c (#include "demangle.h"): Removed.
45 * ch-typeprint.c: Likewise.
46 * eval.c: Likewise.
47 * f-typeprint.c: Likewise.
48 * f-valprint.c: Likewise.
49 * m2-typeprint.c: Likewise.
50 * typeprint.c: Likewise.
51 * p-typeprint.c: Likewise.
52 * valarith.c: Likewise.
53 * valprint.c: Likewise.
54
55 * m2-typeprint.c (#include "gdb_string.h"): Removed.
56 * nlmread.c: Likewise.
57
58 * mdebugread.c (#include "gdb-stabs.h"): Removed.
59 * minsyms.c: Likewise.
60 * mipsread.c: Likewise.
61 * nlmread.c: Likewise.
62
63 * m2-typeprint.c (#include "obstack.h"): Removed.
64 * m2-valprint.c: Likewise.
65
66 * event-loop.c (#include <setjmp.h>): Removed.
67
e8be95ae
SS
682001-03-06 Stan Shebs <shebs@apple.com>
69
70 * MAINTAINERS: Remove self from specific maintenance domains
71 (macos, gdbserver, documentation, testsuite).
72
b6ba6518
KB
732001-03-06 Kevin Buettner <kevinb@redhat.com>
74
75 * 29k-share/udi/udip2soc.c, Makefile.in, a29k-tdep.c,
76 a68v-nat.c, abug-rom.c, aclocal.m4, alpha-nat.c, alpha-tdep.c,
77 annotate.c, annotate.h, arc-tdep.c, arch-utils.c,
78 arch-utils.h, arm-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
79 ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
80 breakpoint.h, buildsym.c, buildsym.h, c-exp.y, c-lang.c,
81 c-lang.h, c-typeprint.c, c-valprint.c, call-cmds.h, ch-exp.c,
82 ch-lang.c, ch-lang.h, ch-typeprint.c, ch-valprint.c,
83 cli/cli-cmds.h, cli/cli-decode.c, cli/cli-decode.h,
84 cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.h,
85 cli/cli-utils.h, cli-out.c, cli-out.h, coff-solib.c,
86 coff-solib.h, coffread.c, command.h, complaints.c,
87 complaints.h, completer.c, completer.h,
88 config/a29k/nm-ultra3.h, config/a29k/tm-a29k.h,
89 config/a29k/tm-ultra3.h, config/a29k/tm-vx29k.h,
90 config/a29k/xm-ultra3.h, config/alpha/nm-fbsd.h,
91 config/alpha/nm-linux.h, config/alpha/nm-osf.h,
92 config/alpha/nm-osf2.h, config/alpha/nm-osf3.h,
93 config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h,
94 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h,
95 config/alpha/xm-fbsd.h, config/arc/tm-arc.h,
96 config/arm/nm-linux.h, config/arm/tm-arm.h,
97 config/arm/tm-embed.h, config/d10v/tm-d10v.h,
98 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
99 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
100 config/i386/nm-fbsd.h, config/i386/nm-gnu.h,
101 config/i386/nm-i386bsd.h, config/i386/nm-i386mach.h,
102 config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
103 config/i386/nm-i386v.h, config/i386/nm-i386v4.h,
104 config/i386/nm-i386v42mp.h, config/i386/nm-linux.h,
105 config/i386/nm-nbsd.h, config/i386/nm-nbsdelf.h,
106 config/i386/nm-ptx4.h, config/i386/nm-sun386.h,
107 config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
108 config/i386/tm-fbsd.h, config/i386/tm-i386.h,
109 config/i386/tm-i386aix.h, config/i386/tm-i386bsd.h,
110 config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h,
111 config/i386/tm-i386m3.h, config/i386/tm-i386mk.h,
112 config/i386/tm-i386nw.h, config/i386/tm-i386os9k.h,
113 config/i386/tm-i386sco5.h, config/i386/tm-i386sol2.h,
114 config/i386/tm-i386v.h, config/i386/tm-i386v4.h,
115 config/i386/tm-i386v42mp.h, config/i386/tm-linux.h,
116 config/i386/tm-nbsd.h, config/i386/tm-ptx.h,
117 config/i386/tm-ptx4.h, config/i386/tm-sun386.h,
118 config/i386/tm-symmetry.h, config/i386/tm-vxworks.h,
119 config/i386/xm-fbsd.h, config/i386/xm-i386bsd.h,
120 config/i386/xm-i386gnu.h, config/i386/xm-i386m3.h,
121 config/i386/xm-i386mach.h, config/i386/xm-i386mk.h,
122 config/i386/xm-i386sco.h, config/i386/xm-i386v4.h,
123 config/i386/xm-linux.h, config/i386/xm-nbsd.h,
124 config/i386/xm-ptx.h, config/i386/xm-ptx4.h,
125 config/i386/xm-sun386.h, config/i386/xm-symmetry.h,
126 config/i960/tm-i960.h, config/i960/tm-mon960.h,
127 config/i960/tm-nindy960.h, config/i960/tm-vx960.h,
128 config/ia64/nm-aix.h, config/ia64/nm-linux.h,
129 config/ia64/tm-aix.h, config/ia64/tm-ia64.h,
130 config/ia64/tm-linux.h, config/ia64/xm-aix.h,
131 config/ia64/xm-linux.h, config/m68k/nm-apollo68b.h,
132 config/m68k/nm-delta68.h, config/m68k/nm-dpx2.h,
133 config/m68k/nm-hp300bsd.h, config/m68k/nm-hp300hpux.h,
134 config/m68k/nm-linux.h, config/m68k/nm-sun3.h,
135 config/m68k/tm-apollo68b.h, config/m68k/tm-cisco.h,
136 config/m68k/tm-dpx2.h, config/m68k/tm-es1800.h,
137 config/m68k/tm-hp300bsd.h, config/m68k/tm-hp300hpux.h,
138 config/m68k/tm-isi.h, config/m68k/tm-linux.h,
139 config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
140 config/m68k/tm-mac.h, config/m68k/tm-monitor.h,
141 config/m68k/tm-nbsd.h, config/m68k/tm-news.h,
142 config/m68k/tm-os68k.h, config/m68k/tm-sun3.h,
143 config/m68k/tm-vx68.h, config/m68k/xm-3b1.h,
144 config/m68k/xm-apollo68b.h, config/m68k/xm-dpx2.h,
145 config/m68k/xm-hp300bsd.h, config/m68k/xm-hp300hpux.h,
146 config/m68k/xm-linux.h, config/m68k/xm-m68kv4.h,
147 config/m68k/xm-mpw.h, config/m68k/xm-news.h,
148 config/m68k/xm-sun2.h, config/m68k/xm-sun3.h,
149 config/m68k/xm-sun3os4.h, config/m88k/nm-delta88v4.h,
150 config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h,
151 config/m88k/tm-m88k.h, config/m88k/xm-cxux.h,
152 config/m88k/xm-delta88.h, config/m88k/xm-delta88v4.h,
153 config/m88k/xm-dgux.h, config/mcore/tm-mcore.h,
154 config/mips/nm-irix3.h, config/mips/nm-irix4.h,
155 config/mips/nm-irix5.h, config/mips/nm-mips.h,
156 config/mips/nm-news-mips.h, config/mips/tm-bigmips.h,
157 config/mips/tm-embed.h, config/mips/tm-embed64.h,
158 config/mips/tm-embedl.h, config/mips/tm-embedl64.h,
159 config/mips/tm-irix3.h, config/mips/tm-irix5.h,
160 config/mips/tm-mips.h, config/mips/tm-mips64.h,
161 config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h,
162 config/mips/tm-tx39.h, config/mips/tm-tx39l.h,
163 config/mips/tm-vr4100.h, config/mips/tm-vr4300.h,
164 config/mips/tm-vr4300el.h, config/mips/tm-vr4xxx.h,
165 config/mips/tm-vr4xxxel.h, config/mips/tm-vr5000.h,
166 config/mips/tm-vr5000el.h, config/mips/xm-irix3.h,
167 config/mips/xm-irix4.h, config/mips/xm-irix5.h,
168 config/mips/xm-mips.h, config/mips/xm-mipsm3.h,
169 config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h,
170 config/mips/xm-riscos.h, config/mn10200/tm-mn10200.h,
171 config/mn10300/tm-mn10300.h, config/nm-gnu.h,
172 config/nm-linux.h, config/nm-lynx.h, config/nm-m3.h,
173 config/nm-sysv4.h, config/none/nm-none.h,
174 config/none/tm-none.h, config/none/xm-none.h,
175 config/ns32k/nm-nbsd.h, config/ns32k/nm-umax.h,
176 config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
177 config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
178 config/ns32k/xm-merlin.h, config/ns32k/xm-ns32km3.h,
179 config/pa/nm-hppab.h, config/pa/nm-hppah.h,
180 config/pa/nm-hppao.h, config/pa/tm-hppa.h,
181 config/pa/tm-hppa64.h, config/pa/tm-hppah.h,
182 config/pa/xm-hppab.h, config/pa/xm-hppah.h,
183 config/powerpc/nm-aix.h, config/powerpc/nm-linux.h,
184 config/powerpc/nm-macos.h, config/powerpc/nm-nbsd.h,
185 config/powerpc/tm-cygwin.h, config/powerpc/tm-linux.h,
186 config/powerpc/tm-macos.h, config/powerpc/tm-ppc-aix.h,
187 config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h,
188 config/powerpc/tm-ppcle-eabi.h, config/powerpc/tm-solaris.h,
189 config/powerpc/xm-aix.h, config/powerpc/xm-linux.h,
190 config/powerpc/xm-mpw.h, config/rs6000/nm-rs6000.h,
191 config/rs6000/tm-rs6000.h, config/rs6000/tm-rs6000ly.h,
192 config/rs6000/xm-aix4.h, config/rs6000/xm-rs6000.h,
193 config/sh/tm-linux.h, config/sh/tm-sh.h, config/sh/tm-wince.h,
194 config/sparc/nm-linux.h, config/sparc/nm-nbsd.h,
195 config/sparc/nm-nbsdelf.h, config/sparc/nm-sparclynx.h,
196 config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
197 config/sparc/tm-linux.h, config/sparc/tm-sp64.h,
198 config/sparc/tm-sp64sim.h, config/sparc/tm-sparc.h,
199 config/sparc/tm-sparclet.h, config/sparc/tm-sparclite.h,
200 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
201 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
202 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
203 config/tic80/tm-tic80.h, config/tm-linux.h, config/tm-lynx.h,
204 config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
205 config/w65/tm-w65.h, config/xm-aix4.h, config/xm-lynx.h,
206 config/xm-mpw.h, config/xm-nbsd.h, config/xm-sysv4.h,
207 config/z8k/tm-z8k.h, configure.in, core-aout.c, core-regset.c,
208 core-sol2.c, corefile.c, corelow.c, cp-valprint.c,
209 cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
210 dbug-rom.c, dbxread.c, dcache.c, dcache.h, defs.h,
211 delta68-nat.c, demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c,
212 dstread.c, dve3900-rom.c, dwarf2read.c, dwarfread.c,
213 elfread.c, environ.c, environ.h, eval.c, event-loop.c,
214 event-loop.h, event-top.c, exec.c, expprint.c, f-exp.y,
215 f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, findvar.c,
216 fork-child.c, fr30-tdep.c, frame.c, frame.h, gdb-events.c,
217 gdb-events.h, gdb-events.sh, gdb-stabs.h, gdb.1, gdb_string.h,
218 gdb_thread_db.h, gdbcmd.h, gdbcore.h, gdbserver/Makefile.in,
219 gdbserver/gdbreplay.c, gdbserver/gdbserver.1,
220 gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
221 gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
222 gdbserver/low-sim.c, gdbserver/low-sparc.c,
223 gdbserver/low-sun3.c, gdbserver/remote-utils.c,
224 gdbserver/server.c, gdbserver/server.h, gdbserver/utils.c,
225 gdbthread.h, gdbtypes.c, gdbtypes.h, gnu-nat.c, gnu-nat.h,
226 gnu-regex.c, gnu-regex.h, h8300-tdep.c, h8500-tdep.c,
227 hp-psymtab-read.c, hp-symtab-read.c, hp300ux-nat.c,
228 hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c, hpread.c,
229 hpread.h, hpux-thread.c, i386-tdep.c, i386aix-nat.c,
230 i386b-nat.c, i386gnu-nat.c, i386ly-tdep.c, i386m3-nat.c,
231 i386mach-nat.c, i386nbsd-nat.c, i386nbsd-tdep.c, i386v-nat.c,
232 i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c, inferior.h,
233 inflow.c, infptrace.c, infrun.c, inftarg.c, infttrace.c,
234 irix4-nat.c, irix5-nat.c, isi-xdep.c, jv-exp.y, jv-lang.c,
235 jv-lang.h, jv-typeprint.c, jv-valprint.c, kdb-start.c,
236 kod-cisco.c, kod.c, language.c, language.h, lin-thread.c,
237 linespec.c, linespec.h, linux-thread.c, lynx-nat.c, m2-exp.y,
238 m2-lang.c, m2-lang.h, m2-typeprint.c, m2-valprint.c, m3-nat.c,
239 m32r-rom.c, m32r-tdep.c, m68k-tdep.c, m68klinux-nat.c,
240 m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
241 mac-xdep.c, main.c, maint.c, mcore-rom.c, mcore-tdep.c,
242 mdebugread.c, mem-break.c, minimon.h, minsyms.c, mips-nat.c,
243 mips-tdep.c, mipsm3-nat.c, mipsread.c, mipsv4-nat.c,
244 mn10200-tdep.c, mn10300-tdep.c, mon960-rom.c, monitor.c,
245 monitor.h, news-xdep.c, nindy-share/env.h, nindy-tdep.c,
246 nlm/Makefile.in, nlmread.c, ns32k-tdep.c, ns32km3-nat.c,
247 ns32knbsd-nat.c, objfiles.c, objfiles.h, ocd.c, ocd.h,
248 op50-rom.c, os9kread.c, osfsolib.c, p-exp.y, pa64solib.c,
249 pa64solib.h, parse.c, parser-defs.h, partial-stab.h,
250 ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
251 ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
252 proc-flags.c, proc-utils.h, proc-why.c, procfs.c, ptx4-nat.c,
253 rdi-share/Makefile.in, rdi-share/aclocal.m4, regcache.c,
254 regcache.h, remote-adapt.c, remote-array.c, remote-bug.c,
255 remote-e7000.c, remote-eb.c, remote-es.c, remote-est.c,
256 remote-hms.c, remote-mips.c, remote-mm.c, remote-nindy.c,
257 remote-nrom.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
258 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
259 remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
260 remote.h, reply_mig_hack.awk, rom68k-rom.c, rs6000-nat.c,
261 rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h,
262 scm-valprint.c, ser-e7kpc.c, ser-mac.c, ser-ocd.c, ser-pipe.c,
263 ser-tcp.c, ser-unix.c, serial.c, serial.h, sh-tdep.c,
264 sh3-rom.c, sol-thread.c, solib-aix5.c, solib-svr4.c, solib.c,
265 solib.h, solist.h, somread.c, somsolib.c, somsolib.h,
266 source.c, sparc-nat.c, sparc-tdep.c, sparcl-tdep.c,
267 sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
268 standalone.c, stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c,
269 symfile.c, symfile.h, symm-nat.c, symm-tdep.c, symmisc.c,
270 symtab.c, symtab.h, target.c, target.h, terminal.h, thread.c,
271 tic80-tdep.c, top.c, top.h, tracepoint.c, tracepoint.h,
272 typeprint.c, ui-file.c, ui-file.h, ui-out.h, ultra3-nat.c,
273 ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
274 valarith.c, valops.c, valprint.c, value.h, values.c, varobj.h,
275 vax-tdep.c, version.h, vx-share/vxWorks.h, vx-share/xdr_ld.c,
276 vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
277 vx-share/xdr_rdb.c, w65-tdep.c, w89k-rom.c, win32-nat.c,
278 wrapper.c, wrapper.h, xcoffread.c, xcoffsolib.c, xcoffsolib.h,
279 xmodem.c, xmodem.h, z8k-tdep.c: Update/correct copyright
280 notices.
281
596c9d4b
KB
2822001-03-05 Kevin Buettner <kevinb@redhat.com>
283
284 * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
285 HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
286 macros.
287 * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
288 pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
289 (sys/fault.h, sys/select.h): Test for presence of these
290 header files.
291 (ia64-*-aix*): Define NEW_PROC_API for this host.
292 * configure: Regenerate.
293 * config.in: Regenerate.
294
295 * configure.host (ia64-*-aix*): New host.
296 * configure.tgt (ia64-*-aix*): New target.
8a5c92d3 297
eccbb20d
AC
2982001-03-05 Andrew Cagney <ac131313@redhat.com>
299
300 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
301
9ff2efe5
CF
302Mon Mar 5 11:56:09 2001 Christopher Faylor <cgf@cygnus.com>
303
304 * wince.c: Change realloc to xrealloc throughout.
61e2d1f3 305 (handle_load_dll): Use void * rather than PTR in argument.
9ff2efe5 306
58841d58
AC
3072001-03-04 Andrew Cagney <ac131313@redhat.com>
308
309 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
310 * ocd.c (ocd_xfer_memory): Ditto.
311 * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
312 * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
313 buildable with ,-Werror.
314
315 * Makefile.in (symfile_h): Define.
316 (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
317 * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
318 * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
319 ,-Werror.
320
321 * dsrec.c (make_srec): Fix internal_error fmt arg.
322 * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
323
3cad1ac9
KB
3242001-03-03 Kevin Buettner <kevinb@redhat.com>
325
326 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
327 as an lvalue.
328
b9fa2e73
AC
3292001-03-02 Andrew Cagney <ac131313@redhat.com>
330
130c39e6
AC
331 * MAINTAINERS (paper trail): Update.
332
b9fa2e73
AC
333 * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
334
c53efe6e
AC
3352001-03-02 Andrew Cagney <ac131313@redhat.com>
336
337 From 2001-03-01 Tom Rix <trix@redhat.com>:
338 * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
339 parameter to mn10200_analyze_prologue.
340
341 * config/mn10200/tm-mn10200.h: Include "regcache.h".
342 * MAINTAINERS: Document that mn10200-elf target is buildable.
343
52b5c2eb
KB
3442001-03-02 Kevin Buettner <kevinb@redhat.com>
345
346 * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
347 from here...
348 * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
349 (MONTEREY): Don't define.
350 (AIX5): Define.
351
2edb46b1
MH
3522001-03-02 Matt Hiller <hiller@redhat.com>
353
354 * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
355
92c71a3e
KB
3562001-03-02 Kevin Buettner <kevinb@redhat.com>
357
82a2886f 358 * sparc-nat.c (sparc-nat.c): Don't include self.
92c71a3e 359
e2a4c6c1
C
3602001-03-01 J.T. Conklin <jtc@redback.com>
361
3a644c8d
C
362 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
363 if __CYGWIN32__ is set from here.
364 * config/i386/xm-cygwin.h: To here.
365 * config/powerpc/xm-cygwin.h: To here.
366
e2a4c6c1
C
367 * i386-stub.c (handle_exception): Use 'T' response packet.
368
4b33390a
MS
3692001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
370
371 * m32r-tdep.c: Fix cut and paste error in comment.
372
3732001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
374
375 * symtab.c (print_msymbol_info): Print addresses by portable method
376 longest_local_hex_string_custom. Allow for 64-bit addresses.
377
ba41d549
C
3782001-03-01 J.T. Conklin <jtc@redback.com>
379
380 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
381 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
382 (MIN_OF_TYPE): Likewise.
383
384 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
385
088d891f
AC
3862001-03-01 Andrew Cagney <ac131313@redhat.com>
387
388 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
389 * os9kread.c (os9k_process_one_symbol): Add assert to detect
390 ``loses if sizeof (char *) > sizeof (int)''.
391
38266776
AC
3922001-03-01 Andrew Cagney <ac131313@redhat.com>
393
394 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
395
2ad43c4f
AC
3962001-03-01 Andrew Cagney <ac131313@redhat.com>
397
398 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
399 lists.
400 (mi-main.o): Ditto.
401
367e21d8
AC
4022001-03-01 Andrew Cagney <ac131313@redhat.com>
403
404 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
405 dependency lists.
406
d85310f7
MS
4072001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
408
c0d8fd9a
MS
409 * printcmd.c (print_address_numeric): Update comments to refer
410 to sizeof addr, not sizeof pointer.
411 (x_command): Remove needless whitespace (shorten long line).
412
d85310f7
MS
413 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
414 (read_memory_nobpt): Ditto.
415 (ep_is_catchpoint): Ditto.
416 (ep_is_shlib_catchpoint): Ditto.
417 (ep_is_exception_catchpoint): Ditto.
418 (describe_other_breakpoints): Ditto.
419
97900206
AC
420Wed Feb 28 20:37:36 2001 Andrew Cagney <ac131313@redhat.com>
421
422 * regcache.h (register_valid): Fix comment documenting valid
423 states.
424
4e052eda
AC
425Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
426
427 From Steven Johnson:
428 * regcache.h: New file.
429
430 * value.h (read_register_bytes, read_register_gen)
431 (write_register_gen, write_register_bytes)
432 (read_register, read_register_pid)
433 (read_signed_register, read_signed_register_pid)
434 (write_register, write_register_pid)
435 (register_cached, set_register_cached)
436 (register_changed, register_buffer)
437 (registers_changed, supply_register): Move declaration from here.
438 * regcache.h: To here.
439 * gdbcore.h (registers_fetched): Ditto.
440 * inferior.h (registers, registers_valid): Ditto.
441
442 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
443 generic_target_write_pc, write_pc_pid, write_pc,
444 generic_target_read_sp, read_sp, generic_target_write_sp,
445 write_sp, generic_target_read_fp, read_fp,
446 generic_target_write_fp, write_fp): Add note that these functions
447 will be moved from this file.
448
449 * a29k-tdep.c: Include "regcache.h".
450 * a68v-nat.c: Ditto.
451 * abug-rom.c: Ditto.
452 * alpha-nat.c: Ditto.
453 * alpha-tdep.c: Ditto.
454 * alphabsd-nat.c: Ditto.
455 * arc-tdep.c: Ditto.
456 * arm-linux-nat.c: Ditto.
457 * arm-linux-tdep.c: Ditto.
458 * arm-tdep.c: Ditto.
459 * blockframe.c: Ditto.
460 * core-aout.c: Ditto.
461 * core-sol2.c: Ditto.
462 * corelow.c: Ditto.
463 * cpu32bug-rom.c: Ditto.
464 * cxux-nat.c: Ditto.
465 * d10v-tdep.c: Ditto.
466 * d30v-tdep.c: Ditto.
467 * dbug-rom.c: Ditto.
468 * dink32-rom.c: Ditto.
469 * dve3900-rom.c: Ditto.
470 * findvar.c: Ditto.
471 * fr30-tdep.c: Ditto.
472 * frame.c: Ditto.
473 * go32-nat.c: Ditto.
474 * h8300-tdep.c: Ditto.
475 * h8500-tdep.c: Ditto.
476 * hp300ux-nat.c: Ditto.
477 * hppa-tdep.c: Ditto.
478 * hppab-nat.c: Ditto.
479 * hppah-nat.c: Ditto.
480 * hppam3-nat.c: Ditto.
481 * hpux-thread.c: Ditto.
482 * i386-linux-nat.c: Ditto.
483 * i386-linux-tdep.c: Ditto.
484 * i386-tdep.c: Ditto.
485 * i386aix-nat.c: Ditto.
486 * i386b-nat.c: Ditto.
487 * i386bsd-nat.c: Ditto.
488 * i386gnu-nat.c: Ditto.
489 * i386ly-tdep.c: Ditto.
490 * i386m3-nat.c: Ditto.
491 * i386mach-nat.c: Ditto.
492 * i386nbsd-nat.c: Ditto.
493 * i386v4-nat.c: Ditto.
494 * i387-nat.c: Ditto.
495 * i387-tdep.c: Ditto.
496 * i960-tdep.c: Ditto.
497 * ia64-aix-nat.c: Ditto.
498 * ia64-linux-nat.c: Ditto.
499 * ia64-tdep.c: Ditto.
500 * infptrace.c: Ditto.
501 * infrun.c: Ditto.
502 * irix4-nat.c: Ditto.
503 * irix5-nat.c: Ditto.
504 * lin-lwp.c: Ditto.
505 * lin-thread.c: Ditto.
506 * lynx-nat.c: Ditto.
507 * m3-nat.c: Ditto.
508 * m32r-rom.c: Ditto.
509 * m32r-tdep.c: Ditto.
510 * m68hc11-tdep.c: Ditto.
511 * m68k-tdep.c: Ditto.
512 * m68klinux-nat.c: Ditto.
513 * m68knbsd-nat.c: Ditto.
514 * m68knbsd-tdep.c: Ditto.
515 * m88k-nat.c: Ditto.
516 * m88k-tdep.c: Ditto.
517 * mac-nat.c: Ditto.
518 * mcore-rom.c: Ditto.
519 * mcore-tdep.c: Ditto.
520 * mi/mi-main.c: Ditto.
521 * mips-nat.c: Ditto.
522 * mips-tdep.c: Ditto.
523 * mipsm3-nat.c: Ditto.
524 * mipsv4-nat.c: Ditto.
525 * mn10200-tdep.c: Ditto.
526 * mn10300-tdep.c: Ditto.
527 * monitor.c: Ditto.
528 * ns32km3-nat.c: Ditto.
529 * ns32knbsd-nat.c: Ditto.
530 * ocd.c: Ditto.
531 * pa64solib.c: Ditto.
532 * ppc-bdm.c: Ditto.
533 * ppc-linux-nat.c: Ditto.
534 * ppc-linux-tdep.c: Ditto.
535 * ppcbug-rom.c: Ditto.
536 * ppcnbsd-nat.c: Ditto.
537 * ptx4-nat.c: Ditto.
538 * regcache.c: Ditto.
539 * remote-adapt.c: Ditto.
540 * remote-array.c: Ditto.
541 * remote-bug.c: Ditto.
542 * remote-e7000.c: Ditto.
543 * remote-eb.c: Ditto.
544 * remote-es.c: Ditto.
545 * remote-est.c: Ditto.
546 * remote-hms.c: Ditto.
547 * remote-mips.c: Ditto.
548 * remote-mm.c: Ditto.
549 * remote-nindy.c: Ditto.
550 * remote-os9k.c: Ditto.
551 * remote-rdi.c: Ditto.
552 * remote-rdp.c: Ditto.
553 * remote-sds.c: Ditto.
554 * remote-sim.c: Ditto.
555 * remote-st.c: Ditto.
556 * remote-udi.c: Ditto.
557 * remote-utils.c: Ditto.
558 * remote-vx.c: Ditto.
559 * remote-vx29k.c: Ditto.
560 * remote-vx68.c: Ditto.
561 * remote-vx960.c: Ditto.
562 * remote-vxmips.c: Ditto.
563 * remote-vxsparc.c: Ditto.
564 * remote.c: Ditto.
565 * rom68k-rom.c: Ditto.
566 * rs6000-nat.c: Ditto.
567 * rs6000-tdep.c: Ditto.
568 * sh-tdep.c: Ditto.
569 * sh3-rom.c: Ditto.
570 * sol-thread.c: Ditto.
571 * solib-svr4.c: Ditto.
572 * somsolib.c: Ditto.
573 * sparc-nat.c: Ditto.
574 * sparc-tdep.c: Ditto.
575 * sparcl-tdep.c: Ditto.
576 * sparclet-rom.c: Ditto.
577 * sun3-nat.c: Ditto.
578 * sun386-nat.c: Ditto.
579 * symm-nat.c: Ditto.
580 * target.c: Ditto.
581 * thread-db.c: Ditto.
582 * thread.c: Ditto.
583 * tic80-tdep.c: Ditto.
584 * tracepoint.c: Ditto.
585 * ultra3-nat.c: Ditto.
586 * umax-xdep.c: Ditto.
587 * uw-thread.c: Ditto.
588 * v850-tdep.c: Ditto.
589 * v850ice.c: Ditto.
590 * valops.c: Ditto.
591 * w65-tdep.c: Ditto.
592 * w89k-rom.c: Ditto.
593 * win32-nat.c: Ditto.
594 * wince.c: Ditto.
595 * z8k-tdep.c: Ditto.
596
07d48ebc
MH
5972001-02-28 Matt Hiller <hiller@redhat.com>
598
599 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
600
2edb46b1
MH
6012001-02-27 Matt Hiller <hiller@redhat.com>
602
603 * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
604 (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
605 mn10300_stab_reg_to_regnum.
606
993f3aa5
DT
607Tue Feb 27 16:56:13 2001 David Taylor <taylor@redhat.com>
608
609 * symtab.c (search_symbols): Fix off by one error in test for
610 error.
611
86168def
AC
6122001-02-23 Andrew Cagney <ac131313@redhat.com>
613
614 * config/sparc/sp64linux.mt: New file.
615 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
616 * configure.host: Recognize sparc64-*-linux* as a linux host.
617
618 From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
619 * config/sparc/tm-sp64linux.h: New file.
620
e1e9e218
KB
6212001-02-24 Kevin Buettner <kevinb@redhat.com>
622
623 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
624 with call to internal_error().
625 * dbxread.c (process_one_symbol): Likewise.
626 * exec.c (build_section_table, xfer_memory): Likewise.
627 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
628 Likewise.
629 * hpread.c (hpread_type_translate, hpread_read_array_type)
630 (hpread_type_lookup): Likewise.
631 * i386-tdep.c (gdb_print_insn_i386): Likewise.
632 * i960-tdep.c (mem): Likewise
633 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
634 * infptrace.c (child_resume): Likewise.
635 * infttrace.c (_initialize_infttrace): Likewise.
636 * language.c (binop_result_type, add_language): Likewise.
637 * lynx-nat.c (store_inferior_registers): Likewise.
638 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
639 * mdebugread.c (parse_partial_symbols): Likewise.
640 * monitor.c (monitor_printf_noecho, monitor_printf)
641 (monitor_dump_regs): Likewise.
642 * ocd.c (stu_put_packet): Likewise.
643 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
644 * remote-bug.c (bug_open): Likewise.
645 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
646 * remote-es.c (es1800_read_bytes): Likewise.
647 * remote-mips.c (common_breakpoint): Likewise.
648 * remote-rdp.c (send_rdp): Likewise.
649 * remote-sds.c (putmessage): Likewise.
650 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
651 Likewise.
652 * sparcl-tdep.c (sparclite_download): Likewise.
653 * symtab.c (lookup_partial_symbol): Likewise.
654 * target.c (push_target, pop_target, initialize_targets): Likewise.
655 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
656 Likewise.
657 * valprint.c (print_decimal, print_longest, print_longest)
658 (strcat_longest): Likewise.
659 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
660 * xmodem.c (xmodem_send_packet): Likewise.
661 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
662 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
663 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
664 (STORE_RETURN_VALUE): Likewise.
665 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
666 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
667 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
668 Likewise.
669
17fceda3
AC
6702001-02-23 Andrew Cagney <ac131313@redhat.com>
671
2126d5fb
AC
672 * CONTRIBUTE: Document how to cite a problem report.
673 * TODO: Note need to replace CONTRIBUTE with generated file.
674
17fceda3
AC
675 * CONTRIBUTE: Mention that patches do not need to include the
676 generated files gdbarch.h and gdbarch.c.
677
60edd51d
AC
6782001-02-21 Andrew Cagney <ac131313@redhat.com>
679
680 * value.h (get_saved_register): Move from here.
681 * frame.h: To here.
682
d7fa2ae2
KB
6832001-02-21 Kevin Buettner <kevinb@redhat.com>
684
685 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
686 (in_solib_dynsym_resolve_code): Add declaration.
687 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
688 in_solib_dynsym_resolve_code() rather than
689 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
690 which caused this macro to only be defined when
691 SVR4_SHARED_LIBS is defined.
692 * solib.c (in_solib_dynsym_resolve_code): New function.
693 * solist.h (struct target_so_ops): Add new member
694 in_dynsym_resolve_code.
695 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
696 in_svr4_dynsym_resolve_code. Also, made static.
697 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
698 member in aix5_so_ops.
699 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
700 in_svr4_dynsym_resolve_code. Also, added second version
701 of this function which will be used when SVR4_SHARED_LIBS
702 is not defined.
703 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
704 member in svr4_so_ops.
705
706 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
707 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
708 config/ia64/xm-aix.h: New files.
709 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
710 (ia64_aix_sigcontext_register_address): New declaration.
aacc1edd 711 (ia64_gdbarch_init): Provide for initialization of
d7fa2ae2
KB
712 sigcontext_register_address member of struct tdep when
713 on target is detected to be running AIX.
714 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
715 this list.
716
fbad0893
KB
7172001-02-20 Kevin Buettner <kevinb@redhat.com>
718
719 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
720 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
721 for thread support instead of linux-thread.o and lin-thread.o.
722 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
723 ATTACH_LWP): Define to use the following lin-lwp.c functions...
724 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
725 lin_lwp_attach_lwp): Declare.
726
1adad886
AC
7272001-02-20 Andrew Cagney <ac131313@redhat.com>
728
729 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
730 formatting.
731
0579d647
KB
7322001-02-20 Kevin Buettner <kevinb@redhat.com>
733
734 * solib-aix5.c (solib-svr4.h): Remove include.
735 (solib_break_names): Delete names which aren't actually
736 used by AIX5.
737 (bkpt_names): Remove.
738 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
739 to STREQ() with equivalent calls to strcmp().
740 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
741 aix5_solib_create_inferior_hook): Revise comments.
742 (enable_break): Remove old ``bkpt_names'' code.
743
d65fe839
AC
7442001-02-19 Andrew Cagney <ac131313@redhat.com>
745
746 * Makefile.in (SFILES): Add frame.c .
747 (COMMON_OBS): Add frame.o .
748 (frame.o): New target.
749
750 * frame.c (find_saved_register):
751 (default_get_saved_register):
752 (get_saved_register):
753 (read_relative_register_raw_bytes_for_frame):
754 (read_relative_register_raw_bytes): Moved to here.
755 * regcache.c: From here.
756
60cf7a85
KB
7572001-02-20 Kevin Buettner <kevinb@redhat.com>
758
759 * solib-aix5.c: New file.
760
291b7e04
MH
7612001-02-20 Martin M. Hunt <hunt@redhat.com>
762
a43ad351
MH
763 * solib.c (info_sharedlibrary_command): Don't assume pointers
764 are the same size of long, call longest_local_hex_string_custom().
765
58bc91c9
MH
766 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
767 extract_signed_integer() should be called instead of
768 extract_address().
769
7702001-02-20 Martin M. Hunt <hunt@redhat.com>
771
291b7e04
MH
772 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
773
d02ee681
AC
7742001-02-19 Andrew Cagney <ac131313@redhat.com>
775
776 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
777 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
778 then floating point registers are 8 bytes.
779
a858089e
MS
7802001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
781
782 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
783 accomodate 64-bit addresses.
784
23cc649f
EZ
7852001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
786
787 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
788 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
789 lookup_symbol, when trying to find a symbol with a mangled name,
790 to avoid infinite recursion.
791
0db23c95
AC
7922001-02-18 Andrew Cagney <ac131313@redhat.com>
793
794 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
795
911413e6
JL
7962001-02-19 Jonathan Larmour <jlarmour@redhat.com>
797
798 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
799 (save_prologue_cache): Ditto.
800
8d1de4b7
EZ
8012001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
802
803 From: innadadadavida@yahoo.com:
804 * partial-stab.h (switch): Check that pst is not null
805 before dereferencing it.
806
3017564a
EZ
8072001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
808
809 From Andrew Cagney <cagney@b1.cygnus.com>:
810 * symfile.c (add_symbol_file_command): Always initialize
811 my_cleanup using a NULL cleanup.
812
fa58ee11
EZ
8132001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
814
815 * demangle.c (demangling_style_names): New variable.
816 (_initialize_demangler): Fill demangling_style_names with the
817 names of known demangling styles from libiberty_demanglers[]. Use
818 add_set_enum_cmd instead of add_set_cmd, to get completion on
819 demangling style names.
820
821 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
822 file-name completion.
823
824 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
825
826 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
827 `solib-absolute-prefix'.
828
829 * tracepoint.c (_initialize_tracepoint): Ditto for
830 `save-tracepoints'.
831
832 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
833
834 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
835 file-name completion.
836
837 * infcmd.c (_initialize_infcmd): Make the following commands use
838 the file-name completer: `tty', `args', `path', `paths', and
839 `run'.
840
7830cf6f
EZ
8412001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
842
89dea5aa
EZ
843 * go32-nat.c: Include i387-nat.h.
844 (fetch_register): New function, uses some of the guts of
845 go32_fetch_registers and calls i387_supply_register.
846 (go32_fetch_registers): Most of the code moved into
847 fetch_register. Use i387_supply_fsave.
848 (store_register): Use i387_fill_fsave instead of custom code.
849 (go32_store_registers): Use i387_fill_fsave.
850
851 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
852
853 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
854
7830cf6f
EZ
855 * completer.c (gdb_completer_file_name_break_characters): Remove
856 slash from file-name break characters.
857 [__MSDOS__]: Special definition for DOS/Windows file names.
858 (line_completion_function): When completing on file names, bump
859 `p' to the first file-name constituent character of `word', before
860 invoking the completer.
861
f31e928c
MK
8622001-02-17 Mark Kettenis <kettenis@gnu.org>
863
864 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
865 consistently for parameter names. Fix comments accordingly.
866 (i387_supply_register): New function.
867 (i387_supply_fsave): Implement using i387_supply_register.
868 * i387-nat.h: Use regnum instead of regno consistently for
869 parameter names. Fix comments accordingly.
870 (i387_supply_register): New prototype.
871
d696208f
MS
8722001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
873
874 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
875 instead of TARGET_PTR_BIT (to support Harvard architectures).
876
971429b4
AC
8772001-02-16 Andrew Cagney <ac131313@redhat.com>
878
879 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
880 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
881 argument to parameter list and to call in order to conform to
882 to_xfer_memory field of struct target_ops.
883
9ca0e47c
MC
8842001-02-12 Michael Chastain <chastain@redhat.com>
885
da7dd56f 886 * somsolib.c (som_solib_add_solib_objfile): Do not use
9ca0e47c
MC
887 section relocation feature of syms_from_objfile. Do my own
888 section relocation, offsetting each section of the som by
889 either text_addr - text_link_addr or data_start.
890
7d65bd2d
AC
8912001-02-16 Andrew Cagney <ac131313@redhat.com>
892
893 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
894
e33e9692
AC
8952001-02-16 Andrew Cagney <ac131313@redhat.com>
896
897 * MAINTAINERS (paper trail): Update.
898
17dee195
MK
8992001-02-16 Mark Kettenis <kettenis@gnu.org>
900
901 * target.h (target_fetch_registers): Fix comment.
902
0f6e1ba6
AC
9032001-02-15 Andrew Cagney <ac131313@redhat.com>
904
905 * f-exp.y: Include <ctype.h>.
906 (parse_number): Ensure that ``i'' is always initialized.
907
9a069618
JK
9082001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
909
910 * MAINTAINERS: Add myself to paper trail section.
911
fc24370e
MS
9122001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
913
914 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
915 * configure, config.in: Regenerate.
916 * corelow.c: Include <sys/file.h> if present.
917
4b69c284
AC
9182001-02-14 Andrew Cagney <ac131313@redhat.com>
919
920 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
921 declare when have SIGTTOU.
922
7904f322
EZ
9232001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
924
925 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
926
9e798668
JK
9272001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
928
929 * MAINTAINERS: Update my email address.
930
65d5a54a
EZ
9312001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
932
933 * NEWS: Document that "info symbol" works with COFF debug info and
934 its variants.
935
936 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
937 symbols whose SYMBOL_BFD_SECTION is NULL.
938
0cff82d9 9392001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
a8079a9b
PS
940
941 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
942 * xcoffsolib.c (xcoff_solib_address): Renamed from
943 pc_load_segment_name. Return NULL if address is not in a shared
944 library. Cleanup shared library name construction, using xasprintf.
945 Format shared library member names consistent with format in exec.c.
946 (solib_info): Format shared library member names consistent with
947 format in exec.c.
948 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
949 using xcoff_solib_address for PC_SOLIB definition.
950 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
951 needed.
952
0cff82d9 9532001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4b2e4867
PS
954
955 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
956 with xmalloc calls and cleanups.
957
0cff82d9 9582001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
d737ece6
PS
959
960 * rs6000-nat.c (child_xfer_memory): Add missing parameter
961 'struct mem_attrib *' required by 2001-01-23 change.
962
c5bb1243
JK
9632001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
964
965 Updates to "make TAGS":
966 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
967 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
968 tahoe-tdep.c.
969 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
970
c799ae7b
EZ
9712001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
972
973 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
974
12685e01
AC
975Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
976
977 From Dean Luick <luick@cray.com>:
978 * defs.h (continuation): Remove unused global variable.
979
7fcca85b
AC
980Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
981
982 * configure.tgt: Remove references to convex, pyramid, altos and
983 tahoe.
984 * configure.host: Ditto.
985 * MAINTAINERS: Ditto.
986 * NEWS: Update.
987
988 * tahoe-tdep.c: Delete obsolete file.
989 * pyr-xdep.c: Ditto.
990 * pyr-tdep.c: Ditto.
991 * convex-tdep.c: Ditto.
992 * convex-xdep.c: Ditto.
993 * config/tahoe/xm-tahoe.h: Ditto.
994 * config/tahoe/tm-tahoe.h: Ditto.
995 * config/tahoe/tahoe.mt: Ditto.
996 * config/tahoe/tahoe.mh: Ditto.
997 * config/pyr/xm-pyr.h: Ditto.
998 * config/pyr/tm-pyr.h: Ditto.
999 * config/pyr/pyramid.mt: Ditto.
1000 * config/pyr/pyramid.mh: Ditto.
1001 * config/m68k/xm-altos.h: Ditto.
1002 * config/m68k/tm-altos.h: Ditto.
1003 * config/m68k/altos.mt: Ditto.
1004 * config/m68k/altos.mh: Ditto.
1005 * config/convex/xm-convex.h: Ditto.
1006 * config/convex/tm-convex.h: Ditto.
1007 * config/convex/convex.mt: Ditto.
1008 * config/convex/convex.mh: Ditto.
1009 * config/convex/Convex.notes: Ditto.
1010 * config/arm/xm-arm.h: Ditto.
1011 * config/arm/nm-arm.h: Ditto.
1012 * config/arm/arm.mt: Ditto.
1013 * config/arm/arm.mh: Ditto.
1014 * arm-convert.s: Ditto.
1015 * arm-xdep.c: Ditto.
1016 * altos-xdep.c: Ditto.
1017
8e65ff28
AC
1018Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
1019
1020 * defs.h (internal_error, internal_verror): Add __FILE__ and
1021 __LINE__ parameter.
1022 * utils.c (internal_error, internal_verror): Update.
1023
1024 * v850-tdep.c: Update calls to internal_error.
1025 * utils.c: Ditto.
1026 * ui-out.c: Ditto.
1027 * ui-file.c: Ditto.
1028 * target.h: Ditto.
1029 * symtab.h: Ditto.
1030 * symm-nat.c: Ditto.
1031 * sparc-tdep.c: Ditto.
1032 * source.c: Ditto.
1033 * serial.c: Ditto.
1034 * rs6000-tdep.c: Ditto.
1035 * rs6000-nat.c: Ditto.
1036 * remote.c: Ditto.
1037 * remote-vx.c: Ditto.
1038 * remote-sim.c: Ditto.
1039 * remote-mips.c: Ditto.
1040 * regcache.c: Ditto.
1041 * objfiles.h: Ditto.
1042 * objfiles.c: Ditto.
1043 * mn10300-tdep.c: Ditto.
1044 * mips-tdep.c: Ditto.
1045 * maint.c: Ditto.
1046 * m68k-tdep.c: Ditto.
1047 * m3-nat.c: Ditto.
1048 * language.c: Ditto.
1049 * infptrace.c: Ditto.
1050 * inferior.h: Ditto.
1051 * infcmd.c: Ditto.
1052 * ia64-tdep.c: Ditto.
1053 * i386-tdep.c: Ditto.
1054 * i386-linux-nat.c: Ditto.
1055 * hppah-nat.c: Ditto.
1056 * go32-nat.c: Ditto.
1057 * findvar.c: Ditto.
1058 * f-lang.c: Ditto.
1059 * elfread.c: Ditto.
1060 * event-loop.c: Ditto.
1061 * dwarf2read.c: Ditto.
1062 * dsrec.c: Ditto.
1063 * d30v-tdep.c: Ditto.
1064 * d10v-tdep.c: Ditto.
1065 * cli/cli-setshow.c: Ditto.
1066 * cli/cli-script.c: Ditto.
1067 * ch-exp.c: Ditto.
1068 * breakpoint.c: Ditto.
1069 * ax-gdb.c: Ditto.
1070 * arch-utils.c: Ditto.
1071 * a29k-tdep.c: Ditto.
1072 * gdb_assert.h: Ditto.
1073 * gdbarch.sh: Ditto.
1074 * gdbarch.h, gdbarch.c: Re-generate.
1075
72290732
AC
10762001-02-07 Andrew Cagney <ac131313@redhat.com>
1077
1078 From Mark Kettenis <kettenis@gnu.org>:
1079 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
1080
a6da1910
AC
10812001-02-07 Andrew Cagney <ac131313@redhat.com>
1082
1083 * remote-sim.c (dump_mem): Cleanup printf format argument.
1084 * MAINTAINERS: Update, mn10300-elf now builds.
1085
153f9905
MK
10862001-02-07 Mark Kettenis <kettenis@gnu.org>
1087
1088 * event-top.c: Remove duplicate #include <signal.h>.
1089
f042532c
AC
10902001-02-06 Andrew Cagney <ac131313@redhat.com>
1091
1092 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
1093 allocated buffer.
1094 (save_inferior_pid): Restore the PID from that tempoary
1095 buffer. Delete the buffer.
1096 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
1097
58cfabe6
AC
10982001-02-06 Andrew Cagney <ac131313@redhat.com>
1099
1100 * MAINTAINERS: Add ``The Obvious Fix Rule''.
1101
ea8a41b8
AC
11022001-02-06 Andrew Cagney <ac131313@redhat.com>
1103
1104 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
1105
95160752
AC
11062001-02-06 Andrew Cagney <ac131313@cygnus.com>
1107
1108 * gdbarch.sh: Include "gdb_assert.h".
1109 (struct gdbarch): Change ``nr_data'' to unsigned.
1110 (alloc_gdbarch_data, free_gdbarch_data): New functions.
1111 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
1112 architecture vector.
1113 (struct gdbarch_data, struct gdbarch_data_registration): Move init
1114 method to gdbarch_data. Add free method, make index unsigned.
1115 (struct gdbarch_data_registry): Make nr unsigned.
1116 (register_gdbarch_data): Add free parameter. Store in
1117 gdbarch_data.
1118 (init_gdbarch_data): Use set_gdbarch_data.
1119 (set_gdbarch_data): New function.
1120
1121 * gdbarch.h, gdbarch.c: Re-generate.
1122
64122a8b
MS
11232001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1124
1125 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
1126 fprintf_filtered with correct arguments.
1127
e6cbd02a
MS
11282001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
1129 Submitted by Paul Hilfinger (hilfingr@gnat.com)
1130 and Andrei Petrov (and@genesyslab.com).
1131 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
1132 must be allocated dynamically, since these are no longer constants.
1133 * infcmd.c: Ditto.
1134 * regcache.c: Ditto.
1135 * remote.c: Ditto.
1136 * sol-thread.c: Ditto.
1137 * valops.c: Ditto.
1138 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
1139 work-around for a missing Sun header file in solaris for sparc64.
1140
713f0374
PB
11412001-02-04 Philip Blundell <philb@gnu.org>
1142
1143 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
1144 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
1145 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
1146 GET_THREAD_SIGNALS): Define.
1147 * arm-linux-nat.c (fill_gregset): Correct type of argument.
1148 (supply_gregset): Likewise.
1149 (fill_fpregset): Likewise.
1150 (supply_fpregset): Likewise.
1151
4603e466
DT
1152Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
1153
1154 * valops.c (value_cast): If casting a scalar to a pointer, do not
1155 issue a message about truncation unless it exceeds the length of
1156 an address, not the length of a pointer. This is because what the
1157 user gives us is an address, not a pointer, and we will ultimately
1158 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
1159 to a pointer. This allows things like "print *(int *)0x01000234"
1160 to work without generating a misleading message on a target having
1161 two byte pointers and four byte addresses.
1162
554cb486
CF
11632001-02-05 Christopher Faylor <cgf@cygnus.com>
1164
1165 * win32-nat.c: Change PTR to void * throughout.
1166
042be3a9
C
11672001-02-05 J.T. Conklin <jtc@redback.com>
1168
1169 * signals.h: Removed.
1170 * event-top.c (#include <signal.h>): Changed from signals.h.
1171 * inflow.c: Likewise.
1172 * mac-xdep.c: Likewise.
1173 * ser-pipe.c: Likewise.
1174 * ser-tcp.c: Likewise.
1175 * standalone.c: Likewise.
1176 * top.c: Likewise.
1177 * utils.c: Likewise.
1178 * Makefile.in: Removed signals.h from dependencies.
1179
a4acd088
CF
11802001-02-05 Christopher Faylor <cgf@cygnus.com>
1181
1182 Change suggested by Dean Luick <luick@cray.com>
1183 * inferior.h (step_over_calls_kind): Remove trailing comma from
1184 last enum element.
1185 (step_over_calls): Declare as extern rather than global.
1186
3116c80a
EZ
11872001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1188
1189 * sh-tdep.c: Update copyright.
1190 (sh_extract_return_value): Rewrite.
1191 (sh3e_sh4_extract_return_value): New function.
1192 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
1193 version of the function for sh3e and sh4 CPUs.
1194
240be855
MC
11952001-02-05 Michael Chastain <chastain@redhat.com>
1196
1197 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
1198 to conform with interface change.
1199
a17b5c4e
EZ
12002001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
1201
32fe0950
EZ
1202 * config/djgpp/fnchange.lst: Tweak to make consistent with the
1203 new files.
1204
619cbaf7
EZ
1205 * config/djgpp/djconfig.sh: Use explicit absolute file name when
1206 invoking `find'.
1207
cd42d3a8
EZ
1208 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
1209 UART_FIFO_WORKS is defined. Otherwise use outportb.
1210 From Francisco Pastor <fpastor.etra-id@etra.es>
1211
a17b5c4e
EZ
1212 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
1213 with target.h's `to_xfer_memory' member.
1214
86ddecc5
C
12152001-02-02 J.T. Conklin <jtc@redback.com>
1216
1217 * ppc-bdm.c (#include <signal.h>): Removed.
1218 * remote-array.c: Likewise.
1219 * remote-bug.c: Likewise.
1220 * remote-e7000.c: Likewise.
1221 * remote-mips.c: Likewise.
1222 * remote-os9k.c: Likewise.
1223 * remote-st.c: Likewise.
1224 * remote-udi.c: Likewise.
1225 * remote-vx29k.c: Likewise.
1226 * remote-vx68.c: Likewise.
1227 * remote-vx960.c: Likewise.
1228 * remote-vxmips.c: Likewise.
1229 * remote-vxsparc.c: Likewise.
1230
338d7c5c
JM
12312001-02-02 John Moore <jmoore@redhat.com>
1232
1233 * remote-utils.h (sr_set_device): Changed free() to xfree() where
1234 appropriate. Also changed Copyright to include 2001.
1235 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
1236 * value.h (value_free): Likewise.
1237 * gdbarch.sh (gdbarch_free): Likewise.
1238 * gdbarch.c, gdbarch.h: Regenerated.
1239
2b5436af
JM
12402001-02-02 John Moore <jmoore@redhat.com>
1241
1242 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
338d7c5c 1243 xfree(). Also changed Copyright to include 2001.
2b5436af 1244
82467003
C
12452001-02-02 J.T. Conklin <jtc@redback.com>
1246
1247 * monitor.c (#include "gdb_wait.h"): Removed.
1248 * ocd.c: Likewise.
1249 * ppc-bdm.c: Likewise.
1250 * remote-adapt.c: Likewise.
1251 * remote-array.c: Likewise.
1252 * remote-bug.c: Likewise.
1253 * remote-e7000.c: Likewise.
1254 * remote-eb.c: Likewise.
1255 * remote-es.c: Likewise.
1256 * remote-mips.c: Likewise.
1257 * remote-mm.c: Likewise.
1258 * remote-nindy.c: Likewise.
1259 * remote-os9k.c: Likewise.
1260 * remote-rdi.c: Likewise.
1261 * remote-rdp.c: Likewise.
1262 * remote-sds.c: Likewise.
1263 * remote-sim.c: Likewise.
1264 * remote-st.c: Likewise.
1265 * remote-udi.c: Likewise.
1266 * remote-vx.c: Likewise.
1267 * remote-vx29k.c: Likewise.
1268 * remote-vx68.c: Likewise.
1269 * remote-vx960.c: Likewise.
1270 * remote-vxmips.c: Likewise.
1271 * remote-vxsparc.c: Likewise.
1272 * remote.c: Likewise.
1273 * ser-pipe.c: Likewise.
1274 * ser-unix.c: Likewise.
1275 * Makefile.in: Updated dependencies.
1276
27b82ed2
DS
12772001-01-31 David Smith <dsmith@redhat.com>
1278
1279 * event-loop.c: Change inclusion of string.h to gdb_string.h and
1280 updated the copyright notice.
1281 * ser-pipe.c: Ditto.
1282 * mi/mi-cmds.c: Ditto.
1283 * mi/mi-console.c: Ditto.
1284 * mi/mi-getopt.c: Ditto.
1285 * mi/mi-parse.c: Ditto.
1286
ab9cc815
DS
12872001-01-31 David Smith <dsmith@redhat.com>
1288
1289 * MAINTAINERS: Add David Smith to Write After Approval list.
1290
d1f4cff8
AC
1291Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
1292
1293 * cli/cli-utils.c (putchar_filtered): Move function from here.
1294 * utils.c (putchar_filtered): To here.
1295 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
1296 * defs.h (putchar_filtered): To here.
1297
74c1b268
AC
1298Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
1299
1300 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
1301 AC_FUNC_VFORK macro.
1302 * config.in, configure: Re-generate.
1303
1304 * gdb_vfork.h: New file.
1305 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
1306 * fork-child.c (fork_inferior): Ditto.
1307
4fcf66da
AC
1308Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
1309
1310 * defs.h (strsave): Delete declaration.
1311 * utils.c (strsave): Delete definition.
1312 * TODO (strsave): Update
1313
1314 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
1315 * sparcl-tdep.c (sparclite_open): Ditto.
1316 * mips-tdep.c (mips_set_processor_type_command): Ditto.
1317 (_initialize_mips_tdep): Ditto.
1318 * solib.c (solib_open): Ditto.
1319 * symfile.c (add_filename_language): Ditto.
1320 (set_ext_lang_command): Ditto.
1321 * source.c (init_source_path): Ditto.
1322 (mod_path): Ditto.
1323 * sh3-rom.c (sh3_open): Ditto.
1324 (sh3e_open): Ditto.
1325 * serial.c (serial_open): Ditto.
1326 * remote-mips.c (common_open): Ditto.
1327 * monitor.c (monitor_open): Ditto.
1328 * m32r-rom.c (m32r_upload_command): Ditto.
1329 * infcmd.c (path_command): Ditto.
1330 * f-exp.y (parse_number): Ditto.
1331 * breakpoint.c (create_longjmp_breakpoint): Ditto.
1332 (create_thread_event_breakpoint): Ditto.
1333 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
1334 (_initialize_arc_tdep): Ditto.
1335
e191e0ab
AC
1336Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
1337
1338 * cli/cli-script.c (define_command): Check for a bad hook value in
1339 switch statement.
1340
10214f55
C
13412001-01-30 J.T. Conklin <jtc@redback.com>
1342
1343 * configure/sh/embed.mt: New file.
1344 * configure/sh/linux.mt: New file.
1345 * configure/sh/sh.mt: Removed.
1346 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
1347 (sh-*-*): Removed.
1348
c9049fc9
MC
13492001-01-29 Michael Chastain <chastain@redhat.com>
1350
1351 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
1352 symbol comparisons in binary search.
1353
0cff82d9 13542001-01-27 Christopher Faylor <cgf@cygnus.com>
aea02b6b
CF
1355
1356 * win32-nat.c (child_xfer_memory): Add missing argument required by
1357 2001-01-23 change.
1358
e6e0bfab
MK
13592001-01-27 Mark Kettenis <kettenis@gnu.org>
1360
1361 * ui-out.c (do_list_end): New function.
1362 (make_cleanup_ui_out_list_end): New function.
1363 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
1364 * stack.c (print_frame) [UI_OUT]: Call
1365 make_cleanup_ui_out_list_end to make sure we mark the end of the
1366 list if we do a non-local exit. At the end of the function,
1367 instead of calling ui_out_list_end directly, let do_cleanups
1368 handle it.
1369
1adeb98a
FN
13702001-01-26 Fernando Nasser <fnasser@redhat.com>
1371
1372 Fix double parsing of filenames passed as command line arguments
1373 to GDB (causes weird handling of escape characters).
1374 Also, remove dependencies on the CLI from libgdb.
1375 * call-cmds.h: Remove declaration of exec_file_command().
1376 * gdbcore.h: Remove declaration of exec_file_command().
1377 Add declarations for exec_open() and exec_file_clear().
1378 * symfile.h: Add declarations for symbol_file_add_main() and
1379 symbol_file_clear().
1380 * exec.c (exec_open): New function. Implements to_open for exec
1381 targets.
1382 (exec_file_clear): New function. Makes GDB forget about a previously
1383 specified executable file.
1384 (exec_file_attach): Move parsing of arguments from here ...
1385 (exec_file_command): ... to here.
1386 (init_exec_ops): Use exec_open(), not exec_file_command() to
1387 implement to_open for exec targets.
1388 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
1389 with default values. Used when the file name has already been parsed.
1390 (symbol_file_clear): New function. Makes GDB forget about previously
1391 read symbols.
1392 (symbol_file_command): Call the above function instead of inline code.
1393 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
1394 "call-cmds.h".
1395 (captured_main): Call exec_file_attach() and symbol_file_add_main()
1396 instead of exec_file_command() and symbol_file_command().
1397 (captured_main): Add comment.
1398 * corefile.c: Include "symfile.h".
1399 (core_file_command): Call symbol_file_add_main() instead of
1400 symbol_file_command().
1401 (reopen_exec_file): Call exec_open() instead of exec_file_command().
1402 * infcmd.c: Include "symfile.h".
1403 (attach_command): Call symbol_file_add_main() instead of
1404 symbol_file_command().
1405 * infrun.c: Remove comment about the inclusion of "symfile.h",
1406 not any longer appropriate.
1407 (follow_exec): Call symbol_file_add_main() instead of
1408 symbol_file_command().
1409 * remote-es.c: Include "symfile.h".
1410 (es1800_load): Call symbol_file_add_main() instead of
1411 symbol_file_command().
1412 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
1413 not any longer appropriate.
1414 (vx-wait): Call symbol_file_add_main() instead of
1415 symbol_file_command().
1416 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
1417 instead of symbol_file_command().
1418 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
1419 symbol_file_add_main() instead of exec_file_command() and
1420 symbol_file_command().
1421 * Makefile.in: Update dependencies.
1422
5b616ba1
JH
14232001-01-26 Jeff Holcomb <jeffh@redhat.com>
1424
1425 * remote-udi.c (udi_open): Change strdup to xstrdup.
1426 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
1427 Update copyright message.
1428 * varobj.c (delete_variable_1): Likewise.
1429
1430 * gdb_string.h: Remove declaration of strdup. Update copyright
1431 message.
1432 * config/xm-mpw.h: Likewise.
1433 * config/i386/xm-i386mach.h: Likewise.
1434 * config/m68k/xm-apollo68b.h: Likewise.
1435 * config/m68k/xm-hp300bsd.h: Likewise.
1436 * config/rs6000/xm-rs6000.h: Likewise.
1437 * config/vax/xm-vaxult.h: Remove declaration of strdup.
1438 * config/vax/xm-vaxult2.h: Likewise.
1439
b91d87cf
JH
14402001-01-26 Jeff Holcomb <jeffh@redhat.com>
1441
1442 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
1443
873406a6
C
14442001-01-25 J.T. Conklin <jtc@redback.com>
1445
1446 * target.c (target_xfer_memory_partial): Return -1 on failure due
1447 to invalid access mode attribute.
1448
0613c401
CF
14492001-01-25 Christopher Faylor <cgf@cygnus.com>
1450
1451 * win32-nat.c (_initialize_core_win32): Prototype correctly.
1452
efd59e3f
MK
14532001-01-25 Mark Kettenis <kettenis@gnu.org>
1454
1455 * config/alpha/tm-fbsd.h: Update copyright.
1456 (USE_STRUCT_CONVENTION): Define in terms of
1457 alphabsd_use_struct_convention.
1458 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
1459 * alphafbsd-tdep.c: New file.
1460
388e1ff2
FN
14612001-01-24 Fernando Nasser <fnasser@redhat.com>
1462
1463 * top.c (print_gdb_version): Update Copyright year.
1464
f4d650ec
C
14652001-01-24 J.T. Conklin <jtc@redback.com>
1466
1467 * dcache.c (dcache_write_line): Fix typo.
1468
1469 * memattr.c (delete_mem_region): Replace free() with xfree().
1470 (mem_number): Add explicit type.
1471
1472 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
1473 (rw_common): Likewise.
1474
07091751
FN
14752001-01-24 Fernando Nasser <fnasser@redhat.com>
1476
1477 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
1478 for the inferior program arguments.
1479 (run_command, run_no_args_command, init_infcmd)): Use accessor
1480 functions to set the inferior program arguments.
1481 * inferior.h: Add definitions to the accessor functions above.
1482
090c42a4
JB
14832001-01-23 Jim Blandy <jimb@redhat.com>
1484
1485 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
1486 Implement these correctly, using make_cv_type.
1487
f29d9b6d 14882001-01-23 J.T. Conklin <jtc@redback.com>
29e57380
C
1489
1490 * exec.c (xfer_memory): Add attrib argument.
1491 * infptrace.c (child_xfer_memory): Likewise.
e5da8f38 1492 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
29e57380
C
1493 * monitor.c (monitor_xfer_memory): Likewise.
1494 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
1495 * remote-array.c (array_xfer_memory): Likewise.
1496 * remote-bug.c (bug_xfer_memory): Likewise.
1497 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
1498 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
1499 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
1500 * remote-mips.c (mips_xfer_memory): Likewise.
1501 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
1502 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
1503 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
1504 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
1505 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
1506 * remote-sds.c (sds_xfer_memory): Likewise.
1507 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
1508 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
1509 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
1510 * remote-vx.c (vx_xfer_memory): Likewise.
1511 * remote.c (remote_xfer_memory): Likewise.
1512 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
1513 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
e5da8f38 1514 * thread-db.c (thread_db_xfer_memory): Likewise.
29e57380
C
1515
1516 * target.h (#include "memattr.h"): Added.
1517 (target_ops.to_xfer_memory): Add attrib argument.
1518
1519 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
1520 * dcache.h (set_dcache_state): Removed declaration.
1521 * dcache.c (set_dcache_state): Removed definition
1522
1523 * dcache.c: Update module comment, as dcache is now enabled and
1524 disabled with memory region attributes instead of by the global
1525 variable "remotecache". Add comment describing the interaction
1526 between dcache and memory region attributes.
1527 (dcache_xfer_memory): Add comment describing benefits of moving
1528 cache writeback to a higher level.
1529 (dcache_struct): Removed cache_has_stuff field. This was used to
1530 record whether the cache had been accessed in order to invalidate
1531 it when it was disabled. However, this is not needed because the
1532 cache is write through and the code that enables, disables, and
1533 deletes memory regions invalidate the cache. Add comment which
1534 suggests that we could be more selective and only invalidate those
1535 cache lines containing data from those memory regions.
1536 (dcache_invalidate): Updated.
1537 (dcache_xfer_memory): Updated.
f29d9b6d 1538
29e57380
C
1539 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
1540 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
1541 perform a uncached transfer if dcache_enabled_p was clear. This
1542 function is now only called if caching is enabled for the memory
1543 region.
1544 (dcache_info): Always print cache info.
1545
1546 * target.c (do_xfer_memory): Add attrib argument.
1547 (target_xfer_memory, target_xfer_memory_partial): Break transfer
1548 into chunks defined by memory regions, pass region attributes to
1549 do_xfer_memory().
1550 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
1551
1552 * Makefile.in (SFILES): Add memattr.c.
1553 (COMMON_OBS): Add memattr.o.
1554 (dcache.o): Add target.h to dependencies.
1555 * memattr.c: New file.
1556 * memattr.h: Likewise.
1557
f29d9b6d
C
1558 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
1559 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
1560 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
1561 * gdbserver/low-sim.c (#include "defs.h"): Removed.
1562 (mygeneric_load): Rename from generic_load.
1563
1564 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
1565 (#include "defs.h"): Removed.
1566 (inferior_pid, perror_with_name): Remove declarations.
1567 * gdbserver/low-linux.c: Likewise.
1568 * gdbserver/low-nbsd.c: Likewise.
1569 * gdbserver/low-sparc.c: Likewise.
1570 * gdbserver/low-sun3.c: Likewise.
1571
1572 * i386-stub.c: Re-indent.
1573 * m68k-stub.c: Re-indent.
1574
58d5518e
ND
15752001-01-22 Nicholas Duffek <nsd@redhat.com>
1576
1577 * gdbarch.sh (PARM_BOUNDARY): Define.
1578 * gdbarch.c: Regenerate.
1579 * gdbarch.h: Regenerate.
1580
f6427ade
C
15812001-01-22 J.T. Conklin <jtc@redback.com>
1582
1583 * ns32k-tdep.c: #include "frame.h"
1584 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
1585 appears to have been inadvertantly removed sometime in May 1999.
1586
1587 * Revert 2000-11-09 changes where shared library objects were
1588 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
1589 we'd like to be able to debug dynamically linked executables,
1590 this makes it impossible to build a cross debugger on a many
1591 hosts.
1592
1593 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
1594 * config/i386/nbsdelf.mt: Likewise.
1595 * config/m68k/nbsd.mt: Likewise.
1596 * config/ns32k/nbsd.mt: Likewise.
1597 * config/powerpc/nbsd.mt: Likewise.
1598 * config/sparc/nbsd.mt: Likewise.
1599 * config/sparc/nbsdelf.mt: Likewise.
1600 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
1601 * config/i386/nbsdelf.mh: Likewise.
1602 * config/m68k/nbsd.mh: Likewise.
1603 * config/ns32k/nbsd.mh: Likewise.
1604 * config/powerpc/nbsd.mh: Likewise.
1605 * config/sparc/nbsd.mh: Likewise.
1606
8052a17a
JM
16072001-01-19 Jason Merrill <jason@redhat.com>
1608
1609 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
1610 (process_one_symbol): Likewise.
1611 * dwarfread.c (handle_producer): Likewise.
1612
21a6f6bb
AC
1613Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
1614
1615 * configure.in (build_warnings): Disable -Wuninitialized until GDB
1616 compiles with -Wuninitialized,-Werror.
1617 * configure: Regenerate.
1618
1619 * MAINTAINERS: Add list of buildable targets.
1620
494b7ec9
AC
1621Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
1622
1623 * defs.h (STRCMP): Delete macro.
1624
1625 * objfiles.c (objfile_relocate): Replace STRCMP with call to
1626 strcmp.
1627 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1628 * symfile.c (compare_symbols): Ditto.
1629 * standalone.c (open): Ditto.
1630 * remote-es.c (verify_break): Ditto.
1631 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
1632
1633 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
1634
8038e1e2
AC
1635Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
1636
1637 * varobj.c (FREEIF): Delete macro.
1638 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
1639 call.
1640
ea8d0b28
NC
16412001-01-18 Nick Clifton <nickc@redhat.com>
1642
1643 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
1644 (arc_print_insn): No bfd available, so pass NULL to
1645 arc_get_disassembler.
1646
5dbd9048
JB
16472001-01-09 James Ingham <jingham@inghji.apple.com>
1648
1649 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
1650 a mangled symbol rather than recursing into lookup_symbol, since
1651 this will just re-unmangle the name & call lookup_symbol_aux -
1652 leading to an infinite recursion.
1653
28ae27b1
MK
16542001-01-18 Mark Kettenis <kettenis@gnu.org>
1655
1656 * infcmd.c (print_return_value): Restore another space lost by
1657 switch to UIOUT. ``$NN='' should be ``$NN =''.
1658
6ab3a9c9
AC
1659Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
1660
1661 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
1662 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
1663 definition in parenthesis.
1664
ad6525fc
AC
1665Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
1666
1667 From 2000-10-27 Mark Salter <msalter@redhat.com>:
1668 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
1669 packet.
1670 (remote_insert_hw_breakpoint): Ditto.
1671
6259c7e2
C
16722001-01-17 J.T. Conklin <jtc@redback.com>
1673
1674 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
9c95b27f 1675 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
6259c7e2
C
1676 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
1677 * m68knbsd-tdep.c: New file.
1678
1679 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
1680
1681 * m68knbsd-nat.c: #include gdbcore.h.
1682
abdcb2a5
AC
1683Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
1684
1685 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
1686
e7a8479f
MS
16872001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
1688
aaeb7efa
MS
1689 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
1690 goes away -- just return false (ie. not stopped by watchpoint).
e7a8479f
MS
1691 * source.c (openp): Fix typo in comment.
1692
7036d6ce
ND
16932001-01-12 Nicholas Duffek <nsd@redhat.com>
1694
1695 * blockframe.c (generic_get_saved_register): Spelling fix.
1696 * frame.h (FRAME_FP): Spelling fix.
1697
9549d9c1
AC
1698Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
1699
1700 * infcmd.c (print_return_value): Restore space lost by switch to
1701 UIOUT. ``$NN='' should be ``$NN =''.
1702
7302a204
ND
17032001-01-08 Nicholas Duffek <nsd@redhat.com>
1704
1705 * regcache.c (set_register_cached, register_buffer,
1706 real_register, pseudo_register fetch_register, store_register):
1707 New functions.
1708 (register_changed, read_relative_register_raw_bytes_for_frame,
1709 registers_changed, registers_fetched, read_register_bytes,
1710 read_register_gen, write_register_gen, read_register,
1711 read_signed_register, write_register, supply_register): Replace
1712 register_valid[] with register_cached() and
1713 set_register_cached().
1714 (read_register_bytes, read_register_gen, write_register_gen,
1715 read_register, read_signed_register, write_register,
1716 supply_register): Replace registers[] with register_buffer().
1717 (read_register_bytes, read_register_gen, read_register,
1718 read_signed_register): Call fetch_register().
1719 (write_register_gen, write_register): Call real_register() and
1720 store_register().
1721 (write_register_bytes): Call store_register().
1722 * value.h (set_register_cached, register_buffer): Prototype.
1723 * remote.c (remote_fetch_registers): Allocate regs[] with a
1724 run-time size. Replace register_valid[] with
1725 set_register_cached().
1726 (store_register_using_P, remote_store_registers): Replace
1727 registers[] with register_buffer().
1728
5ebd2499
ND
17292001-01-08 Nicholas Duffek <nsd@redhat.com>
1730
1731 * regcache.c: Change "write-back" comment to "write-through".
1732 Change "regno" to "regnum".
1733 (read_register, read_signed_register): Remove "raw" from return
1734 value description.
1735 (supply_register): Spelling fix.
1736 * value.h: Change "regno" to "regnum".
1737
1302fd5e
FN
17382001-01-08 Fernando Nasser <fnasser@redhat.com>
1739
1740 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
1741 to be installed.
1742
9dcb560c
MS
17432001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
1744
1745 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
1746
0e2fb98e
ND
17472001-01-04 Nicholas Duffek <nsd@redhat.com>
1748
1749 * valops.c (VALUE_SUBSTRING_START): Delete.
1750
12cf3f1b
ND
17512001-01-04 Nicholas Duffek <nsd@redhat.com>
1752
1753 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
1754 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
1755 (cli_utils_h): New variable.
1756 (cli/cli-utils.o): New rule.
1757 * cli/cli-utils.c: New file.
1758 * cli/cli-utils.h: New file.
1759
cc533b9d
ND
17602001-01-04 Nicholas Duffek <nsd@redhat.com>
1761
1762 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
1763 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
1764
ad2a4d09
C
17652001-01-03 J.T. Conklin <jtc@redback.com>
1766
1767 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
1768 comment.
1769
8140e7ac
MS
17702001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
1771
3116c80a
EZ
1772 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
1773 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
d19b71be 1774 non-float types.
779e876b 1775 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
72e22353
MS
1776 Update copyright notice.
1777
15f33b66 1778For older changes see ChangeLog-2000
c906108c
SS
1779\f
1780Local Variables:
1781mode: change-log
1782left-margin: 8
1783fill-column: 74
1784version-control: never
1785End:
This page took 0.446822 seconds and 4 git commands to generate.