* rs6000-tdep.c (rs6000_frame_this_id): If info->base is 0,
return the null frame ID to terminate the backtrace.
This commit is contained in:
parent
e551b91b02
commit
5b19791236
|
@ -1,3 +1,8 @@
|
||||||
|
2008-05-03 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
|
* rs6000-tdep.c (rs6000_frame_this_id): If info->base is 0,
|
||||||
|
return the null frame ID to terminate the backtrace.
|
||||||
|
|
||||||
2008-05-03 Ulrich Weigand <uweigand@de.ibm.com>
|
2008-05-03 Ulrich Weigand <uweigand@de.ibm.com>
|
||||||
|
|
||||||
* rs6000-tdep.c: Do not include "rs6000-tdep.h".
|
* rs6000-tdep.c: Do not include "rs6000-tdep.h".
|
||||||
|
|
|
@ -2550,6 +2550,10 @@ rs6000_frame_this_id (struct frame_info *this_frame, void **this_cache,
|
||||||
{
|
{
|
||||||
struct rs6000_frame_cache *info = rs6000_frame_cache (this_frame,
|
struct rs6000_frame_cache *info = rs6000_frame_cache (this_frame,
|
||||||
this_cache);
|
this_cache);
|
||||||
|
/* This marks the outermost frame. */
|
||||||
|
if (info->base == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
(*this_id) = frame_id_build (info->base, get_frame_func (this_frame));
|
(*this_id) = frame_id_build (info->base, get_frame_func (this_frame));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue