Page MenuHomeFreeBSD

Pass 0 to __builtin_frame_address() to appease modern GCC.
ClosedPublic

Authored by jhb on Nov 28 2019, 8:35 PM.
Tags
None
Referenced Files
F137014953: D22600.id65190.diff
Thu, Nov 20, 11:55 PM
F137013309: D22600.id65024.diff
Thu, Nov 20, 11:50 PM
F137013300: D22600.id.diff
Thu, Nov 20, 11:50 PM
F137011528: D22600.diff
Thu, Nov 20, 11:45 PM
Unknown Object (File)
Wed, Nov 12, 3:30 AM
Unknown Object (File)
Tue, Nov 11, 6:43 PM
Unknown Object (File)
Sun, Nov 2, 1:35 AM
Unknown Object (File)
Thu, Oct 30, 12:34 PM
Subscribers

Details

Summary

Modern versions of GCC warn about passing non-zero values to
__builtin_frame_address(). Passing 1 is a cosmetic change to
remove the db_trace_self() frame from the printed stack trace.

Test Plan
  • lets sparc64 GENERIC build with GCC 6.x.
  • compile tested only, not run tested

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable