2005-02-07 15:04:43 +00:00
|
|
|
|
2005-02-07 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-02-07 21:42:36 +00:00
|
|
|
|
* value.h (deprecated_value_lval_hack)
|
|
|
|
|
(deprecated_value_address_hack)
|
|
|
|
|
(deprecated_value_internalvar_hack_hack)
|
|
|
|
|
(deprecated_value_regnum_hack): Declare.
|
|
|
|
|
(VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR)
|
|
|
|
|
(VALUE_FRAME_ID, VALUE_REGNUM): Use.
|
|
|
|
|
* value.c (deprecated_value_lval_hack)
|
|
|
|
|
(deprecated_value_address_hack)
|
|
|
|
|
(deprecated_value_internalvar_hack_hack)
|
|
|
|
|
(deprecated_value_regnum_hack): Define.
|
|
|
|
|
|
2005-02-07 20:17:28 +00:00
|
|
|
|
* value.h (VALUE_POINTED_TO_OFFSET): Delete.
|
|
|
|
|
(set_value_pointed_to_offset, value_pointed_to_offset): Declare.
|
|
|
|
|
* value.c (set_value_pointed_to_offset): Define
|
|
|
|
|
(value_pointed_to_offset): Define.
|
|
|
|
|
* valops.c: Update.
|
|
|
|
|
|
2005-02-07 17:08:54 +00:00
|
|
|
|
* value.h (VALUE_EMBEDDED_OFFSET): Delete.
|
|
|
|
|
(value_embedded_offset, set_value_embedded_offset): Declare.
|
2005-02-07 17:06:29 +00:00
|
|
|
|
* value.c (value_embedded_offset): Define.
|
2005-02-07 17:08:54 +00:00
|
|
|
|
(set_value_embedded_offset): Define.
|
2005-02-07 17:06:29 +00:00
|
|
|
|
* valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update.
|
|
|
|
|
* gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update.
|
|
|
|
|
* cp-abi.h: Update.
|
|
|
|
|
|
2005-02-07 15:04:43 +00:00
|
|
|
|
* value.h (VALUE_LAZY): Delete
|
|
|
|
|
(set_value_lazy): Declare.
|
|
|
|
|
* value.c (set_value_lazy): Define.
|
|
|
|
|
* valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update.
|
|
|
|
|
* gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update.
|
|
|
|
|
|
2005-02-06 Andrew Cagney <cagney@gnu.org>
* value.c (value_contents, value_contents_writeable): New
functions.
* value.h (VALUE_CONTENTS): Delete macro.
(value_contents, value_contents_writeable): Declare.
* xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
* stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
* sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
* rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
* ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
* m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
* jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
* hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
* c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
* cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
* arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
* ada-valprint.c, ada-lang.c: Update.
2005-02-07 00:09:56 +00:00
|
|
|
|
2005-02-06 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-02-07 04:50:28 +00:00
|
|
|
|
* value.h (VALUE_OPTIMIZED_OUT): Delete.
|
|
|
|
|
(value_optimized_out, set_value_optimized_out): Declare.
|
|
|
|
|
* value.c (set_value_optimized_out, value_optimized_out): Define.
|
|
|
|
|
* valprint.c, findvar.c, dwarf2loc.c: Update.
|
|
|
|
|
|
2005-02-06 Andrew Cagney <cagney@gnu.org>
* value.c (value_contents, value_contents_writeable): New
functions.
* value.h (VALUE_CONTENTS): Delete macro.
(value_contents, value_contents_writeable): Declare.
* xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
* stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
* sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
* rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
* ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
* m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
* jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
* hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
* c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
* cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
* arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
* ada-valprint.c, ada-lang.c: Update.
2005-02-07 00:09:56 +00:00
|
|
|
|
* value.c (value_contents, value_contents_writeable): New
|
|
|
|
|
functions.
|
|
|
|
|
* value.h (VALUE_CONTENTS): Delete macro.
|
|
|
|
|
(value_contents, value_contents_writeable): Declare.
|
|
|
|
|
* xstormy16-tdep.c, value.c, valops.c, valarith.c: Update.
|
|
|
|
|
* stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update.
|
|
|
|
|
* sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update.
|
|
|
|
|
* rs6000-tdep.c, p-valprint.c, printcmd.c: Update.
|
|
|
|
|
* ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update.
|
|
|
|
|
* m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update.
|
|
|
|
|
* jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update.
|
|
|
|
|
* hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update.
|
|
|
|
|
* c-valprint.c, cris-tdep.c, cp-valprint.c: Update.
|
|
|
|
|
* cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update.
|
|
|
|
|
* arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update.
|
|
|
|
|
* ada-valprint.c, ada-lang.c: Update.
|
|
|
|
|
|
2005-02-06 16:22:14 +00:00
|
|
|
|
2005-02-03 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
|
|
|
|
* utils.c (xzalloc): New function.
|
|
|
|
|
* defs.h (XZALLOC): Use xzalloc.
|
|
|
|
|
(xzalloc): Declare.
|
|
|
|
|
* value.c (allocate_value): Allocate a zeroed buffer.
|
|
|
|
|
* mdebugread.c (xzalloc): Delete.
|
|
|
|
|
|
2005-02-02 20:31:35 +00:00
|
|
|
|
2005-02-02 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-02-02 22:34:36 +00:00
|
|
|
|
* value.h (value_lazy): Declare.
|
|
|
|
|
* varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update.
|
|
|
|
|
* cp-valprint.c, breakpoint.c, ada-lang.c: Update.
|
|
|
|
|
|
2005-02-02 21:36:17 +00:00
|
|
|
|
* value.h (VALUE_CONTENTS_ALL): Delete.
|
|
|
|
|
(value_contents_all): Declare.
|
|
|
|
|
* value.c (value_contents_all): New function.
|
|
|
|
|
* hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update.
|
|
|
|
|
* m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update.
|
|
|
|
|
|
2005-02-02 20:31:35 +00:00
|
|
|
|
* value.c (value_enclosing_type): New function.
|
|
|
|
|
* value.h (VALUE_ENCLOSING_TYPE): Delete.
|
|
|
|
|
(value_enclosing_type): Declare.
|
|
|
|
|
* xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update.
|
|
|
|
|
* gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update.
|
|
|
|
|
|
2005-02-02 00:20:07 +00:00
|
|
|
|
* value.c (value_contents_all_raw)
|
|
|
|
|
(value_contents_raw): New functions.
|
|
|
|
|
* value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete.
|
|
|
|
|
(value_contents_raw, value_contents_all_raw): Declare functions.
|
|
|
|
|
(VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update.
|
|
|
|
|
* std-regs.c, valarith.c, valops.c, eval.c: Update.
|
|
|
|
|
* tracepoint.c, findvar.c: Update.
|
|
|
|
|
|
2005-02-01 14:24:55 +00:00
|
|
|
|
2005-02-01 Orjan Friberg <orjanf@axis.com>
|
|
|
|
|
|
|
|
|
|
* regformats/reg-cris.dat: New file with register definitions for CRIS.
|
|
|
|
|
* regformats/reg-crisv32.dat: Ditto for CRISv32.
|
|
|
|
|
|
2005-01-31 20:32:45 +00:00
|
|
|
|
2005-01-31 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate to track ../gettext.m4.
|
|
|
|
|
|
2005-01-29 17:42:48 +00:00
|
|
|
|
2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Add myself to "Write After Approval".
|
|
|
|
|
|
2005-01-29 Baurzhan Ismagulov <ibr@radix50.net>
* ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
* buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
* coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
2005-01-29 17:53:26 +00:00
|
|
|
|
* ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c,
|
|
|
|
|
* buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c,
|
|
|
|
|
* coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup.
|
|
|
|
|
|
2005-01-29 12:50:27 +00:00
|
|
|
|
2005-01-29 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Remove extra check for ranlib.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2005-01-28 06:06:27 +00:00
|
|
|
|
2005-01-28 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-28 Andrew Cagney <cagney@gnu.org>
* language.h (struct language_defn): Make la_val_print's buffer
parameter a const bfd_byte.
* cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
* ada-lang.c (ada_aligned_value_addr)
(ada_value_primitive_packed_val, ada_which_variant_applies): Update.
* valprint.c (val_print_array_elements): Update.
* valprint.h (val_print_array_elements): Update.
* ada-lang.h (ada_val_print, ada_aligned_value_addr)
(ada_value_primitive_packed_val, ada_which_variant_applies): Update.
* ada-valprint.c (ada_val_print, struct ada_val_print_args)
(ada_val_print_1, ada_print_floating, printable_val_type)
(print_record, val_print_packed_array_elements)
(print_field_values, print_variant_part): Update.
* c-lang.h (c_val_print, cp_print_value_fields): Update.
* c-valprint.c (c_val_print): Update.
* f-lang.h (f_val_print): Update.
* f-valprint.c (f_val_print, f77_print_array_1)
(f77_print_array): Update.
* jv-lang.h (java_val_print): Update.
* jv-valprint.c (java_print_value_fields, java_val_print): Update.
* language.c (unk_lang_val_print): Update.
* m2-lang.h (m2_val_print): Update.
* m2-valprint.c (m2_val_print): Update.
* p-lang.h (pascal_val_print): Update.
(pascal_object_print_value_fields): Update.
* p-valprint.c (pascal_val_print)
(pascal_object_print_value_fields, pascal_object_print_value)
(pascal_object_print_value): Update.
* scm-lang.h (scm_val_print): Update.
* scm-valprint.c (scm_val_print): Update.
* value.h (val_print): Update.
2005-01-29 01:59:31 +00:00
|
|
|
|
* language.h (struct language_defn): Make la_val_print's buffer
|
|
|
|
|
parameter a const bfd_byte.
|
|
|
|
|
* cp-valprint.c (cp_print_value_fields, cp_print_value): Update.
|
|
|
|
|
* ada-lang.c (ada_aligned_value_addr)
|
|
|
|
|
(ada_value_primitive_packed_val, ada_which_variant_applies): Update.
|
|
|
|
|
* valprint.c (val_print_array_elements): Update.
|
|
|
|
|
* valprint.h (val_print_array_elements): Update.
|
|
|
|
|
* ada-lang.h (ada_val_print, ada_aligned_value_addr)
|
|
|
|
|
(ada_value_primitive_packed_val, ada_which_variant_applies): Update.
|
|
|
|
|
* ada-valprint.c (ada_val_print, struct ada_val_print_args)
|
|
|
|
|
(ada_val_print_1, ada_print_floating, printable_val_type)
|
|
|
|
|
(print_record, val_print_packed_array_elements)
|
|
|
|
|
(print_field_values, print_variant_part): Update.
|
|
|
|
|
* c-lang.h (c_val_print, cp_print_value_fields): Update.
|
|
|
|
|
* c-valprint.c (c_val_print): Update.
|
|
|
|
|
* f-lang.h (f_val_print): Update.
|
|
|
|
|
* f-valprint.c (f_val_print, f77_print_array_1)
|
|
|
|
|
(f77_print_array): Update.
|
|
|
|
|
* jv-lang.h (java_val_print): Update.
|
|
|
|
|
* jv-valprint.c (java_print_value_fields, java_val_print): Update.
|
|
|
|
|
* language.c (unk_lang_val_print): Update.
|
|
|
|
|
* m2-lang.h (m2_val_print): Update.
|
|
|
|
|
* m2-valprint.c (m2_val_print): Update.
|
|
|
|
|
* p-lang.h (pascal_val_print): Update.
|
|
|
|
|
(pascal_object_print_value_fields): Update.
|
|
|
|
|
* p-valprint.c (pascal_val_print)
|
|
|
|
|
(pascal_object_print_value_fields, pascal_object_print_value)
|
|
|
|
|
(pascal_object_print_value): Update.
|
|
|
|
|
* scm-lang.h (scm_val_print): Update.
|
|
|
|
|
* scm-valprint.c (scm_val_print): Update.
|
|
|
|
|
* value.h (val_print): Update.
|
|
|
|
|
|
2005-01-29 00:52:02 +00:00
|
|
|
|
* p-lang.h (pascal_object_print_class_member)
|
|
|
|
|
(pascal_object_print_class_method): Make buffer a const bfd_byte.
|
|
|
|
|
* p-valprint.c (pascal_object_print_class_method)
|
|
|
|
|
(pascal_object_print_class_method): Ditto.
|
|
|
|
|
|
2005-01-29 00:11:12 +00:00
|
|
|
|
* language.h (struct language_defn): Make la_printstr's buffer
|
|
|
|
|
parameter a const bfd_byte.
|
|
|
|
|
* p-lang.h (pascal_printstr): Update function to match.
|
|
|
|
|
* ada-valprint.c (ada_printstr): Update function to match.
|
|
|
|
|
* scm-lang.c (scm_printstr): Update function to match.
|
|
|
|
|
* p-lang.c (pascal_printstr): Update function to match.
|
|
|
|
|
* ada-lang.h (ada_printstr): Update function to match.
|
|
|
|
|
* m2-lang.c (m2_printstr): Update function to match.
|
|
|
|
|
* objc-lang.c (objc_printstr): Update function to match.
|
|
|
|
|
* c-lang.h (c_printstr): Update function to match.
|
|
|
|
|
* f-lang.c (f_printstr): Update function to match.
|
|
|
|
|
* c-lang.c (c_printstr): Update function to match.
|
|
|
|
|
* language.c (unk_lang_printstr): Update function to match.
|
|
|
|
|
|
2005-01-28 23:42:28 +00:00
|
|
|
|
* valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
|
|
|
|
|
* valprint.h (val_print_type_code_int): Ditto.
|
|
|
|
|
|
2005-01-28 20:50:57 +00:00
|
|
|
|
* objc-lang.h (c_val_print, c_value_print): Delete declarations.
|
|
|
|
|
|
2005-01-28 20:19:54 +00:00
|
|
|
|
* cp-valprint.c (cp_print_class_method)
|
|
|
|
|
(cp_print_class_member): Make buffer a const bfd_byte.
|
|
|
|
|
* c-lang.h (cp_print_class_member, cp_print_class_method): Ditto.
|
|
|
|
|
|
2005-01-28 19:56:01 +00:00
|
|
|
|
* ada-lang.c (value_from_contents_and_address)
|
|
|
|
|
(to_record_with_fixed_variant_part)
|
|
|
|
|
(value_tag_from_contents_and_address, ada_to_fixed_type)
|
|
|
|
|
(to_fixed_variant_branch_type, to_fixed_record_type)
|
|
|
|
|
(ada_template_to_fixed_record_type, cond_offset_host)
|
|
|
|
|
(ada_template_to_fixed_record_type_1): Make buffer a const
|
|
|
|
|
bfd_byte.
|
|
|
|
|
* ada-lang.h (ada_template_to_fixed_record_type_1)
|
|
|
|
|
(value_from_contents_and_address, ada_to_fixed_type): Ditto.
|
|
|
|
|
|
2005-01-28 19:19:10 +00:00
|
|
|
|
* ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte.
|
|
|
|
|
|
2005-01-28 19:03:53 +00:00
|
|
|
|
* gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte.
|
2005-01-28 19:19:10 +00:00
|
|
|
|
* printcmd.c (print_scalar_formatted): Update.
|
2005-01-28 19:03:53 +00:00
|
|
|
|
|
2005-01-28 16:45:16 +00:00
|
|
|
|
* value.h (value_bit_index, print_floating)
|
|
|
|
|
(find_rt_vbase_offset): Make buffer a const bfd_byte.
|
|
|
|
|
* valprint.c (print_floating): Update.
|
|
|
|
|
* valarith.c (value_bit_index): Update.
|
|
|
|
|
* valops.c (find_rt_vbase_offset): Update.
|
|
|
|
|
|
2005-01-28 16:20:09 +00:00
|
|
|
|
* valprint.h (print_octal_chars, print_char_chars)
|
|
|
|
|
(print_hex_chars, print_decimal_chars, print_binary_chars): Make
|
|
|
|
|
buffer a const bfd_byte.
|
|
|
|
|
* valprint.c (print_binary_chars, print_octal_chars)
|
|
|
|
|
(print_decimal_chars, print_hex_chars, print_char_chars): Make
|
|
|
|
|
"valaddr"buffer a const bfd_byte, ditto for local variables
|
|
|
|
|
referencing that buffer.
|
|
|
|
|
|
2005-01-28 06:40:27 +00:00
|
|
|
|
* m2-valprint.c: Include "c-lang.h".
|
|
|
|
|
(c_val_print): Delete extern declaration.
|
|
|
|
|
* scm-valprint.c: Include "c-lang.h".
|
|
|
|
|
(c_val_print): Delete extern declaration.
|
|
|
|
|
Makefile.in: Update dependencies.
|
|
|
|
|
|
2005-01-28 06:29:42 +00:00
|
|
|
|
* gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const
|
|
|
|
|
bfd_byte.
|
|
|
|
|
* cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte.
|
|
|
|
|
(struct cp_abi_ops): Make baseclass_offset's "valaddr" a const
|
|
|
|
|
bfd_byte.
|
|
|
|
|
* cp-abi.c (baseclass_offset): Update.
|
|
|
|
|
* gnu-v2-abi.c (gnuv2_baseclass_offset): Update.
|
|
|
|
|
|
2005-01-28 06:16:49 +00:00
|
|
|
|
* gnu-v2-abi.h: New file.
|
|
|
|
|
* gnu-v2-abi.c: Include "gnu-v2-abi.h".
|
|
|
|
|
(gnuv2_baseclass_offset): Delete declaration.
|
|
|
|
|
* hpacc-abi.c: Include "gnu-v2-abi.h".
|
|
|
|
|
(gnuv2_baseclass_offset): Delete extern declaration.
|
|
|
|
|
* Makefile.in: Update dependencies.
|
|
|
|
|
|
2005-01-28 06:06:27 +00:00
|
|
|
|
* doublest.c (floatformat_is_negative, floatformat_is_nan)
|
|
|
|
|
(floatformat_mantissa, get_field): Make the buffer a const
|
|
|
|
|
bfd_byte, simplify.
|
|
|
|
|
|
2005-01-27 14:48:23 +00:00
|
|
|
|
2005-01-27 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-27 21:48:27 +00:00
|
|
|
|
* value.h (struct value): Change type of contents to bfd_byte.
|
|
|
|
|
(VALUE_CONTENTS_RAW): Simplify.
|
|
|
|
|
|
2005-01-27 21:00:59 +00:00
|
|
|
|
* gdbarch.sh (integer_to_address): Change buf parameter to a const
|
|
|
|
|
bfd_byte, make pure-multi-arch.
|
|
|
|
|
* gdbarch.h, gdbarch.c: Regenerate.
|
|
|
|
|
* mips-tdep.c (mips_integer_to_address): Update.
|
|
|
|
|
* value.c (value_as_address): Update.
|
|
|
|
|
|
2005-01-27 20:34:51 +00:00
|
|
|
|
* cli/cli-dump.h (fopen_with_cleanup): Make "filename" const.
|
|
|
|
|
* cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string
|
|
|
|
|
parameters const, change buf to a const bfd_byte.
|
|
|
|
|
(fopen_with_cleanup, bfd_openw_with_cleanup): Make all string
|
|
|
|
|
parameters const.
|
|
|
|
|
|
2005-01-27 20:09:10 +00:00
|
|
|
|
* corefile.c (write_memory): Update, make a copy of the read-only
|
|
|
|
|
buffer.
|
|
|
|
|
* target.c (target_read_memory): Update.
|
|
|
|
|
(target_write_memory): Update, make a copy of the read-only
|
|
|
|
|
buffer.
|
|
|
|
|
* gdbcore.h (write_memory): Change buffer type to bfd_byte, make
|
|
|
|
|
const.
|
|
|
|
|
* target.h (target_read_memory, target_write_memory): Change
|
|
|
|
|
buffer type to bfd_byte; for write_memory, make it const.
|
|
|
|
|
* symfile-mem.c (do_target_read_memory): New function.
|
|
|
|
|
(symbol_file_add_from_memory): Pass do_target_read_memory to
|
|
|
|
|
bfd_elf_bfd_from_remote_memory.
|
|
|
|
|
|
2005-01-27 16:45:09 +00:00
|
|
|
|
* value.h: Indent using gdb_indent.sh.
|
|
|
|
|
|
2005-01-27 14:48:23 +00:00
|
|
|
|
* configure: Regenerate to track ../gettext.m4 change.
|
|
|
|
|
|
2005-01-26 21:53:06 +00:00
|
|
|
|
2005-01-26 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
|
|
|
|
* rs6000-tdep.c: Include "reggroups.h".
|
|
|
|
|
(rs6000_gdbarch_init): Set register_reggroup_p.
|
|
|
|
|
(rs6000_register_reggroup_p): New function.
|
|
|
|
|
|
2005-01-26 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (enum cris_num_regs, enum cris_regnums)
(cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
CRISv32.
(crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
(cris_region_ok_for_watchpoint, cris_stopped_data_address)
(crisv32_cannot_fetch_register, crisv32_cannot_store_register)
(crisv32_register_type, cris_special_register_name)
(crisv32_register_name): New functions.
(cris_spec_reg_applicable): Recognize more versions.
(cris_register_name): Update with call to cris_special_register_name.
(find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
warning when unable to find step target.
(CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
(supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
CRISv32.
(fetch_core_registers): Update for CRISv32.
(cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
register_name, cannot_store_register, cannot_fetch_register,
have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
2005-01-26 12:32:39 +00:00
|
|
|
|
2005-01-26 Orjan Friberg <orjanf@axis.com>
|
|
|
|
|
|
|
|
|
|
* cris-tdep.c (enum cris_num_regs, enum cris_regnums)
|
|
|
|
|
(cris_sigtramp_frame_unwind_cache, cris_register_size): Update for
|
|
|
|
|
CRISv32.
|
|
|
|
|
(crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint)
|
|
|
|
|
(cris_region_ok_for_watchpoint, cris_stopped_data_address)
|
|
|
|
|
(crisv32_cannot_fetch_register, crisv32_cannot_store_register)
|
|
|
|
|
(crisv32_register_type, cris_special_register_name)
|
|
|
|
|
(crisv32_register_name): New functions.
|
|
|
|
|
(cris_spec_reg_applicable): Recognize more versions.
|
|
|
|
|
(cris_register_name): Update with call to cris_special_register_name.
|
|
|
|
|
(find_cris_op): Filter out CRISv32 instructions. Tweaked comment and
|
|
|
|
|
warning when unable to find step target.
|
|
|
|
|
(CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define.
|
|
|
|
|
(supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for
|
|
|
|
|
CRISv32.
|
|
|
|
|
(fetch_core_registers): Update for CRISv32.
|
|
|
|
|
(cris_gdbarch_init): Set pc_regnum, register_type, num_regs,
|
|
|
|
|
register_name, cannot_store_register, cannot_fetch_register,
|
|
|
|
|
have_nonsteppable_watchpoint, single_step_through_delay for CRISv32.
|
|
|
|
|
|
2005-01-26 09:55:23 +00:00
|
|
|
|
2005-01-26 Nick Roberts <nickrob@snap.net.nz>
|
|
|
|
|
|
|
|
|
|
* interps.c (interpreter_exec_cmd): Use condition,
|
|
|
|
|
e.reason < 0, to raise an error.
|
|
|
|
|
|
2005-01-25 22:06:59 +00:00
|
|
|
|
2005-01-25 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-25 22:43:45 +00:00
|
|
|
|
* ppc-linux-tdep.c: Include "tramp-frame.h"
|
|
|
|
|
(struct ppc_linux_sigtramp_cache)
|
|
|
|
|
(ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register)
|
|
|
|
|
(ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer)
|
|
|
|
|
(ppc_linux_sigtramp_cache): Delete.
|
|
|
|
|
(ppc32_linux_sigaction_cache_init)
|
|
|
|
|
(ppc64_linux_sigaction_cache_init)
|
|
|
|
|
(ppc32_linux_sighandler_cache_init)
|
|
|
|
|
(ppc64_linux_sighandler_cache_init)
|
|
|
|
|
(ppc32_linux_sigaction_tramp_frame)
|
|
|
|
|
(ppc64_linux_sigaction_tramp_frame)
|
|
|
|
|
(ppc32_linux_sighandler_tramp_frame)
|
|
|
|
|
(ppc64_linux_sighandler_tramp_frame)
|
|
|
|
|
(ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and
|
|
|
|
|
64-bit, sigaction and siginfo tramp-frame unwinders.
|
|
|
|
|
|
2005-01-25 22:06:59 +00:00
|
|
|
|
* ppc-linux-tdep.c (ppc_linux_init_abi): Always set
|
|
|
|
|
long_double_bit to 8.
|
|
|
|
|
|
2005-01-24 22:00:59 +00:00
|
|
|
|
2005-01-24 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
|
|
|
|
* infrun.c (handle_inferior_event): Handle back-to-back and nested
|
|
|
|
|
signals where the step_resume_breakpoint may have already been
|
|
|
|
|
inserted.
|
|
|
|
|
|
2005-01-24 20:01:09 +00:00
|
|
|
|
2005-01-24 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate, ../gettext.m4 was updated.
|
|
|
|
|
|
2005-01-23 19:35:05 +00:00
|
|
|
|
2005-01-23 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2005-01-23 19:43:23 +00:00
|
|
|
|
* NEWS: Mention new BSD user-level threads support.
|
|
|
|
|
|
2005-01-23 19:35:05 +00:00
|
|
|
|
* i386obsd-tdep.c: Update copyright year. Include
|
|
|
|
|
"bsd-uthread.h".
|
|
|
|
|
(i386obsd_uthread_reg_offset): New variable.
|
|
|
|
|
(I386OBSD_UTHREAD_ESP_OFFSET): New define.
|
|
|
|
|
(i386obsd_supply_uthread, i386obsd_collect_uthread): New
|
|
|
|
|
functions.
|
|
|
|
|
(i386obsd_init_abi): Set supply_uthread and collect_uthread.
|
|
|
|
|
* Makefile.in (i386obsd-tdep.o): Update dependencies.
|
|
|
|
|
* config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o.
|
|
|
|
|
|
2005-01-23 05:09:46 +00:00
|
|
|
|
2005-01-23 Christopher Faylor <cgf@timesys.com>
|
|
|
|
|
|
|
|
|
|
* win32-nat.c: Update copyright year.
|
|
|
|
|
(child_init_thread_list): Set thread linked list point to NULL so that
|
|
|
|
|
it won't be reused after clearing.
|
|
|
|
|
|
2005-01-21 13:49:22 +00:00
|
|
|
|
2005-01-21 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove
|
|
|
|
|
undefs.
|
|
|
|
|
* configure.ac: Use AC_CHECK_MEMBERS to check whether `struct
|
|
|
|
|
thread' has a td_pcb member and whether `struct reg' has r_fs and
|
|
|
|
|
r_gs members.
|
|
|
|
|
* configure, config.in: Regenerate.
|
|
|
|
|
|
2005-01-21 11:53:23 +00:00
|
|
|
|
2005-01-21 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2005-01-21 13:18:21 +00:00
|
|
|
|
* configure.ac: Remove ia64-*-aix* junk.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2005-01-21 13:14:02 +00:00
|
|
|
|
* configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS
|
|
|
|
|
and BFD_NEED_DECLARATION. Don't check if a declaration of strdup
|
|
|
|
|
is necessary.
|
|
|
|
|
* configure, config.in: Regenerate.
|
|
|
|
|
* utils.c: Adjust for usage of AC_CHECK_DECLS instead of
|
|
|
|
|
BFD_NEED_DECLARATION. Never provide a prototype for
|
|
|
|
|
caninicalize_file_name.
|
|
|
|
|
* gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of
|
|
|
|
|
BFD_NEED_DECLARATION.
|
|
|
|
|
|
2005-01-21 11:53:23 +00:00
|
|
|
|
* configure.ac (targ_archs): Use standard autoconf check for
|
|
|
|
|
"struct stat.st_blocks" instead of rolling our own.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef.
|
|
|
|
|
* config.in: Regenerated.
|
|
|
|
|
|
2005-01-20 23:57:27 +00:00
|
|
|
|
2005-01-21 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Modernize checks for `long long' and `long double'
|
|
|
|
|
support.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG)
|
|
|
|
|
(PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs.
|
|
|
|
|
* config.in: Regenerated.
|
|
|
|
|
|
2005-01-20 22:36:06 +00:00
|
|
|
|
2005-01-20 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* acconfig.h (HAVE_STRUCT_SAVE_STATE_T)
|
|
|
|
|
(HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs.
|
|
|
|
|
* configure.ac: Remove checks for HP-UX save_state structure.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2005-01-19 22:54:56 +00:00
|
|
|
|
2005-01-19 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
|
|
|
|
* utils.c (quit): Simplify, call fatal.
|
|
|
|
|
* exceptions.c: Include "serial.h"
|
|
|
|
|
(print_flush): Mimic flush code found in utils.c:quit.
|
|
|
|
|
* Makefile.in: Update dependencies.
|
|
|
|
|
|
2005-01-19 21:27:50 +00:00
|
|
|
|
2005-01-19 Jim Blandy <jimb@redhat.com>
|
|
|
|
|
|
2005-01-19 22:04:37 +00:00
|
|
|
|
* configure.tgt: Set build_rdi_share to "yes" on those targets
|
|
|
|
|
that use that debugging protocol.
|
|
|
|
|
Set build_nlm to yes to build NLM stub for Netware targets.
|
|
|
|
|
* configure.ac: If build_rdi_share is "yes", then configure the
|
|
|
|
|
rdi-share subdirectory.
|
|
|
|
|
If build_nlm is "yes", the configure the "nlm" subdirectory.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2005-01-19 21:27:50 +00:00
|
|
|
|
* rdi-share/configure, rdi-share/aclocal.m4: Regenerated using
|
|
|
|
|
autoconf 2.59 and automake 1.9.3.
|
|
|
|
|
|
2005-01-19 16:09:46 +00:00
|
|
|
|
2005-01-19 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-19 21:15:44 +00:00
|
|
|
|
* exceptions.h (deprecated_throw_reason): Rename throw_reason.
|
|
|
|
|
* exceptions.c (deprecated_throw_reason): Rename throw_reason.
|
|
|
|
|
* utils.c (internal_verror, quit): Update.
|
|
|
|
|
* remote-sds.c (interrupt_query): Update.
|
|
|
|
|
* remote-mips.c (mips_error, mips_kill): Update.
|
|
|
|
|
* remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update.
|
|
|
|
|
* remote.c (interrupt_query): Update.
|
|
|
|
|
* ocd.c (interrupt_query): Update.
|
|
|
|
|
* nto-procfs.c (interrupt_query): Update.
|
|
|
|
|
* monitor.c (monitor_interrupt_query): Update.
|
|
|
|
|
* breakpoint.c (break_command_1): Update.
|
|
|
|
|
|
2005-01-19 16:09:46 +00:00
|
|
|
|
* infrun.c: (resume, proceed, wait_for_inferior)
|
|
|
|
|
(handle_inferior_event, stop_stepping)
|
|
|
|
|
(prepare_to_wait): Write debug output to gdb_stdlog.
|
|
|
|
|
|
* inf-ptrace.c (inf_ptrace_prepare_to_store)
(inf_ptrace_post_startup_inferior)
(inf_ptrace_acknowledge_created_inferior)
(inf_ptrace_insert_fork_catchpoint)
(inf_ptrace_remove_fork_catchpoint)
(inf_ptrace_insert_vfork_catchpoint):
(inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
(inf_ptrace_insert_exec_catchpoint)
(inf_ptrace_remove_exec_catchpoint): Remove functions.
(inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
(inf_ptrace_target): Don't set to_prepare_to_store,
to_post_startup_inferior, to_acknowledge_created_inferior,
to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
to_follow_fork, to_insert_exec_catchpoint,
to_remove_exec_catchpoint.
2005-01-19 10:04:35 +00:00
|
|
|
|
2005-01-19 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* inf-ptrace.c (inf_ptrace_prepare_to_store)
|
|
|
|
|
(inf_ptrace_post_startup_inferior)
|
|
|
|
|
(inf_ptrace_acknowledge_created_inferior)
|
|
|
|
|
(inf_ptrace_insert_fork_catchpoint)
|
|
|
|
|
(inf_ptrace_remove_fork_catchpoint)
|
|
|
|
|
(inf_ptrace_insert_vfork_catchpoint):
|
|
|
|
|
(inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork)
|
|
|
|
|
(inf_ptrace_insert_exec_catchpoint)
|
|
|
|
|
(inf_ptrace_remove_exec_catchpoint): Remove functions.
|
|
|
|
|
(inf_ptrace_reported_exec_events_per_exec_call): Tweak comment.
|
|
|
|
|
(inf_ptrace_target): Don't set to_prepare_to_store,
|
|
|
|
|
to_post_startup_inferior, to_acknowledge_created_inferior,
|
|
|
|
|
to_insert_fork_ctachpoint, to_remove_fork_catchpoint,
|
|
|
|
|
to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
|
|
|
|
|
to_follow_fork, to_insert_exec_catchpoint,
|
|
|
|
|
to_remove_exec_catchpoint.
|
|
|
|
|
|
2005-01-18 16:15:39 +00:00
|
|
|
|
2005-01-18 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-18 17:04:28 +00:00
|
|
|
|
* target.h (struct target_ops): Change return type of
|
|
|
|
|
to_insert_fork_catchpoint, to_insert_vfork_catchpoint and
|
|
|
|
|
to_insert_exec_catchpoint to void.
|
|
|
|
|
(child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
|
|
|
|
|
(child_insert_exec_catchpoint): Change return type to void.
|
|
|
|
|
* target.c (update_current_target): Update.
|
|
|
|
|
(debug_to_insert_fork_catchpoint)
|
|
|
|
|
(debug_to_insert_vfork_catchpoint)
|
|
|
|
|
(debug_to_insert_exec_catchpoint): Update.
|
|
|
|
|
* inf-child.c (inf_child_insert_fork_catchpoint)
|
|
|
|
|
(inf_child_insert_vfork_catchpoint)
|
|
|
|
|
(inf_child_insert_exec_catchpoint): Update.
|
|
|
|
|
* breakpoint.c (insert_catchpoint): Update, do not throw an error.
|
|
|
|
|
* linux-nat.c (child_insert_fork_catchpoint)
|
|
|
|
|
(child_insert_vfork_catchpoint)
|
|
|
|
|
(child_insert_exec_catchpoint): Update.
|
|
|
|
|
* inftarg.c (child_insert_fork_catchpoint)
|
|
|
|
|
(child_insert_vfork_catchpoint,)
|
|
|
|
|
(child_insert_exec_catchpoint): Update.
|
|
|
|
|
|
2005-01-18 16:15:39 +00:00
|
|
|
|
* remote.c (remote_open_1): Use throw_exception.
|
|
|
|
|
|
2005-01-17 19:49:14 +00:00
|
|
|
|
2005-01-17 Michael Snyder <msnyder@redhat.com>
|
|
|
|
|
|
|
|
|
|
* mips-linux-tdep.c: Whitespace tweaks.
|
|
|
|
|
|
2005-01-17 16:47:55 +00:00
|
|
|
|
2005-01-17 Corinna Vinschen <vinschen@redhat.com>
|
|
|
|
|
|
|
|
|
|
* infcmd.c (attach_command): Call CLEAR_SOLIB if available.
|
|
|
|
|
|
2005-01-17 16:17:36 +00:00
|
|
|
|
2005-01-17 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
|
|
|
|
* top.h (source_error, source_pre_error): Delete declaration.
|
|
|
|
|
* cli/cli-script.c (source_error_allocated, source_error): Delete.
|
|
|
|
|
(script_from_file, source_cleanup_lines): Do not manipulate
|
|
|
|
|
source_error_allocated, error_pre_print and source_error.
|
|
|
|
|
(struct source_cleanup_lines_args): Delete fields old_pre_error,
|
|
|
|
|
and old_error_pre_print.
|
|
|
|
|
* top.c (source_error_allocated, source_error)
|
|
|
|
|
(source_pre_error): Delete.
|
|
|
|
|
(command_line_input): Do not set error_pre_print.
|
|
|
|
|
* event-top.c (command_line_handler): Do not set error_pre_print.
|
|
|
|
|
|
2005-01-17 00:01:48 +00:00
|
|
|
|
2005-01-16 Jason Thorpe <thorpej@netbsd.org>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Update my email address.
|
|
|
|
|
|
2005-01-16 21:53:35 +00:00
|
|
|
|
2005-01-16 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2005-01-16 22:51:49 +00:00
|
|
|
|
* configure.ac: Provide prerequisite headers when checking
|
|
|
|
|
<term.h>.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2005-01-16 21:53:35 +00:00
|
|
|
|
* amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"
|
|
|
|
|
and "bsd-uthread.h".
|
|
|
|
|
(amd64fbsd_jmp_buf_reg_offset): New variable.
|
|
|
|
|
(amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New
|
|
|
|
|
functions.
|
|
|
|
|
(amd64fbsd_init_abi): Set supply_uthread and collect_uthread.
|
|
|
|
|
* i386fbsd-tdep.c: Fix typo.
|
|
|
|
|
* Makefile.in (amd64fbsd-tdep.o): Update dependencies.
|
|
|
|
|
* config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
|
|
|
|
|
|
2005-01-16 21:20:06 +00:00
|
|
|
|
2005-01-16 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
|
|
|
|
* cli/cli-script.c: Include "exceptions.h".
|
|
|
|
|
(struct wrapped_read_command_file_args): Define.
|
|
|
|
|
(wrapped_read_command_file): New function.
|
|
|
|
|
(script_from_file): Replace direct call to read_command_file by
|
|
|
|
|
one wrapped by an exception handler.
|
|
|
|
|
* exceptions.c (throw_it): Free the old message after creating the
|
|
|
|
|
new.
|
|
|
|
|
* Makefile.in: Update dependencies.
|
|
|
|
|
|
2005-01-16 20:06:54 +00:00
|
|
|
|
2005-01-16 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2005-01-16 21:18:48 +00:00
|
|
|
|
* sparc64fbsd-tdep.c: Update copyright year.
|
|
|
|
|
(sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New
|
|
|
|
|
functions.
|
|
|
|
|
(sparc64fbsd_init_abi): Create register sets with collect
|
|
|
|
|
functions.
|
|
|
|
|
|
2005-01-16 20:29:11 +00:00
|
|
|
|
* sparc64fbsd-nat.c: Include "fbsd-nat.h".
|
|
|
|
|
(_initialize_sparc64fbsd_nat): Add some extra features to the
|
|
|
|
|
generic SPARC target.
|
|
|
|
|
* Makefile.in (sparc64fbsd-nat.o): Update dependencies.
|
|
|
|
|
* config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o.
|
|
|
|
|
(NAT_FILE): Set to solib.h.
|
|
|
|
|
* config/sparc/nm-fbsd.h: Remove file.
|
|
|
|
|
|
2005-01-16 20:08:20 +00:00
|
|
|
|
* sparc64-tdep.c (sparc64_store_arguments): Fix typo.
|
|
|
|
|
|
2005-01-16 20:06:54 +00:00
|
|
|
|
* sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.
|
|
|
|
|
|
2005-01-16 19:51:51 +00:00
|
|
|
|
2005-01-16 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
|
|
|
|
* exceptions.c (struct catcher): Delete saved_error_pre_print and
|
|
|
|
|
saved_quit_pre_print.
|
|
|
|
|
(catcher_init): Delete parameter errstring, do not override the
|
|
|
|
|
pre_print strings.
|
|
|
|
|
(catcher_pop): Do not restore the pre_print strings.
|
|
|
|
|
(catch_exception, catch_exceptions_with_msg, catch_errors)
|
|
|
|
|
(catch_command_errors): Update catch_init calls.
|
|
|
|
|
|
2005-01-16 17:54:38 +00:00
|
|
|
|
2005-01-16 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* Makefile.in (sparc64fbsd-nat.o): Update dependencies.
|
|
|
|
|
* sparc64fbsd-nat.c: Update copyright year. Include "target.h".
|
|
|
|
|
|
2005-01-15 06:03:34 +00:00
|
|
|
|
2005-01-15 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-15 20:32:43 +00:00
|
|
|
|
* acinclude.m4: Include ../bfd/bfd.m4 instead of
|
|
|
|
|
../bfd/acinclude.m4. Include ../gettext.m4.
|
|
|
|
|
* aclocal.m4, configure: Re-generate.
|
|
|
|
|
|
2005-01-15 18:59:43 +00:00
|
|
|
|
* exceptions.c (do_captured_command)
|
|
|
|
|
(struct captured_command_args): Delete.
|
|
|
|
|
(catch_command_errors): Simplify by inlining call to catch_errors.
|
|
|
|
|
|
2005-01-15 06:03:34 +00:00
|
|
|
|
* exceptions.c (struct catcher): Delete field print_message.
|
|
|
|
|
(catcher_init): Delete print_message parameter.
|
|
|
|
|
(catch_exception, catch_exceptions_with_msg, catch_errors): Update.
|
|
|
|
|
(throw_it): Delete prefix parameter.
|
|
|
|
|
(throw_verror, throw_vfatal, throw_error): Update.
|
|
|
|
|
|
2005-01-15 02:33:19 +00:00
|
|
|
|
2005-01-14 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-15 05:16:15 +00:00
|
|
|
|
* exceptions.c (print_and_throw): Delete, replaced by throw_it.
|
|
|
|
|
(throw_reason): Leave the exception's message field blank.
|
|
|
|
|
(throw_it): New function, create the exception and throw it.
|
|
|
|
|
(throw_verror, throw_vfatal, throw_error): Call throw_it.
|
|
|
|
|
(print_any_exception): New function.
|
|
|
|
|
(catch_errors, catch_exceptions_with_msg): Call
|
|
|
|
|
print_any_exception.
|
|
|
|
|
(throw_exception): Move code calling annotate_error and
|
|
|
|
|
annotate_quit from here ...
|
|
|
|
|
(print_exception): ... to here.
|
|
|
|
|
|
2005-01-15 04:31:10 +00:00
|
|
|
|
* exceptions.c (exception_fprintf, exception_print): Move printing
|
|
|
|
|
of \n from here ...
|
|
|
|
|
(print_exception): ... to here.
|
|
|
|
|
(print_flush): New function.
|
|
|
|
|
(exception_print, exception_fprintf): Replace duplicated flush and
|
|
|
|
|
wrap code with call to print_flush.
|
|
|
|
|
(print_and_throw): Simplify, by using xstrvprintf, print_flush,
|
|
|
|
|
and print_exception.
|
|
|
|
|
(do_write): Delete.
|
|
|
|
|
|
2005-01-15 02:33:19 +00:00
|
|
|
|
* remote-sds.c (interrupt_query): Call throw_reason instead of
|
|
|
|
|
throw_exception.
|
|
|
|
|
* remote-mips.c (mips_error, mips_kill): Ditto
|
|
|
|
|
* ocd.c (interrupt_query): Ditto.
|
|
|
|
|
* nto-procfs.c (interrupt_query): Ditto.
|
|
|
|
|
* monitor.c (monitor_interrupt_query): Ditto.
|
|
|
|
|
|
2005-01-15 00:10:02 +00:00
|
|
|
|
2005-01-14 Jeff Johnston <jjohnstn@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
|
|
|
|
|
|
2005-01-14 18:17:20 +00:00
|
|
|
|
2005-01-14 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-14 23:27:14 +00:00
|
|
|
|
* exceptions.h (catch_exceptions): Delete errstring parameter.
|
|
|
|
|
(catch_exceptions_with_msg): Ditto.
|
|
|
|
|
* exceptions.c (catch_exceptions_with_msg): Update.
|
|
|
|
|
(catch_exceptions): Update.
|
|
|
|
|
* symfile-mem.c (add_vsyscall_page): Update.
|
|
|
|
|
* frame.c (get_current_frame): Update.
|
|
|
|
|
* wrapper.c (gdb_value_struct_elt): Update.
|
|
|
|
|
* exceptions.c (catch_exceptions): Update.
|
|
|
|
|
* thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
|
|
|
|
|
* breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
|
|
|
|
|
* remote-fileio.c (remote_fileio_request): Update.
|
|
|
|
|
|
2005-01-14 22:59:36 +00:00
|
|
|
|
* exceptions.h (exception_fprintf): Declare.
|
|
|
|
|
(exception_print): Drop pre_print parameter.
|
|
|
|
|
* mi/mi-main.c (mi_execute_command): Update exception_print call.
|
|
|
|
|
* cli/cli-interp.c (safe_execute_command): Update exception_print
|
|
|
|
|
call.
|
|
|
|
|
* remote.c (remote_open_1): Instead of passing an error prefix to
|
|
|
|
|
catch_exceptions, use catch_exceptions and exception_fprintf.
|
|
|
|
|
(remote_start_remote): Change return type to void.
|
|
|
|
|
* breakpoint.c (insert_bp_location): Instead of passing an error
|
|
|
|
|
prefix to catch_exceptions, use catch_exceptions and
|
|
|
|
|
exception_fprintf.
|
|
|
|
|
(insert_catchpoint): Change return type to void.
|
|
|
|
|
(break_command_1): Update exception_print call.
|
|
|
|
|
* exceptions.c (exception_fprintf): New function.
|
|
|
|
|
(print_exception): New function.
|
|
|
|
|
(exception_print): Use print_exception.
|
|
|
|
|
|
2005-01-14 21:34:36 +00:00
|
|
|
|
* utils.c (error_output_message): Delete function.
|
|
|
|
|
* defs.h (error_output_message): Delete declaration.
|
|
|
|
|
|
2005-01-14 20:24:20 +00:00
|
|
|
|
* linespec.c (symtab_from_filename, decode_variable): Use
|
|
|
|
|
throw_error instead of error_silent.
|
|
|
|
|
* breakpoint.c (do_captured_parse_breakpoint): Change return type
|
|
|
|
|
to void.
|
|
|
|
|
(break_command_1): Use catch_exception and check the error return
|
|
|
|
|
status.
|
|
|
|
|
* exceptions.c (throw_error): New function.
|
|
|
|
|
(throw_vsilent): Delete function.
|
|
|
|
|
* exceptions.h (throw_error): Declare.
|
|
|
|
|
(throw_vsilent): Delete declaration.
|
|
|
|
|
* utils.c (error_silent): Delete function.
|
|
|
|
|
* defs.h (error_silent): Delete declaration.
|
|
|
|
|
|
2005-01-14 18:55:33 +00:00
|
|
|
|
* mi/mi-main.c (mi_execute_command): Print the exception.
|
|
|
|
|
* cli/cli-interp.c (safe_execute_command): Print the exception.
|
|
|
|
|
* exceptions.h (exception_print): Declare.
|
|
|
|
|
* exceptions.c (struct catcher): Add field print_message.
|
|
|
|
|
(catcher_init): Add parameter print_message, store in the catcher
|
|
|
|
|
struct.
|
|
|
|
|
(print_and_throw): Only print the message when print_message.
|
|
|
|
|
(catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
|
|
|
|
|
catcher_init.
|
|
|
|
|
(catch_exception): Pass print_message=0 to catcher_init.
|
|
|
|
|
|
2005-01-14 18:17:20 +00:00
|
|
|
|
* varobj.c (varobj_create): Add missing \n.
|
|
|
|
|
|
2005-01-14 03:59:19 +00:00
|
|
|
|
2005-01-13 Michael Snyder <msnyder@redhat.com>
|
|
|
|
|
|
2005-01-14 04:41:36 +00:00
|
|
|
|
* cli/cli-decode.h: Whitespace tweaks.
|
2005-01-14 04:33:08 +00:00
|
|
|
|
* wince.c: Whitespace tweaks.
|
2005-01-14 04:03:02 +00:00
|
|
|
|
* uw-thread.c: Whitespace tweaks.
|
2005-01-14 04:01:37 +00:00
|
|
|
|
* utils.c: Whitespace tweaks.
|
2005-01-14 03:59:19 +00:00
|
|
|
|
* tracepoint.[ch]: Whitespace tweaks.
|
|
|
|
|
* solist.h: Whitespace tweaks.
|
|
|
|
|
|
2005-01-13 Andrew Cagney <cagney@gnu.org>
* defs.h (error_last_message, error_init): Delete declaration.
* utils.c (fatal, vfatal): Call throw_vfatal.
(error, verror): Call throw_verror;
(do_write, error_stream_1): Delete function.
(error_stream): Simplify, call error.
(error_last_message, error_init, gdb_lasterr): Delete.
(error_silent): Simplify, call throw_vsilent.
* mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
* main.c (captured_main): Delete call to error_init.
* exceptions.c (throw_verror, throw_verror)
(throw_vsilent): New functions.
(do_write, print_and_throw): New functions.
(last_message): New global.
(throw_reason): Replace error_last_message with last_message.
(catch_exceptions_with_msg): Dup the message.
* exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
Declare.
2005-01-14 01:20:38 +00:00
|
|
|
|
2005-01-13 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-14 02:33:24 +00:00
|
|
|
|
* exceptions.h (struct exception): Make message const.
|
|
|
|
|
* mi/mi-main.c (mi_execute_command): Pass result.message directly
|
|
|
|
|
to fputstr_unfiltered.
|
|
|
|
|
|
2005-01-14 02:35:06 +00:00
|
|
|
|
2005-01-13 Michael Snyder <msnyder@redhat.com>
|
|
|
|
|
|
|
|
|
|
* stack.c: Whitespace tweaks.
|
|
|
|
|
* somsolib.[ch]: Whitespace tweaks.
|
|
|
|
|
* solib-aix.c: Whitespace tweaks.
|
|
|
|
|
* solib.c: Whitespace tweaks.
|
|
|
|
|
* solib-frv.c: Whitespace tweaks.
|
|
|
|
|
* solib.h: Whitespace tweaks.
|
|
|
|
|
* solib-irix.c: Whitespace tweaks.
|
|
|
|
|
* solib-som.c: Whitespace tweaks.
|
|
|
|
|
* solib-sunos.c: Whitespace tweaks.
|
|
|
|
|
* solib-svr4.[ch]: Whitespace tweaks.
|
|
|
|
|
* ser-tcp.c: Whitespace tweaks.
|
|
|
|
|
* ser-unix.c: Whitespace tweaks.
|
|
|
|
|
* serial.h: Whitespace tweaks.
|
|
|
|
|
* scm-valprint.c: Whitespace tweaks.
|
|
|
|
|
* rs6000-tdep.c: Whitespace tweaks.
|
|
|
|
|
* rs6000-nat.c: Whitespace tweaks.
|
|
|
|
|
* remote.c: Whitespace tweaks.
|
|
|
|
|
|
|
|
|
|
2005-01-13 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-13 Andrew Cagney <cagney@gnu.org>
* defs.h (error_last_message, error_init): Delete declaration.
* utils.c (fatal, vfatal): Call throw_vfatal.
(error, verror): Call throw_verror;
(do_write, error_stream_1): Delete function.
(error_stream): Simplify, call error.
(error_last_message, error_init, gdb_lasterr): Delete.
(error_silent): Simplify, call throw_vsilent.
* mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
* main.c (captured_main): Delete call to error_init.
* exceptions.c (throw_verror, throw_verror)
(throw_vsilent): New functions.
(do_write, print_and_throw): New functions.
(last_message): New global.
(throw_reason): Replace error_last_message with last_message.
(catch_exceptions_with_msg): Dup the message.
* exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
Declare.
2005-01-14 01:20:38 +00:00
|
|
|
|
* defs.h (error_last_message, error_init): Delete declaration.
|
|
|
|
|
* utils.c (fatal, vfatal): Call throw_vfatal.
|
|
|
|
|
(error, verror): Call throw_verror;
|
|
|
|
|
(do_write, error_stream_1): Delete function.
|
|
|
|
|
(error_stream): Simplify, call error.
|
|
|
|
|
(error_last_message, error_init, gdb_lasterr): Delete.
|
|
|
|
|
(error_silent): Simplify, call throw_vsilent.
|
|
|
|
|
* mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message.
|
|
|
|
|
* main.c (captured_main): Delete call to error_init.
|
|
|
|
|
* exceptions.c (throw_verror, throw_verror)
|
|
|
|
|
(throw_vsilent): New functions.
|
|
|
|
|
(do_write, print_and_throw): New functions.
|
|
|
|
|
(last_message): New global.
|
|
|
|
|
(throw_reason): Replace error_last_message with last_message.
|
|
|
|
|
(catch_exceptions_with_msg): Dup the message.
|
|
|
|
|
* exceptions.h (throw_verror, throw_vfatal, throw_vsilent):
|
|
|
|
|
Declare.
|
|
|
|
|
|
2005-01-13 23:31:17 +00:00
|
|
|
|
2005-01-13 Michael Snyder <msnyder@redhat.com>
|
|
|
|
|
|
2005-01-14 01:08:21 +00:00
|
|
|
|
* remote-st.c: Whitespace tweaks.
|
2005-01-14 01:05:37 +00:00
|
|
|
|
* remote-sim.c: Whitespace tweaks.
|
2005-01-14 01:03:41 +00:00
|
|
|
|
* remote-mips.c: Whitespace tweaks.
|
2005-01-14 01:01:34 +00:00
|
|
|
|
* pa64solib.[ch]: Whitespace tweaks.
|
2005-01-14 00:59:32 +00:00
|
|
|
|
* mdebugread.c: Whitespace tweaks.
|
2005-01-14 00:58:15 +00:00
|
|
|
|
* main.c: Whitespace tweaks.
|
2005-01-14 00:55:36 +00:00
|
|
|
|
* interps.c: Whitespace tweaks.
|
2005-01-14 00:51:43 +00:00
|
|
|
|
* infrun.c: Whitespace tweaks.
|
2005-01-14 00:48:32 +00:00
|
|
|
|
* infcmd.c: Whitespace tweaks.
|
2005-01-14 00:25:00 +00:00
|
|
|
|
* hpux-thread.c: Whitespace tweaks.
|
2005-01-14 00:23:41 +00:00
|
|
|
|
* hppa-hpux-tdep.c: Whitespace tweaks.
|
2005-01-14 00:21:19 +00:00
|
|
|
|
* gdbcore.h: Whitespace tweaks.
|
2005-01-14 00:19:14 +00:00
|
|
|
|
* gdbcmd.h: Whitespace tweaks.
|
2005-01-14 00:16:53 +00:00
|
|
|
|
* gdb-events[.c, .h, .sh]: Whitespace tweaks.
|
2005-01-13 23:56:25 +00:00
|
|
|
|
* corefile.c: Whitespace tweaks.
|
2005-01-13 23:52:28 +00:00
|
|
|
|
* completer.c: Whitespace tweaks.
|
2005-01-13 23:45:29 +00:00
|
|
|
|
* coff-solib.c: Whitespace tweaks.
|
|
|
|
|
* coff-solib.h: Whitespace tweaks.
|
2005-01-13 23:39:40 +00:00
|
|
|
|
* cli-out.c: Whitespace tweaks.
|
2005-01-13 23:35:54 +00:00
|
|
|
|
* breakpoint.c: Whitespace tweaks.
|
2005-01-13 23:31:17 +00:00
|
|
|
|
* cli/cli-interp.c: Tweak comments, per coding standard.
|
|
|
|
|
|
2005-01-13 18:15:02 +00:00
|
|
|
|
2005-01-13 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-13 22:08:27 +00:00
|
|
|
|
* breakpoint.c (gdb_breakpoint_query): Update, use
|
|
|
|
|
catch_exceptions_with_msg.
|
|
|
|
|
(do_captured_breakpoint): Add uiout parameter.
|
|
|
|
|
(gdb_breakpoint): Update, use catch_exceptions_with_msg.
|
|
|
|
|
* mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
|
|
|
|
|
gdb_thread_select. Return MI_CMD_ERROR instead of
|
|
|
|
|
MI_CMD_CAUGHT_ERROR.
|
|
|
|
|
(mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
|
|
|
|
|
(enum captured_mi_execute_command_actions): Delete
|
|
|
|
|
EXECUTE_COMMAND_DISPLAY_ERROR.
|
|
|
|
|
(captured_mi_execute_command): Delete code handling
|
|
|
|
|
MI_CMD_CAUGHT_ERROR.
|
|
|
|
|
(mi_execute_command): Don't check for
|
|
|
|
|
EXECUTE_COMMAND_DISPLAY_ERROR.
|
|
|
|
|
* mi/mi-cmd-break.c (breakpoint_notify): Update call to
|
|
|
|
|
gdb_breakpoint_query.
|
|
|
|
|
(mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
|
|
|
|
|
* mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
|
|
|
|
|
* gdb.h (gdb_thread_select, gdb_list_thread_ids)
|
|
|
|
|
(gdb_breakpoint, gdb_breakpoint_query): Add error_message
|
|
|
|
|
parameter.
|
|
|
|
|
* thread.c (thread_command): Update call.
|
|
|
|
|
(gdb_thread_select, gdb_list_thread_ids): Update, call
|
|
|
|
|
catch_exceptions_with_msg.
|
|
|
|
|
|
2005-01-13 18:15:02 +00:00
|
|
|
|
* mi/mi-main.c (mi_execute_command): Use catch_exception,
|
|
|
|
|
eliminate call to error_last_message.
|
|
|
|
|
(captured_mi_execute_command): Change return type to void.
|
|
|
|
|
|
2005-01-13 00:12:50 +00:00
|
|
|
|
2005-01-12 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-13 02:35:39 +00:00
|
|
|
|
* exceptions.c (exception_none): New variable.
|
|
|
|
|
* Makefile.in: Update dependencies.
|
|
|
|
|
* interps.c: Include "exceptions.h".
|
|
|
|
|
(interpreter_exec_cmd, interp_exec): Update to return "struct
|
|
|
|
|
exception"
|
|
|
|
|
* exceptions.h (no_exception): Declare.
|
|
|
|
|
* tui/tui-interp.c (tui_exec): Update to return "struct exception"
|
|
|
|
|
* mi/mi-interp.c: Include "exceptions.h".
|
|
|
|
|
(mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
|
|
|
|
|
'struct exception".
|
|
|
|
|
* cli/cli-interp.c (cli_interpreter_exec, safe_execute_command)
|
|
|
|
|
(do_captured_execute_command): Update to use catch_exception.
|
|
|
|
|
* interps.h: Include "exceptions.h".
|
|
|
|
|
(interp_exec_ftype, interp_exec): Return "struct exception".
|
|
|
|
|
|
2005-01-13 00:12:50 +00:00
|
|
|
|
* exceptions.h (throw_reason): Rename throw_exception.
|
|
|
|
|
(enum errors, struct exception): Define.
|
|
|
|
|
(catch_exception_ftype): Define.
|
|
|
|
|
(catch_exception, throw_exception): Declare.
|
|
|
|
|
* exceptions.c (throw_exception): Rewrite.
|
|
|
|
|
(throw_reason): New function.
|
|
|
|
|
(struct catcher, catcher_state_machine): Replace "reason" with
|
|
|
|
|
"exception", delete "gdberrmsg".
|
|
|
|
|
(catch_exception): New function.
|
|
|
|
|
(catcher_init): Replace "gdberrmsg" parameter with "exception".
|
|
|
|
|
(catch_errors, catch_exceptions_with_msg): Re-implement passing
|
|
|
|
|
exception to catcher_init.
|
|
|
|
|
* utils.c (error_silent, error_stream_1): Use throw_reason.
|
|
|
|
|
(internal_verror, quit): Ditto.
|
|
|
|
|
* breakpoint.c (insert_catchpoint, break_command_1): Ditto.
|
|
|
|
|
* remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
|
|
|
|
|
* remote.c (remote_open_1, interrupt_query): Ditto.
|
|
|
|
|
|
2005-01-12 20:36:59 +00:00
|
|
|
|
2005-01-12 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2005-01-12 21:54:13 +00:00
|
|
|
|
* i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",
|
|
|
|
|
"regcache.h", "gdb_assert.h" and "bsd-uthread.h".
|
|
|
|
|
(i386fbsd_jmp_buf_reg_offset): New variable.
|
|
|
|
|
(i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
|
|
|
|
|
functions.
|
|
|
|
|
(i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
|
|
|
|
|
* Makefile.in (i386fbsd-tdep.o): Update dependency.
|
|
|
|
|
* config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
|
|
|
|
|
|
2005-01-12 21:43:35 +00:00
|
|
|
|
* bsd-uthread.h: New file.
|
|
|
|
|
* bsd-uthread.c: New file.
|
|
|
|
|
* Makefile.in (bsd_uthread_h): New variable.
|
|
|
|
|
(ALLDEPFILES): Add bsd-uthread.c.
|
|
|
|
|
(bsd-uthread.o): New dependency.
|
|
|
|
|
|
2005-01-12 20:52:18 +00:00
|
|
|
|
* solib.h Update copyright year.
|
|
|
|
|
(struct so_list): Forward declaration.
|
|
|
|
|
(solib_read_symbols): New prototype.
|
|
|
|
|
* solib.c (solib_read_symbols): New function.
|
|
|
|
|
(solib_add): Call solib_read_symbols to read in symbols.
|
|
|
|
|
(update_solib_list): Call observer_notify_solib_loaded.
|
|
|
|
|
|
2005-01-12 20:36:59 +00:00
|
|
|
|
* i386bsd-nat.c: Update copyright year. Don't include
|
|
|
|
|
<sys/param.h> and <sys/user.h>.
|
|
|
|
|
(register_u_addr, kernel_u_size): Remove functions.
|
|
|
|
|
* config/i386/obsd.mh (NAT_FILE): Remove.
|
|
|
|
|
* config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
|
|
|
|
|
* config/i386/nm-obsd.h: Remove file.
|
|
|
|
|
|
2005-01-12 Andrew Cagney <cagney@gnu.org>
* exceptions.h (enum return_reason, RETURN_MASK)
(RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
(return_mask, throw_exception, catch_exceptions_ftype)
(catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
(catch_command_errors_ftype, catch_command_errors): Move to
exceptions.h.
* exceptions.c, exceptions.h: New files.
* top.c: Do not include <setjmp.h>.
(SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
(throw_exception, catcher, catch_exceptions)
(catch_exceptions_with_msg, struct catch_errors_args)
(do_catch_errors, catch_errors, struct captured_command_args)
(do_captured_command, catch_command_errors): Move to exceptions.c.
* wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
* tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
* symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
* remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
* remote-e7000.c, objc-lang.c, ocd.c: Ditto.
* remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
* main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
* hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
* corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
* ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
exceptions.o. Update all dependencies.
2005-01-12 18:31:35 +00:00
|
|
|
|
2005-01-12 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-12 19:12:29 +00:00
|
|
|
|
* exceptions.c: Include "gdb_string.h".
|
|
|
|
|
(enum catcher_state, struct catcher): Define.
|
|
|
|
|
(current_catcher): New global, replaces catch_return;
|
|
|
|
|
(catch_return): Delete.
|
|
|
|
|
(throw_exception): Use current_catcher->buf;
|
|
|
|
|
(catcher_init, catcher_pop, catcher_state_machine): New functions.
|
|
|
|
|
(catcher): Delete.
|
|
|
|
|
(struct catch_errors_args): Delete.
|
|
|
|
|
(do_catch_errors): Delete.
|
|
|
|
|
(catch_exceptions): Replace body with call to
|
|
|
|
|
catch_exceptions_with_msg.
|
|
|
|
|
(catcher): Delete.
|
|
|
|
|
(catch_exceptions_with_msg, catch_errors): Re-implement using
|
|
|
|
|
catcher_state_machine.
|
|
|
|
|
|
2005-01-12 Andrew Cagney <cagney@gnu.org>
* exceptions.h (enum return_reason, RETURN_MASK)
(RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
(return_mask, throw_exception, catch_exceptions_ftype)
(catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
(catch_command_errors_ftype, catch_command_errors): Move to
exceptions.h.
* exceptions.c, exceptions.h: New files.
* top.c: Do not include <setjmp.h>.
(SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
(throw_exception, catcher, catch_exceptions)
(catch_exceptions_with_msg, struct catch_errors_args)
(do_catch_errors, catch_errors, struct captured_command_args)
(do_captured_command, catch_command_errors): Move to exceptions.c.
* wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
* tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
* symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
* remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
* remote-e7000.c, objc-lang.c, ocd.c: Ditto.
* remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
* main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
* hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
* corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
* ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
exceptions.o. Update all dependencies.
2005-01-12 18:31:35 +00:00
|
|
|
|
* exceptions.h (enum return_reason, RETURN_MASK)
|
|
|
|
|
(RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
|
|
|
|
|
(return_mask, throw_exception, catch_exceptions_ftype)
|
|
|
|
|
(catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
|
|
|
|
|
(catch_command_errors_ftype, catch_command_errors): Move to
|
|
|
|
|
exceptions.h.
|
|
|
|
|
* exceptions.c, exceptions.h: New files.
|
|
|
|
|
* top.c: Do not include <setjmp.h>.
|
|
|
|
|
(SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
|
|
|
|
|
(throw_exception, catcher, catch_exceptions)
|
|
|
|
|
(catch_exceptions_with_msg, struct catch_errors_args)
|
|
|
|
|
(do_catch_errors, catch_errors, struct captured_command_args)
|
|
|
|
|
(do_captured_command, catch_command_errors): Move to exceptions.c.
|
|
|
|
|
* wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
|
|
|
|
|
* tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
|
|
|
|
|
* symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
|
|
|
|
|
* remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
|
|
|
|
|
* remote-e7000.c, objc-lang.c, ocd.c: Ditto.
|
|
|
|
|
* remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
|
|
|
|
|
* main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
|
|
|
|
|
* hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
|
|
|
|
|
* corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
|
|
|
|
|
* ada-valprint.c, ada-lang.c: Ditto.
|
|
|
|
|
* Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
|
|
|
|
|
exceptions.o. Update all dependencies.
|
|
|
|
|
|
2005-01-11 22:24:40 +00:00
|
|
|
|
2005-01-11 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2005-01-11 23:04:33 +00:00
|
|
|
|
* config/i386/nm-fbsd.h: Update copyright year.
|
|
|
|
|
Don't include "config/nm-bsd.h".
|
|
|
|
|
(KERNEL_U_SIZE): Remove macro.
|
|
|
|
|
(kernel_u_size): Remove prototype.
|
|
|
|
|
|
2005-01-11 22:24:40 +00:00
|
|
|
|
* config/vax/nbsdaout.mh (NAT_FILE): Remove.
|
|
|
|
|
* config/vax/nm-nbsdaout.h: Remove file.
|
|
|
|
|
|
2005-01-11 03:54:35 +00:00
|
|
|
|
2005-01-10 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
|
|
|
|
|
|
* MAINTAINERS: Remove self from sh/sh64 maintainership.
|
|
|
|
|
|
2005-01-10 22:35:00 +00:00
|
|
|
|
2005-01-10 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
2005-01-10 23:38:36 +00:00
|
|
|
|
* MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
|
|
|
|
|
changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux
|
|
|
|
|
maintainer.
|
|
|
|
|
|
2005-01-10 22:45:28 +00:00
|
|
|
|
* MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit
|
|
|
|
|
changes to CRIS.
|
|
|
|
|
|
2005-01-10 22:35:00 +00:00
|
|
|
|
* MAINTAINERS: Remove "Maintenance Only". Spell out that CAN
|
|
|
|
|
COMMIT means can approve).
|
|
|
|
|
|
2005-01-10 20:36:38 +00:00
|
|
|
|
2005-01-10 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2005-01-10 20:56:17 +00:00
|
|
|
|
* vax-nat.c: Update copyright year. Include "inf-ptrace.h".
|
|
|
|
|
(vax_register_u_offset): Make statuc.
|
|
|
|
|
(_initialize_vax_nat): Construct and add target vector.
|
|
|
|
|
* config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and
|
|
|
|
|
inftarg.o. Add inf-ptrace.o.
|
|
|
|
|
* Makefile.in (vax-nat.o): Update dependencies.
|
|
|
|
|
|
2005-01-10 20:36:38 +00:00
|
|
|
|
* inf-ptrace.h: Update copyright year. Sync comment with
|
|
|
|
|
inf-ptrace.c.
|
|
|
|
|
(inf_ptrace_trad_target): New prototype.
|
|
|
|
|
* inf-ptrace.c: Update copyright year. Include "regcache.h" and
|
|
|
|
|
"gdb_assert.h"
|
|
|
|
|
(inf_ptrace_target): Add comment.
|
|
|
|
|
(inf_ptrace+register_u_offset): New variable.
|
|
|
|
|
(inf_ptrace_fetch_register, inf_ptrace_fetch_registers)
|
|
|
|
|
(inf_ptrace_store_register, inf_ptrace_store_registers)
|
|
|
|
|
(inf_ptrace_trad_target): New functions.
|
|
|
|
|
* Makefile.in (inf-ptrace.o): Update dependencies.
|
|
|
|
|
|
2005-01-09 18:02:50 +00:00
|
|
|
|
2005-01-09 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Provide prerequisite headers when checking
|
|
|
|
|
<link.h>, <sys/proc.h> and <sys/user.h>.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2005-01-07 23:43:37 +00:00
|
|
|
|
2005-01-08 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to
|
|
|
|
|
tm-ppc-eabi.h instead of the removed tm-nbsd.h.
|
|
|
|
|
|
2005-01-07 23:12:06 +00:00
|
|
|
|
2005-01-07 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
|
|
|
|
* config/ia64/tm-linux.h: Tweak comment. Update copyright year.
|
|
|
|
|
Don't include "tm-ia64.h".
|
|
|
|
|
* config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove.
|
|
|
|
|
* config/ia64/tm-ia64.h: Remove. Move contents ...
|
|
|
|
|
* ia64-tdep.h: ... here. Update copyright year.
|
|
|
|
|
|
2005-01-07 15:17:01 +00:00
|
|
|
|
2005-01-07 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
Index: ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: doc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: gdbserver/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
* gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.stabs/configure: Re-generate.
* gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
* gdb.hp/configure: Re-generate.
* gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.objdbg/configure: Re-generate.
* gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.defects/configure: Re-generate.
* gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.compat/configure: Re-generate.
* gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.base-hp/configure: Re-generate.
* gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
autoconf 2.59.
* gdb.hp/gdb.aCC/configure: Re-generate.
2005-01-07 21:53:26 +00:00
|
|
|
|
* configure.ac: Rename configure.in, require autoconf 2.59.
|
|
|
|
|
* configure: Re-generate.
|
|
|
|
|
|
2005-01-07 16:22:33 +00:00
|
|
|
|
* configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*,
|
|
|
|
|
xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm
|
|
|
|
|
to configdirs.
|
|
|
|
|
|
2005-01-07 15:17:01 +00:00
|
|
|
|
* configure.in: Replace configdirs with multiple references to
|
|
|
|
|
AC_CONFIG_SUBDIRS.
|
|
|
|
|
* configure: Re-generate.
|
|
|
|
|
|
2005-01-05 22:51:47 +00:00
|
|
|
|
2005-01-05 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
|
|
* ia64-tdep.c: Include "osabi.h".
|
|
|
|
|
(native_find_global_pointer): Delete.
|
|
|
|
|
(ia64_find_global_pointer): Renamed from
|
|
|
|
|
generic_elf_find_global_pointer.
|
|
|
|
|
(FIND_GLOBAL_POINTER): Delete. Change all users to call
|
|
|
|
|
ia64_find_global_pointer instead.
|
|
|
|
|
(ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references
|
|
|
|
|
to ia64_linux_sigcontext_register_address and
|
|
|
|
|
ia64_linux_write_pc. Don't set tdep->find_global_pointer.
|
|
|
|
|
(_initialize_ia64_tdep): Call gdbarch_register instead of
|
|
|
|
|
deprecated register_gdbarch_init.
|
|
|
|
|
(struct gdbarch_tdep): Remove find_global_pointer field and move
|
|
|
|
|
to ...
|
|
|
|
|
* ia64-tdep.h (struct gdbarch_tdep): ... here.
|
|
|
|
|
(ia64_linux_sigcontext_register_address): Remove declaration.
|
|
|
|
|
(ia64_linux_getunwind_table): Likewise.
|
|
|
|
|
(ia64_linux_write_pc): Likewise.
|
|
|
|
|
* ia64-linux-tdep.c: Include "osabi.h".
|
|
|
|
|
(ia64_linux_sigcontext_register_address): Make static.
|
|
|
|
|
(ia64_linux_write_pc): Likewise.
|
|
|
|
|
(ia64_linux_init_abi): New.
|
|
|
|
|
(_initialize_ia64_linux_tdep): New.
|
|
|
|
|
* Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on
|
|
|
|
|
$(osabi_h).
|
|
|
|
|
|
2005-01-05 17:04:49 +00:00
|
|
|
|
2005-01-05 Kevin Buettner <kevinb@redhat.com>
|
|
|
|
|
|
|
|
|
|
* ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on
|
|
|
|
|
functions in ia64-aix-tdep.c.
|
|
|
|
|
* ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove
|
|
|
|
|
function defined in ia64-aix-tdep.c.
|
|
|
|
|
* ia64-aix-tdep.c: Remove file.
|
|
|
|
|
* config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from
|
|
|
|
|
this list.
|
|
|
|
|
* Makefile.in (ia64-aix-tdep.o): Delete.
|
|
|
|
|
|
2005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
Committed by Andrew Cagney.
* ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
* alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
* amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
* arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
* armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
* aix-thread.c (_initialize_aix_thread): Get rid of the
deprecated_add_show_from_set call.
* alpha-tdep.c (_initialize_alpha_tdep): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* command.h (add_setshow_enum_cmd): Add arguments for returning
new list elements.
* cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Modify calls to
add_setshow_enum_cmd.
2005-01-05 15:43:50 +00:00
|
|
|
|
2005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>
|
|
|
|
|
|
|
|
|
|
Committed by Andrew Cagney.
|
|
|
|
|
* ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup.
|
|
|
|
|
* alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup.
|
|
|
|
|
* amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup.
|
|
|
|
|
* arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup.
|
|
|
|
|
* armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup.
|
|
|
|
|
* aix-thread.c (_initialize_aix_thread): Get rid of the
|
|
|
|
|
deprecated_add_show_from_set call.
|
|
|
|
|
* alpha-tdep.c (_initialize_alpha_tdep): Ditto.
|
|
|
|
|
* arm-tdep.c (_initialize_arm_tdep): Ditto.
|
|
|
|
|
* command.h (add_setshow_enum_cmd): Add arguments for returning
|
|
|
|
|
new list elements.
|
|
|
|
|
* cli/cli-decode.c (add_setshow_enum_cmd): Ditto.
|
|
|
|
|
* mips-tdep.c (_initialize_mips_tdep): Modify calls to
|
|
|
|
|
add_setshow_enum_cmd.
|
|
|
|
|
|
2005-01-04 20:41:24 +00:00
|
|
|
|
2005-01-04 Mark Kettenis <kettenis@gnu.org>
|
|
|
|
|
|
2005-01-04 22:59:45 +00:00
|
|
|
|
* configure.host (ia64-*-aix*): Remove.
|
|
|
|
|
* configure.tgt (ia64-*-aix*): Remove.
|
|
|
|
|
* config/ia64/aix.mh: Remove file.
|
|
|
|
|
* config/ia64/aix.mt: Remove file.
|
|
|
|
|
* config/ia64/tm-aix.h: Remove file.
|
|
|
|
|
* ia64-aix-nat.c: Remove file.
|
|
|
|
|
* Makefile.in (ia64-aix-nat.o): Remove dependency.
|
|
|
|
|
|
2005-01-04 20:41:24 +00:00
|
|
|
|
* config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
|
|
|
|
|
Add back inf-ptrace.o.
|
|
|
|
|
|
2005-01-04 19:50:04 +00:00
|
|
|
|
2005-01-04 Andrew Cagney <cagney@gnu.org>
|
|
|
|
|
|
|
|
|
|
* version.in: Change format from 6.3.50_2005-01-04-cvs to
|
|
|
|
|
6.3.50.20050104-cvs.
|
|
|
|
|
|
2005-01-04 13:31:46 +00:00
|
|
|
|
2005-01-04 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
|
|
* breakpoint.c (break_command_1): Always free err_msg before
|
|
|
|
|
returning when an exception was caught.
|
|
|
|
|
|
2005-01-01 12:28:21 +00:00
|
|
|
|
2005-01-01 Joel Brobecker <brobecker@gnat.com>
|
|
|
|
|
|
|
|
|
|
* hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
|
|
|
|
|
in register number for addil instruction.
|
|
|
|
|
|
2005-01-03 23:25:19 +00:00
|
|
|
|
For older changes see ChangeLog-2004.
|
1999-04-16 01:35:26 +00:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|