Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
gdbstub.c File Reference
#include <linux/kernel.h>
#include <linux/kgdb.h>
#include <linux/kdb.h>
#include <linux/reboot.h>
#include <linux/uaccess.h>
#include <asm/cacheflush.h>
#include <asm/unaligned.h>
#include "debug_core.h"

Go to the source code of this file.


#define BUF_THREAD_ID_SIZE   8


void gdbstub_msg_write (const char *s, int len)
charkgdb_mem2hex (char *mem, char *buf, int count)
int kgdb_hex2mem (char *buf, char *mem, int count)
int kgdb_hex2long (char **ptr, unsigned long *long_val)
int gdb_serial_stub (struct kgdb_state *ks)
int gdbstub_state (struct kgdb_state *ks, char *cmd)
void gdbstub_exit (int status)

Macro Definition Documentation

#define BUF_THREAD_ID_SIZE   8

Definition at line 404 of file gdbstub.c.


Definition at line 40 of file gdbstub.c.

Function Documentation

int gdb_serial_stub ( struct kgdb_state ks)

Definition at line 939 of file gdbstub.c.

void gdbstub_exit ( int  status)

gdbstub_exit - Send an exit message to GDB : The exit code to report.

Definition at line 1109 of file gdbstub.c.

void gdbstub_msg_write ( const char s,
int  len 

Definition at line 196 of file gdbstub.c.

int gdbstub_state ( struct kgdb_state ks,
char cmd 

Definition at line 1077 of file gdbstub.c.

int kgdb_hex2long ( char **  ptr,
unsigned long long_val 

Definition at line 291 of file gdbstub.c.

int kgdb_hex2mem ( char buf,
char mem,
int  count 

Definition at line 266 of file gdbstub.c.

char* kgdb_mem2hex ( char mem,
char buf,
int  count 

Definition at line 237 of file gdbstub.c.