This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] unify objfile obstacks (4/4)
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- Cc: ezannoni at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Sat, 7 Feb 2004 18:23:30 -0500
- Subject: Re: [PATCH] unify objfile obstacks (4/4)
- References: <20040207020544.50B874B364@berman.michael-chastain.com>
Michael Elizabeth Chastain writes:
> Hi Elena,
>
> Could you please keep the old pattern in there too?
>
sure.
here is what I checked in:
Index: maint.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/maint.exp,v
retrieving revision 1.22
diff -u -p -r1.22 maint.exp
--- maint.exp 17 Dec 2003 05:43:46 -0000 1.22
+++ maint.exp 7 Feb 2004 23:20:40 -0000
@@ -191,6 +191,11 @@ gdb_expect {
send_gdb "maint print statistics\n"
gdb_expect {
-re "Statistics for.*break.*Number of \"minimal\" symbols read.*Number
of \"partial\" symbols read.*Number of \"types\" defined.*Number of psym tables
\\(not yet expanded\\).*Number of symbol tables.*Number of symbol tables with line tables.*Number of symbol tables with blockvectors.*Total memory used for psymbol obstack.*Total memory used for psymbol cache.*Total memory used for symbol obstack.*Total memory used for type obstack.*$gdb_prompt $"\
+ {
+ # Old output for gdb 6.0 and earlier
+ pass "maint print statistics"
+ }
+ -re "Statistics for.*break.*Number of \"minimal\" symbols read.*Number
of \"partial\" symbols read.*Number of \"types\" defined.*Number of psym tables
\\(not yet expanded\\).*Number of symbol tables.*Number of symbol tables with line tables.*Number of symbol tables with blockvectors.*Total memory used for objfile obstack.*Total memory used for psymbol cache.*Total memory used for macro cache.*$gdb_prompt $"\
{ pass "maint print statistics" }
-re ".*$gdb_prompt $" { fail "maint print statistics" }
timeout { fail "(timeout) maint print statistics" }