OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
13 years ago * ntdll.h (IsEventSignalled): New inline function.
corinna [Fri, 29 Apr 2011 08:27:09 +0000 (08:27 +0000)]
* ntdll.h (IsEventSignalled): New inline function.
* cygthread.cc (cygthread::terminate_thread): Use IsEventSignalled in
place of WaitForSingleObject on event with 0 timeout.
* fhandler.cc (fhandler_base_overlapped::has_ongoing_io): Ditto.
* fhandler_fifo.cc (fhandler_fifo::open_nonserver): Ditto.
(fhandler_fifo::wait): Ditto.
* fhandler_termios.cc (fhandler_termios::bg_check): Ditto.
* select.cc (verify_tty_slave): Ditto.
* thread.cc (pthread::testcancel): Ditto.

13 years ago * advapi32.cc (GetTokenInformation): Remove.
corinna [Fri, 29 Apr 2011 07:34:02 +0000 (07:34 +0000)]
* advapi32.cc (GetTokenInformation): Remove.
(SetTokenInformation): Remove.
* grp.cc: Replace above functions throughout with their ntdll.dll
equivalent.
* sec_auth.cc: Ditto.
* syscalls.cc: Ditto.
* uinfo.cc: Ditto.

13 years ago * posix_ipc.cc (ipc_cond_timedwait): Only wait for pthread's
corinna [Fri, 29 Apr 2011 07:22:04 +0000 (07:22 +0000)]
* posix_ipc.cc (ipc_cond_timedwait): Only wait for pthread's
cancel_event if thread's cancelability isn't disabled.

13 years ago * binutils-all/i386/compressed-1a.d: Adjust for change in output
hp [Fri, 29 Apr 2011 01:45:51 +0000 (01:45 +0000)]
* binutils-all/i386/compressed-1a.d: Adjust for change in output
format.

13 years ago * gas/elf/dwarf2-1.d, gas/elf/dwarf2-2.d: Adjust for change in
hp [Fri, 29 Apr 2011 01:45:05 +0000 (01:45 +0000)]
* gas/elf/dwarf2-1.d, gas/elf/dwarf2-2.d: Adjust for change in
output format.
* gas/i386/dw2-compress-1.d: Ditto.

