GSymLookup Class Reference

Lookup the file/line information for an instruction pointer value. More...

#include <GSymLookup.h>

Inherited by GAppPrivate.

List of all members.

Public Member Functions

bool Lookup (char *buf, int buflen, Addr *Ip, int IpLen)
int BackTrace (int Epb, int Eip, Addr *addr, int len)
 Gets the current stack.
bool Lookup (char *buf, int buflen, Addr *Ip, int IpLen)
int BackTrace (long Eip, long Ebp, Addr *buffer, int max_frames)
 Gets the current stack.


Detailed Description

Lookup the file/line information for an instruction pointer value.

Member Function Documentation

bool GSymLookup::Lookup ( char *  buf,
int  buflen,
Addr *  Ip,
int  IpLen 
) [inline]

Looks up the file and line related to an instruction pointer address

Returns:
non zero on success
Parameters:
buf  The return string buffer
buflen  The buffer's length
Ip  The addresses
IpLen  Numbers of addresses

References GStringPipe::NewStr(), and GProcess::Run().

bool GSymLookup::Lookup ( char *  buf,
int  buflen,
Addr *  Ip,
int  IpLen 
) [inline]

Looks up the file and line related to an instruction pointer address

Returns:
non zero on success
Parameters:
buf  The return string buffer
buflen  The buffer's length
Ip  The address
IpLen  The number of addresses passed


The documentation for this class was generated from the following files:

Generated on Wed Dec 1 15:41:04 2010 for Lgi by  doxygen 1.5.7.1