platform/upstream/binutils.git
11 years agoAdjusting prototype declaration for gdb/value.h:create_internalvar_type_lazy,
Sergio Durigan Junior [Tue, 13 Aug 2013 19:25:04 +0000 (19:25 +0000)]
Adjusting prototype declaration for gdb/value.h:create_internalvar_type_lazy,
in order to match GNU Coding Standards.

2013-08-13  Sergio Durigan Junior  <sergiodj@redhat.com>

* value.h (create_internalvar_type_lazy): Adjust prototype
declaration.

11 years agointroduce parallel mode
Tom Tromey [Tue, 13 Aug 2013 16:12:04 +0000 (16:12 +0000)]
introduce parallel mode

This introduces parallel mode for the test suite.

It doesn't fully work yet in the sense that if you do a fully parallel
run, you will encounter some file-name clashes, but this has to start
somewhere, and it seemed best to add some infrastructure now, so that
you can follow along and test subsequent patches if you care to.

This patch has two parts.

First, it checks for the GDB_PARALLEL variable.  If this is set (say,
on the runtest command line), then the test suite assumes "parallel
mode".  In this mode, files are put into a subdirectory named after
the test.  That is, for DIR/TEST.exp, the outputs are put into
./outputs/DIR/TEST/.

This first part has various follow-on changes coming in subsequent
patches.  This is why the code in this patch also makes "temp" and
"cache" directories.

Second, this adds an "inotify" mode.  If you have the inotifywait
command (part of inotify-tools), you can set the GDB_INOTIFY variable.
This will tell the test suite to watch for changes outside of the
allowed output directories.

This mode is useful for debugging the test suite, as it issues a
report whenever a possibly parallel-unsafe file open is done.

2013-08-13  Tom Tromey  <tromey@redhat.com>
    Yao Qi  <yao@codesourcery.com>

* lib/cache.exp (gdb_do_cache): Handle GDB_PARALLEL.
* lib/gdb.exp: Handle GDB_PARALLEL.
(default_gdb_version): Kill inotify_pid if it exists.
(default_gdb_exit): Emit warning if the inotify log is not
empty.
(standard_output_file): Respect GDB_PARALLEL.
(standard_temp_file): Likewise.
(gdb_init): Start inotifywait if requested.

* gdbint.texinfo (Testsuite): Use @table, not @itemize.
Document GDB_PARALLEL and GDB_INOTIFY.

11 years agoHandle '#' flag for printf of pointer types.
Andrew Burgess [Tue, 13 Aug 2013 16:05:23 +0000 (16:05 +0000)]
Handle '#' flag for printf of pointer types.

  http://sourceware.org/ml/gdb-patches/2013-08/msg00340.html

gdb/ChangeLog

* common/format.c (parse_format_string): Don't allow '#' flag for
pointer arguments in format string.

gdb/testsuite/ChangeLog

* gdb.base/printcmds.exp (test_printf): Add test for printf of
pointer with various flags.

11 years agoadd caching procs to test suite
Tom Tromey [Tue, 13 Aug 2013 15:55:52 +0000 (15:55 +0000)]
add caching procs to test suite

In the fully parallel mode, each .exp file can be run in parallel (at
least conceptually -- the actual split may not be so severe).  This
means that procs that compute a result and cache it are not going to
function very well.  The test they run will be invoked over and over.

This patch introduces a generic caching mechanism and changes various
result-caching procs to use it.  This is a cleanup to introduce the
basic change; the results aren't written to disk yet.

A caching proc is defined using gdb_caching_proc, which works like
"proc", except that it caches the result of the body.

* lib/cache.exp: New file.
* lib/cell.exp (skip_cell_tests): Use gdb_caching_proc.
* lib/gdb.exp: Load cache.exp.
(support_complex_tests, is_ilp32_target, is_lp64_target)
(is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests)
(gdb_skip_xml_test): Use gdb_caching_proc.
* lib/opencl.exp (skip_opencl_tests): Use gdb_caching_proc.

11 years agoadd standard_temp_file
Tom Tromey [Tue, 13 Aug 2013 15:52:24 +0000 (15:52 +0000)]
add standard_temp_file

This adds a new helper proc, standard_temp_file.  This proc takes a
file name and returns a possibly-qualified form.  This lets us make
parallel runs use a directory other than ".", which helps the inotify
mode.

This initial patch introduces the proc and changes a few spots to use
it.

* lib/gdb.exp (standard_temp_file): New proc.
(support_complex_tests, is_ilp32_target, is_lp64_target)
(is_amd64_regs_target, skip_altivec_tests, skip_vsx_tests): Use
standard_temp_file.

11 years agomore uses of standard_output_file
Tom Tromey [Tue, 13 Aug 2013 15:50:13 +0000 (15:50 +0000)]
more uses of standard_output_file

A few spots in lib make output files, either in "." or in
$objdir/$subdir.

This patch changes these spots to use standard_output_file.
This help the parallelization project.

* lib/gdb.exp (build_id_debug_filename_get): Use
standard_output_file.
* lib/prelink-support.exp (section_get)
(build_executable_own_libs): Use standard_output_file.

11 years ago * src/gdb/utils.c (init_page_info): Only call tgetnum function
Pierre Muller [Tue, 13 Aug 2013 08:31:20 +0000 (08:31 +0000)]
* src/gdb/utils.c (init_page_info): Only call tgetnum function
if rl_get_screen_size did not return useful values.

11 years agodaily update
Alan Modra [Tue, 13 Aug 2013 00:00:04 +0000 (00:00 +0000)]
daily update

11 years ago * Makefile.in (ALL_SUBDIRS): Add gdb.go.
Tom Tromey [Mon, 12 Aug 2013 20:54:06 +0000 (20:54 +0000)]
* Makefile.in (ALL_SUBDIRS): Add gdb.go.

11 years ago? .deps
Ali Anwar [Mon, 12 Aug 2013 11:54:04 +0000 (11:54 +0000)]
? .deps
? Makefile
? ada-exp.c
? ada-lex.c
? build-gnulib
? c-exp.c
? config.cache
? config.h
? config.log
? config.status
? cp-name-parser.c
? f-exp.c
? gcore
? gdb
? gdb-gdb.gdb
? go-exp.c
? init.c
? jit-reader.h
? jv-exp.c
? m2-exp.c
? observer.h
? observer.inc
? p-exp.c
? stamp-h
? stamp-xml
? version.c
? xml-builtin.c
? data-directory/Makefile
? data-directory/python
? data-directory/stamp-python
? data-directory/stamp-syscalls
? data-directory/stamp-system-gdbinit
? data-directory/syscalls
? data-directory/system-gdbinit
? doc/Makefile
? gdbserver/.deps
? gdbserver/Makefile
? gdbserver/build-gnulib-gdbserver
? gdbserver/config.cache
? gdbserver/config.h
? gdbserver/config.log
? gdbserver/config.status
? gdbserver/gdbreplay
? gdbserver/gdbserver
? gdbserver/i386-avx-linux.c
? gdbserver/i386-linux.c
? gdbserver/i386-mmx-linux.c
? gdbserver/stamp-h
? gdbserver/stamp-xml
? gdbserver/version.c
? gdbserver/xml-builtin.c
? testsuite/Makefile
? testsuite/config.log
? testsuite/config.status
? testsuite/gdb.log
? testsuite/gdb.sum
? testsuite/site.exp
? testsuite/gdb.ada/Makefile
? testsuite/gdb.arch/Makefile
? testsuite/gdb.asm/Makefile
? testsuite/gdb.base/Makefile
? testsuite/gdb.btrace/Makefile
? testsuite/gdb.cell/Makefile
? testsuite/gdb.cp/Makefile
? testsuite/gdb.disasm/Makefile
? testsuite/gdb.dwarf2/Makefile
? testsuite/gdb.fortran/Makefile
? testsuite/gdb.go/Makefile
? testsuite/gdb.hp/Makefile
? testsuite/gdb.hp/gdb.aCC/Makefile
? testsuite/gdb.hp/gdb.base-hp/Makefile
? testsuite/gdb.hp/gdb.compat/Makefile
? testsuite/gdb.hp/gdb.defects/Makefile
? testsuite/gdb.hp/gdb.objdbg/Makefile
? testsuite/gdb.java/Makefile
? testsuite/gdb.linespec/Makefile
? testsuite/gdb.mi/Makefile
? testsuite/gdb.modula2/Makefile
? testsuite/gdb.multi/Makefile
? testsuite/gdb.objc/Makefile
? testsuite/gdb.opencl/Makefile
? testsuite/gdb.opt/Makefile
? testsuite/gdb.pascal/Makefile
? testsuite/gdb.python/Makefile
? testsuite/gdb.reverse/Makefile
? testsuite/gdb.server/Makefile
? testsuite/gdb.stabs/Makefile
? testsuite/gdb.threads/Makefile
? testsuite/gdb.threads/threadapply
? testsuite/gdb.trace/Makefile
? testsuite/gdb.xml/Makefile

RCS file: /cvs/src/src/gdb/.dir-locals.el,v
Working file: .dir-locals.el
head: 1.2
branch:
locks: strict
access list:
symbolic names:
gdb_7_6-2013-04-26-release: 1.2
gdb_7_6-branch: 1.2.0.2
gdb_7_6-2013-03-12-branchpoint: 1.2
gdb_7_5_1-2012-11-29-release: 1.1
gdb_7_5-2012-08-17-release: 1.1
gdb_7_5-branch: 1.1.0.2
gdb_7_5-2012-07-18-branchpoint: 1.1
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
----------------------------
revision 1.2
date: 2013/01/01 06:32:34;  author: brobecke;  state: Exp;  lines: +1 -1
Update years in copyright notice for the GDB files.

Two modifications:
  1. The addition of 2013 to the copyright year range for every file;
  2. The use of a single year range, instead of potentially multiple
     year ranges, as approved by the FSF.
----------------------------
revision 1.1
date: 2012/03/28 17:35:38;  author: tromey;  state: Exp;
* .dir-locals.el: New file.
=============================================================================

RCS file: /cvs/src/src/gdb/.gitignore,v
Working file: .gitignore
head: 1.5
branch:
locks: strict
access list:
symbolic names:
gdb_7_6-2013-04-26-release: 1.4
gdb_7_6-branch: 1.4.0.2
gdb_7_6-2013-03-12-branchpoint: 1.4
gdb_7_5_1-2012-11-29-release: 1.3
gdb_7_5-2012-08-17-release: 1.3
gdb_7_5-branch: 1.3.0.2
gdb_7_5-2012-07-18-branchpoint: 1.3
gdb_7_4_1-2012-04-26-release: 1.1
gdb_7_4-2012-01-24-release: 1.1
gdb_7_4-branch: 1.1.0.4
gdb_7_4-2011-12-13-branchpoint: 1.1
gdb_7_3_1-2011-09-04-release: 1.1
gdb_7_3-2011-07-26-release: 1.1
gdb_7_3-branch: 1.1.0.2
gdb_7_3-2011-04-01-branchpoint: 1.1
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:
----------------------------
revision 1.5
date: 2013/06/17 04:39:15;  author: vapier;  state: Exp;  lines: +1 -0
gdb: ignore generated gcore
----------------------------
revision 1.4
date: 2012/08/13 15:43:59;  author: vapier;  state: Exp;  lines: +1 -0
gdb: ignore generated go-exp.c
----------------------------
revision 1.3
date: 2012/03/21 04:53:29;  author: vapier;  state: Exp;  lines: +2 -0
gdb: update gitignore
----------------------------
revision 1.2
date: 2012/01/02 02:28:56;  author: jkratoch;  state: Exp;  lines: +0 -1
gdb/
Remove the gdbtui binary.
* .gitignore (/gdbtui): Remove.
* Makefile.in (TUI): Remove.
(SUBDIR_TUI_OBS): Remove tui-main.o.
(SUBDIR_TUI_SRCS): Remove tui/tui-main.c.
(all-tui, install-tui, uninstall-tui, $(TUI)$(EXEEXT), clean-tui)
(tui-main.o): Remove.
(all_object_files): Remove tui-main.o.
* NEWS: New note for the gdbtui removal.
* configure: Rebuilt.
* configure.ac: No longer add all-tui, clean-tui, install-tui and
uninstall-tui to CONFIG_ALL, CONFIG_CLEAN, CONFIG_INSTALL and
CONFIG_UNINSTALL respectively.
* gdb.c (main): Remove args.interpreter_p initialization.
* main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE.
* main.h (struct captured_main_args): Remove interpreter_p.
* tui/tui-main.c: Remove.

gdb/doc/
Remove the gdbtui binary.
* all-cfg.texi (GDBTUI): Remove.
* gdb.texinfo (Mode Options): Remove the GDBTUI reference.
(TUI): Remove GDBTUI pindex.  Remove the GDBTUI reference.
* gdbint.texinfo (Testsuite): Replace `gdbtui' by `gdb -tui'.
----------------------------
revision 1.1
date: 2011/03/29 18:21:32;  author: vapier;  state: Exp;
gdb: start a gitignore

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
=============================================================================

