OSDN Git Service
corinna [Wed, 3 Dec 2003 11:22:49 +0000 (11:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::lock): Use UINT32_MAX
instead of 0xffffffff. Accomodate Win 9x bug in evaluating length
of area to lock when given length is 0.
nickc [Wed, 3 Dec 2003 10:48:52 +0000 (10:48 +0000)]
Add "msp" to list of expected architectures.
nickc [Wed, 3 Dec 2003 10:44:48 +0000 (10:44 +0000)]
(HEAP_SECTION_MSP430): New section for forthcoming devices.
(_etext): provide this defenition for all scripts.
corinna [Wed, 3 Dec 2003 09:58:23 +0000 (09:58 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::lock): Interchange
values of off_low and off_high.
corinna [Wed, 3 Dec 2003 09:55:41 +0000 (09:55 +0000)]
* fcntl.cc (fcntl_worker): Remove static storage class.
* flock.cc (flock): Use struct __flock64. Call fcntl_worker.
Use Cygwin errno functions instead of accessing errno directly.
* winsup.h: Declare fcntl_worker.
corinna [Wed, 3 Dec 2003 09:16:37 +0000 (09:16 +0000)]
* fcntl.cc (_fcntl): Whitespace cleanup.
cgf [Wed, 3 Dec 2003 05:21:54 +0000 (05:21 +0000)]
* cygthread.cc (cygthread::stub): Properly establish _threadinfo environment.
(cygthread::stub2): New function.
(cygthread::simplestub): Ditto.
(cygthread::simplestub2): New function.
* cygthread.h (cygthread::stub2): Declare new function.
(cygthread::simplestub2): Ditto.
* cygtls.h (_threadinfo::call): Declare new function.
(_threadinfo::call2): Ditto.
* dcrt0.cc (dll_crt0_1): Accommodate new _threadinfo::init which doesn't return
pointer to tls.
(_dll_crt0): Remove obsolete DECLARE_TLS_STORAGE.
(dll_crt0): Ditto.
* exceptions.cc (_threadinfo::call): New function.
(_threadinfo::call2): Ditto.
(_threadinfo::init): Don't return pointer.
* thread.cc (pthread::thread_init_wrapper): Properly establish _threadinfo
environment.
(pthread::thread_init_wrapper2): New function.
* thread.h (pthread::thread_init_wrapper): Remove noreturn attribute
(pthread::thread_init_wrapper2): Declare new function.
* winbase.h: Remove obsolete code.
kevinb [Wed, 3 Dec 2003 04:50:31 +0000 (04:50 +0000)]
* frv-tdep.c (frv_gdbarch_init): Add case for fr550.
kazu [Wed, 3 Dec 2003 03:39:58 +0000 (03:39 +0000)]
* messages.c: Convert to ISO-C.
* obj.h: Likewise.
* output-file.c: Likewise.
* output-file.h: Likewise.
* sb.c: Likewise.
* sb.h: Likewise.
* stabs.c: Likewise.
* subsegs.c: Likewise.
* subsegs.h: Likewise.
* tc.h: Likewise.
kazu [Wed, 3 Dec 2003 03:25:36 +0000 (03:25 +0000)]
* emultempl/beos.em: Remove ARGSUSED.
kazu [Wed, 3 Dec 2003 03:20:13 +0000 (03:20 +0000)]
* config/obj-elf.c: Remove ARGSUSED.
kazu [Wed, 3 Dec 2003 03:15:14 +0000 (03:15 +0000)]
* alpha-opc.c: Remove ARGSUSED.
* i370-opc.c: Likewise.
* ppc-opc.c: Likewise.
cgf [Wed, 3 Dec 2003 00:21:21 +0000 (00:21 +0000)]
* Makefile.in: Change the way that -f options are appended to CFLAGS, slightly.
gdbadmin [Wed, 3 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Tue, 2 Dec 2003 23:47:27 +0000 (23:47 +0000)]
* fcntl.cc (_fcntl): Silence a compiler warning.
amodra [Tue, 2 Dec 2003 23:00:04 +0000 (23:00 +0000)]
daily update
amodra [Tue, 2 Dec 2003 22:59:59 +0000 (22:59 +0000)]
Rename bfd_link_hash_entry field "next" -> "und_next".
hunt [Tue, 2 Dec 2003 21:30:31 +0000 (21:30 +0000)]
2003-12-02 Martin Hunt <hunt@redhat.com>
* library/combobox.tcl: Merge in latest changes
from Bryan Oakley. Fixes a problem with Solaris
X servers.
chastain [Tue, 2 Dec 2003 17:53:58 +0000 (17:53 +0000)]
2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
to test_compiler_info.
chastain [Tue, 2 Dec 2003 17:03:30 +0000 (17:03 +0000)]
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
from current versions of gdb. Clean up regular expressions.
Delete redundant timeout case.
chastain [Tue, 2 Dec 2003 16:57:15 +0000 (16:57 +0000)]
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
* gdb.objc/nondebug.exp: Match and KFAIL the output that comes
from current versions of gdb. Clean up regular expressions.
Delete redundant timeout case.
drow [Tue, 2 Dec 2003 16:41:38 +0000 (16:41 +0000)]
* dwarf2read.c (dwarf_info_offset, dwarf_abbrev_offset)
(dwarf_line_offset, dwarf_pubnames_offset, dwarf_aranges_offset)
(dwarf_loc_offset, dwarf_macinfo_offset, dwarf_str_offset)
(dwarf_ranges_offset, dwarf_frame_offset, dwarf_eh_frame_offset):
Delete.
(dwarf2_read_section): Remove offset and size arguments. Use
bfd_get_section_size_before_reloc and sectp->filepos.
(dwarf2_has_info): Clear section variables instead of offsets.
(dwarf2_locate_sections): Don't initialize the deleted variables.
(dwarf2_build_psymtabs): Update calls to dwarf2_read_section.
(dwarf2_build_psymtabs_easy): Likewise.
* dwarf2-frame.c (dwarf_frame_offset, dwarf_frame_size)
(dwarf_eh_frame_offset, dwarf_eh_frame_size): Remove extern
declarations.
(dwarf2_read_section): Update prototype.
(dwarf2_build_frame_info): Update calls to dwarf2_read_section.
Use bfd_get_section_size_before_reloc instead of global size
variables.
nickc [Tue, 2 Dec 2003 15:38:46 +0000 (15:38 +0000)]
Update docs to reflect fact the --undefined-symbols==ignore-all is no longer
the default for shared libraries and dynamic executables.
nickc [Tue, 2 Dec 2003 10:49:14 +0000 (10:49 +0000)]
Add alternative defintion of C_WEAKEXT for AIX 5.2
nickc [Tue, 2 Dec 2003 10:49:03 +0000 (10:49 +0000)]
Add Romanian translation for bfd.
amodra [Tue, 2 Dec 2003 08:14:33 +0000 (08:14 +0000)]
make "dep-am"
amodra [Tue, 2 Dec 2003 05:58:36 +0000 (05:58 +0000)]
* bfdlink.h (struct bfd_link_info): Remove mpc860c0 field.
amodra [Tue, 2 Dec 2003 05:58:11 +0000 (05:58 +0000)]
* ldmain.c (main): Remove mpc860c0 code.
* lexsup.c (enum option_values): Delete OPTION_MPC860C0.
(ld_options): Delete mpc860c0 entry.
(parse_args): Likewise.
cgf [Tue, 2 Dec 2003 04:10:56 +0000 (04:10 +0000)]
* pinfo.cc (pinfo::init): Use shared_name to construct the mapname.
cgf [Tue, 2 Dec 2003 01:36:08 +0000 (01:36 +0000)]
white space
gdbadmin [Tue, 2 Dec 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
dj [Mon, 1 Dec 2003 23:54:49 +0000 (23:54 +0000)]
merge from gcc
dj [Mon, 1 Dec 2003 23:54:35 +0000 (23:54 +0000)]
merge from gcc
amodra [Mon, 1 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update
tpfaff [Mon, 1 Dec 2003 22:13:58 +0000 (22:13 +0000)]
Change tab to space in Changelog.
tpfaff [Mon, 1 Dec 2003 22:10:57 +0000 (22:10 +0000)]
* thread.cc (pthread_rwlock::add_reader): Remove mx parameter for
List_insert call.
(pthread::prepare): Ensure race safeness when adding function
pointers to atfork lists by using List_insert.
* thread.h (List_insert): Use InterlockedCompareExchangePointer to
ensure race safeness without using a mutex.
(List_remove): Use InterlockedCompareExchangePointer to
ensure race safeness with List_insert.
(List::insert): Remove mx parameter for List_insert call.
chastain [Mon, 1 Dec 2003 22:09:06 +0000 (22:09 +0000)]
2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/callfuncs.exp (do_function_calls): Replace reference to
gcc_compiled with call to test_compiler_info.
chastain [Mon, 1 Dec 2003 22:03:11 +0000 (22:03 +0000)]
2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
* dwarfread.c: Update documentation on the state of dwarf-1.
cagney [Mon, 1 Dec 2003 21:10:45 +0000 (21:10 +0000)]
2003-12-01 Andrew Cagney <cagney@redhat.com>
Obsolete old MIPS SVr3 and SVr4 systems.
* NEWS: Mention obsoleted systems.
* configure.tgt: Mark mips*-*-sysv4* as obsolete.
* configure.host: Mark mips-dec-*, mips-little-*, mips-sony-*,
mips-*-sysv4*, mips-*-sysv*, mips-*-riscos* and mips-*-mach3* as
obsolete.
* config/mips/decstation.mh: Mark as obsolete.
* config/mips/littlemips.mh: Mark as obsolete.
* config/mips/nm-mips.h: Mark as obsolete.
* config/mips/xm-mips.h: Mark as obsolete.
* config/mips/news-mips.mh: Mark as obsolete.
* config/mips/nm-news-mips.h: Mark as obsolete.
* config/mips/riscos.mh: Mark as obsolete.
* config/mips/nm-riscos.h: Mark as obsolete.
* config/mips/xm-riscos.h: Mark as obsolete.
* config/mips/mipsv4.mt: Mark as obsolete.
* config/mips/tm-mipsv4.h: Mark as obsolete.
* config/mips/xm-mipsv4.h: Mark as obsolete.
nickc [Mon, 1 Dec 2003 18:46:21 +0000 (18:46 +0000)]
Set page_size to 1 instead of 0 in the case file alignment value is zero.
corinna [Mon, 1 Dec 2003 17:33:11 +0000 (17:33 +0000)]
* winsup.api/known_bugs.tcl: Remove fcntl09 and fcntl10. These
tests had a compatibility bug.
* winsup.api/ltp/fcntl09.c: Don't use F_RDLCK | F_WRLCK but only
F_WRLCK to set a write lock.
* winsup.api/ltp/fcntl10.c: Ditto.
corinna [Mon, 1 Dec 2003 17:27:01 +0000 (17:27 +0000)]
* libc/include/sys/fcntl.h: Don't define struct flock when on
Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
corinna [Mon, 1 Dec 2003 17:26:28 +0000 (17:26 +0000)]
* Makefile.in (OBSOLETE_FUNCTIONS): Add fcntl.
(NEW_FUNCTIONS): Add fcntl64.
* cygwin.din: Export fcntl64. Make fcntl being SIGFE.
* fcntl.cc (fcntl_worker): New function.
(fcntl64): New function.
(_fcntl): Call fcntl_worker. Convert 32 bit flock structure into
64 bit flock structure and vice versa.
* fhandler.cc (fhandler_base::lock): Change 2nd parameter to
struct __flock64 *.
* fhandler_disk_file.cc (fhandler_disk_file::lock): Ditto. Rework
to be 64 bit aware.
* fhandler.h: Accomodate above method argument changes.
* include/cygwin/types.h: Add struct __flock32 and __flock64.
Define struct flock according to setting of __CYGWIN_USE_BIG_TYPES__.
* include/cygwin/version.h: Bump API minor number.
corinna [Mon, 1 Dec 2003 15:03:43 +0000 (15:03 +0000)]
* cygheap.cc (cygheap_init): Set cygheap->shared_prefix.
* cygheap.h (struct init_cygheap): Add shared_prefix.
* shared.cc (shared_name): Use cygheap->shared_prefix.
cagney [Mon, 1 Dec 2003 14:53:39 +0000 (14:53 +0000)]
2003-12-01 Andrew Cagney <cagney@redhat.com>
Obsolete old m68k systems.
* configure.host: Mark m68*-sun-*, m68*-sun-sunos4*,
m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*,
m68*-bull*-sysv*, m68*-att-*, m680[01]0-sun-sunos4*, and
m680[01]0-sun-sunos3* as obsolete.
* configure.tgt: Mark m68*-*-lynxos*, m68*-*-sunos3*,
m68*-*-sunos4*, m68*-*-sysv4*, m68000-*-sunos3*, m68000-*-sunos4*,
m68*-bull-sysv*, m68*-att-*, and m68*-motorola-*, as obsolete.
* config/m68k/sun3os4.mh: Mark file obsolete.
* config/m68k/xm-sun3os4.h: Mark file obsolete.
* config/m68k/sun3os3.mh: Mark file obsolete.
* config/m68k/nm-sun3.h: Mark file obsolete.
* config/m68k/xm-sun3.h: Mark file obsolete.
* config/m68k/sun2os4.mh: Mark file obsolete.
* config/m68k/sun2os3.mh: Mark file obsolete.
* config/m68k/nm-sun2.h: Mark file obsolete.
* config/m68k/xm-sun2.h: Mark file obsolete.
* config/m68k/m68kv4.mh: Mark file obsolete.
* config/m68k/nm-sysv4.h: Mark file obsolete.
* config/m68k/xm-m68kv4.h: Mark file obsolete.
* config/m68k/m68klynx.mh: Mark file obsolete.
* config/m68k/nm-m68klynx.h: Mark file obsolete.
* config/m68k/dpx2.mh: Mark file obsolete.
* config/m68k/xm-dpx2.h: Mark file obsolete.
* config/m68k/nm-dpx2.h: Mark file obsolete.
* config/m68k/delta68.mh: Mark file obsolete.
* config/m68k/xm-delta68.h: Mark file obsolete.
* config/m68k/nm-delta68.h: Mark file obsolete.
* config/m68k/3b1.mh: Mark file obsolete.
* config/m68k/xm-3b1.h: Mark file obsolete.
* config/m68k/sun3os4.mt: Mark file obsolete.
* config/m68k/tm-sun3os4.h: Mark file obsolete.
* config/m68k/sun3os3.mt: Mark file obsolete.
* config/m68k/tm-sun3.h: Mark file obsolete.
* config/m68k/sun2os4.mt: Mark file obsolete.
* config/m68k/tm-sun2os4.h: Mark file obsolete.
* config/m68k/sun2os3.mt: Mark file obsolete.
* config/m68k/tm-sun2.h: Mark file obsolete.
* config/m68k/m68kv4.mt: Mark file obsolete.
* config/m68k/tm-m68kv4.h: Mark file obsolete.
* config/m68k/m68klynx.mt: Mark file obsolete.
* config/m68k/tm-m68klynx.h: Mark file obsolete.
* config/m68k/dpx2.mt: Mark file obsolete.
* config/m68k/tm-dpx2.h: Mark file obsolete.
* config/m68k/delta68.mt: Mark file obsolete.
* config/m68k/tm-delta68.h: Mark file obsolete.
* config/m68k/3b1.mt: Mark file obsolete.
* config/m68k/tm-3b1.h: Mark file obsolete.
kkojima [Mon, 1 Dec 2003 12:01:21 +0000 (12:01 +0000)]
* ld-sh/sh64/shmix-1.s: Add align to match data alignment.
* ld-sh/sh64/shmix-3.s: Likewise.
* ld-sh/sh64/mix1.sd: Update.
* ld-sh/sh64/mix1.xd: Likewise.
* ld-sh/sh64/mix1-noexp.sd: Likewise.
* ld-sh/sh64/mix2.sd: Likewise.
* ld-sh/sh64/mix2.xd: Likewise.
* ld-sh/sh64/mix2-noexp.sd: Likewise.
kkojima [Mon, 1 Dec 2003 11:59:12 +0000 (11:59 +0000)]
* gas/sh/basic.exp: Define ASFLAGS appropriately and don't do
dsp test for sh64/sh5 targets.
* gas/sh/sh64/crange1.s: Tidy up to match data alignment.
* gas/sh/sh64/crange1-1.d: Update.
* gas/sh/sh64/crange1-2.d: Likewise.
* gas/sh/sh64/datal32-3.d: Likewise.
* gas/sh/sh64/datal64-3.d: Likewise.
* gas/sh/sh64/localcom-1.d: Likewise.
corinna [Mon, 1 Dec 2003 11:16:19 +0000 (11:16 +0000)]
* shared.cc (shared_name): Take into account the SE_CREATE_GLOBAL_NAME
privilege when building the name string.
(open_shared): Remove the call to OpenFileMapping.
(shared_info::initialize): Move cygheap initialization to ...
(memory_init): ... here. Suppress now useless shared_h variable.
(user_shared_initialize): Make tu a cygpsid.
corinna [Mon, 1 Dec 2003 10:39:16 +0000 (10:39 +0000)]
* include/tzfile.h: Remove duplicate definition of TM_SUNDAY.
* localtime.cc: Point TZDIR to the /usr/share/zoneinfo directory used
by the tzcode package.
dannysmith [Mon, 1 Dec 2003 09:11:42 +0000 (09:11 +0000)]
* include/winnt.h (GetCurrentFiber): Remove duplicate prototype.
(GetFiberData); Likewise.
(GetCurrentFiber): Change volatile to __volatile__.
(GetFiberData); Likewise.
amodra [Mon, 1 Dec 2003 06:56:51 +0000 (06:56 +0000)]
Update for changed section alignment.
kazu [Mon, 1 Dec 2003 06:33:00 +0000 (06:33 +0000)]
* coff-rs6000.c: Remove ARGSUSED and VARARGS.
* coff64-rs6000.c: Likewise.
* coffcode.h: Likewise.
* elf32-vax.c: Likewise.
* hash.c: Likewise.
* hppabsd-core.c: Likewise.
* hpux-core.c: Likewise.
* ihex.c: Likewise.
* netbsd-core.c: Likewise.
* osf-core.c: Likewise.
* pdp11.c: Likewise.
* ptrace-core.c: Likewise.
* sco5-core.c: Likewise.
* section.c: Likewise.
* sunos.c: Likewise.
* trad-core.c: Likewise.
amodra [Mon, 1 Dec 2003 06:28:56 +0000 (06:28 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test
hash table type rather than testing creator flavour.
* emultempl/hppaelf.em (hppaelf_create_output_section_statements):
Only create stub_file bfd if hash table creator is as expected.
(gld${EMULATION_NAME}_finish): Test stub_file.
amodra [Mon, 1 Dec 2003 06:28:23 +0000 (06:28 +0000)]
* elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
* elf.c (_bfd_elf_merge_sections): Adjust to suit.
(_bfd_elf_link_just_syms): Likewise.
(bfd_elf_get_needed_list): Likewise.
(bfd_elf_get_runpath_list): Likewise.
(_bfd_elf_link_hash_copy_indirect): Remove unneeded parens.
* elf32-hppa.c (elf32_hppa_setup_section_lists): Don't check hash tab
creator flavour.
(elf32_hppa_set_gp): Look up output sections rather than using htab.
* elf32-i960.c: Comment fix. Formatting.
* elf32-m32r.c (m32r_elf_add_symbol_hook): Use is_elf_hash_table
rather than testing creator flavour.
* elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise.
* elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise.
* elflink.c (_bfd_elf_link_create_dynamic_sections): Adjust for
is_elf_hash_table change. Remove redundant test.
(bfd_elf_record_link_assignment): Use is_elf_hash_table rather than
testing creator flavour.
(elf_link_record_local_dynamic_symbol): Adjust for is_elf_hash_table.
(_bfd_elf_fix_symbol_flags): Likewise.
(_bfd_elf_adjust_dynamic_symbol): Likewise.
* elflink.h (elf_link_add_object_symbols): Likewise. Remove redundant
checks. Use is_elf_hash_table rather than testing creator flavour.
Use hash_table throughout in place of info->hash.
(elf_add_dynamic_entry): Adjust for is_elf_hash_table change.
(NAME(bfd_elf,size_dynamic_sections)): Likewise. Remove redundant
check.
(elf_bfd_final_link): Adjust for is_elf_hash_table change.
(elf_link_check_versioned_symbol): Use is_elf_hash_table rather than
testing creator flavour.
(elf_gc_sections): Add is_elf_hash_table check.
(elf_gc_common_finalize_got_offsets): Likewise.
(elf_bfd_discard_info): Adjust for is_elf_hash_table change. Remove
redundant check.
* elfxx-ia64.c (elfNN_ia64_relax_section): Use is_elf_hash_table
rather than testing creator flavour.
gdbadmin [Mon, 1 Dec 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
chastain [Sun, 30 Nov 2003 23:13:34 +0000 (23:13 +0000)]
2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/list.exp (test_list_function): Delete unused declaration
of gcc_compiled.
amodra [Sun, 30 Nov 2003 23:00:05 +0000 (23:00 +0000)]
daily update
kazu [Sun, 30 Nov 2003 19:07:11 +0000 (19:07 +0000)]
* symbols.c: Convert to ISO-C.
* symbols.h: Likewise.
kazu [Sun, 30 Nov 2003 18:40:41 +0000 (18:40 +0000)]
* ChangeLog: Fix typos.
* ecoff.c: Fix comment typos.
* ecofflink.c: Likewise.
* format.c: Likewise.
* hp300hpux.c: Likewise.
* i386linux.c: Likewise.
* ieee.c: Likewise.
* m68klinux.c: Likewise.
* mach-o.h: Likewise.
* mipsbsd.c: Likewise.
* oasys.c: Likewise.
* opncls.c: Likewise.
* peXXigen.c: Likewise.
* reloc.c: Likewise.
* reloc16.c: Likewise.
* section.c: Likewise.
* simple.c: Likewise.
* som.c: Likewise.
* som.h: Likewise.
* sparclinux.c: Likewise.
* srec.c: Likewise.
* syms.c: Likewise.
* targets.c: Likewise.
* tekhex.c: Likewise.
* versados.c: Likewise.
* vms-gsd.c: Likewise.
* vms-hdr.c: Likewise.
* vms-misc.c: Likewise.
* xcofflink.c: Likewise.
* xsym.h: Likewise.
* bfd-in2.h: Regenerate.
corinna [Sun, 30 Nov 2003 10:43:04 +0000 (10:43 +0000)]
* flock.cc: Renamed from flock.c.
chastain [Sun, 30 Nov 2003 06:50:49 +0000 (06:50 +0000)]
2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/complex.exp: Replace reference to gcc_compiled with
call to test_compiler_info.
cgf [Sun, 30 Nov 2003 02:21:04 +0000 (02:21 +0000)]
* pinfo.h: Remove global_sigs declaration.
* siginfo.h: Move global_sigs declaration here.
* Makefile.in: Remove duplicate compiler flag.
cgf [Sun, 30 Nov 2003 02:19:44 +0000 (02:19 +0000)]
* exceptions.cc (_threadinfo::pop): Zero *contents* of popped stack location
rather than the actual stack pointer.
gdbadmin [Sun, 30 Nov 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Sat, 29 Nov 2003 23:00:51 +0000 (23:00 +0000)]
* Makefile.in: (DLL_OFILES): Add flock.o.
* cygwin.din: Export flock.
* flock.c: New file.
* include/sys/file.h: Include sys/cdefs.h.
Add function prototype for flock().
Add some comments from BSD's header for further clarity.
(L_SET, L_CURR, L_INCR, L_XTND): Redefine as the macros
SEEK_SET, SEEK_CUR, SEEK_CUR, & SEEK_END respectively.
(LOCK_SH,LOCK_EX,LOCK_NB,LOCK_UN): New macros for flock().
* include/cygwin/version.h: Bump API minor number.
kettenis [Sat, 29 Nov 2003 13:55:17 +0000 (13:55 +0000)]
* gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
it to create the appropriate note.inc.
* gdb.asm/asmsrc1.s: Include "note.inc".
* gdb.asm/netbsd.inc: New file.
* gdb.asm/empty.inc: New file.
chastain [Sat, 29 Nov 2003 06:56:06 +0000 (06:56 +0000)]
2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/constvars.exp: Replace references to gcc_compiled with
calls to test_compiler_info.
ian [Sat, 29 Nov 2003 04:03:22 +0000 (04:03 +0000)]
* cxxfilt.c (usage): Mention new -p/--no-params options.
kettenis [Sat, 29 Nov 2003 00:54:41 +0000 (00:54 +0000)]
* x86-64-tdep.c (MAX_CLASSES): Remove macro.
(x86_64_reg_class): Remove enum.
(merge_classes, classify_argument, examine_argument): Remove
functions.
(INT_REGS, SSE_REGS): Remove macros.
(x86_64_push_arguments): Remove function.
(amd64_push_arguments): New function.
(x86_64_push_dummy_call): Call amd64_push_arguments instead of
x86_64_push_arguments.
cgf [Sat, 29 Nov 2003 00:31:37 +0000 (00:31 +0000)]
* sigproc.cc (no_signals_available): Fix so that non-zero exit state is a true
condition rather than errnoneously only checking other states when exist_state
was zero.
cgf [Sat, 29 Nov 2003 00:26:39 +0000 (00:26 +0000)]
* pinfo.h (_pinfo::getthread2signal): Remove obsolete function.
* cygtls.h (_threadinfo): Define tid more precisely.
(_threadinfo::operator HANDLE): Define.
* exceptions.cc (_threadinfo::interupt_now): Use _threadinfo HANDLE operator to
derive thread handle.
(setup_handler): Ditto.
* sigproc.cc: Reorganize includes.
gdbadmin [Sat, 29 Nov 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 28 Nov 2003 23:00:04 +0000 (23:00 +0000)]
daily update
cgf [Fri, 28 Nov 2003 22:13:57 +0000 (22:13 +0000)]
* pinfo.h (_pinfo::getsig): Remove obsolete function, here and throughout.
* exceptions.cc: Ditto.
* fhandler_termios.cc: Ditto.
* signal.cc: Ditto.
* sigproc.cc: Ditto.
* Makefile.in: Revert previous change which made a cygwin.din newer than a
version.h a warning rather than an error.
cgf [Fri, 28 Nov 2003 21:39:08 +0000 (21:39 +0000)]
* cygwin.din: Re-add inexplicably missing semaphore/msg functions.
cgf [Fri, 28 Nov 2003 21:20:15 +0000 (21:20 +0000)]
* gendevices: Issue error when shilka is missing.
cgf [Fri, 28 Nov 2003 21:05:51 +0000 (21:05 +0000)]
* libc/include/sys/signal.h: Use system specific signal file when building on
cygwin.
cgf [Fri, 28 Nov 2003 21:01:09 +0000 (21:01 +0000)]
* include/cygwin/signal.h: New file.
(also check in tlsoffsets.h, missed by previous checkin)
cgf [Fri, 28 Nov 2003 20:55:57 +0000 (20:55 +0000)]
Eliminate use of sigframe and sigthread throughout.
* Makefile.in (DLL_OFILES): Add sigfe.o. Remove reliance on cygwin.def from
cygwin0.dll dependency since dependence on sigfe.o implies that. Generate def
file on the fly using 'gendef'.
* configure.in: Don't auto-generate cygwin.def.
* configure: Regenerate.
* cygwin.din: Add SIGFE stuff where appropriate.
* dcrt0.cc (dll_crt0_1): Initialize cygwin tls early in process startup. Set
_main_tls to address of the main thread's cygwin tls.
* debug.h: Remove now unneeded WFSO and WFMO declarations.
* exceptions.cc (_last_thread): Define.
(set_thread_state_for_signals): New function.
(reset_thread_exception_for_signals): Ditto.
(init_thread_for_signals): Ditto.
(delete_thread_for_signals): Ditto.
(capture_thread_for_signals): Ditto.
(handle_exceptions): Set return address explicitly for exceptions prior to
calling sig_send.
(interrupt_on_return): Eliminate.
(setup_handler): Add preliminary implementation for dealing with
thread-specific signals by querying _main_tls.
(signal_exit): Use cygthread::main_thread_id instead of mainthread.id.
(call_signal_handler_now): For now, just handle the main thread.
* fork.cc (vfork): Save and restore main _my_tls.
* gendef: New file. Generates def file and sigfe.s file.
* gentls_offsets: New file. Generates offsets for perl to use in sigfe.s.
* how-signals-work.txt: Mention that info is obsolete.
* init.cc (dll_entry): Initialize cygwin tls storage here.
* miscfuncs.cc (low_priority_sleep): Make a C function for easier calling from
asm.
* perthread.h (vfork_save::tls): New element.
* signal.cc (nanosleep): Replace previous use of
sigframe.call_signal_handler_now with straight call to call_signal_handler_now.
(abort): Ditto.
* syscalls.cc (readv): Ditto.
* termios.cc (tcsetattr): Ditto.
* wait.cc (wait4): Ditto.
* sigproc.cc (sig_dispatch_pending): Ditto.
(sig_send): Ditto.
* sigproc.h: Declare call_signal_handler_now.
* thread.cc (pthread::thread_init_wrapper): Initialize cygwin tls. Remove
obsolete and unworking signal stuff.
* thread.h (verifyable_object::sigs): Eliminate.
(verifyable_object::sigmask): Eliminate.
(verifyable_object::sigtodo): Eliminate.
(verifyable_object::exit): Make attribute noreturn.
(verifyable_object::thread_init_wrapper): Ditto.
(pthread_null::exit): Ditto.
* winbase.h (__stackbase): Always define.
* winsup.h (low_priority_sleep): Declare as a "C" function.
* include/cygwin/version.h: Bump API version to reflect sigwait export.
* include/sys/queue.h: Protect SLIST_ENTRY from previous declaration.
* signal.cc (sigwait): Implement.
* select.cc (fhandler_base::ready_for_read): Add debugging output.
* devices.h: Define more device pointers via their storage.
* devices.in: Don't parse things like /dev/inet/tcp, as they really have no
meaning.
* devices.cc: Regenerate.
* gendevices: Set proper protection for output file.
* cygtls.h: New file.
* gendef: New file.
* gentls_offsets: New file.
* tlsoffsets.h: New file. Autogenerated.
* config/i386/longjmp.c: Remove. File subsumed by gendef output.
* config/i386/makefrag: Remove obsolete file.
* fhandler.cc: Remove spurious access_worker declaration.
* spawn.cc (spawnve): Make debugging output more accurate.
* cygwin-gperf: Remove.
* devices.cc: Remove.
cgf [Fri, 28 Nov 2003 20:51:11 +0000 (20:51 +0000)]
* speclib: Use correct EOF marker. Ensure that directory is actually deleted
when running under Windows.
cpg [Fri, 28 Nov 2003 20:12:17 +0000 (20:12 +0000)]
* z8k-dis.c: Convert to ISO C90.
* z8kgen.c: Convert to ISO C90.
(opt): Move long opcode for "ldb rdb,imm8" after short one, now
the short one is created when assembling.
* z8k-opc.h: Regenerate with new z8kgen.c.
cpg [Fri, 28 Nov 2003 20:10:17 +0000 (20:10 +0000)]
* config/tc-z8k.c: Convert to ISO-C.
* config/tc-z8k.h: Likewise.
cgf [Fri, 28 Nov 2003 20:10:07 +0000 (20:10 +0000)]
* speclib: Use correct EOF marker. Ensure that directory is actually deleted
when running under Windows.
cpg [Fri, 28 Nov 2003 20:07:44 +0000 (20:07 +0000)]
* cpu-z8k.c: Convert to ISO C90.
* coff-z8k.c: Likewise.
nickc [Fri, 28 Nov 2003 08:47:06 +0000 (08:47 +0000)]
Fix building for FreeBSD
amodra [Fri, 28 Nov 2003 04:58:41 +0000 (04:58 +0000)]
* Makefile.am (install-exec-local): Remove common term from string
comparison.
* Makefile.in: Regenerate.
* doc/Makefile.am: Don't use $<.
* doc/Makefile.in: Regenerate.
chastain [Fri, 28 Nov 2003 03:31:24 +0000 (03:31 +0000)]
2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
* gdb.base/volatile.exp: Replace references to gcc_compiled with
calls to test_compiler_info.
gdbadmin [Fri, 28 Nov 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Thu, 27 Nov 2003 23:34:18 +0000 (23:34 +0000)]
* lib/Makefile.in: Use make function to locate .mri file to allow building in
directory other than source directory.
kettenis [Thu, 27 Nov 2003 23:33:06 +0000 (23:33 +0000)]
* x86-64-tdep.c (x86_64_frame_cache): Don't bail out if %rbp is
zero. Reorganize code a bit.
cgf [Thu, 27 Nov 2003 23:27:23 +0000 (23:27 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Reorganize to avoid
inappropriate .lnk extensions with munged filenames under managed mode.
amodra [Thu, 27 Nov 2003 23:00:12 +0000 (23:00 +0000)]
daily update
jjohnstn [Thu, 27 Nov 2003 20:54:12 +0000 (20:54 +0000)]
2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdlib.h (_atoi_r): New prototype.
* libc/stdlib/atoi.c (_atoi_r): New reentrant function.
kettenis [Thu, 27 Nov 2003 20:50:41 +0000 (20:50 +0000)]
* dwarf2-frame.c: Fix another comment.
kettenis [Thu, 27 Nov 2003 20:40:51 +0000 (20:40 +0000)]
* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
pattern for the KFAILs.
kettenis [Thu, 27 Nov 2003 20:35:38 +0000 (20:35 +0000)]
* x86-64-tdep.c (RET_INT_REGS, RET_SSE_REGS): Remove defines.
(x86_64_use_struct_convention, x86_64_extract_return_value,
x86_64_store_return_value): Remove.
(amd64_reg_class): New enum.
(amd64_merge_classes, amd64_classify_aggregate, amd64_classify,
amd64_return_value): New functions.
(x86_64_init_abi): Don't set extract_return_value,
store_return_value and use_struct_convention. Set return_value to
amd64_return_value.
* i387-tdep.h (i387_return_value): New prototype.
* i387-tdep.c (i387_return_value): New function.
jjohnstn [Thu, 27 Nov 2003 20:15:46 +0000 (20:15 +0000)]
2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
* libc/stdlib/atol.c (_atol_r): New reentrant function.
* libc/stdlib/atoll.c (_atoll_r): Ditto.
jjohnstn [Thu, 27 Nov 2003 19:47:18 +0000 (19:47 +0000)]
2003-11-27 Artem B. Bityuckiy <mail_lists@mail.ru>
Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdlib.h (lldiv_t): New type.
(atoll, llabs, lldiv): New prototypes.
* libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
* libc/stdlib/stdlib.tex: Ditto.
* libc/stdlib/Makefile.in: Regenerated.
* libc/stdlib/atoll.c: New file.
* libc/stdlib/llabs.c: Ditto.
* libc/stdlib/lldiv.c: Ditto.
jjohnstn [Thu, 27 Nov 2003 19:18:38 +0000 (19:18 +0000)]
2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Add license info for long long routines added to
stdlib.
kazu [Thu, 27 Nov 2003 19:14:41 +0000 (19:14 +0000)]
* read.c: Convert to ISO-C.
* read.h: Likewise.