[Bug mi/21469] New: -gdb-show and data-directory

dilyan.palauzov at aegee dot org sourceware-bugzilla@sourceware.org
Sun May 7 15:39:00 GMT 2017


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.


More information about the Gdb-prs mailing list