OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
20 years ago2003-10-01 Phil Edwards <pme@gcc.gnu.org>
hjl [Thu, 2 Oct 2003 06:25:28 +0000 (06:25 +0000)]
2003-10-01  Phil Edwards  <pme@gcc.gnu.org>

* config-ml.in:  Use ac_configure_args directly instead of
ml_arguments.  Only set ml_norecursion if --no[-]recursion is
actually seen.

2003-10-01  Eric Botcazou  <ebotcazou@libertysurf.fr>

* config-ml.in: Propagate INSTALL variables.

20 years ago* dcrt0.cc (dll_crt0_1): Call newlib __sinit routine to ensure that stdio
cgf [Thu, 2 Oct 2003 04:46:59 +0000 (04:46 +0000)]
* dcrt0.cc (dll_crt0_1): Call newlib __sinit routine to ensure that stdio
buffers are initialized to avoid thread initialization races.

20 years ago2003-10-01 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 2 Oct 2003 04:40:58 +0000 (04:40 +0000)]
2003-10-01  Andrew Cagney  <cagney@redhat.com>

* value.h (register_value_being_returned): Declare.  Replace
"value_being_returned".
* infcall.c (call_function_by_hand): Use
register_value_being_returned.
* infcmd.c (print_return_value): Call
"register_value_being_returned", handle struct return locally.
* values.c (register_value_being_returned): New function.  Replace
"value_being_returned".

20 years ago* path.cc (win32_device_name): Only fill out destination buffer when it's
cgf [Thu, 2 Oct 2003 03:50:10 +0000 (03:50 +0000)]
* path.cc (win32_device_name): Only fill out destination buffer when it's
really a device.

20 years ago2003-10-02 Luke Dunstan <infidel@users.sourceforge.net>
infidel [Thu, 2 Oct 2003 02:39:42 +0000 (02:39 +0000)]
2003-10-02  Luke Dunstan  <infidel@users.sourceforge.net>

* include/winspool.h (GetDefaultPrinter[AW]): Add functions.
* lib/winspool.def (GetDefaultPrinter[AW]): Add stubs.

20 years agodaily update
amodra [Thu, 2 Oct 2003 00:00:12 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Thu, 2 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * strerror.c: Don't provide or reference sys_errlist if
drow [Wed, 1 Oct 2003 23:11:45 +0000 (23:11 +0000)]
* strerror.c: Don't provide or reference sys_errlist if
strerror is available.

20 years ago * include/winnt.h (INVALID_FILE_ATTRIBUTES): Fix define.
dannysmith [Wed, 1 Oct 2003 21:40:42 +0000 (21:40 +0000)]
* include/winnt.h (INVALID_FILE_ATTRIBUTES): Fix define.

20 years ago2003-09-24 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 1 Oct 2003 20:36:56 +0000 (20:36 +0000)]
2003-09-24  Elena Zannoni  <ezannoni@redhat.com>

* linux-proc.c (linux_do_registers): New function.
(linux_make_note_section): Use linux_do_registers in case of
single threaded inferior programs.

20 years ago * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
ths [Wed, 1 Oct 2003 18:57:16 +0000 (18:57 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
Unbreak overflow checks.

20 years ago2003-10-01 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 1 Oct 2003 18:48:10 +0000 (18:48 +0000)]
2003-10-01  Andrew Cagney  <cagney@redhat.com>

* infcall.c (call_function_by_hand): When STRUCT_RETURN, always
use STRUCT_ADDR.  When not using "struct return convention", pass
"0" to "value_being_returned".  Add FIXMEs.
* infcmd.c (print_return_value): Pass an explicit 0/1 to
value_being_returned.  Add comments.
* values.c (value_being_returned): Add fixme.
* hppa-tdep.c (hppa_extract_struct_value_address): Add FIXME.
(hppa_value_returned_from_stack): Add FIXME.

20 years ago2003-10-01 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 1 Oct 2003 17:12:11 +0000 (17:12 +0000)]
2003-10-01  H.J. Lu  <hongjiu.lu@intel.com>

* configure.in: Check if $MAKEINFO is missing.
* configure: Regenerated.

20 years ago* Makefile.in: Add YA method for generating devices.cc.
cgf [Wed, 1 Oct 2003 12:36:38 +0000 (12:36 +0000)]
* Makefile.in: Add YA method for generating devices.cc.
* child_info.h: YA update of another magic number.
* gendevices: New file.
* devices.in: New file.
* devices.cc: Regenerate.
* devices.shilka: Remove.
* devices.h: Correctly define device pointers.
(device): Remove now obsolete fields.
(device::native): Renamed from device::fmt.
* dtable.cc (build_fh_dev): Simplify in light of new unit parsing scheme.
(build_fh_pc): Ditto.
* path.cc (win32_device_name): Ditto.
* fhandler.h (fhandler_base::get_native_name): Reflect renaming of fmt to
native.
* fhandler_tty.cc (fhandler_tty_mster::init): Initialize slave device prior to
reporting unit.

20 years ago2003-10-01 Chris Demetriou <cgd@broadcom.com>
cgd [Wed, 1 Oct 2003 06:09:30 +0000 (06:09 +0000)]
2003-10-01  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (s_cpreturn): Correct errors in comment.

