Adds error checking on BPatch_variableExpr::read/writeValue so that these
authorjaw <jaw>
Fri, 2 Apr 2004 06:34:07 +0000 (06:34 +0000)
committerjaw <jaw>
Fri, 2 Apr 2004 06:34:07 +0000 (06:34 +0000)
commit4322603c84066b1773fecfce36ab0085b3543e18
treedb30685f7a69d768c361c65e2adcdbd2a8521572
parent862074c7ec1f7da690d322d3c91c36cbf402672e
Adds error checking on BPatch_variableExpr::read/writeValue so that these
methods can only be used when the variableExpr is a global variable.

Adds a default error reporting function, installed during BPatch_init.
Changes a bunch of printf's to use the internal error reporting mechanism.
63 files changed:
dyninstAPI/h/BPatch_snippet.h
dyninstAPI/src/BPatch.C
dyninstAPI/src/BPatch_basicBlock.C
dyninstAPI/src/BPatch_collections.C
dyninstAPI/src/BPatch_flowGraph.C
dyninstAPI/src/BPatch_function.C
dyninstAPI/src/BPatch_image.C
dyninstAPI/src/BPatch_init.C
dyninstAPI/src/BPatch_module.C
dyninstAPI/src/BPatch_snippet.C
dyninstAPI/src/BPatch_thread.C
dyninstAPI/src/BPatch_type.C
dyninstAPI/src/InstrucIter-mips.C
dyninstAPI/src/InstrucIter-power.C
dyninstAPI/src/LineInformation.C
dyninstAPI/src/Object-coff.C
dyninstAPI/src/Object-elf.C
dyninstAPI/src/Object-xcoff.C
dyninstAPI/src/addLibrary.C
dyninstAPI/src/addLibraryLinux.C
dyninstAPI/src/aix-ptrace.C
dyninstAPI/src/aix.C
dyninstAPI/src/aixDL.C
dyninstAPI/src/aixMT.C
dyninstAPI/src/api_showerror.C
dyninstAPI/src/arch-ia32.C
dyninstAPI/src/arch-ia64.C
dyninstAPI/src/arch-x86.C
dyninstAPI/src/ast.C
dyninstAPI/src/dyn_lwp.C
dyninstAPI/src/inst-alpha.C
dyninstAPI/src/inst-mips.C
dyninstAPI/src/inst-power.C
dyninstAPI/src/inst-sparc-solaris.C
dyninstAPI/src/inst-sparc.C
dyninstAPI/src/inst-x86.C
dyninstAPI/src/inst.C
dyninstAPI/src/irix.C
dyninstAPI/src/linux-ia64.C
dyninstAPI/src/linux-x86.C
dyninstAPI/src/linux.C
dyninstAPI/src/linuxDL.C
dyninstAPI/src/linuxMT.C
dyninstAPI/src/osf.C
dyninstAPI/src/osfDL.C
dyninstAPI/src/parseCoff.C
dyninstAPI/src/parseDwarf.C
dyninstAPI/src/parseStab.C
dyninstAPI/src/process.C
dyninstAPI/src/process.h
dyninstAPI/src/procfs.C
dyninstAPI/src/rpcMgr-thr.C
dyninstAPI/src/rpcMgr.C
dyninstAPI/src/saveSharedLibrary.C
dyninstAPI/src/sol_proc.C
dyninstAPI/src/solarisDL.C
dyninstAPI/src/symtab.C
dyninstAPI/src/syscall-solproc.C
dyninstAPI/src/unix.C
dyninstAPI/src/util.C
dyninstAPI/src/util.h
dyninstAPI/src/writeBackElf.C
dyninstAPI/src/writeBackXCOFF.C