Kbase 17409: tracecnv fails to generate stacktrace on Unisys 1.4.x
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/05/1998 |
|
tracecnv fails to generate stacktrace on Unisys 1.4.x
The $DLC/bin/tracecnv script which is used to translate core dump
information into Progress executable calls is incorrect in V7.3E on
the Unisys 1.4.x Platform. Typically this script is run against core
dump files to produce a readable stacktrace for further analysis on
a problem. The following should be used in replace of the existing
$DLC/bin/tracecnv script file. This change will take affect in the
next release.
------- $DLC/bin/tracecnv ---- cut here -------
#!/bin/sh
# Used on INTEL based machine to convert a trace.pid file into a
# readable stack trace.
#
: ${1?"Syntax: $0 <executable> <trace-file>"}
: ${2?"Syntax: $0 <executable> <trace-file>"}
EXE_FILE=$1
TRACE_FILE=$2
NM_FILE=tmp.$$
# create the nm file sorted with 2 columns
nm -xhv $EXE_FILE | grep FUNC | cut -f2,8 -d'|' | sed -e 's/|/ /' >
$NM_FILE
trc $NM_FILE $TRACE_FILE
rm -f $NM_FILE
----- $DLC/bin/tracecnv ----- cut here -------
11/18/97
Progress Software Technical Support Note # 17409