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