public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* RE: examining remote core dumps; MT support for attach;
@ 2003-06-12 20:18 nak26
  2003-06-12 20:41 ` Kevin Buettner
  0 siblings, 1 reply; 13+ messages in thread
From: nak26 @ 2003-06-12 20:18 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: drow, gdb

>> 1. Is it possible to examine a core file on a remote machine, in the cases,
>> where fetching the core is undesirable due to the thinness of the pipe.
>
>This is not supported.

Can anybody think of another way of doing that (not involving gdbserver)?

--Nik

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: examining remote core dumps; MT support for attach;
@ 2003-06-13 14:18 nak26
  0 siblings, 0 replies; 13+ messages in thread
From: nak26 @ 2003-06-13 14:18 UTC (permalink / raw)
  To: Andrew Cagney; +Cc: gdb

>
>nak26, do you have an FSF assignment?
>
>Andrew
>

No...don't know what that means either
Cheers,
--Nik

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: examining remote core dumps; MT support for attach;
@ 2003-06-12 21:17 nak26
  2003-06-13 13:19 ` Daniel Jacobowitz
  0 siblings, 1 reply; 13+ messages in thread
From: nak26 @ 2003-06-12 21:17 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

>> 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"?

>> 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?

Thanks,
--Nik

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: examining remote core dumps; MT support for attach;
@ 2003-06-12 21:02 nak26
  0 siblings, 0 replies; 13+ messages in thread
From: nak26 @ 2003-06-12 21:02 UTC (permalink / raw)
  To: Daniel Jacobowitz, Kevin Buettner; +Cc: drow, gdb

>===== Original Message From Kevin Buettner <kevinb@redhat.com> =====
>On Jun 12,  4:17pm, nak26 wrote:
>
>> >> 1. Is it possible to examine a core file on a remote machine, in the 
cases,
>> >> where fetching the core is undesirable due to the thinness of the pipe.
>> >
>> >This is not supported.
>>
>> Can anybody think of another way of doing that (not involving gdbserver)?
>
>Either copy the file to the host or use some sort of remote filesystem
>mount (e.g. NFS) to get at the core file.
>
>I have a feeling that this isn't exactly what you wanted to hear though...
>
>Kevin

Copying is not desirable. Cross-mounting is an option.

Thanks,
--Nik

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: examining remote core dumps; MT support for attach;
@ 2003-06-12 21:01 nak26
  2003-06-12 21:08 ` Daniel Jacobowitz
  0 siblings, 1 reply; 13+ messages in thread
From: nak26 @ 2003-06-12 21:01 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: drow, gdb

>>> 1. Is it possible to examine a core file on a remote machine, in the 
cases,
>> where fetching the core is undesirable due to the thinness of the pipe.
>
>This is not supported.

How hard would it be to add support for that? I can give it a try, but would 
need some guidance...

>> 2. Does the gdbserver that comes with gdb5.3 work with multithreaded apps, 
or
>> it needs to be additionally patched?
>
>It should work.

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

Thanks,
--Nik

^ permalink raw reply	[flat|nested] 13+ messages in thread
* examining remote core dumps; MT support for attach;
@ 2003-06-12 20:03 nak26
  2003-06-12 20:11 ` Daniel Jacobowitz
  0 siblings, 1 reply; 13+ messages in thread
From: nak26 @ 2003-06-12 20:03 UTC (permalink / raw)
  To: gdb; +Cc: drow

Hi:

I have a few questions. Your 2cents would be greatly appreciated.

1. Is it possible to examine a core file on a remote machine, in the cases, 
where fetching the core is undesirable due to the thinness of the pipe.

2. Does the gdbserver that comes with gdb5.3 work with multithreaded apps, or 
it needs to be additionally patched?

3. Is there a patch that allows attaching a gdbserver to a multi threaded 
process?

Thanks,
--Nik

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-06-13 15:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-12 20:18 examining remote core dumps; MT support for attach; nak26
2003-06-12 20:41 ` Kevin Buettner
  -- strict thread matches above, loose matches on Subject: below --
2003-06-13 14:18 nak26
2003-06-12 21:17 nak26
2003-06-13 13:19 ` Daniel Jacobowitz
2003-06-13 13:31   ` Andrew Cagney
2003-06-13 13:39     ` Daniel Jacobowitz
2003-06-13 15:48       ` Andrew Cagney
2003-06-12 21:02 nak26
2003-06-12 21:01 nak26
2003-06-12 21:08 ` Daniel Jacobowitz
2003-06-12 20:03 nak26
2003-06-12 20:11 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).