Home | History | Annotate | Download | only in gdb-remote

Lines Matching refs:log

19 #include "lldb/Core/Log.h"
105 GDBRemoteCommunication::History::Dump (lldb_private::Log *log) const
107 if (log && !m_dumped_to_log)
119 log->Printf ("history[%u] tid=0x%4.4" PRIx64 " <%4u> %s packet: %s",
174 Log *log (ProcessGDBRemoteLog::GetLogIfAllCategoriesSet (GDBR_LOG_PACKETS));
178 if (log)
179 log->Printf ("<%4zu> send packet: %c", bytes_written, ch);
187 Log *log (ProcessGDBRemoteLog::GetLogIfAllCategoriesSet (GDBR_LOG_PACKETS));
191 if (log)
192 log->Printf ("<%4zu> send packet: %c", bytes_written, ch);
216 Log *log (ProcessGDBRemoteLog::GetLogIfAllCategoriesSet (GDBR_LOG_PACKETS));
219 if (log)
222 // we have to the log so we get the historical context. The Dump() call that
226 m_history.Dump (log);
228 log->Printf ("<%4zu> send packet: %.*s", bytes_written, (int)packet.GetSize(), packet.GetData());
240 if (log)
241 log->Printf("get ack failed...");
248 if (log)
249 log->Printf ("error: failed to send packet: %.*s", (int)packet.GetSize(), packet.GetData());
288 Log *log (ProcessGDBRemoteLog::GetLogIfAllCategoriesSet (GDBR_LOG_PACKETS | GDBR_LOG_VERBOSE));
300 if (log)
301 log->Printf ("%s: Read (buffer, (sizeof(buffer), timeout_usec = 0x%x, status = %s, error = %s) => bytes_read = %" PRIu64,
343 Log *log (ProcessGDBRemoteLog::GetLogIfAllCategoriesSet (GDBR_LOG_PACKETS));
347 if (log && log->GetVerbose())
350 log->Printf ("GDBRemoteCommunication::%s adding %u bytes: %.*s",
428 if (log)
429 log->Printf ("GDBRemoteCommunication::%s tossing %u junk bytes: '%.*s'",
453 if (log)
456 // we have to the log so we get the historical context. The Dump() call that
460 m_history.Dump (log);
462 log->Printf ("<%4zu> read packet: %.*s", total_length, (int)(total_length), m_bytes.c_str());
483 if (log)
484 log->Printf ("error: checksum mismatch: %.*s expected 0x%2.2x, got 0x%2.2x",
500 if (log)
501 log->Printf ("error: invalid checksum in packet: '%s'\n", m_bytes.c_str());
584 ::snprintf (arg_cstr, sizeof(arg_cstr), "--log-file=%s", env_debugserver_log_file);
591 ::snprintf (arg_cstr, sizeof(arg_cstr), "--log-flags=%s", env_debugserver_log_flags);
594 // debugserver_args.AppendArgument("--log-file=/tmp/debugserver.txt");
595 // debugserver_args.AppendArgument("--log-flags=0x802e0e");