This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA]: pending breakpoint support [2/3]


On Wed, Jan 21, 2004 at 06:12:29PM -0500, J. Johnston wrote:
> >>+	-re "Make breakpoint pending.*y or n. $" { 
> >>+		send_gdb "n\n"; 
> >>+		fail "setting breakpoint at $function" ; 
> >>+		return 0
> >>+	}
> >
> >
> >[in lib/gdb.exp] ditto.
> >
> 
> Daniel, can you clarify this last comment.  Is something wrong with the 
> prompt test in the -re line or do you want me to change the send_gdb to be 
> a gdb_test?

The latter, sorry.  The basic rule is, if a test causes GDB to print
something out, the test must also eat the output.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]