From: Vladimir Prus <ghost@cs.msu.su>
To: gdb@sources.redhat.com
Subject: MI: full file name
Date: Mon, 21 Nov 2005 14:44:00 -0000 [thread overview]
Message-ID: <dlsm4t$jhv$1@sea.gmane.org> (raw)
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
next reply other threads:[~2005-11-21 14:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-21 14:44 Vladimir Prus [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='dlsm4t$jhv$1@sea.gmane.org' \
--to=ghost@cs.msu.su \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox