public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug backtrace/28534] New: frame registers not fully recovered
@ 2021-11-03 14:30 plasmahh at gmx dot net
  0 siblings, 0 replies; only message in thread
From: plasmahh at gmx dot net @ 2021-11-03 14:30 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=28534

            Bug ID: 28534
           Summary: frame registers not fully recovered
           Product: gdb
           Version: HEAD
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: backtrace
          Assignee: unassigned at sourceware dot org
          Reporter: plasmahh at gmx dot net
  Target Milestone: ---

Created attachment 13754
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13754&action=edit
testcase to compile

Tried with dac784d0e4c today.

I am not sure if I am expecting too much from gdb here, or doing something
wrong with compiling, but I think this has been working in the past, so please
bear with me.

Compiling the attached testcase with g++ -ggdb3 and then running it, waiting
for the abort, then climbing up the stack and examining rdx I would expect gdb
to be able to recover the value for it (since it can see the 3rd parameters to
the function(s) which are passed in rdx). But instead I see 6 for the argument
to the syscall.

If this is wrong expectation and gdb never did this then maybe see it as a
feature request (at least manually its not too hard and I'm trying to do it
semi automatically in python which isn't perfect but also not terrible, given I
know the calling conventions at that point)

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-03 14:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-03 14:30 [Bug backtrace/28534] New: frame registers not fully recovered plasmahh at gmx dot net

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).