Re: Command to break before exiting stack frame?

Simon Marchi <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On 2019-03-16 20:00, Andreas Schwab wrote:
> On Mär 16 2019, Justin Paston-Cooper <[email protected]> wrote:
> 
>> I can't imagine that I am the first person to suggest or request this. 
>> Are
>> there any architectural or practical reasons as to why this is might 
>> be
>> difficult?
> 
> There may not even be a place where the frame is exited in the current
> function due to tail call.  Also, inline literal pools or jump tables
> can result in false positives when searching for return insns.
> 
> Andreas.

I suppose that the list of all function exit points (regardless of 
whether it is a jump or real return) is an information that the compiler 
could theoretically produce and encode in the DWARF information?

Simon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.