This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: examining remote core dumps; MT support for attach;


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.


nak26, do you have an FSF assignment?

Andrew


>> I saw a PREPARE_TO_PROCEED patch beeing mentioned in some of the posts. In
>> which cases it heeds to be applied?

>
>You'll probably never hit it unless you manually use the "thread"
>command to switch threads and then single-step the new thread.


In case I need it, where can I get it from?


The list archives.

-- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]