From b3a8098506ad4a08b88f73147727c8bc29b2b102 Mon Sep 17 00:00:00 2001 From: steve Date: Thu, 19 Jul 2001 02:20:55 +0000 Subject: [PATCH] EOF is the same as resume. --- vvp/debug.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vvp/debug.cc b/vvp/debug.cc index ef9a234db..0a861878d 100644 --- a/vvp/debug.cc +++ b/vvp/debug.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #if !defined(WINNT) -#ident "$Id: debug.cc,v 1.4 2001/05/31 04:12:43 steve Exp $" +#ident "$Id: debug.cc,v 1.5 2001/07/19 02:20:55 steve Exp $" #endif /* @@ -136,6 +136,9 @@ void breakpoint(void) interact_flag = true; while (interact_flag) { char*input = readline("> "); + if (input == 0) + break; + unsigned argc = 0; char**argv = new char*[strlen(input)/2]; @@ -167,6 +170,9 @@ void breakpoint(void) #endif /* * $Log: debug.cc,v $ + * Revision 1.5 2001/07/19 02:20:55 steve + * EOF is the same as resume. + * * Revision 1.4 2001/05/31 04:12:43 steve * Make the bufif0 and bufif1 gates strength aware, * and accurately propagate strengths of outputs.