bug-hello
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Identifying Memory Leaks using GDB


From: Shinto Thomas
Subject: Identifying Memory Leaks using GDB
Date: Tue, 21 May 2013 00:05:05 +1000

Hi Guys,

Please help me to understand why the below command has failed with the
error "*gdb: unrecognized option `-leaks'.*
Is there any package missing?
------------------------------------------------------------------------
gdb -leaks -threads -command=gdb.params -pid=1507
*gdb: unrecognized option `-leaks'*
Use `gdb --help' for a complete list of options.
-------------------------------------------------------------------------

Please find my gdb version details below:
gdb -v
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-37.el5)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".

Regards,
Shinto Thomas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]