Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* [mi] Revised breakpoint table output
@ 2001-06-11 14:08 Andrew Cagney
  2001-06-12  1:49 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cagney @ 2001-06-11 14:08 UTC (permalink / raw)
  To: GDB Discussion

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-06-12 12:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-11 14:08 [mi] Revised breakpoint table output Andrew Cagney
2001-06-12  1:49 ` Eli Zaretskii
2001-06-12 12:39   ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox