OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years ago * gas/m68hc11/opers12.s: Add test for disassembler bug with movb
ciceron [Thu, 1 Nov 2001 09:52:02 +0000 (09:52 +0000)]
* gas/m68hc11/opers12.s: Add test for disassembler bug with movb
instruction.
* gas/m68hc11/opers12.d: Likewise.
* gas/m68hc11/opers12-dwarf2.d: Likewise.

22 years ago * m68hc11-dis.c (print_insn): Fix disassembly of movb with a
ciceron [Thu, 1 Nov 2001 09:48:56 +0000 (09:48 +0000)]
* m68hc11-dis.c (print_insn): Fix disassembly of movb with a
constant as source.

22 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Correct branch
amodra [Thu, 1 Nov 2001 05:35:09 +0000 (05:35 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Correct branch
prediction bits.

22 years agoFixed formatting error.
dhoward [Thu, 1 Nov 2001 05:11:19 +0000 (05:11 +0000)]
Fixed formatting error.

22 years agouse xmalloc() and xfree().
cagney [Thu, 1 Nov 2001 02:53:05 +0000 (02:53 +0000)]
use xmalloc() and xfree().

22 years agos/value_ptr/struct value */
cagney [Thu, 1 Nov 2001 02:37:56 +0000 (02:37 +0000)]
s/value_ptr/struct value */

22 years agoRe-indent.
cagney [Thu, 1 Nov 2001 02:22:21 +0000 (02:22 +0000)]
Re-indent.

22 years ago[ bfd/ChangeLog ]
cgd [Thu, 1 Nov 2001 01:33:44 +0000 (01:33 +0000)]
[ bfd/ChangeLog ]
2001-10-31  Chris Demetriou  <cgd@demetriou.com>

* elf32-mips.c (_bfd_mips_elf_hi16_reloc): Handle PC-relative
relocations properly.

[ gas/ChangeLog ]
2001-10-31  Chris Demetriou  <cgd@broadcom.com>

* config/tc-mips.c (HAVE_32BIT_ADDRESSES): If compiling embedded
PIC code, assume pointers the same size as GPRs.
(macro): In M_LA_AB handling for embedded PIC code, support
"la $treg,foo-bar($breg)".  In load/store handling
(label ld_st) support "<op> $treg,<sym>-<local_sym>($breg)"
which is used by the compiler for switch statements.
In load/store double multi-instruction macro handling
(label ldd_std) add a comment that no special handling
is currently done for embedded PIC.
(mips_ip): In 'o' (16-bit offset) case, only accept 16
bit offsets.

[ gas/testsuite/ChangeLog ]
2001-10-31  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/empic.s: Undo damage inflicted on 2000-12-02.
* gas/mips/empic.d: Likewise.
* gas/mips/elempic.d: Likewise (it was copied into other files).
* gas/mips/telempic.d: Likewise.
* gas/mips/tempic.d: Likewise.

* gas/mips/empic2.s: New test to check new 'la' and 'lw' (and
related ops) syntax, test loads with large offsets.
* gas/mips/emcic2.d: Likewise.
* gas/mips/mips.exp: Run the new test on ELF platforms.

22 years agos/value_ptr/struct value */
cagney [Thu, 1 Nov 2001 01:21:34 +0000 (01:21 +0000)]
s/value_ptr/struct value */

22 years agovalue_ptr tweeks.
cagney [Thu, 1 Nov 2001 01:07:34 +0000 (01:07 +0000)]
value_ptr tweeks.

22 years ago*** empty log message ***
gdbadmin [Thu, 1 Nov 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-10-26 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Wed, 31 Oct 2001 23:27:52 +0000 (23:27 +0000)]
2001-10-26  Vladimir Makarov  <vmakarov@redhat.com>

* gloss.h (gloss32::do_sys_unlink): New function.

* gloss.cxx (gloss32::syscall_trap): Add processing SYS_unlink.
(gloss32::do_sys_unlink): New function.
(gloss32::do_sys_exit): Add breaks after each case.
(gloss32::do_sys_lseek): Set up correct results.

22 years ago * arch-utils.c (generic_in_solib_call_trampoline): New function.
corinna [Wed, 31 Oct 2001 23:21:32 +0000 (23:21 +0000)]
* arch-utils.c (generic_in_solib_call_trampoline): New function.
* arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.
* gdbarch.c: Regenerated from gdbarch.sh.
* gdbarch.h: Ditto.
* gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
* infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.

22 years agodaily update
amodra [Wed, 31 Oct 2001 23:00:35 +0000 (23:00 +0000)]
daily update

22 years agoFrom DJ Barrow.
cagney [Wed, 31 Oct 2001 22:57:46 +0000 (22:57 +0000)]
From DJ Barrow.
* s390-tdep.c: (s390_gdbarch_init): Don't initialize
find_solib_trampoline_target.

22 years ago* remote-vx.c (net_wait): Fix typo from PIDGET change.
cagney [Wed, 31 Oct 2001 22:29:20 +0000 (22:29 +0000)]
* remote-vx.c (net_wait): Fix typo from PIDGET change.

22 years ago* config/i386/tm-i386.h (REGISTER_NAMES): Remove.
kettenis [Wed, 31 Oct 2001 22:24:05 +0000 (22:24 +0000)]
* config/i386/tm-i386.h (REGISTER_NAMES): Remove.
(REGISTER_NAME): New define.
(i386_register_name): New prototype.
* i386-tdep.c (i386_register_names): New variable.
(i386_register_name): New function.
* config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
REGISTER_NAMES.

22 years ago * gdb.base/miscexprs.c (main): Add usage of preprocessor
corinna [Wed, 31 Oct 2001 20:59:21 +0000 (20:59 +0000)]
* gdb.base/miscexprs.c (main): Add usage of preprocessor
symbol `STORAGE' to allow to choose the storage class of
the local datastructures.
* gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
compiler directive.

22 years ago2001-10-31 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 31 Oct 2001 19:26:12 +0000 (19:26 +0000)]
2001-10-31  Jeff Johnston  <jjohnstn@redhat.com>

        * m32r/Makefile.in: Use gdb stub set by configure.
        * m32r/configure.in: Add a special macro for testing
        c compiler without building executable.  Add setting of
        GDBSTUB.
        * m32r/configure: Regenerated.

22 years ago2001-10-30 Don Howard <dhoward@redhat.com>
dhoward [Wed, 31 Oct 2001 19:20:43 +0000 (19:20 +0000)]
2001-10-30  Don Howard  <dhoward@redhat.com>

* gdb.texinfo: (Command Files) Added documentation for the
behavior of gdb with input redirected from a file.

22 years ago2001-10-31 David Howells <dhowells@redhat.com>
jjohnstn [Wed, 31 Oct 2001 19:19:07 +0000 (19:19 +0000)]
2001-10-31  David Howells  <dhowells@redhat.com>

        * syscall.h: Added SYS_times, SYS_gettimeofday, SYS_link values.
        * mn10300/times.c: Renamed "times" to "_times" so that it can be
        referenced by newlib.
        * mn10300/cygmon.c: New file.
        * mn10300/crt0_redboot.S: Ditto.
        * mn10300/crt0_cygmon.S: Ditto.
        * mn10300/Makefile.in: Added RedBoot and Cygmon support.
        * mn10300/configure.in: Changed to allow for future
        evaluation boards to be added.
        * mn10300/configure: Regenerated.

22 years ago* win32-nat.c (register_loaded_dll): Attempt to ensure that the case of the
cgf [Wed, 31 Oct 2001 19:05:33 +0000 (19:05 +0000)]
* win32-nat.c (register_loaded_dll): Attempt to ensure that the case of the
loaded DLL matches the on-disk case since the debugging API does not seem to
ensure this.  Calculate max name length here.
(handle_load_dll): Move max name length calculation to register_loaded_dll.

22 years ago2001-10-31 H.J. Lu <hjl@gnu.org>
hjl [Wed, 31 Oct 2001 16:42:47 +0000 (16:42 +0000)]
2001-10-31  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_link_output_extsym): Don't clear the visibility
field for relocateable.

22 years ago* environ.cc: Set reset_com to false to mimic linux behavior more closely.
cgf [Wed, 31 Oct 2001 16:30:45 +0000 (16:30 +0000)]
* environ.cc: Set reset_com to false to mimic linux behavior more closely.

22 years ago * arm-linux-nat.c: Include <asm/ptrace.h> explicitly.
drow [Wed, 31 Oct 2001 15:56:32 +0000 (15:56 +0000)]
* arm-linux-nat.c: Include <asm/ptrace.h> explicitly.

22 years agoFix infinite parsing loop
nickc [Wed, 31 Oct 2001 15:41:19 +0000 (15:41 +0000)]
Fix infinite parsing loop

22 years ago Revert previous delta, instead do this.
amodra [Wed, 31 Oct 2001 15:32:08 +0000 (15:32 +0000)]
Revert previous delta, instead do this.
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Don't count
.plt relocs in DT_RELASZ.

22 years ago * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Set DT_RELASZ
amodra [Wed, 31 Oct 2001 14:58:13 +0000 (14:58 +0000)]
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Set DT_RELASZ
whenever DT_PLTRELSZ.

22 years agoGeneral cleanup of feature definitions.
rearnsha [Wed, 31 Oct 2001 14:48:18 +0000 (14:48 +0000)]
General cleanup of feature definitions.
* tc-arm.c (ARM_EXT_LONGMUL, ARM_EXT_HALFWORD, ARM_EXT_THUMB): Delete.
(ARM_2UP, ARM_ALL, ARM_3UP, ARM_6UP): Delete.
(FPU_CORE, FPU_FPA10, FPA_FPA11, FPU_ALL, FPA_MEMMULTI): Delete.
(ARM_EXT_V{1,2,2S,3,3M,4,4T,5T,5ExP}): New defines.
(ARM_EXT_V{5,5E}): Synchronize with above.
(ARM_ARCH_V*): Define a complete set in terms of above features.
(ARM_{1,2,3,250,6,7,8,9,STRONG}): Define in terms of architecture.
(FPU_FPA_EXT_V[12]): Define.
(FPU_ARCH_FPE, FPU_ARCH_FPA): Define in terms of above.
(FPU_ANY): Define.
(FPU_DEFAULT): Default to FPA.
(CPU_DEFAULT): For XScale, this is now just ARM_ARCH_XSCALE; for
Thumb, this is now ARM_ARCH_V5T.
(insns): Rework for new feature defines.
(tinsns): Likewise.
(opcode_select, do_ldst, md_begin, md_parse_option): Likewise.

22 years agoUpdate documentation about -T augmenting linker scripts
nickc [Wed, 31 Oct 2001 14:19:22 +0000 (14:19 +0000)]
Update documentation about -T augmenting linker scripts

22 years ago * dtable.cc (dtable::vfork_child_dup): Revert impersonation
corinna [Wed, 31 Oct 2001 12:03:45 +0000 (12:03 +0000)]
* dtable.cc (dtable::vfork_child_dup): Revert impersonation
before duplicating fhandler.

22 years agoSupports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targets
nickc [Wed, 31 Oct 2001 09:50:04 +0000 (09:50 +0000)]
Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targets

22 years agoFix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.
nickc [Wed, 31 Oct 2001 09:01:50 +0000 (09:01 +0000)]
Fix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.

22 years agoFix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.
nickc [Wed, 31 Oct 2001 09:01:21 +0000 (09:01 +0000)]
Fix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.

22 years agoUpdate to match latest listing behaviour
nickc [Wed, 31 Oct 2001 08:58:59 +0000 (08:58 +0000)]
Update to match latest listing behaviour

22 years ago * ld-mmix/locdo-1.d: Prune character dump part.
hp [Wed, 31 Oct 2001 05:52:39 +0000 (05:52 +0000)]
* ld-mmix/locdo-1.d: Prune character dump part.

22 years ago * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
hp [Wed, 31 Oct 2001 05:42:49 +0000 (05:42 +0000)]
* ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d,
  ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d,
  ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d,
  ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s,
  ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d,
  ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s,
  ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove
  unnecessary empty lines.

22 years agoremove garbage ChangeLog entry.
cgf [Wed, 31 Oct 2001 05:35:28 +0000 (05:35 +0000)]
remove garbage ChangeLog entry.

22 years agoRegenerate dependencies and Makefile.in
hp [Wed, 31 Oct 2001 05:04:33 +0000 (05:04 +0000)]
Regenerate dependencies and Makefile.in

22 years ago * gas/mmix/tst.s: Delete unused file.
hp [Wed, 31 Oct 2001 04:30:34 +0000 (04:30 +0000)]
* gas/mmix/tst.s: Delete unused file.
* gas/mmix/unsave-op.s, gas/mmix/save-op.s, gas/mmix/resume-op.s,
gas/mmix/reloc8.s, gas/mmix/prefix1.s, gas/mmix/pop-op.s,
gas/mmix/greg8.s, gas/mmix/greg6.s, gas/mmix/expr-1.s,
gas/mmix/greg1.s, gas/mmix/err-bspec-5.s, gas/mmix/op-0-1.s,
gas/mmix/fb-2.s: Remove trailing empty lines.

22 years ago * wrapper.h (gdb_value_struct_elt): New function.
kseitz [Wed, 31 Oct 2001 03:16:03 +0000 (03:16 +0000)]
* wrapper.h (gdb_value_struct_elt): New function.
* wrapper.c (gdb_value_struct_elt): Ditto.
(do_captured_value_struct_elt): Ditto.

22 years agoRemove #if 0 around bfd_mmo_mmix_vec
hp [Wed, 31 Oct 2001 03:08:59 +0000 (03:08 +0000)]
Remove #if 0 around bfd_mmo_mmix_vec

22 years agoSplit file by ^L:s as in original submitted patch
hp [Wed, 31 Oct 2001 03:07:48 +0000 (03:07 +0000)]
Split file by ^L:s as in original submitted patch

22 years ago* sigproc.cc (sigproc_terminate): Don't signal main thread when exiting.
cgf [Wed, 31 Oct 2001 02:58:38 +0000 (02:58 +0000)]
* sigproc.cc (sigproc_terminate): Don't signal main thread when exiting.
* sigproc.h (sigframe): Decorate some methods with `inline'.
(new_muto): Coerce pointer to new to void *.

22 years agoUpdate README and NEWS to 5.1.
cagney [Wed, 31 Oct 2001 02:53:17 +0000 (02:53 +0000)]
Update README and NEWS to 5.1.

22 years ago2001-10-30 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 31 Oct 2001 02:40:24 +0000 (02:40 +0000)]
2001-10-30  Michael Snyder  <msnyder@redhat.com>

* gdb.base/jump.exp: Allow it to run for all targets.

22 years ago * mmix-dis.c, mmix-opc.c: New files.
hp [Wed, 31 Oct 2001 02:40:19 +0000 (02:40 +0000)]
* mmix-dis.c, mmix-opc.c: New files.

22 years ago * MAINTAINERS: Add self as MMIX port maintainer.
hp [Wed, 31 Oct 2001 02:34:12 +0000 (02:34 +0000)]
* MAINTAINERS: Add self as MMIX port maintainer.

22 years ago* fhandler.cc (fhandler_base::fork_fixup): Pass old handle to setclexec_pid.
cgf [Wed, 31 Oct 2001 02:03:00 +0000 (02:03 +0000)]
* fhandler.cc (fhandler_base::fork_fixup): Pass old handle to setclexec_pid.

22 years agoFix -W... flags check.
cagney [Wed, 31 Oct 2001 01:57:04 +0000 (01:57 +0000)]
Fix -W... flags check.

22 years ago * ldlang.c (lang_size_sections): Keep a valid output_offset field
amodra [Wed, 31 Oct 2001 01:12:26 +0000 (01:12 +0000)]
* ldlang.c (lang_size_sections): Keep a valid output_offset field
for padding statements.

22 years ago* cygheap.h (cygheap_fdmanip::cygheap_fdmanip): Clear fh.
cgf [Wed, 31 Oct 2001 00:55:32 +0000 (00:55 +0000)]
* cygheap.h (cygheap_fdmanip::cygheap_fdmanip): Clear fh.
(cygheap_fdmanip::isopen): New method.
* syscalls.cc (_read): Avoid accessing closed fd.
* path.h (fe_types): New enum.
(path_conv::set_path): New method.
(find_exec): Change null_if_not_found argument to something more generic.
* spawn.cc (find_exec): Default to returning the POSIX path rather than the
windows path, unless instructed otherwise.
(spawn_guts): Force call to find_exec to use native paths.
* dlfcn.cc (check_path_access): Accommodate new find_exec arguments.
* environ.h (win_env::get_posix): New method.

22 years ago*** empty log message ***
gdbadmin [Wed, 31 Oct 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Tue, 30 Oct 2001 23:01:01 +0000 (23:01 +0000)]
daily update

22 years ago 2001-10-30 Fred Fish <fnf@redhat.com>
fnf [Tue, 30 Oct 2001 17:34:28 +0000 (17:34 +0000)]
2001-10-30  Fred Fish  <fnf@redhat.com>
* somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes.
* pa64solib.c (add_to_solist): Ditto.
* win32-nat.c (_initialize_inftarg): Remove unnecessary
initialization of auto_solib_add, it defaults to 1.

22 years agoAdd MMIX support
nickc [Tue, 30 Oct 2001 15:20:01 +0000 (15:20 +0000)]
Add MMIX support

22 years ago * fhandler_socket.cc (fhandler_socket::close): Add error handling.
corinna [Tue, 30 Oct 2001 11:48:35 +0000 (11:48 +0000)]
* fhandler_socket.cc (fhandler_socket::close): Add error handling.

Fixed ChangeLog entries.

22 years agoIf the LMA for a segment is known, use it for matching sections to segments.
nickc [Tue, 30 Oct 2001 11:40:27 +0000 (11:40 +0000)]
If the LMA for a segment is known, use it for matching sections to segments.
Use the LMA when adjusting for inter-section alignment padding.

22 years agoSet the LMA based on the p_paddr of the segment that contains it.
nickc [Tue, 30 Oct 2001 11:34:46 +0000 (11:34 +0000)]
Set the LMA based on the p_paddr of the segment that contains it.

22 years ago * (fhandler_socket::dup): Revert previous change.
corinna [Tue, 30 Oct 2001 10:07:38 +0000 (10:07 +0000)]
    * (fhandler_socket::dup): Revert previous change.

22 years ago* dtable.cc (dtable::dup2): Add some debugging. Use methods from passed in
cgf [Tue, 30 Oct 2001 07:43:46 +0000 (07:43 +0000)]
* dtable.cc (dtable::dup2): Add some debugging.  Use methods from passed in
class rather than cygheap->fdtab.
* fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): Add more
debugging output.
(fhandler_socket::dup): Allocate new space for prot_info_ptr for duplicated
entry.
* syscalls.cc (stat_worker): Always delete fh if it has been created.

