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