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