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