OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
13 years ago2011-05-18 Pedro Alves <pedro@codesourcery.com>
palves [Wed, 18 May 2011 16:20:21 +0000 (16:20 +0000)]
2011-05-18  Pedro Alves  <pedro@codesourcery.com>

gdb/
* infrun.c (resume): Mention which is the current thread, and its
current PC in debug output.
(prepare_to_proceed): Mention the thread switching in debug
output.

13 years ago * linux-thread-db.c (try_thread_db_load_from_pdir_1): Fix absolute
tromey [Wed, 18 May 2011 15:00:51 +0000 (15:00 +0000)]
* linux-thread-db.c (try_thread_db_load_from_pdir_1): Fix absolute
path check.  Use xmalloc and cleanups.
(try_thread_db_load_from_dir): Use xmalloc and cleanups.

13 years ago PR ld/12761
nickc [Wed, 18 May 2011 14:04:28 +0000 (14:04 +0000)]
PR ld/12761
* elflink.c (elf_link_add_object_symbols): Process .gnu.warning
sections when building shared libraries.

* lib/ld-lib.exp (run_cc_link_tests): Add an optional 8th
parameter - an expected warning message from the linker.
* ld-elf/shared.exp (build_tests): Expect a warning message when
building the libbarw.so library.

* ld-elf/shared.exp: Run library building tests even when not
building a native toolchain.

13 years ago PR gas/12754
nickc [Wed, 18 May 2011 13:52:44 +0000 (13:52 +0000)]
PR gas/12754
* config/tc-tic30.c (ordinal_names): Allow translation of the
ordinal names.

13 years ago PR ld/12778
nickc [Wed, 18 May 2011 13:36:08 +0000 (13:36 +0000)]
PR ld/12778
* elf32-arm.c (elf32_arm_gc_sweep_hook): Use the computed dynamic
reloc pointer.

13 years ago * config/tc-arm.c (s_unreq): Reword warning message to make it
nickc [Wed, 18 May 2011 09:41:14 +0000 (09:41 +0000)]
* config/tc-arm.c (s_unreq): Reword warning message to make it
easier to translate.
* config/tc-ia64.c (md_show_usage): Add note for translators.
* configure.in (ALL_LINGUAS): Add "fi".
* configure: Regenerate.

13 years ago2011-05-18 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 18 May 2011 08:00:05 +0000 (08:00 +0000)]
2011-05-18  Tristan Gingold  <gingold@adacore.com>

* xcofflink.c (xcoff_link_add_symbols): Handle C_DWARF symbols.
(xcoff_sweep): Always keep dwarf sections.
(xcoff_link_input_bfd): Handle dwarf symbols and sections.

13 years agobfd
gingold [Wed, 18 May 2011 07:58:26 +0000 (07:58 +0000)]
bfd
2011-05-18  Tristan Gingold  <gingold@adacore.com>

* libxcoff.h (struct xcoff_dwsect_name): New type.
(XCOFF_DWSECT_NBR_NAMES): New macro.
(xcoff_dwsect_names): Declare.
* coffcode.h (sec_to_styp_flags): Handle xcoff dwarf sections.
(styp_to_sec_flags): Ditto.
(coff_new_section_hook): Ditto.
(coff_slurp_symbol_table): Handle C_DWARF and C_INFO.
* coff-rs6000.c (xcoff_dwsect_name): New variable.

gas
2011-05-18  Tristan Gingold  <gingold@adacore.com>

