Re: Update Copyright and FSF address (was: [RFC] fix testsuite/gdb.cp/printmethod)

Daniel Jacobowitz
2005-12-18T00:01:42Z

On Sat, Dec 17, 2005 at 06:06:10PM -0500, Daniel Jacobowitz wrote:
> On Sun, Dec 18, 2005 at 12:46:48AM +0200, Eli Zaretskii wrote:
> > I've committed the first portion of this monstrous job: all the files
> > in gdb/ and in gdb/cli/ now have the (c) marker and state the correct
> > FSF address. I hope I didn't break anything, but if I did, please
> > correct as obvious.
> >
> > I don't imagine someone would actually wish to see the humongous
> > boring diffs, would they? ;-)
>
> Eli, thank you for doing this. I'll run a couple of test cycles here
> to confirm that everything's still in order, but I'm sure it will be
> :-)

The only obvious casualty is default.exp, fixed as attached.

--
Daniel Jacobowitz
CodeSourcery, LLC

2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>

* gdb.base/default.exp: Update check for "show version".

Index: gdb.base/default.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/default.exp,v
retrieving revision 1.18
diff -u -p -r1.18 default.exp
--- gdb.base/default.exp 14 Jul 2005 14:49:23 -0000 1.18
+++ gdb.base/default.exp 17 Dec 2005 23:38:34 -0000
@@ -667,7 +667,7 @@ gdb_test "show values" "" "show values"
#test show verbose
gdb_test "show verbose" "Verbose printing of informational messages is o.*|Verbosity is off.*" "show verbose"
#test show version
-gdb_test "show version" "GNU gdb \[0-9\.\]*(\[^\r\n\]*\[\r\n\])+Copyright \[0-9\]* Free Software Foundation, Inc(\[^\r\n\]*\[\r\n\])+GDB is free software, covered by the GNU General Public License, and you are(\[^\r\n\]*\[\r\n\])+welcome to change it and/or distribute copies of it under certain conditions(\[^\r\n\]*\[\r\n\])+Type \"show copying\" to see the conditions(\[^\r\n\]*\[\r\n\])+There is absolutely no warranty for GDB. Type \"show warranty\" for details(\[^\r\n\]*\[\r\n\])+This GDB was configured as .*|GDB is free software and you are welcome to distribute copies of it(\[^\r\n\]*\[\r\n\])+ under certain conditions; type \"show copying\" to see the conditions.(\[^\r\n\]*\[\r\n\])+There is absolutely no warranty for GDB; type \"show warranty\" for details.(\[^\r\n\]*\[\r\n\])+GDB.*Copyright \[0-9\]* Free Software Foundation, Inc.*" "show version"
+gdb_test "show version" "GNU gdb \[0-9\.\]*(\[^\r\n\]*\[\r\n\])+Copyright \\(C\\) \[0-9\]* Free Software Foundation, Inc(\[^\r\n\]*\[\r\n\])+GDB is free software, covered by the GNU General Public License, and you are(\[^\r\n\]*\[\r\n\])+welcome to change it and/or distribute copies of it under certain conditions(\[^\r\n\]*\[\r\n\])+Type \"show copying\" to see the conditions(\[^\r\n\]*\[\r\n\])+There is absolutely no warranty for GDB. Type \"show warranty\" for details(\[^\r\n\]*\[\r\n\])+This GDB was configured as .*|GDB is free software and you are welcome to distribute copies of it(\[^\r\n\]*\[\r\n\])+ under certain conditions; type \"show copying\" to see the conditions.(\[^\r\n\]*\[\r\n\])+There is absolutely no warranty for GDB; type \"show warranty\" for details.(\[^\r\n\]*\[\r\n\])+GDB.*Copyright \\(C\\) \[0-9\]* Free Software Foundation, Inc.*" "show version"
#test show width
gdb_test "show width" "Number of characters gdb thinks are in a line is.*" "show width"
#test show write