----- Original Message -----
> Hello,
>
>  However, I really want the line number of my function that the error
> is occurring in, but I can't find it.
> 
> $ valgrind --tool=memcheck --trace-children=yes ./myApp
> (myApp top secret output omitted)

[snip]

> Unfortunately, on that last line starting with "by 0x7EED1D", the
> line
> appears to be truncated before the line number in the file is
> specified.
> 
> Is there a way to increase the buffer or whatever so that this line
> is
> not truncated?

Hi

Usually when there is a limit, there's a way to change the limit. I think that 
it's here

static void printIpDesc(UInt n, Addr ip, void* uu_opaque)
{
   #define BUF_LEN   4096

   static UChar buf[BUF_LEN];

in

 coregrind/m_stacktrace.c

Download the Valgrind source, modify BUF_LEN to something larger, build 
Valgrind and see if it works.

A+
Paul

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to