This is the mail archive of the gdb@sourceware.org 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]

Remote logging over regular remote protocol


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


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