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