public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* MI -break-info command issues
@ 2006-01-24 14:22 Vladimir Prus
  2006-01-24 14:48 ` Bob Rossi
  0 siblings, 1 reply; 27+ messages in thread
From: Vladimir Prus @ 2006-01-24 14:22 UTC (permalink / raw)
  To: gdb


Hello!

Playing with MI -break-info command with gdb 6.4, I notice two issues.

1. The command does not print the full name (i.e. absolute) of the file
where the breakpoint is. That is pretty bad for integrating with GUIs. Did
I miss some other command? Is there a way to get full name of the file?

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?

- Volodya


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

end of thread, other threads:[~2006-03-18 11:13 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-24 14:22 MI -break-info command issues Vladimir Prus
2006-01-24 14:48 ` Bob Rossi
2006-01-24 15:02   ` Vladimir Prus
2006-01-24 21:24   ` Eli Zaretskii
2006-01-24 23:35     ` Bob Rossi
2006-01-25 16:05     ` Vladimir Prus
2006-01-25 19:42       ` Eli Zaretskii
2006-01-26 12:09         ` Vladimir Prus
2006-01-26 20:48           ` Eli Zaretskii
2006-01-27 12:16             ` Vladimir Prus
2006-01-27 14:55               ` Eli Zaretskii
2006-01-27 15:00                 ` Bob Rossi
2006-01-27 15:12                 ` Vladimir Prus
2006-01-27 15:48                   ` Daniel Jacobowitz
2006-01-27 15:51                     ` Vladimir Prus
2006-01-27 16:01                       ` Daniel Jacobowitz
2006-01-27 16:11                         ` Daniel Jacobowitz
2006-01-27 16:44                         ` Vladimir Prus
2006-01-27 17:00                           ` Bob Rossi
2006-02-10 12:03                             ` Documenting MI stability (Was: MI -break-info command issues) Vladimir Prus
2006-01-27 17:41                           ` MI -break-info command issues Eli Zaretskii
2006-01-27 17:16                       ` Eli Zaretskii
2006-01-27 17:53                         ` Bob Rossi
2006-01-28 14:48                           ` Eli Zaretskii
2006-01-27 17:12                   ` Eli Zaretskii
2006-03-17 17:07                     ` -data-read-memory docs (Was: MI -break-info command issues) Vladimir Prus
2006-03-18 11:26                       ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).