Code Search for Developers
 
 
  

gdbserv-output.h from Gdb at Krugle


Show gdbserv-output.h syntax highlighted

/* gdbserv-output.h

   Copyright 1998, 2002 Red Hat, Inc.

   This file is part of RDA, the Red Hat Debug Agent (and library).

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.
   
   Alternative licenses for RDA may be arranged by contacting Red Hat,
   Inc.  */

#ifdef __cplusplus
extern "C" {
#elif 0
}
#endif

struct gdbserv;

struct gdbserv_output {
  
  /* serial data */
  int len;
  char buf[2048];
  /* additional space incase the checksum overflows the buf */
  char padding_for_checksum[3];
};

void gdbserv_output_attach (struct gdbserv *gdbserv);
void gdbserv_output_detach (struct gdbserv *gdbserv);

void gdbserv_output_packet (struct gdbserv *gdbserv);
void gdbserv_output_discard (struct gdbserv *gdbserv);

#ifdef __cplusplus
}
#endif




See more files for this project here

Gdb

GDB, the GNU Project debugger, allows you to see what is going on `inside' another program while it executes -- or what another program was doing at the moment it crashed.

Project homepage: http://sources.redhat.com/gdb/
Programming language(s): Assembly,C,C++,Expect
License: other

  gdblog.h
  gdbloop.h
  gdbsched.h
  gdbserv-client.h
  gdbserv-input.h
  gdbserv-log.h
  gdbserv-output.h
  gdbserv-target.h
  gdbserv-utils.h
  gdbserv.h
  gdbsocket.h
  stdio-log.h