This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/testsuite] long_long.exp: line numbers, @prep
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 15 Jun 2004 22:14:43 -0400 (EDT)
- Subject: [patch/testsuite] long_long.exp: line numbers, @prep
This patch cleans up gdb.base/long_long.exp. It replaces a reference
to an absolute line number with a string search using gdb_breakpoint
and gdb_continue_to_breakpoint. I'm doing this because I want to add
a bunch of lines to long_long.c (a copyright notice).
I also removed the old bug-gdb@prep.ai.mit.edu address.
Tested on native i686-pc-linux-gnu.
I am committing this now.
Michael C
2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/long_long.exp: Remove reference to
bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
to gdb_breakpoint and gdb_continue_to_breakpoint.
Index: gdb.base/long_long.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/long_long.exp,v
retrieving revision 1.13
diff -c -3 -p -r1.13 long_long.exp
*** gdb.base/long_long.exp 20 Jan 2003 15:40:07 -0000 1.13
--- gdb.base/long_long.exp 16 Jun 2004 02:08:46 -0000
***************
*** 1,4 ****
! # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
--- 1,4 ----
! # Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
# Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
***************
*** 15,24 ****
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
- # Please email any bugs, comments, and/or additions to this file to:
- # bug-gdb@prep.ai.mit.edu
-
-
# long_long.exp Test printing of 64-bit things in 32-bit gdb.
# Also test differnet kinds of formats.
#
--- 15,20 ----
*************** gdb_expect {
*** 123,129 ****
default { }
}
! gdb_test "n 4" ".*38.*" "get to known place"
# Check the hack for long long prints.
#
--- 119,126 ----
default { }
}
! gdb_breakpoint [gdb_get_line_number "Stop here and look"]
! gdb_continue_to_breakpoint "Stop here and look"
# Check the hack for long long prints.
#