H.J. Lu [Sun, 23 Aug 2009 19:03:58 +0000 (19:03 +0000)]
2009-08-23 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10536
* Makefile.in (install-html-recursive): Removed.
Andreas Schwab [Sun, 23 Aug 2009 14:38:31 +0000 (14:38 +0000)]
* ld-powerpc/powerpc.exp: Move relaxing and relocatable relaxing
tests from ppc64elftest to ppcelftest and pass -a32 to assembler.
Ralf Wildenhues [Sun, 23 Aug 2009 10:28:49 +0000 (10:28 +0000)]
Minor dependency fix for syslex.o in binutils.
binutils/:
* Makefile.am (syslex.o): Depend on sysinfo.h config.h.
* Makefile.in: Regenerate.
Andreas Schwab [Sun, 23 Aug 2009 09:43:35 +0000 (09:43 +0000)]
* ld-powerpc/relax.d: Fix whitespace.
* ld-powerpc/relaxr.d: Likewise.
gdbadmin [Sun, 23 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 23 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update
Ralf Wildenhues [Sat, 22 Aug 2009 19:02:57 +0000 (19:02 +0000)]
Cleanups in binutils makefiles.
ld/:
* Makefile.am (bin_PROGRAMS): Renamed from ...
(noinst_PROGRAMS): ... this.
(transform): Override, including the renaming of ld-new to ld.
(install-exec-local): Installation of ld in $(bindir) not needed
here any more.
(AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
(MAINTAINERCLEANFILES): Add ld.1.
* Makefile.in: Regenerate.
gold/:
* Makefile.am (AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add -Wno-portability.
(AM_CPPFLAGS): Renamed from ...
(INCLUDE): ... this.
* Makefile.in, testsuite/Makefile.in: Regenerate.
bfd/:
* Makefile.am (libbfd_la_LDFLAGS): Initialize early, to allow
appending.
[INSTALL_LIBBFD] (bfdlib_LTLIBRARIES, bfdinclude_HEADERS): Set
only in this condition.
[!INSTALL_LIBBFD] (noinst_LTLIBRARIES, libbfd_la_LDFLAGS): New,
to build but not install libbfd.la in this condition.
(install-bfdlibLTLIBRARIES, uninstall-bfdlibLTLIBRARIES)
(install_libbfd, install_libbfd): Remove.
* Makefile.in: Regenerate.
binutils/:
* Makefile.am (AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
(bin2c$(EXEEXT_FOR_BUILD): Adjust rule.
(installcheck-local): Renamed from ...
(installcheck): ... this.
* Makefile.in: Regenerate.
gas/:
* Makefile.am (YFLAGS): Remove, not needed any more.
(AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* Makefile.in: Regenerate.
gprof/:
* Makefile.am (AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* Makefile.in: Regenerate.
opcodes/:
* Makefile.am (libopcodes_la_LDFLAGS): Initialize early.
[INSTALL_LIBBFD] (bfdlib_LTLIBRARIES): Set only in this condition.
[INSTALL_LIBBFD] (bfdinclude_DATA): New.
[!INSTALL_LIBBFD] (noinst_LTLIBRARIES): New.
[!INSTALL_LIBBFD] (libopcodes_la_LDFLAGS): Ensure libopcodes.la
is built shared even if it is not to be installed.
(install-bfdlibLTLIBRARIES,uninstall-bfdlibLTLIBRARIES)
(install_libopcodes, uninstall_libopcodes): Remove.
(AM_CPPFLAGS): Renamed from ...
(INCLUDES): ... this.
* Makefile.in: Regenerate.
Ralf Wildenhues [Sat, 22 Aug 2009 18:44:58 +0000 (18:44 +0000)]
dependency tracking in opcodes
opcodes/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9 and cygnus, add
1.11, foreign, no-dist.
(MKDEP, m32c_opc_h): Remove variables.
(disassemble.lo): Rewrite using automake-style dependency
tracking rules; only list the dependency upon the primary source
file, but no included headers.
(m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo)
(i386-gen.o, ia64-gen.o): Remove dependency statements.
(EXTRA_libopcodes_la_SOURCES): New variable, list $(CFILES) to
ensure all dependency fragments are included in the Makefile.
(s390-opc.lo): Depend on s390-opc.tab.
(DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
(mkdep section): Remove.
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.
Ralf Wildenhues [Sat, 22 Aug 2009 18:37:50 +0000 (18:37 +0000)]
dependency tracking in gprof
gprof/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add 1.11,
foreign, no-dist, no-texinfo.tex.
(TEXINFO_TEX): New variable.
(MKDEP, CLEANFILES): Remove:
(DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove rules.
(install-data-local): Remove now-unneeded dependency on
install-info.
(mkdep section): Remove.
* Makefile.in: Regenerate.
Ralf Wildenhues [Sat, 22 Aug 2009 18:30:27 +0000 (18:30 +0000)]
dependency tracking in gas
gas/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11,
foreign and no-dist.
(all): Remove now-unneeded dependency upon info.
(DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES)
(DEP_FILE_DEPS): Remove variables.
(OBJ_FORMAT_CFILES): Add config/obj-multi.c.
(OBJ_FORMAT_HFILES): Add config/obj-multi.h.
($(OBJS), ecoff.o): Remove now-unneeded manual dependencies.
($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o)
(obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o)
(e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o)
(e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove
now-unneeded rules.
(EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES),
$(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES),
$(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments
are picked up in the Makefile.
(itbl-lex.c, itbl-ops.o): Remove manual dependencies.
(m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o)
(itbl-test.o): Rewrite using automake-style dependency
tracking rules; only list the dependency upon the primary source
file, but no included headers.
(DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am):
Remove.
(mkdep section): Remove.
* Makefile.in: Regenerate.
* gas/po/POTFILES.in, gas/po/gas.pot: Regenerate.
Ralf Wildenhues [Sat, 22 Aug 2009 18:18:42 +0000 (18:18 +0000)]
dependency tracking in binutils
binutils/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add no-dist and
foreign.
(MKDEP, CLEANFILES): Remove now-unneeded variables.
(DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
(mkdep section): Remove.
(BUILT_SOURCES): New variable, list $(GENERATED_HFILES).
(EXTRA_ar_SOURCES): New, list $(CFILES).
(syslex.o): Depend on syslex.c.
(sysinfo.o): Depend on sysinfo.c.
(arparse.h, defparse.h, nlmheaders.h rcparse.h mcparse.h):
Remove dependencies, now tracked by automake.
(srconv.o): Depend on sysroff.c.
(objdump.o, arparse.o, arlex.o, sysroff.o, defparse.o, deflex.o)
(nlmheader.o, rcparse.o, mcparse.o, rclex.o, mclex.o, dlltool.o)
(rescoff.o, nlmconv.o): Rewrite using automake-style dependency
tracking rules; only list the dependency upon the primary source
file, but no included headers.
* Makefile.in: Regenerate.
Ralf Wildenhues [Sat, 22 Aug 2009 18:14:27 +0000 (18:14 +0000)]
dependency tracking in bfd
bfd/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, instead use
no-dist and foreign.
(EXTRA_libbfd_la_SOURCES): New, list $(CFILES) to allow
dependency tracking to work for them.
(targets.lo, archures.lo, dwarf.lo): Rewrite to
use automake dependency tracking mechanism.
(MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Remove.
(mkdep section): Remove.
(BUILT_SOURCES): New, list $(BUILD_HFILES).
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in, po/bfd.pot: Regenerate.
Paul Pluzhnikov [Sat, 22 Aug 2009 18:00:28 +0000 (18:00 +0000)]
2009-08-21 Paul Pluzhnikov <ppluzhnikov@google.com>
* objfiles.h (gdb_bfd_ref): New prototype.
* objfiles.c (gdb_bfd_ref): New function.
(allocate_objfile): Call it.
(gdb_bfd_unref): Adjust assertion.
* solib.c (solib_map_sections): Add reference.
(symbol_add_stub): Don't add reference here.
* symfile.c (reread_symbols): Add reference.
Ralf Wildenhues [Sat, 22 Aug 2009 17:59:33 +0000 (17:59 +0000)]
dependency tracking in ld
ld/:
* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus. Add
no-texinfo.tex, no-dist, foreign.
(TEXINFO_TEX): New variable.
(install-data-local): Removed, not needed any more.
(all): Dependencies upon info and ld.1 not needed any more.
(MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
(mkdep generated section): Removed.
(ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
use automake dependency tracking mechanism.
(EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
$(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
dependencies are tracked too.
(BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
are built early.
* configure.in: Use AM_MAINTAINER_MODE.
* configure, Makefile.in: Regenerate.
Ralf Wildenhues [Sat, 22 Aug 2009 17:08:11 +0000 (17:08 +0000)]
Cleanups after the update to Autoconf 2.64, Automake 1.11.
/:
* README-maintainer-mode: Point directly to upstream locations
for autoconf, automake, libtool, gettext, instead of copies on
sources.redhat.com. Document required versions.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir. Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.
gdb/:
* CONTRIBUTE: Bump documented Autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir. Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.
gdb/doc/:
* gdbint.texinfo (Releasing GDB): Point to
README-maintainer-mode file for required autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir. Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.
gprof/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.
opcodes/:
* Makefile.am (install-pdf, install-html): Remove.
* Makefile.in: Regenerate.
gas/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.
ld/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.
binutils/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.
bfd/:
* Makefile.am (datarootdir, docdir, htmldor, pdfdir)
(install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
bfd/doc/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* Makefile.in: Regenerate.
Ralf Wildenhues [Sat, 22 Aug 2009 16:56:56 +0000 (16:56 +0000)]
Regenerate tree using Autoconf 2.64 and Automake 1.11.
config/:
* override.m4 (_GCC_AUTOCONF_VERSION): Bump to 2.64.
/:
* configure: Regenerate.
etc/:
* configure: Regenerate.
sim/common/:
* config.in: Regenerate.
* configure: Likewise.
sim/iq2000/:
* config.in: Regenerate.
* configure: Likewise.
sim/d10v/:
* config.in: Regenerate.
* configure: Likewise.
sim/igen/:
* config.in: Regenerate.
* configure: Likewise.
sim/m32r/:
* config.in: Regenerate.
* configure: Likewise.
sim/frv/:
* config.in: Regenerate.
* configure: Likewise.
sim/:
* avr/config.in: Regenerate.
* avr/configure: Likewise.
* configure: Likewise.
* cris/config.in: Likewise.
* cris/configure: Likewise.
sim/h8300/:
* config.in: Regenerate.
* configure: Likewise.
sim/mn10300/:
* config.in: Regenerate.
* configure: Likewise.
sim/ppc/:
* config.in: Regenerate.
* configure: Likewise.
sim/erc32/:
* config.in: Regenerate.
* configure: Likewise.
sim/arm/:
* config.in: Regenerate.
* configure: Likewise.
sim/m68hc11/:
* config.in: Regenerate.
* configure: Likewise.
sim/lm32/:
* config.in: Regenerate.
* configure: Likewise.
sim/sh64/:
* config.in: Regenerate.
* configure: Likewise.
sim/v850/:
* config.in: Regenerate.
* configure: Likewise.
sim/cr16/:
* config.in: Regenerate.
* configure: Likewise.
sim/moxie/:
* config.in: Regenerate.
* configure: Likewise.
sim/m32c/:
* config.in: Regenerate.
* configure: Likewise.
sim/mips/:
* config.in: Regenerate.
* configure: Likewise.
sim/mcore/:
* config.in: Regenerate.
* configure: Likewise.
sim/testsuite/d10v-elf/:
* configure: Regenerate.
sim/testsuite/:
* configure: Regenerate.
sim/testsuite/frv-elf/:
* configure: Regenerate.
sim/testsuite/m32r-elf/:
* configure: Regenerate.
sim/testsuite/mips64el-elf/:
* configure: Regenerate.
sim/sh/:
* config.in: Regenerate.
* configure: Likewise.
gold/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* testsuite/Makefile.in: Likewise.
gprof/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.
* gconfig.in: Likewise.
opcodes/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
gas/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.
ld/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
gdb/:
* aclocal.m4: Regenerate.
* config.in: Likewise.
* configure: Likewise.
* gnulib/Makefile.in: Likewise.
gdb/doc/:
* configure: Regenerate.
gdb/gdbserver/:
* aclocal.m4: Regenerate.
* config.in: Likewise.
* configure: Likewise.
gdb/testsuite/:
* configure: Regenerate.
* gdb.hp/configure: Likewise.
* gdb.hp/gdb.aCC/configure: Likewise.
* gdb.hp/gdb.base-hp/configure: Likewise.
* gdb.hp/gdb.compat/configure: Likewise.
* gdb.hp/gdb.defects/configure: Likewise.
* gdb.hp/gdb.objdbg/configure: Likewise.
* gdb.stabs/configure: Likewise.
binutils/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.
bfd/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
bfd/doc/:
* Makefile.in: Regenerate.
readline/:
* configure: Regenerate.
readline/examples/rlfe/:
* configure: Regenerate.
Ralf Wildenhues [Sat, 22 Aug 2009 15:59:24 +0000 (15:59 +0000)]
Minor fixes in sim, gold, gdb for Autoconf 2.64, Automake 1.11.
gold/:
* Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
* testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.
gdb/:
* configure.ac: Use AC_USE_SYSTEM_EXTENSIONS instead of
AC_GNU_SOURCE, AC_AIX, AC_ISC_POSIX.
sim/common/:
* aclocal.m4 (SIM_CHECK_MEMBER): Replace definition with
definition of AC_CHECK_MEMBER.
DJ Delorie [Sat, 22 Aug 2009 14:31:16 +0000 (14:31 +0000)]
merge from gcc
Ralf Wildenhues [Sat, 22 Aug 2009 11:48:33 +0000 (11:48 +0000)]
Update automake-provided files in the toplevel.
/:
* compile: Sync from Automake 1.11.
* depcomp: Likewise.
* install-sh: Likewise.
* missing: Likewise.
* mkinstalldirs: Likewise.
* ylwrap: Likewise.
Ralf Wildenhues [Sat, 22 Aug 2009 11:36:40 +0000 (11:36 +0000)]
Fixup readline and sim including of override.m4
readline/examples/rlfe/:
* configure.in: m4_include toplevel config/override.m4.
* configure: Regenerate.
readline/ChangeLog.gdb:
* configure.in: m4_include toplevel config/override.m4.
* configure: Regenerate.
sim/:
* configure.ac: m4_include toplevel config/override.m4.
* configure: Regenerate.
* avr/configure: Regenerate.
* cris/configure: Regenerate.
sim/common/:
* aclocal.m4: m4_include toplevel config/override.m4.
* configure: Regenerate.
sim/iq2000/:
* configure: Regenerate.
sim/d10v/:
* configure: Regenerate.
sim/igen/:
* configure: Regenerate.
sim/m32r/:
* configure: Regenerate.
sim/frv/:
* configure: Regenerate.
sim/h8300/:
* configure: Regenerate.
sim/mn10300/:
* configure: Regenerate.
sim/ppc/:
* configure: Regenerate.
sim/erc32/:
* configure: Regenerate.
sim/arm/:
* configure: Regenerate.
sim/m68hc11/:
* configure: Regenerate.
sim/lm32/:
* configure: Regenerate.
sim/sh64/:
* configure: Regenerate.
sim/v850/:
* configure: Regenerate.
sim/cr16/:
* configure: Regenerate.
sim/moxie/:
* configure: Regenerate.
sim/m32c/:
* configure: Regenerate.
sim/mips/:
* configure: Regenerate.
sim/mcore/:
* configure: Regenerate.
sim/sh/:
* configure: Regenerate.
gdbadmin [Sat, 22 Aug 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 22 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update
Daniel Gutson [Fri, 21 Aug 2009 23:38:07 +0000 (23:38 +0000)]
2S09-08-21 Daniel Gutson <dgutson@codesourcery.com>
ld/
* ld-arm/callweak.d: Opcodes updated.
* ld-arm/callweak.s: Architecture specified.
* ld-arm/callweak-2.d: New test case.
* ld-arm/callweak-2.s: New file.
bfd/
* elf32-arm.c (arch_has_thumb2_nop): New function.
(arch_has_arm_nop): New function.
(elf32_arm_final_link_relocate): NOP opcodes changed.
SVS: ----------------------------------------------------------------------
Sterling Augustine [Fri, 21 Aug 2009 19:35:35 +0000 (19:35 +0000)]
2009-08-21 Sterling Augustine <sterling@jaw.hq.tensilica.com>
* config/tc-xtensa.c (config_max_slots): New global variable.
(md_begin): Set config_max_slots.
(total_frag_text_expansion): Use config_max_slots instead of
MAX_SLOTS.
(xg_init_vinsn): Likewise.
(xg_clear_vinsn): Likewise.
(xg_free_vinsn): Likewise.
Doug Evans [Fri, 21 Aug 2009 19:07:01 +0000 (19:07 +0000)]
* jit.c (jit_event_handler): Use paddress to print target addresses.
Wrap printf string in _().
Doug Evans [Fri, 21 Aug 2009 18:54:44 +0000 (18:54 +0000)]
* jit.c (jit_read_descriptor): New arg gdbarch, all callers updated.
(jit_read_code_entry, jit_register_code): Ditto.
(jit_event_handler): Ditto.
(jit_inferior_init): Renamed from previous jit_inferior_created_hook.
(jit_inferior_created_hook, jit_breakpoint_re_set): New functions.
(jit_inferior_created_observer): Renamed from
jit_inferior_created_hook1, all callers updated.
* jit.h (jit_breakpoint_re_set): Declare.
(jit_event_handler): Update prototype.
* breakpoint.c (breakpoint_re_set): Call jit_breakpoint_re_set instead
of jit_inferior_created_hook.
Paul Pluzhnikov [Fri, 21 Aug 2009 17:57:17 +0000 (17:57 +0000)]
2009-08-21 Paul Pluzhnikov <ppluzhnikov@google.com>
* objfiles.h (gdb_bfd_ref): New prototype.
* objfiles.c (gdb_bfd_ref): New function.
(allocate_objfile): Call it.
(gdb_bfd_unref): Adjust assertion.
* solib.c (solib_map_sections): Add reference.
(symbol_add_stub): Don't add reference here.
* symfile.c (reread_symbols): Add reference.
Nick Clifton [Fri, 21 Aug 2009 10:38:14 +0000 (10:38 +0000)]
* scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
Hui Zhu [Fri, 21 Aug 2009 06:16:51 +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.
Alan Modra [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 ***
Doug Evans [Thu, 20 Aug 2009 23:30:15 +0000 (23:30 +0000)]
* dcache.c (dcache_print_line, dcache_info): Use paddress to print addresses.
Doug Evans [Thu, 20 Aug 2009 22:30:12 +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.
Nick Hudson [Thu, 20 Aug 2009 20:31:27 +0000 (20:31 +0000)]
hppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.
Sterling Augustine [Thu, 20 Aug 2009 18:12:21 +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.
Doug Evans [Thu, 20 Aug 2009 18:02:48 +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.
Alan Modra [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 ***
Ralf Wildenhues [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.
Ralf Wildenhues [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.
Ralf Wildenhues [Wed, 19 Aug 2009 19:49:26 +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.
Cary Coutant [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.
Chris Demetriou [Wed, 19 Aug 2009 17:41:44 +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.
Sterling Augustine [Wed, 19 Aug 2009 16:10:46 +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.
Ulrich Weigand [Wed, 19 Aug 2009 13:00:29 +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.
Christopher Faylor [Wed, 19 Aug 2009 02:53:50 +0000 (02:53 +0000)]
* MAINTAINERS: Perform some obvious fixups.
gdbadmin [Wed, 19 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 19 Aug 2009 00:00:04 +0000 (00:00 +0000)]
daily update
Doug Kwan [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.
Kai Tietz [Tue, 18 Aug 2009 17:50:12 +0000 (17:50 +0000)]
Fix obvious fix.
CVS: ----------------------------------------------------------------------
Kai Tietz [Tue, 18 Aug 2009 16:44:35 +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.
Sterling Augustine [Tue, 18 Aug 2009 16:42:15 +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.
Sterling Augustine [Tue, 18 Aug 2009 16:21:47 +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.
Tom Tromey [Tue, 18 Aug 2009 16:17:16 +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.
Tom Tromey [Tue, 18 Aug 2009 15:22:12 +0000 (15:22 +0000)]
* Makefile.in (ALL_TARGET_OBS): Remove prologue-value.o, solib.o.
gdbadmin [Tue, 18 Aug 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 18 Aug 2009 00:00:06 +0000 (00:00 +0000)]
daily update
Ulrich Weigand [Mon, 17 Aug 2009 20:09:38 +0000 (20:09 +0000)]
* symfile.c (reread_symbols): Call objfiles_changed *before*
calling clear_symtab_users.
Michael Snyder [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.
Kai Tietz [Mon, 17 Aug 2009 11:46:29 +0000 (11:46 +0000)]
Add missed files.
Kai Tietz [Mon, 17 Aug 2009 11:45:23 +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.
Pedro Alves [Mon, 17 Aug 2009 11:16:13 +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.
Nick Clifton [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.
Nick Clifton [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.
Nick Clifton [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.
Nick Clifton [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.
Ben Elliston [Mon, 17 Aug 2009 04:10:29 +0000 (04:10 +0000)]
* config.sub, config.guess: Update from upstream sources.
Alan Modra [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 ***
Doug Evans [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.
Ralf Wildenhues [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
Ralf Wildenhues [Sun, 16 Aug 2009 12:06:21 +0000 (12:06 +0000)]
Sync include/ChangeLog-9103 from GCC to fix invalid UTF-8.
Alan Modra [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 ***
gdbadmin [Sat, 15 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 15 Aug 2009 00:00:08 +0000 (00:00 +0000)]
daily update
Doug Evans [Fri, 14 Aug 2009 23:35:33 +0000 (23:35 +0000)]
* symfile.c (find_separate_debug_file): Remove double free of
canon_name.
Pedro Alves [Fri, 14 Aug 2009 14:28:15 +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.
Ian Lance Taylor [Fri, 14 Aug 2009 09:35:38 +0000 (09:35 +0000)]
* gold.h (FUNCTION_NAME): Define.
(gold_unreachable): Use FUNCTION_NAME.
DJ Delorie [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 Delorie [Fri, 14 Aug 2009 03:44:21 +0000 (03:44 +0000)]
* elf32-m32c.c (m32c_elf_relax_delete_bytes): Adjust symbol sizes
if needed.
Pedro Alves [Fri, 14 Aug 2009 00:32:33 +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.
Alan Modra [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 ***
Doug Evans [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.
Tom Tromey [Thu, 13 Aug 2009 18:39:20 +0000 (18:39 +0000)]
* varobj.c (update_dynamic_varobj_children): Don't use
value_copy.
* value.h: (preserve_one_value): Declare.
(value_prepend_to_list, value_remove_from_list): Remove.
* value.c (preserve_one_value): No longer static.
(preserve_values): Call preserve_python_values.
(value_prepend_to_list): Remove.
(value_remove_from_list): Remove.
* python/python.h (values_in_python): Don't declare.
(preserve_python_values): Declare.
* python/python-value.c (values_in_python): Change type. Move
lower. Now static.
(struct value_object): Add struct tag.
<next, prev>: New fields.
(valpy_dealloc): Update.
(note_value): New function.
(valpy_new): Use value_incref, note_value.
(preserve_python_values): New function.
(valpy_positive): Don't use value_copy.
(value_to_value_object): Use value_incref, note_value.
(convert_value_from_python): Update comment.
Pedro Alves [Thu, 13 Aug 2009 18:27:56 +0000 (18:27 +0000)]
* remote.c (remote_pid_to_str): If printing a process id and we
don't know what the remote pid could be, output "Remote target";
otherwise, use normal_pid_to_str.
Tom Tromey [Thu, 13 Aug 2009 17:06:21 +0000 (17:06 +0000)]
* language.h (longest_raw_hex_string): Remove unused declaration.
DJ Delorie [Thu, 13 Aug 2009 17:04:01 +0000 (17:04 +0000)]
merge from gcc
Pedro Alves [Thu, 13 Aug 2009 14:58:27 +0000 (14:58 +0000)]
2009-08-13 Pedro Alves <pedro@codesourcery.com>
PR gdb/8869:
* language.c (language, type, range, case_sensitive): Make const.
(show_language_command): Don't call deprecated_show_value_hack.
Special case "auto".
(set_language_command): An unrecognized language is now an
internal error instead of a user error. Don't call set_lang_str.
(show_type_command): Don't call deprecated_show_value_hack.
Special case "auto". Use warning.
(set_type_command): An unrecognized type is now an internal error
instead of a user error. Output type check mismatch with language
here. Don't call set_type_str.
(show_range_command): Don't call deprecated_show_value_hack.
Special case "auto". Use warning.
(set_range_command): An unrecognized range check is now an
internal error instead of a warning. Output range check mismatch
with language here. Don't call set_range_str.
(show_case_command): Don't call deprecated_show_value_hack.
Special case "auto". Use warning.
(set_case_command): Don't call set_case_str. An unrecognized case
check is now an internal error instead of a warning. Output range
check mismatch with language here. Don't call set_case_str.
(set_type_range_case): Don't call set_type_str, set_range_str or
set_case_str here.
(set_lang_str, set_type_str, set_range_str, set_case_str): Delete.
(add_language): Install or reinstall the "set language" command
here, and make it an enum command. Build the enumeration and the
help string from the current list of known languages.
(_initialize_language): Don't install "set language" here. Make
"set check type", "set check range" and "set case-sensitive" enum
commands. Register the "auto" "local" and "unknown" languages in
that order.
2009-08-13 Pedro Alves <pedro@codesourcery.com>
* gdb.base/default.exp: Adjust "set language test": it's now an
enum command. Larger help string moved to "help set language".
* gdb.base/help.exp: Adjust "help set language" expected output,
now lists all known languages.
Pedro Alves [Thu, 13 Aug 2009 14:56:19 +0000 (14:56 +0000)]
Revert 2009-08-07 changes for PR gdb/8869:
* language.c (set_language_command): Strip whitespace.
(set_type_command): Likewise.
(set_range_command): Likewise.
* language.c (language_completer): New function.
(range_or_type_completer): New function.
(case_completer): New function.
(_initialize_language): Set completers.
* cli/cli-decode.c (add_setshow_string_cmd): Return the "set"
command.
(add_setshow_string_noescape_cmd): Likewise.
(add_setshow_integer_cmd): Likewise.
(add_setshow_uinteger_cmd): Likewise.
(add_setshow_zinteger_cmd): Likewise.
(add_setshow_zuinteger_cmd): Likewise.
* command.h (add_setshow_string_cmd,
add_setshow_string_noescape_cmd, add_setshow_uinteger_cmd,
add_setshow_zinteger_cmd, add_setshow_zuinteger_cmd): Update.
Sriraman Tallam [Thu, 13 Aug 2009 00:03:43 +0000 (00:03 +0000)]
2009-08-12 Sriraman Tallam <tmsriram@google.com>
* icf.cc (Icf::find_identical_sections): Issue a warning when a
symbol in the --keep-unique list is not found.
gdbadmin [Thu, 13 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 13 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update
Michael Snyder [Wed, 12 Aug 2009 23:00:27 +0000 (23:00 +0000)]
2009-08-12 Michael Snyder <msnyder@vmware.com>
* remote.c (remote_add_inferior): Remove unused local.
(remote_add_thread): Ditto.
(read_ptid): Ditto.
(remote_current_thread): Ditto.
(remote_stop_ns): Ditto.
(remote_parse_stop_reply): Ditto.
(remote_get_pending_stop_replies): Ditto.
(remote_wait_ns): Ditto.
(remote_wait_as): Ditto.
(send_g_packet): Ditto.
(remote_fetch_registers): Ditto.
(store_register_using_P): Ditto.
(remote_store_registers): Ditto.
(remote_remove_breakpoint): Ditto.
(remote_write_qxfer): Ditto.
(remote_read_qxfer): Ditto.
Sriraman Tallam [Wed, 12 Aug 2009 19:03:16 +0000 (19:03 +0000)]
Sriraman Tallam <tmsriram@google.com>
* icf.cc (Icf::find_identical_sections): Unfold symbols that have
been maked as --keep-unique.
(Icf::unfold_section): New function.
* icf.h (Icf::unfold_section): New function.
* options.h (General_options::keep_unique): New option.
* testsuite/Makefile.am: Add commands to build icf_keep_unique_test.
* testsuite/Makefile.in: Regenerate.
* testsuite/icf_keep_unique_test.sh: New file.
* testsuite/icf_keep_unique_test.cc: New file.
Cary Coutant [Wed, 12 Aug 2009 18:30:39 +0000 (18:30 +0000)]
PR 10471
* resolve.cc (Symbol_table::resolve): Check for references from
dynamic objects to hidden and internal symbols.
* testsuite/Makefile.am (hidden_test.sh): New test.
* testsuite/Makefile.in: Regenerate.
* testsuite/hidden_test.sh: New script.
* testsuite/hidden_test_1.c: New test source.
* testsuite/hidden_test_main.c: New test source.
Nick Clifton [Wed, 12 Aug 2009 16:13:18 +0000 (16:13 +0000)]
* po/fi.po: Updated Finnish translation.
Tristan Gingold [Wed, 12 Aug 2009 12:40:55 +0000 (12:40 +0000)]
2009-08-12 Tristan Gingold <gingold@adacore.com>
* ld.h (fat_user_section_struct): Add map_symbol_def_count field.
* ldlang.c (hash_entry_addr_cmp): New function.
(print_all_symbols): Sort the symbols by address before printing them.
DJ Delorie [Wed, 12 Aug 2009 03:40:48 +0000 (03:40 +0000)]
* config/tc-mep.c (md_estimate_size_before_relax): Handle weak
symbols correctly.
(md_convert_frag): Likewise.
(md_pcrel_from_section): Likewise.
(mep_force_relocation): Likewise.