OSDN Git Service

pf3gnuchains/sourceware.git
21 years agoUpdate description to reflect D10V TS3 board.
nickc [Fri, 30 Aug 2002 11:34:39 +0000 (11:34 +0000)]
Update description to reflect D10V TS3 board.

21 years ago * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".
amodra [Fri, 30 Aug 2002 08:30:41 +0000 (08:30 +0000)]
* emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common".

21 years ago * v850-dis.c (disassemble): Remove bfd_mach_v850ea case.
amodra [Fri, 30 Aug 2002 08:28:08 +0000 (08:28 +0000)]
* v850-dis.c (disassemble): Remove bfd_mach_v850ea case.

* mips-dis.c (_print_insn_mips): Don't use hard-coded mach constants.

21 years ago * Makefile.am: Run "make dep-am".
amodra [Fri, 30 Aug 2002 08:11:43 +0000 (08:11 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

* cpu-avr.c (compatible): Don't use hard-coded mach constants.
* cpu-powerpc.c (powerpc_compatible): Likewise.
* cpu-rs6000.c (rs6000_compatible): Likewise.

21 years ago2002-08-30 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Fri, 30 Aug 2002 07:14:19 +0000 (07:14 +0000)]
2002-08-30  Pierre Muller  <muller@ics.u-strasbg.fr>

* breakpoint.c (breakpoint_init_inferior): Reset the val field of
watchpoints to NULL.
(insert_breakpoints): set val field of watchpoints if NULL.

21 years ago* symtab.c (lookup_symbol_aux): In the cases where we find a
jimb [Fri, 30 Aug 2002 03:24:00 +0000 (03:24 +0000)]
* symtab.c (lookup_symbol_aux): In the cases where we find a
minimal symbol of an appropriate name and use its address to
select a symtab to read and search, use `name' (as passed to us)
as the demangled name when searching the symtab's global and
static blocks, not the minsym's name.

21 years ago* how-api.texinfo: Remove a line from the CRLF discussion about lseek not
cgf [Fri, 30 Aug 2002 00:42:19 +0000 (00:42 +0000)]
* how-api.texinfo: Remove a line from the CRLF discussion about lseek not
working.  Answer thread safe question more simply.

21 years agodaily update
amodra [Fri, 30 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 30 Aug 2002 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * libc/sys/linux/argp: New directory.
fitzsim [Thu, 29 Aug 2002 23:53:05 +0000 (23:53 +0000)]
* libc/sys/linux/argp: New directory.
* libc/sys/linux/getopt.c: New file.
* libc/sys/linux/getopt1.c: New file.
* libc/sys/linux/getoptlong.c: Remove file.
* libc/sys/linux/include/argp.h: New file.
* libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
based on ELIX level.
(SUBDIRS): Add argp_dir.
(SUBLIBS): Add ARGP_LIB.
(ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
getopt_long.$(oext).
* libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.

21 years ago* gdb.threads/pthreads.exp: Move the portable thread compilation
jimb [Thu, 29 Aug 2002 22:36:51 +0000 (22:36 +0000)]
* gdb.threads/pthreads.exp: Move the portable thread compilation
code into a function in lib/gdb.exp, and call that from here.
* lib/gdb.exp (gdb_compile_pthreads): New function.

21 years ago * stack.c (print_frame_info_base): Always set current_source_symtab
kseitz [Thu, 29 Aug 2002 19:59:35 +0000 (19:59 +0000)]
    * stack.c (print_frame_info_base): Always set current_source_symtab
        and current_source_line.

21 years ago2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 29 Aug 2002 19:47:42 +0000 (19:47 +0000)]
2002-08-29  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/libc.texinfo: Add node reference to wide-character strings.
        * libc/string/wcstrings.tex: New file.
        * libc/string/strtok_r.c: Remove outdated advertising clause.
        * libc/string/Makefile.am (doc): Add wide-character string
        chapter to documentation.
        * libc/string/Makefile.in: Regenerated.

21 years ago2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
jjohnstn [Thu, 29 Aug 2002 19:38:24 +0000 (19:38 +0000)]
2002-08-29  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>

        * libc/include/wchar.h: Define NULL. Define WEOF more general
        way. Declare functions in newlib manner.
        * libc/stdlib/Makefile.am: Delete wmem*.c
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/wmemchr.c: Delete.
        * libc/stdlib/wmemcmp.c: Ditto.
        * libc/stdlib/wmemcpy.c: Ditto.
        * libc/stdlib/wmemmove.c: Ditto.
        * libc/stdlib/wmemset.c: Ditto.
        * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
        * libc/string/Makefile.in: Regenerated.
        * libc/string/wcscat.c: New file derived from the NetBSD C Library.
        * libc/string/wcschr.c: Ditto.
        * libc/string/wcscmp.c: Ditto.
        * libc/string/wcscpy.c: Ditto.
        * libc/string/wcscspn.c: Ditto.
        * libc/string/wcslcat.c: Ditto.
        * libc/string/wcslcpy.c: Ditto.
        * libc/string/wcslen.c: Ditto.
        * libc/string/wcsncat.c: Ditto.
        * libc/string/wcsncmp.c: Ditto.
        * libc/string/wcsncpy.c: Ditto.
        * libc/string/wcspbrk.c: Ditto.
        * libc/string/wcsrchr.c: Ditto.
        * libc/string/wcsspn.c: Ditto.
        * libc/string/wcsstr.c: Ditto.
        * libc/string/wmemchr.c: Ditto.
        * libc/string/wmemcmp.c: Ditto.
        * libc/string/wmemcpy.c: Ditto.
        * libc/string/wmemmove.c: Ditto.
        * libc/string/wmemset.c: Ditto.

21 years ago2002-08-29 Dave Brolley <brolley@redhat.com>
brolley [Thu, 29 Aug 2002 19:27:52 +0000 (19:27 +0000)]
2002-08-29  Dave Brolley  <brolley@redhat.com>

* Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.

21 years ago * linux-low.c (linux_create_inferior): Call setpgid. Return
drow [Thu, 29 Aug 2002 18:50:24 +0000 (18:50 +0000)]
    * linux-low.c (linux_create_inferior): Call setpgid.  Return
        the new PID.
        (unstopped_p, linux_signal_pid): Remove.
        (linux_target_ops): Remove linux_signal_pid.
        * remote-utils.c (putpkt, input_interrupt): Use signal_pid
        global instead of target method.
        * target.h (struct target_ops): Remove signal_pid.  Update comment
        for create_inferior.
        * server.c (signal_pid): New variable.
        (create_inferior): Set signal_pid.  Block SIGTTOU and SIGTTIN in
        gdbserver.  Set the child to be the foreground process group.
        (attach_inferior): Set signal_pid.

21 years agoMakefile.in: Add gen-zero-r0 option.
nickc [Thu, 29 Aug 2002 16:59:20 +0000 (16:59 +0000)]
Makefile.in: Add gen-zero-r0 option.
sim-main.h (GPR_SET, GPR_CLEAR): Define.
simops.c (OP_24007E0):  Sign extend the imm9 operand of a mul instruction.

21 years ago * lib/mi-support.exp (mi_gdb_test): Add global declaration for
kseitz [Thu, 29 Aug 2002 16:10:13 +0000 (16:10 +0000)]
    * lib/mi-support.exp (mi_gdb_test): Add global declaration for
        expect_out so that callers can get at it.

21 years agoRemove redundant reference to E_V850EA_ARCH.
nickc [Thu, 29 Aug 2002 15:43:47 +0000 (15:43 +0000)]
Remove redundant reference to E_V850EA_ARCH.

21 years ago2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 29 Aug 2002 15:32:07 +0000 (15:32 +0000)]
2002-08-29  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
        default locale "" is accepted for LC_CTYPE or LC_MESSAGES
        and is treated as if "C" was specified.

21 years ago * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).
brobecke [Thu, 29 Aug 2002 15:08:54 +0000 (15:08 +0000)]
    * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).

21 years ago * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).
brobecke [Thu, 29 Aug 2002 15:08:23 +0000 (15:08 +0000)]
    * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S).

21 years ago * chew.c (paramstuff, outputdots, perform, bang and usage): Remove
danglin [Thu, 29 Aug 2002 14:37:19 +0000 (14:37 +0000)]
* chew.c (paramstuff, outputdots, perform, bang and usage): Remove
void from function definitions.

21 years ago * poll.cc (poll): Peek sockets ready for read to see if there's
corinna [Thu, 29 Aug 2002 09:41:00 +0000 (09:41 +0000)]
* poll.cc (poll): Peek sockets ready for read to see if there's
actually data.

21 years agoAdd v850e target
nickc [Thu, 29 Aug 2002 07:04:19 +0000 (07:04 +0000)]
Add v850e target

21 years agoAdd linker relaxation to v850 toolchain
nickc [Thu, 29 Aug 2002 06:49:33 +0000 (06:49 +0000)]
Add linker relaxation to v850 toolchain

21 years ago* cygthread.cc (hthreads): Remove unneeded global.
cgf [Thu, 29 Aug 2002 03:33:50 +0000 (03:33 +0000)]
* cygthread.cc (hthreads): Remove unneeded global.
(cygthread::simplestub): New static member function.
(cygthread::runner): Don't set hthreads.
(cygthread::freerange): New member function.
(cygthread::operator new): Call freerange if all cygwin slots are used up.
(cygthread::exit_thread): Don't mess with event if freerange thread.
(cygthread::detach): Ditto.
* cygthread.h (class cygthread): Declare new member functions and variables.

21 years agoremove
cgf [Thu, 29 Aug 2002 02:15:26 +0000 (02:15 +0000)]
remove

21 years ago2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 29 Aug 2002 00:22:10 +0000 (00:22 +0000)]
2002-08-28  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am (install-data-local): Move install of build
        newlib.h after installing headers in libc/include so as to
        overwrite default newlib.h.
        * Makefile.in: Regenerated.

21 years agodaily update
amodra [Thu, 29 Aug 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Thu, 29 Aug 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 28 Aug 2002 23:42:52 +0000 (23:42 +0000)]
2002-08-28  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/newlib.h: New file for tools that use newlib
        headers but don't build newlib first (e.g. gcc).

21 years ago * include/w32api.h: Increment version to 2.1.
earnie [Wed, 28 Aug 2002 22:26:45 +0000 (22:26 +0000)]
* include/w32api.h: Increment version to 2.1.
* Makefile.in: Ditto.

21 years ago * include/sys/param.h: Add ENDIAN defines.
dannysmith [Wed, 28 Aug 2002 21:24:59 +0000 (21:24 +0000)]
* include/sys/param.h: Add ENDIAN defines.
* test_headers.c: Include sys/param.h.

21 years ago * tui.c (tuiGetLowDisassemblyAddress): Moved from here.
ciceron [Wed, 28 Aug 2002 20:33:27 +0000 (20:33 +0000)]
* tui.c (tuiGetLowDisassemblyAddress): Moved from here.
* tuiDisassem.c (tuiGetLowDisassemblyAddress): To here, and use
tui_find_disassembly_address to find the starting address of
disassemble window.

21 years agoremove
cgf [Wed, 28 Aug 2002 18:24:57 +0000 (18:24 +0000)]
remove

21 years ago2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 28 Aug 2002 17:58:44 +0000 (17:58 +0000)]
2002-08-28  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
        * libc/stdlib/wmemcmp.c: Ditto.
        * libc/stdlib/wmemcpy.c: Ditto.
        * libc/stdlib/wmemmove.c: Ditto.
        * libc/stdlib/wmemset.c: Ditto.

21 years ago * stack.c (select_frame): Add FIXME concerning selected-frame
kseitz [Wed, 28 Aug 2002 17:27:43 +0000 (17:27 +0000)]
    * stack.c (select_frame): Add FIXME concerning selected-frame
        events.
        (select_frame_command): Send selected-frame-level-changed
        event notification, but only if the level actually changed.
        (up_silently_base): Add selected-frame-level-changed event
        notification.
        (down_silently_base): Likewise.

21 years ago* malloc.cc: Protect some definitions to avoid a compile time warning.
cgf [Wed, 28 Aug 2002 16:08:09 +0000 (16:08 +0000)]
* malloc.cc: Protect some definitions to avoid a compile time warning.

21 years ago2002-08-28 Dave Brolley <brolley@redhat.com>
brolley [Wed, 28 Aug 2002 16:01:31 +0000 (16:01 +0000)]
2002-08-28  Dave Brolley  <brolley@redhat.com>

* gen-support.c (gen_support_h): Generate
'#define semantic_illegal <PREFIX>_semantic_illegal'.

21 years agoUpdate all .c dependencies.
cagney [Wed, 28 Aug 2002 14:02:17 +0000 (14:02 +0000)]
Update all .c dependencies.

21 years ago * objdump.c (dump_bfd): Restore lines accidentally deleted in
amodra [Wed, 28 Aug 2002 12:32:06 +0000 (12:32 +0000)]
* objdump.c (dump_bfd): Restore lines accidentally deleted in
last commit.

21 years ago * calls.texinfo: Add getc_unlocked, getchar_unlocked, putc_unlocked
corinna [Wed, 28 Aug 2002 10:53:55 +0000 (10:53 +0000)]
* calls.texinfo: Add getc_unlocked, getchar_unlocked, putc_unlocked
and putchar_unlocked.

21 years ago * cygwin.din: Export getc_unlocked, getchar_unlocked,
corinna [Wed, 28 Aug 2002 10:50:26 +0000 (10:50 +0000)]
* cygwin.din: Export getc_unlocked, getchar_unlocked,
putc_unlocked, putchar_unlocked functions.
* include/cygwin/version.h: Bump api minor.

21 years agoAdd TMS320C4x support
nickc [Wed, 28 Aug 2002 10:38:43 +0000 (10:38 +0000)]
Add TMS320C4x support

21 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Eliminate flags
corinna [Wed, 28 Aug 2002 10:18:20 +0000 (10:18 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Eliminate flags
not understood by WinSock.
(fhandler_socket::sendto): Ditto.  If WinSock sendto() returns
WSAESHUTDOWN, change errno to EPIPE and raise SIGPIPE if MSG_NOSIGNAL
isn't set in flags.
* include/cygwin/socket.h: Define MSG_WINMASK and MSG_NOSIGNAL.
* include/cygwin/version.h: Bump API minor number.

21 years ago * poll.cc (poll): Eliminate erroneous POLLERR conditional.
corinna [Wed, 28 Aug 2002 09:29:42 +0000 (09:29 +0000)]
* poll.cc (poll): Eliminate erroneous POLLERR conditional.

21 years ago * test_headers.c: Don't include varargs.h.
dannysmith [Wed, 28 Aug 2002 03:57:16 +0000 (03:57 +0000)]
* test_headers.c: Don't include varargs.h.
* Makefile.in (test_headers): Don't use -std=xx
with -xc++. Test -std=gnu89, gnu99 also.

21 years ago * write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
amodra [Wed, 28 Aug 2002 03:35:59 +0000 (03:35 +0000)]
* write.c (BFD_FAST_SECTION_FILL): Remove unused macro.
(TC_ADJUST_RELOC_COUNT): Tweak param name.
(TC_FORCE_RELOCATION, TC_FORCE_RELOCATION_SECTION): Likewise.
(TC_FIX_ADJUSTABLE, MD_PCREL_FROM_SECTION): Likewise.
(RELOC_ENUM): Define.
(fix_new_internal): Use RELOC_ENUM.
(fix_new, fix_new_exp): Likewise.
(adjust_reloc_syms): Comment.  Remove unnecessary tests on sym != NULL.
Replace gotos with continue.
(write_relocs): Formatting.  Avoid symbol loops in
RELOC_EXPANSION_POSSIBLE case too.  Report bfd_reloc_outofrange
errors, and error number in other cases.
(fixup_segment): Remove param names from prototype.  Rename
"this_segment_type" to "this_segment".  Update linkrelax comment.
Remove "size, "place" and "where" local vars.  Formatting.  Update
"no symbol" comment.  Remove #if 0 and #if 1.

21 years ago * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
amodra [Wed, 28 Aug 2002 01:55:45 +0000 (01:55 +0000)]
* emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll,
strtoul and strtoull with bfd_scan_vma.
(gld${EMULATION_NAME}_read_file): Likewise.

21 years agoAdded files comprising RDA.
kevinb [Wed, 28 Aug 2002 01:22:27 +0000 (01:22 +0000)]
Added files comprising RDA.

21 years agofragging mumble bruggum newlib
cgf [Wed, 28 Aug 2002 00:30:49 +0000 (00:30 +0000)]
fragging mumble bruggum newlib

21 years ago * ld-discard/discard.exp: xfail m6812.
amodra [Wed, 28 Aug 2002 00:11:40 +0000 (00:11 +0000)]
* ld-discard/discard.exp: xfail m6812.
* ld-scripts/map-address.d: Adjust for extras emitted by pe targets.

21 years ago * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*.
amodra [Wed, 28 Aug 2002 00:10:47 +0000 (00:10 +0000)]
* configure.tgt: Remove h8[35]00-*-hms*.  Add h8500-*-rtems*.

21 years agodaily update
amodra [Wed, 28 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Wed, 28 Aug 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * gas/mcore/allinsn.d: Escape dots. Pass -z to objdump and adjust
amodra [Tue, 27 Aug 2002 23:51:46 +0000 (23:51 +0000)]
* gas/mcore/allinsn.d: Escape dots.  Pass -z to objdump and adjust
to suit.  Match coff relocs.  Match "from address pool" comments.
* gas/sparc/pcrel.s: Use 2b label in expressions.
* gas/sparc/pcrel64.s: Likewise.
* gas/sparc/pcrel.d: Adjust to suit.
* gas/sparc/pcrel64.d: Likewise.
* gas/vtable/vtable.exp: Move xfails to ..
(proc vtable_setup_xfails): .. here. Add i866.

21 years ago * gas/macros/macros.exp (strings): Update xfails.
amodra [Tue, 27 Aug 2002 23:35:19 +0000 (23:35 +0000)]
* gas/macros/macros.exp (strings): Update xfails.

21 years ago * app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES. Tidy.
amodra [Tue, 27 Aug 2002 23:34:18 +0000 (23:34 +0000)]
* app.c (do_scrub_chars): Don't test IGNORE_NONSTANDARD_ESCAPES.  Tidy.

21 years ago * Makefile.in (osabi.o, i387-tdep.o, i386-linux-nat.o, lin-lwp.o,
tromey [Tue, 27 Aug 2002 22:37:06 +0000 (22:37 +0000)]
* Makefile.in (osabi.o, i387-tdep.o, i386-linux-nat.o, lin-lwp.o,
ax-gdb.o, signals.o, jv-valprint.o, c-valprint.o, cp-abi.o):
Update dependencies.
* i387-tdep.c: Include gdb_string.h.
* osabi.c: Likewise.
* i386-linux-nat.c: Likewise.
* lin-lwp.c: Likewise.
* ax-gdb.c: Likewise.
* signals/signals.c: Likewise.
* jv-valprint.c: Likewise.
* p-lang.c: Likewise.
* c-valprint.c: Likewise.
* cp-abi.c: Likewise.

21 years ago * tuiDisassem.c (tui_disassemble): New function to disassemble
ciceron [Tue, 27 Aug 2002 21:59:49 +0000 (21:59 +0000)]
* tuiDisassem.c (tui_disassemble): New function to disassemble
several lines in a buffer.
(tui_find_disassembly_address): New function to search backward
or forward a disassembly line.
(tuiSetDisassemContent): Use tui_disassemble to obtain the real
content and format it in the window.
(tuiShowDisassemAndUpdateSource): Remove unused locals.
(tuiVerticalDisassemScroll): Use tui_find_disassembly_address to
obtain the address to disassemble for the scrolling.
* tuiDisassem.h (tuiGetBeginAsmAddress): Update.
* tuiSourceWin.c (tuiUpdateSourceWindowAsIs): Don't pass symtab.

21 years ago2002-08-27 Egor Duda <deo@logos-m.ru>
jjohnstn [Tue, 27 Aug 2002 21:20:08 +0000 (21:20 +0000)]
2002-08-27  Egor Duda  <deo@logos-m.ru>

        * libc/stdlib/wmemchr.c: New file.
        * libc/stdlib/wmemcmp.c: Ditto.
        * libc/stdlib/wmemcpy.c: Ditto.
        * libc/stdlib/wmemmove.c: Ditto.
        * libc/stdlib/wmemset.c: Ditto.
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
        * configure.host: Default -DMB_CAPABLE for cygwin.
        * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
        wmemmove() and wmemset().  Add include of <_ansi.h>.
        * libc/stdlib/Makefile.in: Regenerate.

21 years ago * tuiIO.c (CTRL_CHAR): Redefine and use readline 4.3 definition.
ciceron [Tue, 27 Aug 2002 20:58:27 +0000 (20:58 +0000)]
* tuiIO.c (CTRL_CHAR): Redefine and use readline 4.3 definition.

21 years ago2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 27 Aug 2002 20:30:15 +0000 (20:30 +0000)]
2002-08-27  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host: Remove _ELIX_LEVEL flag setting.
        * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
        (install-data-local): Install newlib.h.
        * Makefile.in: Regenerated.
        * aclocal.m4: Ditto.
        * configure: Ditto.
        * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
        newlib.hin.  Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
        and _NEWLIB_VERSION to fill in newlib.h header file entries.
        In AC_OUTPUT statement, unset ac_file so multilib support does
        not use last ac_file temporary used in newlib.h configuration.
        * libc/include/_ansi.h: Include <newlib.h>.
        * newlib.hin: New template file for newlib.h.
        * stamp-h.in: New file.

21 years ago2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 27 Aug 2002 20:27:34 +0000 (20:27 +0000)]
2002-08-27  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
        (install-data-local): Install newlib.h.
        * Makefile.in: Regenerated.
        * aclocal.m4: Ditto.
        * configure: Ditto.
        * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
        newlib.hin.  Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
        and _NEWLIB_VERSION to fill in newlib.h header file entries.
        In AC_OUTPUT statement, unset ac_file so multilib support does
        not use last ac_file temporary used in newlib.h configuration.
        * libc/include/_ansi.h: Include <newlib.h>.
        * newlib.hin: New template file for newlib.h.
        * stamp-h.in: New file.

21 years ago2002-08-27 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 27 Aug 2002 19:06:34 +0000 (19:06 +0000)]
2002-08-27  Elena Zannoni  <ezannoni@redhat.com>

* cli/cli-script.h (copy_command_lines): Export.
* breakpoint.c: Include cli/cli-script.h.
* Makefile.in (breakpoint.o): Update dependencies.

21 years ago2002-08-27 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 27 Aug 2002 17:53:23 +0000 (17:53 +0000)]
2002-08-27  Frank Ch. Eigler  <fche@redhat.com>

From Anthony Green <green@redhat.com>:
* gprof.cxx (store): Specify binary mode on output file.

21 years agoHandle .rdata_runtime_pseudo_reloc sections.
nickc [Tue, 27 Aug 2002 11:12:52 +0000 (11:12 +0000)]
Handle .rdata_runtime_pseudo_reloc sections.

21 years ago * dwarf2dbg.c: Always include dwarf2dbg.h.
amodra [Tue, 27 Aug 2002 11:09:42 +0000 (11:09 +0000)]
* dwarf2dbg.c: Always include dwarf2dbg.h.
(dwarf2_directive_file): Adjust dummy version args.
* ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED.
* expr.c (clean_up_expression <O_subtract>): Allow subtraction
when symbol values differ.
* read.c (do_align): Add ATTRIBUTE_UNUSED to label.
(pseudo_set <O_subtract>): Remove unnecessary segment test.
* config/obj-bout.c (obj_pseudo_table): Warning fix.

21 years agoRevert ARM linker patch and apply similar patch to bfd instead
nickc [Tue, 27 Aug 2002 11:01:51 +0000 (11:01 +0000)]
Revert ARM linker patch and apply similar patch to bfd instead

21 years ago * fhandler_socket.cc (fhandler_socket::check_peer_secret_event):
corinna [Tue, 27 Aug 2002 09:24:50 +0000 (09:24 +0000)]
* fhandler_socket.cc (fhandler_socket::check_peer_secret_event):
Fix strace message.
(fhandler_socket::connect): Remove sigframe.
(fhandler_socket::accept): Ditto.
(fhandler_socket::getsockname): Ditto.
(fhandler_socket::getpeername): Ditto.
(fhandler_socket::recvfrom): Ditto.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::ioctl): Ditto.
* ioctl.cc (ioctl): Add sigframe.
*net.cc (cygwin_sendto): Ditto.
(cygwin_recvfrom): Ditto.
(cygwin_recvfrom): Ditto.
(cygwin_connect): Ditto.
(cygwin_shutdown): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_accept): Ditto.  Improve strace message.
(cygwin_getsockname): Ditto.  Ditto.
(cygwin_recvmsg): Ditto.  Ditto.
(cygwin_sendmsg): Fix strace message.

21 years ago* child_info.h: Add _PROC_WHOOPS enum value.
cgf [Tue, 27 Aug 2002 04:10:53 +0000 (04:10 +0000)]
* child_info.h: Add _PROC_WHOOPS enum value.
(CURR_CHILD_INFO_MAGIC): Update.
(child_info::magic): Make 'long'.
* cygheap.h: Export _cygheap_start.
* cygheap.cc: Don't declare _cygheap_start.
* cygmagic: Use cksum to produce checksums.  Append 'U' to end of checksum.
* dcrt0.cc (initial_env): Calculate sleep ms before reusing buffer.
(_dll_crt0): Detect cygheap mismatch as indicative of different cygwin version.
Set child_proc_info to NULL when _PROC_WHOOPS.
(multiple_cygwin_problem): If child_info specific problem, then set
child_proc_info type to _PROC_WHOOPS.
* shared_info.h (CURR_MOUNT_MAGIC): Update.
(CURR_SHARED_MAGIC): Ditto.

21 years ago2002-08-26 Joel Brobecker <brobecker@gnat.com>
msnyder [Tue, 27 Aug 2002 01:09:08 +0000 (01:09 +0000)]
2002-08-26  Joel Brobecker  <brobecker@gnat.com>

* cli/cli-script.c (copy_command_lines): New function.
* defs.h (copy_command_lines): Export.
* testsuite/gdb.base/commands.exp: New tests for commands
attached to a temporary breakpoint, and for commands that
delete the breakpoint they are attached to.

2002-08-26  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c (bpstat_stop_status): Instead of copying the
pointer to the breakpoint commands struct, make a new copy
of the struct and point to that.
(bpstat_clear): Free the commands struct.
(bpstat_clear_actions): Free the commands struct.
(bpstat_do_actions): Free the command actions.  Also execute
the local cleanups, instead of deleting them.
(delete_breakpoint): Leave the commands field of the bpstat
chain alone -- it will be freed later.

21 years ago*** empty log message ***
gdbadmin [Tue, 27 Aug 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Tue, 27 Aug 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago2002-08-26 Bart Oldeman <bart.oldeman@btinternet.com>
dannysmith [Mon, 26 Aug 2002 23:33:16 +0000 (23:33 +0000)]
2002-08-26  Bart Oldeman  <bart.oldeman@btinternet.com>

* include/winsock2.h (SOCKET_ADDRESS): Define if
__CSADDR_T_DEFINED is not defined (copied from nspapi.h)
(CSADDR_INFO): Ditto.
(nspapi.h) : Don't include. Removed FIXME comment.
* include/nspapi.h (SOCKET_ADDRESS) Only define if
__CSADDR_T_DEFINED is not defined.
(CSADDR_INFO): Ditto.
(BLOB): Added structure and typedef if not already defined.
(NS_*): Add defines.
(SERVICE_*): Ditto.
(SERVICE_ADDRESS): Add structure and typedefs.
  (SERVICE_ADDRESSES): Ditto.
(SERVICE_INFO[AW]): Ditto, and add UNICODE mappings.
(LPSERVICE_ASYNC_INFO): Add typedef.
(SetService[AW], GetAddressByName[AW]): Add prototypes and UNICODE
mappings.
* include/wsipx.h: New file.
* include/svcguid.h: New file.
* lib/test.c: Include wspix.h and svcguid.h.

21 years ago * rs6000-tdep.c (altivec_register_p): Restore function inadvertently
kevinb [Mon, 26 Aug 2002 23:20:53 +0000 (23:20 +0000)]
* rs6000-tdep.c (altivec_register_p): Restore function inadvertently
deleted in 2002-08-20 commit.  This function is still used by
ppc-linux-nat.c.

21 years agoRevert last change.
amodra [Mon, 26 Aug 2002 23:15:48 +0000 (23:15 +0000)]
Revert last change.

21 years agoRevert last change.
amodra [Mon, 26 Aug 2002 23:14:35 +0000 (23:14 +0000)]
Revert last change.

21 years agoRevert last change.
amodra [Mon, 26 Aug 2002 23:12:55 +0000 (23:12 +0000)]
Revert last change.

21 years ago2002-08-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
dannysmith [Mon, 26 Aug 2002 22:13:05 +0000 (22:13 +0000)]
2002-08-26  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/wsahelp.h: New file.
* lib/test.c: Include wsahelp.h.

21 years agoFix typo.
jjohnstn [Mon, 26 Aug 2002 20:26:57 +0000 (20:26 +0000)]
Fix typo.

21 years ago * gdb-events.sh: Add selected-frame-level-changed event.
kseitz [Mon, 26 Aug 2002 19:41:56 +0000 (19:41 +0000)]
    * gdb-events.sh: Add selected-frame-level-changed event.
        * gdb-events.c: Regenerated.
        * gdb-events.h: Regenerated.

21 years ago Fix PR gdb/393:
ciceron [Mon, 26 Aug 2002 19:35:37 +0000 (19:35 +0000)]
Fix PR gdb/393:
* tui.c (tui_disable): Update gdb's knowledge of its terminal
using target_terminal_save_ours.
(tui_enable): Likewise.

21 years ago Fix PR gdb/393:
ciceron [Mon, 26 Aug 2002 19:18:32 +0000 (19:18 +0000)]
Fix PR gdb/393:
* inflow.c (terminal_save_ours): New function to save terminal
settings.
* inferior.h (terminal_save_ours): Declare.
* target.c (debug_to_terminal_save_ours): New function.
(cleanup_target): Defaults to_terminal_save_ours.
(update_current_target): Inherit to_terminal_save_ours.
(setup_target_debug): Set to_terminal_save_ours.
* target.h (target_terminal_save_ours): New to save terminal settings.
(target_ops): New member to_terminal_save_ours.
* gnu-nat.c (init_gnu_ops): Set to_terminal_save_ours.
* hpux-thread.c (init_hpux_thread_ops): Likewise.
* inftarg.c (init_child_ops): Likewise.
* m3-nat.c (init_m3_ops): Likewise.
* procfs.c (init_procfs_ops): Likewise.
* wince.c (init_child_ops): Likewise.
* win32-nat.c (init_child_ops): Likewise.
* sol-thread.c (init_sol_thread_ops): Likewise.

21 years ago2002-08-26 Wu Yongwei <adah@netstd.com>
jjohnstn [Mon, 26 Aug 2002 19:05:47 +0000 (19:05 +0000)]
2002-08-26  Wu Yongwei <adah@netstd.com>

        * time.h (timezonevar): Change "#if" to "#ifdef".

21 years ago2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 26 Aug 2002 18:56:03 +0000 (18:56 +0000)]
2002-08-26  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
        * Makefile.in: Regenerated.
        * acinclude.m4: Add support for --enable-newlib-elix-level option.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * configure.host: Add code to define _ELIX_LEVEL if
        --enable-newlib-elix-level option is used.
        * configure.in:
        * libc/aclocal.m4: Regenerated.
        * libc/configure: Ditto.
        * libc/argz/Makefile.am: Add EL/IX level checking.
        * libc/argz/Makefile.in: Regenerated.
        * libc/argz/dummy.c: New file.
        * libc/ctype/Makefile.am: Add EL/IX level checking.
        * libc/ctype/Makefile.in: Regenerated.
        * libc/locale/Makefile.am: Add EL/IX level checking.
        * libc/locale/Makefile.in: Regenerated.
        * libc/posix/Makefile.am: Add EL/IX level checking.
        * libc/posix/Makefile.in: Regenerated.
        * libc/posix/telldir.c: Add EL/IX level checking.
        * libc/reent/Makefile.am: Ditto.
        * libc/reent/fstat64r.c: Ditto.
        * libc/reent/lseek64r.c: Ditto.
        * libc/reent/open64r.c: Ditto.
        * libc/reent/Makefile.in: Regenerated.
        * libc/search/Makefile.am: Add EL/IX level checking.
        * libc/search/Makefile.in: Regenerated.
        * libc/stdio/Makefile.am: Add EL/IX level checking.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio64/Makefile.am: Add EL/IX level checking.
        * libc/stdio64/Makefile.in: Regenerated.
        * libc/stdio64/dummy.c: New file.
        * libc/stdio64/fgetpos64.c: Fix so _LARGEFILE_64 macro is checked
        after first include.
        * libc/stdio64/fopen64.c: Ditto.
        * libc/stdio64/freopen64.c: Ditto.
        * libc/stdio64/fseeko64.c: Ditto.
        * libc/stdio64/fsetpos64.c: Ditto.
        * libc/stdio64/ftello64.c: Ditto.
        * libc/stdio64/tmpfile64.c: Ditto.
        * libc/stdlib/Makefile.am: Add EL/IX level checking.
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/mstats.c: Add EL/IX level checking.
        * libc/string/Makefile.am: Ditto.
        * libc/string/Makefile.in: Regenerated.
        * libc/sys/linux/Makefile.am: Add EL/IX level checking.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/aclocal.m4: Ditto.
        * libc/sys/linux/configure: Ditto.
        * libc/sys/linux/aio.c: Add EL/IX level checking.
        * libc/sys/linux/ftok.c: Ditto.
        * libc/sys/linux/getdate.c: Ditto.
        * libc/sys/linux/ids.c: Ditto.
        * libc/sys/linux/inode.c: Ditto.
        * libc/sys/linux/io.c: Ditto.
        * libc/sys/linux/process.c: Ditto.
        * libc/sys/linux/resource.c: Ditto.
        * libc/sys/linux/sched.c: Ditto.
        * libc/sys/linux/sig.c: Ditto.
        * libc/sys/linux/termios.c: Ditto.
        * libc/sys/linux/wait.c: Ditto plus add __waitpid and
        __libc___waitpid weak aliases.
        * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
        that generate the code for a syscall, but do not create a
        weak alias.
        * libc/syscalls/Makefile.am: Add EL/IX level checking.
        * libc/syscalls/Makefile.in: Regenerated.
        * libc/time/tzset_r.c: Change to replace strdup with equivalent
        functionality.
        * libc/unix/Makefile.am: Add EL/IX level checking.
        * libc/unix/Makefile.in: Regenerated.

21 years ago* i386-tdep.c (i386_store_return_value): Undeprecate. Convert to
kettenis [Mon, 26 Aug 2002 18:35:24 +0000 (18:35 +0000)]
* i386-tdep.c (i386_store_return_value): Undeprecate.  Convert to
use regcache_* functions.
(i386_gdbarch_init): Set store_return_value instead of
deprecated_store_return_value.

21 years ago* dll.sgml: Remove indirect reference to older gccs.
cgf [Mon, 26 Aug 2002 18:03:40 +0000 (18:03 +0000)]
* dll.sgml: Remove indirect reference to older gccs.

21 years ago * gas/m68k/all.exp: xfail non-ELF targets on pcrel test.
amodra [Mon, 26 Aug 2002 11:42:12 +0000 (11:42 +0000)]
* gas/m68k/all.exp: xfail non-ELF targets on pcrel test.

21 years ago * gas/m68hc11/insns.d: Quote dots.
amodra [Mon, 26 Aug 2002 11:35:31 +0000 (11:35 +0000)]
* gas/m68hc11/insns.d: Quote dots.
* gas/m68hc11/opers12.d: Likewise.

21 years ago * gas/ieee-fp/x930509a.exp: Run the test but xfail. Add c80 to xfails.
amodra [Mon, 26 Aug 2002 11:27:02 +0000 (11:27 +0000)]
* gas/ieee-fp/x930509a.exp: Run the test but xfail.  Add c80 to xfails.

21 years ago * gas/vax/quad.exp: Use quad_elf.s for ELF targets.
amodra [Mon, 26 Aug 2002 11:06:31 +0000 (11:06 +0000)]
* gas/vax/quad.exp: Use quad_elf.s for ELF targets.
* gas/vax/quad.s: Align
* gas/vax/quad_elf.s: New version of quad.s with %reg.

21 years ago * gas/sparc/sparc.exp (sparc_elf_setup): New.
amodra [Mon, 26 Aug 2002 10:44:11 +0000 (10:44 +0000)]
* gas/sparc/sparc.exp (sparc_elf_setup): New.
Use it to xfail for non-ELF targets.

21 years ago * gas/tic54x/align.s: Add comment.
amodra [Mon, 26 Aug 2002 10:37:57 +0000 (10:37 +0000)]
* gas/tic54x/align.s: Add comment.
* gas/tic54x/align.d: Adjust .text size for 2002-05-23 write.c change.
* gas/tic54x/extaddr.d: Similarly adjust disassembly tail.

21 years ago * ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.
amodra [Mon, 26 Aug 2002 10:16:33 +0000 (10:16 +0000)]
* ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout.

21 years ago * binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
amodra [Mon, 26 Aug 2002 10:15:45 +0000 (10:15 +0000)]
* binutils-all/objcopy.exp (strip_test): Adjust for "no symbols" on
stdout.
(strip_executable): Likewise.

21 years ago * nm.c (display_rel_file): Don't report "no symbols" as an error.
amodra [Mon, 26 Aug 2002 10:14:15 +0000 (10:14 +0000)]
* nm.c (display_rel_file): Don't report "no symbols" as an error.
* objdump.c (slurp_symtab): Likewise.
(slurp_dynamic_symtab): Likewise.
(dump_symbols): Likewise.  Do print "no symbols" to stdout.

21 years ago * fhandler.h (fhandler_socket::recvfrom): Fix prototype.
corinna [Mon, 26 Aug 2002 09:57:26 +0000 (09:57 +0000)]
* fhandler.h (fhandler_socket::recvfrom): Fix prototype.
(fhandler_socket::sendto): Ditto.
* fhandler_socket.cc (fhandler_socket::recvfrom): Ditto.
(fhandler_socket::sendto): Ditto.
* include/sys/socket.h (recv): Fix prototype.
(recvfrom): Ditto.
(send): Ditto.
(sendto): Ditto.
* net.cc (cygwin_sendto): Ditto. Improve strace message
(cygwin_recvfrom): Ditto.  Ditto.
(cygwin_setsockopt): Improve strace message.
(cygwin_getsockopt): Ditto.
(cygwin_connect): Ditto.
(cygwin_accept): Ditto.
(cygwin_bind): Ditto.
(cygwin_getsockname): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_recv): Fix prototype.
(cygwin_send): Ditto.
(cygwin_recvmsg): Improve strace message.
(cygwin_sendmsg): Ditto.

21 years ago * sec_acl.cc (getacl): Check ace_sid == well_known_world_sid
corinna [Mon, 26 Aug 2002 09:56:05 +0000 (09:56 +0000)]
* sec_acl.cc (getacl): Check ace_sid == well_known_world_sid
before owner_sid and group_sid so that well_known_world_sid
means "other" even when owner_sid and/or group_sid are Everyone.
* security.cc (get_attribute_from_acl): Created from code common
to get_nt_attribute() and get_nt_object_attribute(), with same
reordering as in getacl() above.
(get_nt_attribute): Call get_attribute_from_acl().
(get_nt_object_attribute): Ditto.