This is the mail archive of the gdb-patches@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]

Re: Do not unwind frames past NULL PC


On Fri, 22 Feb 2008, Daniel Jacobowitz wrote:

> Similar changes have been proposed several times, but were controversial.
> 
>   http://sourceware.org/ml/gdb-patches/2006-05/msg00196.html
>   http://sourceware.org/ml/gdb-patches/2006-07/msg00296.html
> 
> and more recently:
> 
>   http://sourceware.org/ml/gdb-patches/2007-12/msg00004.html

 Hmm, it looks it has been discussed deeply and fiercely enough for me not 
to dare question the outcome (or the lack of), but given the situation 
wouldn't it be reasonable to place a comment within the code of this 
function stating that outermost frame determination has been deliberately 
omitted so that cases like stack corruption are easier for people to 
debug?

  Maciej


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