This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]