OSDN Git Service
msnyder [Thu, 1 Mar 2001 22:18:45 +0000 (22:18 +0000)]
[fix my email address in changelog entries]
msnyder [Thu, 1 Mar 2001 22:10:04 +0000 (22:10 +0000)]
2001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* m32r-tdep.c: Fix cut and paste error in comment.
jtc [Thu, 1 Mar 2001 21:56:35 +0000 (21:56 +0000)]
* gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
(MAX_OF_TYPE): Wrap macro definition in parenthesis.
(MIN_OF_TYPE): Likewise.
* memattr.h (mem_access_mode): Removed extraneous trailing comma.
earnie [Thu, 1 Mar 2001 20:32:34 +0000 (20:32 +0000)]
2001-03-01 Earnie Boyd <earnie@users.sourceforge.net
* Makefile.in: (snapshot): Add target.
* lib/Makefile.in: (install-headers): Use installdir variable.
(installdir): Set value based on target-alias.
nsd [Thu, 1 Mar 2001 20:11:27 +0000 (20:11 +0000)]
* README.GDBTK: Minor spelling, grammar, and formatting fixes.
kseitz [Thu, 1 Mar 2001 20:00:12 +0000 (20:00 +0000)]
Cleanup of managedwin.ith and managedwin.itb
* library/managedwin.ith: Move all implementations into
managedwin.itb.
(public variable nosize): Delete.
(freeze_me, thaw_me, make_icon_window): Prepend with
underscore to remind people these are not public
methods/procs.
(protected variable Top, screenwidth, screenheight): Ditto
for these variables.
(protected common manage_active, mainwindow): Delete.
(enable): Delete.
(reconfig): Add empty body.
* library/managedwin.itb: Move all implementations from
header here.
Update all references to renamed variables/methods/procs.
(destructor, restart, shutdown, _open, find) Let
Itcl tell us which ManagedWins we have lying around.
(enable): Delete.
(reconfig): It's empty. Moved empty body to header.
hiller [Thu, 1 Mar 2001 19:39:30 +0000 (19:39 +0000)]
*** empty log message ***
fche [Thu, 1 Mar 2001 19:15:30 +0000 (19:15 +0000)]
* branch probability hinting
[cgen/ChangeLog]
2001-03-01 Frank Ch. Eigler <fche@redhat.com>
* sid.cpu (-op-gen-set-trace[-parallel], -create-virtual-insns!):
Emit LIKELY/UNLIKELY branch probability hints.
* sid-decode.cpu (-gen-record-args): Ditto.
[sid/include/ChangeLog]
2001-03-01 Frank Ch. Eigler <fche@redhat.com>
* sidconfig.h (LIKELY, UNLIKELY): New conditional cover macros
for gcc's __builtin_expect branch probability hinting function.
* sidbusutil.h (passthrough_bus, mux_password_bus, harvard_bus):
Add some branch probability hints.
* sidcpuutil.h (step_pin_handler, stop_after_insns_p,
{read,write}_{insn,data}_memory): Ditto.
* sidpinutil.h (callback_pin::driven): Remove unnecessary assert
from critical path.
[eg. sid/component/mapper/ChangeLog]
2001-03-01 Frank Ch. Eigler <fche@redhat.com>
* compMapper.cxx ({read,write}_strideoffset_any): Added b.p. hints.
(write_any, read_any, locate): Ditto.
[sid/component/cgen-cpu/ChangeLog]
2001-03-01 Frank Ch. Eigler <fche@redhat.com>
* cgen-engine.h (set_pbb_engine, chain, get_next_vpc, pbb_find,
pbb_find_or_alloc, pbb_before, pbb_after): Add branch probability
hints.
[eg. sid/component/cgen-cpu/arm7t/ChangeLog]
2001-03-01 Frank Ch. Eigler <fche@redhat.com>
* arm-decode.cxx, -sem.cxx, -semsw.cxx: Regenerated w/ b.p. hints.
* thumb-decode.cxx, -sem.cxx, -semsw.cxx: Ditto.
hiller [Thu, 1 Mar 2001 19:13:26 +0000 (19:13 +0000)]
2001-02-28 Matt Hiller <hiller@redhat.com>
* testsuite/ld-scripts/crossref.exp: Initialize flags to
[big_or_little_endian].
* testsuite/ld-undefined/undefined.exp: Ditto, and include $flags
in ld invocations.
* testsuite/lib/ld-lib.exp (big_or_little_endian): Recognize -EB,
-eb, EL and el.
(is_endian_output_format): New function.
(default_ld_link): Set flags to [big_or_little_endian] only if ld
is being invoked such that the output format being used is of
known endianness.
(default_ld_simple_link): Ditto.
fche [Thu, 1 Mar 2001 19:10:25 +0000 (19:10 +0000)]
* bad monkey, no banana
2001-03-01 Frank Ch. Eigler <fche@redhat.com>
* lib/monkey.exp (monkey_test): Disabled this class of tests
temporarily.
nickc [Thu, 1 Mar 2001 18:48:14 +0000 (18:48 +0000)]
Add s390 target
cagney [Thu, 1 Mar 2001 18:19:26 +0000 (18:19 +0000)]
* Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
* os9kread.c (os9k_process_one_symbol): Add assert to detect
``loses if sizeof (char *) > sizeof (int)''.
cagney [Thu, 1 Mar 2001 17:30:05 +0000 (17:30 +0000)]
Document pragmatics of why gdb_assert() is lowercase.
cagney [Thu, 1 Mar 2001 16:13:18 +0000 (16:13 +0000)]
* Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
lists.
(mi-main.o): Ditto.
cagney [Thu, 1 Mar 2001 15:49:12 +0000 (15:49 +0000)]
* Makefile.in (regcache_h): Define. Add $(regcache_h) to
dependency lists.
nsd [Thu, 1 Mar 2001 12:43:58 +0000 (12:43 +0000)]
* library/managedwin.itb (ManagedWin::shutdown): Save each
managed window's geometry as a preference.
* library/managedwin.ith (ManagedWin::destructor): Don't save
managed windows' geometries as preferences.
nsd [Thu, 1 Mar 2001 12:36:46 +0000 (12:36 +0000)]
* library/srctextwin.itb (SrcTextWin::location): Clear previous
pane's cursor after switching panes.
nsd [Thu, 1 Mar 2001 12:30:41 +0000 (12:30 +0000)]
* library/srctextwin.itb (config_win): Give focus to $win.
msnyder [Thu, 1 Mar 2001 03:56:44 +0000 (03:56 +0000)]
2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* printcmd.c (print_address_numeric): Update comments to refer
to sizeof addr, not sizeof pointer.
(x_command): Remove needless whitespace (shorten long line).
msnyder [Thu, 1 Mar 2001 03:50:17 +0000 (03:50 +0000)]
2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* breakpoint.c (print_one_breakpoint): Formatting clean-up.
(read_memory_nobpt): Ditto.
(ep_is_catchpoint): Ditto.
(ep_is_shlib_catchpoint): Ditto.
(ep_is_exception_catchpoint): Ditto.
(describe_other_breakpoints): Ditto.
cagney [Thu, 1 Mar 2001 01:51:54 +0000 (01:51 +0000)]
* regcache.h (register_valid): Fix comment documenting valid
states.
cagney [Thu, 1 Mar 2001 01:48:33 +0000 (01:48 +0000)]
* generic/gdbtk-cmds.c: Include recently created "regcache.h"
cagney [Thu, 1 Mar 2001 01:39:20 +0000 (01:39 +0000)]
Create new file regcache.h. Update all uses.
fche [Thu, 1 Mar 2001 00:44:03 +0000 (00:44 +0000)]
* bug fix / cleanup
2001-02-28 Frank Ch. Eigler <fche@redhat.com>
* Makefile.am (NEARBY_LIBS): Enumerate component libraries for
static linking.
(sid_LDFLAGS): Correct export-symbols-regex param to
include tcl bridge component. Use $(NEARBY_LIBS).
* Makefile.in: Regenerated.
chastain [Thu, 1 Mar 2001 00:39:56 +0000 (00:39 +0000)]
Fix the year on the following lines:
! 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
! 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
! 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
! 2001-01-27 Christopher Faylor <cgf@cygnus.com>
nickc [Wed, 28 Feb 2001 23:47:10 +0000 (23:47 +0000)]
new defines for Coldfire V4.
hiller [Wed, 28 Feb 2001 21:51:25 +0000 (21:51 +0000)]
2001-02-28 Matt Hiller <hiller@redhat.com>
* MAINTAINERS: Add Matt Hiller to Write After Approval list.
nickc [Wed, 28 Feb 2001 19:40:12 +0000 (19:40 +0000)]
Remove non-K&R compliant LHS type cast in call to GET_DATA_ALLOC macro.
jjohnstn [Wed, 28 Feb 2001 18:41:57 +0000 (18:41 +0000)]
2001-02-28 Will Cohen <wcohen@redhat.com>
* src/libgloss/m68k/Makefile.in: Updated copyright and
added rules to build simulator related libraries.
(SIM_SCRIPTS): New variable.
(SIM_LDFLAGS): New variable.
(SIM_BSP): New variable.
(SIM_CRT0): New variable.
(SIM_OBJS): New variable.
(SIM_TEST): New variable.
(SIM_INSTALL): new variable.
* src/libgloss/m68k/sim-abort.c: New file.
* src/libgloss/m68k/sim-crt0.S: New file.
* src/libgloss/m68k/sim-errno.c: New file.
* src/libgloss/m68k/sim-funcs.c: New file.
* src/libgloss/m68k/sim-inbyte.c: New file.
* src/libgloss/m68k/sim-print.c: New file.
* src/libgloss/m68k/sim-sbrk.c: New file.
* src/libgloss/m68k/sim.ld: New file.
* src/libgloss/m68k/simulator.S: New file.
corinna [Wed, 28 Feb 2001 14:14:03 +0000 (14:14 +0000)]
* uinfo.cc: Eliminate `#include <wchar.h>'.
aj [Wed, 28 Feb 2001 12:49:40 +0000 (12:49 +0000)]
2001-02-28 Andreas Jaeger <aj@suse.de>, Bo Thorsen <bo@suse.de>
* config/tc-i386.c (tc_gen_reloc): Remove ugly hack which is not needed
anymore since we use bfd_elf_generic_reloc now.
(md_apply_fix3): Only apply hack for partial_inplace if not using RELA.
aj [Wed, 28 Feb 2001 12:32:10 +0000 (12:32 +0000)]
2001-02-28 Andreas Jaeger <aj@suse.de>
* elf64-x86-64.c (elf64_x86_64_relocate_section): Add relocation
to addend.
pb [Wed, 28 Feb 2001 10:15:57 +0000 (10:15 +0000)]
2001-02-28 Philip Blundell <pb@futuretv.com>
* readelf.c (decode_ARM_machine_flags): Explicitly mention which
ABI is in use; remove ambiguity between the "unknown" EABI and
unrecognised ABIs. Handle version 2 ARM EABI. Update uses of
renamed EF_xx constants.
pb [Wed, 28 Feb 2001 10:13:20 +0000 (10:13 +0000)]
2001-02-28 Philip Blundell <pb@futuretv.com>
* elf32-arm.h: Update mentions of renamed EF_xx constants.
(elf32_arm_print_private_bfd_data): Handle ARM EABI version 2.
pb [Wed, 28 Feb 2001 10:11:36 +0000 (10:11 +0000)]
2001-02-27 Philip Blundell <pb@futuretv.com>
* arm.h: Add new definitions from ARM document SWS ESPC 0003 B-01.
(EF_PIC, et al.): Rename to EF_ARM_xx.
duda [Wed, 28 Feb 2001 09:59:54 +0000 (09:59 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Determine
drive geometry or partition size to allow seeking from the end of
raw floppy device. Don't allow positioning past the end of media or
to offsets bigger then max off_t.
msnyder [Wed, 28 Feb 2001 01:54:47 +0000 (01:54 +0000)]
2001-02-27 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* gdb.base/varargs.c (find_max_double): Fix printf format string:
first arg is int not float.
nickc [Wed, 28 Feb 2001 01:04:24 +0000 (01:04 +0000)]
Add support for disabling alignment checks when performing GDB interface
calls or SWI emulaiton routines. (Alignment checking code has not yet been
contributed).
kseitz [Tue, 27 Feb 2001 22:25:37 +0000 (22:25 +0000)]
* generic/gdbtk-cmds.c (gdb_fetch_registers): Mark
the result as generating a list only if it really does
generate a list.
taylor [Tue, 27 Feb 2001 21:58:33 +0000 (21:58 +0000)]
remove conflict indicator.
taylor [Tue, 27 Feb 2001 21:57:08 +0000 (21:57 +0000)]
fix off by one error in test for error.
hjl [Tue, 27 Feb 2001 18:45:45 +0000 (18:45 +0000)]
2001-02-27 H.J. Lu <hjl@gnu.org>
* aoutx.h (NAME(aout,bfd_free_cached_info)): Return true if
abfd->tdata.aout_data == NULL.
cagney [Tue, 27 Feb 2001 17:04:44 +0000 (17:04 +0000)]
* config/sparc/sp64linux.mt: New file.
* configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
* configure.host: Recognize sparc64-*-linux* as a linux host.
From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
* config/sparc/tm-sp64linux.h: New file.
duda [Tue, 27 Feb 2001 09:14:35 +0000 (09:14 +0000)]
* fhandler.h (class fhandler_console): Make all variables that
describe "state" of console to be members of fhandler_console.
default_color is now the color which is set when console recieves
reset command.
* fhandler_console.cc (fhandler_console::fhandler_console): Turn
mouse handling and raw keyboard mode off by default. Initialize
state information.
* fhandler.cc (fhandler_console::set_raw_win32_keyboard_mode): New
function.
* fhandler_console.cc (fhandler_console::set_default_attr): New
function. Reset console attributes to default values.
* fhandler_console.cc (fhandler_console::open): Reset attributes.
* fhandler_console.cc (fhandler_console::get_win32_attr): New function.
Calculate win32-style console attribute based on terminal attributes.
* fhandler_console.cc (fhandler_console::set_cursor_maybe): Use
member variable.
* fhandler_console.cc (fhandler_console::read): If in raw-win32
keyboard mode, encode win32 keyboard events in \033{x;y;z;t;u;wK
sequences.
* fhandler_console.cc (fhandler_console::dup): Copy all state
information to the dup()ed handle.
* fhandler_console.cc (fhandler_console::scroll_screen): Use current
fill-in attribute.
* fhandler_console.cc (fhandler_console::clear_screen): Ditto.
* fhandler_console.cc (fhandler_console::char_command): Check if we
saw '?' symbol by member variable. Set terminal attributes on \033[Xm
commands. \033[24m - turn off underline mode, \033[27m - turn off
reverse mode, \033[39m - restore default foreground color.
\033[49m - restore default background color. \033[2000h - turn on raw
keyboard mode, \033[2000l - turn off raw keyboard mode.
* fhandler_console.cc (fhandler_console::write): Set attribues to
default values on reset command.
amodra [Tue, 27 Feb 2001 07:11:40 +0000 (07:11 +0000)]
Fix some comments, and a formatting error.
amodra [Tue, 27 Feb 2001 06:43:51 +0000 (06:43 +0000)]
Bump version to 2.11.90, fix missing dependencies in bfd/,
and run "make dep-am".
twall [Tue, 27 Feb 2001 03:26:47 +0000 (03:26 +0000)]
Update elf64 aix5 comments.
twall [Tue, 27 Feb 2001 03:23:00 +0000 (03:23 +0000)]
Add aix5 settings.
nickc [Tue, 27 Feb 2001 01:56:26 +0000 (01:56 +0000)]
Set SEC_NEVER_LOAD when the 'n' flag is used.
nickc [Tue, 27 Feb 2001 01:38:05 +0000 (01:38 +0000)]
BFD: Catch & report unhandled PE section flags.
LD: Catch BFD errors whilst loading symbols and do not produce an executable.
cgf [Mon, 26 Feb 2001 22:36:09 +0000 (22:36 +0000)]
* times.cc (settimeofday): Replace function stub with working code.
hjl [Mon, 26 Feb 2001 17:40:07 +0000 (17:40 +0000)]
2001-02-26 H.J. Lu <hjl@gnu.org>
* gas/ia64/opc-a-err.l: Change "Operand [3|4]" to "Operand [34]".
corinna [Mon, 26 Feb 2001 09:50:23 +0000 (09:50 +0000)]
* strace.cc (strace::vprntf): Move prntf functionality to this function
adding an va_list interface to strace.
(strace::printf): Calls strace::vprntf now.
(strace_printf): New function providing an extern "C" interface to
trace output.
* include/sys/strace.h: Make plain C clean.
(class strace): Add `vprntf' method.
aj [Mon, 26 Feb 2001 07:50:22 +0000 (07:50 +0000)]
2001-02-26 Andreas Jaeger <aj@suse.de>
* elf64-x86-64.c (x86_64_elf_howto_table): Fix order of entries.
corinna [Sun, 25 Feb 2001 23:14:52 +0000 (23:14 +0000)]
* shortcut.c: Remove #include <sys/strace.h>.
corinna [Sun, 25 Feb 2001 09:34:00 +0000 (09:34 +0000)]
* path.cc (symlink): Add a ".lnk" suffix regardless. Add a comment.
corinna [Sun, 25 Feb 2001 09:19:35 +0000 (09:19 +0000)]
* shortcut.c: Change symlink condition.
kevinb [Sun, 25 Feb 2001 04:45:11 +0000 (04:45 +0000)]
Replace calls to abort() with calls to internal_error().
cgf [Sat, 24 Feb 2001 23:25:30 +0000 (23:25 +0000)]
CYGWIN32 -> CYGWIN.
ciceron [Sat, 24 Feb 2001 09:57:24 +0000 (09:57 +0000)]
* symbols.c (decode_local_label_name): Initialize message_format
only when an error is reported (perf pb due to I18N).
hjl [Sat, 24 Feb 2001 04:59:03 +0000 (04:59 +0000)]
2001-02-23 H.J. Lu <hjl@gnu.org>
* dwarf2dbg.c (dwarf2_directive_file): Call s_app_file (0) if
BFD_ASSEMBLER is not defined.
bje [Sat, 24 Feb 2001 02:43:11 +0000 (02:43 +0000)]
2001-02-23 Ben Elliston <bje@redhat.com>
* sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Only define if not
already defined elsewhere.
cagney [Fri, 23 Feb 2001 22:20:38 +0000 (22:20 +0000)]
Mention how to cite GDB problem reports.
cagney [Fri, 23 Feb 2001 22:09:30 +0000 (22:09 +0000)]
Mention gdbarch.sh and to not submit gdbarch.[ch].
hjl [Fri, 23 Feb 2001 21:57:48 +0000 (21:57 +0000)]
2001-02-23 David Mosberger <davidm@hpl.hp.com>
* ia64-opc-a.c: Add missing pseudo-ops for "cmp" and "cmp4".
* ia64-asmtab.c: Regenerate.
hjl [Fri, 23 Feb 2001 21:47:33 +0000 (21:47 +0000)]
2001-02-23 H.J. Lu <hjl@gnu.org>
* gas/ia64/opc-a-err.l: Fix "cmp4.lt.or".
* gas/ia64/opc-a.pl: Add tests for pseudo-ops for "cmp" and
"cmp4".
* gas/ia64/opc-a.s: Rebuilt.
* gas/ia64/opc-a.d: Likewise.
msnyder [Fri, 23 Feb 2001 19:04:39 +0000 (19:04 +0000)]
2001-02-22 Michael Snyder <msnyder@mvstp600e.cygnus.com>
* gdb.base/reread.exp: Unsupported for non-native targets;
doesn't work for remote debugging.
nickc [Fri, 23 Feb 2001 18:32:49 +0000 (18:32 +0000)]
Don't mark a fixup as done if it's against a symbol.
corinna [Fri, 23 Feb 2001 09:49:19 +0000 (09:49 +0000)]
* mmap.cc (fhandler_disk_file::mmap): Use `addr' correctly.
* fhandler_mem.cc (fhandler_dev_mem::mmap): Ditto.
jjohnstn [Thu, 22 Feb 2001 22:26:34 +0000 (22:26 +0000)]
2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Remove DJ Delorie's address because it is no
longer valid.
jjohnstn [Thu, 22 Feb 2001 22:23:22 +0000 (22:23 +0000)]
2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
* mn10200/access.c: With DJ Delorie's permission, this code is
now freely modifiable with no reference to "copying.dj".
* mn10300/access.c: Ditto.
jjohnstn [Thu, 22 Feb 2001 22:12:38 +0000 (22:12 +0000)]
2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
changed the copyright information to allow free modification of the
file with no reference to "copying.dj".
* libc/include/sys/stat-dj.h: Ditto.
* libc/machine/i386/setjmp.S: Ditto.
* libc/sys/h8300hms/sys/file.h: Ditto.
* libc/sys/sysmec/access.c: Ditto.
* libc/sys/sysnecv850/access.c: Ditto.
* libc/stdio/mktemp.c: Fixed typo for the word copyright.
* libc/stdlib/getenv_r.c: Ditto.
* libc/stdlib/putenv_r.c: Ditto.
* libc/stdlib/setenv_r.c: Ditto.
* libc/stdlib/getenv.c: Removed DJ reference since any possible
modifications will now be in the _r version of this file.
* libc/stdlib/putenv.c: Ditto.
* libc/stdlib/setenv.c: Ditto.
* libc/sys/go32/copying.dj: Removed DJ's address which is no longer
valid. Added a reference to DJ's web page that contains his address.
* libc/sys/go32/*.s: Removed references to DJ's old address.
* libc/sys/go32/*.c: Ditto.
* libc/sys/go32/*.h: Ditto.
* libc/sys/go32/*.S: Ditto.
* libc/sys/go32/sys/*.h: Ditto.
bje [Thu, 22 Feb 2001 20:47:49 +0000 (20:47 +0000)]
2001-02-22 Ben Elliston <bje@redhat.com>
* sim-trace.h (TRACE_VPU_IDX): Add.
(TRACE_vpu): Define.
(WITH_TRACE_VPU_P): Likewise.
(TRACE_VPU_P): Likewise.
* sim-trace.c (OPTION_TRACE_VPU): Define.
(trace_options): Add --trace-vpu.
(trace_option_handler): Handle OPTION_TRACE_VPU.
(trace_option_handler): Include VPU tracing in --trace-semantics.
(trace_idx_to_str): Handle TRACE_VPU_IDX.
twall [Thu, 22 Feb 2001 17:24:32 +0000 (17:24 +0000)]
Add ia64-*-aix* configuration.
twall [Thu, 22 Feb 2001 17:16:37 +0000 (17:16 +0000)]
Added ia64-*-aix* configuration.
cagney [Thu, 22 Feb 2001 16:48:18 +0000 (16:48 +0000)]
Move get_saved_register to frame.h.
twall [Thu, 22 Feb 2001 16:38:45 +0000 (16:38 +0000)]
ia64-*-aix* support.
corinna [Thu, 22 Feb 2001 16:26:13 +0000 (16:26 +0000)]
* path.cc (symlink): Keep relative paths relative in the DOS
path inside of a shortcut. If that's impossible or the target
path is already absolute save an absolute path.
corinna [Thu, 22 Feb 2001 16:14:59 +0000 (16:14 +0000)]
* path.cc (symlink): Keep relative paths relative in the DOS
path inside of a shortcut. If that's impossible for some
reason, save an absolute path.
corinna [Thu, 22 Feb 2001 14:51:15 +0000 (14:51 +0000)]
* cygerrno.h: Revert previous patch.
* errno.cc: Ditto.
* dir.cc: Eliminate `dir_suffixes'.
(opendir): Remove usage of `dir_suffixes'.
(rmdir): Ditto.
* fhandler.cc (fhandler_disk_file::open): Remove usage of
`inner_suffixes'.
* path.cc: Rename `inner_suffixes' to `lnk_suffixes'.
(path_conv::check): Remove usage of `inner_suffixes'.
(symlink): Ditto.
(symlink_info::check): Handle checking for `.lnk' in path_conv
exclusively here.
(chdir): Remove usage of `dir_suffixes'.
* shortcut.c: Eliminate debug_printf lines.
(check_shortcut): Don't set error except on failing ReadFile.
* spawn.cc: Remove ".lnk" from `std_suffixes'.
* syscalls.cc (_unlink): Remove usage of `inner_suffixes'.
Remove ".lnk" from `stat_suffixes'.
(_rename): Add check for renaming a symlink to keep the ".lnk"
suffix after renaming.
corinna [Thu, 22 Feb 2001 12:56:36 +0000 (12:56 +0000)]
* shortcut.c: New file. Provides a C interface to reading of
Windows shortcuts to avoid compiler flag `-fvtable-thunks'.
* shortcut.h: Ditto.
* Makefile.in: Add shortcut.o to DLL_OFILES.
* cygerrno.h: Provide a C interface to `geterrno_from_win_error' for
using in shortcut.c.
* errno.cc (geterrno_from_win_error): Define as extern "C".
* path.cc (struct symlink_info): Remove methods `check_shortcut' and
`check_sysfile'.
(shortcut_header): Move to shortcut.c.
(shortcut_initalized): Ditto.
(create_shortcut_header): Ditto.
(cmp_shortcut_header): Ditto.
(symlink_info::check_shortcut): Ditto. Reorganize as a plain C function.
(symlink_info::check_sysfile): Redefine as a global function using the
same parameter list as `check_shortcut' for clearness.
(symlink_info::check): Change parameter list for calls to
`check_shortcut' and `check_sysfile'.
corinna [Thu, 22 Feb 2001 12:37:32 +0000 (12:37 +0000)]
* Makefile.common: Revert previous change.
corinna [Thu, 22 Feb 2001 11:06:25 +0000 (11:06 +0000)]
* fhandler.cc (fhandler_disk_file::open): Use `inner_suffixes' when
resolving real_path.
* path.cc (symlink): Ditto for win32_topath.
wilson [Thu, 22 Feb 2001 03:16:19 +0000 (03:16 +0000)]
Improve gas error messages for invalid instructions.
* cpu-ia64-opc.c (elf64_ia64_operands}: Fix typo: error string for
C8 said "1" instead of "8". Clarify error string for IMM22:
"signed integer" instead of just "integer".
* config/tc-ia64.c (enum operand_match_result): New type.
(operand_match): Change return type to operand_match_result.
Fix all returns appropriately, adding support for returning the
out-of-range result.
(parse_operands): New locals result, error_pos, out_of_range_pos,
curr_out_of_range_pos. Rewrite operand matching loop to give better
error messages.
* ia64-opc-d.c (ia64_opcodes_d): Break the "add" pattern into two
separate variants: one for IMM22 and the other for IMM14.
* ia64-asmtab.c: Regenerate.
kevinb [Thu, 22 Feb 2001 03:12:13 +0000 (03:12 +0000)]
Fix typo in my previously committed ChangeLog entry.
kevinb [Thu, 22 Feb 2001 03:01:26 +0000 (03:01 +0000)]
Made changes to shared library support and added more of the support needed
for AIX/IA-64.
bje [Thu, 22 Feb 2001 00:46:19 +0000 (00:46 +0000)]
2001-02-22 Ben Elliston <bje@redhat.com>
* config/sid.exp: New file.
* baseboards/basic-sid.exp: Likewise.
* baseboards/arm-sid.exp: Likewise.
* baseboards/m32r-sid.exp: Likewise.
* baseboards/m68k-sid.exp: Likewise.
jjohnstn [Wed, 21 Feb 2001 23:11:06 +0000 (23:11 +0000)]
2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
HAVE_FCNTL flag check.
* configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
corinna [Wed, 21 Feb 2001 22:59:11 +0000 (22:59 +0000)]
Add copyright year 2001
wilson [Wed, 21 Feb 2001 22:39:58 +0000 (22:39 +0000)]
Fix bugs in handling of the .restore directive.
* config/tc-ia64.c (struct unwind): Add member "prologue_count".
(dot_proc): Clear unwind.prologue_count to zero.
(dot_prologue): Increment unwind.prologue_count.
(dot_restore): If second operand is omitted, use
unwind.prologue_count -1 for "ecount" (# of additional regions to
pop). Decrement unwind.prologue_count by number of regions
popped.
gkm [Wed, 21 Feb 2001 21:54:31 +0000 (21:54 +0000)]
* cgen-opc.c (cgen_get_insn_value): Add missing `return'.
corinna [Wed, 21 Feb 2001 21:49:35 +0000 (21:49 +0000)]
* Makefile.in: Add `-lshell32 -luuid' to link pass for new-cygwin1.dll.
* autoload.cc: Add LoadDLLinitfunc for ole32.dll.
Add LoadDLLfuncEx statements for CoInitialize@4, CoUninitialize@0
and CoCreateInstance@20.
* dir.cc (dir_suffixes): New datastructure.
(readdir): Check for R/O *.lnk files to hide the suffix.
(opendir): Use `dir_suffixes' in path conversion.
(rmdir): Ditto.
* fhandler.cc (fhandler_disk_file::fstat): Add S_IFLNK flag
before calling `get_file_attribute'. Take FILE_ATTRIBUTE_READONLY
into account only if the file is no symlink.
* path.cc (inner_suffixes): New datastructure.
(SYMLINKATTR): Eliminated.
(path_conv::check): Use `inner_suffixes' on inner path components.
(shortcut_header): New global static variable.
(shortcut_initalized): Ditto.
(create_shortcut_header): New function.
(cmp_shortcut_header): Ditto.
(symlink): Create symlinks by creating windows shortcuts. Preserve
the old code.
(symlink_info::check_shortcut): New method.
(symlink_info::check_sysfile): Ditto.
(symlink_info::check): Check for shortcuts. Move code reading
old system attribute symlinks into symlink_info::check_sysfile().
(chdir): Use `dir_suffixes' in path conversion.
* security.cc (get_file_attribute): Check for S_IFLNK flag.
Force 0777 permissions then.
* spawn.cc (std_suffixes): Add ".lnk" suffix.
* syscalls.cc (_unlink): Use `inner_suffixes' in path conversion.
Check for shortcut symlinks to eliminate R/O attribute before
calling DeleteFile().
(stat_suffixes): Add ".lnk" suffix.
(stat_worker): Force 0777 permissions if file is a symlink.
corinna [Wed, 21 Feb 2001 21:46:47 +0000 (21:46 +0000)]
* Makefile.common: Add `-fvtable-thunks' to COMPILE_CXX.
earnie [Wed, 21 Feb 2001 21:44:59 +0000 (21:44 +0000)]
* include/w32api.h: (_W32API_VERSION): Remove.
(__W32API_VERSION): Add.
(__W32API_MAJOR_VERSION): Ditto.
(__W32API_MINOR_VERSION): Ditto.
earnie [Wed, 21 Feb 2001 21:37:17 +0000 (21:37 +0000)]
* include/wingdi.h (struct _DOCINFO[AW]): UNICODE it.
(StartDoc[AW]): Use UNICODE'd LPDOCINFO[AW]
* include/winuser.h (struct tagMOUSEKEYS): Define new structure.
* include/winerror.h (NTE_*): Add CryptoAPI error codes.
bje [Wed, 21 Feb 2001 21:35:41 +0000 (21:35 +0000)]
2001-02-21 Ben Elliston <bje@redhat.com>
* sim-trace.h (TRACE_BRANCH_INPUT1): New macro.
(TRACE_BRANCH_INPUT2): Likewise.
earnie [Wed, 21 Feb 2001 20:40:46 +0000 (20:40 +0000)]
* include/mswsock.h: New file.
* include/ws2tcpip.h: New file.
* include/winsock.h (IPPROTO_IGMP): New define.
(IPPROTO_GGP): Correct value.
(SO_* macros): Remove mswsock defines.
(TCP_BSDURGENT): Likewise.
(IP_* macros): Add comment warning of WinSock2 incompatibility
(WSARecvEx): Remove mswsock prototype.
(TransmitFile): Likewise.
(AcceptEx): Likewise.
(GetAcceptExSockaddrs): Likewise.
(struct _TRANSMIT_FILE_BUFFERS): Remove mswsock definition.
(#include <mswsock.h>): Add directive and explanatory comment
* include/winsock2.h (header guard): add guard for _WINSOCK_H
(_WINSOCK_H): Define to prevent later inclusion of winsock.h
(#include <winsock.h>): Replace directive with winsock.h file content
The following changes apply to the merged file:
(FD_SET): Keep winsock2.h definition, delete winsock.h definition
(SOMAXCONN): Likewise
(#include <nspapi.h>): Move - don't include until LPSOCKADDR defined
(IP_* macros): Delete WinSock1 definitions (WinSock2 definitions now
in ws2tcpip.h)
(struct ip_mreq): Delete (now defined in ws2tcpip.h for WinSock2)
(FD_*_BIT and FD_* defines): Place together and extend to
FD_MAX_EVENTS 10
(AF* defines): Extend to AF_MAX 10
(WSAIsBlocking): #if 0 out prototype (N/A in WinSock2)
(WSAUnhookBlockingHook): Likewise.
(WSASetBlockingHook): Likewise.
(WSACancelBlockingCall): Likewise.
(WSAEINPROGRESS): Comment as not raised in WinSock2.
(#include <mswsock.h>): Delete directive inherited from winsock.h
(WSA_QOS* defines): Add QualityOfService error codes.
(SIO_* defines): Add new macros
* include/ipexport.h (IP_STATUS flags): Add definitions.
(IP_FLAG_DF): Likewise.
(IP_OPT_* ): Likewise.
(struct ip_option_information): Likewise.
(struct icmp_echo_reply): Likewise.
nickc [Wed, 21 Feb 2001 19:43:34 +0000 (19:43 +0000)]
Note that some flags to the COFF version of .section remove attributes rather
than setting them.
earnie [Wed, 21 Feb 2001 19:33:42 +0000 (19:33 +0000)]
* include/tchar.h: (__TEXT): Remove undef.
(_TEXT): Ditto.
(_T): Ditto.
earnie [Wed, 21 Feb 2001 19:31:54 +0000 (19:31 +0000)]
* include/commctrl.h: Revert TEXT change.
* include/lmalert.h: Ditto.
* include/lmcons.h: Ditto.
* include/lmsname.h: Ditto.
* include/lmsvc.h: Ditto.
* include/ntsecapi.h: Ditto.
* include/oledlg.h: Ditto.
* include/ras.h: Ditto.
* include/regstr.h: Ditto.
* include/richedit.h: Ditto.
* include/wininet.h: Ditto.
* include/winnt.h: Ditto.