This is the mail archive of the gdb@sources.redhat.com 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] |
Mark Kettenis wrote:
Because it is expected, that fi will contain a valid frame info when this function returns. But you're right, that line doesn't need to be there, because cfi_pop_frame() is called from:The following bit of code surprises me a bit: /* Restore the machine to the state it had before the current frame was created. */ void cfi_pop_frame (struct frame_info *fi) { char regbuf[MAX_REGISTER_RAW_SIZE]; int regnum; fi = get_current_frame (); ... } Why does it override FI with the current frame?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |