From 9d91db0e182b96a3ad81be5a896a85f2fb4f6c2c Mon Sep 17 00:00:00 2001 From: koinec <> Date: Thu, 25 Feb 2010 11:57:56 +0000 Subject: [PATCH] *** empty log message *** --- deamon/Makefile | 6 ++++++ deamon/drd64_debugd_dispatch.c | 5 +++++ deamon/drd64_marshald_cmd_attach_report.c | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/deamon/Makefile b/deamon/Makefile index 42b33d2..51e8c48 100644 --- a/deamon/Makefile +++ b/deamon/Makefile @@ -72,6 +72,7 @@ DEBUGD_OBJS = drd64_debugd_main.o \ drd64_debugd_dispatch.o \ drd64_debugd_send_cmd_bootinfo.o \ drd64_debugd_cmd_attach_link.o \ + drd64_debugd_cmd_attach_report.o \ drd64_common_function.o \ drd64_debugd_debug_attach.o \ drd64_debugd_debug_detach.o \ @@ -131,6 +132,11 @@ drd64_debugd_cmd_attach_link.o: \ $(CC) -c -o drd64_debugd_cmd_attach_link.o $(FLAGS_DEBUG) \ drd64_debugd_cmd_attach_link.c +drd64_debugd_cmd_attach_report.o: \ + drd64_debugd_cmd_attach_report.c $(DEBUGD_HEADER) + $(CC) -c -o drd64_debugd_cmd_attach_report.o $(FLAGS_DEBUG) \ + drd64_debugd_cmd_attach_report.c + drd64_debugd_debug_attach.o: drd64_debugd_debug_attach.c $(DEBUGD_HEADER) $(CC) -c -o drd64_debugd_debug_attach.o $(FLAGS_DEBUG) \ drd64_debugd_debug_attach.c diff --git a/deamon/drd64_debugd_dispatch.c b/deamon/drd64_debugd_dispatch.c index f1c64ef..b728515 100644 --- a/deamon/drd64_debugd_dispatch.c +++ b/deamon/drd64_debugd_dispatch.c @@ -123,6 +123,11 @@ int i_result = Drd64_Debugd_Cmd_AttachLink( i_recv_id, p_phead, pv_data, p_debugd ); } + /* CMD: Attach Report -----------------------------*/ + else if( DRD64_COMMAND_ATTACH_REPORT == p_phead->dw_command ) { + i_result = Drd64_Debugd_Cmd_AttachReport( + i_recv_id, p_phead, pv_data, p_debugd ); + } /* CMD: No Support Command ------------------------*/ else { diff --git a/deamon/drd64_marshald_cmd_attach_report.c b/deamon/drd64_marshald_cmd_attach_report.c index 6e42a32..4ed9c0a 100644 --- a/deamon/drd64_marshald_cmd_attach_report.c +++ b/deamon/drd64_marshald_cmd_attach_report.c @@ -68,7 +68,7 @@ int p_cinfo->i_debugd_socket = p_cinfo_debugd->i_dest_socket; - p_phead->w_packettype = DRD64_PACKETTYPE_INDICATE; + p_phead->w_packettype |= DRD64_PACKETTYPE_OPTION_INDICATE; p_phead->i_cid_client = p_phead->i_cid_dest; p_phead->i_cid_dest = DRD64_CONNECTID_NONE; p_phead->i_cid_src = p_cinfo_debugd->i_cinfo_id; -- 2.11.0