Sync usage with man page.
[netbsd-mini2440.git] / gnu / dist / gdb6 / gdb / testsuite / gdb.hp / gdb.objdbg / tools / symaddr
blob032bb9fdd7e087f36299ebf52451609ecdd6c29a
1 #!/bin/ksh
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}'
8 exit 0