OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
22 years agoAdd IP2k support to BFD and LD
nickc [Wed, 17 Jul 2002 14:15:48 +0000 (14:15 +0000)]
Add IP2k support to BFD and LD

22 years agoFrom: Ian Rickards <irickard@arm.com>
rearnsha [Wed, 17 Jul 2002 12:17:17 +0000 (12:17 +0000)]
From: Ian Rickards  <irickard@arm.com>
* dwarf2.c (concat_filename): If we can't establish the directory
just return the filename.

22 years ago2002-07-17 David Mosberger <davidm@hpl.hp.com>
hjl [Wed, 17 Jul 2002 07:27:40 +0000 (07:27 +0000)]
2002-07-17  David Mosberger  <davidm@hpl.hp.com>

* ia64-opc-b.c (bWhc): New macro.
(mWhc): Ditto.
(OpPaWhcD): Ditto.
(ia64_opcodes_b): Correct patterns for indirect call
instructions to use 3-bit "wh" field.
* ia64-asmtab.c: Regnerate.

22 years ago2002-07-17 H.J. Lu <hjl@gnu.org>
hjl [Wed, 17 Jul 2002 07:26:29 +0000 (07:26 +0000)]
2002-07-17  H.J. Lu <hjl@gnu.org>

* gas/ia64/dv-branch.d: Updated.
* gas/ia64/opc-b.d: Likewise.

22 years ago2002-07-17 Danny Smith <dannysmith@users.sourceforge.net>
dannysmith [Wed, 17 Jul 2002 04:49:01 +0000 (04:49 +0000)]
2002-07-17  Danny Smith  <dannysmith@users.sourceforge.net>

* include/commdlg.h: Define CDN_* notification message constants
as UINT.

2002-07-17  Mattia Barbon  <mbarbon@users.sourceforge.net>

* include/commctrl.h: Define notification message constants for
NMHDR.code as UINT.

22 years ago2002-07-17 Bart Oldeman <bart.oldeman@btinternet.com>
dannysmith [Wed, 17 Jul 2002 03:37:45 +0000 (03:37 +0000)]
2002-07-17   Bart Oldeman  <bart.oldeman@btinternet.com>

* include/ddeml.h (MH_*) Add defines.
(MONHSZSTRUCT): Add structure and typedefs.
(MONLINKSTRUCT): Ditto.
(MONCONVSTRUCT): Ditto.
(MONCBSTRUCT): Ditto.
(MONERRSTRUCT): Ditto.
(MONMSGSTRUCT): Ditto.
* include/windef.h: Don't define __cdecl or _cdecl for
__WATCOM__.
Don't define _export or __export for __WATCOM__.
* include/windows.h (imm.h): #include.
* include/winnt.h (LPEXCEPTION_RECORD): Add typedef.

2002-07-17  Danny Smith <dannysmith@users.sourceforge.net>

* include/wtypes.h: Remove duplicate #includes of rhc.h and
rpcndr.h.

22 years ago * README: Add Running the Testsuite section.
fitzsim [Wed, 17 Jul 2002 00:58:59 +0000 (00:58 +0000)]
* README: Add Running the Testsuite section.

22 years ago2002-07-16 Chris Demetriou <cgd@broadcom.com>
cgd [Wed, 17 Jul 2002 00:17:14 +0000 (00:17 +0000)]
2002-07-16  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2002-07-09 version.
        * config.sub: Update to 2002-07-03 version.

22 years ago*** empty log message ***
gdbadmin [Wed, 17 Jul 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Wed, 17 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
hubicka [Tue, 16 Jul 2002 22:31:19 +0000 (22:31 +0000)]
* tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.

22 years ago * dwarf2read.c (read_initial_length): Handle older, non-standard,
kevinb [Tue, 16 Jul 2002 21:00:42 +0000 (21:00 +0000)]
* dwarf2read.c (read_initial_length): Handle older, non-standard,
64-bit DWARF2 format.

22 years agoCorrect typos.
brolley [Tue, 16 Jul 2002 19:25:45 +0000 (19:25 +0000)]
Correct typos.

22 years ago2002-07-16 Dave Brolley <brolley@redhat.com>
brolley [Tue, 16 Jul 2002 19:14:46 +0000 (19:14 +0000)]
2002-07-16  Dave Brolley  <brolley@redhat.com>

* cache.h (cache): Add flush_and_invalidate_set_pin and
flush_and_invalidate_pin.
* cache.cxx (cache_component): Initialize flush_and_invalidate_set_pin
and flush_and_invalidate_pin. Add flush-and-invalidate and
flush-and-invalidate-set pins.
(flush_set): Don't flush an invalid line.
(flush_and_invalidate_set): New method.
(flush_and_invalidate_line): New method.
* hw-cache.xml, hw-cache.txt: Modified accordingly.

22 years ago * proc-api.c: use HAVE_SYS_PROC_H macro to avoid including
brobecke [Tue, 16 Jul 2002 17:14:38 +0000 (17:14 +0000)]
    * proc-api.c: use HAVE_SYS_PROC_H macro to avoid including
        <sys/proc.h> when not available.

22 years ago * proc-api.c: use HAVE_SYS_PROC_H macro to avoid including
brobecke [Tue, 16 Jul 2002 17:14:13 +0000 (17:14 +0000)]
    * proc-api.c: use HAVE_SYS_PROC_H macro to avoid including
        <sys/proc.h> when not available.

22 years ago2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 16 Jul 2002 15:30:24 +0000 (15:30 +0000)]
2002-07-16  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
        if LIBC_EXTRA_LIB is present.
        * libc/Makefile.in: Regenerated.
        * libc/libc.texinfo: Add blank line.
        * libc/argz/Makefile.am: Add doc support.
        * libc/search/Makefile.am: Ditto.
        * libc/argz/Makefile.in: Regenerated.
        * libc/search/Makefile.in: Ditto.
        * libc/misc/misc.tex: Add ffs function.
        * libc/stdio/ftell.c: Fix missing doc delimeter in description.