RCS file: /cvs/src/src/gdb/CONTRIBUTE,v
Working file: CONTRIBUTE
head: 1.13
branch:
locks: strict
access list:
symbolic names:
gdb_7_6-2013-04-26-release: 1.13
gdb_7_6-branch: 1.13.0.4
gdb_7_6-2013-03-12-branchpoint: 1.13
gdb_7_5_1-2012-11-29-release: 1.13
gdb_7_5-2012-08-17-release: 1.13
gdb_7_5-branch: 1.13.0.2
gdb_7_5-2012-07-18-branchpoint: 1.13
gdb_7_4_1-2012-04-26-release: 1.12
gdb_7_4-2012-01-24-release: 1.12
gdb_7_4-branch: 1.12.0.10
gdb_7_4-2011-12-13-branchpoint: 1.12
gdb_7_3_1-2011-09-04-release: 1.12
gdb_7_3-2011-07-26-release: 1.12
gdb_7_3-branch: 1.12.0.8
gdb_7_3-2011-04-01-branchpoint: 1.12
gdb_7_2-2010-09-02-release: 1.12
gdb_7_2-branch: 1.12.0.6
gdb_7_2-2010-07-07-branchpoint: 1.12
gdb_7_1-2010-03-18-release: 1.12
gdb_7_1-branch: 1.12.0.4
gdb_7_1-2010-02-18-branchpoint: 1.12
gdb_7_0_1-2009-12-22-release: 1.12
gdb_7_0-2009-10-06-release: 1.12
gdb_7_0-branch: 1.12.0.2
gdb_7_0-2009-09-16-branchpoint: 1.12
arc-sim-20090309: 1.9
msnyder-checkpoint-072509-branch: 1.11.0.2
msnyder-checkpoint-072509-branchpoint: 1.11
arc-insight_6_8-branch: 1.9.0.16
arc-insight_6_8-branchpoint: 1.9
insight_6_8-branch: 1.9.0.14
insight_6_8-branchpoint: 1.9
reverse-20081226-branch: 1.10.0.4
reverse-20081226-branchpoint: 1.10
multiprocess-20081120-branch: 1.10.0.2
multiprocess-20081120-branchpoint: 1.10
reverse-20080930-branch: 1.9.0.12
reverse-20080930-branchpoint: 1.9
reverse-20080717-branch: 1.9.0.10
reverse-20080717-branchpoint: 1.9
msnyder-reverse-20080609-branch: 1.9.0.8
msnyder-reverse-20080609-branchpoint: 1.9
drow-reverse-20070409-branch: 1.9.0.6
drow-reverse-20070409-branchpoint: 1.9
gdb_6_8-2008-03-27-release: 1.9
gdb_6_8-branch: 1.9.0.4
gdb_6_8-2008-02-26-branchpoint: 1.9
gdb_6_7_1-2007-10-29-release: 1.9
gdb_6_7-2007-10-10-release: 1.9
gdb_6_7-branch: 1.9.0.2
gdb_6_7-2007-09-07-branchpoint: 1.9
insight_6_6-20070208-release: 1.8
gdb_6_6-2006-12-18-release: 1.8
gdb_6_6-branch: 1.8.0.106
gdb_6_6-2006-11-15-branchpoint: 1.8
insight_6_5-20061003-release: 1.8
gdb-csl-symbian-6_4_50_20060226-12: 1.8
gdb-csl-sourcerygxx-3_4_4-25: 1.8
nickrob-async-20060828-mergepoint: 1.8
gdb-csl-symbian-6_4_50_20060226-11: 1.8
gdb-csl-sourcerygxx-4_1-17: 1.8
gdb-csl-20060226-branch-local-2: 1.8
gdb-csl-sourcerygxx-4_1-14: 1.8
gdb-csl-sourcerygxx-4_1-13: 1.8
gdb-csl-sourcerygxx-4_1-12: 1.8
gdb-csl-sourcerygxx-3_4_4-21: 1.8
gdb_6_5-20060621-release: 1.8
gdb-csl-sourcerygxx-4_1-9: 1.8
gdb-csl-sourcerygxx-4_1-8: 1.8
gdb-csl-sourcerygxx-4_1-7: 1.8
gdb-csl-arm-2006q1-6: 1.8
gdb-csl-sourcerygxx-4_1-6: 1.8
gdb-csl-symbian-6_4_50_20060226-10: 1.8
gdb-csl-symbian-6_4_50_20060226-9: 1.8
gdb-csl-symbian-6_4_50_20060226-8: 1.8
gdb-csl-coldfire-4_1-11: 1.8
gdb-csl-sourcerygxx-3_4_4-19: 1.8
gdb-csl-coldfire-4_1-10: 1.8
gdb_6_5-branch: 1.8.0.104
gdb_6_5-2006-05-14-branchpoint: 1.8
gdb-csl-sourcerygxx-4_1-5: 1.8
nickrob-async-20060513-branch: 1.8.0.102
nickrob-async-20060513-branchpoint: 1.8
gdb-csl-sourcerygxx-4_1-4: 1.8
msnyder-reverse-20060502-branch: 1.8.0.100
msnyder-reverse-20060502-branchpoint: 1.8
gdb-csl-morpho-4_1-4: 1.8
gdb-csl-sourcerygxx-3_4_4-17: 1.8
readline_5_1-import-branch: 1.8.0.98
readline_5_1-import-branchpoint: 1.8
gdb-csl-20060226-branch-merge-to-csl-symbian-1: 1.8
gdb-csl-symbian-20060226-branch: 1.8.0.96
gdb-csl-symbian-20060226-branchpoint: 1.8
gdb-csl-20060226-branch-merge-to-csl-local-1: 1.8
msnyder-reverse-20060331-branch: 1.8.0.94
msnyder-reverse-20060331-branchpoint: 1.8
gdb-csl-available-20060303-branch: 1.8.0.92
gdb-csl-available-20060303-branchpoint: 1.8
gdb-csl-20060226-branch: 1.8.0.90
gdb-csl-20060226-branchpoint: 1.8
gdb_6_4-20051202-release: 1.8
msnyder-fork-checkpoint-branch: 1.8.0.88
msnyder-fork-checkpoint-branchpoint: 1.8
gdb-csl-gxxpro-6_3-branch: 1.8.0.86
gdb-csl-gxxpro-6_3-branchpoint: 1.8
gdb_6_4-branch: 1.8.0.84
gdb_6_4-2005-11-01-branchpoint: 1.8
gdb-csl-arm-20051020-branch: 1.8.0.82
gdb-csl-arm-20051020-branchpoint: 1.8
msnyder-tracepoint-checkpoint-branch: 1.8.0.80
msnyder-tracepoint-checkpoint-branchpoint: 1.8
gdb-csl-arm-20050325-2005-q1b: 1.8
gdb-csl-arm-20050325-2005-q1a: 1.8
csl-arm-20050325-branch: 1.8.0.78
csl-arm-20050325-branchpoint: 1.8
gdb-post-i18n-errorwarning-20050211: 1.8
gdb-pre-i18n-errorwarning-20050211: 1.8
gdb_6_3-20041109-release: 1.8
gdb_6_3-branch: 1.8.0.74
gdb_6_3-20041019-branchpoint: 1.8
drow_intercu-merge-20040921: 1.8
drow_intercu-merge-20040915: 1.8
jimb-gdb_6_2-e500-branch: 1.8.0.76
jimb-gdb_6_2-e500-branchpoint: 1.8
gdb_6_2-20040730-release: 1.8
gdb_6_2-branch: 1.8.0.72
gdb_6_2-2004-07-10-gmt-branchpoint: 1.8
gdb_6_1_1-20040616-release: 1.8
gdb_6_1-2004-04-05-release: 1.8
drow_intercu-merge-20040402: 1.8
drow_intercu-merge-20040327: 1.8
ezannoni_pie-20040323-branch: 1.8.0.70
ezannoni_pie-20040323-branchpoint: 1.8
cagney_tramp-20040321-mergepoint: 1.8
cagney_tramp-20040309-branch: 1.8.0.68
cagney_tramp-20040309-branchpoint: 1.8
gdb_6_1-branch: 1.8.0.66
gdb_6_1-2004-03-01-gmt-branchpoint: 1.8
drow_intercu-20040221-branch: 1.8.0.64
drow_intercu-20040221-branchpoint: 1.8
cagney_bfdfile-20040213-branch: 1.8.0.62
cagney_bfdfile-20040213-branchpoint: 1.8
drow-cplus-merge-20040208: 1.8
carlton_dictionary-20040126-merge: 1.8
cagney_bigcore-20040122-branch: 1.8.0.60
cagney_bigcore-20040122-branchpoint: 1.8
drow-cplus-merge-20040113: 1.8
drow-cplus-merge-20031224: 1.8
drow-cplus-merge-20031220: 1.8
carlton_dictionary-20031215-merge: 1.8
drow-cplus-merge-20031214: 1.8
carlton-dictionary-20031111-merge: 1.8
gdb_6_0-2003-10-04-release: 1.8
kettenis_sparc-20030918-branch: 1.8.0.58
kettenis_sparc-20030918-branchpoint: 1.8
carlton_dictionary-20030917-merge: 1.8
ezannoni_pie-20030916-branchpoint: 1.8
ezannoni_pie-20030916-branch: 1.8.0.56
cagney_x86i386-20030821-branch: 1.8.0.54
cagney_x86i386-20030821-branchpoint: 1.8
carlton_dictionary-20030805-merge: 1.8
carlton_dictionary-20030627-merge: 1.8
gdb_6_0-branch: 1.8.0.52
gdb_6_0-2003-06-23-branchpoint: 1.8
jimb-ppc64-linux-20030613-branch: 1.8.0.50
jimb-ppc64-linux-20030613-branchpoint: 1.8
cagney_convert-20030606-branch: 1.8.0.48
cagney_convert-20030606-branchpoint: 1.8
cagney_writestrings-20030508-branch: 1.8.0.46
cagney_writestrings-20030508-branchpoint: 1.8
jimb-ppc64-linux-20030528-branch: 1.8.0.44
jimb-ppc64-linux-20030528-branchpoint: 1.8
carlton_dictionary-20030523-merge: 1.8
cagney_fileio-20030521-branch: 1.8.0.42
cagney_fileio-20030521-branchpoint: 1.8
kettenis_i386newframe-20030517-mergepoint: 1.8
jimb-ppc64-linux-20030509-branch: 1.8.0.40
jimb-ppc64-linux-20030509-branchpoint: 1.8
kettenis_i386newframe-20030504-mergepoint: 1.8
carlton_dictionary-20030430-merge: 1.8
kettenis_i386newframe-20030419-branch: 1.8.0.38
kettenis_i386newframe-20030419-branchpoint: 1.8
carlton_dictionary-20030416-merge: 1.8
cagney_frameaddr-20030409-mergepoint: 1.8
kettenis_i386newframe-20030406-branch: 1.8.0.36
kettenis_i386newframe-20030406-branchpoint: 1.8
cagney_frameaddr-20030403-branchpoint: 1.8
cagney_frameaddr-20030403-branch: 1.8.0.34
cagney_framebase-20030330-mergepoint: 1.8
cagney_framebase-20030326-branch: 1.8.0.32
cagney_framebase-20030326-branchpoint: 1.8
cagney_lazyid-20030317-branch: 1.8.0.30
cagney_lazyid-20030317-branchpoint: 1.8
kettenis-i386newframe-20030316-mergepoint: 1.8
offbyone-20030313-branch: 1.8.0.28
offbyone-20030313-branchpoint: 1.8
kettenis-i386newframe-20030308-branch: 1.8.0.26
kettenis-i386newframe-20030308-branchpoint: 1.8
carlton_dictionary-20030305-merge: 1.8
cagney_offbyone-20030303-branch: 1.8.0.24
cagney_offbyone-20030303-branchpoint: 1.8
carlton_dictionary-20030207-merge: 1.8
interps-20030203-mergepoint: 1.8
interps-20030202-branch: 1.8.0.22
interps-20030202-branchpoint: 1.8
cagney-unwind-20030108-branch: 1.8.0.20
cagney-unwind-20030108-branchpoint: 1.8
carlton_dictionary-20021223-merge: 1.8
gdb_5_3-2002-12-12-release: 1.8
carlton_dictionary-20021115-merge: 1.8
kseitz_interps-20021105-merge: 1.8
kseitz_interps-20021103-merge: 1.8
drow-cplus-merge-20021020: 1.8
drow-cplus-merge-20021025: 1.8
carlton_dictionary-20021025-merge: 1.8
carlton_dictionary-20021011-merge: 1.8
drow-cplus-branch: 1.8.0.18
drow-cplus-branchpoint: 1.8
kseitz_interps-20020930-merge: 1.8
carlton_dictionary-20020927-merge: 1.8
carlton_dictionary-branch: 1.8.0.16
carlton_dictionary-20020920-branchpoint: 1.8
gdb_5_3-branch: 1.8.0.14
gdb_5_3-2002-09-04-branchpoint: 1.8
kseitz_interps-20020829-merge: 1.8
cagney_sysregs-20020825-branch: 1.8.0.12
cagney_sysregs-20020825-branchpoint: 1.8
readline_4_3-import-branch: 1.8.0.10
readline_4_3-import-branchpoint: 1.8
gdb_5_2_1-2002-07-23-release: 1.8
kseitz_interps-20020528-branch: 1.8.0.8
kseitz_interps-20020528-branchpoint: 1.8
cagney_regbuf-20020515-branch: 1.8.0.6
cagney_regbuf-20020515-branchpoint: 1.8
jimb-macro-020506-branch: 1.8.0.4
jimb-macro-020506-branchpoint: 1.8
gdb_5_2-2002-04-29-release: 1.8
gdb_5_2-branch: 1.8.0.2
gdb_5_2-2002-03-03-branchpoint: 1.8
gdb_5_1_1-2002-01-24-release: 1.5.4.1
gdb_5_1_0_1-2002-01-03-release: 1.5.4.1
cygnus_cvs_20020108_pre: 1.6
gdb_5_1_0_1-2002-01-03-branchpoint: 1.5.4.1
gdb_5_1_0_1-2002-01-03-branch: 1.5.4.1.0.4
gdb_5_1-2001-11-21-release: 1.5.4.1
gdb_s390-2001-09-26-branch: 1.5.4.1.0.2
gdb_s390-2001-09-26-branchpoint: 1.5.4.1
gdb_5_1-2001-07-29-branch: 1.5.0.4
gdb_5_1-2001-07-29-branchpoint: 1.5
dberlin-typesystem-branch: 1.5.0.2
dberlin-typesystem-branchpoint: 1.5
gdb-post-ptid_t-2001-05-03: 1.5
gdb-pre-ptid_t-2001-05-03: 1.5
insight-precleanup-2001-01-01: 1.2
gdb-post-protoization-2000-07-29: 1.2
gdb-pre-protoization-2000-07-29: 1.2
gdb-premipsmulti-2000-06-06-branch: 1.2.0.4
gdb-premipsmulti-2000-06-06-branchpoint: 1.2
gdb-post-params-removal-2000-06-04: 1.2
gdb-pre-params-removal-2000-06-04: 1.2
gdb-post-params-removal-2000-05-28: 1.2
gdb-pre-params-removal-2000-05-28: 1.2
gdb_5_0-2000-05-19-release: 1.2
gdb_4_18_2-2000-05-18-release: 1.2
gdb_4_95_1-2000-05-11-snapshot: 1.2
gdb_4_95_0-2000-04-27-snapshot: 1.2
gdb_5_0-2000-04-10-branch: 1.2.0.2
gdb_5_0-2000-04-10-branchpoint: 1.2
keyword substitution: kv
total revisions: 14; selected revisions: 14
description:
----------------------------
revision 1.13
date: 2012/04/25 07:08:07;  author: sivachandra;  state: Exp;  lines: +3 -3
2012-04-25  Siva Chandra Reddy  <sivachandra@google.com>

* CONTRIBUTE: Use unified diff instead of context diff when
generating patches.
----------------------------
revision 1.12
date: 2009/08/22 17:08:09;  author: rwild;  state: Exp;  lines: +1 -1
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.
----------------------------
revision 1.11
date: 2009/01/09 04:46:22;  author: brobecke;  state: Exp;  lines: +2 -1
        * CONTRIBUTE: Minor reformatting.
----------------------------
revision 1.10
date: 2008/10/27 17:41:57;  author: palves;  state: Exp;  lines: +3 -3
* CONTRIBUTE: Mention autoconf 2.59 and configure.ac instead of
2.13 and configure.in.
----------------------------
revision 1.9
date: 2007/01/04 20:28:38;  author: drow;  state: Exp;  lines: +1 -1
* CONTRIBUTE: Use sourceware.org.
----------------------------
revision 1.8
date: 2002/02/23 20:36:48;  author: cagney;  state: Exp;  lines: +1 -1
From 2002-02-19 Paul Eggert <eggert@twinsun.com>:
* Makefile.in (VER): Change "head -1" to "sed q", since POSIX
1003.1-2001 no longer allows "head -1".
* gdb/Makefile.in (version.c): Likewise.
* gdb/doc/Makefile.in (GDBvn.texi): Likewise.
* gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is
equivalent.  POSIX 1003.1-2001 no longer allows "diff -c3".
----------------------------
revision 1.7
date: 2002/01/13 16:16:58;  author: cagney;  state: Exp;  lines: +1 -1
From 2002-01-09 John Marshall <johnm@falch.net>:
* CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to
sources.redhat.com, and tweak some related URLs which had
suffered from linkrot.
----------------------------
revision 1.6
date: 2001/09/26 20:52:56;  author: cagney;  state: Exp;  lines: +19 -49
* CONTRIBUTE: Update.
----------------------------
revision 1.5
date: 2001/03/03 03:23:50;  author: cagney;  state: Exp;  lines: +6 -2
branches:  1.5.4;
Change convention to ``Fix PR gdb/NNNN''
----------------------------
revision 1.4
date: 2001/02/23 22:20:38;  author: cagney;  state: Exp;  lines: +9 -0
Mention how to cite GDB problem reports.
----------------------------
revision 1.3
date: 2001/02/23 22:09:30;  author: cagney;  state: Exp;  lines: +7 -0
Mention gdbarch.sh and to not submit gdbarch.[ch].
----------------------------
revision 1.2
date: 2000/03/01 08:33:47;  author: cagney;  state: Exp;  lines: +7 -0
Note that there is no need to send configure.in patches.
----------------------------
revision 1.1
date: 2000/02/13 00:22:01;  author: cagney;  state: Exp;
Explain how to contribute to GDB.
----------------------------
revision 1.5.4.1
date: 2001/09/26 20:53:27;  author: cagney;  state: Exp;  lines: +19 -49
* CONTRIBUTE: Update.
=============================================================================

