OSDN Git Service

* public snapshot of sid simulator
[pf3gnuchains/pf3gnuchains3x.git] / sid / component / gdb / gdbserv-output.h
1 /*
2  * gdbserv-output.h -- part of GDB remote server.
3  *
4  * Copyright (C) 2000 Red Hat.
5  * This file is part of SID and is licensed under the GPL.
6  * See the file COPYING.SID for conditions for redistribution.
7  */
8
9 struct gdbserv_output {
10   
11   /* serial data */
12   int len;
13   char buf[2048];
14   /* additional space incase the checksum overflows the buf */
15   char padding_for_checksum[3];
16 };
17
18 void gdbserv_output_attach (struct gdbserv *gdbserv);
19 void gdbserv_output_detach (struct gdbserv *gdbserv);
20
21 void gdbserv_output_packet (struct gdbserv *gdbserv);
22 void gdbserv_output_discard (struct gdbserv *gdbserv);