This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Patch: restoring multi-line breakpoint commands
- To: Tom Tromey <tromey at redhat dot com>
- Subject: Re: Patch: restoring multi-line breakpoint commands
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Tue, 2 Oct 2001 16:10:17 -0700 (PDT)
- cc: Insight List <insight at sourceware dot cygnus dot com>
On 2 Oct 2001, Tom Tromey wrote:
> >> printf "Hello!\n"
> >> set $i=0
> >> while ($i<10)
> >> printf "i=%d\n", $i
> >> set $i=$i+1
> >> end
> >> end
>
> Keith> This gets us the command list: {printf "Hello\n"} {set $i=0} {($i<10)}
> Keith> Obviously, we're missing some information here. :-(
>
> Yeah. When I was digging around I noticed that gdb command chains use
> a weird data structure. It didn't occur to me, though, that
> gdb_get_breakpoint_info() might not handle them correctly.
Just testing it now...
Keith