20 years ago * config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extension
ths [Wed, 1 Oct 2003 02:07:48 +0000 (02:07 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extension
tests.
(load_register): Likewise.
(macro): Likewise.

* gas/mips/ldstla-32-shared.d: New file.
* gas/mips/ldstla-32.d: New file.
* gas/mips/ldstla-32.s: New file.
* gas/mips/ldstla-n32-shared.d: New file.
* gas/mips/ldstla-n32.d: New file.
* gas/mips/ldstla-n32.s: New file.
* gas/mips/ldstla-n64-shared.d: New file.
* gas/mips/ldstla-n64.d: New file.
* gas/mips/ldstla-n64.s: New file.
* gas/mips/mips.exp: Add ld-st-la tests.

20 years ago * xtensa-dis.c (fetch_data): Remove numBytes parameter.
bwilson [Wed, 1 Oct 2003 00:40:21 +0000 (00:40 +0000)]
    * xtensa-dis.c (fetch_data): Remove numBytes parameter.
        (print_insn_xtensa): Fix call to fetch_data.

20 years agodaily update
amodra [Wed, 1 Oct 2003 00:00:12 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Wed, 1 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-09-30 David Carlton <carlton@kealia.com>
carlton [Tue, 30 Sep 2003 23:10:55 +0000 (23:10 +0000)]
2003-09-30  David Carlton  <carlton@kealia.com>

* generic/gdbtk-register.c (get_register): Replace
REGISTER_VIRTUAL_SIZE by
DEPRECATED_REGISTER_VIRTUAL_SIZE.

20 years ago2003-09-30 David Carlton <carlton@kealia.com>
carlton [Tue, 30 Sep 2003 22:29:28 +0000 (22:29 +0000)]
2003-09-30  David Carlton  <carlton@kealia.com>

* dwarf2read.c (struct die_info): Add 'parent' field; replace
'has_children' and 'next' by 'child' and 'sibling'.
(read_comp_unit): Rework algorithm, breaking body into
read_die_and_children and read_die_and_siblings.
(read_die_and_children, read_die_and_siblings): New.
(read_full_die): Add 'has_children' argument; set it instead of
the die's 'has_children' field.  Minor formatting cleanup.
(free_die_list): Use die->child and die->sibling instead of
die->next.
(dump_die_list): Ditto.
(sibling_die): Use die->sibling.
(psymtab_to_symtab_1): Use die's 'child' field in place of its
'has_children' and 'next' fields.
(process_die, read_file_scope, read_func_scope)
(read_lexical_block_scope, read_structure_scope)
(read_enumeration, read_array_type, read_common_block)
(read_namespace, read_subroutine_type, dump_die): Ditto.

20 years ago * fhandler.cc (fhandler_base::fstat): Drop FH_FLOPPY case.
corinna [Tue, 30 Sep 2003 21:46:08 +0000 (21:46 +0000)]
* fhandler.cc (fhandler_base::fstat): Drop FH_FLOPPY case.

20 years ago * fhandler.h (class fhandler_dev_raw): Add method fstat.
corinna [Tue, 30 Sep 2003 21:43:40 +0000 (21:43 +0000)]
* fhandler.h (class fhandler_dev_raw): Add method fstat.
* fhandler_raw.cc (fhandler_dev_raw::fstat): New method.

Add missing ChangeLog for previous patch.

20 years ago * elfxx-ia64.c (ia64_howto_table): Fix size of R_IA64_TPREL64[LM]SB,
jakub [Tue, 30 Sep 2003 21:18:46 +0000 (21:18 +0000)]
* elfxx-ia64.c (ia64_howto_table): Fix size of R_IA64_TPREL64[LM]SB,
R_IA64_DTPREL{32,64}[LM]SB and R_IA64_DTPMOD64[LM]SB.

20 years ago2003-09-29 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 30 Sep 2003 21:16:38 +0000 (21:16 +0000)]
2003-09-29  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_gdbarch_init): Set the PowerOpen red zone
to 224, not 220.

20 years ago * devices.h (enum fh_devices): Remove DEV_RAWDRIVE_MAJOR and
corinna [Tue, 30 Sep 2003 21:03:57 +0000 (21:03 +0000)]
* devices.h (enum fh_devices): Remove DEV_RAWDRIVE_MAJOR and
FH_RAWDRIVE.
* devices.shilka (dev_rawdrive_storage): Remove.
(unit_devices): Remove pointer to dev_rawdrive_storage.
(uniq_devices): Remove rawdrive entry.
* dtable.cc (build_fh_pc): Remove DEV_RAWDRIVE_MAJOR case.
* path.cc (win32_device_name): ditto.

20 years ago[ gas/ChangeLog ]
cgd [Tue, 30 Sep 2003 21:02:07 +0000 (21:02 +0000)]
[ gas/ChangeLog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

        * config/tc-mips.c (mips_ip): Capitalize first word of
        existing condition code warning, and add condition code
        warnings for .ps instructions, and for bc1any[24][tf].

[ gas/testsuite/ChangeLog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

        * lib/gas-defs.exp (run_dump_test): If stderr file is specified
        and there was no stderr output, compare anyway (i.e., cause a
        test failure).
        * gas/mips/mips64-mips3d.s: Add some new instructions to test warnings.
        * gas/mips/mips64-mips3d.l: New file.
        * gas/mips/mips64-mips3d.d: Use mips64-mips3d.l, and update for
        changes to mips64-mips3d.s.
        * gas/mips/mips64-mips3d-incl.d: Likewise.
        * gas/mips/set-arch.l: New file.
        * gas/mips/set-arch.d: Specify set-arch.l as stderr output to check.
        * gas/mips/mips5.l: Make error messages match source.

20 years ago2003-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 30 Sep 2003 19:50:39 +0000 (19:50 +0000)]
2003-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* ld-checks/checks.exp (section_check): Remove ia64-*-elf*.

20 years ago2003-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 30 Sep 2003 19:12:53 +0000 (19:12 +0000)]
2003-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* ld-checks/checks.exp (section_check): Skip ia64-*-* instead
of ia64-*-linux*.

20 years ago2003-09-30 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 30 Sep 2003 19:12:17 +0000 (19:12 +0000)]
2003-09-30  Andrew Cagney  <cagney@redhat.com>

* mi-main.c: Rename REGISTER_VIRTUAL_SIZE to
DEPRECATED_REGISTER_VIRTUAL_SIZE.

2003-09-30  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_SIZE): Rename
REGISTER_VIRTUAL_SIZE.
* gdbarch.h, gdbarch.c: Regenerate.
* vax-tdep.h, sparc-tdep.c, regcache.h: Update.
* regcache.c, mn10300-tdep.c, mips-tdep.c: Update.
* infcmd.c, frame.c, findvar.c, cris-tdep.c: Update.

2003-09-30  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Rename
REGISTER_VIRTUAL_SIZE to DEPRECATED_REGISTER_VIRTUAL_SIZE.
(Target Architecture Definition):

20 years ago2003-09-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 30 Sep 2003 18:03:53 +0000 (18:03 +0000)]
2003-09-30  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ia64/ia64.exp: Remove -melf64_ia64.

* ld-ia64/tlsbin.dd: Remove -melf64_ia64. Match elf..-ia64-.*
instead of elf64-ia64-little.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlsbin.sd: Likewise.
* ld-ia64/tlsbin.td: Likewise.
* ld-ia64/tlsg.sd: Likewise.
* ld-ia64/tlspic.dd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-ia64/tlspic.sd: Likewise.
* ld-ia64/tlspic.td: Likewise.

20 years ago2003-09-30 Chris Demetriou <cgd@broadcom.com>
cgd [Tue, 30 Sep 2003 16:47:02 +0000 (16:47 +0000)]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

        * NEWS: Mention support for MIPS64 Release 2.

