summaryrefslogtreecommitdiff
path: root/src/arch/x86/exception.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/exception.c')
-rw-r--r--src/arch/x86/exception.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/arch/x86/exception.c b/src/arch/x86/exception.c
index 958ebfc41c..f10c7bf8ba 100644
--- a/src/arch/x86/exception.c
+++ b/src/arch/x86/exception.c
@@ -180,8 +180,6 @@ static uint32_t gdb_stub_registers[NUM_REGS];
#define GDB_EXC_SOFTWARE 149 /* Software generated exception */
#define GDB_EXC_BREAKPOINT 150 /* Breakpoint */
-
-
static unsigned char exception_to_signal[] = {
[0] = GDB_SIGFPE, /* divide by zero */
[1] = GDB_SIGTRAP, /* debug exception */
@@ -222,7 +220,6 @@ static const char hexchars[] = "0123456789abcdef";
static char in_buffer[BUFMAX];
static char out_buffer[BUFMAX];
-
static inline void stub_putc(int ch)
{
gdb_tx_byte(ch);
@@ -283,7 +280,6 @@ static void copy_to_hex(char *buf, void *addr, unsigned long count)
*buf = 0;
}
-
/* convert the hex array pointed to by buf into binary to be placed in mem */
/* return a pointer to the character AFTER the last byte written */
static void copy_from_hex(void *addr, char *buf, unsigned long count)
@@ -298,7 +294,6 @@ static void copy_from_hex(void *addr, char *buf, unsigned long count)
}
}
-
/* scan for the sequence $<data>#<checksum> */
static int get_packet(char *buffer)