RCS file: /cvs/src/src/gdb/COPYING,v
Working file: COPYING
head: 1.3
branch:
locks: strict
access list:
symbolic names:
gdb_7_6-2013-04-26-release: 1.3
gdb_7_6-branch: 1.3.0.12
gdb_7_6-2013-03-12-branchpoint: 1.3
gdb_7_5_1-2012-11-29-release: 1.3
gdb_7_5-2012-08-17-release: 1.3
gdb_7_5-branch: 1.3.0.10
gdb_7_5-2012-07-18-branchpoint: 1.3
gdb_7_4_1-2012-04-26-release: 1.3
gdb_7_4-2012-01-24-release: 1.3
gdb_7_4-branch: 1.3.0.8
gdb_7_4-2011-12-13-branchpoint: 1.3
gdb_7_3_1-2011-09-04-release: 1.3
gdb_7_3-2011-07-26-release: 1.3
gdb_7_3-branch: 1.3.0.6
gdb_7_3-2011-04-01-branchpoint: 1.3
gdb_7_2-2010-09-02-release: 1.3
gdb_7_2-branch: 1.3.0.4
gdb_7_2-2010-07-07-branchpoint: 1.3
gdb_7_1-2010-03-18-release: 1.3
gdb_7_1-branch: 1.3.0.2
gdb_7_1-2010-02-18-branchpoint: 1.3
gdb_7_0_1-2009-12-22-release: 1.2.42.1
gdb_7_0-2009-10-06-release: 1.2
gdb_7_0-branch: 1.2.0.42
gdb_7_0-2009-09-16-branchpoint: 1.2
arc-sim-20090309: 1.2
msnyder-checkpoint-072509-branch: 1.2.0.40
msnyder-checkpoint-072509-branchpoint: 1.2
arc-insight_6_8-branch: 1.2.0.38
arc-insight_6_8-branchpoint: 1.2
insight_6_8-branch: 1.2.0.36
insight_6_8-branchpoint: 1.2
reverse-20081226-branch: 1.2.0.34
reverse-20081226-branchpoint: 1.2
multiprocess-20081120-branch: 1.2.0.32
multiprocess-20081120-branchpoint: 1.2
reverse-20080930-branch: 1.2.0.30
reverse-20080930-branchpoint: 1.2
reverse-20080717-branch: 1.2.0.28
reverse-20080717-branchpoint: 1.2
msnyder-reverse-20080609-branch: 1.2.0.26
msnyder-reverse-20080609-branchpoint: 1.2
drow-reverse-20070409-branch: 1.2.0.24
drow-reverse-20070409-branchpoint: 1.2
gdb_6_8-2008-03-27-release: 1.2
gdb_6_8-branch: 1.2.0.22
gdb_6_8-2008-02-26-branchpoint: 1.2
gdb_6_7_1-2007-10-29-release: 1.2
gdb_6_7-2007-10-10-release: 1.2
gdb_6_7-branch: 1.2.0.20
gdb_6_7-2007-09-07-branchpoint: 1.2
insight_6_6-20070208-release: 1.2
gdb_6_6-2006-12-18-release: 1.2
gdb_6_6-branch: 1.2.0.18
gdb_6_6-2006-11-15-branchpoint: 1.2
insight_6_5-20061003-release: 1.2
gdb-csl-symbian-6_4_50_20060226-12: 1.2
gdb-csl-sourcerygxx-3_4_4-25: 1.1.1.1
nickrob-async-20060828-mergepoint: 1.2
gdb-csl-symbian-6_4_50_20060226-11: 1.2
gdb-csl-sourcerygxx-4_1-17: 1.2
gdb-csl-20060226-branch-local-2: 1.2
gdb-csl-sourcerygxx-4_1-14: 1.2
gdb-csl-sourcerygxx-4_1-13: 1.2
gdb-csl-sourcerygxx-4_1-12: 1.2
gdb-csl-sourcerygxx-3_4_4-21: 1.2
gdb_6_5-20060621-release: 1.2
gdb-csl-sourcerygxx-4_1-9: 1.2
gdb-csl-sourcerygxx-4_1-8: 1.2
gdb-csl-sourcerygxx-4_1-7: 1.2
gdb-csl-arm-2006q1-6: 1.2
gdb-csl-sourcerygxx-4_1-6: 1.2
gdb-csl-symbian-6_4_50_20060226-10: 1.2
gdb-csl-symbian-6_4_50_20060226-9: 1.2
gdb-csl-symbian-6_4_50_20060226-8: 1.2
gdb-csl-coldfire-4_1-11: 1.2
gdb-csl-sourcerygxx-3_4_4-19: 1.2
gdb-csl-coldfire-4_1-10: 1.2
gdb_6_5-branch: 1.2.0.16
gdb_6_5-2006-05-14-branchpoint: 1.2
gdb-csl-sourcerygxx-4_1-5: 1.2
nickrob-async-20060513-branch: 1.2.0.14
nickrob-async-20060513-branchpoint: 1.2
gdb-csl-sourcerygxx-4_1-4: 1.2
msnyder-reverse-20060502-branch: 1.2.0.12
msnyder-reverse-20060502-branchpoint: 1.2
gdb-csl-morpho-4_1-4: 1.2
gdb-csl-sourcerygxx-3_4_4-17: 1.2
readline_5_1-import-branch: 1.2.0.10
readline_5_1-import-branchpoint: 1.2
gdb-csl-20060226-branch-merge-to-csl-symbian-1: 1.2
gdb-csl-symbian-20060226-branch: 1.2.0.8
gdb-csl-symbian-20060226-branchpoint: 1.2
gdb-csl-20060226-branch-merge-to-csl-local-1: 1.2
msnyder-reverse-20060331-branch: 1.2.0.6
msnyder-reverse-20060331-branchpoint: 1.2
gdb-csl-available-20060303-branch: 1.2.0.4
gdb-csl-available-20060303-branchpoint: 1.2
gdb-csl-20060226-branch: 1.2.0.2
gdb-csl-20060226-branchpoint: 1.2
gdb_6_4-20051202-release: 1.1.1.1
msnyder-fork-checkpoint-branch: 1.1.1.1.0.102
msnyder-fork-checkpoint-branchpoint: 1.1.1.1
gdb-csl-gxxpro-6_3-branch: 1.1.1.1.0.100
gdb-csl-gxxpro-6_3-branchpoint: 1.1.1.1
gdb_6_4-branch: 1.1.1.1.0.98
gdb_6_4-2005-11-01-branchpoint: 1.1.1.1
gdb-csl-arm-20051020-branch: 1.1.1.1.0.96
gdb-csl-arm-20051020-branchpoint: 1.1.1.1
msnyder-tracepoint-checkpoint-branch: 1.1.1.1.0.94
msnyder-tracepoint-checkpoint-branchpoint: 1.1.1.1
gdb-csl-arm-20050325-2005-q1b: 1.1.1.1
gdb-csl-arm-20050325-2005-q1a: 1.1.1.1
csl-arm-20050325-branch: 1.1.1.1.0.92
csl-arm-20050325-branchpoint: 1.1.1.1
gdb-post-i18n-errorwarning-20050211: 1.1.1.1
gdb-pre-i18n-errorwarning-20050211: 1.1.1.1
gdb_6_3-20041109-release: 1.1.1.1
gdb_6_3-branch: 1.1.1.1.0.88
gdb_6_3-20041019-branchpoint: 1.1.1.1
drow_intercu-merge-20040921: 1.1.1.1
drow_intercu-merge-20040915: 1.1.1.1
jimb-gdb_6_2-e500-branch: 1.1.1.1.0.90
jimb-gdb_6_2-e500-branchpoint: 1.1.1.1
gdb_6_2-20040730-release: 1.1.1.1
gdb_6_2-branch: 1.1.1.1.0.86
gdb_6_2-2004-07-10-gmt-branchpoint: 1.1.1.1
gdb_6_1_1-20040616-release: 1.1.1.1
gdb_6_1-2004-04-05-release: 1.1.1.1
drow_intercu-merge-20040402: 1.1.1.1
drow_intercu-merge-20040327: 1.1.1.1
ezannoni_pie-20040323-branch: 1.1.1.1.0.84
ezannoni_pie-20040323-branchpoint: 1.1.1.1
cagney_tramp-20040321-mergepoint: 1.1.1.1
cagney_tramp-20040309-branch: 1.1.1.1.0.82
cagney_tramp-20040309-branchpoint: 1.1.1.1
gdb_6_1-branch: 1.1.1.1.0.80
gdb_6_1-2004-03-01-gmt-branchpoint: 1.1.1.1
drow_intercu-20040221-branch: 1.1.1.1.0.78
drow_intercu-20040221-branchpoint: 1.1.1.1
cagney_bfdfile-20040213-branch: 1.1.1.1.0.76
cagney_bfdfile-20040213-branchpoint: 1.1.1.1
drow-cplus-merge-20040208: 1.1.1.1
carlton_dictionary-20040126-merge: 1.1.1.1
cagney_bigcore-20040122-branch: 1.1.1.1.0.74
cagney_bigcore-20040122-branchpoint: 1.1.1.1
drow-cplus-merge-20040113: 1.1.1.1
drow-cplus-merge-20031224: 1.1.1.1
drow-cplus-merge-20031220: 1.1.1.1
carlton_dictionary-20031215-merge: 1.1.1.1
drow-cplus-merge-20031214: 1.1.1.1
carlton-dictionary-20031111-merge: 1.1.1.1
gdb_6_0-2003-10-04-release: 1.1.1.1
kettenis_sparc-20030918-branch: 1.1.1.1.0.72
kettenis_sparc-20030918-branchpoint: 1.1.1.1
carlton_dictionary-20030917-merge: 1.1.1.1
ezannoni_pie-20030916-branchpoint: 1.1.1.1
ezannoni_pie-20030916-branch: 1.1.1.1.0.70
cagney_x86i386-20030821-branch: 1.1.1.1.0.68
cagney_x86i386-20030821-branchpoint: 1.1.1.1
carlton_dictionary-20030805-merge: 1.1.1.1
carlton_dictionary-20030627-merge: 1.1.1.1
gdb_6_0-branch: 1.1.1.1.0.66
gdb_6_0-2003-06-23-branchpoint: 1.1.1.1
jimb-ppc64-linux-20030613-branch: 1.1.1.1.0.64
jimb-ppc64-linux-20030613-branchpoint: 1.1.1.1
cagney_convert-20030606-branch: 1.1.1.1.0.62
cagney_convert-20030606-branchpoint: 1.1.1.1
cagney_writestrings-20030508-branch: 1.1.1.1.0.60
cagney_writestrings-20030508-branchpoint: 1.1.1.1
jimb-ppc64-linux-20030528-branch: 1.1.1.1.0.58
jimb-ppc64-linux-20030528-branchpoint: 1.1.1.1
carlton_dictionary-20030523-merge: 1.1.1.1
cagney_fileio-20030521-branch: 1.1.1.1.0.56
cagney_fileio-20030521-branchpoint: 1.1.1.1
kettenis_i386newframe-20030517-mergepoint: 1.1.1.1
jimb-ppc64-linux-20030509-branch: 1.1.1.1.0.54
jimb-ppc64-linux-20030509-branchpoint: 1.1.1.1
kettenis_i386newframe-20030504-mergepoint: 1.1.1.1
carlton_dictionary-20030430-merge: 1.1.1.1
kettenis_i386newframe-20030419-branch: 1.1.1.1.0.52
kettenis_i386newframe-20030419-branchpoint: 1.1.1.1
carlton_dictionary-20030416-merge: 1.1.1.1
cagney_frameaddr-20030409-mergepoint: 1.1.1.1
kettenis_i386newframe-20030406-branch: 1.1.1.1.0.50
kettenis_i386newframe-20030406-branchpoint: 1.1.1.1
cagney_frameaddr-20030403-branchpoint: 1.1.1.1
cagney_frameaddr-20030403-branch: 1.1.1.1.0.48
cagney_framebase-20030330-mergepoint: 1.1.1.1
cagney_framebase-20030326-branch: 1.1.1.1.0.46
cagney_framebase-20030326-branchpoint: 1.1.1.1
cagney_lazyid-20030317-branch: 1.1.1.1.0.44
cagney_lazyid-20030317-branchpoint: 1.1.1.1
kettenis-i386newframe-20030316-mergepoint: 1.1.1.1
offbyone-20030313-branch: 1.1.1.1.0.42
offbyone-20030313-branchpoint: 1.1.1.1
kettenis-i386newframe-20030308-branch: 1.1.1.1.0.40
kettenis-i386newframe-20030308-branchpoint: 1.1.1.1
carlton_dictionary-20030305-merge: 1.1.1.1
cagney_offbyone-20030303-branch: 1.1.1.1.0.38
cagney_offbyone-20030303-branchpoint: 1.1.1.1
carlton_dictionary-20030207-merge: 1.1.1.1
interps-20030203-mergepoint: 1.1.1.1
interps-20030202-branch: 1.1.1.1.0.36
interps-20030202-branchpoint: 1.1.1.1
cagney-unwind-20030108-branch: 1.1.1.1.0.34
cagney-unwind-20030108-branchpoint: 1.1.1.1
carlton_dictionary-20021223-merge: 1.1.1.1
gdb_5_3-2002-12-12-release: 1.1.1.1
carlton_dictionary-20021115-merge: 1.1.1.1
kseitz_interps-20021105-merge: 1.1.1.1
kseitz_interps-20021103-merge: 1.1.1.1
drow-cplus-merge-20021020: 1.1.1.1
drow-cplus-merge-20021025: 1.1.1.1
carlton_dictionary-20021025-merge: 1.1.1.1
carlton_dictionary-20021011-merge: 1.1.1.1
drow-cplus-branch: 1.1.1.1.0.32
drow-cplus-branchpoint: 1.1.1.1
kseitz_interps-20020930-merge: 1.1.1.1
carlton_dictionary-20020927-merge: 1.1.1.1
carlton_dictionary-branch: 1.1.1.1.0.30
carlton_dictionary-20020920-branchpoint: 1.1.1.1
gdb_5_3-branch: 1.1.1.1.0.28
gdb_5_3-2002-09-04-branchpoint: 1.1.1.1
kseitz_interps-20020829-merge: 1.1.1.1
cagney_sysregs-20020825-branch: 1.1.1.1.0.26
cagney_sysregs-20020825-branchpoint: 1.1.1.1
readline_4_3-import-branch: 1.1.1.1.0.24
readline_4_3-import-branchpoint: 1.1.1.1
gdb_5_2_1-2002-07-23-release: 1.1.1.1
kseitz_interps-20020528-branch: 1.1.1.1.0.22
kseitz_interps-20020528-branchpoint: 1.1.1.1
cagney_regbuf-20020515-branch: 1.1.1.1.0.20
cagney_regbuf-20020515-branchpoint: 1.1.1.1
jimb-macro-020506-branch: 1.1.1.1.0.18
jimb-macro-020506-branchpoint: 1.1.1.1
gdb_5_2-2002-04-29-release: 1.1.1.1
gdb_5_2-branch: 1.1.1.1.0.16
gdb_5_2-2002-03-03-branchpoint: 1.1.1.1
gdb_5_1_1-2002-01-24-release: 1.1.1.1
gdb_5_1_0_1-2002-01-03-release: 1.1.1.1
cygnus_cvs_20020108_pre: 1.1.1.1
gdb_5_1_0_1-2002-01-03-branchpoint: 1.1.1.1
gdb_5_1_0_1-2002-01-03-branch: 1.1.1.1.0.14
gdb_5_1-2001-11-21-release: 1.1.1.1
gdb_s390-2001-09-26-branch: 1.1.1.1.0.12
gdb_s390-2001-09-26-branchpoint: 1.1.1.1
gdb_5_1-2001-07-29-branch: 1.1.1.1.0.10
gdb_5_1-2001-07-29-branchpoint: 1.1.1.1
dberlin-typesystem-branch: 1.1.1.1.0.8
dberlin-typesystem-branchpoint: 1.1.1.1
gdb-post-ptid_t-2001-05-03: 1.1.1.1
gdb-pre-ptid_t-2001-05-03: 1.1.1.1
insight-precleanup-2001-01-01: 1.1.1.1
gdb-post-protoization-2000-07-29: 1.1.1.1
gdb-pre-protoization-2000-07-29: 1.1.1.1
gdb-premipsmulti-2000-06-06-branch: 1.1.1.1.0.6
gdb-premipsmulti-2000-06-06-branchpoint: 1.1.1.1
gdb-post-params-removal-2000-06-04: 1.1.1.1
gdb-pre-params-removal-2000-06-04: 1.1.1.1
gdb-post-params-removal-2000-05-28: 1.1.1.1
gdb-pre-params-removal-2000-05-28: 1.1.1.1
gdb_5_0-2000-05-19-release: 1.1.1.1
gdb_4_18_2-2000-05-18-release: 1.1.1.1
gdb_4_95_1-2000-05-11-snapshot: 1.1.1.1
gdb_4_95_0-2000-04-27-snapshot: 1.1.1.1
gdb_5_0-2000-04-10-branch: 1.1.1.1.0.4
gdb_5_0-2000-04-10-branchpoint: 1.1.1.1
repo-unification-2000-02-06: 1.1.1.1
insight-2000-02-04: 1.1.1.1
gdb-2000-02-04: 1.1.1.1
gdb-2000-02-02: 1.1.1.1
gdb-2000-02-01: 1.1.1.1
gdb-2000-01-31: 1.1.1.1
gdb-2000-01-26: 1.1.1.1
gdb-2000-01-24: 1.1.1.1
gdb-2000-01-17: 1.1.1.1
gdb-2000-01-10: 1.1.1.1
gdb-2000-01-05: 1.1.1.1
gdb-1999-12-21: 1.1.1.1
gdb-1999-12-13: 1.1.1.1
gdb-1999-12-07: 1.1.1.1
gdb-1999-12-06: 1.1.1.1
gdb-1999-11-16: 1.1.1.1
gdb-1999-11-08: 1.1.1.1
gdb-1999-11-01: 1.1.1.1
gdb-1999-10-25: 1.1.1.1
gdb-1999-10-18: 1.1.1.1
gdb-1999-10-11: 1.1.1.1
gdb-1999-10-04: 1.1.1.1
gdb-1999-09-28: 1.1.1.1
gdb-1999-09-21: 1.1.1.1
gdb-1999-09-13: 1.1.1.1
gdb-1999-09-08: 1.1.1.1
gdb-1999-08-30: 1.1.1.1
gdb-1999-08-23: 1.1.1.1
gdb-1999-08-16: 1.1.1.1
gdb-1999-08-09: 1.1.1.1
gdb-1999-08-02: 1.1.1.1
gdb-1999-07-26: 1.1.1.1
gdb-1999-07-19: 1.1.1.1
gdb-1999-07-12: 1.1.1.1
gdb-post-reformat-19990707: 1.1.1.1
gdb-1999-07-07-post-reformat-snapshot: 1.1.1.1
gdb-pre-reformat-19990707: 1.1.1.1
gdb-1999-07-07: 1.1.1.1
gdb-1999-07-05: 1.1.1.1
gdb-1999-06-28: 1.1.1.1
gdb-1999-06-21: 1.1.1.1
gdb-1999-06-14: 1.1.1.1
gdb-1999-06-07: 1.1.1.1
gdb-1999-06-01: 1.1.1.1
gdb-4_18-branch: 1.1.1.1.0.2
gdb-4_18-release: 1.1.1.1
gdb-1999-05-25: 1.1.1.1
gdb-1999-05-19: 1.1.1.1
gdb-1999-05-10: 1.1.1.1
gdb-19990504: 1.1.1.1
gdb-19990422: 1.1.1.1
SNAPSHOT: 1.1.1
gdb-4_18: 1.1.1.1
GDB_4_18: 1.1.1
keyword substitution: o
total revisions: 5; selected revisions: 5
description:
----------------------------
revision 1.3
date: 2009/12/21 07:40:04;  author: brobecke;  state: Exp;  lines: +624 -292
        * COPYING: Update to GPL version 3.
----------------------------
revision 1.2
date: 2005/12/17 22:33:58;  author: eliz;  state: Exp;  lines: +4 -2
branches:  1.2.42;

* breakpoint.c:
* arm-tdep.c:
* ia64-tdep.c:
* i386-tdep.c:
* hpread.c:
* hppa-tdep.c:
* hppa-hpux-tdep.c:
* gnu-nat.c:
* gdbtypes.c:
* gdbarch.h:
* gdbarch.c:
* eval.c:
* dwarf2read.c:
* dbxread.c:
* copying:
* symfile.c:
* stabsread.c:
* sh64-tdep.c:
* sh-tdep.c:
* s390-tdep.c:
* rs6000-tdep.c:
* remote.c:
* remote-mips.c:
* mips-tdep.c:
* mdebugread.c:
* linux-nat.c:
* infrun.c:
* xcoffread.c:
* win32-nat.c:
* valops.c:
* utils.c:
* tracepoint.c:
* target.c:
* symtab.c:
* c-exp.y:
* ada-valprint.c:
* ada-typeprint.c:
* ada-lex.l:
* ada-lang.h:
* ada-lang.c:
* ada-exp.y:
* alphafbsd-tdep.c:
* alphabsd-tdep.h:
* alphabsd-tdep.c:
* alphabsd-nat.c:
* alpha-tdep.h:
* alpha-tdep.c:
* alpha-osf1-tdep.c:
* alpha-nat.c:
* alpha-mdebug-tdep.c:
* alpha-linux-tdep.c:
* alpha-linux-nat.c:
* aix-thread.c:
* abug-rom.c:
* arch-utils.c:
* annotate.h:
* annotate.c:
* amd64obsd-tdep.c:
* amd64obsd-nat.c:
* amd64nbsd-tdep.c:
* amd64nbsd-nat.c:
* amd64fbsd-tdep.c:
* amd64fbsd-nat.c:
* amd64bsd-nat.c:
* amd64-tdep.h:
* amd64-tdep.c:
* amd64-sol2-tdep.c:
* amd64-nat.h:
* amd64-nat.c:
* amd64-linux-tdep.c:
* amd64-linux-nat.c:
* alphanbsd-tdep.c:
* block.h:
* block.c:
* bfd-target.h:
* bfd-target.c:
* bcache.h:
* bcache.c:
* ax.h:
* ax-general.c:
* ax-gdb.h:
* ax-gdb.c:
* avr-tdep.c:
* auxv.h:
* auxv.c:
* armnbsd-tdep.c:
* armnbsd-nat.c:
* arm-tdep.h:
* arm-linux-nat.c:
* arch-utils.h:
* charset.c:
* call-cmds.h:
* c-valprint.c:
* c-typeprint.c:
* c-lang.h:
* c-lang.c:
* buildsym.h:
* buildsym.c:
* bsd-uthread.h:
* bsd-uthread.c:
* bsd-kvm.h:
* bsd-kvm.c:
* breakpoint.h:
* core-regset.c:
* core-aout.c:
* completer.h:
* completer.c:
* complaints.h:
* complaints.c:
* command.h:
* coffread.c:
* coff-solib.h:
* coff-solib.c:
* coff-pe-read.h:
* coff-pe-read.c:
* cli-out.h:
* cli-out.c:
* charset.h:
* dink32-rom.c:
* dictionary.h:
* dictionary.c:
* demangle.c:
* defs.h:
* dcache.h:
* dcache.c:
* d10v-tdep.c:
* cpu32bug-rom.c:
* cp-valprint.c:
* cp-support.h:
* cp-support.c:
* cp-namespace.c:
* cp-abi.h:
* cp-abi.c:
* corelow.c:
* corefile.c:
* environ.c:
* elfread.c:
* dwarfread.c:
* dwarf2loc.c:
* dwarf2expr.h:
* dwarf2expr.c:
* dwarf2-frame.h:
* dwarf2-frame.c:
* dve3900-rom.c:
* dummy-frame.h:
* dummy-frame.c:
* dsrec.c:
* doublest.h:
* doublest.c:
* disasm.h:
* disasm.c:
* fork-child.c:
* findvar.c:
* fbsd-nat.h:
* fbsd-nat.c:
* f-valprint.c:
* f-typeprint.c:
* f-lang.h:
* f-lang.c:
* expression.h:
* expprint.c:
* exec.h:
* exec.c:
* exceptions.h:
* exceptions.c:
* event-top.h:
* event-top.c:
* event-loop.h:
* event-loop.c:
* gdb.c:
* gdb-stabs.h:
* gdb-events.h:
* gdb-events.c:
* gcore.c:
* frv-tdep.h:
* frv-tdep.c:
* frv-linux-tdep.c:
* frame.h:
* frame.c:
* frame-unwind.h:
* frame-unwind.c:
* frame-base.h:
* frame-base.c:
* gdb_vfork.h:
* gdb_thread_db.h:
* gdb_string.h:
* gdb_stat.h:
* gdb_regex.h:
* gdb_ptrace.h:
* gdb_proc_service.h:
* gdb_obstack.h:
* gdb_locale.h:
* gdb_dirent.h:
* gdb_curses.h:
* gdb_assert.h:
* gdbarch.sh:
* gdb.h:
* hpux-thread.c:
* hppabsd-nat.c:
* hppa-tdep.h:
* hpacc-abi.c:
* h8300-tdep.c:
* gregset.h:
* go32-nat.c:
* gnu-v3-abi.c:
* gnu-v2-abi.h:
* gnu-v2-abi.c:
* gnu-nat.h:
* glibc-tdep.c:
* gdbtypes.h:
* gdbcore.h:
* gdbcmd.h:
* i386nbsd-tdep.c:
* i386nbsd-nat.c:
* i386gnu-tdep.c:
* i386gnu-nat.c:
* i386fbsd-tdep.c:
* i386fbsd-nat.c:
* i386bsd-tdep.c:
* i386bsd-nat.h:
* i386bsd-nat.c:
* i386-tdep.h:
* i386-sol2-nat.c:
* i386-nto-tdep.c:
* i386-nat.c:
* i386-linux-tdep.h:
* i386-linux-tdep.c:
* i386-linux-nat.c:
* i386-cygwin-tdep.c:
* inf-ttrace.c:
* inf-ptrace.h:
* inf-ptrace.c:
* inf-loop.h:
* inf-loop.c:
* inf-child.h:
* inf-child.c:
* ia64-tdep.h:
* ia64-linux-nat.c:
* i387-tdep.h:
* i387-tdep.c:
* i386v4-nat.c:
* i386v-nat.c:
* i386obsd-tdep.c:
* i386obsd-nat.c:
* kod.c:
* jv-valprint.c:
* jv-typeprint.c:
* jv-lang.h:
* jv-lang.c:
* irix5-nat.c:
* iq2000-tdep.c:
* interps.h:
* interps.c:
* inftarg.c:
* inflow.h:
* inflow.c:
* inferior.h:
* infcmd.c:
* infcall.h:
* infcall.c:
* inf-ttrace.h:
* m32r-tdep.h:
* m32r-tdep.c:
* m32r-rom.c:
* m32r-linux-tdep.c:
* m32r-linux-nat.c:
* m2-valprint.c:
* m2-typeprint.c:
* m2-lang.h:
* m2-lang.c:
* lynx-nat.c:
* linux-thread-db.c:
* linux-nat.h:
* linespec.c:
* libunwind-frame.h:
* libunwind-frame.c:
* language.h:
* language.c:
* macroexp.c:
* macrocmd.c:
* m88kbsd-nat.c:
* m88k-tdep.h:
* m88k-tdep.c:
* m68klinux-tdep.c:
* m68klinux-nat.c:
* m68kbsd-tdep.c:
* m68kbsd-nat.c:
* m68k-tdep.h:
* m68k-tdep.c:
* mips-linux-nat.c:
* mips-irix-tdep.c:
* minsyms.c:
* memattr.h:
* memattr.c:
* mem-break.c:
* mdebugread.h:
* main.h:
* main.c:
* macrotab.h:
* macrotab.c:
* macroscope.h:
* macroscope.c:
* macroexp.h:
* nbsd-tdep.c:
* mt-tdep.c:
* monitor.h:
* monitor.c:
* mn10300-tdep.h:
* mn10300-tdep.c:
* mn10300-linux-tdep.c:
* mipsv4-nat.c:
* mipsread.c:
* mipsnbsd-tdep.h:
* mipsnbsd-tdep.c:
* mipsnbsd-nat.c:
* mips64obsd-tdep.c:
* mips64obsd-nat.c:
* mips-tdep.h:
* mips-mdebug-tdep.c:
* mips-linux-tdep.c:
* osabi.h:
* osabi.c:
* ocd.h:
* ocd.c:
* observer.c:
* objfiles.h:
* objfiles.c:
* objc-lang.h:
* objc-lang.c:
* objc-exp.y:
* nto-tdep.h:
* nto-tdep.c:
* nto-procfs.c:
* nlmread.c:
* nbsd-tdep.h:
* ppcobsd-tdep.c:
* ppcobsd-nat.c:
* ppcnbsd-tdep.h:
* ppcnbsd-tdep.c:
* ppcnbsd-nat.c:
* ppcbug-rom.c:
* ppc-tdep.h:
* ppc-sysv-tdep.c:
* ppc-linux-tdep.c:
* ppc-linux-nat.c:
* ppc-bdm.c:
* parser-defs.h:
* parse.c:
* p-valprint.c:
* p-typeprint.c:
* p-lang.h:
* p-lang.c:
* remote-fileio.h:
* remote-fileio.c:
* remote-est.c:
* remote-e7000.c:
* regset.h:
* regset.c:
* reggroups.h:
* reggroups.c:
* regcache.h:
* regcache.c:
* proc-why.c:
* proc-service.c:
* proc-events.c:
* printcmd.c:
* ppcobsd-tdep.h:
* sentinel-frame.h:
* sentinel-frame.c:
* scm-valprint.c:
* scm-tags.h:
* scm-lang.h:
* scm-lang.c:
* scm-exp.c:
* s390-tdep.h:
* rom68k-rom.c:
* remote.h:
* remote-utils.c:
* remote-st.c:
* remote-sim.c:
* remote-sds.c:
* remote-rdp.c:
* remote-rdi.c:
* remote-hms.c:
* sim-regno.h:
* shnbsd-tdep.h:
* shnbsd-tdep.c:
* shnbsd-nat.c:
* sh-tdep.h:
* serial.h:
* serial.c:
* ser-unix.h:
* ser-unix.c:
* ser-tcp.c:
* ser-pipe.c:
* ser-go32.c:
* ser-e7kpc.c:
* ser-base.h:
* ser-base.c:
* solib.c:
* solib-svr4.h:
* solib-svr4.c:
* solib-sunos.c:
* solib-som.h:
* solib-som.c:
* solib-pa64.h:
* solib-pa64.c:
* solib-osf.c:
* solib-null.c:
* solib-legacy.c:
* solib-irix.c:
* solib-frv.c:
* solib-aix5.c:
* sol-thread.c:
* sparc64-linux-tdep.c:
* sparc64-linux-nat.c:
* sparc-tdep.h:
* sparc-tdep.c:
* sparc-sol2-tdep.c:
* sparc-sol2-nat.c:
* sparc-nat.h:
* sparc-nat.c:
* sparc-linux-tdep.c:
* sparc-linux-nat.c:
* source.h:
* source.c:
* somread.c:
* solist.h:
* solib.h:
* std-regs.c:
* stack.h:
* stack.c:
* stabsread.h:
* sparcobsd-tdep.c:
* sparcnbsd-tdep.c:
* sparcnbsd-nat.c:
* sparc64obsd-tdep.c:
* sparc64nbsd-tdep.c:
* sparc64nbsd-nat.c:
* sparc64fbsd-tdep.c:
* sparc64fbsd-nat.c:
* sparc64-tdep.h:
* sparc64-tdep.c:
* sparc64-sol2-tdep.c:
* sparc64-nat.c:
* ui-file.c:
* typeprint.h:
* typeprint.c:
* tramp-frame.h:
* tramp-frame.c:
* trad-frame.h:
* trad-frame.c:
* tracepoint.h:
* top.c:
* tobs.inc:
* thread.c:
* terminal.h:
* target.h:
* symfile.h:
* stop-gdb.c:
* vaxbsd-nat.c:
* vax-tdep.h:
* vax-tdep.c:
* vax-nat.c:
* varobj.h:
* varobj.c:
* value.h:
* value.c:
* valprint.h:
* valprint.c:
* v850-tdep.c:
* uw-thread.c:
* user-regs.c:
* ui-out.h:
* ui-out.c:
* ui-file.h:
* xcoffsolib.h:
* xcoffsolib.c:
* wrapper.c:
* wince.c:
* wince-stub.h:
* wince-stub.c:
* vaxobsd-tdep.c:
* vaxnbsd-tdep.c:
* gdb_gcore.sh:
* copying.c:
* configure.ac:
* aclocal.m4:
* acinclude.m4:
* reply_mig_hack.awk:
* observer.sh:
* gdb_mbuild.sh:
* arm-linux-tdep.c:
* blockframe.c:
* dbug-rom.c:
* environ.h:
* dwarf2loc.h:
* gdb-events.sh:
* glibc-tdep.h:
* gdb_wait.h:
* gdbthread.h:
* i386-sol2-tdep.c:
* hppabsd-tdep.c:
* hppa-linux-nat.c:
* hppa-hpux-nat.c:
* ia64-linux-tdep.c:
* infptrace.c:
* linespec.h:
* maint.c:
* mips-mdebug-tdep.h:
* remote-m32r-sdi.c:
* s390-nat.c:
* rs6000-nat.c:
* remote-utils.h:
* sh3-rom.c:
* sh-linux-tdep.c:
* top.h:
* symtab.h:
* symmisc.c:
* symfile-mem.c:
* srec.h:
* user-regs.h:
* version.h:
* valarith.c:
* xstormy16-tdep.c:
* wrapper.h:
* Makefile.in:
* f-exp.y:
* cris-tdep.c:
* cp-name-parser.y:
* procfs.c:
* proc-utils.h:
* proc-flags.c:
* proc-api.c:
* p-exp.y:
* m68hc11-tdep.c:
* m2-exp.y:
* kod.h:
* kod-cisco.c:
* jv-exp.y:
* hppa-linux-tdep.c: Add (c) after Copyright.  Update the FSF
address.
----------------------------
revision 1.1
date: 1999/04/16 01:33:57;  author: shebs;  state: Exp;
branches:  1.1.1;
Initial revision
----------------------------
revision 1.1.1.1
date: 1999/04/16 01:33:57;  author: shebs;  state: Exp;  lines: +0 -0
Initial creation of sourceware repository
----------------------------
revision 1.2.42.1
date: 2009/12/21 07:43:55;  author: brobecke;  state: Exp;  lines: +624 -292
        * COPYING: Update to GPL version 3.
=============================================================================

