OSDN Git Service

pf3gnuchains/sourceware.git
22 years ago*** empty log message ***
gdbadmin [Sat, 22 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
kettenis [Fri, 21 Sep 2001 22:57:29 +0000 (22:57 +0000)]
* x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.

22 years agofix error
davidsb [Fri, 21 Sep 2001 20:42:47 +0000 (20:42 +0000)]
fix error

22 years agoUpdate contents.
davidsb [Fri, 21 Sep 2001 20:40:50 +0000 (20:40 +0000)]
Update contents.
Expanded anti-virus information.
How to uninstall a package.

22 years agonew entry "Can I build a Cygwin program that does not require cygwin1.dll at runtime?"
davidsb [Fri, 21 Sep 2001 18:20:21 +0000 (18:20 +0000)]
new entry "Can I build a Cygwin program that does not require cygwin1.dll at runtime?"

22 years agoFix compile time warnings
nickc [Fri, 21 Sep 2001 14:25:08 +0000 (14:25 +0000)]
Fix compile time warnings

22 years ago * arc-dis.c: Don't include <ctype.h>.
amodra [Fri, 21 Sep 2001 12:36:56 +0000 (12:36 +0000)]
* arc-dis.c: Don't include <ctype.h>.
* openrisc-desc.c: Likewise.
* openrisc-ibld.c: Likewise.

22 years ago * config/tc-openrisc.c: Don't include <ctype.h>.
amodra [Fri, 21 Sep 2001 12:34:40 +0000 (12:34 +0000)]
* config/tc-openrisc.c: Don't include <ctype.h>.

22 years ago* config/i386/x86-64linux.mh: New file.
smid [Fri, 21 Sep 2001 12:24:55 +0000 (12:24 +0000)]
* config/i386/x86-64linux.mh: New file.
* config/i386/x86-64linux.mt: New file.
* config/i386/nm-x86_64.h: New file.
* x86-64-linux-tdep.c: New file.
* x86-64-linux-nat.c: New file.
* x86-64-tdep.c: New file.
* x86-64-tdep.h: New file.
* i386-tdep.h: New file.
* i387-nat.c: Include i386-tdep.h when multiarch.
* i387-tdep.c: Ditto.
* config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
and x86_64-linux-nat.c
* Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.

22 years ago* config/i386/x86-64linux.mh: New file.
smid [Fri, 21 Sep 2001 12:19:15 +0000 (12:19 +0000)]
* config/i386/x86-64linux.mh: New file.
* config/i386/x86-64linux.mt: New file.
* config/i386/nm-x86_64.h: New file.
* x86-64-linux-tdep.c: New file.
* x86-64-linux-nat.c: New file.
* x86-64-tdep.c: New file.
* x86-64-tdep.h: New file.
* config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
and x86_64-linux-nat.c
* Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.

22 years ago* i386-tdep.h: New file.
smid [Fri, 21 Sep 2001 12:15:15 +0000 (12:15 +0000)]
* i386-tdep.h: New file.
* i387-nat.c: Include i386-tdep.h when multiarch.
* i387-tdep.c: Ditto.

22 years ago2001-09-21 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 21 Sep 2001 12:03:04 +0000 (12:03 +0000)]
2001-09-21  Frank Ch. Eigler  <fche@redhat.com>

* lib/monkey.exp (monkey_test_state_restore): Undo this change.

22 years ago* MAINTAINERS: Add myself to the write-after-approval list.
smid [Fri, 21 Sep 2001 07:17:52 +0000 (07:17 +0000)]
* MAINTAINERS: Add myself to the write-after-approval list.
* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
i386_insert_watchpoint, i386_remove_watchpoint):  Add support for
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.

22 years ago* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
smid [Fri, 21 Sep 2001 07:16:03 +0000 (07:16 +0000)]
* i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
(i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
i386_insert_watchpoint, i386_remove_watchpoint):  Add support for
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.

22 years ago* MAINTAINERS: Add myself to the write-after-approval list.
smid [Fri, 21 Sep 2001 07:14:31 +0000 (07:14 +0000)]
* MAINTAINERS: Add myself to the write-after-approval list.