* config/tc-ppc.h (ppc_tc_sy): Reorder fields.
Put size into an union with dw.
(OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
(ppc_xcoff_end): Declare.
(md_end): Define.
* config/tc-ppc.c: Add includes for xcoff.
(ppc_dwsect): New function.
(md_pseudo_table): Add dwsect.
(struct dw_subsection): New.
(dw_sections): New.
(ppc_change_debug_section): New function.
(ppc_xcoff_end): Ditto.
(ppc_function): Adjust for ppc_tc_sy.
(ppc_symbol_new_hook): Ditto.
(ppc_frob_symbol): Ditto.
(ppc_frob_section): Do not set vma for debug sections.
(ppc_fix_adjustable): Return true for debug sections.
* config/obj-coff.c: Add includes for xcoff.
(coff_frob_section): Handle dwarf section.

gas/testsuite
2011-05-18  Tristan Gingold  <gingold@adacore.com>

* gas/ppc/xcoff-dwsect-1-32.d: New test.
* gas/ppc/xcoff-dwsect-1-64.d: Ditto.
* gas/ppc/xcoff-dwsect-1.s: New file.
* gas/ppc/aix.exp (do_align_test): Add tests.

13 years ago* new-features.sgml (ov-new1.7.10): Document error.h functions.
yselkowitz [Wed, 18 May 2011 01:26:56 +0000 (01:26 +0000)]
* new-features.sgml (ov-new1.7.10): Document error.h functions.

13 years ago* cygwin.din (error): Export.
yselkowitz [Wed, 18 May 2011 01:25:39 +0000 (01:25 +0000)]
* cygwin.din (error): Export.
(error_at_line): Export.
(error_message_count): Export.
(error_one_per_line): Export.
(error_print_progname): Export.
* errno.cc (error_message_count): Define.
(error_one_per_line): Define.
(error_print_progname): Define.
(_verror): New static function.
(error): New function.
(error_at_line): New function.
* posix.sgml (std-gnu): Add error, error_at_line.
* include/error.h: New header.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

13 years ago*** empty log message ***
gdbadmin [Wed, 18 May 2011 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Wed, 18 May 2011 00:00:04 +0000 (00:00 +0000)]
daily update

13 years ago * cp-valprint.c (cp_print_value_fields): Catch errors from
tromey [Tue, 17 May 2011 19:29:09 +0000 (19:29 +0000)]
* cp-valprint.c (cp_print_value_fields): Catch errors from
value_static_field.

13 years ago* new-features.sgml (ov-new1.7.10): Document CPU-time clock support.
yselkowitz [Tue, 17 May 2011 17:09:32 +0000 (17:09 +0000)]
* new-features.sgml (ov-new1.7.10): Document CPU-time clock support.
Move pthread stack management APIs to separate listitem.

13 years ago* cygwin.din (clock_getcpuclockid): Export.
yselkowitz [Tue, 17 May 2011 17:08:08 +0000 (17:08 +0000)]
* cygwin.din (clock_getcpuclockid): Export.
(pthread_getcpuclockid): Export.
* hires.h (PID_TO_CLOCKID): New macro.
(CLOCKID_TO_PID): New macro.
(CLOCKID_IS_PROCESS): New macro.
(THREADID_TO_CLOCKID): New macro.
(CLOCKID_TO_THREADID): New macro.
(CLOCKID_IS_THREAD): New macro.
* ntdll.h (enum _THREAD_INFORMATION_CLASS): Add ThreadTimes.
* posix.sgml (std-notimpl): Add clock_getcpuclockid and
pthread_getcpuclockid from here...
(std-susv4): ... to here.
(std-notes): Remove limitations of clock_getres and clock_gettime.
Note limitation of timer_create to CLOCK_REALTIME.
* sysconf.cc (sca): Set _SC_CPUTIME to _POSIX_CPUTIME, and
_SC_THREAD_CPUTIME to _POSIX_THREAD_CPUTIME.
* thread.cc (pthread_getcpuclockid): New function.
* timer.cc (timer_create): Set errno to ENOTSUP for CPU-time clocks.
* times.cc (clock_gettime): Handle CLOCK_PROCESS_CPUTIME_ID and
CLOCK_THREAD_CPUTIME_ID.
(clock_getres): Ditto.
(clock_settime): Set errno to EPERM for CPU-time clocks.
(clock_getcpuclockid): New function.
* include/pthread.h (pthread_getcpuclockid): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

13 years ago * dwarf2read.c (dwarf2_get_die_type): Call
tromey [Tue, 17 May 2011 17:01:46 +0000 (17:01 +0000)]
* dwarf2read.c (dwarf2_get_die_type): Call
get_die_type_at_offset.
* dwarf2expr.c (dwarf_get_base_type): Handle NULL return from
get_base_type function.

13 years ago * dwarf2read.c (dwarf2_get_die_type): Call
tromey [Tue, 17 May 2011 17:01:37 +0000 (17:01 +0000)]
* dwarf2read.c (dwarf2_get_die_type): Call
get_die_type_at_offset.
* dwarf2expr.c (dwarf_get_base_type): Handle NULL return from
get_base_type function.

13 years ago * po/fi.po: New Finnish translation.
nickc [Tue, 17 May 2011 16:38:27 +0000 (16:38 +0000)]
* po/fi.po: New Finnish translation.
* po/fr.po: Updated French translation.

13 years ago * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
nickc [Tue, 17 May 2011 16:15:56 +0000 (16:15 +0000)]
* config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
* config/tc-mt.c (md_assemble): Fix typos in warning messages.
* cond.c (s_else): Fix typos in error messages.
* config/tc-pj.c (md_assemble): Fix typo in error message.

13 years ago * strsignal.c (psignal): Change second parameter to const char *.
corinna [Tue, 17 May 2011 16:14:52 +0000 (16:14 +0000)]
* strsignal.c (psignal): Change second parameter to const char *.
Fix comment accordingly.

13 years ago PR ld/12759
nickc [Tue, 17 May 2011 16:02:29 +0000 (16:02 +0000)]
PR ld/12759
* emultempl/rxelf.em (ignore_lma): New variable.
(rx_elf_create_output_section_statements): Pass the setiing of
ignore_lma to bfd_elf32_rx_set_target_flags.
(OPTION_IGNORE_LMA): Define.
(OPTION_NO_IGNORE_LMA): Define.
(PARSE_AND_LIST_LONGOPTS): Add ignore lma.
(PARSE_AND_LIST_OPTIONS): Add ignore lma.
(PARSE_AND_LIST_ARGS_CASES): Add ignore lma.

* elf32-rx.c (ignore_lma): New variable.
(bfd_elf32_rx_set_target_flags): Add ignore_lma parameter.
(rx_modify_program_headers): Only copy the LMA into the VMA if
ignore_lma is true.

13 years ago * miscfuncs.cc (thread_wrapper): Remove unused _cygtls record.
corinna [Tue, 17 May 2011 15:36:59 +0000 (15:36 +0000)]
* miscfuncs.cc (thread_wrapper): Remove unused _cygtls record.
* mmap.cc (is_mmapped_region): Avoid crash if no mmaps exist.

13 years ago2011-05-17 Pedro Alves <pedro@codesourcery.com>
palves [Tue, 17 May 2011 13:29:38 +0000 (13:29 +0000)]
2011-05-17  Pedro Alves  <pedro@codesourcery.com>

gdb/doc/
* gdb.texinfo (Remote Protocol) <Overview>: Mention vCont is
required for multi-threading support.
(Remote Protocol) <Packets>: Mention that 'c', 's', 'C', 'S' and
Hc are deprecated for multi-threading debugging.  Point readers at
the vCont packet.

13 years ago PR ld/12760
amodra [Tue, 17 May 2011 13:02:16 +0000 (13:02 +0000)]
PR ld/12760
include/
* bfdlink.h (struct bfd_link_callbacks <notice>): Add "flags" and
"string" param.
bfd/
* coff-aux.c (coff_m68k_aux_link_add_one_symbol): Adjust "notice" call.
* elflink.c (elf_link_add_object_symbols): Likewise.
* linker.c (_bfd_generic_link_add_one_symbol): Likewise.
ld/
* ldmain.c (notice): Add "flags" and "string" param.
* plugin.c (plugin_notice): Likewise.  Handle indirect, warning
and constructor syms.

13 years ago2011-05-17 Tomas Martinec <fyzmat@gmail.com>
palves [Tue, 17 May 2011 11:43:04 +0000 (11:43 +0000)]
2011-05-17  Tomas Martinec  <fyzmat@gmail.com>

gdb/
* infrun.c (handle_inferior_event) <handling deferred step>: Clear
trap_expected.

13 years ago*** empty log message ***
gdbadmin [Tue, 17 May 2011 00:01:03 +0000 (00:01 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Tue, 17 May 2011 00:00:06 +0000 (00:00 +0000)]
daily update

13 years ago * options.h (class General_options): Make -i a synonym for -r.
ian [Mon, 16 May 2011 23:41:23 +0000 (23:41 +0000)]
* options.h (class General_options): Make -i a synonym for -r.

13 years ago * testsuite/tls_test_main.cc: Use semaphores instead of mutexes.
ian [Mon, 16 May 2011 23:29:29 +0000 (23:29 +0000)]
* testsuite/tls_test_main.cc: Use semaphores instead of mutexes.

13 years ago* libc/include/time.h (CLOCK_PROCESS_CPUTIME_ID): Rename from
yselkowitz [Mon, 16 May 2011 22:35:09 +0000 (22:35 +0000)]
* libc/include/time.h (CLOCK_PROCESS_CPUTIME_ID): Rename from
CLOCK_PROCESS_CPUTIME.
(CLOCK_THREAD_CPUTIME_ID): Rename from CLOCK_THREAD_CPUTIME.
* libc/include/sys/features.h [__CYGWIN__] (_POSIX_CPUTIME): Define.
(_POSIX_THREAD_CPUTIME): Define.

13 years agosim: tests: support .S/.c files
vapier [Mon, 16 May 2011 18:48:30 +0000 (18:48 +0000)]
sim: tests: support .S/.c files

Rather than requiring all sim tests to be preprocessed .s files, add
support for .S and .c files so we can easily write code using a higher
level language like C.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago * globals.cc (__getlogin_username): Remove.
corinna [Mon, 16 May 2011 17:58:21 +0000 (17:58 +0000)]
* globals.cc (__getlogin_username): Remove.
* uinfo.cc (getlogin_r): Fetch username from cygheap.
(getlogin): Add static buffer username and fetch username from
getlogin_r.

13 years ago * python/py-auto-load.c (source_section_scripts): Mention objfile
devans [Mon, 16 May 2011 16:33:49 +0000 (16:33 +0000)]
* python/py-auto-load.c (source_section_scripts): Mention objfile
name in warning.

13 years ago2011-05-16 Adrian Cornish <gnu@bluedreamer.com>
tromey [Mon, 16 May 2011 15:59:45 +0000 (15:59 +0000)]
2011-05-16  Adrian Cornish  <gnu@bluedreamer.com>

* linux-i386-ipa.c (supply_static_tracepoint_registers): Pass
__FILE__ and __LINE__ to internal_error.

13 years ago * cygtls.h (struct _local_storage): Remove unused members rarg and
corinna [Mon, 16 May 2011 15:12:34 +0000 (15:12 +0000)]
* cygtls.h (struct _local_storage): Remove unused members rarg and
_localtime_buf.  Remove username in favor of a global buffer.  Reorder
slightly to keep the net.cc stuff together.
* globals.cc (__getlogin_username): New global char buffer.
* tlsoffsets.h: Regenerate.
* uinfo.cc (getlogin): Copy username into __getlogin_username.

13 years ago2011-05-16 Pedro Alves <pedro@codesourcery.com>
palves [Mon, 16 May 2011 13:56:39 +0000 (13:56 +0000)]
2011-05-16  Pedro Alves  <pedro@codesourcery.com>

gdb/testsuite/
* gdb.ada/start.exp: Call untested with the correct test filename.
* gdb.arch/i386-bp_permanent.exp: Call untested with the correct
test filename.  Make the test's binary unique.
* gdb.arch/i386-signal.exp: Call untested with the correct test
filename.
* gdb.arch/i386-size-overlap.exp: Ditto.
* gdb.arch/Makefile.in (EXECUTABLES): Update.
* gdb.base/gcore-buffer-overflow.exp: Ditto.
* gdb.cp/call-c.exp: Ditto.
* gdb.mi/mi-reverse.exp: Call untested with the correct test
filename.  Make the test's binary unique.
* gdb.mi/Makefile.in (EXECUTABLES): Update.
* gdb.python/py-mi.exp: Ditto.
* gdb.python/Makefile.in (EXECUTABLES): Update.
* gdb.reverse/i386-precsave.exp: Ditto.
* gdb.reverse/i387-env-reverse.exp: Call untested with the correct
test filename.
* gdb.reverse/i387-stack-reverse.exp: Ditto.
* gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
unique.
* gdb.reverse/sigall-reverse.exp: Call untested with the correct
test filename.
* gdb.reverse/Makefile.in (EXECUTABLES): Update.
* gdb.trace/tfile.exp: Ditto.

13 years agoReplace --private with --private-headers for objdump.
hjl [Mon, 16 May 2011 13:47:28 +0000 (13:47 +0000)]
Replace --private with --private-headers for objdump.

2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>

* ld-scripts/phdrs.exp: Replace --private with
--private-headers for objdump.
* ld-scripts/phdrs2.exp: Likewise.

13 years agoMissing entry.
gingold [Mon, 16 May 2011 13:45:42 +0000 (13:45 +0000)]
Missing entry.

2011-05-15  Tristan Gingold  <gingold@adacore.com>

* od-xcoff.c: New file.
* objdump.h: New file.
* objdump.c: Include objdump.h
(dump_private_options, objdump_private_vectors): New variables.
(usage): Mention -P/--private.  Display handled options.
(long_options): Add -P/--private.
(dump_target_specific): New function.
(dump_bfd): Handle dump_private_options.
(main): Handle -P.
* doc/binutils.texi (objdump): Document -P/--private.
* configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
New variables, compute them.
(od_vectors): Add vectors for private dumpers. Make them uniq.
(OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
* Makefile.am (HFILES): Add objdump.h
(CFILES): Add od-xcoff.c
(OBJDUMP_PRIVATE_OFILES): New variable.
(objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
(objdump_LDADD): Ditto.
(EXTRA_objdump_SOURCES): Define.
* Makefile.in: Regenerate.
* configure: Regenerate.

13 years ago * libc/stdlib/strtod.c (_strtod_r): Fix nf/nd counts to not exceed
corinna [Mon, 16 May 2011 13:34:04 +0000 (13:34 +0000)]
* libc/stdlib/strtod.c (_strtod_r): Fix nf/nd counts to not exceed
DBL_DIG.

13 years ago2011-05-16 Tristan Gingold <gingold@adacore.com>
gingold [Mon, 16 May 2011 12:22:10 +0000 (12:22 +0000)]
2011-05-16  Tristan Gingold  <gingold@adacore.com>

* od-xcoff.c: New file.
* objdump.h: New file.
* objdump.c: Include objdump.h
(dump_private_options, objdump_private_vectors): New variables.
(usage): Mention -P/--private.  Display handled options.
(long_options): Add -P/--private.
(dump_target_specific): New function.
(dump_bfd): Handle dump_private_options.
(main): Handle -P.
* doc/binutils.texi (objdump): Document -P/--private.
* configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
New variables, compute them.
(od_vectors): Add vectors for private dumpers. Make them uniq.
(OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
* Makefile.am (HFILES): Add objdump.h
(CFILES): Add od-xcoff.c
(OBJDUMP_PRIVATE_OFILES): New variable.
(objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
(objdump_LDADD): Ditto.
(EXTRA_objdump_SOURCES): Define.
* Makefile.in: Regenerate.
* configure: Regenerate.

13 years ago * ldlang.c (print_assignment): Use the symbol's section if we
nathan [Mon, 16 May 2011 11:34:48 +0000 (11:34 +0000)]
* ldlang.c (print_assignment): Use the symbol's section if we
use its value.
* ldexp.c (exp_fold_tree_1): Skip self-assignment.  Expand
comment on copying symbol type.

13 years ago * heap.cc (heap_init): Rewrite initial heap allocation to use addresses
corinna [Mon, 16 May 2011 10:27:12 +0000 (10:27 +0000)]
* heap.cc (heap_init): Rewrite initial heap allocation to use addresses
beyond 0x20000000.  Explain why and how.
* shared.cc (shared_info::heap_slop_size): Remove.
* shared_info.h (class shared_info): Remove heap_slop_inited and
heap_slop members.  Remove heap_slop_size declaration.
(CURR_SHARED_MAGIC): Update.
* wincap.cc: Throughout, drop heapslop.
* wincap.h (struct wincaps): Drop heapslop.

13 years ago * dcrt0.cc (child_info_fork::alloc_stack_hard_way): Check if the
corinna [Mon, 16 May 2011 09:55:16 +0000 (09:55 +0000)]
* dcrt0.cc (child_info_fork::alloc_stack_hard_way): Check if the
requested stack is application-provided within the user heap or an
mmapped region.  If so, just use it.  Add comment to explain why.
* miscfuncs.cc (thread_wrapper): If an application-provided stack
has been given, implement cygtls area at the stackbase.  Fix comment.
* mmap.cc (is_mmapped_region): New function.
* winsup.h (is_mmapped_region): Declare.

13 years ago * gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d,
hp [Mon, 16 May 2011 03:29:34 +0000 (03:29 +0000)]
* gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d,
gas/cris/rd-fragtest-pic.d: Gate on targets cris-*-*elf* and
cris-*-linux-gnu.
* gas/cris/pic-err-2.s, gas/cris/pic-err-3.s: New tests.

13 years ago * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
hp [Mon, 16 May 2011 03:28:46 +0000 (03:28 +0000)]
* config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
emitting ELF object.
(md_show_usage): Only mention --pic if the assembler can generate
ELF objects.
* doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
prerequisite for --pic being a valid option.

13 years ago * linux-thread-db.c (try_thread_db_load_from_pdir_1): New function.
devans [Mon, 16 May 2011 02:22:34 +0000 (02:22 +0000)]
* linux-thread-db.c (try_thread_db_load_from_pdir_1): New function.
(try_thread_db_load_from_pdir): Call it.  If unable to find
libthread_db in directory of libpthread, see if we're looking at
the separate-debug-info copy.

13 years ago PR ld/12760
amodra [Mon, 16 May 2011 00:58:11 +0000 (00:58 +0000)]
PR ld/12760
* plugin.c (plugin_notice): Set u.undef.abfd for symbols made
undefweak.

13 years ago * ldlang.c (lang_leave_output_section_statement): Don't copy
amodra [Mon, 16 May 2011 00:22:36 +0000 (00:22 +0000)]
* ldlang.c (lang_leave_output_section_statement): Don't copy
previous lma_region if given address.

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

13 years agodaily update
amodra [Mon, 16 May 2011 00:00:04 +0000 (00:00 +0000)]
daily update

13 years agoinclude/
amodra [Sun, 15 May 2011 23:44:06 +0000 (23:44 +0000)]
include/
* bfdlink.h (struct bfd_link_hash_entry): Remove u.undef.weak field.
bfd/
* linker.c (_bfd_generic_link_add_one_symbol): Don't init u.undef.weak.

13 years ago * miscfuncs.cc (thread_wrapper): Add comments to assembler code.
corinna [Sun, 15 May 2011 19:04:40 +0000 (19:04 +0000)]
* miscfuncs.cc (thread_wrapper): Add comments to assembler code.

13 years agobfd/
rsandifo [Sun, 15 May 2011 18:52:00 +0000 (18:52 +0000)]
bfd/
* elfxx-mips.c (_bfd_mips_elf_check_relocs): Record both local and
global GOT entries for GOT_PAGE relocations against global symbols.

ld/testsuite/
* lib/ld-lib.exp (run_ld_link_tests): Simplify pass/fail logic.
Fail if the link command fails and if no test rules are defined.
* ld-mips-elf/reloc-6a.s, ld-mips-elf/reloc-6b.s: New tests.
* ld-mips-elf/mips-elf.exp: Run them.

13 years ago * new-features.sgml (ov-new1.7.10): Document pthread_attr_getguardsize,
corinna [Sun, 15 May 2011 18:51:49 +0000 (18:51 +0000)]
* new-features.sgml (ov-new1.7.10): Document pthread_attr_getguardsize,
pthread_attr_setstack, pthread_attr_setstackaddr and
pthread_attr_setguardsize.

13 years ago * libc/include/sys/features.h (_POSIX_THREAD_ATTR_STACKADDR): Define
corinna [Sun, 15 May 2011 18:50:52 +0000 (18:50 +0000)]
* libc/include/sys/features.h (_POSIX_THREAD_ATTR_STACKADDR): Define
to 200112L for Cygwin.

13 years ago * cygwin.din (pthread_attr_getguardsize): Export.
corinna [Sun, 15 May 2011 18:49:38 +0000 (18:49 +0000)]
* cygwin.din (pthread_attr_getguardsize): Export.
(pthread_attr_setguardsize): Export.
(pthread_attr_setstack): Export.
(pthread_attr_setstackaddr): Export.
* init.cc (dll_entry): Remove wow64_test_stack_marker.  Check for
unusual stack address by testing stack addresses from current TEB.
Check validity of _my_tls by testing if it's within the stack as
given in current TEB.
* miscfuncs.cc (struct thread_wrapper_arg): New structure used to
push all required information to thread_wrapper function.
(thread_wrapper): Wrapper function for actual thread function.
If an application stack has been given, change %ebp and %esp so that
the thread function runs on that stack.  If the thread has been created
by CygwinCreateThread, set up the POSIX guard pages if necessary.
(CygwinCreateThread): New function.
* miscfuncs.h (CygwinCreateThread): Declare.
* ntdll.h (struct _TEB): Define all members up to Peb.
* posix.sgml (std-susv4): Move pthread_attr_getguardsize,
pthread_attr_setguardsize and pthread_attr_setstack here.
(std-deprec): Add pthread_attr_setstackaddr.
* sysconf.cc (sca): Set _SC_THREAD_ATTR_STACKADDR to
_POSIX_THREAD_ATTR_STACKADDR.
* thread.cc (pthread::precreate): Copy pthread_attr stackaddr and
guardsize members.
(pthread::create): Call CygwinCreateThread.
(pthread_attr::pthread_attr): Initialize guardsize.
(pthread_attr_setstack): New function.
(pthread_attr_setstackaddr): New function.
(pthread_attr_setguardsize): New function.
(pthread_attr_getguardsize): New function.
(pthread_getattr_np): Copy attr.guardsize.
* thread.h (pthread_attr): Add member guardsize.
* include/pthread.h (pthread_attr_getguardsize): Declare.
(pthread_attr_setguardsize): Declare.
* include/cygwin/version.h: Bump API minor number.

13 years ago * python/py-autoload.c (print_script): Print "Missing" instead of
devans [Sun, 15 May 2011 18:46:23 +0000 (18:46 +0000)]
* python/py-autoload.c (print_script): Print "Missing" instead of
"No" for missing scripts.
(info_auto_load_scripts): Tweak "Loaded" column to fit "Missing".

doc/
* gdb.texinfo (Auto-loading): Document printing of missing scripts.

13 years ago * include/winbase.h (STACK_SIZE_PARAM_IS_A_RESERVATION): Define.
corinna [Sun, 15 May 2011 16:40:48 +0000 (16:40 +0000)]
* include/winbase.h (STACK_SIZE_PARAM_IS_A_RESERVATION): Define.

13 years ago*** empty log message ***
gdbadmin [Sun, 15 May 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sun, 15 May 2011 00:00:07 +0000 (00:00 +0000)]
daily update

13 years agosim: bfin: allow pushing of SP
vapier [Sat, 14 May 2011 16:00:37 +0000 (16:00 +0000)]
sim: bfin: allow pushing of SP

The hardware respects this insn, and some code (like the on-chip bootrom)
uses it, so allow it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agosim: bfin: implement loop back support in the UARTs
vapier [Sat, 14 May 2011 15:59:09 +0000 (15:59 +0000)]
sim: bfin: implement loop back support in the UARTs

The UART has a LOOP_ENA bit in its MCR register where writes to the THR
go to the RBR.  Implement support for this mode.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago2011-05-14 Yao Qi <yao@codesourcery.com>
qiyao [Sat, 14 May 2011 06:06:35 +0000 (06:06 +0000)]
2011-05-14  Yao Qi  <yao@codesourcery.com>

* gdb.trace/tfile.c(add_memory_block): Store address in unsigned
type.

13 years ago * ui-file.c (stdio_file_write_async_safe): Add comment.
devans [Sat, 14 May 2011 05:44:36 +0000 (05:44 +0000)]
* ui-file.c (stdio_file_write_async_safe): Add comment.

13 years ago2011-05-14 Hui Zhu <teawater@gmail.com>
teawater [Sat, 14 May 2011 03:37:16 +0000 (03:37 +0000)]
2011-05-14  Hui Zhu  <teawater@gmail.com>

* ui-file.c (stdio_file_write_async_safe): Add empty check for build.

13 years ago * gas/all/gas.exp: Fix typo last change.
amodra [Sat, 14 May 2011 00:52:07 +0000 (00:52 +0000)]
* gas/all/gas.exp: Fix typo last change.

13 years ago*** empty log message ***
gdbadmin [Sat, 14 May 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sat, 14 May 2011 00:00:06 +0000 (00:00 +0000)]
daily update

13 years ago Support $pdir and $sdir in libthread-db-search-path.
devans [Fri, 13 May 2011 22:36:05 +0000 (22:36 +0000)]
Support $pdir and $sdir in libthread-db-search-path.
* NEWS: Mention $sdir,$pdir.
* gdb_thread_db.h (LIBTHREAD_DB_SEARCH_PATH): Add $sdir:$pdir.
* linux-thread-db.c (try_thread_db_load_from_pdir): New function.
(try_thread_db_load_from_sdir): New function.
(try_thread_db_load_from_dir): New function.
(thread_db_load_search): Handle $pdir, $sdir.  Remove trying of
system directories if search of libthread-db-search-path fails,
that is now done via $sdir.
(has_libpthread): New function.
(thread_db_load): Remove search for libthread_db in directory of
libpthread, that is now done via $pdir.

gdbserver/
* thread-db.c (try_thread_db_load_from_sdir): New function.
(try_thread_db_load_from_dir): New function.
(thread_db_load_search): Handle $sdir, ignore $pdir.
Remove trying of system directories if search of
libthread-db-search-path fails, that is now done via $sdir.

doc/
* gdb.texinfo (Threads): Document $sdir,$pdir.
(Server): Document $pdir exception.

13 years ago * NEWS: Mention "info auto-load-scripts".
devans [Fri, 13 May 2011 22:11:45 +0000 (22:11 +0000)]
* NEWS: Mention "info auto-load-scripts".
* python/py-auto-load.c (struct auto_load_pspace_info): New member
script_not_found_warning_printed.
(init_loaded_scripts_info): Renamed from create_loaded_scripts_hash,
all callers updated.  Initialize script_not_found_warning_printed.
(get_auto_load_pspace_data_for_loading): New function.
(maybe_add_script): New function.
(source_section_scripts): Simplify.  Only print one warning regardless
of the number of auto-load scripts not found.
(clear_section_scripts): Clear script_not_found_warning_printed.
(auto_load_objfile_script): Record script in hash table.
(count_matching_scripts): New function.
(maybe_print_script): Renamed from maybe_print_section_script, all
callers updated.  Rewrite to use ui_out_*.
(info_auto_load_scripts): Renamed from
maintenance_print_section_scripts, all callers updated.
(gdbpy_initialize_auto_load): "maintenance print section-scripts"
renamed as "info auto-load-scripts".

doc/
* gdb.texinfo (Auto-loading): Document "info auto-load-scripts".

testsuite/
* gdb.python/py-objfile-script.exp: New file.
* gdb.python/py-objfile-script.c: New file.
* gdb.python/py-objfile-script-gdb.py: New file.
* testsuite/gdb.python/py-section-script.exp: Test
"info auto-load-scripts".

13 years agofix >80 cols in earlier entry
devans [Fri, 13 May 2011 22:09:57 +0000 (22:09 +0000)]
fix >80 cols in earlier entry

13 years agofix >80 cols in earlier entry
devans [Fri, 13 May 2011 22:08:58 +0000 (22:08 +0000)]
fix >80 cols in earlier entry

13 years agofix >80 column entry in earlier entry
devans [Fri, 13 May 2011 22:07:56 +0000 (22:07 +0000)]
fix >80 column entry in earlier entry

13 years agogdb
tromey [Fri, 13 May 2011 18:54:59 +0000 (18:54 +0000)]
gdb
* dwarf2expr.c (read_uleb128): Cast intermediate result.
(read_sleb128): Likewise.
gdb/testsuite
* gdb.dwarf2/clztest.exp: New file.
* gdb.dwarf2/clztest.c: New file.
* gdb.dwarf2/clztest.S: New file.

13 years ago * gdb.texinfo (Threads): Clarify default value for libthread-db-search-path.
devans [Fri, 13 May 2011 18:45:43 +0000 (18:45 +0000)]
* gdb.texinfo (Threads): Clarify default value for libthread-db-search-path.

13 years ago * dwarf2loc.c (disassemble_dwarf_expression): Fix instruction
tromey [Fri, 13 May 2011 18:42:47 +0000 (18:42 +0000)]
* dwarf2loc.c (disassemble_dwarf_expression): Fix instruction
offset display.

13 years ago * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t, String16 tests.
devans [Fri, 13 May 2011 18:31:00 +0000 (18:31 +0000)]
* gdb.base/charset.exp: If UTF-16 is not available, skip char16_t, String16 tests.

13 years ago ld/
bernds [Fri, 13 May 2011 18:15:29 +0000 (18:15 +0000)]
ld/
(eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c,
eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules.
* Makefile.am (ALL_EMULATIONS): Add these files.
(eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em.
* Makefile.in: Regenerated.
* emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target
vectors.
* emulparams/elf32_tic6x_elf_be.sh: New file.
* emulparams/elf32_tic6x_elf_le.sh: New file.
* emulparams/elf32_tic6x_linux_be.sh: New file.
* emulparams/elf32_tic6x_linux_le.sh: New file.
* configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New.
(tic6x-*-*): Replaced by these.

ld/testsuite/
* ld-tic6x/dsbt.ld (OUTPUT_FORMAT): Add.
* ld-tic6x/tic6x.exp: Add OSABI tests.

bfd/
* config.bfd (tic6x-*-elf, tic6x-*-uclinux): New.
(tic6x-*-*): Replaced by these.
* elf32-tic6x.c (elf32_tic6x_set_osabi): New static function.
(elf32_tic6x_check_relocs): Create dynamic sections if -shared.
(elf_backend_relocs_compatible, elf_backend_post_process_headers):
Define.
(elf32_bed, TARGET_LITTLE_SYM, TARGET_LITTLE_NAME, TARGET_BIG_SYM,
TARGET_BIG_NAME, ELF_OSABI): Redefine twice, and include
"elf32-target.h" two more times.
* configure.in: Handle bfd_elf32_tic6x_linux_be_vec,
bfd_elf32_tic6x_linux_le_vec, bfd_elf32_tic6x_elf_be_vec and
bfd_elf32_tic6x_elf_le_vec.
* configure: Regenerate.

13 years ago * linux-nat.c (debug_linux_nat_async): Delete.
devans [Fri, 13 May 2011 17:31:05 +0000 (17:31 +0000)]
* linux-nat.c (debug_linux_nat_async): Delete.
Replace all references to use debug_linux_nat instead.
(show_debug_linux_nat_async): Delete.
(sigchld_handler): Call ui_file_write_async_safe instead of
fprintf_unfiltered.
(_initialize_linux_nat): Remove `set debug lin-lwp-async'.
* ui-file.c (struct ui_file): New member to_write_async_safe.
(null_file_write_async_safe): New function.
(ui_file_write_async_safe): New function.
(set_ui_file_write_async_safe): New function.
(ui_file_new): Initialize to_write_async_safe.
(stdio_file_write_async_safe): New function.
(struct stdio_file): New member fd.
(stdio_file_new): Initialize to_write_async_safe, fd.
(stdio_file_read, stdio_file_isatty): New stdio->fd instead of calling fileno.
* ui-file.h (ui_file_write_async_safe_ftype): New typedef.
(set_ui_file_write_async_safe): Declare.
(ui_file_write_async_safe): Declare.

doc/
* gdb.texinfo (Completion): Update example.
(Debugging Output): Delete `set/show debug lin-lwp-async'.

13 years ago * linux-nat.c (debug_linux_nat_async): Delete.
devans [Fri, 13 May 2011 17:28:19 +0000 (17:28 +0000)]
* linux-nat.c (debug_linux_nat_async): Delete.
Replace all references to use debug_linux_nat instead.
(show_debug_linux_nat_async): Delete.
(sigchld_handler): Call ui_file_write_async_safe instead of
fprintf_unfiltered.
(_initialize_linux_nat): Remove `set debug lin-lwp-async'.
* ui-file.c (struct ui_file): New member to_write_async_safe.
(null_file_write_async_safe): New function.
(ui_file_write_async_safe): New function.
(set_ui_file_write_async_safe): New function.
(ui_file_new): Initialize to_write_async_safe.
(stdio_file_write_async_safe): New function.
(struct stdio_file): New member fd.
(stdio_file_new): Initialize to_write_async_safe, fd.
(stdio_file_read, stdio_file_isatty): New stdio->fd instead of calling fileno.
* ui-file.h (ui_file_write_async_safe_ftype): New typedef.
(set_ui_file_write_async_safe): Declare.
(ui_file_write_async_safe): Declare.

doc/
* gdb.texinfo (Completion): Update example.
(Debugging Output): Delete `set/show debug lin-lwp-async'.

13 years ago * lib/gdb.exp (is_x86_like_target): New proc.
tromey [Fri, 13 May 2011 17:17:20 +0000 (17:17 +0000)]
* lib/gdb.exp (is_x86_like_target): New proc.
* gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
* gdb.dwarf2/valop.exp: Use is_x86_like_target.
* gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target.  Pass
-nostdlib to compiler.
* gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
* gdb.dwarf2/pieces.exp: Use is_x86_like_target.
* gdb.dwarf2/implptr.exp: Use is_x86_like_target.
* gdb.dwarf2/dw2-restore.exp: Check for LP64.
* gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.

13 years ago * utils.c (do_value_free): New function.
tromey [Fri, 13 May 2011 15:44:46 +0000 (15:44 +0000)]
* utils.c (do_value_free): New function.
(make_cleanup_value_free): Likewise.
* dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Handle value
freeing correctly.
(dwarf2_loc_desc_needs_frame): Call
make_cleanup_value_free_to_mark.
* dwarf2expr.h (struct dwarf_expr_context) <mark>: Remove field.
* dwarf2expr.c (free_dwarf_expr_context): Don't call
value_free_to_mark.
(new_dwarf_expr_context): Don't call value_mark.
* dwarf2-frame.c (execute_stack_op): Call
make_cleanup_value_free_to_mark.
* defs.h (make_cleanup_value_free): Declare.

13 years ago * fhandler_process.cc (struct heap_info::heap): Convert base to
corinna [Fri, 13 May 2011 06:50:19 +0000 (06:50 +0000)]
* fhandler_process.cc (struct heap_info::heap): Convert base to
uintptr_t.  Add heap_id, end, flags members.
(heap_info::heap_vm_chunks): Rename from heaps.
(heap_info::heap_info): Rearrange using RtlQueryProcessDebugInformation
to get information of heap virtual memory blocks.  Store heap id and
flags, as well as end address of each block.
(heap_info::fill_if_match): Check incoming base address against full
address range of heap chunks.  Convert flag values in extra heap
information.
(format_process_maps): Change order so that heap check is done before
MEM_MAPPED check since there are shareable heaps.
* ntdll.h (PDI_HEAP_BLOCKS): Define.
(HEAP_FLAG_NOSERIALIZE): Define.
(HEAP_FLAG_GROWABLE): Define.
(HEAP_FLAG_EXCEPTIONS): Define.
(HEAP_FLAG_NONDEFAULT): Define.
(HEAP_FLAG_SHAREABLE): Define.
(HEAP_FLAG_EXECUTABLE): Define.
(HEAP_FLAG_DEBUGGED): Define.
(struct _DEBUG_HEAP_ARRAY): Define.
(struct _DEBUG_HEAP_BLOCK): Define.

13 years agobfd/
jbeulich [Fri, 13 May 2011 06:43:12 +0000 (06:43 +0000)]
bfd/
2011-05-13  Jan Beulich  <jbeulich@novell.com>

* config.bfd: Add targets x86_64-*-pe and x86_64-*-pep.

ld/
2011-05-13  Jan Beulich  <jbeulich@novell.com>

* configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep.

13 years agomissed changelog from last commit
amodra [Fri, 13 May 2011 04:39:08 +0000 (04:39 +0000)]
missed changelog from last commit

13 years agogdb/
bauermann [Fri, 13 May 2011 04:34:19 +0000 (04:34 +0000)]
gdb/
* mi/mi-main.c (mi_cmd_execute): Use cleanup from
prepare_execute_command.
* top.c (prepare_execute_command): Return cleanup.
(execute_command): Use cleanup from prepare_execute_command.
* top.h (prepare_execute_command): Change prototype to return
cleanup.
* defs.h (struct value): Add opaque declaration.
(make_cleanup_value_free_to_mark): Add prototype.
* utils.c (do_value_free_to_mark): New function.
(make_cleanup_value_free_to_mark): Likewise.

gdb/testsuite/
* gdb.python/py-function.exp: Test setting a value from a function
which executes a command.

13 years ago * ld-elf/flags1.d: Don't xfail tic6x.
amodra [Fri, 13 May 2011 04:19:17 +0000 (04:19 +0000)]
* ld-elf/flags1.d: Don't xfail tic6x.
* ld-scripts/weak.exp: Correct comments.  Don't xfail sh-pe.  Remove
redundant xfail.
* ld-selective/sel-dump.exp: Don't xfail alpha.
* ld-selective/selective.exp: Run for alpha.
* ld-undefined/weak-undef.exp: Don't xfail hppa64.

13 years ago * gas/all/gas.exp: Remove some xfails on redef2 and redef3 tests.
amodra [Fri, 13 May 2011 04:16:22 +0000 (04:16 +0000)]
* gas/all/gas.exp: Remove some xfails on redef2 and redef3 tests.
Update comments.
* gas/hppa/unsorted/unsorted.exp: Run globalbug test on appropriate
targets rather than xfailing.

13 years ago * binutils-all/objcopy.exp objcopy_text): Remove xfails for sh-rtems
amodra [Fri, 13 May 2011 04:14:51 +0000 (04:14 +0000)]
* binutils-all/objcopy.exp objcopy_text): Remove xfails for sh-rtems
and tic4x.

13 years ago * generic/gdbtk-hooks.c (gdbtk_create_breakpoint): Change
kseitz [Fri, 13 May 2011 00:36:25 +0000 (00:36 +0000)]
* generic/gdbtk-hooks.c (gdbtk_create_breakpoint): Change
parameter from `int' to `struct breakpoint *'.
(gdbtk_delete_breakpoint): Likewise.
(gdbtk_modify_breakpoint): Likewise.
* generic/gdbtk-bp.c (ALL_BREAKPOINTS): Define.
(breakpoint_list): Remove.
(breakpoint_list_size): Remove.
(Gdbtk_Breakpoint_Init): Remove initialization of breakpoint_list.
(gdb_find_bp_at_addr): Rewrite using ALL_BREAKPOINTS.
(gdb_find_bp_at_line): Likewise.
(gdb_get_breakpoint_info): Likewise.
(gdb_get_breakpoint_list): Likewise.
(gdbtk_create_breakpoint): Change parameter from `int' to
`struct breakpoint *' and update function.
(gdbtk_delete_breakpoint): Likewise.
(gdbtk_modify_breakpoint): Likewise.
(breakpoint_notify): Rewrite using ALL_BREAKPOINTS.

13 years ago*** empty log message ***
gdbadmin [Fri, 13 May 2011 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Fri, 13 May 2011 00:00:04 +0000 (00:00 +0000)]
daily update

13 years ago PR gas/12755
amodra [Thu, 12 May 2011 23:50:23 +0000 (23:50 +0000)]
PR gas/12755
* config/tc-v850.c (parse_register_list): Correct error string.

13 years ago2011-05-12 Quentin Neill <quentin.neill@amd.com>
qneill [Thu, 12 May 2011 22:29:06 +0000 (22:29 +0000)]
2011-05-12  Quentin Neill  <quentin.neill@amd.com>

      * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
      (i386_align_code): Ditto

13 years ago * dwarf2expr.c (execute_stack_op) <DW_OP_shr>: Unconditionally
tromey [Thu, 12 May 2011 19:32:45 +0000 (19:32 +0000)]
* dwarf2expr.c (execute_stack_op) <DW_OP_shr>: Unconditionally
cast left-hand-side to unsigned.

13 years agogdb
tromey [Thu, 12 May 2011 17:40:52 +0000 (17:40 +0000)]
gdb
PR gdb/12617:
* value.h (value_from_contents): Declare.
* value.c (value_from_contents): New function.
* dwarf2read.c (dwarf_stack_op_name): Add new values.
(dwarf2_get_die_type): New function.
* dwarf2loc.c (dwarf_expr_get_base_type): New function.
(allocate_piece_closure): Acquire reference to values.
(read_pieced_value): Update for value-based expressions.
(write_pieced_value): Likewise.
(free_pieced_value_closure): Call value_free as needed.
(dwarf2_evaluate_loc_desc_full): Set get_base_type field.
Update for value-based expressions.
* dwarf2loc.h (dwarf2_get_die_type): Declare.
* dwarf2expr.h (struct dwarf_stack_value) <value>: Change type.
<get_base_type>: New field.
(struct dwarf_expr_piece) <v.value>: Change type.
<v.regno>: New field.
(struct dwarf_expr_context) <mark>: New field.
(dwarf_expr_piece, dwarf_expr_fetch): Update.
(dwarf_expr_pop, dwarf_expr_push): Remove.
(dwarf_expr_push_address): Declare.
* dwarf2expr.c (dwarf_arch_cookie): New global.
(struct dwarf_gdbarch_types): New.
(dwarf_gdbarch_types_init, dwarf_expr_address_type): New
functions.
(dwarf_expr_push): Change type of 'value' argument.  Update.  Now
static.
(dwarf_expr_push_address): New function.
(dwarf_expr_pop): Now static.
(dwarf_expr_fetch): Change return type.
(dwarf_require_integral): New function.
(dwarf_expr_fetch): Simplify.
(add_piece): Update.
(base_types_equal_p, dwarf_get_base_type, get_unsigned_type): New
functions.
(execute_stack_op) <sign_ext>: Remove.
Use values for DWARF stack.
<DW_OP_GNU_const_type, DW_OP_GNU_deref_type,
DW_OP_GNU_regval_type, DW_OP_GNU_convert, DW_OP_GNU_reinterpret>:
New cases.
(_initialize_dwarf2expr): New function.
(add_piece): Update.
(new_dwarf_expr_context): Set new field.
(free_dwarf_expr_context): Call value_free_to_mark.
* dwarf2-frame.c (no_base_type): New function.
(execute_stack_op): Set get_base_type field.  Update.
gdb/testsuite
* gdb.dwarf2/typeddwarf.S: New file.
* gdb.dwarf2/typeddwarf.c: New file.
* gdb.dwarf2/typeddwarf.exp: New file.

13 years ago * dwarf2read.c (read_common_block): Fix formatting.
tromey [Thu, 12 May 2011 15:59:46 +0000 (15:59 +0000)]
* dwarf2read.c (read_common_block): Fix formatting.

13 years ago Based on newlib patch to strptime by Peter Rosin <peda@lysator.liu.se>:
corinna [Thu, 12 May 2011 13:44:53 +0000 (13:44 +0000)]
Based on newlib patch to strptime by Peter Rosin <peda@lysator.liu.se>:
* libc/time/strptime.c (is_leap_year): New static function.
(first_day): Ditto.
(__strptime): Fill in tm_yday when all of tm_year, tm_mon and tm_mday
are updated. Fill in tm_mon, tm_mday and tm_wday when both of tm_year
and tm_yday are updated.

13 years ago * libc/time/strptime.c (strptime): Fill in tm_yday when all of tm_year,
corinna [Thu, 12 May 2011 13:41:21 +0000 (13:41 +0000)]
* libc/time/strptime.c (strptime): Fill in tm_yday when all of tm_year,
tm_mon and tm_mday are updated. Fill in tm_mon, tm_mday and tm_wday
when both of tm_year and tm_yday are updated.

13 years ago * libc/time/strptime.c (first_day): Actually return the wday
corinna [Thu, 12 May 2011 12:43:42 +0000 (12:43 +0000)]
* libc/time/strptime.c (first_day): Actually return the wday
of the first day of the year.