22 years agoObsolete i[3456]86-*-os9k.
cagney [Tue, 16 Jul 2002 15:19:18 +0000 (15:19 +0000)]
Obsolete i[3456]86-*-os9k.

22 years agoObsolete fr30.
cagney [Tue, 16 Jul 2002 14:30:11 +0000 (14:30 +0000)]
Obsolete fr30.

22 years ago * config/tc-z8k.c (build_bytes): Correct order of memset args.
amodra [Tue, 16 Jul 2002 13:37:48 +0000 (13:37 +0000)]
* config/tc-z8k.c (build_bytes): Correct order of memset args.

22 years ago * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Correct order of memset args.
amodra [Tue, 16 Jul 2002 13:35:58 +0000 (13:35 +0000)]
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Correct order of memset args.

22 years ago * elflink.h: Formatting fixes, tidy prototypes.
amodra [Tue, 16 Jul 2002 12:31:35 +0000 (12:31 +0000)]
* elflink.h: Formatting fixes, tidy prototypes.
(elf_link_assign_sym_version): Move common code out of loop.

22 years ago * elflink.h (elf_link_input_bfd): Don't call reloc_emitter when
amodra [Tue, 16 Jul 2002 09:00:41 +0000 (09:00 +0000)]
* elflink.h (elf_link_input_bfd): Don't call reloc_emitter when
reloc section size is zero.  Correct reloc output location.

22 years agoAdd 'Chnages in 2.13' to NEWS files.
nickc [Tue, 16 Jul 2002 07:58:32 +0000 (07:58 +0000)]
Add 'Chnages in 2.13' to NEWS files.

22 years ago2002-07-16 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Tue, 16 Jul 2002 07:42:25 +0000 (07:42 +0000)]
2002-07-16  Pierre Muller  <muller@ics.u-strasbg.fr>

* blockframe.c (get_pc_function_start): return 0 if the minimal symbol
found is not inside a section.

22 years agojdf fix.
cgf [Tue, 16 Jul 2002 03:12:55 +0000 (03:12 +0000)]
jdf fix.

22 years ago * elf-hppa.h (elf_hppa_reloc_final_type): Use R_PARISC_PCREL16F as
amodra [Tue, 16 Jul 2002 02:26:30 +0000 (02:26 +0000)]
* elf-hppa.h (elf_hppa_reloc_final_type): Use R_PARISC_PCREL16F as
the final type for the e_fsel selector when generating PA2.0W code.
(elf_hppa_relocate_insn): Provide support for PA2.0W 16-bit format 1
relocations.

22 years ago From Mo DeJong <supermo@bayarea.net>:
kseitz [Tue, 16 Jul 2002 00:42:39 +0000 (00:42 +0000)]
    From Mo DeJong  <supermo@bayarea.net>:
        * unix/configure.in: Use TCL_BUILD_STUB_LIB_SPEC instead of
        TCL_STUB_LIB_SPEC when defining MAKE_LIB since we want to
        link to the libtclstub in the build directory.
        * unix/configure: Regenerated.

22 years ago * aix-thread.c (ptrace_check): Use safe_strerror() instead of
kevinb [Tue, 16 Jul 2002 00:22:45 +0000 (00:22 +0000)]
* aix-thread.c (ptrace_check): Use safe_strerror() instead of
strerror().
(pdc_realloc): Use xrealloc() instead of realloc().

22 years ago2002-07-15 H.J. Lu <hjl@gnu.org>
hjl [Tue, 16 Jul 2002 00:15:57 +0000 (00:15 +0000)]
2002-07-15  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp: Add vers21.

* ld-elfvers/vers21.c: New.
* ld-elfvers/vers21.dsym: New.
* ld-elfvers/vers21.map: New.
* ld-elfvers/vers21.sym: New.
* ld-elfvers/vers21.ver: New.

22 years ago2002-07-15 H.J. Lu <hjl@gnu.org>
hjl [Tue, 16 Jul 2002 00:15:23 +0000 (00:15 +0000)]
2002-07-15  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp: Add vers21.

