* obsd-tdep.c: New file.
[external/binutils.git] / gdb / ChangeLog
1 2005-12-26  Mark Kettenis  <kettenis@gnu.org>
2
3         * obsd-tdep.c: New file.
4         * obsd-tdep.h: New file.
5         * Makefile.in (obsd_tdep_h): New variable.
6         (ALLDEPFILES): Add obsd-tdep.c.
7         (obsd-tdep.o): New target.
8
9 2005-12-23  Michael Snyder  <msnyder@redhat.com>
10
11         * inf-ptrace.c: Spelling correction, comment.
12         * inf-ttrace.c: Ditto.
13
14 2005-12-23  Eli Zaretskii  <eliz@gnu.org>
15
16         * tui/tui-file.c: 
17         * tui/tui-disasm.c: 
18         * tui/tui-data.h: 
19         * tui/tui-data.c: 
20         * tui/tui-command.h: 
21         * tui/tui-command.c: 
22         * tui/tui-win.h: 
23         * tui/tui-win.h: 
24         * tui/tui-win.c: 
25         * tui/tui-stack.h: 
26         * tui/tui-stack.c: 
27         * tui/tui-source.h: 
28         * tui/tui-source.c: 
29         * tui/tui-regs.h: 
30         * tui/tui-regs.c: 
31         * tui/tui-out.c: 
32         * tui/tui-main.c: 
33         * tui/tui-layout.h: 
34         * tui/tui-layout.c: 
35         * tui/tui-io.h: 
36         * tui/tui-io.c: 
37         * tui/tui-interp.c: 
38         * tui/tui-hooks.h: 
39         * tui/tui-hooks.c: 
40         * tui/tui-file.h: 
41         * tui/tui.h: 
42         * tui/tui.c: 
43         * tui/tui-winsource.h: 
44         * tui/tui-winsource.c: 
45         * tui/tui-wingeneral.h: 
46         * tui/tui-wingeneral.c: 
47         * tui/tui-windata.h: 
48         * tui/tui-windata.c: 
49         * signals/signals.c: 
50         * nlm/Makefile.in: 
51         * mi/mi-symbol-cmds.c: 
52         * mi/mi-parse.h: 
53         * mi/mi-parse.c: 
54         * mi/mi-out.h: 
55         * mi/mi-out.c: 
56         * mi/mi-main.h: 
57         * mi/mi-main.c: 
58         * mi/mi-interp.c: 
59         * mi/mi-getopt.h: 
60         * mi/mi-getopt.c: 
61         * mi/mi-console.h: 
62         * mi/mi-console.c: 
63         * mi/mi-common.h: 
64         * mi/mi-common.c: 
65         * mi/mi-cmds.h: 
66         * mi/mi-cmds.c: 
67         * mi/mi-cmd-var.c: 
68         * mi/mi-cmd-stack.c: 
69         * mi/mi-cmd-file.c: 
70         * mi/mi-cmd-env.c: 
71         * mi/mi-cmd-disas.c: 
72         * mi/mi-cmd-break.c: Add (C) after Copyright.  Update the FSF
73         address.
74
75 2005-12-22  Daniel Jacobowitz  <dan@codesourcery.com>
76
77         * arm-linux-tdep.c (ARM_SET_R7_SIGRETURN, ARM_SET_R7_RT_SIGRETURN)
78         (ARM_EABI_SYSCALL, arm_linux_sigtramp_cache, arm_linux_sigreturn_init)
79         (arm_linux_rt_sigreturn_init, arm_linux_sigreturn_tramp_frame)
80         (arm_linux_rt_sigreturn_tramp_frame)
81         (arm_eabi_linux_sigreturn_tramp_frame)
82         (arm_eabi_linux_rt_sigreturn_tramp_frame): New.
83         (arm_linux_init_abi): Register the new signal unwinders.
84         (arm_linux_in_sigtramp, arm_linux_sigcontext_register_address):
85         Delete.
86         * arm-tdep.c (SIGCONTEXT_REGISTER_ADDRESS_P)
87         (SIGCONTEXT_REGISTER_ADDRESS, arm_make_sigtramp_cache)
88         (arm_sigtramp_this_id, arm_sigtramp_prev_register)
89         (arm_sigtramp_unwind, arm_sigtramp_unwind_sniffer): Delete.
90         (arm_gdbarch_init): Don't register a signal unwinder.
91         * config/arm/tm-linux.h (arm_linux_in_sigtramp)
92         (arm_linux_sigcontext_register_address): Delete prototypes.
93         (DEPRECATED_IN_SIGTRAMP, SIGCONTEXT_REGISTER_ADDRESS): Delete.
94         * Makefile.in (arm-linux-tdep.o): Update.
95
96 2005-12-22  Daniel Jacobowitz  <dan@codesourcery.com>
97
98         * amd64obsd-tdep.c (amd64obsd_trapframe_sniffer): Spelling fix.
99         * i386obsd-tdep.c (i386obsd_trapframe_sniffer): Likewise.
100
101 2005-12-22  Mark Kettenis  <kettenis@gnu.org>
102
103         * amd64obsd-tdep.c (amd64obsd_trapframe_cache): Fix typos.
104         (amd64obsd_trapframe_sniffer): Add comment.
105         * i386obsd-tdep.c (i386obsd_trapframe_cache): Fix typos.
106         (i386obsd_trapframe_sniffer): Add comment.
107
108         * amd64obsd-tdep.c (amd64obsd_trapframe_cache): Fix detection of
109         interrupts from user space.
110
111         * i386obsd-tdep.c (i386obsd_trapframe_cache): Handle interrupt
112         frames too.
113         (i386obsd_trapframe_sniffer): Turn into a proper unwinder sniffer.
114         (i386obsd_trapframe_unwind): Add sniffer.
115         (i386obsd_init_abi): Prepend i386obsd_trapframe_unwind instead of
116         appending i386obsd_trapframe_sniffer.
117
118         * amd64obsd-tdep.c: Include "frame-unwind.h" and "trad-frame.h".
119         (amd64obsd_tf_reg_offset): New define.
120         (amd64obsd_trapframe_cache, amd64obsd_trapframe_this_id)
121         (amd64obsd_trapframe_prev_register, amd64obsd_trapframe_sniffer):
122         New functions.
123         (amd64obsd_trapframe_unwind): New variable.
124         (amd64obsd_init_abi): Prepend amd64obsd_trapframe_unwind.
125         * Makefile.in (amd64obsd-tdep.o): Update dependencies.
126
127 2005-12-20  Jim Blandy  <jimb@redhat.com>
128
129         * rs6000-tdep.c (rs6000_gdbarch_init): Doc fix.
130
131 2005-12-20  Joel Brobecker  <brobecker@adacore.com>
132
133         * rs6000-tdep.c: Use proper spelling for existent.
134
135 2005-12-20  Joel Brobecker  <brobecker@adacore.com>
136
137         * rs6000-tdep.c: Fix spelling errors.
138
139 2005-12-19  Mark Kettenis  <kettenis@gnu.org>
140
141         * i386-tdep.h (I386_SEL_RPL, I386_SEL_UPL, I386_SEL_KPL): New
142         defines.
143         * i386obsd-tdep.c: Include "frame-unwind.h" and "trad-frame.h".
144         (i386obsd_tf_reg_offset, i386obsd_trapframe_unwind): New
145         variables.
146         (i386obsd_trapframe_cache, i386obsd_trapframe_this_id)
147         (i386obsd_trapframe_prev_register, i386obsd_trapframe_sniffer):
148         New functions.
149         (i386obsd_init_abi): Append i386obsd_trapframe_sniffer.
150         * Makefile.in (i386obsd-tdep.o): Update dependencies.
151
152 2005-12-18  Eli Zaretskii  <eliz@gnu.org>
153
154         * cli/cli-utils.h: 
155         * cli/cli-utils.c: 
156         * cli/cli-setshow.h: 
157         * cli/cli-setshow.c: 
158         * cli/cli-script.h: 
159         * cli/cli-script.c: 
160         * cli/cli-logging.c: 
161         * cli/cli-interp.c: 
162         * cli/cli-dump.h: 
163         * cli/cli-dump.c: 
164         * cli/cli-decode.h: 
165         * cli/cli-decode.c: 
166         * cli/cli-cmds.h: 
167         * cli/cli-cmds.c: 
168         * breakpoint.c: 
169         * arm-tdep.c: 
170         * ia64-tdep.c: 
171         * i386-tdep.c: 
172         * hpread.c: 
173         * hppa-tdep.c: 
174         * hppa-hpux-tdep.c: 
175         * gnu-nat.c: 
176         * gdbtypes.c: 
177         * gdbarch.h: 
178         * gdbarch.c: 
179         * eval.c: 
180         * dwarf2read.c: 
181         * dbxread.c: 
182         * copying: 
183         * symfile.c: 
184         * stabsread.c: 
185         * sh64-tdep.c: 
186         * sh-tdep.c: 
187         * s390-tdep.c: 
188         * rs6000-tdep.c: 
189         * remote.c: 
190         * remote-mips.c: 
191         * mips-tdep.c: 
192         * mdebugread.c: 
193         * linux-nat.c: 
194         * infrun.c: 
195         * xcoffread.c: 
196         * win32-nat.c: 
197         * valops.c: 
198         * utils.c: 
199         * tracepoint.c: 
200         * target.c: 
201         * symtab.c: 
202         * c-exp.y: 
203         * ada-valprint.c: 
204         * ada-typeprint.c: 
205         * ada-lex.l: 
206         * ada-lang.h: 
207         * ada-lang.c: 
208         * ada-exp.y: 
209         * alphafbsd-tdep.c: 
210         * alphabsd-tdep.h: 
211         * alphabsd-tdep.c: 
212         * alphabsd-nat.c: 
213         * alpha-tdep.h: 
214         * alpha-tdep.c: 
215         * alpha-osf1-tdep.c: 
216         * alpha-nat.c: 
217         * alpha-mdebug-tdep.c: 
218         * alpha-linux-tdep.c: 
219         * alpha-linux-nat.c: 
220         * aix-thread.c: 
221         * abug-rom.c: 
222         * arch-utils.c: 
223         * annotate.h: 
224         * annotate.c: 
225         * amd64obsd-tdep.c: 
226         * amd64obsd-nat.c: 
227         * amd64nbsd-tdep.c: 
228         * amd64nbsd-nat.c: 
229         * amd64fbsd-tdep.c: 
230         * amd64fbsd-nat.c: 
231         * amd64bsd-nat.c: 
232         * amd64-tdep.h: 
233         * amd64-tdep.c: 
234         * amd64-sol2-tdep.c: 
235         * amd64-nat.h: 
236         * amd64-nat.c: 
237         * amd64-linux-tdep.c: 
238         * amd64-linux-nat.c: 
239         * alphanbsd-tdep.c: 
240         * block.h: 
241         * block.c: 
242         * bfd-target.h: 
243         * bfd-target.c: 
244         * bcache.h: 
245         * bcache.c: 
246         * ax.h: 
247         * ax-general.c: 
248         * ax-gdb.h: 
249         * ax-gdb.c: 
250         * avr-tdep.c: 
251         * auxv.h: 
252         * auxv.c: 
253         * armnbsd-tdep.c: 
254         * armnbsd-nat.c: 
255         * arm-tdep.h: 
256         * arm-linux-nat.c: 
257         * arch-utils.h: 
258         * charset.c: 
259         * call-cmds.h: 
260         * c-valprint.c: 
261         * c-typeprint.c: 
262         * c-lang.h: 
263         * c-lang.c: 
264         * buildsym.h: 
265         * buildsym.c: 
266         * bsd-uthread.h: 
267         * bsd-uthread.c: 
268         * bsd-kvm.h: 
269         * bsd-kvm.c: 
270         * breakpoint.h: 
271         * core-regset.c: 
272         * core-aout.c: 
273         * completer.h: 
274         * completer.c: 
275         * complaints.h: 
276         * complaints.c: 
277         * command.h: 
278         * coffread.c: 
279         * coff-solib.h: 
280         * coff-solib.c: 
281         * coff-pe-read.h: 
282         * coff-pe-read.c: 
283         * cli-out.h: 
284         * cli-out.c: 
285         * charset.h: 
286         * dink32-rom.c: 
287         * dictionary.h: 
288         * dictionary.c: 
289         * demangle.c: 
290         * defs.h: 
291         * dcache.h: 
292         * dcache.c: 
293         * d10v-tdep.c: 
294         * cpu32bug-rom.c: 
295         * cp-valprint.c: 
296         * cp-support.h: 
297         * cp-support.c: 
298         * cp-namespace.c: 
299         * cp-abi.h: 
300         * cp-abi.c: 
301         * corelow.c: 
302         * corefile.c: 
303         * environ.c: 
304         * elfread.c: 
305         * dwarfread.c: 
306         * dwarf2loc.c: 
307         * dwarf2expr.h: 
308         * dwarf2expr.c: 
309         * dwarf2-frame.h: 
310         * dwarf2-frame.c: 
311         * dve3900-rom.c: 
312         * dummy-frame.h: 
313         * dummy-frame.c: 
314         * dsrec.c: 
315         * doublest.h: 
316         * doublest.c: 
317         * disasm.h: 
318         * disasm.c: 
319         * fork-child.c: 
320         * findvar.c: 
321         * fbsd-nat.h: 
322         * fbsd-nat.c: 
323         * f-valprint.c: 
324         * f-typeprint.c: 
325         * f-lang.h: 
326         * f-lang.c: 
327         * expression.h: 
328         * expprint.c: 
329         * exec.h: 
330         * exec.c: 
331         * exceptions.h: 
332         * exceptions.c: 
333         * event-top.h: 
334         * event-top.c: 
335         * event-loop.h: 
336         * event-loop.c: 
337         * gdb.c: 
338         * gdb-stabs.h: 
339         * gdb-events.h: 
340         * gdb-events.c: 
341         * gcore.c: 
342         * frv-tdep.h: 
343         * frv-tdep.c: 
344         * frv-linux-tdep.c: 
345         * frame.h: 
346         * frame.c: 
347         * frame-unwind.h: 
348         * frame-unwind.c: 
349         * frame-base.h: 
350         * frame-base.c: 
351         * gdb_vfork.h: 
352         * gdb_thread_db.h: 
353         * gdb_string.h: 
354         * gdb_stat.h: 
355         * gdb_regex.h: 
356         * gdb_ptrace.h: 
357         * gdb_proc_service.h: 
358         * gdb_obstack.h: 
359         * gdb_locale.h: 
360         * gdb_dirent.h: 
361         * gdb_curses.h: 
362         * gdb_assert.h: 
363         * gdbarch.sh: 
364         * gdb.h: 
365         * hpux-thread.c: 
366         * hppabsd-nat.c: 
367         * hppa-tdep.h: 
368         * hpacc-abi.c: 
369         * h8300-tdep.c: 
370         * gregset.h: 
371         * go32-nat.c: 
372         * gnu-v3-abi.c: 
373         * gnu-v2-abi.h: 
374         * gnu-v2-abi.c: 
375         * gnu-nat.h: 
376         * glibc-tdep.c: 
377         * gdbtypes.h: 
378         * gdbcore.h: 
379         * gdbcmd.h: 
380         * i386nbsd-tdep.c: 
381         * i386nbsd-nat.c: 
382         * i386gnu-tdep.c: 
383         * i386gnu-nat.c: 
384         * i386fbsd-tdep.c: 
385         * i386fbsd-nat.c: 
386         * i386bsd-tdep.c: 
387         * i386bsd-nat.h: 
388         * i386bsd-nat.c: 
389         * i386-tdep.h: 
390         * i386-sol2-nat.c: 
391         * i386-nto-tdep.c: 
392         * i386-nat.c: 
393         * i386-linux-tdep.h: 
394         * i386-linux-tdep.c: 
395         * i386-linux-nat.c: 
396         * i386-cygwin-tdep.c: 
397         * inf-ttrace.c: 
398         * inf-ptrace.h: 
399         * inf-ptrace.c: 
400         * inf-loop.h: 
401         * inf-loop.c: 
402         * inf-child.h: 
403         * inf-child.c: 
404         * ia64-tdep.h: 
405         * ia64-linux-nat.c: 
406         * i387-tdep.h: 
407         * i387-tdep.c: 
408         * i386v4-nat.c: 
409         * i386v-nat.c: 
410         * i386obsd-tdep.c: 
411         * i386obsd-nat.c: 
412         * kod.c: 
413         * jv-valprint.c: 
414         * jv-typeprint.c: 
415         * jv-lang.h: 
416         * jv-lang.c: 
417         * irix5-nat.c: 
418         * iq2000-tdep.c: 
419         * interps.h: 
420         * interps.c: 
421         * inftarg.c: 
422         * inflow.h: 
423         * inflow.c: 
424         * inferior.h: 
425         * infcmd.c: 
426         * infcall.h: 
427         * infcall.c: 
428         * inf-ttrace.h: 
429         * m32r-tdep.h: 
430         * m32r-tdep.c: 
431         * m32r-rom.c: 
432         * m32r-linux-tdep.c: 
433         * m32r-linux-nat.c: 
434         * m2-valprint.c: 
435         * m2-typeprint.c: 
436         * m2-lang.h: 
437         * m2-lang.c: 
438         * lynx-nat.c: 
439         * linux-thread-db.c: 
440         * linux-nat.h: 
441         * linespec.c: 
442         * libunwind-frame.h: 
443         * libunwind-frame.c: 
444         * language.h: 
445         * language.c: 
446         * macroexp.c: 
447         * macrocmd.c: 
448         * m88kbsd-nat.c: 
449         * m88k-tdep.h: 
450         * m88k-tdep.c: 
451         * m68klinux-tdep.c: 
452         * m68klinux-nat.c: 
453         * m68kbsd-tdep.c: 
454         * m68kbsd-nat.c: 
455         * m68k-tdep.h: 
456         * m68k-tdep.c: 
457         * mips-linux-nat.c: 
458         * mips-irix-tdep.c: 
459         * minsyms.c: 
460         * memattr.h: 
461         * memattr.c: 
462         * mem-break.c: 
463         * mdebugread.h: 
464         * main.h: 
465         * main.c: 
466         * macrotab.h: 
467         * macrotab.c: 
468         * macroscope.h: 
469         * macroscope.c: 
470         * macroexp.h: 
471         * nbsd-tdep.c: 
472         * mt-tdep.c: 
473         * monitor.h: 
474         * monitor.c: 
475         * mn10300-tdep.h: 
476         * mn10300-tdep.c: 
477         * mn10300-linux-tdep.c: 
478         * mipsv4-nat.c: 
479         * mipsread.c: 
480         * mipsnbsd-tdep.h: 
481         * mipsnbsd-tdep.c: 
482         * mipsnbsd-nat.c: 
483         * mips64obsd-tdep.c: 
484         * mips64obsd-nat.c: 
485         * mips-tdep.h: 
486         * mips-mdebug-tdep.c: 
487         * mips-linux-tdep.c: 
488         * osabi.h: 
489         * osabi.c: 
490         * ocd.h: 
491         * ocd.c: 
492         * observer.c: 
493         * objfiles.h: 
494         * objfiles.c: 
495         * objc-lang.h: 
496         * objc-lang.c: 
497         * objc-exp.y: 
498         * nto-tdep.h: 
499         * nto-tdep.c: 
500         * nto-procfs.c: 
501         * nlmread.c: 
502         * nbsd-tdep.h: 
503         * ppcobsd-tdep.c: 
504         * ppcobsd-nat.c: 
505         * ppcnbsd-tdep.h: 
506         * ppcnbsd-tdep.c: 
507         * ppcnbsd-nat.c: 
508         * ppcbug-rom.c: 
509         * ppc-tdep.h: 
510         * ppc-sysv-tdep.c: 
511         * ppc-linux-tdep.c: 
512         * ppc-linux-nat.c: 
513         * ppc-bdm.c: 
514         * parser-defs.h: 
515         * parse.c: 
516         * p-valprint.c: 
517         * p-typeprint.c: 
518         * p-lang.h: 
519         * p-lang.c: 
520         * remote-fileio.h: 
521         * remote-fileio.c: 
522         * remote-est.c: 
523         * remote-e7000.c: 
524         * regset.h: 
525         * regset.c: 
526         * reggroups.h: 
527         * reggroups.c: 
528         * regcache.h: 
529         * regcache.c: 
530         * proc-why.c: 
531         * proc-service.c: 
532         * proc-events.c: 
533         * printcmd.c: 
534         * ppcobsd-tdep.h: 
535         * sentinel-frame.h: 
536         * sentinel-frame.c: 
537         * scm-valprint.c: 
538         * scm-tags.h: 
539         * scm-lang.h: 
540         * scm-lang.c: 
541         * scm-exp.c: 
542         * s390-tdep.h: 
543         * rom68k-rom.c: 
544         * remote.h: 
545         * remote-utils.c: 
546         * remote-st.c: 
547         * remote-sim.c: 
548         * remote-sds.c: 
549         * remote-rdp.c: 
550         * remote-rdi.c: 
551         * remote-hms.c: 
552         * sim-regno.h: 
553         * shnbsd-tdep.h: 
554         * shnbsd-tdep.c: 
555         * shnbsd-nat.c: 
556         * sh-tdep.h: 
557         * serial.h: 
558         * serial.c: 
559         * ser-unix.h: 
560         * ser-unix.c: 
561         * ser-tcp.c: 
562         * ser-pipe.c: 
563         * ser-go32.c: 
564         * ser-e7kpc.c: 
565         * ser-base.h: 
566         * ser-base.c: 
567         * solib.c: 
568         * solib-svr4.h: 
569         * solib-svr4.c: 
570         * solib-sunos.c: 
571         * solib-som.h: 
572         * solib-som.c: 
573         * solib-pa64.h: 
574         * solib-pa64.c: 
575         * solib-osf.c: 
576         * solib-null.c: 
577         * solib-legacy.c: 
578         * solib-irix.c: 
579         * solib-frv.c: 
580         * solib-aix5.c: 
581         * sol-thread.c: 
582         * sparc64-linux-tdep.c: 
583         * sparc64-linux-nat.c: 
584         * sparc-tdep.h: 
585         * sparc-tdep.c: 
586         * sparc-sol2-tdep.c: 
587         * sparc-sol2-nat.c: 
588         * sparc-nat.h: 
589         * sparc-nat.c: 
590         * sparc-linux-tdep.c: 
591         * sparc-linux-nat.c: 
592         * source.h: 
593         * source.c: 
594         * somread.c: 
595         * solist.h: 
596         * solib.h: 
597         * std-regs.c: 
598         * stack.h: 
599         * stack.c: 
600         * stabsread.h: 
601         * sparcobsd-tdep.c: 
602         * sparcnbsd-tdep.c: 
603         * sparcnbsd-nat.c: 
604         * sparc64obsd-tdep.c: 
605         * sparc64nbsd-tdep.c: 
606         * sparc64nbsd-nat.c: 
607         * sparc64fbsd-tdep.c: 
608         * sparc64fbsd-nat.c: 
609         * sparc64-tdep.h: 
610         * sparc64-tdep.c: 
611         * sparc64-sol2-tdep.c: 
612         * sparc64-nat.c: 
613         * ui-file.c: 
614         * typeprint.h: 
615         * typeprint.c: 
616         * tramp-frame.h: 
617         * tramp-frame.c: 
618         * trad-frame.h: 
619         * trad-frame.c: 
620         * tracepoint.h: 
621         * top.c: 
622         * tobs.inc: 
623         * thread.c: 
624         * terminal.h: 
625         * target.h: 
626         * symfile.h: 
627         * stop-gdb.c: 
628         * vaxbsd-nat.c: 
629         * vax-tdep.h: 
630         * vax-tdep.c: 
631         * vax-nat.c: 
632         * varobj.h: 
633         * varobj.c: 
634         * value.h: 
635         * value.c: 
636         * valprint.h: 
637         * valprint.c: 
638         * v850-tdep.c: 
639         * uw-thread.c: 
640         * user-regs.c: 
641         * ui-out.h: 
642         * ui-out.c: 
643         * ui-file.h: 
644         * xcoffsolib.h: 
645         * xcoffsolib.c: 
646         * wrapper.c: 
647         * wince.c: 
648         * wince-stub.h: 
649         * wince-stub.c: 
650         * vaxobsd-tdep.c: 
651         * vaxnbsd-tdep.c: 
652         * gdb_gcore.sh: 
653         * copying.c: 
654         * configure.ac: 
655         * aclocal.m4: 
656         * acinclude.m4: 
657         * reply_mig_hack.awk: 
658         * observer.sh: 
659         * gdb_mbuild.sh: 
660         * arm-linux-tdep.c: 
661         * blockframe.c: 
662         * dbug-rom.c: 
663         * environ.h: 
664         * dwarf2loc.h: 
665         * gdb-events.sh: 
666         * glibc-tdep.h: 
667         * gdb_wait.h: 
668         * gdbthread.h: 
669         * i386-sol2-tdep.c: 
670         * hppabsd-tdep.c: 
671         * hppa-linux-nat.c: 
672         * hppa-hpux-nat.c: 
673         * ia64-linux-tdep.c: 
674         * infptrace.c: 
675         * linespec.h: 
676         * maint.c: 
677         * mips-mdebug-tdep.h: 
678         * remote-m32r-sdi.c: 
679         * s390-nat.c: 
680         * rs6000-nat.c: 
681         * remote-utils.h: 
682         * sh3-rom.c: 
683         * sh-linux-tdep.c: 
684         * top.h: 
685         * symtab.h: 
686         * symmisc.c: 
687         * symfile-mem.c: 
688         * srec.h: 
689         * user-regs.h: 
690         * version.h: 
691         * valarith.c: 
692         * xstormy16-tdep.c: 
693         * wrapper.h: 
694         * Makefile.in: 
695         * f-exp.y: 
696         * cris-tdep.c: 
697         * cp-name-parser.y: 
698         * procfs.c: 
699         * proc-utils.h: 
700         * proc-flags.c: 
701         * proc-api.c: 
702         * p-exp.y: 
703         * m68hc11-tdep.c: 
704         * m2-exp.y: 
705         * kod.h: 
706         * kod-cisco.c: 
707         * jv-exp.y: 
708         * hppa-linux-tdep.c: Add (c) after Copyright.  Update the FSF
709         address.
710
711 2005-12-16  Nathan Sidwell  <nathan@codesourcery.com>
712
713         Second part of ms1 to mt renaming.
714         * mt-tdep.c (mt_arch_constants, mt_gdb_regnums): Rename, adjust.
715         (mt_register_name, mt_register_type, mt_register_reggroup_p,
716         mt_return_value, mt_skip_prologue, mt_breapoint_from_pc,
717         mt_pseudo_register_read, mt_pseudo_register_write, mt_frame_align,
718         mt_registers_info, mt_push_dummy_call, mt_unwind_cache,
719         mt_frame_unwind_cache, mt_unwind_pc, mt_unwind_dummy_id,
720         mt_frame_this_id, mt_frame_prev_register, mt_frame_base_address,
721         mt_frame_unwind, mt_frame_sniffer, mt_frame_base, mt_gdbarch_init,
722         _initialize_mt_tdep): Rename & adjust.
723
724 2005-12-13  Mark Kettenis  <kettenis@gnu.org>
725
726         * hppa-hpux-tdep.c (hppa_hpux_sigtramp_unwind_sniffer): Detect
727         export stub for signal trampoline as a signal trampoline too.
728
729         * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Don't
730         set pcoqh to rp.
731
732 2005-12-13  Corinna Vinschen  <vinschen@redhat.com>
733
734         * h8300-tdep.c (h8300_frame_prev_register): Change valuep type to
735         gdb_byte *.
736         (h8300_push_dummy_call): Change `padded' to gdb_byte.
737         (h8300_return_value): Change buffer types to gdb_byte.
738         (h8300h_return_value): Ditto.
739         (h8300_pseudo_register_read): Ditto.
740         (h8300_pseudo_register_write): Ditto.
741
742 2005-12-13  Corinna Vinschen  <vinschen@redhat.com>
743
744         * v850-tdep.c (v850_frame_prev_register): Change valuep type to
745         gdb_byte *.
746
747 2005-12-12  Nathan Sidwell  <nathan@codesourcery.com>
748
749         * configure.tgt: Replace ms1 arch with mt arch.
750         * config/mt: Renamed from ms1 dir.  Update file names as needed.
751         * config/mt/mt.mt (TDEPFILES): Replace ms1 file with mt file.
752
753 2005-12-09  Randolph Chung  <tausq@debian.org>
754
755         PR corefiles/2026
756         * hppa-hpux-tdep.c (hppa_hpux_core_osabi_sniffer): Check for HPUX ELF
757         core files.
758         (_initialize_hppa_hpux_tdep): Install sniffer for ELF core files.
759         * config/pa/hpux.mh: Compile corelow.o.
760
761 2005-12-09  Randolph Chung  <tausq@debian.org>
762
763         * hppa-tdep.c (hppa64_convert_code_addr_to_fptr): New function.
764         (hppa64_push_dummy_call): If passing a function pointer, ensure
765         it is a function descriptor address instead of the function entry
766         point.
767
768 2005-12-09  Randolph Chung  <tausq@debian.org>
769
770         * hppa-tdep.c (hppa64_dwarf_reg_to_regnum): New funtion.
771         (hppa_gdbarch_init): Set dwarf_reg_to_regnum and 
772         dwarf2_reg_to_regnum methods.
773
774 2005-12-08  Kevin Buettner  <kevinb@redhat.com>
775
776         * NEWS (Changes in GDB 6.4): Delete references indicating that
777         the following configurations have been removed: h8300*-*-*,
778         mn10300-*-*, and v850-*-*.  These configurations had been
779         removed within the 6.4 development cycle, but were later
780         restored within the same cycle.
781
782 2005-12-08  Nathan Sidwell  <nathan@codesourcery.com>
783
784         Add ms2 support.
785         * ms1-tdep.c (ms1_register_type): Check for ms2.
786         (ms1_breakpoint_from_pc): ms2 has a different break instruction.
787         (ms1_pseudo_register_read, ms1_pseudo_register_write,
788         ms1_registers_info): Add ms2.
789         * NEWS (Changes since GDB 6.4): Add ms2
790
791 2005-12-08  Randolph Chung  <tausq@debian.org>
792
793         * somread.c (som_symfile_offsets): Iterate through number of sections
794         in addrs instead of objfile.
795
796 2005-12-07  Daniel Jacobowitz  <dan@codesourcery.com>
797
798         * valops.c (value_struct_elt): Clarify error message.
799
800 2005-12-07  Jim Blandy  <jimb@redhat.com>
801
802         * target.c (target_xfer_memory_partial): Doc fix.
803
804         * ax-general.c (ax_reqs): Check stack heights for backward jumps,
805         too.  Correctly check height at target.  Doc fixes.
806
807 2005-12-06  Michael Snyder  <msnyder@redhat.com>
808
809         * cli/cli-decode.c (add_setshow_string_cmd): Indent.
810         (add_setshow_integer_cmd): Indent.
811
812         * inf-ptrace.c: Fix typos in comments.
813
814 2005-12-06  Serge Chatroux  <serge.chatroux@st.com>
815
816         * mi/mi-interp.c (mi_interpreter_resume): Route target error
817         through the MI.
818
819 2005-12-04  Mark Kettenis  <kettenis@gnu.org>
820
821         * amd64obsd-tdep.c: Include "regcache.h" and "bsd-uthread.h".
822         (amd64obsd_uthread_reg_offset): New variable.
823         (AMD64OBSD_UTHREAD_RSP_OFFSET): New define.
824         (amd64obsd_supply_uthread, amd64obsd_collect_uthread): New
825         functions.
826         (amd64obsd_init_abi): Set supply_uthread and collect_uthread.
827         * Makefile.in (amd64obsd-tdep.o): Update dependencies.
828
829 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
830
831         * breakpoint.c (BREAK_ARGS_HELP): New mecro.
832         (_initialize_breakpoint): Enhance break, tbreak, hbreak and thbreak
833         commands' help by adding more information and using BREAK_ARGS_HELP
834         to duplicate the common parts.  Remove now-redundant cross-references.
835
836 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
837
838         * value.c (init_if_undefined_command): New function.
839         (_initialize_values): Add command init-if-undefined.
840         * NEWS (Changes since GDB 6.3): Rename to 'Changes in GDB 6.4'.
841         (Changes since GDB 6.4): New section.
842         Mention new command init-if-undefined.
843
844 2005-12-02  Andrew Stubbs  <andrew.stubbs@st.com>
845
846         * symfile.c (symbol_file_clear): Test symfile_objfile is not NULL
847         before dereferencing it.
848         Gettextize the query.
849
850 2005-12-02  Joel Brobecker  <brobecker@adacore.com>
851
852         GDB 6.4 released from GDB 6.4 branch.
853
854 2005-12-01  Nathan Sidwell  <nathan@codesourcery.com>
855
856         * ms1-tdep.c (ms1_register_name): Const qualify array.
857         (ms1_registers_info): Use gdb_byte.
858         (ms1_push_dummy_call): Likewise.
859         (ms1_gdbarch_init): Remove illformed nested prototype.
860
861 2005-11-25  Christophe Lyon  <christophe.lyon@st.com>
862
863         * dwarf2-frame.c (dwarf2_frame_prev_register): Handle
864         DWARF2_FRAME_REG_CFA_OFFSET.
865         * dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add
866         DWARF2_FRAME_REG_CFA_OFFSET.
867
868 2005-11-28  Mark Mitchell  <mark@codesourcery.com>
869
870         * remote-sim.c (gdbsim_wait): Pass target signal numbers to
871         sim_resume.  Expect target signal numbers from sim_stop_reason.
872
873 2005-11-27  Christopher Faylor  <cgf@timesys.com>
874
875         * win32-nat.c (env_sort): New function.
876         (win32_create_inferior): Rename env to in_env.  Sort environment before
877         handing it off to CreateProcess.
878         (win32_current_sos): Quiet a compiler warning.
879
880 2005-11-25  Andrew Stubbs  <andrew.stubbs@st.com>
881
882         * event-top.h (async_init_signals): Add SIGTERM handler.
883         (handle_sigterm): New function.
884         * event-top.h (handle_sigterm): New prototype.
885
886 2005-11-25  Andrew Stubbs  <andrew.stubbs@st.com>
887
888         * cli-decode.c (find_command_name_length): New function.
889         (lookup_cmd_1): Replace loop reading command name with
890         find_command_name_length().
891         (lookup_cmd): Likewise.
892         (lookup_cmd_composition): Likewise.
893
894 2005-11-25 Frederic Riss <frederic.riss@st.com>
895         
896         * dwarf2-frame.c (execute_cfa_program): Don't access past the 
897         allocated dwarf2_frame_state.initial.regs.
898
899 2005-11-25 Frederic Riss <frederic.riss@st.com>
900         
901         * MAINTAINERS (Write After Approval): Add myself to the list.
902
903 2005-11-23  Andrew Stubbs  <andrew.stubbs@st.com>
904
905         * sh-tdep.c (do_fv_register_info, do_dr_register_info): Delete function.
906         (do_bank_register_info, do_bank_register_info): Likewise.
907         (sh_print_pseudo_register, sh_do_fp_register): Likewise.
908         (sh_do_register, sh_print_register, sh_print_registers_info): Likewise.
909         (sh_gdbarch_init): Remove call to set_gdbarch_print_registers_info().
910
911 2005-11-22  Joel Brobecker  <brobecker@adacore.com>
912
913         * top.c (print_gdb_version): Update copyright year.
914
915 2005-11-20  Mark Kettenis  <kettenis@gnu.org>
916
917         * inf-ptrace.c (inf_ptrace_xfer_partial): Use PIOD_WRITE_I instead
918         of PIOD_WRITE_D.
919
920 2005-11-19  Jim Blandy  <jimb@redhat.com>
921
922         * tracepoint.c (memrange_absolute): New enum constant.
923         (struct memrange, memrange_cmp, add_memrange, collect_symbol,
924         stringify_collection_list, encode_actions): Use it instead of '-1'
925         to indicate an fixed-address memory range.
926         (Suggested by Eli Zaretskii.)
927
928         * tracepoint.c (stringify_collection_list): Indicate absolute
929         memory ranges by using "-1" as the memory range's base register
930         number, not "FFFFFFFF".
931
932 2005-11-19  Randolph Chung  <tausq@debian.org>
933
934         * dwarf2loc.c (dwarf2_tracepoint_var_ref): Remove extra add for
935         DW_OP_fbreg.  Handle DW_OP_breg0 through DW_OP_breg31.  Print 
936         DWARF opcode for unsupported case.
937
938 2005-11-19  Randolph Chung  <tausq@debian.org>
939
940         * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Use 
941         HPPA_HPUX_SS_* constants.  Ensure "off" is large enough to hold 
942         64-bit offset.  Set proper signal context offset for 64-bit 
943         programs.  Set pc properly for signal frames.
944
945 2005-11-19  Randolph Chung  <tausq@debian.org>
946
947         * hppa-hpux-tdep.c (hppa_hpux_sigtramp_unwind_sniffer): Rely on the
948         unwind record to determine a signal frame, instead of hardcoding
949         a function name.
950
951 2005-11-19  Randolph Chung  <tausq@debian.org>
952
953         * hppa-tdep.c (skip_prologue_hard_way): Add one more insn pattern 
954         for "std rp,-0x10(sp)".
955         (hppa_frame_cache): Likewise.
956         (hppa_fallback_frame_cache): Likewise.
957
958 2005-11-19  Randolph Chung  <tausq@debian.org>
959
960         * hppa-tdep.c (hppa_frame_cache): Reformat code and enhance 
961         debugging.
962
963 2005-11-18  Jim Blandy  <jimb@redhat.com>
964
965         * tracepoint.c (struct memrange, collect_symbol): Doc fix.
966
967 2005-11-18  Andrew Stubbs  <andrew.stubbs@st.com>
968
969         * mi/mi-main.c (mi_load_progress): Ensure the use of the correct mi
970         uiout for the duration of the function.
971
972 2005-11-18  Nick Roberts  <nickrob@snap.net.nz>
973
974         * mi/gdb-mi.el (gdb-source-file-list): Declare.
975         (gdbmi): Bind new functions.
976         (gdbmi-var-list-children-handler, gdbmi-var-list-children-regexp):
977         Handle string expressions properly.  Move "type" field into regexp.
978         (gdbmi-var-update-regexp, gdbmi-var-update-handler): Handle string
979         expressions properly.  Update speedbar.
980         (gdbmi-breakpoints-buffer, gdb-stack-buffer, gdb-locals-buffer)
981         (gdb-registers-buffer): Use def-gdb-auto-update-trigger instead of
982         def-gdb-auto-updated-buffer as handlers is defined explicitly.
983         (gdb-stack-list-locals-handler): Handle string expressions properly.
984         (gdb-data-list-register-values-handler)
985         (gdb-data-list-register-values-custom): Fontify buffer.
986
987 2005-11-17  Daniel Jacobowitz  <dan@codesourcery.com>
988
989         * version.in: Update to 6.4.50.
990
991 2005-11-16  Andrew Stubbs  <andrew.stubbs@st.com>
992
993         * NEWS (6.4): Mention $argc.
994
995 2005-11-15  Andrew Stubbs  <andrew.stubbs@st.com>
996
997         * NEWS: Add --batch-silent, --return-child-result, and --eval-command
998         options to the 6.4 section.
999
1000 2005-11-15  Andrew Stubbs  <andrew.stubbs@st.com>
1001
1002         * cli/cli-script.c: Include gdb_assert.h.
1003         (locate_arg): Detect $argc.
1004         (insert_args): Substitute $argc.
1005         * Makefile.in (cli-script.o): Add dependency on gdb_assert.h.
1006
1007 2005-11-14  James E Wilson  <wilson@specifix.com>
1008
1009         PR 2024
1010         * dwarf2loc.c (dwarf_expr_frame_base): Use get_frame_address_in_block
1011         instead of get_frame_pc.
1012         (loclist_read_variable): Likewise.
1013
1014 2005-11-14  Andrew Stubbs  <andrew.stubbs@st.com>
1015
1016         * MAINTAINERS (Write After Approval): Add myself to the list.
1017
1018 2005-11-14  Andrew Stubbs  <andrew.stubbs@st.com>
1019
1020         * thread.c (_initialize_thread): Correct the 'thread apply' help
1021         message.
1022
1023 2005-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
1024
1025         * elfread.c (elf_symtab_read): Remove if (1) and reindent.
1026
1027 2005-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
1028
1029         * arm-linux-tdep.c (eabi_linux_arm_le_breakpoint)
1030         (eabi_linux_arm_be_breakpoint): New variables.
1031         (arm_linux_init_abi): Use them.
1032
1033 2005-11-11  Michael Snyder  <msnyder@redhat.com>
1034
1035         * inftarg.c (child_wait): Delete unused local variable.
1036
1037 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
1038
1039         PR tui/1995
1040         * tui/tui-command.c (tui_dispatch_ctrl_char): Handle CTRL-L even if the
1041         focus is on the command window.
1042
1043 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
1044
1045         * tui/tui-win.c (tui_update_gdb_sizes): Use tui_term_width() and
1046         tui_term_height() to restore the terminal size when leaving the
1047         TUI mode.
1048
1049 2005-11-11  Stephane Carrez  <stcarrez@nerim.fr>
1050
1051         * m68hc11-tdep.c (m68hc11_pseudo_register_write): Use gdb_byte
1052         for buffers.
1053         (m68hc11_pseudo_register_read): Likewise.
1054         (m68hc11_return_value): Likewise.
1055         (m68hc11_frame_prev_register): Likewise.
1056         (m68hc11_frame_align): Remove as its seems no longer necessary.
1057         (m68hc11_gdbarch_init): Don't install frame_align handler.
1058         (m68hc11_scan_prologue): Fix crash that occurred when called from
1059         m68hc11_skip_prologue
1060
1061 2005-11-10  Mark Kettenis  <kettenis@gnu.org>
1062
1063         * MAINTAINERS: Mark m68k-elf, sparc-elf and vax-netbsd as no
1064         longer broken.
1065
1066 2005-11-09  Randolph Chung <tausq@debian.org>
1067
1068         * hppa-linux-nat.c (_initialize_hppa_linux_nat): Use
1069         hppa_linux_{store,fetch}_inferior_registers instead of
1070         arm_linux_{store,fetch}_inferior_registers.
1071
1072 2005-11-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
1073
1074         * remote-m32r-sdi.c: Update copyright years.
1075         (m32r_resume): Write DBT at word-aligned addresses.
1076         (m32r_wait): Use SDI_WRITE_MEMORY to remove DBT.
1077
1078 2005-11-08  Kei Sakamoto  <sakamoto.kei@renesas.com>
1079
1080         * m32r-linux-tdep.c (linux_sigtramp_code): Use 'gdb_byte' instead
1081         of 'unsigned char'.
1082         (m32r_linux_sigtramp_start): Likewise.
1083         (linux_rt_sigtramp_code): Likewise.
1084         (m32r_linux_rt_sigtramp_start): Likewise.
1085         (m32r_linux_sigtramp_frame_prev_register): Use 'gdb_byte *' instead
1086         of 'void *'.
1087         * m32r-tdep.c (m32r_memory_insert_breakpoint): Use 'gdb_byte'
1088         instead of 'char'.
1089         (m32r_memory_remove_breakpoint): Likewise.
1090         (m32r_breakpoint_from_pc): Likewise.
1091         (m32r_store_return_value): Likewise.
1092         (decode_prologue): Likewise.
1093         (m32r_push_dummy_call): Likewise.
1094         (m32r_return_value): Use 'gdb_byte *' instead of 'void *'.
1095         * remote-m32r-sdi.c (m32r_xfer_memory): Use 'gdb_byte' instead of
1096         'char'.
1097
1098 2005-11-07  Kevin Buettner  <kevinb@redhat.com>
1099
1100         * ia64-tdep.c (floatformat_valid): Change type of `from' from
1101         `const char *' to `const void *'.
1102
1103 2005-11-07  Kevin Buettner  <kevinb@redhat.com>
1104
1105         * frv-linux-tdep.c (frv_linux_sigtrapm_frame_prev_register): Change
1106         type of `valuep' argument to `gdb_byte *'.
1107         * frv-tdep.c (frv_pseudo_register_write): Change type of `buffer'
1108         argument to `gdb_byte *'.
1109         (frv_extract_return_value): Change type of `valbuf' argument to
1110         `gdb_byte *'.
1111         (frv_store_return_value): Likewise.
1112         (frv_frame_prev_register): Change type of `bufferp' argument to
1113         `gdb_byte *'
1114         * solib-frv.c (ext_Elf32_Half, ext_Elf32_Addr, ext_Elf32_Word)
1115         (ext_ptr): Change base type from `unsigned char' to `gdb_byte'.  Adjust
1116         calls to extract_unsigned_integer which use struct members declared
1117         with these array types to not try to take the address of those
1118         members.
1119         (fetch_loadmap, frv_current_sos): Change cast in target_read_memory()
1120         calls from `char *' to `gdb_byte *'.
1121         (lm_base): Change base type of `buf' from `char' to `gdb_byte'.
1122         (enable_break2): Change type of `buf' from `char *' to `gdb_byte *'.
1123         Change base type of `addr_buf' from `char' to `gdb_byte'.
1124         (find_canonical_descriptor_in_load_object): Change base type of `buf'
1125         from `char' to `gdb_byte'.
1126
1127 2005-11-07  Paul Gilliam  <pgilliam@us.ibm.com
1128
1129         * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Copy code from
1130         ppc_sysv_abi_return_value() to handle a vector return value.
1131
1132 2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>
1133
1134         * main.h (return_child_result, return_child_result_value): Declare.
1135         * infrun.c: Include main.h.
1136         (print_stop_reason): Remove declaration of return_child_result_value.
1137         * top.c: Include main.h.
1138         (quit_force): Remove declarations of return_child_result_value and
1139         return_child_result.
1140         * Makefile.in (top.o, infrun.o): Add main.h to dependencies.
1141
1142 2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>
1143
1144         * Makefile.in (tui-winsource.o): Add gdb_assert.h to dependencies.
1145
1146 2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>
1147
1148         * main.c (captured_main): Define struct cmdarg. Change type of cmdarg.
1149         Add new options --eval-command and alias -ex.
1150         Adjust --command to use the new struct cmdarg.
1151         Execute commands given with --eval-command.
1152         (print_gdb_help): Add new options --eval-command, -ex and mention -x.
1153
1154 2005-11-07  Andrew Stubbs  <andrew.stubbs@st.com>
1155
1156         * main.c (main): Use INTERP_TUI instead of "tui".
1157         Set interpreter to INTERP_INSIGHT when '-w' given.
1158         * interps.h (INTERP_INSIGHT): New define.
1159         * tui/tui-interp.c (_initialize_tui_interp): Use INTERP_TUI instead
1160         of "tui".
1161
1162 2005-11-04  Andrew Stubbs  <andrew.stubbs@st.com>
1163
1164         * infrun.c (print_stop_reason): Set return_child_result_value on exit.
1165         * main.c (return_child_result): New variable.
1166         (return_child_result_value): Likewise.
1167         (captured_main): Add option --return-child-result.
1168         Replace call to target_detach and exit (in batch mode) with quit_force.
1169         (print_gdb_help): Add option --return-child-result.
1170         * top.c (quit_force): Return child result if appropriate.
1171
1172 2005-11-03  Wu Zhou  <woodzltc@cn.ibm.com>
1173
1174         Checked in by Elena Zannoni  <ezannoni@redhat.com>
1175
1176         * dwarf2read.c (read_structure_type): Add IBM XL C++
1177         specific code to set TYPE_VPTR_FIELDNO and TYPE_VPTR_BASETYPE
1178         of a virtual class if a field named "__vfp" is found. 
1179
1180 2005-11-03  Jim Blandy  <jimb@redhat.com>
1181
1182         Checked in by Elena Zannoni  <ezannoni@redhat.com>      
1183
1184         * dwarf2read.c (file_full_name): Cope with file numbers that are
1185         out of range for the given line header.
1186
1187 2005-11-03  Daniel Jacobowitz  <dan@codesourcery.com>
1188
1189         Checked in by Elena Zannoni  <ezannoni@redhat.com>
1190
1191         * elfread.c (elf_symtab_read): Add number_of_symbols and
1192         symbol_table as arguments.  Do not load the symbol table
1193         here.
1194         (elf_symfile_read): Load the static and dynamic symbol tables
1195         here, before calling elf_symtab_read.  Also load any synthetic
1196         symbols and process those.
1197         
1198 2005-11-03 Andrew Cagney  <cagney@gnu.org>
1199
1200         Checked in by Elena Zannoni  <ezannoni@redhat.com>
1201
1202         * dwarf2loc.c (dwarf2_evaluate_loc_desc): Handle DW_OP_piece
1203         reads.
1204
1205 2006-11-03  Daniel Jacobowitz  <dan@codesourcery.com>
1206
1207         * linux-nat.c (linux_nat_resume): Add more debugging messages.  Do
1208         not short-circuit resuming all threads if the signal will be ignored
1209         in linux_nat_wait.
1210
1211 2005-11-02  Andrew Stubbs  <andrew.stubbs@st.com>
1212
1213         * monitor.c (monitor_xfer_memory): Change char to gdb_byte.
1214         (monitor_insert_breakpoint): Likewise.
1215         (monitor_remove_breakpoint): Likewise.
1216         * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
1217         * sh-tdep.c (sh_return_value_nofpu): Change void to gdb_byte.
1218         (sh_return_value_fpu): Likewise.
1219         (sh_pseudo_register_read): Likewise.
1220         (sh_pseudo_register_write): Likewise.
1221         (sh_frame_prev_register): Likewise.
1222         * sh64-tdep.c (sh64_extract_return_value): Change char to gdb_byte.
1223         (sh64_return_value): Change void to gdb_byte.
1224         (sh64_pseudo_register_read): Likewise.
1225         (sh64_pseudo_register_write): Likewise.
1226         (sh64_frame_prev_register): Likewise.
1227
1228 2005-11-01  Joel Brobecker  <brobecker@adacore.com>
1229
1230         * event-top.c (gdb_setup_readline): Add missing type in extern
1231         declaration.
1232
1233 2005-11-01  Paul Gilliam  <pgilliam@us.ibm.com>
1234
1235         * rs6000-tdep.c (rs6000_gdbarch_init): On GNU/Linux, assume that
1236          bfd_mach_ppc64 has altivec unit, just like bfd_mach_ppc.
1237
1238 2005-11-01  Andrew Stubbs  <andrew.stubbs@st.com>
1239
1240         * tui/tui-data.h (tui_line_or_address): Encapsulate the union in a
1241         struct with a tag.
1242         (tui_source_element, tui_source_info): Update.
1243         * tui/tui-disasm.c, tui/tui-source.c: Update to use the tagged union.
1244         * tui/tui-source.h, tui/tui-stack.c, tui/tui-win.c: Likewise.
1245         * tui/tui-winsource.c, tui/tui-data.c, tui/tui-layout.c: Likewise.
1246         * tui/tui-winsource.h: Likewise.
1247
1248 2005-11-01  Christopher Faylor  <cgf@timesys.com>
1249
1250         * win32-nat.c (CYGWIN_SIGNAL_STRING): Delete.
1251         (_CYGWIN_SIGNAL_STRING): Define if not already defined in cygwin.h.
1252         (win32_add_thread): Use XZALLOC rather than xmalloc/memset.
1253         (register_loaded_dll): Ditto.
1254         (handle_load_dll): Call solib_add here.
1255         (handle_unload_dll): Ditto.
1256         (info_dll_command): Delete.
1257         (handle_output_debug_string): Use official _CYGWIN_SIGNAL_STRING.
1258         (win32_current_sos): Duplicate table to pass off to caller rather than
1259         deleting our version.
1260         (set_win32_aliases): New function.
1261         (_initialize_win32_nat): Remove local handling of "info shared".  Set
1262         deprecated_init_ui_hook to allow late setting of "info dll" alias.
1263
1264 2005-11-01  Andrew Stubbs  <andrew.stubbs@st.com>
1265
1266         * event-top.c (gdb_setup_readline): Don't set gdb_stdout when
1267         --batch-silent option was given.
1268         * main.c (batch_silent): New variable.
1269         (captured_main): Add new option --batch-silent.
1270         (print_gdb_help): Likewise.
1271
1272 2005-11-01  Mark Kettenis  <kettenis@gnu.org>
1273
1274         * NEWS: Mention VAX floating point support.
1275
1276 2005-10-31  Christopher Faylor  <cgf@timesys.com>
1277
1278         * win32-nat.c (get_relocated_section_addrs): Reinstate.
1279         (solib_symbols_add): New function.
1280         (lm_info): Remove end_addr field.
1281         (register_loaded_dll): Don't try to find end_addr since gdb will do
1282         this automatically now.  Make so_original_name == so_name for now.
1283         Eliminate strcpy by using so_name directly.  Read in symbols if new
1284         paramater "readsyms" is true.
1285         (handle_load_dll): Pass auto_solib_add to register_loaded_dll to
1286         control when symbols should be read.
1287         (win32_free_so): Don't free objfile here.
1288         (win32_create_inferior_hook): New function.
1289         (handle_unload_dll): Remove left-over cruft.
1290         (win32_special_symbol_handling): New (dummy) function.
1291         (map_single_dll_code_section): Reinstate.
1292         (dll_code_sections_add): Reinstate.
1293         (core_section_load_dll_symbols): Reinstate.  Don't issue an error on
1294         duplicate attempts to read same dll.  Make sure that UNIX-like name is
1295         used to register DLL.
1296         (win32_current_sos): Handle core files.  Reset private list before
1297         passing start of list pointer to gdb.
1298         (init_win32_ops): Fill out (currently unused)
1299         solib_create_inferior_hook.  Fill out special_symbol_handling.
1300         * config/i386/tm-cygwin.h: Remove most special solib stuff.
1301
1302 2005-10-31  Christopher Faylor  <cgf@timesys.com>
1303
1304         * win32-nat.c: Remove comment intended only for debugging.
1305
1306 2005-11-01  Mark Kettenis  <kettenis@gnu.org>
1307
1308         * doublest.c (floatformat_normalize_byteorder): Handle
1309         floatformat_vax.
1310         (convert_doublest_to_floatformat): Use
1311         floatformat_normalize_byteorder to swap bytes if necessary.
1312         * vax-tdep.c: Include floatformat.h.
1313         (vax_gdbarch_init): Set float_format, double_format,
1314         long_double_format and long_double_bit.
1315         * Makefile.in (vax-tdep.o): Update dependencies.
1316
1317 2005-10-31  Christopher Faylor  <cgf@timesys.com>
1318
1319         Change child_ to win32_ throughout.
1320         * win32-nat.c (win32_ops): New variable.
1321         (win32_so_ops): Ditto.
1322         (psapi_get_dll_name): Make function static.
1323         (struct so_stuff): Delete.
1324         (struct lm_info): New struct.
1325         (solib_start, solib_end): Redefine as struct so_list.
1326         (safe_symbol_file_add_stub): Use so_list rather than so_stuff.
1327         (register_loaded_dll): Ditto.  Special-case ntdll.dll.  Fill in lm_info
1328         field of so_list with information previously stored in so_stuff.
1329         (get_image_name): Make function static.
1330         (max_dll_name_len): Make variable static.
1331         (win32_free_so): New function.
1332         (win32_current_sos): Ditto.
1333         (win32_relocate_section_addresses): Ditto.
1334         (handle_unload_dll): Use so_list rather than so_stuff.  Call free_so to
1335         delete shared library.
1336         (solib_address): Delete function.
1337         (child_solib_loaded_library_pathname): Ditto.
1338         (win32_clear_solib): Rename from child_clear_solibs.  Use so_list
1339         rather than so_stuff.  Just clear win32-specific stuff.
1340         (get_relocated_section_addrs): Delete.
1341         (solib_symbols_add): Ditto.
1342         (info_dll_command): Make static.  Use lm_info field from so_list to
1343         retrieve load address.
1344         (fake_create_process): Make function static.
1345         (win32_xfer_memory): Ditto.
1346         (win32_kill_inferior): Ditto.
1347         (win32_resume): Ditto.
1348         (cygwin_pid_to_str): Ditto.
1349         (do_initial_win32_stuff): Use win32_ops rather than
1350         deprecated_child_ops.
1351         (child_detach): Ditto.
1352         (win32_mourn_inferior): Ditto.
1353         (_initialize_win32_nat): Ditto.
1354         (init_win32_ops): Ditto.  Fill out win32_so_ops and set
1355         current_target_so_ops to win32_so_ops.
1356         (core_dll_symbols_add): Delete.
1357         (map_single_dll_code_section): Ditto.
1358         (dll_code_sections_add): Ditto.
1359         (core_section_load_dll_symbols): Ditto.
1360         (child_solib_add): Ditto.
1361
1362 2005-10-31  Andrew Stubbs  <andrew.stubbs@st.com>
1363
1364         * tui/tui-command.c (tui_dispatch_ctrl_char): Test output of
1365         getenv() before using it.
1366
1367 2005-10-29  Mark Kettenis  <kettenis@gnu.org>
1368
1369         * hppa-tdep.h (HPPA_INSN_SIZE): New define.
1370         * hppa-hpux-tdep.c (hppa_hpux_search_pattern)
1371         (hppa64_hpux_search_dummy_call_sequence): Rewrite to avoid
1372         assumption on sizeof(unsigned).
1373
1374         * inf-ttrace.c (inf_ttrace_wait): Comment out TARGET_WAITKIND_EXEC
1375         code; return TARGET_WAITKIND_STOPPED instead.
1376
1377 2005-10-28  Mark Kettenis  <kettenis@gnu.org>
1378
1379         * ppc-tdep.h (PPC_INSN_SIZE): Define.
1380
1381         * inf-ttrace.c (inf_ttrace_mourn_inferior): Remove redundant cast.
1382         (inf_ttrace_kill): Renamed from inf_ttrace_kill_inferior.
1383         (inf_ttrace_target): Resort assignments.
1384
1385 2005-10-28  Nick Roberts  <nickrob@snap.net.nz>
1386
1387         * mi/gdb-mi.el: Sync with Emacs 22.0.50.
1388
1389 2005-10-25  Andreas Schwab  <schwab@suse.de>
1390
1391         * regformats/reg-ia64.dat: Remove NAT registers.
1392
1393 2005-10-20  Mark Kettenis  <kettenis@gnu.org>
1394
1395         * rs6000-tdep.c (info_powerpc_cmdlist): Remove variable.
1396         (rs6000_info_powerpc_command): Remove function.
1397
1398 2005-10-21  Andreas Schwab  <schwab@suse.de>
1399
1400         * dwarf2read.c (isreg): Removed.
1401         (decode_locdesc): Don't set it.
1402
1403 2005-10-20  Joel Brobecker  <brobecker@adacore.com>
1404
1405         * Makefile.in (YYFILES): Add ada-lex.c
1406
1407 2005-10-17  Jim Blandy  <jimb@redhat.com>
1408
1409         * dwarf2expr.c (dwarf_expr_fetch): Use correct comparison to
1410         detect stack underflow.
1411
1412 2005-10-14  Paul Gilliam  <pgilliam@us.ibm.com>
1413
1414         * rs6000-tdep.c (rs6000_register_reggroup_p): Add vscr to test for
1415         vector registers.
1416
1417 2005-10-13  Andreas Schwab  <schwab@suse.de>
1418
1419         * Makefile.in (linux-thread-db.o): Depend on $(gdbcore_h).
1420
1421         * linux-thread-db.c (enable_thread_event): Extend pointer value as
1422         specified by target.
1423         (thread_db_get_thread_local_address): Likewise.
1424
1425 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
1426
1427         * i386-tdep.c (i386_reg_struct_return_p): Allow array types as well.
1428         (i386_return_value): Add handling for functions that return array
1429         types.
1430
1431 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
1432
1433         * ada-valprint.c (print_optional_low_bound): Handle properly
1434         cases where the array index type is a TYPE_CODE_RANGE.
1435
1436 2005-10-09  Joel Brobecker  <brobecker@adacore.com>
1437
1438         * valprint.c (val_print_array_elements): Check array size before
1439         computing its low bound. If zero, then use a default bound of zero.
1440
1441 2005-10-06  Alan Modra  <amodra@bigpond.net.au>
1442
1443         PR 1659
1444         * rs6000-tdep.c (rs6000_push_dummy_call): Correct size of
1445         backchain write.
1446         (rs6000_convert_from_func_ptr_addr): Correct comment.
1447
1448 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
1449
1450         * MAINTAINERS: Add section for release management.
1451
1452 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
1453
1454         * NEWS: Add entry for new "set print array-indexes" command.
1455
1456 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
1457
1458         * language.h (language_defn): New field la_print_array_index.
1459         (LA_PRINT_ARRAY_INDEX): New macro.
1460         (default_print_array_index): Add declaration.
1461         * language.c (default_print_array_index): new function.
1462         (unknown_language): Add value for new field.
1463         (auto_language): Likewise.
1464         (local_language): Likewise.
1465         * ada-lang.c (ada_print_array_index): New function.
1466         (ada_language_defn): Add value for new field.
1467         * c-lang.c (c_language_defn): Likewise.
1468         (cpluc_language_defn): Likewise.
1469         (asm_language_defn): Likewise.
1470         (minimal_language_defn): Likewise.
1471         * f-lang.c (f_language_defn): Likewise.
1472         * jv-lang.c (java_language_defn): Likewise.
1473         * m2-lang.c (m2_language_defn): Likewise.
1474         * objc-lang.c (objc_language_defn): Likewise.
1475         * p-lang.c (pascal_language_defn): Likewise.
1476         * scm-lang.c (scm_language_defn): Likewise.
1477         * valprint.h (print_array_indexes_p): Add declaration.
1478         (get_array_low_bound): Add declaration.
1479         (maybe_print_array_index): Add declaration.
1480         * valprint.c (print_array_indexes): New static variable.
1481         (show_print_array_indexes): New function.
1482         (print_array_indexes_p): New function.
1483         (get_array_low_bound): New function.
1484         (maybe_print_array_index): New function.
1485         (val_print_array_elements): Print the index of each element if
1486         requested by the user.
1487         (_initialize_valprint): Add new array-indexes "set/show print" command.
1488         * ada-valprint.c (print_optional_low_bound): Replace extracted code
1489         by call to ada_get_array_low_bound_and_type(). Stop printing the low
1490         bound if indexes will be printed for all elements of the array.
1491         (val_print_packed_array_elements): Print the index of each element
1492         of the array if necessary.
1493
1494 2005-10-03  Joel Brobecker  <brobecker@adacore.com>
1495
1496         * hppa-tdep.c (read_unwind_info): Fix typo in comment.
1497
1498 2005-10-02  Daniel Jacobowitz  <dan@codesourcery.com>
1499
1500         * gdb_gcore.sh: Use a temporary file.  Use gdb from $PATH.
1501
1502 2005-09-29  Andreas Schwab  <schwab@suse.de>
1503
1504         PR threads/2015
1505         * infrun.c (adjust_pc_after_break): Don't use the state from a
1506         non-matching thread context.
1507
1508 2005-09-29  Daniel Jacobowitz  <dan@codesourcery.com>
1509
1510         * rs6000-tdep.c (rs6000_frame_cache): Handle misdetected frameless
1511         functions.
1512
1513 2005-09-29  Nick Roberts  <nickrob@snap.net.nz>
1514
1515         * annotate.c (breakpoints_changed, annotate_frames_invalid)
1516         (_initialize_annotate): Print breakpoints-invalid and
1517         frames-invalid for level 2 annotations only.
1518
1519 2005-09-28  Daniel Jacobowitz  <dan@codesourcery.com>
1520
1521         * infrun.c (init_execution_control_state): Initialize
1522         ecs->another_trap.
1523
1524 2005-09-28  Nick Roberts  <nickrob@snap.net.nz>
1525
1526         * Makefile.in (TAGS): Put DEPFILES back and add as a dependency.
1527
1528 2005-09-26  Nick Roberts  <nickrob@snap.net.nz>
1529
1530         * Makefile.in (HFILES_NO_SRCDIR): Remove minimon.h, symfile-mem.h.
1531         (ALLDEPFILES) Correct typo amdfbsd-nat.c -> amd64fbsd-nat.c.
1532         Remove irix4-nat.c, m3-nat.c, mipsm3-nat.c, ns32k-tdep.c
1533         symm-tdep.c and symm-nat.c.
1534         (TAGFILES_NO_SRCDIR): Add CONFIG_SRCS.
1535         (DEPFILES): Remove CONFIG_OBS and include it explicitly where
1536         needed.
1537
1538 2005-09-26  Jan Beulich  <jbeulich@novell.com>
1539
1540         * MAINTAINERS (Write After Approval): Add myself.
1541
1542 2005-09-26  Jan Beulich  <jbeulich@novell.com>
1543
1544         * amd64-tdep.h (AMD64_FCTRL_REGNUM, AMD64_FSTAT_REGNUM,
1545         AMD64_MXCSR_REGNUM): New.
1546         * amd64-tdep.c (amd64_dwarf_regmap): Add eflags, selector regs,
1547         mxcsr, fp control and status words.
1548         * i386-tdep.c (): Add selector regs, mxcsr, fp control and status
1549         words.
1550
1551 2005-09-26  Paul Brook  <paul@codesourcery.com>
1552
1553         * arm-tdep.c (arm_type_align): New function.
1554         (arm_push_dummy_call): Use it.  Ensure proper argument alignment.
1555         (arm_extract_struct_value_address): Remove.
1556         (arm_use_struct_convention): Rename...
1557         (arm_return_in_memory): ... To this.  Return nonzero for all small
1558         aggregates under the EABI.
1559         (arm_return_value): New function.
1560         (arm_gdbarch_init): Default for VFP float model for EABI binaries.
1561         Use set_gdbarch_return_value instead of obsolete functions.
1562
1563 2005-09-21  Mark Kettenis  <kettenis@gnu.org>
1564
1565         * mips-tdep.c (n32n64_floatformat_always_valid): Use 'const void
1566         *' for second argument instead of 'const char *'.
1567
1568 2005-09-20  Paul Gilliam  <pgilliam@us.ibm.com>
1569
1570         * gdb.arch/altivec-abi.exp: Elide the 'in' from what's expected
1571          after a 'finish' command.
1572
1573 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
1574
1575         * c-exp.y (parse-number): Modify the float parsing logic to let it 
1576         recognize a suffix.
1577
1578 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
1579
1580         * expression.h (enum exp_opcode): Fix a format error of a comment.
1581  
1582 2005-09-20  Wu Zhou  <woodzltc@cn.ibm.com>
1583
1584         * expression.h (enum exp_opcode): Add a new operator for F90
1585         subrange.
1586         * f-lang.h (enum f90_range_type): New enumeration type to identify
1587         F90 subrange type.
1588         * f-exp.y (yyparse): Add support for parsing F90 subrange and
1589         change substring parsing to subrange parsing.
1590         * parse.c (operator_length_standard): Set the operator length
1591         and args number for OP_F90_RANGE.
1592         * eval.c (evaluate_subexp_standard): Add code to evaluate F90
1593         array section and substring.
1594         (value_f90_subarray): New function to evaluate F90 array section.
1595         (evaluate_subexp_standard): Delete label op_f77_substr and its code
1596         because the logic is implemented by function value_f90_subarray now.
1597
1598 2005-09-19  Paul Gilliam  <pgilliam@us.ibm.com>
1599
1600         * rs6000-tdep.c (_initialize_rs6000_tdep): Get rid of the unused
1601         'info powerpc' command prefix.
1602
1603 2005-09-11  Ulrich Weigand  <uweigand@de.ibm.com>
1604
1605         * config/s390/nm-linux.h (KERNEL_U_SIZE): Remove.
1606         (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Likewise.
1607         (s390_stopped_by_watchpoint, s390_insert_watchpoint,
1608         s390_remove_watchpoint, TARGET_CAN_USE_HARDWARE_WATCHPOINT,
1609         TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT,
1610         STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
1611         target_remove_watchpoint): Likewise.
1612         * s390-nat.c: Remove include of <sys/user.h>.
1613         (kernel_u_size): Remove.
1614         (s390_stopped_by_watchpoint): Make static.
1615         (s390_insert_watchpoint, s390_remove_watchpoint): Likewise.
1616         (s390_can_use_hw_breakpoint): New function.
1617         (s390_region_size_ok_for_hw_watchpoint): Likewise.
1618         (_initialize_s390_nat): Add watchpoint methods to target.
1619
1620 2005-09-10  Daniel Jacobowitz  <dan@codesourcery.com>
1621             Ulrich Weigand  <uweigand@de.ibm.com>
1622
1623         * Makefile.in (ALLDEPFILES): Update.
1624         (alpha-linux-nat.o, sparc-linux-nat.o): New rules.
1625         (amd64-linux-nat.o, arm-linux-nat.o, hppa-linux-nat.o)
1626         (i386-linux-nat.o, ia64-linux-nat.o, linux-nat.o, m32r-linux-nat.o)
1627         (m68klinux-nat.o, mips-linux-nat.o, ppc-linux-nat.o, s390-nat.o)
1628         (sparc64-linux-nat.o): Update dependencies.
1629         * alpha-linux-nat.c, sparc-linux-nat.c: New files.
1630         * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Renamed
1631         from fetch_inferior_registers and made static.
1632         (amd64_linux_store_inferior_registers): Renamed from
1633         store_inferior_registers and made static.
1634         (amd64_linux_child_post_start_inferior): Renamed from
1635         child_post_startup_inferior and made static.  Call
1636         super_post_startup_inferior.
1637         (super_post_startup_inferior): New.
1638         (_initialize_amd64_linux_nat): Set it.  Call linux_target and
1639         add_target.
1640         * arm-linux-nat.c (arm_linux_fetch_inferior_registers): Renamed
1641         from fetch_inferior_registers and made static.
1642         (arm_linux_store_inferior_registers): Renamed from
1643         store_inferior_registers and made static.
1644         (_initialize_arm_linux_nat): Add a prototype.  Use linux_target and
1645         add_target.
1646         * hppa-linux-nat.c (hppa_linux_fetch_inferior_registers): Renamed
1647         from fetch_inferior_registers and made static.
1648         (hppa_linux_store_inferior_registers): Renamed from
1649         store_inferior_registers and made static.
1650         (_initialize_hppa_linux_nat): New function.
1651         * i386-linux-nat.c (i386_linux_fetch_inferior_registers): Renamed
1652         from fetch_inferior_registers and made static.
1653         (i386_linux_store_inferior_registers): Renamed from
1654         store_inferior_registers and made static.
1655         (i386_linux_resume): Renamed from child_resume and made static.
1656         (i386_linux_child_post_start_inferior): Renamed from
1657         child_post_startup_inferior and made static.  Call
1658         super_post_startup_inferior.
1659         (super_post_startup_inferior): New.
1660         (_initialize_i386_linux_nat): New function.
1661         * i386-nat.c: Remove LINUX_CHILD_POST_STARTUP_INFERIOR #ifndef.
1662         * ia64-linux-nat.c (ia64_linux_xfer_unwind_table): Remove.
1663         (super_xfer_partial): New.
1664         (ia64_linux_xfer_partial): New function.  Use it.
1665         (_initialize_ia64_linux_nat): New function.
1666         * ia64-tdep.c (getunwind_table): Revert 2005-06-08 change; use
1667         target_read_partial and document the problem.
1668         * inf-ptrace.c (inf_ptrace_fetch_register): Use
1669         CANNOT_FETCH_REGISTER.  Fix some comments.
1670         (inf_ptrace_store_register): Use CANNOT_STORE_REGISTER.  Fix some
1671         comments.
1672         * linux-nat.c: Include "inf-ptrace.h" and "auxv.h".
1673         (linux_ops, super_xfer_partial): New variables.
1674         (linux_child_post_startup_inferior): Make static.
1675         (child_post_startup_inferior): Delete.
1676         (linux_nat_attach, linux_nat_detach, resume_callback)
1677         (linux_nat_resume, linux_nat_wait, linux_nat_create_inferior)
1678         (linux_nat_mourn_inferior): Use linux_ops instead of
1679         deprecated_child_ops.
1680         (child_wait): Do not depend on CHILD_WAIT.
1681         (linux_nat_xfer_memory): Remove, replace by ...
1682         (linux_nat_xfer_partial): ... this.  Use linux_ops->to_xfer_partial
1683         instead of linux_proc_xfer_memory and child_xfer_memory.
1684         (linux_nat_fetch_registers, linux_nat_store_registers)
1685         (linux_nat_child_post_startup_inferior): New functions.
1686         (init_linux_nat_ops): Use the new functions.
1687         (linux_proc_xfer_memory): Remove, replace by ...
1688         (linux_proc_xfer_partial): ... this.  Make static.
1689         (linux_xfer_partial, linux_register_u_offset, linux_target): New
1690         functions.
1691         (_initialize_linux_nat): Do not modify deprecated_child_ops.
1692         * linux-nat.h (linux_proc_xfer_memory): Remove prototype.
1693         (struct mem_attrib, struct target_ops): Remove forward declarations.
1694         (linux_child_post_startup_inferior): Remove prototype.
1695         (linux_target): Add prototype.
1696         * linux-thread-db.c (thread_db_xfer_memory): Remove, replace by ...
1697         (thread_db_xfer_partial): ... this.
1698         (init_thread_db_ops): Set to_xfer_partial instead of
1699         deprecated_xfer_memory.
1700         * m32r-linux-nat.c (m32r_linux_fetch_inferior_registers): Renamed
1701         from fetch_inferior_registers and made static.
1702         (m32r_linux_store_inferior_registers): Renamed from
1703         store_inferior_registers and made static.
1704         (_initialize_m32r_linux_nat): New function.
1705         * m68klinux-nat.c (m68k_linux_fetch_inferior_registers): Renamed
1706         from fetch_inferior_registers and made static.
1707         (m68k_linux_store_inferior_registers): Renamed from
1708         store_inferior_registers and made static.
1709         (old_fetch_inferior_registers, old_store_inferior_registers): Made
1710         static.
1711         (_initialize_m68k_linux_nat): Use linux_target and add_target.
1712         * mips-linux-nat.c (_initialize_mips_linux_nat): New function.
1713         * ppc-linux-nat.c (ppc_linux_fetch_inferior_registers): Renamed
1714         from fetch_inferior_registers and made static.
1715         (ppc_linux_store_inferior_registers): Renamed from
1716         store_inferior_registers and made static.
1717         (_initialize_ppc_linux_nat): New function.
1718         * s390-nat.c (s390_linux_fetch_inferior_registers): Renamed
1719         from fetch_inferior_registers and made static.
1720         (s390_linux_store_inferior_registers): Renamed from
1721         store_inferior_registers and made static.
1722         (_initialize_s390_nat): New function.
1723         * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Use
1724         linux_target and add_target.
1725         * config/nm-linux.h: Don't include "auxv.h".
1726         (struct target_waitstatus, child_wait, CHILD_WAIT)
1727         (CHILD_PID_TO_EXEC_FILE, CHILD_INSERT_FORK_CATCHPOINT)
1728         (CHILD_INSERT_VFORK_CATCHPOINT, CHILD_INSERT_EXEC_CATCHPOINT)
1729         (CHILD_POST_STARTUP_INFERIOR, CHILD_POST_ATTACH, CHILD_FOLLOW_FORK)
1730         (DEPRECATED_KILL_INFERIOR, NATIVE_XFER_AUXV): Delete.
1731         * config/alpha/alpha-linux.mh (NATDEPFILES): Replace infptrace.o
1732         and inftarg.o with inf-ptrace.o and alpha-linux-nat.o.
1733         * config/sparc/linux.mh (NATDEPFILES): Replace infptrace.o and
1734         inftarg.o with sparc-linux-nat.o.
1735         * config/sparc/linux64.mh (NATDEPFILES): Remove infptrace.o and
1736         inftarg.o.
1737         * config/arm/linux.mh (NATDEPFILES): Replace infptrace.o and
1738         inftarg.o with inf-ptrace.o.
1739         * config/i386/linux.mh (NATDEPFILES): Likewise.
1740         * config/i386/linux64.mh (NATDEPFILES): Likewise.
1741         * config/ia64/linux.mh (NATDEPFILES): Likewise.
1742         * config/m32r/linux.mh (NATDEPFILES): Likewise.
1743         * config/m68k/linux.mh (NATDEPFILES): Likewise.
1744         * config/mips/linux.mh (NATDEPFILES): Likewise.
1745         * config/pa/linux.mh (NATDEPFILES): Likewise.
1746         * config/powerpc/linux.mh (NATDEPFILES): Likewise.
1747         * config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
1748         * config/s390/s390.mh (NATDEPFILES): Likewise.
1749         * config/i386/nm-linux.h (DEPRECATED_CHILD_RESUME): Don't define.
1750         (LINUX_CHILD_POST_STARTUP_INFERIOR): Don't define.
1751         * config/i386/nm-linux64.h (LINUX_CHILD_POST_STARTUP_INFERIOR):
1752         Don't define.
1753         * config/ia64/nm-linux.h: Don't include "target.h".
1754         (NATIVE_XFER_UNWIND_TABLE, ia64_linux_xfer_unwind_table): Remove.
1755         * config/djgpp/fnchange.lst: Add alpha-linux-tdep.c,
1756         alpha-linux-nat.c, sparc-linux-tdep.c, and sparc-linux-nat.c.
1757
1758 2005-09-08  Kevin Buettner  <kevinb@redhat.com>
1759
1760         From Kevin Buettner, Andrew Cagney, Jackie Smith Cashion, and
1761         Alexandre Oliva:
1762         * mn10300-tdep.c (am33_2_register_name): New function.
1763         (my_frame_is_in_sp, my_frame_is_in_fp, my_frame_is_last)
1764         (set_my_stack_size): Delete.
1765         (set_movm_offsets, set_reg_offsets): Rename the former to the
1766         latter.  Update for handling am33.
1767         (mn10300_analyze_prologue): Update for handling am33.  Also, make
1768         minor improvements in quality of prologue analysis.
1769         (mn10300_gdbarch_init):  Add am33 support.
1770         * mn10300-tdep.h (E_NUM_REGS): Delete.
1771
1772 2005-09-06  Kevin Buettner  <kevinb@redhat.com>
1773
1774         * mn10300-linux-tdep.c (mn10300_linux_svr4_fetch_link_map_offsets):
1775         Delete.
1776         (am33_linux_init_osabi): Register svr4_ilp32_fetch_link_map_offsets
1777         instead.
1778
1779 2005-09-06  Kevin Buettner  <kevinb@redhat.com>
1780
1781         * mn10300-linux-tdep.c (solib-svr4.h): Include.
1782         (mn10300_linux_svr4_fetch_link_map_offsets): New function.
1783         (am33_linux_init_osabi): Register it.
1784         * Makefile.in (mn10300-linux-tdep.o): Update dependencies.
1785
1786 2005-09-06  Kevin Buettner  <kevinb@redhat.com>
1787
1788         * mn10300-tdep.c (mn10300_analyze_prologue): Delete code disabled
1789         via "#if 0".
1790
1791 2005-09-06  Kevin Buettner  <kevinb@redhat.com>
1792
1793         * mn10300-tdep.c (mn10300_analyze_prologue): Use
1794         safe_frame_unwind_memory() in place of deprecated_read_memory_nobpt().
1795
1796 2005-09-04  Daniel Jacobowitz  <dan@codesourcery.com>
1797
1798         * inf-child.c (inf_child_follow_fork): Add OPS argument.
1799         * inf-ptrace.c (inf_ptrace_follow_fork): Likewise.
1800         * inf-ttrace.c (inf_ttrace_follow_fork): Likewise.
1801         * inftarg.c (child_follow_fork): Likewise.
1802         * linux-nat.c (child_follow_fork): Likewise.  Use ops instead of
1803         &deprecated_child_ops.
1804         * target.c (update_current_target): Do not inherit to_follow_fork.
1805         (target_follow_fork): New function.
1806         (debug_to_follow_fork): Remove.
1807         (setup_target_debug): Don't set to_follow_fork.
1808         * target.h (struct target_ops): Add struct target_ops * to
1809         to_follow_fork.
1810         (child_follow_fork): Add struct target_ops * argument.
1811         (target_follow_fork): Replace macro with prototype.
1812
1813 2005-09-02  Kevin Buettner  <kevinb@redhat.com>
1814
1815         * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Use ARRAY_SIZE.
1816         Change internal error to warning.  Add i18n markup to warning
1817         string.
1818         
1819 2005-09-02  Kevin Buettner  <kevinb@redhat.com>
1820
1821         * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
1822         (mn10300_gdbarch_init): Register mn10300_dwarf2_reg_to_regnum().
1823
1824 2005-09-02  Kevin Buettner  <kevinb@redhat.com>
1825
1826         * mn10300-tdep.c (is_my_frame_in_sp, is_my_frame_in_fp)
1827         (is_my_frame_last): Delete these unused functions.
1828
1829 2005-09-02  Kevin Buettner  <kevinb@redhat.com>
1830
1831         * mn10300-tdep.c (mn10300_frame_prev_register): Change type of
1832         ``bufferp'' from ``void *'' to ``gdb_byte *''.
1833
1834 2005-09-02  Kevin Buettner  <kevinb@redhat.com>
1835
1836         * mn10300-tdep.c (mn10300_use_struct_convention): Delete parameter
1837         ``gcc_p''.  Adjust all callers.
1838         (mn10300_store_return_value, mn10300_extract_return_value): Add new
1839         parameter ``gdbarch''.
1840         (mn10300_return_value): New function.
1841         (mn10300_gdbarch_init): Delete old-style return value code calls.
1842         Add call to set_gdbarch_return_value().
1843
1844 2005-09-02  Kevin Buettner  <kevinb@redhat.com>
1845         
1846         * mn10300-tdep.c (regcache.h): Delete duplicate include.
1847         * Makefile.in (mn10300-tdep.o): Update dependencies.
1848
1849 2005-09-02  Kevin Buettner  <kevinb@redhat.com>
1850
1851         * mn10300-tdep.c (osabi.h): Include.
1852         (mn10300_gdbarch_init): Invoke gdbarch_init_osabi().
1853         * Makefile.in (mn10300-tdep.o): Update dependencies.
1854
1855 2005-09-02  Michael Snyder  <msnyder@redhat.com>
1856             Kevin Buettner  <kevinb@redhat.com>
1857
1858         * mn10300-linux-tdep.c: New file.
1859         * Makefile.in (mn10300-linux-tdep.o): New Makefile target.
1860         * config/mn10300/linux.mt (TDEPFILES): Add mn10300-linux-tdep.o and
1861         corelow.o.
1862         * mn10300-tdep.h (E_E8_REGNUM, E_E9_REGNUM, E_E10_REGNUM)
1863         (E_FPCR_REGNUM, E_FS0_REGNUM): New constants.
1864
1865 2005-09-02  Mark Kettenis  <kettenis@gnu.org>
1866
1867         * infcall.c (call_function_by_hand): Remove code handling
1868         deprecated_push_arguments.  Bail out early if push_dummy_call
1869         isn't available.
1870         * gdbarch.sh (deprecated_push_arguments): Delete.  Adjust a few
1871         comments accordingly.
1872         * gdbarch.h, gdbarch.c: Regenerate.
1873
1874 2005-09-01  Paul Gilliam  <pgilliam@us.ibm.com>
1875
1876         * ppc-tdep.h (struct gdbarch_tdep): Better explanation of using
1877         -1 for nonexistant registers.
1878         * rs6000-tdep.c (rs6000_register_reggroup_p): Don't assume that
1879         tdep->ppc_vr0_regnum and tdep->ppc_ev0_regnum are not -1.
1880
1881 2005-09-01  Richard Earnshaw  <richard.earnshaw@arm.com>
1882
1883         * arm-linux-tdep.c (arm_linux_push_arguments): Delete.
1884         (arm_linux_init_abi): Don't register it.
1885
1886 2005-08-31  Mark Kettenis  <kettenis@gnu.org>
1887
1888         * symfile.c (symbol_file_command, set_initial_language)
1889         (symfile_bfd_open, get_section_index, add_symtab_fns)
1890         (find_sym_fns): Reformat code and comments.  Tweak comments.
1891
1892         * m68k-tdep.c (m68k_register_name): Use ARRAY_SIZE.
1893
1894 2005-08-31  Jim Wilson  <wilson@specifix.com>
1895
1896         * i386fbsd-tdep.c (i386fbsd_sc_reg_offset): Make it non-static.
1897
1898 2005-08-29  Mark Kettenis  <kettenis@gnu.org>
1899
1900         * environ.c (unset_in_environ): Use strncmp instead of
1901         DEPRECATED_STREQN.
1902         * exec.c (exec_file_attach): Remove DEPRECATED_HPUX_TEXT_END.
1903         * language.c (set_case_command, language_enum): Use strcmp instead
1904         of DEPRECATED_STREQ.
1905         * source.c (select_source_symtab): Sprinkle a few consts.  Use
1906         strcmp instead of DEPRECATED_STREQ.
1907
1908         * solib-svr4.c (svr4_current_sos, svr4_fetch_objfile_link_map):
1909         Use XZALLOC and xzalloc instead of xmalloc where appropriate.
1910
1911 2005-08-27  Eli Zaretskii  <eliz@gnu.org>
1912
1913         * main.c (print_gdb_help): Don't advertise the (long non-existent)
1914         option --mapped.
1915
1916 2005-08-21  Mark Kettenis  <kettenis@gnu.org>
1917
1918         * doublest.c (floatformat_mantissa): Use xsnprintf instead of
1919         sprintf.
1920
1921         * vaxobsd-tdep.c: New file.
1922         * config/vax/obsd.mt (TDEPFILES): Add vaxobsd-tdep.o.
1923         * Makefile.in (vaxobsd-tdep.o): New dependency.
1924
1925         * ppcobsd-tdep.c: Include "frame.h" and "frame-unwind.h".  Don't
1926         include "tramp-frame.h".
1927         (ppcobsd_sigtramp_cache_init): Remove function.
1928         (ppcobsd_sigtramp): Remove variable.
1929         (ppcobsd_page_size, ppcobsd_sigreturn_offset): New variables.
1930         (ppcobsd_sigtramp_p): New function.
1931         (ppcobsd_sigtramp_frame_cache, ppcobsd_sigtramp_frame_this_id)
1932         (ppcobsd_sigtramp_frame_prev_register): New functions.
1933         (ppcobsd_sigtramp_frame_unwind): New variable.
1934         (ppcobsd_sigtramp_frame_sniffer): New function.
1935         (ppcobsd_init_abi): Adjust to register new sigtramp sniffer
1936         instead of the old one.
1937         * Makefile.in (ppcobsd-tdep.o): Update dependencies.
1938
1939         * infcall.c (call_function_by_hand): For
1940         RETURN_VALUE_ABI_RETURNS_ADDRESS and
1941         RETURN_VALUE_ABI_PRESERVES_ADDRESS, use gdbarch_return_value to
1942         get return value.
1943
1944         * valarith.c (value_equal, value_less): Avoid compiler bug on
1945         systems where `long double' values are returned in static storage.
1946
1947 2005-08-18  Mark Kettenis  <kettenis@gnu.org>
1948
1949         * stack.c: Reformat.  Improve comments.  Include "valprint.h".
1950         (args_info, locals_info, backtrace_command, backtrace_command_1)
1951         (backtrace_full_command, frame_info, frame_command, down_command)
1952         (down_silently_base, down_silently_command, up_command)
1953         (up_silently_base, up_silently_command, parse_frame_specification)
1954         (current_frame_command, print_frame_args_vars, catch_info)
1955         (args_plus_locals_info), print_frame_label_vars)
1956         (print_block_frame_labels, print_block_frame_locals)
1957         (func_command): Remove prototypes.
1958         (print_stack_frame, backtrace_command_stub, backtrace_command,
1959         backtrace_full_command, print_frame_args, print_frame_arg_vars,
1960         print_args_stub, func_command): Remove redundant casts.
1961         (addressprint): Remove extern declaration.
1962         (frame_command): Make static.
1963         (struct print_stack_frame_args, struct print_args_args): Rename
1964         `fi' member to `frame'.
1965         (print_stack_frame, print_frame_nameless_args, print_frame_args)
1966         (set_current_sal_from_frame, print_frame_info, print_frame)
1967         (show_stack_frame, print_block_frame_locals)
1968         (print_frame_local_vars, print_frame_label_vars)
1969         (print_frame_arg_vars, select_and_print_frame): Rename `fi'
1970         argument to `frame'.
1971         (func_command): Rename `fp' variable to `frame'.
1972         (get_language): Restructure.
1973         * Makefile.in (stack.o): Update dependencies.
1974
1975 2005-08-17  Kevin Buettner  <kevinb@redhat.com>
1976
1977         * NEWS (ms1-elf): New target.
1978
1979 2005-08-17  Mark Kettenis  <kettenis@gnu.org>
1980
1981         * m68k-tdep.c (m68k_return_value): Properly return contents of
1982         structures passed in memory.
1983
1984         * infcmd.c (print_return_value): Move CHECK_TYPEDEF up.  Deal with
1985         RETURN_VALUE_ABI_PRESERVED_ADDRESS.
1986
1987         * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Fix the code that
1988         deals with the broken GCC convention.
1989         
1990 2005-08-16  Mark Kettenis  <kettenis@gnu.org>
1991
1992         * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Set condition
1993         register appropriately for varargs functions.
1994
1995 2005-08-15  Kevin Buettner  <kevinb@redhat.com>
1996
1997         * MAINTAINERS (ms1): New target ISA entry.  List myself as
1998         maintainer.
1999
2000 2005-08-15  Michael Snyder  <msnyder@redhat.com>
2001             Kevin Buettner  <kevinb@redhat.com>
2002
2003         * Makefile.in (ms1-tdep.o): Add dependencies.
2004         * configure.tgt: Add ms1-*-* target.
2005         * ms1-tdep.c: New file.
2006         * config/ms1/ms1.mt: New file.
2007
2008 2005-08-15  Mark Kettenis  <kettenis@gnu.org>
2009
2010         * Makefile.in (m68kbsd-tdep.o): Ad missing space.
2011
2012 2005-08-15  Ulrich Weigand  <uweigand@de.ibm.com>
2013
2014         * s390-tdep.c (op1_lgfi, op2_lgfi, op1_agfi, op2_agfi,
2015         op1_afi, op2_afi, op1_algfi, op2_algfi, op1_alfi, op2_alfi,
2016         op1_slgfi, op2_slgfi, op1_slfi, op2_slfi): New opcode enums.
2017         (s390_analyze_prologue): Recognize new z9-109 instructions.
2018
2019 2005-08-14  Mark Kettenis  <kettenis@gnu.org>
2020
2021         * solib-som.c (som_current_sos): Cast to 'gdb_byte *' where
2022         appropriate.
2023
2024         * inf-ptrace.c (inf_ptrace_him) [PT_GET_PROCESS_STATE]: Move
2025         code...
2026         (inf_ptrace_post_startup_inferior): ...here.  New function.
2027         (inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Move code...
2028         (inf_ptrace_post_attach): ...here.
2029         (inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set
2030         to_post_startup_inferior and to_post_attch.
2031
2032         * sparc-tdep.c (sparc_breakpoint_from_pc): Constify break_insn.
2033
2034         * sparc-sol2-tdep.c (sparc_sol2_pc_in_sigtramp): Check for
2035         "__sighndlr".
2036
2037 2005-08-13  Mark Kettenis  <kettenis@gnu.org>
2038
2039         * i386-linux-nat.c (fetch_register, store_register) 
2040         (supply_gregset, fill_gregset): Remove redundant casts.
2041
2042 2005-08-12  Kris Warkentin  <kewarken@qnx.com>
2043
2044         * i386-nto-tdep.c (i386nto_init_abi): Don't set gdbarch skip
2045         trampoline code hook.
2046         * nto-procfs.c (procfs_post_attach): Call solib_create_inferior_hook
2047         instead of  SOLIB_CREATE_INFERIOR_HOOK.
2048         (procfs_create_inferior): Ditto.
2049         * config/tm-nto.h: Don't define SKIP_TRAMPOLINE_CODE.
2050
2051 2005-08-11  Andreas Schwab  <schwab@suse.de>
2052
2053         PR exp/1978
2054         * valarith.c (value_binop): Fix result type for the shift
2055         operators.
2056
2057 2005-08-09  Mark Kettenis  <kettenis@gnu.org>
2058
2059         * sparc64obsd-tdep.c: Tweak comments.
2060         (sparc64obsd_sigreturn_offset): Add offset for new OpenBSD 3.8
2061         signal trampoline.
2062
2063 2005-08-09  Andrew Cagney  <cagney@gnu.org>
2064
2065         * linux-nat.h (linux_proc_xfer_memory): Change type of "myaddr" a
2066         "gdb_byte" pointer.
2067         * linux-nat.c (linux_proc_xfer_memory): Update.
2068         (get_signo): Cast signo to a "gdb_byte" pointer.
2069         * i386-linux-nat.c (child_resume): Make "buf" a gdb_byte, delete
2070         redundant casts.
2071         (child_resume): Cast eflags to a "gdb_byte" pointer.
2072
2073 2005-08-08  Mark Kettenis  <kettenis@gnu.org>
2074
2075         * tramp-frame.h (struct tramp_frame): Allow for 16 instructions
2076         instead of 8.
2077         * m68kbsd-tdep.c: Include "frame.h", "trad-frame.h" and
2078         "tramp-frame.h".
2079         (m68kobsd_sigtramp_cache_init): New function.
2080         (m68kbsd_aout_init_abi): Prepend m68kobsd_sigtramp unwinder.
2081
2082 2005-08-02  Fred Fish  <fnf@specifix.com>
2083
2084         * defs.h (parse_frame_specification): Remove prototype.
2085         * stack.c (parse_frame_specification): Add prototype and
2086         make function static.
2087         (frame_info): Move common code outside if..then..else.
2088
2089 2005-08-01  Daniel Jacobowitz  <dan@codesourcery.com>
2090
2091         * value.c (value_contents_writeable): Use value_contents_raw.
2092
2093 2005-08-01  Daniel Jacobowitz  <dan@codesourcery.com>
2094
2095         Suggested by Shaun Jackman <sjackman@gmail.com>:
2096         * defs.h (print_transfer_performance): Update prototype.
2097         * m32r-rom.c (m32r_load, m32r_upload_command): Use gettimeofday
2098         for print_transfer_performance.
2099         * remote-m32r-sdi.c (m32r_load): Likewise.
2100         * symfile.c (generic_load): Likewise.
2101         (report_transfer_performance): Create a dummy struct timeval.
2102         (print_transfer_performance): Use a more accurate measure
2103         of performance.
2104
2105 2005-08-01  Fred Fish  <fnf@specifix.com>
2106
2107         * stack.c (parse_frame_specification_1): Remove use of obsolete
2108         SETUP_ARBITRARY_FRAME macro.
2109
2110 2005-08-01  Daniel Jacobowitz  <dan@codesourcery.com>
2111
2112         * dwarf2-frame.c (read_signed_leb128): Handle values that do not
2113         fit in 32 bits.
2114         * dwarf2read.c (read_signed_leb128): Likewise.
2115
2116 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
2117
2118         From Josef Ezra <jezra@emc.com>:
2119         * tracepoint.c (stringify_collection_list): Correct pointer
2120         arithmetic.
2121
2122 2005-07-31  Daniel Jacobowitz  <dan@codesourcery.com>
2123
2124         Suggested by Vladimir Prus <ghost@cs.msu.su>:
2125         * infrun.c (handle_inferior_event): Check for line information in
2126         undebuggable functions.
2127
2128 2005-07-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2129
2130         * cli-out.c (cli_field_fmt, cli_message, out_field_fmt): Add
2131         ATTR_FORMAT or ATTRIBUTE_FPTR_PRINTF.
2132         * complaints.c (vcomplaint): Likewise.
2133         * defs.h (xvasprintf, xstrvprintf, verror, vfatal)
2134         (internal_verror, internal_vwarning, vwarning)
2135         (deprecated_query_hook, deprecated_warning_hook)
2136         (deprecated_readline_begin_hook): Likewise.
2137         * disasm.c (fprintf_disasm): Likewise.
2138         * exceptions.c (throw_it): Likewise.
2139         * exceptions.h (throw_verror, throw_vfatal): Likewise.
2140         * mi/mi-interp.c (mi_interp_query_hook): Likewise.
2141         * mi/mi-out.c (mi_field_fmt, mi_message): Likewise.
2142         * tui/tui-hooks.c (tui_query_hook): Likewise.
2143         * tui/tui-out.c (tui_field_fmt, tui_message, out_field_fmt):
2144         Likewise.
2145         * ui-out.c (default_field_fmt, default_message, uo_field_fmt)
2146         (uo_message): Likewise.
2147         * ui-out.h (ui_out_field_fmt, ui_out_message, field_fmt_ftype)
2148         (message_ftype): Likewise.
2149         * utils.c (vfprintf_maybe_filtered, internal_vproblem)
2150         (defaulted_query, printchar): Likewise.
2151         
2152 2005-07-26  Mark Kettenis  <kettenis@gnu.org>
2153
2154         * i386obsd-tdep.c (i386obsd_sigreturn_offset): New variable.
2155         (i386obsd_sigtramp_p): Deal with an arbitrary number of possible
2156         offsets.
2157         (i386obsd_aout_supply_regset): Avoid bogus cast.
2158
2159 2005-07-25  Mark Kettenis  <kettenis@gnu.org>
2160
2161         * inf-ptrace.c [PT_GET_PROCESS_STATE] (inf_ptrace_follow_fork):
2162         New function.
2163         (inf_ptrace_him, inf_ptrace_attach) [PT_GET_PROCESS_STATE]: Set
2164         PTRACE_FORK event flag.
2165         (inf_ptrace_wait) [PT_GET_PROCESS_STATE]: Handle PTRACE_FORK
2166         event.
2167         (inf_ptrace_target) [PT_GET_PROCESS_STATE]: Set to_follow_fork.
2168
2169 2005-07-25  Mark Kettenis  <kettenis@gnu.org>
2170
2171         * gdb_ptrace.h (PT_TRACE_ME): Define to zero if not already
2172         defined.
2173         * inf-ptrace.c: Tweak comments.
2174         (inf_ptrace_me): Use PT_TRACE_ME instead of hardcoded zero.
2175         (inf_ptrace_mourn_inferior): Call waitpid.
2176         (inf_ptrace_attach): Use pid_t, Remove unnecessary cast.
2177         (inf_ptrace_detach): Use pid_t.  Use ptid_get_pid instead of
2178         PIDGET.
2179         (inf_ptrace_kill): Rename from inf_ptrace_kill_inferior.  Use
2180         pid_t.  Use ptid_get_pid instead of PIDGET.
2181         (inf_ptrace_kill): Call waitpid instead of wait.
2182         (inf_ptrace_resume): Use pid_t.  Use ptid_get_pid instead of
2183         PIDGET.
2184         (inf_ptrace_wait): Use waitpid instead wait.  Use pid_t.  Don't
2185         call target_has_exited or target_thread_alive.  Properly ignore
2186         terminated detached child processes.
2187         (inf_ptrace_has_exited): Remove function.
2188         (inf_ptrace_xfer_partial): Use pid_t.  Use ptid_get_pid instead of
2189         PIDGET.  Use gdb_byte instead of `unsigned char'.
2190         (inf_ptrace_thread_alive): Use ptid_get_pid instead of PIDGET.
2191         (inf_ptrace_pid_to_str): Remove function.
2192         (inf_ptrace_target): Use inf_ptrace_kill instead of
2193         inf_ptrace_kill_inferior.  Use normal_pid_to_str instead of
2194         inf_ptrace_pid_to_str.  Don't set to_has_exited.
2195         (inf_ptrace_fetch_register, inf_ptrace_store_register): Reformat
2196         long lines.
2197
2198 2005-07-25  Mark Kettenis  <kettenis@gnu.org>
2199
2200         * inf-ptrace.c: Reorder functions.
2201         (inf_ptrace_open, inf_ptrace_reported_exec_events_per_call)
2202         (inf_ptrace_can_run, inf_ptrace_post_attach): Removed.
2203         (inf_ptrace_target): Don't set to_open,
2204         to_reported_exec_events_per_call, to_can_run, to_post_attach,
2205         to_stratum, to_has_all_memory, to_has_memory, to_has_stack,
2206         to_has_registers, to_has_execution, to_magic.  Reorder remaining
2207         initializations.
2208
2209 2005-07-25  Mark Mitchell  <mark@codesourcery.com>
2210
2211         * configure.ac: On MinGW, do not require a termcap library, and
2212         use win32-termcap.c.
2213         * configure: Regenerated.
2214         * win32-termcap.c: New file.
2215
2216 2005-07-24  Mark Mitchell  <mark@codesourcery.com>
2217
2218         * ser-tcp.c (close): Define as a function-like macro on MinGW.
2219
2220 2005-07-21  Eric Christopher  <echristo@apple.com>
2221
2222         * MAINTAINERS (Misc): Update affiliation.
2223
2224 2005-07-21  Mark Kettenis  <kettenis@gnu.org>
2225
2226         * inf-ttrace.c (inf_ttrace_wait): Properly report TTEVT_EXEC
2227         events as TARGET_WAITKIND_EXECD.
2228         (inf_ttrace_detach): Reorder local variables.
2229
2230 2005-07-20  Mark Kettenis  <kettenis@gnu.org>
2231
2232         * inf-ttrace.c (inf_ttrace_vfork_ppid): New variable.
2233         (inf_ttrace_follow_fork): New function.
2234         (inf_ttrace_him, inf_ttrace_attach): Ask for TTEVT_FORK and
2235         TTEVT_VFORK events.  Replace TTEO_NOSTRCHLD option with
2236         TTEO_PROC_INHERIT.
2237         (inf_ttrace_create_inferior, inf_ttrace_attach): Add checks for
2238         inf_ttrace_vfork_ppid.
2239         (inf_ttrace_kill_inferior, inf_ttrace_detach): Detach from waiting
2240         parent if appropriate.
2241         (inf_ttrace_wait): Handle TTEVT_FORK and TTEVT_VFORK.
2242         (inf_ttrace_target): Set to_follow_fork.
2243
2244 2005-07-20  Wu Zhou  <woodzltc@cn.ibm.com>
2245
2246         * remote.c (remote_pid_to_str): Use xsnprintf instead of snprintf.
2247
2248 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
2249
2250         * target.c (normal_pid_to_str): Use xsnprintf instead of snprintf.
2251         * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
2252         * inf-ttrace.c (inf_ttrace_pid_to_str): Likewise.
2253
2254         * hppa-tdep.h (hppa_frame_prev_register_helper): Change types of
2255         last argument to `gdb_byte *'.
2256         * hppa-tdep.c (hppa32_convert_from_func_ptr_addr): Rewrite.
2257         (hppa_frame_prev_register_helper): Change types of last argument
2258         to `gdb_byte *'.
2259         * hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_prev_register):
2260         Change types of last argument to `gdb_byte *'.
2261
2262 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
2263             Jason Molenda  <jmolenda@apple.com>
2264
2265         * i386-tdep.c (i386_match_insn): Match complete instruction
2266         pattern.
2267
2268 2005-07-18  Mark Kettenis  <kettenis@gnu.org>
2269
2270         * i386-tdep.c (i386_reg_struct_return_p): Handle structures with a
2271         single 'long double' member correctly.
2272         (i386_return_value): Tweak comment.
2273
2274 2005-07-16  Nick Roberts  <nickrob@snap.net.nz>
2275
2276         * mi/gdb-mi.el:  Update for changes in Emacs 22.0.50.  Bring more
2277         features over from gdb-ui.el.  Use "-var-update --all-values" for
2278         faster re-display of watch expressions.
2279
2280 2005-07-15  Mark Kettenis  <kettenis@gnu.org>
2281             Marcel Moolenaar  <marcel@xcllnt.net>
2282
2283         * sparc64fbsd-nat.c: Include "regcache.h", <sys/types.h>,
2284         <machine/pcb.h> and "bsd-kvm.h".
2285         (sparc64fbsd_kvm_supply_pcb): New function.
2286         (_initialize_sparc64fbsd_nat): Enable libkvm interface.
2287         * config/sparc/fbsd.mh (NATDEPFILES): Add bsd-kvm.o.
2288         (LOADLIBES): New variable.
2289         * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
2290
2291 2005-07-15  Nick Roberts  <nickrob@snap.net.nz>
2292             Daniel Jacobowitz  <dan@codesourcery.com>
2293
2294         * mi/mi-cmds.h (mi_no_values, mi_simple_values, mi_all_values): New
2295         declarations.
2296         * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Use string
2297         constants instead of literals for MI command options.
2298         * mi/mi-cmd-var.c (mi_no_values, mi_simple_values, mi_all_values):
2299         New variables.
2300         (mi_parse_values_option, mi_print_value_p): New functions.
2301         (mi_cmd_var_list_children): Use mi_parse_values_option and
2302         mi_print_value_p.
2303         (mi_cmd_var_update): Support a PRINT_VALUES option.  Update calls
2304         to varobj_update_one.
2305         (varobj_update_one): Take a print_values argument.  Call
2306         mi_print_value_p.
2307         * varobj.c (varobj_get_gdb_type): New function.
2308         * varobj.h (varobj_get_gdb_type): New prototype.
2309
2310 2005-07-13  Daniel Jacobowitz  <dan@codesourcery.com>
2311
2312         * ppc-linux-tdep.c (ppc_linux_init_abi): Set 64-bit link map offsets.
2313
2314 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
2315
2316         * dwarf2expr.h: Tweak comment.
2317         (struct dwarf_expr_context): Use `gdb_byte *' in read_mem and
2318         get_frame_base function pointers.
2319         (read_uleb128, read_sleb128): Change return type and types of
2320         first two arguments to `gdb_byte *'.
2321         (dwarf2_read_address): Change types of first two arguments to
2322         `gdb_byte *'.
2323         * dwarf2expr.c: Tweak comment.
2324         (dwarf_expr_eval): Change type of second argument to `gdb_byte *'.
2325         (read_uleb128, read_sleb128): Change return type and types of
2326         first two arguments to `gdb_byte *'.
2327         (dwarf2_read_address): Change types of first two arguments to
2328         `gdb_byte *'.
2329         (execute_stack_op): Change types of last two arguments to
2330         `gdb_byte *'.  Use `gdb_byte *' for byte buffers.
2331         * dwarf2loc.h: Tweak comment.
2332         (struct dwarf2_locexpr_baton, struct dwarf2_loclist_baton): Use
2333         `gdb_byte *' for byte buffers.
2334         * dwarf2loc.c (find_location_expression): Change return type to
2335         `gdb_byte *'.  Use `gdb_byte *' for byte buffers.  Change length
2336         to `unsigned int'.
2337         (dwarf_expr_read_reg): Use `gdb_byte *' for byte buffer.  Remove
2338         bogus cast.
2339         (dwarf_expr_read_mem): Change type of second argument to
2340         `gdb_byte *'.
2341         (dwarf_expr_frame_base): Change type of second argument to
2342         `gdb_byte **'.
2343         (dwarf2_evaluate_loc_desc): Change type of third argument to
2344         `gdb_byte *'.
2345         (needs_frame_read_mem): Change type of second argument to
2346         `gdb_byte *'.
2347         (needs_frame_frame_base): Change type of second argument
2348         `gdb_byte **'.  Use gdb_byte for lit0.
2349         (dwarf2_tracepoint_var_ref): Change type of fourth argument to
2350         `gdb_byte *'.  Use `gdb_byte *' for byte buffer.
2351         (loclist_read_variable, loclist_tracepoint_var_ref): Use `gdb_byte
2352         *' for byte buffer.
2353         * dwarf2-frame.c (struct dwarf2_cie, struct dwarf2_fde)
2354         (struct dwarf2_frame_state): Use gdb_byte instead of `unsigned
2355         char'.
2356         (read_reg): Use `gdb_byte *' for byte buffers.  Remove redundant
2357         cast.
2358         (read_mem): Change second argument to `gdb_byte *'.
2359         (no_get_frame_base): Change second argument to `gdb_byte **'.
2360         (execute_stack_op): Change first argument to `gdb_byte *'.
2361         (execute_cfa_program): Change first two arguments to `gdb_byte *'.
2362         Use gdb_byte instead of `unsigned int'.  Use temprorary variable
2363         to store result of read_uleb128.
2364         (struct comp_unit): Use `gdb_byte *' for byte buffers.
2365         (read_1_byte, read_4_bytes, read_8_bytes): Change last argument to
2366         `gdb_byte *'.
2367         (read_unsigned_leb128, read_signed_leb128): Change second argument
2368         to `gdb_byte *'.  Use gdb_byte instead of `unsigned char'.
2369         (read_initial_length): Change second argument to `gdb_byte *'.
2370         Remove redundant casts.
2371         (read_encoded_value): Use gdb_byte instead of `unsigned char'.
2372         Remove bogus casts.
2373         (decode_frame_entry_1): Change return type and second argument to
2374         `gdb_byte *'.  Use `gdb_byte *' for byte buffers.  Use gdb_byte
2375         instead of `unsigned char'.
2376         (decode_frame_entry): Change return type and second argument to
2377         `gdb_byte *'.  Use `gdb_byte *' for byte buffers.
2378         (dwarf2_build_frame_info): Use `gdb_byte *' for byte buffers.
2379
2380 2005-07-12  Mark Kettenis  <kettenis@gnu.org>
2381
2382         * objc-lang.c (print_object_command): Use gdb_byte for c.
2383         * arch-utils.c (legacy_extract_return_value): Use 'gdb_byte *' for
2384         registers.
2385
2386 2005-07-11  Mark Kettenis  <kettenis@gnu.org>
2387
2388         * bsd-kvm.c: Include <paths.h>.
2389         (bsd_kvm_corefile): New variable.
2390         (core_kd, bsd_kvm_paddr, bsd_kvm_supply_pcb, bsd_kvm_ops): Make
2391         static.
2392         (bsd_kvm_open): Set bsd_kvm_corefile.
2393         (bsd_kvm_files_info): New function.
2394         (bsd_kvm_add_target): Set to_files_info.
2395
2396 2005-07-07  Andreas Schwab  <schwab@suse.de>
2397
2398         * observer.sh: Use different temporary file name depending on mode
2399         of operation to avoid clash during parallel build.
2400
2401 2005-07-06  Bob Rossi  <bob@brasko.net>
2402
2403         * fork-child.c (fork-inferior): Use accessor function for
2404         inferior_io_terminal.
2405         * infcmd.c (inferior_io_terminal): Make static.
2406         (set_inferior_io_terminal): New function.
2407         (get_inferior_io_terminal): Ditto.
2408         (tty_command): Use accessor function.
2409         (_initialize_infcmd): Add inferior_tty setshow variable.
2410         (_initialize_infcmd): Remove tty command.
2411         (_initialize_infcmd): Add a tty command that is an alias.
2412         * inferior.h (set_inferior_io_terminal): New prototype.
2413         (get_inferior_io_terminal): Ditto.
2414         (new_tty_prefork): Add const qualifier to parameter.
2415         * inflow.c (inferior_thisrun_terminal): Add const qualifier.
2416         (new_tty_prefork): Add const qualifier to parameter.
2417         * nto-procfs (procfs_create_inferior): Use accessor function.
2418         (procfs_create_inferior): Add const qualifier to locals.
2419         * win32-nat.c (child_create_inferior): Ditto.
2420         * mi/mi-cmd-env.c (mi_cmd_inferior_tty_set): New function.
2421         (mi_cmd_inferior_tty_set): Ditto.
2422         * mi/mi-cmds.c (mi_cmds): Add inferior-tty-set and inferior-tty-show
2423         * mi/mi-cmds.h (mi_cmd_inferior_tty_set): Add prototype.
2424         (mi_cmd_inferior_tty_show): Ditto.
2425
2426 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
2427
2428         * tui/tui-win.c (parse_scrolling_args): Fix SEGV error with invalid
2429         scroll command.
2430
2431 2005-07-06  Wu Zhou  <woodzltc@cn.ibm.com>
2432
2433         * f-exp.y (yyparse): Add code to support exponentiation expression.
2434         (yylex): Add code to scan exponentiation operator.
2435         * eval.c (evaluate_subexp_standard): Add support for BINOP_EXP.
2436         * valarith.c (value_binop): Reset errno to 0 before calling pow
2437         to do exponentiation operation.
2438
2439 2005-07-04  Mark Kettenis  <kettenis@gnu.org>
2440
2441         * i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' in
2442         read_memory call.
2443         * bsd-uthread.c (bsd_uthread_wait): Use gdb_byte for byte buffer.
2444
2445         * bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call.
2446         * coffread.c (patch_type, process_coff_symbol): Likewise.
2447         * corelow.c (core_open): Likewise.
2448         * dwarf2read.c (dwarf_decode_lines, dwarf2_start_subfile):
2449         * language.c (set_lang_str, set_type_str, set_range_str)
2450         (set_case_str): Likewise.
2451         * source.c (add_path, openp): Likewise.
2452         * stabsread.c: Likewise.
2453         * top.c (init_history): Likewise.
2454         * utils.c (xfullpath): Likewise.
2455         * value.c (lookup_internalvar): Likewise.
2456         * cli/cli-cmds.c (cd_command): Likewise.
2457         * cli/cli-dump.c (add_dump_command): Likewise.
2458
2459         * i387-tdep.c (print_i387_value, print_i387_ext, i387_tag): Change
2460         type of first argument to `const gdb_byte *'.
2461         (i387_print_float_info, i387_register_to_value)
2462         (i387_value_to_register, i387_supply_fsave, i387_collect_fsave)
2463         (i387_supply_fxsave, i387_collect_fxsave): Use gdb_byte for byte
2464         buffers.
2465
2466 2005-07-04  Ben Elliston  <bje@gnu.org>
2467
2468         * Makefile.in (RUNTEST): Set to runtest.
2469
2470 2005-07-03  Richard Henderson  <rth@redhat.com>
2471
2472         * amd64-tdep.c (amd64_sse_type): New.
2473         (amd64_register_info): Use it for xmm registers.  Constify.
2474         (amd64_register_type): Initialize amd64_sse_type as needed.
2475
2476 2005-07-03  Steve Ellcey  <sje@cup.hp.com>
2477
2478         * configure.ac: Add arguments to AC_DEFINE calls.
2479         * acconfig.h: Remove file.
2480         * acinclude.m4 (AC_GNU_SOURCE): Remove definition.
2481         * configure: Regenerate.
2482         * config.in: Regenerate.
2483
2484 2005-07-01  Mark Kettenis  <kettenis@gnu.org>
2485
2486         * mips-tdep.c (mips_insn16_frame_prev_register)
2487         (mips_insn32_frame_prev_register, mips_stub_frame_prev_register):
2488         Change type of last argument to `gdb_byte *'.
2489
2490 2005-07-01  Steve Ellcey  <sje@cup.hp.com>
2491
2492         * MAINTAINERS (Write After Approval): Add myself.
2493
2494 2005-07-01  Mark Kettenis  <kettenis@gnu.org>
2495
2496         * solib-svr4.c: Include "solib.h".
2497         * Makefile.in (solib-svr4.o): Update dependencies.
2498
2499 2005-06-28  Mark Kettenis  <kettenis@gnu.org>
2500
2501         * eval.c (evaluate_struct_tuple): Use strcmp instead of
2502         DEPRECATED_STREQ.
2503
2504 2005-06-27  Michael Snyder  <msnyder@redhat.com>
2505
2506         * mn10300-linux-tdep.c: New file.  OSABI sniffer at end.
2507         * Makefile.in: Add rule for mn10300-linux-tdep.c.
2508         * config/mn10300/linux.mt: Add mn10300-linux-tdep.c to tdep files.
2509
2510 2005-06-27  Michael Snyder  <msnyder@redhat.com>
2511
2512         * config/mn10300/linux.mt: New file.
2513         * configure.tgt: Add rule for am33 / mn10300-linux.
2514         * mn10300-tdep.c, mn10300-tdep.h: Bump copyright year.
2515
2516 2005-06-27  Wu Zhou  <woodzltc@cn.ibm.com>
2517
2518         * gdbtypes.c (get_discrete_bounds): Fix a comment typo.
2519
2520 2005-06-25  Mark Kettenis  <kettenis@gnu.org>
2521
2522         * sol-thread.c (sol_thread_xfer_memory): Change type of second
2523         argument to `gdb_byte *'.
2524         (sol_thread_xfer_partial): Change type of readbuf and writebuf
2525         arguments to `gdb_byte *'.
2526
2527         * mips-tdep.c (mips_xfer_register, mips_o32_return_value)
2528         (mips_integer_to_address): Use gdb_byte instead of bfd_byte.
2529
2530 2005-06-24  Mark Kettenis  <kettenis@gnu.org>
2531
2532         * ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
2533         <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
2534         (ppcobsd_supply_pcb): New function.
2535         (_initialize_ppcobsd_nat): Enable libkvm interface.
2536         * Makefile.in (ppcobsd-nat.o): Update dependencies.
2537         * config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
2538         (LOADLIBES): New variable.
2539
2540 2005-06-24  Corinna Vinschen  <vinschen@redhat.com>
2541
2542         * i386-tdep.c (struct i386_frame_cache): Define sp_offset as LONGEST.
2543
2544 2005-06-23  Andreas Schwab  <schwab@suse.de>
2545
2546         * gdb_ptrace.h: Fix typos when checking for PT_ATTACH.  Reported
2547         by Chad Harrington <harrington.chad@gmail.com>.
2548
2549 2005-06-22  Mark Kettenis  <kettenis@gnu.org>
2550
2551         * remote.c (extended_remote_restart): Pass buffer in call to
2552         xsnprintf instead of a pointer to the buffer.
2553
2554 2005-06-21  Andrew Cagney  <cagney@gnu.org>
2555
2556         * MAINTAINERS: List GDB's Steering Committee as responsible for
2557         GDB's maintenance.
2558
2559 2005-06-21  Mark Kettenis  <kettenis@gnu.org>
2560
2561         * inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf
2562         and writebuf arguments to `gdb_byte *'.
2563
2564 2005-06-21  Wu Zhou  <woodzltc@cn.ibm.com>
2565
2566         * MAINTAINERS (Write After Approval): Add myself.
2567
2568 2005-06-20  Mark Kettenis  <kettenis@gnu.org>
2569
2570         * hppabsd-tdep.c: Include "symtab.h", "objfiles.h", "target.h",
2571         "value.h" and "elf/common.h".
2572         (hppabsd_supply_gregset): Use `gdb_byte *' for byte buffer.
2573         (hppabsd_find_global_pointer): New function.
2574         (hppabsd_init_abi): Set TDEP->find_global_pointer to
2575         hppabsd_find_global_pointer.
2576         * Makefile.in (hppabsd-tdep.o): Update dependencies.
2577
2578 2005-06-12  Mark Kettenis  <kettenis@gnu.org>
2579
2580         * hppa-tdep.c (hppa_pointer_to_address_hack): Remove function.
2581         (unwind_command): Use %lx to print pointer.
2582
2583 2005-06-19  Mark Kettenis  <kettenis@gnu.org>
2584
2585         * remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.
2586         Change type of second argument to`gdb_byte *'.
2587
2588 2005-06-19  Nick Roberts  <nickrob@snap.net.nz>
2589
2590         * mi/mi-cmd-stack.c (mi_cmd_stack_info_frame): New function.
2591
2592         * mi/mi-cmds.c (mi_cmds): Replace entry for -stack-info-frame.
2593         Make it use mi_cmd_stack_info_frame
2594
2595         * mi/mi-cmds.h (mi_cmd_stack_info_frame): New declaration.
2596
2597 2005-06-18  Mark Kettenis  <kettenis@gnu.org>
2598
2599         * hppa-tdep.c (hppa_fallback_frame_cache): Don't error out if we
2600         can't find the bounds of the current function.  Wrap some long
2601         lines in the process.
2602
2603         * regcache.c (regcache_raw_supply, regcache_raw_collect): Change
2604         type of last argument back to `void *'.
2605         * regcache.h (regcache_raw_supply, regcache_raw_collect): Likewise.
2606
2607 2005-06-18  Nick Roberts  <nickrob@snap.net.nz>
2608
2609         * mi/mi-cmds.c (mi_cmds): Remove entry for -stack-info-frame.
2610
2611         * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames)
2612         (mi_cmd_stack_info_depth): Don't test for stack.
2613         (mi_cmd_stack_select_frame): Make the argument mandatory.
2614         Don't test for stack.
2615
2616 2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
2617
2618         * remote.c (set_thread, remote_thread_alive): Replace sprintf
2619         call with xsnprintf.
2620         (remote_threads_extra_info, extended_remote_restart)
2621         (remote_check_symbols, store_register_using_P)
2622         (compare_sections_command): Ditto.
2623
2624 2005-06-16  David Ung  <davidu@mips.com>
2625
2626         * MAINTAINERS (Write After Approval): Add self.
2627
2628 2005-06-15  Mark Kettenis  <kettenis@gnu.org>
2629
2630         * hppa-hpux-nat.c (hppa_hpux_fetch_register)
2631         (hppa_hpux_store_register): Add casts in extract_unsigned_integer
2632         and store_usigned_integer calls.
2633
2634 2005-06-14  Nick Roberts  <nickrob@snap.net.nz>
2635
2636         * mi/mi-main.c (mi_cmd_data_list_register_values): Remove test for
2637         registers now that mi_execute_command rewinds after an error.
2638
2639 2005-06-13  Mark Kettenis  <kettenis@gnu.org>
2640
2641         * configure.ac: Use AC_CHECK_TYPES to check for uintptr_t.
2642         * configure, config.in: Regenerate.
2643
2644         * ser-tcp.c: Tweak comment.
2645         [!HAVE_SOCKLEN_T]: Typedef socklen_t.
2646         * configure.ac: Add check for socklen_t.
2647         * configure, config.in: Regenerate.
2648
2649 2005-06-13  H.J. Lu  <hongjiu.lu@intel.com>
2650
2651         * config/i386/linux64.mt (TDEPFILES): Add symfile-mem.o.
2652
2653 2005-06-13  Richard Sandiford  <richard@codesourcery.com>
2654
2655         * MAINTAINERS: Update my email address.
2656
2657 2005-06-13  Mark Mitchell  <mark@codesourcery.com>
2658
2659         * corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.
2660         * exec.c (exec_file_attach): Likewise.
2661         * solib-frv.c (enable_break2): Likewise.
2662         * solib-svr4.c (enable_break): Likewise.
2663         * solib.c (solib_map_sections): Likewise.
2664         * symfile.c (symfile_bfd_open): Likewise.
2665
2666 2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
2667
2668         * Makefile.in (symfile.o): Add $(exec_h).
2669         * exec.h (exec_set_section_address): Add prototype.
2670         * exec.c (exec_set_section_address): New function.
2671         * symfile.c: Include "exec.h".
2672         (struct place_section_arg, place_section): New.
2673         (default_symfile_offsets): Call place_section for each
2674         section of a relocatable file.
2675
2676 2005-06-13  Joel Brobecker  <brobecker@adacore.com>
2677
2678         * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all
2679         bits of top byte in address.
2680
2681 2005-06-13  Wu Zhou  <woodzltc@cn.ibm.com>
2682
2683         * eval.c (evaluate_subexp_standard): Add code to check the target
2684         type of a TYPE_CODE_PTR value when we encounter a f77 undetermined
2685         arglist.  If it is array, string or function, work on the target
2686         value instead.
2687
2688 2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
2689             Nick Roberts  <nickrob@snap.net.nz>
2690
2691         * mi/mi-main.c (register_changed_p, get_register): Use
2692         get_selected_frame.
2693         (mi_execute_command): Call mi_out_rewind after an error.
2694
2695 2005-06-12  Mark Kettenis  <kettenis@gnu.org>
2696
2697         * hppa-tdep.c (hppa_frame_prev_register)
2698         (hppa_fallback_frame_prev_register)
2699         (hppa_stub_frame_prev_register): Change type of last argument to
2700         `gdb_byte *'.
2701         (hppa_fetch_pointer_argument): Tweak comment.  Use
2702         get_frame_register_unsigned instead of get_frame_register.
2703         (hppa32_return_value, hppa64_return_value): Change type of readbuf
2704         and writebuf arguments to `gdb_byte *'.  Remove unecessary casts
2705         and local variables.
2706         (hppa_pseudo_register_read): Change type of last argument to
2707         `gdb_byte *'.
2708
2709         * m68k-tdep.c (m68k_frame_prev_register): Change type of last
2710         argument to `gdb_byte *'.
2711
2712         * arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):
2713         Consitify regnames.
2714
2715         * alpha-tdep.c (alpha_sigtramp_frame_prev_register)
2716         (alpha_heuristic_frame_prev_register): Change type of last
2717         argument to `gdb_byte *'.
2718         (alpha_register_to_value, alpha_value_to_register)
2719         (alpha_extract_return_value, alpha_store_return_value): Likewise.
2720         * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
2721
2722         * arm-tdep.c (arm_prologue_prev_register)
2723         (arm_sigtramp_prev_register): Change type of last argument to
2724         `gdb_byte *'.
2725
2726         * m88k-tdep.c (m88k_frame_prev_register): Change type of last
2727         argument to `gdb_byte *'.
2728
2729         * vax-tdep.c (vax_frame_prev_register): Change type of last
2730         argument to `gdb_byte *'.
2731
2732         * sparc-tdep.c (sparc32_frame_prev_register): Change type of last
2733         argument to `gdb_byte *'.
2734         * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
2735         Likewise.
2736         * sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Likewise.
2737         * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
2738         Likewise.
2739         * sparc64-tdep.c (sparc64_frame_prev_register): Likewise.
2740         * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
2741         Likewise.
2742         * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
2743         Likewise.
2744         * sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Likewise.
2745         * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind):
2746         Likewise.
2747
2748         * amd64-tdep.c (amd64_frame_prev_register)
2749         (amd64_sigtramp_frame_prev_register): Change type of last argument
2750         to `gdb_byte *'.
2751
2752 2005-06-11  Mark Kettenis  <kettenis@gnu.org>
2753
2754         * i386-tdep.c (i386_register_type): Return
2755         builtin_type_void_func_ptr for %eip and builtin_type_void_data_ptr
2756         for %ebp and %esp.
2757
2758 2005-06-10  Ben Elliston  <bje@au.ibm.com>
2759
2760         * valprint.c (print_floating): Fix comment typo.
2761
2762 2005-06-09  Jeff Johnston  <jjohnstn@redhat.com>
2763
2764         * ia64-tdep.c (ia64_pseudo_register_read): Use gdb_byte and
2765         protect libunwind references with HAVE_LIBUNWIND_IA64_H flag.
2766         (ia64_pseudo_register_write): Use gdb_byte to remove warning.
2767         (ia64_register_to_value, ia64_value_to_register): Ditto.
2768         (ia64_frame_prev_register): Ditto.
2769         (ia64_libunwind_frame_prev_register): Ditto.
2770         (ia64_sigtramp_frame_prev_register): Ditto.
2771         (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
2772         (ia64_store_return_value): Ditto.
2773
2774 2005-06-08  Jeff Johnston  <jjohnstn@redhat.com>
2775             David Mosberger <davidm@hpl.hp.com>
2776
2777         * ia64-tdep.c (KERNEL_START): New macro.
2778         (ia64_pseudo_register_read): Fix code to use libunwind to properly
2779         get the rse registers.
2780         (ia64_frame_this_id): Mark outermost frame with null frame id.
2781         (ia64_sigtramp_frame_prev_register): Fix up debug output.
2782         (ia64_access_rse_reg): New accessor function.
2783         (ia64_access_mem): Add special logic for accessing the
2784         kernel's unwind table.
2785         (getunwind_table): Fix for corefiles.
2786         (get_kernel_table): Fix to handle vDSO.
2787         (ia64_libunwind_frame_this_id): Check for null frame id and
2788         don't unwind past pc value of 0.  Fix debugging output.
2789         (ia64_libunwind_sigtramp_frame_this_id): New function.
2790         (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
2791         (ia64_libunwind_sigtramp_frame_sniffer): Ditto.
2792         (ia64_libunwind_sigtramp_frame_unwind): New unwinder.
2793         (ia64_unw_rse_accessors): New libunwind accessors.
2794         (ia64_libunwind_descr): Add ia64_unw_rse_accessors.
2795         (ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Use
2796         ia64_libunwind_sigtramp_frame_sniffer instead of
2797         ia64_sigtramp_frame_sniffer.
2798         * libunwind-frame.c (libunwind_frame_set_descr): Add
2799         special register accessors.
2800         (libunwind_frame_cache): Add special logic to check for
2801         0 pc value.  Check for a signal trampoline frame.
2802         (libunwind_frame_this_id): Check if libunwind_frame_cache
2803         returns NULL.
2804         (libunwind_frame_prev_register): Check for NULL cache.
2805         (libunwind_frame_base_address): Ditto.
2806         (libunwind_sigtramp_frame_sniffer): New function.
2807         (libunwind_get_reg_special): Ditto.
2808         (libunwind_load): Add unw_is_signal_frame support.
2809         * libunwind-frame.h (struct libunwind_descr): Add special_accessors
2810         field.
2811         (libunwind_sigtramp_frame_sniffer): New prototype.
2812         (libunwind_get_reg_special): Ditto.
2813
2814 2005-06-08  Wu Zhou  <woodzltc@cn.ibm.com>
2815
2816         * expression.h (enum exp_opcode): Fix a comment typo.
2817
2818 2005-06-06  Manoj Iyer  <manjo@austin.ibm.com>
2819
2820         * solib-svr4.c (struct lm_info): Change type of 'lm' to gdb_byte.
2821         (elf_locate_base): Converted types of buf, bufend, pbuf, to gdb_byte.
2822         (first_link_map_member): Converted type of r_map_buf to gdb_byte.
2823         (open_symbol_file_object): Converted type of l_name_buf to gdb_byte.
2824         (svr4_fetch_objfile_link_map): Converted type of l_name_buf to
2825         gdb_byte.
2826
2827 2005-06-04  Richard Sandiford  <rsandifo@nildram.co.uk>
2828
2829         * MAINTAINERS: Update my email address.
2830
2831 2005-06-03  Joel Brobecker  <brobecker@adacore.com>
2832
2833         * symmisc.c (dump_symtab_1): Renamed from dump_symtab.
2834         (dump_symtab): New function.
2835
2836 2005-04-02  Joel Brobecker  <brobecker@adacore.com>
2837
2838         * exceptions.h: Include ui-out.h.
2839         (ui_out): Remove declaration.
2840         * Makefile.in (exceptions_h): Add dependency on ui-out.h.
2841
2842 2005-05-30  Andrew Cagney  <cagney@gnu.org>
2843
2844         * MAINTAINERS (Can Commit Without Approval): New section,
2845         previously burried under "Target Instruction Set Architectures".
2846         Note that cagney "can commit" changes to powerpc-linux.
2847
2848         * MAINTAINERS: Drop architecture and target vectors.
2849
2850 2005-05-29  Eli Zaretskii  <eliz@gnu.org>
2851
2852         * config/djgpp/fnchange.lst: Add mappings for linux-ppc-low.c and
2853         linux-ppc64-low.c.
2854
2855 2005-05-28  Bob Rossi  <bob@brasko.net>
2856         * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS): Add mi-common.
2857         (gdb/mi/ headers): Add mi_common_h.
2858         (breakpoint.o, infrun.o): Add dependencies mi_common_h.
2859         * breakpoint.c (include): Add include 'mi/mi-common.h'.
2860         (print_it_typical): Use async_reason_lookup.
2861         (watchpoint_check): Ditto.
2862         * infrun.c (include): Add include 'mi/mi-common.h'.
2863         (print_stop_reason): Use async_reason_lookup.
2864         * mi/mi-common.h: New file.
2865         * mi/mi-common.c: Ditto.
2866
2867 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
2868
2869         * alpha-tdep.c (alpha_next_pc): Use correct register number
2870         for floating-point branch instructions.
2871
2872 2005-05-28  Daniel Jacobowitz  <dan@codesourcery.com>
2873             Jonathan Larmour  <jifl@eCosCentric.com>
2874
2875         PR backtrace/1760
2876         * frame.c (backtrace_limit): Change type to int.
2877         (get_prev_frame): Update backtrace limit support.
2878         (_initialize_frame): Use add_setshow_integer_cmd for backtrace_limit.
2879
2880 2005-05-28  Daniel Jacobowitz  <dan@codesourcery.com>
2881
2882         * configure.tgt (powerpc64-*-linux*): Enable gdbserver.
2883         * regformats/reg-ppc64.dat: New file.
2884
2885 2005-05-28  Daniel Jacobowitz  <dan@codesourcery.com>
2886
2887         From Wu Zhou <woodzltc@cn.ibm.com>:
2888         * remote.c (struct gdb_ext_thread_info): Fix a comment typo.
2889         (remote_unpack_thread_info_response): Likewise.
2890
2891 2005-05-28  Daniel Jacobowitz  <dan@codesourcery.com>
2892
2893         * cli/cli-setshow.c (do_setshow_command): Partially revert previous
2894         change.  Cast to "char **" for var_string.
2895
2896 2005-05-28  Daniel Jacobowitz  <dan@codesourcery.com>
2897
2898         * cp-name-parser.y (parse_escape): Revert previous change.  Return
2899         the input character by default.
2900
2901 2005-05-28  Daniel Jacobowitz  <dan@codesourcery.com>
2902
2903         * dwarf2-frame.c (dwarf2_frame_prev_register): Use gdb_byte.
2904         * i386-linux-nat.c (fetch_register, store_register, supply_gregset)
2905         (fill_gregset): Likewise.
2906         * i386-tdep.c (i386_frame_prev_register)
2907         (i386_sigtramp_frame_prev_register): Likewise.
2908         * linux-nat.c (linux_nat_xfer_memory, linux_nat_make_corefile_notes):
2909         Likewise.
2910         * linux-thread-db.c (thread_db_xfer_memory): Likewise.
2911         * remote.c (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint):
2912         Likewise.
2913         * target.c (debug_to_insert_hw_breakpoint)
2914         (debug_to_remove_hw_breakpoint, update_current_target): Likewise.
2915
2916 2005-05-28  Hans-Peter Nilsson  <hp@axis.com>
2917
2918         * MAINTAINERS: Change cris-elf state to non-broken.
2919         * cp-name-parser.y (parse_escape): Initialize target_char to zero.
2920
2921 2005-05-27  Orjan Friberg  <orjanf@axis.com>
2922
2923         * cris-tdep.c (crisv32_scan_prologue): Add.
2924         (cris_frame_unwind_cache, cris_skip_prologue): Call
2925         crisv32_scan_prologue when debugging CRISv32.
2926
2927 2005-05-27  Orjan Friberg  <orjanf@axis.com>
2928
2929         * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start)
2930         (cris_frame_prev_register, cris_sigtramp_frame_prev_register)
2931         (cris_return_value): Use gdb_byte for byte buffers.
2932         (struct cris_frame_unwind, struct cris_frame_base): Fix formatting.
2933
2934 2005-05-26  Chris Demetriou  <cgd@netbsd.org>
2935
2936         * MAINTAINERS (Write After Approval): Remove myself.
2937
2938 2005-05-27  Andrew Cagney  <cagney@gnu.org>
2939
2940         * jv-lang.c (get_java_utf8_name): Add cast.
2941         (evaluate_subexp_java): Use gdb_byte for buffers.
2942         * jv-valprint.c (java_value_print, java_value_print): Use gdb_byte
2943         for buffers.
2944         * scm-lang.c (scm_get_field, scm_unpack)
2945         (scm_evaluate_string): Use gdb_byte for buffers.
2946         (scm_lookup_name): Add cast.
2947         * scm-valprint.c (scm_scmval_print, scm_scmval_print): Use
2948         gdb_byte for buffers.
2949         * tui/tui.h (tui_get_command_dimension): Make parameters unsigned.
2950         * tui/tui.c (tui_get_command_dimension): Make parameters unsigned.
2951         * value.h (check_field): Change "name" to a string.
2952         * valops.c (check_field): Change "name" to a string.
2953         * scm-lang.h (scm_parse): Use gdb_byte for buffers.
2954         * source.c (get_current_source_symtab_and_line)
2955         (set_current_source_symtab_and_line): Initialize all fields of sal
2956         structures.
2957         * cli/cli-cmds.c (list_command): Use gdb_byte for buffers.
2958
2959 2005-05-26  Andrew Cagney  <cagney@gnu.org>
2960
2961         * command.h (add_setshow_integer_cmd): Make VAR an integer.
2962         * cli/cli-decode.c (add_setshow_integer_cmd): Update to match.
2963         * valops.c (value_string): Add a cast.
2964         * eval.c (evaluate_subexp_standard): Use gdb_byte for byte buffers.
2965         * breakpoint.c (re_enable_breakpoints_in_shlibs): Use gdb_byte for
2966         byte buffers.
2967         * target.h (struct target_ops): For to_insert_hw_breakpoint and
2968         to_remove_hw_breakpoint use gdb_byte for byte buffer parameters.
2969         * breakpoint.h (struct bp_location): Make shadow_contents a
2970         gdb_byte buffer.
2971         * cli/cli-setshow.c (do_setshow_command): Fix cast.
2972         * cli/cli-dump.c (restore_section_callback)
2973         (restore_binary_file): Use gdb_byte for byte buffers.
2974         * proc-service.c (ps_ptwrite, ps_ptread, ps_pdwrite): Fix casts.
2975         (ps_xfer_memory): Use gdb_byte for byte buffers.
2976         * tracepoint.c (mem2hex): Use gdb_byte for byte buffers, and char
2977         for string buffers.
2978         * ser-tcp.c (net_open): Make len a socklen_t.
2979
2980 2005-05-24  Andrew Cagney  <cagney@gnu.org>
2981
2982         * rs6000-tdep.c (ppc_supply_reg, ppc_collect_reg): Use gdb_byte
2983         for byte buffers.
2984         (rs6000_fetch_pointer_argument): Use get_frame_register_unsigned.
2985         (rs6000_software_single_step, sstep_breaks, skip_prologue)
2986         (rs6000_push_dummy_call, rs6000_push_dummy_call)
2987         (rs6000_push_dummy_call, rs6000_push_dummy_call)
2988         (rs6000_register_to_value, e500_pseudo_register_read)
2989         (rs6000_store_return_value, e500_pseudo_register_write)
2990         (rs6000_frame_prev_register, rs6000_extract_return_value): Ditto.
2991         * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
2992         (ppc_sysv_abi_push_dummy_call, do_ppc_sysv_return_value)
2993         (do_ppc_sysv_return_value, ppc_sysv_abi_return_value)
2994         (ppc_sysv_abi_broken_return_value)
2995         (ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_push_dummy_call)
2996         (ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_return_value)
2997         (ppc64_sysv_abi_return_value, ppc64_sysv_abi_return_value): Ditto.
2998         * ppc-linux-tdep.c (ppc_linux_in_sigtramp)
2999         (ppc_linux_at_sigtramp_return_path)
3000         (ppc_linux_skip_trampoline_code)
3001         (ppc_linux_memory_remove_breakpoint, ppc_linux_return_value):
3002         * rs6000-tdep.c (rs6000_value_to_register)
3003         (rs6000_register_to_value): Ditto.
3004         * ppc-tdep.h (ppc_sysv_abi_return_value)
3005         (ppc64_sysv_abi_return_value, ppc_sysv_abi_broken_return_value)
3006         (ppc_linux_memory_remove_breakpoint): Ditto.
3007
3008 2005-05-24  Ulrich Weigand  <uweigand@de.ibm.com>
3009
3010         * s390-tdep.c (s390_frame_prev_register): Change type of last
3011         argument to 'gdb_byte *'.
3012         (s390_stub_frame_prev_register): Likewise.
3013         (s390_sigtramp_frame_prev_register): Likewise.
3014
3015 2005-05-24  Kris Warkentin  <kewarken@qnx.com>
3016
3017         * config/i386/nto.mt: Remove remote-nto.o.
3018
3019 2005-05-24  Orjan Friberg  <orjanf@axis.com>
3020
3021         * config/djgpp/fnchange.lst: Add mappings for
3022         gdbserver/linux-cris-low.c and gdbserver/linux-crisv32-low.c.
3023
3024 2005-05-23  Michael Snyder  <msnyder@redhat.com>
3025         From Nora Pan <qpan@mvista.com>
3026         * linux-nat.c (read_mapping): Don't stumble over entries in
3027         mapping that have name but zero inode.
3028
3029 2005-05-23  Andrew Cagney  <cagney@gnu.org>
3030
3031         * target.h (child_xfer_memory): Use gdb_byte for byte buffer
3032         parameters.
3033         * inftarg.c (child_xfer_partial): Update.
3034         * wince.c (child_xfer_memory): Update.
3035         * win32-nat.c (child_xfer_memory): Update.
3036         * rs6000-nat.c (child_xfer_memory): Update.
3037         * infptrace.c (child_xfer_memory): Update.
3038         * dcache.c (struct dcache_block): Use gdb_byte for the byte
3039         buffers.
3040         (dcache_read_line, dcache_xfer_memory, dcache_poke_byte)
3041         (dcache_peek_byte, dcache_write_line): Ditto.
3042
3043         * auxv.h (target_auxv_read, procfs_xfer_auxv)
3044         (target_auxv_parse): Use gdb_byte for byte buffer parameters.
3045         * auxv.c (target_auxv_read, procfs_xfer_auxv, target_auxv_parse)
3046         (target_auxv_search, fprint_target_auxv): Update.
3047
3048 2005-05-23  Orjan Friberg  <orjanf@axis.com>
3049
3050         * cris-tdep.c: Tweak values for cris-mode.
3051
3052 2004-05-23  Joel Brobecker  <brobecker@adacore.com>
3053
3054         * mdebugread.c (record_minimal_symbol): New procedure.
3055         (parse_partial_symbols): Use record_minimal_symbol to record
3056         the new minimal symbols instead of prim_record_minimal_symbol
3057         and prim_record_minimal_symbol_and_info.
3058
3059 2005-05-22  Mark Kettenis  <kettenis@gnu.org>
3060
3061         * NEWS: Mention OpenBSD/arm as a new native configuration.
3062
3063         * armnbsd-nat.c: Include "gdb_string.h" and "inf_ptrace.h".
3064         Reorder includes.  Don't require FETCH_INFERIOR_REGISTERS to be
3065         defined.
3066         (armnbsd_fetch_registers): Rename from armnbsd_fetch_registers.
3067         Make static.
3068         (armnbsd_store_registers): Rename from armnbsd_store_registers.
3069         Make static.
3070         (_initialize_arm_netbsd_nat): Construct and add target vector.
3071         * Makefile.in (armnbsd-nat.o): Update dependencies.
3072         * config/arm/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
3073         intarg.o, add inf-ptrace.o.
3074         (NAT_FILE): Set to solib.h.
3075         * config/arm/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
3076         inftarg.o, add inf-ptrace.o.
3077         (NAT_FILE): Remove.
3078
3079         * arm-tdep.c (arm_extract_return_value, arm_store_return_value):
3080         Change type of last argument to `gdb_byte *'.
3081
3082         * configure.host: Add arm*-*-openbsd*.
3083         * configure.tgt: Add arm*-*-openbsd*.
3084
3085 2005-05-22  Andrew Cagney  <cagney@gnu.org>
3086
3087         * frame.h (frame_register_unwind, frame_unwind_register)
3088         (get_frame_register, frame_register, put_frame_register)
3089         (get_frame_memory, safe_frame_unwind_memory)
3090         (frame_register_read): Use gdb_byte for byte buffer parameters.
3091         * trad-frame.h (trad_frame_get_register)
3092         (frame_get_prev_register): Ditto.
3093         * frame-unwind.h (frame_prev_register_ftype): Ditto.
3094         * frame.c (frame_pop, frame_register, frame_unwind_register)
3095         (get_frame_register, frame_unwind_register_signed)
3096         (frame_unwind_register_unsigned, frame_unwind_unsigned_register)
3097         (frame_register_read, get_frame_memory): Update.
3098         * trad-frame.c (trad_frame_get_prev_register): Update.
3099         (trad_frame_get_register): Update.
3100         * gdbcore.h (deprecated_read_memory_nobpt, read_memory): Ditto.
3101         * breakpoint.c (deprecated_read_memory_nobpt): Update.
3102         * corefile.c (read_memory): Update.
3103         * tramp-frame.c (tramp_frame_prev_register): Update.
3104         * valops.c (value_assign): Update.
3105         * sentinel-frame.c (sentinel_frame_prev_register): Update.
3106         * std-regs.c (value_of_builtin_frame_fp_reg)
3107         (value_of_builtin_frame_pc_reg): Update.
3108         * infcmd.c (default_print_registers_info): Update
3109         * dummy-frame.c (dummy_frame_prev_register): Update.
3110         * findvar.c (value_of_register, value_from_register): Update.
3111         * tui/tui-regs.c (tui_register_format, tui_get_register): Update.
3112         * mi/mi-main.c (register_changed_p, get_register): Update.
3113
3114 2005-05-20  Eli Zaretskii  <eliz@gnu.org>
3115
3116         * configure.ac: Add snprintf and vsnprintf to AC_CHECK_DECLS.  Fix
3117         bad description of _MSE_INT_H that caused each word in config.in
3118         to be enclosed in [].
3119         * configure, config.in: Regenerate.
3120
3121 2005-05-20  Joel Brobecker  <brobecker@adacore.com>
3122
3123         * alpha-tdep.c (fp_register_zero_p): New function.
3124         (fp_register_sign_bit): New function.
3125         (alpha_next_pc): Add support for floating-point control instructions.
3126
3127 2005-05-19  Andrew Cagney  <cagney@gnu.org>
3128
3129         * defs.h (extract_signed_integer, extract_unsigned_integer)
3130         (extract_long_unsigned_integer, extract_typed_address)
3131         (store_signed_integer, store_unsigned_integer)
3132         (store_typed_address): Use gdb_byte for byte buffer parameters.
3133         (push_bytes, push_word): Delete declaration.
3134         * valops.c (push_bytes, push_word): Delete function.
3135         * findvar.c (extract_signed_integer, extract_unsigned_integer)
3136         (extract_typed_address, store_signed_integer)
3137         (store_unsigned_integer): Update.
3138
3139         * regcache.h (regcache_raw_read, regcache_raw_write)
3140         (regcache_raw_read_part, regcache_raw_write_part)
3141         (regcache_cooked_read_part, regcache_cooked_write_part)
3142         (regcache_cooked_read, regcache_cooked_write)
3143         (regcache_raw_supply, regcache_raw_collect)
3144         (regcache_cooked_read_ftype, regcache_save, regcache_restore)
3145         (deprecated_read_register_gen, deprecated_write_register_gen)
3146         (deprecated_read_register_bytes, deprecated_write_register_bytes)
3147         (deprecated_grub_regcache_for_registers): Use gdb_byte for byte
3148         buffer parameters.
3149         * ia64-tdep.c (ia64_extract_return_value): Update.
3150         * frame.c (do_frame_register_read): Update.
3151         * regcache.c (deprecated_grub_regcache_for_registers)
3152         (struct regcache, regcache_save, regcache_restore, regcache_cpy)
3153         (do_cooked_read, regcache_xmalloc, register_buffer)
3154         (deprecated_read_register_bytes, regcache_raw_read)
3155         (regcache_raw_read_signed, regcache_raw_read_unsigned)
3156         (deprecated_read_register_gen, regcache_cooked_read)
3157         (regcache_cooked_read_signed, regcache_cooked_read_unsigned)
3158         (deprecated_write_register_gen, regcache_cooked_write)
3159         (deprecated_write_register_bytes, regcache_raw_read_part)
3160         (regcache_raw_write_part, regcache_cooked_read_part)
3161         (regcache_cooked_write_part, read_register, regcache_raw_supply):
3162
3163 2005-05-17  Corinna Vinschen  <vinschen@redhat.com>
3164
3165         * MAINTAINERS: Undelete v850.
3166         * Makefile.in: Re-add v850-tdep.o dependencies.
3167         * configure.tgt: Re-add v850.
3168         * v850-tdep.c: Reorder code slightly.  Add register number enumerator.
3169         (struct v850_frame_cache): New structure.
3170         (v850_processor_type_table): Remove. Move functionality into
3171         v850_register_name, v850e_register_name and v850_gdbarch_init.
3172         (v850_register_name): New function.
3173         (v850e_register_name): New function.
3174         (struct prologue_info): Remove definition.
3175         (v850_register_type): New function.
3176         (v850_type_is_scalar): New function.
3177         (v850_use_struct_convention): Align to gcc behaviour.
3178         (v850_handle_prepare): Renamed from handle_prepare. Change third
3179         parameter to struct v850_frame_cache *.
3180         (v850_handle_pushm): Renamed from handle_pushm. Change third parameter
3181         to struct v850_frame_cache *.
3182         (v850_is_save_register): New function to evaluate if a register is
3183         caller-save.
3184         (v850_analyze_prologue): Replace v850_scan_prologue.  Change to support
3185         new frame code.
3186         (v850_init_extra_frame_info): Remove.
3187         (v850_frame_chain): Remove.
3188         (v850_find_callers_reg): Remove.
3189         (v850_skip_prologue): Make static.
3190         (v850_pop_frame): Remove.
3191         (v850_frame_align): New function.
3192         (v850_push_dummy_call): Replace v850_push_arguments.
3193         (v850_push_return_address): Remove.
3194         (v850_extract_return_value): New function.
3195         (v850_store_return_value): New function.
3196         (v850_return_value): New function.
3197         (v850_frame_saved_pc): Remove.
3198         (v850_breakpoint_from_pc): New function.
3199         (v850_alloc_frame_cache): New function.
3200         (v850_fix_call_dummy): Remove.
3201         (v850_frame_cache): New function.
3202         (v850_target_architecture_hook): Remove.
3203         (v850_frame_prev_register): New function.
3204         (v850_frame_this_id): New function.
3205         (v850_frame_unwind): New structure.
3206         (v850_frame_sniffer): New function.
3207         (v850_unwind_sp): New function.
3208         (v850_unwind_pc): New function.
3209         (v850_unwind_dummy_id): New function.
3210         (v850_frame_base_address): New function.
3211         (v850_frame_base): New structure.
3212         (v850_gdbarch_init): New function.
3213         * config/v850/v850.mt: Undelete.  Drop TM_FILE.
3214
3215 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
3216             Dennis Brueni  <dennis@slickedit.com>
3217
3218         * stack.c (print_frame): In MI mode, output a fullname attribute
3219         with the stack frame.
3220
3221 2005-05-16  Mark Kettenis  <kettenis@gnu.org>
3222
3223         * corelow.c (core_xfer_partial): Change type of readbuf and
3224         writebuf to `gdb_byte *'.
3225         * sparc-nat.c (sparc_xfer_wcookie, sparc_xfer_partial): Change
3226         type of readbuf and writebuf to `gdb_byte *'.
3227         * bsd-uthread.c (bsd_uthread_xfer_partial): Change type of readbuf
3228         and writebuf to `gdb_byte *'.
3229         * inf-ptrace.c (inf_ptrace_xfer_partial): Change type of readbuf
3230         and writebuf to `gdb_byte *'.
3231         * bsd-kvm.c (bsd_kvm_xfer_memory): Replace.
3232         (bsd_kvm_xfer_partial): New function.
3233         (bsd_kvm_add_target): Set to_xfer_partial instead of
3234         to_xfer_memory.
3235         * bfd-target.c (target_bfd_xfer_partial): Change type of readbuf
3236         and writebuf to `gdb_byte *'.
3237         * target.c (deprecated_debug_xfer_memory): Remove prototype.
3238         (deprecated_debug_xfer_memory): Change type of second argument to
3239         `gdb_byte *'.
3240         * remote.c (remote_xfer_memory): Remove prototype.
3241         (remote_xfer_memory): Change type of second argument to `gdb_byte
3242         *'.
3243         (remote_xfer_partial): Change type of readbuf and writebuf to
3244         `gdb_byte *'.
3245
3246         * config/sparc/fbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o.
3247         * config/sparc/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o
3248         and solib-legacy.o.
3249         (NAT_FILE): Remove.
3250
3251 2005-05-16  Ulrich Weigand  <uweigand@de.ibm.com>
3252
3253         * s390-tdep.c (s390_return_value): Remove unnecessary casts.
3254         (s390_breakpoint_from_pc): Change type of return value and
3255         'breakpoint' to const gdb_byte *.
3256
3257 2005-05-16  Ulrich Weigand  <uweigand@de.ibm.com>
3258
3259         * s390-tdep.c (s390_pseudo_register_read, s390_pseudo_register_write):
3260         Change type of 'buf' argument to gdb_byte *.
3261         (s390x_pseudo_register_read, s390x_pseudo_register_write): Likewise.
3262         (s390_register_to_value): Change type of 'out' to gdb_byte *, change
3263         type of 'in' to gdb_byte [].
3264         (s390_value_to_register): Change type of 'in' to gdb_byte *, change
3265         type of 'out' to gdb_byte [].
3266         (s390_return_value): Change type of 'out' and 'in' to gdb_byte *.
3267
3268 2005-05-16  Andrew Cagney  <cagney@gnu.org>
3269
3270         * target.h (target_read_partial, target_write_partial)
3271         (do_xfer_memory, xfer_memory, target_read, target_write)
3272         (get_target_memory): For buffers, change "void*" to gdb_byte.
3273         (struct target_ops): Ditto for to_xfer_partial and
3274         deprecated_xfer_memory.
3275         * dcache.h (dcache_xfer_memory): Ditto.
3276         * target.c (default_xfer_partial, target_read_partial)
3277         (target_write_partial, target_read, target_write)
3278         (do_xfer_memory, update_current_target, get_target_memory): Update.
3279         (target_read_string): Change buf to a gdb_byte.
3280         * dcache.c (dcache_xfer_memory): Update.
3281         * exec.c (xfer_memory): Make buffer type to gdb_byte.
3282         * mem-break.c (default_memory_insert_breakpoint): Remove cast.
3283         * disasm.c (dis_asm_read_memory): Remove cast, use gdb_byte.
3284
3285 2005-05-16  Mark Kettenis  <kettenis@gnu.org>
3286
3287         * sol-thread.c (ignore): Change last argument to `gdb_byte.'
3288
3289         * config/i386/fbsd.mt (DEPRECATED_TM_FILE): Remove.
3290         * config/i386/fbsd64.mt (DEPRECATED_TM_FILE): Remove.
3291         * config/i386/nbsd.mt (DEPRECATED_TM_FILE): Remove.
3292         * config/i386/nbsd64.mt (DEPRECATED_TM_FILE): Remove.
3293         * config/sparc/nbsd.mt (DEPRECATED_TM_FILE): Remove.
3294         * config/sparc/nbsd64.mt (DEPRECATED_TM_FILE): Remove.
3295
3296         * observer.sh: Quote $DJGPP.
3297
3298 2005-05-15  Daniel Jacobowitz  <dan@codesourcery.com>
3299
3300         * Makefile.in (.y.c): Update ylwrap invocation.
3301
3302 2005-05-15  Daniel Jacobowitz  <dan@codesourcery.com>
3303
3304         * linux-nat.c (child_follow_fork, linux_handle_extended_wait)
3305         (lin_lwp_attach_lwp, linux_nat_attach, wait_lwp, child_wait)
3306         (linux_nat_wait, kill_wait_callback): Use my_waitpid.
3307         (_initialize_linux_nat, lin_thread_get_thread_signals): Use
3308         SA_RESTART.
3309
3310 2005-05-14  Mark Kettenis  <kettenis@gnu.org>
3311
3312         * configure.tgt (vax-*-openbsd*): Set gdb_target to obsd.
3313         * config/vax/obsd.mt (TDEPFILES): New file.
3314
3315         * i386-tdep.c (i386_supply_gregset, i386_collect_gregset): Use
3316         gdb_byte instead of bfd_byte.
3317
3318         * mips-tdep.c (mips_pseudo_register_read)
3319         (mips_pseudo_register_write): Change type of last argument to
3320         `gdb_byte *'.
3321         (mips_register_to_value, mips_value_to_register): Change type of
3322         last argument to `gdb_byte *'.  Remove casts that are no longer
3323         needed.
3324         (mips_fetch_instruction, fetch_mips_16): Use gdb_byte for buf.
3325         (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call)
3326         (mips_o32_push_dummy_call, mips_o32_return_value): Use `const
3327         gdb_byte *' for val and gdb_byte for valbuf.  Remove casts that
3328         are no longer needed.
3329         (mips_eabi_return_value, mips_n32n64_return_value)
3330         (mips_o32_return_value, mips_o64_return_value): Change type of
3331         readbuf and writebuf arguments to `gdb_byte *'.
3332         (mips_read_fp_register_single): Change type of last argument to
3333         `gdb_byte *'.  Use `gdb_byte *' for raw_buffer.
3334         (mips_read_fp_register_double): Change type of last argument to
3335         `gdb_byte *'.
3336         (mips_print_fp_register): Use `gdb_byte *' for raw_buffer.  Remove
3337         casts that are no longer needed.
3338         (mips_print_register, print_gp_register_row): Use gdb_byte for
3339         raw_buffer.  Remove casts that are no longer needed.
3340         (mips_single_step_through_delay): Use gdb_byte for buf.
3341         (mips_breakpoint_from_pc): Change return type to `const gdb_byte
3342         *'.  Use gdb_byte for mips16_big_breakpoint, big_breakpoint,
3343         pmon_big_breakpoint, idt_big_breakpoint, mips16_little_breakpoint,
3344         little_breakpoint, pmon_little_breakpoint and
3345         idt_little_breakpoint.
3346         (mips_integer_to_address): Use `gdb_byte *' for tmp.
3347
3348         * config/m68k/obsd.mt (DEPRECATED_TM_FILE): Remove.
3349         * config/i386/obsd.mt (DEPRECATED_TM_FILE): Remove.
3350         * config/i386/obsd64.mt (DEPRECATED_TM_FILE): Remove.
3351         * config/pa/obsd.mt (DEPRECATED_TM_FILE): Remove.
3352         * config/sparc/obsd.mt (DEPRECATED_TM_FILE): Remove.
3353         * config/sparc/obsd64.mt (DEPRECATED_TM_FILE): Remove.
3354
3355         * sparc-tdep.c (sparc_fetch_instruction, sparc_fetch_wcookie): Use
3356         gdb_byte for buf.
3357         (sparc32_pseudo_register_read, sparc32_pseudo_register_write):
3358         Change type of last argument to `gdb_byte *'.  Remove casts that
3359         are no longer needed.
3360         (sparc32_push_dummy_code, sparc32_store_arguments): Use gdb_byte
3361         for buf.
3362         (sparc_breakpoint_from_pc): Change return type to `const gdb_byte
3363         *'.  Use gdb_byte for break_insn.
3364         (sparc32_extract_return_value, sparc32_store_return_value): Change
3365         type of last argument to `gdb_byte *'.  Use gdb_byte for buf.
3366         (sparc32_return_value): Change type of readbuf and writebuf
3367         arguments to `gdb_byte *'.
3368         (sparc_software_single_step): Use gdb_byte for npc_save and
3369         nnpc_save.
3370         (sparc_supply_rwindow, sparc_collect_rwindow): Use gdb_byte for
3371         buf.
3372         (sparc32_supply_gregset, sparc32_collect_gregset)
3373         (sparc32_supply_fpregset, sparc32_collect_fpregset): Use `gdb_byte
3374         *' for regs.
3375         * sparc64-tdep.c (sparc64_pseudo_register_read)
3376         (sparc64_pseudo_register_write): Change type of last argument to
3377         `gdb_byte *'.  Remove casts that are no longer needed.
3378         (sparc64_store_floating_fields, sparc64_extract_floating_fields):
3379         Change type of valbuf argument to `gfd_byte *'.
3380         (sparc64_store_arguments): Use `gdb_byte *' for valbuf.  use
3381         gdb_byte for buf.
3382         (sparc64_extract_return_value, sparc64_store_return_value): Change
3383         type of last argument to `gdb_byte *'.  Use gdb_byte for buf.
3384         (sparc64_return_value): Change type of readbuf and writebuf
3385         arguments to `gdb_byte *'.
3386         (sparc64_supply_gregset, sparc64_collect_gregset)
3387         (sparc64_supply_fpregset, sparc64_collect_fpregset): Use `gdb_byte
3388         *' for regs.
3389
3390         * m68k-tdep.c (m68k_local_breakpoint_from_pc): Change return type
3391         to `const gdb_byte *'.  Use gdb_byte for break_insn.
3392         (m68k_register_to_value): Change type of last argument to
3393         `gdb_byte *'.  Use gdb_byte for from.
3394         (m68k_value_to_register): Change type of last argument to
3395         `gdb_byte *'.  Use gdb_byte for to.
3396         (m68k_extract_return_value): Change type of last argument to
3397         `gdb_byte *'.  Use gdb_byte for buf.  Remove unnecessary cast.
3398         (m68k_svr4_extract_return_value): Change type of last argument to
3399         `gdb_byte *'.  Use gdb_byte for buf.
3400         (m68k_store_return_value): Change type of last argument to
3401         `gdb_byte *'.  Remove unnecessary cast.
3402         (m68k_svr4_store_return_value): Change type of last argument to
3403         `gdb_byte *'.  Use gdb_byte for buf.
3404         (m68k_return_value, m68k_svr4_return_value): Change type of
3405         readbuf and writebuf arguments to `gdb_byte *'.
3406         (m68k_push_dummy_call, m68k_unwind_pc, m68k_frame_cache)
3407         (m68k_unwind_dummy_id): Use gdb_byte for buf.
3408         (m68k_get_longjmp_target): Use `gdb_byte *' for buf.
3409         * m68kbsd-tdep.c (m68kbsd_supply_fpregset)
3410         (m68kbsd_supply_gregset): Use `gdb_byte *' for regs.
3411
3412         * m88k-tdep.c (m88k_breakpoint_from_pc): Change return type to
3413         `const gdb_byte *'.  Use gdb_byte for break_insn.
3414         (m88k_return_value): Change type of readbuf and
3415         writebuf arguments to `gdb_byte *'.  Use gdb_byte for buf.
3416         (m88k_supply_gregset): Use `gdb_byte *' for regs.
3417
3418         * vax-tdep.c (vax_return_value): Change type of readbuf and
3419         writebuf arguments to `gdb_byte *'.
3420
3421         * amd64-tdep.c (amd64_return_value): Change type of readbuf and
3422         writebuf arguments to `gdb_byte *'.  Remove now redundant casts.
3423         * i386-tdep.c (i386_return_value): Change type of readbuf and
3424         writebuf arguments to `gdb_byte *'.
3425         (i386_pseudo_register_read, i386_pseudo_register_write): Change
3426         type of last argument to `gdb_byte *'.
3427         (i386_register_to_value, i386_value_to_register): Change type of
3428         last argument to `gdb_byte *'.  Simplify function a bit.
3429         * i387-tdep.h (i387_value_to_register, i387_register_to_value):
3430         Change type of last argument to `gdb_byte *'.
3431         * i387-tdep.c: Likewise.
3432
3433 2005-05-13  Andrew Cagney  <cagney@gnu.org>
3434
3435         * gdbarch.sh (pseudo_register_read, pseudo_register_write)
3436         (value_to_register, register_to_value, pointer_to_address)
3437         (address_to_pointer, return_value, extract_return_value)
3438         (store_return_value): Instead of a void pointer, use gdb_byte.
3439         * gdbarch.h, gdbarch.c: Regenerate.
3440         * inferior.h (unsigned_address_to_pointer)
3441         (signed_pointer_to_address, address_to_signed_pointer)
3442         (unsigned_pointer_to_address): Update.
3443         * arch-utils.h (legacy_return_value):
3444         * arch-utils.c (legacy_extract_return_value)
3445         (legacy_return_value): Update.
3446         * findvar.c (unsigned_pointer_to_address)
3447         (signed_pointer_to_address, unsigned_address_to_pointer)
3448         (address_to_signed_pointer): Update.
3449
3450 2005-05-13  Orjan Friberg  <orjanf@axis.com>
3451
3452         * cris-tdep.c (_initialize_cris_tdep): Improve help strings for
3453         cris-version, cris-mode, and cris-dwarf2-cfi settings.
3454
3455 2005-05-13  Orjan Friberg  <orjanf@axis.com>
3456
3457         * cris-tdep.c (usr_cmd_cris_version): Change type to int.
3458         (cris_mode_normal, cris_mode_guru, cris_modes, usr_cmd_cris_mode): Add.
3459         (struct gdbarch_tdep): Change type of cris_version to int.  Add
3460         cris_mode.
3461         (cris_mode, set_cris_mode): New functions.
3462         (crisv32_single_step_through_delay): Read from NRP register instead
3463         of ERP register in guru mode.
3464         (cris_breakpoint_from_pc): Rename break_insn to break8_insn.
3465         Add break15_insn, returned in guru mode.
3466         (_initialize_cris_tdep): Add call to add_setshow_enum_cmd for new
3467         cris-mode setting.
3468         (cris_dump_tdep): Add dump of cris_mode.
3469         (cris_gdbarch_init): Add cris_mode to search criteria for architecture.
3470         Register the sigtramp frame sniffer only if not in guru mode.
3471
3472 2005-05-13  Eli Zaretskii  <eliz@gnu.org>
3473
3474         * Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.
3475
3476         * go32-nat.c: Include top.h.  Update copyright years.
3477         (init_go32_ops): Override the default value of gdbinit[] with
3478         "gdb.ini".
3479
3480         * cli/cli-cmds.c: Don't define GDBINIT_FILENAME.
3481         (init_cli_cmds): Use gdbinit[] instead of a compile-time literal
3482         string GDBINIT_FILENAME.
3483
3484         * top.c (PATH_MAX): Define if not defined.
3485         (gdbinit): Declare with a constant size PATH_MAX.
3486
3487         * config/i386/go32.mh (XM_FILE): Remove.
3488
3489         * config/i386/xm-go32.h: Remove file.
3490
3491 2005-05-12  Mark Kettenis  <kettenis@gnu.org>
3492
3493         * sol-thread.c: Include "solib.h".
3494         (sol_thread_attach): Use solib_add instead of SOLIB_ADD.
3495         * Makefile.in (sol-thread.o): Update dependencies.
3496
3497         * NEWS: Mention OpenBSD/mips64 as a new native configuration.
3498
3499 2005-05-12  Eli Zaretskii  <eliz@gnu.org>
3500
3501         * observer.sh (texi) [DJGPP]: If the file name includes a colon,
3502         convert it to the /dev/x/ form.
3503
3504 2005-05-12  Mark Kettenis  <kettenis@gnu.org>
3505
3506         * solib.h (CLEAR_SOLIB, SOLIB_ADD)
3507         (SOLIB_CREATE_INFERIOR_HOOK, SOLIB_REMOVE_INFERIOR_HOOK)
3508         (SOLIB_IN_DYNAMIC_LINKER, SOLIB_RESTART)
3509         (DISABLE_UNSETTABLE_BREAK, PC_SOLIB)
3510         (IN_SOLIB_DYNSYM_RESOLVE_CODE): Remove defines and orphaned
3511         comments.
3512         * breakpoint.c: Include "solib.h".
3513         (insert_bp_location) [!DISABLE_UNSETTABLE_BREAK]: Call
3514         solib_address.
3515         (remove_solib_event_breakpoints, create_solib_event_breakpoint)
3516         (disable_breakpoints_in_shlibs)
3517         (disable_breakpoints_in_unloaded_shlib)
3518         (re_enable_breakpoints_in_shlibs): Compile if SOLIB_ADD isn't
3519         defined. If PC_SOLIB isn't defined, call solib_address.
3520         (_initialize_breakpoint): Unconditionally install observer.
3521         * corelow.c: Include "solib.h".
3522         [SOLIB_ADD] (solib_add_stub): Remove prototype.
3523         (core_close) [!CLEAR_SOLIB]: Call clear_solib.
3524         (solib_add_stub) [!SOLIB_ADD] Call solib_add.
3525         (core_open): Unconditionally call solib_add_stub.
3526         * fork-child.c: Include "solib.h".
3527         (fork_inferior) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
3528         solib_create_inferior_hook.
3529         * infcmd.c: Include "solib.h".
3530         (attach_command) [!SOLIB_ADD]: Call shlib_rescan.  Unconditionally
3531         call re_enable_breakpoints_in_shlibs.
3532         * infrun.c: Include "solib.h".
3533         (SOLIB_IN_SYNSYM_RESOLVE_CODE): Don't define if not already
3534         defined.
3535         (stop_on_solib_events, show_stop_on_solib_events): Include
3536         unconditionally.
3537         (follow_exec) [!SOLIB_CREATE_INFERIOR_HOOK]: Call
3538         solib_create_inferior_hook.
3539         (handle_inferior_event) [!SOLIB_ADD]: Call shlib_add.
3540         [!IN_SOLIB_DYNSYM_RESOLVE_CODE]: Call in_solib_dynsym_resolve_code.
3541         (_initialize_infrun): Unconditionally add "stop_on_solib-events"
3542         command.
3543         * remote.c: Include "solib.h".
3544         (remote_open_1): Unconditionally call no_shared_libraries.
3545         [!SOLIB_CREATE_INFERIOR_HOOK] Call solib_create_inferior_hook.
3546         * stack.c: Include "solib.h".
3547         (print_frame) [!PC_SOLIB] Call shlib_for_pc.
3548         * xcoffsolib.c (no_shared_libraries): Remove function.
3549         * Makefile.in (SFILES): Add solib.c.
3550         (ALLDEPFILES): Remove solib.c.
3551         (COMMON_OBS): Add solib.o.
3552         (breakpoint.o, corelow.o, fork-chiled.o, infcmd.o, infrun.o)
3553         (remote.o, stack.o): Update dependencies.
3554
3555 2005-05-12  Daniel Jacobowitz  <dan@codesourcery.com>
3556
3557         * cp-names.y: Renamed to ...
3558         * cp-name-parser.y: ... this.
3559         * Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to
3560         cp-name-parser.y.
3561         (test-cp-names.o): Renamed to test-cp-name-parser.o.
3562         (test-cp-names): Renamed to test-cp-name-parser.
3563         (clean, local-maintainer-clean): Update.
3564         (cp-names.o): Renamed to cp-name-parser.o.
3565
3566 2005-05-12  Eli Zaretskii  <eliz@gnu.org>
3567
3568         * observer.sh: Use observer.tmp instead of observer.inc-tmp which
3569         on 8+3 filesystems overwrites observer.inc.  Update copyright year
3570         of the resultant file.
3571
3572         * gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
3573         is_gnu_v3_mangled_ctor to avoid compiler warnings.
3574
3575         * config/djgpp/config.sed: Adapt to latest Autoconf.
3576
3577         * config/djgpp/djconfig.sh: Add -Wpointer-arith and
3578         -Wuninitialized to the build warnings.
3579
3580 2005-05-11  Eli Zaretskii  <eliz@gnu.org>
3581
3582         * config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,
3583         ChangeLog-2004, reg-cris*.dat, dw2-intermix.*, semcris*-switch.c.
3584         Fix mappings for hilo-hazard-?.s.
3585
3586         * config/djgpp/README: Update GDB versions and my email address.
3587
3588 2005-05-09  Andrew Cagney  <cagney@gnu.org>
3589
3590         Use gdb_byte in preference to bfd_byte.
3591         * gdbarch.sh: Update.
3592         * gdbarch.h, gdbarch.c: Re-generate.
3593         * ada-lang.c, ada-lang.h, ada-valprint.c, arch-utils.c: Update.
3594         * c-lang.c, c-lang.h, c-valprint.c, cp-valprint.c: Update.
3595         * f-lang.c, f-lang.h, f-valprint.c, gdbcore.h, jv-lang.h: Update.
3596         * jv-valprint.c, language.c, language.h, m2-lang.c: Update.
3597         * m2-lang.h, m2-valprint.c, objc-lang.c, p-lang.c: Update.
3598         * p-lang.h, p-valprint.c, regcache.c, scm-lang.c: Update.
3599         * scm-lang.h, scm-valprint.c, target.c, target.h: Update.
3600         * tramp-frame.c, valarith.c, valops.c, valprint.c: Update.
3601         * valprint.h, value.c, value.h: Update.
3602
3603 2005-05-09  Mark Kettenis  <kettenis@gnu.org>
3604
3605         * vaxbsd-nat.c (vaxbsd_supply_gregset, vaxbsd_collect_gregset):
3606         Use `gdb_byte *' for regs.
3607         * vax-tdep.c (vax_supply_gregset): Use `gdb_byte *' for regs;
3608         (vax_store_arguments, vax_push_dummy_call, vax_return_value): Use
3609         gdb_byte for buf.
3610         (vax_breakpoint_from_pc): Change return type to `const gdb_byte
3611         *'.  Use gdb_byte for break_insn.
3612         (vax_skip_prologue): Use gdb_byte for op.
3613
3614         * i387-tdep.c: Remove outdated comments.
3615
3616         * defs.h: Unconditionally include <sys/types.h>.
3617
3618 2005-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
3619
3620         * mips-tdep.c (mips_stub_frame_sniffer): Handle .MIPS.stubs
3621         section like .plt.
3622
3623 2005-05-08  Mark Kettenis  <kettenis@gnu.org>
3624
3625         * i386-linux-tdep.c (linux_sigtramp_code, linux_rt_sigtramp_code):
3626         Change type to `static const gdb_byte'.
3627         (i386_linux_sigtramp_start, i386_linux_rt_sigtramp_start)
3628         (i386_linux_sigcontext_addr): Use gdb_byte for buf.
3629         * amd64-linux-tdep.c (linux_sigtramp_code): Change type to `static
3630         const gdb_byte'.
3631         (amd64_linux_sigtramp_start, amd64_linux_sigcontext_addr): Use
3632         gdb_byte for buf.
3633         * amd64fbsd-tdep.c (amd64fbsd_supply_uthread)
3634         (amd64fbsd_collect_uthread): Use gdb_byte for buf.
3635
3636         * config/ia64/nm-aix.h: Remove file.
3637
3638         * amd64-tdep.c (amd64_return_value): Use `gdb_byte *' in casts.
3639         (amd64_push_arguments): Use gdb_byte instead of bfd_byte.  Use
3640         gdb_byte for buf.
3641         (amd64_push_dummy_call): Use gdb_byte for buf.
3642         (amd64_analyze_prologue): Use gdb_byte for proto, buf and op.
3643         (amd64_frame_cache, amd64_sigtramp_frame_cache)
3644         (amd64_unwind_dummy_id): Use gdb_byte for buf.
3645         (amd64_supply_fxsave, amd64_collect_fxsave): Use `gdb_byte *' for
3646         regs.
3647         * amd64obsd-tdep.c (amd64obsd_supply_regset): Use `gdb_byte *' in
3648         casts.
3649         (amd64obsd_sigtramp_p): Use gdb_byte for sigreturn and `gdb_byte
3650         *' for buf,
3651
3652         * i386-tdep.c (i386_breakpoint_from_pc): Change return type to
3653         `const gdb_byte *'.  Use gdb_byte for break_insn.
3654         (i386_follow_jump): Use gdb_byte for op.
3655         (i386_analyze_struct_return): Use gdb_byte for proto1, proto2, buf
3656         and op.
3657         (i386_skip_probe): Use gdb_byte for buf and op.
3658         (struct i386_insn): Use gdb_byte for insn and mask.
3659         (i386_match_insn, i386_analyze_frame_setup)
3660         (i386_analyze_register_saves): Use gdb_byte for op.
3661         (i386_skip_prologue): Use gdb_byte for pic_pat and op;
3662         (i386_unwind_pc, i386_frame_cache, i386_sigtramp_frame_cache)
3663         (i386_unwind_dummy_id, i386_get_longjmp_target): Use gdb_byte for
3664         buf.
3665         (i386_extract_return_value, i386_store_return_value): Use
3666         `gdb_byte *' instead of `void *' for valbuf argument.  Remove now
3667         redundant cast.
3668         (i386_pseudo_register_read, i386_pseudo_register_write): Use
3669         gdb_byte for mmx_buf.
3670         (i386_register_to_value, i386_value_to_register): Use `gdb_byte *'
3671         instead of `char *' for buf.
3672         (i386_supply_gregset, i386_collect_gregset): Use `gdb_byte *'
3673         instead of `char *' for regs.
3674         (i386_svr4_sigcontext_addr): Use gdb_byte for buf.
3675         * i386obsd-tdep.c (i386obsd_sigtramp_p): Use gdb_byte for
3676         sigreturn and `gdb_byte *' for buf.
3677         (i386obsd_aout_supply_regset): Use `const gdb_byte *' in cast.
3678         (i386obsd_supply_uthread, i386obsd_collect_uthread): Use gdb_byte
3679         for buf.
3680         * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use gdb_byte for buf.
3681
3682         * defs.h (gdb_byte): New typedef.  Tweak comments.
3683
3684         * target.h (target_link): Remove prototype.
3685         * target.c (target_link): Remove function.
3686         * symfile.c: Remove comment about rombug.
3687
3688 2005-05-04  Mark Kettenis  <kettenis@gnu.org>
3689
3690         * config/i386/cygwin.mh (XM_FILE): Remove variable.
3691         * config/i386/xm-cygwin.h: Remove file.
3692
3693 2005-05-03  Ben Elliston  <bje@au.ibm.com>
3694
3695         * infrun.c (handle_inferior_event): Update the comment about users
3696         of stepped_after_stopped_by_watchpoint.
3697
3698 2005-05-02  Corinna Vinschen  <vinschen@redhat.com>
3699
3700         * MAINTAINERS: Remove hint that sh64 doesn't build.
3701         * sh64-tdep.c (sh64_push_dummy_call): Cast buf in call to write_memory.
3702         (sh64_do_fp_register): make raw_buffer unsigned.
3703         (sh64_do_register): Ditto.
3704
3705 2005-05-02  Mark Kettenis  <kettenis@gnu.org>
3706
3707         * bsd-uthread.c: Include "solib.h".
3708         * Makefile.in (bsd-uthread.o): Update dependencies.
3709
3710 2005-05-01  Daniel Jacobowitz  <dan@codesourcery.com>
3711
3712         * gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush
3713         cached frames when changing gdbarch.
3714         * gdbarch.c: Regenerated.
3715
3716 2005-05-01  Andrew Cagney  <cagney@gnu.org>
3717
3718         * MAINTAINERS: Note that cris, m68k, mn10300, sh64, sparc and vax
3719         do not build.
3720
3721         * gdbarch.sh (deprecated_extract_return_value)
3722         (breakpoint_from_pc, deprecated_store_return_value)
3723         (memory_insert_breakpoint, memory_remove_breakpoint): Change type
3724         of buffer to a bfd_byte pointer.
3725         * gdbarch.h, gdbarch.c: Re-generate.
3726         * mem-break.c (memory_insert_breakpoint)
3727         (memory_remove_breakpoint, default_memory_insert_breakpoint)
3728         (default_memory_remove_breakpoint): Update.
3729         * target.h (memory_insert_breakpoint)
3730         (memory_remove_breakpoint, default_memory_insert_breakpoint)
3731         (default_memory_remove_breakpoint): Update declarations.
3732         (struct target_ops): Update to_insert_breakpoint and
3733         to_remove_breakpoint.
3734         * target.c (debug_to_remove_breakpoint)
3735         (debug_to_insert_breakpoint): Update.
3736         * remote-m32r-sdi.c (m32r_remove_breakpoint)
3737         (m32r_insert_breakpoint): Update.
3738         * m32r-tdep.c (m32r_memory_insert_breakpoint)
3739         (m32r_memory_remove_breakpoint): Update.
3740         * remote-e7000.c (e7000_insert_breakpoint)
3741         (e7000_remove_breakpoint): Update.
3742         * remote-rdi.c (arm_rdi_insert_breakpoint)
3743         (arm_rdi_remove_breakpoint): Update.
3744         * remote-sim.c (gdbsim_insert_breakpoint)
3745         (gdbsim_remove_breakpoint): Update.
3746         * exec.c (ignore): Update.
3747         * rs6000-tdep.c (rs6000_extract_return_value): Update.
3748         * ia64-tdep.c (ia64_memory_insert_breakpoint)
3749         (ia64_memory_remove_breakpoint): Update.
3750         * remote-rdp.c (remote_rdp_insert_breakpoint)
3751         (remote_rdp_remove_breakpoint): Update.
3752
3753 2005-05-01  Mark Kettenis  <kettenis@gnu.org>
3754
3755         * somsolib.c, somsolib.h: Remove files.
3756         * Makefile.in (somsolib_h): Remove.
3757         (somsolib.o): Remove dependency.
3758
3759         * fbsd-nat.c: Include <sys/sysctl.h>.
3760         (fbsd_pid_to_exec_file): Use KERN_PROC_PATHNAME sysctl if
3761         available.  Plug memory leak.  Fixes PR gdb/1922.
3762
3763 2005-04-29  Mark Kettenis  <kettenis@gnu.org>
3764
3765         * solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)
3766         (TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK)
3767         (TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS)
3768         (TARGET_SO_OPEN_SYMBOL_FILE_OBJECT): Remove defines.
3769         * solib.c (solib_data): New variable.
3770         (solib_init, solib_ops): New functions.
3771         (solib_open, solib_map_sections, free_so, update_solib_list)
3772         (solib_add, clear_solib, solib_create_inferior_hook)
3773         (in_solib_dynsym_resolve_code): Call architecture-dependent code
3774         using solib_ops.
3775         (_initialize_solib): Register SOLIB_DATA.
3776
3777 2005-04-29  Kevin Buettner  <kevinb@redhat.com>
3778
3779         * frv-tdep.c (find_func_descr): Verify that entry point can be
3780         found in symbol table prior to looking up its function descriptor.
3781         * solib-frv.c (find_canonical_descriptor_in_load_object): Add
3782         test for non-NULL link map.
3783
3784 2005-04-29  Corinna Vinschen  <vinschen@redhat.com>
3785
3786         * MAINTAINERS: Revert h8300 state to un-deleted.
3787         * Makefile.in: Re-add h8300-tdep.o dependencies.
3788         * h8300-tdep.c: Slightly rearrange type definitions and functions.
3789         (struct frame_extra_info): Remove.
3790         (struct h8300_frame_cache): Replace locals with differently defined
3791         uses_fp member.
3792         (h8300_unwind_pc): Simplify.
3793         (h8300_unwind_sp): New function.
3794         (h8300_unwind_dummy_id): Simplify.
3795         (h8300_init_frame_cache): New function.
3796         (h8300_is_argument_spill): Use reworked defines for opcode scanning.
3797         (h8300_skip_prologue): Rewrite.
3798         (h8300_alloc_frame_cache): Remove.
3799         (h8300_analyze_frame_setup): Remove.
3800         (h8300_analyze_register_saves): Remove.
3801         (h8300_analyze_prologue): Rewrite.
3802         (h8300_frame_cache): Use h8300_init_frame_cache instead of
3803         h8300_alloc_frame_cache.  Use BINWORD instead of constant 4 to
3804         accomodate 16 bit mode.  Fix saved_sp and register offset evaluation.
3805         (h8300_frame_this_id): Correctly calculate this_id using saved stack
3806         pointer instead of base.
3807         (h8300_frame_prev_register): Drop needless braces.
3808         (h8300_frame_base_address): New function.
3809         (h8300_frame_base): New frame_base.
3810         (h8300_push_dummy_call): Return correct CFA value.
3811         (h8300h_extract_return_value): Fix 8 byte value handling.
3812         (h8300_use_struct_convention): New function.
3813         (h8300h_use_struct_convention): New function.
3814         (h8300h_store_return_value): Fix 8 byte value handling.
3815         (h8300_return_value): New function.
3816         (h8300h_return_value): New function.
3817         (h8300_extract_struct_value_address): Remove deprecated functionality.
3818         (h8300_push_dummy_code): Remove.
3819         (h8300_gdbarch_init): Replace set_gdbarch_extract_return_value and
3820         set_gdbarch_store_return_value calls by set_gdbarch_return_value.
3821         Remove calls to set_gdbarch_deprecated_fp_regnum,
3822         set_gdbarch_deprecated_extract_struct_value_address,
3823         set_gdbarch_deprecated_use_struct_convention and
3824         set_gdbarch_push_dummy_code.
3825         Add calls to set_gdbarch_unwind_sp and frame_base_set_default.
3826         Slightly rearrange code.
3827
3828 2005-04-28  Jim Blandy  <jimb@redhat.com>
3829
3830         * parse.c (namecopy): Change allocation conventions.
3831         (namecopy_size): New variable.
3832         (copy_name): Allocate namecopy using xrealloc, instead of assuming
3833         it has adequate space allocated to it.
3834         (parse_exp_1): Don't try to allocate space for namecopy here.
3835
3836 2005-04-28  Eli Zaretskii  <eliz@gnu.org>
3837
3838         * cli/cli-cmds.c (edit_command): If symtab->fullname is not yet
3839         set, use symtab_to_fullname, instead of trying to do its job.  Use
3840         xstrprintf instead of malloc and sprintf.
3841
3842 2005-04-28  Kevin Buettner  <kevinb@redhat.com>
3843
3844         * remote.c (init_remote_state): Eliminate use of
3845         deprecated_register_bytes().
3846
3847 2005-04-28  Andrew Cagney  <cagney@gnu.org>
3848
3849         * valops.c (check_field): Make buffer a bfd_byte.
3850         * value.c (unpack_long, unpack_double, unpack_pointer)
3851         (unpack_field_as_long, modify_field): Ditto.
3852         * value.h: Update declarations.
3853
3854 2005-04-28  Paul Brook  <paul@codesourcery.com>
3855
3856         * exceptions.c (print_flush): Handle NULL gdb_stdout_serial.
3857
3858 2005-04-27  Mark Kettenis  <kettenis@gnu.org>
3859
3860         * solib-svr4.c (_initialize_svr4_solib)
3861         [SVR4_FETCH_LINK_MAP_OFFSETS]: Don't set non-existent variable
3862         svr4_legacy_fetch_link_map_offsets.
3863
3864         * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): Remove function.
3865         (sh_gdbarch_init): Remove redundant prototype.
3866         * sh-linux-tdep.c: New file.
3867         * config/sh/tm-linux.h (sh_linux_svr4_fetch_link_map_offsets):
3868         Remove prototype.
3869         (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define.
3870         * config/sh/linux.mt (TDEPFILES): Add sh64-tdep.o, remove
3871         solib-legacy.o.
3872         * Makefile.in (sh-linux-tdep.o): New.
3873
3874         * solib-svr4.c: Update copyright year.  Include "gdb_assert.h".
3875         (SVR4_FETCH_LINK_MAP_OFFSETS): Don't define if not already
3876         defined.
3877         (legacy_fetch_link_map_offsets): Remove prototype.
3878         (fetch_link_map_offsets_gdbarch_data): Remove.
3879         (LM_ADDR, LM_NEXT, IGNORE_FIRST_LINK_MAP_ENTRY)
3880         (first_link_map_member, open_symbol_file_object, svr4_current_sos)
3881         (svr4_fetch_objfile_link_map): Call svr4_fetch_link_map_offsets
3882         instead of SVR4_FETCH_LINK_MAP_OFFSETS.
3883         (solib_svr4_data): New variable.
3884         (struct solib_svr4_ops): New.
3885         (solib_svr4_init): New fynction.
3886         (legacy_fetch_link_map_offsets, init_fetch_link_map_offsets):
3887         Remove functions.
3888         (svr4_fetch_link_map_offsets, svr4_have_link_map_offsets): Rewrite
3889         using the new `struct solib_svr4_ops'.
3890         (_initialize_svr4_solib): Replace registration of per-architecture
3891         data.  Add temporary hack to set
3892         svr4_legacy_fetch_link_map_offsets if SVR4_FETCH_LINK_MAP_OFFSETS
3893         is set.
3894         * Makefile.in (solib-svr4.o): Update dependencies.
3895
3896 2005-04-26  Mark Kettenis  <kettenis@gnu.org>
3897
3898         * configure.tgt (*-*-freebsd*): Set gdb_osabi to
3899         GDB_OSABI_FREEBSD_ELF.  Partial fix for PR gdb/1922.
3900
3901 2005-04-26  Andrew Cagney  <cagney@gnu.org>
3902
3903         * remote.c (remote_open_1): Move "ex"'s declaration to where it is
3904         used.
3905         (remote_get_thread_local_address): Use throw_error, include a
3906         printed string.
3907         * linux-thread-db.c (thread_db_get_thread_local_address): Ditto.
3908         * dwarf2loc.c (dwarf_expr_tls_address): Ditto.
3909         * cli/cli-script.c (script_from_file): Mark up throw_error message.
3910         * linespec.c (symtab_from_filename, decode_variable): Ditto.
3911
3912 2005-04-26  Andrew Cagney  <cagney@gnu.org>
3913
3914         Rename 'struct exception' to 'struct gdb_exception'.
3915         * wrapper.c: Update.
3916         * varobj.c: Update.
3917         * tui/tui-interp.c: Update.
3918         * remote.c: Update.
3919         * mi/mi-main.c: Update.
3920         * mi/mi-interp.c: Update.
3921         * linux-thread-db.c: Update.
3922         * interps.h: Update.
3923         * interps.c: Update.
3924         * exceptions.h: Update.
3925         * exceptions.c: Update.
3926         * dwarf2loc.c: Update.
3927         * cli/cli-interp.c: Update.
3928         * cli/cli-script.c: Update.
3929         * breakpoint.c: Update.
3930
3931 2005-04-25  Mark Mitchell  <mark@codesourcery.com>
3932
3933         * event-loop.c (gdb_select): Program defensively.
3934
3935         * event-loop.c (gdb_assert.h): Include.
3936         (<windows.h>): Include under Windows.
3937         (<io.h>): Likeiwse.
3938         (gdb_select): New function.
3939         (gdb_wait_for_event): Use it.
3940         * Makefile.in (event-loop.o): Depend on $(gdb_assert_h).
3941
3942 2005-04-23  Mark Kettenis  <kettenis@gnu.org>
3943
3944         * sparc64-tdep.c: Include "dwarf2-frame.h".
3945         (sparc64_dwarf2_frame_init_reg): New function.
3946         * Makefile.in (sparc64-tdep.o): Update dependencies.
3947
3948 2005-04-22  David S. Miller  <davem@davemloft.net>
3949
3950         * sparc64-linux-tdep.c (sparc64_linux_init_abi): Add call to
3951         sparc64_init_abi().
3952
3953 2005-04-22  Mark Kettenis  <kettenis@gnu.org>
3954
3955         * ser-base.c: Include "ser-base.h" instead of "ser-unix.h".
3956
3957 2005-04-22  Mark Mitchell  <mark@codesourcery.com>
3958
3959         * ser-base.c (<sys/time.h>): Include.
3960
3961 2005-04-22  Mark Kettenis  <kettenis@gnu.org>
3962
3963         * ppcobsd-tdep.c (ppcobsd_init_abi): Set return_value.
3964
3965         * sparc-linux-tdep.c: Reorder includes.  Tweak a few comments.
3966         (LINUX32_SIGTRAMP_INSN0, LINUX32_SIGTRAMP_INSN1)
3967         (LINUX32_RT_SIGTRAMP_INSN0, LINUX32_RT_SIGTRAMP_INSN1): Remove
3968         macros.
3969         (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): Hardcode
3970         instructions.
3971         * sparc64-linux-tdep.c: Reorder includes.  Tweak a few comments.
3972         (LINUX64_RT_SIGTRAMP_INSN0, LINUX64_RT_SIGTRAMP_INSN1): Remove
3973         macros.
3974         (sparc64_linux_rt_sigframe): Hardcode instructions.
3975         * Makefile.in (sparc-linux-tdep.o, sparc64-linux-tdep.o): Update
3976         dependencies.
3977
3978         * sparc-linux-tdep.c: Update copyright year.
3979         (sparc32_linux_init_abi): Set skip_trampoline_code and
3980         solib_svr4_fetch_link_map_offsets.  Set TDEP->plt_entry_size.
3981         Don't set software_single_step and don't call
3982         sparc32_sol2_init_abi.
3983         * sparc64-linux-tdep.c: Update copyright year.
3984         (sparc64_linux_init_abi): Set skip_trampoline_code and
3985         solib_svr4_fetch_link_map_offsets.  Set TDEP->plt_entry_size.
3986         Don't set software_single_step and don't call
3987         sparc64_sol2_init_abi.
3988
3989 2005-04-22  Eli Zaretskii  <eliz@gnu.org>
3990
3991         * remote-st.c (_initialize_remote_st2000): Remove the extraneous
3992         "<command>" string from the call to add_com.
3993
3994         * remote-sim.c (_initialize_remote_sim): Ditto.
3995
3996         * remote-utils.c (_initialize_sr_support): Ditto.
3997
3998         * remote-mips.c (_initialize_remote_mips): Ditto.
3999
4000 2005-04-21  David S. Miller  <davem@davemloft.net>
4001
4002         * sparc-linux-tdep.c (sparc32_linux_sigframe_init): New function.
4003         (sparc32_linux_sigframe, sparc32_linux_rt_sigframe): New tramp_frames.
4004         (sparc_linux_sigtramp_start, sparc32_linux_sigtramp_start,
4005         sparc32_linux_rt_sigtramp_start, sparc32_linux_sigtramp_p,
4006         sparc32_linux_sigtramp_frame_cache,
4007         sparc32_linux_sigtramp_frame_this_id,
4008         sparc32_linux_sigtramp_frame_prev_register,
4009         sparc32_linux_sigtramp_frame_unwind,
4010         sparc32_linux_sigtramp_frame_sniffer): Delete.
4011         (sparc32_linux_init_abi): Register new tramp unwinders.  Kill
4012         register of old sigtramp sniffer.
4013         * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): New
4014         function.
4015         (sparc64_linux_rt_sigframe): New tramp frame.
4016         (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
4017         sparc64_linux_sigtramp_frame_cache,
4018         sparc64_linux_sigtramp_frame_this_id,
4019         sparc64_linux_sigtramp_frame_prev_register,
4020         sparc64_linux_sigtramp_frame_unwind,
4021         sparc64_linux_sigtramp_frame_sniffer): Delete.
4022         (sparc64_linux_init_abi): Register new tramp unwinders.  Kill
4023         register of old sigtramp sniffer.
4024         Makefile.in (sparc64-linux-tdep.o): Update dependencies.
4025         (sparc-linux-tdep.o): Likewise.
4026
4027 2005-04-21  Mark Kettenis  <kettenis@gnu.org>
4028
4029         * ser-base.c: Include "gdb_string.h".
4030         * Makefile.in (ser-base.o): Update dependencies.
4031
4032 2005-04-20  David S. Miller  <davem@davemloft.net>
4033
4034         * sparc-linux-tdep.c (sparc32_linux_sigtramp_p): Fix
4035         signal return stub symbol names, __restore and __restore_rt are
4036         the i386 symbol names not the sparc ones.
4037         (sparc32_linux_sigtramp_frame_cache): Document bits/sigcontext.h
4038         as where the offsets were obtained from.
4039         * sparc64-linux-tdep.c (LINUX64_RT_SIGTRAMP_INSN0,
4040         LINUX64_RT_SIGTRAMP_INSN1): New defines.
4041         (sparc64_linux_sigtramp_start, sparc64_linux_sigtramp_p,
4042         sparc64_linux_sigtramp_frame_cache,
4043         sparc64_linux_sigtramp_frame_this_id,
4044         sparc64_linux_sigtramp_frame_prev_register,
4045         sparc64_linux_sigtramp_frame_sniffer): New functions.
4046         (sparc64_linux_sigtramp_frame_unwind): New frame unwinder.
4047         (sparc64_linux_init_abi): Register sigtramp frame sniffer.
4048         * Makefile.in (sparc64-linux-tdep.o): Update dependencies.
4049
4050 2005-04-20  Mark Mitchell  <mark@codesourcery.com>
4051
4052         * configure.ac: On MinGW, define USE_WIN32API and link with
4053         -lws2_32.
4054         * ser-tcp.c (<winsock2.h>): Include, for Windows.
4055         (ETIMEDOUT): Define, for Windows.
4056         (ioctl): Likewise.
4057         (closesocket): Define, for POSIX.
4058         (net_open): Adjust for differences in socket functions between
4059         Windows and UNIX.
4060         (net_close): Likweise.
4061         (net_read_prim): New function.
4062         (net_write_prim): Likewise.
4063         (_initialize_ser_tcp): Initialize winsock.  Fill in read_prim and
4064         write_prim.
4065         * ser-unix.h (ser_unix_readcchar): Remove.
4066         (ser_unix_read_prim): Declare.
4067         (ser_unix_write_prim): Likewise.
4068         * ser-unix.c (generic_readchar): Move to ser-base.c.
4069         (ser_unix_wait_for): Likewise.
4070         (do_unix_readchar): Likewise.
4071         (ser_unix_readchar): Likewise.
4072         (_initialize_ser_hardwire): Initialize read_prim and write_prim.
4073         (ser_unix_read_prim): New function.
4074         (ser_unix_write_prim): Likewise.
4075         * ser-base.h (generic_readchar): Declare.
4076         (ser_base_readchar): Likewise.
4077         * ser-base.c (<winsock2.h>): Include, for windows.
4078         (fd_event): Use the read primitive specified by the serial
4079         interface.
4080         (ser_base_wait_for): Moved from ser-unix.c
4081         (do_ser_base_read_char): Likewise.
4082         (generic_readchar): Likewise.
4083         (ser_base_readchar): Likewise.
4084         (ser_base_write): Use the write primitive specified by the serial
4085         interface.
4086         * ser-pipe.c (_initialize_ser_pipe): Use ser_base_readchar, not
4087         ser_unix_readchar.  Initialize read_prim and write_prim.
4088         * serial.c (struct serial_ops): Add read_prim and write_prim.
4089         * configure: Regenerate.
4090
4091 2005-04-19  Ben Elliston  <bje@au.ibm.com>
4092
4093         * c-lang.c (c_create_fundamental_type): Comment fix.
4094
4095 2005-04-18  Michael Snyder  <msnyder@redhat.com>
4096
4097         * mn10300-tdep.c: Assimilate code from mn10300-prologue.c.
4098         * mn10300-prologue.c: Remove.
4099         * mn10300-tdep.h: Add enums from mn10300-prologue.c.
4100         Remove prototypes.
4101         * config/mn10300/mn10300.mt: Remove mn10300-prologue module.
4102
4103 2005-04-18  Michael Snyder  <msnyder@redhat.com>
4104
4105         * config/mn10300/mn10300.mt: Add mn10300-prologue module.
4106         * ia64-tdep.c (ia64_get_dyn_info_list): Fix indent.
4107
4108 2005-04-18  Mark Kettenis  <kettenis@gnu.org>
4109
4110         * config/nm-bsd.h: Remove file.
4111
4112         * hppabsd-nat.c: Update copyright year.  Include "target.h" and
4113         "inf-ptrace.h".
4114         (hppabsd_fetch_registers): Renamed from fetch_inferior_registers;
4115         made static.
4116         (hppabsd_store_registers): Renamed from store_inferior_registers;
4117         made static.
4118         (_initialize_hppabsd_nat): New function and prototype.
4119         * config/pa/obsd.mh (NATDEPFILES): Remove infptrace.o and
4120         inftarg.o.  Add inf-ptrace.o.
4121         (NAT_FILE): Remove.
4122         * Makefile.in (hppabsd-nat.o): Update dependencies.
4123
4124 2005-04-17  Mark Kettenis  <kettenis@gnu.org>
4125
4126         * pa64solib.c, pa64solib.h: Remove files.
4127         * Makefile.in (pa64solib_h): Remove variable
4128         (pa64solib.o): Remove dependency.
4129
4130 2005-04-16  Mark Kettenis  <kettenis@gnu.org>
4131
4132         * ppcobsd-nat.c: Update copyright year.  Include "inf-ptrace.h".
4133         (ppcobsd_fetch_registers): Renamed from fetch_inferior_registers;
4134         made static.
4135         (ppcobsd_store_registers): Renamed from store_inferior_registers;
4136         made static.
4137         (_initialize_ppcobsd_nat): Construct and add target vector.
4138         * config/powerpc/obsd.mh (NATDEPFILES): Remove infptrace.o and
4139         inftarg.o.  Add inf-ptrace.o.
4140         (NAT_FILE): Remove.
4141         * Makefile.in (ppcobsd-nat.o): Update dependencies.
4142
4143         * ppcobsd-tdep.c: Include "floatformat.h".
4144         (ppcobsd_init_abi): Set long_double_bit and long_double_format.
4145         * Makefile.in (ppcobsd-tdep.o): Update dependencies.
4146
4147         * ppcobsd-tdep.c: Fix typo in comment.
4148         (_initialize_ppcobsd_tdep): Register GDB_OSABI_OPENBSD_ELF for
4149         bfd_arch_rs6000 too.
4150
4151 2005-04-15  Kevin Buettner  <kevinb@redhat.com>
4152
4153         * remote.c (remote_get_thread_local_address): Throw a more
4154         meaningful exception when remote target doesn't have support
4155         for the qGetTLSAddr packet.
4156
4157 2005-04-15  Kevin Buettner  <kevinb@redhat.com>
4158
4159         * remote.c (remote_protocol_qGetTLSAddr): New static global variable.
4160         (set_remote_protocol_qGetTLSAddr_packet_cmd)
4161         (show_remote_protocol_qGetTLSAddr_packet_cmd)
4162         (remote_get_thread_local_address): New functions.
4163         (init_all_packet_configs): Initialize remote_protocol_qGetTLSAddr
4164         variable.
4165         (init_remote_ops): Initialize ``to_get_thread_local_address'' in
4166         target vector.
4167         (show_remote_cmd): Call show_remote_protocol_qGetTLS_Addr_packet_cmd().
4168         (_initialize_remote):  Register the following commands:
4169         "set remote get-thread-local-storage-address-packet" and
4170         "show remote get-thread-local-address-packet".
4171
4172 2005-04-15  Kevin Buettner  <kevinb@redhat.com>
4173
4174         * remote.c (add_packet_config_cmd): Delete unused variables.
4175
4176 2005-04-15  Kevin Buettner  <kevinb@redhat.com>
4177
4178         * remote.c (show_remote_protocol_vcont_packet_cmd )
4179         (show_remote_protocol_qSymbol_packet_cmd)
4180         (show_remote_protocol_P_packet_cmd)
4181         (show_remote_protocol_Z_software_bp_packet_cmd)
4182         (show_remote_protocol_Z_hardware_bp_packet_cmd)
4183         (show_remote_protocol_Z_write_wp_packet_cmd)
4184         (show_remote_protocol_Z_read_wp_packet_cmd)
4185         (show_remote_protocol_Z_access_wp_packet_cmd)
4186         (show_remote_protocol_binary_download_cmd)
4187         (show_remote_protocol_qPart_auxv_packet_cmd)
4188         (show_remote_protocol_p_packet_cmd ): Delete calls to
4189         deprecated_show_value_hack().
4190
4191 2005-04-15  Corinna VInschen  <vinschen@redhat.com>
4192
4193         * MAINTAINERS: Change sh64-elf state to non-broken.
4194         * Makefile.in: Fix dependencies for sh64-tdep.o.
4195         * configure.tgt: Add sh64-*-elf case.
4196         * sh-tdep.c (sh_gdbarch_init): Reactivate bfd_mach_sh5 case.
4197         * sh64-tdep.c: Rework to replace all deprecated mechanisms with
4198         modern methods.
4199         * config/sh/embed.mt (TDEPFILES): Add sh64-tdep.o.
4200         * config/sh/sh64.mt: Resurrect.
4201
4202 2005-04-15  Kei Sakamoto <sakamoto.kei@renesas.com>
4203
4204         * regformats/reg-m32r.dat: New file.
4205
4206 2005-04-14  Daniel Jacobowitz  <dan@codesourcery.com>
4207
4208         * arm-tdep.c (fp_model_strings): Add terminating NULL.
4209         (arm_abi_strings, arm_abi_global, arm_abi_string): New
4210         variables.
4211         (arm_extract_return_value, arm_store_return_value): Don't use
4212         arm_get_fp_model.
4213         (arm_get_fp_model, arm_set_fp): Delete.
4214         (arm_update_current_architecture): New function.
4215         (set_fp_model_sfunc): Call arm_update_current_architecture.
4216         (show_fp_model): Update output messages.
4217         (arm_set_abi, arm_show_abi): New functions.
4218         (arm_elf_osabi_sniffer): Only handle ELFOSABI_ARM.
4219         (arm_gdbarch_init): Infer the object's ABI separately from its
4220         OSABI.  Search for a matching architecture.  Honor the global
4221         ABI and FPU settings.  Set floating point format based on the
4222         architecture.
4223         (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs):
4224         Delete.
4225         (_initialize_arm_tdep): Don't call gdbarch_register_osabi.
4226         Create "arm set abi" command.
4227         * arm-tdep.h (arm_get_fp_model): Delete prototype.
4228         (enum arm_abi_kind): New type.
4229         (struct gdbarch_tdep): Add arm_abi field.
4230         * arm-linux-tdep.c (arm_linux_init_abi): Only override
4231         tdep->fp_model if it is ARM_FLOAT_AUTO.
4232         * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Likewise.
4233         (arm_netbsd_elf_init_abi): Likewise.
4234         * defs.h (enum gdb_osabi): Delete ARM-specific OSABIs.
4235         * osabi.c (gdb_osabi_name): Likewise.
4236
4237 2005-04-11  Daniel Jacobowitz  <dan@codesourcery.com>
4238
4239         * config/djgpp/fnchange.lst: Remove entries for gdb.gdbserver.
4240
4241 2005-04-10  Mark Kettenis  <kettenis@gnu.org>
4242
4243         * rs6000-tdep.c (ppc_supply_fpregset): Increment offset by 8 for
4244         floating-point registers.
4245         (ppc_collect_fpregset): Likewise.  Fix collection of registers.
4246
4247 2005-04-09  Mark Kettenis  <kettenis@gnu.org>
4248
4249         * ppcobsd-tdep.c: Update copyright year.  Include "trad-frame.h"
4250         and "tramp-frame.h".
4251         (ppcobsd_sigtramp_cache_init): New function.
4252         (ppcobsd_sigtramp): New variable.
4253         (ppcobsd_init_abi): Prepend signal trampoline unwinder.
4254         * Makefile.in (ppcobsd-tdep.o): Update dependencies.
4255
4256 2005-04-08  Andrew Cagney  <cagney@gnu.org>
4257
4258         * MAINTAINERS (GDB/MI): Andrew Cagney, Elena Zannoni, and Fernando
4259         Nasser have decided to step back from GDB/MI.
4260
4261 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
4262
4263         * config/fnchange.lst: Add testsuite/gdb.gdbserver entries.
4264
4265 2005-04-08  Daniel Jacobowitz  <dan@codesourcery.com>
4266
4267         * dwarf2-frame.c (struct dwarf2_frame_cache): New field
4268         undefined_retaddr.
4269         (dwarf2_frame_cache): Initialize undefined_retaddr.
4270         (dwarf2_frame_this_id): Return an invalid frame ID if
4271         undefined_retaddr.
4272
4273 2005-04-05  Jim Blandy  <jimb@redhat.com>
4274
4275         Move construction of IA-32 vector types to i386-tdep.c.
4276         * gdbtypes.c (build_builtin_type_vec64i,
4277         build_builtin_type_vec128i): Delete functions.
4278         (builtin_type_vec64i, builtin_type_vec128i): Delete variables.
4279         (build_gdbtypes): Don't initialize them.
4280         (_initialize_gdbtypes): Don't register GDBARCH swap entries for
4281         them.
4282         * gdbtypes.h (builtin_type_vec64i, builtin_type_vec128i): Delete
4283         declarations.
4284         (builtin_type_v2_float, builtin_type_v2_int32,
4285         builtin_type_v4_int16, builtin_type_v8_int8,
4286         builtin_type_v2_double, builtin_type_v4_float,
4287         builtin_type_v2_int64, builtin_type_v4_int32,
4288         builtin_type_v8_int16, builtin_type_v16_int8): Add extern
4289         declarations.
4290         * i386-tdep.c (i386_mmx_type, i386_sse_type): New variables.
4291         (i386_build_mmx_type, i386_build_sse_type): New functions.
4292         (i386_register_type): Call them, rather than referring to
4293         builtin_type_vec64i and builtin_type_vec128i.
4294
4295 2005-04-02  Daniel Jacobowitz  <dan@codesourcery.com>
4296
4297         * mips-linux-tdep.c (mips_linux_o32_sigframe_init): Adjust
4298         big-endian correction code to not offset 32-bit registers.
4299         Locate floating point registers correctly.
4300
4301 2005-04-02  Mark Kettenis  <kettenis@gnu.org>
4302
4303         * main.c: Update copyright year.
4304         (captured_main): Avoid using strcpy and strcat.
4305
4306 2005-04-01  Michael Snyder  <msnyder@redhat.com>
4307
4308         * dummy-frame.c (dummy_frame_sniffer): Optimization: don't bother
4309         computing this_id if there are no dummy frames on the stack.
4310
4311         * mn10300-tdep.c (mn10300_frame_unwind_cache): Use
4312         find_partial_func instead of unwind_pc to identify frame.
4313         (mn10300_push_dummy_call): Handle struct args, struct_return.
4314
4315         * mn10300-prologue.c (set_movm_offsets): Don't test variable
4316         before setting it.
4317         * mn10300-tdep.c (mn10300_skip_prologue): Use analyze_prologue
4318         instead of skip_prologue_using_sal.
4319
4320 2005-03-31  Kevin Buettner  <kevinb@redhat.com>
4321
4322         * solib-frv.c (struct lm_info): Add new field ``lm_addr''.
4323         (main_lm_addr): New static global.
4324         (frv_current_sos): Retain the link map address for each entry.
4325         (frv_clear_solib): Clear main_lm_addr.
4326         (frv_fetch_objfile_link_map): New function.
4327         * frv-tdep.c (frv_gdbarch_init): Register TLS load module fetcher.
4328         * frv-tdep.h (frv_fetch_objfile_link_map): Declare.
4329
4330 2005-03-31  Kevin Buettner  <kevinb@redhat.com>
4331
4332         * gdbarch.sh (fetch_tls_load_module_address): New architecture method.
4333         * gdbarch.c, gdbarch.h: Regenerate.
4334         * dwarf2loc.c (dwarf_expr_tls_address): Fetch TLS load module
4335         address and pass this address, instead of the objfile address, to
4336         target_get_thread_local_address().
4337         * linux-thread-db.c (thread_db_get_thread_local_address): Change
4338         second parameter from type ``struct objfile *'' to CORE_ADDR.  Do
4339         not call svr4_fetch_objfile_link_map() to fetch the load module
4340         address.
4341         * target.h (struct target_ops): Change second parameter of
4342         ``to_get_thread_local_address'' from ``struct objfile *'' to
4343         ``CORE_ADDR''.
4344         * alpha-linux-tdep.c (solib-svr4.h): Include.
4345         (alpha_linux_init_abi): Register TLS load module fetcher.
4346         * amd64-linux-tdep.c (amd64_linux_init_abi): Likewise.
4347         * hppa-linux-tdep.c (hppa_linux_init_abi): Likewise.
4348         * i386-linux-tdep.c (i386_linux_init_abi): Likewise.
4349         * ia64-linux-tdep.c (solib-svr4.h): Include.
4350         (ia64_linux_init_abi): Register TLS load module fetcher.
4351         * m32r-linux-tdep.c (m32r_linux_init_abi): Likewise.
4352         * m68klinux-tdep.c (m68k_linux_init_abi): Likewise.
4353         * mips-linux-tdep.c (mips_linux_init_abi): Likewise.
4354         * s390-tdep.c (s390_gdbarch_init): Likewise.
4355         * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
4356         * sparc64-linux-tdep.c (solib-svr4.h): Include.
4357         (sparc64_linux_init_abi): Register TLS load module fetcher.
4358         * Makefile.in (alpha-linux-tdep.o, ia64-linux-tdep.o)
4359         (sparc-linux-tdep.o): Update dependencies.
4360
4361 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
4362
4363         * c-valprint.c (c_value_print): Fix up some formatting.  Use
4364         check_typedef.
4365
4366 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
4367
4368         * arm-linux-nat.c (store_register, store_regs): Handle
4369         ARM_PS_REGNUM.
4370
4371 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
4372
4373         * arm-linux-tdep.c (arm_linux_thumb_be_breakpoint)
4374         (arm_linux_thumb_le_breakpoint): New.  Update comments.
4375         (arm_linux_init_abi): Set Thumb breakpoints also.
4376
4377 2005-03-29  Daniel Jacobowitz  <dan@codesourcery.com>
4378
4379         * Makefile.in (arm-tdep.o): Update dependencies.
4380         * arm-tdep.c: Include "objfiles.h" and "dwarf2-frame.h".
4381         (arm_gdbarch_init): Register dwarf2_frame_sniffer.
4382
4383 2005-03-28  Joel Brobecker  <brobecker@adacore.com>
4384
4385         * irix5-nat.c (supply_fpregset): Fix bug that caused the FSR
4386         register value to be incorrectly written in the regcache.
4387         (fill_fpregset): Fix bug that caused the FSR register value
4388         to be incorrectly read from the regcache.
4389
4390 2005-03-28  Daniel Jacobowitz  <dan@codesourcery.com>
4391
4392         * remote-rdi.c (arm_rdi_insert_breakpoint): Don't call
4393         arm_pc_is_thumb_dummy.
4394
4395 2005-03-28  Mark Kettenis  <kettenis@gnu.org>
4396
4397         * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_saved_regs): Handle
4398         StackGhost.
4399
4400         * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow):
4401         Handle StackGhost in 64-bit code.
4402         * sparc64-tdep.c (sparc64_frame_prev_register): Handle StackGhost.
4403
4404 2005-03-27  Christopher Faylor  <cgf@timesys.com>
4405
4406         * win32-nat.c (handle_exception): Treat win32 routines which check for
4407         valid addresses as "special" and don't stop when a SEGV is detected.
4408         (get_child_debug_event): Properly flag exception as unhandled.
4409
4410 2005-03-26  Daniel Jacobowitz  <dan@codesourcery.com>
4411
4412         * cp-support.c (cp_class_name_from_physname): Rewrite.
4413         (unqualified_name_from_comp): New function, broken out from
4414         method_name_from_physname.  Correct handling for typed names
4415         and templates.
4416         (method_name_from_physname): Use unqualified_name_from_comp.
4417         (cp_func_name, remove_params): Move earlier in the file.  Add
4418         better comments.  Use the component tree to parse the name.
4419         (_initialize_cp_support): Remove stray whitespace.
4420
4421 2005-03-26  Mark Kettenis  <kettenis@gnu.org>
4422
4423         * exec.c (bfdsec_to_vmap): Use strcmp instead of DEPRECATED_STREQ.
4424
4425         * inflow.h: Update copyright year.  Remove #ifdef SHORT_PGRP code.
4426         Callapse HAVE_TERMIO and HAVE_SGTTY.
4427
4428         * dwarf2-frame.c (execute_cfa_program): Implement
4429         DW_CFA_GNU_window_save.
4430
4431 2005-03-25  Mark Kettenis  <kettenis@gnu.org>
4432
4433         * config/sparc/nbsd64.mh (NAT_FILE): Remove.
4434
4435         * config/i386/obsd64.mt (TDEPFILES): Add obsd-uthread.o.
4436
4437 2005-03-25  Daniel Jacobowitz  <dan@codesourcery.com>
4438
4439         * arm-tdep.c (target_is_thumb, caller_is_thumb)
4440         (arm_pc_is_thumb_dummy): Remove.
4441         (arm_breakpoint_from_pc): Don't call arm_pc_is_thumb_dummy.
4442
4443 2005-03-25  Anthony Green  <green@redhat.com>
4444
4445         * remote.c (remote_store_registers): Fix memset usage.
4446         * std-regs.c (value_of_builtin_frame_reg): Ditto.
4447         (value_of_builtin_frame_fp_reg): Ditto.
4448         (value_of_builtin_frame_reg): Ditto.
4449
4450 2005-03-25  Mark Mitchell  <mark@codesourcery.com>
4451
4452         * ser-base.c (ser_unix_write): Rename to ...
4453         (ser_base_write): ... this.
4454         (ser_unix_nop_flush_output): Rename to ...
4455         (ser_base_flush_output): ... this.
4456         (ser_unix_flush_input): Rename to ...
4457         (ser_base_flush_input): ... this.
4458         (ser_unix_nop_send_break): Rename to ...
4459         (ser_base_send_break): ... this.
4460         (ser_unix_nop_drain_output): Rename to ...
4461         (ser_base_drain_output): ... this.
4462         (ser_unix_nop_raw): Rename to ...
4463         (ser_base_raw): ... this.
4464         (ser_unix_nop_get_tty_state): Rename to ...
4465         (ser_base_set_tty_state): ... this.
4466         (ser_unix_nop_noflush_set_tty_state): Rename to ...
4467         (ser_base_noflush_set_tty_state): ... this.
4468         (ser_unix_nop_print_tty_state): Rename to ...
4469         (ser_base_print_tty_state): ... this.
4470         (ser_unix_nop_setbaudrate): Rename to ...
4471         (ser_base_setbaudrate): ... this.
4472         (ser_unix_nop_setstopbits): Rename to ...
4473         (ser_base_setstopbits): ... this.
4474         (ser_unix_async): Rename to ...
4475         (ser_base_async): ... this.
4476         * ser-base.h (ser_unix_write): Rename to ...
4477         (ser_base_write): ... this.
4478         (ser_unix_nop_flush_output): Rename to ...
4479         (ser_base_flush_output): ... this.
4480         (ser_unix_flush_input): Rename to ...
4481         (ser_base_flush_input): ... this.
4482         (ser_unix_nop_send_break): Rename to ...
4483         (ser_base_send_break): ... this.
4484         (ser_unix_nop_drain_output): Rename to ...
4485         (ser_base_drain_output): ... this.
4486         (ser_unix_nop_raw): Rename to ...
4487         (ser_base_raw): ... this.
4488         (ser_unix_nop_get_tty_state): Rename to ...
4489         (ser_base_set_tty_state): ... this.
4490         (ser_unix_nop_noflush_set_tty_state): Rename to ...
4491         (ser_base_noflush_set_tty_state): ... this.
4492         (ser_unix_nop_print_tty_state): Rename to ...
4493         (ser_base_print_tty_state): ... this.
4494         (ser_unix_nop_setbaudrate): Rename to ...
4495         (ser_base_setbaudrate): ... this.
4496         (ser_unix_nop_setstopbits): Rename to ...
4497         (ser_base_setstopbits): ... this.
4498         (ser_unix_async): Rename to ...
4499         (ser_base_async): ... this.
4500         * ser-pipe.c (_initialize_ser_pipe): Update accordingly.
4501         * ser-tcp.c (_initialize_ser_tcp): Likewise.
4502         * ser-unix.c (hardwire_flush_input): Likewise.
4503         (_initializer_ser_hardwire): Likewise.
4504
4505         * Makefile.in (SFILES): Add ser-base.c.
4506         (ser_base_h): New variable.
4507         (ser-base.o): New target.
4508         (ser-pipe.o): Depend on $(ser_base_h).
4509         (ser-tcp.o): Likewise.
4510         (ser-unix.o): Likewise.  Do not depend on $(event_loop_h).
4511         * configure.ac (SER_HARDWIRE): Include ser-base.o where
4512         appropriate.
4513         * ser-base.c: New file.
4514         (push_event): Move from ser-unix.c.
4515         (fd_event): Likewise.
4516         (reschedule): Likewise.
4517         (ser_unix_write): Likewise.
4518         (ser_unix_nop_flush_output): Likewise.
4519         (ser_unix_flush_input): Likewise.
4520         (ser_unix_nop_send_break): Likewise.
4521         (ser_unix_nop_drain_output): Likewise.
4522         (ser_unix_nop_raw): Likewise.
4523         (ser_unix_nop_get_tty_state): Likewise.
4524         (ser_unix_nop_set_tty_state): Likewise.
4525         (ser_unix_nop_noflush_set_tty_state): Likewise.
4526         (ser_unix_nop_print_tty_state): Likewise.
4527         (ser_unix_nop_setbaudrate): Likewise.
4528         (ser_unix_nop_setstopbits): Likewise.
4529         (ser_unix_async): Likewise.
4530         * ser-base.h: New file.
4531         * ser-pipe.c (ser-base.h): Include it.
4532         * ser-tcp.c (ser-base.h): Likewise.
4533         * ser-unix.h (ser_unix_nop_flush_output): Remove.
4534         (ser_unix_flush_input): Likewise.
4535         (ser_unix_nop_send_break): Likewise.
4536         (ser_unix_nop_raw): Likewise.
4537         (ser_unix_nop_get_tty_state): Likewise.
4538         (ser_unix_nop_set_tty_state): Likewise.
4539         (ser_unix_nop_print_tty_state): Likewise.
4540         (ser_unix_nop_noflush_set_tty_state): Likewise.
4541         (ser_unix_nop_setbaudrate): Likewise.
4542         (ser_unix_nop_setstopbits): Likewise.
4543         (ser_unix_nop_drain_output): Likewise.
4544         (ser_unix_wait_for): Likewise.
4545         (ser_unix_write): Likewise.
4546         (ser_unix_async): Likewise.
4547         * ser-unix.c (event-loop.h): Do not include it.
4548         (push_event): Move to ser-base.c.
4549         (fd_event): Likewise.
4550         (reschedule): Likewise.
4551         (ser_unix_write): Likewise.
4552         (ser_unix_nop_flush_output): Likewise.
4553         (ser_unix_flush_input): Likewise.
4554         (ser_unix_nop_send_break): Likewise.
4555         (ser_unix_nop_drain_output): Likewise.
4556         (ser_unix_nop_raw): Likewise.
4557         (ser_unix_nop_get_tty_state): Likewise.
4558         (ser_unix_nop_set_tty_state): Likewise.
4559         (ser_unix_nop_noflush_set_tty_state): Likewise.
4560         (ser_unix_nop_print_tty_state): Likewise.
4561         (ser_unix_nop_setbaudrate): Likewise.
4562         (ser_unix_nop_setstopbits): Likewise.
4563         (ser_unix_async): Likewise.
4564         (ser_unix_wait_for): Make it static.
4565         * configure: Regenerated.
4566
4567 2005-03-25  Mark Kettenis  <kettenis@gnu.org>
4568
4569         * dwarf2-frame.h: Update copyrigh year.
4570         (enum dwarf2_frame_reg_rule): Add DWARF2_FRAME_REG_RA_OFFSET.
4571         * dwarf2-frame.c: Update copyright year.
4572         (struct dwarf2_frame_cache): Add member `retaddr_reg'.
4573         (dwarf2_frame_cache): Deal with DWARF2_FRAME_REG_RA_OFFSET.
4574         (dwarf2_frame_prev_register): Handle DWARF2_FRAME_REG_RA_OFFSET.
4575
4576 2005-03-23  Martin Hunt  <hunt@redhat.com>
4577
4578         * configure.ac: Remove -fwritable-strings from CFLAGS.
4579         * configure: Regenerate.
4580
4581 2005-03-21  Michael Snyder  <msnyder@redhat.com>
4582
4583         * mn10300-prologue.c (fix_frame_pointer): Delete.
4584         (set_movm_offsets) Don't return just because movm_args is
4585         zero -- still need to save pc and sp in saved_regs.
4586         (mn10300_analyze_prologue): Don't return prematurely without
4587         calling set_movm_offsets (for pc and sp at minimum).
4588
4589 2005-03-21  Mark Mitchell  <mark@codesourcery.com>
4590
4591         * configure.ac (stat.st_blksize): Check for it.
4592         (getuid): Likewise.
4593         (getgid): Likewise.
4594         * configure: Regenerated.
4595         * config.in: Likewise.
4596         * remote-fileio.c (remote_fileio_to_fio_stat): Check
4597         HAVE_STRUCT_STAT_ST_BLKSIZE.
4598
4599 2005-03-21  Christopher Faylor  <cgf@timesys.com>
4600
4601         * win32-nat.c (do_initial_child_stuff): Don't clear the thread list
4602         here.
4603         (do_initial_child_stuff): Move clearing of thread list to a place
4604         before a thread ould be created.
4605         (child_attach): Ditto.
4606
4607 2005-03-21  Michael Snyder  <msnyder@redhat.com>
4608
4609         * mn10300-tdep.c (mn10300_frame_unwind_cache): Use func addr
4610         instead of pc addr for frame_id.  Otherwise "until" won't work.
4611
4612 2005-03-21  Kevin Buettner  <kevinb@redhat.com>
4613
4614         * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Fix typo in
4615         comment.
4616
4617 2005-03-20  Mark Kettenis  <kettenis@gnu.org>
4618
4619         * dwarf2loc.c (dwarf_expr_tls_address): Mark addr as volatile.
4620         * varobj.c (my_value_equal): Mark val2 as volatile.
4621
4622         * cp-names.y: Add prototype for yyparse.
4623
4624 2005-03-19  Daniel Jacobowitz  <dan@codesourcery.com>
4625
4626         * dwarf2loc.c (dwarf_expr_tls_address): Initialize ADDR.
4627         * gnu-v3-abi.c (gnuv3_baseclass_offset): Update type of
4628         VALADDR.
4629
4630 2005-03-18  Kevin Buettner  <kevinb@redhat.com>
4631
4632         * Makefile.in (dwarf2loc.o, linux-thread-db.o): Add dependencies.
4633         * exceptions.h (TLS_NO_LIBRARY_SUPPORT_ERROR, TLS_GENERIC_ERROR)
4634         (TLS_LOAD_MODULE_NOT_FOUND_ERROR, TLS_NOT_ALLOCATED_YET_ERROR):
4635         New error/exception enums.
4636         * dwarf2loc.c (exceptions.h): Include.
4637         (dwarf_expr_tls_address): Invoke target_get_thread_local_address()
4638         via TRY_CATCH mechanism.  Print error messages for TLS related
4639         exceptions.
4640         * linux-thread-db.c (thread_db_get_thread_local_address): Throw
4641         exceptions instead of printing errors.
4642
4643 2005-03-18  Mark Kettenis  <kettenis@gnu.org>
4644
4645         * utils.c (safe_strerror): Use xsnprintf instead of sprintf.
4646         (decimal2str, octal2str): Change to return a string allocated by
4647         get_cell.  Use xsnprint instead of snprintf.
4648         (paddr_u, paddr_d): Adjust for changed calling convention of
4649         decimal2str.
4650         (phex, phex_nz, hex_string): Use xsnprintf instead of snprintf.
4651         (int_string): Likewise.  Adjust for changed calling convention of
4652         decimal2str and octal2str.
4653
4654 2005-03-18  Kevin Buettner  <kevinb@redhat.com>
4655
4656         * frv-linux-tdep.c (frv_linux_sigcontext_reg_addr): Update comments.
4657         Adjust incorrectly computed constant for realtime signal frame.
4658
4659 2005-03-18  Mark Kettenis  <kettenis@gnu.org>
4660
4661         From Ralf Corsepius <ralf.corsepius@rtems.org>
4662         * configure.tgt: Add m68*-*-rtems*.
4663
4664 2005-03-17  Mark Kettenis  <kettenis@gnu.org>
4665
4666         * defs.h (xsnprintf): New prototype.
4667         * utils.c (xsnprintf): New function.
4668
4669         * corelow.c (get_core_register_section): Replace usage of sprintf
4670         and strcpy with xstrprintf and xstrdup.
4671
4672         * mips-tdep.c (mips_single_step_through_delay): Put back check for
4673         breakpoint lost with the introduction of this function.
4674
4675 2005-03-17  Paul Brook  <paul@codesourcery.com>
4676
4677         * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Fix broken logic.
4678         * s390-tdep.c (s390_dwarf_reg_to_regnum): Ditto.
4679
4680 2005-03-16  Mark Mitchell  <mark@codesourcery.com>
4681
4682         * event-top.c (handle_sigquit): Do not define for systems without
4683         SIGQUIT.
4684         (sigquit_token): Likewise.
4685         (async_init_signals): Allow for systems that do not
4686         define SIGQUIT.
4687         * ser-tcp.c (net_open): Allow for systems that do not have SIGPIPE.
4688
4689 2005-03-15  Mark Mitchell  <mark@codesourcery.com>
4690
4691         * utils.c (internal_vproblem): Guard call to fork with
4692         HAVE_WORKING_FORK.
4693         * cli/cli-cmds.c (shell_escape): Guard call to vfork with
4694         HAVE_WORKING_VFORK and HAVE_WORKING_FORK.
4695
4696         * remote-fileo.c (remote_fileio_mode_to_host): Accomodate lack of
4697         S_IRGRP and related macros.
4698         (remote_fileio_mode_to_target): Likewise.
4699
4700 2005-03-14  Ben Elliston  <bje@au.ibm.com>
4701
4702         * Makefile.in (CLIBS): Link libbfd after libopcodes, as it is a
4703         more primitive library.
4704
4705 2005-03-13  Mark Kettenis  <kettenis@gnu.org>
4706
4707         * inf-ttrace.c (inf_ttrace_pid_to_str): Use snprintf instead of
4708         sprintf.
4709         * target.c (normal_pid_to_str): Likewise.
4710         * remote.c (remote_pid_to_str): Use snprint instead of sprintf.
4711         Change capitalization of "thread".  Use ptid_get_pid instead of
4712         GETPID.
4713
4714         * cp-abi.c (set_cp_abi_as_auto_default): Use xasprintf instead of
4715         a combination of xmalloc and sprintf.
4716
4717 2005-03-13  Jim Blandy  <jimb@redhat.com>
4718
4719         * configure.ac: Use '=', not '=='; the latter is a GNU extension.
4720         * configure: Regenerated.
4721
4722 2005-03-11  Michael Snyder  <msnyder@redhat.com>
4723
4724         * mn10300-tdep.c (mn10300_dummy_unwind_dummy_id): Replace
4725         stub fn with real implementatin mn10300_unwind_dummy_id.
4726         (mn10300_push_dummy_call): Implement.  Bare bones version,
4727         does not handle structs or floats.
4728
4729 2005-03-11  Jim Blandy  <jimb@redhat.com>
4730
4731         Avoid warnings due to the use of -Wuninitialized without -O.
4732         * configure.ac (build_warnings): Include -Wuninitialized only if
4733         CFLAGS is unset at configure time, or CFLAGS is set and includes
4734         some -O option other than -O0.
4735         * configure: Regenerated.
4736
4737         * mips-tdep.c (show_mips_abi): Change calling conventions to match
4738         those expected by add_setshow_enum_cmd.  Use 'file' argument as
4739         appropriate.
4740
4741 2005-03-10  Daniel Jacobowitz  <dan@codesourcery.com>
4742
4743         * Makefile.in (SFILES): Add cp-names.y.
4744         (libiberty_h, safe_ctype_h): New.
4745         (YYFILES): Add cp-names.c.
4746         (YYOBJ): Add cp-names.o.
4747         (test-cp-names.o, test-cp-names$(EXEEXT), cp-names.o): New rules.
4748         (clean): Remove test-cp-names$(EXEEXT).
4749         (local-maintainer-clean): Remove cp-names.c.
4750         * cp-names.y: New file.
4751         * cp-support.c (find_last_component): Delete.
4752         (d_left, d_right): Define.
4753         (cp_canonicalize_string, mangled_name_to_comp): New functions.
4754         (cp_class_name_from_physname, method_name_from_physname): Rewrite
4755         to use mangled_name_to_comp.
4756         * cp-support.h (cp_canonicalize_string, cp_demangled_name_to_comp)
4757         (cp_comp_to_string): New prototypes.
4758         * config/djgpp/fnchange.lst: Add cp-names.c.
4759
4760 2005-03-10  Bob Rossi  <bob@brasko.net>
4761
4762         * main.c (print_gdb_help): Remove the --[no]async help message.
4763
4764 2005-03-10  Mark Kettenis  <kettenis@gnu.org>
4765
4766         * proc-api.c: Update copyright year.
4767         (_initialize_proc_api): Revert previous patch, removing spurious
4768         space instead.
4769
4770 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
4771
4772         * regcache.c: Fix typo in comment.
4773
4774 2005-03-09  David Lecomber  <david@lecomber.net>
4775
4776         * proc-api.c (_initialize_proc_api): Fix invalid multi-line
4777         i18n text.
4778
4779 2005-03-09  Mark Kettenis  <kettenis@gnu.org>
4780
4781         * sparc-tdep.c (sparc_frame_cache): Adjust cached frame base
4782         address for 64-bit code.
4783         (sparc_unwind_dummy_id): Likewise.
4784         * sparc64-tdep.c (sparc64_frame_prev_register): Adjust for new
4785         frame base address convention.
4786         (sparc64_push_dummy_call): Likewise.
4787         * sparc64nbsd-tdep.c: Update copyright year.
4788         (sparc64nbsd_sigcontext_frame_cache): Adjust cached frame base
4789         address for 64-bit code.
4790         (sparc64nbsd_init_abi): Tweak comment.
4791         * sparc64obsd-tdep.c: Update copyright year.
4792         (sparc64obsd_frame_cache): Adjust cached frame base address for
4793         64-bit code.
4794         (sparc64obsd_init_abi): Tweak comment.
4795
4796 2005-03-09  Corinna Vinschen  <vinschen@redhat.com>
4797
4798         * exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
4799
4800 2005-03-09  Joel Brobecker  <brobecker@adacore.com>
4801
4802         * dwarf2read.c (dwarf_decode_lines): Use the complete filename
4803         when creating include psymtabs.
4804
4805 2005-03-08  Mark Mitchell  <mark@codesourcery.com>
4806
4807         * environ.h (struct environ): Rename to ...
4808         (struct gdb_environ): ... this.
4809         (make_environ): Update prototype.
4810         (free_environ): Likewise.
4811         (init_environ): Likewise.
4812         (get_in_environ): Likewise.
4813         (set_in_environ): Likewise.
4814         (unset_in_environ): Likewise.
4815         (environ_vector): Likewise.
4816         * environ.c (make_environ): Replace "struct environ" with "struct
4817         gdb_environ".
4818         (free_environ): Likewise.
4819         (init_environ): Likewise.
4820         (environ_vector): Likewise.
4821         (get_in_environ): Likewise.
4822         (set_in_environ): Likewise.
4823         (unset_in_environ): Likewise.
4824         * infcmd.c (inferior_environ): Likewise.
4825         * inferior.h (inferior_environ): Likewise.
4826
4827 2005-03-08  Joel Brobecker  <brobecker@adacore.com>
4828
4829         * infcmd.c (run_command_1): New function, extracted from
4830         run_command.
4831         (run_command): Replace implementation by call to run_command_1.
4832         (start_command): Use run_command_1 to insert the temporary
4833         breakpoint and run the program. Remove code that's no longer
4834         needed, as already done at the proper time by run_command_1.
4835
4836 2005-03-08  Daniel Jacobowitz  <dan@codesourcery.com>
4837
4838         * symfile.c (clear_symtab_users): Call
4839         clear_current_source_symtab_and_line first.
4840
4841 2005-03-08  Nathan Sidwell  <nathan@codesourcery.com>
4842
4843         * ax-gdb.c (gen_expr): Add UNOP_PLUS case.
4844         * c-exp.y (exp): Add unary plus.
4845         * eval.c (evaluate_subexp_standard): Add UNOP_PLUS case.
4846         * valarith.c (value_x_unop): Add UNOP_PLUS case.
4847         (value_pos): New.
4848         * value.h (value_pos): Declare.
4849
4850         * remote.c (MIN_REMOTE_PACKET_SIZE): Set to 20.
4851         (remote_fetch_registers): Allow uppercase hex when resyncing.
4852         (remote_write_bytes): Only call get_memory_write_packet_size once.
4853         Robustify packet size calculation for very small packets. Check
4854         that at least one byte will be written.
4855
4856         * tracepoint.c (target_is_remote): Allow extended-remote.
4857         (struct collection_list): Allow 256 registers, like the comment
4858         said.
4859         (add_memrange): Fix comment.
4860         (read_actions): Turn EOF into 'end'.
4861
4862 2005-03-08  Corinna Vinschen  <vinschen@redhat.com>
4863
4864         * Makefile.in: Add dependencies for iq2000-tdep.o.
4865         * configure.tgt: Add iq2000-*-* target.
4866         * iq2000-tdep.c: New file.
4867         * config/iq2000/iq2000.mt: New file.
4868
4869 2005-03-07  Joel Brobecker  <brobecker@adacore.com>
4870
4871         * doc/observer.texi (executable_changed): New observer.
4872         * symtab.c: Include "observer.h".
4873         (find_main_name): New function.
4874         (main_name): If name_of_main is unset, then compute it
4875         using find_main_name.
4876         (symtab_observer_executable_changed): New function.
4877         (_initialize_symtab): Attach executable_changed observer.
4878         * exec.c: Include "observer.h".
4879         (exec_file_attach): Emit executable_changed notification.
4880         * symfile.c: Include "observer.h".
4881         (reread_symbols): Send an executable_changed if appropriate.
4882         * Makefile.in (exec.o): Add dependency on observer.h.
4883         (symfile.o): Likewise.
4884         (symtab.o): Likewise.
4885
4886 2005-03-07  Daniel Jacobowitz  <dan@codesourcery.com>
4887
4888         * findvar.c (read_var_value): Don't allocate V when it will not
4889         be used.  Add missing break for LOC_INDIRECT.
4890
4891 2005-03-06  Mark Kettenis  <kettenis@gnu.org>
4892
4893         * sparc64fbsd-tdep.c: Include "solib-svr4.h".
4894         (sparc64fbsd_init_abi): Set skip_trampoline_code and
4895         solib_svr4_fetch_link_map_offsets.
4896         * Makefile.in (sparc64fbsd-tdep.o): Update dependencies.
4897
4898 2005-03-06  Daniel Jacobowitz  <dan@codesourcery.com>
4899
4900         * linux-nat.c (child_follow_fork): Call target_terminal_ours before
4901         printing output.  Use fprintf_unfiltered.  Only print output when
4902         debugging.
4903
4904 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
4905
4906         * sparc64-tdep.c (sparc64_store_floating_fields): Constify third
4907         argument.
4908         (sparc64_store_arguments): Constify.
4909
4910 2005-03-05  Mark Kettenis  <kettenis@gnu.org>
4911
4912         * alphabsd-nat.c: Update copyright year.  Include "inf-ptrace.h".
4913         (alphabsd_fetch_inferior_registers): Rename from
4914         fetch_inferior_registers.  Make static.
4915         (alphabsd_store_inferior_registers): Rename from
4916         store_inferior_registers.  Make static.
4917         (_initialize_alphabsd_nat): New function.
4918         * Makefile.in (alphabsd-nat.o): Update dependencies.
4919         * config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and
4920         inftarg.o.  Add inf-ptrace.o, fbsd-nat.o and gcore.o.
4921         * config/alpha/nbsd.mh (NAT_CLIBS): Remove variable.
4922         (NATDEPFILES): Remove infptrace.o and inftarg.o.  Add
4923         alphabsd-nat.o.
4924         * config/alpha/nm-fbsd.h: Update copyright year.  Don't include
4925         "config/nm-bsd.h" and "elf/common.h".
4926         * config/alpha/nm-nbsd.h: Update copyright year.  Don't include
4927         "config/nm-nbsd.h".
4928
4929         * mips64obsd-tdep.c (mips64obsd_init_abi): Don't set
4930         software_single_step.
4931
4932 2005-03-04  Michael Snyder  <msnyder@redhat.com>
4933
4934         * mn10300-prologue.c: New file.  Prologue analysis.
4935         * mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h.
4936         (mn10300_frame_unwind_cache): Don't call trad_frame_set_id
4937         until after analyze_prologue, and don't call trad_frame_set_base
4938         at all (let analyze_prologue do it).
4939
4940 2005-03-04  Michael Snyder  <msnyder@redhat.com>
4941
4942         * trad-frame.c (trad_frame_set_reg_value): New function.
4943         * trad-frame.h (trad_frame_set_reg_value): Export.
4944
4945 2005-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
4946
4947         * Makefile.in (remote.o): Update dependencies.
4948         * remote.c: Include "observer.h".
4949
4950 2005-03-04  Daniel Jacobowitz  <dan@codesourcery.com>
4951
4952         * target.c (target_read_memory_partial): Always initialize
4953         ERR.
4954         (target_write_memory_partial): Likewise.
4955
4956 2005-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
4957
4958         * remote.c (remote_open_1): Call observer_notify_inferior_created.
4959
4960 2005-03-03  Daniel Jacobowitz  <dan@codesourcery.com>
4961
4962         * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id)
4963         (arm_stub_unwind, arm_stub_unwind_sniffer): New.
4964         (arm_gdbarch_init): Add arm_stub_unwind_sniffer.
4965
4966 2005-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
4967
4968         * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork):
4969         Use LWP IDs.
4970
4971 2005-02-28  Daniel Jacobowitz  <dan@codesourcery.com>
4972
4973         * dwarf2loc.c (loclist_read_variable): Set optimized_out
4974         instead of reporting an error.
4975         * valprint.c (value_check_printable): New function.
4976         (common_val_print): New function.  Use value_check_printable.
4977         (value_print): Use value_check_printable.
4978         * value.h (common_val_print): Add prototype.
4979
4980         * c-valprint.c (c_val_print): Use common_val_print.
4981         * cp-valprint.c (cp_print_value_fields): Likewise.
4982         (cp_print_hpacc_virtual_table_entries): Likewise.
4983         * f-valprint.c (f_val_print): Likewise.
4984         * jv-valprint.c (java_value_print, java_print_value_fields):
4985         Likewise.
4986         * scm-valprint.c (scm_value_print): Likewise.
4987         * stack.c (print_frame_args): Likewise.
4988         * varobj.c (c_value_of_variable): Likewise.
4989         * p-valprint.c (pascal_val_print, pascal_value_print): Likewise.
4990         (pascal_object_print_value_fields): Likewise.  Update call to
4991         pascal_object_print_static_field.
4992         (pascal_object_print_static_field): Remove TYPE argument.  Use
4993         common_val_print.
4994
4995 2005-02-25 Mark Kettenis  <kettenis@gnu.org>
4996
4997         Committed by Elena Zannoni <ezannoni@redhat.com>
4998
4999         * dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust
5000         info_ptr before building psymtabs for included files.
5001         (create_all_comp_units): Initailize initial length size of
5002         compilation header to zero.
5003         (read_initial_length): Complain if both 32-bit and 64-bit DWARF
5004         sections are encountered within the same compilation header.
5005         (dwarf_decode_line_header): Pass compilation header in call to
5006         read_initial_length.
5007
5008 2005-02-24  Andrew Cagney  <cagney@gnu.org>
5009
5010         Add show_VARIABLE functions, update add_setshow call.
5011         * varobj.c (_initialize_varobj, show_varobjdebug): Add and update.
5012         * valprint.c (_initialize_valprint, show_print_max)
5013         (show_stop_print_at_null, show_repeat_count_threshold)
5014         (show_prettyprint_structs, show_unionprint)
5015         (show_prettyprint_arrays, show_addressprint, show_input_radix)
5016         (show_output_radix): Ditto.
5017         * valops.c (_initialize_valops, show_overload_resolution): Ditto.
5018         * utils.c (initialize_utils, show_chars_per_line)
5019         (show_lines_per_page, show_demangle, show_pagination_enabled)
5020         (show_sevenbit_strings, show_asm_demangle): Ditto
5021         * tui/tui-win.c (_initialize_tui_win, show_tui_border_kind)
5022         (show_tui_border_mode, show_tui_active_border_mode): Ditto.
5023         * top.c (init_main, show_new_async_prompt)
5024         (show_async_command_editing_p, show_write_history_p)
5025         (show_history_size, show_history_filename, show_caution)
5026         (show_annotation_level, init_main): Ditto.
5027         * target.c (initialize_targets, show_targetdebug)
5028         (show_trust_readonly): Ditto.
5029         * symfile.c (_initialize_symfile, show_symbol_reloading)
5030         (show_ext_args, show_download_write_size)
5031         (show_debug_file_directory): Ditto.
5032         * source.c (_initialize_source, show_lines_to_list): Ditto.
5033         * solib.c (_initialize_solib, show_auto_solib_add)
5034         (show_solib_search_path): Ditto.
5035         * p-valprint.c (_initialize_pascal_valprint)
5036         (show_pascal_static_field_print): Ditto.
5037         * printcmd.c (_initialize_printcmd, show_max_symbolic_offset)
5038         (show_print_symbol_filename): Add and update.
5039         * parse.c (_initialize_parse, show_expressiondebug): Dito.
5040         * observer.c (_initialize_observer, show_observer_debug): Dito.
5041         * maint.c (_initialize_maint_cmds, show_watchdog)
5042         (show_maintenance_profile_p): Dito.
5043         * linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito.
5044         * infrun.c (_initialize_infrun, show_debug_infrun)
5045         (show_stop_on_solib_events, show_follow_fork_mode_string)
5046         (show_scheduler_mode, show_step_stop_if_no_debug): Ditto.
5047         * infcall.c (_initialize_infcall, show_coerce_float_to_double_p)
5048         (show_unwind_on_signal_p): Ditto.
5049         * gdbtypes.c (build_gdbtypes, show_opaque_type_resolution)
5050         (_initialize_gdbtypes, show_overload_debug): Ditto.
5051         * gdb-events.c, gdb-events.sh (_initialize_gdb_events)
5052         (show_gdb_events_debug): Ditto.
5053         * gdbarch.c, gdbarch.sh (show_gdbarch_debug)
5054         (_initialize_gdbarch): Ditto.
5055         * frame.c (_initialize_frame, show_backtrace_past_main)
5056         (show_backtrace_past_entry, show_backtrace_limit)
5057         (show_frame_debug): Ditto.
5058         * exec.c (_initialize_exec, show_write_files): Ditto.
5059         * dwarf2read.c (_initialize_dwarf2_read)
5060         (show_dwarf2_max_cache_age): Ditto.
5061         * demangle.c (_initialize_demangler)
5062         (show_demangling_style_names): Ditto.
5063         * dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto.
5064         * cp-valprint.c (show_static_field_print)
5065         (_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto.
5066         * corefile.c (_initialize_core, show_gnutarget_string): Ditto.
5067         * cli/cli-logging.c (_initialize_cli_logging)
5068         (show_logging_overwrite, show_logging_redirect)
5069         (show_logging_filename): Ditto.
5070         * cli/cli-cmds.c (show_info_verbose, show_history_expansion_p)
5071         (init_cli_cmds, show_baud_rate, show_remote_debug)
5072         (show_remote_timeout, show_max_user_call_depth): Ditto.
5073         * charset.c (show_host_charset_name, show_target_charset_name)
5074         (initialize_charset): Ditto.
5075         * breakpoint.c (show_can_use_hw_watchpoints)
5076         (show_pending_break_support, _initialize_breakpoint): Ditto.
5077
5078 2005-02-23  Jim Blandy  <jimb@redhat.com>
5079
5080         * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.
5081
5082 2005-02-23  Andrew Cagney  <cagney@gnu.org>
5083
5084         * cli/cli-dump.c (dump_bfd_file): Replace magic constant with
5085         SEC_XXX flags.
5086
5087 2005-02-22  Andrew Cagney  <cagney@gnu.org>
5088
5089         * configure.ac: Only enaable insight when itcl is present.
5090         * configure: Re-generate.
5091
5092 2005-02-21  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
5093
5094         Committed by Andrew Cagney.
5095         * infptrace.c (store_register): Fix typo.
5096
5097 2005-02-21  Andrew Cagney  <cagney@gnu.org>
5098
5099         * command.h (deprecated_add_set_cmd): Rename add_set_cmd.
5100         * cli/cli-decode.h (add_set_cmd): Delete declaration.
5101         * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd.
5102         * i386-nat.c (_initialize_i386_nat): Update call.
5103         * valprint.c (_initialize_valprint): Update comment.
5104         * gnu-nat.c (_initialize_gnu_nat): Update call.
5105
5106 2005-02-21  Alan Modra  <amodra@bigpond.net.au>
5107
5108         * elfread.c (elf_symtab_read): Discard section syms.
5109
5110 2005-02-21  Andrew Cagney  <cagney@gnu.org>
5111
5112         * cli/cli-decode.c (add_set_enum_cmd): Delete function.
5113         (deprecated_add_show_from_set): Delete function.
5114         * command.h (add_set_enum_cmd): Delete declaration.
5115         (deprecated_add_show_from_set): Delete declaration.
5116         * cli/cli-decode.h (add_set_enum_cmd): Delete declaration.
5117         (deprecated_add_show_from_set): Delete declaration.
5118         * arm-tdep.c (_initialize_arm_tdep): Update comment.
5119         * kod.c (kod_set_os): Simplify.
5120         * infrun.c (set_schedlock_func): Simplify.
5121         * cli/cli-dump.c (add_dump_command): Update comment.
5122
5123         Replace string variables with a filename completer with
5124         add_setshow_optional_filename_cmd.
5125         * solib.c, symfile.c: Update.
5126         * cli/cli-setshow.c: Do not tidle expand the file.
5127
5128         Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd,
5129         and add_setshow_string_noescape_cmd.
5130         * cli/cli-setshow.c (deprecated_show_value_hack): Do not print a
5131         NULL command's value.
5132         * kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update.
5133         * remote-sds.c, remote.c, symfile.c, top.c: Update.
5134
5135 2005-02-20  Andrew Cagney  <cagney@gnu.org>
5136
5137         Use add_setshow_enum_cmd through out.
5138         * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update.
5139         * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
5140
5141         * mi/mi-main.c (captured_mi_execute_command): Use
5142         mi_cmd_interpreter_exec.
5143
5144         * cli/cli-decode.c (add_setshow_optional_filename_cmd): New
5145         function.
5146         * cli/cli-setshow.c (deprecated_show_value_hack)
5147         (do_setshow_command): Handle var_optional_filename.
5148         * command.h (enum var_types): Add var_optional_filename.
5149         (add_setshow_optional_filename_cmd): Declare.
5150         * infcmd.c (notice_args_read): Use.
5151
5152         * symfile-mem.c (symbol_file_add_from_memory): Pass
5153         target_read_memory to bfd_elf_bfd_from_remote_memory.
5154         (do_target_read_memory): Delete.
5155
5156 2005-02-16  Mark Kettenis  <kettenis@gnu.org>
5157
5158         * value.h (value_contents_equal): New prototype.
5159         * value.c (value_contents_equal): New function.
5160         * varobj.c: Include "exceptions.h" and "gdb_assert.h".  Don't
5161         include <math.h>.
5162         (varobj_set_value): Initialize error to zero.
5163         (varobj_update): Rename error2 to error and initialize it to zero.
5164         Slightly change the wording of some comments.
5165         (my_value_equal): Reimplement using TRY_CATCH and
5166         value_contents_equal.
5167
5168 2005-02-18  Andrew Cagney  <cagney@gnu.org>
5169
5170         * cli/cli-decode.c (add_setshow_integer_cmd): New function.
5171         * command.h (add_setshow_integer_cmd): Declare.
5172         * cli/cli-cmds.c: Update.
5173
5174         Use add_setshow_uinteger_cmd through out.
5175         * printcmd.c, source.c, utils.c, valprint.c: Update.
5176
5177         Use add_setshow_zinteger_cmd through out.  Re-sync gdbarch.sh
5178         and gdbarch.c.
5179         * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
5180         * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
5181         * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
5182         * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
5183         * varobj.c, cli/cli-cmds.c: Update.
5184         * gdbarch.c, gdb-events.c: Regenerate.
5185
5186         Use add_setshow_boolean_command through out.  Delete #ifdef 0'ed
5187         code adding set/show boolean commands.
5188         * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
5189         * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
5190         * proc-api.c, remote-mips.c, remote.c, solib.c: Update.
5191         * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
5192         * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
5193         * cli/cli-cmds.c: Update.
5194
5195 2005-02-17  Andrew Cagney  <cagney@gnu.org>
5196
5197         * cli/cli-decode.c (add_setshow_filename_cmd): Set the completer
5198         to filename_completer.
5199         * solib.c (_initialize_solib, reload_shared_libraries): Use
5200         add_setshow_filename_cmd.
5201         * serial.c (_initialize_serial): Ditto.
5202         * remote-utils.c (_initialize_sr_support): Ditto.
5203
5204         * cli/cli-decode.c (add_setshow_string_noescape_cmd): New function.
5205         * command.h (add_setshow_string_noescape_cmd): Declare.
5206         * wince.c (_initialize_wince): Use.
5207         * symfile.c (_initialize_symfile): Use.
5208         (set_ext_lang_command): Update declaration.
5209         * corefile.c (_initialize_core): Use.
5210
5211         * cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
5212         (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
5213         (add_setshow_filename_cmd, add_setshow_string_cmd)
5214         (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
5215         fprint_setshow parameter.
5216         * command.h (fprint_setshow_ftype): Delete.
5217         (add_setshow_cmd_full, add_setshow_enum_cmd)
5218         (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
5219         (add_setshow_filename_cmd, add_setshow_string_cmd)
5220         (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
5221         fprint_setshow parameter.
5222         * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
5223         * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
5224         * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
5225         * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
5226         * remote.c, target.c, cli/cli-logging.c: Update.
5227
5228 2005-02-16  Andrew Cagney  <cagney@gnu.org>
5229
5230         Merge setshow print and show parameters.
5231         * command.h (show_value_ftype): Define.
5232         (deprecated_show_value_hack): Declare.
5233         (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
5234         (add_setshow_boolean_cmd, add_setshow_filename_cmd)
5235         (add_setshow_string_cmd, add_setshow_uinteger_cmd)
5236         (add_setshow_zinteger_cmd): Change type of show_func to
5237         show_value_ftype.
5238         * cli/cli-decode.h (struct cmd_list_element): Replace
5239         fprint_setshow with show_value_func.
5240         * cli/cli-decode.c (add_setshow_cmd_full): Update show_func
5241         parameter.  Set show_value_func.  Do not set cmd_sfunc.
5242         (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
5243         (add_setshow_boolean_cmd, add_setshow_filename_cmd)
5244         (add_setshow_string_cmd, add_setshow_uinteger_cmd)
5245         (add_setshow_zinteger_cmd): Update.
5246         * complaints.c (complaints_show_value): Replace
5247         fprint_setshow_complaints.
5248         (_initialize_complaints): Update.
5249         * mips-tdep.c (show_mask_address): Update.
5250         * arm-tdep.c (show_fp_model): Update.
5251         * cli/cli-setshow.c (do_setshow_command): Call show_value_func
5252         instead of fprint_setshow.  Use deprecated_show_value_hack.
5253         (deprecated_show_value_hack): New function.
5254         * remote.c (add_packet_config_cmd, show_remote_cmd):
5255         (show_remote_protocol_P_packet_cmd)
5256         (show_remote_protocol_P_packet_cmd)
5257         (show_remote_protocol_Z_access_wp_packet_cmd)
5258         (show_remote_protocol_Z_hardware_bp_packet_cmd)
5259         (show_remote_protocol_Z_packet_cmd)
5260         (show_remote_protocol_Z_read_wp_packet_cmd)
5261         (show_remote_protocol_Z_software_bp_packet_cmd)
5262         (show_remote_protocol_Z_write_wp_packet_cmd)
5263         (show_remote_protocol_binary_download_cmd)
5264         (show_remote_protocol_p_packet_cmd)
5265         (show_remote_protocol_qPart_auxv_packet_cmd)
5266         (show_remote_protocol_qSymbol_packet_cmd)
5267         (show_remote_protocol_vcont_packet_cmd): Update.
5268
5269 2005-02-16  Mark Kettenis  <kettenis@gnu.org>
5270
5271         * wrapper.h: Update copyright year.  Properly wrap a few
5272         prototypes.
5273         (struct gdb_wrapper_arguments): Remove forward declaration.
5274         * wrapper.c: Update copyright year.  Include "ui-out.h".
5275         (struct gdb_wrapper_arguments): Remove.
5276         (struct captured_value_struct_elt_args): Remove.
5277         (wrapper_parse_exp_1, wrap_evaluate_expression)
5278         (wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
5279         (wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
5280         (do_captured_value_struct_elf): Remove functions.
5281         (gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
5282         (gdb_value_equal, gdb_value_assign, gdb_value_subscript)
5283         (gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
5284         Re-implement using TRY_CATCH.
5285
5286 2005-02-16  Yoshinori Sato  <ysato@users.sourceforge.jp>
5287
5288         * remote-e7000.c: unuse TM_FILE defined macro.
5289         (e7000_fetch_registers)
5290         (e7000_store_registers)
5291         (e7000_wait): delete NUM_REALREGS.
5292         * remote-hms.c: move TM_FILE macro.
5293         (CCR_REGNO): move define from tm-h8300.h.
5294
5295 2005-02-15  Mark Kettenis  <kettenis@gnu.org>
5296
5297         * amd64-linux-tdep.c: Update copyright year.
5298         (amd64_linux_sigtramp_start): Use sizeof operator instead of
5299         LINUX_SIGTRAMP_LEN.
5300
5301 2004-02-15  Joel Brobecker  <brobecker@gnat.com>
5302
5303         From Paul Hilfinger <hilfinger@gnat.com>
5304         * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
5305         SYMBOL_NATURAL_NAME to set type names.
5306
5307 2005-02-15  Andrew Cagney  <cagney@gnu.org>
5308
5309         Mark up add_com, add_info and add_prefix_cmd.
5310         * breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
5311         * exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
5312         * go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
5313         * kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
5314         * maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
5315         * ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
5316         * remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
5317         * remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
5318         * remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
5319         * sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
5320         * symfile.c, symtab.c, target.c, thread.c, top.c: Update.
5321         * tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
5322         * win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
5323         * cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
5324         * tui/tui-stack.c, tui/tui-win.c: Update.
5325
5326 2005-02-14  Andrew Cagney  <cagney@gnu.org>
5327
5328         * config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
5329         * config/h8300/tm-h8300.h: Delete file.
5330
5331         Mark up add_cmd.
5332         * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
5333         * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
5334         * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
5335         * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
5336         * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
5337         * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
5338         * sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
5339         * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
5340         * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
5341         * cli/cli-logging.c, tui/tui-regs.c: Update.
5342
5343         Mark up add_setshow functions, replace "PRINT:" comment prefix
5344         with "FIXME: i18n:".
5345         * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
5346         * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update.
5347         * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update.
5348         * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update.
5349         * target.c, cli/cli-logging.c: Update.
5350
5351         * utils.c (paddress): New function.
5352         * defs.h (paddress): Declare.
5353         * printcmd.c (deprecated_print_address_numeric): Rename
5354         print_address_numeric, call paddress.
5355         * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
5356         * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
5357         * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
5358         * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
5359         * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
5360         * ada-valprint.c: Update.
5361
5362 2005-02-13  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>
5363
5364         * MAINTAINERS: Add myself to "Write After Approval".
5365
5366 2005-02-12  Yoshinori Sato <ysato@users.sourceforge.jp>
5367
5368         Restore h8300 support.
5369         * configure.tgt: Add h8300-*-*
5370         * h8300-tdep.c: New file. Rewrite new frame code.
5371         * config/h8300/h8300.mt: New file. Restored Rev 1.3
5372         * config/h8300/tm-h8300.h: New file. Restored Rev 1.21
5373
5374         * MAINTAINERS: Add myself to "Write After Approval".
5375
5376 2005-02-11  Andrew Cagney  <cagney@gnu.org>
5377
5378         Mark up some of printf_filtered and printf_unfiltered.
5379         * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
5380         * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
5381         * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
5382         * event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
5383         * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
5384         * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
5385         * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
5386         * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
5387         * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
5388         * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
5389         * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
5390         * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
5391         * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
5392         * tui/tui-regs.c, tui/tui-win.c: Update.
5393
5394         Mark up error_no_arg, query, perror_with_name, complaint, and
5395         internal_error.
5396         * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
5397         * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
5398         * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
5399         * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
5400         * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
5401         * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
5402         * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
5403         * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
5404         * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
5405         * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
5406         * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
5407         * interps.c, language.c, linespec.c, linux-nat.c: Update.
5408         * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
5409         * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
5410         * macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
5411         * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
5412         * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
5413         * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
5414         * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
5415         * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
5416         * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
5417         * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
5418         * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
5419         * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
5420         * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
5421         * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
5422         * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
5423         * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
5424         * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
5425         * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
5426         * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
5427         * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
5428         * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
5429         * tui/tui-file.c, tui/tui-interp.c: Update.
5430
5431 2005-02-10  Andrew Cagney  <cagney@gnu.org>
5432
5433         Mark up all error and warning messages.
5434         * ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update.
5435         * bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update.
5436         * core-aout.c, core-regset.c, corefile.c, corelow.c: Update.
5437         * cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update.
5438         * dbxread.c, demangle.c, doublest.c, dsrec.c: Update.
5439         * dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update.
5440         * dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update.
5441         * event-top.c, exec.c, expprint.c, f-lang.c: Update.
5442         * f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update.
5443         * frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update.
5444         * gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update.
5445         * hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update.
5446         * hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update.
5447         * hpread.c, hpux-thread.c, i386-linux-nat.c: Update.
5448         * i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update.
5449         * i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update.
5450         * ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update.
5451         * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
5452         * inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update.
5453         * kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update.
5454         * linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update.
5455         * m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update.
5456         * m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update.
5457         * maint.c, mdebugread.c, mem-break.c, memattr.c: Update.
5458         * mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update.
5459         * nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update.
5460         * observer.c, ocd.c, p-lang.c, p-typeprint.c: Update.
5461         * p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update.
5462         * ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update.
5463         * remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update.
5464         * remote-rdp.c, remote-sim.c, remote-st.c: Update.
5465         * remote-utils.c, remote-utils.h, remote.c: Update.
5466         * rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update.
5467         * ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update.
5468         * sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update.
5469         * solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update.
5470         * solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update.
5471         * somread.c, somsolib.c, source.c, stabsread.c: Update.
5472         * stack.c, std-regs.c, symfile-mem.c, symfile.c: Update.
5473         * symmisc.c, symtab.c, target.c, thread.c, top.c: Update.
5474         * tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update.
5475         * uw-thread.c, valarith.c, valops.c, valprint.c: Update.
5476         * value.c, varobj.c, version.in, win32-nat.c, wince.c: Update.
5477         * xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update.
5478         * cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update.
5479         * cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update.
5480         * mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update.
5481         * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update.
5482         * mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update.
5483         * tui/tui-win.c: Update.
5484
5485 2005-02-10  Ian Lance Taylor  <ian@airs.com>
5486
5487         * MAINTAINERS: Update my e-mail address.
5488
5489 2005-02-10  Daniel Jacobowitz  <dan@debian.org>
5490
5491         From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
5492         PR exp/1821
5493         * cp-valprint.c: Include "language.h".
5494         (cp_print_value_fields): Pass the current language to
5495         fprintf_symbol_filtered.
5496         * Makefile.in (cp-valprint.o): Update dependencies.
5497
5498 2005-02-10  Andrew Cagney  <cagney@gnu.org>
5499
5500         * cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full)
5501         (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
5502         (add_setshow_filename_cmd, add_setshow_string_cmd)
5503         (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace
5504         print string parameter with fprint_setshow function.
5505         * command.h (fprint_setshow_ftype): Define.  Update declarations.
5506         * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is
5507         available, use that.
5508         * cli/cli-decode.h (struct cmd_list_element): Add field
5509         fprint_setshow.
5510         * complaints.c (fprint_setshow_complaints): New function.
5511         (_initialize_complaints): Pass to add_setshow_zinteger_cmd.
5512         * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter
5513         with NULL.
5514         * mips-tdep.c (_initialize_mips_tdep): Ditto.
5515         * m32r-rom.c (_initialize_m32r_rom): Ditto.
5516         * cris-tdep.c (_initialize_cris_tdep): Ditto.
5517         * arm-tdep.c (_initialize_arm_tdep): Ditto.
5518         * remote-rdi.c (_initialize_remote_rdi): Ditto.
5519         * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
5520         * dwarf2read.c (_initialize_dwarf2_read): Ditto.
5521         * frame.c (_initialize_frame): Ditto.
5522         * target.c (initialize_targets): Ditto.
5523         * maint.c (_initialize_maint_cmds): Ditto.
5524         * observer.c (_initialize_observer): Ditto.
5525         * infcall.c (_initialize_infcall): Ditto.
5526         * breakpoint.c (_initialize_breakpoint): Ditto.
5527         * cli/cli-logging.c (_initialize_cli_logging): Ditto.
5528         * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
5529
5530         * cli/cli-setshow.c (do_setshow_command): Move code printing the
5531         value to the end of the function.  Handle MI and non-MI output
5532         differently.
5533
5534 2005-02-09  Andrew Cagney  <cagney@gnu.org>
5535
5536         * cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and
5537         show_result parameters.
5538         * mips-tdep.c (_initialize_mips_tdep): Update calls.
5539         * command.h: Update declaration.
5540         * arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update
5541         calls.
5542
5543         * NEWS: Mention removed commands.
5544         * m68hc11-tdep.c (show_regs): Delete, unused.
5545         (_initialize_m68hc11_tdep): Delete deprecated "regs" command.
5546         * gdb-events.sh: Delete deprecated "set eventdebug" and "show
5547         eventdebug" commands.
5548         * gdb-events.c: Regenerate.
5549         * gdbarch.sh: Delete deprecated "set archdebug" and "show
5550         archdebug" commands.
5551         * gdbarch.c: Regenerate.
5552         * cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set
5553         remotedebug" and "show remotedebug".
5554         * arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm
5555         disassembly-flavor", "show arm disassembly-flavor", and
5556         "othernames" commands.
5557         (arm_othernames): Delete unused function.
5558
5559         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call)
5560         (convert_code_addr_to_desc_addr): Convert any function code
5561         address to the corresponding function's descriptor.
5562         (ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and
5563         TYPE_CODE_INT use the same code paths as TYPE_CODE_INT.  When
5564         writing, convert any function code address to the corresponding
5565         descriptor.
5566
5567         * config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
5568         * config/powerpc/linux.mt (TDEPFILES): Ditto.
5569         * config/pa/linux.mt (TDEPFILES): Ditto.
5570         * config/mips/linux.mt (TDEPFILES): Ditto.
5571         * config/m68k/linux.mt (TDEPFILES): Ditto.
5572         * config/m32r/linux.mt (TDEPFILES): Ditto.
5573         * config/ia64/linux.mt (TDEPFILES): Ditto.
5574         * config/arm/linux.mt (TDEPFILES): Ditto.
5575
5576 2005-02-09  Corinna Vinschen  <vinschen@redhat.com>
5577
5578         * symmisc.c: Include gdb_stat.h.
5579         (maintenance_print_msymbols): Use inode numbers to compare files.
5580
5581 2005-02-08  Andrew Cagney  <cagney@gnu.org>
5582
5583         * value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
5584         (METHOD_PTR_TO_VOFFSET): Move from here ...
5585         * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
5586         (METHOD_PTR_TO_VOFFSET): ... to here.
5587         * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
5588         * Makefile.in: Update dependencies.
5589
5590         * exceptions.c: Do not include <setjmp.h>.
5591         (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
5592         (catch_exception, catch_exceptions_with_msg, catch_errors)
5593         (catch_command_errors): Use TRY_CATCH.
5594         (struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
5595         (exceptions_state_mc_init): Rename catcher_init.
5596         (exceptions_state_mc): Rename catcher_state_machine.
5597         (exceptions_state_mc_action_iter)
5598         (exceptions_state_mc_action_iter_1): New functions.
5599         * exceptions.h: Include <setjmp.h>.
5600         (EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
5601         (EXCEPTIONS_SIGLONGJMP): Define.
5602         (exceptions_state_mc_init, exceptions_state_mc_action_iter)
5603         (exceptions_state_mc_action_iter_1): Declare.
5604         (TRY_CATCH): Define.
5605
5606         * ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name,
5607         no longer needed.
5608
5609         * ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit
5610         PT_FPSCR breakage.
5611
5612         * value.c (struct value): Move to here ...
5613         * value.h (struct value): ... from here.  Copy comments to
5614         corresponding function declarations, re-order.
5615
5616 2005-02-07  Andrew Cagney  <cagney@gnu.org>
5617
5618         * value.c (set_value_bitpos, set_value_bitsize): Define.
5619         * value.h (set_value_bitpos, set_value_bitsize): Declare.
5620         * ada-lang.c, valarith.c: Update.
5621
5622         * cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or
5623         value_contents_writeable, include note that there are problems.
5624         * breakpoint.c, infcall.c: Use VALUE_LVAL.
5625
5626         * value.h (set_value_offset): Declare.
5627         * value.c (set_value_offset): Declare.
5628         * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
5629         * findvar.c: Update.
5630
5631         * value.h (value_next): Declare.
5632         * value.c (value_next): Define.
5633         * breakpoint.c: Update.
5634
5635         * value.h (deprecated_set_value_modifiable)
5636         (deprecated_value_modifiable): Declare.
5637         * value.c (deprecated_set_value_modifiable): Define.
5638         (deprecated_value_modifiable): Define.
5639         * ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
5640
5641         * value.h (deprecated_set_value_type): Declare.
5642         * value.c (deprecated_set_value_type): Define.
5643         * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
5644         * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
5645         * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
5646         * ax-gdb.c, tracepoint.c: Update.
5647
5648         * value.h (deprecated_value_lval_hack)
5649         (deprecated_value_address_hack)
5650         (deprecated_value_internalvar_hack)
5651         (deprecated_value_regnum_hack): Declare.
5652         (VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
5653         (VALUE_FRAME_ID, VALUE_REGNUM): Use.
5654         * value.c (deprecated_value_lval_hack)
5655         (deprecated_value_address_hack)
5656         (deprecated_value_internalvar_hack)
5657         (deprecated_value_regnum_hack): Define.
5658
5659         * value.h (VALUE_POINTED_TO_OFFSET): Delete.
5660         (set_value_pointed_to_offset, value_pointed_to_offset): Declare.
5661         * value.c (set_value_pointed_to_offset): Define
5662         (value_pointed_to_offset): Define.
5663         * valops.c: Update.
5664
5665         * value.h (VALUE_EMBEDDED_OFFSET): Delete.
5666         (value_embedded_offset, set_value_embedded_offset): Declare.
5667         * value.c (value_embedded_offset): Define.
5668         (set_value_embedded_offset): Define.
5669         * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
5670         * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
5671         * cp-abi.h: Update.
5672
5673         * value.h (VALUE_LAZY): Delete
5674         (set_value_lazy): Declare.
5675         * value.c (set_value_lazy): Define.
5676         * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
5677         * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
5678
5679 2005-02-06  Andrew Cagney  <cagney@gnu.org>
5680
5681         * value.h (VALUE_OPTIMIZED_OUT): Delete.
5682         (value_optimized_out, set_value_optimized_out): Declare.
5683         * value.c (set_value_optimized_out, value_optimized_out): Define.
5684         * valprint.c, findvar.c, dwarf2loc.c: Update.
5685
5686         * value.c (value_contents, value_contents_writeable): New
5687         functions.
5688         * value.h (VALUE_CONTENTS): Delete macro.
5689         (value_contents, value_contents_writeable): Declare.
5690         * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
5691         * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
5692         * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
5693         * rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
5694         * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
5695         * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
5696         * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
5697         * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
5698         * c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
5699         * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
5700         * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
5701         * ada-valprint.c, ada-lang.c: Update.
5702
5703 2005-02-03  Andrew Cagney  <cagney@gnu.org>
5704
5705         * utils.c (xzalloc): New function.
5706         * defs.h (XZALLOC): Use xzalloc.
5707         (xzalloc): Declare.
5708         * value.c (allocate_value): Allocate a zeroed buffer.
5709         * mdebugread.c (xzalloc): Delete.
5710
5711 2005-02-02  Andrew Cagney  <cagney@gnu.org>
5712
5713         * value.h (value_lazy): Declare.
5714         * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
5715         * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
5716
5717         * value.h (VALUE_CONTENTS_ALL): Delete.
5718         (value_contents_all): Declare.
5719         * value.c (value_contents_all): New function.
5720         * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
5721         * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
5722
5723         * value.c (value_enclosing_type): New function.
5724         * value.h (VALUE_ENCLOSING_TYPE): Delete.
5725         (value_enclosing_type): Declare.
5726         * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
5727         * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
5728
5729         * value.c (value_contents_all_raw)
5730         (value_contents_raw): New functions.
5731         * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
5732         (value_contents_raw, value_contents_all_raw): Declare functions.
5733         (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
5734         * std-regs.c, valarith.c, valops.c, eval.c: Update.
5735         * tracepoint.c, findvar.c: Update.
5736
5737 2005-02-01  Orjan Friberg  <orjanf@axis.com>
5738
5739         * regformats/reg-cris.dat: New file with register definitions for CRIS.
5740         * regformats/reg-crisv32.dat: Ditto for CRISv32.
5741
5742 2005-01-31  Andrew Cagney  <cagney@gnu.org>
5743
5744         * configure: Regenerate to track ../gettext.m4.
5745
5746 2005-01-29  Baurzhan Ismagulov  <ibr@radix50.net>
5747
5748         * MAINTAINERS: Add myself to "Write After Approval".
5749
5750         * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
5751         * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
5752         * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
5753
5754 2005-01-29  Mark Kettenis  <kettenis@gnu.org>
5755
5756         * configure.ac: Remove extra check for ranlib.
5757         * configure: Regenerated.
5758
5759 2005-01-28  Andrew Cagney  <cagney@gnu.org>
5760
5761         * language.h (struct language_defn): Make la_val_print's buffer
5762         parameter a const bfd_byte.
5763         * cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
5764         * ada-lang.c (ada_aligned_value_addr)
5765         (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
5766         * valprint.c (val_print_array_elements): Update.
5767         * valprint.h (val_print_array_elements): Update.
5768         * ada-lang.h (ada_val_print, ada_aligned_value_addr)
5769         (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
5770         * ada-valprint.c (ada_val_print, struct ada_val_print_args)
5771         (ada_val_print_1, ada_print_floating, printable_val_type)
5772         (print_record, val_print_packed_array_elements)
5773         (print_field_values, print_variant_part): Update.
5774         * c-lang.h (c_val_print, cp_print_value_fields): Update.
5775         * c-valprint.c (c_val_print): Update.
5776         * f-lang.h (f_val_print): Update.
5777         * f-valprint.c (f_val_print, f77_print_array_1)
5778         (f77_print_array): Update.
5779         * jv-lang.h (java_val_print): Update.
5780         * jv-valprint.c (java_print_value_fields, java_val_print): Update.
5781         * language.c (unk_lang_val_print): Update.
5782         * m2-lang.h (m2_val_print): Update.
5783         * m2-valprint.c (m2_val_print): Update.
5784         * p-lang.h (pascal_val_print): Update.
5785         (pascal_object_print_value_fields): Update.
5786         * p-valprint.c (pascal_val_print)
5787         (pascal_object_print_value_fields, pascal_object_print_value)
5788         (pascal_object_print_value): Update.
5789         * scm-lang.h (scm_val_print): Update.
5790         * scm-valprint.c (scm_val_print): Update.
5791         * value.h (val_print): Update.
5792
5793         * p-lang.h (pascal_object_print_class_member)
5794         (pascal_object_print_class_method): Make buffer a const bfd_byte.
5795         * p-valprint.c (pascal_object_print_class_method)
5796         (pascal_object_print_class_method): Ditto.
5797
5798         * language.h (struct language_defn): Make la_printstr's buffer
5799         parameter a const bfd_byte.
5800         * p-lang.h (pascal_printstr): Update function to match.
5801         * ada-valprint.c (ada_printstr): Update function to match.
5802         * scm-lang.c (scm_printstr): Update function to match.
5803         * p-lang.c (pascal_printstr): Update function to match.
5804         * ada-lang.h (ada_printstr): Update function to match.
5805         * m2-lang.c (m2_printstr): Update function to match.
5806         * objc-lang.c (objc_printstr): Update function to match.
5807         * c-lang.h (c_printstr): Update function to match.
5808         * f-lang.c (f_printstr): Update function to match.
5809         * c-lang.c (c_printstr): Update function to match.
5810         * language.c (unk_lang_printstr): Update function to match.
5811
5812         * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
5813         * valprint.h (val_print_type_code_int): Ditto.
5814
5815         * objc-lang.h (c_val_print, c_value_print): Delete declarations.
5816
5817         * cp-valprint.c (cp_print_class_method)
5818         (cp_print_class_member): Make buffer a const bfd_byte.
5819         * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
5820
5821         * ada-lang.c (value_from_contents_and_address)
5822         (to_record_with_fixed_variant_part)
5823         (value_tag_from_contents_and_address, ada_to_fixed_type)
5824         (to_fixed_variant_branch_type, to_fixed_record_type)
5825         (ada_template_to_fixed_record_type, cond_offset_host)
5826         (ada_template_to_fixed_record_type_1): Make buffer a const
5827         bfd_byte.
5828         * ada-lang.h (ada_template_to_fixed_record_type_1)
5829         (value_from_contents_and_address, ada_to_fixed_type): Ditto.
5830
5831         * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
5832
5833         * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
5834         * printcmd.c (print_scalar_formatted): Update.
5835
5836         * value.h (value_bit_index, print_floating)
5837         (find_rt_vbase_offset): Make buffer a const bfd_byte.
5838         * valprint.c (print_floating): Update.
5839         * valarith.c (value_bit_index): Update.
5840         * valops.c (find_rt_vbase_offset): Update.
5841
5842         * valprint.h (print_octal_chars, print_char_chars)
5843         (print_hex_chars, print_decimal_chars, print_binary_chars): Make
5844         buffer a const bfd_byte.
5845         * valprint.c (print_binary_chars, print_octal_chars)
5846         (print_decimal_chars, print_hex_chars, print_char_chars): Make
5847         "valaddr"buffer a const bfd_byte, ditto for local variables
5848         referencing that buffer.
5849
5850         * m2-valprint.c: Include "c-lang.h".
5851         (c_val_print): Delete extern declaration.
5852         * scm-valprint.c: Include "c-lang.h".
5853         (c_val_print): Delete extern declaration.
5854         Makefile.in: Update dependencies.
5855
5856         * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
5857         bfd_byte.
5858         * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
5859         (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
5860         bfd_byte.
5861         * cp-abi.c (baseclass_offset): Update.
5862         * gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
5863
5864         * gnu-v2-abi.h: New file.
5865         * gnu-v2-abi.c: Include "gnu-v2-abi.h".
5866         (gnuv2_baseclass_offset): Delete declaration.
5867         * hpacc-abi.c: Include "gnu-v2-abi.h".
5868         (gnuv2_baseclass_offset): Delete extern declaration.
5869         * Makefile.in: Update dependencies.
5870
5871         * doublest.c (floatformat_is_negative, floatformat_is_nan)
5872         (floatformat_mantissa, get_field): Make the buffer a const
5873         bfd_byte, simplify.
5874
5875 2005-01-27  Andrew Cagney  <cagney@gnu.org>
5876
5877         * value.h (struct value): Change type of contents to bfd_byte.
5878         (VALUE_CONTENTS_RAW): Simplify.
5879
5880         * gdbarch.sh (integer_to_address): Change buf parameter to a const
5881         bfd_byte, make pure-multi-arch.
5882         * gdbarch.h, gdbarch.c: Regenerate.
5883         * mips-tdep.c (mips_integer_to_address): Update.
5884         * value.c (value_as_address): Update.
5885
5886         * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
5887         * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
5888         parameters const, change buf to a const bfd_byte.
5889         (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
5890         parameters const.
5891
5892         * corefile.c (write_memory): Update, make a copy of the read-only
5893         buffer.
5894         * target.c (target_read_memory): Update.
5895         (target_write_memory): Update, make a copy of the read-only
5896         buffer.
5897         * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
5898         const.
5899         * target.h (target_read_memory, target_write_memory): Change
5900         buffer type to bfd_byte; for write_memory, make it const.
5901         * symfile-mem.c (do_target_read_memory): New function.
5902         (symbol_file_add_from_memory): Pass do_target_read_memory to
5903         bfd_elf_bfd_from_remote_memory.
5904
5905         * value.h: Indent using gdb_indent.sh.
5906
5907         * configure: Regenerate to track ../gettext.m4 change.
5908
5909 2005-01-26  Andrew Cagney  <cagney@gnu.org>
5910
5911         * rs6000-tdep.c: Include "reggroups.h".
5912         (rs6000_gdbarch_init): Set register_reggroup_p.
5913         (rs6000_register_reggroup_p): New function.
5914
5915 2005-01-26  Orjan Friberg  <orjanf@axis.com>
5916
5917         * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
5918         (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
5919         CRISv32.
5920         (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
5921         (cris_region_ok_for_watchpoint, cris_stopped_data_address)
5922         (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
5923         (crisv32_register_type, cris_special_register_name)
5924         (crisv32_register_name): New functions.
5925         (cris_spec_reg_applicable): Recognize more versions.
5926         (cris_register_name): Update with call to cris_special_register_name.
5927         (find_cris_op): Filter out CRISv32 instructions.  Tweaked comment and
5928         warning when unable to find step target.
5929         (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
5930         (supply_gregset): Add struct gdbarch_tdep.  Set pseudo-PC register for
5931         CRISv32.
5932         (fetch_core_registers): Update for CRISv32.
5933         (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
5934         register_name, cannot_store_register, cannot_fetch_register,
5935         have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
5936
5937 2005-01-26  Nick Roberts  <nickrob@snap.net.nz>
5938
5939         * interps.c (interpreter_exec_cmd): Use condition,
5940         e.reason < 0, to raise an error.
5941
5942 2005-01-25  Andrew Cagney  <cagney@gnu.org>
5943
5944         * ppc-linux-tdep.c: Include "tramp-frame.h"
5945         (struct ppc_linux_sigtramp_cache)
5946         (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
5947         (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
5948         (ppc_linux_sigtramp_cache): Delete.
5949         (ppc32_linux_sigaction_cache_init)
5950         (ppc64_linux_sigaction_cache_init)
5951         (ppc32_linux_sighandler_cache_init)
5952         (ppc64_linux_sighandler_cache_init)
5953         (ppc32_linux_sigaction_tramp_frame)
5954         (ppc64_linux_sigaction_tramp_frame)
5955         (ppc32_linux_sighandler_tramp_frame)
5956         (ppc64_linux_sighandler_tramp_frame)
5957         (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
5958         64-bit, sigaction and siginfo tramp-frame unwinders.
5959
5960         * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
5961         long_double_bit to 8.
5962
5963 2005-01-24  Andrew Cagney  <cagney@gnu.org>
5964
5965         * infrun.c (handle_inferior_event): Handle back-to-back and nested
5966         signals where the step_resume_breakpoint may have already been
5967         inserted.
5968
5969 2005-01-24  Andrew Cagney  <cagney@gnu.org>
5970
5971         * configure: Regenerate, ../gettext.m4 was updated.
5972
5973 2005-01-23  Mark Kettenis  <kettenis@gnu.org>
5974
5975         * NEWS: Mention new BSD user-level threads support.
5976
5977         * i386obsd-tdep.c: Update copyright year.  Include
5978         "bsd-uthread.h".
5979         (i386obsd_uthread_reg_offset): New variable.
5980         (I386OBSD_UTHREAD_ESP_OFFSET): New define.
5981         (i386obsd_supply_uthread, i386obsd_collect_uthread): New
5982         functions.
5983         (i386obsd_init_abi): Set supply_uthread and collect_uthread.
5984         * Makefile.in (i386obsd-tdep.o): Update dependencies.
5985         * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
5986
5987 2005-01-23  Christopher Faylor  <cgf@timesys.com>
5988
5989         * win32-nat.c: Update copyright year.
5990         (child_init_thread_list): Set thread linked list point to NULL so that
5991         it won't be reused after clearing.
5992
5993 2005-01-21  Mark Kettenis  <kettenis@gnu.org>
5994
5995         * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
5996         undefs.
5997         * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
5998         thread' has a td_pcb member and whether `struct reg' has r_fs and
5999         r_gs members.
6000         * configure, config.in: Regenerate.
6001
6002 2005-01-21  Mark Kettenis  <kettenis@gnu.org>
6003
6004         * configure.ac: Remove ia64-*-aix* junk.
6005         * configure: Regenerate.
6006
6007         * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
6008         and BFD_NEED_DECLARATION.  Don't check if a declaration of strdup
6009         is necessary.
6010         * configure, config.in: Regenerate.
6011         * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
6012         BFD_NEED_DECLARATION.  Never provide a prototype for
6013         caninicalize_file_name.
6014         * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
6015         BFD_NEED_DECLARATION.
6016
6017         * configure.ac (targ_archs): Use standard autoconf check for
6018         "struct stat.st_blocks" instead of rolling our own.
6019         * configure: Regenerated.
6020         * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
6021         * config.in: Regenerated.
6022
6023 2005-01-21  Mark Kettenis  <kettenis@gnu.org>
6024
6025         * configure.ac: Modernize checks for `long long' and `long double'
6026         support.
6027         * configure: Regenerated.
6028         * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
6029         (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
6030         * config.in: Regenerated.
6031
6032 2005-01-20  Mark Kettenis  <kettenis@gnu.org>
6033
6034         * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
6035         (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
6036         * configure.ac: Remove checks for HP-UX save_state structure.
6037         * configure: Regenerated.
6038
6039 2005-01-19  Andrew Cagney  <cagney@gnu.org>
6040
6041         * utils.c (quit): Simplify, call fatal.
6042         * exceptions.c: Include "serial.h"
6043         (print_flush): Mimic flush code found in utils.c:quit.
6044         * Makefile.in: Update dependencies.
6045
6046 2005-01-19  Jim Blandy  <jimb@redhat.com>
6047
6048         * configure.tgt: Set build_rdi_share to "yes" on those targets
6049         that use that debugging protocol.
6050         Set build_nlm to yes to build NLM stub for Netware targets.
6051         * configure.ac: If build_rdi_share is "yes", then configure the
6052         rdi-share subdirectory.
6053         If build_nlm is "yes", the configure the "nlm" subdirectory.
6054         * configure: Regenerated.
6055
6056         * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
6057         autoconf 2.59 and automake 1.9.3.
6058
6059 2005-01-19  Andrew Cagney  <cagney@gnu.org>
6060
6061         * exceptions.h (deprecated_throw_reason): Rename throw_reason.
6062         * exceptions.c (deprecated_throw_reason): Rename throw_reason.
6063         * utils.c (internal_verror, quit): Update.
6064         * remote-sds.c (interrupt_query): Update.
6065         * remote-mips.c (mips_error, mips_kill): Update.
6066         * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
6067         * remote.c (interrupt_query): Update.
6068         * ocd.c (interrupt_query): Update.
6069         * nto-procfs.c (interrupt_query): Update.
6070         * monitor.c (monitor_interrupt_query): Update.
6071         * breakpoint.c (break_command_1): Update.
6072
6073         * infrun.c: (resume, proceed, wait_for_inferior)
6074         (handle_inferior_event, stop_stepping)
6075         (prepare_to_wait): Write debug output to gdb_stdlog.
6076
6077 2005-01-19  Mark Kettenis  <kettenis@gnu.org>
6078
6079         * inf-ptrace.c (inf_ptrace_prepare_to_store)
6080         (inf_ptrace_post_startup_inferior)
6081         (inf_ptrace_acknowledge_created_inferior)
6082         (inf_ptrace_insert_fork_catchpoint)
6083         (inf_ptrace_remove_fork_catchpoint)
6084         (inf_ptrace_insert_vfork_catchpoint):
6085         (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
6086         (inf_ptrace_insert_exec_catchpoint)
6087         (inf_ptrace_remove_exec_catchpoint): Remove functions.
6088         (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
6089         (inf_ptrace_target): Don't set to_prepare_to_store,
6090         to_post_startup_inferior, to_acknowledge_created_inferior,
6091         to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
6092         to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
6093         to_follow_fork, to_insert_exec_catchpoint,
6094         to_remove_exec_catchpoint.
6095
6096 2005-01-18  Andrew Cagney  <cagney@gnu.org>
6097
6098         * target.h (struct target_ops): Change return type of
6099         to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
6100         to_insert_exec_catchpoint to void.
6101         (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
6102         (child_insert_exec_catchpoint): Change return type to void.
6103         * target.c (update_current_target): Update.
6104         (debug_to_insert_fork_catchpoint)
6105         (debug_to_insert_vfork_catchpoint)
6106         (debug_to_insert_exec_catchpoint): Update.
6107         * inf-child.c (inf_child_insert_fork_catchpoint)
6108         (inf_child_insert_vfork_catchpoint)
6109         (inf_child_insert_exec_catchpoint): Update.
6110         * breakpoint.c (insert_catchpoint): Update, do not throw an error.
6111         * linux-nat.c (child_insert_fork_catchpoint)
6112         (child_insert_vfork_catchpoint)
6113         (child_insert_exec_catchpoint): Update.
6114         * inftarg.c (child_insert_fork_catchpoint)
6115         (child_insert_vfork_catchpoint,)
6116         (child_insert_exec_catchpoint): Update.
6117
6118         * remote.c (remote_open_1): Use throw_exception.
6119
6120 2005-01-17  Michael Snyder  <msnyder@redhat.com>
6121
6122         * mips-linux-tdep.c: Whitespace tweaks.
6123
6124 2005-01-17  Corinna Vinschen  <vinschen@redhat.com>
6125
6126         * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
6127
6128 2005-01-17  Andrew Cagney  <cagney@gnu.org>
6129
6130         * top.h (source_error, source_pre_error): Delete declaration.
6131         * cli/cli-script.c (source_error_allocated, source_error): Delete.
6132         (script_from_file, source_cleanup_lines): Do not manipulate
6133         source_error_allocated, error_pre_print and source_error.
6134         (struct source_cleanup_lines_args): Delete fields old_pre_error,
6135         and old_error_pre_print.
6136         * top.c (source_error_allocated, source_error)
6137         (source_pre_error): Delete.
6138         (command_line_input): Do not set error_pre_print.
6139         * event-top.c (command_line_handler): Do not set error_pre_print.
6140
6141 2005-01-16  Jason Thorpe  <thorpej@netbsd.org>
6142
6143         * MAINTAINERS: Update my email address.
6144
6145 2005-01-16  Mark Kettenis  <kettenis@gnu.org>
6146
6147         * configure.ac: Provide prerequisite headers when checking
6148         <term.h>.
6149         * configure: Regenerate.
6150
6151         * amd64fbsd-tdep.c: Update copyright year.  Include "gdb_assert.h"
6152         and "bsd-uthread.h".
6153         (amd64fbsd_jmp_buf_reg_offset): New variable.
6154         (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
6155         functions.
6156         (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
6157         * i386fbsd-tdep.c: Fix typo.
6158         * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
6159         * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
6160
6161 2005-01-16  Andrew Cagney  <cagney@gnu.org>
6162
6163         * cli/cli-script.c: Include "exceptions.h".
6164         (struct wrapped_read_command_file_args): Define.
6165         (wrapped_read_command_file): New function.
6166         (script_from_file): Replace direct call to read_command_file by
6167         one wrapped by an exception handler.
6168         * exceptions.c (throw_it): Free the old message after creating the
6169         new.
6170         * Makefile.in: Update dependencies.
6171
6172 2005-01-16  Mark Kettenis  <kettenis@gnu.org>
6173
6174         * sparc64fbsd-tdep.c: Update copyright year.
6175         (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
6176         functions.
6177         (sparc64fbsd_init_abi): Create register sets with collect
6178         functions.
6179
6180         * sparc64fbsd-nat.c: Include "fbsd-nat.h".
6181         (_initialize_sparc64fbsd_nat): Add some extra features to the
6182         generic SPARC target.
6183         * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
6184         * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
6185         (NAT_FILE): Set to solib.h.
6186         * config/sparc/nm-fbsd.h: Remove file.
6187
6188         * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
6189
6190         * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
6191
6192 2005-01-16  Andrew Cagney  <cagney@gnu.org>
6193
6194         * exceptions.c (struct catcher): Delete saved_error_pre_print and
6195         saved_quit_pre_print.
6196         (catcher_init): Delete parameter errstring, do not override the
6197         pre_print strings.
6198         (catcher_pop): Do not restore the pre_print strings.
6199         (catch_exception, catch_exceptions_with_msg, catch_errors)
6200         (catch_command_errors): Update catch_init calls.
6201
6202 2005-01-16  Mark Kettenis  <kettenis@gnu.org>
6203
6204         * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
6205         * sparc64fbsd-nat.c: Update copyright year.  Include "target.h".
6206
6207 2005-01-15  Andrew Cagney  <cagney@gnu.org>
6208
6209         * acinclude.m4: Include ../bfd/bfd.m4 instead of
6210         ../bfd/acinclude.m4.  Include ../gettext.m4.
6211         * aclocal.m4, configure: Re-generate.
6212
6213         * exceptions.c (do_captured_command)
6214         (struct captured_command_args): Delete.
6215         (catch_command_errors): Simplify by inlining call to catch_errors.
6216
6217         * exceptions.c (struct catcher): Delete field print_message.
6218         (catcher_init): Delete print_message parameter.
6219         (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
6220         (throw_it): Delete prefix parameter.
6221         (throw_verror, throw_vfatal, throw_error): Update.
6222
6223 2005-01-14  Andrew Cagney  <cagney@gnu.org>
6224
6225         * exceptions.c (print_and_throw): Delete, replaced by throw_it.
6226         (throw_reason): Leave the exception's message field blank.
6227         (throw_it): New function, create the exception and throw it.
6228         (throw_verror, throw_vfatal, throw_error): Call throw_it.
6229         (print_any_exception): New function.
6230         (catch_errors, catch_exceptions_with_msg): Call
6231         print_any_exception.
6232         (throw_exception): Move code calling annotate_error and
6233         annotate_quit from here ...
6234         (print_exception): ... to here.
6235
6236         * exceptions.c (exception_fprintf, exception_print): Move printing
6237         of \n from here ...
6238         (print_exception): ... to here.
6239         (print_flush): New function.
6240         (exception_print, exception_fprintf): Replace duplicated flush and
6241         wrap code with call to print_flush.
6242         (print_and_throw): Simplify, by using xstrvprintf, print_flush,
6243         and print_exception.
6244         (do_write): Delete.
6245
6246         * remote-sds.c (interrupt_query): Call throw_reason instead of
6247         throw_exception.
6248         * remote-mips.c (mips_error, mips_kill): Ditto
6249         * ocd.c (interrupt_query): Ditto.
6250         * nto-procfs.c (interrupt_query): Ditto.
6251         * monitor.c (monitor_interrupt_query): Ditto.
6252
6253 2005-01-14  Jeff Johnston  <jjohnstn@redhat.com>
6254
6255         * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
6256
6257 2005-01-14  Andrew Cagney  <cagney@gnu.org>
6258
6259         * exceptions.h (catch_exceptions): Delete errstring parameter.
6260         (catch_exceptions_with_msg): Ditto.
6261         * exceptions.c (catch_exceptions_with_msg): Update.
6262         (catch_exceptions): Update.
6263         * symfile-mem.c (add_vsyscall_page): Update.
6264         * frame.c (get_current_frame): Update.
6265         * wrapper.c (gdb_value_struct_elt): Update.
6266         * exceptions.c (catch_exceptions): Update.
6267         * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
6268         * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
6269         * remote-fileio.c (remote_fileio_request): Update.
6270
6271         * exceptions.h (exception_fprintf): Declare.
6272         (exception_print): Drop pre_print parameter.
6273         * mi/mi-main.c (mi_execute_command): Update exception_print call.
6274         * cli/cli-interp.c (safe_execute_command): Update exception_print
6275         call.
6276         * remote.c (remote_open_1): Instead of passing an error prefix to
6277         catch_exceptions, use catch_exceptions and exception_fprintf.
6278         (remote_start_remote): Change return type to void.
6279         * breakpoint.c (insert_bp_location): Instead of passing an error
6280         prefix to catch_exceptions, use catch_exceptions and
6281         exception_fprintf.
6282         (insert_catchpoint): Change return type to void.
6283         (break_command_1): Update exception_print call.
6284         * exceptions.c (exception_fprintf): New function.
6285         (print_exception): New function.
6286         (exception_print): Use print_exception.
6287
6288         * utils.c (error_output_message): Delete function.
6289         * defs.h (error_output_message): Delete declaration.
6290
6291         * linespec.c (symtab_from_filename, decode_variable): Use
6292         throw_error instead of error_silent.
6293         * breakpoint.c (do_captured_parse_breakpoint): Change return type
6294         to void.
6295         (break_command_1): Use catch_exception and check the error return
6296         status.
6297         * exceptions.c (throw_error): New function.
6298         (throw_vsilent): Delete function.
6299         * exceptions.h (throw_error): Declare.
6300         (throw_vsilent): Delete declaration.
6301         * utils.c (error_silent): Delete function.
6302         * defs.h (error_silent): Delete declaration.
6303
6304         * mi/mi-main.c (mi_execute_command): Print the exception.
6305         * cli/cli-interp.c (safe_execute_command): Print the exception.
6306         * exceptions.h (exception_print): Declare.
6307         * exceptions.c (struct catcher): Add field print_message.
6308         (catcher_init): Add parameter print_message, store in the catcher
6309         struct.
6310         (print_and_throw): Only print the message when print_message.
6311         (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
6312         catcher_init.
6313         (catch_exception): Pass print_message=0 to catcher_init.
6314
6315         * varobj.c (varobj_create): Add missing \n.
6316
6317 2005-01-13  Michael Snyder  <msnyder@redhat.com>
6318
6319         * cli/cli-decode.h: Whitespace tweaks.
6320         * wince.c: Whitespace tweaks.
6321         * uw-thread.c: Whitespace tweaks.
6322         * utils.c: Whitespace tweaks.
6323         * tracepoint.[ch]: Whitespace tweaks.
6324         * solist.h: Whitespace tweaks.
6325
6326 2005-01-13  Andrew Cagney  <cagney@gnu.org>
6327
6328         * exceptions.h (struct exception): Make message const.
6329         * mi/mi-main.c (mi_execute_command): Pass result.message directly
6330         to fputstr_unfiltered.
6331
6332 2005-01-13  Michael Snyder  <msnyder@redhat.com>
6333
6334         * stack.c: Whitespace tweaks.
6335         * somsolib.[ch]: Whitespace tweaks.
6336         * solib-aix.c: Whitespace tweaks.
6337         * solib.c: Whitespace tweaks.
6338         * solib-frv.c: Whitespace tweaks.
6339         * solib.h: Whitespace tweaks.
6340         * solib-irix.c: Whitespace tweaks.
6341         * solib-som.c: Whitespace tweaks.
6342         * solib-sunos.c: Whitespace tweaks.
6343         * solib-svr4.[ch]: Whitespace tweaks.
6344         * ser-tcp.c: Whitespace tweaks.
6345         * ser-unix.c: Whitespace tweaks.
6346         * serial.h: Whitespace tweaks.
6347         * scm-valprint.c: Whitespace tweaks.
6348         * rs6000-tdep.c: Whitespace tweaks.
6349         * rs6000-nat.c: Whitespace tweaks.
6350         * remote.c: Whitespace tweaks.
6351
6352 2005-01-13  Andrew Cagney  <cagney@gnu.org>
6353
6354         * defs.h (error_last_message, error_init): Delete declaration.
6355         * utils.c (fatal, vfatal): Call throw_vfatal.
6356         (error, verror): Call throw_verror;
6357         (do_write, error_stream_1): Delete function.
6358         (error_stream): Simplify, call error.
6359         (error_last_message, error_init, gdb_lasterr): Delete.
6360         (error_silent): Simplify, call throw_vsilent.
6361         * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
6362         * main.c (captured_main): Delete call to error_init.
6363         * exceptions.c (throw_verror, throw_verror)
6364         (throw_vsilent): New functions.
6365         (do_write, print_and_throw): New functions.
6366         (last_message): New global.
6367         (throw_reason): Replace error_last_message with last_message.
6368         (catch_exceptions_with_msg): Dup the message.
6369         * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
6370         Declare.
6371
6372 2005-01-13  Michael Snyder  <msnyder@redhat.com>
6373
6374         * remote-st.c: Whitespace tweaks.
6375         * remote-sim.c: Whitespace tweaks.
6376         * remote-mips.c: Whitespace tweaks.
6377         * pa64solib.[ch]: Whitespace tweaks.
6378         * mdebugread.c: Whitespace tweaks.
6379         * main.c: Whitespace tweaks.
6380         * interps.c: Whitespace tweaks.
6381         * infrun.c: Whitespace tweaks.
6382         * infcmd.c: Whitespace tweaks.
6383         * hpux-thread.c: Whitespace tweaks.
6384         * hppa-hpux-tdep.c: Whitespace tweaks.
6385         * gdbcore.h: Whitespace tweaks.
6386         * gdbcmd.h: Whitespace tweaks.
6387         * gdb-events[.c, .h, .sh]: Whitespace tweaks.
6388         * corefile.c: Whitespace tweaks.
6389         * completer.c: Whitespace tweaks.
6390         * coff-solib.c: Whitespace tweaks.
6391         * coff-solib.h: Whitespace tweaks.
6392         * cli-out.c: Whitespace tweaks.
6393         * breakpoint.c: Whitespace tweaks.
6394         * cli/cli-interp.c: Tweak comments, per coding standard.
6395
6396 2005-01-13  Andrew Cagney  <cagney@gnu.org>
6397
6398         * breakpoint.c (gdb_breakpoint_query): Update, use
6399         catch_exceptions_with_msg.
6400         (do_captured_breakpoint): Add uiout parameter.
6401         (gdb_breakpoint): Update, use catch_exceptions_with_msg.
6402         * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
6403         gdb_thread_select.  Return MI_CMD_ERROR instead of
6404         MI_CMD_CAUGHT_ERROR.
6405         (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
6406         (enum captured_mi_execute_command_actions): Delete
6407         EXECUTE_COMMAND_DISPLAY_ERROR.
6408         (captured_mi_execute_command): Delete code handling
6409         MI_CMD_CAUGHT_ERROR.
6410         (mi_execute_command): Don't check for
6411         EXECUTE_COMMAND_DISPLAY_ERROR.
6412         * mi/mi-cmd-break.c (breakpoint_notify): Update call to
6413         gdb_breakpoint_query.
6414         (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
6415         * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
6416         * gdb.h (gdb_thread_select, gdb_list_thread_ids)
6417         (gdb_breakpoint, gdb_breakpoint_query): Add error_message
6418         parameter.
6419         * thread.c (thread_command): Update call.
6420         (gdb_thread_select, gdb_list_thread_ids): Update, call
6421         catch_exceptions_with_msg.
6422
6423         * mi/mi-main.c (mi_execute_command): Use catch_exception,
6424         eliminate call to error_last_message.
6425         (captured_mi_execute_command): Change return type to void.
6426
6427 2005-01-12  Andrew Cagney  <cagney@gnu.org>
6428
6429         * exceptions.c (exception_none): New variable.
6430         * Makefile.in: Update dependencies.
6431         * interps.c: Include "exceptions.h".
6432         (interpreter_exec_cmd, interp_exec): Update to return "struct
6433         exception"
6434         * exceptions.h (no_exception): Declare.
6435         * tui/tui-interp.c (tui_exec): Update to return "struct exception"
6436         * mi/mi-interp.c: Include "exceptions.h".
6437         (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
6438         'struct exception".
6439         * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
6440         (do_captured_execute_command): Update to use catch_exception.
6441         * interps.h: Include "exceptions.h".
6442         (interp_exec_ftype, interp_exec): Return "struct exception".
6443
6444         * exceptions.h (throw_reason): Rename throw_exception.
6445         (enum errors, struct exception): Define.
6446         (catch_exception_ftype): Define.
6447         (catch_exception, throw_exception): Declare.
6448         * exceptions.c (throw_exception): Rewrite.
6449         (throw_reason): New function.
6450         (struct catcher, catcher_state_machine): Replace "reason" with
6451         "exception", delete "gdberrmsg".
6452         (catch_exception): New function.
6453         (catcher_init): Replace "gdberrmsg" parameter with "exception".
6454         (catch_errors, catch_exceptions_with_msg): Re-implement passing
6455         exception to catcher_init.
6456         * utils.c (error_silent, error_stream_1): Use throw_reason.
6457         (internal_verror, quit): Ditto.
6458         * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
6459         * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
6460         * remote.c (remote_open_1, interrupt_query): Ditto.
6461
6462 2005-01-12  Mark Kettenis  <kettenis@gnu.org>
6463
6464         * i386fbsd-tdep.c: Update copyright year.  Include "gdbcore.h",
6465         "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
6466         (i386fbsd_jmp_buf_reg_offset): New variable.
6467         (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
6468         functions.
6469         (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
6470         * Makefile.in (i386fbsd-tdep.o): Update dependency.
6471         * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
6472
6473         * bsd-uthread.h: New file.
6474         * bsd-uthread.c: New file.
6475         * Makefile.in (bsd_uthread_h): New variable.
6476         (ALLDEPFILES): Add bsd-uthread.c.
6477         (bsd-uthread.o): New dependency.
6478
6479         * solib.h Update copyright year.
6480         (struct so_list): Forward declaration.
6481         (solib_read_symbols): New prototype.
6482         * solib.c (solib_read_symbols): New function.
6483         (solib_add): Call solib_read_symbols to read in symbols.
6484         (update_solib_list): Call observer_notify_solib_loaded.
6485
6486         * i386bsd-nat.c: Update copyright year.  Don't include
6487         <sys/param.h> and <sys/user.h>.
6488         (register_u_addr, kernel_u_size): Remove functions.
6489         * config/i386/obsd.mh (NAT_FILE): Remove.
6490         * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
6491         * config/i386/nm-obsd.h: Remove file.
6492
6493 2005-01-12  Andrew Cagney  <cagney@gnu.org>
6494
6495         * exceptions.c: Include "gdb_string.h".
6496         (enum catcher_state, struct catcher): Define.
6497         (current_catcher): New global, replaces catch_return;
6498         (catch_return): Delete.
6499         (throw_exception): Use current_catcher->buf;
6500         (catcher_init, catcher_pop, catcher_state_machine): New functions.
6501         (catcher): Delete.
6502         (struct catch_errors_args): Delete.
6503         (do_catch_errors): Delete.
6504         (catch_exceptions): Replace body with call to
6505         catch_exceptions_with_msg.
6506         (catcher): Delete.
6507         (catch_exceptions_with_msg, catch_errors): Re-implement using
6508         catcher_state_machine.
6509
6510         * exceptions.h (enum return_reason, RETURN_MASK)
6511         (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
6512         (return_mask, throw_exception, catch_exceptions_ftype)
6513         (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
6514         (catch_command_errors_ftype, catch_command_errors): Move to
6515         exceptions.h.
6516         * exceptions.c, exceptions.h: New files.
6517         * top.c: Do not include <setjmp.h>.
6518         (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
6519         (throw_exception, catcher, catch_exceptions)
6520         (catch_exceptions_with_msg, struct catch_errors_args)
6521         (do_catch_errors, catch_errors, struct captured_command_args)
6522         (do_captured_command, catch_command_errors): Move to exceptions.c.
6523         * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
6524         * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
6525         * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
6526         * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
6527         * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
6528         * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
6529         * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
6530         * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
6531         * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
6532         * ada-valprint.c, ada-lang.c: Ditto.
6533         * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
6534         exceptions.o.  Update all dependencies.
6535
6536 2005-01-11  Mark Kettenis  <kettenis@gnu.org>
6537
6538         * config/i386/nm-fbsd.h: Update copyright year.
6539         Don't include "config/nm-bsd.h".
6540         (KERNEL_U_SIZE): Remove macro.
6541         (kernel_u_size): Remove prototype.
6542
6543         * config/vax/nbsdaout.mh (NAT_FILE): Remove.
6544         * config/vax/nm-nbsdaout.h: Remove file.
6545
6546 2005-01-10  Elena Zannoni  <ezannoni@redhat.com>
6547
6548         * MAINTAINERS: Remove self from sh/sh64 maintainership.
6549
6550 2005-01-10  Andrew Cagney  <cagney@gnu.org>
6551
6552         * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
6553         changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
6554         maintainer.
6555
6556         * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
6557         changes to CRIS.
6558
6559         * MAINTAINERS: Remove "Maintenance Only".  Spell out that CAN
6560         COMMIT means can approve).
6561
6562 2005-01-10  Mark Kettenis  <kettenis@gnu.org>
6563
6564         * vax-nat.c: Update copyright year.  Include "inf-ptrace.h".
6565         (vax_register_u_offset): Make statuc.
6566         (_initialize_vax_nat): Construct and add target vector.
6567         * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
6568         inftarg.o.  Add inf-ptrace.o.
6569         * Makefile.in (vax-nat.o): Update dependencies.
6570
6571         * inf-ptrace.h: Update copyright year.  Sync comment with
6572         inf-ptrace.c.
6573         (inf_ptrace_trad_target): New prototype.
6574         * inf-ptrace.c: Update copyright year.  Include "regcache.h" and
6575         "gdb_assert.h"
6576         (inf_ptrace_target): Add comment.
6577         (inf_ptrace+register_u_offset): New variable.
6578         (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
6579         (inf_ptrace_store_register, inf_ptrace_store_registers)
6580         (inf_ptrace_trad_target): New functions.
6581         * Makefile.in (inf-ptrace.o): Update dependencies.
6582
6583 2005-01-09  Mark Kettenis  <kettenis@gnu.org>
6584
6585         * configure.ac: Provide prerequisite headers when checking
6586         <link.h>, <sys/proc.h> and <sys/user.h>.
6587         * configure: Regenerate.
6588
6589 2005-01-08  Mark Kettenis  <kettenis@gnu.org>
6590
6591         * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
6592         tm-ppc-eabi.h instead of the removed tm-nbsd.h.
6593
6594 2005-01-07  Mark Kettenis  <kettenis@gnu.org>
6595
6596         * config/ia64/tm-linux.h: Tweak comment.  Update copyright year.
6597         Don't include "tm-ia64.h".
6598         * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
6599         * config/ia64/tm-ia64.h: Remove.  Move contents ...
6600         * ia64-tdep.h: ... here.  Update copyright year.
6601
6602 2005-01-07  Andrew Cagney  <cagney@gnu.org>
6603
6604         * configure.ac: Rename configure.in, require autoconf 2.59.
6605         * configure: Re-generate.
6606
6607         * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
6608         xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
6609         to configdirs.
6610
6611         * configure.in: Replace configdirs with multiple references to
6612         AC_CONFIG_SUBDIRS.
6613         * configure: Re-generate.
6614
6615 2005-01-05  Andreas Schwab  <schwab@suse.de>
6616
6617         * ia64-tdep.c: Include "osabi.h".
6618         (native_find_global_pointer): Delete.
6619         (ia64_find_global_pointer): Renamed from
6620         generic_elf_find_global_pointer.
6621         (FIND_GLOBAL_POINTER): Delete.  Change all users to call
6622         ia64_find_global_pointer instead.
6623         (ia64_gdbarch_init): Call gdbarch_init_osabi.  Remove references
6624         to ia64_linux_sigcontext_register_address and
6625         ia64_linux_write_pc.  Don't set tdep->find_global_pointer.
6626         (_initialize_ia64_tdep): Call gdbarch_register instead of
6627         deprecated register_gdbarch_init.
6628         (struct gdbarch_tdep): Remove find_global_pointer field and move
6629         to ...
6630         * ia64-tdep.h (struct gdbarch_tdep): ... here.
6631         (ia64_linux_sigcontext_register_address): Remove declaration.
6632         (ia64_linux_getunwind_table): Likewise.
6633         (ia64_linux_write_pc): Likewise.
6634         * ia64-linux-tdep.c: Include "osabi.h".
6635         (ia64_linux_sigcontext_register_address): Make static.
6636         (ia64_linux_write_pc): Likewise.
6637         (ia64_linux_init_abi): New.
6638         (_initialize_ia64_linux_tdep): New.
6639         * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
6640         $(osabi_h).
6641
6642 2005-01-05  Kevin Buettner  <kevinb@redhat.com>
6643
6644         * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
6645         functions in ia64-aix-tdep.c.
6646         * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
6647         function defined in ia64-aix-tdep.c.
6648         * ia64-aix-tdep.c: Remove file.
6649         * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
6650         this list.
6651         * Makefile.in (ia64-aix-tdep.o): Delete.
6652
6653 2005-01-05  Baurjan Ismagulov  <ibr@ata.cs.hun.edu.tr>
6654
6655         Committed by Andrew Cagney.
6656         * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
6657         * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
6658         * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
6659         * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
6660         * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
6661         * aix-thread.c (_initialize_aix_thread): Get rid of the
6662         deprecated_add_show_from_set call.
6663         * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
6664         * arm-tdep.c (_initialize_arm_tdep): Ditto.
6665         * command.h (add_setshow_enum_cmd): Add arguments for returning
6666         new list elements.
6667         * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
6668         * mips-tdep.c (_initialize_mips_tdep): Modify calls to
6669         add_setshow_enum_cmd.
6670
6671 2005-01-04  Mark Kettenis  <kettenis@gnu.org>
6672
6673         * configure.host (ia64-*-aix*): Remove.
6674         * configure.tgt (ia64-*-aix*): Remove.
6675         * config/ia64/aix.mh: Remove file.
6676         * config/ia64/aix.mt: Remove file.
6677         * config/ia64/tm-aix.h: Remove file.
6678         * ia64-aix-nat.c: Remove file.
6679         * Makefile.in (ia64-aix-nat.o): Remove dependency.
6680
6681         * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
6682         Add back inf-ptrace.o.
6683
6684 2005-01-04  Andrew Cagney  <cagney@gnu.org>
6685
6686         * version.in: Change format from 6.3.50_2005-01-04-cvs to
6687         6.3.50.20050104-cvs.
6688
6689 2005-01-04  Andreas Schwab  <schwab@suse.de>
6690
6691         * breakpoint.c (break_command_1): Always free err_msg before
6692         returning when an exception was caught.
6693
6694 2005-01-01  Joel Brobecker  <brobecker@gnat.com>
6695
6696         * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
6697         in register number for addil instruction.
6698
6699 For older changes see ChangeLog-2004.
6700 \f
6701 Local Variables:
6702 mode: change-log
6703 left-margin: 8
6704 fill-column: 74
6705 version-control: never
6706 End: