From c3297504caf7ba50ef62603e7ad3bb0729240573 Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Fri, 13 Aug 2004 10:43:20 +0000 Subject: [PATCH] 2004-08-13 Michael Chastain * gdb.gdb/selftest.exp: Revert removal of call to init_malloc. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.gdb/selftest.exp | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 15822e79da..17b4f2ed28 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-08-13 Michael Chastain + + * gdb.gdb/selftest.exp: Revert removal of call to init_malloc. + 2004-08-13 Michael Chastain * gdb.cp/inherit.exp: Use cp_test_ptype_class. diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp index 283de5100d..54105d211c 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"