OSDN Git Service
hp [Wed, 21 Apr 2004 10:04:01 +0000 (10:04 +0000)]
* NEWS: Mention change in DEFINED semantics.
corinna [Wed, 21 Apr 2004 08:16:13 +0000 (08:16 +0000)]
* syscalls.cc (lseek64): Fix debug_printf format string.
(truncate64): Ditto.
* fhandler.cc (fhandler_base::lseek): Force res to -1 on error.
ebotcazou [Wed, 21 Apr 2004 07:15:05 +0000 (07:15 +0000)]
* scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
(.data): Add KEEP for .gnu.linkonce.d.*personality*.
(.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
dannysmith [Wed, 21 Apr 2004 07:14:57 +0000 (07:14 +0000)]
* include/winuser.h (SPI_GETACTIVEWINDOWTRACKING,
SPI_GETACTIVEWNDTRKZORDER, SPI_SETACTIVEWINDOWTRACKING,
SPI_SETACTIVEWNDTRKZORDER): Remove duplicate defines.
ebotcazou [Wed, 21 Apr 2004 07:14:15 +0000 (07:14 +0000)]
* elflink.c (elf_gc_mark_dynamic_ref_symbol): New function.
(bfd_elf_gc_sections): Fail if a shared object is being created.
Do not fail if dynamic sections have been created. Instead call
elf_gc_mark_dynamic_ref_symbol to mark sections that contain
dynamically referenced symbols. Do not mark the whole graph
rooted at .eh_frame, only the section proper.
bje [Wed, 21 Apr 2004 06:08:47 +0000 (06:08 +0000)]
* ld.texinfo (Simple Example): Add missing punctuation.
cgd [Wed, 21 Apr 2004 00:44:36 +0000 (00:44 +0000)]
[ gas/ChangeLog ]
2004-04-20 Chris Demetriou <cgd@broadcom.com>
* NEWS: Note that MIPS -membedded-pic option is deprecated.
[ ld/ChangeLog ]
2004-04-20 Chris Demetriou <cgd@broadcom.com>
* NEWS: Note that MIPS --embedded-relocs option is deprecated.
amodra [Wed, 21 Apr 2004 00:00:05 +0000 (00:00 +0000)]
daily update
earnie [Tue, 20 Apr 2004 22:49:31 +0000 (22:49 +0000)]
* CONTRIBUTORS: New file.
* DISCLAIMER: Ditto.
* CRT_noglob.c: Reword copyright and disclaimer. Move Contributors
section CONTRIBUTORS file. Remove RCS tags.
* CRTFmode.c: Ditto.
* CRTglob.c: Ditto.
* CRTinit.c: Ditto.
* crt1.c: Ditto.
* crtdll.dev: Ditto.
* dllcrt1.c: Ditto.
* dllmain.c: Ditto.
* gccmain.c: Ditto.
* init.c: Ditto.
* isascii.c: Ditto.
* iscsym.c: Ditto.
* iscsymf.c: Ditto.
* jamfile: Ditto.
* main.c: Ditto.
* msvcrt.def.in: Ditto.
* strcasecmp.c: Ditto.
* toascii.c: Ditto.
* wcscmpi.c: Ditto.
* include/assert.h: Ditto.
* include/conio.h: Ditto.
* include/ctype.h: Ditto.
* include/direct.h: Ditto.
* include/dirent.h: Ditto.
* include/dos.h: Ditto.
* include/errno.h: Ditto.
* include/excpt.h: Ditto.
* include/fcntl.h: Ditto.
* include/float.h: Ditto.
* include/io.h: Ditto.
* include/locale.h: Ditto.
* include/malloc.h: Ditto.
* include/math.h: Ditto.
* include/process.h: Ditto.
* include/setjmp.h: Ditto.
* include/share.h: Ditto.
* include/signal.h: Ditto.
* include/stdio.h: Ditto.
* include/stdlib.h: Ditto.
* include/string.h: Ditto.
* include/tchar.h: Ditto.
* include/time.h: Ditto.
* include/wchar.h: Ditto.
* include/sys/locking.h: Ditto.
* include/sys/param.h: Ditto.
* include/sys/stat.h: Ditto.
* include/sys/timeb.h: Ditto.
* include/sys/types.h: Ditto.
* include/sys/utime.h: Ditto.
* mingwex/dirent.c: Ditto.
kevinb [Tue, 20 Apr 2004 20:33:36 +0000 (20:33 +0000)]
* thread-db.c (lookup_sym): New function.
(thread_db_open): Print diagnostic message for failed dlopen()
call. Call lookup_sym() which will print diagnostic for failed
dlsym() call.
kevinb [Tue, 20 Apr 2004 20:08:52 +0000 (20:08 +0000)]
* server.c (main): Ignore realtime signals.
cgf [Tue, 20 Apr 2004 18:46:15 +0000 (18:46 +0000)]
fix comment
cgf [Tue, 20 Apr 2004 18:45:16 +0000 (18:45 +0000)]
* path.cc (is_unc_share): Rename from slash_unc_prefix_p throughout.
* path.cc (normalize_posix_path): Process all Posix paths and map three or more
initial slashes to a single one. Simplify processing following two initial
slashes.
(normalize_win32_path): Make last argument non-optional and do not check for
NULL value.
corinna [Tue, 20 Apr 2004 15:51:24 +0000 (15:51 +0000)]
* fhandler_disk_file.cc (fhandler_base::open_fs): Change
set_file_attribute call to indicate that NT security isn't used.
(fhandler_disk_file::fchmod): Rearrange to isolate 9x related
statements.
Do not set FILE_ATTRIBUTE_SYSTEM.
(fhandler_disk_file::fchown): Check noop case first.
* fhandler.cc (fhandler_base::open9x): Remove ntsec related statements.
(fhandler_base::set_name): Do not set namehash.
* fhandler.h (fhandler_base::get_namehash): Compute and set namehash if
needed.
* syscalls.cc (access): Verify that fh is not NULL. Do not set PC_FULL.
(chmod): Ditto.
(chown_worker): Ditto.
(stat_worker): Ditto. Verify if the path exists.
cgf [Tue, 20 Apr 2004 15:17:35 +0000 (15:17 +0000)]
* include/wingdi.h: Protect non-unicode case of below.
cgf [Tue, 20 Apr 2004 15:10:25 +0000 (15:10 +0000)]
* include/wingdi.h: Protect use of ENUMLOGFONTEXDV, PENUMLOGFONTEXDV,
LPENUMLOGFONTEXDV with appropriate version check.
hjl [Tue, 20 Apr 2004 14:50:21 +0000 (14:50 +0000)]
2004-04-20 H.J. Lu <hongjiu.lu@intel.com>
* ld-elfweak/elfweak.exp: Add an undefined weak size change
test.
* ld-elfweak/size.dat: New file.
* ld-elfweak/size_bar.c: Likewise.
* ld-elfweak/size_foo.c: Likewise.
* ld-elfweak/size_main.c: Likewise.
nickc [Tue, 20 Apr 2004 12:17:12 +0000 (12:17 +0000)]
Add support for a .secrel32 x86 reloc to allow DWARF" debug information to used
with COFF based x86 ports.
infidel [Tue, 20 Apr 2004 12:08:46 +0000 (12:08 +0000)]
2004-04-18 Hans Leidekker <hans@it.vu.nl>
* lib/directx/dxguid.c (CLSID_DirectSoundPrivate,
DSPROPSETID_DirectSoundDevice): Add defines.
corinna [Tue, 20 Apr 2004 11:14:01 +0000 (11:14 +0000)]
* libc/include/sys/unistd.h (ttyname_r): Add missing comma.
corinna [Tue, 20 Apr 2004 11:09:34 +0000 (11:09 +0000)]
* libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
corinna [Tue, 20 Apr 2004 11:01:21 +0000 (11:01 +0000)]
* fhandler.cc (fhandler_base::open): Remove special DEV_FLOPPY_MAJOR
treatment.
* fhandler_raw.cc (fhandler_dev_raw::open): Simplify write-only case.
* fhandler_tape.cc (fhandler_dev_tape::raw_write): Add accidentally
dropped condition.
corinna [Tue, 20 Apr 2004 10:24:36 +0000 (10:24 +0000)]
* fhandler.cc (fhandler_base::open): Add FILE_READ_ATTRIBUTES when
only GENERIC_WRITE access is requested.
jakub [Tue, 20 Apr 2004 10:23:51 +0000 (10:23 +0000)]
* sparc-opc.c (fmoviccx, fmovfccx, fmovccx): Define.
(fmovicc, fmovfcc, fmovcc): Remove fpsize argument, change opcode to
suffix. Use fmov*x macros, create all 3 fpsize variants in one
macro. Adjust all users.
infidel [Tue, 20 Apr 2004 09:48:52 +0000 (09:48 +0000)]
2004-04-20 Adrian Sandor <aditsu@users.sourceforge.net>
* include/msacm.h: New file.
roland [Tue, 20 Apr 2004 02:04:09 +0000 (02:04 +0000)]
.
roland [Tue, 20 Apr 2004 02:03:55 +0000 (02:03 +0000)]
2004-04-19 Roland McGrath <roland@redhat.com>
* generic/gdbtk-hooks.c: Update gdbtk_pre_add_symbol forward decl to
match defn type change.
amodra [Tue, 20 Apr 2004 00:00:07 +0000 (00:00 +0000)]
daily update
echristo [Mon, 19 Apr 2004 21:08:43 +0000 (21:08 +0000)]
2004-04-19 Eric Christopher <echristo@redhat.com>
* config/tc-mips.c (mips_dwarf2_addr_size): Revert part
of previous patch for fix in gcc.
corinna [Mon, 19 Apr 2004 19:41:12 +0000 (19:41 +0000)]
* include/cygwin/mtio.h (GMT_ASYNC): New define.
(MT_ST_ASYNC_WRITES): Remove "Not supported" comment.
corinna [Mon, 19 Apr 2004 19:29:10 +0000 (19:29 +0000)]
* errno.cc (errmap): Handle ERROR_IO_PENDING.
* fhandler.cc (fhandler_base::open): Make tape I/O asynchronous.
* fhandler.h (class fhandler_dev_tape): Add mt_evt member.
* fhandler_tape.cc (mtinfo_drive::initialize): Initialize async_writes.
(mtinfo_drive::close): Handle async writes.
(mtinfo_drive::read): Add mt_evt parameter. Use overlapped I/O.
(mtinfo_drive::async_wait): New function.
(mtinfo_drive::write): Add mt_evt parameter. Use overlapped I/O.
Handle async writes.
(mtinfo_drive::_set_pos): Handle async writes.
(mtinfo_drive::set_partition): Ditto.
(mtinfo_drive::prepare): Ditto.
(mtinfo_drive::get_status): Drop useless "else". Handle async_writes
flag.
(mtinfo_drive::set_options): Handle async_writes flags.
(fhandler_dev_tape::close): Close mt_evt handle.
(fhandler_dev_tape::raw_read): Create mt_evt handle and use in call
to mtinfo_drive::read.
(fhandler_dev_tape::raw_write): Create mt_evt handle and use in call
to mtinfo_drive::write.
* mtinfo.h (MTINFO_VERSION): Bump.
(enum dirty_state): Add async_write_pending state.
(class mtinfo_drive): Add OVERLAPPED struct "ov". Add async_writes
flag.
(mtinfo_drive::async_wait): Add declaration.
(mtinfo_drive::read): Add mt_evt parameter.
(mtinfo_drive::write): Ditto.
* registry.cc (load_registry_hive): Call enable_restore_privilege
instead of set_process_privilege.
drow [Mon, 19 Apr 2004 18:20:49 +0000 (18:20 +0000)]
* dwarf2read.c (dwarf2_tmp_obstack, dwarf2_free_tmp_obstack):
Delete.
(dwarf_alloc_block): Take a CU argument. Use the comp_unit_obstack.
(read_attribute_value): Update calls to dwarf_alloc_block.
(dwarf2_build_psymtabs_hard): Don't initialize or clean up
dwarf2_tmp_obstack.
(psymtab_to_symtab_1): Likewise. Clean up using
free_stack_comp_unit.
(add_to_cu_func_list): Use the comp_unit_obstack.
brobecke [Mon, 19 Apr 2004 18:12:00 +0000 (18:12 +0000)]
* dwarf2read.c (dwarf2_flag_true_p): New function.
(die_is_declaration): Use the function above. Add some comments.
earnie [Mon, 19 Apr 2004 17:01:27 +0000 (17:01 +0000)]
* include/_mingw.h: Revert to primary release 3 and increment minor
release to 3.
* Makefile.in (VERSION): Ditto.
earnie [Mon, 19 Apr 2004 16:58:39 +0000 (16:58 +0000)]
* include/_mingw.h: Revert to primary release 3 and increment minor
release to 3.
ro [Mon, 19 Apr 2004 15:38:50 +0000 (15:38 +0000)]
* configure.in (mips*-*-irix5*): Enable ld.
* configure: Regenerate.
jakub [Mon, 19 Apr 2004 14:25:47 +0000 (14:25 +0000)]
bfd/
* elf32-sparc.c (elf32_sparc_relocate_section): Handle
relocs against hidden/protected undefweak symbols properly.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
gas/testsuite/
* gas/cfi/cfi-sparc64-1.d: Update.
ld/testsuite/
* ld-elfvsb/elfvsb.exp: XFAIL some tests on sparc64.
* ld-shared/shared.exp: Likewise.
corinna [Mon, 19 Apr 2004 13:07:55 +0000 (13:07 +0000)]
* fhandler_tape.cc (mtinfo_drive::_set_pos): Take additional dont_wait
parameter. Use in call to SetTapePosition.
(mtinfo_drive::set_pos): Accomodate _set_pos calls to above change.
(mtinfo_drive::set_partition): Ditto.
* mtinfo.h (mtinfo_drive::_set_pos): Change declaration accordingly.
jakub [Mon, 19 Apr 2004 10:35:21 +0000 (10:35 +0000)]
* config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
nathan [Mon, 19 Apr 2004 09:32:55 +0000 (09:32 +0000)]
* read.c (do_align): Call md_flush_pending_output, if defined.
jakub [Mon, 19 Apr 2004 07:35:12 +0000 (07:35 +0000)]
* ldlang.c (lang_do_assignments_1): Handle .tbss output section
specially.
amodra [Mon, 19 Apr 2004 00:00:07 +0000 (00:00 +0000)]
daily update
kettenis [Sun, 18 Apr 2004 22:58:05 +0000 (22:58 +0000)]
* sparcnbsd-tdep.c (_initialize_sparnbsd_tdep): Specify
architecture when registering sparcnbsd_core_osabi_sniffer.
Adjust comment.
kettenis [Sun, 18 Apr 2004 20:55:54 +0000 (20:55 +0000)]
* libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
* netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC
core files.
dannysmith [Sun, 18 Apr 2004 20:48:29 +0000 (20:48 +0000)]
Clean up ChangeLog punctuation and typeo.
Thanks to Filip Navara <xnavara@volny.cz>.
kettenis [Sun, 18 Apr 2004 19:12:58 +0000 (19:12 +0000)]
* infcall.c (find_function_addr): Add FUNCTION_START_OFFSET to
return value.
kettenis [Sun, 18 Apr 2004 18:38:03 +0000 (18:38 +0000)]
Based on a patch from Brian Ford <ford@vss.fsi.com>:
* i386-tdep.c: Correct register numbering scheme comments
throughout.
(i386_stab_reg_to_regnum): Rename to i386_dbx_reg_to_regnum.
(i386_dwarf_reg_to_regnum): Rename to i386_svr4_reg_to_regnum.
(i386_coff_init_abi, i386_elf_init_abi): Accomodate renames above.
(i386_gdb_arch_init): Likewise.
kettenis [Sun, 18 Apr 2004 16:50:28 +0000 (16:50 +0000)]
* Makefile.in (ALLDEPFILES): List ppc-sysv-tdep.c, ppcnbsd-nat.c
and ppcnbsd-tdep.c instead of ppc-sysv-tdep.o, ppcnbsd-nat.o and
ppcnbsd-tdep.o.
kettenis [Sun, 18 Apr 2004 13:03:12 +0000 (13:03 +0000)]
* m68k-tdep.h: Tweak comments.
* m68k-tdep.c: Tweak comment.
infidel [Sun, 18 Apr 2004 07:29:38 +0000 (07:29 +0000)]
2004-01-09 Stuart Cunningham <stuart_hc@users.sourceforge.net>
* include/objbase.h (STGFMT): Declare enum.
(STGOPTIONS): Declare structure.
(StgCreateStorageEx, StgOpenStorageEx): Declare.
(STGOPTIONS_VERSION): Define.
* lib/ole32.def (StgCreateStorageEx, StgOpenStorageEx): Add stubs.
infidel [Sun, 18 Apr 2004 07:07:56 +0000 (07:07 +0000)]
Merge numerous changes from ReactOS. Submitted by Filip Navara.
infidel [Sun, 18 Apr 2004 04:32:13 +0000 (04:32 +0000)]
2004-04-18 Allan Bazinet <bazineta@users.sourceforge.net>
* include/winuser.h (MONITORINFOEX[AW]): Change to be derived from
MONITORINFO when compiling as C++.
amodra [Sun, 18 Apr 2004 00:00:04 +0000 (00:00 +0000)]
daily update
dannysmith [Sat, 17 Apr 2004 23:22:49 +0000 (23:22 +0000)]
* scriptempl/pe.sc: Put numbered .ctors.* after .ctors
with default priority. Likewise for dtors.
cgf [Sat, 17 Apr 2004 17:53:29 +0000 (17:53 +0000)]
fix comments
tausq [Sat, 17 Apr 2004 17:41:10 +0000 (17:41 +0000)]
2004-04-17 Randolph Chung <tausq@debian.org>
* Makefile.in (hppa-hpux-tdep.o): Add $(hppa_tdep_h).
* hppa-hpux-tdep.c (hppa-tdep.h): Include.
(hppa_hpux_som_init_abi): Set is_elf to 0.
(hppa_hpux_elf_init_abi): Set is_elf to 1.
* hppa-tdep.c (low_text_segment_address): Remove global.
(record_text_segment_lowaddr): Pass in low address as parameter. Use
section offset to calculate segment address.
(internalize_unwinds): Define low_text_segment_address as local and
pass to record_text_segment_lowaddr for ELF targets.
(hppa_gdbarch_init): Zero fill tdep structure.
(hppa_dump_tdep): Print tdep structure.
* hppa-tdep.h (gdbarch_tdep): Add is_elf member to tdep structure.
tausq [Sat, 17 Apr 2004 17:31:40 +0000 (17:31 +0000)]
2004-04-17 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_pseudo_register_read): Define.
(hppa_gdbarch_init): Set pseudo_register_read.
* config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Remove.
* regcache.c (supply_register): Remove check for
DEPRECATED_CLEAN_UP_REGISTER_VALUE since we've removed the last user.
tausq [Sat, 17 Apr 2004 17:19:27 +0000 (17:19 +0000)]
2004-04-17 Randolph Chung <tausq@debian.org>
* Makefile.in (hpread.o, pa64solib.o, somsolib.o): Add $(hppa_tdep_h)
* hppa-tdep.c (hppa_objfile_priv_data): New.
(SR4EXPORT_LDIL_OFFSET, SR4EXPORT_LDO_OFFSET): Use
HPPA_INSTRUCTION_SIZE.
(read_unwind_info): Use objfile_data to reference unwind info.
(find_unwind_entry): Likewise.
(hpread_adjust_stack_address): Move to hpread.c.
(_initialize_hppa_tdep): Register hppa objfile data.
* hppa-tdep.h (HPPA_INSTRUCTION_SIZE): Define.
(unwind_table_entry, unwind_stub_types): Move from tm-hppa.h.
(obj_unwind_info, obj_private_struct): Move from tm-hppa.h, and rename
with hppa_ prefix.
* hpread.c (hppa-tdep.h): Include.
(hpread_adjust_stack_address): Move from hppa-tdep.c.
(hpread_read_function_type, hpread_read_doc_function_type)
(hpread_process_one_debug_symbol): Call hpread_adjust_stack_address
directly. Use objfile_data to access solib data.
* pa64solib.c (hppa-tdep.h): Include.
(pa64_solib_add_solib_objfile): Use objfile_data to access solib data.
* somsolib.c (hppa-tdep.h): Include.
(som_solib_add_solib_objfile): Use objfile_data to access solib data.
* config/pa/tm-hppa.h (frame_info, frame_saved_regs, value, type)
(inferior_status): Remove unused forward declarations.
(INSTRUCTION_SIZE): Move to hppa-tdep.c.
(unwind_table_entry, unwind_stub_types, obj_unwind_info)
(obj_private_struct): Move to hppa-tdep.h.
(HPREAD_ADJUST_STACK_ADDRESS): Remove.
tausq [Sat, 17 Apr 2004 15:34:15 +0000 (15:34 +0000)]
2004-04-17 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_reg_struct_has_addr, hppa_skip_prologue)
(hppa_skip_trampoline_code, hppa_in_solib_call_trampoline)
(hppa_in_solib_return_trampoline, hppa_cannot_store_register)
(hppa_smash_text_address, hppa_target_read_pc, hppa_target_write_pc):
Remove forward declaration and make static.
(hppa_reg_struct_has_addr): Remove.
infidel [Sat, 17 Apr 2004 13:44:04 +0000 (13:44 +0000)]
2004-04-17 Luke Dunstan <infidel@users.sourceforge.net>
* README.w32api: List separate copyright conditions for some headers.
* include/(winsock2.h, wsipx.h): Minor change to copyright header.
amodra [Sat, 17 Apr 2004 11:18:47 +0000 (11:18 +0000)]
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zero
filepos for the SizeOfHeaders field.
(_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc
overflow.
(_bfd_XXi_swap_sym_in): Remove redundant section flags assignment.
brobecke [Sat, 17 Apr 2004 04:45:32 +0000 (04:45 +0000)]
* observer.sh: Move comments in sed command to first column.
jsm [Sat, 17 Apr 2004 00:48:25 +0000 (00:48 +0000)]
2004-04-16 Jason Molenda (jmolenda@apple.com)
* frame.c: Minor typeo corrections in comments.
gdbadmin [Sat, 17 Apr 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 17 Apr 2004 00:00:07 +0000 (00:00 +0000)]
daily update
ford [Fri, 16 Apr 2004 23:56:29 +0000 (23:56 +0000)]
Restore 2002 ChangeLog history.
corinna [Fri, 16 Apr 2004 21:22:13 +0000 (21:22 +0000)]
* autoload.cc (NtCreateFile): Add.
* dir.cc (mkdir): Change set_file_attribute call to indicate that
NT security isn't used.
* fhandler.cc (fhandler_base::open_9x): New method, created from
fhandler_base::open.
(fhandler_base::open): Rearrange to use NtCreateFile instead of
CreateFile.
* fhandler.h (enum query_state): Redefine query_null_access to
query_stat_control. query_null_access isn't allowed in NtCreateFile.
(fhandler_base::open_9x): Declare.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Use
query_stat_control first, query_read_control if that fails.
(fhandler_disk_file::fchmod): Call enable_restore_privilege before
trying to open for query_write_control. Don't fall back to
opening for query_read_control.
(fhandler_disk_file::fchown): Ditto.
(fhandler_disk_file::facl): Only request restore privilege and query
access necessary for given cmd.
* fhandler_raw.cc (fhandler_dev_raw::open): Call fhandler_base::open
instead of opening device here.
* ntdll.h (NtCreateFile): Declare.
* path.cc (symlink_worker): Change set_file_attribute call to indicate
that NT security isn't used.
* sec_acl.cc (getacl): Fix bracketing.
* sec_helper.cc (enable_restore_privilege): New function.
* security.cc (str2buf2uni_cat): New function.
(write_sd): Don't request restore permission here.
* security.h (set_process_privileges): Drop stale declaration.
(str2buf2uni): Declare.
(str2buf2uni_cat): Declare.
(enable_restore_privilege): Declare.
* syscalls.cc (fchown32): Return immediate success on 9x.
brobecke [Fri, 16 Apr 2004 17:29:42 +0000 (17:29 +0000)]
* gdb.gdb/observer.exp (test_normal_stop_notifications): Update
call to observer_notify_normal_stop.
brobecke [Fri, 16 Apr 2004 17:26:40 +0000 (17:26 +0000)]
* observer.c (observer_test_first_notification_function): Update
function profile.
(observer_test_second_notification_function): Likewise.
(observer_test_third_notification_function): Likewise.
kettenis [Fri, 16 Apr 2004 16:49:53 +0000 (16:49 +0000)]
From Brian Ford <ford@vss.fsi.com>:
* i386-tdep.c (i386_coff_init_abi): New function.
* i386-tdep.h (i386_coff_init_abi): New prototype.
* i386-cygwin-tdep.c (i386_cygwin_init_abi): Call it. Use correct
register number translation functions for DWARF and DWARF 2.
brobecke [Fri, 16 Apr 2004 16:12:52 +0000 (16:12 +0000)]
* dwarf2read.c: Back out my previous change, it was incorrect.
drow [Fri, 16 Apr 2004 15:18:22 +0000 (15:18 +0000)]
* dwarf2read.c: Include "hashtab.h".
(struct dwarf2_cu): Add partial_dies, comp_unit_obstack,
has_namespace_info.
(struct partial_die_info): Add comments. Use bitfields to reduce
memory footprint. Add scope, scope_set, has_specification,
spec_offset, die_parent, die_child, and die_sibling.
(peek_die_abbrev): Add prototype.
(partial_read_comp_unit_head): New function, broken out from
dwarf2_build_psymtabs_hard.
(dwarf2_build_psymtabs_hard): Remove unused variable abbrev_ptr.
Use partial_read_comp_unit_head. Initialize the CU and
comp_unit_obstack. Update calls to read_partial_die and
scan_partial_symbols. Use free_stack_comp_unit and
load_partial_dies.
(scan_partial_symbols): Change PDI to a pointer. Use the child and
sibling pointers to walk partial DIEs. Call fixup_partial_die.
Update calls to helper functions. Remove NAMESPACE argument.
Update comments.
(partial_die_parent_scope, partial_die_full_name): New functions.
(add_partial_symbol): Remove namespace argument. Update call to
pdi_needs_namespace. Use partial_die_full_name. Handle
DW_TAG_namespace. Check has_namespace_info flag.
(pdi_needs_namespace): Remove NAMESPACE argument. Just check the
tag. Handle namespaces.
(add_partial_namespace, add_partial_enumeration): Simplify.
(guess_structure_name): New function, derived from
add_partial_structure.
(add_partial_structure): Remove.
(determine_class_name): Update comment.
(dwarf2_read_abbrevs): Set has_namespace_info flag.
(is_type_tag_for_partial, load_partial_dies): New functions.
(read_partial_die): Pass abbrev and abbrev_len as arguments.
Record specifications instead of following them immediately.
(find_partial_die_in_comp_unit, find_partial_die)
(fixup_partial_die, free_stack_comp_unit)
(hashtab_obstack_allocate, dummy_obstack_deallocate)
(partial_die_hash, partial_die_eq): New functions.
* Makefile.in (hashtab_h): Define.
(dwarf2read.o): Update dependencies.
(observer_inc, observer_h): Move to the correct section.
wilson [Fri, 16 Apr 2004 07:17:43 +0000 (07:17 +0000)]
Fix LDFLAGS related configure errors.
* Makefile.tpl (configure-[+module+], configure-gcc,
configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc):
Set and export LDFLAGS.
* Makefile.in: Regenerate.
brobecke [Fri, 16 Apr 2004 04:31:25 +0000 (04:31 +0000)]
* dwarf2read.c (dwarf2_attribute_true_p): New function.
(die_is_declaration): Use the function above.
amodra [Fri, 16 Apr 2004 03:29:13 +0000 (03:29 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Don't
change reloc_done. Set and restore _cooked_size.
(RETURN): Delete.
brobecke [Fri, 16 Apr 2004 03:17:25 +0000 (03:17 +0000)]
* dwarf2read.c (read_structure_scope): Identify stub types
using die_is_declaration() only.
amodra [Fri, 16 Apr 2004 01:55:27 +0000 (01:55 +0000)]
* expr.c (operand): Correct checks for ++ and --.
cgf [Fri, 16 Apr 2004 01:48:37 +0000 (01:48 +0000)]
.
gdbadmin [Fri, 16 Apr 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
roland [Thu, 15 Apr 2004 21:40:20 +0000 (21:40 +0000)]
.
roland [Thu, 15 Apr 2004 21:39:35 +0000 (21:39 +0000)]
2004-04-08 Roland McGrath <roland@redhat.com>
* generic/gdbtk-hooks.c (gdbtk_pre_add_symbol): Add const to arg type.
(pre_add_symbol): Likewise in extern decl.
roland [Thu, 15 Apr 2004 21:39:27 +0000 (21:39 +0000)]
2004-04-08 Roland McGrath <roland@redhat.com>
* symfile.c (symbol_file_add_with_addrs_or_offsets): Take ABFD as
argument instead of NAME.
(symbol_file_add, reread_separate_symbols): Call symfile_bfd_open
in call to symbol_file_add_with_addrs_or_offsets.
(build_addr_info): New function, helper for ...
(symbol_file_add_from_memory): New function.
(add_symbol_file_from_memory_command): New function using that.
(_initialize_symfile): Register it for add-symbol-file-from-memory.
(pre_add_symbol_hook): Add const to argument type.
* symfile.h (symbol_file_add_from_memory): Declare it.
cagney [Thu, 15 Apr 2004 21:14:00 +0000 (21:14 +0000)]
2004-04-15 Andrew Cagney <cagney@redhat.com>
* gdb.base/siginfo.c: New file.
* gdb.base/siginfo.exp: New file.
cgf [Thu, 15 Apr 2004 17:38:23 +0000 (17:38 +0000)]
Check in missed file.
cgf [Thu, 15 Apr 2004 17:38:01 +0000 (17:38 +0000)]
* autoload.cc (dll_chain1): Rename to dll_chain. Remove old dll_chain code.
(wsock_init): Avoid unneeded winsock_active tests.
* winsup.h (winsock_active): Delete.
kettenis [Thu, 15 Apr 2004 16:04:37 +0000 (16:04 +0000)]
* netbsd-core.c (netbsd_core_file_p): Set architecture for VAX
core files.
corinna [Thu, 15 Apr 2004 15:56:51 +0000 (15:56 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmo): Try opening
in query_read mode if query_write fails.
* fhandler_disk_file.cc (fhandler_disk_file::fchown): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::facl): Ditto.
kettenis [Thu, 15 Apr 2004 15:10:01 +0000 (15:10 +0000)]
* NEWS (New native configurations): Mention OpenBSD/vax.
* configure.host: Add vax-*-openbsd*.
* config/vax/obsd.mh: New file.
* config/vax/nm-obsd.h: New file.
kettenis [Thu, 15 Apr 2004 15:03:29 +0000 (15:03 +0000)]
* vax-tdep.c: Include "regset.h".
(vax_supply_gregset): New function.
(vax_gregset): New variable.
(vax_regset_from_core_section): New function.
(vax_gdbarch_init): Set regset_from_core_section.
* Makefile.in (vax-tdep.o): Update dependencies.
cagney [Thu, 15 Apr 2004 14:29:18 +0000 (14:29 +0000)]
2004-04-15 Andrew Cagney <cagney@redhat.com>
* observer.c (normal_stop_subject, observer_notify_normal_stop)
(observer_normal_stop_notification_stub)
(observer_attach_normal_stop, observer_detach_normal_stop):
Delete, replaced by #include "observer.inc".
* infrun.c (normal_stop): Pass "stop_bpstat" to
observer_notify_normal_stop.
* Makefile.in (observer_inc): Define.
(observer.o): Update dependencies.
(observer.h, observer.inc): New rules.
* observer.h: Delete file.
* observer.sh: New file.
Index: doc/ChangeLog
2004-04-08 Andrew Cagney <cagney@redhat.com>
* observer.texi (GDB Observers): Rework, provide generic observer
definitions and then a list of observable events.
kettenis [Thu, 15 Apr 2004 12:40:26 +0000 (12:40 +0000)]
* vax-tdep.c (vax_frame_cache): Fix typo.
infidel [Thu, 15 Apr 2004 11:51:00 +0000 (11:51 +0000)]
2004-04-15 Danny Smith <dannysmith@users.sourceforge.net>
* include/wingdi.h (RGB): Correct macro.
nickc [Thu, 15 Apr 2004 08:55:27 +0000 (08:55 +0000)]
Treat adds and subs as a special case
nickc [Thu, 15 Apr 2004 08:48:55 +0000 (08:48 +0000)]
Catch NULL bfd pointers passed to bfd_archive_filename
amodra [Thu, 15 Apr 2004 06:03:59 +0000 (06:03 +0000)]
* elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change.
amodra [Thu, 15 Apr 2004 02:55:20 +0000 (02:55 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only
when it is a definition.
hjl [Thu, 15 Apr 2004 01:49:21 +0000 (01:49 +0000)]
gas/
2004-04-14 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-generic.c: Add some comments.
ld/testsuite/
2004-04-14 H.J. Lu <hongjiu.lu@intel.com>
* ld-scripts/assert.s: Add a newline.
* ld-scripts/data.s: Likewise.
gdbadmin [Thu, 15 Apr 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 15 Apr 2004 00:00:06 +0000 (00:00 +0000)]
daily update
scox [Wed, 14 Apr 2004 21:29:33 +0000 (21:29 +0000)]
* cpu/iq2000.opc (parse_jtargq10): Add ATTRIBUTE_UNUSED on unused args.
(parse_jtargq10, iq2000_cgen_isa_register, parse_mlo16): Declare.