1 2005-02-21 Andrew Cagney <cagney@gnu.org>
3 * command.h (deprecated_add_set_cmd): Rename add_set_cmd.
4 * cli/cli-decode.h (add_set_cmd): Delete declaration.
5 * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd.
6 * i386-nat.c (_initialize_i386_nat): Update call.
7 * valprint.c (_initialize_valprint): Update comment.
8 * gnu-nat.c (_initialize_gnu_nat): Update call.
10 2005-02-21 Alan Modra <amodra@bigpond.net.au>
12 * elfread.c (elf_symtab_read): Discard section syms.
14 2005-02-21 Andrew Cagney <cagney@gnu.org>
16 * cli/cli-decode.c (add_set_enum_cmd): Delete function.
17 (deprecated_add_show_from_set): Delete function.
18 * command.h (add_set_enum_cmd): Delete declaration.
19 (deprecated_add_show_from_set): Delete declaration.
20 * cli/cli-decode.h (add_set_enum_cmd): Delete declaration.
21 (deprecated_add_show_from_set): Delete declaration.
22 * arm-tdep.c (_initialize_arm_tdep): Update comment.
23 * kod.c (kod_set_os): Simplify.
24 * infrun.c (set_schedlock_func): Simplify.
25 * cli/cli-dump.c (add_dump_command): Update comment.
27 Replace string variables with a filename completer with
28 add_setshow_optional_filename_cmd.
29 * solib.c, symfile.c: Update.
30 * cli/cli-setshow.c: Do not tidle expand the file.
32 Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd,
33 and add_setshow_string_noescape_cmd.
34 * cli/cli-setshow.c (deprecated_show_value_hack): Do not print a
36 * kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update.
37 * remote-sds.c, remote.c, symfile.c, top.c: Update.
39 2005-02-20 Andrew Cagney <cagney@gnu.org>
41 Use add_setshow_enum_cmd through out.
42 * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update.
43 * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update.
45 * mi/mi-main.c (captured_mi_execute_command): Use
46 mi_cmd_interpreter_exec.
48 * cli/cli-decode.c (add_setshow_optional_filename_cmd): New
50 * cli/cli-setshow.c (deprecated_show_value_hack)
51 (do_setshow_command): Handle var_optional_filename.
52 * command.h (enum var_types): Add var_optional_filename.
53 (add_setshow_optional_filename_cmd): Declare.
54 * infcmd.c (notice_args_read): Use.
56 * symfile-mem.c (symbol_file_add_from_memory): Pass
57 target_read_memory to bfd_elf_bfd_from_remote_memory.
58 (do_target_read_memory): Delete.
60 2005-02-16 Mark Kettenis <kettenis@gnu.org>
62 * value.h (value_contents_equal): New prototype.
63 * value.c (value_contents_equal): New function.
64 * varobj.c: Include "exceptions.h" and "gdb_assert.h". Don't
66 (varobj_set_value): Initialize error to zero.
67 (varobj_update): Rename error2 to error and initialize it to zero.
68 Slightly change the wording of some comments.
69 (my_value_equal): Reimplement using TRY_CATCH and
72 2005-02-18 Andrew Cagney <cagney@gnu.org>
74 * cli/cli-decode.c (add_setshow_integer_cmd): New function.
75 * command.h (add_setshow_integer_cmd): Declare.
76 * cli/cli-cmds.c: Update.
78 Use add_setshow_uinteger_cmd through out.
79 * printcmd.c, source.c, utils.c, valprint.c: Update.
81 Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh
83 * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update.
84 * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update.
85 * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update.
86 * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update.
87 * varobj.c, cli/cli-cmds.c: Update.
88 * gdbarch.c, gdb-events.c: Regenerate.
90 Use add_setshow_boolean_command through out. Delete #ifdef 0'ed
91 code adding set/show boolean commands.
92 * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update.
93 * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update.
94 * proc-api.c, remote-mips.c, remote.c, solib.c: Update.
95 * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update.
96 * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update.
97 * cli/cli-cmds.c: Update.
99 2005-02-17 Andrew Cagney <cagney@gnu.org>
101 * cli/cli-decode.c (add_setshow_filename_cmd): Set the completer
102 to filename_completer.
103 * solib.c (_initialize_solib, reload_shared_libraries): Use
104 add_setshow_filename_cmd.
105 * serial.c (_initialize_serial): Ditto.
106 * remote-utils.c (_initialize_sr_support): Ditto.
108 * cli/cli-decode.c (add_setshow_string_noescape_cmd): New function.
109 * command.h (add_setshow_string_noescape_cmd): Declare.
110 * wince.c (_initialize_wince): Use.
111 * symfile.c (_initialize_symfile): Use.
112 (set_ext_lang_command): Update declaration.
113 * corefile.c (_initialize_core): Use.
115 * cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd)
116 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
117 (add_setshow_filename_cmd, add_setshow_string_cmd)
118 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
119 fprint_setshow parameter.
120 * command.h (fprint_setshow_ftype): Delete.
121 (add_setshow_cmd_full, add_setshow_enum_cmd)
122 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
123 (add_setshow_filename_cmd, add_setshow_string_cmd)
124 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete
125 fprint_setshow parameter.
126 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
127 * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update.
128 * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update.
129 * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update
130 * remote.c, target.c, cli/cli-logging.c: Update.
132 2005-02-16 Andrew Cagney <cagney@gnu.org>
134 Merge setshow print and show parameters.
135 * command.h (show_value_ftype): Define.
136 (deprecated_show_value_hack): Declare.
137 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
138 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
139 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
140 (add_setshow_zinteger_cmd): Change type of show_func to
142 * cli/cli-decode.h (struct cmd_list_element): Replace
143 fprint_setshow with show_value_func.
144 * cli/cli-decode.c (add_setshow_cmd_full): Update show_func
145 parameter. Set show_value_func. Do not set cmd_sfunc.
146 (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd)
147 (add_setshow_boolean_cmd, add_setshow_filename_cmd)
148 (add_setshow_string_cmd, add_setshow_uinteger_cmd)
149 (add_setshow_zinteger_cmd): Update.
150 * complaints.c (complaints_show_value): Replace
151 fprint_setshow_complaints.
152 (_initialize_complaints): Update.
153 * mips-tdep.c (show_mask_address): Update.
154 * arm-tdep.c (show_fp_model): Update.
155 * cli/cli-setshow.c (do_setshow_command): Call show_value_func
156 instead of fprint_setshow. Use deprecated_show_value_hack.
157 (deprecated_show_value_hack): New function.
158 * remote.c (add_packet_config_cmd, show_remote_cmd):
159 (show_remote_protocol_P_packet_cmd)
160 (show_remote_protocol_P_packet_cmd)
161 (show_remote_protocol_Z_access_wp_packet_cmd)
162 (show_remote_protocol_Z_hardware_bp_packet_cmd)
163 (show_remote_protocol_Z_packet_cmd)
164 (show_remote_protocol_Z_read_wp_packet_cmd)
165 (show_remote_protocol_Z_software_bp_packet_cmd)
166 (show_remote_protocol_Z_write_wp_packet_cmd)
167 (show_remote_protocol_binary_download_cmd)
168 (show_remote_protocol_p_packet_cmd)
169 (show_remote_protocol_qPart_auxv_packet_cmd)
170 (show_remote_protocol_qSymbol_packet_cmd)
171 (show_remote_protocol_vcont_packet_cmd): Update.
173 2005-02-16 Mark Kettenis <kettenis@gnu.org>
175 * wrapper.h: Update copyright year. Properly wrap a few
177 (struct gdb_wrapper_arguments): Remove forward declaration.
178 * wrapper.c: Update copyright year. Include "ui-out.h".
179 (struct gdb_wrapper_arguments): Remove.
180 (struct captured_value_struct_elt_args): Remove.
181 (wrapper_parse_exp_1, wrap_evaluate_expression)
182 (wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign)
183 (wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type)
184 (do_captured_value_struct_elf): Remove functions.
185 (gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy)
186 (gdb_value_equal, gdb_value_assign, gdb_value_subscript)
187 (gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt):
188 Re-implement using TRY_CATCH.
190 2005-02-16 Yoshinori Sato <ysato@users.sourceforge.jp>
192 * remote-e7000.c: unuse TM_FILE defined macro.
193 (e7000_fetch_registers)
194 (e7000_store_registers)
195 (e7000_wait): delete NUM_REALREGS.
196 * remote-hms.c: move TM_FILE macro.
197 (CCR_REGNO): move define from tm-h8300.h.
199 2005-02-15 Mark Kettenis <kettenis@gnu.org>
201 * amd64-linux-tdep.c: Update copyright year.
202 (amd64_linux_sigtramp_start): Use sizeof operator instead of
205 2004-02-15 Joel Brobecker <brobecker@gnat.com>
207 From Paul Hilfinger <hilfinger@gnat.com>
208 * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
209 SYMBOL_NATURAL_NAME to set type names.
211 2005-02-15 Andrew Cagney <cagney@gnu.org>
213 Mark up add_com, add_info and add_prefix_cmd.
214 * breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update.
215 * exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update.
216 * go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
217 * kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update.
218 * maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update.
219 * ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update.
220 * remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update.
221 * remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update.
222 * remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update.
223 * sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update.
224 * symfile.c, symtab.c, target.c, thread.c, top.c: Update.
225 * tracepoint.c, typeprint.c, utils.c, valprint.c: Update.
226 * win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
227 * cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update.
228 * tui/tui-stack.c, tui/tui-win.c: Update.
230 2005-02-14 Andrew Cagney <cagney@gnu.org>
232 * config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete.
233 * config/h8300/tm-h8300.h: Delete file.
236 * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update.
237 * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update.
238 * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update.
239 * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update.
240 * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update.
241 * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update.
242 * sol-thread.c, source.c, stack.c, symfile-mem.c: Update.
243 * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update.
244 * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update.
245 * cli/cli-logging.c, tui/tui-regs.c: Update.
247 Mark up add_setshow functions, replace "PRINT:" comment prefix
249 * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update.
250 * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update.
251 * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update.
252 * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update.
253 * target.c, cli/cli-logging.c: Update.
255 * utils.c (paddress): New function.
256 * defs.h (paddress): Declare.
257 * printcmd.c (deprecated_print_address_numeric): Rename
258 print_address_numeric, call paddress.
259 * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
260 * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
261 * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
262 * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
263 * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
264 * ada-valprint.c: Update.
266 2005-02-13 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
268 * MAINTAINERS: Add myself to "Write After Approval".
270 2005-02-12 Yoshinori Sato <ysato@users.sourceforge.jp>
272 Restore h8300 support.
273 * configure.tgt: Add h8300-*-*
274 * h8300-tdep.c: New file. Rewrite new frame code.
275 * config/h8300/h8300.mt: New file. Restored Rev 1.3
276 * config/h8300/tm-h8300.h: New file. Restored Rev 1.21
278 * MAINTAINERS: Add myself to "Write After Approval".
280 2005-02-11 Andrew Cagney <cagney@gnu.org>
282 Mark up some of printf_filtered and printf_unfiltered.
283 * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update.
284 * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update.
285 * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update.
286 * event-loop.c, event-top.c, exec.c, f-valprint.c: Update.
287 * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update.
288 * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update.
289 * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update.
290 * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update.
291 * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update.
292 * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update.
293 * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update.
294 * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update.
295 * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update.
296 * tui/tui-regs.c, tui/tui-win.c: Update.
298 Mark up error_no_arg, query, perror_with_name, complaint, and
300 * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update.
301 * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update.
302 * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update.
303 * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update.
304 * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update.
305 * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update.
306 * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update.
307 * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update.
308 * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update.
309 * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update.
310 * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update.
311 * interps.c, language.c, linespec.c, linux-nat.c: Update.
312 * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update.
313 * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update.
314 * macrotab.c, maint.c, mdebugread.c, memattr.c: Update.
315 * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update.
316 * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update.
317 * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update.
318 * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update.
319 * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update.
320 * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update.
321 * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update.
322 * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update.
323 * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update.
324 * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update.
325 * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update.
326 * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update.
327 * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update.
328 * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update.
329 * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update.
330 * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update.
331 * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update.
332 * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update.
333 * tui/tui-file.c, tui/tui-interp.c: Update.
335 2005-02-10 Andrew Cagney <cagney@gnu.org>
337 Mark up all error and warning messages.
338 * ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update.
339 * bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update.
340 * core-aout.c, core-regset.c, corefile.c, corelow.c: Update.
341 * cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update.
342 * dbxread.c, demangle.c, doublest.c, dsrec.c: Update.
343 * dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update.
344 * dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update.
345 * event-top.c, exec.c, expprint.c, f-lang.c: Update.
346 * f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update.
347 * frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update.
348 * gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update.
349 * hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update.
350 * hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update.
351 * hpread.c, hpux-thread.c, i386-linux-nat.c: Update.
352 * i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update.
353 * i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update.
354 * ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update.
355 * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update.
356 * inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update.
357 * kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update.
358 * linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update.
359 * m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update.
360 * m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update.
361 * maint.c, mdebugread.c, mem-break.c, memattr.c: Update.
362 * mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update.
363 * nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update.
364 * observer.c, ocd.c, p-lang.c, p-typeprint.c: Update.
365 * p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update.
366 * ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update.
367 * remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update.
368 * remote-rdp.c, remote-sim.c, remote-st.c: Update.
369 * remote-utils.c, remote-utils.h, remote.c: Update.
370 * rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update.
371 * ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update.
372 * sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update.
373 * solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update.
374 * solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update.
375 * somread.c, somsolib.c, source.c, stabsread.c: Update.
376 * stack.c, std-regs.c, symfile-mem.c, symfile.c: Update.
377 * symmisc.c, symtab.c, target.c, thread.c, top.c: Update.
378 * tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update.
379 * uw-thread.c, valarith.c, valops.c, valprint.c: Update.
380 * value.c, varobj.c, version.in, win32-nat.c, wince.c: Update.
381 * xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update.
382 * cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update.
383 * cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update.
384 * mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update.
385 * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update.
386 * mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update.
387 * tui/tui-win.c: Update.
389 2005-02-10 Ian Lance Taylor <ian@airs.com>
391 * MAINTAINERS: Update my e-mail address.
393 2005-02-10 Daniel Jacobowitz <dan@debian.org>
395 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
397 * cp-valprint.c: Include "language.h".
398 (cp_print_value_fields): Pass the current language to
399 fprintf_symbol_filtered.
400 * Makefile.in (cp-valprint.o): Update dependencies.
402 2005-02-10 Andrew Cagney <cagney@gnu.org>
404 * cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full)
405 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
406 (add_setshow_filename_cmd, add_setshow_string_cmd)
407 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace
408 print string parameter with fprint_setshow function.
409 * command.h (fprint_setshow_ftype): Define. Update declarations.
410 * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is
412 * cli/cli-decode.h (struct cmd_list_element): Add field
414 * complaints.c (fprint_setshow_complaints): New function.
415 (_initialize_complaints): Pass to add_setshow_zinteger_cmd.
416 * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter
418 * mips-tdep.c (_initialize_mips_tdep): Ditto.
419 * m32r-rom.c (_initialize_m32r_rom): Ditto.
420 * cris-tdep.c (_initialize_cris_tdep): Ditto.
421 * arm-tdep.c (_initialize_arm_tdep): Ditto.
422 * remote-rdi.c (_initialize_remote_rdi): Ditto.
423 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
424 * dwarf2read.c (_initialize_dwarf2_read): Ditto.
425 * frame.c (_initialize_frame): Ditto.
426 * target.c (initialize_targets): Ditto.
427 * maint.c (_initialize_maint_cmds): Ditto.
428 * observer.c (_initialize_observer): Ditto.
429 * infcall.c (_initialize_infcall): Ditto.
430 * breakpoint.c (_initialize_breakpoint): Ditto.
431 * cli/cli-logging.c (_initialize_cli_logging): Ditto.
432 * remote.c (add_packet_config_cmd, _initialize_remote): Ditto.
434 * cli/cli-setshow.c (do_setshow_command): Move code printing the
435 value to the end of the function. Handle MI and non-MI output
438 2005-02-09 Andrew Cagney <cagney@gnu.org>
440 * cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and
441 show_result parameters.
442 * mips-tdep.c (_initialize_mips_tdep): Update calls.
443 * command.h: Update declaration.
444 * arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update
447 * NEWS: Mention removed commands.
448 * m68hc11-tdep.c (show_regs): Delete, unused.
449 (_initialize_m68hc11_tdep): Delete deprecated "regs" command.
450 * gdb-events.sh: Delete deprecated "set eventdebug" and "show
451 eventdebug" commands.
452 * gdb-events.c: Regenerate.
453 * gdbarch.sh: Delete deprecated "set archdebug" and "show
455 * gdbarch.c: Regenerate.
456 * cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set
457 remotedebug" and "show remotedebug".
458 * arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm
459 disassembly-flavor", "show arm disassembly-flavor", and
460 "othernames" commands.
461 (arm_othernames): Delete unused function.
463 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call)
464 (convert_code_addr_to_desc_addr): Convert any function code
465 address to the corresponding function's descriptor.
466 (ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and
467 TYPE_CODE_INT use the same code paths as TYPE_CODE_INT. When
468 writing, convert any function code address to the corresponding
471 * config/sh/linux.mt (TDEPFILES): Add symfile-mem.o.
472 * config/powerpc/linux.mt (TDEPFILES): Ditto.
473 * config/pa/linux.mt (TDEPFILES): Ditto.
474 * config/mips/linux.mt (TDEPFILES): Ditto.
475 * config/m68k/linux.mt (TDEPFILES): Ditto.
476 * config/m32r/linux.mt (TDEPFILES): Ditto.
477 * config/ia64/linux.mt (TDEPFILES): Ditto.
478 * config/arm/linux.mt (TDEPFILES): Ditto.
480 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
482 * symmisc.c: Include gdb_stat.h.
483 (maintenance_print_msymbols): Use inode numbers to compare files.
485 2005-02-08 Andrew Cagney <cagney@gnu.org>
487 * value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
488 (METHOD_PTR_TO_VOFFSET): Move from here ...
489 * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET)
490 (METHOD_PTR_TO_VOFFSET): ... to here.
491 * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h".
492 * Makefile.in: Update dependencies.
494 * exceptions.c: Do not include <setjmp.h>.
495 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
496 (catch_exception, catch_exceptions_with_msg, catch_errors)
497 (catch_command_errors): Use TRY_CATCH.
498 (struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
499 (exceptions_state_mc_init): Rename catcher_init.
500 (exceptions_state_mc): Rename catcher_state_machine.
501 (exceptions_state_mc_action_iter)
502 (exceptions_state_mc_action_iter_1): New functions.
503 * exceptions.h: Include <setjmp.h>.
504 (EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
505 (EXCEPTIONS_SIGLONGJMP): Define.
506 (exceptions_state_mc_init, exceptions_state_mc_action_iter)
507 (exceptions_state_mc_action_iter_1): Declare.
510 * ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name,
513 * ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit
516 * value.c (struct value): Move to here ...
517 * value.h (struct value): ... from here. Copy comments to
518 corresponding function declarations, re-order.
520 2005-02-07 Andrew Cagney <cagney@gnu.org>
522 * value.c (set_value_bitpos, set_value_bitsize): Define.
523 * value.h (set_value_bitpos, set_value_bitsize): Declare.
524 * ada-lang.c, valarith.c: Update.
526 * cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or
527 value_contents_writeable, include note that there are problems.
528 * breakpoint.c, infcall.c: Use VALUE_LVAL.
530 * value.h (set_value_offset): Declare.
531 * value.c (set_value_offset): Declare.
532 * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update.
535 * value.h (value_next): Declare.
536 * value.c (value_next): Define.
537 * breakpoint.c: Update.
539 * value.h (deprecated_set_value_modifiable)
540 (deprecated_value_modifiable): Declare.
541 * value.c (deprecated_set_value_modifiable): Define.
542 (deprecated_value_modifiable): Define.
543 * ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update.
545 * value.h (deprecated_set_value_type): Declare.
546 * value.c (deprecated_set_value_type): Define.
547 * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update.
548 * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update.
549 * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update.
550 * ax-gdb.c, tracepoint.c: Update.
552 * value.h (deprecated_value_lval_hack)
553 (deprecated_value_address_hack)
554 (deprecated_value_internalvar_hack)
555 (deprecated_value_regnum_hack): Declare.
556 (VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
557 (VALUE_FRAME_ID, VALUE_REGNUM): Use.
558 * value.c (deprecated_value_lval_hack)
559 (deprecated_value_address_hack)
560 (deprecated_value_internalvar_hack)
561 (deprecated_value_regnum_hack): Define.
563 * value.h (VALUE_POINTED_TO_OFFSET): Delete.
564 (set_value_pointed_to_offset, value_pointed_to_offset): Declare.
565 * value.c (set_value_pointed_to_offset): Define
566 (value_pointed_to_offset): Define.
569 * value.h (VALUE_EMBEDDED_OFFSET): Delete.
570 (value_embedded_offset, set_value_embedded_offset): Declare.
571 * value.c (value_embedded_offset): Define.
572 (set_value_embedded_offset): Define.
573 * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
574 * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
577 * value.h (VALUE_LAZY): Delete
578 (set_value_lazy): Declare.
579 * value.c (set_value_lazy): Define.
580 * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
581 * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
583 2005-02-06 Andrew Cagney <cagney@gnu.org>
585 * value.h (VALUE_OPTIMIZED_OUT): Delete.
586 (value_optimized_out, set_value_optimized_out): Declare.
587 * value.c (set_value_optimized_out, value_optimized_out): Define.
588 * valprint.c, findvar.c, dwarf2loc.c: Update.
590 * value.c (value_contents, value_contents_writeable): New
592 * value.h (VALUE_CONTENTS): Delete macro.
593 (value_contents, value_contents_writeable): Declare.
594 * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
595 * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
596 * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
597 * rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
598 * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
599 * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
600 * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
601 * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
602 * c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
603 * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
604 * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
605 * ada-valprint.c, ada-lang.c: Update.
607 2005-02-03 Andrew Cagney <cagney@gnu.org>
609 * utils.c (xzalloc): New function.
610 * defs.h (XZALLOC): Use xzalloc.
612 * value.c (allocate_value): Allocate a zeroed buffer.
613 * mdebugread.c (xzalloc): Delete.
615 2005-02-02 Andrew Cagney <cagney@gnu.org>
617 * value.h (value_lazy): Declare.
618 * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
619 * cp-valprint.c, breakpoint.c, ada-lang.c: Update.
621 * value.h (VALUE_CONTENTS_ALL): Delete.
622 (value_contents_all): Declare.
623 * value.c (value_contents_all): New function.
624 * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
625 * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
627 * value.c (value_enclosing_type): New function.
628 * value.h (VALUE_ENCLOSING_TYPE): Delete.
629 (value_enclosing_type): Declare.
630 * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
631 * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
633 * value.c (value_contents_all_raw)
634 (value_contents_raw): New functions.
635 * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
636 (value_contents_raw, value_contents_all_raw): Declare functions.
637 (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
638 * std-regs.c, valarith.c, valops.c, eval.c: Update.
639 * tracepoint.c, findvar.c: Update.
641 2005-02-01 Orjan Friberg <orjanf@axis.com>
643 * regformats/reg-cris.dat: New file with register definitions for CRIS.
644 * regformats/reg-crisv32.dat: Ditto for CRISv32.
646 2005-01-31 Andrew Cagney <cagney@gnu.org>
648 * configure: Regenerate to track ../gettext.m4.
650 2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
652 * MAINTAINERS: Add myself to "Write After Approval".
654 * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
655 * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
656 * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
658 2005-01-29 Mark Kettenis <kettenis@gnu.org>
660 * configure.ac: Remove extra check for ranlib.
661 * configure: Regenerated.
663 2005-01-28 Andrew Cagney <cagney@gnu.org>
665 * language.h (struct language_defn): Make la_val_print's buffer
666 parameter a const bfd_byte.
667 * cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
668 * ada-lang.c (ada_aligned_value_addr)
669 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
670 * valprint.c (val_print_array_elements): Update.
671 * valprint.h (val_print_array_elements): Update.
672 * ada-lang.h (ada_val_print, ada_aligned_value_addr)
673 (ada_value_primitive_packed_val, ada_which_variant_applies): Update.
674 * ada-valprint.c (ada_val_print, struct ada_val_print_args)
675 (ada_val_print_1, ada_print_floating, printable_val_type)
676 (print_record, val_print_packed_array_elements)
677 (print_field_values, print_variant_part): Update.
678 * c-lang.h (c_val_print, cp_print_value_fields): Update.
679 * c-valprint.c (c_val_print): Update.
680 * f-lang.h (f_val_print): Update.
681 * f-valprint.c (f_val_print, f77_print_array_1)
682 (f77_print_array): Update.
683 * jv-lang.h (java_val_print): Update.
684 * jv-valprint.c (java_print_value_fields, java_val_print): Update.
685 * language.c (unk_lang_val_print): Update.
686 * m2-lang.h (m2_val_print): Update.
687 * m2-valprint.c (m2_val_print): Update.
688 * p-lang.h (pascal_val_print): Update.
689 (pascal_object_print_value_fields): Update.
690 * p-valprint.c (pascal_val_print)
691 (pascal_object_print_value_fields, pascal_object_print_value)
692 (pascal_object_print_value): Update.
693 * scm-lang.h (scm_val_print): Update.
694 * scm-valprint.c (scm_val_print): Update.
695 * value.h (val_print): Update.
697 * p-lang.h (pascal_object_print_class_member)
698 (pascal_object_print_class_method): Make buffer a const bfd_byte.
699 * p-valprint.c (pascal_object_print_class_method)
700 (pascal_object_print_class_method): Ditto.
702 * language.h (struct language_defn): Make la_printstr's buffer
703 parameter a const bfd_byte.
704 * p-lang.h (pascal_printstr): Update function to match.
705 * ada-valprint.c (ada_printstr): Update function to match.
706 * scm-lang.c (scm_printstr): Update function to match.
707 * p-lang.c (pascal_printstr): Update function to match.
708 * ada-lang.h (ada_printstr): Update function to match.
709 * m2-lang.c (m2_printstr): Update function to match.
710 * objc-lang.c (objc_printstr): Update function to match.
711 * c-lang.h (c_printstr): Update function to match.
712 * f-lang.c (f_printstr): Update function to match.
713 * c-lang.c (c_printstr): Update function to match.
714 * language.c (unk_lang_printstr): Update function to match.
716 * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
717 * valprint.h (val_print_type_code_int): Ditto.
719 * objc-lang.h (c_val_print, c_value_print): Delete declarations.
721 * cp-valprint.c (cp_print_class_method)
722 (cp_print_class_member): Make buffer a const bfd_byte.
723 * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
725 * ada-lang.c (value_from_contents_and_address)
726 (to_record_with_fixed_variant_part)
727 (value_tag_from_contents_and_address, ada_to_fixed_type)
728 (to_fixed_variant_branch_type, to_fixed_record_type)
729 (ada_template_to_fixed_record_type, cond_offset_host)
730 (ada_template_to_fixed_record_type_1): Make buffer a const
732 * ada-lang.h (ada_template_to_fixed_record_type_1)
733 (value_from_contents_and_address, ada_to_fixed_type): Ditto.
735 * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
737 * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
738 * printcmd.c (print_scalar_formatted): Update.
740 * value.h (value_bit_index, print_floating)
741 (find_rt_vbase_offset): Make buffer a const bfd_byte.
742 * valprint.c (print_floating): Update.
743 * valarith.c (value_bit_index): Update.
744 * valops.c (find_rt_vbase_offset): Update.
746 * valprint.h (print_octal_chars, print_char_chars)
747 (print_hex_chars, print_decimal_chars, print_binary_chars): Make
748 buffer a const bfd_byte.
749 * valprint.c (print_binary_chars, print_octal_chars)
750 (print_decimal_chars, print_hex_chars, print_char_chars): Make
751 "valaddr"buffer a const bfd_byte, ditto for local variables
752 referencing that buffer.
754 * m2-valprint.c: Include "c-lang.h".
755 (c_val_print): Delete extern declaration.
756 * scm-valprint.c: Include "c-lang.h".
757 (c_val_print): Delete extern declaration.
758 Makefile.in: Update dependencies.
760 * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
762 * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
763 (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
765 * cp-abi.c (baseclass_offset): Update.
766 * gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
768 * gnu-v2-abi.h: New file.
769 * gnu-v2-abi.c: Include "gnu-v2-abi.h".
770 (gnuv2_baseclass_offset): Delete declaration.
771 * hpacc-abi.c: Include "gnu-v2-abi.h".
772 (gnuv2_baseclass_offset): Delete extern declaration.
773 * Makefile.in: Update dependencies.
775 * doublest.c (floatformat_is_negative, floatformat_is_nan)
776 (floatformat_mantissa, get_field): Make the buffer a const
779 2005-01-27 Andrew Cagney <cagney@gnu.org>
781 * value.h (struct value): Change type of contents to bfd_byte.
782 (VALUE_CONTENTS_RAW): Simplify.
784 * gdbarch.sh (integer_to_address): Change buf parameter to a const
785 bfd_byte, make pure-multi-arch.
786 * gdbarch.h, gdbarch.c: Regenerate.
787 * mips-tdep.c (mips_integer_to_address): Update.
788 * value.c (value_as_address): Update.
790 * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
791 * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
792 parameters const, change buf to a const bfd_byte.
793 (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
796 * corefile.c (write_memory): Update, make a copy of the read-only
798 * target.c (target_read_memory): Update.
799 (target_write_memory): Update, make a copy of the read-only
801 * gdbcore.h (write_memory): Change buffer type to bfd_byte, make
803 * target.h (target_read_memory, target_write_memory): Change
804 buffer type to bfd_byte; for write_memory, make it const.
805 * symfile-mem.c (do_target_read_memory): New function.
806 (symbol_file_add_from_memory): Pass do_target_read_memory to
807 bfd_elf_bfd_from_remote_memory.
809 * value.h: Indent using gdb_indent.sh.
811 * configure: Regenerate to track ../gettext.m4 change.
813 2005-01-26 Andrew Cagney <cagney@gnu.org>
815 * rs6000-tdep.c: Include "reggroups.h".
816 (rs6000_gdbarch_init): Set register_reggroup_p.
817 (rs6000_register_reggroup_p): New function.
819 2005-01-26 Orjan Friberg <orjanf@axis.com>
821 * cris-tdep.c (enum cris_num_regs, enum cris_regnums)
822 (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
824 (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
825 (cris_region_ok_for_watchpoint, cris_stopped_data_address)
826 (crisv32_cannot_fetch_register, crisv32_cannot_store_register)
827 (crisv32_register_type, cris_special_register_name)
828 (crisv32_register_name): New functions.
829 (cris_spec_reg_applicable): Recognize more versions.
830 (cris_register_name): Update with call to cris_special_register_name.
831 (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
832 warning when unable to find step target.
833 (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
834 (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
836 (fetch_core_registers): Update for CRISv32.
837 (cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
838 register_name, cannot_store_register, cannot_fetch_register,
839 have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
841 2005-01-26 Nick Roberts <nickrob@snap.net.nz>
843 * interps.c (interpreter_exec_cmd): Use condition,
844 e.reason < 0, to raise an error.
846 2005-01-25 Andrew Cagney <cagney@gnu.org>
848 * ppc-linux-tdep.c: Include "tramp-frame.h"
849 (struct ppc_linux_sigtramp_cache)
850 (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
851 (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
852 (ppc_linux_sigtramp_cache): Delete.
853 (ppc32_linux_sigaction_cache_init)
854 (ppc64_linux_sigaction_cache_init)
855 (ppc32_linux_sighandler_cache_init)
856 (ppc64_linux_sighandler_cache_init)
857 (ppc32_linux_sigaction_tramp_frame)
858 (ppc64_linux_sigaction_tramp_frame)
859 (ppc32_linux_sighandler_tramp_frame)
860 (ppc64_linux_sighandler_tramp_frame)
861 (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
862 64-bit, sigaction and siginfo tramp-frame unwinders.
864 * ppc-linux-tdep.c (ppc_linux_init_abi): Always set
865 long_double_bit to 8.
867 2005-01-24 Andrew Cagney <cagney@gnu.org>
869 * infrun.c (handle_inferior_event): Handle back-to-back and nested
870 signals where the step_resume_breakpoint may have already been
873 2005-01-24 Andrew Cagney <cagney@gnu.org>
875 * configure: Regenerate, ../gettext.m4 was updated.
877 2005-01-23 Mark Kettenis <kettenis@gnu.org>
879 * NEWS: Mention new BSD user-level threads support.
881 * i386obsd-tdep.c: Update copyright year. Include
883 (i386obsd_uthread_reg_offset): New variable.
884 (I386OBSD_UTHREAD_ESP_OFFSET): New define.
885 (i386obsd_supply_uthread, i386obsd_collect_uthread): New
887 (i386obsd_init_abi): Set supply_uthread and collect_uthread.
888 * Makefile.in (i386obsd-tdep.o): Update dependencies.
889 * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
891 2005-01-23 Christopher Faylor <cgf@timesys.com>
893 * win32-nat.c: Update copyright year.
894 (child_init_thread_list): Set thread linked list point to NULL so that
895 it won't be reused after clearing.
897 2005-01-21 Mark Kettenis <kettenis@gnu.org>
899 * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
901 * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
902 thread' has a td_pcb member and whether `struct reg' has r_fs and
904 * configure, config.in: Regenerate.
906 2005-01-21 Mark Kettenis <kettenis@gnu.org>
908 * configure.ac: Remove ia64-*-aix* junk.
909 * configure: Regenerate.
911 * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
912 and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
914 * configure, config.in: Regenerate.
915 * utils.c: Adjust for usage of AC_CHECK_DECLS instead of
916 BFD_NEED_DECLARATION. Never provide a prototype for
917 caninicalize_file_name.
918 * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
919 BFD_NEED_DECLARATION.
921 * configure.ac (targ_archs): Use standard autoconf check for
922 "struct stat.st_blocks" instead of rolling our own.
923 * configure: Regenerated.
924 * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
925 * config.in: Regenerated.
927 2005-01-21 Mark Kettenis <kettenis@gnu.org>
929 * configure.ac: Modernize checks for `long long' and `long double'
931 * configure: Regenerated.
932 * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
933 (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
934 * config.in: Regenerated.
936 2005-01-20 Mark Kettenis <kettenis@gnu.org>
938 * acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
939 (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
940 * configure.ac: Remove checks for HP-UX save_state structure.
941 * configure: Regenerated.
943 2005-01-19 Andrew Cagney <cagney@gnu.org>
945 * utils.c (quit): Simplify, call fatal.
946 * exceptions.c: Include "serial.h"
947 (print_flush): Mimic flush code found in utils.c:quit.
948 * Makefile.in: Update dependencies.
950 2005-01-19 Jim Blandy <jimb@redhat.com>
952 * configure.tgt: Set build_rdi_share to "yes" on those targets
953 that use that debugging protocol.
954 Set build_nlm to yes to build NLM stub for Netware targets.
955 * configure.ac: If build_rdi_share is "yes", then configure the
956 rdi-share subdirectory.
957 If build_nlm is "yes", the configure the "nlm" subdirectory.
958 * configure: Regenerated.
960 * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
961 autoconf 2.59 and automake 1.9.3.
963 2005-01-19 Andrew Cagney <cagney@gnu.org>
965 * exceptions.h (deprecated_throw_reason): Rename throw_reason.
966 * exceptions.c (deprecated_throw_reason): Rename throw_reason.
967 * utils.c (internal_verror, quit): Update.
968 * remote-sds.c (interrupt_query): Update.
969 * remote-mips.c (mips_error, mips_kill): Update.
970 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
971 * remote.c (interrupt_query): Update.
972 * ocd.c (interrupt_query): Update.
973 * nto-procfs.c (interrupt_query): Update.
974 * monitor.c (monitor_interrupt_query): Update.
975 * breakpoint.c (break_command_1): Update.
977 * infrun.c: (resume, proceed, wait_for_inferior)
978 (handle_inferior_event, stop_stepping)
979 (prepare_to_wait): Write debug output to gdb_stdlog.
981 2005-01-19 Mark Kettenis <kettenis@gnu.org>
983 * inf-ptrace.c (inf_ptrace_prepare_to_store)
984 (inf_ptrace_post_startup_inferior)
985 (inf_ptrace_acknowledge_created_inferior)
986 (inf_ptrace_insert_fork_catchpoint)
987 (inf_ptrace_remove_fork_catchpoint)
988 (inf_ptrace_insert_vfork_catchpoint):
989 (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
990 (inf_ptrace_insert_exec_catchpoint)
991 (inf_ptrace_remove_exec_catchpoint): Remove functions.
992 (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
993 (inf_ptrace_target): Don't set to_prepare_to_store,
994 to_post_startup_inferior, to_acknowledge_created_inferior,
995 to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
996 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
997 to_follow_fork, to_insert_exec_catchpoint,
998 to_remove_exec_catchpoint.
1000 2005-01-18 Andrew Cagney <cagney@gnu.org>
1002 * target.h (struct target_ops): Change return type of
1003 to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
1004 to_insert_exec_catchpoint to void.
1005 (child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
1006 (child_insert_exec_catchpoint): Change return type to void.
1007 * target.c (update_current_target): Update.
1008 (debug_to_insert_fork_catchpoint)
1009 (debug_to_insert_vfork_catchpoint)
1010 (debug_to_insert_exec_catchpoint): Update.
1011 * inf-child.c (inf_child_insert_fork_catchpoint)
1012 (inf_child_insert_vfork_catchpoint)
1013 (inf_child_insert_exec_catchpoint): Update.
1014 * breakpoint.c (insert_catchpoint): Update, do not throw an error.
1015 * linux-nat.c (child_insert_fork_catchpoint)
1016 (child_insert_vfork_catchpoint)
1017 (child_insert_exec_catchpoint): Update.
1018 * inftarg.c (child_insert_fork_catchpoint)
1019 (child_insert_vfork_catchpoint,)
1020 (child_insert_exec_catchpoint): Update.
1022 * remote.c (remote_open_1): Use throw_exception.
1024 2005-01-17 Michael Snyder <msnyder@redhat.com>
1026 * mips-linux-tdep.c: Whitespace tweaks.
1028 2005-01-17 Corinna Vinschen <vinschen@redhat.com>
1030 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.
1032 2005-01-17 Andrew Cagney <cagney@gnu.org>
1034 * top.h (source_error, source_pre_error): Delete declaration.
1035 * cli/cli-script.c (source_error_allocated, source_error): Delete.
1036 (script_from_file, source_cleanup_lines): Do not manipulate
1037 source_error_allocated, error_pre_print and source_error.
1038 (struct source_cleanup_lines_args): Delete fields old_pre_error,
1039 and old_error_pre_print.
1040 * top.c (source_error_allocated, source_error)
1041 (source_pre_error): Delete.
1042 (command_line_input): Do not set error_pre_print.
1043 * event-top.c (command_line_handler): Do not set error_pre_print.
1045 2005-01-16 Jason Thorpe <thorpej@netbsd.org>
1047 * MAINTAINERS: Update my email address.
1049 2005-01-16 Mark Kettenis <kettenis@gnu.org>
1051 * configure.ac: Provide prerequisite headers when checking
1053 * configure: Regenerate.
1055 * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
1056 and "bsd-uthread.h".
1057 (amd64fbsd_jmp_buf_reg_offset): New variable.
1058 (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
1060 (amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
1061 * i386fbsd-tdep.c: Fix typo.
1062 * Makefile.in (amd64fbsd-tdep.o): Update dependencies.
1063 * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
1065 2005-01-16 Andrew Cagney <cagney@gnu.org>
1067 * cli/cli-script.c: Include "exceptions.h".
1068 (struct wrapped_read_command_file_args): Define.
1069 (wrapped_read_command_file): New function.
1070 (script_from_file): Replace direct call to read_command_file by
1071 one wrapped by an exception handler.
1072 * exceptions.c (throw_it): Free the old message after creating the
1074 * Makefile.in: Update dependencies.
1076 2005-01-16 Mark Kettenis <kettenis@gnu.org>
1078 * sparc64fbsd-tdep.c: Update copyright year.
1079 (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
1081 (sparc64fbsd_init_abi): Create register sets with collect
1084 * sparc64fbsd-nat.c: Include "fbsd-nat.h".
1085 (_initialize_sparc64fbsd_nat): Add some extra features to the
1086 generic SPARC target.
1087 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
1088 * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
1089 (NAT_FILE): Set to solib.h.
1090 * config/sparc/nm-fbsd.h: Remove file.
1092 * sparc64-tdep.c (sparc64_store_arguments): Fix typo.
1094 * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
1096 2005-01-16 Andrew Cagney <cagney@gnu.org>
1098 * exceptions.c (struct catcher): Delete saved_error_pre_print and
1099 saved_quit_pre_print.
1100 (catcher_init): Delete parameter errstring, do not override the
1102 (catcher_pop): Do not restore the pre_print strings.
1103 (catch_exception, catch_exceptions_with_msg, catch_errors)
1104 (catch_command_errors): Update catch_init calls.
1106 2005-01-16 Mark Kettenis <kettenis@gnu.org>
1108 * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
1109 * sparc64fbsd-nat.c: Update copyright year. Include "target.h".
1111 2005-01-15 Andrew Cagney <cagney@gnu.org>
1113 * acinclude.m4: Include ../bfd/bfd.m4 instead of
1114 ../bfd/acinclude.m4. Include ../gettext.m4.
1115 * aclocal.m4, configure: Re-generate.
1117 * exceptions.c (do_captured_command)
1118 (struct captured_command_args): Delete.
1119 (catch_command_errors): Simplify by inlining call to catch_errors.
1121 * exceptions.c (struct catcher): Delete field print_message.
1122 (catcher_init): Delete print_message parameter.
1123 (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
1124 (throw_it): Delete prefix parameter.
1125 (throw_verror, throw_vfatal, throw_error): Update.
1127 2005-01-14 Andrew Cagney <cagney@gnu.org>
1129 * exceptions.c (print_and_throw): Delete, replaced by throw_it.
1130 (throw_reason): Leave the exception's message field blank.
1131 (throw_it): New function, create the exception and throw it.
1132 (throw_verror, throw_vfatal, throw_error): Call throw_it.
1133 (print_any_exception): New function.
1134 (catch_errors, catch_exceptions_with_msg): Call
1135 print_any_exception.
1136 (throw_exception): Move code calling annotate_error and
1137 annotate_quit from here ...
1138 (print_exception): ... to here.
1140 * exceptions.c (exception_fprintf, exception_print): Move printing
1142 (print_exception): ... to here.
1143 (print_flush): New function.
1144 (exception_print, exception_fprintf): Replace duplicated flush and
1145 wrap code with call to print_flush.
1146 (print_and_throw): Simplify, by using xstrvprintf, print_flush,
1147 and print_exception.
1150 * remote-sds.c (interrupt_query): Call throw_reason instead of
1152 * remote-mips.c (mips_error, mips_kill): Ditto
1153 * ocd.c (interrupt_query): Ditto.
1154 * nto-procfs.c (interrupt_query): Ditto.
1155 * monitor.c (monitor_interrupt_query): Ditto.
1157 2005-01-14 Jeff Johnston <jjohnstn@redhat.com>
1159 * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
1161 2005-01-14 Andrew Cagney <cagney@gnu.org>
1163 * exceptions.h (catch_exceptions): Delete errstring parameter.
1164 (catch_exceptions_with_msg): Ditto.
1165 * exceptions.c (catch_exceptions_with_msg): Update.
1166 (catch_exceptions): Update.
1167 * symfile-mem.c (add_vsyscall_page): Update.
1168 * frame.c (get_current_frame): Update.
1169 * wrapper.c (gdb_value_struct_elt): Update.
1170 * exceptions.c (catch_exceptions): Update.
1171 * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
1172 * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
1173 * remote-fileio.c (remote_fileio_request): Update.
1175 * exceptions.h (exception_fprintf): Declare.
1176 (exception_print): Drop pre_print parameter.
1177 * mi/mi-main.c (mi_execute_command): Update exception_print call.
1178 * cli/cli-interp.c (safe_execute_command): Update exception_print
1180 * remote.c (remote_open_1): Instead of passing an error prefix to
1181 catch_exceptions, use catch_exceptions and exception_fprintf.
1182 (remote_start_remote): Change return type to void.
1183 * breakpoint.c (insert_bp_location): Instead of passing an error
1184 prefix to catch_exceptions, use catch_exceptions and
1186 (insert_catchpoint): Change return type to void.
1187 (break_command_1): Update exception_print call.
1188 * exceptions.c (exception_fprintf): New function.
1189 (print_exception): New function.
1190 (exception_print): Use print_exception.
1192 * utils.c (error_output_message): Delete function.
1193 * defs.h (error_output_message): Delete declaration.
1195 * linespec.c (symtab_from_filename, decode_variable): Use
1196 throw_error instead of error_silent.
1197 * breakpoint.c (do_captured_parse_breakpoint): Change return type
1199 (break_command_1): Use catch_exception and check the error return
1201 * exceptions.c (throw_error): New function.
1202 (throw_vsilent): Delete function.
1203 * exceptions.h (throw_error): Declare.
1204 (throw_vsilent): Delete declaration.
1205 * utils.c (error_silent): Delete function.
1206 * defs.h (error_silent): Delete declaration.
1208 * mi/mi-main.c (mi_execute_command): Print the exception.
1209 * cli/cli-interp.c (safe_execute_command): Print the exception.
1210 * exceptions.h (exception_print): Declare.
1211 * exceptions.c (struct catcher): Add field print_message.
1212 (catcher_init): Add parameter print_message, store in the catcher
1214 (print_and_throw): Only print the message when print_message.
1215 (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
1217 (catch_exception): Pass print_message=0 to catcher_init.
1219 * varobj.c (varobj_create): Add missing \n.
1221 2005-01-13 Michael Snyder <msnyder@redhat.com>
1223 * cli/cli-decode.h: Whitespace tweaks.
1224 * wince.c: Whitespace tweaks.
1225 * uw-thread.c: Whitespace tweaks.
1226 * utils.c: Whitespace tweaks.
1227 * tracepoint.[ch]: Whitespace tweaks.
1228 * solist.h: Whitespace tweaks.
1230 2005-01-13 Andrew Cagney <cagney@gnu.org>
1232 * exceptions.h (struct exception): Make message const.
1233 * mi/mi-main.c (mi_execute_command): Pass result.message directly
1234 to fputstr_unfiltered.
1236 2005-01-13 Michael Snyder <msnyder@redhat.com>
1238 * stack.c: Whitespace tweaks.
1239 * somsolib.[ch]: Whitespace tweaks.
1240 * solib-aix.c: Whitespace tweaks.
1241 * solib.c: Whitespace tweaks.
1242 * solib-frv.c: Whitespace tweaks.
1243 * solib.h: Whitespace tweaks.
1244 * solib-irix.c: Whitespace tweaks.
1245 * solib-som.c: Whitespace tweaks.
1246 * solib-sunos.c: Whitespace tweaks.
1247 * solib-svr4.[ch]: Whitespace tweaks.
1248 * ser-tcp.c: Whitespace tweaks.
1249 * ser-unix.c: Whitespace tweaks.
1250 * serial.h: Whitespace tweaks.
1251 * scm-valprint.c: Whitespace tweaks.
1252 * rs6000-tdep.c: Whitespace tweaks.
1253 * rs6000-nat.c: Whitespace tweaks.
1254 * remote.c: Whitespace tweaks.
1256 2005-01-13 Andrew Cagney <cagney@gnu.org>
1258 * defs.h (error_last_message, error_init): Delete declaration.
1259 * utils.c (fatal, vfatal): Call throw_vfatal.
1260 (error, verror): Call throw_verror;
1261 (do_write, error_stream_1): Delete function.
1262 (error_stream): Simplify, call error.
1263 (error_last_message, error_init, gdb_lasterr): Delete.
1264 (error_silent): Simplify, call throw_vsilent.
1265 * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
1266 * main.c (captured_main): Delete call to error_init.
1267 * exceptions.c (throw_verror, throw_verror)
1268 (throw_vsilent): New functions.
1269 (do_write, print_and_throw): New functions.
1270 (last_message): New global.
1271 (throw_reason): Replace error_last_message with last_message.
1272 (catch_exceptions_with_msg): Dup the message.
1273 * exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
1276 2005-01-13 Michael Snyder <msnyder@redhat.com>
1278 * remote-st.c: Whitespace tweaks.
1279 * remote-sim.c: Whitespace tweaks.
1280 * remote-mips.c: Whitespace tweaks.
1281 * pa64solib.[ch]: Whitespace tweaks.
1282 * mdebugread.c: Whitespace tweaks.
1283 * main.c: Whitespace tweaks.
1284 * interps.c: Whitespace tweaks.
1285 * infrun.c: Whitespace tweaks.
1286 * infcmd.c: Whitespace tweaks.
1287 * hpux-thread.c: Whitespace tweaks.
1288 * hppa-hpux-tdep.c: Whitespace tweaks.
1289 * gdbcore.h: Whitespace tweaks.
1290 * gdbcmd.h: Whitespace tweaks.
1291 * gdb-events[.c, .h, .sh]: Whitespace tweaks.
1292 * corefile.c: Whitespace tweaks.
1293 * completer.c: Whitespace tweaks.
1294 * coff-solib.c: Whitespace tweaks.
1295 * coff-solib.h: Whitespace tweaks.
1296 * cli-out.c: Whitespace tweaks.
1297 * breakpoint.c: Whitespace tweaks.
1298 * cli/cli-interp.c: Tweak comments, per coding standard.
1300 2005-01-13 Andrew Cagney <cagney@gnu.org>
1302 * breakpoint.c (gdb_breakpoint_query): Update, use
1303 catch_exceptions_with_msg.
1304 (do_captured_breakpoint): Add uiout parameter.
1305 (gdb_breakpoint): Update, use catch_exceptions_with_msg.
1306 * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
1307 gdb_thread_select. Return MI_CMD_ERROR instead of
1308 MI_CMD_CAUGHT_ERROR.
1309 (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
1310 (enum captured_mi_execute_command_actions): Delete
1311 EXECUTE_COMMAND_DISPLAY_ERROR.
1312 (captured_mi_execute_command): Delete code handling
1313 MI_CMD_CAUGHT_ERROR.
1314 (mi_execute_command): Don't check for
1315 EXECUTE_COMMAND_DISPLAY_ERROR.
1316 * mi/mi-cmd-break.c (breakpoint_notify): Update call to
1317 gdb_breakpoint_query.
1318 (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
1319 * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
1320 * gdb.h (gdb_thread_select, gdb_list_thread_ids)
1321 (gdb_breakpoint, gdb_breakpoint_query): Add error_message
1323 * thread.c (thread_command): Update call.
1324 (gdb_thread_select, gdb_list_thread_ids): Update, call
1325 catch_exceptions_with_msg.
1327 * mi/mi-main.c (mi_execute_command): Use catch_exception,
1328 eliminate call to error_last_message.
1329 (captured_mi_execute_command): Change return type to void.
1331 2005-01-12 Andrew Cagney <cagney@gnu.org>
1333 * exceptions.c (exception_none): New variable.
1334 * Makefile.in: Update dependencies.
1335 * interps.c: Include "exceptions.h".
1336 (interpreter_exec_cmd, interp_exec): Update to return "struct
1338 * exceptions.h (no_exception): Declare.
1339 * tui/tui-interp.c (tui_exec): Update to return "struct exception"
1340 * mi/mi-interp.c: Include "exceptions.h".
1341 (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
1343 * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
1344 (do_captured_execute_command): Update to use catch_exception.
1345 * interps.h: Include "exceptions.h".
1346 (interp_exec_ftype, interp_exec): Return "struct exception".
1348 * exceptions.h (throw_reason): Rename throw_exception.
1349 (enum errors, struct exception): Define.
1350 (catch_exception_ftype): Define.
1351 (catch_exception, throw_exception): Declare.
1352 * exceptions.c (throw_exception): Rewrite.
1353 (throw_reason): New function.
1354 (struct catcher, catcher_state_machine): Replace "reason" with
1355 "exception", delete "gdberrmsg".
1356 (catch_exception): New function.
1357 (catcher_init): Replace "gdberrmsg" parameter with "exception".
1358 (catch_errors, catch_exceptions_with_msg): Re-implement passing
1359 exception to catcher_init.
1360 * utils.c (error_silent, error_stream_1): Use throw_reason.
1361 (internal_verror, quit): Ditto.
1362 * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
1363 * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
1364 * remote.c (remote_open_1, interrupt_query): Ditto.
1366 2005-01-12 Mark Kettenis <kettenis@gnu.org>
1368 * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
1369 "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
1370 (i386fbsd_jmp_buf_reg_offset): New variable.
1371 (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
1373 (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
1374 * Makefile.in (i386fbsd-tdep.o): Update dependency.
1375 * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
1377 * bsd-uthread.h: New file.
1378 * bsd-uthread.c: New file.
1379 * Makefile.in (bsd_uthread_h): New variable.
1380 (ALLDEPFILES): Add bsd-uthread.c.
1381 (bsd-uthread.o): New dependency.
1383 * solib.h Update copyright year.
1384 (struct so_list): Forward declaration.
1385 (solib_read_symbols): New prototype.
1386 * solib.c (solib_read_symbols): New function.
1387 (solib_add): Call solib_read_symbols to read in symbols.
1388 (update_solib_list): Call observer_notify_solib_loaded.
1390 * i386bsd-nat.c: Update copyright year. Don't include
1391 <sys/param.h> and <sys/user.h>.
1392 (register_u_addr, kernel_u_size): Remove functions.
1393 * config/i386/obsd.mh (NAT_FILE): Remove.
1394 * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
1395 * config/i386/nm-obsd.h: Remove file.
1397 2005-01-12 Andrew Cagney <cagney@gnu.org>
1399 * exceptions.c: Include "gdb_string.h".
1400 (enum catcher_state, struct catcher): Define.
1401 (current_catcher): New global, replaces catch_return;
1402 (catch_return): Delete.
1403 (throw_exception): Use current_catcher->buf;
1404 (catcher_init, catcher_pop, catcher_state_machine): New functions.
1406 (struct catch_errors_args): Delete.
1407 (do_catch_errors): Delete.
1408 (catch_exceptions): Replace body with call to
1409 catch_exceptions_with_msg.
1411 (catch_exceptions_with_msg, catch_errors): Re-implement using
1412 catcher_state_machine.
1414 * exceptions.h (enum return_reason, RETURN_MASK)
1415 (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
1416 (return_mask, throw_exception, catch_exceptions_ftype)
1417 (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
1418 (catch_command_errors_ftype, catch_command_errors): Move to
1420 * exceptions.c, exceptions.h: New files.
1421 * top.c: Do not include <setjmp.h>.
1422 (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
1423 (throw_exception, catcher, catch_exceptions)
1424 (catch_exceptions_with_msg, struct catch_errors_args)
1425 (do_catch_errors, catch_errors, struct captured_command_args)
1426 (do_captured_command, catch_command_errors): Move to exceptions.c.
1427 * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
1428 * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
1429 * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
1430 * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
1431 * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
1432 * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
1433 * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
1434 * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
1435 * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
1436 * ada-valprint.c, ada-lang.c: Ditto.
1437 * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
1438 exceptions.o. Update all dependencies.
1440 2005-01-11 Mark Kettenis <kettenis@gnu.org>
1442 * config/i386/nm-fbsd.h: Update copyright year.
1443 Don't include "config/nm-bsd.h".
1444 (KERNEL_U_SIZE): Remove macro.
1445 (kernel_u_size): Remove prototype.
1447 * config/vax/nbsdaout.mh (NAT_FILE): Remove.
1448 * config/vax/nm-nbsdaout.h: Remove file.
1450 2005-01-10 Elena Zannoni <ezannoni@redhat.com>
1452 * MAINTAINERS: Remove self from sh/sh64 maintainership.
1454 2005-01-10 Andrew Cagney <cagney@gnu.org>
1456 * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
1457 changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
1460 * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
1463 * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
1464 COMMIT means can approve).
1466 2005-01-10 Mark Kettenis <kettenis@gnu.org>
1468 * vax-nat.c: Update copyright year. Include "inf-ptrace.h".
1469 (vax_register_u_offset): Make statuc.
1470 (_initialize_vax_nat): Construct and add target vector.
1471 * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
1472 inftarg.o. Add inf-ptrace.o.
1473 * Makefile.in (vax-nat.o): Update dependencies.
1475 * inf-ptrace.h: Update copyright year. Sync comment with
1477 (inf_ptrace_trad_target): New prototype.
1478 * inf-ptrace.c: Update copyright year. Include "regcache.h" and
1480 (inf_ptrace_target): Add comment.
1481 (inf_ptrace+register_u_offset): New variable.
1482 (inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
1483 (inf_ptrace_store_register, inf_ptrace_store_registers)
1484 (inf_ptrace_trad_target): New functions.
1485 * Makefile.in (inf-ptrace.o): Update dependencies.
1487 2005-01-09 Mark Kettenis <kettenis@gnu.org>
1489 * configure.ac: Provide prerequisite headers when checking
1490 <link.h>, <sys/proc.h> and <sys/user.h>.
1491 * configure: Regenerate.
1493 2005-01-08 Mark Kettenis <kettenis@gnu.org>
1495 * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
1496 tm-ppc-eabi.h instead of the removed tm-nbsd.h.
1498 2005-01-07 Mark Kettenis <kettenis@gnu.org>
1500 * config/ia64/tm-linux.h: Tweak comment. Update copyright year.
1501 Don't include "tm-ia64.h".
1502 * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
1503 * config/ia64/tm-ia64.h: Remove. Move contents ...
1504 * ia64-tdep.h: ... here. Update copyright year.
1506 2005-01-07 Andrew Cagney <cagney@gnu.org>
1508 * configure.ac: Rename configure.in, require autoconf 2.59.
1509 * configure: Re-generate.
1511 * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
1512 xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
1515 * configure.in: Replace configdirs with multiple references to
1517 * configure: Re-generate.
1519 2005-01-05 Andreas Schwab <schwab@suse.de>
1521 * ia64-tdep.c: Include "osabi.h".
1522 (native_find_global_pointer): Delete.
1523 (ia64_find_global_pointer): Renamed from
1524 generic_elf_find_global_pointer.
1525 (FIND_GLOBAL_POINTER): Delete. Change all users to call
1526 ia64_find_global_pointer instead.
1527 (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
1528 to ia64_linux_sigcontext_register_address and
1529 ia64_linux_write_pc. Don't set tdep->find_global_pointer.
1530 (_initialize_ia64_tdep): Call gdbarch_register instead of
1531 deprecated register_gdbarch_init.
1532 (struct gdbarch_tdep): Remove find_global_pointer field and move
1534 * ia64-tdep.h (struct gdbarch_tdep): ... here.
1535 (ia64_linux_sigcontext_register_address): Remove declaration.
1536 (ia64_linux_getunwind_table): Likewise.
1537 (ia64_linux_write_pc): Likewise.
1538 * ia64-linux-tdep.c: Include "osabi.h".
1539 (ia64_linux_sigcontext_register_address): Make static.
1540 (ia64_linux_write_pc): Likewise.
1541 (ia64_linux_init_abi): New.
1542 (_initialize_ia64_linux_tdep): New.
1543 * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
1546 2005-01-05 Kevin Buettner <kevinb@redhat.com>
1548 * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
1549 functions in ia64-aix-tdep.c.
1550 * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
1551 function defined in ia64-aix-tdep.c.
1552 * ia64-aix-tdep.c: Remove file.
1553 * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
1555 * Makefile.in (ia64-aix-tdep.o): Delete.
1557 2005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
1559 Committed by Andrew Cagney.
1560 * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
1561 * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
1562 * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
1563 * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
1564 * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
1565 * aix-thread.c (_initialize_aix_thread): Get rid of the
1566 deprecated_add_show_from_set call.
1567 * alpha-tdep.c (_initialize_alpha_tdep): Ditto.
1568 * arm-tdep.c (_initialize_arm_tdep): Ditto.
1569 * command.h (add_setshow_enum_cmd): Add arguments for returning
1571 * cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
1572 * mips-tdep.c (_initialize_mips_tdep): Modify calls to
1573 add_setshow_enum_cmd.
1575 2005-01-04 Mark Kettenis <kettenis@gnu.org>
1577 * configure.host (ia64-*-aix*): Remove.
1578 * configure.tgt (ia64-*-aix*): Remove.
1579 * config/ia64/aix.mh: Remove file.
1580 * config/ia64/aix.mt: Remove file.
1581 * config/ia64/tm-aix.h: Remove file.
1582 * ia64-aix-nat.c: Remove file.
1583 * Makefile.in (ia64-aix-nat.o): Remove dependency.
1585 * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
1586 Add back inf-ptrace.o.
1588 2005-01-04 Andrew Cagney <cagney@gnu.org>
1590 * version.in: Change format from 6.3.50_2005-01-04-cvs to
1591 6.3.50.20050104-cvs.
1593 2005-01-04 Andreas Schwab <schwab@suse.de>
1595 * breakpoint.c (break_command_1): Always free err_msg before
1596 returning when an exception was caught.
1598 2005-01-01 Joel Brobecker <brobecker@gnat.com>
1600 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
1601 in register number for addil instruction.
1603 For older changes see ChangeLog-2004.
1609 version-control: never