diff options
author | Pedro Alves <palves@redhat.com> | 2013-11-28 15:44:58 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-11-28 17:35:28 +0000 |
commit | 5de51581685123bedd8160aec9a660e85e7a8b73 (patch) | |
tree | d823c0fa811e4344a6c38139a575a6948f9414c7 /include/aout/host.h | |
parent | 739cb10c0ecd53524e937f1d52518a8eebc3d359 (diff) | |
download | gdb-5de51581685123bedd8160aec9a660e85e7a8b73.zip gdb-5de51581685123bedd8160aec9a660e85e7a8b73.tar.gz gdb-5de51581685123bedd8160aec9a660e85e7a8b73.tar.bz2 |
get_prev_frame, UNWIND_NULL_ID -> UNWIND_OUTERMOST
- The UNWIND_NULL_ID check in get_prev_frame_1 used to really be
against null_frame_id, back before we had outer_frame_id. We didn't
have UNWIND_OUTERMOST when outer_frame_id was added, but we do now,
and it's more accurate.
- It used to be necessary to check for the sentinel frame explicitly
because that uses null_frame_id for frame id. Since no other frame
can have that id nowadays (it's asserted by compute_frame_id), we
don't need that explicit check.
Tested on x86_64 Fedora 17.
gdb/
2013-11-28 Pedro Alves <palves@redhat.com>
* frame.c (get_prev_frame_1): If the frame id is outer_frame_id,
set the unwind stop reason to UNWIND_OUTERMOST, not
UNWIND_NULL_ID. Remove explicit check for sentinel frame.
Diffstat (limited to 'include/aout/host.h')
0 files changed, 0 insertions, 0 deletions