13 years agodaily update
amodra [Fri, 29 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Fri, 29 Apr 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

13 years ago * bfdio.c (memory_bstat): Pass correct size to memset.
tromey [Thu, 28 Apr 2011 20:36:49 +0000 (20:36 +0000)]
* bfdio.c (memory_bstat): Pass correct size to memset.

13 years agogdb/
jkratoch [Thu, 28 Apr 2011 17:37:02 +0000 (17:37 +0000)]
gdb/
* symtab.c (expand_partial_symbol_name): New variable NCMP.  Support
case insensitive comparison.

13 years ago * NEWS: Add note about --dwarf-depth, --dwarf-start, and
tromey [Thu, 28 Apr 2011 17:23:14 +0000 (17:23 +0000)]
* NEWS: Add note about --dwarf-depth, --dwarf-start, and
dwarf-mode.el.
* objdump.c (suppress_bfd_header): New global.
(usage): Update.
(OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
(options): Add dwarf-depth and dwarf-start entries.
(dump_bfd): Use suppress_bfd_header.
(main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
* doc/binutils.texi (objcopy): Document --dwarf-depth and
--dwarf-start.
(readelf): Likewise.
* dwarf-mode.el: New file.
* dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
(read_and_display_attr_value): Also check debug_info_p.
(process_debug_info): Handle dwarf_start_die and
dwarf_cutoff_level.
* dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
* readelf.c (usage): Update.
(OPTION_DWARF_DEPTH): New macro.
(OPTION_DWARF_START): Likewise.
(options): Add dwarf-depth and dwarf-start entries.
(parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
testsuite
* binutils-all/objdump.W: Correct output.

13 years ago * configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
jsm28 [Thu, 28 Apr 2011 16:46:33 +0000 (16:46 +0000)]
* configure.ac (*-*-dragonfly*, *-*-freebsd*, *-*-netbsd*,
alpha*-dec-osf*, alpha*-*-linux*, alpha*-*-*, sh-*-linux*,
arm-*-elf* | arm*-*-eabi*, arm*-*-linux-gnueabi, frv-*-*): Remove
cases in libgcj-disabling case statement.
(hppa*64*-*-linux*): Set unsupported_languages instead of
disabling target-zlib.
(hppa*64*-*-*): Restrict case in libgcj-disabling case statement
to hppa*64*-*-hpux*.
(hppa*-*-*): Restrict case in libgcj-disabling case statement to
hppa*-*-hpux*.
(ia64*-*-elf*, ia64*-**-hpux*, i[[3456789]]86-*-elf,
i[[3456789]]86-*-linux*, *-*-cygwin*, i[[3456789]]86-*-interix*,
i[[3456789]]86-*-solaris2*, m32r-*-*, m68k-*-elf*, m68*-*-* |
fido-*-*, powerpc-*-eabi, powerpc-*-eabi* | powerpcle-*-eabi* |
powerpc-*-rtems*, mips*-*-linux*, mips*-*-*, sh-*-* | sh64-*-*,
sparc-*-elf*, sparc64-*-elf*, sparc-*-solaris* |
sparc64-*-solaris* | sparcv9-*-solaris*, *-*-linux* | *-*-gnu* |
*-*-k*bsd*-gnu | *-*-kopensolaris*-gnu, *-*-*): Remove cases in
libgcj-disabling case statement.
* configure: Regenerate.

13 years ago * advapi32.cc (SetSecurityDescriptorDacl): Remove.
corinna [Thu, 28 Apr 2011 15:54:46 +0000 (15:54 +0000)]
* advapi32.cc (SetSecurityDescriptorDacl): Remove.
(SetSecurityDescriptorGroup): Remove.
(SetSecurityDescriptorOwner): Remove.
* pinfo.cc: Replace above functions throughout with their ntdll.dll
equivalent.
* sec_acl.cc: Ditto.
* sec_helper.cc: Ditto.
* security.cc: Ditto.

* sec_helper.cc (__sec_user): Remove old comment.

13 years ago gdb/
uweigand [Thu, 28 Apr 2011 15:52:53 +0000 (15:52 +0000)]
gdb/
* infrun.c (proceed): Revert previous change.
(resume): Instead, handle the case of signal delivery while stepping
off a breakpoint location here, and only if software single-stepping
is used.  Handle nested signals.

gdb/testsuite/
* gdb.base/signest.exp: New file.
* gdb.base/signest.c: Likewise.

13 years ago PR ld/12614
amodra [Thu, 28 Apr 2011 15:29:41 +0000 (15:29 +0000)]
PR ld/12614
* emultempl/pe.em (_after_open): Correctly check whether symbol is
in undef list.

13 years ago * posix_ipc.cc (ipc_cond_timedwait): Also wait for pthread's
corinna [Thu, 28 Apr 2011 14:44:24 +0000 (14:44 +0000)]
* posix_ipc.cc (ipc_cond_timedwait): Also wait for pthread's
cancel_event, if any.  Call pthread_testcancel if cancel_event has been
signalled.

13 years ago * configure.ac: Disable Java for targets not supporting libffi.
jsm28 [Thu, 28 Apr 2011 13:33:02 +0000 (13:33 +0000)]
* configure.ac: Disable Java for targets not supporting libffi.
(*-*-chorusos, *-*-kaos*, am33_2.0-*-linux*, sh*-*-pe|mips*-*-pe):
Remove cases in Java-disabling statement.
(*arm-wince-pe): Change to arm-wince-pe.
(arc-*-*, arm-*-coff, arm-*-pe*, arm-*-riscix*, avr-*-*): Remove
cases in Java-disabling statement.
(bfin-*-*): Don't disable Java again.
(c4x-*-* | tic4x-*-*, tic54x-*-*, cr16-*-*, d10v-*-*, d30v-*-*,
fr30-*-elf*, moxie-*-*, h8300*-*-*, h8500-*-*, hppa1.1-*-osf* |
hppa1.1-*-bsd*, hppa*-*-*elf* | hppa*-*-lites* | hppa*-*-openbsd*,
hppa*-*-pro*, i960-*-*, i[[3456789]]86-*-coff,
i[[3456789]]86-*-pe, i[[3456789]]86-*-sco3.2v5*,
i[[3456789]]86-*-sco*, i[[3456789]]86-*-sysv4*,
i[[3456789]]86-*-beos*, i[[3456789]]86-*-rdos*,
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*): Remove cases in
Java-disabling statement.
(mmix-*-*): Don't disable Java again.
(mt-*-*, powerpc*-*-winnt* | powerpc*-*-pe*, powerpcle-*-solaris*,
powerpc-*-beos*, rs6000-*-lynxos*, rs6000-*-*, m68k-apollo-*,
microblaze*, mips*-sde-elf*, mips*-*-irix5*, mips*-*-bsd*,
sparclet-*-aout* | sparc86x-*-*, sparclite-*-*, sparc-*-sunos4*,
tic6x-*-*, v810-*-*, vax-*-*): Remove cases in Java-disabling
statement.
* configure: Regenerate.

13 years ago Merge from GCC:
jsm28 [Thu, 28 Apr 2011 13:26:23 +0000 (13:26 +0000)]
Merge from GCC:

2011-04-18  Jack Howarth  <howarth@bromo.med.uc.edu>

PR lto/48086
* configure.ac: Re-enable LTO on *-apple-darwin9*.
* configure: Regenerate.

13 years ago * configure.ac: Separate cases disabling Java and Java libraries
jsm28 [Thu, 28 Apr 2011 13:24:51 +0000 (13:24 +0000)]
* configure.ac: Separate cases disabling Java and Java libraries
from general case over targets.
* configure: Regenerate.

13 years agobfd: constify a few arrays
vapier [Thu, 28 Apr 2011 12:50:30 +0000 (12:50 +0000)]
bfd: constify a few arrays

13 years ago * posix_ipc.cc (ipc_cond_timedwait): Remove pthread_testcancel calls.
corinna [Thu, 28 Apr 2011 12:36:25 +0000 (12:36 +0000)]
* posix_ipc.cc (ipc_cond_timedwait): Remove pthread_testcancel calls.
(_mq_send): Add pthread_testcancel call at start of function.
(_mq_receive): Ditto.

13 years ago * cygerrno.h (geterrno_from_nt_status): Declare.
corinna [Thu, 28 Apr 2011 12:13:40 +0000 (12:13 +0000)]
* cygerrno.h (geterrno_from_nt_status): Declare.
* errno.cc (geterrno_from_nt_status): Define.
* flock.cc: Fix copyright dates.
* ntdll.h (enum _TIMER_TYPE): Define.
(PTIMER_APC_ROUTINE): Define.
(NtCancelTimer): Declare.
(NtCreateTimer): Declare.
(NtSetTimer): Declare.
* posix_ipc.cc (ipc_cond_timedwait): Rewrite to make interruptible and
restartable.  Call pthread_testcancel in case of timeout to enable
pthread_cancel on waiting thread.  Replace WFMO timeout with waiting
for a waitable timer.  Explain why.  Replace single call to WFMO with
two calls, one for the event, one for the mutex.  Don't lock mutex in
case of error.
(ipc_cond_signal): Make void function.
(ipc_cond_close): Ditto.
(_mq_send): Immediately return -1 in case of error from
ipc_cond_timedwait.
(_mq_receive): Ditto.

13 years ago * cygerrno.h (geterrno_from_nt_status): Declare.
corinna [Thu, 28 Apr 2011 12:13:26 +0000 (12:13 +0000)]
* cygerrno.h (geterrno_from_nt_status): Declare.
* errno.cc (geterrno_from_nt_status): Define.
* flock.cc: Fix copyright dates.
* ntdll.h (enum _TIMER_TYPE): Define.
(PTIMER_APC_ROUTINE): Define.
(NtCancelTimer): Declare.
(NtCreateTimer): Declare.
(NtSetTimer): Declare.
* posix_ipc.cc (ipc_cond_timedwait): Rewrite to make interruptible and
restartable.  Call pthread_testcancel in case of timeout to enable
pthread_cancel on waiting thread.  Replace WFMO timeout with waiting
for a waitable timer.  Explain why.  Replace single call to WFMO with
two calls, one for the event, one for the mutex.  Don't lock mutex in
case of error.
(ipc_cond_signal): Make void function.
(ipc_cond_close): Ditto.
(_mq_send): Immediately return -1 in case of error from
ipc_cond_timedwait.
(_mq_receive): Ditto.

13 years ago * advapi32.cc (GetSecurityDescriptorDacl): Remove.
corinna [Thu, 28 Apr 2011 09:53:10 +0000 (09:53 +0000)]
* advapi32.cc (GetSecurityDescriptorDacl): Remove.
(GetSecurityDescriptorGroup): Remove.
(GetSecurityDescriptorOwner): Remove.
* sec_acl.cc: Replace above functions throughout with their ntdll.dll
equivalent.  Remove redundant debug output.
* sec_auth.cc: Ditto.
* security.cc: Ditto.
* uinfo.cc: Ditto.

13 years ago * advapi32.cc (InitializeAcl): Remove.
corinna [Thu, 28 Apr 2011 09:30:35 +0000 (09:30 +0000)]
* advapi32.cc (InitializeAcl): Remove.
(AddAce): Remove.
(FindFirstFreeAce): Remove.
(GetAce): Remove.
(InitializeSecurityDescriptor): Remove.
(OpenProcessToken): Remove.
* dcrt0.cc: Replace above functions throughout with their ntdll.dll
equivalent.
* fhandler_tty.cc: Ditto.
* flock.cc: Ditto.
* pinfo.cc: Ditto.  Drop unnecessary error handling.
* sec_acl.cc: Ditto.
* sec_auth.cc: Ditto.
* sec_helper.cc: Ditto.
* security.cc: Ditto.

13 years ago * advapi32.cc (InitializeSid): Remove.
corinna [Thu, 28 Apr 2011 08:34:49 +0000 (08:34 +0000)]
* advapi32.cc (InitializeSid): Remove.
(EqualPrefixSid): Remove.
(GetLengthSid): Remove.
(GetSidSubAuthority): Remove.
(GetSidSubAuthorityCount): Remove.
(GetSidIdentifierAuthority): Remove.
* fhandler_disk_file.cc: Remove above functions throughout with their
ntdll.dll equivalent.
* sec_auth.cc: Ditto.
* sec_helper.cc: Ditto.
* security.cc: Ditto.

13 years ago * advapi32.cc (AllocateLocallyUniqueId): Remove.
corinna [Thu, 28 Apr 2011 08:15:54 +0000 (08:15 +0000)]
* advapi32.cc (AllocateLocallyUniqueId): Remove.
* fhandler_disk_file.cc (fhandler_base::open_fs): Replace call to
AllocateLocallyUniqueId with call to NtAllocateLocallyUniqueId;
* posix_ipc.cc (mq_open): Ditto.  Drop error handling for that call.
(sem_open): Ditto.

13 years agogdb/testsuite/
jkratoch [Thu, 28 Apr 2011 07:31:29 +0000 (07:31 +0000)]
gdb/testsuite/
* lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
thread and breakpoint notifications.

13 years ago * autoload.cc (GetSecurityInfo): Remove.
corinna [Thu, 28 Apr 2011 07:27:48 +0000 (07:27 +0000)]
* autoload.cc (GetSecurityInfo): Remove.
* ntdll.h (RtlConvertToAutoInheritSecurityObject): Declare.
(RtlDeleteSecurityObject): Declare.
(RtlGetControlSecurityDescriptor): Declare.
(RtlLengthSecurityDescriptor): Declare.
* security.cc (file_mapping): New global variable.
(get_file_sd): Rewrite.  Clean up code.  Get rid of GetSecurityInfo
call.
(alloc_sd): Call RtlSetControlSecurityDescriptor to set
SE_DACL_PROTECTED flag.
(check_file_access): Remove mapping.  Use file_mapping instead.
(check_registry_access): Rename mapping to reg_mapping.
* wincap.cc: Througout, drop use_get_sec_info_on_dirs,
* wincap.h (struct wincaps): Drop use_get_sec_info_on_dirs.

13 years agobinutils/
jkratoch [Thu, 28 Apr 2011 07:27:30 +0000 (07:27 +0000)]
binutils/
* dwarf.c (display_gdb_index): Support version 5, warn on version 4.

13 years ago * cg_print.c (print_header): Add no-c-format comment to prevent
amodra [Thu, 28 Apr 2011 05:12:13 +0000 (05:12 +0000)]
* cg_print.c (print_header): Add no-c-format comment to prevent
confusion when translating "%time".

13 years ago2011-04-28 Yao Qi <yao@codesourcery.com>
qiyao [Thu, 28 Apr 2011 04:59:19 +0000 (04:59 +0000)]
2011-04-28  Yao Qi  <yao@codesourcery.com>

* arm-tdep.c (copy_unmodified): Rename to ...
(arm_copy_unmodified): .. this.  New.
(copy_preload): Move common part to ...
(install_preload): .. this.  New.
(arm_copy_preload): New.
(copy_preload_reg): Move common part to ...
(install_preload_reg): ... this.  New.
(arm_copy_preload_reg): New.
(copy_b_bl_blx): Move common part to ...
(install_b_bl_blx): .. this.  New.
(arm_copy_b_bl_blx): New.
(copy_bx_blx_reg): Move common part to ...
(install_bx_blx_reg): ... this. New.
(arm_copy_bx_blx_reg): New.
(copy_alu_reg): Move common part to ...
(install_alu_reg): ... this.  New.
(arm_copy_alu_reg): New.
(copy_alu_shifted_reg): Move common part to ...
(install_alu_shifted_reg): ... this.  New.
(copy_ldr_str_ldrb_strb): Move common part to ...
(install_ldr_str_ldrb_strb): ... this.  New.
(arm_copy_ldr_str_ldrb_strb): New.
(copy_copro_load_store): Move some common part to ...
(install_copy_copro_load_store): ... this.  New.
(arm_copy_copro_load_store): New.
(copy_svc): Delete.
(arm_copy_svc): Renamed from copy_svc.
(copy_undef): Delete.
(arm_copy_undef): Renamed from copy_undef.
(decode_ext_reg_ld_st): Delete.
(arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st.
(decode_svc_copro): Delete.
(arm_decode_svc_copro): Renamed from decode_svc_copro.
(copy_copro_load_store, copy_alu_imm): update callers.
(copy_extra_ld_st, copy_block_xfer): Likewise.
(decode_misc_memhint_neon, decode_unconditional): Likewise.
(decode_miscellaneous, decode_dp_misc): Likewise.
(decode_ld_st_word_ubyte, decode_media): Likewise.
(decode_b_bl_ldmstm, decode_ext_reg_ld_st): Likewise.
(decode_svc_copro, decode_misc_memhint_neon): Likewise.
(decode_unconditional, decode_miscellaneous): Likewise.
(decode_media, decode_b_bl_ldmstm): Likewise.
(arm_process_displaced_insn): Likewise..
(decode_misc_memhint_neon): Delete.
(arm_decode_misc_memhint_neon): Renamed from decode_misc_memhint_neon.
(decode_miscellaneous): Delete.
(arm_decode_miscellaneous): Renamed from decode_miscellaneous.
(decode_dp_misc): Delete.
(arm_decode_dp_misc): Renamed from decode_dp_misc.
(decode_ld_st_word_ubyte): Delete.
(arm_decode_ld_st_word_ubyte): Renamed from decode_ld_st_word_ubyte.
(decode_media): Delete.
(arm_decode_media): Renamed from decode_media.
(decode_b_bl_ldmstm): Delete.
(arm_decode_b_bl_ldmstm): Renamed from decode_b_bl_ldmstm.
(decode_ext_reg_ld_st): Delete.
(arm_decode_ext_reg_ld_st): Renamed from decode_ext_reg_ld_st.
(decode_unconditional): Delete.
(arm_decode_unconditional): Renamed from decode_unconditional.

13 years agodaily update
amodra [Thu, 28 Apr 2011 00:00:06 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Thu, 28 Apr 2011 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

13 years agosim: bfin: constify dmac pmap arrays
vapier [Wed, 27 Apr 2011 21:29:03 +0000 (21:29 +0000)]
sim: bfin: constify dmac pmap arrays

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agogdb/doc/
jkratoch [Wed, 27 Apr 2011 20:03:03 +0000 (20:03 +0000)]
gdb/doc/
* gdb.texinfo (Index Section Format): Change the version to 5.
Describe the different formula.

gdb/
Case insensitive lookups implementation.
* dwarf2read.c: Include ctype.h.
(struct mapped_index): New field version.
(mapped_index_string_hash): New parameter index_version.  New comment
for it.  Call tolower appropriately.
(find_slot_in_mapped_hash): New variable cmp, initialize it, use it.
Choose the right index version for mapped_index_string_hash.
(dwarf2_read_index): Support also the index version 5.  Initialize the
new struct mapped_index field version.
(hash_strtab_entry): Pass INT_MAX for the new parameter, explain why.
(find_slot): Explain the version needs.  Pass INT_MAX for the new
parameter.
(write_psymtabs_to_index): Produce version 5.
* minsyms.c (lookup_minimal_symbol): New variable cmp, initialize it,
use it.  New comment for SYMBOL_MATCHES_SEARCH_NAME.
* psymtab.c (lookup_partial_symbol): Find the
SYMBOL_MATCHES_SEARCH_NAME start of the found block of matching
entries.
* symtab.c (lookup_symbol_in_language): Remove the case_sensitive_off
NAME lowercasing.
(search_symbols): Pass REG_ICASE to regcomp for case_sensitive_off.
(completion_list_add_name): New variable ncmp, initialize it, use it.
* symtab.h (SYMBOL_HASH_NEXT): Always call tolower.
* utils.c (strcmp_iw): Support case_sensitive_off.
(strcmp_iw_ordered): Sort in a way compatible with case_sensitive_off.
New function comment part.  New variables saved_string1,
saved_string2 and case_pass.  Add a proper second pass.

gdb/testsuite/
* gdb.base/fortran-sym-case.c: New file.
* gdb.base/fortran-sym-case.exp: New file.
* gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
* gdb.dwarf2/dw2-case-insensitive.c: New file.
* gdb.dwarf2/dw2-case-insensitive.exp: New file.

13 years agogdb/
jkratoch [Wed, 27 Apr 2011 19:55:09 +0000 (19:55 +0000)]
gdb/
Replace re_comp/re_exec by regcomp/regexec.
* symtab.c (struct search_symbols_data): New fields preg, preg_p.
(search_symbols_name_matches): Use them, use regexec.
(search_symbols): New variable retval_chain, adjust the use of
old_chain against it.  Replace re_comp by regcomp.  Use the new struct
search_symbols_data fields, use regexec instead of re_exec.

13 years agogdb/
jkratoch [Wed, 27 Apr 2011 19:52:19 +0000 (19:52 +0000)]
gdb/
Format the code for the next patch.
* dwarf2read.c (struct mapped_index): Include delimiting newlines.
* utils.c (strcmp_iw_ordered): Reformat the code for the next patch.
New variables c1 and c2.

13 years agogdb/testsuite/
jkratoch [Wed, 27 Apr 2011 19:44:41 +0000 (19:44 +0000)]
gdb/testsuite/
* lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
* gdb.base/ifelse.exp: Give names to the "" tests as `if true else
false #1', `if true else false #2' and `if true else false #3'.

13 years agofix strict-aliasing warnings
froydnj [Wed, 27 Apr 2011 18:37:40 +0000 (18:37 +0000)]
fix strict-aliasing warnings
* linux-x86-low.c (amd64_emit_const): Call memcpy instead of
casting pointers.
(amd64_emit_reg, amd64_emit_int_call_1, amd64_emit_void_call_2):
(i386_emit_const, i386_emit_reg, i386_emit_int_call_1):
(i386_emit_void_call_2): Likewise.

13 years agoChangeLog:
uweigand [Wed, 27 Apr 2011 17:08:37 +0000 (17:08 +0000)]
ChangeLog:

* infrun.c (proceed): Do not single-step into signal delivery
when stepping off a breakpoint location.
(insert_step_resume_breakpoint_at_frame): Move prototype earlier.
(insert_step_resume_breakpoint_at_caller): Likewise.
(insert_step_resume_breakpoint_at_sal): Likewise.
(insert_longjmp_resume_breakpoint): Likewise.

testsuite/ChangeLog:

* gdb.base/annota1.exp: Accept breakpoints-invalid annotation
while delivering signal.

13 years ago2011-04-27 Yao Qi <yao@codesourcery.com>
qiyao [Wed, 27 Apr 2011 15:43:31 +0000 (15:43 +0000)]
2011-04-27  Yao Qi  <yao@codesourcery.com>

* common/linux-ptrace.h: Remove include <sys/wait.h>.

13 years ago2011-04-27 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 27 Apr 2011 15:04:04 +0000 (15:04 +0000)]
2011-04-27  Tristan Gingold  <gingold@adacore.com>

* xcoff.h (F_FDPR_PROF, F_FDPR_OPTI, F_DSA, F_VARPG)
(STYP_DWARF, SSUBTYP_DWINFO)
(SSUBTYP_DWLINE, SSUBTYP_DWPBNMS, SSUBTYP_DWPBTYP)
(SSUBTYP_DWARNGE, SSUBTYP_DWABREV, SSUBTYP_DWSTR)
(SSUBTYP_DWRNGES, STYP_TDATA, STYP_TBSS, R_TLS, R_TLS_IE)
(R_TLS_LD, R_TLS_LE, R_TLSM, R_TLSML, R_TOCU, R_TOCL, C_DWARF):
New macros.

13 years agofix procfs.c:procfs_pass_signals advance declaration
brobecke [Wed, 27 Apr 2011 14:28:33 +0000 (14:28 +0000)]
fix procfs.c:procfs_pass_signals advance declaration

gdb/ChangeLog:

* procfs.c (procfs_pass_signals): Fix advance declaration.

13 years ago * target.h (struct target_ops): Remove to_notice_signals;
uweigand [Wed, 27 Apr 2011 13:29:11 +0000 (13:29 +0000)]
* target.h (struct target_ops): Remove to_notice_signals;
add to_pass_signals.
(target_notice_signals): Remove.
(target_pass_signals): Add prototype.
* target.c (update_current_target): Remove to_notice_signals;
mention to_pass_signals.
(target_pass_signals): New function.
(debug_to_notice_signals): Remove.
(setup_target_debug): Do not install debug_to_notice_signals.

* infrun.c (signal_pass): New global.
(resume): Call target_pass_signals.
(handle_inferior_event): Report all signals while stepping over
non-steppable watchpoint.  Reset trap_expected to ensure breakpoints
are re-inserted when stepping over a signal handler.
(signal_cache_update): New function.
(signal_stop_update): Call it.
(signal_print_update): Likewise.
(signal_pass_update): Likewise.
(handle_command): Call signal_cache_update and target_pass_signals
instead of target_notice_signals.
(_initialize_infrun): Initialize signal_pass.

* linux-nat.c (pass_mask): New global.
(linux_nat_pass_signals): New function.
(linux_nat_create_inferior): Report all signals initially.
(linux_nat_attach): Likewise.
(linux_nat_resume): Use pass_mask to decide whether to directly
handle an inferior signal.
(linux_nat_wait_1): Likewise.
(linux_nat_add_target): Install to_pass_signals callback.

* nto-procfs.c (notice_signals): Remove.
(procfs_resume): Do not call notice_signals.
(procfs_notice_signals): Remove.
(procfs_pass_signals): New function.
(init_procfs_ops): Install to_pass_signals callback instead of
to_notice_signals callback.
(_initialize_procfs): Report all signals initially.

* procfs.c (procfs_notice_signals): Remove.
(procfs_pass_signals): New function.
(procfs_target): Install to_pass_signals callback instead of
to_notice_signals callback.
(register_gdb_signals): Remove.
(procfs_debug_inferior): Report all signals initially.
(procfs_init_inferior): Remove redundant register_gdb_signals call.

* remote.c (remote_pass_signals): Add numsigs and pass_signals
parameters; use them instead of calling signal_..._state routines.
(remote_notice_signals): Remove.
(remote_start_remote): Report all signals initially.
(remote_resume): Do not call remote_pass_signals.
(_initialize_remote): Install to_pass_signals callback instead of
to_notice_signals callback.

13 years ago2011-04-27 Pedro Alves <pedro@codesourcery.com>
palves [Wed, 27 Apr 2011 12:44:25 +0000 (12:44 +0000)]
2011-04-27  Pedro Alves  <pedro@codesourcery.com>

gdb/
* breakpoint.c (user_settable_breakpoint): Delete.
(user_breakpoint_p): Remove check on user_settable_breakpoint.
(delete_command): Check user_breakpoint_p instead of looking at
the breakpoint's type.
(disable_command): Ditto.
(enable_command): Ditto.
(delete_trace_command): Use user_breakpoint_p instead of looking
at the breakpoint number directly.  When checking if there are
user visible tracepoints, in order to know whether to ask the user
for confirmation, check whether the breakpoint is actually a
tracepoint.

13 years ago2011-04-27 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 27 Apr 2011 12:09:47 +0000 (12:09 +0000)]
2011-04-27  Tristan Gingold  <gingold@adacore.com>

        * dwarf.c (process_extended_line_op): Handle
        DW_LNE_HP_source_file_correlation.

13 years ago * python/py-breakpoint.c (gdbpy_breakpoint_created): Fix
vprus [Wed, 27 Apr 2011 12:04:39 +0000 (12:04 +0000)]
* python/py-breakpoint.c (gdbpy_breakpoint_created): Fix
compilation.

13 years ago MI breakpoint notifications.
vprus [Wed, 27 Apr 2011 10:17:33 +0000 (10:17 +0000)]
MI breakpoint notifications.

        * annotate.c (breakpoint_changed): Adjust parameter type.
        * breakpoint.c (set_breakpoint_condition): Adjust to change
        in breakpoint_modified type.
        (breakpoint_set_commands): Likewise.
        (do_map_commands_command): Likewise.
        (bpstat_check_breakpoint_conditions): Notify that breakpoint has
        changed after bumping hit count.
        (bpstat_stop_status): Likewise.
        (print_one_breakpoint_location): Don't wrap in tuple here.
        (print_one_breakpoint): Always print individual locations.
        For locations, use unnamed tuple.
        (disable_breakpoints_in_unloaded_shlib): Notify that breakpoint
        has changed.
        (create_catchpoint, create_syscall_event_catchpoint): Call
        breakpoint_created obsever.
        (mention): Don't call breakpoint_created observer.
        (create_breakpoint_sal): Call breakpoint_created observer.
        (create_breakpoint, watch_command_1): Likewise.
        (create_ada_exception_breakpoint): Likewise.
        (delete_breakpoint): Call breakpoint_deleted breakpoint.
        (locations_are_equal): New.
        (update_breakpoint_locations): If locations were changed, notify.
        (set_ignore_count, disable_breakpoint, do_enable_breakpoint):
        Call breakpoint_modified observer.

        * mi/mi-cmd-break.c (breakpoint_notify): Adjust.
        (mi_cmd_break_insert): Don't set observers for modify and delete.
        * mi/mi-interp.c (mi_suppress_breakpoint_notifications): New.
        (mi_breakpoint_created, mi_breakpoint_deleted)
        (mi_breakpoint_modified): New.
        (mi_interpreter_init): Hook the above.
        * mi/mi-main.c (mi_cmd_execute): Disable breakpoint notifications
        while -break-* commands are executing.
        * mi/mi-main.h (mi_suppress_breakpoint_notifications): New.
        * mi/mi-out.c (struct ui_out_data): New field original_buffer.
        (mi_redirect): New.
        (mi_ui_out_impl): Hook in mi_redirect.
        (mi_field_skip): True to the name, skip the field, don't output
        a field with an empty value.

        * python/py-breakpoint.c (gdbpy_breakpoint_created)
        (gdbpy_breakpoint_deleted): Adjust.
        * tui/tui-hooks.c (tui_event_create_breakpoint)
        (tui_event_delete_breakpoint, tui_event_modify_breakpoint): Adjust.

13 years agoUpdated Danish, Esperanto and French translations.
nickc [Wed, 27 Apr 2011 10:02:24 +0000 (10:02 +0000)]
Updated Danish, Esperanto and French translations.

13 years agodaily update
amodra [Wed, 27 Apr 2011 00:00:06 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Wed, 27 Apr 2011 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

13 years ago2011-04-26 Aleksandar Ristovski <aristovski@qnx.com>
uweigand [Tue, 26 Apr 2011 17:32:29 +0000 (17:32 +0000)]
2011-04-26  Aleksandar Ristovski  <aristovski@qnx.com>

* nto-procfs.c (procfs_insert_hw_watchpoint): Fix prototype.
(procfs_remove_hw_watchpoint): Likewise.

13 years ago2011-04-26 Michael Walle <michael@walle.cc>
tromey [Tue, 26 Apr 2011 15:40:56 +0000 (15:40 +0000)]
2011-04-26  Michael Walle  <michael@walle.cc>

* remote.c (remote_start_remote): Ack packet after sending the
interrupt sequence.

13 years agogdb/
qiyao [Tue, 26 Apr 2011 15:35:59 +0000 (15:35 +0000)]
gdb/

        * linux-nat.c: Move common macros to ...
        Include linux-ptrace.h.
        * common/linux-ptrace.h: ... here.  New.

gdb/gdbserver/

        * linux-low.c: Move common macros to linux-ptrace.h.
        Include linux-ptrace.h.
* Makefile.in (linux_ptrace_h): New.
(linux-low.o): Depends on linux-ptrace.h.

13 years ago * dw2gencfi.c (dwcfi_seg_list): New struct.
nickc [Tue, 26 Apr 2011 15:28:03 +0000 (15:28 +0000)]
* dw2gencfi.c (dwcfi_seg_list): New struct.
(dwcfi_hash): New static hash variable.
(get_debugseg_name): New.
(alloc_debugseg_item): New.
(make_debug_seg): New.
(dwcfi_hash_insert): New.
(dwcfi_hash_find): New.
(dwcfi_hash_find_or_make): New.
(cfi_insn_data): New member cur_seg.
(cie_entry): Likewise.
(fde_entry): New cseg and handled members.
(alloc_fde_entry): Initialize cseg member.
(alloc_cfi_insn_data): Initialize cur_seg member.
(dot_cfi_sections): Compare for beginning of
section names via strncmp.
(get_cfi_seg): New.
(cfi_finish): Treat link-once sections.
(is_now_linkonce_segment): New local helper.
(output_cie): Ignore cie entries not member of current
segment.
(output_fde): Likewise.
(select_cie_for_fde): Likewise.
(cfi_change_reg_numbers): Add new argument for current segment
and ignore insn elements, if not part of current segment.
* ehopt.c (get_cie_info): Use strncmp for
section name matching.
(heck_eh_frame): Likewise.

* coffcode.h (sec_to_styp_flags): Allow linkonce for
debugging sections.

* scripttempl/pe.sc: Handle .eh_frame($|.)* sections.
* scripttempl/pep.sc: Likewise.

* ld-pe/pe.exp: Add cfi/cfi32 tests.
* ld-pe/cfi.d: New.
* ld-pe/cfi32.d: New.
* ld-pe/cfia.s: New.
* ld-pe/cfib.s: New.

13 years ago2011-04-26 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 26 Apr 2011 14:57:35 +0000 (14:57 +0000)]
2011-04-26  Tristan Gingold  <gingold@adacore.com>

* coff64-rs6000.c: Convert to ISO-C.  Remove PARAMS and PTR macros.

13 years ago * readelf.c (print_stapsdt_note): New function.
tromey [Tue, 26 Apr 2011 13:17:20 +0000 (13:17 +0000)]
* readelf.c (print_stapsdt_note): New function.
(process_note): Use it.

13 years ago * readelf.c (get_stapsdt_note_type): New function.
tromey [Tue, 26 Apr 2011 13:09:10 +0000 (13:09 +0000)]
* readelf.c (get_stapsdt_note_type): New function.
(process_note): Recognize "stapsdt" notes.

13 years ago * readelf.c (process_corefile_note_segment): Change header field
tromey [Tue, 26 Apr 2011 13:07:46 +0000 (13:07 +0000)]
* readelf.c (process_corefile_note_segment): Change header field
widths.
(process_note): Change field widths.

13 years agosim: gpio: add output support
vapier [Tue, 26 Apr 2011 05:47:14 +0000 (05:47 +0000)]
sim: gpio: add output support

Make all of the pins bidirectional, and support sending signals when
software drives the pins as outputs.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agosim: gpio: update mask a/b signals better
vapier [Tue, 26 Apr 2011 05:46:02 +0000 (05:46 +0000)]
sim: gpio: update mask a/b signals better

When the mask a/b MMRs are written, the output signal might change levels
(as pins are [un]masked), so make sure we update the output level.

Further, make sure we handle edge ints correctly by first sending a high
signal followed by a low signal.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago*** empty log message ***
gdbadmin [Tue, 26 Apr 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Tue, 26 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago * ppc-opc.c: (powerpc_opcodes): Enable icswx for POWER7.
amodra [Mon, 25 Apr 2011 23:11:20 +0000 (23:11 +0000)]
* ppc-opc.c: (powerpc_opcodes): Enable icswx for POWER7.

13 years ago * incremental-dump.cc (dump_incremental_inputs): Print local
ccoutant [Mon, 25 Apr 2011 20:28:48 +0000 (20:28 +0000)]
* incremental-dump.cc (dump_incremental_inputs): Print local
symbol info for each input file.
* incremental.cc
(Output_section_incremental_inputs::set_final_data_size): Add local
symbol info to input file entries in incremental info.
(Output_section_incremental_inputs::write_info_blocks): Likewise.
(Sized_incr_relobj::Sized_incr_relobj): Initialize new data members.
(Sized_incr_relobj::do_add_symbols): Cosmetic change.
(Sized_incr_relobj::do_count_local_symbols): Replace stub with
implementation.
(Sized_incr_relobj::do_finalize_local_symbols): Likewise.
(Sized_incr_relobj::do_relocate): Write the local symbols.
(Sized_incr_dynobj::do_add_symbols): Cosmetic change.
* incremental.h (Incremental_inputs_reader::get_symbol_offset):
Adjust size of input file header.
(Incremental_inputs_reader::get_local_symbol_offset): New function.
(Incremental_inputs_reader::get_local_symbol_count): New function.
(Incremental_inputs_reader::get_input_section): Adjust size of input
file header.
(Incremental_inputs_reader::get_global_symbol_reader): Likewise.
(Sized_incr_relobj::This): New typedef.
(Sized_incr_relobj::sym_size): New const data member.
(Sized_incr_relobj::Local_symbol): New struct.
(Sized_incr_relobj::do_output_local_symbol_count): New function.
(Sized_incr_relobj::do_local_symbol_offset): New function.
(Sized_incr_relobj::local_symbol_count_): New data member.
(Sized_incr_relobj::output_local_dynsym_count_): New data member.
(Sized_incr_relobj::local_symbol_index_): New data member.
(Sized_incr_relobj::local_symbol_offset_): New data member.
(Sized_incr_relobj::local_dynsym_offset_): New data member.
(Sized_incr_relobj::local_symbols_): New data member.
* object.h (Relobj::output_local_symbol_count): New function.
(Relobj::local_symbol_offset): New function.
(Relobj::do_output_local_symbol_count): New function.
(Relobj::do_local_symbol_offset): New function.
(Sized_relobj::do_output_local_symbol_count): New function.
(Sized_relobj::do_local_symbol_offset): New function.

13 years agogdb/
jkratoch [Mon, 25 Apr 2011 19:38:14 +0000 (19:38 +0000)]
gdb/
* elfread.c (elf_symfile_read): Protect dwarf2_initialize_objfile by
!objfile_has_partial_symbols.  New comment.
* objfiles.c (objfile_has_partial_symbols): Call HAS_SYMBOLS if
SYM_READ_PSYMBOLS is not present. Extend the comment.
* symfile.h (struct sym_fns): Extend the sym_read_psymbols comment.

gdb/testsuite/
* gdb.base/gdbindex-stabs-dwarf.c: New file.
* gdb.base/gdbindex-stabs.c: New file.
* gdb.base/gdbindex-stabs.exp: New file.

13 years agogdb/
jkratoch [Mon, 25 Apr 2011 18:28:51 +0000 (18:28 +0000)]
gdb/
* defs.h (ENUM_BITFIELD): Remove.

include/
* bfdlink.h (ENUM_BITFIELD): Remove.

merge from gcc:
include/
* ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.

13 years ago * readelf.c (print_gnu_note): New function.
tromey [Mon, 25 Apr 2011 14:53:26 +0000 (14:53 +0000)]
* readelf.c (print_gnu_note): New function.
(process_note): Use it.

13 years ago2011-04-25 Yao Qi <yao@codesourcery.com>
qiyao [Mon, 25 Apr 2011 03:18:43 +0000 (03:18 +0000)]
2011-04-25  Yao Qi  <yao@codesourcery.com>

* gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
with /*...*/.
* gdb.dwarf2/dw2-modula2-self-type.S: Likewise.

13 years ago*** empty log message ***
gdbadmin [Mon, 25 Apr 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Mon, 25 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago * include/fenv.h: Add missing _FENV_H_ define.
corinna [Sun, 24 Apr 2011 11:54:05 +0000 (11:54 +0000)]
* include/fenv.h: Add missing _FENV_H_ define.

13 years ago PR ld/12365
amodra [Sun, 24 Apr 2011 10:02:10 +0000 (10:02 +0000)]
PR ld/12365
PR ld/12696
include/
* bfdlink.h (ENUM_BITFIELD): Define.
(struct bfd_link_hash_entry): Make "type" a bitfield.  Add "non_ir_ref".
(struct bfd_link_callbacks <notice>): Pass bfd_link_hash_entry pointer
rather than "name".
bfd/
* coff-aux.c (coff_m68k_aux_link_add_one_symbol): Update "notice" call.
* linker.c (_bfd_link_hash_newfunc): Clear bitfields.
(_bfd_generic_link_add_one_symbol): Update "notice" call.
* elflink.c (_bfd_elf_merge_symbol): Don't skip weak redefs when
it is a redef of an IR symbol in a real BFD.
ld/
* ldmain.c (notice): Delete "name" param, add "h".
* plugin.c (plugin_notice): Likewise.  Set non_ir_ref.  Handle
redefinitions of IR symbols in real BFDs.
(plugin_multiple_definition, plugin_multiple_common): Delete.
(non_ironly_hash, init_non_ironly_hash): Delete.
(is_visible_from_outside): Traverse entry_symbol chain.
(get_symbols): Use non_ir_ref flag rather than hash lookup.

13 years agogdb/testsuite/
jkratoch [Sun, 24 Apr 2011 09:04:38 +0000 (09:04 +0000)]
gdb/testsuite/
* gdb.python/py-value.exp (test_objfiles): Name the first test
`py-value in file.filename'.

13 years agogdb/
jkratoch [Sun, 24 Apr 2011 08:02:15 +0000 (08:02 +0000)]
gdb/
* NEWS: Document the new gdbserver --once option.

gdb/doc/
* gdb.texinfo (Starting and Stopping Trace Experiments): New anchor
for disconnected tracing.
(Multi-Process Mode for @code{gdbserver}): Mention --multi and
extended-remote relationship.  Mention --once.
(TCP port allocation lifecycle of @code{gdbserver}): New.

gdb/gdbserver/
* remote-utils.c (handle_accept_event): Close LISTEN_DESC only if
RUN_ONCE.  Comment for the LISTEN_DESC delete_file_handler call.
(remote_prepare): New function with most of the TCP code from ...
(remote_open): ... here.  Detect PORT here unconditionally.  Move also
setting transport_is_reliable.
* server.c (run_once): New variable.
(gdbserver_usage): Document it.
(main): Set run_once for `--once'.  Call remote_prepare.  Exit after
the first run if RUN_ONCE.
* server.h (run_once, remote_prepare): New declarations.

gdb/testsuite/
* gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
* lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
* lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
!gdbserver_reconnect_p..
(gdbserver_reconnect): Call error if !gdbserver_reconnect_p..

13 years agodaily update
amodra [Sun, 24 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago*** empty log message ***
gdbadmin [Sun, 24 Apr 2011 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

13 years ago * registry.cc (reg_key::get_dword): Rename from get_int, use DWORD
corinna [Sat, 23 Apr 2011 13:15:45 +0000 (13:15 +0000)]
* registry.cc (reg_key::get_dword): Rename from get_int, use DWORD
rather than int type.  Avoid compiler warning.
(reg_key::set_dword): Rename from set_int, use DWORD rather than int
type.  Change return type to NTSTATUS.
(reg_key::get_string): Change return type to NTSTATUS.
(reg_key::set_string): Ditto.
* registry.h: Accommodate above changes.
* environ.cc (regopt): Test return value of reg_key::get_string as
NTSTATUS.
* sched.cc (sched_rr_get_interval): Change local int vars to DWORD.
Call reg_key::get_dword instead of reg_key::get_int.
* shared.cc (init_installation_root): Test return value of
reg_key::get_string as NTSTATUS.
(shared_info::heap_slop_size): Call reg_key::get_dword rather than
reg_key::get_int.
(shared_info::heap_chunk_size): Ditto.
* shared_info.h (CURR_SHARED_MAGIC): Update.
(class shared_info): Change heap_chunk and heap_slop to DWORD  values.

13 years agoFix indexing of gdbserver section.
eliz [Sat, 23 Apr 2011 05:47:43 +0000 (05:47 +0000)]
Fix indexing of gdbserver section.

* gdb.texinfo (Server): Improve indexing.  Index all optional
switches to gdbserver.

13 years agoWarn relocation in readonly section in a shared object.
hjl [Sat, 23 Apr 2011 01:16:30 +0000 (01:16 +0000)]
Warn relocation in readonly section in a shared object.

2011-04-22  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_readonly_dynrelocs): Warn relocation
in readonly section in a shared object.
(elf_i386_size_dynamic_sections): Likewise.
* elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.
(elf_x86_64_size_dynamic_sections): Likewise.

13 years ago*** empty log message ***
gdbadmin [Sat, 23 Apr 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sat, 23 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago * descriptors.cc (set_close_on_exec): New function.
ian [Fri, 22 Apr 2011 23:20:28 +0000 (23:20 +0000)]
* descriptors.cc (set_close_on_exec): New function.
(Descriptors::open): Use set_close_on_exec.
* output.cc (S_ISLNK): Define if not defined.

13 years ago * incremental.cc (Sized_incremental_binary::setup_readers): Allocate
ccoutant [Fri, 22 Apr 2011 22:39:55 +0000 (22:39 +0000)]
* incremental.cc (Sized_incremental_binary::setup_readers): Allocate
global symbol map.
(Sized_incremental_binary::do_apply_incremental_relocs): New function.
(Sized_incr_relobj::do_add_symbols): Add symbols to global symbol map.
(Sized_incr_relobj::do_relocate): Remap section indices in incremental
relocations.
(Sized_incr_dynobj::do_add_symbols): Add symbols to global symbol map.
(Sized_incr_dynobj::do_for_all_global_symbols): Remove FIXME.
(Sized_incr_dynobj::do_for_all_local_got_entries): Likewise.
* incremental.h
(Incremental_inputs_reader::global_symbol_reader_at_offset): New
function.
(Incremental_binary::apply_incremental_relocs): New function.
(Incremental_binary::do_apply_incremental_relocs): New function.
(Sized_incremental_binary::Sized_incremental_binary): Initialize new
data member.
(Sized_incremental_binary::add_global_symbol): New function.
(Sized_incremental_binary::global_symbol): New function.
(Sized_incremental_binary::do_apply_incremental_relocs): New function.
(Sized_incremental_binary::symbol_map_): New data member.
* layout.cc (Layout_task_runner::run): Apply incremental relocations.
* target.h (Sized_target::apply_relocation): New function.
* target-reloc.h (apply_relocation): New function.
* x86_64.cc (Target_x86_64::apply_relocation): New function.

13 years ago2011-04-22 Doug Kwan <dougkwan@google.com>
dougkwan [Fri, 22 Apr 2011 21:50:03 +0000 (21:50 +0000)]
2011-04-22  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_output_section::Arm_output_section): Set SHF_LINK_ORDER
flag of a SHT_ARM_EXIDX section.
        * testsuite/Makefile.am (arm_exidx_test): New test rules.
* testsuite/Makefile.in: Regenerate.
* testsuite/arm_exidx_test.s: New file.
* testsuite/arm_exidx_test.sh: Same.

13 years ago * MAINTAINERS: Update my email address.
jiez [Fri, 22 Apr 2011 02:45:20 +0000 (02:45 +0000)]
* MAINTAINERS: Update my email address.

13 years ago * MAINTAINERS: Update my email address.
jiez [Fri, 22 Apr 2011 02:40:26 +0000 (02:40 +0000)]
* MAINTAINERS: Update my email address.

13 years ago2011-04-21 Chris Sutcliffe <ir0nh34d@users.sf.net>
ironhead [Fri, 22 Apr 2011 00:10:07 +0000 (00:10 +0000)]
2011-04-21  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/windef.h (PACKED): Remove macro.
        * include/wincon.h: Replace PACKED macro with __attribute__((packed)).

        Thanks to Keith Marshall for the fix.

13 years ago*** empty log message ***
gdbadmin [Fri, 22 Apr 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Fri, 22 Apr 2011 00:00:05 +0000 (00:00 +0000)]
daily update

13 years ago2011-04-21 Chris Sutcliffe <ir0nh34d@users.sf.net>
ironhead [Thu, 21 Apr 2011 23:57:09 +0000 (23:57 +0000)]
2011-04-21  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/imagehlp.h (PREAD_PROCESS_MEMORY_ROUTINE): Correct definition.

        Thanks to Safety0ff for the report.

13 years agoSkip local IFUNC symbols when checking dynamic relocs in read-only sections.
hjl [Thu, 21 Apr 2011 22:25:38 +0000 (22:25 +0000)]
Skip local IFUNC symbols when checking dynamic relocs in read-only sections.

bfd/

2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/12694
* elf32-i386.c (elf_i386_readonly_dynrelocs): Skip local IFUNC
symbols.
* elf64-x86-64.c (elf_x86_64_readonly_dynrelocs): Likewise.

ld/testsuite/

2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/12694
* ld-ifunc/ifunc-14-i386.d: New.
* ld-ifunc/ifunc-14-x86-64.d: Likewise.
* ld-ifunc/ifunc-14a.s: Likewise.
* ld-ifunc/ifunc-14b.s: Likewise.

13 years agoReturn false on dynamic symbol error.
hjl [Thu, 21 Apr 2011 21:16:49 +0000 (21:16 +0000)]
Return false on dynamic symbol error.

2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_finish_dynamic_symbol): Return false
on dynamic symbol error.
* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.

13 years ago * gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro.
muller [Thu, 21 Apr 2011 14:26:36 +0000 (14:26 +0000)]
* gdb_wchar.h (USE_INTERMEDIATE_ENCODING_FUNCTION): New macro.
(INTERMEDIATE_ENCODING): Change value to intermediate_encoding
function call if __STDC_ISO_10646__ macro is defined.
(intermediate_encoding): New prototype.
* charset.c (your_gdb_wchar_t_is_bogus): New extern test variable
to generate compile time error for unsupported gdb_wchar_t size.
(ENDIAN_SUFFIX): New macro.
(intermediate_encoding): New function.

13 years ago2011-04-21 Tristan Gingold <gingold@adacore.com>
gingold [Thu, 21 Apr 2011 12:22:25 +0000 (12:22 +0000)]
2011-04-21  Tristan Gingold  <gingold@adacore.com>

* scripttempl/alphavms.sc: Add dwarf2 embedding marks.

13 years ago * cygtls.cc (_cygtls::init_thread): Drop setting locals.process_logmask.
corinna [Thu, 21 Apr 2011 08:10:28 +0000 (08:10 +0000)]
* cygtls.cc (_cygtls::init_thread): Drop setting locals.process_logmask.
* cygtls.cc (_cygtls::remove): Always free mallocated TLS storage on
thread exit.  Drop freeing locals.process_ident.
* cygtls.h (struct _local_storage): Remove syslog-related members.
* syslog.cc (syslog_globals): New static storage for global syslog
settings.  Use throughout instead of _my_tls.locals.
(openlog): Set new syslog_globals.process_ident value more carefully.
* tlsoffsets.h: Regenerate.

13 years ago * include/sys/poll.h: Include signal.h to get definition of sigset_t.
corinna [Thu, 21 Apr 2011 07:18:40 +0000 (07:18 +0000)]
* include/sys/poll.h: Include signal.h to get definition of sigset_t.

13 years ago* rx-decode.opc (rx_decode_opcode): Set the syntax for multi-byte NOPs.
dj [Thu, 21 Apr 2011 05:48:06 +0000 (05:48 +0000)]
* rx-decode.opc (rx_decode_opcode): Set the syntax for multi-byte NOPs.
* rx-decode.c: Regenerate.

13 years ago* cygheap.cc (init_cygheap::close_ctty): Avoid closing console-cttys since they
cgf [Thu, 21 Apr 2011 00:53:53 +0000 (00:53 +0000)]
* cygheap.cc (init_cygheap::close_ctty): Avoid closing console-cttys since they
don't use archetypes and this will just result in double frees.
* dll_init.cc (dll_list::protect): Define.
(dll_list::alloc): Guard list access.
(dll_list::detach): Ditto.
* dll_init.h (dll_list::protect): Declare new muto.
(dll_list::guard): Define/declare function to guard list access.
* fhandler_termios.cc (fhandler_termios::sigflush): Avoid SEGV in pathological
condition of get_ttyp() == NULL.

13 years ago*** empty log message ***
gdbadmin [Thu, 21 Apr 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***