This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MI -break-info command issues


On Tue, Jan 24, 2006 at 10:49:59PM +0200, Eli Zaretskii wrote:
> > Date: Tue, 24 Jan 2006 09:44:49 -0500
> > From: Bob Rossi <bob@brasko.net>
> > Cc: gdb@sources.redhat.com
> > 
> > 2. The output of the command looks like this:
> > > ^done,BreakpointTable={nr_rows="1",nr_cols="6",
> > > hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"}
> > > {width="14",alignment="-1",col_name="type",colhdr="Type"}
> > > {width="4",alignment="-1",col_name="disp",colhdr="Disp"}
> > > {width="3",alignment="-1",col_name="enabled",colhdr="Enb"}
> > > {width="10",alignment="-1",col_name="addr",colhdr="Address"}
> > > {width="40",alignment="2",col_name="what",colhdr="What"}],
> > > body=[bkpt={number="2",type="breakpoint",disp="keep",enabled="y",
> > > addr="0x08048464",func="main",file="main.cpp",line="6",times="1"}]}
> > > 
> > > What is the point of producing spreadsheet-like output with columns and
> > > column heading and column alignment? I'd expect that any GUI frontend will
> > > have some specific representation and just ignore that extra formatting.
> > > Why generate it at all?
> > 
> > I agree, this output has always been useless to me. I would be happy to
> > see it go away.
> 
> I DON'T agree, and I think it would be a grave mistake to have this
> output go away.  About the worst thing a program can do is have some
> information and not reveal it.  Skipping unneeded information is easy;
> restoring missing one is next to impossible.

Like I said, I don't understand why this information is important. 
The breakpoint command is the only one that get's a header, and I 
find it odd.

However, if you would like it to stay, I won't get in your way.

Bob Rossi


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]