2005-01-12 Andrew Cagney <cagney@gnu.org>
[external/binutils.git] / gdb / ChangeLog
1 2005-01-12  Andrew Cagney  <cagney@gnu.org>
2
3         * exceptions.c: Include "gdb_string.h".
4         (enum catcher_state, struct catcher): Define.
5         (current_catcher): New global, replaces catch_return;
6         (catch_return): Delete.
7         (throw_exception): Use current_catcher->buf;
8         (catcher_init, catcher_pop, catcher_state_machine): New functions.
9         (catcher): Delete.
10         (struct catch_errors_args): Delete.
11         (do_catch_errors): Delete.
12         (catch_exceptions): Replace body with call to
13         catch_exceptions_with_msg.
14         (catcher): Delete.
15         (catch_exceptions_with_msg, catch_errors): Re-implement using
16         catcher_state_machine.
17
18         * exceptions.h (enum return_reason, RETURN_MASK)
19         (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
20         (return_mask, throw_exception, catch_exceptions_ftype)
21         (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
22         (catch_command_errors_ftype, catch_command_errors): Move to
23         exceptions.h.
24         * exceptions.c, exceptions.h: New files.
25         * top.c: Do not include <setjmp.h>.
26         (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
27         (throw_exception, catcher, catch_exceptions)
28         (catch_exceptions_with_msg, struct catch_errors_args)
29         (do_catch_errors, catch_errors, struct captured_command_args)
30         (do_captured_command, catch_command_errors): Move to exceptions.c.
31         * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
32         * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
33         * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
34         * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
35         * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
36         * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
37         * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
38         * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
39         * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
40         * ada-valprint.c, ada-lang.c: Ditto.
41         * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
42         exceptions.o.  Update all dependencies.
43         
44 2005-01-11  Mark Kettenis  <kettenis@gnu.org>
45
46         * config/i386/nm-fbsd.h: Update copyright year.
47         Don't include "config/nm-bsd.h".
48         (KERNEL_U_SIZE): Remove macro.
49         (kernel_u_size): Remove prototype.
50
51         * config/vax/nbsdaout.mh (NAT_FILE): Remove.
52         * config/vax/nm-nbsdaout.h: Remove file.
53
54 2005-01-10  Elena Zannoni  <ezannoni@redhat.com>
55
56         * MAINTAINERS: Remove self from sh/sh64 maintainership.
57
58 2005-01-10  Andrew Cagney  <cagney@gnu.org>
59
60         * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
61         changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
62         maintainer.
63
64         * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
65         changes to CRIS.
66
67         * MAINTAINERS: Remove "Maintenance Only".  Spell out that CAN
68         COMMIT means can approve).
69
70 2005-01-10  Mark Kettenis  <kettenis@gnu.org>
71
72         * vax-nat.c: Update copyright year.  Include "inf-ptrace.h".
73         (vax_register_u_offset): Make statuc.
74         (_initialize_vax_nat): Construct and add target vector.
75         * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
76         inftarg.o.  Add inf-ptrace.o.
77         * Makefile.in (vax-nat.o): Update dependencies.
78
79         * inf-ptrace.h: Update copyright year.  Sync comment with
80         inf-ptrace.c.
81         (inf_ptrace_trad_target): New prototype.
82         * inf-ptrace.c: Update copyright year.  Include "regcache.h" and
83         "gdb_assert.h"
84         (inf_ptrace_target): Add comment.
85         (inf_ptrace+register_u_offset): New variable.
86         (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
87         (inf_ptrace_store_register, inf_ptrace_store_registers)
88         (inf_ptrace_trad_target): New functions.
89         * Makefile.in (inf-ptrace.o): Update dependencies.
90
91 2005-01-09  Mark Kettenis  <kettenis@gnu.org>
92
93         * configure.ac: Provide prerequisite headers when checking
94         <link.h>, <sys/proc.h> and <sys/user.h>.
95         * configure: Regenerate.
96
97 2005-01-08  Mark Kettenis  <kettenis@gnu.org>
98
99         * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
100         tm-ppc-eabi.h instead of the removed tm-nbsd.h.
101
102 2005-01-07  Mark Kettenis  <kettenis@gnu.org>
103
104         * config/ia64/tm-linux.h: Tweak comment.  Update copyright year.
105         Don't include "tm-ia64.h".
106         * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
107         * config/ia64/tm-ia64.h: Remove.  Move contents ...
108         * ia64-tdep.h: ... here.  Update copyright year.
109
110 2005-01-07  Andrew Cagney  <cagney@gnu.org>
111
112         * configure.ac: Rename configure.in, require autoconf 2.59.
113         * configure: Re-generate.
114
115         * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
116         xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
117         to configdirs.
118
119         * configure.in: Replace configdirs with multiple references to
120         AC_CONFIG_SUBDIRS.
121         * configure: Re-generate.
122         
123 2005-01-05  Andreas Schwab  <schwab@suse.de>
124
125         * ia64-tdep.c: Include "osabi.h".
126         (native_find_global_pointer): Delete.
127         (ia64_find_global_pointer): Renamed from
128         generic_elf_find_global_pointer.
129         (FIND_GLOBAL_POINTER): Delete.  Change all users to call
130         ia64_find_global_pointer instead.
131         (ia64_gdbarch_init): Call gdbarch_init_osabi.  Remove references
132         to ia64_linux_sigcontext_register_address and
133         ia64_linux_write_pc.  Don't set tdep->find_global_pointer.
134         (_initialize_ia64_tdep): Call gdbarch_register instead of
135         deprecated register_gdbarch_init.
136         (struct gdbarch_tdep): Remove find_global_pointer field and move
137         to ...
138         * ia64-tdep.h (struct gdbarch_tdep): ... here.
139         (ia64_linux_sigcontext_register_address): Remove declaration.
140         (ia64_linux_getunwind_table): Likewise.
141         (ia64_linux_write_pc): Likewise.
142         * ia64-linux-tdep.c: Include "osabi.h".
143         (ia64_linux_sigcontext_register_address): Make static.
144         (ia64_linux_write_pc): Likewise.
145         (ia64_linux_init_abi): New.
146         (_initialize_ia64_linux_tdep): New.
147         * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
148         $(osabi_h).
149
150 2005-01-05  Kevin Buettner  <kevinb@redhat.com>
151
152         * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on 
153         functions in ia64-aix-tdep.c.
154         * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
155         function defined in ia64-aix-tdep.c.
156         * ia64-aix-tdep.c: Remove file.
157         * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
158         this list.
159         * Makefile.in (ia64-aix-tdep.o): Delete.
160
161 2005-01-05  Baurjan Ismagulov  <ibr@ata.cs.hun.edu.tr>
162
163         Committed by Andrew Cagney.
164         * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
165         * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
166         * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
167         * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
168         * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
169         * aix-thread.c (_initialize_aix_thread): Get rid of the
170         deprecated_add_show_from_set call.
171         * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
172         * arm-tdep.c (_initialize_arm_tdep): Ditto.
173         * command.h (add_setshow_enum_cmd): Add arguments for returning
174         new list elements.
175         * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
176         * mips-tdep.c (_initialize_mips_tdep): Modify calls to
177         add_setshow_enum_cmd.
178
179 2005-01-04  Mark Kettenis  <kettenis@gnu.org>
180
181         * configure.host (ia64-*-aix*): Remove.
182         * configure.tgt (ia64-*-aix*): Remove.
183         * config/ia64/aix.mh: Remove file.
184         * config/ia64/aix.mt: Remove file.
185         * config/ia64/tm-aix.h: Remove file.
186         * ia64-aix-nat.c: Remove file.
187         * Makefile.in (ia64-aix-nat.o): Remove dependency.
188
189         * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
190         Add back inf-ptrace.o.
191
192 2005-01-04  Andrew Cagney  <cagney@gnu.org>
193
194         * version.in: Change format from 6.3.50_2005-01-04-cvs to
195         6.3.50.20050104-cvs.
196
197 2005-01-04  Andreas Schwab  <schwab@suse.de>
198
199         * breakpoint.c (break_command_1): Always free err_msg before
200         returning when an exception was caught.
201
202 2005-01-01  Joel Brobecker  <brobecker@gnat.com>
203
204         * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
205         in register number for addil instruction.
206
207 For older changes see ChangeLog-2004.
208 \f
209 Local Variables:
210 mode: change-log
211 left-margin: 8
212 fill-column: 74
213 version-control: never
214 End: