On Fri, Jun 13, 2003 at 09:31:23AM -0400, Andrew Cagney wrote:
>On Thu, Jun 12, 2003 at 05:17:03PM -0400, nak26 wrote:
>
>>>> How hard would it be to add support for that? I can give it a try, but
>
>>would
>
>>>> need some guidance...
>
>>>
>>>I have no idea how you would do it. You'd have to transfer essentially
>>>the same info anyway. Or port gdbserver to have a "core file" target
>>>but I don't know how well that would work.
>
>>
>>What do you mean by "Or port gdbserver to have a "core file" target
>>but I don't know how well that would work"?
>
>
>Allow gdbserver to read from a core file instead of a running process.
>It would be tricky; you'll have to figure out how to do it yourself.
There was a suggestion made that GDB could manipulate files on the
remote system (mainly to get at /proc/auxv). Such a mechanism would
also address the core file problem.
This is a reasonable idea, but I think our current remote protocol is
not quite up to the task. Let's keep it on the list along with
multiple channels (for I/O) and file upload/download...