* ld-elfvers/vers21.c: New.
* ld-elfvers/vers21.dsym: New.
* ld-elfvers/vers21.map: New.
* ld-elfvers/vers21.sym: New.
* ld-elfvers/vers21.ver: New.

22 years ago*** empty log message ***
gdbadmin [Tue, 16 Jul 2002 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Tue, 16 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago * aix-thread.c (PD_ERROR, CALL_BASE): Delete.
kevinb [Mon, 15 Jul 2002 23:33:09 +0000 (23:33 +0000)]
* aix-thread.c (PD_ERROR, CALL_BASE): Delete.
(ops_resume, ops_wait, fetch_regs_lib, store_regs_lib)
(ops_xfer_memory, ops_kill): Don't use PD_ERROR or CALL_BASE
macros.

22 years ago2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 15 Jul 2002 22:25:52 +0000 (22:25 +0000)]
2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
        definition that was removed in error.

Move definition before comment regarding H8300 macro definition.

22 years ago2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 15 Jul 2002 22:17:01 +0000 (22:17 +0000)]
2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
        definition that was removed in error.

22 years ago2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 15 Jul 2002 21:35:43 +0000 (21:35 +0000)]
2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/machine/ieeefp.h: Change to only define
        floating point defines (e.g one of __IEEE_BIG_ENDIAN or
        __IEEE_LITTLE_ENDIAN must be defined for each platform).
        * libc/include/sys/config.h: Include <machine/ieeefp.h> and
        remove redundant floating point definitions.

22 years ago2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 15 Jul 2002 21:13:32 +0000 (21:13 +0000)]
2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/callocr.c: Fix so code references
        calloc.

22 years ago2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 15 Jul 2002 20:16:30 +0000 (20:16 +0000)]
2002-07-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Add new files.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/bp-sym.h: Moved to include directory.
        * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
        * libc/sys/linux/inode.c: Set _LIBC to 1.
        * libc/sys/linux/mq_close.c: Ditto.
        * libc/sys/linux/mq_getattr.c: Ditto.
        * libc/sys/linux/mq_open.c: Ditto.
        * libc/sys/linux/mq_receive.c: Ditto.
        * libc/sys/linux/mq_send.c: Ditto.
        * libc/sys/linux/mq_setattr.c: Ditto.
        * libc/sys/linux/mq_unlink.c: Ditto.
        * libc/sys/linux/calloc.c: New file.
        * libc/sys/linux/callocr.c: Ditto.
        * libc/sys/linux/cfreer.c: Ditto.
        * libc/sys/linux/config.h: Ditto.
        * libc/sys/linux/free.c: Ditto.
        * libc/sys/linux/freer.c: Ditto.
        * libc/sys/linux/msize.c: Ditto.
        * libc/sys/linux/msizer.c: Ditto.
        * libc/sys/linux/mstats.c: Ditto.
        * libc/sys/linux/mtrim.c: Ditto.
        * libc/sys/linux/mtrimr.c: Ditto.
        * libc/sys/linux/pvallocr.c: Ditto.
        * libc/sys/linux/realloc.c: Ditto.
        * libc/sys/linux/reallocr.c: Ditto.
        * libc/sys/linux/thread-m.h: Ditto.
        * libc/sys/linux/vallocr.c: Ditto.
        * libc/sys/linux/bp-checks.h: Ditto.
        * libc/sys/linux/libc-symbols.h: Ditto.
        * libc/sys/linux/libc-tsd.h: Ditto.
        * libc/sys/linux/libintl.h: Ditto.
        * libc/sys/linux/malign.c: Ditto.
        * libc/sys/linux/malignr.c: Ditto.
        * libc/sys/linux/mallinfor.c: Ditto.
        * libc/sys/linux/malloc.c: Ditto.
        * libc/sys/linux/mallocr.c: Ditto.
        * libc/sys/linux/malloptr.c: Ditto.
        * libc/sys/linux/mallstatsr.c: Ditto.
        * libc/sys/linux/mcheck.c: Ditto.
        * libc/sys/linux/mhooks.h: Ditto.
        * libc/sys/linux/include/bp-sym.h: Ditto.
        * libc/sys/linux/include/malloc.h: Ditto.
        * libc/sys/linux/include/mcheck.h: Ditto.
        * libc/sys/linux/machine/i386/getpagesize.c: New file.
        * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
        * libc/sys/linux/machine/i386/sysdep.h: New file.
        * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
        * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
* libc/sys/linux/sys/types.h: Add new types.

22 years ago * aix-thread.c (ptrace_check): Eliminate goto.
kevinb [Mon, 15 Jul 2002 20:06:10 +0000 (20:06 +0000)]
* aix-thread.c (ptrace_check): Eliminate goto.
(sync_threadlists): Eliminate gotos.  Also, fix array overrun
problem.

