|
From: Alessandro B. <a.b...@ev...> - 2010-08-12 09:29:02
|
Thanks for help. With the debug message actives I see the .sdata and .sbss sections are listed in my ELF file but have 0 size. This cause an exit of read_elf_debug_info() function in coregrind/m_debuginfo/readelf.c file. I don't understand this. If section is mentioned but size is 0 the function exits with error code doesn't skip it and continues to check the other. Make this skip valgrind works in my ppc board. Thanks again. On 12/08/2010 11:22, WAROQUIERS Philippe wrote: > >> From: Julian Seward [mailto:js...@ac...] >> You can also send output to a network socket (eg, >> --log-socket=127.0.0.1:1500) >> and have the valgrind-listener program listen on the socket. This is >> really really useful (at least I think so :-) but nobody seems to know >> it exists. >> >> J >> > Effectively, having a way to avoid mixing VG output with program output > is > interesting. > I replicated this idea as part of the gdbserver patch: I have hooked up > on the "log output sink" to allow gdb to display the VG output. > > However, the output_log_sink does not work for debug. > From what I can see, VG_(debugLog) always goes to stderr. > > Philippe > > > ____ > > This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. > > Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy. > > Any views expressed in this message are those of the sender. > |