OSDN Git Service
cagney [Wed, 14 Mar 2001 23:23:05 +0000 (23:23 +0000)]
Include regcache.h
cagney [Wed, 14 Mar 2001 22:05:33 +0000 (22:05 +0000)]
Update target list.
cagney [Wed, 14 Mar 2001 21:51:31 +0000 (21:51 +0000)]
Link with libintl, needed by libopcodes.
dj [Wed, 14 Mar 2001 21:30:22 +0000 (21:30 +0000)]
merge from gcc
dj [Wed, 14 Mar 2001 20:46:12 +0000 (20:46 +0000)]
Fix minor formatting bugs.
dj [Wed, 14 Mar 2001 20:17:36 +0000 (20:17 +0000)]
Fix minor formatting bugs.
nickc [Wed, 14 Mar 2001 19:45:29 +0000 (19:45 +0000)]
Synchronise with copyright dates on FSF GCC versions of these files
kseitz [Wed, 14 Mar 2001 18:36:45 +0000 (18:36 +0000)]
* linespec.c (decode_line_1): Skip argptr over a leading
double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
kevinb [Wed, 14 Mar 2001 18:21:03 +0000 (18:21 +0000)]
Add entry of ia64-aix-nat.c.
cagney [Wed, 14 Mar 2001 16:42:29 +0000 (16:42 +0000)]
Eliminate some uses of __STDC__.
corinna [Wed, 14 Mar 2001 15:32:48 +0000 (15:32 +0000)]
* environ.cc (parse_options): Use strtok_r instead of strtok.
* security.cc (convert_string_sid_to_sid): Ditto.
(aclfromtext): Ditto. Fix buffer usage.
corinna [Wed, 14 Mar 2001 11:13:46 +0000 (11:13 +0000)]
* path.cc (lnk_suffixes): Remove.
(class suffix_scan): Add `lnk_state' flag.
(suffix_scan::lnk_match): Return state of `lnk_state' now.
(suffix_scan::has): Changed behaviour if file has `.lnk' suffix.
(suffix_scan::next): Set `lnk_state' where appropriate.
(symlink_info::check): Fix a wrong `break'.
* syscalls.cc (chown_worker): Change debug statement to reflect
lchown fix.
(lchown): Call chown_worker with `PC_SYM_NOFOLLOW' instead of
`PC_SYM_IGNORE'.
corinna [Wed, 14 Mar 2001 08:36:33 +0000 (08:36 +0000)]
* libc/sys/cygwin/crt0.c: Add copyright hint.
* libc/sys/cygwin/sys/dirent.h: Ditto.
* libc/sys/cygwin/sys/param.h: Ditto.
* libc/sys/cygwin/sys/utime.h: Ditto.
* libc/sys/cygwin/sys/utmp.h: Ditto.
amodra [Wed, 14 Mar 2001 03:14:56 +0000 (03:14 +0000)]
David Mosberger's fixes for cross compiling gprof.
cgf [Wed, 14 Mar 2001 02:56:45 +0000 (02:56 +0000)]
* defparse.y (opt_equal_name): allow "." in name.
* dlltool.c (def_exports): Added ability to generate forwarded exports.
(gen_exp_file): Likewise.
nickc [Wed, 14 Mar 2001 02:33:30 +0000 (02:33 +0000)]
formatting fix
nickc [Wed, 14 Mar 2001 02:27:43 +0000 (02:27 +0000)]
Fix typos in ChangeLogs; add coff/external.h; fix copyright dates
cagney [Tue, 13 Mar 2001 23:31:13 +0000 (23:31 +0000)]
Eliminate ARCH_NUM_REGS.
nickc [Tue, 13 Mar 2001 22:58:33 +0000 (22:58 +0000)]
Fix typos in ChangeLogs; fix dates in copyright notices
fnasser [Tue, 13 Mar 2001 22:29:13 +0000 (22:29 +0000)]
2001-03-13 Fernando Nasser <fnasser@redhat.com>
From Steven Johnson <sjohnson@neurizon.net>
* cli/cli-script.c (define_command): Fix setting of post hooks.
fche [Tue, 13 Mar 2001 21:44:22 +0000 (21:44 +0000)]
* usability tweak
2001-03-13 Frank Ch. Eigler <fche@redhat.com>
* configrun-sid.in: Trigger usage message if --cpu option absent.
Note that --cpu is required in that message.
fche [Tue, 13 Mar 2001 21:39:20 +0000 (21:39 +0000)]
* mmap support
[bsp/ChangeLog]
2001-03-13 Frank Ch. Eigler <fche@redhat.com>
* configrun-sid.in: Add "mmap" memory region option.
Document it and others in "--help" text.
[component/memory/ChangeLog]
2001-03-13 Frank Ch. Eigler <fche@redhat.com>
Adding support for memory-mapped files and pin-based error signalling.
* generic.cxx (generic_memory ctor): Add three new pins.
(generic_memory dtor): munmap if mapping.
(attempt_resize): Drive error pin when needed. munmap if mapping.
(imageload_handler, imagestore_handler): Drive error pin when needed.
(imagemsync_handler, imagemmap_handler): New functions.
* generic.h: Corresponding changes.
* hw-memory-ram_rom-basic.txt: Document extensions.
[component/testsuite/ChangeLog]
2001-03-13 Frank Ch. Eigler <fche@redhat.com>
* sidcomp.mapper/busif.exp: Disable if !enable_shared.
* sidcomp.memory/genericmemory.exp: Add tests for mmap functions.
nickc [Tue, 13 Mar 2001 21:07:29 +0000 (21:07 +0000)]
Fix typos in ChangeLog; fix dates in copyright notices
fche [Tue, 13 Mar 2001 18:00:04 +0000 (18:00 +0000)]
* build tweak
2001-03-13 Frank Ch. Eigler <fche@redhat.com>
* configure.in (AC_LIBTOOL_DLOPEN): Define option.
* configure: Regenerated.
corinna [Tue, 13 Mar 2001 13:07:15 +0000 (13:07 +0000)]
* fhandler.cc (fhandler_disk_file::fstat): Add correct modes to
symlinks when stat'ing on FAT or FAT32 file systems.
kettenis [Tue, 13 Mar 2001 12:42:08 +0000 (12:42 +0000)]
* i386-linux-tdep.c: Fix formatting and clarify comments.
(i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
where appropriate.
earnie [Tue, 13 Mar 2001 12:04:56 +0000 (12:04 +0000)]
* include/wingdi.h: (DOCINFO) Ansi version defined incorrectly.
Thanks to: Mattia Barbon <mbarbon@dsi.unive.it>
aoliva [Tue, 13 Mar 2001 09:42:52 +0000 (09:42 +0000)]
* libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
equivalent to LONGINT.
duda [Tue, 13 Mar 2001 07:58:29 +0000 (07:58 +0000)]
Fix typo
nickc [Tue, 13 Mar 2001 06:43:56 +0000 (06:43 +0000)]
Fix typos in ChangeLogs and update copyright notices
nickc [Tue, 13 Mar 2001 06:14:26 +0000 (06:14 +0000)]
Fixtypos in ChangeLogs, fix copyright dates in files
nickc [Tue, 13 Mar 2001 06:14:01 +0000 (06:14 +0000)]
fix typos
dj [Tue, 13 Mar 2001 04:43:40 +0000 (04:43 +0000)]
* elf32-sh.c (sh_elf_relocate_section): Only relocation
R_SH_DIR8WP* relocs if they're against external symbols, else
they're just for relaxing. Validate the reloc values.
amodra [Tue, 13 Mar 2001 04:42:16 +0000 (04:42 +0000)]
Fix typos.
amodra [Tue, 13 Mar 2001 04:37:12 +0000 (04:37 +0000)]
Support for @GOTOFF in .long expressions.
cagney [Tue, 13 Mar 2001 00:51:40 +0000 (00:51 +0000)]
* gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
(proc_update_sc): Use gdb_assert instead of assert.
(proc_abort): Ditto.
(inf_set_step_thread): Ditto.
(gnu_wait): Ditto.
(S_exception_raise_request): Ditto.
(gnu_terminal_init_inferior): Ditto.
nickc [Tue, 13 Mar 2001 00:08:34 +0000 (00:08 +0000)]
Add --binary-architecture switch to objcopy to allow the output architecture
to be set when the input file type is binary.
nickc [Mon, 12 Mar 2001 23:37:37 +0000 (23:37 +0000)]
Always set machine type based on cpu_variant.
nickc [Mon, 12 Mar 2001 23:35:23 +0000 (23:35 +0000)]
Handle EM_S390_OLD.
duda [Mon, 12 Mar 2001 21:27:42 +0000 (21:27 +0000)]
* fhandler.h (fhandler_termios::fixup_after_exec): New function.
* fhandler.cc (fhandler_termios::fixup_after_fork): New function.
Fixup output handle.
* fhandler_tty.cc (fhandler_tty_common::fixup_after_fork): Output
handle is now fixed up in fhandler_termios::fixup_after_fork().
duda [Mon, 12 Mar 2001 20:39:40 +0000 (20:39 +0000)]
* fhandler.h (fhandler_termios::fhandler_termios): Enable fixup
after fork.
* fhandler_console.cc (fhandler_console::fhandler_console): Fixup
after fork is now enabled in the base class constructor.
earnie [Mon, 12 Mar 2001 19:26:15 +0000 (19:26 +0000)]
* include/commctrl.h (TBSTYLE_FLAT): New definition.
(TB_GETBUTTONSIZE): Ditto.
(TCS_HOTTRACK): Ditto.
Thanks to: Chris Hansen <popeofpop@softhome.net>
cgf [Mon, 12 Mar 2001 16:20:30 +0000 (16:20 +0000)]
* mkvers.sh: Include config.h so that DEBUGGING is correctly defined.
cgf [Mon, 12 Mar 2001 14:49:29 +0000 (14:49 +0000)]
* spawn.cc (spawn_guts): Don't set EXIT_REPARENTING if parent process is not a
cygwin process (suggested by Jason Gouger <cygwin@jason-gouger.com>).
cgf [Sun, 11 Mar 2001 21:05:48 +0000 (21:05 +0000)]
* child_info.h: Bump magic number for fork/exec/spawn.
cgf [Sun, 11 Mar 2001 16:46:28 +0000 (16:46 +0000)]
Remove obvious brain freeze problem.
pb [Sun, 11 Mar 2001 13:10:51 +0000 (13:10 +0000)]
2001-03-11 Philip Blundell <philb@gnu.org>
* elf32-arm.h (elf32_arm_finish_dynamic_symbol): Don't make PLT
entries that could serve as a definition for a weak symbol.
cgf [Sun, 11 Mar 2001 01:58:23 +0000 (01:58 +0000)]
* autoload.cc (noload): Use proper method for multiline strings or newer gcc's
complain.
* exceptions.cc (unused_sig_wrapper): Ditto.
* fhandler.h (fhandler_base): Make get_io_handle and friends return self.
* fhandler_tty.cc (fhandler_pty_common::close_on_exec): Accomodate DEBUGGING
flag to avoid spurious warnings when inheritance is set.
cgf [Sat, 10 Mar 2001 23:37:50 +0000 (23:37 +0000)]
* shortcut.c (PATH_ALL_EXEC): Add parentheses to avoid a compiler warning.
* exceptions.cc (setup_handler): Clarify debugging message.
* sigproc.cc (proc_subproc): Remove PROC_CHILDSTOPPED test. It is handled by
normal PROC_CLEARWAIT case.
(wait_sig): Eliminate "dispatched" tracking. Remove __SIGCHILDSTOPPED test.
Decrement counter again before jumping out of InterlockedDecrement loop so that
subsequent InterlockedIncrement will keep the counter at the correctly
decremented value and also detect when there are pending signals.
* sigproc.h: Remove __SIGCHILDSTOPPED element.
(procstuff): Remove PROC_CHILDSTOPPED element.
hunt [Sat, 10 Mar 2001 22:56:42 +0000 (22:56 +0000)]
2001-03-10 Martin Hunt <hunt@redhat.com>
* generic/gdbtk-cmds.c: Include linespec.h.
dj [Sat, 10 Mar 2001 22:23:50 +0000 (22:23 +0000)]
merge from gcc
dj [Sat, 10 Mar 2001 22:23:16 +0000 (22:23 +0000)]
merge from gcc
cgf [Sat, 10 Mar 2001 20:25:19 +0000 (20:25 +0000)]
* syscalls.cc (_rename): Set errno to ENOENT when an old path doesn't exist
(from Kazuhiro Fujieda <fujieda@jaist.ac.jp>). Also set EACCES when directory
is not writable.
duda [Sat, 10 Mar 2001 16:45:27 +0000 (16:45 +0000)]
* winsup.api/ltp/access01.c: Avoid compilation error if X_OK
isn't declared as a constant.
kevinb [Sat, 10 Mar 2001 06:17:19 +0000 (06:17 +0000)]
Cleanup solib-svr4.c by moving legacy code out to its own file.
kevinb [Sat, 10 Mar 2001 01:22:11 +0000 (01:22 +0000)]
Committed.
cagney [Fri, 9 Mar 2001 23:58:24 +0000 (23:58 +0000)]
Move Philip Blundell to Write After Approval list.
kseitz [Fri, 9 Mar 2001 22:30:36 +0000 (22:30 +0000)]
* MAINTAINERS: Add myself to write after approval list.
kettenis [Fri, 9 Mar 2001 16:14:54 +0000 (16:14 +0000)]
* i387-tdep.c (print_i387_status_word): Fix printing of Stack
fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
duda [Fri, 9 Mar 2001 15:39:28 +0000 (15:39 +0000)]
* config/default.exp: Remove unneeded debugging output.
* Makefile.in: Use correct path to find dejagnu in local tree.
geoffk [Fri, 9 Mar 2001 07:31:33 +0000 (07:31 +0000)]
* rs6000/simulator.S (dup): New syscall.
cagney [Fri, 9 Mar 2001 03:56:03 +0000 (03:56 +0000)]
Obsolete harris 88k target.
cagney [Fri, 9 Mar 2001 03:36:07 +0000 (03:36 +0000)]
Delete make rules for obsolete files.
nickc [Thu, 8 Mar 2001 23:24:21 +0000 (23:24 +0000)]
Fix copyright notices
nickc [Thu, 8 Mar 2001 23:06:04 +0000 (23:06 +0000)]
Fix typos
jjohnstn [Thu, 8 Mar 2001 21:39:30 +0000 (21:39 +0000)]
2001-03-07 Richard Sandiford <rsandifo@redhat.com>
* (libc/include/machine/setjmp.h): Use 23 DI-mode ints for a
jmpbuf on MIPS64 targets.
* (libc/machine/mips/setjmp.S): Add MIPS64 version.
taylor [Thu, 8 Mar 2001 21:09:22 +0000 (21:09 +0000)]
* gdb.base/annota1.exp: Move test of isnative to earlier in the
file -- to prevent failing when the compile fails but we have no
intention of running the tests anyway.
* gdb.base/long_long.exp: Test target_info for no_long_long, skip
tests if set.
* gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
integers.
* gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
* gdb.c++/namespace.exp: Ditto.
Fix PR gdb/16.
nickc [Thu, 8 Mar 2001 21:03:55 +0000 (21:03 +0000)]
Update copyright notices
taylor [Thu, 8 Mar 2001 20:51:38 +0000 (20:51 +0000)]
Add comment (part of immediately previous commit).
taylor [Thu, 8 Mar 2001 20:45:22 +0000 (20:45 +0000)]
* stack.c (parse_frame_specification): For one argument case,
handle the situation where the argument is an integer, not an
address -- arguably the most common case. This matters on
targets where pointers and addresses are different.
cagney [Thu, 8 Mar 2001 15:13:00 +0000 (15:13 +0000)]
* TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
general.
aoliva [Thu, 8 Mar 2001 05:50:03 +0000 (05:50 +0000)]
* Makefile.in (ALL_GCC, ALL_GCC_C, ALL_GCC_CXX): Set before use.
cagney [Thu, 8 Mar 2001 03:19:58 +0000 (03:19 +0000)]
Doco SID + GDB + Solaris 8 broken.
meissner [Thu, 8 Mar 2001 02:26:19 +0000 (02:26 +0000)]
Fixup checkin of wrong source
meissner [Thu, 8 Mar 2001 02:20:25 +0000 (02:20 +0000)]
Add support for -fdata-sections
nickc [Wed, 7 Mar 2001 23:52:58 +0000 (23:52 +0000)]
Conditionalize prevbious pathc on ! defined OLD_ARM_ABI.
cgf [Wed, 7 Mar 2001 21:03:42 +0000 (21:03 +0000)]
* libc/include/sys/config.h: Use ssize_t for read/write declarations.
cgf [Wed, 7 Mar 2001 20:52:32 +0000 (20:52 +0000)]
* syscalls.cc (_read): Change definition to return ssize_t to be consistent
with read.
(_write): Change definition to return ssize_t to be consistent with write.
meissner [Wed, 7 Mar 2001 20:19:41 +0000 (20:19 +0000)]
Remove reference to alloca-conf.h
cgf [Wed, 7 Mar 2001 17:45:03 +0000 (17:45 +0000)]
Update copyright.
cgf [Wed, 7 Mar 2001 17:44:32 +0000 (17:44 +0000)]
Update copyright.
orjanf [Wed, 7 Mar 2001 17:29:58 +0000 (17:29 +0000)]
2001-03-07 Orjan Friberg <orjanf@axis.com>
* gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
* gdb.base/pointers.exp: Relax pattern match of decimals.
orjanf [Wed, 7 Mar 2001 17:21:43 +0000 (17:21 +0000)]
2001-02-26 Orjan Friberg <orjanf@axis.com>
* gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
* gdb.base/pointers.exp: Relax pattern match of decimals.
kettenis [Wed, 7 Mar 2001 16:09:03 +0000 (16:09 +0000)]
* defs.h: Provide prototypes for floatformat_is_negative,
floatformat_is_nan and floatformat_mantissa.
* utils.c: Include "gdb_assert.h".
(floatformat_is_negative): New function.
(floatformat_is_nan): New function.
(floatformat_mantissa): New function.
* valprint.c: Include "floatformat.h".
(print_floating): Get rid of the Linux-specific
TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
help these new functions. Print NaN's in a format conforming to
ISO C99.
aj [Wed, 7 Mar 2001 13:49:11 +0000 (13:49 +0000)]
2001-03-07 Andreas Jaeger <aj@suse.de>
* elf64-x86-64.c (elf64_x86_64_relocate_section): Fix handling of
some relocation values.
eliz [Wed, 7 Mar 2001 07:21:13 +0000 (07:21 +0000)]
* top.c (init_main): Make `set history file name' complete on file
names.
cgf [Wed, 7 Mar 2001 06:19:34 +0000 (06:19 +0000)]
* sigproc.h (sigthread): Declare new methods. Create new winapi_lock field.
(sigframe:;set): Call get_winapi_lock after frame is set so that signal handler
thread knows not to call SuspendThread.
(sigframe::~sigframe): Release winapi_lock.
* exceptions.cc (sigthread::get_winapi_lock): New method.
(sigthread::release_winapi_lock): New method.
(setup_handler): Use get_winapi_lock to ensure that signalled thread is not
blocked in a Windows API.
* path.h (path_types): Avoid broken GCC warning.
jtc [Wed, 7 Mar 2001 03:10:15 +0000 (03:10 +0000)]
* Makefile.in (LINTFLAGS): Update to contain all of the macros
which define include paths used when compiling.
* util.c (savestring, msavestring): Change type of length argument.
* defs.h (savestring, msavestring): Update to match.
jtc [Wed, 7 Mar 2001 03:00:33 +0000 (03:00 +0000)]
Remove local change that wasn't supposed to be committed.
jtc [Wed, 7 Mar 2001 02:57:08 +0000 (02:57 +0000)]
2001-03-06 J.T. Conklin <jtc@redback.com>
* symtab.h (decode_line_1): Removed declaration.
* symfile.c (#include <assert.h>): Removed.
* arch-utils.c (#include <ctype.h>): Removed.
* c-typeprint.c: Likewise.
* dbxread.c: Likewise.
* gdbtypes.c: Likewise.
* target.c: Likewise.
* os9kread.c: Likewise.
* c-valprint.c (#include "demangle.h"): Removed.
* ch-typeprint.c: Likewise.
* eval.c: Likewise.
* f-typeprint.c: Likewise.
* f-valprint.c: Likewise.
* m2-typeprint.c: Likewise.
* typeprint.c: Likewise.
* p-typeprint.c: Likewise.
* valarith.c: Likewise.
* valprint.c: Likewise.
* m2-typeprint.c (#include "gdb_string.h"): Removed.
* nlmread.c: Likewise.
* mdebugread.c (#include "gdb-stabs.h"): Removed.
* minsyms.c: Likewise.
* mipsread.c: Likewise.
* nlmread.c: Likewise.
* m2-typeprint.c (#include "obstack.h"): Removed.
* m2-valprint.c: Likewise.
* event-loop.c (#include <setjmp.h>): Removed.
amodra [Wed, 7 Mar 2001 02:52:26 +0000 (02:52 +0000)]
* config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc.
(md_assemble [smallest displacement]): Use correct field of i.op[] union.
(md_assemble [JumpInterSegment output]): Use correct i.disp_reloc[].
(md_assemble [immediate output]): Likewise.
dj [Tue, 6 Mar 2001 23:03:27 +0000 (23:03 +0000)]
* ld-scripts/cross2.t: Support any type of text/data sections, not
just the canonical ones.
nickc [Tue, 6 Mar 2001 22:33:44 +0000 (22:33 +0000)]
Fix BLX(1) for Thumb
nickc [Tue, 6 Mar 2001 20:27:49 +0000 (20:27 +0000)]
Add BFD_RELOC_THUMB_PCREL_BLX.
nickc [Tue, 6 Mar 2001 20:15:27 +0000 (20:15 +0000)]
Rest of the changes for Coldfire V4.
nickc [Tue, 6 Mar 2001 20:13:31 +0000 (20:13 +0000)]
est of the changes for Coldfire V4
nickc [Tue, 6 Mar 2001 20:12:20 +0000 (20:12 +0000)]
Rest of the changes for Coldfire V4
shebs [Tue, 6 Mar 2001 19:24:28 +0000 (19:24 +0000)]
* MAINTAINERS: Remove self from specific maintenance domains
(macos, gdbserver, documentation, testsuite).
dj [Tue, 6 Mar 2001 19:03:36 +0000 (19:03 +0000)]
merge from gcc
dj [Tue, 6 Mar 2001 18:27:14 +0000 (18:27 +0000)]
merge from gcc