|
From: Matthias S. <zz...@ge...> - 2015-04-01 10:37:43
|
Hi! Sometimes I want to write a core-dump of the current status when I am in gdb attached to valgrind. But the gdb-command gcore does not work with vgdb. Does anyone know if it is possible to support this in a gdb remote agent? I did not get the full answer by looking in google. I found something about implementing access to proc-filesystem (or files in general) but I am not yet sure if this is the solution. Else I propose to add a monitor command to trigger the already implemented core-dump writing of valgrind. My experimental patch adds a monitor command "v.do core". It can be called multiple times and will just write multiple coredumps vgcore.PID.NO Does gdbserver know about the currently selected thread in gdb? I will post this patch the next days. Regards Matthias |