22 years ago * aix-thread.c (gdbcmd.h): Include.
kevinb [Mon, 15 Jul 2002 18:55:03 +0000 (18:55 +0000)]
* aix-thread.c (gdbcmd.h): Include.
(DEBUG, DBG, DBG2, dbg): Eliminate.
(debug_aix_thread): New static global.
(ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs)
(pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc)
(fetch_regs_lib, store_regs_lib, store_regs_kern): Rewrite
invocations to DBG and DBG2 macros to test against
``debug_aix_thread'' and call fprintf_unfiltered().
(_initialize_aix_thread): Add new command "set debug aix-thread".

22 years agoFrom Gerhard Tonn <TON@de.ibm.com>:
cagney [Mon, 15 Jul 2002 16:50:51 +0000 (16:50 +0000)]
From Gerhard Tonn <TON@de.ibm.com>:
* s390-nat.c (fill_fpregset, fill_gregset): Use regcache_collect
instead of supply_register.

22 years ago* sim-resume.c (sim_resume): Add local variable sig_to_deliver to
cagney [Mon, 15 Jul 2002 16:13:12 +0000 (16:13 +0000)]
* sim-resume.c (sim_resume): Add local variable sig_to_deliver to
avoid possible longjmp problems with automatic variable siggnal.

22 years ago* dwarf2cfi.c: Include "gdb_assert.h".
cagney [Mon, 15 Jul 2002 16:01:30 +0000 (16:01 +0000)]
* dwarf2cfi.c: Include "gdb_assert.h".
(frame_state_for): Use gdb_assert to check that fde->cie_ptr is
non-NULL.
(update_context): Do not use __func__.  Add missing ``break''.
(update_context): Do not use __func__.

22 years ago2002-07-15 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 15 Jul 2002 15:09:55 +0000 (15:09 +0000)]
2002-07-15  Elena Zannoni  <ezannoni@redhat.com>

        * rs6000-tdep.c (rs6000_gdbarch_init): Remove variable print_insn
        and its setting.  Set gdbarch instruction printing functions
        directly.  For non-rs6000 case use new function
        gdb_print_insn_powerpc.
        (gdb_print_insn_powerpc): New function.

22 years ago * security.cc (get_group_sidlist): Fix formatting.
corinna [Mon, 15 Jul 2002 09:06:43 +0000 (09:06 +0000)]
* security.cc (get_group_sidlist): Fix formatting.

22 years ago* dcrt0.cc (initial_env): Force path and CYGWIN_DEBUG contents to lower case.
cgf [Mon, 15 Jul 2002 03:48:52 +0000 (03:48 +0000)]
* dcrt0.cc (initial_env): Force path and CYGWIN_DEBUG contents to lower case.
* exceptions.cc (error_start_init): Use the name derived from GetModuleName
rather than myself->progname.

22 years agobfd/
hjl [Mon, 15 Jul 2002 02:23:26 +0000 (02:23 +0000)]
bfd/
2002-07-14  H.J. Lu <hjl@gnu.org>

* elflink.h (elf_link_assign_sym_version): Hide the default
definition if there is a hidden versioned definition.

ld/
2002-07-14  H.J. Lu <hjl@gnu.org>

* ld.texinfo: Document a .symver takes precedence over a
version script.

22 years agocopyright date
amodra [Mon, 15 Jul 2002 01:52:48 +0000 (01:52 +0000)]
copyright date

22 years ago * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
amodra [Mon, 15 Jul 2002 01:51:06 +0000 (01:51 +0000)]
* config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.

