Page MenuHomeFreeBSD

Add .cfi_{start,end}proc for RISC-V assembly functions
ClosedPublic

Authored by arichardson on Nov 11 2020, 12:33 PM.

Details

Summary

This allows GDB to print more useful backtraces when setting a breakpoint
on an assembly function.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

arichardson created this revision.
This revision is now accepted and ready to land.Nov 16 2020, 11:47 PM

We should probably do something similar for arm/mips/i386/ppc. (Of course, I am a hypocrite here; I did the same for only amd64 in rS353959.)

In D27177#611740, @cem wrote:

We should probably do something similar for arm/mips/i386/ppc. (Of course, I am a hypocrite here; I did the same for only amd64 in rS353959.)

See D27088 for mips.