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