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

* Re: [mi] Revised breakpoint table output
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2001-06-12  1:49 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: GDB Discussion

On Mon, 11 Jun 2001, Andrew Cagney wrote:

> 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=[]}

Sorry for being a nag, but please remember to update the relevant
parts of gdbmi.texinfo.  It shows the format and actual examples of
output for many commands.


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

* Re: [mi] Revised breakpoint table output
  2001-06-12  1:49 ` Eli Zaretskii
@ 2001-06-12 12:39   ` Andrew Cagney
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2001-06-12 12:39 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: GDB Discussion

> On Mon, 11 Jun 2001, Andrew Cagney wrote:
> 
> 
>> 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=[]}
> 
> 
> Sorry for being a nag, but please remember to update the relevant
> parts of gdbmi.texinfo.  It shows the format and actual examples of
> output for many commands.


Yes, I know :-).  I need to be careful that the code, doc and testsuite 
all get updated.  I think I'm actually ready to start submitting patches 
(which means, gasp, I can start on the gdbint.texinfo and s390).

	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