projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
import gdb-1999-08-16 snapshot
[external/binutils.git]
/
gdb
/
testsuite
/
gdb.hp
/
gdb.objdbg
/
tools
/
symaddr
1
#!/bin/ksh
2
3
# Get the address of a symbol in Hex.
4
# $1 = object/executable file name
5
# $2 = symbol name
6
${srcdir}/gdb.hp/tools/odump -sym "$1" | grep "$2"$ | awk '{print $1}'
7
8
exit 0