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