OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago2002-06-28 David O'Brien <obrien@FreeBSD.org>
obrien [Fri, 28 Jun 2002 18:44:47 +0000 (18:44 +0000)]
2002-06-28  David O'Brien  <obrien@FreeBSD.org>
* config/i386/nm-fbsd.h: Include <sys/param.h>.
* config/i386/tm-fbsd.h: Likewise.

22 years ago* rs6000-tdep.c (rs6000_gdbarch_init): Use
cagney [Fri, 28 Jun 2002 16:15:06 +0000 (16:15 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): Use
generic_unwind_get_saved_register.

22 years ago * libm/mathfp/sf_pow.c (powf): Change k from int to float.
fitzsim [Fri, 28 Jun 2002 15:32:44 +0000 (15:32 +0000)]
* libm/mathfp/sf_pow.c (powf): Change k from int to float.

22 years agoExtend search path for config.guess to include $libdir/../../libexec.
nickc [Fri, 28 Jun 2002 07:43:31 +0000 (07:43 +0000)]
Extend search path for config.guess to include $libdir/../../libexec.
This is where an install from the top level build directory will place it,
because the top level Makefile overrides the definition of $(libexecdir).

22 years agodaily update
amodra [Fri, 28 Jun 2002 00:01:04 +0000 (00:01 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 28 Jun 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
jjohnstn [Thu, 27 Jun 2002 23:58:36 +0000 (23:58 +0000)]
2002-06-27  Benjamin Kosnik  <bkoz@redhat.com>

        * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
        * libc/include/time.h: Same.
        * libc/include/string.h: Same.
        * libc/include/stdlib.h: Same.
        * libc/include/signal.h: Same.
        * libc/include/setjmp.h: Same.
        * libc/include/math.h: Same.
        * libc/include/locale.h: Same.
        * libc/include/ctype.h: Same.
        * libc/include/machine/setjmp.h: Same.
        * libc/include/_ansi.h (_BEGIN_STD_C): Add.
        (_END_STD_C): Add.

22 years ago * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
law [Thu, 27 Jun 2002 22:57:48 +0000 (22:57 +0000)]
* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
section.  Add ${RELOCATING-0}.

22 years ago * elf64-hppa.c (elf64_hppa_reloc_type_class): New function.
law [Thu, 27 Jun 2002 22:57:01 +0000 (22:57 +0000)]
    * elf64-hppa.c (elf64_hppa_reloc_type_class): New function.
        (elf64_hppa_finish_dynamic_sections): Check other_rel_sec, dlt_rel_sec
        and opd_rel_sec in order for starting rela section.  Check _raw_size.
        (elf_backend_reloc_type_class): Define.

22 years ago2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 27 Jun 2002 22:48:00 +0000 (22:48 +0000)]
2002-06-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/_types.h: Define _ssize_t as int if int is
        32-bits, otherwise define it as long.
        * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
        and define ssize_t as _ssize_t.
        * libc/reent/readr.c: Change return type to _ssize_t.
        * libc/reent/writer.c: Ditto.
        * libc/sys/linux/Makefile.am: Add aio.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/aio.c: New file.
        * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
        * libm/common/fdlibm.h: Undef __P before defining it.

22 years agoAdd missing entry.
cgf [Thu, 27 Jun 2002 20:45:54 +0000 (20:45 +0000)]
Add missing entry.

22 years ago* cygheap.cc (cfree_and_set): New function.
cgf [Thu, 27 Jun 2002 20:44:27 +0000 (20:44 +0000)]
* cygheap.cc (cfree_and_set): New function.
(cygheap_user::set_name): Use cfree_and_set to reset members.
* cygheap.h (cygheap_user): Delete static members.
(cygheap_user::puserprof): New member.
(cfree_and_set): Declare.
* dcrt0.cc (almost_null): Define.
* winsup.h (almost_null): Declare.
* syscalls.cc (cfree_and_set): Remove unused variable.
* uinfo.cc (cygheap_user::homepath_env_buf): Eliminate.
(cygheap_user::homedrive_env_buf): Ditto.
(cygheap_user::userprofile_env_buf): Ditto.
(cygheap_user::ontherange): YA change to try to preserve existing HOMEPATH and
HOMEDRIVE.  Return almost_null values when variables should not actually exist.
(cygheap_user::env_logsrv): Ditto.
(cygheap_user::env_domain): Ditto.
(cygheap_user::env_userprofile): Ditto.

22 years ago * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
fitzsim [Thu, 27 Jun 2002 20:41:47 +0000 (20:41 +0000)]
* libm/mathfp/s_pow.c (pow): Fix checks on variable k.  Add
exponent_is_even_int variable.  Handle case where x is
negative, and y is an odd integer.
* libm/mathfp/sf_pow.c (powf): Likewise.

22 years ago * libm/mathfp/er_lgamma.c: Remove __kernel references.
fitzsim [Thu, 27 Jun 2002 20:25:56 +0000 (20:25 +0000)]
* libm/mathfp/er_lgamma.c: Remove __kernel references.
* libm/mathfp/erf_lgamma.c: Likewise.
* libm/mathfp/s_tgamma.c: Likewise.
* libm/mathfp/sf_tgamma.c: Likewise.

22 years ago2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 27 Jun 2002 20:09:23 +0000 (20:09 +0000)]
2002-06-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Add new clock routines.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/clock_getres.c: New file.
        * libc/sys/linux/clock_gettime.c: Ditto.
        * libc/sys/linux/clock_settime.c: Ditto.
        * libc/sys/linux/hp-timing.h: Ditto.
        * libc/sys/linux/libc-internal.h: Ditto.
        * libc/sys/linux/sysconf.c: Fix typo.
        * libc/sys/linux/include/time.h: New file.
        * libc/sys/linux/machine/hp-timing.h: New file.
        * libc/sys/linux/machine/i386/Makefile.am: Add new files.
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
        * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
        * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
        * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
        * libc/sys/linux/sys/linux_time.h: Ditto.
        * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
        replace with <sys/linux_time.h>.

22 years ago Delete extraneous comment from my previous change.
scottc [Thu, 27 Jun 2002 20:08:33 +0000 (20:08 +0000)]
Delete extraneous comment from my previous change.

22 years agoFrom 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
cagney [Thu, 27 Jun 2002 18:28:22 +0000 (18:28 +0000)]
From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>:
* regcache.c (supply_register): Add missing argument to
register_buffer call.

22 years ago * dcrt0.cc (dll_crt0_1): Let __progname point to the applications
corinna [Thu, 27 Jun 2002 16:01:38 +0000 (16:01 +0000)]
* dcrt0.cc (dll_crt0_1): Let __progname point to the applications
basename.  Move eliminating ".exe" suffix from argv[0] so that it
always also affects __progname.

22 years ago* Makefile.in (init.c): Drop -e option to grep. Not necessary and
cagney [Thu, 27 Jun 2002 15:49:22 +0000 (15:49 +0000)]
* Makefile.in (init.c): Drop -e option to grep.  Not necessary and
Solaris /bin/grep does not not like it.  From Peter Schauer.

22 years ago* gdbint.texinfo (User Interface): ISO C rather than ISO-C.
cagney [Thu, 27 Jun 2002 15:30:32 +0000 (15:30 +0000)]
* gdbint.texinfo (User Interface): ISO C rather than ISO-C.
(Coding): Clarify ISO C version that GDB assumes.

22 years ago* thread.cc (pthread::create): Added trace printf to get CreateThread
cgf [Thu, 27 Jun 2002 14:19:29 +0000 (14:19 +0000)]
* thread.cc (pthread::create): Added trace printf to get CreateThread
LastError.

22 years ago * mmap.cc (list::match): Check using pagesize aligned size.
corinna [Thu, 27 Jun 2002 13:01:33 +0000 (13:01 +0000)]
* mmap.cc (list::match): Check using pagesize aligned size.

22 years ago2002-06-27 Kevin Buettner <kevinb@redhat.com>
amodra [Thu, 27 Jun 2002 11:51:41 +0000 (11:51 +0000)]
2002-06-27  Kevin Buettner <kevinb@redhat.com>

* dwarf2.c (decode_line_info): Handle older, non-standard, 64-bit
DWARF2 formats.

22 years ago * cpu-powerpc.c: Comment on ordering of arch_info.
amodra [Thu, 27 Jun 2002 11:29:12 +0000 (11:29 +0000)]
* cpu-powerpc.c: Comment on ordering of arch_info.
* elf32-ppc.c (ppc_elf_object_p): New function.
(elf_backend_object_p): Define.
* elf64-ppc.c (ppc64_elf_object_p): New function.
(elf_backend_object_p): Define.

22 years agoZap remainder of gdb.threads-hp directory.
cagney [Thu, 27 Jun 2002 03:58:31 +0000 (03:58 +0000)]
Zap remainder of gdb.threads-hp directory.

22 years ago* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): Force
cgf [Thu, 27 Jun 2002 03:06:44 +0000 (03:06 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstat_by_name): Force
FindFirstFile on first file of directory when asking for x:\ .

22 years ago* cygheap.cc (cygheap_user::set_name): Correct thinko in below change.
cgf [Thu, 27 Jun 2002 02:29:56 +0000 (02:29 +0000)]
* cygheap.cc (cygheap_user::set_name): Correct thinko in below change.

22 years agodaily update
amodra [Thu, 27 Jun 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 27 Jun 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * gdbint.texinfo (User Interface): Mention add_setshow_cmd and
tromey [Wed, 26 Jun 2002 20:58:48 +0000 (20:58 +0000)]
* gdbint.texinfo (User Interface): Mention add_setshow_cmd and

22 years ago * command.h (add_setshow_cmd): Declare.
tromey [Wed, 26 Jun 2002 20:58:15 +0000 (20:58 +0000)]
* command.h (add_setshow_cmd): Declare.
(add_setshow_cmd_full): Declare.
* cli/cli-decode.c (add_setshow_cmd): No longer static.  Now
returns void.  Use add_setshow_cmd_full.
(add_setshow_cmd_full): New function.
(add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full.
(add_setshow_boolean_cmd): Likewise.

22 years ago* cygheap.cc (cygheap_user::set_name): Avoid clearing things when just setting
cgf [Wed, 26 Jun 2002 19:39:04 +0000 (19:39 +0000)]
* cygheap.cc (cygheap_user::set_name): Avoid clearing things when just setting
name to itself or during first time initialization.
* environ.cc (check_case_init): Make case insensitive.

22 years ago * fhandler.h (fhandler_socket::bind): Add method definition.
corinna [Wed, 26 Jun 2002 19:25:08 +0000 (19:25 +0000)]
* fhandler.h (fhandler_socket::bind): Add method definition.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::accept): Ditto.
(fhandler_socket::getsockname): Ditto.
(fhandler_socket::getpeername): Ditto.
(fhandler_socket::recvfrom): Ditto.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
(fhandler_socket::shutdown): Ditto.
* fhandler_socket.cc (get_inet_addr): Move here from net.cc.
(fhandler_socket::bind): New method.
(fhandler_socket::connect): Ditto.
(fhandler_socket::listen): Ditto.
(fhandler_socket::accept): Ditto.
(fhandler_socket::getsockname): Ditto.
(fhandler_socket::getpeername): Ditto.
(fhandler_socket::recvfrom): Ditto.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
(fhandler_socket::shutdown): Ditto.
* net.cc: Various formatting cleanups throughout.
(get_inet_addr): Move to fhandler_socket.cc.
(cygwin_bind): Move base functionality to appropriate fhandler_socket
method.
(cygwin_connect): Ditto.
(cygwin_listen): Ditto.
(cygwin_accept): Ditto.
(cygwin_getsockname): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_recvfrom): Ditto.
(cygwin_recvmsg): Ditto.
(cygwin_sendto): Ditto.
(cygwin_sendmsg): Ditto.
(cygwin_shutdown): Ditto.

22 years agoRemove files checked in by mistake.
thorpej [Wed, 26 Jun 2002 18:37:25 +0000 (18:37 +0000)]
Remove files checked in by mistake.

22 years ago* config/vax/tm-vax.h: Protect from multiple inclusion.
thorpej [Wed, 26 Jun 2002 17:39:27 +0000 (17:39 +0000)]
* config/vax/tm-vax.h: Protect from multiple inclusion.
(TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR)
(SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to...
* config/vax/tm-vaxbsd.h: ...here.  New file.
* config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h.

22 years ago* config/vax/tm-vax.h (BREAKPOINT): Remove.
thorpej [Wed, 26 Jun 2002 17:20:34 +0000 (17:20 +0000)]
* config/vax/tm-vax.h (BREAKPOINT): Remove.
(BELIEVE_PCC_PROMOTION): Remove.
(AP_REGNUM): Move to...
* config/vax/nm-vax.h: ...here.
* vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM.
(vax_breakpoint_from_pc): New function.
(vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc
and gdbarch_believe_pcc_promotion.

22 years ago* config/m68k/tm-m68k.h: Rearrange code so macros not in the
graces [Wed, 26 Jun 2002 17:09:29 +0000 (17:09 +0000)]
* config/m68k/tm-m68k.h: Rearrange code so macros not in the
gdbarch vector are at the top.
(NUM_REGS): Remove.
(FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove.
(FRAME_ARGS_ADDRESS): Remove.
(FRAME_LOCALS_ADDRESS): Remove.
(FRAME_NUM_ARGS): Remove.
(FRAME_ARGS_SKIP): Remove.
* m68k-tdep.c (enum): Add eumeration of special register numbers.
(m68k_gdbarch_init): Add gdbarch initializations for macros
undefined in tm-m68k.h

22 years ago* Makefile.in (vax_tdep_h): Define.
thorpej [Wed, 26 Jun 2002 16:07:15 +0000 (16:07 +0000)]
* Makefile.in (vax_tdep_h): Define.
(vax-tdep.o): Use $(vax_tdep_h).
* vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework.
(vax_dump_tdep): New function.
(_initialize_vax_tdep): Register vax_dump_tdep.
* vax-tdep.h: Include osabi.h.
(struct gdbarch_tdep): New.

22 years agold:
amylaar [Wed, 26 Jun 2002 15:42:31 +0000 (15:42 +0000)]
ld:
        * emulparams/shelf.sh (STACK_ADDR): Don't define.
        (OTHER_SECTIONS): Define.
        * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef.
        (OTHER_SECTIONS): Undef.
newlib:
        * libc/sys/sh/crt0.S: Remove vestigial .section directive.
gcc:
        * config/sh/crt1.asm: remove _stack label definition
        and sentinel value.

22 years ago* frame.h (deprecated_generic_find_dummy_frame): Rename
cagney [Wed, 26 Jun 2002 15:28:45 +0000 (15:28 +0000)]
* frame.h (deprecated_generic_find_dummy_frame): Rename
generic_find_dummy_frame.
* blockframe.c (generic_find_dummy_frame): Make static.
(deprecated_generic_find_dummy_frame): New function.
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace
generic_find_dummy_frame with deprecated_find_dummy_frame.
(sh64_nofp_frame_init_saved_regs): Ditto.
(sh_fp_frame_init_saved_regs): Ditto.
* s390-tdep.c (s390_frame_saved_pc_nofix): Ditto.
(s390_frame_chain): Ditto.
* cris-tdep.c (cris_frame_init_saved_regs): Ditto.

22 years agomade regname function const char *
graces [Wed, 26 Jun 2002 15:27:48 +0000 (15:27 +0000)]
made regname function const char *

22 years agoRescind Tom Rix's maintainerships.
nickc [Wed, 26 Jun 2002 15:26:52 +0000 (15:26 +0000)]
Rescind Tom Rix's maintainerships.

22 years ago* monitor.h: Add the function regname to monitor_ops
graces [Wed, 26 Jun 2002 15:14:32 +0000 (15:14 +0000)]
* monitor.h: Add the function regname to monitor_ops
structure. This way NUM_REGS does not have to be a constant.
* monitor.c (monitor_fetch_register): Added support for regname
function. The function is called if the array regnames is NULL.
(monitor_store_register): Same.
* cpu32bug-rom.c (cpu32bug_regname):  Add function. Replaces regnames array.
(init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL,
cpu32bug_cmds.regname to point to new function.
* abug-rom.c (abug_regname): Same as above.
(init_abug_cmds): Same.
* dbug-rom.c (dbug_regname): Same as above.
(init_dbug_cmds): Same.
* remote-est.c (est_regname): Same.
(init_est_cmds): Same.
* rom68k-rom.c (rom68k_regname): Same.
(init_rom68k_cmds): Same.

22 years ago * pwdgrp.h (pwdgrp_read::~pwdgrp_read): Avoid compiler warning.
corinna [Wed, 26 Jun 2002 14:59:22 +0000 (14:59 +0000)]
    * pwdgrp.h (pwdgrp_read::~pwdgrp_read): Avoid compiler warning.

22 years ago * nm.c (print_symname): When demangling, strip leading dots from
amodra [Wed, 26 Jun 2002 13:23:45 +0000 (13:23 +0000)]
* nm.c (print_symname): When demangling, strip leading dots from
symbol names to avoid confusing the demangler.

22 years ago * ldmisc.c (demangle): Restore dots stripped from sym name.
amodra [Wed, 26 Jun 2002 13:22:54 +0000 (13:22 +0000)]
* ldmisc.c (demangle): Restore dots stripped from sym name.

22 years agoNew Turkish translation
nickc [Wed, 26 Jun 2002 08:21:03 +0000 (08:21 +0000)]
New Turkish translation

22 years ago* dcrt0.cc (_dcrt0): Be more defensive when reserved block is used and it's not
cgf [Wed, 26 Jun 2002 05:37:29 +0000 (05:37 +0000)]
* dcrt0.cc (_dcrt0): Be more defensive when reserved block is used and it's not
cygwin info.

22 years ago* autoload (noload): Avoid clobbering bx register.
cgf [Wed, 26 Jun 2002 05:29:40 +0000 (05:29 +0000)]
* autoload (noload): Avoid clobbering bx register.
* environ.cc (codepage_init): Use case insensitive match.
* fhandler_console.cc (cp_get_internal): Delete.
(con_to_str): Use get_cp to derive code page.
(str_to_con): Ditto.
* miscfuncs.cc (get_cp): New function.
(sys_wcstombs): New function.  Converted from macro.
(sys_mbstowcs): Ditto.
* winsup.h: Reflect above changes.

22 years ago * breakpoint.c (delete_command): Don't repeat `delete' commands.
tromey [Wed, 26 Jun 2002 05:20:03 +0000 (05:20 +0000)]
* breakpoint.c (delete_command): Don't repeat `delete' commands.

22 years ago* winsup.h: Minor cleanup.
cgf [Wed, 26 Jun 2002 04:20:59 +0000 (04:20 +0000)]
* winsup.h: Minor cleanup.
* path.h (path_conv::[]): New operator.
* syscalls.cc (_link): Use path_conv operators rather than methods, where
appropriate.  Minor white space cleanup.
* include/cygwin/version.h: Bump DLL minor number.
* dcrt0.cc (sm): Make NO_COPY.

22 years ago* configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo.
thorpej [Wed, 26 Jun 2002 03:10:18 +0000 (03:10 +0000)]
* configure.in (vax-*-netbsd*): Set COREFILE to netbsd-core.lo.
* configure: Regenerate.

22 years ago * ecoff.c: (get_tag): Replace strcpy with xstrdup.
amodra [Wed, 26 Jun 2002 01:18:41 +0000 (01:18 +0000)]
* ecoff.c: (get_tag): Replace strcpy with xstrdup.
(ecoff_directive_def): Likewise.
(ecoff_directive_tag): Likewise.
* listing.c (file_info): Likewise.
* hash.c (what): Likewise.

22 years ago2002-06-25 H.J. Lu <hjl@gnu.org>
hjl [Wed, 26 Jun 2002 01:12:28 +0000 (01:12 +0000)]
2002-06-25  H.J. Lu <hjl@gnu.org>

* Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it.
* Makefile.in: Regenerated.

22 years ago*** empty log message ***
gdbadmin [Wed, 26 Jun 2002 00:00:20 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Wed, 26 Jun 2002 00:00:18 +0000 (00:00 +0000)]
daily update

22 years ago * include/winbase.h (FILE_FLAG_FIRST_PIPE_INSTANCE): Add constant.
scottc [Tue, 25 Jun 2002 21:16:46 +0000 (21:16 +0000)]
* include/winbase.h (FILE_FLAG_FIRST_PIPE_INSTANCE): Add constant.

22 years ago2002-06-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
dannysmith [Tue, 25 Jun 2002 21:05:18 +0000 (21:05 +0000)]
2002-06-26  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/winbase.h (WINBASEAPI): Don't define if prior
definition.

* include/winioctl.h (PARTITION_FAT32, PARTITION_FAT32_XINT13,
PARTITION_XINT13, PARTITION_XINT13_EXTENDED, PARTITION_LDM,
PARTITION_UNIX): Add defines.
(PDRIVE_LAYOUT_INFORMATION): Add typedef.
(IsRecognizedPartition): Also check for PARTITION_FAT32,
PARTITION_FAT32_XINT13 and PARTITION_XINT13.
(IsContainerPartition): Add macro.

22 years agoCheck unit->addr_size to read in the proper number of prologue bytes.
nickc [Tue, 25 Jun 2002 19:09:59 +0000 (19:09 +0000)]
Check unit->addr_size to read in the proper number of prologue bytes.

22 years ago* infrun.c (stop_registers): Change variable's type to ``struct
cagney [Tue, 25 Jun 2002 18:38:56 +0000 (18:38 +0000)]
* infrun.c (stop_registers): Change variable's type to ``struct
regcache'''.
(xmalloc_inferior_status): Delete function.
(free_inferior_status): Delete function.
(normal_stop): Use regcache_cpy.
(struct inferior_status): Change type of fields ``stop_registers''
and ``registers'' to ``struct regcache''.
(write_inferior_status_register): Use regcache_write.
(save_inferior_status): Instead of calling
xmalloc_inferior_status, allocate the inf_status buffer directly.
Use regcache_dup_no_passthrough and regcache_dup to save the
buffers.
(restore_inferior_status): Use regcache_xfree and regcache_cpy.
Replace the stop_registers regcache instead of overriding it.  Use
regcache_xfree.  Instead of calling free_inferior_status, xfree
the buffer directly.
(discard_inferior_status): Use regcache_xfree.  Instead of calling
free_inferior_status, xfree the buffer directly.
(build_infrun): Use regcache_xmalloc.
(_initialize_infrun): Delete redundant call to build_infrun.
* Makefile.in (infcmd.o): Add $(regcache_h).
* infcmd.c: Include "regcache.h".
(run_stack_dummy): Use deprecated_grub_regcache_for_registers to
obtain the address of `stop_registers' register buffer.
(print_return_value): Ditto.
* inferior.h (struct regcache): Add opaque declaration.
(stop_registers): Change variable's declared type to ``struct
regcache''.

22 years ago2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 25 Jun 2002 18:17:25 +0000 (18:17 +0000)]
2002-06-25  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/Makefile.am: Consolidate additional items under
        ADD_OBJS.
        * libc/sys/linux/Makefile.in: Regenerated.

22 years ago2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 25 Jun 2002 18:05:30 +0000 (18:05 +0000)]
2002-06-25  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/sethostname.c: New file.
        * libc/sys/linux/Makefile.am: Add sethostname.c support.
        * libc/sys/linux/Makefile.in: Regenerated.

22 years agofixup position of #ifdef BFD64 for powerpc delta recently applied.
nickc [Tue, 25 Jun 2002 17:29:53 +0000 (17:29 +0000)]
fixup position of #ifdef BFD64 for powerpc delta recently applied.

22 years ago* typo fix.
bje [Tue, 25 Jun 2002 17:21:09 +0000 (17:21 +0000)]
* typo fix.

22 years ago2002-06-25 J"orn Rennecke <joern.rennecke@superh.com>
bje [Tue, 25 Jun 2002 17:17:44 +0000 (17:17 +0000)]
2002-06-25  J"orn Rennecke <joern.rennecke@superh.com>

* cpu/sh64-compact.cpu (movw5): Use Correct operand field for reg.
* cpu/sh64-media.cpu (-ldhi-byte, -ldhi-word, -ldhi-long): New macros.
(-ldlo-byte, -ldlo-word, -ldlo-long): Likewise.
(-sthi-word, -sthi-long -stlo-byte, -stlo-word, -stlo-long): Likewise.
(ldhil, ldhiq, ldlol, ldloq, stlol, stloq): Implement.
(mshfhib, mshfhil, mshfhiw, mshflob, mshflol, mshflow): Fix indices.
(-sthi-byte): If there is a single byte to store, store it at
proper address.
(sthil, sthiq): Fix big-endian behaviour.
(mcnvslw, mcnvswb, mcnvswub, mmacfxwl, mmacnfx.wl): Fix indices.
(mmulfxl, mmulfxw, mmulfxrpw, mmulhiwl, mmullowl): Likewise.
(saturate): Use Dimode to check if saturation operation is required.
(usaturate): Likewise.
(mpermw): Fix mask.
(-maddsl, -maddsub): Compute to-be-saturated value in wider mode.
(-maddsw, mmacfxwl, mmacnfx.wl, -mshaldsl, -mshaldsw): Likewise.
(-mshardl, -mshardw, -msubsl, -msubsub, -msubsw): Likewise.
(msadubq): Fix subword index in second operand of first subtraction.

22 years agoOnly create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.
nickc [Tue, 25 Jun 2002 10:05:05 +0000 (10:05 +0000)]
Only create a selvecs for aix5coff64_vec if 64-bit bfd support has been enabled.

22 years ago * elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy.
amodra [Tue, 25 Jun 2002 09:40:42 +0000 (09:40 +0000)]
* elf64-ppc.c (ppc_add_stub): Replace strcpy/strncpy with memcpy.
* elf32-hppa.c (hppa_add_stub): Likewise.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise.
* elflink.h (elf_add_default_symbol): Fix comment typo.
(elf_add_default_symbol): Replace strcpy and strncpy with memcpy.
(elf_link_add_object_symbols): Likewise.
(elf_link_assign_sym_version): Likewise.
* hash.c (bfd_hash_lookup): Likewise.
* linker.c (_bfd_generic_link_add_one_symbol): Likewise.
* section.c (bfd_get_unique_section_name): Likewise.
* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
* elf.c (_bfd_elf_make_section_from_phdr): Likewise.
(assign_section_numbers): Likewise.
(_bfd_elfcore_make_pseudosection): Likewise.
(elfcore_grok_lwpstatus): Likewise.
(elfcore_grok_win32pstatus): Likewise.
(elfcore_write_note): Constify input params.  Use PTR instead of
void *.  Include terminating NUL in namesz.  Correct padding.
Support NULL "name" param.  Use memcpy instead of strcpy.
(elfcore_write_prpsinfo): Constify input params.
(elfcore_write_prstatus): Likewise.  Use PTR instead of void *.
(elfcore_write_lwpstatus): Likewise.
(elfcore_write_pstatus): Likewise.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_prxfpreg): Likewise.
* elf-bfd.h (elfcore_write_note): Update declaration.
(elfcore_write_prpsinfo): Likewise.
(elfcore_write_prstatus): Likewise.
(elfcore_write_pstatus): Likewise.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_prxfpreg): Likewise.
(elfcore_write_lwpstatus): Likewise.

22 years agoSet BSF_FUNCTION for symbols of type stProc and stStaticProc.
nickc [Tue, 25 Jun 2002 08:47:28 +0000 (08:47 +0000)]
Set BSF_FUNCTION for symbols of type stProc and stStaticProc.
Formatting tidy ups.

22 years ago * syscalls.cc (chown): Convert uid to 32 bit.
corinna [Tue, 25 Jun 2002 08:06:29 +0000 (08:06 +0000)]
* syscalls.cc (chown): Convert uid to 32 bit.
(lchown): Ditto.
(fchown): Ditto.

22 years ago * coff-rs6000.c (xcoff_generate_rtinit): Fix typo.
amodra [Tue, 25 Jun 2002 07:40:48 +0000 (07:40 +0000)]
* coff-rs6000.c (xcoff_generate_rtinit): Fix typo.

22 years ago2002-06-25 Don Howard <dhoward@redhat.com>
dhoward [Tue, 25 Jun 2002 07:23:29 +0000 (07:23 +0000)]
2002-06-25  Don Howard  <dhoward@redhat.com>

       * gdb.texinfo (Memory Region Attributes): Document new behavior
       for 'mem' command.

22 years ago * aout-adobe.c: Don't compare against "true" or "false.
amodra [Tue, 25 Jun 2002 06:21:46 +0000 (06:21 +0000)]
* aout-adobe.c: Don't compare against "true" or "false.
* aout-target.h: Likewise.
* aoutx.h: Likewise.
* archive.c: Likewise.
* bout.c: Likewise.
* cache.c: Likewise.
* coff-a29k.c: Likewise.
* coff-alpha.c: Likewise.
* coff-i386.c: Likewise.
* coff-mips.c: Likewise.
* coff-or32.c: Likewise.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* coffgen.c: Likewise.
* cpu-ns32k.c: Likewise.
* ecoff.c: Likewise.
* ecofflink.c: Likewise.
* elf.c: Likewise.
* elf32-arm.h: Likewise.
* elf32-cris.c: Likewise.
* elf32-d30v.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-mcore.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-sh64.c: Likewise.
* elf32-v850.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-sh64.c: Likewise.
* elfcode.h: Likewise.
* elfcore.h: Likewise.
* elflink.h: Likewise.
* elfxx-mips.c: Likewise.
* i386os9k.c: Likewise.
* ieee.c: Likewise.
* libbfd.c: Likewise.
* linker.c: Likewise.
* mmo.c: Likewise.
* nlm32-alpha.c: Likewise.
* nlm32-i386.c: Likewise.
* nlm32-ppc.c: Likewise.
* nlm32-sparc.c: Likewise.
* nlmcode.h: Likewise.
* oasys.c: Likewise.
* pdp11.c: Likewise.
* peicode.h: Likewise.
* reloc.c: Likewise.
* som.c: Likewise.
* srec.c: Likewise.
* tekhex.c: Likewise.
* vms.c: Likewise.
* xcofflink.c: Likewise.
* elf64-sparc.c: Edit comment to not use "== false".

* aoutf1.h: Don't use "? true : false".
* ecoff.c: Likewise.
* format.c: Likewise.
* ieee.c: Likewise.
* linker.c: Likewise.
* mmo.c: Likewise.
* oasys.c: Likewise.

22 years ago * cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
tromey [Tue, 25 Jun 2002 05:39:16 +0000 (05:39 +0000)]
* cli/cli-decode.c (add_show_from_set): Fixed typo in comment.
* target.c (initialize_targets): Fixed typo in
trust-readonly-sections `show' documentation.

22 years ago * main.c: Marked all strings with _().
tromey [Tue, 25 Jun 2002 05:35:16 +0000 (05:35 +0000)]
* main.c: Marked all strings with _().

22 years ago2002-06-25 Ken Fitlike <kenfitlike@hotmail.com>
dannysmith [Tue, 25 Jun 2002 03:26:20 +0000 (03:26 +0000)]
2002-06-25  Ken Fitlike  <kenfitlike@hotmail.com>

* include/commctrl.h: (CBEIF_*): Add defines.
(CBEN_*): Add defines and UNICODE mappings
(WC_COMBOBOXEX[AW]): Add defines and UNICODE mappings.
(CBEMAXSTRLEN): Add define.
(COMBOBOXEXITEM[AW]): Add structures and typedefs.
(NMCOMBOBOXEX[AW]): Add structures and typedefs.
(NMCBEDRAGBEGIN[AW]): Add structure and typedefs.
(NMCBEENDEDIT[AW]): Add structure and typedefs.

22 years agoUpdate from Joshua Daniel Franklin
cgf [Tue, 25 Jun 2002 01:16:23 +0000 (01:16 +0000)]
Update from Joshua Daniel Franklin

22 years agomerge from gcc
dj [Tue, 25 Jun 2002 01:03:51 +0000 (01:03 +0000)]
merge from gcc

22 years agodaily update
amodra [Tue, 25 Jun 2002 00:11:06 +0000 (00:11 +0000)]
daily update

22 years agoFix typo in latest change to libc/machine/sh - new file should be strlen.S.
jjohnstn [Tue, 25 Jun 2002 00:02:32 +0000 (00:02 +0000)]
Fix typo in latest change to libc/machine/sh - new file should be strlen.S.

22 years ago*** empty log message ***
gdbadmin [Tue, 25 Jun 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * libc/search/db_local.h: New file.
fitzsim [Mon, 24 Jun 2002 23:05:06 +0000 (23:05 +0000)]
* libc/search/db_local.h: New file.
* libc/include/db.h: Remove.
* libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
* libc/search/hash.c (MIN,MAX): Add macros.  Change <db.h> to
"db_local.h".
* libc/search/hash_bigkey.c: Likewise.
* libc/search/hash_buf.c: Likewise.
* libc/search/hash_func.c: Likewise.
* libc/search/hash_log2.c: Likewise.
* libc/search/hash_page.c: Likewise.

22 years ago2002-06-24 Don Howard <dhoward@redhat.com>
dhoward [Mon, 24 Jun 2002 22:08:27 +0000 (22:08 +0000)]
2002-06-24  Don Howard  <dhoward@redhat.com>

        * memattr.c (create_mem_region): Treat hi == 0 as a special case
        that means max CORE_ADDR+1.
        (lookup_mem_region): Ditto.
        (mem_info_command): Ditto.

22 years ago2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 24 Jun 2002 21:46:05 +0000 (21:46 +0000)]
2002-06-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/gethostname.c: Change name to __gethostname and
        add gethostname alias.

22 years ago* dtable.cc (dtable::find_unused_handle): Avoid coercion.
cgf [Mon, 24 Jun 2002 21:14:04 +0000 (21:14 +0000)]
* dtable.cc (dtable::find_unused_handle): Avoid coercion.

22 years ago * libc/machine/sh/strcpy.S: New file.
amylaar [Mon, 24 Jun 2002 20:30:06 +0000 (20:30 +0000)]
* libc/machine/sh/strcpy.S: New file.
* libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
* libc/machine/sh/Makefile.am: Regenerate.

22 years agoFix typos.
jjohnstn [Mon, 24 Jun 2002 20:09:40 +0000 (20:09 +0000)]
Fix typos.

22 years ago* dtable.cc (fhandler_base::dup2): Cleanup. Ensure that lock is turned off in
cgf [Mon, 24 Jun 2002 20:05:50 +0000 (20:05 +0000)]
* dtable.cc (fhandler_base::dup2): Cleanup.  Ensure that lock is turned off in
error condition.

22 years ago2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 24 Jun 2002 20:03:34 +0000 (20:03 +0000)]
2002-06-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h: Remove <sys/types.h>.
        (__dmath): Use __ULong instead of _uint32_t.
        * libc/include/sys/reent.h: If long or int is not 32-bits,
        include <sys/types.h> to get definitions for _int32_t and _uint32_t.
        * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
        * libm/common/fdlibm.h: Ditto.

22 years ago * config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove.
graces [Mon, 24 Jun 2002 17:48:41 +0000 (17:48 +0000)]
* config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove.
(REGISTER_BYTES_OK): Remove.
(REGISTER_BYTES): Remove.
(STORE_STRUCT_RETURN): Remove.
(DEPRECATED_EXTRACT_RETURN_VALUE): Remove.
(STORE_RETURN_VALUE): Remove.
(DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove.
(FRAME_CHAIN): Remove.
(FRAMELESS_FUNCTION_INVOCATION): Remove.
(FRAME_SAVED_PC): Remove.
* m68k-tdep.c (m68k_register_bytes_ok):Add.
(m68k_store_struct_return): Add.
(m68k_deprecated_extract_return_value): Add.
(m68k_deprecated_extract_struct_value_address): Add.
(m68k_store_return_value): Add.
(m68k_frame_chain): Add.
(m68k_frameless_function_invocation): Add.
(m68k_frame_saved_pc): Add.
(m68k_gdbarch_init): added set_gdbarch calls for new
functions and deleted macros.

22 years ago2002-06-24 Ben Elliston <bje@redhat.com>
bje [Mon, 24 Jun 2002 17:41:28 +0000 (17:41 +0000)]
2002-06-24  Ben Elliston  <bje@redhat.com>

* configure.in (host_tools): Remove cgen.

* Makefile.in (all-cgen): Remove; runs from its source directory.
(check-cgen, install-cgen, clean-cgen): Likewise.
(all-opcodes): No not depend on all-cgen.
(all-sim): Likewise.

22 years agomerge from gcc
dj [Mon, 24 Jun 2002 17:39:28 +0000 (17:39 +0000)]
merge from gcc

22 years ago * libc/include/ndbm.h: Remove.
fitzsim [Mon, 24 Jun 2002 17:35:34 +0000 (17:35 +0000)]
* libc/include/ndbm.h: Remove.
* libc/search/ndbm.c: Remove.

22 years ago2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
fitzsim [Mon, 24 Jun 2002 15:59:36 +0000 (15:59 +0000)]
2002-06-24  WATANABE Hirofumi <eban@os.rim.or.jp>

* libc/stdio/fseek.c (fseek): Fix braces.

22 years ago * uinfo.cc (internal_getlogin): Set myself->uid and myself->gid instead
corinna [Mon, 24 Jun 2002 15:40:56 +0000 (15:40 +0000)]
* uinfo.cc (internal_getlogin): Set myself->uid and myself->gid instead
of user.real_uid and user.real_gid.
(uinfo_init): Evaluate orig_uid and real_uid from myself->uid.  Ditto
for gid.

22 years ago2002-06-24 Richard Sandiford <rsandifo@redhat.com>
ezannoni [Mon, 24 Jun 2002 13:26:07 +0000 (13:26 +0000)]
2002-06-24  Richard Sandiford  <rsandifo@redhat.com>

        * sh64.c: Update path of "callback.h".

2002-06-20  Elena Zannoni  <ezannoni@redhat.com>

        * sh64.c: Include correct file for register numbers.

22 years ago* security.cc (get_group_sidlist): Add pw argument and use pw->pw_name in call
cgf [Mon, 24 Jun 2002 13:01:49 +0000 (13:01 +0000)]
* security.cc (get_group_sidlist): Add pw argument and use pw->pw_name in call
to get_supplementary_group_sidlist.
(create_token): Add pw argument and use it in call to get_group_sidlist.
* security.h: Add pw argument in declaration of create_token.
* syscalls.cc (seteuid32): Add pw argument in call to create_token.

22 years ago * ntsec.sgml: Clean up text for examples of /etc/passwd and /etc/group.
corinna [Mon, 24 Jun 2002 09:30:02 +0000 (09:30 +0000)]
* ntsec.sgml: Clean up text for examples of /etc/passwd and /etc/group.
Add examples with SIDs.  Warn about changing them crudely.

22 years ago * include/objidl.h (struct tagPROPVARIANT): Kill obsolete
dannysmith [Mon, 24 Jun 2002 04:51:32 +0000 (04:51 +0000)]
* include/objidl.h (struct tagPROPVARIANT): Kill obsolete
union member _VARIANT_BOOL bool.

22 years ago * Makefile.in (HFILES_NO_SRCDIR): Remove old files.
tromey [Mon, 24 Jun 2002 04:47:07 +0000 (04:47 +0000)]
* Makefile.in (HFILES_NO_SRCDIR): Remove old files.
(ALLDEPFILES): Likewise.
(udiheaders): Removed.
(udip2soc.o): Likewise.
(udi2go32.o): Likewise.
(udr.o): Likewise.
(HFILES_WITH_SRCDIR): Don't mention udiheaders.

22 years ago* include/winioctl.h (FILE_SPECIAL_ACCESS): Add define.
dannysmith [Mon, 24 Jun 2002 02:49:44 +0000 (02:49 +0000)]
* include/winioctl.h (FILE_SPECIAL_ACCESS): Add define.