OSDN Git Service
nickc [Fri, 21 Aug 2009 10:38:13 +0000 (10:38 +0000)]
* scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
corinna [Fri, 21 Aug 2009 08:47:58 +0000 (08:47 +0000)]
* mmap.cc (mmap64): Allocate fh_disk_file on cygheap. Delete
explicitely before returning.
teawater [Fri, 21 Aug 2009 06:16:49 +0000 (06:16 +0000)]
2009-08-21 Hui Zhu <teawater@gmail.com>
* record.c (record_wait): Change the argument of
record_beneath_to_wait to options.
amodra [Fri, 21 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 21 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
devans [Thu, 20 Aug 2009 23:30:15 +0000 (23:30 +0000)]
* dcache.c (dcache_print_line, dcache_info): Use paddress to print addresses.
devans [Thu, 20 Aug 2009 22:30:11 +0000 (22:30 +0000)]
Replace dcache with splay tree.
Remove partially implemented writeback support.
* dcache.c: Include splay-tree.h.
(LINE_SIZE_POWER): Change from 5 to 6.
(DCACHE_SIZE): Change from 64 to 4096.
(ENTRY_INVALID, ENTRY_VALID, ENTRY_DIRTY): Delete.
(state_chars): Delete.
(struct dcache_block): Clean up; remove state and anydirty fields.
(struct dcache_struct): Redefine as a splay tree and linked list.
(last_cache): Make static.
(dcache_invalidate, dcache_hit): Rewrite for new cache structure.
(dcache_read_line, dcache_alloc): Rewrite for new cache structure.
(dcache_write_line): Delete.
(dcache_writeback): Delete.
(dcache_peek_byte): Clean up; remove "invalid" state check.
(dcache_poke_byte): Rewrite for new cache structure; clarify comment.
(dcache_splay_tree_compare): New function.
(dcache_init, dcache_free): Rewrite for new cache structure.
(dcache_xfer_memory): Rewrite for new write-through cache structure.
(dcache_print_line): New function.
(dcache_info): Rewrite for new cache structure.
(_initialize_dcache): Update "info dcache" help text.
* dcache.h (dcache_xfer_memory): Update declaration.
* target.c (memory_xfer_partial): Update calls to dcache_xfer_memory.
skrll [Thu, 20 Aug 2009 20:31:27 +0000 (20:31 +0000)]
hppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.
sterling [Thu, 20 Aug 2009 18:12:20 +0000 (18:12 +0000)]
2009-08-20 Sterling Augustine <sterling@jaw.hq.tensilica.com>
* config/tc-xtensa.c (xg_copy_vinsn): New function.
(finish_vinsn): Call xg_copy_vinsn.
devans [Thu, 20 Aug 2009 18:02:45 +0000 (18:02 +0000)]
Add interface for JIT code generation.
* NEWS: Announce JIT interface.
* Makefile.in (SFILES): Add jit.c.
(HFILES_NO_SRCDIR): Add jit.h.
(COMMON_OBS): Add jit.o.
* jit.c: New file.
* jit.h: New file.
* breakpoint.h (enum bptype): Add bp_jit_event to enum.
* breakpoint.c:
(update_breakpoints_after_exec): Delete jit breakpoints after exec.
(bpstat_what): Update event table for bp_jit_event.
(print_it_typical): Added case for bp_jit_event.
(print_one_breakpoint_location): Added case for bp_jit_event.
(allocate_bp_location): Added case for bp_jit_event.
(mention): Added case for bp_jit_event.
(delete_command): Added case for bp_jit_event.
(breakpoint_re_set_one): Added case for bp_jit_event.
(breakpoint_re_set): Added call to jit_inferior_created_hook.
(create_jit_event_breakpoint): New.
* infrun.c (handle_inferior_event): Add handler for jit event.
(follow_exec): Add call to jit_inferior_created_hook.
* doc/gdb.texinfo: Add chapter on JIT interface.
devans [Thu, 20 Aug 2009 17:03:29 +0000 (17:03 +0000)]
* gas-test.scm (<keyword> test-data): Catch invalid requests,
flag a warning and compensate.
(<hw-address test-data): Tweak for readability.
(<hw-iaddress test-data): Ditto.
(cgen-build.sh): Convert symbols to strings before passing to
string-append.
(cgen-allinsn.exp): Ditto.
devans [Thu, 20 Aug 2009 15:55:54 +0000 (15:55 +0000)]
* doc/pmacros.texi (.splice): Add more text.
corinna [Thu, 20 Aug 2009 08:34:19 +0000 (08:34 +0000)]
* dtable.cc (build_fh_dev): Take additional bool parameter indicating
whether set_name should be called or not.
(dtable::dup_worker): Call build_fh_pc with new second parameter set
to false. Explain why. If fhandler's dup failed, delete rather than
cfree newfh and set newfh to NULL to indicate failure correctly.
* dtable.h (build_fh_pc): Change declaration according to above change.
Default set_name parameter to true.
* mmap.cc (mmap_record::free_fh): Delete rather than cfree fh.
devans [Thu, 20 Aug 2009 05:50:48 +0000 (05:50 +0000)]
* configure.in (AM_INIT_AUTOMAKE): Change version to 1.1.50 to
distinguish from 1.1.
* configure: Regenerate.
* read.scm (-CGEN-VERSION): Update.
* doc/version.texi: Update.
devans [Thu, 20 Aug 2009 05:38:29 +0000 (05:38 +0000)]
(.dump): fix typo
devans [Thu, 20 Aug 2009 05:33:14 +0000 (05:33 +0000)]
New builtin .pmacro?.
* pmacros.scm (-pmacro-builtin-pmacro?): New function.
(pmacros-init!): Add .pmacro?.
* doc/pmacros.text: Document .pmacro?.
* testsuite/pmacros-1.test: Test .pmacro?.
devans [Thu, 20 Aug 2009 04:51:09 +0000 (04:51 +0000)]
* pmacros.scm (scan-list1): Reorganize tracing so that the tracing
of a pmacro begins before its arguments are evaluated, improves
readability.
amodra [Thu, 20 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 20 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
rwild [Wed, 19 Aug 2009 22:21:10 +0000 (22:21 +0000)]
Disable option checking in the toplevel, avoid 2.64 fopen glitch.
/:
* configure.ac: Call AC_DISABLE_OPTION_CHECKING.
(baseargs): Add --disable-option-checking.
* configure: Regenerate.
config/:
* override.m4 (AC_DISABLE_OPTION_CHECKING): Define to be
empty if not defined, to avoid error with 2.59.
(_AC_LANG_IO_PROGRAM): When the Autoconf version is exactly
2.64, avoid per-language instances to drop fopen from test
program.
rwild [Wed, 19 Aug 2009 21:59:11 +0000 (21:59 +0000)]
Fix toplevel target deps.
/:
* Makefile.def (configure-target-libiberty): Depend on
all-binutils and all-ld.
(configure-target-newlib): Likewise.
* Makefile.in: Regenerate.
rwild [Wed, 19 Aug 2009 20:04:42 +0000 (20:04 +0000)]
all-local should depend upon crt0, not all.
* iconvdata/Makefile.am (all): Remove.
* libc/sys/a29khif/Makefile.am (all-am): Rename from ...
(all): ... this.
* libc/sys/arc/Makefile.am: Likewise.
* libc/sys/arm/Makefile.am: Likewise.
* libc/sys/d10v/Makefile.am: Likewise.
* libc/sys/decstation/Makefile.am: Likewise.
* libc/sys/h8300hms/Makefile.am: Likewise.
* libc/sys/h8500hms/Makefile.am: Likewise.
* libc/sys/linux/Makefile.am: Likewise.
* libc/sys/linux/machine/i386/Makefile.am: Likewise.
* libc/sys/m88kbug/Makefile.am: Likewise.
* libc/sys/mmixware/Makefile.am: Likewise.
* libc/sys/netware/Makefile.am: Likewise.
* libc/sys/rdos/Makefile.am: Likewise.
* libc/sys/rtems/Makefile.am: Likewise.
* libc/sys/sh/Makefile.am: Likewise.
* libc/sys/sparc64/Makefile.am: Likewise.
* libc/sys/sun4/Makefile.am: Likewise.
* libc/sys/sysmec/Makefile.am: Likewise.
* libc/sys/sysnec810/Makefile.am: Likewise.
* libc/sys/sysnecv850/Makefile.am: Likewise.
* libc/sys/sysvi386/Makefile.am: Likewise.
* libc/sys/sysvnecv70/Makefile.am: Likewise.
* libc/sys/tic80/Makefile.am: Likewise.
* libc/sys/w65/Makefile.am: Likewise.
* libc/sys/z8ksim/Makefile.am: Likewise.
* iconvdata/Makefile.in: Regenerate.
* libc/sys/a29khif/Makefile.in: Likewise.
* libc/sys/arc/Makefile.in: Likewise.
* libc/sys/arm/Makefile.in: Likewise.
* libc/sys/d10v/Makefile.in: Likewise.
* libc/sys/decstation/Makefile.in: Likewise.
* libc/sys/h8300hms/Makefile.in: Likewise.
* libc/sys/h8500hms/Makefile.in: Likewise.
* libc/sys/linux/Makefile.in: Likewise.
* libc/sys/linux/machine/i386/Makefile.in: Likewise.
* libc/sys/m88kbug/Makefile.in: Likewise.
* libc/sys/mmixware/Makefile.in: Likewise.
* libc/sys/netware/Makefile.in: Likewise.
* libc/sys/rdos/Makefile.in: Likewise.
* libc/sys/rtems/Makefile.in: Likewise.
* libc/sys/sh/Makefile.in: Likewise.
* libc/sys/sparc64/Makefile.in: Likewise.
* libc/sys/sun4/Makefile.in: Likewise.
* libc/sys/sysmec/Makefile.in: Likewise.
* libc/sys/sysnec810/Makefile.in: Likewise.
* libc/sys/sysnecv850/Makefile.in: Likewise.
* libc/sys/sysvi386/Makefile.in: Likewise.
* libc/sys/sysvnecv70/Makefile.in: Likewise.
* libc/sys/tic80/Makefile.in: Likewise.
* libc/sys/w65/Makefile.in: Likewise.
* libc/sys/z8ksim/Makefile.in: Likewise.
rwild [Wed, 19 Aug 2009 19:56:04 +0000 (19:56 +0000)]
* configure.in (newlib_cv_ldbl_eq_dbl): Rename cache variable
from newlib_ldbl_eq_dbl.
* configure: Regenerate.
rwild [Wed, 19 Aug 2009 19:49:25 +0000 (19:49 +0000)]
Sync toplevel with GCC, merge.
/:
2009-07-31 Christian Bruel <christian.bruel@st.com>
* configure.ac (sh*-*-elf): Don't add target-libgloss to noconfigdirs.
* configure: Regenerate.
2009-07-06 Ian Lance Taylor <iant@google.com>
* configure.ac: Add missing comma in AC_ARG_WITH(boot-libs).
* configure: Rebuild.
2009-06-26 Steve Ellcey <sje@cup.hp.com>
PR bootstrap/40338
* configure.ac (comparestring): Create new variable.
* Makefile.tpl (comparestring): Use to skip some comparisions.
* configure: Regenerate.
* Makefile.in: Regenerate.
2009-06-23 Ian Lance Taylor <iant@google.com>
* configure.ac: Add --enable-build-with-cxx. When set, add c++ to
boot_languages. Only bootstrap target libraries listed in
target_libs for some boot language. Add --with-stage1-ldflags,
--with-stage1-libs, --with-boot-ldflags, --with-boot-libs. Remove
with_host_libstdcxx from ppllibs. Only add -fkeep-inline-functions
if not building with C++.
* Makefile.def: For target_module libstdc++-v3, set bootstrap=true.
* Makefile.tpl (STAGE1_LDFLAGS, STAGE1_LIBS): New variables.
(POSTSTAGE1_LDFLAGS, POSTSTAGE1_LIBS): New variables.
(HOST_EXPORTS): Add STAGE1_LDFLAGS to LDFLAGS. Export HOST_LIBS.
(POSTSTAGE1_HOST_EXPORTS): Set CXX and CXX_FOR_BUILD. Add
POSTSTAGE1_LDFLAGS to LDFLAGS. Export HOST_LIBS.
(POSTSTAGE1_FLAGS_TO_PASS): Likewise.
* configure, Makefile.in: Rebuild.
2009-06-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.ac: Detect MPC in default directory.
* configure: Regenerate.
2009-06-02 Richard Sandiford <r.sandiford@uk.ibm.com>
* configure.ac (powerpc-*-aix*, rs6000-*-aix*): Add target-newlib
to noconfdirs.
* configure: Regenerate.
2009-05-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.def: Add MPC support and dependencies.
* configure.ac: Likewise. Reorganize GMP/MPFR checks.
* Makefile.in, configure: Regenerate.
2009-05-24 Nicolas Roche <roche@adacore.com>
* Makefile.tpl (compare-target): Skip ./ada/*tools directories.
* Makefile.in: Regenerate.
2009-05-21 Dave Korn <dave.korn.cygwin@gmail.com>
* configure.ac (cygwin noconfigdirs): Remove libgcj.
* configure: Regenerate.
2009-05-07 Dave Korn <dave.korn.cygwin@gmail.com>
* configure.ac ($with_ppl): Default to no if not supplied.
($with_cloog): Likewise.
configure: Regenerate.
2009-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
PR bootstrap/39739
* configure.ac (extra_mpfr_configure_flags): Set and AC_SUBST.
* Makefile.def (module=mpfr): Use extra_mpfr_configure_flags.
* configure, Makefile.in: Regenerate.
2009-04-14 Jakub Jelinek <jakub@redhat.com>
* configure.ac: Change copyright header to refer to version
3 of the GNU General Public License and to point readers at the
COPYING3 file and the FSF's license web page.
* Makefile.def: Likewise.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerate.
2009-04-09 Jack Howarth <howarth@bromo.med.uc.edu>
* configure.ac: Restore match for darwin9 or later. Use double
brackets since regeneration eats one pair.
* configure: Regenerate.
ccoutant [Wed, 19 Aug 2009 17:53:50 +0000 (17:53 +0000)]
* resolve.cc (Symbol_table::resolve): Don't complain about defined
symbols in shared libraries overridden by hidden or internal symbols
in the main program.
cgd [Wed, 19 Aug 2009 17:41:43 +0000 (17:41 +0000)]
2009-08-19 Chris Demetriou <cgd@google.com>
* testsuite/debug_msg.sh: Match .* rather than ${srcdir} when
checking source file names in error messages.
devans [Wed, 19 Aug 2009 17:17:24 +0000 (17:17 +0000)]
Improve operand docs on `foo' vs `o-foo'.
devans [Wed, 19 Aug 2009 17:04:27 +0000 (17:04 +0000)]
* pmacros.scm (.sll, .srl, .sra): Fix thinko.
* testsuite/pmacros-1.test: Ditto. Add better tests.
sterling [Wed, 19 Aug 2009 16:10:45 +0000 (16:10 +0000)]
2009-08-19 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.h (xtensa_frag_data): Rename unused field fr_prev
to no_transform_end.
* config/tc-xtensa.c (xtensa_mark_difference_of_two_symbols): Set
and use no_transform_end.
devans [Wed, 19 Aug 2009 16:04:51 +0000 (16:04 +0000)]
* doc/rtl.texi (Instructions): Improve docs of when ${...} is needed
in assembler syntax.
devans [Wed, 19 Aug 2009 15:58:10 +0000 (15:58 +0000)]
add some fixmes
uweigand [Wed, 19 Aug 2009 13:00:25 +0000 (13:00 +0000)]
ChangeLog:
* value.c (enum internalvar_kind): Replace INTERNALVAR_SCALAR by
INTERNALVAR_INTEGER and INTERNALVAR_POINTER.
(union internalvar_data): Replace "scalar" member by "integer"
and "pointer".
(value_of_internalvar): Handle INTERNALVAR_INTEGER and
INTERNALVAR_POINTER instead of INTERNALVAR_SCALAR.
(get_internalvar_integer): Likewise.
(set_internalvar): Likewise.
(set_internalvar_integer): Likewise.
(preserve_one_internalvar): Likewise.
(value_from_pointer): Handle typedef'd pointer types.
testsuite/ChangeLog:
2009-08-19 Doug Evans <dje@google.com>
* gdb.base/gdbvars.c: New file.
* gdb.base/gdbvars.exp: Test convenience vars with program variables.
ericb [Wed, 19 Aug 2009 12:38:08 +0000 (12:38 +0000)]
Fix 'make info' to work again.
* libc/Makefile.am (SUBDEFS): Correctly build popen docs.
* libc/libc.texinfo (Top): Add posix node to menu.
devans [Wed, 19 Aug 2009 04:20:29 +0000 (04:20 +0000)]
* ifield.scm (ifld-encode-mode): Add FIXME.
* opcodes.scm (<ifield> 'gen-insert): Handle encode parameters with
modes.
(<ifield> 'gen-extract): Similarly.
* read.scm (parse-error): Handle #f for context-location.
* utils-cgen.scm (unspecified-location): Fix building of
single-location.
devans [Wed, 19 Aug 2009 03:58:48 +0000 (03:58 +0000)]
minor tweaks
cgf [Wed, 19 Aug 2009 02:53:50 +0000 (02:53 +0000)]
* MAINTAINERS: Perform some obvious fixups.
devans [Wed, 19 Aug 2009 02:47:13 +0000 (02:47 +0000)]
* doc/rtl.texi: Document how to write hex and boolean values.
fche [Wed, 19 Aug 2009 00:55:03 +0000 (00:55 +0000)]
2009-08-18 Frank Ch. Eigler <fche@elastic.org>
* component_html.xsl: Correct minor errors caught by recent xslt.
gdbadmin [Wed, 19 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 19 Aug 2009 00:00:04 +0000 (00:00 +0000)]
daily update
dougkwan [Tue, 18 Aug 2009 23:49:29 +0000 (23:49 +0000)]
2009-08-18 Doug Kwan <dougkwan@google.com>
* dynobj.cc (Sized_dynobj::setup): Take a Target object instead of
an elcpp::Ehdr as parameter. Adjust call to set_target.
* dynobj.h (Sized_dynobj::setup): Take a Target object instead of
an elfcpp::Ehdr as parameter.
* object.cc (Object::set_target): Remove the version that looks up
a target and sets it.
(Sized_relobj::setup): Take a Target object instead of
an elfcpp::Ehdr as parameter. Adjust call to set_target.
(make_elf_sized_object): Find target and ask target to
make an ELF object.
* object.h: (Object::set_target): Remove the version that looks up
a target and sets it.
(Sized_relobj::setup): Take a Target object instead of
an elfcpp:Ehdr as parameter.
* target.cc: Include dynobj.h.
(Target::do_make_elf_object_implementation): New.
(Target::do_make_elf_object): New.
* target.h (Target::make_elf_object): New template declaration.
(Target::do_make_elf_object): New method declarations.
(Target::do_make_elf_object_implementation): New template declaration.
jjohnstn [Tue, 18 Aug 2009 21:48:04 +0000 (21:48 +0000)]
2009-08-18 Jeff Johnston <jjohnstn@redhat.com>
* newlib.hin: Add comment regarding file being manually edited.
* Makefile.am: Add no-op rule for newlib.hin.
* Makefile.in: Regenerated.
jjohnstn [Tue, 18 Aug 2009 19:57:59 +0000 (19:57 +0000)]
2009-08-18 Jeff Johnston <jjohnstn@redhat.com>
* acconfig.h: Add templates for _HAVE_LONG_DOUBLE and _LDBL_EQ_DBL.
rwild [Tue, 18 Aug 2009 19:29:15 +0000 (19:29 +0000)]
Fix source files list in sid/component/cgen-cpu/mep/Makefile.am.
sid/component/cgen-cpu/mep/
* Makefile.am (CPU_SOURCES): Replace mep-ivc2.cxx with
ivc2-cop.cxx.
* Makefile.in: Regenerate.
jjohnstn [Tue, 18 Aug 2009 18:34:57 +0000 (18:34 +0000)]
2009-08-18 Eric Blake <ebb9@byu.net>
* libc/posix/popen.c (popen): Fix documented prototype.
Improve popen compatibility with glibc.
* libc/posix/popen.c (popen): The 2006-08-22 change to use
FD_CLOEXEC disagrees with other implementations; instead, use
pidlist to work even when fcntl is not available. Meanwhile,
support the 'e' modifier to set CLOEXEC, as in glibc. Drop
cygwin-specific code, now that cygwin has its own version.
* libc/posix/Makefile.am (CHEWOUT_FILES): Document popen.
* libc/posix/posix.tex: New file.
ktietz [Tue, 18 Aug 2009 17:50:12 +0000 (17:50 +0000)]
Fix obvious fix.
CVS: ----------------------------------------------------------------------
ericb [Tue, 18 Aug 2009 17:07:55 +0000 (17:07 +0000)]
* libc/posix/popen.c (popen): Fix documented prototype.
ktietz [Tue, 18 Aug 2009 16:44:32 +0000 (16:44 +0000)]
2009-08-18 Kai Tietz <kai.tietz@onevision.com>
* config/obj-coff-seh.c: Add copyright notice.
* config/obj-coff-seh.h: Add copyright notice.
Add x64 specific macros from coff/pe.h header.
ericb [Tue, 18 Aug 2009 16:43:21 +0000 (16:43 +0000)]
Improve popen compatibility with glibc.
* libc/posix/popen.c (popen): The 2006-08-22 change to use
FD_CLOEXEC disagrees with other implementations; instead, use
pidlist to work even when fcntl is not available. Meanwhile,
support the 'e' modifier to set CLOEXEC, as in glibc. Drop
cygwin-specific code, now that cygwin has its own version.
* libc/posix/Makefile.am (CHEWOUT_FILES): Document popen.
* libc/posix/posix.tex: New file.
sterling [Tue, 18 Aug 2009 16:42:14 +0000 (16:42 +0000)]
2009-08-18 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.c (xtensa_create_xproperty_segments): Use
sizeof instead of hard-coded value.
(add_xt_block_frags): Remove unused local variable.
(frag_flags_to_number): Change return type to flagword. Remove
unused local variable.
devans [Tue, 18 Aug 2009 16:34:41 +0000 (16:34 +0000)]
* gas-test.scm (<hw-asm>, test-data): Handle () values.
(<keyword>, test-data): Convert symbols to strings before passing
to string-append.
(<hw-index>, test-data): Enumerate all cases. Emit correctly sized
result for scalars.
* operand.scm (hw-index-scalar): Set `name'.
(hw-index-anyof, hw-index-derived): Ditto.
sterling [Tue, 18 Aug 2009 16:21:46 +0000 (16:21 +0000)]
2009-08-17 Sterling Augustine <sterling@jaw.hq.tensilica.com>
* config/tc-xtensa.c (xtensa_frob_label): move call to
do_align_targets to set frag_type only.
tromey [Tue, 18 Aug 2009 16:17:11 +0000 (16:17 +0000)]
* utils.c (add_internal_problem_command): Free set_doc and
show_doc.
* remote.c (add_packet_config_cmd): Free set_doc and show_doc.
* language.c (add_language): Free language_set_doc.
jjohnstn [Tue, 18 Aug 2009 16:03:03 +0000 (16:03 +0000)]
2009-08-17 Craig Howland <howland@LGSInnovations.com>
* libc/string/wcsncpy.c (wcsncpy): Re-write function based on small
version of strncpy() (fixing two bugs).
tromey [Tue, 18 Aug 2009 15:22:12 +0000 (15:22 +0000)]
* Makefile.in (ALL_TARGET_OBS): Remove prologue-value.o, solib.o.
cgf [Tue, 18 Aug 2009 15:21:47 +0000 (15:21 +0000)]
* dtable.cc (dtable::fixup_after_exec): Close any popen'ed file handles here.
* fhandler.h (fhandler_*::ispipe): New function.
(fhandler_base::get_popen_pid): Define virtual function.
(fhandler_*::isdevice): Make const.
(fhandler_*::isfifo): Ditto.
corinna [Tue, 18 Aug 2009 08:37:23 +0000 (08:37 +0000)]
* Makefile.in (CXXFLAGS): Allow override.
cgf [Tue, 18 Aug 2009 01:51:34 +0000 (01:51 +0000)]
* syscalls.cc (popen): Reorganize slightly for clarity. Fix a comment.
devans [Tue, 18 Aug 2009 01:40:56 +0000 (01:40 +0000)]
* pmacros.scm (-pmacro-builtin-internal-test): New function.
(pmacros-init!): Add .internal-test.
* testsuite/test-utils.sh.in (post_process): Tweak FAIL output.
* testsuite/testsuite.cpu (internal-verify): New pmacro.
* doc/pmacros.text: Document .internal-test.
* utils-cgen.scm (parse-name): Handle (add 3) -> add3.
(parse-comment): Allow numbers.
* doc/porting.texi: Document that names and comments may be lists.
* insn.scm (-insn-parse): Fix typo.
cgf [Tue, 18 Aug 2009 01:40:45 +0000 (01:40 +0000)]
* syscalls.cc (popen): Rewrite to accommodate situations where stdin, stdout,
or stderr are closed.
gdbadmin [Tue, 18 Aug 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 18 Aug 2009 00:00:06 +0000 (00:00 +0000)]
daily update
uweigand [Mon, 17 Aug 2009 20:09:37 +0000 (20:09 +0000)]
* symfile.c (reread_symbols): Call objfiles_changed *before*
calling clear_symtab_users.
msnyder [Mon, 17 Aug 2009 18:23:45 +0000 (18:23 +0000)]
2009-08-17 Michael Snyder <msnyder@vmware.com>
* amd64-tdep.c: Add a frame unwinder for function epilogues.
(amd64_in_function_epilogue_p): New function.
(amd64_epilogue_frame_sniffer): New function.
(amd64_epilogue_frame_cache): New function.
(amd64_epilogue_frame_this_id): New function.
(amd64_epilogue_frame_unwind): New struct frame_unwind.
(amd64_init_abi): Hook the new unwinder.
* amd64-linux-tdep.c (amd64_linux_init_abi): Set gdbarch to use
SVR4 method for skip_trampoline_code.
devans [Mon, 17 Aug 2009 15:27:55 +0000 (15:27 +0000)]
Rename .eval -> .exec. Add new .eval.
* pmacros.scm (-pmacro-built-exec): Renamed from -pmacro-builtin-eval.
(-pmacro-builtin-eval): New function.
(pmacros-init!): Add .exec.
* doc/pmacros.texi: Update, .exec -> .eval. Document new .eval.
* testsuite/location-1.test: Update.
* testsuite/pmacros-1.test: Add test for .eval.
cgf [Mon, 17 Aug 2009 12:45:51 +0000 (12:45 +0000)]
* pipe.cc (fhandler_pipe::create_selectable): Add -pipe to default pipe names.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Use bool/true/false for
what is actually a boolean variable.
ktietz [Mon, 17 Aug 2009 11:46:29 +0000 (11:46 +0000)]
Add missed files.
ktietz [Mon, 17 Aug 2009 11:45:20 +0000 (11:45 +0000)]
2009-08-17 Kai Tietz <kai.tietz@onevision.com>
* config/obj-coff-seh.c: New file.
* config/obj-coff-seh.h: Likewise.
* config/obj-coff.c (obj-coff-seh.c): Add include.
(coff_pseudo_table): Add new .seh... commands.
* config/obj-coff.h (obj_coff_seh_do_final): Add new
function prototype.
(obj_coff_generate_pdata): New obj-coff hook.
* gas/write.c (size_seg): Avoid sizing of already sized
sections.
(write_object_file): Call conditional hook
objc_coff_generate_pdata.
* Makefile.am: Add dependencies for new files.
* Makefile.in: Regenerated.
palves [Mon, 17 Aug 2009 11:16:11 +0000 (11:16 +0000)]
2009-08-17 Pedro Alves <pedro@codesourcery.com>>
* objfiles.c (objfile_relocate): Relocate the entry point before
relocating the section offsets. Flush the section map before
resetting breakpoints.
nickc [Mon, 17 Aug 2009 09:22:18 +0000 (09:22 +0000)]
* ld-elf/linkonce1.d: Accept "UNUSED" as part of the name of an
unused reloc.
* ld-elf/linkonce2.d: Likewise.
nickc [Mon, 17 Aug 2009 09:17:42 +0000 (09:17 +0000)]
* binutils-all/strip-10.d: Accept "<OS specific>: 10" for the type
of the UNIQUE symbol.
nickc [Mon, 17 Aug 2009 09:09:04 +0000 (09:09 +0000)]
* config/tc-microblaze.c: Include safe-ctype.h instad of ctype.h.
(parse_reg): Use safe-ctype.h macros.
(parse_exp): Likewise.
(md_assemble): Likewise.
nickc [Mon, 17 Aug 2009 08:34:37 +0000 (08:34 +0000)]
* readelf.c (is_32bit_abs_reloc): Treat R_PARISC_SECREL32 as a
32-bit absolute reloc for the purposes of processing debug
sections.
bje [Mon, 17 Aug 2009 04:10:29 +0000 (04:10 +0000)]
* config.sub, config.guess: Update from upstream sources.
amodra [Mon, 17 Aug 2009 00:00:08 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 17 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
devans [Sun, 16 Aug 2009 17:46:46 +0000 (17:46 +0000)]
* doc/porting.texi: Remove support for Guile 1.4.
devans [Sun, 16 Aug 2009 17:44:22 +0000 (17:44 +0000)]
* read.scm (current-reader-location): Return unspecified location
if reader hasn't been initialized yet.
devans [Sun, 16 Aug 2009 17:32:35 +0000 (17:32 +0000)]
* opncls.c (bfd_close): Until BFD_IN_MEMORY has an iovec,
at least don't leak memory.
devans [Sun, 16 Aug 2009 17:32:21 +0000 (17:32 +0000)]
* opncls.c (bfd_close): Until BFD_IN_MEMORY has an iovec,
at least don't leak memory.
rwild [Sun, 16 Aug 2009 12:49:48 +0000 (12:49 +0000)]
Sync config/ from GCC:
--- config/ChangeLog
+++ config/ChangeLog
@@ -19,6 +19,10 @@
* tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when
cross-compiling.
+2009-06-25 Olivier Hainque <hainque@adacore.com>
+
+ * config/mh-ppc-aix (BOOT_ADAFLAGS): Remove -mminimal-toc.
+
2009-05-26 Rafael Avila de Espindola <espindola@google.com>
* plugins.m4: New.
@@ -39,6 +43,27 @@
"# no Tcl configs found".
(SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR.
+2009-04-09 Jakub Jelinek <jakub@redhat.com>
+
+ * lead-dot.m4: Change copyright header to refer to version
+ 3 of the GNU General Public License and to point readers at the
+ COPYING3 file and the FSF's license web page.
+ * warnings.m4: Likewise.
+
+2009-02-11 Kai Tietz <kai.tietz@onevision.com>
+
+ * mh-cygwin (LDFLAGS): Add linker option to increase stack limit
+ up to 8MB.
+
+2009-01-23 Jie Zhang <jie.zhang@analog.com>
+
+ * tls.m4 (GCC_CHECK_EMUTLS): Define.
+
+2008-12-21 Andrew Pinski <pinskia@gmail.com>
+
+ PR target/38300
+ * unwind_ipinfo.m4: Darwin before 9 does not have _Unwind_GetIPInfo.
+
2008-11-21 Kai Tietz <kai.tietz@onevision.com>
Fix PR/25502
rwild [Sun, 16 Aug 2009 12:06:21 +0000 (12:06 +0000)]
Sync include/ChangeLog-9103 from GCC to fix invalid UTF-8.
amodra [Sun, 16 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 16 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
ironhead [Sat, 15 Aug 2009 02:50:18 +0000 (02:50 +0000)]
2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/_mingw.h: Increment version to 3.16.
gdbadmin [Sat, 15 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 15 Aug 2009 00:00:08 +0000 (00:00 +0000)]
daily update
devans [Fri, 14 Aug 2009 23:35:32 +0000 (23:35 +0000)]
* symfile.c (find_separate_debug_file): Remove double free of
canon_name.
corinna [Fri, 14 Aug 2009 18:27:18 +0000 (18:27 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix length
check for ".." dir.
palves [Fri, 14 Aug 2009 14:28:12 +0000 (14:28 +0000)]
2009-08-14 Pedro Alves <pedro@codesourcery.com>
gdb/
* top.c (any_thread_of): Delete.
(kill_or_detach): Use any_thread_of_process.
* top.c (print_inferior_quit_action): New.
(quit_confirm): Rewrite to print info about all inferiors.
* target.c (dispose_inferior): New.
(target_preopen): Use it.
2009-08-14 Pedro Alves <pedro@codesourcery.com>
gdb/testsuite/
* gdb.threads/killed.exp, gdb.threads/manythreads.exp,
gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
corinna [Fri, 14 Aug 2009 14:10:31 +0000 (14:10 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Change comment
to be fair.
corinna [Fri, 14 Aug 2009 13:39:07 +0000 (13:39 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Remove
ill-advised attempt to optimize "." and ".." handling by checking for
specific position in directory listing. Explain why.
(fhandler_disk_file.cc (fhandler_disk_file::readdir): Ditto.
Special-case opening file on NFS to fetch inode number and add longish
comment to explain why.
ian [Fri, 14 Aug 2009 09:35:38 +0000 (09:35 +0000)]
* gold.h (FUNCTION_NAME): Define.
(gold_unreachable): Use FUNCTION_NAME.
corinna [Fri, 14 Aug 2009 06:58:44 +0000 (06:58 +0000)]
* (fhandler_socket::getsockname): Fix length returned for unbound
AF_LOCAL sockets.
(fhandler_socket::getpeername): Ditto.
* net.cc (socketpair): Don't set sun_path and peer_sun_path to
make sure getsockname and getpeername return the correct values
for AF_LOCAL sockets.
dj [Fri, 14 Aug 2009 04:24:30 +0000 (04:24 +0000)]
* configure.in: Check for sys/select.h, termios.h, sys/socket.h,
netinet/in.h, and netinet/tcp.h.
* configure: Regenerate.
* config.in: Add those headers.
* main.c: Check for them.
(setup_tcp_console): Disable if no networking.
(main): Note missing networking or termios.
* mem.c: Check for those headers.
(stdin_ready): Disable if no termios.
(m32c_sim_restore_console): Disable if no termios.
(mem_get_byte): Disable console input if no termios.
dj [Fri, 14 Aug 2009 03:44:21 +0000 (03:44 +0000)]
* elf32-m32c.c (m32c_elf_relax_delete_bytes): Adjust symbol sizes
if needed.
palves [Fri, 14 Aug 2009 00:32:31 +0000 (00:32 +0000)]
* ui-file.h (ui_file_xstrdup): Mention that the length argument
may be NULL.
* ui-file.c (ui_file_xstrdup): Don't dereference LENGTH if it is
NULL.
* aix-thread.c (aix_thread_extra_thread_info): Pass NULL as length
parameter to ui_file_xstrdup.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* infrun.c (print_target_wait_results): Ditto.
* language.c (add_language): Ditto.
* linespec.c (cplusplus_error): Ditto.
* remote.c (escape_buffer): Ditto.
* typeprint.c (type_to_string): Ditto.
* utils.c (error_stream): Ditto.
* varobj.c (value_get_print_value): Ditto.
* xtensa-tdep.c (xtensa_verify_config): Replace `dummy' local with
`length' local. Pass it to ui_file_xstrdup, and avoid an strlen
call.
* gdbarch.sh (verify_gdbarch): Ditto.
* gdbarch.c: Regenerate.
* cli/cli-setshow.c (do_setshow_command): Pass NULL as length
parameter to ui_file_xstrdup.
* python/python-frame.c (frapy_str): Ditto.
* python/python-type.c (typy_str): Use the length local instead of
calling strlen.
* python/python-value.c (valpy_str): Pass NULL as length parameter
to ui_file_xstrdup.
amodra [Fri, 14 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 14 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
devans [Thu, 13 Aug 2009 22:35:29 +0000 (22:35 +0000)]
* utils.c (gnu_debuglink_crc32): Store crc32_table as unsigned int
instead of unsigned long.