#!/bin/sh
file=${1:-${TEVWH_TMP}/magic_elf/magic_elf}
func=$( src/evil_magic/first_gdb_func.sed \
	< ${TEVWH_OUT}/magic_elf/gdb )

${TEVWH_PATH_ECHO} "[func=${func}]"
src/magic_elf/gdb_core.sh ${file} ${func} \
| src/magic_elf/gdb_format.sh
