qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: bahadir balban <bbalban@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH] Remove the default "nowait" option from gdb stubs tcp connection
Date: Tue, 09 Jun 2009 21:28:22 +0200	[thread overview]
Message-ID: <4A2EB7D6.4020202@web.de> (raw)
In-Reply-To: <7c85e0b50906091158k5d9443b5p756d9798f2a86f04@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]

bahadir balban wrote:
> On Tue, Jun 9, 2009 at 4:43 PM, Jan Kiszka<jan.kiszka@siemens.com> wrote:
>> The patch is wrong as Paul stated, but your remark about the
>> documentation is valid. So please post a clarifying doc patch against
>> qemu.git.
>>
>> Thanks,
>> Jan
>>
> 
> Hmm, OK. Is there any use case where -s is used without -S? GDB
> connecting at an arbitrary time during execution did not make sense to
> me. If I created a small patch with "nowait" as an option would you
> consider it? Most tcp connection options seem to have it.

No, -s makes a lot of sense (just like the corresponding gdbserver
monitor command): You can simply attach to the machine (in system
emulation) or application (in user mode) on demand, when you reached an
interesting point, when something went wrong, when the guest simply
locked up etc.

> 
> As per the docs, -S requires user to press 'c' to continue whereas
> with a waiting -s I can use a .gdbinit script to automate debugging.

Nothing prevents you from adding 'c' to your .gdbinit script, right
after the 'tar re :1234'.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]

      reply	other threads:[~2009-06-09 19:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-09 13:12 [Qemu-devel] [PATCH] Remove the default "nowait" option from gdb stubs tcp connection bahadir balban
2009-06-09 13:30 ` Paul Brook
2009-06-09 13:43 ` [Qemu-devel] " Jan Kiszka
2009-06-09 18:58   ` bahadir balban
2009-06-09 19:28     ` Jan Kiszka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A2EB7D6.4020202@web.de \
    --to=jan.kiszka@web.de \
    --cc=bbalban@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).