OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
14 years agoPR 11297: Add support for 8-bit relocations to the AVR toolchain.
nickc [Tue, 23 Feb 2010 11:38:34 +0000 (11:38 +0000)]
PR 11297: Add support for 8-bit relocations to the AVR toolchain.

14 years agoUpdated Bulgarian translation.
nickc [Tue, 23 Feb 2010 11:19:34 +0000 (11:19 +0000)]
Updated Bulgarian translation.

14 years ago* thread.cc (pthread_mutex::unlock): Don't attempt to unlock if there is an
cgf [Tue, 23 Feb 2010 07:12:38 +0000 (07:12 +0000)]
* thread.cc (pthread_mutex::unlock): Don't attempt to unlock if there is an
error.

14 years ago*** empty log message ***
gdbadmin [Tue, 23 Feb 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2010-02-22 Pedro Alves <pedro@codesourcery.com>
palves [Mon, 22 Feb 2010 23:35:15 +0000 (23:35 +0000)]
2010-02-22  Pedro Alves  <pedro@codesourcery.com>

PR9605

gdb/
* breakpoint.c (insert_bp_location): If inserting the read
watchpoint failed, fallback to an access watchpoint.
(bpstat_check_watchpoint): Stop for read watchpoint triggers even
if the value changed, if not watching the same memory for writes.
(watchpoint_locations_match): Add comment.
(update_global_location_list): Copy the location's watchpoint type.
* i386-nat.c (i386_length_and_rw_bits): It's an internal error to
handle read watchpoints here.
(i386_insert_watchpoint): Read watchpoints aren't supported.
* remote.c (remote_insert_watchpoint): Return 1 for unsupported
packets.
* target.h (target_insert_watchpoint): Update description.

2010-02-22  Pedro Alves  <pedro@codesourcery.com>

PR9605

gdbserver/
* i386-low.c (i386_length_and_rw_bits): Throw a fatal error if
handing a read watchpoint.
(i386_low_insert_watchpoint): Read watchpoints aren't supported.

2010-02-22  Pedro Alves  <pedro@codesourcery.com>

PR9605

gdb/testsuite/
* gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.

14 years agodaily update
amodra [Mon, 22 Feb 2010 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago* strace.cc (mnemonic_table): Add "special" mask option.
cgf [Mon, 22 Feb 2010 20:39:18 +0000 (20:39 +0000)]
* strace.cc (mnemonic_table): Add "special" mask option.
(usage): Document it.
* utils.sgml: Ditto.

14 years ago* include/sys/strace.h: Define _STRACE_SPECIAL.
cgf [Mon, 22 Feb 2010 20:36:03 +0000 (20:36 +0000)]
* include/sys/strace.h: Define _STRACE_SPECIAL.
(strace_printf_wrap): Fix NOSTRACE definitions.
(strace_printf_wrap1): Fix NOSTRACE definitions.
(special_printf): Define.
* thread.cc: Perform minor syntax fix in a comment.  Rename
"is_good_initialzer*" to "is_initializer*" throughout.  Use pthread_printf
rather than debug_printf throughout.  Add extra pthread_printf debugging
throughout.
(pthread_mutex::_new_mutex): New constant value.
(pthread_mutex::_unlocked_mutex): Ditto.
(pthread_mutex::_destroyed_mutex): Ditto.
(pthread_mutex::no_owner): Define new function.
(pthread_mutex::can_be_unlocked): Detect no_owner situation.  Handle
PTHREAD_MUTEX_NORMAL as a special case.
(pthread::create_cancel_event): Use C++ boolean values.
(pthread::precreate): Use method to set mutex type.
(pthread_cond::pthread_cond): Ditto.
(pthread_rwlock::pthread_rwlock): Ditto.
(pthread_mutex::pthread_mutex): Set owner to _new_mutex initially.
(pthread_mutex::~pthread_mutex): Reset various elements to make it clearer if
they are incorrectly reused.
(pthread_mutex::lock): Add clarifying comment.
(pthread_mutex::unlock): Attempt to handle various mutex types correctly.  In
particular, reinstate ability to have one thread unlock another thread's mutex
if type == PTHREAD_MUTEX_NORMAL.
(semaphore::_fixup_after_fork): Avoid redundancy.
(pthread_mutex::_fixup_after_fork): Ditto.  Fix debugging statement.
(__pthread_cond_dowait): Accommodate changes to remove previously inexplicable
use can_be_unblocked() as a static function.
* thread.h: Rename "is_good_initialzer*" to "is_initializer*" throughout.
(pthread_mutex): Reorganize.  Make many things private.
(pthread_mutex::no_owner): Define new method.
(pthread_mutex::_new_mutex): Define new constant.
(pthread_mutex::_unlocked_mutex): Ditto.
(pthread_mutex::_destroyed_mutex): Ditto.

14 years ago2010-02-22 Doug Kwan <dougkwan@google.com>
dougkwan [Mon, 22 Feb 2010 18:26:28 +0000 (18:26 +0000)]
2010-02-22  Doug Kwan  <dougkwan@google.com>

* gold-threads.h (Once::~Once): Explicitly define virtual destructor.
* icf.cc (get_section_contents): Cast snprintf arguments to long long
types to avoid warnings due to different uint64_t implementations
on different hosts.

14 years ago * cygpath.cc (do_pathconv): Fix erroneously printing native NT path
corinna [Mon, 22 Feb 2010 17:40:46 +0000 (17:40 +0000)]
* cygpath.cc (do_pathconv): Fix erroneously printing native NT path
prefix introduced by previous patch.

14 years ago PR ld/11304
amodra [Mon, 22 Feb 2010 12:09:58 +0000 (12:09 +0000)]
PR ld/11304
* ldlang.c (exp_init_os): Delete forward declaration.
(init_os): Don't check for bfd_section already created and don't
init addr_tree and load_base expressions here.
(map_input_to_output_sections): Only map input to output sections
and set constraints here, and as an exception, create output
sections which have their address set.  Move all the other code to..
(create_other_output_sections): ..here.  New function.  Handle init
of addr_tree and load_base here too.
(lang_process): Call create_other_output_sections.

14 years ago * lc_era.h: Redefine lc_era_t to keep
corinna [Mon, 22 Feb 2010 11:01:44 +0000 (11:01 +0000)]
* lc_era.h: Redefine lc_era_t to keep
default date and time formats as well to workaround YA Windows
shortcoming.  Refresh with latest data.
* lc_msg.h: Refresh with latest data.
* nlsfuncs.cc (__eval_datetimefmt): Revert latest change.
(__set_lc_time_from_win): Rename res to era.  Prefer default date and
time formats from era array if available.
(__set_lc_messages_from_win): Rename res to msg.

14 years ago * locale.cc (lc_time_names): Add "date_fmt" entry.
corinna [Mon, 22 Feb 2010 10:56:00 +0000 (10:56 +0000)]
* locale.cc (lc_time_names): Add "date_fmt" entry.

14 years ago * libc/include/langinfo.h (_NL_TIME_DATE_FMT): Define new nl_item
corinna [Mon, 22 Feb 2010 10:53:03 +0000 (10:53 +0000)]
* libc/include/langinfo.h (_NL_TIME_DATE_FMT): Define new nl_item
value for LC_TIME entry date_fmt.
(_DATE_FMT): Define "official" GNU name same as _NL_TIME_DATE_FMT.
* libc/locale/nl_langinfo.c (nl_langinfo): Add case for _DATE_FMT.

14 years ago PR 9861
mgretton [Mon, 22 Feb 2010 10:24:55 +0000 (10:24 +0000)]
PR 9861
* gas/config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
compiler's predefines.

14 years ago2010-02-21 Doug Kwan <dougkwan@google.com>
dougkwan [Mon, 22 Feb 2010 06:26:06 +0000 (06:26 +0000)]
2010-02-21  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relocate_functions::arm_branch_common): Fix bug in
handling of the maximum backward branch offset.
      (Arm_relocate_functions::thumb_branch_common): Ditto.
* testsuite/Makefile.am (check_SCRIPTS): Add arm_branch_in_range.sh.
(check_DATA): Add arm_bl_in_range.stdout, arm_bl_out_of_range.stdout
thumb_bl_in_range.stdout, thumb_bl_out_of_range.stdout,
thumb2_bl_in_range.stdout and thumb2_bl_out_of_range.stdout.
(arm_bl_in_range.stdout, arm_bl_in_range, arm_bl_in_range.o,
arm_bl_out_of_range.stdout, arm_bl_out_of_range,
arm_bl_out_of_range.o, thumb_bl_in_range.stdout, thumb_bl_in_range,
thumb_bl_in_range.o, thumb_bl_out_of_range.stdout,
thumb_bl_out_of_range thumb_bl_out_of_range.o,
thumb2_bl_in_range.stdout, thumb2_bl_in_range, thumb2_bl_in_range.o
thumb2_bl_out_of_range.stdout, thumb2_bl_out_of_range,
thumb2_bl_out_of_range.o): New rules.
(MOSTLYCLEANFILES): Add arm_bl_in_range, arm_bl_out_of_range,
thumb_bl_in_range, thumb_bl_out_of_range, thumb2_bl_in_range and
thumb2_bl_out_of_range
* testsuite/Makefile.in: Regenerate.
* testsuite/arm_bl_in_range.s: New file.
* testsuite/arm_bl_out_of_range.s: Ditto.
* testsuite/arm_branch_in_range.sh: Ditto.
* testsuite/arm_branch_range.t: Ditto.
* testsuite/thumb2_branch_range.t: Ditto.
* testsuite/thumb_bl_in_range.s: Ditto.
* testsuite/thumb_bl_out_of_range.s: Ditto.
* testsuite/thumb_branch_range.t: Ditto.

14 years ago*** empty log message ***
gdbadmin [Mon, 22 Feb 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sun, 21 Feb 2010 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago * reloc.c (bfd_check_overflow): When forming addrmask, shift
amodra [Sun, 21 Feb 2010 22:24:02 +0000 (22:24 +0000)]
* reloc.c (bfd_check_overflow): When forming addrmask, shift
fieldmask left by rightshift.
(_bfd_relocate_contents): Likewise.  Use rightshift addrmask in all
overflow checks.

14 years ago2010-02-20 Sriraman Tallam <tmsriram@google.com>
tmsriram [Sun, 21 Feb 2010 00:57:59 +0000 (00:57 +0000)]
2010-02-20  Sriraman Tallam  <tmsriram@google.com>

* gc.h (gc_process_relocs): Change vectors to point to the new list.
Add reloc offset information.
* icf.cc (get_section_contents): Change iterators to point to the new
vectors. Add reloc offset information to the contents.
* icf.h (Icf::Sections_reachable_info): New typedef.
(Icf::Sections_reachable_list): New typedef.
(Icf::Offset_info): New typedef.
(Icf::Reloc_info): New struct typedef.
(Icf::Reloc_info_list): New typedef.
(Icf::symbol_reloc_list): Delete method.
(Icf::addend_reloc_list): Delete method.
(Icf::section_reloc_list): Delete method.
(Icf::reloc_info_list): New method.
(Icf::reloc_info_list_): New member.

14 years ago*** empty log message ***
gdbadmin [Sun, 21 Feb 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Sat, 20 Feb 2010 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago * lc_era.h (lc_era): Fix "ja_JP" era_t_fmt entry to use traditional
corinna [Sat, 20 Feb 2010 22:10:26 +0000 (22:10 +0000)]
* lc_era.h (lc_era): Fix "ja_JP" era_t_fmt entry to use traditional
format.
* nlsfuncs.cc (dt_flags): Remove DT_ERACAL since crippled era data
in Windows makes it useless.
(__eval_datetimefmt): Check if locale's default calender has
non-gregorian start year.  Use era year also in default date entries,
if so.

14 years agoDon't check STT_GNU_IFUNC on large common symbol.
hjl [Sat, 20 Feb 2010 15:47:02 +0000 (15:47 +0000)]
Don't check STT_GNU_IFUNC on large common symbol.

2010-02-20  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check
STT_GNU_IFUNC on large common symbol.

14 years ago * path.cc (warn_msdos): Enforce extended hex printing of multibyte
corinna [Sat, 20 Feb 2010 09:17:05 +0000 (09:17 +0000)]
* path.cc (warn_msdos): Enforce extended hex printing of multibyte
pathnames.

14 years ago*** empty log message ***
gdbadmin [Sat, 20 Feb 2010 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Fri, 19 Feb 2010 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago2010-02-18 Doug Kwan <dougkwan@google.com>
dougkwan [Fri, 19 Feb 2010 22:53:54 +0000 (22:53 +0000)]
2010-02-18  Doug Kwan  <dougkwan@google.com>

* arm-reloc.def: Mark R_ARM_TLS_GD32, R_ARM_TLS_LDM32,
R_ARM_TLS_LDO32, R_ARM_TLS_IE32 and R_ARM_TLS_LE32 are implemented.
* arm.cc (Arm_relocation_functions): New forward declaration.
(Target_arm::Target_arm): Initialize new data members
got_mod_index_offset_ and tls_base_symbol_defined_.
(Target_arm::Relocate::relocate_tls): New method.
(Target_arm::optimize_tls_reloc, Target_arm::define_tls_base_symbol,
 Target_arm::got_mod_index_entry, Target_arm::rel_tls_desc_section):
New methods.
    (Target_arm::Got_type): Add GOT_TYPE_TLS_NOFFSET, GOT_TYPE_OFFSET,
GOT_TYPE_TLS_PAIR and GOT_TYPE_TLS_DESC.
(Target_arm::got_mod_index_offset_,
Target_arm::tls_base_symbol_defined_): New data members.
(Target_arm::Scan::local, Target::Scan::global,
Target_arm::Relocate::relocate): Handle 32-bit initial TLS
relocations.

14 years ago * p-typeprint.c (pascal_type_print_varspec_prefix): Update.
tromey [Fri, 19 Feb 2010 22:22:48 +0000 (22:22 +0000)]
* p-typeprint.c (pascal_type_print_varspec_prefix): Update.
* m2-typeprint.c (m2_print_type): Update.
* gdbtypes.c (recursive_dump_type): Update.
(copy_type_recursive): Update.
* c-typeprint.c (c_type_print_varspec_prefix): Update.
(c_type_print_base): Update.
* gdbtypes.h (TYPE_CODE_TEMPLATE, TYPE_CODE_TEMPLATE_ARG):
Remove.
(struct cplus_struct_type) <ntemplate_args>: Remove.
<struct template_arg>: Remove.
<is_dynamic>: Move earlier.
(TYPE_TEMPLATE_ARGS): Remove.
(TYPE_NTEMPLATE_ARGS): Remove.
(TYPE_TEMPLATE_ARG): Remove.

14 years agogdb
tromey [Fri, 19 Feb 2010 20:22:03 +0000 (20:22 +0000)]
gdb
PR c++/8693, PR c++/9496:
* cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION.
* c-exp.y (lex_one_token): Rename from yylex.  Don't call
write_dollar_variable.  Don't try to classify NAME tokens.
(token_and_value): New type.
(token_fifo, popping, name_obstack): New globals.
(classify_name): New function.
(classify_inner_name): Likewise.
(yylex): Likewise.
(VARIABLE): Now has type sval.
(exp : VARIABLE): Call write_dollar_variable.
(qualified_name): Use TYPENAME, not typebase.  Add production for
multiple "::" instances.
(variable): Use name_not_typename.
(qualified_type): Remove.
(typebase): Update.
gdb/testsuite
PR c++/8693, PR c++/9496:
* gdb.cp/namespace.exp: Remove some setup_kfail calls.  Added
regression tests.

14 years agoUpdate copyright
cgf [Fri, 19 Feb 2010 20:01:49 +0000 (20:01 +0000)]
Update copyright

14 years ago * gdbint.texinfo (Getting Started): Fix @node.
tromey [Fri, 19 Feb 2010 19:14:38 +0000 (19:14 +0000)]
* gdbint.texinfo (Getting Started): Fix @node.
(Debugging GDB): Likewise.

14 years agogdb/testsuite/
jkratoch [Fri, 19 Feb 2010 19:14:17 +0000 (19:14 +0000)]
gdb/testsuite/
Fix compatibility with m68k as.
* gdb.dwarf2/member-ptr-forwardref.S: Use .data section.  Use .2byte.
Use only /* comments */.

14 years agoutils/ChangeLog:
cgf [Fri, 19 Feb 2010 17:55:26 +0000 (17:55 +0000)]
utils/ChangeLog:
* strace.cc (mnemonic_table): Add pthread mask option.
(usage): Document strace pthread mask option.
* utils.sgml: Ditto.

cygwin/ChangeLog:
* include/sys/strace.h: Remove old code.  Add support for ptrace
tracing.

14 years ago * lc_era.h: New file.
corinna [Fri, 19 Feb 2010 17:30:18 +0000 (17:30 +0000)]
* lc_era.h: New file.
* nlsfuncs.cc: Include lc_era.h.
(locale_cmp): convert arguments to char** to be usable for both types,
lc_msg_t and lc_era_t.
(__set_lc_time_from_win): Handle era-related data

14 years ago * locale.cc (print_lc_mstrings): New function to print
corinna [Fri, 19 Feb 2010 17:27:05 +0000 (17:27 +0000)]
* locale.cc (print_lc_mstrings): New function to print
semicolon-separated strings.
(enum type_t): New type is_sepstrings_linf.
(lc_time_names): Change type of era and alt_digits entry to
is_sepstrings_linf.
(print_lc): Add case for is_sepstrings_linf and call print_lc_mstrings
in that case.

14 years agotestsuite/
uweigand [Fri, 19 Feb 2010 17:13:21 +0000 (17:13 +0000)]
testsuite/
* configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
* configure: Regenerate.

14 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Try to open
corinna [Fri, 19 Feb 2010 13:28:48 +0000 (13:28 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Try to open
directory with stat()-friendly access mask first.  Explain why.

14 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Set st_rdev
corinna [Fri, 19 Feb 2010 12:37:37 +0000 (12:37 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper):  Set st_rdev
to same value as st_dev.  Avoid useless debug output in executable
check.  Add filename to debug output.
(fhandler_disk_file::facl): Simplify code calling fstat methods to
just call fstat to avoid errors with the cygdrive directory.

14 years agogdb/
jkratoch [Fri, 19 Feb 2010 06:19:44 +0000 (06:19 +0000)]
gdb/
* symfile.c (addr_info_make_relative): Extend comment.  Move SECT to
a more inner block.  Initialize ADDR by LOWER_OFFSET only if it was
found by bfd_get_section_by_name.
* symfile.h (struct section_addr_info) <sectindex>: New comment.

14 years agoDon't set ELFOSABI_LINUX in dynamic ifunc-using executable.
hjl [Fri, 19 Feb 2010 05:07:48 +0000 (05:07 +0000)]
Don't set ELFOSABI_LINUX in dynamic ifunc-using executable.

bfd/

2010-02-18  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_add_symbol_hook): Don't set
has_ifunc_symbols if the symbol comes from a shared library.
* elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
* elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
* elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
* elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
* elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Likewise.

ld/testsuite/

2010-02-18  H.J. Lu  <hongjiu.lu@intel.com>

* ld-ifunc/ifunc.exp: Expect System V OSABI in dynamic
ifunc-using executable.

14 years ago * configure.tgt: Whiltespace. Sort moxie entry.
amodra [Fri, 19 Feb 2010 03:36:06 +0000 (03:36 +0000)]
* configure.tgt: Whiltespace.  Sort moxie entry.

14 years ago * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
amodra [Fri, 19 Feb 2010 02:59:05 +0000 (02:59 +0000)]
* Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
* Makefile.in: Regenerate.

14 years ago2010-02-18 Doug Kwan <dougkwan@google.com>
dougkwan [Fri, 19 Feb 2010 02:16:41 +0000 (02:16 +0000)]
2010-02-18  Doug Kwan  <dougkwan@google.com>

* arm.cc (Arm_relobj::find_linked_text_section): New method.
(Arm_relobj::make_exidx_input_section): Pass section index of linked
text section as a parameter becuase some broken tools may not set
the link in section header.
(Target_arm::has_got_section): New method.
(Target_arm::scan_section_for_cortex_a8_stubs): Treat an input section
without any mapping symbol as data only.  Remove warning.
(Arm_relobj::do_read_synbols): If an EXIDX input section has no
link in its section header, try to discover the link by inspecting the
REL31 relocation at the beginning of the section.
(Target_arm::Scan::check_non_pic): Report name of offending relocation
in error message.
(Target_arm::Scan::global): Treat any reference to the symbol
_GLOBAL_OFFSET_TABLE_ as a GOT access.

14 years agobfd/
amodra [Fri, 19 Feb 2010 01:47:13 +0000 (01:47 +0000)]
bfd/
* elf.c (_bfd_elf_fixup_group_sections): New function, split out from..
(_bfd_elf_copy_private_header_data): ..here.
* elflink.c (_bfd_elf_size_group_sections): New function.
(bfd_elf_size_dynamic_sections): Call it.
* elf-bfd.h (_bfd_elf_size_group_sections): Declare.
(_bfd_elf_fixup_group_sections): Declare.
ld/
* ldlang.c (unique_section_p): Add os param.  Allow group
sections to match /DISCARD/.  Update all callers.
* emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
(LDEMUL_BEFORE_ALLOCATION): Define.
ld/testsuite/
* ld-elf/group.ld: Discard .dropme sections.
* ld-elf/group10.d, * ld-elf/group10.s: New test.

14 years ago * readelf.c (get_group_flags): Return empty string when flags zero.
amodra [Fri, 19 Feb 2010 01:36:38 +0000 (01:36 +0000)]
* readelf.c (get_group_flags): Return empty string when flags zero.
Add space in other returned values.
(process_section_groups): Adjust format string.

14 years ago * NEWS: Add new "[...] since 7.1" section. Rename the "[...] since
brobecke [Fri, 19 Feb 2010 00:35:53 +0000 (00:35 +0000)]
    * NEWS: Add new "[...] since 7.1" section.  Rename the "[...] since
        7.0 section" into "Changes in 7.1".

14 years agoRecord GDB 7.1 branch creation. Bump version number to 7.1.50.20100219-cvs.
gdbadmin [Fri, 19 Feb 2010 00:21:15 +0000 (00:21 +0000)]
Record GDB 7.1 branch creation. Bump version number to 7.1.50.20100219-cvs.

14 years ago*** empty log message ***
gdbadmin [Fri, 19 Feb 2010 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Thu, 18 Feb 2010 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago * libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2.
corinna [Thu, 18 Feb 2010 20:37:19 +0000 (20:37 +0000)]
* libc/ctype/iswalpha.c (iswalpha): Update to Unicode 5.2.
* libc/ctype/iswprint.c (iswprint): Ditto.
* libc/ctype/iswpunct.c (iswpunct): Drop standalone implementation.
Define in terms of other wctype functions instead.
* libc/ctype/towlower.c (towlower): Update to Unicode 5.2.  Add comment
to explain how to fetch the data from the Unicode database.
* libc/ctype/towupper.c (towupper): Ditto.
* libc/ctype/utf8alpha.h: Ditto.
* libc/ctype/utf8print.h: Ditto.
* libc/ctype/utf8punct.h: Remove.
* libc/ctype/iswcntrl.c (iswcntrl): Add comment to explain how to
fetch the data from the Unicode database.

14 years ago2010-02-18 Harald Koenig <H.Koenig@science-computing.de>
palves [Thu, 18 Feb 2010 19:16:59 +0000 (19:16 +0000)]
2010-02-18  Harald Koenig  <H.Koenig@science-computing.de>

* mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'.
* symfile.c (symfile_map_offsets_to_segments): Fix assertion.

14 years ago * nlsfuncs.cc (eval_datetimefmt): Rename force to flags.
corinna [Thu, 18 Feb 2010 18:07:14 +0000 (18:07 +0000)]
* nlsfuncs.cc (eval_datetimefmt): Rename force to flags.
(enum dt_flags): Define.
(__eval_datetimefmt): Change force to flags and change type to
dt_flags.  Accommodate throughout.
(__set_lc_time_from_win): Accommodate above change.  Set era-related
values to empty strings for now.

14 years ago * libc/locale/timelocal.h (struct lc_time_T): Add missing ERA-related
corinna [Thu, 18 Feb 2010 17:35:15 +0000 (17:35 +0000)]
* libc/locale/timelocal.h (struct lc_time_T): Add missing ERA-related
members.
* libc/locale/timelocal.c (_C_time_local): Set new members to empty
strings.
* libc/locale/nl_langinfo.c (nl_langinfo): Return values from
__get_current_time_locale() for ERA related requests.

14 years ago * ld-arm/attr-merge-6.attr: Add new test. Missed off last commit.
mgretton [Thu, 18 Feb 2010 17:25:10 +0000 (17:25 +0000)]
   * ld-arm/attr-merge-6.attr: Add new test.  Missed off last commit.

14 years ago * NEWS: Add Python API Improvements section.
tromey [Thu, 18 Feb 2010 16:36:47 +0000 (16:36 +0000)]
* NEWS: Add Python API Improvements section.

14 years ago * NEWS: Correct typo.
drow [Thu, 18 Feb 2010 16:04:27 +0000 (16:04 +0000)]
* NEWS: Correct typo.

14 years ago * gdb.python/py-type.exp: Check for Python support.
drow [Thu, 18 Feb 2010 15:27:35 +0000 (15:27 +0000)]
* gdb.python/py-type.exp: Check for Python support.

14 years ago* fhandler.cc (fhandler_base::setup_overlapped): Revert to starting with handle
cgf [Thu, 18 Feb 2010 15:07:37 +0000 (15:07 +0000)]
* fhandler.cc (fhandler_base::setup_overlapped): Revert to starting with handle
in signalled state as it seems to fix some hangs.

14 years ago2010-02-17 LRN <lrn1986@gmail.com>
ironhead [Thu, 18 Feb 2010 13:01:55 +0000 (13:01 +0000)]
2010-02-17  LRN  <lrn1986@gmail.com>

        * include/shlguid.h (IID_IFolderView): Define.
        * include/shlobj.h (IFolderView interface): Define.
        * lib/shell32.c (IID_IFolderView): Export.

14 years ago * bfd/elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support for
mgretton [Thu, 18 Feb 2010 10:56:26 +0000 (10:56 +0000)]
* bfd/elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support for
merging Tag_DIV_use, Tag_MPextension_use, and
Tag_MPextension_use_legacy tags.
* binutils/readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add
description of newly permitted attribute values.
(arm_attr_tag_Virtualization_use): Likewise.
(arm_attr_tag_DIV_use): Add description of new attribute.
(arm_attr_tag_MPextension_use_legacy): Likewise.
* gas/config/tc-arm.c (arm_convert_symbolic_attribute):
Add Tag_DIV_use.
* gas/doc/c-arm.texi: Likewise.
* gas/testsuite/gas/arm/attr-order.d: Fix test for new names for
attribute values.
* include/elf/arm.h (Tag_MPextension_use): Renumber.
(Tag_DIV_use): Add.
(Tag_MPextension_use_legacy): Likewise.
* ld/testsuite/ld-arm/attr-merge-3.attr: Fix test for new attribute
values.
* ld/testsuite/ld-arm/attr-merge-3b.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-unknown-1.d: Fix test now that 42
is a recognised attribute ID.
* ld/testsuite/ld-arm/attr-merge-unknown-1.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-6.attr: New test.
* ld/testsuite/ld-arm/attr-merge-6a.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-6b.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-7.attr: Likewise.
* ld/testsuite/ld-arm/attr-merge-7a.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-7b.s: Likewise.
* ld/testsuite/ld-arm/arm-elf.exp: Run the new tests.

14 years ago * binutils-all/group-5.s, * binutils-all/group-5.d: New test.
amodra [Thu, 18 Feb 2010 00:13:30 +0000 (00:13 +0000)]
* binutils-all/group-5.s, * binutils-all/group-5.d: New test.
* binutils-all/objcopy.exp: Run it.

14 years ago * elf.c (bfd_elf_set_group_contents): Revert accidental 2009-01-15
amodra [Thu, 18 Feb 2010 00:09:06 +0000 (00:09 +0000)]
* elf.c (bfd_elf_set_group_contents): Revert accidental 2009-01-15
commit.  Don't write zeros for removed group members.
(_bfd_elf_copy_private_header_data): Adjust size of group section
when group members are removed by objcopy.

14 years ago*** empty log message ***
gdbadmin [Thu, 18 Feb 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
palves [Wed, 17 Feb 2010 23:07:24 +0000 (23:07 +0000)]
* lib/gdb.exp (build_id_debug_filename_get): Don't assume new
`regsub' syntax available.

14 years agodaily update
amodra [Wed, 17 Feb 2010 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago * gdb.base/shmain.c (main): Remove printf call.
palves [Wed, 17 Feb 2010 22:55:39 +0000 (22:55 +0000)]
* gdb.base/shmain.c (main): Remove printf call.
* gdb.base/sizeof.c (main): Cast return of sizeof to int.
* gdb.base/unload.c (main): Make format of fprintf a string
literal.  Add missing endlines to prints to stderr.
* gdb.base/watchpoint-solib.c (open_shlib): Ditto.

14 years agogdb
tromey [Wed, 17 Feb 2010 22:25:04 +0000 (22:25 +0000)]
gdb
* objfiles.c (gdb_bfd_ref): Handle abfd==NULL.
gdb/testsuite
* gdb.java/jprint.java (jprint.props): New field.
* gdb.java/jprint.exp (set_lang_java): Add regression test.

14 years agoUse tab, not spaces.
palves [Wed, 17 Feb 2010 22:09:05 +0000 (22:09 +0000)]
Use tab, not spaces.

14 years ago * gdb.base/charset.exp: Don't assume new `regsub' syntax
palves [Wed, 17 Feb 2010 22:05:57 +0000 (22:05 +0000)]
    * gdb.base/charset.exp: Don't assume new `regsub' syntax
available.

14 years agogdb/
jkratoch [Wed, 17 Feb 2010 20:54:52 +0000 (20:54 +0000)]
gdb/
* symfile.c (build_section_addr_info_from_objfile): Include sections
only if they are SEC_ALLOC or SEC_LOAD.

14 years agoUse CORE_ADDR instead of ULONGEST on address.
hjl [Wed, 17 Feb 2010 20:47:08 +0000 (20:47 +0000)]
Use CORE_ADDR instead of ULONGEST on address.

2010-02-17  H.J. Lu  <hongjiu.lu@intel.com>

PR shlibs/11293
* solib-svr4.c (enable_break): Check size of CORE_ADDR instead
of ULONGEST for address size.

14 years ago * NEWS: Add C++ improvements section.
tromey [Wed, 17 Feb 2010 20:08:23 +0000 (20:08 +0000)]
* NEWS: Add C++ improvements section.

14 years ago * new-features.sgml (ov-new1.7.2): Accommodate name change of getlocale
corinna [Wed, 17 Feb 2010 15:02:17 +0000 (15:02 +0000)]
* new-features.sgml (ov-new1.7.2): Accommodate name change of getlocale
to locale.
* setup2.sgml (setup-locale-how): Ditto.

14 years ago * Makefile.in (CYGWIN_BINS): Rename getlocale to locale.
corinna [Wed, 17 Feb 2010 15:01:56 +0000 (15:01 +0000)]
* Makefile.in (CYGWIN_BINS): Rename getlocale to locale.
* getlocale.c: Rename to ...
* locale.cc: Revamp to add full functionality of POSIX locale(1) tool,
as far as Cygwin supports it.
* utils.sgml (getlocale): Move and rename to ...
(locale): Accommodate new functionality.

14 years ago * python/python-internal.h [!WITH_THREAD] (PyGILState_Release,
uweigand [Wed, 17 Feb 2010 14:58:53 +0000 (14:58 +0000)]
* python/python-internal.h [!WITH_THREAD] (PyGILState_Release,
PyThreadState_Swap): Avoid "statement with no effect" warning.

14 years ago * acinclude.m4 (gcc_AC_CHECK_DECL): Add parameter type to function
nickc [Wed, 17 Feb 2010 11:37:47 +0000 (11:37 +0000)]
    * acinclude.m4 (gcc_AC_CHECK_DECL): Add parameter type to function
        pointer cast, in order to allow compilation by newer versions of
        g++.
        * configure: Regenerate.

14 years agogdb/
jkratoch [Wed, 17 Feb 2010 11:37:23 +0000 (11:37 +0000)]
gdb/
* solib-svr4.c (enable_break <target_auxv_search>): New variable
addr_bit.  Adjust LOAD_ADDR sign for cross-arch inferiors.

14 years ago * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete
nickc [Wed, 17 Feb 2010 11:02:54 +0000 (11:02 +0000)]
    * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete
        the config.cache files found by the find command.

14 years ago2010-02-17 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 17 Feb 2010 10:39:10 +0000 (10:39 +0000)]
2010-02-17  Tristan Gingold  <gingold@adacore.com>
    Petr Hluzí<petr.hluzin@gmail.com>

* avr-tdep.c (avr_scan_prologue): Convert an if statement to a
gdb_assert.  Fix info->size for SIG prologue.

14 years ago2010-02-17 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 17 Feb 2010 10:12:48 +0000 (10:12 +0000)]
2010-02-17  Tristan Gingold  <gingold@adacore.com>

* dmt.h, dst.h, eeom.h, egps.h, egsd.h, egst.h, egsy.h: New Files.
* eiaf.h, eicp.h, eiha.h, eihd.h, eihi.h, eihs.h, eihvn.h: Ditto.
* eisd.h, emh.h, eobjrec.h, esdf.h, esrf.h, etir.h, shl.h: Ditto.

14 years ago PR 11238
nickc [Wed, 17 Feb 2010 10:05:50 +0000 (10:05 +0000)]
    PR 11238
        * Makefile.tpl (local-distclean): Also remove config.cache files in
        sub-directories as there may not be Makefiles present in the
        sub-directories.
        * Makefile.in: Regenerate.
        * configure.ac: Revert previous delta.
        * configure: Regenerate.

14 years ago * libc/ctype/iswblank.c (iswblank): Remove Unicode characters
corinna [Wed, 17 Feb 2010 09:14:34 +0000 (09:14 +0000)]
* libc/ctype/iswblank.c (iswblank): Remove Unicode characters
U+00A0 and U+200B.  Add Unicode character U+180E.  Add comment
to explain how to generate from Unicode data file.
* libc/ctype/iswspace.c (iswspace): Ditto.

14 years ago2010-02-14 Roumen Petrov <rumen@users.sourceforge.net>
ironhead [Wed, 17 Feb 2010 02:41:06 +0000 (02:41 +0000)]
2010-02-14  Roumen Petrov  <rumen@users.sourceforge.net>

        Issue [2134161]: time64 functions and types for msvcrt >= 8.0
        (initial implementation)

        * new type: __time32_t

        * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t,
        __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32,
        __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t

        * new functions: _ctime32, _difftime32, _difftime64, _findfirst32
        _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64,
        _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32,
        _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64,
        _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32,
        _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32,
        _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32,
        _wstat32i64, _wstat64i32,_wutime32

        * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t,
        ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64,
        _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime,
        _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64,
        _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime

14 years ago*** empty log message ***
gdbadmin [Wed, 17 Feb 2010 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Tue, 16 Feb 2010 23:00:04 +0000 (23:00 +0000)]
daily update

14 years ago gdb/testsuite/
drow [Tue, 16 Feb 2010 21:26:47 +0000 (21:26 +0000)]
gdb/testsuite/
* gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
creation to support remote host testing.

14 years ago gdb/testsuite/
drow [Tue, 16 Feb 2010 21:22:46 +0000 (21:22 +0000)]
gdb/testsuite/
* gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
Recognize "command not found".

14 years ago gdb/testsuite/
drow [Tue, 16 Feb 2010 21:20:13 +0000 (21:20 +0000)]
gdb/testsuite/
* gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
single-stepping.

14 years ago gdb/
drow [Tue, 16 Feb 2010 21:18:46 +0000 (21:18 +0000)]
gdb/
* infcmd.c (show_inferior_tty_command): Check for NULL.
Correct output message.

14 years ago * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
drow [Tue, 16 Feb 2010 21:13:10 +0000 (21:13 +0000)]
* gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
if arguments are not supported.

14 years ago gdb/testsuite/
drow [Tue, 16 Feb 2010 21:09:32 +0000 (21:09 +0000)]
gdb/testsuite/
* gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
be const or non-const.

14 years ago gdb/testsuite/
drow [Tue, 16 Feb 2010 21:08:10 +0000 (21:08 +0000)]
gdb/testsuite/
* gdb.mi/mi-break.exp (test_breakpoint_commands): Use
mi_send_resuming_command to send -exec-continue.

14 years ago gdb/
drow [Tue, 16 Feb 2010 20:51:49 +0000 (20:51 +0000)]
gdb/
* linespec.c (decode_line_1): Handle FILE:FUNCTION even if
FUNCTION contains parentheses.  Improve removal of a trailing
single quote.

gdb/testsuite/
* gdb.base/list.exp (test_list_filename_and_function): Add test
with single quotes.
* gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
matching.
* gdb.cp/overload.exp: Add tests with filename, function, and quotes.
Add KFAIL'd tests for PR gdb/11289.

14 years ago gdb/
drow [Tue, 16 Feb 2010 20:48:51 +0000 (20:48 +0000)]
gdb/
* gcore.c (do_bfd_delete_cleanup): New function.
(gcore_command): Use it.  Discard the cleanup after success.
(gcore_copy_callback): Delete dead code.

14 years ago gdb/
drow [Tue, 16 Feb 2010 20:28:06 +0000 (20:28 +0000)]
gdb/
* symfile.c (addr_info_make_relative): Always use
find_lowest_section.

14 years ago gdb/testsuite/
drow [Tue, 16 Feb 2010 20:23:43 +0000 (20:23 +0000)]
gdb/testsuite/
* gdb.cp/cpcompletion.exp: Specify source file name explicitly.

14 years ago gdb/testsuite/
drow [Tue, 16 Feb 2010 20:18:53 +0000 (20:18 +0000)]
gdb/testsuite/
* gdb.base/comp-dir/subdir/dummy.txt: New file.
* gdb.base/completion.exp: Use comp-dir/subdir instead of creating
a temporary directory.

14 years ago gdb/testsuite/
drow [Tue, 16 Feb 2010 20:13:14 +0000 (20:13 +0000)]
gdb/testsuite/
* gdb.base/charset.exp: Use a single regular expression to match
show host-charset and show target-charset output.

14 years ago2010-02-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
ramana [Tue, 16 Feb 2010 19:02:59 +0000 (19:02 +0000)]
2010-02-15  Matthew Gretton-Dann <matthew.gretton-dann@arm.com>

* ld-arm/jump-reloc-veneers-long.d: Correct testcase for
  arm-none-eabi target.
* ld-arm/jump-reloc-veneers-short1.d: Likewise
* ld-arm/jump-reloc-veneers-short2.d: Likewise