This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug mi/21469] New: -gdb-show and data-directory
- From: "dilyan.palauzov at aegee dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Sun, 07 May 2017 15:39:14 +0000
- Subject: [Bug mi/21469] New: -gdb-show and data-directory
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21469
Bug ID: 21469
Summary: -gdb-show and data-directory
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: mi
Assignee: unassigned at sourceware dot org
Reporter: dilyan.palauzov at aegee dot org
Target Milestone: ---
echo "-gdb-show data" | gdb --interpreter=mi and
echo "-gdb-show data-directory" | gdb --interpreter=mi both print:
=thread-group-added,id="i1"
(gdb)
^done
(gdb)
How to get data-directory using mi?
This does not work contrary to my expectations:
gdb --interpreter=mi -ex "-gdb-show"
I think interpreter-exec called from CLI shall always disable pagination, as in
gdb -ex "interpreter-exec mi -gdb-show" .
--
You are receiving this mail because:
You are on the CC list for the bug.