Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: GDB Discussion <gdb@sources.redhat.com>
Subject: [mi] Revised breakpoint table output
Date: Mon, 11 Jun 2001 14:08:00 -0000	[thread overview]
Message-ID: <3B25333E.4050409@cygnus.com> (raw)

Hello,

Following on the revisions to the MI output, the breakpoint table, under 
the list/tuple schema ends up looking like:

201-break-list
201^done,BreakpointTable={hdr=[{width="3",alignment="-1",colname="number",colhdr
="Num"},{width="14",alignment="-1",colname="type",colhdr="Type"},{width="4",alig
nment="-1",colname="disp",colhdr="Disp"},{width="3",alignment="-1",colname="enab
led",colhdr="Enb"},{width="10",alignment="-1",colname="addr",colhdr="Address"},{
width="40",alignment="2",colname="what",colhdr="What"}],body=[]}

666-break-list
666^done,BreakpointTable={hdr=[{width="3",alignment="-1",colname="number",colhdr
="Num"},{width="14",alignment="-1",colname="type",colhdr="Type"},{width="4",alig
nment="-1",colname="disp",colhdr="Disp"},{width="3",alignment="-1",colname="enab
led",colhdr="Enb"},{width="10",alignment="-1",colname="addr",colhdr="Address"},{
width="40",alignment="2",colname="what",colhdr="What"}],body=[bkpt={number="1",t
ype="breakpoint",disp="del",enabled="y",addr="0x01800ad0",func="main",file="/hom
e/scratch/MI/src/gdb/testsuite/gdb.mi/basics.c",line="32",times="0"},bkpt={numbe
r="2",type="breakpoint",disp="del",enabled="y",addr="0x01800a58",func="callee2",
file="/home/scratch/MI/src/gdb/testsuite/gdb.mi/basics.c",line="22",times="0"},b
kpt={number="3",type="breakpoint",disp="del",enabled="y",addr="0x01800a08",func=
"callee3",file="/home/scratch/MI/src/gdb/testsuite/gdb.mi/basics.c",line="15",ti
mes="0"}]}

To break it down:

	BreakpointTable=
	  { hdr=[ { heading info...}, ...],
	    body=[ { record }, .... ] }

I'm tempted to also include ``nbrofcols=...'' and nbrofrows=... on the 
basis that the MI shouldn't be throwing any information away.

	Andrew


             reply	other threads:[~2001-06-11 14:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-11 14:08 Andrew Cagney [this message]
2001-06-12  1:49 ` Eli Zaretskii
2001-06-12 12:39   ` Andrew Cagney

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=3B25333E.4050409@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb@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