OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago*** empty log message ***
gdbadmin [Sat, 18 Aug 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
DJ Delorie [Fri, 17 Aug 2001 21:14:20 +0000 (21:14 +0000)]
merge from gcc

22 years ago * generic/gdbtk-varobj.c (variable_obj_command): Pass pointer
Keith Seitz [Fri, 17 Aug 2001 19:10:36 +0000 (19:10 +0000)]
* generic/gdbtk-varobj.c (variable_obj_command): Pass pointer
to varobj* when calling variable_update (API changed).
(variable_create): Don't pass varobj* to install_variable. It's
not used.
(variable_children): Likewise.
(variable_update): Change parameters to accept pointer to
varobj*. Matches API change in varobj_update.
(install_variable): Remove unused "var" parameter.

22 years ago * mi-cmd-var.c (varobj_update_one): Update call to
Keith Seitz [Fri, 17 Aug 2001 19:01:22 +0000 (19:01 +0000)]
* mi-cmd-var.c (varobj_update_one): Update call to
varobj_update to reflect recent api change.

22 years ago * varobj.c (varobj_update): Change first parameter to
Keith Seitz [Fri, 17 Aug 2001 18:56:49 +0000 (18:56 +0000)]
* varobj.c (varobj_update): Change first parameter to
pointer to struct varobj*. This function can delete
varobjs, so we need to give callers the new varobj
when this happens.
(value_of_root): Update "var", too, if "var_handle"
changes.
* varobj.h (varobj_update): Likewise.

22 years ago * Makefile.in (varobj_h): Define.
Keith Seitz [Fri, 17 Aug 2001 17:58:25 +0000 (17:58 +0000)]
* Makefile.in (varobj_h): Define.
(mi-cmd-var.o): Depends on varobj_h.
(gdbtk-varobj.o): Change varobj.h to $(varobj_h).

22 years ago * bfd.c (bfd_get_gp_size): Return an unsigned int.
Alan Modra [Fri, 17 Aug 2001 15:56:58 +0000 (15:56 +0000)]
* bfd.c (bfd_get_gp_size): Return an unsigned int.
(bfd_set_gp_size): Make param unsigned.
* bfd-in2.h: Regenerate.
* elf32-ppc.c (ppc_elf_add_symbol_hook): Use elf_gp_size rather
than calling bfd_get_gp_size.
* elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise.
* elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Likewise.

22 years ago * linker.c (default_fill_link_order): Handle four byte fill value.
Alan Modra [Fri, 17 Aug 2001 09:50:05 +0000 (09:50 +0000)]
* linker.c (default_fill_link_order): Handle four byte fill value.

22 years ago * elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
Alan Modra [Fri, 17 Aug 2001 09:44:19 +0000 (09:44 +0000)]
* elf64-sparc.c (sparc64_elf_output_arch_syms): Add missing
prototype.
* nlm32-alpha.c (nlm_alpha_write_external): Fix warning.

22 years ago * elf64-mips.c (UNUSED_RELOC): Define.
Alan Modra [Fri, 17 Aug 2001 09:21:34 +0000 (09:21 +0000)]
* elf64-mips.c (UNUSED_RELOC): Define.
(mips_elf64_howto_table_rel): Use it.
(mips_elf64_howto_table_rela): Here too.
(mips_elf64_write_relocs): Fix signed/unsigned warning.

22 years agoOops missed from last commit
Alan Modra [Fri, 17 Aug 2001 09:19:10 +0000 (09:19 +0000)]
Oops missed from last commit

22 years ago * coffcode.h (coff_write_object_contents): Add ATTRIBUTE_UNUSED to
Alan Modra [Fri, 17 Aug 2001 08:57:42 +0000 (08:57 +0000)]
* coffcode.h (coff_write_object_contents): Add ATTRIBUTE_UNUSED to
silence warning.
* coffgen.c (coff_print_symbol): Fix warnings.
(coff_find_nearest_line): Likewise.
* cofflink.c (_bfd_coff_link_input_bfd): Likewise.
* coff-alpha.c (alpha_convert_external_reloc): Likewise.
* format.c (bfd_check_format_matches): Likewise.
(bfd_set_format): Likewise.
* coff-ia64.c: Add missing prototypes.
* elf64-alpha.c (struct alpha_elf_link_hash_entry): Make addend
signed to silence warnings.
(elf64_alpha_relocate_section): Likewise.
(elf64_alpha_find_reloc_at_ofs): Fix warnings.
(elf64_alpha_add_symbol_hook): Likewise.
(elf64_alpha_final_link): Likewise.
(elf64_alpha_relax_section): Remove redundant assign to info.gotent.
(elf64_alpha_merge_gots): Add ATTRIBUTE_UNUSED to unused args.
(elf64_alpha_size_got_sections): Likewise.
* elfxx-ia64.c: Add missing prototypes.
(elfNN_ia64_relocate_section): Fix warning.
(elfNN_ia64_unwind_entry_compare): Make params const.

22 years agomerge from gcc
DJ Delorie [Fri, 17 Aug 2001 06:33:05 +0000 (06:33 +0000)]
merge from gcc

22 years ago * config.bfd (targ64_selvecs): New.
Alan Modra [Fri, 17 Aug 2001 04:17:18 +0000 (04:17 +0000)]
* config.bfd (targ64_selvecs): New.
<powerpc-*-aix* entry>: Use it here instead of ineffectual #ifdef.

22 years ago * bfd-in.h (BFD_VERSION): Remove wrong comment.
Alan Modra [Fri, 17 Aug 2001 03:54:53 +0000 (03:54 +0000)]
* bfd-in.h (BFD_VERSION): Remove wrong comment.
(BFD_DEFAULT_TARGET_SIZE): New.
(BFD_ARCH_SIZE): Comment.
* configure.in (target_size): New.  Set instead of target64 in
selvecs case statement.  Set target64 from it.
(bfd_default_target_size): New.  Set from taget_size. AC_SUBST.
* bfd-in2.h: Regenerate.
* configure: Regenerate.

22 years ago * bfd.c (enum bfd_error): Add bfd_error_wrong_object_format.
Alan Modra [Fri, 17 Aug 2001 03:19:01 +0000 (03:19 +0000)]
* bfd.c (enum bfd_error): Add bfd_error_wrong_object_format.
(bfd_errmsgs): Add corresponding message.
* archive.c (bfd_generic_archive_p): Don't release bfd_ardata when
finding an archive that contains different format object files.
Return bfd_error_wrong_object_format for this case.
* format.c: Formatting fixes.  s/CONST/const/.
(bfd_check_format_matches): Accept archives that give
bfd_error_wrong_object_format if no full match is found.  Tidy
code handling matching_vector.  Don't return a pointer to freed
memory in `matching'.  Handle ambiguous matches as for partial
archive matches.
* bfd-in2.h: Regenerate.

22 years ago*** empty log message ***
gdbadmin [Fri, 17 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * generic/gdbtk.c (gdbtk_init): Revert change from earlier.
Keith Seitz [Thu, 16 Aug 2001 23:04:46 +0000 (23:04 +0000)]
* generic/gdbtk.c (gdbtk_init): Revert change from earlier.
It is insufficient. We must get the absolute pathname
from autoconf.
Don't bother setting TCL_LIBRARY: it must be set already
in order for us to execute a script.

22 years ago * cpp_variable.test (2.29, 2.30, 2.43, 2.63, 2.72): Char
Keith Seitz [Thu, 16 Aug 2001 22:58:34 +0000 (22:58 +0000)]
* cpp_variable.test (2.29, 2.30, 2.43, 2.63, 2.72): Char
pointers can now be dereferenced. Update test to reflect
this change in varobj.
* c_variable.test (4.9, 4.10, 4.47, 4.48, 5.1, 5.2, 5.3,
5.4, 5.5, 5.6, 5.7, 5.8, 5.9, 5.17, 5.18, 5.43, 5.44, 5.47,
5.48, 5.49, 5.50, 5.51, 5.53, 6.30): Likewise.

22 years ago * configure.in (GDBTK_SRC_DIR): We must have autoconf
Keith Seitz [Thu, 16 Aug 2001 22:47:00 +0000 (22:47 +0000)]
* configure.in (GDBTK_SRC_DIR): We must have autoconf
give us the absolute path to the source directory.
* configure: Regenerated.
* Makefile.in (GDBTK_SRC_DIR): Add variable so that
autoconf can substitue it in for us.
(gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We
really do need an absolute pathname.

22 years agoAdd support for MIPS R1[02]000 performance counter opcodes.
Thiemo Seufer [Thu, 16 Aug 2001 19:24:33 +0000 (19:24 +0000)]
Add support for MIPS R1[02]000 performance counter opcodes.

22 years ago * mips-opc.c: R3900s can support all branch likely INSN_MACROs where
Jonathan Larmour [Thu, 16 Aug 2001 19:10:49 +0000 (19:10 +0000)]
* mips-opc.c: R3900s can support all branch likely INSN_MACROs where
the corresponding non-likely insn is in MIPS I.

22 years ago * library/globalpref.ith (_change_font, _change_size): New
Keith Seitz [Thu, 16 Aug 2001 18:55:50 +0000 (18:55 +0000)]
* library/globalpref.ith (_change_font, _change_size): New
private methods.
(_size): New private variable.
(font_changed, wfont_changed): Removed.
* library/globalpref.itb (make_font_item): Change combobox
callback to use _change_font.
Replace tixControl with iwidgets::spinint.
(font_changed, wfont_changed): Removed.
(_change_font, _change_size): New private methods.
* tclIndex: Regenerate.

22 years ago * generic/gdbtk.c (gdbtk_init): Make sure we're working with
Keith Seitz [Thu, 16 Aug 2001 17:38:18 +0000 (17:38 +0000)]
* generic/gdbtk.c (gdbtk_init): Make sure we're working with
absolute pathnames in the *_LIBRAY variables.

22 years ago From Ian Roxborough <irox@redhat.com>
Keith Seitz [Thu, 16 Aug 2001 15:48:14 +0000 (15:48 +0000)]
From Ian Roxborough  <irox@redhat.com>
* generic/gdbtk-hooks.c (x_event): Deal with Tcl API insanity
for Tcl_ObjGetVar2 or Tcl_GetObjVar2.
(gdbtk_trace_find): Likewise for Tcl_GlobalEvalObj
or Tcl_EvalObj (TCL_EVAL_GLOBAL).

22 years ago* obvious fix
Frank Ch. Eigler [Thu, 16 Aug 2001 14:19:54 +0000 (14:19 +0000)]
* obvious fix

2001-08-16  Frank Ch. Eigler  <fche@redhat.com>

* config/sid.exp (sid_start): Don't warn if we cannot figure out
what to force sid endianness to.

22 years ago*** empty log message ***
gdbadmin [Thu, 16 Aug 2001 02:23:16 +0000 (02:23 +0000)]
*** empty log message ***

22 years ago * generic/gdbtk.c (gdbtk_init): Don't assume a particular
Keith Seitz [Wed, 15 Aug 2001 21:13:56 +0000 (21:13 +0000)]
* generic/gdbtk.c (gdbtk_init): Don't assume a particular
layout for the source directory, let the Makefile tell us
where the real source directory is.
When compiling under Cygwin, convert the (posix) path to a
win32 path, which is what tcl really wants.

From Ian Roxborough <irox@redhat.com>:

        * generic/gdbtk.c (gdbtk_init): If Insight isn't
        executed from inside a directory called "bin",
        assume that we are being running from the build
        directory and set the *_LIBRARY variables to point
        to (hopefully) the correct source directory.

22 years ago * lib/gdb.exp (gdbtk_start): Don't set environment
Keith Seitz [Wed, 15 Aug 2001 21:11:45 +0000 (21:11 +0000)]
* lib/gdb.exp (gdbtk_start): Don't set environment
variables for TCL_LIBRARY and friends. Insight will
now figure these out for itself.

22 years ago * Makefile.in (GDBTK_VERSION): Set a version number.
Keith Seitz [Wed, 15 Aug 2001 21:09:46 +0000 (21:09 +0000)]
* Makefile.in (GDBTK_VERSION): Set a version number.
(GDBTK_LIBRARY): New variable to point to location where
gdbtk will install its tcl library. Changed all refereneces
to $(datadir)/insight1.0 to $(GDBTK_LIBRARY).
(SUBDIR_GDBTK_ALL): Remove "all-gdbtk". No longer needed.
(SUBDIR_GDBTK_CLEAN): Remove "clean-gdbtk". No longer needed.
(all-gdbtk): Remove.
(install-gdbtk): Remove.
(gdbtk.o): Pass srcdir to file when compiling.

Also from Ian Roxborough:

* Makefile.in: Changed all references to the install directory
"gdbtcl" to read "insight1.0".

22 years ago * arch-utils.c (generic_skip_trampoline_code): New function.
Corinna Vinschen [Wed, 15 Aug 2001 15:29:56 +0000 (15:29 +0000)]
    * arch-utils.c (generic_skip_trampoline_code): New function.
        * arch-utils.h (generic_skip_trampoline_code): Declare external.
        * gdbarch.c: Regeberated from gdbarch.sh.
        * gdbarch.h: Ditto.
        * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Multi-arch.
        * infrun.c: Remove default setting of SKIP_TRAMPOLINE_CODE macro.

22 years ago* gdbint.texinfo: Add a cautionary note about macro use.
Christopher Faylor [Wed, 15 Aug 2001 14:47:53 +0000 (14:47 +0000)]
* gdbint.texinfo: Add a cautionary note about macro use.

22 years ago * libieee.h (common_header_type): Add last_byte field.
Alan Modra [Wed, 15 Aug 2001 14:44:40 +0000 (14:44 +0000)]
* libieee.h (common_header_type): Add last_byte field.

* ieee.c: Add missing prototypes.  Some format fixes.
(struct output_buffer_struct): Move for availability to prototypes.
(ieee_part_after): New function.
(ieee_slurp_debug): Use it here.
(ieee_seek): Pass in ieee_data_struct rather than bfd.  Use
ieee_part_after to set last_byte to one past end of current part.
Update callers.
(ieee_pos): Pass in ieee_data_struct rather than bfd.
Update callers.
(parse_expression): Don't go beyond the end of the current part.
(ieee_slurp_external_symbols): Correct type passed to read_2bytes.
(ieee_get_symtab_upper_bound, ieee_get_symtab,
ieee_get_symbol_info, ieee_print_symbol, ieee_new_section_hook,
ieee_get_reloc_upper_bound, ieee_canonicalize_reloc, block,
ieee_set_section_contents, ieee_write_object_contents,
ieee_make_empty_symbol): Make static.
(ieee_archive_p): Correct comments regarding bfd_read.
(ieee_object_p): Similarly.
(ieee_mkobject): Move it.  Clear output_ptr_start, output_ptr,
output_ptr_end, input_ptr_start, input_ptr, input_ptr_end,
input_bfd, output_bfd, output_buffer.
(do_as_repeat): Write out ieee_set_current_pc_enum value as for
do_with_relocs, ie. as a symbol for relocatable files.
(ieee_vec): Add comments showing functions referenced by macros.

22 years ago2001-08-14 Daniel Jacobowitz <drow@mvista.com>
H.J. Lu [Wed, 15 Aug 2001 05:02:28 +0000 (05:02 +0000)]
2001-08-14  Daniel Jacobowitz  <drow@mvista.com>
    H.J. Lu  (hjl@gnu.org)

* partial-stab.h: valu should be a CORE_ADDR.

2001-08-14  H.J. Lu  (hjl@gnu.org)

* dbxread.c (SWAP_SYMBOL): Removed.
(INTERNALIZE_SYMBOL): Check sign extended vma.

22 years ago*** empty log message ***
gdbadmin [Wed, 15 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* top.c (SIGSETJMP): Protect env argument with parentheses.
Christopher Faylor [Tue, 14 Aug 2001 20:05:48 +0000 (20:05 +0000)]
* top.c (SIGSETJMP): Protect env argument with parentheses.
(SIGLONGJMP): Protect env argument with parentheses.

22 years agosync with gcc - whitespace differences, one missing entry, and one
DJ Delorie [Tue, 14 Aug 2001 14:08:12 +0000 (14:08 +0000)]
sync with gcc - whitespace differences, one missing entry, and one
rearrangement.

22 years agoAdd missing protypes
Nick Clifton [Tue, 14 Aug 2001 10:01:29 +0000 (10:01 +0000)]
Add missing protypes

22 years ago* floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
Andrew Cagney [Tue, 14 Aug 2001 01:34:00 +0000 (01:34 +0000)]
* floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
name.

22 years ago2001-08-13 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Tue, 14 Aug 2001 00:07:59 +0000 (00:07 +0000)]
2001-08-13  Jeff Holcomb  <jeffh@redhat.com>

        * cpp_variable.test: Use gdbtk_test_run to start the test
        program.

22 years ago*** empty log message ***
gdbadmin [Tue, 14 Aug 2001 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * library/regwin.ith: Rewrite.
Keith Seitz [Mon, 13 Aug 2001 19:04:38 +0000 (19:04 +0000)]
* library/regwin.ith: Rewrite.
* library/regwin.itb: Rewrite.
* library/tclIndex: Regenerate.

22 years ago * generic/gdbtk-register.c (gdb_register_info): New function.
Keith Seitz [Mon, 13 Aug 2001 18:53:36 +0000 (18:53 +0000)]
* generic/gdbtk-register.c (gdb_register_info): New function.
Consolidates all register handling.
(get_register_size): New function.
(gdb_changed_register_list, gdb_fetch_registers,
gdb_regnames): Deprecate.
(setup_architecture_data): Free old register cache
when necessary.

22 years ago * generic/gdbtk-hooks.c (gdbtk_add_hooks): Register
Keith Seitz [Mon, 13 Aug 2001 18:30:36 +0000 (18:30 +0000)]
* generic/gdbtk-hooks.c (gdbtk_add_hooks): Register
architecture_changed event handler.
(gdbtk_architecture_changed): New function.
* library/gdbevent.ith (class ArchChangdEvent): New event.
* library/ehandler.ith (arch_changed): New method. Handler
for ArchChangedEvents.
* library/interface.tcl (gdbtk_tcl_architecture_changed): New
proc to handle architecture change events.

22 years agoFix bug in previous delta
Nick Clifton [Mon, 13 Aug 2001 10:43:29 +0000 (10:43 +0000)]
Fix bug in previous delta

22 years agooops - omitted from previous delta!
Nick Clifton [Mon, 13 Aug 2001 10:06:53 +0000 (10:06 +0000)]
oops - omitted from previous delta!

22 years agoAdd missing prototypes. Fix formatting.
Nick Clifton [Mon, 13 Aug 2001 10:06:11 +0000 (10:06 +0000)]
Add missing prototypes.  Fix formatting.

22 years ago * mcore-dis.c: Fix formatting.
Kazu Hirata [Mon, 13 Aug 2001 08:09:58 +0000 (08:09 +0000)]
* mcore-dis.c: Fix formatting.
* mips-dis.c: Likewise.
* pj-dis.c: Likewise.
* z8k-dis.c: Likewise.

22 years agomerge from gcc
DJ Delorie [Mon, 13 Aug 2001 02:25:01 +0000 (02:25 +0000)]
merge from gcc

22 years ago*** empty log message ***
gdbadmin [Mon, 13 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * cgen-ibld.in (extract_normal): Match type of VALUE and MASK
Richard Henderson [Sun, 12 Aug 2001 20:16:29 +0000 (20:16 +0000)]
    * cgen-ibld.in (extract_normal): Match type of VALUE and MASK
        to *VALUEP.  Regenerate all cgen files.

22 years ago* config/mn10300/mn10300.mt (TM_FILE): Delete.
Andrew Cagney [Sun, 12 Aug 2001 03:39:11 +0000 (03:39 +0000)]
* config/mn10300/mn10300.mt (TM_FILE): Delete.
* configure.tgt: Add mn10300 to list of mulit-arch targets.
* config/mn10300/tm-mn10300.h: Delete file. Move contents ...
* mn10300-tdep.c: To here.

22 years agoConvert some floatformat_{to,from}_double to floatformat_{to,from}_doublest.
Andrew Cagney [Sun, 12 Aug 2001 03:19:22 +0000 (03:19 +0000)]
Convert some floatformat_{to,from}_double to floatformat_{to,from}_doublest.

22 years ago* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
Andrew Cagney [Sun, 12 Aug 2001 02:10:18 +0000 (02:10 +0000)]
* config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
sp_regnum.

22 years ago* doublest.c (convert_doublest_to_floatformat): Rename
Andrew Cagney [Sun, 12 Aug 2001 01:45:49 +0000 (01:45 +0000)]
* doublest.c (convert_doublest_to_floatformat): Rename
floatformat_from_doublest.  Make static.
(convert_floatformat_to_doublest): Rename floatformat_to_doublest.
Make static.
(floatformat_to_doublest): New function.
(floatformat_from_doublest): New function.
(host_float_format, host_double_format, host_long_double_format):
New static variables.
(store_floating, extract_floating): Always use
floatformat_to_doublest and floatformat_from_doublest.
* doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.

22 years ago* config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
Andrew Cagney [Sun, 12 Aug 2001 01:11:12 +0000 (01:11 +0000)]
* config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.

22 years ago*** empty log message ***
gdbadmin [Sun, 12 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoreplace direct invocation og elf vma print functions with indirect invocation
Nick Clifton [Sat, 11 Aug 2001 16:48:15 +0000 (16:48 +0000)]
replace direct invocation og elf vma print functions with indirect invocation

22 years ago2001-08-10 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Sat, 11 Aug 2001 07:59:54 +0000 (07:59 +0000)]
2001-08-10  Andreas Jaeger  <aj@suse.de>

* elf64-sparc.c: Add missing prototypes.
* elf32-cris.c: Likewise.
* elf32-i370.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-s390.c: Likewise.

22 years ago* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
Andrew Cagney [Sat, 11 Aug 2001 00:59:29 +0000 (00:59 +0000)]
* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
* gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add.
* gdbarch.h, gdbarch.c: Regenerate.

* arch-utils.h (legacy_virtual_frame_pointer): Declare.
* arch-utils.c: Include "gdb_assert.h".
(legacy_virtual_frame_pointer): Define.
* Makefile.in (arch-utils.o): Depends on gdb_assert.h.

* tracepoint.c (encode_actions): Make frame_reg an int.  Make
frame_offset a LONGEST.
* ax-gdb.c (gen_frame_args_address): Ditto.
(gen_frame_locals_address): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize
virtual_frame_pointer.
(mn10300_virtual_frame_pointer): Make static.  Update parameter
list to match function signature.
* config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.

22 years ago * gdb-events.sh: Add architecture_changed event.
Keith Seitz [Sat, 11 Aug 2001 00:41:02 +0000 (00:41 +0000)]
* gdb-events.sh: Add architecture_changed event.
* gdbarch.sh: Include gdb-event.h.
(gdbarch_update_p): Notify UIs when architecture changes.
* gdb-events.h: Regenerated.
* gdb-events.c: Regenerated.
* gdbarch.c: Regenerated.

22 years ago*** empty log message ***
gdbadmin [Sat, 11 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago(lbasename): Change function declaration to return a const char pointer.
Andrew Cagney [Fri, 10 Aug 2001 23:46:17 +0000 (23:46 +0000)]
(lbasename): Change function declaration to return a const char pointer.

22 years ago2001-08-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 10 Aug 2001 21:52:17 +0000 (21:52 +0000)]
2001-08-10  Michael Snyder  <msnyder@redhat.com>

* regcache.c (legacy_write_register_gen): Don't 'optimize out'
        a write_register to a pseudo-reg.  Target_store_pseudo_register
        needs to get called, because these regs may be computed and may
        have side-effects.

22 years ago * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
Andreas Jaeger [Fri, 10 Aug 2001 19:29:59 +0000 (19:29 +0000)]
* elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
Add prototypes where needed.

22 years ago2001-08-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 10 Aug 2001 18:43:44 +0000 (18:43 +0000)]
2001-08-10  H.J. Lu  <hjl@gnu.org>

* bfd.c (bfd_sprintf_vma): Fix a typo in the last change.
(bfd_fprintf_vma): Likewise.

22 years ago2001-08-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 10 Aug 2001 16:32:03 +0000 (16:32 +0000)]
2001-08-10  H.J. Lu  <hjl@gnu.org>

* bfd.c (bfd_sprintf_vma): Don't return void.
(bfd_fprintf_vma): Likewise.

22 years ago * mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32
Richard Sandiford [Fri, 10 Aug 2001 16:22:08 +0000 (16:22 +0000)]
* mips-dis.c (print_insn_mips): Remove OPCODE_IS_MEMBER's gp32
argument.
* mips-opc.c (G6): Undefine.
(mips_builtin_opcodes): Remove gp32 entry for "move".  Add macro
as the first "move" alternative.

22 years ago * opcode/mips.h (INSN_GP32): Remove.
Richard Sandiford [Fri, 10 Aug 2001 16:20:43 +0000 (16:20 +0000)]
* opcode/mips.h (INSN_GP32): Remove.
(OPCODE_IS_MEMBER): Remove gp32 parameter.
(M_MOVE): New macro identifier.

22 years ago * gdb-events.sh: Deal with event notifications with no
Keith Seitz [Fri, 10 Aug 2001 16:05:30 +0000 (16:05 +0000)]
* gdb-events.sh: Deal with event notifications with no
arguments.

23 years ago * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
Andreas Jaeger [Fri, 10 Aug 2001 10:56:47 +0000 (10:56 +0000)]
* configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
to build warnings.
* configure: Regenerate.

23 years ago2001-08-10 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Fri, 10 Aug 2001 09:59:33 +0000 (09:59 +0000)]
2001-08-10  Orjan Friberg  <orjanf@axis.com>

* remote.c (read_frame): Correct off-by-one error in condition.

23 years ago * elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quiet
Alan Modra [Fri, 10 Aug 2001 08:06:23 +0000 (08:06 +0000)]
* elf.c (bfd_elf_sprintf_vma): Add ATTRIBUTE_UNUSED to quiet
warning if not BFD64.  Add braces so emacs auto format works.
(bfd_elf_fprintf_vma): Likewise.

23 years ago * libxcoff.h (struct xcoff_backend_data_rec): Constify src param
Alan Modra [Fri, 10 Aug 2001 06:00:53 +0000 (06:00 +0000)]
* libxcoff.h (struct xcoff_backend_data_rec): Constify src param
of _xcoff_swap_ld*.
* coff-rs6000.c (xcoff_swap_ldhdr_in): Modify type of external
param to agree with libxcoff.h.
(xcoff_swap_ldhdr_out): Likewise.
(xcoff_swap_ldsym_in): Likewise.
(xcoff_swap_ldsym_out): Likewise.
(xcoff_swap_ldrel_in): Likewise.
(xcoff_swap_ldrel_out): Likewise.
(xcoff_create_csect_from_smclas): Likewise.
* coff64-rs6000.c: Add missing prototypes.
(xcoff64_swap_ldhdr_in): Modify type of external param to agree
with libxcoff.h.
(xcoff64_swap_ldhdr_out): Likewise.
(xcoff64_swap_ldsym_in): Likewise.
(xcoff64_swap_ldsym_out): Likewise.
(xcoff64_swap_ldrel_in): Likewise.
(xcoff64_swap_ldrel_out): Likewise.
(xcoff64_ppc_relocate_section): Make static.
(xcoff64_slurp_armap): Likewise.
(xcoff64_archive_p): Likewise.
(xcoff64_openr_next_archived_file): Likewise.
(xcoff64_sizeof_headers): Likewise.
(xcoff64_is_lineno_count_overflow): Likewise.
(xcoff64_is_reloc_count_overflow): Likewise.
(xcoff64_loader_symbol_offset): Likewise.
(xcoff64_loader_reloc_offset): Likewise.
* elf64-gen.c: Add missing prototypes.

23 years agoRevert 2001-08-08 changes.
Alan Modra [Fri, 10 Aug 2001 01:34:47 +0000 (01:34 +0000)]
Revert 2001-08-08 changes.

23 years ago*** empty log message ***
gdbadmin [Fri, 10 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-08-09 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 9 Aug 2001 21:10:25 +0000 (21:10 +0000)]
2001-08-09  H.J. Lu  <hjl@gnu.org>

* elf.c (bfd_elf_sprintf_vma): Check ELFCLASS64 only in BFD64.
(bfd_elf_fprintf_vma): Likewise.

23 years ago * library/prefs.tcl (pref_set_defaults): Add new font
Keith Seitz [Thu, 9 Aug 2001 20:43:54 +0000 (20:43 +0000)]
* library/prefs.tcl (pref_set_defaults): Add new font
color defaults for highlighting, headers, selecting, and "normal".
Get rid of gdb/variable/highlight_fg and gdb/reg/highlight_fg.
* library/variables.tcl (build_win): Use gdb/font/highlight_fg
and gdb/font/highilght_bg to set highlight style.
* library/memwin.itb (build_win): Use header_fg and header_bg.

23 years ago2001-08-09 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 9 Aug 2001 16:46:02 +0000 (16:46 +0000)]
2001-08-09  H.J. Lu  <hjl@gnu.org>

* bfd-in.h (bfd_elf_sprintf_vma, bfd_elf_fprintf_vma): Moved
to ...
* elf-bfd.h: Here.
* bfd-in2.h: Regenerated.

23 years ago2001-08-09 H.J. Lu <hjl@gnu.org>
H.J. Lu [Thu, 9 Aug 2001 16:00:21 +0000 (16:00 +0000)]
2001-08-09  H.J. Lu  <hjl@gnu.org>

* bfd-in.h (bfd_sprintf_vma): New prototype.
(bfd_fprintf_vma): Likewise.
(bfd_elf_sprintf_vma): Likewise.
(bfd_elf_fprintf_vma): Likewise.
(bfd_printf_vma): New. Defined with bfd_fprintf_vma.
* bfd-in2.h: Regenerated.

* bfd.c (bfd_sprintf_vma): New. Defined.
(bfd_fprintf_vma): Likewise.

* elf.c (bfd_elf_sprintf_vma): New. Defined.
(bfd_elf_fprintf_vma): Likewise.

23 years ago * dis-buf.c (generic_strcat_address): Add missing prototype.
Alan Modra [Thu, 9 Aug 2001 14:52:56 +0000 (14:52 +0000)]
* dis-buf.c (generic_strcat_address): Add missing prototype.
#if 0 the functions as it is unused.

23 years ago * coff-rs6000.c: Add missing prototypes.
Alan Modra [Thu, 9 Aug 2001 14:38:04 +0000 (14:38 +0000)]
* coff-rs6000.c: Add missing prototypes.
(xcoff_ppc_relocate_section, xcoff_is_lineno_count_overflow,
xcoff_is_reloc_count_overflow, xcoff_loader_symbol_offset,
xcoff_loader_reloc_offset): Make static.
* dwarf1.c: Add missing prototypes.
* dwarf2.c: Add missing prototypes.
(struct abbrev_info): Move definition.
(struct attr_abbrev, ABBREV_HASH_SIZE, ATTR_ALLOC_CHUNK): Likewise.
* elf.c: Add missing prototypes.
* elf32-gen.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-ppc.c: Likewise.
(ppc_elf_sort_rela): Use PTR instead of "void *".
* elflink.h: Add missing prototypes.  Formatting fixes.
* merge.c: Add missing prototypes.
(last4_eq): Use PTR instead of "void *".
(last_eq): Likewise.
* syms.c: Add missing prototypes.

23 years agoFix formatting
Nick Clifton [Thu, 9 Aug 2001 09:09:03 +0000 (09:09 +0000)]
Fix formatting

23 years agoChange 'partial_inplace' to true (this target uses REL relocations) and
Nick Clifton [Thu, 9 Aug 2001 09:00:58 +0000 (09:00 +0000)]
Change 'partial_inplace' to true (this target uses REL relocations) and
'pcrel_offset' to false (the PC is implied, not stored in the offset).

23 years agomerge from gcc
DJ Delorie [Thu, 9 Aug 2001 00:05:37 +0000 (00:05 +0000)]
merge from gcc

23 years ago*** empty log message ***
gdbadmin [Thu, 9 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-08-08 Don Howard <dhoward@redhat.com>
Don Howard [Wed, 8 Aug 2001 16:15:38 +0000 (16:15 +0000)]
2001-08-08  Don Howard  <dhoward@redhat.com>

* stabsread.c (read_type): Add support for const and volatile
modifiers.

23 years ago * ppc.h (struct powerpc_operand): New field `reloc'.
Alan Modra [Wed, 8 Aug 2001 13:19:36 +0000 (13:19 +0000)]
* ppc.h (struct powerpc_operand): New field `reloc'.
* ppc-opc.c: Include "bfd.h".
(powerpc_operands): Add new field for reloc type.

23 years ago * elf-bfd.h (struct elf_backend_data): Add want_got_sym.
Alan Modra [Wed, 8 Aug 2001 13:09:33 +0000 (13:09 +0000)]
* elf-bfd.h (struct elf_backend_data): Add want_got_sym.
* elfxx-target.h (elf_backend_want_got_sym): Define.
(elfNN_bed): Add elf_backend_want_got_sym.
* elflink.c (_bfd_elf_create_got_section): Define
_GLOBAL_OFFSET_TABLE_ only if bed->want_got_sym.

23 years ago* dwarf2.c (struct dwarf2_debug): Add sec, sec_info_ptr and syms.
Alexandre Oliva [Wed, 8 Aug 2001 11:17:34 +0000 (11:17 +0000)]
* dwarf2.c (struct dwarf2_debug): Add sec, sec_info_ptr and syms.
(find_rela_addend): New function.
(parse_comp_unit): Call it to find the abbrev offset addend.
(_bfd_dwarf2_find_nearest_line): Initialize and maintain the new
members of dwarf2_debug as debugging information is read.

23 years ago*** empty log message ***
gdbadmin [Wed, 8 Aug 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoSupport relocs for sh-coff targets as well as sh-pe.
Nick Clifton [Tue, 7 Aug 2001 18:32:07 +0000 (18:32 +0000)]
Support relocs for sh-coff targets as well as sh-pe.

23 years ago * mips-dis.c (print_insn_arg): Don't use software integer registers
Thiemo Seufer [Tue, 7 Aug 2001 12:36:13 +0000 (12:36 +0000)]
* mips-dis.c (print_insn_arg): Don't use software integer registers
for coprocessor registers.
(_print_insn_mips): Get distinction between old ABI and new ABI right.

23 years ago*** empty log message ***
gdbadmin [Tue, 7 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-08-02 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 6 Aug 2001 22:08:12 +0000 (22:08 +0000)]
2001-08-02  Michael Snyder  <msnyder@redhat.com>

* gdb.base/completion.exp: Remove the symbol "a64l" from
the expect string; this is target-specific, and not related
to what is being tested.

23 years ago*** empty log message ***
gdbadmin [Mon, 6 Aug 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago*** empty log message ***
gdbadmin [Sun, 5 Aug 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-08-02 Dave Brolley <brolley@redhat.com>
Dave Brolley [Sat, 4 Aug 2001 15:56:41 +0000 (15:56 +0000)]
2001-08-02  Dave Brolley  <brolley@redhat.com>

* config/sid.exp: Rename gdb-socket to cpu-gdb-socket.

23 years agomerge from gcc
DJ Delorie [Sat, 4 Aug 2001 01:07:57 +0000 (01:07 +0000)]
merge from gcc

23 years ago*** empty log message ***
gdbadmin [Sat, 4 Aug 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***