remote_gdb.hh (12449:2260f4a68210) | remote_gdb.hh (13470:8f620b550448) |
---|---|
1/* 2 * Copyright 2015 LabWare 3 * Copyright 2014 Google, Inc. 4 * Copyright (c) 2002-2005 The Regents of The University of Michigan 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are --- 157 unchanged lines hidden (view full) --- 166 167 // The socket commands come in through. 168 int fd; 169 170 // Transfer data to/from GDB. 171 uint8_t getbyte(); 172 void putbyte(uint8_t b); 173 | 1/* 2 * Copyright 2015 LabWare 3 * Copyright 2014 Google, Inc. 4 * Copyright (c) 2002-2005 The Regents of The University of Michigan 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are --- 157 unchanged lines hidden (view full) --- 166 167 // The socket commands come in through. 168 int fd; 169 170 // Transfer data to/from GDB. 171 uint8_t getbyte(); 172 void putbyte(uint8_t b); 173 |
174 int recv(char *data, int len); | 174 void recv(std::vector<char> &bp); |
175 void send(const char *data); 176 177 /* 178 * Simulator side debugger state. 179 */ 180 bool active; 181 bool attached; 182 --- 121 unchanged lines hidden --- | 175 void send(const char *data); 176 177 /* 178 * Simulator side debugger state. 179 */ 180 bool active; 181 bool attached; 182 --- 121 unchanged lines hidden --- |