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