Keven Boell
530e8392d7
fortran: enable ptype/whatis for modules.
...
Added new domain MODULE_DOMAIN for fortran modules to avoid
issues with sharing namespaces (e.g. when a variable currently
in scope has the same name as a module).
(gdb) ptype modname
old> No symbol "modname" in current context.
new> type = module modname
This fixes PR 15209 and also addresses the issue
with sharing namespaces:
https://sourceware.org/ml/gdb-patches/2013-02/msg00643.html
2013-11-19 Keven Boell <keven.boell@intel.com>
Sanimir Agovic <sanimir.agovic@intel.com>
* cp-namespace.c (cp_lookup_nested_symbol): Enable
nested lookups for fortran modules.
* dwarf2read.c (read_module): Add fortran module to
the symbol table.
(add_partial_symbol, add_partial_module): Add fortran
module to the partial symbol table.
(new_symbol_full): Create full symbol for fortran module.
* f-exp.y (yylex): Add new module domain to be parsed.
* symtab.h: New domain for fortran modules.
testsuite/
* gdb.fortran/module.exp: Completion matches fortran module
names as well. ptype/whatis on modules return a proper type.
Add new check for having the correct scope.
2013-12-19 13:18:21 +01:00
Keven Boell
7f9b20bb35
fortran: enable ptype/whatis for user defined types.
...
(gdb) ptype type
old> No symbol "type" in current context.
new> type = Type type
integer(kind=4) :: t_i
End Type type
2013-11-19 Sanimir Agovic <sanimir.agovic@intel.com>
Keven Boell <keven.boell@intel.com>
* f-exp.y (yylex): Add domain array to enable lookup
in multiple domains. Loop over lookup domains and try
to find requested symbol. Add STRUCT_DOMAIN to lookup
domains to be able to query for user defined types.
testsuite/
* gdb.fortran/type.f90: New file.
* gdb.fortran/whatis_type.f90: New file.
2013-12-19 13:18:11 +01:00
fxcoudert
afc0578da2
* configure.ac: Add user-friendly check for native x86_64-linux multilibs. * configure: Regenerate.
...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205975 138bc75d-0d04-0410-961f-82ee72b054a4
2013-12-16 13:42:54 -07:00
Alan Modra
f3f51a6918
Import config.sub and config.guess from upstream.
2013-11-23 09:02:29 +10:30
Catherine Moore
b83a9376e9
Fix ChangeLog entries from earlier commit.
2013-11-11 15:34:48 -08:00
Catherine Moore
67dc82bc51
2013-11-11 Catherine Moore <clm@codesourcery.com>
...
gas/
* config/mips/tc-mips.c (convert_reg_type): Use
INSN_LOAD_MEMORY instead of INSN_LOAD_MEMORY_DELAY.
(reg_needs_delay): Likewise.
(insns_between): Likewise.
include/
* opcode/mips.h (INSN_LOAD_MEMORY_DELAY): Rename to...
(INSN_LOAD_MEMORY): ...this.
opcodes/
* mips-dis.c (print_insn_mips): Use
INSN_LOAD_MEMORY instead of INSN_LOAD_MEMORY_DELAY.
(print_insn_micromips): Likewise.
* mips-opc.c (LDD): Remove.
(CLD): Include INSN_LOAD_MEMORY.
(LM): New.
(mips_builtin_opcodes): Use LM instead of LDD.
Add LM to load instructions.
2013-11-11 08:03:47 -08:00
tschwinge
e78e02e6d9
* Makefile.in: Regenerate.
...
Follow-up to r204173.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204536 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-08 11:11:42 -07:00
tschwinge
2440009db0
* Makefile.tpl: Fix typo. * Makefile.in: Regenerate.
...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204520 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-08 11:11:42 -07:00
bviyer
9aaf2a7e2c
Disable libcilkrts when C++ is not used.
...
2013-11-04 Balaji V. Iyer <balaji.v.iyer@intel.com>
* configure.ac: Added libcilkrts to noconfig list when C++ is not
supported.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204396 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-08 11:11:42 -07:00
jason
880b18d10d
/ * Makefile.tpl (STAGE1_CONFIGURE_FLAGS): Pass --disable-build-format-warnings. gcc/ * configure.ac (loose_warn): Add -Wno-format if --disable-build-format-warnings.
...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204217 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-08 11:11:42 -07:00
bviyer
522e3d71c8
Added Cilk runtime library (libcilkrts) into GCC.
...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204173 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-08 11:11:41 -07:00
law
cb49a9e15e
* Makefile.def (target_modules): Remove libmudflap (languages): Remove check-target-libmudflap). * Makefile.in: Rebuilt. * Makefile.tpl (check-target-libmudflap-c++): Remove. * configure.ac (target_libraries): Remove target-libmudflap. Remove checks which disabled libmudflap on some systems. * configure: Rebuilt. * libmudflap: Directory removed.
...
* Makefile.in (C_COMMON_OBJS): Remove tree-mudflap.
(OBJS): Remove tree-nomudflap.o
(GTFILES): Remove tree-mudflap.c
* builtins.c (expand_builtin_alloc): Remove mudflap support.
* gcc.c (MFWRAP_SPEC, MFLIB_SPEC): Likewise.
(mfwrap_spec, mflib_spec): Likewise.
(cpp_unique_options, cc1_options, static_specs): Likewise.
* gimplify (gimplify_vla_decl, build_va_arg_indirect_ref): Likewise.
* passes.def: Likewise.
* toplev.c (compile_file, process_options): Likewise.
* tree-inline.c (copy_tree_r): Likewise.
* tree-pass.,h (make_pass_mudflap_1, make_pass_mudflap_2): Likewise.
* varasm.c (make_decl_rtl, make_decl_rtl_for_debug): Likewise.
(build_constant_desc, output_constant_def_contents): Likewise.
(categorize_decl_for_section): Likewise.
* tree-mudflap.c: Removed.
* tree-mudflap.h: Removed.
* tree-nomudflap.c: Removed.
* bfin/uclinux.h (MFWRAP_SPEC): Remove.
* moxie/uclinux.h (MFWRAP_SPEC): Likewise.
* rs6000/aix.h (MFWRAP_SPEC, MFLIB_SPEC): Likewise.
* config/sol2.h (MFLIB_SPEC): Likewise.
* doc/install.texi: Remove mudflap references.
* doc/passes.texi: Similarly.
* doc/sourcebuild.texi: Similarly.
* doc/invoke.texi: Remove mudlfap related options.
* c-family/c-common.c (c_define_builtins): Remove mudflap support.
* c-family/c.opt: Ignore and warn for mudflap options.
* g++.dg/torture/pr49309.C: Removed.
* gcc.dg/dfp/pr35739.c: Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204090 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-08 11:11:41 -07:00
gerald
a903d6ac5a
Fix up ChangeLog entries (name, e-mail, formatting, otherwise).
...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203992 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-08 11:11:40 -07:00
Jan-Benedict Glaw
82033c9b41
2013-10-16 Jan-Benedict Glaw <jbglaw@lug-owl.de>
...
* configure.ac: Update from GCC.
* configure: Regenerate.
2013-10-16 20:36:39 +00:00
Hans-Peter Nilsson
b50d7605e1
* src-release (do-proto-toplevel): Support subdir-path-prefixed
...
files in SUPPORT_FILES.
(SIM_SUPPORT_DIRS): New variable.
(sim.tar.bz2): New rule.
2013-10-15 20:45:52 +00:00
Jan-Benedict Glaw
f4cfb980c3
2013-10-08 Jan-Benedict Glaw <jbglaw@lug-owl.de>
...
* configure.ac: Update from GCC.
* configure: Regenerate.
2013-10-08 14:14:12 +00:00
Jeff Johnston
78b1434c35
2013-10-01 Jeff Johnston <jjohnstn@redhat.com>
...
* COPYING.NEWLIB: Update with new copyright.
2013-10-01 18:14:04 +00:00
Jan-Benedict Glaw
b3fc79f86b
2013-09-21 Jan-Benedict Glaw <jbglaw@lug-owl.de>
...
* configure.ac: Update from GCC.
* configure: Regenerate.
2013-09-21 00:05:18 +00:00
Alan Modra
cc9afea3e4
* libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical
...
ppc host match. Support little-endian powerpc linux hosts.
Regenerate binutils configure files.
2013-09-20 09:51:25 +00:00
Joel Brobecker
f006cabd5c
src-release: Strip "-cvs" from GDB source dir and tarball.
...
The nightly snapshots we have been creating in the past did not
include the "-cvs" suffix at the end of the version number. Snapshot
packaging started breaking ever since GDB switched to using BFD's
version number. Things got partially fixed with the previous change
to this file, but the change missed the fact that the "-cvs" suffix
in the tarball name (Eg: gdb-7.6.50-20130816-cvs.tar) is undesirable.
This patch removes it.
ChangeLog:
* src-release (VER): When using $(TOOL)/common/create-version.sh,
strip the "-cvs" suffix from the version number if present.
2013-08-17 01:07:52 +00:00
Jan-Benedict Glaw
95e4313533
2013-08-12 Jan-Benedict Glaw <jbglaw@lug-owl.de>
...
* configure.ac: Sync with GCC repo.
* Makefile.def: Ditto.
* configure: Regenerate.
* Makefile.in: Ditto.
2013-08-12 11:36:35 +00:00
Mike Stump
303a26609a
Remove:
...
2013-07-10 Jack Howarth <howarth@bromo.med.uc.edu>
PR target/57792
* configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later.
* configure: Regenerated.
2013-08-05 16:05:32 +00:00
Joel Brobecker
7539e41e9f
src-release: Fix VER computation for TOOL=gdb
...
Without this patch, the DATE marker in gdb/version.in does not get
replaced by the source packaging date, causing the name of the
tarball being created to: have the DATE marker in the tarball
name and the name of the directory the sources unpack to (Eg:
gdb-7.6.50-DATE-cvs.tar instead of gdb-7.6.50-20130710-cvs.tar).
ChangeLog:
* src-release (VER): Use $(TOOL)/common/create-version.sh
if it exists.
2013-07-22 15:17:20 +00:00
Mike Stump
79215ca754
2013-07-10 Jack Howarth <howarth@bromo.med.uc.edu>
...
PR target/57792
* configure.ac: Use --with-sysroot=\"`xcrun --show-sdk-path`\" on darwin13 and later.
* configure: Regenerated.
2013-07-10 20:55:59 +00:00
Richard Sandiford
e8044f355d
* configure.ac (mips*-*-bsd*, mips*-*-ultrix*, mips*-*-osf*)
...
(mips*-*-ecoff*, mips*-*-pe*, mips*-*-irix* [v4 and earlier])
(mips*-*-lnews*, mips*-*-riscos*): Add gas and ld to noconfigdirs.
* configure: Regenerate.
gas/
* NEWS: Note removal of ECOFF support.
* doc/as.texinfo (--emulation): Update for the removal of MIPS ECOFF.
* Makefile.am (TARG_ENV_HFILES): Remove config/te-lnews.h.
(MULTI_CFILES): Remove config/e-mipsecoff.c.
* Makefile.in: Regenerate.
* configure.in: Remove MIPS ECOFF references.
(mips-sony-bsd*, mips-*-bsd*, mips-*-lnews*-ecoff, mips-*-*-ecoff):
Delete cases.
(mips-*-irix5*-*, mips*-*-linux*-*, mips*-*-freebsd*)
(mips*-*-kfreebsd*-gnu, mips-*-*-elf): Fold into...
(mips-*-*): ...this single case.
(mipsbecoff, mipslecoff, mipsecoff): Remove emulations. Expect
MIPS emulations to be e-mipself*.
* configure: Regenerate.
* configure.tgt (mips-sony-bsd*, mips-*-ultrix*, mips-*-osf*)
(mips-*-ecoff*, mips-*-pe*, mips-*-irix*, ips-*-lnews*, mips-*-riscos*)
(mips-*-sysv*): Remove coff and ecoff cases.
* as.c (mipsbecoff, mipslecoff, mipsecoff): Remove.
* ecoff.c: Remove reference to MIPS ECOFF.
* config/e-mipsecoff.c, config/te-lnews.h: Delete files.
* config/tc-mips.c (ECOFF_LITTLE_FORMAT): Delete.
(RDATA_SECTION_NAME, mips_target_form): Remove COFF and ECOFF cases.
(mips_hi_fixup): Tweak comment.
(append_insn): Require a howto.
(mips_after_parse_args): Remove OBJ_MAYBE_ECOFF code.
gas/testsuite/
* gas/all/gas.exp: Remove reference to mips-ecoff.
* gas/mips/branch-misc-1.d, gas/mips/branch-misc-2.d,
gas/mips/branch-misc-2-64.d, gas/mips/branch-misc-2pic.d,
gas/mips/branch-misc-2pic-64.d, gas/mips/branch-swap.d: Remove
skips for mips-*-ecoff.
ld/
* NEWS: Document the removal of MIPS ECOFF targets.
* ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than
MIPS ECOFF as an example of a target that supports small data.
* ldmain.c (g_switch_value): Likewise.
* configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*)
(mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*)
(mips*-*-bsd*, mips*-*-lnews*): Remove cases.
* Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c,
emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c.
(emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c)
(emipslnews.c, emipspe.c): Delete rules.
* Makefile.in: Regenerate.
* emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh,
emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh,
emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete.
* emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support
has now been removed.
* emultempl/pe.em: Remove TARGET_IS_mipspe checks.
2013-06-22 16:44:16 +00:00
Denis Chertykov
7bab763496
* gas/config/tc-avr.c: Change ISA for devices with USB support to
...
AVR_ISA_XMEGAU
* include/opcode/avr.h: Rename AVR_ISA_XCH to AVR_ISA_RMW. Remove
from AVR_ISA_XMEGA and add new AVR_ISA_XMEGAU
2013-06-01 07:14:44 +00:00
Jeff Johnston
b5364c9e51
2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
...
* COPYING.NEWLIB: Add Altera Corporation copyright.
2013-05-06 18:31:56 +00:00
Jan-Benedict Glaw
5dad867cca
* config.guess: Update from config repo.
...
* config.sub: Ditto.
2013-04-29 15:13:53 +00:00
Jan-Benedict Glaw
b836cb185e
2013-04-22 Jan-Benedict Glaw <jbglaw@lug-owl.de>
...
* Makefile.def: Sync with GCC.
* Makefile.in: Regenerate.
2013-04-22 17:11:22 +00:00
Jan-Benedict Glaw
e7d5abf103
2013-04-22 Jan-Benedict Glaw <jbglaw@lug-owl.de>
...
* configure.ac: Sync with GCC.
* configure: Regenerated.
2013-04-22 15:25:09 +00:00
Mike Frysinger
4f778543a0
src-release: fix version look up for bfd based projects
2013-03-22 23:16:40 +00:00
Yufeng Zhang
f1dd87fcaf
* configure.ac: Sync with GCC repo.
...
* configure: Ditto.
2013-02-15 17:55:25 +00:00
Ian Lance Taylor
a413f71ae5
PR go/55969
...
* configure.ac: Disable libgo on some systems where it does not
work.
* configure: Rebuild.
2013-02-05 22:39:30 +00:00
Alan Modra
3a98824c4c
* configure: Regenerate after syncing config/.
2013-02-04 23:31:16 +00:00
Jan-Benedict Glaw
3dae1673d0
* configure.ac: Sync with GCC repo.
...
* configure: Ditto.
* Makefile.def: Ditto.
* Makefile.in: Ditto.
2013-01-15 21:47:02 +00:00
Jan-Benedict Glaw
1b4f418d5a
* ChangeLog: Fix typo.
2013-01-12 03:46:44 +00:00
Joel Brobecker
bf51454b45
Sync the root .gitignore file with GCC's.
2013-01-11 15:17:35 +00:00
Jan-Benedict Glaw
c2e5e6d74e
* ChangeLog: Fix "Dito" to "Ditto".
2013-01-11 13:10:17 +00:00
Jan-Benedict Glaw
c841a2be54
* config.sub: Update from config repo.
2013-01-11 12:57:41 +00:00
Eric Botcazou
d7b9dae92f
* Makefile.tpl (BOOT_ADAFLAGS): Remove -gnata.
...
* Makefile.in: Regenerate.
2013-01-11 11:48:54 +00:00
H.J. Lu
861ea9c877
Build gmp before configuring gcc
...
* Makefile.def (configure-gcc): Depend on all-gmp.
(all-gcc): Remove dependency on all-gmp.
* Makefile.in: Regenerated.
2013-01-10 17:02:01 +00:00
Jan-Benedict Glaw
ce82b126ec
* config.guss: Update from config repo.
...
* config.sub: Dito.
2013-01-08 22:42:34 +00:00
Jeff Johnston
fd62a30d37
2013-01-07 Jeff Johnston <jjohnstn@redhat.com>
...
* COPYING.LIBGLOSS: Remove license for mips/lsi33k-stub.h which no longer
exists and replace the new bfin license in its location.
2013-01-07 21:39:26 +00:00
H.J. Lu
0140d685ba
Add missing gas dependency
...
PR gas/14899
* Makefile.def (dependencies): Make all-binutils, all-gprof,
all-ld and all-gold depend on all-gas.
* Makefile.in: Regenerated.
2013-01-07 17:16:04 +00:00
H.J. Lu
c3d399e712
Sync config.guess and config.sub with GCC
2013-01-07 17:13:22 +00:00
Jan-Benedict Glaw
9417cd2f8c
* Makefile.def (install-target-libgo): Depend on
...
install-target-libatomic. Merged from GCC repo.
* Makefile.in: Regenerate.
2012-12-20 21:59:17 +00:00
Jeff Johnston
68dad382d9
2012-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* COPYING.LIBGLOSS: Add license for bfin libgloss.
2012-12-17 17:46:09 +00:00
Thomas Schwinge
2344b8da6e
* configure.ac (ENABLE_GOLD): Consider *-*-gnu* targets ELF.
...
* configure: Regenerate.
2012-12-16 07:10:07 +00:00
H.J. Lu
5eb0869364
Add --with-build-config=bootstrap-asan support
...
* Makefile.def (target_modules): Add bootstrap=true and
raw_cxx=true to libsanitizer.
* configure.ac (bootstrap_target_libs): Add libsanitizer.
* Makefile.in: Regenerated.
* configure: Likewise.
2012-12-12 13:52:58 +00:00
Jan-Benedict Glaw
53ab32d837
* config.sub: Merge from config repo.
2012-12-08 00:02:34 +00:00