/[gxemul]/trunk/src/debugger/debugger_gdb.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/debugger/debugger_gdb.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 25 by dpavlin, Mon Oct 8 16:19:56 2007 UTC revision 26 by dpavlin, Mon Oct 8 16:20:10 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: debugger_gdb.c,v 1.11 2006/04/08 16:47:18 debug Exp $   *  $Id: debugger_gdb.c,v 1.12 2006/06/24 19:52:28 debug Exp $
29   *   *
30   *  Routines used for communicating with the GNU debugger, using the GDB   *  Routines used for communicating with the GNU debugger, using the GDB
31   *  remote serial protocol.   *  remote serial protocol.
# Line 41  Line 41 
41  #include <unistd.h>  #include <unistd.h>
42    
43  #include "cpu.h"  #include "cpu.h"
44    #include "debugger.h"
45  #include "debugger_gdb.h"  #include "debugger_gdb.h"
46  #include "machine.h"  #include "machine.h"
47  #include "memory.h"  #include "memory.h"
# Line 222  int debugger_gdb__check_incoming_char(st Line 223  int debugger_gdb__check_incoming_char(st
223                          machine->gdb.rx_buf_checksum = 0x00;                          machine->gdb.rx_buf_checksum = 0x00;
224                  } else if (ch == 0x03) {                  } else if (ch == 0x03) {
225                          fatal("[ GDB break ]\n");                          fatal("[ GDB break ]\n");
226                          single_step = 1;                          single_step = ENTER_SINGLE_STEPPING;
227                          ch = '+';                          ch = '+';
228                          write(machine->gdb.socket, &ch, 1);                          write(machine->gdb.socket, &ch, 1);
229                          send_packet(machine, "S02");                          send_packet(machine, "S02");

Legend:
Removed from v.25  
changed lines
  Added in v.26

  ViewVC Help
Powered by ViewVC 1.1.26