22 years agofix compile time warning messages
nickc [Fri, 21 Sep 2001 06:52:20 +0000 (06:52 +0000)]
fix compile time warning messages

22 years ago* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET,
aoliva [Fri, 21 Sep 2001 05:14:32 +0000 (05:14 +0000)]
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET,
DLLTOOL_FOR_TARGET, WINDRES_FOR_TARGET, AR_FOR_TARGET,
RANLIB_FOR_TARGET, NM_FOR_TARGET): Don't use double quotes to
avoid quotes nesting problems.
(NATIVE_CHECK_MODULES): Ditto, just for consistency.
(DO_X): Export only variables that are set.

22 years ago * Makefile.am: Run "make dep-am".
amodra [Fri, 21 Sep 2001 02:12:28 +0000 (02:12 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.

* aoutx.h: Formatting fixes.
* merge.c (_bfd_merged_section_offset): Break line at 80 chars.

* linker.c: Replace bfd_get_filename with bfd_archive_filename
in error message.

22 years ago* Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.
cgf [Fri, 21 Sep 2001 01:01:27 +0000 (01:01 +0000)]
* Makefile.in (MINGW_INCLUDES): Still need cygwin/include directory.

22 years ago*** empty log message ***
gdbadmin [Fri, 21 Sep 2001 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * bfd.c (bfd_archive_filename): New function.
amodra [Thu, 20 Sep 2001 23:30:33 +0000 (23:30 +0000)]
* bfd.c (bfd_archive_filename): New function.
* bfd-in2.h: Regenerate.
* aout-adobe.c: Replace bfd_get_filename with bfd_archive_filename
in error messages where the bfd is an input bfd.
* aout-cris.c: Likewise.
* coff-arm.c: Likewise.
* coff-mcore.c: Likewise.
* coff-ppc.c: Likewise.
* coff-rs6000.c: Likewise.
* coff-sh.c: Likewise.
* coff-tic54x.c: Likewise.
* coff-tic80.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cofflink.c: Likewise.
* ecofflink.c: Likewise.
* elf-hppa.h: Likewise.
* elf.c: Likewise.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-gen.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i370.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-mips.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sparc.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-gen.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sparc.c: Likewise.
* elf64-x86-64.c: Likewise.
* elflink.h: Likewise.
* elfxx-ia64.c: Likewise.
* ieee.c: Likewise.
* ihex.c: Likewise.
* libbfd.c: Likewise.
* pdp11.c: Likewise.
* pe-mips.c: Likewise.
* peicode.h: Likewise.
* srec.c: Likewise.
* xcofflink.c: Likewise.

* elf32-arm.h: Make _bfd_error_handler calls K&R compatible.

* elflink.c (_bfd_elf_create_linker_section): Better grammar for
error message.

* coff-mcore.c (coff_mcore_relocate_section): Internalionalise
error message.

* elf64-sparc.c (sparc64_elf_add_symbol_hook): Constify stt_types.
Consolidate error messages, and split long messages to two lines.

22 years agoNew entry "Why doesn't //c (for C:) work anymore?"
davidsb [Thu, 20 Sep 2001 21:23:17 +0000 (21:23 +0000)]
New entry "Why doesn't //c (for C:) work anymore?"

22 years ago* fhandler.cc (fhandler_base::set_inheritance): Just use DUPLICATE_CLOSE_SOURCE
cgf [Thu, 20 Sep 2001 20:58:29 +0000 (20:58 +0000)]
* fhandler.cc (fhandler_base::set_inheritance): Just use DUPLICATE_CLOSE_SOURCE
to change inheritance.  Eliminate all other logic dealing with closed handles.
* fhandler.h (fhandler_base::set_inheritance): Reflect above change.
* fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Ditto.

22 years agoMake set_solib_svr4_fetch_link_map_offsets() work as intended.
kevinb [Thu, 20 Sep 2001 20:07:55 +0000 (20:07 +0000)]
Make set_solib_svr4_fetch_link_map_offsets() work as intended.

22 years ago* resilience tweak
fche [Thu, 20 Sep 2001 17:17:52 +0000 (17:17 +0000)]
* resilience tweak

2001-09-20  Frank Ch. Eigler  <fche@redhat.com>

        * lib/monkey.exp (monkey_test_attribute): Add another paranoid
        level of tcl quoting for garbage strings.
        (monkey_test_state_restore): Ditto.

22 years ago* resilience fix
fche [Thu, 20 Sep 2001 17:15:41 +0000 (17:15 +0000)]
* resilience fix

2001-09-20  Frank Ch. Eigler  <fche@redhat.com>

        * sidbusutil.h (mux_passthrough_bus): Rework to clean up and
        avoid NULL pointer dereference.

22 years ago* libltp/lib/get_high_address.c (get_high_address): Get inaccessible
duda [Thu, 20 Sep 2001 15:44:41 +0000 (15:44 +0000)]
* libltp/lib/get_high_address.c (get_high_address): Get inaccessible
address more robustly.
* winsup.api/ltp/stat06.c (high_address_setup): Use generic function
from ltp library to obtain inaccessible address.

22 years agooops - forgot to check for clean 64 bit build - fix compile time warning
nickc [Thu, 20 Sep 2001 15:33:41 +0000 (15:33 +0000)]
oops - forgot to check for clean 64 bit build - fix compile time warning

22 years agoFix compile time warnings
nickc [Thu, 20 Sep 2001 15:28:24 +0000 (15:28 +0000)]
Fix compile time warnings

22 years ago * fhandler_socket.cc (fhandler_socket::fixup_after_exec): Close
corinna [Thu, 20 Sep 2001 11:35:49 +0000 (11:35 +0000)]
    * fhandler_socket.cc (fhandler_socket::fixup_after_exec): Close
        socket only when not using Winsock2.

22 years ago * fhandler.h (fhandler_socket::fixup_after_exec): Remove inline
corinna [Thu, 20 Sep 2001 11:29:48 +0000 (11:29 +0000)]
    * fhandler.h (fhandler_socket::fixup_after_exec): Remove inline
        implementation.
        (fhandler_dev_raw::fixup_after_exec): Ditto.
        * fhandler_raw.cc (fhandler_dev_raw::fixup_after_fork): Don't
        duplicate buffer on fork to avoid memory leak.
        (fhandler_dev_raw::fixup_after_exec): New implementation equal to
        former fixup_after_fork() implementation.
        * fhandler_socket.cc (fhandler_socket::fixup_after_fork): Do
        nothing when not using Winsock2.
        (fhandler_socket::fixup_after_exec): New implementation.
        (fhandler_socket::set_close_on_exec): Never call set_inheritance().

22 years agoAdd option -mwarn-areg-zero.
nickc [Thu, 20 Sep 2001 10:59:41 +0000 (10:59 +0000)]
Add option -mwarn-areg-zero.

22 years agocoordinate info->symbolic and info->allow_shlib_undefined
nickc [Thu, 20 Sep 2001 10:37:33 +0000 (10:37 +0000)]
coordinate info->symbolic and info->allow_shlib_undefined

22 years ago * fhandler.cc (fhandler_base::set_inheritance): If available,
corinna [Thu, 20 Sep 2001 08:02:00 +0000 (08:02 +0000)]
    * fhandler.cc (fhandler_base::set_inheritance): If available,
        use SetHandleInformation() to set inheritance.
        * wincap.cc: Set flag has_set_handle_information_on_console_handles
        appropriately.
        * wincap.h: Add flag has_set_handle_information_on_console_handles.

22 years ago * coffread.c: Replace all occurrences of bfd_read with bfd_bread.
amodra [Thu, 20 Sep 2001 03:03:39 +0000 (03:03 +0000)]
* coffread.c: Replace all occurrences of bfd_read with bfd_bread.
* dbxread.c: Likewise.
* dwarf2read.c: Likewise.
* dwarfread.c: Likewise.
* somread.c: Likewise.
* ultra3-nat.c: Likewise.
* xcoffread.c: Likewise.

22 years ago*** empty log message ***
gdbadmin [Thu, 20 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2001-09-18 Danny Smith <dannysmith@users.sourceforge.net>
earnie [Wed, 19 Sep 2001 23:56:11 +0000 (23:56 +0000)]
2001-09-18  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winnt.h (_[U]LARGE_INTEGER): Mark nameless structure
field as _ANONYMOUS_STRUCT.
* include/setupapi.h (SP_DEVINSTALL_PARAMS): Add missing typedef
for UNICODE.
* include/ipexport.h (icmp_echo_reply): Remove extra ';'.
* lib/makefile.in: Add -pedantic switch to TEST_OPTIONS for header
test.

2001-09-17  Mattia Barbon  <mbarbon@dsi.unive.it>

* include/commctrl.h: Add some ListView constants.

2001-09-17  Earnie Boyd  <earnie@sf.net>

* lib/Makefile.in (inst_includedir): Add FIXME and remove the usr/
portion of the directory from the install.
(inst_libdir): Ditto.
* Makefile.in (VERSION): Increment.
* include/w32api.h: Increment version.

22 years agoAdd -t option.
cgf [Wed, 19 Sep 2001 22:06:33 +0000 (22:06 +0000)]
Add -t option.

22 years ago* cris-tdep.c (cris_get_signed_offset): Change return type to an
cagney [Wed, 19 Sep 2001 21:59:40 +0000 (21:59 +0000)]
* cris-tdep.c (cris_get_signed_offset): Change return type to an
explicitly signed char.

22 years ago* config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
cagney [Wed, 19 Sep 2001 20:43:52 +0000 (20:43 +0000)]
* config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
function signature to match recent tracepoint.c:encode_actions
changes.
* mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.

22 years ago * library/main.tcl: Append iwidgets library path, if needed.
kseitz [Wed, 19 Sep 2001 18:10:37 +0000 (18:10 +0000)]
* library/main.tcl: Append iwidgets library path, if needed.
* generic/gdbtk.c (gdbtk_init): Add TCLLIBPATH to iwidgets
package index.
Define IWIDGETS_LIBRARY in interpreter so that we can add
this path to the auto_path at the right time later.

22 years agoFix compile time warning messages
nickc [Wed, 19 Sep 2001 17:40:27 +0000 (17:40 +0000)]
Fix compile time warning messages

22 years ago2000-09-19 H.J. Lu <hjl@gnu.org>
hjl [Wed, 19 Sep 2001 17:02:38 +0000 (17:02 +0000)]
2000-09-19  H.J. Lu  <hjl@gnu.org>

* doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
$(srcdir)/cxxfilt.man.
* doc/Makefile.in: Rebuild.

22 years ago* lib/getopt.c (__progname): Don't declare if not compiling for cygwin.
cgf [Wed, 19 Sep 2001 16:24:10 +0000 (16:24 +0000)]
* lib/getopt.c (__progname): Don't declare if not compiling for cygwin.

22 years ago* Makefile.in: Filter newlib includes from mingw compilation.
cgf [Wed, 19 Sep 2001 16:22:47 +0000 (16:22 +0000)]
* Makefile.in: Filter newlib includes from mingw compilation.

22 years ago * lib/getopt.c (getopt_long): Avoid compiler warning.
corinna [Wed, 19 Sep 2001 16:08:31 +0000 (16:08 +0000)]
    * lib/getopt.c (getopt_long): Avoid compiler warning.

22 years ago* lib/getopt.c: Use __progname==__argv[0] when not compiling for cygwin.
cgf [Wed, 19 Sep 2001 15:54:11 +0000 (15:54 +0000)]
* lib/getopt.c: Use __progname==__argv[0] when not compiling for cygwin.
* scandir.cc (scandir): Use correct default when compar == NULL.

22 years ago * fhandler_socket.cc (fhandler_socket::fhandler_socket): Revert
corinna [Wed, 19 Sep 2001 15:50:54 +0000 (15:50 +0000)]
    * fhandler_socket.cc (fhandler_socket::fhandler_socket): Revert
        memory allocation to use cmalloc again.

22 years ago* approved by kseitz
fche [Wed, 19 Sep 2001 15:39:53 +0000 (15:39 +0000)]
* approved by kseitz

2001-09-19  Frank Ch. Eigler  <fche@redhat.com>

* lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
to localhost:NNN instead of :NNN, in case Xvfb is listening
only on TCP.

22 years ago2001-09-19 Earnie Boyd <earnie@SF.net>
earnie [Wed, 19 Sep 2001 15:37:18 +0000 (15:37 +0000)]
2001-09-19  Earnie Boyd  <earnie@SF.net>

* Makefile.in: Remove the /usr from the install target.
(VERSION): Increment.
include/_mingw.h: Ditto.

22 years ago * gdb.base/recurse.exp: When checking leaving the watchpoint
corinna [Wed, 19 Sep 2001 08:21:17 +0000 (08:21 +0000)]
    * gdb.base/recurse.exp: When checking leaving the watchpoint
        scope, recognize when gdb is in function's epilogue and pass.

22 years ago * config/tc-i370.c: Fix typo in last change.
amodra [Wed, 19 Sep 2001 08:13:03 +0000 (08:13 +0000)]
* config/tc-i370.c: Fix typo in last change.

22 years agoImprove documentation on local labels and add documenation about dollar labels.
nickc [Wed, 19 Sep 2001 07:55:20 +0000 (07:55 +0000)]
Improve documentation on local labels and add documenation about dollar labels.

22 years ago * objcopy.c (copy_main): Correct rename-section string parsing.
amodra [Wed, 19 Sep 2001 06:58:06 +0000 (06:58 +0000)]
* objcopy.c (copy_main): Correct rename-section string parsing.
Consolidate new_name parsing, and error messages.

22 years ago2001-09-19 Ben Elliston <bje@redhat.com>
bje [Wed, 19 Sep 2001 06:07:35 +0000 (06:07 +0000)]
2001-09-19  Ben Elliston  <bje@redhat.com>

* configure.in (sparc-sun-solaris2*): Don't use /usr/bin/which on
Solaris when testing for the /usr/ucb/cc compiler; it has incorrect
semantics.  Use the shell built-in "type" command instead.

22 years agoLocale changes from Bruno Haible <haible@clisp.cons.org>.
hjl [Wed, 19 Sep 2001 05:33:10 +0000 (05:33 +0000)]
Locale changes from Bruno Haible  <haible@clisp.cons.org>.

22 years ago* cygwin.din (__argv): Export.
cgf [Wed, 19 Sep 2001 01:07:10 +0000 (01:07 +0000)]
* cygwin.din (__argv): Export.
(__argc): Ditto.
(__progname): Ditto.
* include/getopt.h (getopt_long): constify arguments.
* lib/getopt.c: Import new file from NetBSD.

22 years ago * Makefile.in: Fixed bad merge when installing
irox [Wed, 19 Sep 2001 00:44:46 +0000 (00:44 +0000)]
* Makefile.in: Fixed bad merge when installing
../doc/*.n man files.

22 years ago * lib/insight-support.exp (_gdbtk_export_target_info): Add
kseitz [Wed, 19 Sep 2001 00:08:43 +0000 (00:08 +0000)]
* lib/insight-support.exp (_gdbtk_export_target_info): Add
support for running tests against sid targets.
(gdbtk_done): Ditto.

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

22 years ago * Makefile.in: Added TK_CFLAGS for flags that
irox [Tue, 18 Sep 2001 21:16:08 +0000 (21:16 +0000)]
* Makefile.in: Added TK_CFLAGS for flags that
shouldn't be supressed by the top level Makefile's
CFLAGS settings.

22 years ago * Makefile.in: Added TCL_CFLAGS for flags that
irox [Tue, 18 Sep 2001 21:11:11 +0000 (21:11 +0000)]
* Makefile.in: Added TCL_CFLAGS for flags that
shouldn't be supressed by the top level Makefile's
CFLAGS settings.

22 years agomerge from gcc
dj [Tue, 18 Sep 2001 21:02:02 +0000 (21:02 +0000)]
merge from gcc

22 years ago * gdb.base/ending-run.c (main): Set stdout buffersize
corinna [Tue, 18 Sep 2001 17:49:05 +0000 (17:49 +0000)]
    * gdb.base/ending-run.c (main): Set stdout buffersize
        to the same reasonable value for any target.
        * gdb.base/ending-run.exp: Add a regular expression
        to make testsuite happy on Sanyo Stormy16 target.

22 years ago * mmap.cc (mmap): Don't reuse anonymous memory in MAP_FIXED case.
corinna [Tue, 18 Sep 2001 17:10:08 +0000 (17:10 +0000)]
    * mmap.cc (mmap): Don't reuse anonymous memory in MAP_FIXED case.

22 years agooops omitted in previous delta
nickc [Tue, 18 Sep 2001 15:42:41 +0000 (15:42 +0000)]
oops omitted in previous delta

22 years agos390 assembler improvements and testsuite
nickc [Tue, 18 Sep 2001 15:41:32 +0000 (15:41 +0000)]
s390 assembler improvements and testsuite

22 years ago * sparc.c (sparc_find_call): Warning fix.
amodra [Tue, 18 Sep 2001 11:12:25 +0000 (11:12 +0000)]
* sparc.c (sparc_find_call): Warning fix.
* alpha.c (alpha_find_call): Likewise.

22 years ago * deffilep.y (def_stash_module): Constify "name" param.
amodra [Tue, 18 Sep 2001 10:10:19 +0000 (10:10 +0000)]
* deffilep.y (def_stash_module): Constify "name" param.

* pe-dll.c: Replace CONST with const throughout.
(quick_symbol): Constify "n1", "n2", "n3" params.
(make_singleton_name_thunk): Constify "import" param.  Make
"buffer_len" a size_t.
(make_import_fixup_entry): Constify "name", "fixup_name",
"dll_symname" params.
(pe_get16): Cast args of bfd_seek.  Replace bfd_read with bfd_bread.
(pe_get32): Likewise.
(pe_implied_import_dll): Likewise.

* emultempl/beos.em (sort_by_file_name): Constify "ra", "rb".
(sort_by_section_name): Likewise.

* emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included.
(make_import_fixup): Cast printf arg, rel->address to long rather
than int.
(gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.

22 years ago * dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.
amodra [Tue, 18 Sep 2001 10:08:14 +0000 (10:08 +0000)]
* dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.

* write.c (set_symtab): Update bfd_alloc declaration.  Use a temp
var to ensure bfd_alloc arg is the right type.
(write_object_file): Cast args of bfd_seek.  Replace bfd_write with
bfd_bwrite.

* config/obj-coff.c: Replace calls to bfd_write with calls to
bfd_bwrite.  Cast args of bfd_seek.

* config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned
warning.

* config/tc-mn10300.c (set_arch_mach): Make param unsigned.

* config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with
call to bfd_bread.

22 years ago * ar.c (print_contents): Cast args of bfd_seek to the right types.
amodra [Tue, 18 Sep 2001 10:05:55 +0000 (10:05 +0000)]
* ar.c (print_contents): Cast args of bfd_seek to the right types.
Replace bfd_read call with call to bfd_bread.
(extract_file): Likewise.

* objdump.c (dump_section_header): Cast section->filepos to
unsigned long to suit printf format string.
* readelf.c (process_section_headers): Similarly for sh_offset.
(process_unwind): Likewise.

22 years ago * bfdint.texi: Replace reference to bfd_read with bfd_bread.
amodra [Tue, 18 Sep 2001 10:03:38 +0000 (10:03 +0000)]
* bfdint.texi: Replace reference to bfd_read with bfd_bread.
Likewise for bfd_write.

22 years ago * internal.h (elf_internal_rela): Make r_addend a bfd_vma.
amodra [Tue, 18 Sep 2001 10:01:40 +0000 (10:01 +0000)]
* internal.h (elf_internal_rela): Make r_addend a bfd_vma.

22 years ago * external.h (GET_LINENO_LNNO): Use H_GET_32/16.
amodra [Tue, 18 Sep 2001 10:01:08 +0000 (10:01 +0000)]
* external.h (GET_LINENO_LNNO): Use H_GET_32/16.
(PUT_LINENO_LNNO): Use H_PUT_32/16.
* m88k.h (GET_LNSZ_SIZE, GET_LNSZ_LNNO, GET_SCN_NRELOC,
GET_SCN_NLINNO): Use H_GET_32.
(PUT_LNSZ_LNNO, PUT_LNSZ_SIZE, PUT_SCN_NRELOC, PUT_SCN_NLINNO):
Use H_PUT_32.
* ti.h: Formatting fixes.  Make use of H_GET_* and H_PUT_* throughout.
* xcoff.h: White space changes.

22 years ago * aout64.h: Formatting fixes.
amodra [Tue, 18 Sep 2001 10:00:23 +0000 (10:00 +0000)]
* aout64.h: Formatting fixes.
(N_TXTADDR): Evaluate to a bfd_vma.
(N_DATADDR): Avoid negative unsigned warning.
* hp300hpux.h: Formatting fixes.
(N_DATADDR): As above.

22 years ago * objalloc.h (OBJALLOC_ALIGN): Define using offsetof.
amodra [Tue, 18 Sep 2001 09:59:28 +0000 (09:59 +0000)]
* objalloc.h (OBJALLOC_ALIGN): Define using offsetof.

22 years agoTouches most files in bfd/, so likely will be blamed for everything..
amodra [Tue, 18 Sep 2001 09:57:21 +0000 (09:57 +0000)]
Touches most files in bfd/, so likely will be blamed for everything..

o  bfd_read and bfd_write lose an unnecessary param and become
   bfd_bread and bfd_bwrite.

o  bfd_*alloc now all take a bfd_size_type arg, and will error if
   size_t is too small.  eg. 32 bit host, 64 bit bfd, verrry big files
   or bugs in linker scripts etc.

o  file_ptr becomes a bfd_signed_vma.  Besides matching sizes with
   various other types involved in handling sections, this should make
   it easier for bfd to support a 64 bit off_t on 32 bit hosts that
   provide it.

o  I've made the H_GET_* and H_PUT_* macros (which invoke bfd_h_{get,put}_*)
   generally available.  They now cast their args to bfd_vma and
   bfd_byte * as appropriate, which removes a swag of casts from the
   source.

o  Bug fixes to bfd_get8, aix386_core_vec, elf32_h8_relax_section, and
   aout-encap.c.

o  Zillions of formatting and -Wconversion fixes.

22 years agoFix typo
nickc [Tue, 18 Sep 2001 07:55:39 +0000 (07:55 +0000)]
Fix typo

22 years agoAdd ui_out parameter to libgdb functions.
cagney [Tue, 18 Sep 2001 05:00:46 +0000 (05:00 +0000)]
Add ui_out parameter to libgdb functions.

22 years ago* back out for now.
bje [Tue, 18 Sep 2001 03:17:11 +0000 (03:17 +0000)]
* back out for now.

22 years ago*** empty log message ***
gdbadmin [Tue, 18 Sep 2001 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
dj [Mon, 17 Sep 2001 23:11:04 +0000 (23:11 +0000)]
merge from gcc

22 years agomerge from gcc
dj [Mon, 17 Sep 2001 23:10:36 +0000 (23:10 +0000)]
merge from gcc

22 years ago* libc/include/process.h: Add getpid() declaration.
cgf [Mon, 17 Sep 2001 21:30:57 +0000 (21:30 +0000)]
* libc/include/process.h: Add getpid() declaration.

22 years ago* include/io.h: Add access declaration.
cgf [Mon, 17 Sep 2001 21:29:19 +0000 (21:29 +0000)]
* include/io.h: Add access declaration.

22 years ago * gdb.base/display.c (do_loops): Add float variable `f'.
corinna [Mon, 17 Sep 2001 20:41:22 +0000 (20:41 +0000)]
    * gdb.base/display.c (do_loops): Add float variable `f'.
        Increment f in loop.
        * gdb.base/display.exp: Increment timeout by 60 seconds.
        Change float display test to use variable `f'.

22 years ago* gdb.base/restore.exp: Use temporary breakpoints, to avoid
jimb [Mon, 17 Sep 2001 19:42:28 +0000 (19:42 +0000)]
* gdb.base/restore.exp: Use temporary breakpoints, to avoid
overflowing the limited breakpoint tables on some ROM monitors
(like the ROM68K).

22 years ago2001-09-17 graydon hoare <graydon@redhat.com>
graydon [Mon, 17 Sep 2001 19:34:07 +0000 (19:34 +0000)]
2001-09-17  graydon hoare  <graydon@redhat.com>

* insn.scm (syntax-break-out): Change $ escape specifier
from \$ to $$, to reduce interactions with scheme and C escaping
conventions.
* doc/rtl.texi (Instructions): Document change.

22 years ago* syscalls.cc (rmdir): Set cwd to some other location if attempting to rmdir
cgf [Mon, 17 Sep 2001 18:10:02 +0000 (18:10 +0000)]
* syscalls.cc (rmdir): Set cwd to some other location if attempting to rmdir
current working directory.

22 years ago2001-09-17 Earnie Boyd <earnie@sf.net>
earnie [Mon, 17 Sep 2001 16:15:53 +0000 (16:15 +0000)]
2001-09-17  Earnie Boyd  <earnie@sf.net>

* lib/Makefile.in (inst_includedir): Add FIXME and remove the usr/
portion of the directory from the install.
(inst_libdir): Ditto.
* Makefile.in (VERSION): Increment.
* include/w32api.h: Increment version.

22 years ago2001-09-17 H.J. Lu <hjl@gnu.org>
hjl [Mon, 17 Sep 2001 15:13:13 +0000 (15:13 +0000)]
2001-09-17  H.J. Lu  <hjl@gnu.org>

* dwarf1.c (parse_die): Take a new arg for the end of the
section. Return false if die is beyond the section.
(parse_functions_in_unit): Pass the end of the section to
parse_die ().
(_bfd_dwarf1_find_nearest_line): Likewise.

22 years ago * Makefile.in: Increment version.
earnie [Mon, 17 Sep 2001 12:38:45 +0000 (12:38 +0000)]
* Makefile.in: Increment version.
* include/_mingw.h: Ditto.

22 years ago* dtable.h (not_open): Assure inline.
cgf [Mon, 17 Sep 2001 03:05:05 +0000 (03:05 +0000)]
* dtable.h (not_open): Assure inline.
* fhandler.h (operator []): Make const.
* sync.cc (muto::~muto): Fix typo which stopped muto event handle from ever
being closed.

22 years ago*** empty log message ***
gdbadmin [Mon, 17 Sep 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* path.cc (symlink): Check arguments for validity.
duda [Sun, 16 Sep 2001 14:26:11 +0000 (14:26 +0000)]
* path.cc (symlink): Check arguments for validity.
(getcwd): Ditto.
* syscalls.cc (ftruncate): Ditto.
* times.cc (times): Ditto.
* uname.cc (uname): Ditto.

22 years ago * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
amodra [Sun, 16 Sep 2001 04:25:33 +0000 (04:25 +0000)]
* ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
defines BufferSize.  Increase buffer size by one.

22 years ago* net.cc (dup_servent_ptr): Detect old Windows 95 misaligned structure and
cgf [Sun, 16 Sep 2001 02:56:58 +0000 (02:56 +0000)]
* net.cc (dup_servent_ptr): Detect old Windows 95 misaligned structure and
realign appropriately.

22 years agominor typo fixes.
cgf [Sun, 16 Sep 2001 02:56:48 +0000 (02:56 +0000)]
minor typo fixes.

22 years ago*** empty log message ***
gdbadmin [Sun, 16 Sep 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* winsup.api/ltp/sbrk01.c (main): Force output at startup to
duda [Sat, 15 Sep 2001 19:54:04 +0000 (19:54 +0000)]
* winsup.api/ltp/sbrk01.c (main): Force output at startup to
make sure that stdio file buffer get allocated.
* winsup.api/ltp/stat06.c (high_address_setup): On cygwin, area
after sbrk(0) may be available, use 0xffff0000 as "high address".
* winsup.api/ltp/symlink01.c: Perform all tests. Mark those tests that
don't work on cygwin with '-1'. Close open files so that temporary
directory can be deleted on exit.
* winsup.api/ltp/vfork01.c: New test.