OSDN Git Service

pf3gnuchains/sourceware.git
22 years ago* cygwin.din (ualarm): New export.
cgf [Wed, 28 Nov 2001 00:06:35 +0000 (00:06 +0000)]
* cygwin.din (ualarm): New export.
* dcrt0.cc (_dll_crt0): Add experimental tls storage declaration.
(dll_crt0): Ditto.
* debug.cc (thread_stub): Ditto.
* thread.cc: Minor cleanup.
(__pthread_create): Add experimental tls storage declaration.
* miscfuncs.cc: Define tls index.
* winsup.h: Declare experimental tls storage.
* window.cc (alarm): Use old timer return from setitimer.
(ualarm): New function.

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

22 years agodaily update
amodra [Tue, 27 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago Changes to many generated files -- incorporate bochs into
fitzsim [Tue, 27 Nov 2001 22:58:58 +0000 (22:58 +0000)]
Changes to many generated files -- incorporate bochs into
build system and configrun-sid.

22 years ago* s390-tdep.c (s390_push_dummy_frame): Delete function; it's no
jimb [Tue, 27 Nov 2001 22:48:26 +0000 (22:48 +0000)]
* s390-tdep.c (s390_push_dummy_frame): Delete function; it's no
longer used.

22 years ago* s390-tdep.c (register_names): Call the general-purpose registers
jimb [Tue, 27 Nov 2001 22:19:55 +0000 (22:19 +0000)]
* s390-tdep.c (register_names): Call the general-purpose registers
`r0' -- `r15', and the floating-point registers `f0' -- `f15', to
match the assembly language.

22 years ago2001-11-27 H.J. Lu <hjl@gnu.org>
hjl [Tue, 27 Nov 2001 19:06:07 +0000 (19:06 +0000)]
2001-11-27  H.J. Lu <hjl@gnu.org>

* emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes.
* emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise.
* emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise.
* emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise.

* scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA}
is not empty.
(SDATA): Likewise.
(REL_SDATA): Likewise.
(REL_SBSS): Likewise.
(REL_SDATA2): Likewise.
(REL_SBSS2): Likewise.
(SBSS2): Define if ${NO_SMALL_DATA} is not empty.
(SDATA2): Likewise.

22 years ago2001-11-27 H.J. Lu <hjl@gnu.org>
hjl [Tue, 27 Nov 2001 19:03:26 +0000 (19:03 +0000)]
2001-11-27  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_bfd_discard_info): Skip if the input bfd isn't
ELF.

22 years ago* further converge with internal tree.
bje [Tue, 27 Nov 2001 06:29:34 +0000 (06:29 +0000)]
* further converge with internal tree.

22 years agofix white space.
cgf [Tue, 27 Nov 2001 05:16:39 +0000 (05:16 +0000)]
fix white space.

22 years ago* config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if
cgf [Tue, 27 Nov 2001 05:15:55 +0000 (05:15 +0000)]
* config/i386/tm-cygwin.h: Define HAVE_SSE_REGS if
HAVE_CONTEXT_EXTENDED_REGISTERS is defined.
* win32-nat.c: Define CONTEXT_DEBUGGER_DR that will also include extended
registers if HAVE_SSE_REGS is defined.
(mappings array): Add offset of extended registers.
(thread_rec): Use new CONTEXT_DEBUGGER_DR macro.

22 years ago * NEWS: Updated.
tromey [Tue, 27 Nov 2001 04:15:09 +0000 (04:15 +0000)]
* NEWS: Updated.
* event-loop.c (start_event_loop): Call
after_char_processing_hook.
* event-top.h (after_char_processing_hook): Declare.
* event-top.c (rl_callback_read_char_wrapper): Call
after_char_processing_hook.
(after_char_processing_hook): New global.
* top.c (operate_saved_history): New global.
(gdb_rl_operate_and_get_next): New function.
(init_main): Add the operate-and-get-next defun.
(gdb_rl_operate_and_get_next_completion): New function.

22 years ago * gdb.texinfo (Command Syntax): Document C-o binding.
tromey [Tue, 27 Nov 2001 04:14:37 +0000 (04:14 +0000)]
* gdb.texinfo (Command Syntax): Document C-o binding.

22 years ago * NEWS: Update for --args.
tromey [Tue, 27 Nov 2001 03:09:41 +0000 (03:09 +0000)]
* NEWS: Update for --args.
* infcmd.c (construct_inferior_arguments): Moved from ...
* fork-child.c: ... here.

22 years ago2001-11-21 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 27 Nov 2001 01:29:03 +0000 (01:29 +0000)]
2001-11-21  Michael Snyder  <msnyder@redhat.com>

        * gdb.asm/sparc.inc: New file.
* gdb.asm/asm-source.exp: Recognize sparc target.
* gdb.asm/configure.in: Recognize sparc target.
* gdb.asm/configure: Regenerate.

22 years ago2001-11-21 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 27 Nov 2001 01:28:35 +0000 (01:28 +0000)]
2001-11-21  Michael Snyder  <msnyder@redhat.com>

        * gdb.asm/sparc.inc: New file.
* gdb.asm/asm-source.exp: Recognize sparc target.
* gdb.asm/configure.in: Recognize sparc target.
* gdb.asm/configure: Regenerate.

22 years ago2001-11-21 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 27 Nov 2001 01:28:08 +0000 (01:28 +0000)]
2001-11-21  Michael Snyder  <msnyder@redhat.com>

        * gdb.asm/sparc.inc: New file.
* gdb.asm/asm-source.exp: Recognize sparc target.
* gdb.asm/configure.in: Recognize sparc target.
* gdb.asm/configure: Regenerate.

22 years ago* symtab.c (find_pc_sect_line): Revert change of 2001-11-13; add
jimb [Tue, 27 Nov 2001 00:03:22 +0000 (00:03 +0000)]
* symtab.c (find_pc_sect_line): Revert change of 2001-11-13; add
comment explaining that hand-written assembly code can have line
number info but no debug info for an enclosing function.

22 years ago*** empty log message ***
gdbadmin [Tue, 27 Nov 2001 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Mon, 26 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago * config.sub: Update to version 1.232 on subversion.
geoffk [Mon, 26 Nov 2001 22:52:00 +0000 (22:52 +0000)]
* config.sub: Update to version 1.232 on subversion.

22 years ago * config.sub: Update to version 1.232 on subversion.
geoffk [Mon, 26 Nov 2001 22:51:50 +0000 (22:51 +0000)]
* config.sub: Update to version 1.232 on subversion.

22 years agomerge from gcc
dj [Mon, 26 Nov 2001 22:25:58 +0000 (22:25 +0000)]
merge from gcc

22 years ago2001-11-26 Fernando Nasser <fnasser@redhat.com>
fnasser [Mon, 26 Nov 2001 21:29:31 +0000 (21:29 +0000)]
2001-11-26  Fernando Nasser  <fnasser@redhat.com>

From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
* gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
to a local (non-static) variable. Copy tstruct.a to a static buffer
and return a pointer to that buffer.
* gdb.base/callfwmall.c (t_structs_a): Ditto.

22 years agomerge from gcc
dj [Mon, 26 Nov 2001 21:23:10 +0000 (21:23 +0000)]
merge from gcc

22 years ago * baseboards/i386-sid.exp: New file.
fitzsim [Mon, 26 Nov 2001 20:39:52 +0000 (20:39 +0000)]
* baseboards/i386-sid.exp: New file.

22 years ago* gdb.texinfo (Options): Eliminate attempt to explain .gdbinit/gdb.ini use
cgf [Mon, 26 Nov 2001 20:34:56 +0000 (20:34 +0000)]
* gdb.texinfo (Options): Eliminate attempt to explain .gdbinit/gdb.ini use
since it is described in the referenced section.  From Eli Zaretskii
<eliz@is.elta.co.il>
* gdb.texinfo (Command Files): Reword to make gdb.ini requirement clearer when
using DJGPP.

22 years agoRevert erroneous checkin.
cgf [Mon, 26 Nov 2001 20:21:27 +0000 (20:21 +0000)]
Revert erroneous checkin.

22 years ago* Makefile.in (libcygwin.a): Use ar commands to build libcygwin.a since adding
cgf [Mon, 26 Nov 2001 20:20:42 +0000 (20:20 +0000)]
* Makefile.in (libcygwin.a): Use ar commands to build libcygwin.a since adding
an archive doesn't work the way we want it to.

22 years ago2001-11-26 Fernando Nasser <fnasser@redhat.com>
fnasser [Mon, 26 Nov 2001 19:40:19 +0000 (19:40 +0000)]
2001-11-26  Fernando Nasser  <fnasser@redhat.com>

From 2001-11-12 Jackie Smith Cashion  <jsmith@redhat.com>:
* gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
to a local (non-static) variable. Copy tstruct.a to a static buffer
and return a pointer to that buffer.
* gdb.base/callfwmall.c (t_structs_a): Ditto.

22 years ago * stabs.c (_bfd_discard_section_stabs): Use PARAMS in function
law [Mon, 26 Nov 2001 19:31:25 +0000 (19:31 +0000)]
    * stabs.c (_bfd_discard_section_stabs): Use PARAMS in function
        prototypes.

22 years ago * sparc-nat.c (fetch_inferior_registers): Don't rely
jakub [Mon, 26 Nov 2001 16:42:11 +0000 (16:42 +0000)]
* sparc-nat.c (fetch_inferior_registers): Don't rely
on CORE_ADDR being 32-bit.
(store_inferior_registers): Likewise.

22 years ago2001-11-26 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 26 Nov 2001 16:41:07 +0000 (16:41 +0000)]
2001-11-26  Frank Ch. Eigler  <fche@redhat.com>

* doc/sim.texi, rtl.texi, porting.texi: Correct texinfo markup typos.

22 years ago* more formatting tweaks.
bje [Mon, 26 Nov 2001 00:23:41 +0000 (00:23 +0000)]
* more formatting tweaks.

22 years ago* more formatting tweaks.
bje [Mon, 26 Nov 2001 00:08:57 +0000 (00:08 +0000)]
* more formatting tweaks.

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

22 years ago* formatting tweak.
bje [Sun, 25 Nov 2001 23:48:25 +0000 (23:48 +0000)]
* formatting tweak.

22 years ago* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
jimb [Sun, 25 Nov 2001 23:43:43 +0000 (23:43 +0000)]
* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.

22 years ago* converge with Red Hat internal tree.
bje [Sun, 25 Nov 2001 23:18:15 +0000 (23:18 +0000)]
* converge with Red Hat internal tree.

22 years agodaily update
amodra [Sun, 25 Nov 2001 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
ciceron [Sun, 25 Nov 2001 17:29:27 +0000 (17:29 +0000)]
* scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and
destructor in rom.
* scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise.

22 years ago * gas/all/gas.exp (incbin): Fix condition.
aj [Sun, 25 Nov 2001 15:21:58 +0000 (15:21 +0000)]
* gas/all/gas.exp (incbin): Fix condition.

22 years ago * config/djgpp/config.sed: Fix an error in etc/ at "make install"
eliz [Sun, 25 Nov 2001 11:32:50 +0000 (11:32 +0000)]
* config/djgpp/config.sed: Fix an error in etc/ at "make install"
time on non-LFN systems where standards*.inf* expands to nothing.

22 years ago * go32-nat.c (save_npx): Avoid a warning from GCC 3.x.
eliz [Sun, 25 Nov 2001 11:29:31 +0000 (11:29 +0000)]
* go32-nat.c (save_npx): Avoid a warning from GCC 3.x.

22 years agoAdd missing ChangeLog entries.
corinna [Sun, 25 Nov 2001 09:55:15 +0000 (09:55 +0000)]
Add missing ChangeLog entries.

22 years ago* fhandler_disk_file.cc (fhandler_cygdrive::readdir): Avoid reporting
cgf [Sun, 25 Nov 2001 03:28:15 +0000 (03:28 +0000)]
* fhandler_disk_file.cc (fhandler_cygdrive::readdir): Avoid reporting
inaccessible drives.

22 years ago*** empty log message ***
gdbadmin [Sun, 25 Nov 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sat, 24 Nov 2001 23:00:04 +0000 (23:00 +0000)]
daily update

22 years ago * net.cc (cygwin_hstrerror): Allow s == NULL.
corinna [Sat, 24 Nov 2001 21:52:28 +0000 (21:52 +0000)]
* net.cc (cygwin_hstrerror): Allow s == NULL.
(cygwin_rcmd): Add parameter checking.
(cygwin_rexec): Ditto.

22 years agoFix obvious typo (Bourn -> Bourne)
fnf [Sat, 24 Nov 2001 21:47:51 +0000 (21:47 +0000)]
Fix obvious typo (Bourn -> Bourne)

22 years ago * net.cc (cygwin_inet_ntoa): Add parameter checking.
corinna [Sat, 24 Nov 2001 21:10:00 +0000 (21:10 +0000)]
* net.cc (cygwin_inet_ntoa): Add parameter checking.
(cygwin_inet_network): Return INADDR_NONE instead of 0 in case of
EFAULT.
(cygwin_hstrerror): Add parameter checking.
(cygwin_rresvport): Ditto.
(socketpair): Ditto.
* winsup.h (check_null_str): Add extern declaration.

22 years ago* path.cc (path_conv::check): Tighten FH_CYGDRIVE check to avoid matching
cgf [Sat, 24 Nov 2001 21:04:59 +0000 (21:04 +0000)]
* path.cc (path_conv::check): Tighten FH_CYGDRIVE check to avoid matching
trailing component, like other devices.

22 years ago* autoload.cc (IsDebuggerPresent): Make conditional load since it is not
cgf [Sat, 24 Nov 2001 20:57:18 +0000 (20:57 +0000)]
* autoload.cc (IsDebuggerPresent): Make conditional load since it is not
available everywhere.
* path.cc (mount_info::conv_to_win32_path): Only consider /cygdrive to be
FH_CYGDRIVE, not /cygdrive/x.

22 years ago* win32-nat.c (struct so_stuff): Add objfile *objfile field needed to be able
cgf [Sat, 24 Nov 2001 19:00:03 +0000 (19:00 +0000)]
* win32-nat.c (struct so_stuff): Add objfile *objfile field needed to be able
to remove the DLL when unloaded.  Remove unused last field.
(handle_unload_dll): New function to handle unloading of DLL.
(solib_symbols_add): Change return type to struct objfile *.
(get_child_debug_event): Call handle_unload_dll function.

22 years ago* win32-nat.c (_initialize_check_for_gdb_ini): New function.
cgf [Sat, 24 Nov 2001 18:21:26 +0000 (18:21 +0000)]
* win32-nat.c (_initialize_check_for_gdb_ini): New function.
* config/i386/xm-cygwin.h: Remove obsolete handling of __CYGWIN32__.
(GDBINIT_FILENAME): Remove.

22 years ago* net.cc (inet_makeaddr): Revert previous change.
cgf [Sat, 24 Nov 2001 17:31:14 +0000 (17:31 +0000)]
* net.cc (inet_makeaddr): Revert previous change.

22 years ago* gdb.asm/configure.in: Fix recognition of ix86 target.
kettenis [Sat, 24 Nov 2001 14:43:57 +0000 (14:43 +0000)]
* gdb.asm/configure.in: Fix recognition of ix86 target.
* gdb.asm/configure: Regenerate.

22 years ago * elf32-hppa.c (elf32_hppa_size_stubs): Decrease default stub
amodra [Sat, 24 Nov 2001 07:39:10 +0000 (07:39 +0000)]
* elf32-hppa.c (elf32_hppa_size_stubs): Decrease default stub
group sizes to accomodate c++.

22 years ago* path.cc (chdir): Allow 'cd /cygdrive'.
cgf [Sat, 24 Nov 2001 03:35:57 +0000 (03:35 +0000)]
* path.cc (chdir): Allow 'cd /cygdrive'.

22 years agoFix typo.
cgf [Sat, 24 Nov 2001 03:25:07 +0000 (03:25 +0000)]
Fix typo.

22 years agofix typo.
cgf [Sat, 24 Nov 2001 03:12:41 +0000 (03:12 +0000)]
fix typo.

22 years ago* dtable.cc (dtable::vfork_parent_restore): Add debugging statement.
cgf [Sat, 24 Nov 2001 03:11:38 +0000 (03:11 +0000)]
* dtable.cc (dtable::vfork_parent_restore): Add debugging statement.
* exceptions.cc (try_to_debug): Spin only as long as we don't have a debugger
attached.
* fhandler.h (fhandler_base::set_nohandle): New method.
(fhandler_base::get_nohandle): New method.
* fhandler.cc (fhandler_base::dup): Avoid duplicating handle if there is no
handle.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set nohandle flag on
dummy fd.
* Makefile.in: Make intermediate library for eventual inclusion in libcygwin.a
* fhandler.h (fhandler_pipe::fhandler_pipe): Remove default argument setting
since it is no longer used.
* miscfuncs.cc (check_null_str): New function.
(+check_null_str_errno): Ditto.
* net.cc: Add defensive buffer checking throughout.
(cygwin_sendto): Protect against invalid fd.
(cygwin_recvfrom): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_recv): Ditto.
(cygwin_send): Ditto.
* winsup.h: Declare a new function.
* select.cc (set_bits): Fix conditional for setting fd in exceptfds.
* dtable.cc (dtable::build_fhandler): Create fhandler_pipe using correct device
type.
* path.cc (get_devn): Set correct pipe device type from device name.

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

22 years agoAdd x86 OpenBSD native configuration.
kettenis [Fri, 23 Nov 2001 23:01:52 +0000 (23:01 +0000)]
Add x86 OpenBSD native configuration.
* config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh,
config/i386/nm-obsd.h: New files.
* configure.host (i[3456]86-*-openbsd*): New host.
* configure.tgt (i[3456]86-*-openbsd*): New target.
* NEWS: Update.

22 years agodaily update
amodra [Fri, 23 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago * gas/all/gas.exp (incbin): Do not run on the PA.
law [Fri, 23 Nov 2001 16:26:00 +0000 (16:26 +0000)]
    * gas/all/gas.exp (incbin): Do not run on the PA.

22 years ago * gas/hppa/parse/parse.exp: Expect failure on line separator bug.
law [Fri, 23 Nov 2001 16:18:12 +0000 (16:18 +0000)]
    * gas/hppa/parse/parse.exp: Expect failure on line separator bug.

22 years ago * elf32-sparc.c (elf32_sparc_relocate_section): Don't clear
jakub [Fri, 23 Nov 2001 13:16:37 +0000 (13:16 +0000)]
* elf32-sparc.c (elf32_sparc_relocate_section): Don't clear
relocations in non-alloced sections against global symbols
defined in shared library being built.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.

22 years ago * elf.c (_bfd_elf_rela_local_sym): New.
jakub [Fri, 23 Nov 2001 12:17:10 +0000 (12:17 +0000)]
* elf.c (_bfd_elf_rela_local_sym): New.
* elflink.h (elf_link_input_bfd): Don't consider empty
merged sections as removed in relocation tests.
* elf-bfd.h (_bfd_elf_rela_local_sym): Add prototype.
* elf32-i386.c (elf_i386_relocate_section): Handle relocs
against STT_SECTION symbol of SHF_MERGE section.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-avr.c (elf32_avr_relocate_section): Call
_bfd_elf_rela_local_sym.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_final_link_relocate): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise for
!partial_inplace relocs. Handle relocs against STT_SECTION
symbol of SHF_MERGE for partial_inplace relocs.

* config/tc-alpha.c (tc_gen_reloc): Remove SEC_MERGE test.
* write.c (adjust_reloc_syms): Don't handle relocs against
SEC_MERGE section symbols specially.
(fixup_segment): Likewise.

22 years ago * pdp11-dis.c (print_insn_pdp11): Handle illegal instructions.
amodra [Fri, 23 Nov 2001 07:09:46 +0000 (07:09 +0000)]
* pdp11-dis.c (print_insn_pdp11): Handle illegal instructions.
Also, break out of the loop as soon as an instruction has been
printed.

22 years ago*** empty log message ***
gdbadmin [Fri, 23 Nov 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Thu, 22 Nov 2001 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago2001-11-22 H.J. Lu <hjl@gnu.org>
hjl [Thu, 22 Nov 2001 18:49:11 +0000 (18:49 +0000)]
2001-11-22  H.J. Lu  <hjl@gnu.org>

* Makefile.in: Regenerated with automake based on automake
1.4-8 in RedHat 7.1.

22 years agoMove SRC-POTFILES.in and BLD-POTFILES.in to maintainer-clean target.
nickc [Thu, 22 Nov 2001 16:21:01 +0000 (16:21 +0000)]
Move SRC-POTFILES.in and BLD-POTFILES.in to maintainer-clean target.

22 years ago * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
amodra [Thu, 22 Nov 2001 09:08:03 +0000 (09:08 +0000)]
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
(config.status): Delete rule.
Add extra dependencies to cover sourced emulparams files.
* Makefile.in: Regenerate.

* scripttempl/elf.sc: Order <section>, <section>.* and
corresponding linkonce sections as seen in input files.
Formatting fixes.  Zero vma of all sections if not relocating.
(STACK): Define and insert if STACK_ADDR defined.
(OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_END_SYMBOLS): Define.
(OTHER_READONLY_SECTIONS): Always insert, not just when relocating.
(OTHER_READWRITE_SECTIONS): Likewise.
(OTHER_GOT_SECTIONS): Likewise.
(OTHER_SDATA_SECTIONS): Likewise.
(OTHER_BSS_SECTIONS): Likewise.
* scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise.
(OTHER_READWRITE_SECTIONS): Likewise.
* scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise.
(OTHER_READWRITE_SECTIONS): Likewise

* emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete.
(STACK_ADDR): Define.
* emulparams/armelf_oabi.sh: As for armelf.sh.
* emulparams/elf32mcore.sh: As for armelf.sh.
* emulparams/h8300elf.sh: As for armelf.sh.
* emulparams/mn10200.sh: As for armelf.sh.
* emulparams/shelf.sh: As for armelf.sh.

* emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_END_SYMBOLS): Define.
* emulparams/m32relf.sh: As for elf32fr30.sh.
* emulparams/h8300helf.sh: As for elf32fr30.sh.
* emulparams/h8300self.sh: As for elf32fr30.sh.

* emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol
defines with RELOCATING test.
(OTHER_SDATA_SECTIONS): Likewise.
(OTHER_RELOCATING_SECTIONS): Delete, replacing with..
(OTHER_END_SYMBOLS): ..this.
* emulparams/crislinux.sh: As for criself.sh.

* emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma
if not relocating.
(OTHER_RELOCATING_SECTIONS): Delete, replacing with..
(OTHER_SECTIONS): ..this.  Zero vma if not relocating.  Order
normal and linkonce sections as seen in input files.
* emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED.
(TEXT_DYNAMIC): Likewise.
(INITIAL_READONLY_SECTIONS): Zero vma if not relocating.
(OTHER_SDATA_SECTIONS): Likewise.
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise.
* emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise.
* emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise.
* emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise.
(OTHER_PLT_RELOC_SECTIONS): Likewise.
(OTHER_READONLY_SECTIONS): Likewise.  Order normal and linkonce
sections as seen in input files.
* emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh.
* emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma
if not relocating.
(OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise.
(OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh.
* emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete.
(OTHER_SECTIONS): Instead, use this..
(OTHER_END_SYMBOLS): ..and this.

* emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates.
* emulparams/elf32bsmip.sh: Likewise.
* emulparams/elf32btsmip.sh: Likewise.
* emulparams/elf32ebmip.sh: Likewise.
* emulparams/elf32lmip.sh: Likewise.
* emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates.
* emulparams/elf32lsmip.sh: Likewise.
* emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates.
* emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates.
* emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates.
* emulparams/elf64btsmip.sh: Likewise.
* emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates.
* emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates.
* emulparams/elf32ppclinux.sh: Likewise.
* emulparams/elf32ppcsim.sh: Likewise.
* emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates.
* emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates.
* emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates.
* emulparams/h8300self.sh: Likewise.
* emulparams/mn10300.sh: Source mn10200.sh, remove duplicates.
* emulparams/sh.sh: Comment.
* emulparams/shl.sh: Source sh.sh, remove duplicates.
* emulparams/shlelf.sh: Source shelf.sh, remove duplicates.
* emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates.

22 years ago* path.cc (conv_path_list): Fix wild indexing into path due to conflicting
cgf [Thu, 22 Nov 2001 05:59:06 +0000 (05:59 +0000)]
* path.cc (conv_path_list): Fix wild indexing into path due to conflicting
methods for setting src pointer.
* dir.cc (opendir): Only pass path_conv argument to opendir, since name is
already part of the fhandler.
* dtable.cc (dtable::build_fhandler): Accomodate new FH_CYGDRIVE type.
* fhandler.cc (fhandler_base::opendir): Nuke name argument.
* fhandler.h: Add FH_CYGDRIVE to "device" enum.
(fhandler_base::opendir): Nuke name argument.
(fhandler_disk_file::opendir): Ditto.
(fhandler_disk_file::fhandler_disk_file): Declare new method which passes
devtype through.
(fhandler_cygdrive): Add elements for tracking drives.
(fhandler_cygdrive::set_drives): Declare new method.
(fhandler_cygdrive::iscygdrive_root): Declare new method.
(fhandler_cygdrive::opendir): Declare new method.
(fhandler_cygdrive::readdir): Declare new method.
(fhandler_cygdrive::telldir): Declare new method.
(fhandler_cygdrive::seekdir): Declare new method.
(fhandler_cygdrive::rewinddir): Declare new method.
(fhandler_cygdrive::closedir): Declare new method.
(fhandler_cygdrive::fstat): Declare new method.
* fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file): Define new
method which passes devtype through.
(fhandler_disk_file::open): Tweak debug output.
(fhandler_disk_file::opendir): Nuke first argument.  Use info from path_conv
and class rather than calling fstat.
(fhandler_cygdrive::set_drives): New method.
(fhandler_cygdrive::iscygdrive_root): New method.
(fhandler_cygdrive::opendir): New method.
(fhandler_cygdrive::readdir): New method.
(fhandler_cygdrive::telldir): New method.
(fhandler_cygdrive::seekdir): New method.
(fhandler_cygdrive::rewinddir): New method.
(fhandler_cygdrive::closedir): New method.
(fhandler_cygdrive::fstat): New method.
* path.cc (iscygdrive_device): Assume cygdriveness is already verified.
(path_conv::check): Treat FH_CYGDRIVE "method" as a special case, setting file
attributes as needed.
(mount_info::conv_to_win32_path): Allow stand-alone /cygdrive, meaning "the
directory which contains all of the drives on the system".
(fillout_mntent): Use cyg_tolower for conversions.
(mount_info::cygdrive_win32_path): Replace unused argument with unit number.
* shared_info.h (mount_info::cygdrive_win32_path): Reflect argument change.

22 years agoMention 5.1 release.
cagney [Thu, 22 Nov 2001 05:52:23 +0000 (05:52 +0000)]
Mention 5.1 release.

22 years ago2001-11-21 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 22 Nov 2001 01:13:10 +0000 (01:13 +0000)]
2001-11-21  Michael Snyder  <msnyder@redhat.com>

* gdb.asm/m32r.inc: New file.
* gdb.asm/asm-source.exp: Recognize m32r target.
* gdb.asm/configure.in: Recognize m32r target.
* gdb.asm/configure: Regenerate.

22 years ago2001-11-20 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 22 Nov 2001 01:07:23 +0000 (01:07 +0000)]
2001-11-20  Michael Snyder  <msnyder@redhat.com>

* gdb.asm/i386.inc: New file.
* gdb.asm/asm-source.exp: Recognize ix86 target.
* gdb.asm/configure.in: Recognize ix86 target.
* gdb.asm/configure: Regenerate.

22 years ago* path.cc (cygpath): Don't consider cygpath stuff when trying to derive native
cgf [Thu, 22 Nov 2001 00:29:04 +0000 (00:29 +0000)]
* path.cc (cygpath): Don't consider cygpath stuff when trying to derive native
paths.

22 years ago * library/interface.tcl (gdbtk_tcl_preloop): Override session's
tromey [Thu, 22 Nov 2001 00:26:11 +0000 (00:26 +0000)]
* library/interface.tcl (gdbtk_tcl_preloop): Override session's
command-line arguments if required.

22 years ago Fix for PR gdb/209, PR gdb/156:
tromey [Thu, 22 Nov 2001 00:23:11 +0000 (00:23 +0000)]
Fix for PR gdb/209, PR gdb/156:
* gdbarch.c, gdbarch.h: Rebuilt.
* gdbarch.sh: Added `construct_inferior_arguments'.
* cli/cli-decode.h (cmd_list_element): Added pre_show_hook.
Typo fix.
* cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook.
* infcmd.c (_initialize_infcmd): Set sfunc on `set args' command.
(inferior_argc, inferior_argv): New globals.
(notice_args_set): New function.
(set_inferior_args): Clear inferior_argc and inferior_argv.
(set_inferior_args_vector): New function.
(get_inferior_args): Handle inferior argument vector.
(run_command): Use get_inferior_args().
(notice_args_read): New function.
(_initialize_infcmd): Don't call set_inferior_args.
* command.h: Typo fix.
(cmd_list_element): Added pre_show_hook.
* main.c (captured_main): Added --args option.
(print_gdb_help): Document --args.
* inferior.h (construct_inferior_arguments): Declare.
(set_inferior_args_vector): Likewise.
* fork-child.c (construct_inferior_arguments): New function.

22 years ago * gdb.texinfo (Invoking GDB): Document --args.
tromey [Thu, 22 Nov 2001 00:21:45 +0000 (00:21 +0000)]
* gdb.texinfo (Invoking GDB): Document --args.
(Mode Options): Likewise.

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

22 years ago Patch by Pierre Muller <muller@ics.u-strasbg.fr>:
corinna [Wed, 21 Nov 2001 23:13:59 +0000 (23:13 +0000)]
Patch by Pierre Muller  <muller@ics.u-strasbg.fr>:
* w32api/include/winnt.h: prepare SSE register support.
(CONTEXT_EXTENDED_REGISTERS): Add new define.
(MAXIMUM_SUPPORTED_EXTENSION): New define.
(struct CONTEXT): ExtendedRegisters field added.

22 years agodaily update
amodra [Wed, 21 Nov 2001 23:00:51 +0000 (23:00 +0000)]
daily update

22 years ago* gdbint.texinfo (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):
jimb [Wed, 21 Nov 2001 22:26:48 +0000 (22:26 +0000)]
* gdbint.texinfo (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):
Delete documentation; this macro has been removed from the
sources.

22 years agoFix two ``attach'' related bugs involving threads.
kevinb [Wed, 21 Nov 2001 21:56:46 +0000 (21:56 +0000)]
Fix two ``attach'' related bugs involving threads.

22 years ago * elfxx-ia64.c (elfNN_ia64_relocate_section): Test r_symndx rather
amodra [Wed, 21 Nov 2001 14:58:26 +0000 (14:58 +0000)]
* elfxx-ia64.c (elfNN_ia64_relocate_section): Test r_symndx rather
than sym_sec->output_section to detect relocs against discarded
sections.

22 years ago * config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from...
rsandifo [Wed, 21 Nov 2001 11:24:12 +0000 (11:24 +0000)]
* config/tc-mips.c (mips_need_elf_addend_fixup): New, extracted from...
(md_apply_fix3): ...here.  Don't prevent the symbol value being
subtracted twice from GPREL addends.
(tc_gen_reloc): Add the symbol value to a GPREL addend if it was
subtracted by the previous function.

22 years ago Patch by Mark Bradshaw <bradshaw@staff.crosswalk.com>:
corinna [Wed, 21 Nov 2001 10:39:43 +0000 (10:39 +0000)]
Patch by Mark Bradshaw <bradshaw@staff.crosswalk.com>:
* mkpasswd.c: include lmerr.h
(main): New -u option to allow specifying a
specific user.  If specified, groups aren't displayed and
output is limited to only the specified user.
(enum_users): If specific user is specified, via -u option,
display only that user's record.  With -u use NetUserGetInfo
instead of NetUserEnum.
(load_netapi): Added netusergetinfo.

22 years ago* libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
cgf [Wed, 21 Nov 2001 06:57:42 +0000 (06:57 +0000)]
* libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.

22 years ago* Makefile.in (DLL_OFILES): Add fhandler_disk_file.o.
cgf [Wed, 21 Nov 2001 06:47:56 +0000 (06:47 +0000)]
* Makefile.in (DLL_OFILES): Add fhandler_disk_file.o.
* cygheap.h (cygheap_fdnew::operator =): New operator.
* dir.cc: Add invalid struct checking throughout.  Use methods for all
directory manipulation throughout.
* fhandler.cc: Move fhandler_disk_file stuff to own file.
(fhandler_base::opendir): New method.
(fhandler_base::readdir): New method.
(fhandler_base::telldir): New method.
(fhandler_base::seekdir): New method.
(fhandler_base::rewinddir): New method.
(fhandler_base::closedir): New method.
* fhandler_disk_file.cc: New file.
* fhandler.h (fhandler_base): Declare new virtual methods.
(fhandler_disk_file): Ditto.
(fhandler_cygdrive): New class.
* path.cc (conv_path_list): Use strccpy to break apart path.

22 years agoChange copyright.
cgf [Wed, 21 Nov 2001 04:21:36 +0000 (04:21 +0000)]
Change copyright.

22 years ago* target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
jimb [Wed, 21 Nov 2001 02:01:29 +0000 (02:01 +0000)]
* target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
default definition; this is never used.

22 years ago* Regenerate with latest configrun-sid.
bje [Wed, 21 Nov 2001 01:45:08 +0000 (01:45 +0000)]
* Regenerate with latest configrun-sid.

22 years ago * ldlang.c (map_input_to_output_sections): Replace "break"
amodra [Wed, 21 Nov 2001 01:13:15 +0000 (01:13 +0000)]
* ldlang.c (map_input_to_output_sections): Replace "break"
accidentally removed with 2001-08-03 change.
(lang_gc_sections_1): Likewise.

22 years agodaily update
amodra [Wed, 21 Nov 2001 00:53:38 +0000 (00:53 +0000)]
daily update

22 years ago2001-11-20 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 21 Nov 2001 00:13:29 +0000 (00:13 +0000)]
2001-11-20  Michael Snyder  <msnyder@redhat.com>

* gdb.c++/namespace.exp: Fix quotes in output messages.

22 years ago2001-11-14 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 21 Nov 2001 00:12:00 +0000 (00:12 +0000)]
2001-11-14  Michael Snyder  <msnyder@redhat.com>

* gdb.base/code-exprs.exp: New file.  Tests use of the "@code"
qualifier in a type cast expression, to designate an address
in the instruction space (Harvard architecture).