arm_gdbserver.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <sys/types.h>
#include <setjmp.h>
#include <errno.h>
#include <poll.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <unistd.h>
#include <signal.h>
#include <sys/wait.h>
#include <ctype.h>
#include <sysexits.h>
#include <fcntl.h>
#include "dbg_msg.h"
#include "arm_gdb.h"
#include "arm_gdbstub.h"
#include "jt_arm.h"
#include "jt_tap.h"
#include "jt_io.h"

Defines

Functions

Variables


Detailed Description


Define Documentation

#define DO_NOT_CREATE_IO_FUNCTIONS
#define INADDR_LOOPBACK   (uint32_t)0x7F000001

Referenced by main(), and parseParameter().

#define VERSION_STRING   "beta snapshot 2010-02-15\n"

Referenced by parseParameter().

#define COPYRIGHT_NOTICE_STRING

Referenced by parseParameter().


Function Documentation

static void arm_gdbserver_usage ( void   )  [static]

show usage

Returns:
-

Referenced by main(), and parseParameter().

static void parseParameter ( int  argc,
char *  argv[] 
) [static]

parse the option parameter and set the global variables

Parameters:
argc argument counter
argv argument vector
Returns:
-

References arm_gdbserver_usage(), BUFMAX, CFG_FLYSWATTER, CFG_JTAGKEY, CFG_NON, CFG_OLIMEX, CFG_OOCDLINK, CFG_OOCDUSBJTAG, CFG_SIGNALYZER, CFG_SRST_PUSH_PULL, CFG_STM32STICK, CFG_STR9COMSTICK, CFG_TRST_PUSH_PULL, CFG_TURTEL, COPYRIGHT_NOTICE_STRING, DBG_LEVEL_GDB_ARM_ERROR, DBG_LEVEL_GDB_ARM_INFO, DBG_LEVEL_GDB_ARM_INFO_LOW, DBG_LEVEL_GDB_ARM_WARN, DBG_LEVEL_JTAG_ARM, DBG_LEVEL_JTAG_ARM_LOW, DBG_LEVEL_JTAG_ICERT, DBG_LEVEL_JTAG_ICERT_LOW, DBG_LEVEL_JTAG_INSTR, DBG_LEVEL_JTAG_TAP, dbg_msg_msk, dbgPrintf(), DRIVER_ALTERA_BYTEBLASTER, DRIVER_AMONTEC_EPP_ACCELERATOR, DRIVER_LATTICE_ISPDLC, DRIVER_OCDEMON_WIGGLER, DRIVER_OLIMEX_MSP430, DRIVER_TINKER_BDM, DRIVER_TINKER_LEVEL_SHIFTER, DRIVER_TINKER_LONGO, DRIVER_USB_FTDI, DRIVER_USB_JLINK, DRIVER_XILINX_DLC, driverId, FLASH_BASE_def, flashBase, force_rawIoTest, gdb_monitor_Rcmd(), host, INADDR_LOOPBACK, MORE_VERBOSE, NO_DRIVER, port_base, RAM_BASE_def, ramBase, TEST_JTAG_ARM_EMU, TEST_JTAG_FLASH_READ, TEST_JTAG_GETID, TEST_JTAG_MODIFY_CPU_REG, TEST_JTAG_MODIFY_ICE, TEST_JTAG_RAM_PROGRAM, TEST_JTAG_RAM_READ, TEST_JTAG_RAM_WRITE, TEST_JTAG_RELEASE, TEST_JTAG_SHOWREGS, TEST_JTAG_START_STEPS, TEST_JTAG_THUMB_EMU, testLevel, verbose, and VERSION_STRING.

Referenced by main().

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

uint16_t port = 0 [static]
uint32_t host = 0 [static]

Referenced by main(), and parseParameter().

int force_rawIoTest = 0 [static]

Referenced by main(), and parseParameter().

enum DriverId driverId = NO_DRIVER [static]

Referenced by main(), and parseParameter().

uint32_t testLevel = 0 [static]

Referenced by main(), and parseParameter().

char* cfgPathname = NULL

This file is part of the documentation for JTAG-GDB Server for ARM .

Generated on Mon Feb 15 21:23:21 2010 by doxygen 1.6.2.