From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: GDB Discussion Subject: [mi] Revised breakpoint table output Date: Mon, 11 Jun 2001 14:08:00 -0000 Message-id: <3B25333E.4050409@cygnus.com> X-SW-Source: 2001-06/msg00082.html 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