OSDN Git Service
corinna [Mon, 26 Jan 2009 13:20:46 +0000 (13:20 +0000)]
* grp.cc (getgrgid_r): Simplify code by using stpcpy.
(getgrnam_r): Ditto.
* passwd.cc (getpwuid_r32): Simplify code by using stpcpy.
(getpwnam_r): Ditto.
corinna [Mon, 26 Jan 2009 13:03:48 +0000 (13:03 +0000)]
* uinfo.cc (pwdgrp::load): Open file with FILE_OPEN_FOR_BACKUP_INTENT
flag.
ktietz [Mon, 26 Jan 2009 10:29:11 +0000 (10:29 +0000)]
2009-01-26 Kai Tietz <kai.tietz@onevision.com>
* pe-dll.c (tmp_seq2): New static variable.
(make_singleton_name_imp): New.
(make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
avoid duplicate import table generation for same symbol.
(pe_create_runtime_relocator_reference): Make reference for
64-bit 8 bytes.
nickc [Mon, 26 Jan 2009 09:27:30 +0000 (09:27 +0000)]
* gas/arm/attr-order.d: Do not run this test for non-ELF based ARM
targets.
gdbadmin [Mon, 26 Jan 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 26 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update
palves [Sun, 25 Jan 2009 23:35:50 +0000 (23:35 +0000)]
* infcmd.c (program_info): Use paddress instead of casting stop_pc
to unsigned long.
danglin [Sun, 25 Jan 2009 23:05:20 +0000 (23:05 +0000)]
* elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure that
branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F
and R_PARISC_PCREL12F relocations.
amodra [Sun, 25 Jan 2009 00:00:09 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 25 Jan 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
palves [Sat, 24 Jan 2009 19:17:24 +0000 (19:17 +0000)]
* infrun.c (normal_stop): Don't call
deprecated_update_frame_pc_hack.
* frame.c (deprecated_update_frame_pc_hack)
(deprecated_update_frame_base_hack): Delete, and ...
(create_new_frame): ... inline here.
* frame.h (deprecated_update_frame_pc_hack)
(deprecated_update_frame_base_hack): Delete declarations.
corinna [Sat, 24 Jan 2009 16:30:07 +0000 (16:30 +0000)]
* mount.cc (mount_info::from_fstab): Open fstab file with
FILE_OPEN_FOR_BACKUP_INTENT flag.
corinna [Sat, 24 Jan 2009 15:31:18 +0000 (15:31 +0000)]
* pathnames.sgml: Add requirement for world-readability of special
/etc files.
corinna [Sat, 24 Jan 2009 12:26:10 +0000 (12:26 +0000)]
* pathnames.sgml: Add section about accessing /etc files.
schwab [Sat, 24 Jan 2009 09:57:31 +0000 (09:57 +0000)]
* gas/lns/lns.exp: Don't run lns-duplicate for d10v target.
amodra [Sat, 24 Jan 2009 03:10:42 +0000 (03:10 +0000)]
PR 6022
* elflink.c (find_version_for_sym): New function split out from,
but without export_dynamic test, ..
(_bfd_elf_link_assign_sym_version): ..here.
(_bfd_elf_export_symbol): Use it.
amodra [Sat, 24 Jan 2009 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 24 Jan 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
devans [Fri, 23 Jan 2009 21:43:56 +0000 (21:43 +0000)]
* gdb.texinfo: Add nexti to list of commands that support
background execution.
palves [Fri, 23 Jan 2009 18:47:42 +0000 (18:47 +0000)]
2009-01-23 Pedro Alves <pedro@codesourcery.com>
* cli/cli-decode.c (add_setshow_zuinteger_cmd): New.
* cli/cli-setshow.c (do_setshow_command): Handle it.
* command.h (enum var_types): Add var_zuinteger.
(add_setshow_zuinteger_cmd): Declare.
* valprint.c (_initialize_valprint): Change the set input-radix
and set output-radix commands to zuinteger type.
2009-01-23 Pedro Alves <pedro@codesourcery.com>
* gdb.base/radix.exp: Add tests to ensure that that set
input-radix 0 and set output-radix 0 are really rejected.
nathan [Fri, 23 Jan 2009 17:46:20 +0000 (17:46 +0000)]
* doc/c-arm.texi (): Document -mwarn-deprecated.
* config/tc-arm.c (WARN_DEPRECATED): Remove. Replace with ...
(warn_on_deprecated): ... this.
(opcode_lookup, md_assemble): Check it before warning.
(arm_opts): Add m[no-]warn-deprecated.
(md_parse_option): Replace WARN_DEPRECATED with
warn_on_deprecated.
cgf [Fri, 23 Jan 2009 17:05:16 +0000 (17:05 +0000)]
* options.h (General_options::gc_sections): Define as a no-op for now.
(General_options::no_keep_memory): Ditto.
(General_options::Bshareable): Define.
* options.cc (General_options::finalize): Honor -Bshareable.
palves [Fri, 23 Jan 2009 16:01:45 +0000 (16:01 +0000)]
* gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
copyright years.
palves [Fri, 23 Jan 2009 15:47:02 +0000 (15:47 +0000)]
2009-01-23 Pedro Alves <pedro@codesourcery.com>
PR gdb/9664:
* infrun.c (normal_stop): Tag threads as stopped, and run the
hook-stop before printing the stack frame.
2009-01-23 Pedro Alves <pedro@codesourcery.com>
PR gdb/9664:
* gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
schwab [Fri, 23 Jan 2009 14:56:37 +0000 (14:56 +0000)]
* config/tc-mips.c (macro) [M_DINS, M_SEQ_I, M_SNE_I]: Cast
arguments to macro_build to match format.
schwab [Fri, 23 Jan 2009 14:45:48 +0000 (14:45 +0000)]
* config/obj-elf.h (LOCAL_LABEL_PREFIX): Conditionally define.
* config/tc-s390.h (LOCAL_LABEL_PREFIX): Don't define.
testsuite/:
* gas/mips/mips16-e.d: Adjust for change in LOCAL_LABEL_PREFIX.
* gas/mips/mipsel16-e.d: Likewise.
* gas/mips/tmips16-e.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.
corinna [Fri, 23 Jan 2009 13:59:13 +0000 (13:59 +0000)]
* smallprint.cc (__small_vsprintf): Use already available buffer tmp
in wfillin case.
amodra [Fri, 23 Jan 2009 12:15:27 +0000 (12:15 +0000)]
* elf-bfd.h (struct elf_assign_sym_version_info): Delete.
(struct elf_info_failed, struct elf_find_verdep_info): Move to..
* elflink.c: ..here, somewhat modified.
* elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol,
_bfd_elf_link_find_version_dependencies,
_bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section,
_bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol,
_bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't
declare..
* elflink.c: ..and make static here.
(_bfd_elf_link_find_version_dependencies): Adjust for removal
of output_bfd from struct elf_find_verdep_info.
(_bfd_elf_link_assign_sym_version): Similarly adjust to use
struct elf_info_failed.
(bfd_elf_size_dynamic_sections): Adjust.
gdbadmin [Fri, 23 Jan 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 23 Jan 2009 00:00:09 +0000 (00:00 +0000)]
daily update
palves [Thu, 22 Jan 2009 22:50:37 +0000 (22:50 +0000)]
2009-01-22 Pedro Alves <pedro@codesourcery.com>
PR c++/9631:
* gnu-v3-abi.c (gnuv3_baseclass_offset): Call check_typedef on
vbasetype.
2009-01-22 Pedro Alves <pedro@codesourcery.com>
PR c++/9631:
* gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
muller [Thu, 22 Jan 2009 16:01:10 +0000 (16:01 +0000)]
2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
* gdb.server/file-transfer.exp: Use EXEEXT variable for
binfile definition to fix Windows OS failure.
cgf [Thu, 22 Jan 2009 16:00:58 +0000 (16:00 +0000)]
* select.cc (peek_serial): Add hack to allow proper operation with com0com
driver.
amodra [Thu, 22 Jan 2009 08:54:20 +0000 (08:54 +0000)]
PR 6832
* dwarf2.c (find_line): Don't update stash->sec_info_ptr until
after comp_unit_find_line call.
jjohnstn [Thu, 22 Jan 2009 00:08:29 +0000 (00:08 +0000)]
2009-01-21 Jeff Johnston <jjohnstn@redhat.com>
* COPYING.NEWLIB: Add ARM license.
jjohnstn [Thu, 22 Jan 2009 00:02:35 +0000 (00:02 +0000)]
2009-01-21 Richard Earnshaw <rearnsha@arm.com>
* libc/machine/arm/arm_asm.h: New file.
* libc/machine/arm/strlen.c: New file.
* libc/machine/arm/strcpy.c: New file.
* libc/machine/arm/strcmp.c: New file.
* libc/machine/arm/Makefile.am: Add new string routines.
gdbadmin [Thu, 22 Jan 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 22 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update
corinna [Wed, 21 Jan 2009 17:14:36 +0000 (17:14 +0000)]
ChangeLog:
* configure.in: Remove --enable-server option. Allways add the
cygserver directory to $SUBDIRS.
* configure: Regenerate.
cygwin/ChangeLog:
Remove USE_SERVER define. Accommodate throughout.
* configure.in: Remove --enable-server option.
* configure: Regenerate.
* environ.cc: Remove CYGWIN=server setting.
cygserver/ChangeLog:
* client.cc (allow_server): Remove variable.
(client_request_get_version::client_request_get_version): Drop checking
allow_server.
utils/ChangeLog:
* passwd.c: Remove CYGWIN=server requirement from usage text.
doc/ChangeLog:
* cygserver.sgml: Remove the "How to use the Cygserver services"
section.
* cygwinenv.sgml: Move "(no)server" to the removed options section.
* faq-programming.xml: Remove CYGWIN=server requirement for running
the Cygwin testsuite.
* ntsec.sgml: Ditto for using `passwd -R'.
nickc [Wed, 21 Jan 2009 11:58:05 +0000 (11:58 +0000)]
PR 9769
* vmsutil.c (vms_file_stats_name): Remove use of unsupported
tm_gmtoff field in struct tm.
amodra [Wed, 21 Jan 2009 02:28:22 +0000 (02:28 +0000)]
* ld-spu/icache1.d: Add --non-ia-text to ld options.
amodra [Wed, 21 Jan 2009 02:27:12 +0000 (02:27 +0000)]
bfd/
* elf32-spu.h (struct spu_elf_params): Add non_ia_text.
* elf32-spu.c (mark_overlay_section): Only include .text.ia.*
sections in soft-icache lines unless non_ia_text. Don't add
rodata if doing so would exceed line size.
ld/
* emultempl/spuelf.em (params): Init new field.
(OPTION_SPU_NON_IA_TEXT): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
kazu [Wed, 21 Jan 2009 01:20:14 +0000 (01:20 +0000)]
* gdb/procfs.c (info_mappings_callback): Cast map->pr_size to
unsigned long.
amodra [Wed, 21 Jan 2009 00:00:10 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 21 Jan 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Tue, 20 Jan 2009 18:04:32 +0000 (18:04 +0000)]
* fhandler_procnet.cc: Reorganize global procnet content data into a
new struct virt_tab_t. Accommodate throughout.
* fhandler.h: Fix copyright dates.
* fhandler_process.cc: Ditto.
* fhandler_registry.cc: Ditto.
corinna [Tue, 20 Jan 2009 17:22:10 +0000 (17:22 +0000)]
* devices.h (FH_PROCESSFD): New device type.
* dtable.cc (build_fh_pc): Add case for FH_PROCESSFD.
* fhandler.h (class fhandler_virtual): Drop bufalloc member.
* fhandler_virtual.h: New header.
* fhandler_proc.cc: Remove types proc_type_t and proc_tab_t in favor
of types virt_type_t and virt_tab_t from fhandler_virtual.h.
Change prototypes of format_XXX functions accordingly.
(proc_tab): Drop size member info.
(fhandler_proc::fill_filebuf): Don't allocate filebuf here. Allocate
it in the format_XXX functions.
* fhandler_process.cc: Reorganize global process content data into a
new struct virt_tab_t. Accommodate throughout.
(format_process_winexename): New function.
(format_process_winpid): New function.
(format_process_exename): New function.
(format_process_root): New function.
(format_process_cwd): New function.
(format_process_cmdline): New function.
(format_process_ppid): New function.
(format_process_uid): New function.
(format_process_pgid): New function.
(format_process_sid): New function.
(format_process_gid): New function.
(format_process_ctty): New function.
(format_process_fd): New function.
* fhandler_procnet.cc (fhandler_procnet::fill_filebuf): Don't use
bufalloc.
* fhandler_registry.cc (fhandler_registry::fill_filebuf): Define
bufalloc locally.
* fhandler_virtual.cc (fhandler_virtual::fhandler_virtual): Drop
initialization of bufalloc.
(fhandler_virtual::dup): Drop copying bufalloc.
schwab [Tue, 20 Jan 2009 16:12:00 +0000 (16:12 +0000)]
* powerpc.cc (Powerpc_relocate_functions::rel16_ha): Don't try to
read the value in the contents, since we don't use it. Use the
template endianness when writing.
(Relocate::relocate): Use it for R_PPC_REL16_HA.
drow [Tue, 20 Jan 2009 15:35:54 +0000 (15:35 +0000)]
Fix changelog year typo.
drow [Tue, 20 Jan 2009 15:33:09 +0000 (15:33 +0000)]
PR gdb/9346
* infcmd.c (signal_command): Do not specify a resume PC.
testsuite/
PR gdb/9346
* gdb.base/interrupt.c (sigint_handler): New.
(main): Install a SIGINT handler if SIGNALS is defined. Exit
on error.
* gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
Test "signal SIGINT".
corinna [Tue, 20 Jan 2009 12:40:31 +0000 (12:40 +0000)]
* thread.h (struct pthread_rwlock::RWLOCK_READER): Add counter n.
* thread.cc (pthread_rwlock::rdlock): If a thread already owns a
read lock, just count the number of locks for it, per SUSv4.
(pthread_rwlock::tryrdlock): Ditto.
(pthread_rwlock::unlock): If a thread has more than one concurrent
read locks, just count down.
corinna [Tue, 20 Jan 2009 11:16:59 +0000 (11:16 +0000)]
* autoload.cc (WSAIoctl): Reintroduce.
(WSASendMsg): Define.
* fhandler.h (class fhandler_socket): Change definition of recv_internal
and send_internal to take WSAMSG pointer as parameter.
* fhandler_socket.cc (WSAID_WSARECVMSG): Define.
(LPFN_WSARECVMSG): Define.
(WSASendMsg): Declare.
(get_ext_funcptr): New function to fetch address of WSARecvMsg.
(fhandler_socket::recv_internal): Take just a LPWSAMSG parameter.
Change code accordingly. If control information is requested,
fetch address of WSARecvMsg and use that instead of WSARecvFrom.
(fhandler_socket::recvfrom): Change return type to ssize_t as
declared in fhandler.h. Accommodate changes to recv_internal.
(fhandler_socket::recvmsg): Ditto. Make sure that control information
is only requested if system, address family, and socket type support it.
(fhandler_socket::send_internal): Take just a LPWSAMSG parameter
and the flags. Change code accordingly. If control information is
provided, use WSASendMsg instead of WSASendTo.
(fhandler_socket::sendto): Drop useless comment. Accommodate changes
to send_internal.
(fhandler_socket::sendmsg): Ditto. Make sure that control information
is only provided if system, address family, and socket type support it.
* wincap.h (wincaps::has_recvmsg): New element.
(wincaps::has_sendmsg): New element
* wincap.cc: Implement above elements throughout.
* include/cygwin/socket.h (CMSG_ALIGN): Phrase in terms of alignment
of type struct cmsghdr.
amodra [Tue, 20 Jan 2009 07:22:29 +0000 (07:22 +0000)]
Regenerate for copyright date update.
gdbadmin [Tue, 20 Jan 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 20 Jan 2009 00:00:04 +0000 (00:00 +0000)]
daily update
jjohnstn [Mon, 19 Jan 2009 22:02:06 +0000 (22:02 +0000)]
2009-01-19 Neal H. Walfield <neal@gnu.org>
* libc/include/stdint.h (INT64_C, UINT64_C, INTMAX_C, UINTMAX_C)
[__have_long64 && __have_longlong64]: Use L and UL, not LL and ULL.
* libc/include/inttypes.h (__PRI64, __SCN64, __PRIMAX, __SCNMAX,
__PRIPTR, __SCNPTR) [__have_long64 && __have_longlong64]: Use l,
not ll.
schwab [Mon, 19 Jan 2009 19:55:26 +0000 (19:55 +0000)]
* configure.tgt (powerpc64-*): Fix targ_obj.
devans [Mon, 19 Jan 2009 19:04:59 +0000 (19:04 +0000)]
* dummy-frame.c (dummy_frame): Replace regcache member with
caller_state.
(dummy_frame_push): Replace caller_regcache arg with caller_state.
All callers updated.
(remove_dummy_frame,pop_dummy_frame,lookup_dummy_frame): New fns.
(dummy_frame_pop): Rewrite. Verify requested frame is in the
dummy frame stack. Restore program state.
(cleanup_dummy_frames): Rewrite.
(dummy_frame_sniffer): Update. Make static.
* dummy-frame.h (regcache,frame_info): Delete forward decls.
(inferior_thread_state): New forward decl.
(dummy_frame_push): Update prototype.
* frame.c (frame_pop): dummy_frame_pop now does all the work for
DUMMY_FRAMEs.
* infcall.c (breakpoint_auto_delete_contents): Delete.
(get_function_name,run_inferior_call): New fns.
(call_function_by_hand): Simplify by moving some code to
get_function_name, run_inferior_call. Inferior function call wrapped
in TRY_CATCH so there's less need for cleanups and all exits from
proceed are handled similarily. Detect program exit.
Detect program stopping in a different thread.
Make error messages more consistent.
* inferior.h (inferior_thread_state): Declare (opaque type).
(save_inferior_thread_state,restore_inferior_thread_state,
make_cleanup_restore_inferior_thread_state,
discard_inferior_thread_state, get_inferior_thread_state_regcache):
Declare.
(save_inferior_status): Update prototype.
* infrun.c: (normal_stop): When stopped for the completion of an
inferior function call, verify the expected stack frame kind.
(inferior_thread_state): New struct.
(save_inferior_thread_state,restore_inferior_thread_state,
do_restore_inferior_thread_state_cleanup,
make_cleanup_restore_inferior_thread_state,
discard_inferior_thread_state,
get_inferior_thread_state_regcache): New functions.
(inferior_status): Move stop_signal, stop_pc, registers to
inferior_thread_state. Remove restore_stack_info.
(save_inferior_status): Remove arg restore_stack_info.
All callers updated. Remove saving of state now saved by
save_inferior_thread_state.
(restore_inferior_status): Remove restoration of state now done by
restore_inferior_thread_state.
(discard_inferior_status): Remove freeing of registers, now done by
discard_inferior_thread_state.
* gdb.base/break.exp: Update expected gdb output.
* gdb.base/sepdebug.exp: Ditto.
* gdb.mi/mi-syn-frame.exp: Ditto.
* gdb.mi/mi2-syn-frame.exp: Ditto.
* gdb.base/call-signal-resume.exp: New file.
* gdb.base/call-signals.c: New file.
* gdb.base/unwindonsignal.exp: New file.
* gdb.base/unwindonsignal.c: New file.
* gdb.threads/interrupted-hand-call.exp: New file.
* gdb.threads/interrupted-hand-call.c: New file.
* gdb.threads/thread-unwindonsignal.exp: New file.
hp [Mon, 19 Jan 2009 17:33:25 +0000 (17:33 +0000)]
* ld-cris/expdref3.s, ld-cris/expdref4.s, ld-cris/weakref3.d,
ld-cris/weakref4.d: New tests.
* ld-cris/libdso-15b.d: Adjust for recent weakref fix.
hp [Mon, 19 Jan 2009 17:32:59 +0000 (17:32 +0000)]
* elf32-cris.c (elf_cris_copy_indirect_symbol): For other symbol
types than bfd_link_hash_indirect, before early return, call
_bfd_elf_link_hash_copy_indirect.
hjl [Mon, 19 Jan 2009 15:52:19 +0000 (15:52 +0000)]
2009-01-19 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/group9.s: Replace .byte with .long.
nickc [Mon, 19 Jan 2009 15:49:07 +0000 (15:49 +0000)]
* lib/gas-defs.exp (run_list_test): Fix typo in comment.
nickc [Mon, 19 Jan 2009 15:46:31 +0000 (15:46 +0000)]
* gas/arm/attr-syntax.d: Do not run for non-ELF based ARM targets.
* config/tc-arm.h (CONVERT_SYMBOLIC_ATTRIBUTE): Only define for
ELF format ARM targets.
* config/tc-arm.c (arm_convert_symbolic_attribute): Likewise.
nickc [Mon, 19 Jan 2009 15:40:56 +0000 (15:40 +0000)]
* configure.tgt: Restore alpha sorting to object format switch
statement.
corinna [Mon, 19 Jan 2009 15:36:14 +0000 (15:36 +0000)]
* include/winbase.h (enum _DEP_SYSTEM_POLICY_TYPE): Fix version guard.
ams [Mon, 19 Jan 2009 12:20:15 +0000 (12:20 +0000)]
2009-01-19 Andrew Stubbs <ams@codesourcery.com>
ld/testsuite/
* ld-arm/arm-elf.exp (armeabitests): Add EABI attribute merging 3,
EABI attribute merging 4, and EABI attribute merging 5,
EABI attribute arch merging 1, EABI attribute arch merging 1 reversed,
EABI attribute arch merging 2, EABI attribute arch merging 2 reversed.
Add attr-merge-unknown-1, attr-merge-unknown-2, attr-merge-unknown-2r,
and attr-merge-unknown-3 dump tests.
* ld-arm/arch-v6.s: New file.
* ld-arm/arch-v6k.s: New file.
* ld-arm/arch-v6t2.s: New file.
* ld-arm/attr-merge-3.attr: New file.
* ld-arm/attr-merge-3a.s: New file.
* ld-arm/attr-merge-3b.s: New file.
* ld-arm/attr-merge-4.attr: New file.
* ld-arm/attr-merge-4a.s: New file.
* ld-arm/attr-merge-4b.s: New file.
* ld-arm/attr-merge-5.attr: New file.
* ld-arm/attr-merge-5.s: New file.
* ld-arm/attr-merge-arch-1.attr: New file.
* ld-arm/attr-merge-arch-2.attr: New file.
* ld-arm/attr-merge-unknown-1.d: New file.
* ld-arm/attr-merge-unknown-1.s: New file.
* ld-arm/attr-merge-unknown-2.d: New file.
* ld-arm/attr-merge-unknown-2.s: New file.
* ld-arm/attr-merge-unknown-2r.d: New file.
* ld-arm/attr-merge-unknown-3.d: New file.
* ld-arm/blank.s: New file.
ams [Mon, 19 Jan 2009 12:14:04 +0000 (12:14 +0000)]
2009-01-19 Andrew Stubbs <ams@codesourcery.com>
bfd/
* elf-attrs.c (vendor_set_obj_attr_contents): Support tag ordering.
* elf-bfd.h (elf_backend_data): Add obj_attrs_order.
* elf32-arm.c (elf32_arm_obj_attrs_order): New function.
(elf_backend_obj_attrs_order): New define.
* elfxx-target.h (elf_backend_obj_attrs_order): New define.
(elfNN_bed): Add elf_backend_obj_attrs_order.
gas/testsuite/
* gas/arm/attr-order.d: New file.
* gas/arm/attr-order.s: New file.
ams [Mon, 19 Jan 2009 11:55:35 +0000 (11:55 +0000)]
2009-01-19 Andrew Stubbs <ams@codesourcery.com>
bfd/
* elf-attrs.c (is_default_attr): Substitute magic numbers with macros.
(obj_attr_size): Likewise.
(write_obj_attribute): Likewise.
(_bfd_elf_copy_obj_attributes): Likewise.
(_bfd_elf_parse_attributes): Likewise.
* elf-bfd.h (ATTR_TYPE_FLAG_INT_VAL): New define.
(ATTR_TYPE_FLAG_STR_VAL, ATTR_TYPE_FLAG_NO_DEFAULT): New defines.
(ATTR_TYPE_HAS_INT_VAL, ATTR_TYPE_HAS_STR_VAL): New defines.
(ATTR_TYPE_HAS_NO_DEFAULT): New define.
* elf32-arm.c (elf32_arm_obj_attrs_arg_type): Replace magic numbers
with macros.
ams [Mon, 19 Jan 2009 11:50:30 +0000 (11:50 +0000)]
2009-01-19 Andrew Stubbs <ams@codesourcery.com>
bfd/
* elf-attrs.c (is_default_attr): Support defaultless attributes.
(bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type.
(bfd_elf_add_obj_attr_string): Likewise.
(bfd_elf_add_obj_attr_int_string): Likewise.
(_bfd_elf_parse_attributes): Allow for unknown flag bits in type.
* elf-bfd.h (struct obj_attribute): Document new flag bit.
* elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that
Tag_nodefaults has no default value.
(elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults
comment to reflect the new state.
gas/
* read.c (s_vendor_attribute): Allow for unknown flag bits in type.
schwab [Mon, 19 Jan 2009 09:42:13 +0000 (09:42 +0000)]
Remove conflict marker.
amodra [Mon, 19 Jan 2009 06:11:21 +0000 (06:11 +0000)]
PR 9695
* pdp11.c (N_BADMAG): True for anything but OMAGIC, NMAGIC, ZMAGIC.
(some_aout_object_p): Delete dead code handling QMAGIC and BMAGIC.
(adjust_z_magix): Delete dead code handling QMAGIC.
devans [Mon, 19 Jan 2009 00:16:46 +0000 (00:16 +0000)]
* regcache.c (new_register_cache): No need to check result of xcalloc.
* server.c (handle_search_memory): Back out calls to xmalloc,
result is checked and error is returned to user upon failure.
(handle_query): Ditto. Add more checks for result of malloc.
(handle_v_cont): Check result of malloc, report error back to
user upon failure.
(handle_v_run): Ditto. Call freeargv.
* server.h (freeargv): Declare.
* utils.c (freeargv): New fn.
amodra [Mon, 19 Jan 2009 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 19 Jan 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
davek [Sun, 18 Jan 2009 23:12:15 +0000 (23:12 +0000)]
* configure.ac (funcs, vars, checkfuncs): Don't munge on Cygwin,
as it no longer shares libiberty object files.
* configure: Regenerated.
hp [Sun, 18 Jan 2009 22:17:46 +0000 (22:17 +0000)]
* sim/cris/asm/opterr5.ms, sim/cris/asm/opterr4.ms,
sim/cris/asm/opterr3.ms, sim/cris/asm/bare3.ms: New tests.
* lib/sim-defs.exp (run_sim_test): New option progopts.
hp [Sun, 18 Jan 2009 22:17:03 +0000 (22:17 +0000)]
* cris/sim-if.c: Include errno.h.
(cris_start_address, cris_program_offset): New variables.
(OPTION_CRIS_PROGRAM_OFFSET, OPTION_CRIS_STARTADDR): New option
enums.
(cris_options): New options --cris-program-offset and
--cris-start-address.
(cris_option_handler): Handle new options.
(cris_program_offset_write, cris_set_section_offset_iterator)
(cris_offset_sections, cris_offset_sections): New functions.
(sim_load): Use cris_program_offset_write as function argument to
cris_load_elf_file, not sim_write.
(struct offsetinfo): New struct.
(cris_handle_interpreter): Fix typo in comment.
(sim_open): Call cris_offset_sections as soon as the bfd of the
infile is available. Gate bfd validity checks on abfd non-NULL.
(sim_create_inferior): Let cris_start_address when != -1 override
other start-address choices.
palves [Sun, 18 Jan 2009 21:28:34 +0000 (21:28 +0000)]
* tui/tui-disasm.c (tui_vertical_disassem_scroll): Scroll one line
at a time, times NUM_TO_SCROLL.
* tui/tui-winsource.c (tui_horizontal_source_scroll): Don't try to
fetch the selected frame if there is no stack.
palves [Sun, 18 Jan 2009 17:42:15 +0000 (17:42 +0000)]
PR gdb/9747:
* gdbthread.h (finish_thread_state, finish_thread_state_cleanup):
Declare.
* thread.c (finish_thread_state, finish_thread_state_cleanup): New.
* infrun.c (wait_for_inferior, fetch_inferior_event): If an error
is thrown while handling an event, finish the thread state.
(normal_stop): Use finish_thread_state cleanup.
* infcmd.c (run_command_1): If an error is thrown while starting
the inferior, finish the thread state.
palves [Sun, 18 Jan 2009 17:05:47 +0000 (17:05 +0000)]
* tui/tui-winsource.c (tui_update_breakpoint_info): In asm layout,
skip breakpoints without a location (pending breakpoints).
palves [Sun, 18 Jan 2009 01:24:10 +0000 (01:24 +0000)]
* hppa-hpux-tdep.c (hppa_hpux_write_pc): Remove 'return'.
gdbadmin [Sun, 18 Jan 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sun, 18 Jan 2009 00:00:04 +0000 (00:00 +0000)]
daily update
nickrob [Sat, 17 Jan 2009 20:39:52 +0000 (20:39 +0000)]
(thread_command): Move call to annotate_thread_changed
to...
(do_captured_thread_select): ... here, to avoid printing an
annotation if the thread change generates an exception.
nickrob [Sat, 17 Jan 2009 20:39:33 +0000 (20:39 +0000)]
*** empty log message ***
corinna [Sat, 17 Jan 2009 17:20:36 +0000 (17:20 +0000)]
* mmap.cc (mmap64): Fix condition checking if anonymous mapping beyond
EOF is required.
ironhead [Sat, 17 Jan 2009 17:00:07 +0000 (17:00 +0000)]
2009-01-11 Henry Nestler <henry@bigfoot.de>
* lib/ddk/ntoskrnl.def: Enable ZwQueryEaFile, ZwSetEaFile, NtQueryEaFile,
NtSetEaFile.
corinna [Sat, 17 Jan 2009 11:59:16 +0000 (11:59 +0000)]
* Makefile.in: Fix copyright date.
* cygcheck.cc (scan_registry): Take additional parameter and add code
to avoid recursion in Wow6432Node subkey. Rename variable cygnus to
cygwin. Scan for "Cygwin" instead of for "cygnus" substring.
(dump_sysinfo): Drop unused calls to scan_registry. Drop scanning
HKEY_CURRENT_CONFIG.
corinna [Sat, 17 Jan 2009 10:16:42 +0000 (10:16 +0000)]
* fhandler_proc.cc: Reorganize global proc content data into a new
struct proc_tab_t. Accommodate throughout.
(format_proc_version): New function.
(format_proc_loadavg): New function.
(format_proc_self): New function.
* resource.cc (getrlimit): Return correct rlim_max value for
RLIMIT_NOFILE.
amodra [Sat, 17 Jan 2009 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 17 Jan 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
ktietz [Fri, 16 Jan 2009 15:09:19 +0000 (15:09 +0000)]
2009-01-16 Kai Tietz <kai.tietz@onevision.com>
* coffcode.h (styp_to_sec_flags): Correct interpretation of
IMAGE_SCN_MEM_DISCARDABLE.
hjl [Fri, 16 Jan 2009 14:14:05 +0000 (14:14 +0000)]
ld/
2009-01-16 H.J. Lu <hongjiu.lu@intel.com>
* lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
(ld_options): Add -Ttext-segment.
(parse_args): Handle OPTION_TTEXT_SEGMENT.
* ld.texinfo: Document -Ttext-segment.
* NEWS: Mention -Ttext-segment.
* scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
(SHLIB_TEXT_START_ADDR): Likewise.
ld/testsuite/
2009-01-16 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/textaddr1.d: New.
* ld-elf/textaddr2.d: Likewise.
corinna [Fri, 16 Jan 2009 12:17:27 +0000 (12:17 +0000)]
* Fix copyright dates.
corinna [Fri, 16 Jan 2009 12:10:02 +0000 (12:10 +0000)]
* cygcheck.cc (dump_sysinfo): Raise size of osname. Add Windows 7
and Windows 2008 R2 as recognized OSes. Update products array to
the latest documented list.
corinna [Fri, 16 Jan 2009 12:09:34 +0000 (12:09 +0000)]
* cygcheck.cc (dump_sysinfo): Raise size of osname. Add Windows 7
and Windows 2008 R2 as recognized OSes. Update products array to
the latest documented list.
jsm28 [Fri, 16 Jan 2009 11:38:14 +0000 (11:38 +0000)]
2009-01-16 Mark Shinwell <shinwell@codesourcery.com>
* config/te-armeabi.h (EABI_DEFAULT): Use EF_ARM_EABI_VER5.
* config/te-armlinuxeabi.h (EABI_DEFAULT): Likewise.
ams [Fri, 16 Jan 2009 10:26:47 +0000 (10:26 +0000)]
2009-01-16 Andrew Stubbs <ams@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
gas/
* config/tc-arm.c (arm_copy_symbol_attributes): New function.
* config/tc-arm.h (arm_copy_symbol_attributes): New prototype.
(CONVERT_SYMBOLIC_ATTRIBUTE): New define.
* read.c (s_vendor_attribute): Add support for symbolic tag names.
Improve string parser.
* doc/c-arm.texi (ARM Machine Directives): Document
.eabi_attribute symbolic tag names.
gas/testsuite/
* gas/arm/attr-syntax.d: New file.
* gas/arm/attr-syntax.s: New file.
amodra [Fri, 16 Jan 2009 08:07:43 +0000 (08:07 +0000)]
formatting
amodra [Fri, 16 Jan 2009 08:06:15 +0000 (08:06 +0000)]
* Makefile.def (configure-opcodes): Depend on configure-libiberty.
* Makefile.def (all-opcodes): Depend on all-libiberty.
* Makefile.in: Regenerate.