Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* MI: full file name
@ 2005-11-21 14:44 Vladimir Prus
  2005-11-21 14:46 ` Bob Rossi
  0 siblings, 1 reply; 12+ messages in thread
From: Vladimir Prus @ 2005-11-21 14:44 UTC (permalink / raw)
  To: gdb


Hi,
I'm using gdb 6.3 and it seems like in MI mode, there's no way to get full
name of a source file on stop. Consider this session:

   $ gdb a.out -fullname
   ....
   (gdb) set annotate 1
   (gdb) interpreter mi "-exec-run"
   ^running
   (gdb)
   Hi
   *stopped,reason="breakpoint-hit",bkptno="1",thread-id="0",
    frame={addr="0x08048470",func="main",args=[],file="a.cpp",line="7"}
   (gdb)
   (gdb) r
   The program being debugged has been started already.
   Start it from the beginning? (y or n) y
   Starting program: /tmp/a.out
   Hi

   Breakpoint 1, main () at a.cpp:7
   б▒б▒/tmp/a.cpp:7:54:beg:0x8048470

As you see, in console mode, full name of the file is printed. In MI mode, I
see just "a.cpp". 

1. Can I get full file name in MI output somehow?
2. If not, any chance this will be fixed?

Thanks,
Volodya




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

end of thread, other threads:[~2005-12-23  7:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-21 14:44 MI: full file name Vladimir Prus
2005-11-21 14:46 ` Bob Rossi
2005-11-21 14:53   ` Vladimir Prus
2005-11-21 14:55     ` Bob Rossi
2005-11-21 15:07       ` Daniel Jacobowitz
2005-11-22  8:01         ` Anon CVS (Was: MI: full file name) Vladimir Prus
2005-11-22 12:10           ` Bob Rossi
2005-11-22 12:19             ` Vladimir Prus
2005-11-22 12:47               ` Andreas Schwab
2005-11-23 13:53   ` MI: full file name Vladimir Prus
2005-11-23 14:53     ` Daniel Jacobowitz
     [not found]     ` <7f89a3ea0512221820u4512e691x59d20442123d3086@mail.gmail.com>
2005-12-23  7:09       ` Vladimir Prus

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