passing an integer argument to find_pc_line.
* frame.h, blockframe.c, stack.c, a29k-tdep.c,
config/gould/tmp-{pn,np1}.h,
config/{sparc/tm-sparc.h,pyr/tm-pyr.h,vax/tm-vax.h}: Remove field
next_frame from struct frame_info. It has no purpose beyond
->next->frame and is an artifact from GDB 2.8.
return;
}
- sal = find_pc_line (fi->pc, fi->next);
+ sal = find_pc_line (fi->pc, fi->next != NULL);
func = find_pc_function (fi->pc);
if (func)
{
error ("Invalid frame specified.");
fi = get_frame_info (frame);
- sal = find_pc_line (fi->pc, fi->next);
+ sal = find_pc_line (fi->pc, fi->next != NULL);
func = get_frame_function (frame);
s = find_pc_symtab(fi->pc);
if (func)