OSDN Git Service
fitzsim [Thu, 1 Aug 2002 20:21:22 +0000 (20:21 +0000)]
* mips/cfe.ld (STARTUP): New definition.
* mips/ddb-kseg0.ld (STARTUP): Likewise.
* mips/ddb.ld (STARTUP): Likewise.
* mips/dve.ld (STARTUP): Likewise.
* mips/idt.ld (STARTUP): Likewise.
* mips/jmr3904app-java.ld (STARTUP): Likewise.
* mips/jmr3904app.ld (STARTUP): Likewise.
* mips/jmr3904dram-java.ld (STARTUP): Likewise.
* mips/jmr3904dram.ld (STARTUP): Likewise.
* mips/lsi.ld (STARTUP): Likewise.
* mips/nullmon.ld (STARTUP): Likewise.
* mips/pmon.ld (STARTUP): Likewise.
rsandifo [Thu, 1 Aug 2002 20:14:44 +0000 (20:14 +0000)]
[gas/]
* config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend
handling to BFD_RELOC_MIPS16_GPREL.
[gas/testsuite/]
* gas/mips/elf-rel6.[sd]: New test.
* gas/mips/mips.exp: Run it.
kevinb [Thu, 1 Aug 2002 19:57:40 +0000 (19:57 +0000)]
Multiarch REGISTER_VIRTUAL_TYPE for Irix 6.
denisc [Thu, 1 Aug 2002 18:29:09 +0000 (18:29 +0000)]
* elf32-ip2k.c: Processor manufacturer changed to Ubicom.
(struct misc): New field isymbuf. All free_* fields removed.
(symbol_value): Pass in internal syms. No need to swap syms in.
(ip2k_elf_relax_section): Use bfd_elf_get_elf_syms. Properly free
possibly cached info.
(tidyup_after_error): Removed.
(ip2k_elf_relax_section_pass1): Don't use removed fields of struct
misc. Use new field.
(adjust_all_relocations): Use internal syms. No need to swap syms
in and out.
(add_page_insn): Don't use removed fields of struct misc.
kseitz [Thu, 1 Aug 2002 17:56:27 +0000 (17:56 +0000)]
* library/prefs.tcl (pref_read): Don't suppress setting the default
colors if the user has suppressed reading the preferences file.
cagney [Thu, 1 Aug 2002 17:18:31 +0000 (17:18 +0000)]
2002-08-01 Andrew Cagney <cagney@redhat.com>
* NEWS: Menion that CHILL has been made obsolete.
* gdbtypes.c (chill_varying_type): Make chill references obsolete.
* gdbserver/Makefile.in: Ditto.
* stabsread.c (read_range_type): Ditto.
* gdbtypes.h: Ditto.
* language.c (binop_type_check): Ditto.
(binop_result_type): Ditto.
(integral_type): Ditto.
(character_type): Ditto.
(string_type): Ditto.
(boolean_type): Ditto.
(structured_type): Ditto.
(lang_bool_type): Ditto.
(binop_type_check): Ditto.
* language.h (_LANG_chill): Ditto.
* dwarfread.c (set_cu_language): Ditto.
* dwarfread.c (CHILL_PRODUCER): Ditto.
* dwarfread.c (handle_producer): Ditto.
* expression.h (enum exp_opcode): Ditto.
* eval.c: Ditto for comments.
* typeprint.c (typedef_print) [_LANG_chill]: Ditto.
* expprint.c (print_subexp): Ditto.
(print_subexp): Ditto.
* valops.c (value_cast): Ditto.
(search_struct_field): Ditto.
* value.h (COERCE_VARYING_ARRAY): Ditto.
* symfile.c (init_filename_language_table): Ditto.
(add_psymbol_with_dem_name_to_list): Ditto.
* valarith.c (value_binop): Ditto.
(value_neg): Ditto.
* valops.c (value_slice): Ditto.
* symtab.h (union language_specific): Ditto.
(SYMBOL_INIT_LANGUAGE_SPECIFIC): Ditto.
(SYMBOL_DEMANGLED_NAME): Ditto.
(SYMBOL_CHILL_DEMANGLED_NAME): Ditto.
* defs.h (enum language): Ditto.
* symtab.c (got_symtab): Ditto.
* utils.c (fprintf_symbol_filtered): Ditto.
* ch-typeprint.c: Make file obsolete.
* ch-valprint.c: Make file obsolete.
* ch-lang.h: Make file obsolete.
* ch-exp.c: Make file obsolete.
* ch-lang.c: Make file obsolete.
* Makefile.in (FLAGS_TO_PASS): Do not pass CHILL or CHILLFLAGS or
CHILL_LIB.
(TARGET_FLAGS_TO_PASS): Ditto.
(CHILLFLAGS): Obsolete.
(CHILL): Obsolete.
(CHILL_FOR_TARGET): Obsolete.
(CHILL_LIB): Obsolete.
(SFILES): Remove ch-exp.c, ch-lang.c, ch-typeprint.c and
ch-valprint.c.
(HFILES_NO_SRCDIR): Remove ch-lang.h.
(COMMON_OBS): Remove ch-valprint.o, ch-typeprint.o, ch-exp.o and
ch-lang.o.
(ch-exp.o, ch-lang.o, ch-typeprint.o, ch-valprint.o): Delete
targets.
2002-08-01 Andrew Cagney <cagney@redhat.com>
* stabs.texinfo, gdb.texinfo, gdbint.texinfo: Obsolete references
to CHILL.
2002-08-01 Andrew Cagney <cagney@redhat.com>
* Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
CHILL_FOR_TARGET and CHILL_LIB.
* configure.in (configdirs): Remove gdb.chill.
* configure: Regenerate.
* lib/gdb.exp: Obsolete references to chill.
* gdb.fortran/types.exp: Ditto.
* gdb.fortran/exprs.exp: Ditto.
cagney [Thu, 1 Aug 2002 16:49:25 +0000 (16:49 +0000)]
2002-08-01 Andrew Cagney <
ac131313@redhat.com>
* gdbint.texinfo (Coding): Revise section "Include Files".
nickc [Thu, 1 Aug 2002 16:31:16 +0000 (16:31 +0000)]
Ensure that offset to literal pool is computed using signed arithmetic so that
proper sign extension is performed if X_add_number is a 64-bit integer.
cgf [Thu, 1 Aug 2002 16:27:28 +0000 (16:27 +0000)]
* cygthread.cc: Remove cruft.
cgf [Thu, 1 Aug 2002 16:20:30 +0000 (16:20 +0000)]
* Makefile.in (DLL_OFILES): Add cygthread.o.
* dcrt0.cc (dll_crt0_1): Eliminate various thread initialization functions in
favor of new cygthread class.
* debug.cc: Remove thread manipulation functions.
* debug.h: Ditto.
* external.cc (cygwin_internal): Use cygthread method for determining thread
name. Remove capability for setting thread name.
* fhandler_console.cc (fhandler_console::read): Use cygthread method rather
than iscygthread function.
* fhandler_tty.cc (fhandler_tty_master::fhandler_tty_master): Use cygthread
methods to create threads.
(fhandler_tty_common::__acquire_output_mutex): Use cygthread method to retrieve
thread name.
* select.cc (pipeinf): Use cygthread pointer rather than handle.
(start_thread_pipe): Ditto.
(pipe_cleanup): Ditto.
(serialinf): Ditto.
(start_thread_serial): Ditto.
(serial_cleanup): Ditto.
(socketinf): Ditto.
(start_thread_socket): Ditto.
(socket_cleanup): Ditto.
* sigproc.cc (hwait_sig): Ditto.
(hwait_subproc): Ditto.
(proc_terminate): Ditto.
(sigproc_terminate): Ditto.
(sigproc_init): Initialize cygthread hwait_sig pointer.
(subproc_init): Initialize cygthread hwait_subproc pointer.
(wait_sig): Rely on cygthread HANDLE operator.
* strace.cc (strace::vsprntf): Use cygthread::name rather than threadname.
* window.cc (gethwnd): Use cygthread method to initialize thread.
kseitz [Thu, 1 Aug 2002 16:10:54 +0000 (16:10 +0000)]
From Mo Dejong <supermo@bayarea.net>
* unix/tk8.3/configure.in: Default the prefix and
exec_prefix to /usr/local if the user does not
pass --prefix explicitly. This avoids an error
during make install where the TCL_BIN_DIR
variable is set to NONE/bin.
* unix/tk8.3/configure: Regenerated.
drow [Thu, 1 Aug 2002 15:04:41 +0000 (15:04 +0000)]
2002-08-01 H.J. Lu <hjl@gnu.org>
Daniel Jacobowitz <drow@mvista.com>
* dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
.debug_line section unless it has line information.
nickc [Thu, 1 Aug 2002 14:02:58 +0000 (14:02 +0000)]
Revert Adam Nemet's THUMB PLT patch
schwab [Thu, 1 Aug 2002 12:16:36 +0000 (12:16 +0000)]
Fix typo.
dannysmith [Thu, 1 Aug 2002 06:52:04 +0000 (06:52 +0000)]
* include/wininet.h (InternetReadFileEx[AW]). Add prototypes and
UNICODE mapings.
* lib/wininet.def: Regenerate.
nickc [Thu, 1 Aug 2002 06:47:58 +0000 (06:47 +0000)]
Bump version number.
hjl [Thu, 1 Aug 2002 06:29:44 +0000 (06:29 +0000)]
2002-07-31 H.J. Lu <hjl@gnu.org>
* configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
--enable-64-bit-bfd.
hjl [Thu, 1 Aug 2002 06:24:51 +0000 (06:24 +0000)]
Enable x86-64 for Linux/i386 if 64bit BFD is selected.
kseitz [Thu, 1 Aug 2002 01:38:45 +0000 (01:38 +0000)]
* win/winMain.c (main): Ifdef out for cygwin.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Add TK_DLL_BASE variable
to define DLL image bases on cygwin.
Do not link with "-e _WinMain@16" on cygwin.
* win/configure.in (TK_DLL_BASE): Substitute into makefile.
* win/configure: Regenerated.
* win/Makefile.in: Use TK_DLL_BASE to build DLLs.
kseitz [Thu, 1 Aug 2002 01:36:14 +0000 (01:36 +0000)]
* generic/tclIntDecls.h (TclIntStubs): Do not include definitions
for tclpAlloc, tclpFree, or pRealloc on cygwin.
* win/tcl.hpj.in: Copied here from tools/tcl.hpj.in.
* win/tcl.m4 (SC_CONFIG_CFLAGS): Add TCL_DLL_BASE, DDE_DLL_BASE,
and REG_DLL_BASE variables to define DLL image bases on cygwin.
Do not link with "-e _WinMain@16" on cygwin.
* win/configure.in (TCL_DLL_BASE): Substitute into makefile.
(DDE_DLL_BASE): Likewise.
(REG_DLL_BASE): Likewise.
* win/configure: Regenerated.
* win/Makefile.in: Use TCL_DLL_BASE, DDE_DLL_BASE, and
REG_DLL_BASE to build DLLs.
kseitz [Thu, 1 Aug 2002 01:33:46 +0000 (01:33 +0000)]
From Mo DeJong <supermo@bayarea.net>
* generic/tkText.c (ExecSyncCmd):
Remove -synccommand option from Tk text widget.
This local modification was used by an very old
version of Source-Navigator, but is no longer
needed. Remove ExecSyncCmd function.
* generic/tkText.h (TkText): Remove SyncCmd member.
* library/msgbox.tcl (tkMessageBox): Remove unused
-modal option. This was a local mod to tk.
* tests/text.test: Add default value for -tabsize.
This is a local mod to tk.
* tests/wm.test: Fixup iconwindow error messages.
kseitz [Thu, 1 Aug 2002 01:19:02 +0000 (01:19 +0000)]
* library/browserwin.itb (_full_funcs_combo): Remove "-modal"
option from tk_messageBox call. It was redhat-local in tk8.0,
but is no longer in tk8.3.
* library/download.itb (download_it): Likewise.
* library/interface.tcl (gdbtk_tcl_query): Likewise.
(show_warning): Likewise.
(set_exe): Likewise.
(set_target): Likewise.
* library/memwin.itb (error_dialog): Likewise.
* library/srcwin.itb (fillFuncCB): Likewise.
* library/util.tcl (tfind_cmd): Likewise.
gdbadmin [Thu, 1 Aug 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 1 Aug 2002 00:00:06 +0000 (00:00 +0000)]
daily update
brobecke [Wed, 31 Jul 2002 22:35:48 +0000 (22:35 +0000)]
* dwarf2read.c (set_cu_language): Add handler for LANG_Ada95.
This does not change anything at the moment, but will be helpful
later when full Ada support is integrated.
brobecke [Wed, 31 Jul 2002 22:35:30 +0000 (22:35 +0000)]
* dwarf2read.c (set_cu_language): Add handler for LANG_Ada95.
This does not change anything at the moment, but will be helpful
later when full Ada support is integrated.
hjl [Wed, 31 Jul 2002 22:26:52 +0000 (22:26 +0000)]
Enable 64bit emulations for Linux/mips if 64bit BFD is selected.
kevinb [Wed, 31 Jul 2002 20:26:48 +0000 (20:26 +0000)]
* mips-tdep.c (_initialize_mips_tdep): Add "n64" to "set mips abi"
help message.
kevinb [Wed, 31 Jul 2002 20:08:19 +0000 (20:08 +0000)]
* mips-tdep.c (mips_push_arguments): Fetch gdbarch_tdep struct
and save it in a local variable. Use variable in later test.
kevinb [Wed, 31 Jul 2002 19:08:46 +0000 (19:08 +0000)]
* mips-tdep.c (mips_find_abi_section): Add N64 ABI recognition
test. (Thanks to Daniel Jacobowitz.)
kevinb [Wed, 31 Jul 2002 18:13:23 +0000 (18:13 +0000)]
* mips-tdep.c (enum mips_abi): Add MIPS_ABI_N64.
(mips_abi_strings): Add "n64".
(mips_gdbarch_init): Add test for n64 abi. Add MIPS_ABI_N64 case.
kevinb [Wed, 31 Jul 2002 17:22:05 +0000 (17:22 +0000)]
* config/mips/tm-irix6.h (MIPS_REGSIZE): Define to be 8.
(REGISTER_VIRTUAL_TYPE): Some registers are now 64 bits wide.
kevinb [Wed, 31 Jul 2002 17:01:00 +0000 (17:01 +0000)]
* utils.c (host_pointer_to_address, address_to_host_pointer):
Use gdb_assert() instead of explicit call to internal_error().
nickc [Wed, 31 Jul 2002 16:23:28 +0000 (16:23 +0000)]
Fix bugs and remove compile time warnings for N"32K port.
jakub [Wed, 31 Jul 2002 15:04:05 +0000 (15:04 +0000)]
* elf32-i386.c (elf_i386_copy_indirect_symbol): Swap tls_type
if _bfd_elf_link_hash_copy_indirect will swap got.refcount.
corinna [Wed, 31 Jul 2002 13:18:51 +0000 (13:18 +0000)]
* fhandler.h (fhandler_base::get_r_no_interrupt): Make non-virtual.
* net.cc (fdsock): Call set_r_no_interrupt.
nickc [Wed, 31 Jul 2002 12:50:05 +0000 (12:50 +0000)]
Add new field to bfd_link structure and use it to control how common symbols
are extracted from archives.
nickc [Wed, 31 Jul 2002 12:04:45 +0000 (12:04 +0000)]
Add support for Thumb PLT entries with interworking
nickc [Wed, 31 Jul 2002 10:11:47 +0000 (10:11 +0000)]
Fix typo.
nickc [Wed, 31 Jul 2002 09:59:02 +0000 (09:59 +0000)]
Retroactively add entry for Lars Brinkhoff's contribution of the PDP-11 and
2.11BSD a.out support.
nickc [Wed, 31 Jul 2002 09:38:03 +0000 (09:38 +0000)]
Rename function arguments to avoid shadowing global symbols of the same name.
nickc [Wed, 31 Jul 2002 09:17:51 +0000 (09:17 +0000)]
Fix range check for immediate operand.
cgd [Wed, 31 Jul 2002 05:48:31 +0000 (05:48 +0000)]
2002-07-30 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (mips_cpu_info_table): Clean up entries related
to Broadcom SB-1 core support.
cgd [Wed, 31 Jul 2002 05:44:54 +0000 (05:44 +0000)]
2002-07-30 Chris Demetriou <cgd@broadcom.com>
* mips.igen (do_load_double, do_store_double): New functions.
(LDC1, SDC1): Rename to...
(LDC1b, SDC1b): respectively.
(LDC1a, SDC1a): New instructions for MIPS II and MIPS32 support.
cgf [Wed, 31 Jul 2002 00:57:40 +0000 (00:57 +0000)]
* syscalls.cc (_read): Clarify debugging output.
ths [Wed, 31 Jul 2002 00:32:08 +0000 (00:32 +0000)]
* Makefile.am: Add n32 ABI support.
* Makefile.in: Regenerate.
* config.bfd: Add n32 vectors to mips64*-*-linux* targets. Treat 64
bit vectors for mips*-*-linux targets as optional.
* configure.in: Add n32 ABI vectors.
* configure: Regenerate.
* elf32-mips.c (mips_elf32_object_p): Reject n32 ABI files.
* elfn32-mips.c: New file, n32 ABI support.
* targets.c: Add n32 ABI vectors.
cgf [Wed, 31 Jul 2002 00:26:36 +0000 (00:26 +0000)]
* fhandler.h (fhandler_base::get_r_no_interrupt): Make virtual.
amodra [Wed, 31 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 31 Jul 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
ths [Tue, 30 Jul 2002 23:56:28 +0000 (23:56 +0000)]
* config/tc-mips.c (mips_target_format): Fix formatting.
Add recognition of n32 ABI formats.
ths [Tue, 30 Jul 2002 23:48:29 +0000 (23:48 +0000)]
* Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
for n32 ABI support.
* Makefile.in: Regenerate.
* configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
n32 ABI emulations for these 64 bit targets.
* emulparams/elf32bmipn32.sh: Expand comment.
* emulparams/elf32btsmipn32.sh: New file, for traditional big endian
n32 ABI.
* emulparams/elf32ltsmipn32.sh: Likewise for little endian.
dj [Tue, 30 Jul 2002 23:15:26 +0000 (23:15 +0000)]
* configure.in: Move generic linux case to end. Copy generic
linux noconfigdirs to mips*-*-linux* entry and new
powerpc64*-*-linux* entry. Add target-libffi for the latter.
kseitz [Tue, 30 Jul 2002 20:57:16 +0000 (20:57 +0000)]
From Mo DeJong <supermo@bayarea.net>
* unix/configure: Regenerate.
* unix/configure.in: Don't subst TCL_BIN_DIR into tclConfig.sh.
* unix/tclConfig.sh.in: Remove TCL_BIN_DIR variable since it
should not exist in the tclConfig.sh file. This variable
should be set by the SC_PATH_TCLCONFIG macro when the
extension's configure script is run.
kseitz [Tue, 30 Jul 2002 20:24:22 +0000 (20:24 +0000)]
From Mo DeJong <supermo@bayarea.net>
* aclocal.m4 (CY_AC_PATH_TCLCONFIG): Check for a
tclConfig.sh file in tcl/cygwin if one can't
be found in tcl/unix. Update Itcl header check.
* configure: Regenerated.
kseitz [Tue, 30 Jul 2002 20:23:28 +0000 (20:23 +0000)]
From Mo DeJong <supermo@bayarea.net>
* cygwin/configure: Regenerated.
* cygwin/configure.in: Emit a tclConfig.sh file
so that expect can load it at configure time.
* win/configure: Regenerated.
* win/configure.in: Don't emit a ../unix/tclConfig.sh
file, this was a hack to get expect to build.
kevinb [Tue, 30 Jul 2002 19:59:06 +0000 (19:59 +0000)]
Configury changes to enable recently added AIX thread support.
macro [Tue, 30 Jul 2002 19:27:30 +0000 (19:27 +0000)]
* tc-mips.c (load_address): Don't clobber $at when loading a
64-bit address in non-PIC code if noat is in effect.
(macro): Likewise.
macro [Tue, 30 Jul 2002 19:24:53 +0000 (19:24 +0000)]
* config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
used in division/multiply macro expansions similarly to how they
are used in the variants with break instructions.
(macro2): Likewise.
drow [Tue, 30 Jul 2002 19:03:48 +0000 (19:03 +0000)]
* ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG)
(ELF_FPREGSET_SIZE, ELF_GREGSET_SIZE): New enums.
(fetch_core_registers, ppc_linux_supply_gregset)
(ppc_linux_supply_fpregset): New functions.
(ppc_linux_regset_core_fns): New.
(_initialize_ppc_linux_tdep): Call add_core_fns.
* ppc-tdep.h: Add prototypes for ppc_linux_supply_fpregset
and ppc_linux_supply_gregset.
* ppc-linux-nat.c (supply_gregset): Call ppc_linux_supply_gregset.
(supply_fpregset): Call ppc_linux_supply_fpregset.
* config/powerpc/linux.mh (NATDEPFILES): Remove core-regset.o and
corelow.o.
* config/powerpc/linux.mt (TDEPFILES): Add corelow.o.
kevinb [Tue, 30 Jul 2002 18:51:23 +0000 (18:51 +0000)]
* gdb.base/shlib-call.exp (additional_flags): Conditionally
set Irix-specific compile and link flags.
nickc [Tue, 30 Jul 2002 17:32:25 +0000 (17:32 +0000)]
Add arm-*-nto port.
nickc [Tue, 30 Jul 2002 15:53:17 +0000 (15:53 +0000)]
Updated Translations
drow [Tue, 30 Jul 2002 15:42:07 +0000 (15:42 +0000)]
* symtab.c (lookup_symbol): Demangle before lowercasing.
jakub [Tue, 30 Jul 2002 14:33:38 +0000 (14:33 +0000)]
* readelf.c (OPTION_DEBUG_DUMP): Define.
(options): Use it.
(usage): Update help.
(parse_args): Handle --debug-dump separately from -w.
* doc/binutils.texi (readelf): Update documentation.
jakub [Tue, 30 Jul 2002 14:28:53 +0000 (14:28 +0000)]
* elf.c (elf_fake_sections): Fix up .tbss sh_size and sh_type.
* ldlang.c (lang_add_section): Don't turn .tbss into normal sections
for relocatable link.
(lang_size_sections_1): Don't make .tbss zero size for relocatable
link.
cgf [Tue, 30 Jul 2002 14:17:17 +0000 (14:17 +0000)]
* fhandler_disk_file.cc (fhandler_cygdrive::set_drives): Incorporate . and ..
processing here.
(fhandler_cygdrive::readdir): Assume . and .. are already in pdrive.
(fhandler_cygdrive::seekdir): Ditto.
cagney [Tue, 30 Jul 2002 13:45:09 +0000 (13:45 +0000)]
2002-07-30 Andrew Cagney <
ac131313@redhat.com>
* symtab.h: Replace #include "gdb_obstack.h" with opaque
declaration.
* cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h".
* gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto.
* avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto.
* arch-utils.c, cli/cli-setshow.c: Unconditionally include
"gdb_string.h".
* Makefile.in (cli-script.o, cli-cmds.o): Update dependencies.
(gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto.
(cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto.
(avr-tdep.o, mon960-rom.o): Ditto.
(aout_stabs_gnu_h): Define.
(symtab_h): Remove $(gdb_obstack_h).
corinna [Tue, 30 Jul 2002 11:35:02 +0000 (11:35 +0000)]
* libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
nickc [Tue, 30 Jul 2002 10:56:03 +0000 (10:56 +0000)]
Add per-section and per-sub-section literal pools.
nickc [Tue, 30 Jul 2002 09:07:00 +0000 (09:07 +0000)]
Update copyright notice
amodra [Tue, 30 Jul 2002 07:41:09 +0000 (07:41 +0000)]
* ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp,
ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target.
* ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp,
ld-linkonce/linkonce.exp, ld-shared/shared.exp,
ld-undefined/weak-undef.exp: Test hppa*64*-*-hpux* and hppa*-*-linux*
targets.
* ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s,
ld-discard/static.s: Add whitespace before assembler directives.
drepper [Tue, 30 Jul 2002 07:02:53 +0000 (07:02 +0000)]
(Executing the Program): Add documentation on how to use bbconv.pl.
jimb [Tue, 30 Jul 2002 07:01:22 +0000 (07:01 +0000)]
Patch from David Carlton <carlton@math.stanford.edu>:
* gdbinit.in: Move the `dir' commands that add GDB's own source
directory to the search path to the end, so that the `gdb' source
directory will be searched first.
amodra [Tue, 30 Jul 2002 05:49:24 +0000 (05:49 +0000)]
* aoutx.h (some_aout_object_p): Clean up tdata properly on error.
* archive.c (bfd_generic_archive_p): Likewise.
* coff-rs6000.c (_bfd_xcoff_archive_p): Likewise.
(_bfd_xcoff_archive_p): Use bfd_scan_vma in place of strtol.
* coff64-rs6000.c (xcoff64_slurp_armap): Likewise.
(xcoff64_archive_p): Likewise.
(xcoff64_openr_next_archived_file): Likewise.
(xcoff64_archive_p): Clean up tdata properly on error.
* coffgen.c (coff_real_object_p): Likewise.
(coff_object_p): Release filehdr and opthdr.
* ecoff.c (_bfd_ecoff_archive_p): Clean up tdata properly on error.
* ieee.c (ieee_archive_p): Likewise.
* ihex.c (ihex_object_p): Likewise.
(ihex_mkobject): Always allocate tdata.
* peicode.h (pe_ILF_object_p): Release bfd_alloc'd buffer on error.
* srec.c (srec_mkobject): Always allocate tdata.
(srec_object_p): Clean up tdata properly on error.
(symbolsrec_object_p): Likewise.
* versados.c (versados_object_p): Likewise.
* vms-misc.c (_bfd_vms_get_record): Use bfd_malloc instead of malloc,
and bfd_realloc instead of realloc.
(add_new_contents): Use bfd_alloc instead of bfd_malloc for sections.
* vms.c (vms_initialize): Always allocate tdata. Use bfd_alloc in
place of bfd_malloc, simplifying error freeing. Free hash table too.
(vms_object_p): Clean up tdata on error.
(vms_mkobject): Don't complain on stderr if vms_initialize fails.
(vms_close_and_cleanup): Adjust for bfd_alloc use.
amodra [Tue, 30 Jul 2002 05:40:20 +0000 (05:40 +0000)]
* elfxx-ia64.c (elfNN_ia64_final_write_processing): Set e_flags.
cgf [Tue, 30 Jul 2002 04:14:49 +0000 (04:14 +0000)]
fix typo
dannysmith [Tue, 30 Jul 2002 03:20:58 +0000 (03:20 +0000)]
* include/windef.h (PVOID, LPVOID): Move typedefs to...
* include/winnt: ...here.
(PVOID64): New typeddef.
* include/winnt,h (FILE_SEGMENT_ELEMENT): Define union.
* include/winbase.h: (ReadFileScatter, WriteFileGather):
Add prototypes.
* include/winnt,h (PROCESSOR_ARCHITECTURE_*): Add defines.
(PROCESSOR_INTEL_IA64): Add define
cgf [Tue, 30 Jul 2002 01:31:51 +0000 (01:31 +0000)]
* dcrt0.cc (dll_crt0_1): Move debug_fixup_after_fork_exec.
* cygheap.cc (cygheap_fixup_in_child): Call debug_fixup_after_fork_exec
immediately after cygheap has ben set up.
gdbadmin [Tue, 30 Jul 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 30 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update
kevinb [Mon, 29 Jul 2002 23:35:56 +0000 (23:35 +0000)]
* lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
source files. The ``-o'' option doesn't work with the ``-E'' option
when using the Irix compiler.
msnyder [Mon, 29 Jul 2002 23:17:10 +0000 (23:17 +0000)]
2002-07-29 Michael Snyder <msnyder@redhat.com>
* cp1.c (fp_recip2): Modify initialization expression so that
GCC will recognize it as constant.
cagney [Mon, 29 Jul 2002 22:55:25 +0000 (22:55 +0000)]
2002-07-29 Andrew Cagney <
ac131313@redhat.com>
* gdb_obstack.h: New file.
* symtab.h: Include "gdb_obstack.h" instead of "obstack.h".
(obstack_chunk_alloc, obstack_chunk_free): Delete macros.
* objfiles.h: Include "gdb_obstack.h".
* Makefile.in (gdb_obstack_h): Define.
(symtab_h): Add $(gdb_obstack_h).
(objfiles_h): Add $(gdb_obstack_h).
* objfiles.c: Include "gdb_obstack.h" instead of "obstack.h".
* macrotab.c, cp-valprint.c, dbxread.c: Ditto.
* ch-typeprint.c, ch-valprint.c, dstread.c: Ditto.
* macroexp.c, p-typeprint.c, stabsread.c: Ditto.
* symtab.c, f-typeprint.c, mdebugread.c: Ditto.
* p-valprint.c, symmisc.c, typeprint.c: Ditto.
* symfile.c, coffread.c, c-typeprint.c: Ditto.
* buildsym.c, bcache.c, ada-typeprint.c: Ditto.
* Makefile.in (bcache.o): Update dependencies.
(buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto.
(ch-valprint.o, coffread.o, cp-valprint.o): Ditto.
(dbxread.o, dstread.o, f-typeprint.o): Ditto.
(objfiles.o, p-typeprint.o, p-valprint.o): Ditto.
(stabsread.o, symfile.o, symmisc.o): Ditto.
(symtab.o, typeprint.o, macroexp.o): Ditto.
(macrotab.o, mdebugread.o): Ditto.
(f_lang_h, coff_sym_h, coff_symconst_h): Define.
(coff_ecoff_h, aout_aout64_h): Define.
(aout_stabs_gnu_h, libaout_h): Define.
cgd [Mon, 29 Jul 2002 21:07:11 +0000 (21:07 +0000)]
[ gas/testsuite/ChangeLog ]
2002-07-26 Chris Demetriou <cgd@broadcom.com>
* gas/mips/elf_ase_mips16.d: New file to test ELF MIPS16 ASE marking.
* gas/mips/elf_ase_mips16.s: Likewise.
* gas/mips/mips.exp: Run the new test.
[ ld/testsuite/ChangeLog ]
2002-07-26 Chris Demetriou <cgd@broadcom.com>
* ld-mips-elf/mips16-1.d: Check that ASE flag is actually set.
cagney [Mon, 29 Jul 2002 19:54:41 +0000 (19:54 +0000)]
2002-07-25 Andrew Cagney <cagney@redhat.com>
* regcache.c (struct regcache_descr): Rename nr_registers to
nr_cooked_registers. Revise comments describing the structure
member fields.
(init_regcache_descr): Update.
(init_legacy_regcache_descr): Update.
(read_register_gen, write_register_gen): When a cooked register in
the raw register range, directly access the value from the raw
register cache.
dj [Mon, 29 Jul 2002 18:01:19 +0000 (18:01 +0000)]
merge from gcc
jjohnstn [Mon, 29 Jul 2002 17:40:09 +0000 (17:40 +0000)]
2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Add aio64.c.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
* libc/sys/linux/aio64.c: New file.
avolkov [Mon, 29 Jul 2002 17:01:57 +0000 (17:01 +0000)]
Add dependences to Makefile.in and include sim-h8300 in compile.c
avolkov [Mon, 29 Jul 2002 16:57:18 +0000 (16:57 +0000)]
sim-h8300.h: Rename all enums from H8300_ to SIM_H8300_
cagney [Mon, 29 Jul 2002 16:34:06 +0000 (16:34 +0000)]
2002-07-26 Andrew Cagney <
ac131313@redhat.com>
* z8k-tdep.c: Do not include "obstack.h".
* h8300-tdep.c, h8500-tdep.c: Ditto.
* m68hc11-tdep.c, sh-tdep.c: Ditto.
* valprint.c, v850-tdep.c: Ditto.
* d10v-tdep.c, mn10300-tdep.c: Ditto.
* mn10200-tdep.c: Ditto.
* Makefile.in (z8k-tdep.o): Update dependencies.
(m68hc11-tdep.o, valprint.o): Ditto.
(v850-tdep.o, d10v-tdep.o): Ditto.
(mn10300-tdep.o, sparc-tdep.o): Ditto.
(sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto.
(m32r-tdep.o, mn10200-tdep.o): Specify dependencies.
(sh_opc_h, gdb_sim_sh_h): Define.
(elf_sh_h, elf_bfd_h): Define.
(opcode_m68hc11_h): Define.
(OPCODES_SRC, OPCODES_DIR): define.
(OPCODES): Use $(OPCODES_DIR).
(gdb_sim_d10v_h): Rename sim_d10v_h.
(gdb_sim_arm_h): Rename sim_arm_h.
corinna [Mon, 29 Jul 2002 12:51:52 +0000 (12:51 +0000)]
* security.cc: Change some formatting.
* include/cygwin/version.h: Bump API minor version.
* cygheap.h (class cygheap_user): Add member groups.
* security.h (class cygsidlist): Add members type and maxcount,
methods position, addfromgr, alloc_sids and free_sids and
operator+= (const PSID psid). Modify contains () to call
position () and optimize add () to use maxcount.
(class user_groups): Create.
Update declarations of verify_token and create_token.
* security.cc (cygsidlist::alloc_sids): New.
(cygsidlist::free_sids): New.
(get_token_group_sidlist): Create from get_group_sidlist.
(get_initgroups_sidlist): Create from get_group_sidlist.
(get_group_sidlist): Suppress.
(get_setgroups_sidlist): Create.
(verify_token): Modify arguments. Add setgroups case.
(create_token): Modify arguments. Call get_initgroups_sidlist and
get_setgroups_sidlist as needed. Set SE_GROUP_LOGON_ID from auth_pos
outside of the loop. Rename the various group sid lists consistently.
* syscalls.cc (seteuid32): Modify to use cygheap->user.groups.
(setegid32): Call cygheap->user.groups.update_pgrp.
* grp.cc (setgroups): Create.
(setgroups32): Create.
* uinfo.cc (internal_getlogin): Initialize and update user.groups.pgsid.
* cygwin.din: Add setgroups and setgroups32.
cgf [Mon, 29 Jul 2002 03:18:41 +0000 (03:18 +0000)]
* fhandler_console.cc (fhandler_console::read): Use appropriate kill_pgrp
method.
* select.cc (peek_console): Ditto.
* fhandler_termios.cc (fhandler_termios::bg_check): Send "stopped" signal to
entire process group as dictated by SUSv3.
* termios.cc (tcsetattr): Detect when stopped signal sent and force a stop
before setting anything.
dannysmith [Mon, 29 Jul 2002 03:05:56 +0000 (03:05 +0000)]
* include/tchar.h (_tfdopen): Correct typo.
dannysmith [Mon, 29 Jul 2002 03:00:08 +0000 (03:00 +0000)]
Add incomplet long double math support to libmingwex.a
amodra [Mon, 29 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 29 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 28 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 28 Jul 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
davidsb [Sat, 27 Jul 2002 23:05:45 +0000 (23:05 +0000)]
fix commercial contact
kevinb [Sat, 27 Jul 2002 02:03:44 +0000 (02:03 +0000)]
* utils.c (host_pointer_to_address, address_to_host_pointer):
Change internal_error() message to indicate function responsible
for the error.