Page MenuHomeFreeBSD

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

Authored by arichardson on Nov 11 2020, 12:33 PM.
Tags
None
Referenced Files
F150837854: D27177.id80026.diff
Sat, Apr 4, 9:54 AM
Unknown Object (File)
Mon, Mar 30, 3:48 PM
Unknown Object (File)
Fri, Mar 27, 4:29 AM
Unknown Object (File)
Sun, Mar 22, 4:37 PM
Unknown Object (File)
Sun, Mar 22, 1:39 PM
Unknown Object (File)
Sun, Mar 22, 11:03 AM
Unknown Object (File)
Sun, Mar 22, 4:47 AM
Unknown Object (File)
Thu, Mar 19, 10:42 AM
Subscribers

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
Lint Not Applicable
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.