22 years ago2001-10-29 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 30 Oct 2001 06:17:15 +0000 (06:17 +0000)]
2001-10-29  Martin M. Hunt  <hunt@redhat.com>

* library/debugwin.itb: Don't increment number of
TopLevelWins.

22 years ago2001-10-29 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 30 Oct 2001 04:41:43 +0000 (04:41 +0000)]
2001-10-29  Martin M. Hunt  <hunt@redhat.com>

* library/debugwin.itb: Don't increment number of
TopLevelWins.

* library/managedwin.itb: Don't save DebugWins to
active list.

22 years agoChanges approved by kev@cygnus.com, ezannoni@cygnus.com, eliz@is.elta.co.il.
fnf [Tue, 30 Oct 2001 04:05:33 +0000 (04:05 +0000)]
Changes approved by kev@cygnus.com, ezannoni@cygnus.com, eliz@is.elta.co.il.

  Changelog:

2001-10-27  Fred Fish  <fnf@redhat.com>

* symfile.c (auto_solib_add): Update comment to note that
this variable is now just used as a boolean to control shlib
autoloading, and clarify when it is used.
* symfile.h (auto_solib_add): Ditto.

* symfile.c (auto_solib_limit): New variable that holds the
autoloading threshold instead of overloading auto_solib_add.
* symfile.h (auto_solib_limit): Ditto.

* irix5-nat.c (_initialize_solib): Change auto-solib-add
variable from var_zinteger to var_boolean and update help.
* osfsolib.c (_initialize_solib): Ditto.
* pa64solib.c (_initialize_pa64_solib): Ditto.
* solib.c (_initialize_solib): Ditto.
* somsolib.c (_initialize_som_solib): Ditto.
* xcoffsolib.c (_initialize_solib): Ditto.

* pa64solib.c (pa64_solib_total_st_size): Update comment to
note that the new auto_solib_limit variable is used instead
of overloading auto_solib_add variable.
(_initialize_pa64_solib): Ditto.
* somsolib.c (som_solib_total_st_size): Ditto.
(_initialize_som_solib): Ditto.

* pa64solib.c (_initialize_pa64_solib): Add new set/show
commands for auto-solib-limit variable.
* somsolib.c (_initialize_som_solib): Ditto

* pa64solib.c (add_to_solist): Check that auto_solib_add is
set and use auto_solib_limit as the threshold size instead
of auto_solib_add.
* somsolib.c (som_solib_add): Ditto, and also change warning
text about size threshold exceeded.

  doc/ChangeLog:

2001-10-28  Fred Fish  <fnf@redhat.com>

* gdb.texinfo (auto-solib-add): Change docs to match
implementation change.
(auto-solib-limit): Add docs for new variable.

22 years ago * security.cc (is_group_member): Call NetLocalGroupGetMembers() for
corinna [Tue, 30 Oct 2001 00:02:36 +0000 (00:02 +0000)]
* security.cc (is_group_member): Call NetLocalGroupGetMembers() for
local machine only.
(get_user_local_groups): Ditto for NetLocalGroupEnum().

22 years ago*** empty log message ***
gdbadmin [Tue, 30 Oct 2001 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* config/i386/tm-i386v.h: Don't include "regcache.h".
kettenis [Mon, 29 Oct 2001 23:54:56 +0000 (23:54 +0000)]
* config/i386/tm-i386v.h: Don't include "regcache.h".
(EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN,
FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS):
Remove macros.  The versions from "tm-i386.h" should work fine
(and in most cases even better).

22 years ago* i386-tdep.c (i386_extract_return_value): Use
kettenis [Mon, 29 Oct 2001 23:49:31 +0000 (23:49 +0000)]
* i386-tdep.c (i386_extract_return_value): Use
convert_typed_floating to extract floating-point value from
register buffer.
(i386_store_return_value): Use convert_typed_floating to store
floating-point return balue in register buffer
(i386_register_virtual_type): Change type of floating-point
registers to builtin_type_i387_ext.
(i386_register_convert_to_virtual): Use convert_typed_floating to
do the conversion.
(i386_register_convert_to_raw): Likewise.

22 years ago* doublest.h (convert_typed_floating): New prototype.
kettenis [Mon, 29 Oct 2001 23:35:35 +0000 (23:35 +0000)]
* doublest.h (convert_typed_floating): New prototype.
* doublest.c (convert_typed_floating): New function.

22 years agodaily update
amodra [Mon, 29 Oct 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * d30v-dis.c: Fix a comment typo.
kazu [Mon, 29 Oct 2001 22:43:32 +0000 (22:43 +0000)]
* d30v-dis.c: Fix a comment typo.

22 years ago * ldlang.c: Fix a comment typo.
kazu [Mon, 29 Oct 2001 22:36:32 +0000 (22:36 +0000)]
* ldlang.c: Fix a comment typo.

22 years ago * README: Fix a typo.
kazu [Mon, 29 Oct 2001 22:29:58 +0000 (22:29 +0000)]
* README: Fix a typo.

22 years ago * bfdsumm.texi: Fix a typo.
kazu [Mon, 29 Oct 2001 22:26:11 +0000 (22:26 +0000)]
* bfdsumm.texi: Fix a typo.

22 years ago2001-10-29 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 29 Oct 2001 21:45:28 +0000 (21:45 +0000)]
2001-10-29  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-bp.c (gdb_set_bp_addr): When setting
the bp addr_string, use the string the function was called
with instead of using sprintf to write a new one. This
avoids a problem with truncating 64-bit addresses.

* library/srcbar.itcl (SrcBar::create_buttons) Don't
set width of address label.
(SrcBar::address) When the address changes, recompute
width of address label.  If it is more than 10, force it
to 18, otherwise use 10.

22 years ago* Makefile.in: Propagate 'clean' to subdirs properly.
cgf [Mon, 29 Oct 2001 20:32:27 +0000 (20:32 +0000)]
* Makefile.in: Propagate 'clean' to subdirs properly.

22 years ago* fhandler.cc (fhandler_base::set_name): Set namehash here to catch name
cgf [Mon, 29 Oct 2001 20:30:44 +0000 (20:30 +0000)]
* fhandler.cc (fhandler_base::set_name): Set namehash here to catch name
changes.
(fhandler_base::open): Remove namehash setting.
(fhandler_base::fstat): Subtract 1 from arbitrary time setting to avoid strange
ls -l granularity problem.
* shared_info.h (MOUNT_VE

22 years ago* winsup.api/ltp/stat03.c: Supress compiler warning.
duda [Mon, 29 Oct 2001 20:03:05 +0000 (20:03 +0000)]
* winsup.api/ltp/stat03.c: Supress compiler warning.

22 years ago* winsup.api/signal-into-win32-api.c: Supress compiler warning.
duda [Mon, 29 Oct 2001 19:45:42 +0000 (19:45 +0000)]
* winsup.api/signal-into-win32-api.c: Supress compiler warning.

22 years ago2001-10-29 Martin M. Hunt <hunt@redhat.com>
hunt [Mon, 29 Oct 2001 19:37:04 +0000 (19:37 +0000)]
2001-10-29  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-bp.c (gdb_find_bp_at_addr): Use
string_to_core_addr to read address so 64 bits will work.
(gdb_set_bp): Set error message with Tcl_SetObjResult()
so it will be displayed.
(gdb_set_bp_addr):Use string_to_core_addr to read address.
Set error message with Tcl_SetObjResult().

* generic/gdbtk-cmds.c (gdb_get_mem): :Use string_to_core_addr
to read address. Set error message with Tcl_SetObjResult() or
Tcl_WrongNumArgs.

22 years ago * gdb.base/call-ar-st.c (print_double_array): Match for loop
corinna [Mon, 29 Oct 2001 18:20:21 +0000 (18:20 +0000)]
* gdb.base/call-ar-st.c (print_double_array): Match for loop
with new double_array size.
(main): Change storage class of all local variables to static.
Reduce size of double_array to 9.
* gdb.base/call-ar-st.exp:  Increase timeout value.
Change expected output for double array to match new size in
call-ar-st.c.

22 years ago * gdb.base/ending-run.exp: Create identical output when passing
corinna [Mon, 29 Oct 2001 18:16:44 +0000 (18:16 +0000)]
* gdb.base/ending-run.exp: Create identical output when passing
`step to end of run' case.  Add regular expression branch satisfying
Stormy16 target.

22 years ago2001-10-29 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 29 Oct 2001 18:14:53 +0000 (18:14 +0000)]
2001-10-29  Frank Ch. Eigler  <fche@redhat.com>

* configrun-sid.in (memory-region): Create component in first section.

22 years ago* tweak
fche [Mon, 29 Oct 2001 17:44:36 +0000 (17:44 +0000)]
* tweak

2001-10-29  Frank Ch. Eigler  <fche@redhat.com>

* configrun-sid.in (gdb): Support no-gloss case generally.

22 years ago* gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
kettenis [Mon, 29 Oct 2001 17:38:10 +0000 (17:38 +0000)]
* gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
that we catch the expected failure under Linux/x86.

22 years ago2001-10-29 Orjan Friberg <orjanf@axis.com>
orjanf [Mon, 29 Oct 2001 16:24:34 +0000 (16:24 +0000)]
2001-10-29  Orjan Friberg  <orjanf@axis.com>

* gdb.base/setvar.exp: Escape curly braces.
* gdb.stabs/weird.exp: Ditto.

22 years ago* select.cc (MAKEready): Remove extraneous select_read.
cgf [Mon, 29 Oct 2001 16:12:47 +0000 (16:12 +0000)]
* select.cc (MAKEready): Remove extraneous select_read.

22 years ago * uinfo.cc (internal_getlogin): Set environment variable $HOME
corinna [Mon, 29 Oct 2001 11:53:52 +0000 (11:53 +0000)]
* uinfo.cc (internal_getlogin): Set environment variable $HOME
from either /etc/passwd or $HOMEDRIVE/$HOMEPATH if necessary.

22 years ago* fhandler.h (fhandler_serial::fhandler_serial): Change to only accept unit
cgf [Mon, 29 Oct 2001 05:28:24 +0000 (05:28 +0000)]
* fhandler.h (fhandler_serial::fhandler_serial): Change to only accept unit
argument.
* fhandler_serial.cc (fhandler_serial::fhandler_serial): Ditto.
(fhandler_serial::open): Avoid else when previous clause is a return().
* path.cc (get_devn): Alias /dev/ttyS0 -> /dev/com1, etc.
(get_device_number): Reallow standalone "com1" as a valid name for /dev/com1.

22 years agodaily update, a bit late..
amodra [Mon, 29 Oct 2001 04:00:48 +0000 (04:00 +0000)]
daily update, a bit late..

22 years ago*** empty log message ***
gdbadmin [Mon, 29 Oct 2001 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* cygwin/configure.in: Check for cygwin host rather than cygwin target.
cgf [Sun, 28 Oct 2001 23:31:03 +0000 (23:31 +0000)]
* cygwin/configure.in: Check for cygwin host rather than cygwin target.
* cygwin/configure: Regenerate.

22 years agofix spelling errors
cgf [Sun, 28 Oct 2001 23:05:48 +0000 (23:05 +0000)]
fix spelling errors

22 years ago* doublest.c: Improve comments a bit.
kettenis [Sun, 28 Oct 2001 22:06:27 +0000 (22:06 +0000)]
* doublest.c: Improve comments a bit.
(floatformat_from_length): New function.
(NAN): Define to 0.0 if not already defined.
(extract_floating): Rewrite to use floatformat_from_length.  Warn
instead of error if LEN doesn't match a known floating-point type,
and return NaN (or 0.0 if NaN isn't available) in that case.
(store_floating): Likewise, but zero out the target byte-stream if
LEN doesn't match a known floating-point type.
(extract_typed_floating): Reformat a bit.
(store_typed_floating): Reformat a bit.  Add comment about zeroing
out padding in the target buffer.
* doublest.h (extract_floating, store_floating): Fix comment about
deprecation of these functions.  Add parameter names to prototypes.

22 years ago * tclIndex: Updated.
tromey [Sun, 28 Oct 2001 20:08:38 +0000 (20:08 +0000)]
* tclIndex: Updated.
* library/main.tcl: Add session_notice_file_change to
file_changed_hook.
* library/session.tcl (session_load): Only load the executable.
(session_notice_file_change): New proc.
(SESSION_exe_name): New proc.
(session_save): Use it.
(session_notice_file_change): Likewise.
* library/interface.tcl (gdbtk_tcl_exec_file_display): Don't call
session_save.
(gdbtk_tcl_preloop): Don't set executable name or try to find
main.  Notice a new session if required.

22 years agofix consistent spelling errors.
cgf [Sun, 28 Oct 2001 18:10:44 +0000 (18:10 +0000)]
fix consistent spelling errors.

22 years ago* win/configure.in: Modify 2001-10-05 change to check for cygwin host rather
cgf [Sun, 28 Oct 2001 16:26:29 +0000 (16:26 +0000)]
* win/configure.in: Modify 2001-10-05 change to check for cygwin host rather
than cygwin target.
* win/configure: Regenerate.

22 years ago* win/configure.in: Modify 2001-10-10 change to check for cygwin host rather
cgf [Sun, 28 Oct 2001 16:24:40 +0000 (16:24 +0000)]
* win/configure.in: Modify 2001-10-10 change to check for cygwin host rather
than cygwin target.
* win/configure: Regenerate.

22 years ago* configure.in: Modify 2001-10-12 change to check for cygwin host rather than
cgf [Sun, 28 Oct 2001 16:22:24 +0000 (16:22 +0000)]
* configure.in: Modify 2001-10-12 change to check for cygwin host rather than
cygwin target.
* configure: Regenerate.

22 years ago* i387-tdep.c (print_i387_value): Use extract_typed_floating to
kettenis [Sun, 28 Oct 2001 14:07:35 +0000 (14:07 +0000)]
* i387-tdep.c (print_i387_value): Use extract_typed_floating to
convert RAW to a DOUBLEST instead of extract_floating.