20 years ago[ binutils/ChangeLog ]
cgd [Tue, 30 Sep 2003 16:44:03 +0000 (16:44 +0000)]
[ binutils/ChangeLog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

        * NEWS: Add an indication of the cutoff for 2.14.

[ gas/ChangeLog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

        * NEWS: Add an indication of the cutoff for 2.14.

[ ld/ChangeLog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

        * NEWS: Add an indication of the cutoff for 2.14.

20 years ago[ bfd/ChangeLog ]
cgd [Tue, 30 Sep 2003 16:17:10 +0000 (16:17 +0000)]
[ bfd/ChangeLog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

* archures.c (bfd_mach_mipsisa64r2): New define.
* bfd-in2.h: Regenerate.
* aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2.
* cpu-mips.c (I_mipsisa64r2): New enum value.
(arch_info_struct): Add entry for I_mipsisa64r2.
* elfxx-mips.c (_bfd_elf_mips_mach)
(_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2.
(mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case.
(mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2.

[ binutils/ChangeLog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.

[ gas/Changelog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

* configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs.
* configure: Regenerate.
* config/tc-mips.c (imm2_expr): New variable.
(md_assemble, mips16_ip): Initialize imm2_expr.
(ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2.
(macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands.
(macro): Handle M_DEXT and M_DINS.
(validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands.
(mips_ip): Likewise.
(OPTION_MIPS64R2): New define.
(md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2).
OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2.
(md_parse_option): Handle OPTION_MIPS64R2.
(s_mipsset): Handle setting "mips64r2" ISA.
(mips_cpu_info_table): Add mips64r2.
(md_show_usage): Document -mips64r2 option.
* doc/as.texinfo: Docuemnt -mips64r2 option.
* doc/c-mips.texi: Likewise.

[ gas/testsuite/ChangeLog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

* gas/mips/cp0-names-mips64r2.d: New file.
* gas/mips/cp0sel-names-mips64r2.d: New file.
* gas/mips/elf_arch_mips64r2.d: New file.
* gas/mips/hwr-names-mips64r2.d: New file.
* gas/mips/mips32r2-ill-fp64.l: New file.
* gas/mips/mips32r2-ill-fp64.s: New file.
* gas/mips/mips64r2-ill.l: New file.
* gas/mips/mips64r2-ill.s: New file.
* gas/mips/mips64r2.d: New file.
* gas/mips/mips64r2.s: New file.
* gas/mips/mips.exp: Define "mips64r2" arch, and run new tests.

[ include/elf/ChangeLog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

* mips.h (E_MIPS_ARCH_64R2): New define.

[ include/opcode/ChangeLog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

* mips.h: Document +E, +F, +G, +H, and +I operand types.
Update documentation of I, +B and +C operand types.
(INSN_ISA64R2, ISA_MIPS64R2, CPU_MIPS64R2): New defines.
(M_DEXT, M_DINS): New enum values.

[ ld/ChangeLog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

* ldmain.c (get_emulation): Ignore "-mips64r2".

[ ld/testsuite/ChangeLog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

* ld-mips-elf/mips-elf-flags.exp: Add tests for combinations
with MIPS64r2.

[ opcodes/ChangeLog ]
2003-09-30  Chris Demetriou  <cgd@broadcom.com>

* mips-dis.c (mips_arch_choices): Add entry for "mips64r2"
(print_insn_args): Add handing for +E, +F, +G, and +H.
* mips-opc.c (I65): New define for MIPS64r2.
(mips_builtin_opcodes): Add "dext", "dextm", "dextu", "dins",
"dinsm", "dinsu", "drotl", "drotr", "drotr32", "drotrv", "dsbh",
and "dshd" for MIPS64r2.  Adjust "dror", "dror32", and "drorv" to
be supported on MIPS64r2.

20 years ago2003-09-29 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 30 Sep 2003 13:29:42 +0000 (13:29 +0000)]
2003-09-29  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_TYPE): Rename
DEPRECATED_REGISTER_VIRTUAL_TYPE.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.c, hppa-tdep.c, regcache.c, regcache.h: Update.
* sh64-tdep.c, sparc-tdep.c: Update.

2003-09-30  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Rename
REGISTER_VIRTUAL_TYPE to DEPRECATED_REGISTER_VIRTUAL_TYPE.

20 years ago2003-09-30 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 30 Sep 2003 13:23:49 +0000 (13:23 +0000)]
2003-09-30  Andrew Cagney  <cagney@redhat.com>

* remote-vxsparc.c (vx_read_register): Replace bzero with memset.
* remote-vxmips.c (vx_read_register): Ditto.
* remote-vx68.c (vx_read_register): Ditto.
* gnu-nat.c (inf_validate_procs): Ditto.

20 years agoRemove conflict indicator from ChangeLog
dannysmith [Tue, 30 Sep 2003 07:53:10 +0000 (07:53 +0000)]
Remove conflict indicator from ChangeLog

20 years ago * include/winuser.h (BSF_*, BSM_*): Sync constants defined in
dannysmith [Tue, 30 Sep 2003 07:51:25 +0000 (07:51 +0000)]
* include/winuser.h (BSF_*, BSM_*):  Sync constants defined in
both winuser.h and dbt.h.
* include/dbt.h (BSF_*, BSM_*): Likewise.

* include/winuser.h (struct tagRAWINPUT): Remove
_ANONYMOUS_UNION tag from named union.
(struct tagRAWMOUSE): Add _ANONYMOUS_STRUCT to nameless struct.

20 years ago * include/dhcpcsvc.h: New file.
papadopo [Tue, 30 Sep 2003 07:40:46 +0000 (07:40 +0000)]
* include/dhcpcsvc.h: New file.
Note that MSDN is confused about whether it should start constant
and structure names with DHCPCAPI or DHCPAPI. It's using both but
experience suggests it's DHCPCAPI with `C'.

* lib/dhcpcsvc.def: New file.

20 years ago * include/winuser.h [_WIN32_WINNT >= 0x0501] (RIM_INPUT,
papadopo [Tue, 30 Sep 2003 06:57:46 +0000 (06:57 +0000)]
* include/winuser.h [_WIN32_WINNT >= 0x0501] (RIM_INPUT,
RIM_INPUTSINK): Add constants, for use by WM_INPUT notification.

* include/winuser.h [_WIN32_WINNT >= 0x0501] (RIDEV_REMOVE,
RIDEV_EXCLUDE, RIDEV_PAGEONLY, RIDEV_NOLEGACY, RIDEV_INPUTSINK,
RIDEV_CAPTUREMOUSE, RIDEV_NOHOTKEYS, RIDEV_APPKEYS): Add constants,
for use in RAWINPUTDEVICE.

* include/winuser.h [_WIN32_WINNT >= 0x0501]
(GetRawInputDeviceInfo[AW]): Ooops... there are
ANSI/Unicode versions of this function.

* lib/user32.def (GetRawInputDeviceInfo[AW]): Ooops... there
are ANSI/Unicode versions of this function.

20 years ago2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 30 Sep 2003 00:39:57 +0000 (00:39 +0000)]
2003-09-29  H.J. Lu  <hongjiu.lu@intel.com>

* lib/ld-lib.exp (proc is_elf64): New.

* ld-scripts/phdrs.exp: Use is_elf_format and is_elf64.

20 years ago2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 30 Sep 2003 00:15:53 +0000 (00:15 +0000)]
2003-09-29  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
(get_symbol_index_type): Likewise.

testsuites/

2003-09-29  H.J. Lu  <hongjiu.lu@intel.com>

* binutils-all/readelf.exp: Use is_elf_format.

* binutils-all/readelf.h: Support IA64/ILP32.
* binutils-all/readelf.s: Likewise.
* binutils-all/readelf.ss: Likewise.

* lib/utils-lib.exp (proc is_elf_format): Copy from ld
testsuite. Add ia64-*-hpux*.

20 years ago*** empty log message ***
gdbadmin [Tue, 30 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Tue, 30 Sep 2003 00:00:11 +0000 (00:00 +0000)]
daily update

20 years ago2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 29 Sep 2003 23:25:08 +0000 (23:25 +0000)]
2003-09-29  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): New.
Handle SHN_IA_64_ANSI_COMMON.
(elf_backend_section_from_bfd_section): Defined.

20 years ago * infcall.c (call_function_by_hand): Fix build failure
brobecke [Mon, 29 Sep 2003 21:12:05 +0000 (21:12 +0000)]
    * infcall.c (call_function_by_hand): Fix build failure
        introduced in the previous change to this file.

20 years ago2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
jjohnstn [Mon, 29 Sep 2003 21:04:08 +0000 (21:04 +0000)]
2003-09-29  Ian Lance Taylor  <ian@wasabisystems.com>

        * libm/configure.in: Check libm_machine_dir, not machine_dir.
        * libm/configure: Regenerate.
        * libm/Makefile.in: Ditto.

20 years ago2003-09-29 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 29 Sep 2003 20:24:04 +0000 (20:24 +0000)]
2003-09-29  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
documentation for NEED_TEXT_START_END.

20 years ago2003-09-29 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 29 Sep 2003 20:18:51 +0000 (20:18 +0000)]
2003-09-29  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Rename
NPC_REGNUM to DEPRECATED_NPC_REGNUM.  Add cross reference to
TARGET_WRITE_PC.

20 years ago2003-09-29 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 29 Sep 2003 20:16:59 +0000 (20:16 +0000)]
2003-09-29  Andrew Cagney  <cagney@redhat.com>

* NEWS: Mention Objective-C.

20 years ago2003-09-29 Dave Brolley <brolley@redhat.com>
brolley [Mon, 29 Sep 2003 20:16:52 +0000 (20:16 +0000)]
2003-09-29  Dave Brolley  <brolley@redhat.com>

        * gas/frv/allinsn.s (nldqi): Removed. Replaced with nop.
        * gas/frv/allinsn.d (nldqi): Ditto.

20 years ago * ChangeLog: Correct an entry command.exp -> commands.exp.
drow [Mon, 29 Sep 2003 15:08:51 +0000 (15:08 +0000)]
* ChangeLog: Correct an entry command.exp -> commands.exp.
* gdb.base/commands.exp (bp_deleted_in_command_test)
(temporary_breakpoint_commands): Check noargs.

20 years ago2003-09-29 Jerome Guitton <guitton@act-europe.fr>
guitton [Mon, 29 Sep 2003 13:27:38 +0000 (13:27 +0000)]
2003-09-29  Jerome Guitton  <guitton@act-europe.fr>

* arm-tdep.c (arm_make_prologue_cache): Use trad_frame_addr_p to
test if the register has been saved on the stack.
(arm_scan_prologue_cache): When analysing the instruction
"str lr, [sp, #-4]", save the address where lr has been stored.

20 years ago * libc/machine/sh/strncpy.S: New file.
amylaar [Mon, 29 Sep 2003 12:42:48 +0000 (12:42 +0000)]
* libc/machine/sh/strncpy.S: New file.
* libc/machine/sh/Makefile.am: Add entry & rule for new file.
* libc/machine/sh/Makefile.in: Regenerate.

20 years ago * syslog.cc (vsyslog): Print debug message if ReportEventA fails.
corinna [Mon, 29 Sep 2003 12:31:22 +0000 (12:31 +0000)]
* syslog.cc (vsyslog): Print debug message if ReportEventA fails.

20 years ago * include/stdlib.h: Guard non-ISO functions with
dannysmith [Mon, 29 Sep 2003 09:16:23 +0000 (09:16 +0000)]
* include/stdlib.h: Guard non-ISO functions with
!__STRICT_ANSI__, throughout.

20 years ago * include/winuser.h [_WIN32_WINNT >= 0x0501] (RIM_TYPEMOUSE,
papadopo [Mon, 29 Sep 2003 08:54:49 +0000 (08:54 +0000)]
* include/winuser.h [_WIN32_WINNT >= 0x0501] (RIM_TYPEMOUSE,
RIM_TYPEKEYBOARD, RIM_TYPEHID, MOUSE_MOVE_RELATIVE,
MOUSE_MOVE_ABSOLUTE, MOUSE_VIRTUAL_DESKTOP,
MOUSE_ATTRIBUTES_CHANGED, RI_MOUSE_LEFT_BUTTON_DOWN,
RI_MOUSE_LEFT_BUTTON_UP, RI_MOUSE_RIGHT_BUTTON_DOWN,
RI_MOUSE_RIGHT_BUTTON_UP, RI_MOUSE_MIDDLE_BUTTON_DOWN,
RI_MOUSE_MIDDLE_BUTTON_UP, RI_MOUSE_BUTTON_1_DOWNT_BUTTON_DOWN,
RI_MOUSE_BUTTON_1_UP, RI_MOUSE_BUTTON_2_DOWNHT_BUTTON_DOWN,
RI_MOUSE_BUTTON_2_UP, RI_MOUSE_BUTTON_3_DOWNDLE_BUTTON_DOWN,
RI_MOUSE_BUTTON_3_UP, RI_MOUSE_BUTTON_4_DOWN,
RI_MOUSE_BUTTON_4_UP, RI_MOUSE_BUTTON_5_DOWN,
RI_MOUSE_BUTTON_5_UP, RI_MOUSE_WHEEL, KEYBOARD_OVERRUN_MAKE_CODE,
RI_KEY_MAKE, RI_KEY_BREAK, RI_KEY_E0, RI_KEY_E1,
RI_KEY_TERMSRV_SET_LED, RI_KEY_TERMSRV_SHADOW, RID_INPUT,
RID_HEADER, RIDI_PREPARSEDDATA, RIDI_DEVICENAME,
RIDI_DEVICEINFO): Add constants.

* include/winuser.h [_WIN32_WINNT >= 0x0501] (RAWINPUTHEADER,
RAWMOUSE, RAWKEYBOARD, RAWHID, RAWINPUT, RAWINPUTDEVICE,
RAWINPUTDEVICELIST): Add structures.

* include/winuser.h [_WIN32_WINNT >= 0x0501] (DefRawInputProc,
GetRawInputBuffer, GetRawInputData, GetRawInputDeviceInfo,
GetRawInputDeviceList, GetRegisteredRawInputDevices): Add functions.

* lib/user32.def (DefRawInputProc, GetRawInputBuffer,
GetRawInputData, GetRawInputDeviceInfo, GetRawInputDeviceList,
GetRegisteredRawInputDevices): Add functions.

20 years agodaily update
amodra [Mon, 29 Sep 2003 00:00:10 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Mon, 29 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-09-28 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 28 Sep 2003 22:32:19 +0000 (22:32 +0000)]
2003-09-28  Andrew Cagney  <cagney@redhat.com>

* frame.c (frame_read_unsigned_register): Delete function.
* frame.h (frame_read_unsigned_register): Delete declaration.
* sparc-tdep.c (sparc_init_extra_frame_info): Use
get_frame_register_unsigned.
(sparc_frame_saved_pc, sparc_pop_frame): Ditto.
* m68hc11-tdep.c (m68hc11_print_register): Ditto.
* d10v-tdep.c (d10v_print_registers_info): Ditto.

* frame.h (frame_read_register): Delete declaration.
* frame.c (frame_read_register): Delete function.
* arch-utils.c (legacy_register_to_value): Use get_frame_register.
* sparc-tdep.c (sparc_fetch_pointer_argument): Ditto.
* rs6000-tdep.c (rs6000_fetch_pointer_argument): Ditto.
* mips-tdep.c (mips_register_to_value): Ditto.
* hppa-tdep.c (hppa_fetch_pointer_argument): Ditto.
* d10v-tdep.c (d10v_print_registers_info): Ditto.

* frame.c (frame_read_signed_register): Delete function.
(frame_read_unsigned_register): Update comments.
* frame.h (frame_read_signed_register): Delete declaration.
* h8300-tdep.c (h8300_print_register): Use
get_frame_register_signed.
* m68hc11-tdep.c (m68hc11_print_register): Ditto.

20 years ago2003-09-28 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 28 Sep 2003 16:12:49 +0000 (16:12 +0000)]
2003-09-28  Andrew Cagney  <cagney@redhat.com>

* config/pa/tm-hppa.h (DEPRECATED_VALUE_RETURNED_FROM_STACK):
Rename VALUE_RETURNED_FROM_STACK.
* infcmd.c (print_return_value): Update.
* infcall.c (call_function_by_hand): Update.

20 years ago* sigproc.cc (proc_subproc): Restrict permissions on ppid_handle.
cgf [Sun, 28 Sep 2003 15:46:00 +0000 (15:46 +0000)]
* sigproc.cc (proc_subproc): Restrict permissions on ppid_handle.
* devices.shilka (device::parse): Restore check for tty in unit handling, but
without the previous typo.
* devices.cc: Regenerate.
* devices.h (DEV_CYGDRIVE_MAJOR): Change major number to one used by linux for
"user-mode virtual block device".

20 years ago* i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add
kettenis [Sun, 28 Sep 2003 13:35:43 +0000 (13:35 +0000)]
* i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add
regcache argument and reverse the order of the other two
arguments.  Remove local regcache variable.  Determine
architecture from REGCACHE.  Update comments.
* x86-64-tdep.c (x86_64_supply_fxsave): Add regcache argument and
reverse the order of the other two arguments.  Remove local
regcache variable.  Determine architecture from REGCACHE.  Update
comments.
* i387-tdep.h (i387_supply_fsave, i387_supply_fxsave): Adjust
prototypes.  Update comments.
* x86-64-tdep.c (x86_64_supply_fxsave): Adjust prototype.  Adjust
comment.
* amd64fbsd-nat.c (supply_fpregset, fetch_inferior_registers):
Update.
* go32-nat.c (fetch_register, go32_fetch_registers): Update.
* i386-interix-nat.c (supply_fpregset): Update.
* i386-linux-nat.c (supply_fpregset, supply_fpxregset): Update.
* i386-nto-tdep.c (i386nto_supply_fpregset): Update.
* i386gnu-nat.c (fetch_fpregs, supply_fpregset): Update.
* i386bsd-nat.c (supply_fpregset, fetch_inferior_registers): Update.
* i386nbsd-tdep.c (fetch_core_registers, fetch_elfcore_registers):
Update.
* i386obsd-tdep.c (fetch_core_registers): Update.
* i386v4-nat.c (supply_fpregset): Update.
* x86-64-linux-nat.c (supply_fpregset): Update.
* x86-64-linux-tdep.c (fetch_core_registers): Update.

20 years ago * devices.h: Move a few device major numbers. Fix typo of FH_UDP.
corinna [Sun, 28 Sep 2003 09:44:13 +0000 (09:44 +0000)]
* devices.h: Move a few device major numbers.  Fix typo of FH_UDP.
* device.shilka: Remove /dev/hd device entries, rename all device_hd*
to device_sd*.
(device::parse): Disallow units outside lower and upper bounds.
* dtable.cc (build_fh_pc): Fix typo of FH_UDP.
* path.cc (win32_device_name): Fix win32 name creation to match new
device handling.

20 years ago*** empty log message ***
gdbadmin [Sun, 28 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Sun, 28 Sep 2003 00:00:10 +0000 (00:00 +0000)]
daily update

20 years ago* i386-tdep.h: Put opaque declarations in alphabetical
kettenis [Sat, 27 Sep 2003 21:57:56 +0000 (21:57 +0000)]
* i386-tdep.h: Put opaque declarations in alphabetical
order.  Remove spurious whitespace.
(struct gdbarch_tdep): add st0_regnum and mm0_regnum members.
(i386_sse_regnum_p, i386_mxcsr_regnum_p): Remove prototypes.
* i386-tdep.c (MM0_REGNUM): Remove define.
(i386_mmx_regnum_p): Add gdbarch argument.
(i386_sse_regnum_p, i386_mxcsr_regnum_p): Add gdbarch argument.
Rewrite using new macro definitions for FPU/SSE registers.
(i386_fp_regnum_p, i386_fpc_regnum_p): Rewrite using new macro
definitions from i387-tdep.h.
(i386_register_name): Update.
(i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): Update to use
new macro definitions for FPU/SSE registers.
(i386_extract_return_value): Determine whether floating-point
registers are present by examining REGCACHE's architecture.
(i386_store_return_value): Likewise.  Use I386_MAX_REGISTER_SIZE
instead of FPU_REG_RAW_SIZE.  Use new macro definitions for
FPU/SSE registers.
(i386_register_type): Update.
(i386_mmx_regnum_to_fp_regnum): Rewrite using new macro
definitions for FPU registers.  Use REGCACHE's architecture to
determine the appropriate register numbers.
(i386_pseudo_register_read, i386_pseudo_register_write,
i386_register_reggroup_p): Update.
(i386_gdbarch_init): Initialize TDEP->st0_regnum and
TDEP->mm0_regnum.
* i387-tdep.h (I387_FCTRL_REGNUM, I387_FSTAT_REGNUM,
I387_FTAG_REGNUM, I387_FISEG_REGNUM, I387_FIOFF_REGNUM,
I387_FOSEG_REGNUM, I387_FOOFF_REGNUM, I387_FOP_REGNUM,
I387_XMM0_REGNUM, I387_MXCSR_REGNUM): New defines.
(i387_supply_fsave, i387_fill_fsave, i387_supply_fxsave,
i387_fill_fxsave): Change type of fsave/fxsave argument from `char
*' to `void *'.
* i387-tdep.c (i387_print_float_info, fsave_offset, FSAVE_ADDR,
i387_supply_fsave, i387_fill_fsave, fxsave_offset, FXSAVE_ADDR,
i387_supply_fxsave, i387_fill_fxsave): Update to use new macro
definitions for FPU/SSE registers.
(FXSAVE_MXCSR_ADDR): New define.
* x86-64-tdep.c (x86_64_init_abi): Override TDEP->st0_regnum and
TDEP->mm0_regnum.
(I387_FISEG_REGNUM, I387_FOSEG_REGNUM): Remove defines.
(I387_ST0_REGNUM): Define.

20 years ago* regcache.h (get_regcache_arch): New prototype.
kettenis [Sat, 27 Sep 2003 19:32:52 +0000 (19:32 +0000)]
* regcache.h (get_regcache_arch): New prototype.
* regcache.c (get_regcache_arch): New function.

20 years ago * config/tc-hppa.c (pa_ip): Check for invalid 64-bit conditions.
danglin [Sat, 27 Sep 2003 18:19:29 +0000 (18:19 +0000)]
* config/tc-hppa.c (pa_ip): Check for invalid 64-bit conditions.

20 years ago* x86-64-tdep.c (x86_64_store_return_value): Remove spurious
kettenis [Sat, 27 Sep 2003 18:11:58 +0000 (18:11 +0000)]
* x86-64-tdep.c (x86_64_store_return_value): Remove spurious
whitespace.

20 years ago* i386-tdep.c (i386_num_register_names, i386_num_mmx_regs):
kettenis [Sat, 27 Sep 2003 17:45:00 +0000 (17:45 +0000)]
* i386-tdep.c (i386_num_register_names, i386_num_mmx_regs):
Initialize using ARRAY_SIZE.

20 years ago2003-09-27 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 27 Sep 2003 15:51:01 +0000 (15:51 +0000)]
2003-09-27  Andrew Cagney  <cagney@redhat.com>

* arch-utils.c (deprecated_init_frame_pc_default): Rename
"init_frame_pc_default".
* arch-utils.h (deprecated_init_frame_pc_default): Update.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sh64-tdep.c (sh64_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* config/pa/tm-hppa.h (DEPRECATED_INIT_FRAME_PC): Update.

20 years ago* device.shilka (device::parse): Allow units on other than tty.
cgf [Sat, 27 Sep 2003 15:19:28 +0000 (15:19 +0000)]
* device.shilka (device::parse): Allow units on other than tty.

20 years ago * wincap.cc (wincapc::init): Allow requesting server info for NT4 SP6.
corinna [Sat, 27 Sep 2003 08:14:56 +0000 (08:14 +0000)]
* wincap.cc (wincapc::init): Allow requesting server info for NT4 SP6.

20 years ago* path.cc (symlink_info::check): Use new introducer for mknod'ed files.
cgf [Sat, 27 Sep 2003 05:44:58 +0000 (05:44 +0000)]
* path.cc (symlink_info::check): Use new introducer for mknod'ed files.
(parse_device): Ditto.
* syscalls.cc (mknod_worker): Ditto.

20 years ago* devices.shilka: Add /dev/sda disk devices.
cgf [Sat, 27 Sep 2003 05:38:01 +0000 (05:38 +0000)]
* devices.shilka: Add /dev/sda disk devices.
* devices.cc: Regenerate.

20 years ago* cygwin-shilka: Remove '#line directives' or suffer debugging oddities. Use
cgf [Sat, 27 Sep 2003 05:35:02 +0000 (05:35 +0000)]
* cygwin-shilka: Remove '#line directives' or suffer debugging oddities.  Use
-length option so that device prefixes are used.
* devices.cc: Regenerate.
* syscalls.cc (ttyname): Add debugging output.

20 years agoremove accidental checkin
cgf [Sat, 27 Sep 2003 03:44:57 +0000 (03:44 +0000)]
remove accidental checkin

20 years ago* Makefile.in: Add libusr32.a to DLL_IMPORTS.
cgf [Sat, 27 Sep 2003 03:44:31 +0000 (03:44 +0000)]
* Makefile.in: Add libusr32.a to DLL_IMPORTS.
* wincap.h (wincaps::is_server): New flag.
(wincapc::version): Change type to OSVERSIONINFOEX.
(wincapc::is_server): New function.
* wincap.cc (wincap_unknown::is_server): New initializer.
(wincap_95): Ditto.
(wincap_95osr2): Ditto.
(wincap_98): Ditto.
(wincap_me): Ditto.
(wincap_nt3): Ditto.
(wincap_nt4): Ditto.
(wincap_nt4sp4): Ditto.
(wincap_2000): Ditto.
(wincap_xp): Ditto.
(wincapc::init): Adapt to OSVERSIONINFOEX.  Add detection of NT server systems.
* sched.cc: Include windows.h and registry.h.
(sched_rr_get_interval): Re-implement for NT systems.

20 years ago* fhandler_tty.cc (fhandler_tty_slave::ioctl): Properly set ioctl_request event
cgf [Sat, 27 Sep 2003 03:14:07 +0000 (03:14 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::ioctl): Properly set ioctl_request event
when window size changes.  Store failing errno in ioctl_retval (needed?).

20 years ago* fhandler_console.c (fhandler_console::read): Record the state of the SHIFT,
cgf [Sat, 27 Sep 2003 02:36:50 +0000 (02:36 +0000)]
* fhandler_console.c (fhandler_console::read): Record the state of the SHIFT,
CTRL and ALT keys at the time of the last keyboard input event.
(fhandler_console::ioctl): Handle requests to retrieve the keyboard modifiers
via the TIOCLINUX command.
* fhandler_tty.c (fhandler_tty_slave::read): Ditto.
* include/sys/termios.h (TIOCLINUX): New macro definition.

20 years ago2003-09-26 Pierre Humblet <pierre.humblet@ieee.org>
phumblet [Sat, 27 Sep 2003 02:30:46 +0000 (02:30 +0000)]
2003-09-26  Pierre Humblet <pierre.humblet@ieee.org>

* pinfo.cc (pinfo::init): Do not give FILE_MAP_WRITE access to Everybody.
* exceptions.cc (sig_handle_tty_stop): Do not create pinfo parent with
PID_MAP_WRITE.
* fhandler_process.cc (fhandler_process::fill_filebuf): Ditto for pinfo p.
* signal.cc (kill_worker): Ditto for pinfo dest.

20 years ago2003-09-26 Pierre Humblet <pierre.humblet@ieee.org>
phumblet [Sat, 27 Sep 2003 01:58:22 +0000 (01:58 +0000)]
2003-09-26  Pierre Humblet <pierre.humblet@ieee.org>

* pinfo.h (pinfo::set_acl): Declare.
* pinfo.cc (pinfo_fixup_after_fork): Duplicate with no rights.
(pinfo::set_acl): New.
* spawn.cc (spawn_guts): Call myself.set_acl.

20 years ago2003-09-26 Pierre Humblet <pierre.humblet@ieee.org>
phumblet [Sat, 27 Sep 2003 01:56:36 +0000 (01:56 +0000)]
2003-09-26  Pierre Humblet <pierre.humblet@ieee.org>

* uinfo.cc (cygheap_user::init): Make sure the current user appears
in the default DACL. Rearrange to decrease the indentation levels.
Initialize the effec_cygsid directly.
(internal_getlogin): Do not reinitialize myself->gid. Open the process
token with the required access.
* cygheap.h (class cygheap_user): Delete members pid and saved_psid.
Create members effec_cygsid and saved_cygsid.
(cygheap_user::set_sid): Define inline.
(cygheap_user::set_saved_sid): Ditto.
(cygheap_user::sid): Modify.
(cygheap_user::saved_sid): Modify.
* cygheap.cc (cygheap_user::set_sid): Delete.
(cygheap_user::set_saved_sid): Ditto.
* sec_helper.cc (sec_acl): Set the correct acl size.
* autoload.cc (FindFirstFreeAce): Add.
* security.h: Define ACL_DEFAULT_SIZE.

20 years agodaily update
amodra [Sat, 27 Sep 2003 00:00:09 +0000 (00:00 +0000)]
daily update

20 years ago*** empty log message ***
gdbadmin [Sat, 27 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago2003-09-26 Matt Thomas <matt@3am-software.com>
thorpej [Fri, 26 Sep 2003 23:02:34 +0000 (23:02 +0000)]
2003-09-26  Matt Thomas  <matt@3am-software.com>

* config/tc-vax.c (md_shortopts): Fix a typo.  Remove 'K'.
(OPTION_PIC): Define.
(md_longopts): Add "pic" option.
(md_parse_option): Change 'K' to OPTION_PIC.

20 years ago * include/winable.h (BlockInput): Add function.
papadopo [Fri, 26 Sep 2003 14:46:33 +0000 (14:46 +0000)]
* include/winable.h (BlockInput): Add function.

* include/winable.h (WS_ACTIVECAPTION): Add constant.
For use with WINDOWINFO structure.

* include/winuser.h [_WIN32_WINNT >= 0x0500] (LockWorkStation):
Add function.

* include/winuser.h [_WIN32_WINNT >= 0x0501] (IsWinEventHookInstalled):
Add function.

* include/winuser.h [WINVER >= 0x0500] (UnhookWinEvent):
Add function...

* include/winable.h [WINVER < 0x0500] (UnhookWinEvent):
...and duplicate.

* include/winuser.h [_WIN32_WINNT >= 0x0403] (SendInput):
Guard function...

* include/winable.h [_WIN32_WINNT < 0x0403] (SendInput):
...and duplicate.

* include/winuser.h [WINVER >= 0x0500] (NotifyWinEvent):
Guard function...

* include/winable.h [WINVER < 0x0500] (NotifyWinEvent):
...and duplicate.

* include/winuser.h [WINVER >= 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): Guard structures...

* include/winable.h [WINVER < 0x0500] (MOUSEINPUT, KEYBDINPUT,
HARDWAREINPUT, INPUT): ...and duplicate.

* include/winuser.h [_WIN32_WINNT >= 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): Guard constants...

* include/winable.h [_WIN32_WINNT < 0x0403] (INPUT_MOUSE,
INPUT_KEYBOARD, INPUT_HARDWARE): ...and duplicate.

* include/winuser.h: Move around some lines. Reformat according
to recommended or dominant style. Remove FAR keyword.

* include/winable.h: Move around some lines.

* lib/user32.def (BlockInput, IsWinEventHookInstalled,
LockWorkStation, UnhookWinEvent): Add functions.

20 years ago* regset.h: New file.
kettenis [Fri, 26 Sep 2003 14:36:55 +0000 (14:36 +0000)]
* regset.h: New file.
* Makefile.in (regset_h): Add.

20 years ago * include/winuser.h [_WIN32_WINNT >= 0x0501] (PrintWindow,
papadopo [Fri, 26 Sep 2003 10:41:23 +0000 (10:41 +0000)]
* include/winuser.h [_WIN32_WINNT >= 0x0501] (PrintWindow,
PW_CLIENTONLY): Add function and constant.

* lib/user32.def (PrintWindow): Add function.

20 years ago * include/winuser.h (RealGetWindowClassA[AW]): Add function.
papadopo [Fri, 26 Sep 2003 10:31:42 +0000 (10:31 +0000)]
* include/winuser.h (RealGetWindowClassA[AW]): Add function.

* lib/user32.def (RealGetWindowClassA[AW]): Add function.

20 years ago * include/winuser.h [WINVER >= 0x0500] (RegisterDeviceNotification[AW],
papadopo [Fri, 26 Sep 2003 10:20:45 +0000 (10:20 +0000)]
* include/winuser.h [WINVER >= 0x0500] (RegisterDeviceNotification[AW],
DEVICE_NOTIFY_WINDOW_HANDLE, DEVICE_NOTIFY_SERVICE_HANDLE,
DEVICE_NOTIFY_ALL_INTERFACE_CLASSES): Add function and constants.

* lib/user32.def (RegisterDeviceNotification[AW]): Add function.

20 years ago * include/winuser.h [WINVER >= 0x0500] (SetWinEventHook, WINEVENTPROC,
papadopo [Fri, 26 Sep 2003 09:49:52 +0000 (09:49 +0000)]
* include/winuser.h [WINVER >= 0x0500] (SetWinEventHook, WINEVENTPROC,
WINEVENT_OUTOFCONTEXT, WINEVENT_SKIPOWNTHREAD, WINEVENT_SKIPOWNPROCESS,
WINEVENT_INCONTEXT): Add function, typedef, and constants.

* include/winable.h [WINVER < 0x0500] (SetWinEventHook, WINEVENTPROC,
WINEVENT_OUTOFCONTEXT, WINEVENT_SKIPOWNTHREAD, WINEVENT_SKIPOWNPROCESS,
WINEVENT_INCONTEXT): Add function, typedef, and constants.

* include/winuser.h [_WIN32_WINNT >= 0x0500] (UserHandleGrantAccess):
Add function.

* lib/user32.def (SetWinEventHook, UserHandleGrantAccess):
Add functions.

20 years ago * mmap.cc (munmap): Use correct address and length parameters when
corinna [Fri, 26 Sep 2003 08:50:12 +0000 (08:50 +0000)]
* mmap.cc (munmap): Use correct address and length parameters when
calling fhandler's munmap.

20 years ago * spawn.cc (spawn_guts): Set errno to E2BIG if command line is
corinna [Fri, 26 Sep 2003 08:45:24 +0000 (08:45 +0000)]
* spawn.cc (spawn_guts): Set errno to E2BIG if command line is
longer than CreateProcess allows (32K).

20 years ago * include/winnt.h (ACE_INHERITED_OBJECT_TYPE_PRESENT,
papadopo [Fri, 26 Sep 2003 08:19:30 +0000 (08:19 +0000)]
* include/winnt.h (ACE_INHERITED_OBJECT_TYPE_PRESENT,
ACE_OBJECT_TYPE_PRESENT): Add constants. For use with
OBJECTS_AND_NAME structure.

20 years ago * include/aclapi.h [_WIN32_WINNT >= 0x0501] (GetInheritanceSource[AW]):
papadopo [Fri, 26 Sep 2003 08:07:39 +0000 (08:07 +0000)]
* include/aclapi.h [_WIN32_WINNT >= 0x0501] (GetInheritanceSource[AW]):
Add functions. Don't know what PFN_OBJECT_MGR_FUNCTS is so use
void* instead.

* include/accctrl.h [_WIN32_WINNT >= 0x0501] (INHERITED_FROM[AW],
PINHERITED_FROM[AW]): Add structures.

* lib/user32.def (GetInheritanceSource[AW]): Add functions.

20 years ago Avoid compile time error when including winuser.h:
corinna [Fri, 26 Sep 2003 07:51:26 +0000 (07:51 +0000)]
Avoid compile time error when including winuser.h:

* include/winuser.h (FLASHWINFO, PFLASHWINFO): Define for 98/Me, too.

20 years ago2003-09-25 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 26 Sep 2003 03:54:09 +0000 (03:54 +0000)]
2003-09-25  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/alias-ilp32.d: New file.
* gas/ia64/secname-ilp32.d: Likewise.
* gas/ia64/unwind-ilp32.d: Likewise.

* gas/ia64/dependency-1.d: Support ILP32.
* gas/ia64/dv-branch.d: Likewise.
* gas/ia64/dv-imply.d: Likewise.
* gas/ia64/dv-mutex.d: Likewise.
* gas/ia64/dv-safe.d: Likewise.
* gas/ia64/dv-srlz.d: Likewise.
* gas/ia64/global.d: Likewise.
* gas/ia64/ldxmov-1.d: Likewise.
* gas/ia64/ltoff22x-1.d:Likewise.
* gas/ia64/opc-a.d: Likewise.
* gas/ia64/opc-b.d: Likewise.
* gas/ia64/opc-f.d: Likewise.
* gas/ia64/opc-i.d: Likewise.
* gas/ia64/opc-m.d: Likewise.
* gas/ia64/opc-x.d: Likewise.
* gas/ia64/order.d: Likewise.
* gas/ia64/regs.d: Likewise.
* gas/ia64/tls.d: Likewise.

* gas/ia64/ia64.exp: Run "secname-ilp32", "unwind-ilp32" and
"alias-ilp32" for ia64-*-hpux*.

20 years ago* dtable.cc (build_fh_name): Return pointer to a 'nodevice' rather than a NULL
cgf [Fri, 26 Sep 2003 03:26:44 +0000 (03:26 +0000)]
* dtable.cc (build_fh_name): Return pointer to a 'nodevice' rather than a NULL
pointer or suffer SEGVs with invalid paths.