From: Bogdan Harjoc <harjoc@gmail.com>
To: gdb@sourceware.org
Subject: Remote logging over regular remote protocol
Date: Wed, 19 May 2010 09:33:00 -0000 [thread overview]
Message-ID: <AANLkTinNMmjTyMC91JSqkVmDeOSnA1riYJyWxgTeXZhk@mail.gmail.com> (raw)
Hello,
Do remote stubs have the ability to send logging messages to the gdb console ?
I am trying to debug a Darwin target and seeing the dmesg (or similar)
output would
be useful. The stub Darwin uses for gdb works over ethernet and I
can't figure out
how to direct the dmesg output to the host I'm debugging from (there
is no serial
port either since it's a Mac, so no serial console as far as I can tell).
The "Remote serial protocol" manual section suggests notification packets would
be usable for this, but "Stop: reply" is the only such packet type listed.
Has someone already done this ? Or am looking at it the wrong way ? Syslog's
remote capabilities seem overkill here.
Thanks,
Bogdan
next reply other threads:[~2010-05-19 9:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-19 9:33 Bogdan Harjoc [this message]
2010-05-19 15:11 ` Pedro Alves
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=AANLkTinNMmjTyMC91JSqkVmDeOSnA1riYJyWxgTeXZhk@mail.gmail.com \
--to=harjoc@gmail.com \
--cc=gdb@sourceware.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