public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug mi/21469] -gdb-show and data-directory
[not found] <bug-21469-4717@http.sourceware.org/bugzilla/>
@ 2022-01-09 2:51 ` tromey at sourceware dot org
2022-01-09 7:34 ` dilyan.palauzov at aegee dot org
1 sibling, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2022-01-09 2:51 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=21469
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to dilyan.palauzov@aegee.org from comment #0)
Normally you should file separate bugs for each thing.
> 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)
>
This one works for me now.
(gdb) interpreter-exec mi "-gdb-show data-directory"
^done,value="/usr/share/gdb"
> This does not work contrary to my expectations:
> gdb --interpreter=mi -ex "-gdb-show"
Yeah, seems to treat this as a CLI command
> I think interpreter-exec called from CLI shall always disable pagination, as
> in gdb -ex "interpreter-exec mi -gdb-show" .
This one is unclear to me. Maybe you're testing the command
interactively and would like the pager.
Nowadays you can run:
with pagination off -- command
Or even stick a "server" prefix on there as well.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug mi/21469] -gdb-show and data-directory
[not found] <bug-21469-4717@http.sourceware.org/bugzilla/>
2022-01-09 2:51 ` [Bug mi/21469] -gdb-show and data-directory tromey at sourceware dot org
@ 2022-01-09 7:34 ` dilyan.palauzov at aegee dot org
1 sibling, 0 replies; 2+ messages in thread
From: dilyan.palauzov at aegee dot org @ 2022-01-09 7:34 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=21469
--- Comment #2 from dilyan.palauzov at aegee dot org <dilyan.palauzov at aegee dot org> ---
> This one is unclear to me.
I do not remember what I had in mind four years ago.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-09 7:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-21469-4717@http.sourceware.org/bugzilla/>
2022-01-09 2:51 ` [Bug mi/21469] -gdb-show and data-directory tromey at sourceware dot org
2022-01-09 7:34 ` dilyan.palauzov at aegee dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).