OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 22:50:26 +0000 (22:50 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* Makefile.am (BFD32_BACKENDS): Remove coff-pmac.lo.
(BFD32_BACKENDS_CFILES): Remove coff-pmac.c.
(coff-rs6000.lo): Remove the old dependency.
* Makefile.in: Rebuild.

* configure.in (pmac_xcoff_vec): Replace coff-pmac.lo with
coff-rs6000.lo.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 22:49:12 +0000 (22:49 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 22:48:12 +0000 (22:48 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move
setting of output_filename after bfd_scan_arch.
* emultempl/pe.em: Likewise.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 21:23:47 +0000 (21:23 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* coff-rs6000.c (rs6000coff_vec): Use rs6000coff_core_p,
rs6000coff_core_file_matches_executable_p,
rs6000coff_core_file_failing_command and
rs6000coff_core_file_failing_signal only if AIX_CORE is
defined.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 21:19:45 +0000 (21:19 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK
like emulparams/aixppc.sh.

* emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed
instead of ${srcdir}/emultempl/stringify.sed.

23 years agoFix bug when both pointers have matching, non-word alignment, and the length
nickc [Fri, 25 May 2001 21:17:05 +0000 (21:17 +0000)]
Fix  bug when both pointers have matching, non-word alignment, and the length
is <= 4 but more than enough to move them over a word boundary.
Add comments explaining what each instruction does.

23 years ago * generic/gdbtk-cmds.c (bin2hex): New function.
kseitz [Fri, 25 May 2001 21:06:18 +0000 (21:06 +0000)]
* generic/gdbtk-cmds.c (bin2hex): New function.
(fromhex): New function.
(gdb_set_mem): New function.
(Gdbtk_Init): Add new command, "gdb_set_mem".
* library/memwin.itb (edit): Use "gdb_set_mem" to set
memory, not some gdb_cmd contrivance.
When sending data to gdb_set_mem, make sure that it
is properly zero-padded.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 18:58:10 +0000 (18:58 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* binutils-all/readelf.exp (readelf_test): Set target_machine
to tmips for traditional mips.

* binutils-all/readelf.s: Support traditional mips.

* binutils-all/readelf.ss-tmips: New for traditional mips.

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 18:39:01 +0000 (18:39 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* gas/mips/e32el-rel2.d: New for little endian mips.
* gas/mips/elfel-rel2.d: Likewise.
* gas/mips/elfel-rel.d: Likewise.
* gas/mips/mipsel16-f.d: Likewise.
* gas/mips/telempic.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.

* gas/mips/tempic.d: New for traditional mips.
* gas/mips/tmips16-e.d: Likewise.

* gas/mips/elf-rel.d: Handle alignment padding.
* gas/mips/elf-rel2.d: Likewise.

* gas/mips/mips.exp: Support little endian and traditional
mips.

23 years ago2001-05-25 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 25 May 2001 17:46:33 +0000 (17:46 +0000)]
2001-05-25  Michael Snyder  <msnyder@redhat.com>

* remote.c (remote_write_bytes): Update 'p' packet pointer.

23 years ago* gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
jimb [Fri, 25 May 2001 17:09:46 +0000 (17:09 +0000)]
* gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
useful value, then we should fix that instead.

23 years ago* build fix
fche [Fri, 25 May 2001 15:32:51 +0000 (15:32 +0000)]
* build fix

2001-05-25  Will Cohen  <wcohen@redhat.com>

* sidmiscutil.h: Added #include <sys/cygwin.h> for cygwin builds.

23 years ago* path.cc (symlink_info::check): Correctly set 'ext_tacked_on'. Use this to
cgf [Fri, 25 May 2001 15:07:46 +0000 (15:07 +0000)]
* path.cc (symlink_info::check): Correctly set 'ext_tacked_on'.  Use this to
determine if user specified 'foo.lnk' explicitly.  Reorganize slightly to get
rid of one goto.

23 years agomonterey updates
twall [Fri, 25 May 2001 12:42:26 +0000 (12:42 +0000)]
monterey updates

23 years ago * symbols.c (resolve_symbol_value): Always set segment, even when
amodra [Fri, 25 May 2001 10:07:43 +0000 (10:07 +0000)]
* symbols.c (resolve_symbol_value): Always set segment, even when
not finalizing symbol value.

23 years ago * config/obj-ieee.c (write_object_file): Set finalize_syms.
amodra [Fri, 25 May 2001 09:40:10 +0000 (09:40 +0000)]
* config/obj-ieee.c (write_object_file): Set finalize_syms.
* config/obj-coff.c (write_object_file): Likewise.
* (size_section): Remove rs_space assert as fr_symbol is no longer
removed.
(fill_section): Likewise.

23 years ago * path.cc (symlink_info::check): Add a check to return correctly
corinna [Fri, 25 May 2001 08:31:56 +0000 (08:31 +0000)]
    * path.cc (symlink_info::check): Add a check to return correctly
        if incoming `*.lnk' file is not a symlink.

23 years agos/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/
amodra [Fri, 25 May 2001 07:21:00 +0000 (07:21 +0000)]
s/linuxaout/linux*aout/, s/linuxoldld/linux*oldld/

23 years ago2001-05-25 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 06:29:20 +0000 (06:29 +0000)]
2001-05-25  H.J. Lu  <hjl@gnu.org>

* bfd-in2.h: Regenerated.
* libcoff.h: Likewise.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 05:56:38 +0000 (05:56 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* emultempl/stringify.sed: Removed again.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 05:39:21 +0000 (05:39 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* emultempl/aix.em (OUTPUT_ARCH): Defined.
(gld${EMULATION_NAME}_before_parse): Initialize
ldfile_output_architecture, ldfile_output_machine and
ldfile_output_machine_name from ${OUTPUT_ARCH} if possible.
* emultempl/beos.em: Likewise.
* emultempl/elf32.em: Likewise.
* emultempl/linux.em: Likewise.
* emultempl/mipsecoff.em: Likewise.
* emultempl/pe.em: Likewise.
* emultempl/sunos.em: Likewise.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
hjl [Fri, 25 May 2001 04:31:55 +0000 (04:31 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform.

23 years ago * elf32-hppa.c (elf32_hppa_relocate_section): Don't allow
amodra [Fri, 25 May 2001 03:46:48 +0000 (03:46 +0000)]
* elf32-hppa.c (elf32_hppa_relocate_section): Don't allow
undefined millicode syms in shared libs.
(hppa_build_one_stub): Turn BFD_ASSERTs into aborts.
(elf32_hppa_check_relocs): Likewise.
(elf32_hppa_adjust_dynamic_symbol): Likewise.
(elf32_hppa_size_dynamic_sections): Likewise.
(elf32_hppa_relocate_section): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.
(elf32_hppa_finish_dynamic_sections): Likewise.

23 years ago* path.cc (slash_drive_prefix_p): Remove.
cgf [Fri, 25 May 2001 03:13:14 +0000 (03:13 +0000)]
* path.cc (slash_drive_prefix_p): Remove.
(mount_info::slash_drive_to_win32_path): Ditto.
(mount_info::conv_to_win32_path): Remove slash drive prefix check.
(mount_info::add_item): Ditto.
(mount_info::del_item): Ditto.
* shared_info.h (mount_info): Remove slash_drive_to_win32_path declaration.

23 years agoRevert last patch.
amodra [Fri, 25 May 2001 01:59:43 +0000 (01:59 +0000)]
Revert last patch.

23 years ago2001-05-24 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 25 May 2001 01:29:01 +0000 (01:29 +0000)]
2001-05-24  Michael Snyder  <msnyder@redhat.com>

* gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
Don't require that the main thread and the manager thread are the
first in the list.

23 years ago * solist.h (struct so_list): Document the requirement that
nsd [Fri, 25 May 2001 01:27:11 +0000 (01:27 +0000)]
* solist.h (struct so_list): Document the requirement that
current_sos initialize some fields to 0.

23 years ago2001-05-24 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 25 May 2001 01:10:20 +0000 (01:10 +0000)]
2001-05-24  Michael Snyder  <msnyder@redhat.com>

* gdb.threads/pthreads.exp (test_startup): Relax test for thread
debugging.  If test fails, issue an "unsupported" not a "fail".

23 years ago * expr.c (expr): Set return value to absolute_section for
amodra [Fri, 25 May 2001 00:01:30 +0000 (00:01 +0000)]
* expr.c (expr): Set return value to absolute_section for
subtractive operations on symbols within a segment.
* read.c (pseudo_set): Set segment for complex expressions.

23 years agoDon't assume that short is shorter than int.
jimb [Fri, 25 May 2001 00:01:28 +0000 (00:01 +0000)]
Don't assume that short is shorter than int.
* gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
assume that shorts are smaller than ints.  On a 16-bit machine,
this isn't true.
("print unsigned char == (~0)"): Add test that verifies that ~0,
an int, is not equal to ~0 stored in an unsigned char.  This tests
the same thing that the previous test meant to, but works on
16-bit machines, too.
("print unsigned char != (~0)"): Same test, complemented.

23 years ago From 2.11 branch 2001-03-30 Richard Henderson <rth@redhat.com>
amodra [Thu, 24 May 2001 23:52:22 +0000 (23:52 +0000)]
From 2.11 branch 2001-03-30  Richard Henderson  <rth@redhat.com>
* config/tc-i386.c (md_convert_frag): Don't die on local symbols
that have been finalized.

23 years ago * symbols.c (resolve_symbol_value): Clear sy_resolving before
amodra [Thu, 24 May 2001 23:44:06 +0000 (23:44 +0000)]
* symbols.c (resolve_symbol_value): Clear sy_resolving before
taking exit_dont_set_value.

23 years ago * write.c (relax_segment): Don't zap fr_symbol when relaxing.
amodra [Thu, 24 May 2001 23:32:59 +0000 (23:32 +0000)]
* write.c (relax_segment): Don't zap fr_symbol when relaxing.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
hjl [Thu, 24 May 2001 22:01:23 +0000 (22:01 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* binutils-all/objdump.exp (cpus_expected): Add s390.

23 years agoFix for gas seg fault and neg line numbers
trix [Thu, 24 May 2001 21:39:09 +0000 (21:39 +0000)]
Fix for gas seg fault and neg line numbers

23 years agoSupport for xcoff64, enable ld for aix
trix [Thu, 24 May 2001 21:06:16 +0000 (21:06 +0000)]
Support for xcoff64, enable ld for aix

23 years agoSupport for xcoff64
trix [Thu, 24 May 2001 20:59:20 +0000 (20:59 +0000)]
Support for xcoff64

23 years agoSupport for xcoff64
trix [Thu, 24 May 2001 20:50:49 +0000 (20:50 +0000)]
Support for xcoff64

23 years agoSupport for xcoff64
trix [Thu, 24 May 2001 20:32:58 +0000 (20:32 +0000)]
Support for xcoff64

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
hjl [Thu, 24 May 2001 20:08:04 +0000 (20:08 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* gas/m68k/pcrel.d: Support 64bit BFD.

23 years ago* gnu-nat.c: Include <ctype.h>.
kettenis [Thu, 24 May 2001 20:05:07 +0000 (20:05 +0000)]
* gnu-nat.c: Include <ctype.h>.
(gnu_pid_to_exec_file): Add PID parameter.
(set_sig_thread_cmd): Use PIDGET on return value from
thread_id_to_pid.
(proc_string): Use MERGEPID to construct argument to
pid_to_thread_id.

23 years ago2001-05-24 H.J. Lu <hjl@gnu.org>
hjl [Thu, 24 May 2001 20:02:14 +0000 (20:02 +0000)]
2001-05-24  H.J. Lu  <hjl@gnu.org>

* gas/arm/adrl.d: Support 64bit BFD.
* gas/arm/arm7t.d: Likewise.
* gas/arm/inst.d: Likewise.
* gas/arm/pic.d: Likewise.
* gas/arm/xscale.d: Likewise.

23 years ago2001-05-24 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 24 May 2001 19:54:40 +0000 (19:54 +0000)]
2001-05-24  Michael Snyder  <msnyder@redhat.com>

* gdb.threads/pthreads.exp (all_threads_running): Add an explicit
test for (full_coverage == 0).  This makes the test run faster,
and prevents dejagnu getting out of step.

23 years ago2001-05-21 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 24 May 2001 18:30:08 +0000 (18:30 +0000)]
2001-05-21  Michael Snyder  <msnyder@redhat.com>

* gdb.base/long_long.exp: Allow for targets with 4-byte short.

23 years ago * write.c (write_object_file): Set finalize_syms = 1 before
amodra [Thu, 24 May 2001 08:19:32 +0000 (08:19 +0000)]
* write.c (write_object_file): Set finalize_syms = 1 before
size_seg is called.

23 years ago* exceptions.cc (handle_exceptions): Bump repeat count for debugging kick out.
cgf [Thu, 24 May 2001 05:20:17 +0000 (05:20 +0000)]
* exceptions.cc (handle_exceptions): Bump repeat count for debugging kick out.
* fhandler.h (fhandler_dev_dsp): Add a fixup_after_exec.
* fhandler_dsp.cc (class Audio): Add TOT_BLOCK_SIZE to enum.
(operator new): New.
(bigwavebuffer): Declare using TOT_BLOCK_SIZE to avoid buffer overruns.
(Audio::Audio): Optimize slightly.
(fhandler_dev_dsp::open): Allocate s_audio using static buffer.
(fhandler_dev_dsp::fixup_after_exec): New function.  Ditto.

23 years ago* emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
aoliva [Thu, 24 May 2001 02:44:04 +0000 (02:44 +0000)]
* emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
variable to avoid non-portable shell construct.

23 years ago * gdb.base/finish.exp (finish_void): Revise pattern for
kevinb [Thu, 24 May 2001 01:14:14 +0000 (01:14 +0000)]
* gdb.base/finish.exp (finish_void): Revise pattern for
stopping on the call statement to not permit stopping at
the start of the instructions comprising the call sequence.

23 years ago2001-05-24 Ben Elliston <bje@redhat.com>
bje [Thu, 24 May 2001 00:00:40 +0000 (00:00 +0000)]
2001-05-24  Ben Elliston  <bje@redhat.com>

* sidcpuutil.h (basic_cpu::create_gdb_register_attrs): Document
the meaning of the expedited_regno_list argument.

23 years ago* elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo
aoliva [Wed, 23 May 2001 23:56:21 +0000 (23:56 +0000)]
* elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo
s/ENTIRES/ENTRIES/.

23 years ago2001-05-19 Michael Chastain <chastain@redhat.com>
chastain [Wed, 23 May 2001 19:04:13 +0000 (19:04 +0000)]
2001-05-19  Michael Chastain  <chastain@redhat.com>

* gdb.base/callfuncs.exp: Make all test names unique.
* gdb.base/commands.exp: Make all test names unique.
* gdb.base/condbreak.exp: Make all test names unique.
* gdb.base/dbx.exp: Make all test names unique.
* gdb.base/default.exp: Make all test names unique.
* gdb.base/define.exp: Make all test names unique.  Conform some FAIL
and TIMEOUT messages to their corresponding PASS message.
* gdb.base/ending-run.exp: Make all test names unique.
* gdb.base/long_long.exp: Remove duplicate test.

23 years agoAdd MIPS ELF64 relocs
nickc [Wed, 23 May 2001 17:36:37 +0000 (17:36 +0000)]
Add MIPS ELF64 relocs

23 years agoAdd MIPS r12k support
nickc [Wed, 23 May 2001 17:26:34 +0000 (17:26 +0000)]
Add MIPS r12k support

23 years agoChange PLT code to avoid using r2 - it used by GCC to return large startures
nickc [Wed, 23 May 2001 16:38:36 +0000 (16:38 +0000)]
Change PLT code to avoid using r2 - it used by GCC to return large startures

23 years ago * syscalls.cc (seteuid): Restrict overriding external provided
corinna [Wed, 23 May 2001 15:49:22 +0000 (15:49 +0000)]
    * syscalls.cc (seteuid): Restrict overriding external provided
        user tokens to ntsec. Don't test external tokens for primary
        group to evaluate if it should be overridden. Restrict creating
        internal tokens to ntsec.

23 years ago2001-05-23 John Healy <jhealy@redhat.com>
jhealy [Wed, 23 May 2001 15:34:43 +0000 (15:34 +0000)]
2001-05-23  John Healy  <jhealy@redhat.com>

        * cgen.h: Increased CGEN_MAX_SYNTAX_ELEMENTS to 48.

23 years ago2001-05-23 Ben Elliston <bje@redhat.com>
bje [Wed, 23 May 2001 11:06:16 +0000 (11:06 +0000)]
2001-05-23  Ben Elliston  <bje@redhat.com>

* cgen-types.h (cgen::VOID): Typedef for void.

23 years agoReplace sh_size/sh_entsize with NUM_SHDR_ENTRIES
nickc [Wed, 23 May 2001 08:23:26 +0000 (08:23 +0000)]
Replace sh_size/sh_entsize with NUM_SHDR_ENTRIES

23 years ago * syscalls.cc (chown_worker): Don't check for ENOSYS.
corinna [Wed, 23 May 2001 08:12:49 +0000 (08:12 +0000)]
    * syscalls.cc (chown_worker): Don't check for ENOSYS.

23 years ago * gas/elf/ehopt0.d: Tweak for bigendian targets.
amodra [Wed, 23 May 2001 05:33:31 +0000 (05:33 +0000)]
* gas/elf/ehopt0.d: Tweak for bigendian targets.

23 years agoMore whitespace fixes.
amodra [Wed, 23 May 2001 03:25:03 +0000 (03:25 +0000)]
More whitespace fixes.

23 years ago * arc-opc.c: Whitespace changes.
amodra [Wed, 23 May 2001 03:12:14 +0000 (03:12 +0000)]
* arc-opc.c: Whitespace changes.

23 years ago * breakpoint.c (breakpoint_address_is_meaningful): New function.
kevinb [Wed, 23 May 2001 00:52:44 +0000 (00:52 +0000)]
* breakpoint.c (breakpoint_address_is_meaningful): New function.
(check_duplicates): Don't compare non-meaningful addresses.

23 years ago2001-05-22 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 May 2001 00:06:13 +0000 (00:06 +0000)]
2001-05-22  Michael Snyder  <msnyder@redhat.com>

* thread-db.c: Allow for defunct zombie threads.
(attach_thread): Do not attempt to attach zombie thread.
(thread_db_thread_alive): Return false for defunct zombie thread.
(find_new_threads_callback): Don't add defunct zombie thread to list.

23 years ago* lib/mapi32.def: Add MAPISendMail.
cgf [Tue, 22 May 2001 23:03:25 +0000 (23:03 +0000)]
* lib/mapi32.def: Add MAPISendMail.

23 years agoAdd support for the GNU V3 C++ ABI.
jimb [Tue, 22 May 2001 21:02:41 +0000 (21:02 +0000)]
Add support for the GNU V3 C++ ABI.
(Includes changes by Dan Berlin.)

* gnu-v3-abi.c: New file.
* minsyms.c: #include "value.h" and "cp-abi.h".
(install_minimal_symbols): Check the minimal symbol table for
symbols that look mangled in the V3 style, and select the V3 ABI
if we find any.
* Makefile.in (SFILES): Add gnu-v3-abi.c.
(COMMON_OBS): Add gnu-v3-abi.o.
(gnu-v3-abi.o): Add new rule.
(minsyms.o): Depend on $(cp_abi_h) and $(value_h).

23 years ago * include/w32api.h: Update version.
earnie [Tue, 22 May 2001 20:51:46 +0000 (20:51 +0000)]
* include/w32api.h: Update version.
* Makefile.in: Ditto.

23 years ago Update copyright info.
kseitz [Tue, 22 May 2001 19:10:06 +0000 (19:10 +0000)]
Update copyright info.

23 years ago * memwin.ith (error_dialog): Declare public method.
kseitz [Tue, 22 May 2001 19:02:54 +0000 (19:02 +0000)]
* memwin.ith (error_dialog): Declare public method.
* memwin.itb (error_dialog): Define.
(edit): When attempting to set memory, post an error dialog
if gdb told us an error occurred while writing the memory.

23 years ago * library/interface.tcl (gdbtk_tcl_file_changed): Handle
kseitz [Tue, 22 May 2001 18:24:17 +0000 (18:24 +0000)]
* library/interface.tcl (gdbtk_tcl_file_changed): Handle
the case of empty-string files, sent by gdb when the
user requests to reset the file.
(_close_file): New proc to deal with closing an exe.
* library/srcbar.itcl (create_file_menu): Add "Close" menu
option.
(create_view_menu): Change key binding for Watch Window to
Ctrl+T to accomodate "Close" going to Ctrl+W.
* library/srctextwin.itb (config_win): Update key binding
for Watch Window.
Add key binding for Close.
(do_key): Add "close".
(_clear_cache): Finally implement. I think this works now.

23 years ago* signal.cc (sleep): Protect with sigframe.
cgf [Tue, 22 May 2001 16:22:35 +0000 (16:22 +0000)]
* signal.cc (sleep): Protect with sigframe.

23 years ago * security.cc (get_file_attribute): Don't set errno.
corinna [Tue, 22 May 2001 15:59:36 +0000 (15:59 +0000)]
    * security.cc (get_file_attribute): Don't set errno.

23 years ago * library/variables.tcl (postMenu): Add mysterious workaround
kseitz [Tue, 22 May 2001 15:46:02 +0000 (15:46 +0000)]
* library/variables.tcl (postMenu): Add mysterious workaround
for popup menu bug in Tk for windows.
Highlight the selection, too.

23 years agoImprove Solaris compatability
nickc [Tue, 22 May 2001 14:00:18 +0000 (14:00 +0000)]
Improve Solaris compatability

23 years ago2001-05-22 Ben Elliston <bje@redhat.com>
bje [Tue, 22 May 2001 12:17:13 +0000 (12:17 +0000)]
2001-05-22  Ben Elliston  <bje@redhat.com>

* compConfig.cxx (cfgroot_component::num_invalid_chars): New.
(cfgroot_component::configure): Initialise it.
(cfgroot_component::max_invalid_chars): New enumerator.
(cfgroot_component::emit_invalid_char_error): New method.
(cfgroot_component::consume_token): Factor out common error
handling code into cfgroot_component::emit_invalid_char_error.
(cfgroot_component::parse): Stop parsing if too many invalid
character codes are encountered and emit an error message.

23 years ago * config/tc-arc.c (md_assemble): Use is_end_of_line instead of
amodra [Tue, 22 May 2001 11:03:31 +0000 (11:03 +0000)]
* config/tc-arc.c (md_assemble): Use is_end_of_line instead of
testing for NULs.

23 years ago* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
aoliva [Tue, 22 May 2001 10:40:28 +0000 (10:40 +0000)]
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
[aix4*|aix5*]: Prepend blank.

23 years ago * symbols.c (resolve_symbol_value): Remove "finalize" param,
amodra [Tue, 22 May 2001 10:23:47 +0000 (10:23 +0000)]
* symbols.c (resolve_symbol_value): Remove "finalize" param,
instead use finalize_syms directly.  Don't treat expressions
specially with regard to finalize_syms.  Update calls to self.
(resolve_local_symbol): Update call to resolve_symbol_value.
(S_GET_VALUE): Likewise.  Return resolve_symbol_value if
!finalize_syms.
* symbols.h (resolve_symbol_value): Update prototype.
* config/obj-aout.c (obj_crawl_symbol_chain): Update call
to resolve_symbol_value.
* config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
* config/obj-coff.c (do_relocs_for): Likewise.
(yank_symbols): Likewise.
(fixup_segment): Likewise.
* config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
* config/tc-mips.c (md_convert_frag): Likewise.
* config/tc-ppc.c (ppc_frob_symbol): Likewise.
(ppc_fix_adjustable): Likewise.
* dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
(dwarf2dbg_convert_frag): Likewise.
* ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
(eh_frame_convert_frag): Likewise.
* expr.c (make_expr_symbol): Likewise.
* write.c (adjust_reloc_syms): Likewise.
(write_object_file): Likewise.
(relax_segment): Likewise.
(fixup_segment): Likewise.
(finalize_syms): Init to zero, and update comment.
(write_object_file): Set finalize_syms to 1 rather than 2.
* doc/internals.texi (sy_value): Mention finalize_syms.
(S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.

23 years ago * config/tc-m68k.c (relaxable_symbol): Only treat external symbols
amodra [Tue, 22 May 2001 09:01:52 +0000 (09:01 +0000)]
* config/tc-m68k.c (relaxable_symbol): Only treat external symbols
as relaxable if embedded system, make weak syms non-relaxable.
Move definition..
(tc_m68k_fix_adjustable): ..so it can be used here.
(md_apply_fix_2): Sign extend without conditional.

23 years agoUpdate copyright date.
amodra [Tue, 22 May 2001 08:41:09 +0000 (08:41 +0000)]
Update copyright date.

23 years ago2001-05-22 Ben Elliston <bje@redhat.com>
bje [Tue, 22 May 2001 03:49:20 +0000 (03:49 +0000)]
2001-05-22  Ben Elliston  <bje@redhat.com>

* compConfig.cxx (cfgroot_component::run): Remove timebomb logic.
* configure.in (--enable-timebomb): Remove.
* configure: Regenerate.
* config.in: Likewise.

23 years ago * gdb.base/finish.exp (finish_void): Allow "finish" command to
kevinb [Tue, 22 May 2001 00:25:26 +0000 (00:25 +0000)]
* gdb.base/finish.exp (finish_void): Allow "finish" command to
stop on the call statement as well as the statement after the
call.

23 years ago* values.c (value_primitive_field): If we're extracting a base
jimb [Mon, 21 May 2001 20:08:59 +0000 (20:08 +0000)]
* values.c (value_primitive_field): If we're extracting a base
class, then the type of the result should be the base class being
extracted, not the type of which it is a base class.

23 years ago* value.h (struct value): Doc fix, and rearrange members to place
jimb [Mon, 21 May 2001 20:02:21 +0000 (20:02 +0000)]
* value.h (struct value): Doc fix, and rearrange members to place
them near their explanations.

23 years ago* configure.in: Allow --enable-newvfork to turn NEWVFORK on and off.
cgf [Mon, 21 May 2001 19:13:47 +0000 (19:13 +0000)]
* configure.in: Allow --enable-newvfork to turn NEWVFORK on and off.
* configure: Regenerate.

23 years ago2001-05-21 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 21 May 2001 18:48:25 +0000 (18:48 +0000)]
2001-05-21  Michael Snyder  <msnyder@redhat.com>

* remote.c (remote_async_wait): Added new variable fieldsize.
Add fieldsize (return value of hex2bin) to string pointer p.

23 years ago* include/cygwin/version.h: Bump minor version number.
cgf [Mon, 21 May 2001 15:50:36 +0000 (15:50 +0000)]
* include/cygwin/version.h: Bump minor version number.

23 years ago * dwarf2.c (decode_line_info): Fix error message.
aj [Mon, 21 May 2001 11:52:41 +0000 (11:52 +0000)]
* dwarf2.c (decode_line_info): Fix error message.
(read_abbrevs): Fix test for offset as suggested by Alan Modra and
adjust error message.

23 years ago * winsup.api/mmaptest01.c: Add log output.
corinna [Mon, 21 May 2001 09:03:37 +0000 (09:03 +0000)]
    * winsup.api/mmaptest01.c: Add log output.
        * winsup.api/mmaptest02.c: Write log output to stdout.
        * winsup.api/mmaptest03.c: Ditto.

23 years agoFormatting tweak.
jimb [Mon, 21 May 2001 05:30:59 +0000 (05:30 +0000)]
Formatting tweak.

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
aoliva [Sun, 20 May 2001 19:02:54 +0000 (19:02 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254.  Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.

23 years ago* fhandler_dsp.cc: Reformat to GNU standards.
cgf [Sun, 20 May 2001 17:31:06 +0000 (17:31 +0000)]
* fhandler_dsp.cc: Reformat to GNU standards.
(s_audio): Change to a pointer throughout.
(fhandler_dev_dsp::open): Initialize s_audio, if required.

23 years agoImprove HC11 simulator to support HC12
ciceron [Sun, 20 May 2001 15:40:27 +0000 (15:40 +0000)]
Improve HC11 simulator to support HC12

23 years ago * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
ciceron [Sun, 20 May 2001 15:36:29 +0000 (15:36 +0000)]
* dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
pending interrupts.
* interrupts.c (interrupts_process): Keep track of the last number
of masked insn cycles.
(interrupts_initialize): Clear last number of masked insn cycles.
(interrupts_info): Report them.
(interrupts_update_pending): Compute clear and set masks of
interrupts and clear the interrupt bits before setting them
(due to SCI interrupt sharing).
* interrupts.h (struct interrupts): New members last_mask_cycles
and xirq_last_mask_cycles.

23 years ago * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
ciceron [Sun, 20 May 2001 11:53:41 +0000 (11:53 +0000)]
* m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
(m68hc11_analyze_instruction): Update the pc correctly.
(m68hc11_guess_from_prologue): Take into account the stack correction
for the saving address.

23 years ago * autoload.cc: Add load statements for `LookupAccountNameW',
corinna [Sun, 20 May 2001 08:10:47 +0000 (08:10 +0000)]
    * autoload.cc: Add load statements for `LookupAccountNameW',
        `LsaClose', `LsaEnumerateAccountRights', `LsaFreeMemory',
        `LsaOpenPolicy', `LsaQueryInformationPolicy', `NetLocalGroupEnum',
        `NetLocalGroupGetMembers', `NetServerEnum', `NetUserGetGroups' and
        `NtCreateToken'.
        * ntdll.h: Add declaration for `NtCreateToken'.
        * sec_helper.cc: Add `well_known_local_sid', `well_known_dialup_sid',
        `well_known_network_sid', `well_known_batch_sid',
        `well_known_interactive_sid', `well_known_service_sid' and
        `well_known_authenticated_users_sid'.
        (cygsid::string): Define as const method.
        (cygsid::get_sid): Set psid to NO_SID on error.
        (cygsid::getfromstr): Ditto.
        (cygsid::getfrompw): Simplify.
        (cygsid::getfromgr): Check for gr == NULL.
        (legal_sid_type): Move to security.h.
        (set_process_privilege): Return -1 on error, otherwise 0 or 1 related
        to previous privilege setting.
        * security.cc (extract_nt_dom_user): Remove `static'.
        (lsa2wchar): New function.
        (open_local_policy): Ditto.
        (close_local_policy): Ditto.
        (get_lsa_srv_inf): Ditto.
        (get_logon_server): Ditto.
        (get_logon_server_and_user_domain): Ditto.
        (get_user_groups): Ditto.
        (is_group_member): Ditto.
        (get_user_local_groups): Ditto.
        (sid_in_token_groups): Ditto.
        (get_user_primary_group): Ditto.
        (get_group_sidlist): Ditto.
        (get_system_priv_list): Ditto.
        (get_priv_list): Ditto.
        (get_dacl): Ditto.
        (create_token): Ditto.
        (subauth): Return immediately if SE_TCB_NAME can't be assigned.
        Change all return statements in case of error to jumps to `out'
        label. Add `out' label to support cleanup.
        * security.h: Add extern declarations for `well_known_local_sid',
        `well_known_dialup_sid', `well_known_network_sid',
        `well_known_batch_sid', `well_known_interactive_sid',
        `well_known_service_sid' and `well_known_authenticated_users_sid'.
        Add extern declarations for functions `create_token',
        `extract_nt_dom_user' and `get_logon_server_and_user_domain'.
        (class cygsid): Add method `assign'. Change operator= to call new
        `assign' method. Add `debug_print' method.
        (class cygsidlist): New class.
        (legal_sid_type): Moved from sec_helper.cc to here.
        * spawn.cc (spawn_guts) Revert reversion of previous patch.
        Call `RevertToSelf' and `ImpersonateLoggedOnUser' instead of `seteuid'
        again.
        * syscalls.cc (seteuid): Rearranged. Call `create_token' now when
        needed. Call `subauth' if `create_token' fails. Try setting token
        owner and primary group only if token was not explicitely created
        by `create_token'.
        * uinfo.cc (internal_getlogin): Try harder to generate correct user
        information. Especially don't trust return value of `GetUserName'.

23 years ago* Makefile.in: Use 'rm -f' when cleaning.
cgf [Sun, 20 May 2001 04:25:02 +0000 (04:25 +0000)]
* Makefile.in: Use 'rm -f' when cleaning.

23 years ago* fork.cc (fork_parent): Move atforkprepare call here.
cgf [Sun, 20 May 2001 01:19:20 +0000 (01:19 +0000)]
* fork.cc (fork_parent): Move atforkprepare call here.
(fork): From here.

23 years ago * autoload.cc: Add missing load statement for `CancelIo'.
corinna [Sat, 19 May 2001 16:36:58 +0000 (16:36 +0000)]
    * autoload.cc: Add missing load statement for `CancelIo'.

23 years ago2001-05-07 Daniel Berlin <dan@cgsoftware.com>
dberlin [Sat, 19 May 2001 15:20:14 +0000 (15:20 +0000)]
2001-05-07  Daniel Berlin  <dan@cgsoftware.com>

Changes by Jim Ingham:

* values.c (value_change_enclosing_type): New function.  If the
new enclosing type is larger than the old one, we need to allocate
more space.
* value.h: Add value_change_enclosing_type prototype.
* valops.c (value_cast): Use it.
(value_assign): Use it.
(value_addr): Use it.
(value_ind): Use it.
(value_full_object): Use it.

2001-05-07  Daniel Berlin  <dan@cgsoftware.com>

* values.c (value_static_field): Handle static fields that have a constant value.