OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/tags/gnu-src/gdb-6.8/pre-binutils-2.20.1-sync/gdb/testsuite/gdb.hp/gdb.objdbg/tools
    from Rev 157 to Rev 223
    Reverse comparison

Rev 157 → Rev 223

/symaddr
0,0 → 1,8
#!/bin/ksh
 
# Get the address of a symbol in Hex.
# $1 = object/executable file name
# $2 = symbol name
${srcdir}/gdb.hp/tools/odump -sym "$1" | grep "$2"$ | awk '{print $1}'
 
exit 0
symaddr Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: test-objdbg.cc =================================================================== --- test-objdbg.cc (nonexistent) +++ test-objdbg.cc (revision 223) @@ -0,0 +1,4 @@ +int main() +{ + return 0; +} Index: symaddr.pa64 =================================================================== --- symaddr.pa64 (nonexistent) +++ symaddr.pa64 (revision 223) @@ -0,0 +1,8 @@ +#!/bin/ksh + +# Get the address of a symbol in Hex. +# $1 = object/executable file name +# $2 = symbol name +/usr/ccs/bin/elfdump -t +s .symtab "$1" | grep "$2"$ | awk '{print $6}' + +exit 0
symaddr.pa64 Property changes : Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.