RCS file: /cvs/src/src/gdb/ChangeLog,v
Working file: ChangeLog
head: 1.15798
branch:
locks: strict
access list:
symbolic names:
gdb_7_6-2013-04-26-release: 1.15260.2.48
gdb_7_6-branch: 1.15260.0.2
gdb_7_6-2013-03-12-branchpoint: 1.15260
gdb_7_5_1-2012-11-29-release: 1.14469.2.40
gdb_7_5-2012-08-17-release: 1.14469.2.23
gdb_7_5-branch: 1.14469.0.2
gdb_7_5-2012-07-18-branchpoint: 1.14469
gdb_7_4_1-2012-04-26-release: 1.13614.2.54
gdb_7_4-2012-01-24-release: 1.13614.2.42
gdb_7_4-branch: 1.13614.0.2
gdb_7_4-2011-12-13-branchpoint: 1.13614
gdb_7_3_1-2011-09-04-release: 1.12887.2.70
gdb_7_3-2011-07-26-release: 1.12887.2.64
gdb_7_3-branch: 1.12887.0.2
gdb_7_3-2011-04-01-branchpoint: 1.12887
gdb_7_2-2010-09-02-release: 1.11973.2.42
gdb_7_2-branch: 1.11973.0.2
gdb_7_2-2010-07-07-branchpoint: 1.11973
gdb_7_1-2010-03-18-release: 1.11378.2.33
gdb_7_1-branch: 1.11378.0.2
gdb_7_1-2010-02-18-branchpoint: 1.11378
gdb_7_0_1-2009-12-22-release: 1.10874.2.60
gdb_7_0-2009-10-06-release: 1.10874.2.46
gdb_7_0-branch: 1.10874.0.2
gdb_7_0-2009-09-16-branchpoint: 1.10874
arc-sim-20090309: 1.9174.2.17.4.1
msnyder-checkpoint-072509-branch: 1.10747.0.2
msnyder-checkpoint-072509-branchpoint: 1.10747
arc-insight_6_8-branch: 1.9174.2.17.0.4
arc-insight_6_8-branchpoint: 1.9174.2.17
insight_6_8-branch: 1.9174.2.17.0.2
insight_6_8-branchpoint: 1.9174.2.17
reverse-20081226-branch: 1.10052.0.2
reverse-20081226-branchpoint: 1.10052
multiprocess-20081120-branch: 1.9991.0.2
multiprocess-20081120-branchpoint: 1.9991
reverse-20080930-branch: 1.9859.0.2
reverse-20080930-branchpoint: 1.9859
reverse-20080717-branch: 1.9579.0.2
reverse-20080717-branchpoint: 1.9579
msnyder-reverse-20080609-branch: 1.9466.0.2
msnyder-reverse-20080609-branchpoint: 1.9466
drow-reverse-20070409-branch: 1.8264.0.2
drow-reverse-20070409-branchpoint: 1.8264
gdb_6_8-2008-03-27-release: 1.9174.2.17
gdb_6_8-branch: 1.9174.0.2
gdb_6_8-2008-02-26-branchpoint: 1.9174
gdb_6_7_1-2007-10-29-release: 1.8684.2.30
gdb_6_7-2007-10-10-release: 1.8684.2.19
gdb_6_7-branch: 1.8684.0.2
gdb_6_7-2007-09-07-branchpoint: 1.8684
insight_6_6-20070208-release: 1.7962.2.20
gdb_6_6-2006-12-18-release: 1.7962.2.19
gdb_6_6-branch: 1.7962.0.2
gdb_6_6-2006-11-15-branchpoint: 1.7962
insight_6_5-20061003-release: 1.7738.2.19
gdb-csl-symbian-6_4_50_20060226-12: 1.7617.2.2
gdb-csl-sourcerygxx-3_4_4-25: 1.7432
nickrob-async-20060828-mergepoint: 1.7891
gdb-csl-symbian-6_4_50_20060226-11: 1.7617.2.2

11 years ago2013-08-12 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Mon, 12 Aug 2013 11:36:35 +0000 (11:36 +0000)]
2013-08-12  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* configure.ac: Sync with GCC repo.
* Makefile.def: Ditto.
* configure: Regenerate.
* Makefile.in: Ditto.

11 years agoPR binutils/15818
Andreas Schwab [Mon, 12 Aug 2013 07:55:55 +0000 (07:55 +0000)]
PR binutils/15818
* objdump.c (disassemble_section): Return early if nothing from
this section needs to be disassembled.

11 years agoBecause of:
Sergio Durigan Junior [Mon, 12 Aug 2013 03:50:58 +0000 (03:50 +0000)]
Because of:

<http://sourceware.org/ml/gdb-patches/2013-08/msg00289.html>

I have chosen to revert the patch applied to the AVR target-dependent code.
Therefore, this patch does just that.  It is better to keep the tree
buildable than to keep this patch in, for now.

2013-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>

Revert implementation of gdbarch_gdb_signal_{to,from}_target for
AVR.
* avr-tdep.c: Remove include of "linux-tdep.h".  Remove enum with
different signals between the generic Linux kernel implementation
and AVR's.
(avr_linux_gdb_signal_from_target): Delete.
(avr_linux_gdb_signal_to_target): Delete.
(avr_gdbarch_init): Don't set gdbarch_gdb_signal_{to,from}_target.

