Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23431
b: refs/heads/master
c: 604bf5a
h: refs/heads/master
i:
  23429: 542c633
  23427: 926bb82
  23423: ffd4903
v: v3
  • Loading branch information
Jan Beulich authored and Linus Torvalds committed Mar 24, 2006
1 parent 7d7d772 commit 06868df
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ab7efcc97ebc92e03c0474dfd38f9c7b84b84115
refs/heads/master: 604bf5a216e7f2d97cdf62614ca1281921531040
4 changes: 4 additions & 0 deletions trunk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,10 @@ else
CFLAGS += -fomit-frame-pointer
endif

ifdef CONFIG_UNWIND_INFO
CFLAGS += -fasynchronous-unwind-tables
endif

ifdef CONFIG_DEBUG_INFO
CFLAGS += -g
endif
Expand Down
11 changes: 11 additions & 0 deletions trunk/lib/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,17 @@ config FRAME_POINTER
some architectures or if you use external debuggers.
If you don't debug the kernel, you can say N.

config UNWIND_INFO
bool "Compile the kernel with frame unwind information"
depends on !IA64
depends on !MODULES || !(MIPS || PARISC || PPC || SUPERH || SPARC64 || V850)
default DEBUG_KERNEL
help
If you say Y here the resulting kernel image will be slightly larger
but not slower, and it will give very useful debugging information.
If you don't debug the kernel, you can say N, but we may not be able
to solve problems without frame unwind information or frame pointers.

config FORCED_INLINING
bool "Force gcc to inline functions marked 'inline'"
depends on DEBUG_KERNEL
Expand Down

0 comments on commit 06868df

Please sign in to comment.