source: tags/ms_r16q3/SOURCE_TOOLS/show_globals.sh

Last change on this file was 3744, checked in by westram, 19 years ago
  • shows globals in all libs
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 277 bytes
Line 
1#!/bin/bash
2
3show_globals() {
4    if [ \! -z $1 ]; then
5        DIR=`dirname $1`
6        echo $DIR:0: list of globals in $1
7        nm -C --defined-only $1 | grep '^[0-9a-f]* [^brdtTWV]'
8        shift
9        show_globals $*
10    fi
11}
12
13show_globals `find $ARBHOME -name "*.a"`
14
Note: See TracBrowser for help on using the repository browser.