22 years ago*** empty log message ***
gdbadmin [Mon, 15 Jul 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Mon, 15 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago* dcrt0.cc (dll_crt0_1): Move debug_init call back to here. Avoid a compiler
cgf [Sun, 14 Jul 2002 19:15:32 +0000 (19:15 +0000)]
* dcrt0.cc (dll_crt0_1): Move debug_init call back to here.  Avoid a compiler
warning.
* shared.cc (memory_init): Remove debug_init call.
* debug.h (handle_list): Change "clexec" to "inherited".
* debug.cc: Remove a spurious declaration.
(setclexec): Conditionalize away since it is currently unused.
(add_handle): Use inherited field rather than clexec.
(debug_fixup_after_fork_exec): Ditto.  Move debugging output to delete_handle.
(delete_handle): Add debugging output.
* fhandler.cc (fhandler_base::set_inheritance): Don't bother setting
inheritance in debugging table since the handle was never protected anyway.
(fhandler_base::fork_fixup): Ditto.
* exceptions.cc (debugger_command): Revert.

22 years agoFrom 2002-07-11 Momchil Velikov <velco@fadata.bg>:
cagney [Sun, 14 Jul 2002 17:03:39 +0000 (17:03 +0000)]
From 2002-07-11 Momchil Velikov <velco@fadata.bg>:
* Make-common.in (installdirs): Make $(libdir) too, needed when
installing libsim.a.

22 years ago* debug.cc (clexec): Add missing `hl = hl->next'.
cgf [Sun, 14 Jul 2002 16:16:33 +0000 (16:16 +0000)]
* debug.cc (clexec): Add missing `hl = hl->next'.

22 years ago* Makefile.in (cygrun.exe): Add a -lcygwin on the end.
cgf [Sun, 14 Jul 2002 04:14:32 +0000 (04:14 +0000)]
* Makefile.in (cygrun.exe): Add a -lcygwin on the end.

22 years ago* Makefile.in (cygserver.exe): Add -lstdc++.
cgf [Sun, 14 Jul 2002 04:03:00 +0000 (04:03 +0000)]
* Makefile.in (cygserver.exe): Add -lstdc++.
(cygrun.exe): Move -lgcc last.

22 years agoMention d30v obsolete in news file.
cagney [Sun, 14 Jul 2002 00:28:46 +0000 (00:28 +0000)]
Mention d30v obsolete in news file.

22 years agoObsolete the d30v.
cagney [Sun, 14 Jul 2002 00:15:19 +0000 (00:15 +0000)]
Obsolete the d30v.

22 years agodaily update
amodra [Sun, 14 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 14 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoadd initial information
cgf [Sat, 13 Jul 2002 21:15:10 +0000 (21:15 +0000)]
add initial information

22 years agocleanup a tad
cgf [Sat, 13 Jul 2002 21:13:37 +0000 (21:13 +0000)]
cleanup a tad

22 years ago* dcrt0.cc (dll_crt0_1): Delay closing of some handles until cygheap has been
cgf [Sat, 13 Jul 2002 21:08:12 +0000 (21:08 +0000)]
* dcrt0.cc (dll_crt0_1): Delay closing of some handles until cygheap has been
set up.
(break_here): New function, for debugging.
(initial_env): Add program name to "Sleeping" message.  Implement new
"CYGWIN_DEBUG" environment variable option.
* exceptions.cc (debugger_command): Add argument to dumper call.
* strace.cc (strace::hello): Use winpid if cygwin pid is unavailable.
(strace::vsprntf): Ditto.

22 years ago* debug.h (handle_list): Move here from debug.cc. Add "inherit" flag
cgf [Sat, 13 Jul 2002 20:00:25 +0000 (20:00 +0000)]
* debug.h (handle_list): Move here from debug.cc.  Add "inherit" flag
functionality.
* cygheap.cc (init_cheap): Move cygheap_max calculation to _csbrk.
(_csbrk): Reorganize to not assume first allocation is <= 1 page.
(cygheap_setup_for_child): Mark protected handle as inheritable.
* cygheap.h (cygheap_debug): New struct.
(init_cygheap): Add new structure when debugging.
* dcrt0.cc (dll_crt0_1): Remove call to debug_init.  Close ppid_handle here, if
appropriate.  Don't protect subproc_ready, since it is already protected in the
parent.  Call memory_init prior to ProtectHandle to ensure that cygheap is set
up.  Call debug_fixup_after_fork_exec when appropriate.
(_dll_crt0): Don't close ppid_handle here.
* debug.cc: Use cygheap debug structure rather than static elements throughout.
(add_handle): Don't issue a warning if attempt to protect handle in exactly the
same way from exactly the same place.  Add pid info to warning output.  Accept
additional argument controlling whether handle is to be inherited.  Add pid to
stored information.
(debug_fixup_after_fork_exec): Renamed from debug_fixup_after_fork.  Reorganize
to avoid erroneously skipping handles.
(mark_closed): Add pid info to warning output.
(setclexec): Rename from setclexec_pid.
* fhandler.cc (fhandler_base::get_default_fmode): Minor reorg.
(fhandler_base::fstat): Add debugging output.
(fhandler_base::set_inheritance): Call setclexec rather than setclexec_pid.
(fhandler_base::fork_fixup): Ditto.
* fhandler_console.cc (get_tty_stuff): Mark protected handle as inheritable.
* fhandler_tty.cc (fhandler_tty_slave::open): Ditto.
* tty.cc (tty::make_pipes): Ditto.
(tty::common_init): Ditto.
* fork.cc (fork_parent): Ditto.
(fork_child): Close protected handles with correct name.  Remove
debug_fixup_after_fork call.
* fhandler_socket.cc (fhandler_socket::create_secret_event): Mark protected
handle as inheritable/non-inheritable, as appropriate.
* shared.cc (memory_init): Mark protected handle as inheritable.  Call
debug_init here.
* sigproc.cc (wait_sig): Close protected handle with correct name.
* spawn.cc (spawn_guts): Rename spr to subproc_ready and mark it as
inheritable.
* exceptions.cc (debugger_command): Try to run dumper.exe, if found.
* syscalls.cc (fstat64): Don't follow symlinks for path_conv lookup since path
is already resolved.

22 years ago * ada-tasks.c (add_task_entry): replace calls to
aidan [Sat, 13 Jul 2002 12:25:16 +0000 (12:25 +0000)]
* ada-tasks.c (add_task_entry): replace calls to
malloc() with xmalloc
* ada-tasks.c (init_task_list): replace calls to free with xfree()

* ada-lang.c (replace_operator_with_call, fill_in_ada_prototype,
ada_finish_decode_line_1, all_sals_for_line
ada_breakpoint_rewrite): replace calls to free() with xfree()

22 years ago * ada-tasks.c (add_task_entry): replace calls to
aidan [Sat, 13 Jul 2002 12:24:05 +0000 (12:24 +0000)]
* ada-tasks.c (add_task_entry): replace calls to
malloc() with xmalloc
* ada-tasks.c (init_task_list): replace calls to free with xfree()

* ada-lang.c (replace_operator_with_call, fill_in_ada_prototype,
ada_finish_decode_line_1, all_sals_for_line
ada_breakpoint_rewrite): replace calls to free() with xfree()

22 years ago * ada-tasks.c (add_task_entry): replace calls to
aidan [Sat, 13 Jul 2002 12:22:35 +0000 (12:22 +0000)]
* ada-tasks.c (add_task_entry): replace calls to
malloc() with xmalloc
* ada-tasks.c (init_task_list): replace calls to free with xfree()

* ada-lang.c (replace_operator_with_call, fill_in_ada_prototype,
ada_finish_decode_line_1, all_sals_for_line
ada_breakpoint_rewrite): replace calls to free() with xfree()

22 years ago From Nicholas Duffek (with minor changes by Martin Hunt,
kevinb [Sat, 13 Jul 2002 00:29:37 +0000 (00:29 +0000)]
From Nicholas Duffek (with minor changes by Martin Hunt,
Louis Hamilton, and Kevin Buettner):
* aix-thread.c: New file.

22 years agodaily update
amodra [Sat, 13 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sat, 13 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agofyx tipo.
cgf [Fri, 12 Jul 2002 22:59:19 +0000 (22:59 +0000)]
fyx tipo.

22 years ago2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 12 Jul 2002 22:42:47 +0000 (22:42 +0000)]
2002-07-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
        instead of <asm/siginfo.h>.
        * libc/sys/linux/sys/signal.h: Change to include various linux
        <bits/xxx.h> header files, rather than <linux/signal.h> so as
        to work with multiple releases of glibc header files.

22 years ago* cygwin.in: Change erroneous entries.
cgf [Fri, 12 Jul 2002 21:32:31 +0000 (21:32 +0000)]
* cygwin.in: Change erroneous entries.

22 years ago2002-07-12 Petr Sorfa <petrs@caldera.com>
petrs [Fri, 12 Jul 2002 19:55:10 +0000 (19:55 +0000)]
2002-07-12  Petr Sorfa <petrs@caldera.com>

        *  dwarf2read.c (dwarf2_invalid_attrib_class): New
        complaint for invalid attribute class or form.
        (read_func_scope): DW_AT_frame_base
        better handling of DW_AT_block*.
        (dwarf2_add_member_fn): DW_AT_vtable_elem_location
        better handling of DW_AT_block*.
        (read_common_block): DW_AT_location
        better handling of DW_AT_block*.
        (read_partial_die): DW_AT_location better handling
        of DW_AT_block*.
        (new_symbol): DW_AT_external better handling of
        DW_AT_block*. Proper initialization of variable
        "addr".
        (attr_form_is_block): New function that returns true
        if the attribute's form is of DW_FORM_block*.

22 years ago2002-07-12 Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
drow [Fri, 12 Jul 2002 19:15:30 +0000 (19:15 +0000)]
2002-07-12  Peter Schauer  <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>

        * valops.c (find_method_list): Remove comment about
        removed STATIC_MEMFUNCP argument.
        (value_find_oload_method_list): Likewise.

22 years ago From Nicholas Duffek:
kevinb [Fri, 12 Jul 2002 18:42:05 +0000 (18:42 +0000)]
From Nicholas Duffek:
* rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call
target_new_objfile_hook.

22 years ago From Nicholas Duffek:
kevinb [Fri, 12 Jul 2002 18:30:15 +0000 (18:30 +0000)]
From Nicholas Duffek:
* xcoffread.c (scan_xcoff_symtab): Recognize XMC_TD as a data storage
csect.

22 years ago2002-07-12 Chris Demetriou <cgd@broadcom.com>
jjohnstn [Fri, 12 Jul 2002 17:55:03 +0000 (17:55 +0000)]
2002-07-12  Chris Demetriou  <cgd@broadcom.com>

        * mips/Makefile.in (GENOBJS2): New variable to name other
        commonly used objects.
        (DVEOBJS, JMR3904OBJS): Reference GENOBJS2.

        * mips/Makefile.in: Add support for Broadcom CFE firmware.
        * mips/configure.in: (mipsisa32*-*-*, *): Likewise.
        * mips/configure: Regenerate.
        * mips/cfe.c: New file.
        * mips/cfe.ld: New file.
        * mips/cfe_api.c: New file.
        * mips/cfe_api.h: New file.
        * mips/cfe_api_int.h: New file.
        * mips/cfe_error.h: New file.
        * mips/cfe_prestart.S: New file.

22 years ago* MAINTAINERS: Mention --enable-sim-build-warnings.
cagney [Fri, 12 Jul 2002 17:14:31 +0000 (17:14 +0000)]
* MAINTAINERS: Mention --enable-sim-build-warnings.
(m68hc11-elf): Disable sim build warnings.
(m32r-elf): Mark as broken obsolete candidate.
(x86_64-linux-gnu): Mark as buildable with -Werror.
(arm-elf): Change -w to ``,'' which enables warnings but not
-Werror.

22 years ago * elf32-cris.c (cris_elf_relocate_section): Drop nonsensical
hp [Fri, 12 Jul 2002 15:54:57 +0000 (15:54 +0000)]
* elf32-cris.c (cris_elf_relocate_section): Drop nonsensical
dynamic reference test in assertion when initializing GOT with
static contents.  Just assert that there are either no dynamic
sections, the symbol is defined in the regular objects or that the
symbol is undef weak.  Tweak comment.
(elf_cris_finish_dynamic_symbol): Emit .got reloc for a program
only if the symbol isn't defined in the program and isn't undef
weak.
(elf_cris_adjust_dynamic_symbol): Simplify condition for getting
rid of PLT entry: only do it if the symbol isn't defined in a DSO.
When doing so, clear ELF_LINK_HASH_NEEDS_PLT.  Tweak comments.
(elf_cris_discard_excess_program_dynamics): Don't consider
ELF_LINK_HASH_REF_DYNAMIC when omitting .got runtime relocs.

22 years ago * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s,
hp [Fri, 12 Jul 2002 15:51:53 +0000 (15:51 +0000)]
* ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s,
ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d,
ld-cris/expdref1.s: New tests.

22 years ago2002-07-12 Chris Demetriou <cgd@broadcom.com>
jjohnstn [Fri, 12 Jul 2002 15:37:03 +0000 (15:37 +0000)]
2002-07-12  Chris Demetriou  <cgd@broadcom.com>

        * mips/array.ld (hardware_exit_hook, hardware_hazard_hook): New
        symbols for optionally-provided functions.
        * mips/ddb-kseg0.ld: Likewise.
        * mips/ddb.ld: Likewise.
        * mips/dve.ld: Likewise.
        * mips/idt.ld: Likewise.
        * mips/idt32.ld: Likewise.
        * mips/idt64.ld: Likewise.
        * mips/idtecoff.ld: Likewise.
        * mips/jmr3904app-java.ld: Likewise.
        * mips/jmr3904app.ld: Likewise.
        * mips/jmr3904dram-java.ld: Likewise.
        * mips/jmr3904dram.ld: Likewise.
        * mips/lsi.ld: Likewise.
        * mips/nullmon.ld: Likewise.
        * mips/pmon.ld: Likewise.
        * mips/crt0.S: Invoke hardware_exit_hook and hardware_hazard_hook
        functions if they are provided.
        (_exit): Handle __embedded_pic properly.

22 years ago* bcache.h: Update copyright.
cagney [Fri, 12 Jul 2002 15:23:09 +0000 (15:23 +0000)]
* bcache.h: Update copyright.
(struct bstring, struct bcache): Move definition to "bcache.c".
Replaced by opaque declaration.
(bcache_xfree): Replace free_bcache.
(bcache_xmalloc, bcache_memory_used): Declare.

* bcache.c: Update copyright.
(struct bstring, struct bcache): Moved to here from "bcache.h".
Update comments.
(bcache_xmalloc, bcache_memory_used): New functions.
(bcache_xfree): Replace function free_bcache.

* Makefile.in (objfiles.o): Add $(bcache_h).
(objfiles_h): Remove $(bcache_h).
(symfile.o): Add $(bcache_h).

* symmisc.c: Update copyright.
(print_symbol_bcache_statistics): Pass psymbol_cache by value.
(print_objfile_statistics): Use bcache_memory_used.

* symfile.c: Include "bcache.h".
(reread_symbols): Use bcache_xfree.
(reread_symbols): Use bcache_xmalloc and bcache_xfree.
(add_psymbol_to_list): Pass psymbol_cache by value.
(add_psymbol_with_dem_name_to_list): Ditto.

* objfiles.h: Update copyright.
(struct bcache): Declare opaque.  Do not include "bcache.h".
(struct objfile): Change psymbol_cache and macro_cache to ``struct
bcache'' pointers.
* dwarf2read.c (macro_start_file): Pass macro_cache by value.

* objfiles.c: Include "bcache.h".  Update copyright.
(allocate_objfile): Use bcache_xmalloc to create psymbol_cache and
macro_cache.
(free_objfile): Use bcache_xfree.

22 years ago * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
amodra [Fri, 12 Jul 2002 06:48:53 +0000 (06:48 +0000)]
* emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64.
(COMMONPAGESIZE): Define.

22 years ago * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
amodra [Fri, 12 Jul 2002 03:47:36 +0000 (03:47 +0000)]
* config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
case with non CODE_64BIT case.  Don't warn on "qword ptr" if
not CODE_64BIT.

22 years agodaily update
amodra [Fri, 12 Jul 2002 00:00:03 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 12 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* monitor.c (monitor_fetch_register): Make name a constant.
graces [Thu, 11 Jul 2002 21:00:39 +0000 (21:00 +0000)]
* monitor.c (monitor_fetch_register): Make name a constant.
(monitor_store_register): Same.

22 years ago2002-07-11 Daniel Jacobowitz <drow@mvista.com>
drow [Thu, 11 Jul 2002 20:46:18 +0000 (20:46 +0000)]
2002-07-11  Daniel Jacobowitz  <drow@mvista.com>

Based on patch from Daniel Berlin <dberlin@dberlin.org>.
* buildsym.c: Include "demangle.h" for SYMBOL_INIT_DEMANGLED_NAME.
(finish_block) For non-function blocks, hash the symbol table.  For
function blocks, mark the symbol table as unhashed.
* minsyms.c (msymbol_hash): Return hash value without taking modulus.
(msymbol_hash_iw): Likewise.
(add_minsym_to_hash_table): Take modulus of msymbol_hash's return
value.
(add_minsym_to_demangled_hash_table): Likewise for msymbol_hash_iw.
(lookup_minimal_symbol): Likewise for both.
* symtab.h (struct block): Add `hashtable' flag.  Comment the
hashtable.
(BLOCK_HASHTABLE, BLOCK_BUCKETS, BLOCK_BUCKET): New macro.
(ALL_BLOCK_SYMBOLS): Update.
(BLOCK_SHOULD_SORT): Do not sort hashed blocks.
(struct symbol): Add `hash_next' pointer.
* symtab.c (lookup_block_symbol): Search using the hash table when
possible.
(find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
(search_symbols, find_addr_symbol): Likewise.

* dstread.c (process_dst_block): Clear hashtable bit for new block.
(read_dst_symtab): Likewise.
* jv-lang.c (get_java_class_symtab): Likewise.
* mdebugread.c: Include "gdb_assert.h".
(shrink_block): Assert that the block being modified is not hashed.
* coffread.c (patch_opaque_types): Use ALL_BLOCK_SYMBOLS.
* symmisc.c (free_symtab_block): Walk the hash table when freeing
symbols.
(dump_symtab): Recognize hashed blocks.
* printcmd.c (print_frame_args):  Assert that function blocks do not
have hashed symbol tables.
* ada-lang.c (symtab_for_sym): Use ALL_BLOCK_SYMBOLS.
(fill_in_ada_prototype, debug_print_block): Likewise.
(ada_add_block_symbols): Use ALL_BLOCK_SYMBOLS.  Handle hash tables.

22 years ago* configure.in: Remove two redundant tests.
dj [Thu, 11 Jul 2002 20:14:41 +0000 (20:14 +0000)]
* configure.in: Remove two redundant tests.

22 years ago* configure.in (mips*-*-irix6*o32): Enable stabs.
dj [Thu, 11 Jul 2002 19:38:34 +0000 (19:38 +0000)]
* configure.in (mips*-*-irix6*o32): Enable stabs.

22 years ago * stack.c (print_frame): Use result of frame_address_in_block()
corinna [Thu, 11 Jul 2002 19:29:08 +0000 (19:29 +0000)]
* stack.c (print_frame): Use result of frame_address_in_block()
instead of fi->pc when evaluating symbols.
(backtrace_command_1): Ditto.

22 years ago* cris-tdep.c (cris_saved_pc_after_call): Fix parameter type.
cagney [Thu, 11 Jul 2002 19:25:13 +0000 (19:25 +0000)]
* cris-tdep.c (cris_saved_pc_after_call): Fix parameter type.
Make static.
* arm-tdep.c (arm_register_name): Make return type constant.

22 years ago2002-07-11 Chris Demetriou <cgd@broadcom.com>
jjohnstn [Thu, 11 Jul 2002 14:59:24 +0000 (14:59 +0000)]
2002-07-11  Chris Demetriou  <cgd@broadcom.com>

        * testsuite/newlib.search/hsearchtest.c: New file to test
        newlib/libc/search.
        * testsuite/newlib.search/hsearchtest.exp: Likewise.

22 years ago * fhandler_disk_file.cc (fhandler_disk_file::open): Don't
corinna [Thu, 11 Jul 2002 14:05:17 +0000 (14:05 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::open): Don't
move the file pointer to the end of file if O_APPEND is
specified in the open flags.

22 years agoFix some K&R isms.
cagney [Thu, 11 Jul 2002 13:50:49 +0000 (13:50 +0000)]
Fix some K&R isms.

22 years ago * elf32-i386.c (elf_i386_relocate_section): Don't complain about
amodra [Thu, 11 Jul 2002 05:33:27 +0000 (05:33 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Don't complain about
unresolved debugging relocs in dynamic applications.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_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.

22 years agojdf patch
cgf [Thu, 11 Jul 2002 02:06:50 +0000 (02:06 +0000)]
jdf patch

22 years ago * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
amodra [Thu, 11 Jul 2002 01:07:48 +0000 (01:07 +0000)]
* config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
(ppc_frob_file_before_adjust): New function.
* config/tc-ppc.h (tc_frob_symbol): Don't define.
(ppc_elf_frob_symbol): Don't declare.
(tc_frob_file_before_adjust): Define.
(ppc_frob_file_before_adjust): Declare.