aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.gdb/selftest.exp9
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 15822e7..17b4f2e 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
+ * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
+
+2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
+
* gdb.cp/inherit.exp: Use cp_test_ptype_class.
2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
index 283de51..54105d2 100644
--- a/gdb/testsuite/gdb.gdb/selftest.exp
+++ b/gdb/testsuite/gdb.gdb/selftest.exp
@@ -1,5 +1,5 @@
-# Copyright 1988, 1990, 1991, 1992, 1994, 1997, 1999, 2000, 2002, 2003
-# Free Software Foundation, Inc.
+# Copyright 1988, 1990, 1991, 1992, 1994, 1997, 1999, 2000, 2002,
+# 2003, 2004 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -105,6 +105,11 @@ proc do_steps_and_nexts {} {
set description "next over mac_init and everything it calls"
set command "next"
}
+ -re ".*init_malloc.*$gdb_prompt $" {
+ # gdb 6.2.X is the last gdb which called init_malloc
+ set description "next over init_malloc and everything it calls"
+ set command "next"
+ }
-re ".*lim_at_start.*$gdb_prompt $" {
set description "next over lim_at_start initialization"
set command "next"