|
From: <ar...@de...> - 2003-11-18 01:39:35
|
Upgrade to the new valgrind version (1:2.0.0-3) of debian. Thanks. Per von Zweigbergk <pvz@e.kth.se> writes: > Hi. > > Trying to get valgrind to attach to GDB at run-time -- which > fails. I'm suspecting i need to specify the string "gdb" somewhere for > it to find gdb -- since runnin 'gdb -nw /proc/13594/exe 13594' does > what I want it to. > > > Log follows: > > pvz@tanya:~/src/tvtime-0.9.11/src$ valgrind --skin=memcheck > --gdb-attach=yes ./tvtime > ==13594== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux. > ==13594== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward. > ==13594== Using valgrind-20031012, a program supervision framework for > x86-linux. > ==13594== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward. > ==13594== Estimated CPU clock rate is 1207 MHz > ==13594== For more details, rerun with: -v > ==13594== > Kör tvtime 0.9.11. > ==13594== Conditional jump or move depends on uninitialised value(s) > ==13594== at 0x40008ABA: _dl_relocate_object_internal (in > /lib/ld-2.3.2.so) > ==13594== by 0x406B1CF0: (within /lib/libc-2.3.2.so) > ==13594== by 0x4000B115: _dl_catch_error_internal (in /lib/ld-2.3.2.so) > ==13594== by 0x406B1F5B: _dl_open (in /lib/libc-2.3.2.so) > ==13594== > ==13594== ---- Attach to GDB ? --- [Return/N/n/Y/y/C/c] ---- y > ==13594== starting GDB with cmd: -nw /proc/13594/exe 13594 > /bin/sh: line 1: -nw: command not found > ==13594== > ==13594== GDB has detached. Valgrind regains control. We continue. > ==13594== > ==13594== Conditional jump or move depends on uninitialised value(s) > ==13594== at 0x40008B05: _dl_relocate_object_internal (in > /lib/ld-2.3.2.so) > ==13594== by 0x406B1CF0: (within /lib/libc-2.3.2.so) > ==13594== by 0x4000B115: _dl_catch_error_internal (in /lib/ld-2.3.2.so) > ==13594== by 0x406B1F5B: _dl_open (in /lib/libc-2.3.2.so) > ==13594== > ==13594== ---- Attach to GDB ? --- [Return/N/n/Y/y/C/c] ---- > > > > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your computer from > any Web browser or wireless device. Click here to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users -- Andres Roldan Fluidsignal Group <ar...@fl...> The Debian Project <ar...@de...> GIGAX <ar...@gi...> GPG Key-ID 0xB29396EB Home Page http://people.fluidsignal.com/~aroldan |