[Bug cli/22573] New: "finish" doesn't respect "set print pretty"

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug cli/22573] New: "finish" doesn't respect "set print pretty"

rootedjoy833 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22573

            Bug ID: 22573
           Summary: "finish" doesn't respect "set print pretty"
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

I "finished" from a function that returned a structure and got:

Value returned is $10 = (0x7fffe45a98c8,
rustc_trans::debuginfo::metadata::MemberDescriptionFactory::VariantMDF(rustc_trans::debuginfo::metadata::VariantMemberDescriptionFactory
{offsets: alloc::vec::Vec<rustc::ty::layout::Size> {buf:
alloc::raw_vec::RawVec<rustc::ty::layout::Size, alloc::heap::Heap> {ptr:
core::ptr::Unique<rustc::ty::layout::Size> {pointer:
core::nonzero::NonZero<*const rustc::ty::layout::Size> (0x7fffe43b2b10),
_marker: core::marker::PhantomData<rustc::ty::layout::Size>}, cap: 2, a:
alloc::heap::Heap}, len: 2}, args: alloc::vec::Vec<(alloc::string::String,
&rustc::ty::TyS)> {buf: alloc::raw_vec::RawVec<(alloc::string::String,
&rustc::ty::TyS), alloc::heap::Heap> {ptr:
core::ptr::Unique<(alloc::string::String, &rustc::ty::TyS)> {pointer:
core::nonzero::NonZero<*const (alloc::string::String, &rustc::ty::TyS)>
(0x7fffe4bbaa90), _marker: core::marker::PhantomData<(alloc::string::String,
&rustc::ty::TyS)>}, cap: 2, a: alloc::heap::Heap}, len: 2}, span:
syntax_pos::span_encoding::Span (71170)}))

That's all on one line.
I expected it to respect "set print pretty", but it did not.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug cli/22573] "finish" doesn't respect "set print pretty"

rootedjoy833 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22573

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |good-first-bug

--
You are receiving this mail because:
You are on the CC list for the bug.