Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nick@nick.uklinux.net>
To: Andrew Cagney <ac131313@redhat.com>
Cc: gdb-patches@sources.redhat.com, bob_rossi@cox.net
Subject: Re: [rfc] Annotation level THREE
Date: Mon, 17 Mar 2003 20:07:00 -0000	[thread overview]
Message-ID: <15990.10811.61395.996906@nick.uklinux.net> (raw)
In-Reply-To: <3E751565.4030409@redhat.com>

 > > I don't really follow this. It looks like level three annotations will have
 > > a lot of the annotations missing.
 > 
 > Yes.
 > 
 > The change should remove the annotations that were being used to mark up 
 > CLI output, but leave those that were notifying the GUI of various events.
 > 
 > The marked up output has been superseeded by ``interpreter mi ...''.
 > 
 >  > To currently work gdb-ui.el needs:
 > > 
 > > frames-invalid
 > > breakpoints-invalid
 > > pre-prompt
 > > prompt
 > > commands
 > > overload-choice
 > > query
 > > prompt-for-continue
 > > post-prompt
 > > source
 > > starting
 > > exited
 > > signalled
 > > signal
 > > breakpoint
 > > watchpoint
 > > frame-begin
 > > stopped
 > > display-begin
 > > display-end
 > > display-number-end
 > > array-section-begin
 > > array-section-end
 > > field-begin
 > > field-end
 > > 
 > > It needn't use frames-invalid and breakpoints-invalid which are repeatedly
 > > generated during a run and possibly other selected ones could go. However,
 > > some appear to be essential e.g display-begin as the MI equivalent,
 > > -display-insert, isn't implemented and I don't know how to make use of
 > > variable objects.
 > 
 > Why do you need display-{begin,end}?  -display-insert has been made 
 > redundant by the varobj stuff - it lets the GUI efficiently track its 
 > display values outside of the CLI.  

Variable objects don't auto-display. You seem to have to type
-var-evaluate-expression each time the program stops. 

 >  The testsuite is a good source of 
 > varobj examples (unfortunatly lacking from the doco):
 > http://sources.redhat.com/gdb/current/onlinedocs/gdb_25.html#SEC565

The lack of documentation for (and apparent completeness of) GDB/MI is part of
the problem. I realise that I have no service agreement and cannot expect
anything but I would prefer more effort to be directed towards MI before (a
large number of) annotations are removed.

 > The above list also contains thing like field-{begin,end}, 
 > array-section-{begin,end} et.al.  Why are they needed.

I use them to parse the output. They could probably go, if necessary, but
others that you plan to take out *are* needed.

Nick


  reply	other threads:[~2003-03-17 20:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-11 23:37 Andrew Cagney
2003-03-12 18:54 ` David Carlton
2003-03-12 19:04   ` Andrew Cagney
2003-03-14  0:08 ` Nick Roberts
2003-03-17  0:23   ` Andrew Cagney
2003-03-17 20:07     ` Nick Roberts [this message]
2003-03-17 20:38       ` Andrew Cagney
2003-03-18 10:31         ` Nick Roberts
2003-03-18 15:29           ` Andrew Cagney
2003-03-18 16:00           ` Andrew Cagney
2003-03-18 20:17             ` Bob Rossi
2003-03-12  6:09 Michael Elizabeth Chastain
2003-03-12 14:50 ` Andrew Cagney
2003-03-12 14:56   ` Daniel Jacobowitz
2003-03-12 17:04   ` David Carlton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15990.10811.61395.996906@nick.uklinux.net \
    --to=nick@nick.uklinux.net \
    --cc=ac131313@redhat.com \
    --cc=bob_rossi@cox.net \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox