This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
pending/1009: [RFA] Another optional underscore in testsuite
- From: Michael Snyder <msnyder at redhat dot com>
- To: gdb-gnats at sources dot redhat dot com
- Date: Wed, 29 Jan 2003 17:15:01 -0800
- Subject: pending/1009: [RFA] Another optional underscore in testsuite
>Number: 1009
>Category: pending
>Synopsis: [RFA] Another optional underscore in testsuite
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Fri Jan 31 06:08:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release:
>Organization:
>Environment:
>Description:
This is a multi-part message in MIME format.
--------------09AFC31F66CB973771C5B088
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Again, funny that nobody's ever complained about it before:
some targets must have failed this test because they prepend
an underscore to user-defined symbols.
--------------09AFC31F66CB973771C5B088
Content-Type: text/plain; charset=us-ascii;
name="maint.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="maint.diff"
2003-01-29 Michael Snyder <msnyder@redhat.com>
* gdb.base/maint.exp: Allow for leading underscore in symbol.
Index: maint.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/maint.exp,v
retrieving revision 1.17
diff -p -r1.17 maint.exp
*** maint.exp 24 Dec 2002 04:03:46 -0000 1.17
--- maint.exp 30 Jan 2003 00:37:33 -0000
*************** gdb_expect {
*** 282,288 ****
{
send_gdb "shell grep factorial msymbols_output\n"
gdb_expect {
! -re "\\\[ *$decimal\\\] T\[ \t\]+$hex factorial.*$gdb_prompt $"\
{ pass "maint print msymbols" }
-re ".*$gdb_prompt $" { fail "maint print msymbols" }
timeout { fail "(timeout) maint print msymbols" }
--- 282,288 ----
{
send_gdb "shell grep factorial msymbols_output\n"
gdb_expect {
! -re "\\\[ *$decimal\\\] T\[ \t\]+$hex (_|)factorial.*$gdb_prompt $"\
{ pass "maint print msymbols" }
-re ".*$gdb_prompt $" { fail "maint print msymbols" }
timeout { fail "(timeout) maint print msymbols" }
--------------09AFC31F66CB973771C5B088--
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: