]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r242943: Do not unwind past a zero PC frame.
authoremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 11 Dec 2012 12:58:27 +0000 (12:58 +0000)
committeremaste <emaste@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 11 Dec 2012 12:58:27 +0000 (12:58 +0000)
commitb56eb74226bf9c73660ff189ee36109d1b74393e
treef49e1c45b7366d16e94e059a19d6ed2640b9e4cb
parent629d80b5bbac429563b1753b9bd7a138a5628119
MFC r242943: Do not unwind past a zero PC frame.

  This improves GDB usability when debugging code compiled with
  optimization.

  Upstream GDB revision f0031b6d3ae9b164b3747986ab898190bd4dcf8c (prior
  to GDB's switch to GPLv3), with frame_debug_got_null_frame expanded
  inline.

  | 2004-12-12  Andrew Cagney  <cagney@gnu.org>
  |
  | * frame.c (get_prev_frame): When unwinding normal frames, check
  | that the PC isn't zero.

Sponsored by: ADARA Networks

git-svn-id: svn://svn.freebsd.org/base/stable/8@244119 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/gdb/gdb/frame.c