11 years agodaily update
Alan Modra [Mon, 12 Aug 2013 00:00:04 +0000 (00:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sun, 11 Aug 2013 00:00:05 +0000 (00:00 +0000)]
daily update

11 years agodaily update
Alan Modra [Sat, 10 Aug 2013 00:00:05 +0000 (00:00 +0000)]
daily update

11 years ago * LRS: Remove file, describes a long-abandoned live-range
Stan Shebs [Fri, 9 Aug 2013 21:31:57 +0000 (21:31 +0000)]
* LRS: Remove file, describes a long-abandoned live-range
splitting extension to stabs.

11 years ago * lib/future.exp (gdb_find_ldd): New proc.
Doug Evans [Fri, 9 Aug 2013 17:58:38 +0000 (17:58 +0000)]
* lib/future.exp (gdb_find_ldd): New proc.
* lib/prelink-support.exp (build_executable_own_libs): Call it.
Make "/usr/sbin/" in prelink path optional.

11 years ago(create_addrmap_from_index): Use hex_string instead of pulongest in previous
Doug Evans [Fri, 9 Aug 2013 17:39:38 +0000 (17:39 +0000)]
(create_addrmap_from_index): Use hex_string instead of pulongest in previous
patch.

11 years ago * dwarf2read.c (create_addrmap_from_index): Ignore bad address table
Doug Evans [Fri, 9 Aug 2013 17:26:40 +0000 (17:26 +0000)]
* dwarf2read.c (create_addrmap_from_index): Ignore bad address table
entries.

11 years agoThis patch implements the new gdbarch method gdbarch_gdb_signal_to_target.
Sergio Durigan Junior [Fri, 9 Aug 2013 16:54:43 +0000 (16:54 +0000)]
This patch implements the new gdbarch method gdbarch_gdb_signal_to_target.
It will be used when one wants to convert between the internal GDB signal
representation (enum gdb_signal) and the target's representation.

The idea of this patch came from a chat between Pedro and I on IRC, plus
the discussion of my patches to add the new $_exitsignal convenience
variable:

<http://sourceware.org/ml/gdb-patches/2013-06/msg00452.html>
<http://sourceware.org/ml/gdb-patches/2013-06/msg00352.html>

What I did was to investigate, on the Linux kernel, which targets shared
the signal numbers definition with the generic definition, present at
<include/uapi/asm-generic/signal.h>.  For the record, I used linux-3.10-rc7
as the main source of information, always looking at
<arch/<ARCH_NAME>/include/uapi/asm/signal.h>.  For SIGRTMAX (which defaults
to _NSIG in most cases), I had to look at different signal-related
files, but most of them (except MIPS) were defined to 64 anyway.

Then, with all the differences in hand, I implemented the bits on each
target.

2013-08-09  Sergio Durigan Junior  <sergiodj@redhat.com>

* linux-tdep.c: Define enum with generic signal numbers.
(linux_gdb_signal_from_target): New function.
(linux_gdb_signal_to_target): Likewise.
(linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
methods to the functions above.
* linux-tdep.h (linux_gdb_signal_from_target): New prototype.
(linux_gdb_signal_to_target): Likewise.
* alpha-linux-tdep.c: Define new enum with signals different
from generic Linux kernel.
(alpha_linux_gdb_signal_from_target): New function.
(alpha_linux_gdb_signal_to_target): Likewise.
(alpha_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
with the functions mentioned above.
* avr-tdep.c: Define enum with differences between Linux kernel
and AVR signals.
(avr_linux_gdb_signal_from_target): New function.
(avr_linux_gdb_signal_to_target): Likewise.
(avr_gdbarch_init): Set gdbarch_gdb_signal_{to,from}_target to
the functions mentioned above.
* sparc-linux-tdep.c: Define enum with differences between SPARC
and generic Linux kernel signal numbers.
(sparc32_linux_gdb_signal_from_target): New function.
(sparc32_linux_gdb_signal_to_target): Likewise.
(sparc32_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
to the functions defined above.
* xtensa-linux-tdep.c: Define enum with differences between
Xtensa and Linux kernel generic signals.
(xtensa_linux_gdb_signal_from_target): New function.
(xtensa_linux_gdb_signal_to_target): Likewise.
(xtensa_linux_init_abi): Set gdbarch_gdb_signal_to_target
to the functions defined above.
* mips-linux-tdep.c: Define enum with differences between
signals in MIPS and Linux kernel generic ones.
(mips_gdb_signal_to_target): New function.
(mips_gdb_signal_from_target): Redefine to use new enum, handle
only different signals from the Linux kernel generic.
(mips_linux_init_abi): Set gdbarch_gdb_signal_{to,from}_target
the functions defined above.
* mips-linux-tdep.h (enum mips_signals): Remove.

11 years agoRemove unnecessary XMALLOC definitions.
Pedro Alves [Fri, 9 Aug 2013 15:41:46 +0000 (15:41 +0000)]
Remove unnecessary XMALLOC definitions.

XMALLOC is defined in defs.h.

Tested by building with --enable-targets=all.

gdb/
2013-08-09  Pedro Alves  <palves@redhat.com>

* avr-tdep.c (XMALLOC): Delete macro.
* cli/cli-dump.c (XMALLOC): Delete macro.

11 years agoMake functions in cli-dump.c static and remove cli-dump.h.
Pedro Alves [Fri, 9 Aug 2013 15:37:35 +0000 (15:37 +0000)]
Make functions in cli-dump.c static and remove cli-dump.h.

I noticed the functions declared in cli-dump.h aren't used anywhere
outside cli-dump.c.

The original patch that introduced cli-dump.c didn't include this header:

 http://sourceware.org/ml/gdb-patches/2002-03/msg00518.html

But for some reason that I couldn't find from reading the archives around
that patch's discussion, cli-dump.h was introduced in the final checkin,
at:

 http://sourceware.org/ml/gdb-patches/2002-03/msg00596.html

There seems to be no point in keeping this around nowadays.

gdb/
2013-08-09  Pedro Alves  <palves@redhat.com>

* cli/cli-dump.c: Don't include cli/cli-dump.h.
(scan_expression_with_cleanup, scan_filename_with_cleanup)
(fopen_with_cleanup, add_dump_command): Make static.
* cli/cli-dump.h: Delete file.
* Makefile.in (HFILES_NO_SRCDIR): Remove reference to
cli/cli-dump.h.

11 years agotsave: Make tilde-expanded filename visible.
Pedro Alves [Fri, 9 Aug 2013 15:35:03 +0000 (15:35 +0000)]
tsave: Make tilde-expanded filename visible.

Before:

  (gdb) tsave ~/a/b
  Unable to open file '~/a/b' for saving trace data (No such file or directory)

After:

  (gdb) tsave ~/a/b
  Unable to open file '/home/pedro/a/b' for saving trace data (No such file or directory)

Tested on x86_64 Fedora 17.

gdb/
2013-08-09  Pedro Alves  <palves@redhat.com>

* tracepoint.c (tfile_start): Show tilde-expanded filename in
error message.

11 years agosave breakpoints: Make tilde-expanded filename visible.
Pedro Alves [Fri, 9 Aug 2013 15:33:09 +0000 (15:33 +0000)]
save breakpoints: Make tilde-expanded filename visible.

Most commands in GDB show the tilde-expanded filename in user visible
output.  This makes "save breakpoints" behave the same.

Before:

  (gdb) save breakpoints ~/a/b
  Unable to open file '~/a/b' for saving (No such file or directory)

After:

  (gdb) save breakpoints ~/a/b
  Unable to open file '/home/pedro/a/b' for saving (No such file or directory)

Tested on x86_64 Fedora 17.

gdb/
2013-08-09  Pedro Alves  <palves@redhat.com>

        * breakpoint.c (save_breakpoints): Show tilde-expanded filename in
error message.

11 years agogcore: Make tilde-expanded filename visible.
Pedro Alves [Fri, 9 Aug 2013 15:30:48 +0000 (15:30 +0000)]
gcore: Make tilde-expanded filename visible.

Most commands in GDB show the tilde-expanded filename in user visible
output.  This makes gcore behave the same.

Before:

  (gdb) generate-core-file ~/a/b
  Failed to open '~/a/b' for output.
  (gdb) generate-core-file ~/core
  Saved corefile ~/core

After:

  (gdb) generate-core-file ~/a/b
  Failed to open '/home/pedro/a/b' for output.
  (gdb) generate-core-file ~/core
  Saved corefile /home/pedro/core

Tested on x86_64 Fedora 17.

gdb/
2013-08-09  Pedro Alves  <palves@redhat.com>

* gcore.c (create_gcore_bfd): Don't use tilde_expand here.
(gcore_command): Use tilde_expand here, and when showing the
filename to the user, show the expanded version.

11 years ago * elf32-rl78.c (rl78_elf_merge_private_bfd_data): Complain if G10
Nick Clifton [Fri, 9 Aug 2013 10:40:04 +0000 (10:40 +0000)]
* elf32-rl78.c (rl78_elf_merge_private_bfd_data): Complain if G10
flag bits do not match.
(rl78_elf_print_private_bfd_data): Describe G10 flag.

* readelf.c (get_machine_flags): Handle RL78 G10 flag.

* config/tc-rl78.c (elf_flags): New variable.
(enum options): Add OPTION_G10.
(md_longopts): Add mg10.
(md_parse_option): Parse -mg10.
(rl78_elf_final_processing): New function.
* config/tc-rl78.c (tc_final_processing): Define.
* doc/c-rl78.texi: Document -mg10 option.

* rl78.c (E_FLAG_RL78_G10): Define.

* lib/ld-lib.exp (check_shared_lib_support): Note that the RL78
does not support shared library generation.

11 years agogdb/
Yao Qi [Fri, 9 Aug 2013 00:35:40 +0000 (00:35 +0000)]
gdb/

* stack.c (read_frame_arg): Set 'entryval_error' to NULL if
'entryval' is set.

gdb/testsuite/

* gdb.trace/collection.exp (gdb_collect_args_test): Set
"only" and "both" to 'print entry-values' before selecting
trace frame.

11 years agodaily update
Alan Modra [Fri, 9 Aug 2013 00:00:04 +0000 (00:00 +0000)]
daily update

11 years agogcore: expand tilde in filename.
Pedro Alves [Thu, 8 Aug 2013 17:00:42 +0000 (17:00 +0000)]
gcore: expand tilde in filename.

Before this patch, this fails:

 (gdb) generate-core-file ~/core
 Failed to open '~/core' for output.

After the patch:

 (gdb) generate-core-file ~/core
 Saved corefile ~/core

gdb/
2013-08-08  Azat Khuzhin  <a3at.mail@gmail.com>  (tiny change)

* gcore.c (create_gcore_bfd): Use tilde_expand.

11 years agogdb/
Yao Qi [Thu, 8 Aug 2013 05:10:10 +0000 (05:10 +0000)]
gdb/
* frame.h (read_frame_local): Declare.
* mi/mi-cmd-stack.c (list_args_or_locals): Call
read_frame_local.
* stack.c (read_frame_local): New.

gdb/testsuite/

* gdb.trace/mi-trace-unavailable.exp: Don't set
"print entry-values" to "no".
(test_trace_unavailable): Set various values to
"print entry-values" to test that the output of
'-stack-list-locals' is not affected, and then set
set "print entry-values" to "no".

11 years agogdb/
Yao Qi [Thu, 8 Aug 2013 03:48:35 +0000 (03:48 +0000)]
gdb/
* mi/mi-cmd-stack.c: Update comments to function
list_args_or_locals.

11 years ago * gdb-if.c (hw_breakpoints): Remove.
Kevin Buettner [Thu, 8 Aug 2013 00:10:01 +0000 (00:10 +0000)]
* gdb-if.c (hw_breakpoints): Remove.
(sim_store_register): Add an assert() to make sure PC is in range.
Delete code which referenced hw_breakpoints[].

11 years agodaily update
Alan Modra [Thu, 8 Aug 2013 00:00:04 +0000 (00:00 +0000)]
daily update

11 years ago * gdb.python/py-value-cc.cc: Renamed from py-value.cc.
Doug Evans [Wed, 7 Aug 2013 23:51:45 +0000 (23:51 +0000)]
* gdb.python/py-value-cc.cc: Renamed from py-value.cc.
* gdb.python/py-value-cc.exp: Update.
* gdb.python/py-value.exp: Use different names for .o files for
C and C++.  Only perform C++ tests if !skip_cplus_tests.

11 years agofix PR symtab/15028
Tom Tromey [Wed, 7 Aug 2013 20:10:36 +0000 (20:10 +0000)]
fix PR symtab/15028

This fixes some derivation.exp regressions with "dwz -m".

The bug here is that the imported PU is given language_minimal.
However, it ought to be C++.

The "pretend language" machinery exists to solve this problem, but it
wasn't handled in process_psymtab_comp_unit.  So, this patch adds it
there.

Built and regtested, both normally and using "dwz -m", on x86-64
Fedora 18.

PR symtab/15028:
* dwarf2read.c (struct process_psymtab_comp_unit_data): New.
(process_psymtab_comp_unit_reader): Use it.
(process_psymtab_comp_unit): Update.  Add "pretend_language"
argument.
(dwarf2_build_psymtabs_hard): Update.
(scan_partial_symbols): Pass CU's language to
process_psymtab_comp_unit.

11 years agoremove unused qf method
Tom Tromey [Wed, 7 Aug 2013 20:06:37 +0000 (20:06 +0000)]
remove unused qf method

After the previous patch in the series, nothing uses the "quick"
method find_symbol_file.

This patch removes it.

Tested by rebuilding.

* dwarf2read.c (dw2_get_primary_filename_reader): Remove.
(dwarf2_gdb_index_functions): Update.
* psymtab.c (find_symbol_file_from_partial): Remove.
(psym_functions): Update.
* symfile.h (struct quick_symbol_functions) <find_symbol_file>:
Remove.

11 years agouse language of the main symbol
Tom Tromey [Wed, 7 Aug 2013 20:03:52 +0000 (20:03 +0000)]
use language of the main symbol

With "dwz -m", "main" appears in both the PU and the importing CU when
running anon-struct.exp.  However, the PU does not have a file name.
So, find_main_filename returns the empty string, making
deduce_language_from_filename return language_unknown.

This patch fixes this problem by changing gdb to use the ordinary
symbol-lookup functions to find "main"'s symbol.  Then, it examines the
symbol's language.

I think this is cleaner than the current approach.  For one thing it
avoids trying to guess the language based on the source file name,
instead deferring to the presumably more reliable debuginfo.

Another possible fix would have been to change how the file name is
found via the "qf" methods.  However, I think the approach given is
preferable for the reason outlined above.

This required a minor test suite change, as now a symtab is expanded
during the search for "main".

Built and regtested (both ways) on x86-64 Fedora 18.

* symfile.c (set_initial_language): Look up "main" symbol
and use its language.
* symtab.c (find_main_filename): Remove.
* symtab.h (find_main_filename): Remove.

* gdb.base/maint.exp: Allow zero symtabs to be expanded.

11 years agofix recursively_compute_inclusions and add dwz test case
Tom Tromey [Wed, 7 Aug 2013 19:57:51 +0000 (19:57 +0000)]
fix recursively_compute_inclusions and add dwz test case

Doug pointed out a while ago that in the final dwz -m patch, nothing
ever set symtab::user.

This patch fixes this oversight and adds a test case showing why it is
important.

Built and regtested (both ways) on x86-64 Fedora 18.
The new test unconditionally tests the partial unit machinery, which I
think is an added plus.

* dwarf2read.c (recursively_compute_inclusions): Add
"immediate_parent" argument.  Set symtab's "user" field
if not set.
(compute_symtab_includes): Update.

* gdb.dwarf2/dwz.exp: New file.

11 years agoalso filter label symbols
Tom Tromey [Wed, 7 Aug 2013 19:52:16 +0000 (19:52 +0000)]
also filter label symbols

The bug here is that, with dwz -m, a function (and a label) appear in
both a PU and a CU when running cplabel.exp.  So, a breakpoint gets
two locations:

    (gdb) break foo::bar:to_the_top
    Breakpoint 2 at 0x400503: foo::bar:to_the_top. (2 locations)

What is especially wacky is that both locations are at the same place:

    (gdb) info b
    Num     Type           Disp Enb Address            What
    1       breakpoint     keep y   <MULTIPLE>
    1.1                         y     0x000000000040051c foo::bar:get_out_of_here
    1.2                         y     0x000000000040051c foo::bar:get_out_of_here

This happens due to the weird way we run "dwz -m".
It's unclear to me that this would ever happen for real code.

While I think this borders on "diminishing returns" territory, the fix
is pretty straightforward: use the existing address-filtering function
in linespec to also filter when looking at labels.

Built and regtested (both ways) on x86-64 Fedora 18.

* linespec.c (convert_linespec_to_sals): Use maybe_add_address
when adding label symbols.

11 years agogold/
Cary Coutant [Wed, 7 Aug 2013 17:11:24 +0000 (17:11 +0000)]
gold/
Revert support for v2 DWP files:

2013-03-01  Cary Coutant  <ccoutant@google.com>

    Add dwp support for v2 DWARF package file format.
    * dwarf_reader.cc (Dwarf_info_reader::visit_type_unit): Add
    tu_length parameter.  Adjust all callers.
    * dwarf_reader.h (Dwarf_info_reader::visit_type_unit): Likewise.
    * dwp.cc: Include dwarf.h.
    (Section_bounds): New struct type.
    (Unit_set): New struct type.
    (Dwo_file::Dwo_file): Initialize new data member.
    (Dwo_file::read_compunit_index, Dwo_file::read_typeunit_index):
    Combine and rename to...
    (Dwo_file::read_unit_index): ...this.
    (Dwo_file::sized_read_compunit_index)
    (Dwo_file::sized_read_typeunit_index): Combine and rename to...
    (Dwo_file::sized_read_unit_index): ...this.
    (Dwo_file::copy_section): Remove section_name, is_str_offsets
    parameters; add section_id parameter.
    (Dwo_file::add_cu_set, Dwo_file::add_tu_set): Combine and rename to...
    (Dwo_file::add_unit_set): ...this.
    (Dwo_file::shndx_map_): Remove.
    (Dwo_file::sect_offsets_): New data member.
    (Dwp_output_file::Dwp_output_file): Initialize new data members.
    (Dwp_output_file::add_section): Rename to...
    (Dwp_output_file::add_contribution): ...this.
    (Dwp_output_file::add_cu_set): Combine parameters into a struct.
    (Dwp_output_file::add_tu_set): Likewise.
    (Dwp_output_file::Contribution): New type.
    (Dwp_output_file::Section::contributions): New data member.
    (Dwp_output_file::Cu_or_tu_set): Remove.
    (Dwp_output_file::Section::Section): New ctor.
    (Dwp_output_file::Dwp_index::Shndx_pool): Remove.
    (Dwp_output_file::Dwp_index::Section_table): New type.
    (Dwp_output_file::Dwp_index::Dwp_index): Initialize new data members.
    (Dwp_output_file::Dwp_index::enter_set): Change type of "set"
    parameter.
    (Dwp_output_file::Dwp_index::shndx_pool): Remove.
    (Dwp_output_file::Dwp_index::shndx_pool_end): Remove.
    (Dwp_output_file::Dwp_index::section_table): New member function.
    (Dwp_output_file::Dwp_index::section_table_end): New member function.
    (Dwp_output_file::Dwp_index::shndx_pool_size): Remove.
    (Dwp_output_file::Dwp_index::section_table_rows): New member function.
    (Dwp_output_file::Dwp_index::section_table_cols): New member function.
    (Dwp_output_file::Dwp_index::shndx_pool_): Remove.
    (Dwp_output_file::Dwp_index::section_table_): New data member.
    (Dwp_output_file::Dwp_index::section_mask_): New data member.
    (Dwp_output_file::add_output_section): New member function.
    (Dwp_output_file::write_new_section): New member function.
    (Dwp_output_file::write_contributions): New member function.
    (Dwp_output_file::section_id_map_): New data member.
    (class Dwo_id_info_reader): Remove.
    (class Unit_reader): New class.
    (get_dwarf_section_name): New function.
    (Dwo_file::read_executable): Adjust initializations of class data.
    (Dwo_file::read): Add support for v2 package file format.
    (Dwo_file::read_unit_index): Likewise.
    (Dwo_file::sized_read_unit_index): Likewise.
    (Dwo_file::copy_section): Likewise.
    (Dwo_file::add_unit_set): Likewise.
    (Dwp_output_file::add_output_section): Likewise.
    (Dwp_output_file::add_contribution): Likewise.
    (Dwp_output_file::Dwp_index::find_or_add): Use row index to check
    for empty slot.
    (Dwp_output_file::Dwp_index::enter_set): Add support for v2 package
    file format.
    (Dwp_output_file::Dwp_index::grow): Use row index to check for empty
    slot.
    (Dwp_output_file::initialize): Remove unused function.
    (Dwp_output_file::finalize): Add support for v2 package file format.
    (Dwp_output_file::write_index): Likewise.
    * gdb-index.cc (Gdb_index_info_reader::visit_type_unit): Adjust
    function prototype.

11 years agomerge from gcc
DJ Delorie [Wed, 7 Aug 2013 15:04:28 +0000 (15:04 +0000)]
merge from gcc

11 years ago2013-08-07 Raunaq Bathija <raunaq12@in.ibm.com>
Ulrich Weigand [Wed, 7 Aug 2013 14:42:34 +0000 (14:42 +0000)]
2013-08-07  Raunaq Bathija  <raunaq12@in.ibm.com>
    Ulrich Weigand  <uweigand@de.ibm.com>

* configure.tgt (powerpc64-*-aix*): Match powerpc64 running aix.
* configure.host (powerpc64-*-aix*): Likewise.

11 years ago2013-08-07 Raunaq Bathija <raunaq12@in.ibm.com>
Ulrich Weigand [Wed, 7 Aug 2013 14:39:57 +0000 (14:39 +0000)]
2013-08-07  Raunaq Bathija  <raunaq12@in.ibm.com>
    Ulrich Weigand  <uweigand@de.ibm.com>

* gdb_ptrace.h: Use ptrace64 instead of ptrace if HAVE_PTRACE64
is defined.
* rs6000-nat.c: Check for __ld_info64_ if compiling 64 BIT gdb.
(rs6000_ptrace32): Call ptrace64 instead of ptrace if present.
(rs6000_ptrace64): Call ptace64 instead of ptracex if present.
* configure.ac: Check for ptrace64.
* configure, config.in: Regenerate.

11 years ago2013-08-07 Raunaq Bathija <raunaq12@in.ibm.com>
Ulrich Weigand [Wed, 7 Aug 2013 13:24:26 +0000 (13:24 +0000)]
2013-08-07  Raunaq Bathija  <raunaq12@in.ibm.com>
    Ulrich Weigand  <uweigand@de.ibm.com>

* aixthread.c: Call ptrace64 instead of ptracex if defined.
Call ptrace64 instead of ptrace if defined.
Add macro addr_ptr to take care of ptrace address argument.
(pdc_read_regs): Likewise.
(pdc_write_regs): Likewise.
(aix_thread_resume): Likewise.
(fetch_regs_kernel_thread): Likewise.
(store_regs_kernel_thread): Likewise.

11 years ago2013-08-07 Anton Blanchard <anton@samba.org>
Anton Blanchard [Wed, 7 Aug 2013 08:00:55 +0000 (08:00 +0000)]
2013-08-07  Anton Blanchard  <anton@samba.org>

* MAINTAINERS: Add myself to Write After Approval.

11 years agodaily update
Alan Modra [Wed, 7 Aug 2013 00:00:04 +0000 (00:00 +0000)]
daily update

11 years agoopcodes/
Richard Sandiford [Tue, 6 Aug 2013 19:27:07 +0000 (19:27 +0000)]
opcodes/
2013-08-06  Jürgen Urban  <JuergenUrban@gmx.de>

* mips-opc.c (mips_builtin_opcodes): Add a suffixless version of
VCLIPW.

gas/
2013-08-06  Jürgen Urban  <JuergenUrban@gmx.de>

* config/tc-mips.c (match_vu0_suffix_operand): Allow single-channel
suffixes to be elided too.
(mips_lookup_insn): Don't reject INSN2_VU0_CHANNEL_SUFFIX here.
(mips_ip): Assume .xyzw if no VU0 suffix is specified.  Allow +N
to be omitted too.

gas/testsuite/
2013-08-06  Jürgen Urban  <JuergenUrban@gmx.de>

* gas/mips/r5900-error-vu0.s, gas/mips/r5900-error-vu0.l,
gas/mips/r5900-full-vu0.s, gas/mips/r5900-full-vu0.d: Allow
single-channel suffixes to be elided.

11 years agodaily update
Alan Modra [Tue, 6 Aug 2013 00:00:05 +0000 (00:00 +0000)]
daily update

11 years agobfd/
Richard Sandiford [Mon, 5 Aug 2013 21:58:23 +0000 (21:58 +0000)]
bfd/
2013-08-05  John Tytgat  <john@bass-software.com>

* po/BLD-POTFILES.in: Regenerate.
* po/SRC-POTFILES.in: Likewise.

gas/
2013-08-05  John Tytgat  <john@bass-software.com>

* po/POTFILES.in: Regenerate.

gprof/
2013-08-05  John Tytgat  <john@bass-software.com>

* po/POTFILES.in: Regenerate.

11 years ago * sparc-opc.c (v9andleon): Fix thinko.
Eric Botcazou [Mon, 5 Aug 2013 17:04:08 +0000 (17:04 +0000)]
* sparc-opc.c (v9andleon): Fix thinko.

11 years agomore add_target removals
Tom Tromey [Mon, 5 Aug 2013 16:54:27 +0000 (16:54 +0000)]
more add_target removals

This removes a few more erroneous calls to add_target.  These calls
end up installing the target in a user-visible way; but these targets
are all auto-activated and, I think, should never be explicitly
requested.

I have no way to test these.

* aix-thread.c (_initialize_aix_thread): Use
complete_target_initialization.
* bsd-uthread.c (_initialize_bsd_uthread): Use
complete_target_initialization.
* dec-thread.c (_initialize_dec_thread): Use
complete_target_initialization.
* ravenscar-thread.c (_initialize_ravenscar): Use
complete_target_initialization.
* sol-thread.c (_initialize_sol_thread): Use
complete_target_initialization.
* spu-multiarch.c (_initialize_spu_multiarch): Use
complete_target_initialization.

11 years agogas/
Eric Botcazou [Mon, 5 Aug 2013 16:11:07 +0000 (16:11 +0000)]
gas/
* config/tc-sparc.c (sparc_arch_types): Add leon.
(sparc_arch): Move sparc4 around and add leon.
(sparc_target_format): Document -Aleon.
* doc/c-sparc.texi: Likewise.
include/
* opcode/sparc.h (sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_LEON.
opcodes/
* sparc-dis.c (compute_arch_mask): Set SPARC_OPCODE_ARCH_LEON bit for
bfd_mach_sparc.
* sparc-opc.c (MASK_LEON): Define.
(v6, v6notlet, v7, v8, v6notv9): Add MASK_LEON.
(letandleon): New macro.
(v9andleon): Likewise.
(sparc_opc): Add leon.
(umac): Enable for letandleon.
(smac): Likewise.
(casa): Enable for v9andleon.
(cas): Likewise.
(casl): Likewise.

11 years agoRemove:
Mike Stump [Mon, 5 Aug 2013 16:05:32 +0000 (16:05 +0000)]
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.

11 years agoremove msymbol_objfile
Tom Tromey [Mon, 5 Aug 2013 15:51:02 +0000 (15:51 +0000)]
remove msymbol_objfile

This is another patch in my ongoing series to "split" objfile to share
more read-only data across inferiors.  See

    http://sourceware.org/gdb/wiki/ObjfileSplitting

When symbols are finally shared, there will be no back-link from the
symbol to its containing objfile, because there may be more than one
such objfile.  So, all such back-links must be removed.

One hidden back-link is the msymbol_objfile function.  Since
(eventually) a symbol may appear in more than one objfile, trying to
look up the objfile given just a symbol cannot work.

This patch removes msymbol_objfile in favor of using a bound minimal
symbol.  It introduces a new function to make this conversion simpler
in some spots.

The bonus of this patch is that using msymbol_objfile is slower than
simply looking up the owning objfile in the first place.

Built and regtested on x86-64 Fedora 18.

* ada-exp.y (write_var_or_type): Use bound_minimal_symbol.
* ada-lang.c (ada_lookup_simple_minsym): Return
bound_minimal_symbol.
* ada-lang.h (ada_lookup_simple_minsym): Update.
* c-exp.y (variable): Use lookup_bound_minimal_symbol.
* f-exp.y (variable): Use lookup_bound_minimal_symbol.
* go-exp.y (variable): Use lookup_bound_minimal_symbol.
* jv-exp.y (push_expression_name): Use lookup_bound_minimal_symbol.
* m2-exp.y (variable): Use lookup_bound_minimal_symbol.
* minsyms.c (msymbol_objfile): Remove.
(lookup_minimal_symbol_internal): New function, from
lookup_minimal_symbol.
(lookup_minimal_symbol): Rewrite using
lookup_minimal_symbol_internal.
(lookup_bound_minimal_symbol): New function.
* minsyms.h (msymbol_objfile): Remove.
(lookup_bound_minimal_symbol): Declare.
* p-exp.y (variable): Use lookup_bound_minimal_symbol.
* parse.c (write_exp_msymbol): Change parameter to a
bound_minimal_symbol.
(write_dollar_variable): Use lookup_bound_minimal_symbol.
* parser-defs.h (write_exp_msymbol): Update.
* printcmd.c (address_info): Use lookup_bound_minimal_symbol.
* symfile.c (simple_read_overlay_table): Use
lookup_bound_minimal_symbol.
* symtab.c (skip_prologue_sal): Don't use msymbol_objfile.
(search_symbols): Likewise.
(print_msymbol_info): Take a bound_minimal_symbol argument.
(symtab_symbol_info, rbreak_command): Update.
* symtab.h (struct symbol_search) <msymbol>: Change type
to bound_minimal_symbol.
* valops.c (find_function_in_inferior): Use
lookup_bound_minimal_symbol.
* value.c (value_fn_field): Use lookup_bound_minimal_symbol.

11 years agodoc: gdbserver allows for subsequent and not for multiple simultaneous connections.
Sanimir Agovic [Mon, 5 Aug 2013 15:39:25 +0000 (15:39 +0000)]
doc: gdbserver allows for subsequent and not for multiple simultaneous connections.

doc/

2013-08-05  Sanimir Agovic  <sanimir.agovic@intel.com>

* gdb.texinfo (TCP port allocation lifecycle): Gdbserver by default
allows for subsequent and not for additional (multiple simultaneous)
        connections.

11 years agogdb/
Jan Kratochvil [Mon, 5 Aug 2013 15:03:06 +0000 (15:03 +0000)]
gdb/
Code cleanup.
* remote.c (cleanup_sigint_signal_handler): Rename the declaration
to ...
(async_cleanup_sigint_signal_handler): ... this.
(initialize_sigint_signal_handler): Remove declaration.
(handle_remote_sigint): Rename the declaration to ...
(async_handle_remote_sigint): ... this.
(handle_remote_sigint_twice): Rename the declaration to ...
(async_handle_remote_sigint_twice): ... this.
(async_remote_interrupt, async_remote_interrupt_twice)
(remote_interrupt): Remove the declarations.
(remote_interrupt_twice): Rename the declaration ...
(sync_remote_interrupt_twice): ... this.
(sigint_remote_twice_token): Rename the variable to ...
(async_sigint_remote_twice_token): ... this.
(sigint_remote_token): Rename the variable to ...
(async_sigint_remote_token): ... this.
(initialize_sigint_signal_handler): Rename the function to ...
(async_initialize_sigint_signal_handler): ... this.  Update the name
inside.
(handle_remote_sigint): Rename the function to ...
(async_handle_remote_sigint): ... this.  Update the names inside.
(handle_remote_sigint_twice): Rename the function to ...
(async_handle_remote_sigint_twice): ... this.  Update the names inside.
(cleanup_sigint_signal_handler): Rename the function to ...
(async_cleanup_sigint_signal_handler): ... this.
(remote_interrupt): Rename the function to ...
(sync_remote_interrupt): this.  Update the names inside.
(remote_interrupt_twice): Rename the function to ...
(sync_remote_interrupt_twice): this.  Update the names inside.
(remote_terminal_inferior, remote_terminal_ours, remote_wait_as)
(_initialize_remote): Update the names inside.

11 years agogas/
Richard Sandiford [Mon, 5 Aug 2013 08:31:48 +0000 (08:31 +0000)]
gas/
* config/tc-mips.c (mips_lookup_insn): Make length and opend signed.

11 years agodaily update
Alan Modra [Mon, 5 Aug 2013 00:00:05 +0000 (00:00 +0000)]
daily update

11 years agoinclude/opcode/
Richard Sandiford [Sun, 4 Aug 2013 07:31:39 +0000 (07:31 +0000)]
include/opcode/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
    Richard Sandiford  <rdsandiford@googlemail.com>

* mips.h: Document new VU0 operand characters.
(OP_VU0_SUFFIX, OP_VU0_MATCH_SUFFIX): New mips_operand_types.
(OP_REG_VF, OP_REG_VI, OP_REG_R5900_I, OP_REG_R5900_Q, OP_REG_R5900_R)
(OP_REG_R5900_ACC): New mips_reg_operand_types.
(INSN2_VU0_CHANNEL_SUFFIX): New macro.
(mips_vu0_channel_mask): Declare.

opcodes/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
    Richard Sandiford  <rdsandiford@googlemail.com>

* mips-dis.c (print_reg): Handle OP_REG_VI, OP_REG_VF, OP_REG_R5900_I,
OP_REG_R5900_Q, OP_REG_R5900_R and OP_REG_R5900_ACC.
(print_vu0_channel): New function.
(print_insn_arg): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX.
(print_insn_args): Handle '#'.
(print_insn_mips): Handle INSN2_VU0_CHANNEL_SUFFIX.
* mips-opc.c (mips_vu0_channel_mask): New constant.
(decode_mips_operand): Handle new VU0 operand types.
(VU0, VU0CH): New macros.
(mips_builtin_opcodes): Add VU0 opcodes.  Use "+7" rather than "E"
for LQC2 and SQC2.  Use "+9" rather than "G" for EE CFC2 and CTC2.
Use "+6" rather than "G" for QMFC2 and QMTC2.

gas/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
    Richard Sandiford  <rdsandiford@googlemail.com>

* config/tc-mips.c (MAX_OPERANDS): Bump to 6.
(RWARN): Bump to 0x8000000.
(RTYPE_VI, RTYPE_VF, RTYPE_R5900_I, RTYPE_R5900_Q, RTYPE_R5900_R)
(RTYPE_R5900_ACC): New register types.
(RTYPE_MASK): Include them.
(R5900_I_NAMES, R5900_Q_NAMES, R5900_R_NAMES, R5900_ACC_NAMES): New
macros.
(reg_names): Include them.
(mips_parse_register_1): New function, split out from...
(mips_parse_register): ...here.  Add a channels_ptr parameter.
Look for VU0 channel suffixes when nonnull.
(reg_lookup): Update the call to mips_parse_register.
(mips_parse_vu0_channels): New function.
(OT_CHANNELS, OT_DOUBLE_CHAR): New mips_operand_token_types.
(mips_operand_token): Add a "channels" field to the union.
Extend the comment above "ch" to OT_DOUBLE_CHAR.
(mips_parse_base_start): Match -- and ++.  Handle channel suffixes.
(mips_parse_argument_token): Handle channel suffixes here too.
(validate_mips_insn): Handle INSN2_VU0_CHANNEL_SUFFIX.
Ignore OP_VU0_MATCH_SUFFIX when calculating the used bits.
Handle '#' formats.
(md_begin): Register $vfN and $vfI registers.
(operand_reg_mask): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX.
(convert_reg_type): Handle OP_REG_VI, OP_REG_VF, OP_REG_R5900_I,
OP_REG_R5900_Q, OP_REG_R5900_R and OP_REG_R5900_ACC.
(match_vu0_suffix_operand): New function.
(match_operand): Handle OP_VU0_SUFFIX and OP_VU0_MATCH_SUFFIX.
(macro): Use "+7" rather than "E" for LDQ2 and STQ2.
(mips_lookup_insn): New function.
(mips_ip): Use it.  Allow "+K" operands to be elided at the end
of an instruction.  Handle '#' sequences.

gas/testsuite/
2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>

* gas/mips/r5900-vu0.d: Expect $vfN and $viN instead of numeric
coprocessor registers.
* gas/mips/r5900-all-vu0.s, gas/mips/r5900-all-vu0.d,
gas/mips/r5900-full-vu0.s, gas/mips/r5900-full-vu0.d,
gas/mips/r5900-error-vu0.s, gas/mips/r5900-error-vu0.l: New tests.
* gas/mips/mips.exp: Run them.

11 years agodaily update
Alan Modra [Sun, 4 Aug 2013 00:00:05 +0000 (00:00 +0000)]
daily update

11 years agogas/
Richard Sandiford [Sat, 3 Aug 2013 11:11:46 +0000 (11:11 +0000)]
gas/
* config/tc-mips.c (macro, mips16_macro): Create an array of operand
values and use it instead of sreg, treg, xreg, etc.

11 years agoinclude/opcode/
Richard Sandiford [Sat, 3 Aug 2013 10:49:48 +0000 (10:49 +0000)]
include/opcode/
* mips.h (mips_pcrel_operand): Inherit from mips_int_operand.
(mips_int_operand_min, mips_int_operand_max): New functions.
(mips_decode_pcrel_operand): Use mips_decode_int_operand.

opcodes/
* mips-formats.h (PCREL): Reorder parameters and update the definition
to match new mips_pcrel_operand layout.
(JUMP, JALX, BRANCH): Update accordingly.
* mips16-opc.c (decode_mips16_operand): Likewise.

gas/
* config/tc-mips.c (match_int_operand): Use mips_int_operand_min
and mips_int_operand_max.
(mips16_immed_operand, mips16_immed_operands, MIPS16_NUM_IMMED):
Delete.
(mips16_immed_operand, mips16_immed_in_range_p): New functions.
(mips16_immed, mips16_extended_frag): Use them.  Use mips_int_operand
instead of mips16_immed_operand.

11 years agogas/
Richard Sandiford [Sat, 3 Aug 2013 10:41:13 +0000 (10:41 +0000)]
gas/
* config/tc-mips.c (mips16_macro): Don't use move_register.
(mips16_ip): Allow macros to use 'p'.

gas/testsuite/
* gas/mips/mips16-macro.s, gas/mips/mips16-macro.d: New test.
* gas/mips/mips.exp: Run it.

11 years agodaily update
Alan Modra [Sat, 3 Aug 2013 00:00:04 +0000 (00:00 +0000)]
daily update

11 years agofix PR symtab/15719
Tom Tromey [Fri, 2 Aug 2013 16:41:08 +0000 (16:41 +0000)]
fix PR symtab/15719

This patch fixes PR symtab/15719.

The bug is that "watch -location" crashes on a certain expression.

The problem is that fetch_subexp_value is catching an exception.
For ordinary watchpoints this is ok; but for location watchpoints,
it is better for the exception to propagate.

Built and regtested on x86-64 Fedora 18.
New test case included.

PR symtab/15719:
* breakpoint.c (update_watchpoint, watchpoint_check)
(watch_command_1): Update.
* eval.c (fetch_subexp_value): Add "preserve_errors"
parameter.
* ppc-linux-nat.c (check_condition): Update.
* value.h (fetch_subexp_value): Update.

* gdb.base/watchpoint.c (struct foo5): New.
(nullptr): New global.
* gdb.base/watchpoint.exp (test_watch_location): Add test.

11 years agoRemove duplicate call to add_file_handler.
Andrew Burgess [Fri, 2 Aug 2013 10:31:40 +0000 (10:31 +0000)]
Remove duplicate call to add_file_handler.

  http://sourceware.org/ml/gdb-patches/2013-08/msg00067.html

This call to add_file_handler is a duplicate of one that is in
gdb_setup_readline that is always executed.

gdb/ChangeLog

        * mi/mi-interp.c (mi_interpreter_resume): Remove call to
        add_file_handler.

11 years ago PR symtab/15691
Doug Evans [Fri, 2 Aug 2013 00:33:07 +0000 (00:33 +0000)]
PR symtab/15691
* dwarf2read.c (struct dwarf2_per_cu_data): New member tu_read.
(fill_in_sig_entry_from_dwo_entry): Reorganize asserts.
Add assert of sig_entry->dwo_unit == NULL.
(lookup_dwo_signatured_type): Don't assign TU to a DWO if the TU
had already been read.
(read_signatured_type): Set per_cu.tu_read.

testsuite/
* gdb.dwarf2/fission-mix.exp: New file.
* gdb.dwarf2/fission-mix.h: New file.
* gdb.dwarf2/fission-mix.c: New file.
* gdb.dwarf2/fission-mix2.c: New file.

11 years agodaily update
Alan Modra [Fri, 2 Aug 2013 00:00:04 +0000 (00:00 +0000)]
daily update

11 years ago PR symtab/15695
Doug Evans [Thu, 1 Aug 2013 23:59:48 +0000 (23:59 +0000)]
PR symtab/15695
* valops.c (value_struct_elt): Add missing call to check_typedef.
(value_find_oload_method_list): Ditto.

testsuite/
* gdb.base/func-ptr.exp: New file.
* gdb.base/func-ptr.c: New file.

11 years ago * symtab.c (do_free_search_symbols_cleanup): Change arg to,
Doug Evans [Thu, 1 Aug 2013 23:47:02 +0000 (23:47 +0000)]
* symtab.c (do_free_search_symbols_cleanup): Change arg to,
effectively, struct symbol_search **.
(make_cleanup_free_search_symbols): Change arg to struct
symbol_search **.  All callers updated.
(compare_search_syms): Compare symtab file name and block as well.
(search_symbols_equal): New function.
(sort_search_symbols_remove_dups): Renamed from sort_search_symbols.
New args new_head, new_tail.  Result is now void.  Remove dups after
sorting the symbols.
(search_symbols): Sort all found symbols once, after all have been
found, and remove duplicates.  Simplify cleanup tracking of result.
* symtab.h (make_cleanup_free_search_symbols): Update prototype.

11 years ago Further workarounds for binutils/15021.
Doug Evans [Thu, 1 Aug 2013 23:35:04 +0000 (23:35 +0000)]
Further workarounds for binutils/15021.
* dwarf2read.c (recursively_compute_inclusions): Change type of result
parameter to VEC (symtab_ptr) **.  New parameter all_type_symtabs.
Watch for duplicate symtabs coming from type units.
(compute_symtab_includes): Update call to
recursively_compute_inclusions. Build vector of included symtabs
instead of per_cus.
* symtab.h (symtab_ptr): New typedef.
(DEF_VEC_P (symtab_ptr)): New VEC type.
* linespec.c (symtab_p): Delete.  All uses updated to use symtab_ptr
instead.

11 years agoopcodes/
Richard Sandiford [Thu, 1 Aug 2013 22:33:24 +0000 (22:33 +0000)]
opcodes/
* micromips-opc.c (WR_s): Delete.

11 years agoinclude/opcode/
Richard Sandiford [Thu, 1 Aug 2013 20:55:25 +0000 (20:55 +0000)]
include/opcode/
* mips.h (mips_decode_reg_operand): New function.
(INSN_WRITE_SHIFT, INSN_WRITE_1, INSN_WRITE_2, INSN_WRITE_ALL)
(INSN_READ_SHIFT, INSN_READ_1, INSN_READ_2, INSN_READ_3, INSN_READ_4)
(INSN_READ_ALL, INSN_READ_GPR_24, INSN_WRITE_GPR_24, INSN_UDI):
New macros.
(INSN_WRITE_GPR_D, INSN_WRITE_GPR_T, INSN_WRITE_FPR_D)
(INSN_WRITE_FPR_S, INSN_WRITE_FPR_T, INSN_READ_GPR_S, INSN_READ_GPR_T)
(INSN_READ_FPR_S, INSN_READ_FPR_T, INSN_READ_FPR_R, INSN_WRITE_GPR_S)
(INSN2_WRITE_GPR_Z, INSN2_WRITE_FPR_Z, INSN2_READ_GPR_Z)
(INSN2_READ_FPR_Z, INSN2_READ_GPR_D, INSN2_READ_FPR_D)
(INSN2_WRITE_GPR_MB, INSN2_READ_GPR_MC, INSN2_MOD_GPR_MD)
(INSN2_READ_GPR_ME, INSN2_MOD_GPR_MF, INSN2_READ_GPR_MG)
(INSN2_READ_GPR_MJ, INSN2_WRITE_GPR_MJ, INSN2_READ_GPR_MP)
(INSN2_WRITE_GPR_MP, INSN2_READ_GPR_MQ, INSN2_READ_GP)
(INSN2_WRITE_GPR_MH, INSN2_READ_GPR_MMN): Delete.  Renumber other
macros to cover the gaps.
(INSN2_MOD_SP): Replace with...
(INSN2_WRITE_SP, INSN2_READ_SP): ...these new macros.
(MIPS16_INSN_WRITE_X, MIPS16_INSN_WRITE_Y, MIPS16_INSN_WRITE_Z)
(MIPS16_INSN_WRITE_T, MIPS16_INSN_WRITE_31, MIPS16_INSN_WRITE_GPR_Y)
(MIPS16_INSN_READ_X, MIPS16_INSN_READ_Y, MIPS16_INSN_READ_Z)
(MIPS16_INSN_READ_T, MIPS16_INSN_READ_SP, MIPS16_INSN_READ_GPR_X):
Delete.

opcodes/
* mips-opc.c (WR_1, WR_2, RD_1, RD_2, RD_3, RD_4, MOD_1, MOD_2, UDI):
New macros.
(WR_d, WR_t, WR_D, WR_T, WR_S, RD_s, RD_b, RD_t, RD_S, RD_T, RD_R)
(WR_z, WR_Z, RD_z, RD_Z, RD_d): Delete.
(mips_builtin_opcodes): Use the new position-based read-write flags
instead of field-based ones.  Use UDI for "udi..." instructions.
* mips16-opc.c (WR_1, WR_2, RD_1, RD_2, RD_3, RD_4, MOD_1, MOD_2):
New macros.
(WR_x, WR_y, WR_z, WR_Y, RD_x, RD_y, RD_Z, RD_X): Delete.
(RD_T, WR_T, WR_31): Redefine using generic INSN_* flags.
(WR_SP, RD_16): New macros.
(RD_SP): Redefine as an INSN2_* flag.
(MOD_SP): Redefine in terms of RD_SP and WR_SP.
(mips16_opcodes): Use the new position-based read-write flags
instead of field-based ones.  Use RD_16 for "nop".  Move RD_SP to
pinfo2 field.
* micromips-opc.c (WR_1, WR_2, RD_1, RD_2, RD_3, RD_4, MOD_1, MOD_2):
New macros.
(WR_mb, RD_mc, RD_md, WR_md, RD_me, RD_mf, WR_mf, RD_mg, WR_mh, RD_mj)
(WR_mj, RD_ml, RD_mmn, RD_mp, WR_mp, RD_mq, RD_gp, WR_d, WR_t, WR_D)
(WR_T, WR_S, RD_s, RD_b, RD_t, RD_T, RD_S, RD_R, RD_D): Delete.
(RD_sp, WR_sp): Redefine to INSN2_READ_SP and INSN2_WRITE_SP.
(micromips_opcodes): Use the new position-based read-write flags
instead of field-based ones.
* mips-dis.c (print_insn_arg): Use mips_decode_reg_operand.
(print_insn_mips, print_insn_micromips): Use INSN_WRITE_1 instead
of field-based flags.

gas/
* config/tc-mips.c (MAX_OPERANDS): New macro.
(mips_operand_array): New structure.
(mips_operands, mips16_operands, micromips_operands): New arrays.
(micromips_to_32_reg_b_map, micromips_to_32_reg_c_map)
(micromips_to_32_reg_e_map, micromips_to_32_reg_f_map)
(micromips_to_32_reg_g_map, micromips_to_32_reg_l_map)
(micromips_to_32_reg_q_map): Delete.
(insn_operands, insn_opno, insn_extract_operand): New functions.
(validate_mips_insn): Take a mips_operand_array as argument and
use it to build up a list of operands.  Extend to handle INSN_MACRO
and MIPS16.
(validate_mips16_insn): New function.
(validate_micromips_insn): Take a mips_operand_array as argument.
Handle INSN_MACRO.
(md_begin): Initialize mips_operands, mips16_operands and
micromips_operands.  Call validate_mips_insn and
validate_micromips_insn for macro instructions too.
Call validate_mips16_insn for MIPS16 instructions.
(insn_read_mask, insn_write_mask, operand_reg_mask, insn_reg_mask):
New functions.
(gpr_read_mask, gpr_write_mask, fpr_read_mask, fpr_write_mask): Use
them.  Handle INSN_UDI.
(get_append_method): Use gpr_read_mask.

11 years agoinclude/opcode/
Richard Sandiford [Thu, 1 Aug 2013 20:40:24 +0000 (20:40 +0000)]
include/opcode/
* mips.h (MIPS16_INSN_WRITE_SP, MIPS16_INSN_READ_31)
(MIPS16_INSN_READ_PC, MIPS16_INSN_UNCOND_BRANCH)
(MIPS16_INSN_COND_BRANCH): Delete.

opcodes/
* mips16-opc.c (UBR, CBR, RD_31, RD_PC): Redefine as INSN2_* flags.
(WR_SP): Replace with...
(MOD_SP): ...this.
(mips16_opcodes): Update accordingly.
* mips-dis.c (print_insn_mips16): Likewise.

gas/
* config/tc-mips.c (compact_branch_p, uncond_branch_p): Use the same
flags for MIPS16 and non-MIPS16 instructions.
(gpr_mod_mask): Move the INSN2_MOD_SP case outside the micromips block.
(gpr_read_mask): Use INSN2_READ_GPR_31 for MIPS16 instructions too.
(gpr_write_mask): Remove MIPS16_INSN_WRITE_SP handling.
(can_swap_branch_p, get_append_method): Use the same flags for MIPS16
and non-MIPS16 instructions.  Fix formatting.

11 years agoopcodes/
Richard Sandiford [Thu, 1 Aug 2013 20:35:11 +0000 (20:35 +0000)]
opcodes/
* mips16-opc.c (mips16_opcodes): Reformat.

11 years agogas/
Richard Sandiford [Thu, 1 Aug 2013 20:32:59 +0000 (20:32 +0000)]
gas/
* config/tc-mips.c (reg_needs_delay): Move later in file.
Use gpr_write_mask.
(insns_between): Use gpr_read_mask instead of EXTRACT_OPERAND.

11 years agoopcodes/
Richard Sandiford [Thu, 1 Aug 2013 20:30:02 +0000 (20:30 +0000)]
opcodes/
* mips-opc.c (mips_builtin_opcodes): Remove WR_* and RD_* flags
for operands that are hard-coded to $0.
* micromips-opc.c (micromips_opcodes): Likewise.

11 years agoopcodes/
Richard Sandiford [Thu, 1 Aug 2013 20:25:30 +0000 (20:25 +0000)]
opcodes/
* mips-opc.c (mips_builtin_opcodes): Use WR_31 rather than WR_d
for the single-operand forms of JALR and JALR.HB.
* micromips-opc.c (micromips_opcodes): Likewise JALR, JALRS, JALR.HB
and JALRS.HB.

11 years agoopcodes/
Richard Sandiford [Thu, 1 Aug 2013 20:20:49 +0000 (20:20 +0000)]
opcodes/
* mips-opc.c (mips_builtin_opcodes): Add FP_D to VR5400 vector
instructions.  Fix them to use WR_MACC instead of WR_CC and
add missing RD_MACCs.

11 years agoRemove error_pre_print and quit_pre_print.
Andrew Burgess [Thu, 1 Aug 2013 09:09:58 +0000 (09:09 +0000)]
Remove error_pre_print and quit_pre_print.

  http://sourceware.org/ml/gdb-patches/2013-07/msg00844.html

gdb/ChangeLog

        * cli/cli-script.c (script_from_file): Remove use of
        error_pre_print.
        * main.c (captured_main): Remove use of error_pre_print and
        quit_pre_print.
        * utils.c (error_pre_print, quit_pre_print): Remove.
        * utils.h (error_pre_print, quit_pre_print): Likewise.

11 years agoopcodes/
Richard Sandiford [Thu, 1 Aug 2013 07:13:21 +0000 (07:13 +0000)]
opcodes/
* mips-dis.c (print_mips16_insn_arg): Include ISA bit in base address.

11 years agogdb/
Yao Qi [Thu, 1 Aug 2013 06:42:59 +0000 (06:42 +0000)]
gdb/
* mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Parse argv
with mi_getopt.
(mi_cmd_stack_list_variables): Likewise.

11 years agogdb/testsuite/
Yao Qi [Thu, 1 Aug 2013 06:38:28 +0000 (06:38 +0000)]
gdb/testsuite/

* gdb.python/py-sync-interp.c: New.
* gdb.python/py-sync-interp.exp: New.

11 years agodaily update
Alan Modra [Thu, 1 Aug 2013 00:00:04 +0000 (00:00 +0000)]
daily update

11 years agogold/
Cary Coutant [Wed, 31 Jul 2013 18:47:50 +0000 (18:47 +0000)]
gold/
* object.cc (Sized_relobj::do_output_section_address): New function.
(Sized_relobj): Instantiate explicitly.
* object.h (Object::output_section_address): New function.
(Object::do_output_section_address): New function.
(Sized_relobj::do_output_section_address): New function.
* powerpc.cc (Target_powerpc::symval_for_branch): Use it.

11 years ago PR ld/15787
Nick Clifton [Wed, 31 Jul 2013 16:26:02 +0000 (16:26 +0000)]
PR ld/15787
* elf32-arm.c (elf32_arm_final_link_relocate): Base SB on the
output section VMA.

* ld-arm/group-relocs-alu-bad-2.d; New.
* ld-arm/group-relocs-alu-bad-2.s: New.
* ld-arm/group-relocs-ldc-bad-2.d: New.
* ld-arm/group-relocs-ldc-bad-2.s: New.
* ld-arm/group-relocs-ldr-bad-2.d: New.
* ld-arm/group-relocs-ldr-bad-2.s: New.
* ld-arm/group-relocs-ldrs-bad-2.d: New.
* ld-arm/group-relocs-ldrs-bad-2: New.
* ld-arm/arm-elf.exp: Add the new tests.
* ld-arm/group-relocs-ldr-bad.d: Update expected output.
* ld-arm/group-relocs-ldr-bad.s: Likewise.
* ld-arm/group-relocs-ldrs-bad.d: Likewise.
* ld-arm/group-relocs-ldrs-bad.s: Likewise.
* ld-arm/group-relocs.d: Likewise.
* ld-arm/group-relocs.s: Likewise.

11 years agoRemove deprecated_throw_reason.
Andrew Burgess [Wed, 31 Jul 2013 15:44:52 +0000 (15:44 +0000)]
Remove deprecated_throw_reason.

  http://sourceware.org/ml/gdb-patches/2013-07/msg00779.html

gdb/ChangeLog

        * exceptions.c (deprecated_throw_reason): Remove.
        * exceptions.h (deprecated_throw_reason): Remove.

11 years agoRemove deprecated_throw_reason from mips_error.
Andrew Burgess [Wed, 31 Jul 2013 15:36:49 +0000 (15:36 +0000)]
Remove deprecated_throw_reason from mips_error.

  http://sourceware.org/ml/gdb-patches/2013-07/msg00777.html

gdb/ChangeLog

        * remote-mips.c (mips_error): Replace use of
        deprecated_throw_reason with throw_verror.  Use the error message
        passed to mips_error as the error message for throw_verror.

11 years agoReplace most uses of deprecated_throw_reason with quit.
Andrew Burgess [Wed, 31 Jul 2013 12:44:33 +0000 (12:44 +0000)]
Replace most uses of deprecated_throw_reason with quit.

  http://sourceware.org/ml/gdb-patches/2013-07/msg00778.html

gdb/ChangeLog

        * monitor.c (monitor_interrupt_query): Replace use of
        deprecated_throw_reason with quit.
        * nto-procfs.c (interrupt_query): Likewise.
        * remote-fileio.c (remote_fileio_sig_exit): Likewise.
        * remote-mips.c (mips_kill): Likewise.
        * remote.c (interrupt_query): Likewise.

11 years agoRemove deprecated_throw_reason from internal_verror.
Andrew Burgess [Wed, 31 Jul 2013 10:51:42 +0000 (10:51 +0000)]
Remove deprecated_throw_reason from internal_verror.

  http://sourceware.org/ml/gdb-patches/2013-07/msg00776.html

gdb/ChangeLog

        * utils.c (internal_verror): Replace use of deprecated_throw_reason
        with call to fatal.

11 years agogdb/
Yao Qi [Wed, 31 Jul 2013 00:44:42 +0000 (00:44 +0000)]
gdb/

* tracepoint.c (trace_dump_command): Select the current frame.

gdb/testsuite/

* gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Test command
'tdump' on stack frame 0 and 1 respectively.

11 years agogdb/testsuite/
Yao Qi [Wed, 31 Jul 2013 00:38:40 +0000 (00:38 +0000)]
gdb/testsuite/

PR gdb/13443
* gdb.trace/backtrace.exp (gdb_backtrace_tdp_3): Add parameter
'traceframe'.  Wrap test with with_test_prefix.
(top level): Update.

11 years agogdb/testsuite/
Yao Qi [Wed, 31 Jul 2013 00:36:22 +0000 (00:36 +0000)]
gdb/testsuite/

* gdb.trace/backtrace.exp: Don't invoke 'get_exit' and
'gdb_start'.
Invoke 'prepare_for_testing' instead of 'gdb_compile'.
Use gdb_test_no_output to issue commands 'tstart' and 'tstop'.

11 years ago * dwarf2read.c (process_queue): Add type signature to debug output.
Doug Evans [Wed, 31 Jul 2013 00:30:18 +0000 (00:30 +0000)]
* dwarf2read.c (process_queue): Add type signature to debug output.

11 years agodaily update
Alan Modra [Wed, 31 Jul 2013 00:00:05 +0000 (00:00 +0000)]
daily update

11 years agoAdd missing author to last ChangeLog entry.
Cary Coutant [Tue, 30 Jul 2013 21:29:50 +0000 (21:29 +0000)]
Add missing author to last ChangeLog entry.

11 years ago gold/
Cary Coutant [Tue, 30 Jul 2013 21:26:53 +0000 (21:26 +0000)]
gold/
     * parameters.cc (Parameters::entry): Return target-specific entry
     symbol name.
     * target.h (Target::entry_symbol_name): New function.
     (Target_info::entry_symbol_name): New data member.

     * arm.cc (Target_arm::arm_info): Add entry_symbol_name.
     (Target_arm_nacl::arm_nacl_info): Likewise.
     * i386.cc (Target_i386::i386_info): Likewise.
     (Target_i386_nacl::i386_nacl_info): Likewise.
     * powerpc.cc (Target_powerpc::powerpc_info): Likewise.
     * sparc.cc (Target_sparc::sparc_info): Likewise.
     * tilegx.cc (Target_tilegx::tilegx_info): Likewise.
     * x86_64.cc: (Target_x86_64::x86_64_info) Likewise.
     (Target_x86_64_nacl::x86_64_nacl_info) Likewise.
     * testsuite/testfile.cc (Target_test::test_target_info): Likewise.

11 years agoDon't raise an error for optimized out sub-fields.
Andrew Burgess [Tue, 30 Jul 2013 15:36:18 +0000 (15:36 +0000)]
Don't raise an error for optimized out sub-fields.

  http://sourceware.org/ml/gdb-patches/2013-07/msg00317.html

gdb/ChangeLog

        * value.c (value_fetch_lazy): Mark optimized out values as such
        rather than raising an error.

gdb/testsuite/ChangeLog

        * gdb.dwarf2/pieces-optimized-out.exp: Expect "<optimized out>"
        when printing an optimized out value.  Expect an error when using
        an optimized out value in an expression.

11 years agovalue_fetch_lazy, ensure parent is not lazy and check parent for validity.
Andrew Burgess [Tue, 30 Jul 2013 15:05:01 +0000 (15:05 +0000)]
value_fetch_lazy, ensure parent is not lazy and check parent for validity.

  http://sourceware.org/ml/gdb-patches/2013-07/msg00316.html

gdb/ChangeLog

        * value.c (value_fetch_lazy): Ensure parent value is not lazy
        before checking which bits of the parent, not the child, value are
        valid.

gdb/testsuite/ChangeLog

        * gdb.dwarf2/pieces-optimized-out.exp: New file.
        * gdb.dwarf2/pieces-optimized-out.c: New file.
        * gdb.dwarf2/pieces-optimized-out.S: New file.