[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CONFIG_FRAME_POINTER



Please cc: me, I am not on this list.

http://linux.bkbits.net:8080/linux-2.4/cset@xxxxxxx.html|ChangeSet@-2d
adds a standard and architect independent method of building the kernel
with or without frame pointers, it will be in 2.4.19.

arch/cris/Makefile contains
  ifdef CONFIG_ETRAX_KGDB
  CFLAGS := $(subst -fomit-frame-pointer,,$(CFLAGS)) -g
  CFLAGS += -fno-omit-frame-pointer
  endif

Once the above patch goes in, remove the references to frame-pointer
from arch/cris/Makefile and change arch/cris/config.in to

  bool 'Use kernel gdb debugger' CONFIG_ETRAX_KGDB
  if [ "$CONFIG_ETRAX_KGDB" = "y" ]; then
    define_bool CONFIG_FRAME_POINTER y
  fi  

Also review #ifdef CONFIG_ETRAX_KGDB to see if any should be testing
CONFIG_FRAME_POINTER instead.