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] |
And this is exactly the reason why things are done the way they are done. People should accept that the unwinder can fail, and we should provide a way to indicate this. There are many ways in which an unwinder can fail and they're not always detectable. One very important scemario is where your program is thrashing the stack, overwriting the return address. We absulutely need to provide the user some indication that something is wrong. Currently this is the extra frame we're printing.
Our goal shouldn't be nicer looking backtraces. It should be providing the user with all information needed to fix bugs in their programs. Your patch is removing such a bit of information, and therefore unacceptable to me. Sorry :(.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |