OSDN Git Service
gdbadmin [Wed, 26 Jun 2002 00:00:20 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 26 Jun 2002 00:00:18 +0000 (00:00 +0000)]
daily update
scottc [Tue, 25 Jun 2002 21:16:46 +0000 (21:16 +0000)]
* include/winbase.h (FILE_FLAG_FIRST_PIPE_INSTANCE): Add constant.
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.
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.
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''.
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.
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.
nickc [Tue, 25 Jun 2002 17:29:53 +0000 (17:29 +0000)]
fixup position of #ifdef BFD64 for powerpc delta recently applied.
bje [Tue, 25 Jun 2002 17:21:09 +0000 (17:21 +0000)]
* typo fix.
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.
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.
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.
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.
corinna [Tue, 25 Jun 2002 08:06:29 +0000 (08:06 +0000)]
* syscalls.cc (chown): Convert uid to 32 bit.
(lchown): Ditto.
(fchown): Ditto.
amodra [Tue, 25 Jun 2002 07:40:48 +0000 (07:40 +0000)]
* coff-rs6000.c (xcoff_generate_rtinit): Fix typo.
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.
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.
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.
tromey [Tue, 25 Jun 2002 05:35:16 +0000 (05:35 +0000)]
* main.c: Marked all strings with _().
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.
cgf [Tue, 25 Jun 2002 01:16:23 +0000 (01:16 +0000)]
Update from Joshua Daniel Franklin
dj [Tue, 25 Jun 2002 01:03:51 +0000 (01:03 +0000)]
merge from gcc
amodra [Tue, 25 Jun 2002 00:11:06 +0000 (00:11 +0000)]
daily update
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.
gdbadmin [Tue, 25 Jun 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
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.
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.
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.
cgf [Mon, 24 Jun 2002 21:14:04 +0000 (21:14 +0000)]
* dtable.cc (dtable::find_unused_handle): Avoid coercion.
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.
jjohnstn [Mon, 24 Jun 2002 20:09:40 +0000 (20:09 +0000)]
Fix typos.
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.
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.
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.
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.
dj [Mon, 24 Jun 2002 17:39:28 +0000 (17:39 +0000)]
merge from gcc
fitzsim [Mon, 24 Jun 2002 17:35:34 +0000 (17:35 +0000)]
* libc/include/ndbm.h: Remove.
* libc/search/ndbm.c: Remove.
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.
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.
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.
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.
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.
dannysmith [Mon, 24 Jun 2002 04:51:32 +0000 (04:51 +0000)]
* include/objidl.h (struct tagPROPVARIANT): Kill obsolete
union member _VARIANT_BOOL bool.
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.
dannysmith [Mon, 24 Jun 2002 02:49:44 +0000 (02:49 +0000)]
* include/winioctl.h (FILE_SPECIAL_ACCESS): Add define.
dannysmith [Mon, 24 Jun 2002 02:46:35 +0000 (02:46 +0000)]
2002-06-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/winnt.h (PCCHAR, FCHAR, FSHORT, FLONG,
PLUID_AND_ATTRIBUTES,PSECURITY_IMPERSONATION_LEVEL,
PSID_AND_ATTRIBUTES, PTOKEN_TYPE, PTOKEN_STATISTICS):
Add typedefs.
(CCHAR): Correct typedef.
(PROCESS_SET_SESSIONID, SECURITY_*,SECTION_MAP_EXECUTE):
Add defines.
* README.w32api: Correct spelling error.
cgf [Mon, 24 Jun 2002 02:23:14 +0000 (02:23 +0000)]
* fhandler.cc (fhandler_base::fstat): Set S_IFIFO for pipes.
* fhandler_socket.cc (fhandler_socket.cc::fstat): Set S_IFSOCK.
cgf [Mon, 24 Jun 2002 02:08:36 +0000 (02:08 +0000)]
* lib/_cygwin_S_IEXEC.cc: Remove obsolete file.
gdbadmin [Mon, 24 Jun 2002 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 24 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update
cgf [Sun, 23 Jun 2002 22:56:56 +0000 (22:56 +0000)]
Use cygwin_{shm,ipc}.h instead of /sys/{shm,ipc}.h throughout.
* sys/ipc.h: Remove.
* sys/shm.h: Remove.
* cygwin_ipc.h: New file.
* cygwin_shm.h: New file.
cgf [Sun, 23 Jun 2002 18:55:22 +0000 (18:55 +0000)]
* cygwin.sc: Add recent changes from ld sources.
* winsup.h: Move #ifdef EXPCGF code into "winbase.h".
* winbase.h: #ifdef EXPCGF code moved here from "winsup.h".
amodra [Sun, 23 Jun 2002 12:44:30 +0000 (12:44 +0000)]
* elflink.h (elf_link_add_archive_symbols): For the default
version, check references with only one `@' first.
amodra [Sun, 23 Jun 2002 09:05:59 +0000 (09:05 +0000)]
* elf64-hppa.c (elf64_hppa_mark_milli_and_exported_functions): New
function.
(allocate_global_data_dlt): Don't add millicode symbols to dynamic
symbol table.
(allocate_global_data_opd, allocate_dynrel_entries): Likewise.
(elf64_hppa_size_dynamic_sections): Revise to use
elf64_hppa_mark_milli_and_exported_functions.
(elf64_hppa_finish_dynamic_symbol): Remove code to keep millicode
symbols out of dynamic symbol table.
rbcollins [Sun, 23 Jun 2002 07:36:20 +0000 (07:36 +0000)]
2002-06-12 Thomas Pfaff <tpfaff@gmx.net>
* thread.h (pthread::cleanup_stack): Renamed cleanup_handlers to
cleanup_stack.
* thread.cc (pthread::pthread): Ditto.
(pthread::create): Fixed mutex verification.
(pthread::push_cleanup_handler): Renamed cleanup_handlers to
cleanup_stack.
Mutex calls removed, used InterlockedExchangePointer instead.
(pthread::pop_cleanup_handler): Renamed cleanup_handlers to
cleanup_stack.
(pthread::pop_all_cleanup_handlers): Ditto.
(__pthread_once): Check state first and return if already done.
(__pthread_join): DEADLOCK test reverted to __pthread_equal
call.
(__pthread_detach): Unlock mutex before deletion.
amodra [Sun, 23 Jun 2002 02:09:02 +0000 (02:09 +0000)]
* Makefile.in: Regenerate.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.
* po/SRC-POTFILES.in: Regenerate.
amodra [Sun, 23 Jun 2002 02:04:27 +0000 (02:04 +0000)]
2002-06-23 Alan Modra <amodra@bigpond.net.au>
* elflink.h: Comment typo fixes.
2002-06-23 H.J. Lu <hjl@gnu.org>
* elf-bfd.h (elf_link_loaded_list): New structure.
(elf_link_hash_table): Add "loaded".
* elf.c (_bfd_elf_link_hash_table_init): Initialize "loaded".
* elflink.h (elf_link_check_versioned_symbol): New function.
(elf_link_output_extsym): Call elf_link_check_versioned_symbol.
gdbadmin [Sun, 23 Jun 2002 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 23 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update
cagney [Sat, 22 Jun 2002 22:19:34 +0000 (22:19 +0000)]
* gdb.base/selftest.exp (do_stes_and_next): Skip calls to
setlocale, bindtextdomain and textdomain.
cagney [Sat, 22 Jun 2002 22:04:30 +0000 (22:04 +0000)]
* infrun.c (_initialize_infrun): Delete unnecessary call to
build_infrun.
cagney [Sat, 22 Jun 2002 21:18:26 +0000 (21:18 +0000)]
* regcache.h: Update comments describing the regcache_cpy family
of functions.
(regcache_save, regcache_restore): Delete declaration.
(regcache_save_no_passthrough): Delete declaration.
(regcache_restore_no_passthrough): Delete declaration.
* regcache.c (regcache_save): Delete function.
(regcache_save_no_passthrough): Delete function.
(regcache_restore): Delete function.
(regcache_restore_no_passthrough): Delete function.
cagney [Sat, 22 Jun 2002 19:10:34 +0000 (19:10 +0000)]
* Makefile.in (INTL_SRC): Define.
(INTL_CFLAGS): Define.
(INTL_DIR): Define.
(STD_CFLAGS): Add INTL_CFLAGS.
dj [Sat, 22 Jun 2002 13:31:20 +0000 (13:31 +0000)]
merge from gcc
cgf [Sat, 22 Jun 2002 02:56:49 +0000 (02:56 +0000)]
* Makefile.in (cygrun.exe): Move -lgcc where it will do some good.
cgf [Sat, 22 Jun 2002 02:50:01 +0000 (02:50 +0000)]
* Makefile.in (cygrun.exe): Use -lgcc when linking.
cagney [Sat, 22 Jun 2002 00:33:53 +0000 (00:33 +0000)]
* config/m68k/tm-m68k.h: Fix typo.
(FRAME_INIT_SAVED_REGS): Define when non-multi-arch.
(m68k_frame_init_saved_regs): Declare.
jimb [Sat, 22 Jun 2002 00:05:56 +0000 (00:05 +0000)]
Remove some vestiges of Harris 88k support.
* dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k
register numbering quirk.
* elfread.c (elf_symtab_read): Remove `#if' block for skipping
odd symbols occurring in Harris 88k ELF targets.
gdbadmin [Sat, 22 Jun 2002 00:00:39 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 22 Jun 2002 00:00:07 +0000 (00:00 +0000)]
daily update
tromey [Fri, 21 Jun 2002 23:48:30 +0000 (23:48 +0000)]
* gdb_locale.h: New file.
* Makefile.in (GDB_CFLAGS): Define LOCALEDIR.
(defs_h): Added gdb_locale.h.
* configure, config.in: Rebuilt.
* configure.in (PACKAGE): Define.
* defs.h: Include gdb_locale.h.
* main.c (captured_main): Call setlocale, bindtextdomain,
dj [Fri, 21 Jun 2002 22:20:17 +0000 (22:20 +0000)]
* configure.in: Fix AIX configury bug.
brolley [Fri, 21 Jun 2002 21:19:51 +0000 (21:19 +0000)]
2002-06-21 Dave Brolley <brolley@redhat.com>
From Stan Shebs, Jim Blandy, Mark Salter, Kevin Buettner:
* config/frv/frv.mt: New file.
* config/frv/tm-frv.h: New file.
* configure.tgt: Support frv-*-*.
* Makefile.in (frv-tdep.o): New target.
* frv-tdep.c: New file.
* NEWS: Mention frv.
brolley [Fri, 21 Jun 2002 21:17:18 +0000 (21:17 +0000)]
2002-06-21 Dave Brolley <brolley@redhat.com>
* MAINTAINERS: Add self to "Write After Approval" list.
graces [Fri, 21 Jun 2002 20:23:24 +0000 (20:23 +0000)]
* config/m68k/tm-m68k.h (REGISTER_BYTE, REGISTER_RAW_SIZE)
(REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE)
(REGISTER_VIRTUAL_TYPE, REGISTER_NAMES, TARGET_LONG_DOUBLE_FORMAT)
(FUNCTION_START_OFFSET, SKIP_PROLOGUE, SAVED_PC_AFTER_CALL)
(INNER_THAN, STACK_ALIGN, REGISTER_SIZE): Remove macros.
* m68k-tdep.c: Include arch-utils.h
(m68k_register_raw_size): Add.
(m68k_register_virtual_size): Add.
(m68k_register_virtual_type): Add.
(m68k_register_name): Add.
(m68k_stack_align): Add.
(m68k_register_byte): Add.
(m68k_gdbarch_init): Add set_gdbarch calls for macros removed in
tm-m68k.h.
corinna [Fri, 21 Jun 2002 20:04:38 +0000 (20:04 +0000)]
* libc/time/strftime.c (strftime): Add %e format specifier.
fitzsim [Fri, 21 Jun 2002 19:09:43 +0000 (19:09 +0000)]
* libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
previously defined.
jjohnstn [Fri, 21 Jun 2002 18:44:07 +0000 (18:44 +0000)]
2002-06-21 Richard Earnshaw (rearnsha@arm.com)
* libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
(BYTE_ORDER): Define as appropriate for the target.
jjohnstn [Fri, 21 Jun 2002 18:40:45 +0000 (18:40 +0000)]
2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
to _ssize_t.
* libc/sys/linux/io.c (read, write): Change to return ssize_t.
jjohnstn [Fri, 21 Jun 2002 18:29:14 +0000 (18:29 +0000)]
2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h (__getline, __getdelim): New prototypes.
* libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
[HAVE_GETDATE](getdate_err): New error code.
* libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
* libc/stdio/Makefile.in: Regenerated.
* libc/stdio/getdelim.c: New file.
* libc/stdio/getline.c: Ditto.
* libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/getdate.c: New file.
* libc/sys/linux/getdate_err.c: Ditto.
* libc/sys/linux/ntp_gettime.c: Ditto.
* libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
* libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
jjohnstn [Fri, 21 Jun 2002 18:15:37 +0000 (18:15 +0000)]
2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
* libc/include/machine/types.h: Skip __off_t, __pid_t, and
__loff_t definitions if special _HAVE_SYSTYPES macro defined.
* libc/include/sys/config.h: Removed _uint*, _int* definitions.
* libc/include/sys/param.h: Remove i386 case which is handled
by default case.
(BIG_ENDIAN, LITTLE_ENDIAN): Protect
definitions in case they are already defined.
(BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
_IEEE_LITTLE_ENDIAN flags.
* libc/include/sys/reent.h: Change __uint32_t references to
use _ULong instead.
(_REENT_GETDATE_REENT_P): New macro.
* libc/include/sys/types.h (__int16_t, __uint16_t): Added.
(__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
* libc/search/hash.h: Add default setting of BYTE_ORDER,
LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
* libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
pid_t, off_t, loff_t, caddr_t, and daddr_t type
definitions which are done by subsequent glibc headers.
Add macro definitions to prevent subsequent header files from
defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
intptr_t to after glibc definitions of types they are based on.
graces [Fri, 21 Jun 2002 15:47:30 +0000 (15:47 +0000)]
Fixed changelog entry. Indented m68k-tdep.c
cgf [Fri, 21 Jun 2002 15:28:06 +0000 (15:28 +0000)]
* what.texinfo: Fix typo.
jjohnstn [Fri, 21 Jun 2002 15:26:45 +0000 (15:26 +0000)]
2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/errno.h: Protect from multiple inclusion.
corinna [Fri, 21 Jun 2002 15:01:18 +0000 (15:01 +0000)]
* syscalls.cc (stat64_to_stat32): Correctly evaluate st_rdev.
(fstat64): Set st_rdev to same value as st_dev.
(stat_worker): Ditto.
graces [Fri, 21 Jun 2002 14:56:10 +0000 (14:56 +0000)]
Replaced frame_find_saved_regs with frame_init_saved_regs. Converted
call dummy macros to multi-arch.
muller [Fri, 21 Jun 2002 14:32:08 +0000 (14:32 +0000)]
2002-06-19 Pierre Muller <muller@ics.u-strasbg.fr>
* parse.c (parse_fprintf): New function used to avoid calls to
fprintf in bison parser generated debug code.
* parser-defs.h: Declaration of new parse_fprintf function.
* ada-exp.y, c-exp.y, f-exp.y, jv-exp.y, m2-exp.y, p-exp.y:
Set YYDEBUG to 1 by default.
Set YYFPRINTF as parse_fprintf.
mludvig [Fri, 21 Jun 2002 13:53:17 +0000 (13:53 +0000)]
* dwarf2cfi.c: Reindented.
corinna [Fri, 21 Jun 2002 12:57:16 +0000 (12:57 +0000)]
* security.cc (alloc_sd): Carefully check owner_sid again after trying
SIDs from cygheap.
corinna [Fri, 21 Jun 2002 12:37:49 +0000 (12:37 +0000)]
* security.cc (alloc_sd): Remove unnecessary retrieval of owner name.
Check uid for current user first and use SIDs from cygheap if so.
Set errno to EINVAL if user SID isn't retrievable. Just print user SID
as debug output.
Don't bail out if group SID isn't retrievable. Change debug output
appropriately.
mludvig [Fri, 21 Jun 2002 12:12:30 +0000 (12:12 +0000)]
2002-06-21 Michal Ludvig <mludvig@suse.cz>
* dwarf2cfi.c (read_encoded_pointer): Don't handle pointer
encoding anymore.
(pointer_encoding, enum ptr_encoding): New.
(execute_cfa_program): Take care about pointer encoding.
(dwarf2_build_frame_info): Only call parse_frame_info for
.debug_frame and .eh_frame.
(parse_frame_info): New, derived from former dwarf2_build_frame_info.
fixed augmentation handling, added relative addressing,
ignore duplicate FDEs. Added comments.
nickc [Fri, 21 Jun 2002 06:58:34 +0000 (06:58 +0000)]
Set correct value for ADP_Stopped_RunTimeError
nickc [Fri, 21 Jun 2002 06:55:34 +0000 (06:55 +0000)]
Set correct value for ADP_Stopped_RunTimeError
cgf [Fri, 21 Jun 2002 05:47:07 +0000 (05:47 +0000)]
* errno.cc: Change text description for EBADF throughout.
cgf [Fri, 21 Jun 2002 05:01:56 +0000 (05:01 +0000)]
remove unneeded white space
cgf [Fri, 21 Jun 2002 05:01:13 +0000 (05:01 +0000)]
* uinfo.cc (cygheap_user::ontherange): Use env_name for NetUserGetInfo.
(cygheap_user::env_logsrv): Verify env_domain is valid.
* environ.cc: Include child_info.h and keep spenvs[] sorted.
(environ_init): Check child_proc_info instead of myself->ppid_handle.
amodra [Fri, 21 Jun 2002 02:41:51 +0000 (02:41 +0000)]
* configure.in: Quote bu_cv_have_fopen64.
* configure: Regenerate.
amodra [Fri, 21 Jun 2002 02:34:36 +0000 (02:34 +0000)]
* configure.in: Check for strcoll.
* configure: Regenerate.
* config.in: Regenerate.
* nm.c (main): Set locale for LC_COLLATE category.
(non_numeric_forward): Use strcoll if available.
ezannoni [Fri, 21 Jun 2002 00:13:52 +0000 (00:13 +0000)]
2002-06-20 Elena Zannoni <ezannoni@redhat.com>
* event-top.c (command_handler): Don't use space_at_cmd_start
unless there is sbrk() on the host. Assign time and space data
to union fields of the appropriate length.