OSDN Git Service
kettenis [Wed, 10 Jul 2002 23:00:56 +0000 (23:00 +0000)]
* gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
function when asleep" test.
cagney [Wed, 10 Jul 2002 22:38:05 +0000 (22:38 +0000)]
* wince.c (_initialize_wince): Rename _initialize_inftarg.
* win32-nat.c (_initialize_win32_nat): Rename _initialize_inftarg.
jjohnstn [Wed, 10 Jul 2002 22:18:31 +0000 (22:18 +0000)]
Fix name typo.
jjohnstn [Wed, 10 Jul 2002 22:15:48 +0000 (22:15 +0000)]
2002-07-10 Florian Shrack <florian.schrack@freenet.de>
* libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
a terminal.
* libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
cagney [Wed, 10 Jul 2002 21:57:55 +0000 (21:57 +0000)]
* gdb.base/page.exp: Rewrite to handle problems with very long
`info set' output. Update copyright.
graces [Wed, 10 Jul 2002 17:34:01 +0000 (17:34 +0000)]
* NEWS: Mention m68k, mcore multi-arching.
* MAINTAINERS: Change status of m68k, mcore to reflect
multi-arching.
drow [Wed, 10 Jul 2002 17:18:16 +0000 (17:18 +0000)]
2002-07-10 Daniel Jacobowitz <drow@mvista.com>
* valops.c (find_overload_match): Free oload_syms.
brobecke [Wed, 10 Jul 2002 16:07:19 +0000 (16:07 +0000)]
* gdb.texinfo (Create a release candiate): Add the location
where the proper version of autoconf can be retrieved.
jakub [Wed, 10 Jul 2002 15:28:34 +0000 (15:28 +0000)]
* readelf.c (get_dynamic_type): Handle DT_GNU_PRELINKED,
DT_GNU_CONFLICT* and DT_GNU_LIBLISZ*.
(get_section_type_name): Handle SHT_GNU_LIBLIST.
(process_dynamic_segment): Handle DT_GNU_CONFLICTSZ,
DT_GNU_LIBLISTSZ and DT_GNU_PRELINKED.
(process_gnu_liblist): New.
(process_file): Call it.
* elf/common.h (SHT_GNU_LIBLIST, DT_GNU_PRELINKED,
DT_GNU_CONFLICT*, DT_GNU_LIBLIST*): Define.
amodra [Wed, 10 Jul 2002 11:46:18 +0000 (11:46 +0000)]
* elf64-ppc.c (ONES): Define.
(ppc64_elf_howto_table): Use ONES here to avoid warnings. Fill in
missing src_mask fields. Tweak R_PPC64_NONE, R_PPC64_COPY. Fill
in missing dst_mask fields on R_PPC64_PLT32, R_PPC64_PLTREL32.
amodra [Wed, 10 Jul 2002 10:28:44 +0000 (10:28 +0000)]
* elf64-ppc.c (ppc64_elf_get_symbol_info): Delete.
(ppc64_elf_set_private_flags): Delete.
(ppc64_elf_section_from_shdr): Delete.
(ppc64_elf_merge_private_bfd_data): Remove flag checking/merging code.
(ppc64_elf_fake_sections): Delete.
(bfd_elf64_bfd_set_private_flags): Don't define.
(bfd_elf64_get_symbol_info): Likewise.
(elf_backend_section_from_shdr): Likewise.
(elf_backend_fake_sections): Likewise.
amodra [Wed, 10 Jul 2002 04:59:42 +0000 (04:59 +0000)]
* elf.c: (assign_section_numbers) Set sh_entsize for .stab only
when not already set.
* elf64-sparc.c: (sparc64_elf_fake_sections): New function.
(elf_backend_fake_sections): Define.
cgf [Wed, 10 Jul 2002 00:30:53 +0000 (00:30 +0000)]
more jdf
dj [Wed, 10 Jul 2002 00:01:54 +0000 (00:01 +0000)]
merge from gcc
gdbadmin [Wed, 10 Jul 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 10 Jul 2002 00:00:04 +0000 (00:00 +0000)]
daily update
amodra [Tue, 9 Jul 2002 23:47:21 +0000 (23:47 +0000)]
* merge.c (_bfd_merge_section): Remove redundant output_section check.
Formatting.
(_bfd_merge_sections): Don't set SEC_EXCLUDE on unused sections.
brobecke [Tue, 9 Jul 2002 22:59:36 +0000 (22:59 +0000)]
Define HAVE_SYS_PROC_H if sys/proc.h exists
* configure.in: Add check for sys/proc.h
* config.in: Regenerate.
* configure: Regenerate.
graces [Tue, 9 Jul 2002 19:48:38 +0000 (19:48 +0000)]
2002-07-09 Grace Sainsbury <graces@redhat.com>
* config/m68k/tm-m68k.h: Remove macros wrapped in
#if !GDB_MULTI_ARCH.
obrien [Tue, 9 Jul 2002 17:38:57 +0000 (17:38 +0000)]
2002-07-09 David O'Brien <obrien@FreeBSD.org>
* gdbserver/gdbreplay.c (stdlib.h, unistd.h): Conditionaly include.
(perror_with_name, remote_close, remote_open, expect, play): Static.
dhoward [Tue, 9 Jul 2002 15:59:18 +0000 (15:59 +0000)]
2002-07-09 Don Howard <dhoward@redhat.com>
* gdb.texinfo (Command Files): Further describe the behavior of
sourced command files.
ths [Tue, 9 Jul 2002 14:21:39 +0000 (14:21 +0000)]
* config/tc-mips.c (macro_build): Handle MIPS16 insns.
(mips_ip): Likewise.
* mips.h (INSN_MIPS16): New define.
* mips-dis.c (mips_isa_type): Add MIPS16 insn handling.
* mips-opc.c (I16): New define.
(mips_builtin_opcodes): Make jalx an I16 insn.
cagney [Tue, 9 Jul 2002 14:17:39 +0000 (14:17 +0000)]
* config.in, configure: Regenerate.
earnie [Tue, 9 Jul 2002 13:24:02 +0000 (13:24 +0000)]
Merge changes from MinGW
earnie [Tue, 9 Jul 2002 13:11:54 +0000 (13:11 +0000)]
* lib/ntdll.def: Remove \r.
amodra [Tue, 9 Jul 2002 09:46:17 +0000 (09:46 +0000)]
* config/tc-i386.c (md_pseudo_table <file>): Warning fix.
(BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
(md_apply_fix3): Formatting. Remove redundant test.
(tc_gen_reloc): Remove redundant code.
(tc_i386_force_relocation): Delete. Movy body of function to..
* config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
rsandifo [Tue, 9 Jul 2002 08:47:23 +0000 (08:47 +0000)]
* ld-scripts/dynamic-sections*: New test.
amodra [Tue, 9 Jul 2002 08:13:05 +0000 (08:13 +0000)]
* emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file.
amodra [Tue, 9 Jul 2002 07:49:49 +0000 (07:49 +0000)]
oops, forgot to commit.
cgf [Tue, 9 Jul 2002 04:37:13 +0000 (04:37 +0000)]
* debug.cc: Avoid explicit zeroing of globals.
(lock_debug): Make locker a static member. Avoid unlocking when already
unlocked (from Conrad Scott).
(debug_init): Initialize lock_debug::locker here.
* fork.cc (fork_child): Fix up fdtab earlier to avoid some (but not all)
confusion with close-on-exec craziness.
cgf [Tue, 9 Jul 2002 04:27:47 +0000 (04:27 +0000)]
More jdf changes.
hp [Tue, 9 Jul 2002 03:49:27 +0000 (03:49 +0000)]
* elf32-cris.c (cris_elf_relocate_section): Move sanity-check for
NULL sym_hashes to just before use.
<case R_CRIS_32_GOTREL>: In test for local symbol, accept also
symbol with non-default visibility.
<case R_CRIS_32_GOTREL, case R_CRIS_32_PLT_GOTREL>: Ditto.
<case R_CRIS_8_PCREL, case R_CRIS_16_PCREL, case R_CRIS_32_PCREL>:
Ditto.
(cris_elf_gc_sweep_hook): Only decrease h->plt.refcount for
symbol with non-default visibility.
(cris_elf_check_relocs): At tests for local symbol before
increasing h->plt.refcount, also check for non-default
visibility. Ditto when checking for local symbol to eliminate
pc-relative runtime relocs.
hp [Tue, 9 Jul 2002 03:46:48 +0000 (03:46 +0000)]
* ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s,
ld-cris/noglob1.d: New tests.
amodra [Tue, 9 Jul 2002 02:42:13 +0000 (02:42 +0000)]
* configure.tgt: Add hppaobsd.o.
* Makefile.am: Add support for alpha-*-openbsd*, hppa-*-openbsd*,
powerpc-*-openbsd* and sparc64-*-openbsd*.
* Makefile.in: Regenerate.
* emulparams/hppaobsd.sh: New file.
hp [Tue, 9 Jul 2002 02:41:15 +0000 (02:41 +0000)]
Fix typo last change
amodra [Tue, 9 Jul 2002 02:41:15 +0000 (02:41 +0000)]
* configure.in: Add hppa-*-openbsd* target, change
alpha*-*-openbsd* format to elf, and use elf for sparc-*-openbsd*
with sparc64 cpu.
* configure: Regenerate.
dj [Tue, 9 Jul 2002 01:01:18 +0000 (01:01 +0000)]
merge from gcc
hp [Tue, 9 Jul 2002 00:49:59 +0000 (00:49 +0000)]
* ld-cris/libdso-1.d: Tweak for change in size of dynamic sections.
macro [Tue, 9 Jul 2002 00:42:55 +0000 (00:42 +0000)]
* config/tc-mips.c (macro): Shift the 32-bit address range
accessible with a lone "lui" down by 32768.
gdbadmin [Tue, 9 Jul 2002 00:00:08 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 9 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update
macro [Mon, 8 Jul 2002 22:42:07 +0000 (22:42 +0000)]
* config/tc-mips.c (load_address): Use non-trapping "daddu"
instead of "dadd" in address calculations.
(macro): Likewise.
dj [Mon, 8 Jul 2002 22:18:40 +0000 (22:18 +0000)]
* configure.in: Don't build grez.
* Makefile.in: Ditto.
kettenis [Mon, 8 Jul 2002 20:53:44 +0000 (20:53 +0000)]
* dwarf2cfi.c: Include "gcore.h".
(execute_stack_op): Fix implementation of the
DW_OP_deref and DW_OP_deref_size operators by letting do their
lookup in the target.
dj [Mon, 8 Jul 2002 20:43:20 +0000 (20:43 +0000)]
* Makefile.in: Remove references to bsp, cygmon, libstub.
* configure.in: Ditto.
* configure.in: Remove leftover reference to gdbtest.
jjohnstn [Mon, 8 Jul 2002 18:05:57 +0000 (18:05 +0000)]
2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/math.h (MAXFLOAT): Added.
dj [Mon, 8 Jul 2002 17:14:04 +0000 (17:14 +0000)]
* configure.in (gxx_include_dir): Change to match versioned
C++ headers if --enable-version-specific-runtime-libs is used.
cgf [Mon, 8 Jul 2002 16:30:01 +0000 (16:30 +0000)]
Joshua Daniel Franklin update.
amylaar [Mon, 8 Jul 2002 12:56:31 +0000 (12:56 +0000)]
Some small speedups.
amodra [Mon, 8 Jul 2002 10:40:35 +0000 (10:40 +0000)]
* gas/i386/intel16.s: New.
* gas/i386/intel16.d: New.
* gas/i386/i386.exp: Run it.
amodra [Mon, 8 Jul 2002 10:03:09 +0000 (10:03 +0000)]
gas/ChangeLog
* config/tc-i386.c (process_suffix): Remove intel mode movsx and
movzx fudges.
(md_assemble): Instead, zap the suffix here.
include/opcode/ChangeLog
* i386.h: Remove IgnoreSize from movsx and movzx.
amodra [Mon, 8 Jul 2002 08:13:37 +0000 (08:13 +0000)]
* elf.c: Formatting.
(IS_SOLARIS_PT_INTERP): Add p_paddr and p_memsz checks.
(INCLUDE_SECTION_IN_SEGMENT): Remove IS_SOLARIS_PT_INTERP.
(copy_private_bfd_data): Set p_vaddr on broken Solaris PT_INTERP
segments.
mmitchel [Mon, 8 Jul 2002 05:34:05 +0000 (05:34 +0000)]
* cofflink.c (_bfd_coff_final_link): On PE COFF systems, take into
account the impact of relocation count overflow when computing
section offsets.
* coffcode.h (coff_write_relocs): Use obj_pe when deciding whether
or not to apply the PE COFF reloc overflow handling. Fix a
fencepost error in deciding whether or not to use that technique.
amodra [Mon, 8 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 8 Jul 2002 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
kettenis [Sun, 7 Jul 2002 21:31:06 +0000 (21:31 +0000)]
From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>:
* i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for
tdep->sc_sp_offset.
amodra [Sun, 7 Jul 2002 09:10:38 +0000 (09:10 +0000)]
* elf-bfd.h (struct elf_reloc_cookie): Remove locsym_shndx,
change type of locsyms.
(bfd_elf_get_elf_syms): Declare.
* elf.c (bfd_elf_get_elf_syms): New function.
(group_signature): Use bfd_elf_get_elf_syms.
(bfd_section_from_r_symndx): Likewise.
* elfcode.h (elf_slurp_symbol_table): Likewise.
* elflink.h (elf_link_is_defined_archive_symbol): Likewise.
(elf_link_add_object_symbols): Likewise. Reorganise to increase
locality of various data structures. Properly free internal relocs.
(elf_bfd_final_link): Properly free internal relocs.
(elf_link_check_versioned_symbol): Use bfd_elf_get_elf_syms.
(elf_link_input_bfd): Likewise.
(elf_gc_mark): Likewise. Properly free internal relocs.
(elf_gc_sweep): Properly free internal relocs.
(elf_reloc_symbol_deleted_p): No need to swap syms in.
(elf_bfd_discard_info): Use bfd_elf_get_elf_syms. Properly free
internal relocs.
* elf-m10200.c (mn10200_elf_relax_section): Use bfd_elf_get_elf_syms.
Properly free possibly cached info.
(mn10200_elf_relax_delete_bytes): Remove symbol swapping code.
(mn10200_elf_symbol_address_p): Pass in internal syms. Remove
symbol swapping code.
(mn10200_elf_get_relocated_section_contents): Use bfd_elf_get_elf_syms.
Properly free possibly cached info.
* elf-m10300.c (mn10300_elf_relax_section): As above for elf-m10200.c.
(mn10300_elf_relax_delete_bytes): Likewise.
(mn10300_elf_symbol_address_p): Likewise.
(mn10300_elf_get_relocated_section_contents): Likewise.
* elf32-h8300.c (elf32_h8_relax_section): As above for elf-m10200.c.
(elf32_h8_relax_delete_bytes): Likewise.
(elf32_h8_symbol_address_p): Likewise.
(elf32_h8_get_relocated_section_contents): Likewise.
* elf32-m32r.c (m32r_elf_relax_section): As above for elf-m10200.c.
(m32r_elf_relax_delete_bytes): Likewise.
(m32r_elf_get_relocated_section_contents): Likewise.
* elf32-sh.c (sh_elf_reloc_loop): Free section contents using
elf_section_data to determine whether cached.
(sh_elf_relax_section): As above for elf-m10200.c.
(sh_elf_relax_delete_bytes): Likewise.
(sh_elf_get_relocated_section_contents): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relax_section): As above.
* elf64-alpha.c (elf64_alpha_relax_section): As above. Also delay
reading of local syms.
* elf64-mmix.c (mmix_elf_relax_section): Likewise.
* elf64-sh64.c (sh_elf64_get_relocated_section_contents): As above.
* elfxx-ia64.c (elfNN_ia64_relax_section): As above.
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Properly free internal
relocs.
* elf32-arm.h (bfd_elf32_arm_process_before_allocation): Properly
free internal relocs and section contents. Don't read symbols.
* elf32-hppa.c (get_local_syms): Use bfd_elf_get_elf_syms.
(elf32_hppa_size_stubs): Don't free local syms.
* elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Delay
reading of local syms. Use bfd_elf_get_elf_syms. Properly free
possibly cached info.
* elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise.
* elf64-hppa.c (elf64_hppa_check_relocs): Use bfd_elf_get_elf_syms.
* elf64-ppc.c (struct ppc_link_hash_table): Delete bfd_count and
all_local_syms.
(get_local_syms): Delete function.
(edit_opd): Use bfd_elf_get_elf_syms. Free on error exit. Cache
on exit.
(ppc64_elf_size_stubs): Use bfd_elf_get_elf_syms. Free/cache on exit.
cgf [Sun, 7 Jul 2002 00:55:51 +0000 (00:55 +0000)]
doc patch.
cgf [Sun, 7 Jul 2002 00:54:38 +0000 (00:54 +0000)]
* configure.in: Check for libiconv.a.
* configure: Regenerate.
* Makefile.in: Add libiconv.a to libraries required for dumper.exe.
cgf [Sun, 7 Jul 2002 00:44:08 +0000 (00:44 +0000)]
* Makefile.in: Use MINGW stuff from Makefile.common.
cgf [Sun, 7 Jul 2002 00:43:26 +0000 (00:43 +0000)]
* testsuite/winsup.api/winsup.exp: Add -mwin32 to gcc flags so windows.h will
be found.
cgf [Sun, 7 Jul 2002 00:42:53 +0000 (00:42 +0000)]
* Makefile.in: Use MINGW stuff from Makefile.common.
cgf [Sun, 7 Jul 2002 00:42:09 +0000 (00:42 +0000)]
* Makefile.common (MINGW_INCLUDES): Simplify.
(MINGW_CFLAGS): New.
(MINGW_CXXFLAGS): Ditto.
cgf [Sun, 7 Jul 2002 00:40:52 +0000 (00:40 +0000)]
Add missing entry from 2002-06-25
amylaar [Sun, 7 Jul 2002 00:27:19 +0000 (00:27 +0000)]
* libc/machine/sh/Makefile.am (lib_a_SOURCES):
Make strcmp.S unconditional.
* libc/machine/sh/Makefile.in: Regenerate.
* libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
* strcmp.S (strcmp): Add SHmedia variant. Use different registers
for SHcompact.
gdbadmin [Sun, 7 Jul 2002 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 7 Jul 2002 00:00:06 +0000 (00:00 +0000)]
daily update
corinna [Sat, 6 Jul 2002 11:16:07 +0000 (11:16 +0000)]
* fhandler.h (fhandler_socket::is_unconnected): Constify.
(fhandler_socket::is_connect_pending): Ditto.
(fhandler_socket::is_connected): Ditto.
(fhandler_socket::set_connect_state): New method.
(struct select_record): Add member `except_on_write'.
(select_record::select_record): Initialize all bool values to `false'.
* fhandler_socket.cc: Use set_connect_state() method throughout.
(fhandler_socket::connect): Set state always to connected if connection
isn't pending.
* net.cc (cygwin_getsockopt): Revert erroneous previous patch.
* select.cc (set_bits): Check for `except_on_write'. Set fd in
write_fds if set. Set connect state to connected if fd has been
returned by WINSOCK_SELECT.
(peek_socket): Check for `except_on_write'.
(start_thread_socket): Ditto.
(fhandler_socket::select_write): Don't set `write_ready' if connect
is pending. Set `except_on_write' if connect is pending.
amodra [Sat, 6 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 6 Jul 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Fri, 5 Jul 2002 22:00:46 +0000 (22:00 +0000)]
add missing entry
cgf [Fri, 5 Jul 2002 21:58:49 +0000 (21:58 +0000)]
* ntdll.h (_SYSTEM_PROCESSOR_TIMES): Force eight byte alignment.
(_SYSTEM_TIME_OF_DAY_INFORMATION): Ditto.
wilson [Fri, 5 Jul 2002 20:29:38 +0000 (20:29 +0000)]
This makes gprof work with non-standard text sections.
* syms.c (decode_section_type): New.
(bfd_decode_symclass): Call decode_section_type.
corinna [Fri, 5 Jul 2002 18:26:22 +0000 (18:26 +0000)]
* fhandler.h (UNCONNECTED): New define.
(CONNECT_PENDING): Ditto.
(CONNECTED): Ditto.
(class fhandler_socket): Add member `had_connect_or_listen'.
Add member functions `is_unconnected', `is_connect_pending' and
`is_connected'.
* fhandler_socket.cc (fhandler_socket::connect): Set member
`had_connect_or_listen' according to return code of WinSock
call.
(fhandler_socket::listen): Ditto.
* net.cc (cygwin_getsockopt): Modify SO_ERROR return value in
case of socket with pending connect().
* select.cc (peek_socket): Only add socket to matching fd_set
if it's not "ready". Call WINSOCK_SELECT only if at least one
socket is in one of the fd_sets.
(start_thread_socket): Only add socket to matching fd_set
if it's not "ready".
(fhandler_socket::select_write): Set write_ready to true also
if socket isn't connected or listening.
drow [Fri, 5 Jul 2002 16:23:12 +0000 (16:23 +0000)]
2002-07-05 Daniel Jacobowitz <drow@mvista.com>
Fix PR gdb/595, gdb/602
* gnu-v3-abi.c (gnuv3_baseclass_offset): Remove unused variables.
Don't call value_cast, just read the vtable pointer; update comments
to match.
graces [Fri, 5 Jul 2002 15:09:49 +0000 (15:09 +0000)]
* config/mcore/tm-mcore.h: Remove file.
* config/mcore/mcore.mt: Remove definition of TM_FILE
* configure.tgt: Set gdb_multi_arch to yes for the mcore target.
graces [Fri, 5 Jul 2002 15:07:49 +0000 (15:07 +0000)]
* config/mcore/tm-mcore.h: Remove file.
* config/mcore/mcore.mt: Remove definition of TM_FILE
* configure.tgt: Set gdb_multi_arch to yes for the mcore target.
nickc [Fri, 5 Jul 2002 14:12:01 +0000 (14:12 +0000)]
Add checks to catch invaliud XScale MIA, MIAPH and MIAxy instructions.
amodra [Fri, 5 Jul 2002 12:54:27 +0000 (12:54 +0000)]
* ldlang.c (print_wild_statement): Fix output formatting.
amodra [Fri, 5 Jul 2002 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 5 Jul 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
jjohnstn [Thu, 4 Jul 2002 23:25:05 +0000 (23:25 +0000)]
2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
define before including <sys/lock.h>.
kettenis [Thu, 4 Jul 2002 22:59:01 +0000 (22:59 +0000)]
* i386bsd-tdep.c: Include "gdb_string.h".
aoliva [Thu, 4 Jul 2002 22:51:16 +0000 (22:51 +0000)]
* ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*.
jjohnstn [Thu, 4 Jul 2002 22:51:07 +0000 (22:51 +0000)]
2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/utime.h: Add include of <_ansi.h>.
* libc/sys/linux/Makefile.am: Add utimes.c.
* libc/sys/linux/Makefile.in: Regenerated.
* libc/sys/linux/inode.c(__umask): New static routine.
(umask): Written to use __umask and attempt to thread lock.
(getumask): New function written to use __umask and thread lock.
* libc/sys/linux/utimes.c: New file.
* libc/sys/linux/sys/time.h: Fix utimes prototype.
* libc/sys/linux/sys/utime.h: New file.
fitzsim [Thu, 4 Jul 2002 20:22:35 +0000 (20:22 +0000)]
* Remove files (should have been done on 2002-06-20).
fitzsim [Thu, 4 Jul 2002 20:00:49 +0000 (20:00 +0000)]
* process.c: Add comment.
fitzsim [Thu, 4 Jul 2002 19:57:25 +0000 (19:57 +0000)]
* libtool.m4: New file.
* libc/sys/linux/process.c: Implement vfork in terms of fork,
rather than as a syscall.
jjohnstn [Thu, 4 Jul 2002 19:33:53 +0000 (19:33 +0000)]
2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h: Add new prototypes.
* libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
* libc/stdio/Makefile.in: Regenerated.
* libc/stdio/fseek.c: Add fseeko documentation.
* libc/stdio/ftell.c: Add ftello documentation.
* libc/stdio/fseeko.c: New file.
* libc/stdio/ftello.c: New file.
jjohnstn [Thu, 4 Jul 2002 18:56:16 +0000 (18:56 +0000)]
2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
* libc/stdio/Makefile.in: Regenerated.
* libc/stdio/asprintf.c: New file.
* libc/stdio/vasprintf.c: Ditto.
* libc/stdio/fvwrite.c: Add code to dynamically reallocate
the buffer for asprintf support.
* libc/stdio/sprintf.c: Add asprintf documentation.
* libc/stdio/vfprintf.c: Add vasprintf documentation.
* libc/include/stdio.h: Add new prototypes.
corinna [Thu, 4 Jul 2002 17:18:14 +0000 (17:18 +0000)]
* fhandler_socket.cc (fhandler_socket::set_sun_path): Don't free
memory here. Allow NULL parameter.
graces [Thu, 4 Jul 2002 16:45:51 +0000 (16:45 +0000)]
* config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Set to 2.
(PR_REGNUM, FIRST_ARGREG, LAST_ARGREG,RETVAL_REGNUM): Move to
mcore-tdep.
(REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER)
(TARGET_VIRTUAL_FRAME_POINTER, BELIEVE_PCC_PROMOTION): Remove.
* mcore-tdep.c (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG)
(RETVAL_REGNUM): Move macros from tm-mcore.h
(mcore_reg_struct_has_addr): New function.
(mcore_gdbarch_init): Added initializations for the macros removed
from tm-mcore.h.
jakub [Thu, 4 Jul 2002 15:57:24 +0000 (15:57 +0000)]
* merge.c (_bfd_merged_section_offset): Avoid accessing byte before
section content start.
Reported by Michael Schumacher <mike@hightec-rt.com>.
kettenis [Thu, 4 Jul 2002 15:36:50 +0000 (15:36 +0000)]
* osabi.c (generic_elf_osabi_sniffer): Add check for FreeBSD 3.x's
traditonal string branding within the ELF header.
corinna [Thu, 4 Jul 2002 15:32:34 +0000 (15:32 +0000)]
* fhandler_socket.cc (fhandler_socket::dup): Add missing copy operation
on sun_path.
drow [Thu, 4 Jul 2002 15:22:42 +0000 (15:22 +0000)]
2002-07-04 Daniel Jacobowitz <drow@mvista.com>
* symtab.c (remove_params): New function.
(make_symbol_overload_list): Use it instead of cplus_demangle.
(overload_list_add_symbol): Likewise. Reorder. Fix memory leak.
duda [Thu, 4 Jul 2002 15:18:35 +0000 (15:18 +0000)]
* winsup.api/pthread/cancel1.c: New test. Port from pthreads-win32
project.
* winsup.api/pthread/cancel2.c: Ditto.
* winsup.api/pthread/cancel3.c: Ditto.
* winsup.api/pthread/cancel4.c: Ditto.
* winsup.api/pthread/cancel5.c: Ditto.
kettenis [Thu, 4 Jul 2002 15:17:42 +0000 (15:17 +0000)]
* i386obsd-nat.c (_initialize_i386obsd_nat): Fix typo in prototype.
kettenis [Thu, 4 Jul 2002 15:13:27 +0000 (15:13 +0000)]
* i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end):
New variables.
(i386nbsd_init_abi): Use these to initialize tdep->sigtramp_start
and tdep->sigtramp_end.
* i386obsd-nat.c: New file.
* config/i386/obsd.mh (NATDEPFILES): Add i386obsd-nat.o.
kettenis [Thu, 4 Jul 2002 14:43:51 +0000 (14:43 +0000)]
* dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf.
Don't call get_current_frame().