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