#include <stdio.h>
#include <stdint.h>
#include <errno.h>
#include <unistd.h>
#include <stdarg.h>
#include "dbg_msg.h"
void dbgPrintf | ( | uint32_t | dbg_level, | |
char * | fmt, | |||
... | ||||
) |
Printf alike function to print debug messages at server side stdout.
dbg_level | bitmap of requested debug level | |
fmt,... | printf format |
References dbg_msg_msk.
Referenced by activateMemMap(), AMD_2x_AM29F080B(), AMD_2x_AM29LV040B(), AMD_2x_AM29LV400BB(), AMD_2x_AM29LV400BT(), AMD_2x_AM29LV640D(), AMD_2x_AM29LV800BB(), AMD_2x_AM29LV800BT(), AMD_4x_AM29F080B(), AMD_4x_AM29LV040B(), AMD_4x_AM29LV400BB(), AMD_4x_AM29LV400BT(), AMD_4x_AM29LV800BB(), AMD_4x_AM29LV800BT(), AMD_AM29F080B(), AMD_AM29LV040B(), AMD_AM29LV400BB(), AMD_AM29LV400BT(), AMD_AM29LV640D(), AMD_AM29LV800BB(), AMD_AM29LV800BT(), ATMEL_2x_AT49LV1604A(), ATMEL_2x_AT49LV1604AT(), ATMEL_2x_AT49LV4096A(), ATMEL_4x_AT49LV1604A(), ATMEL_4x_AT49LV1604AT(), ATMEL_AT49LV1604A(), ATMEL_AT49LV1604AT(), ATMEL_AT49LV4096A(), ATMEL_AT91SAM7S128(), ATMEL_AT91SAM7S16(), ATMEL_AT91SAM7S256(), ATMEL_AT91SAM7S32(), ATMEL_AT91SAM7S512(), ATMEL_AT91SAM7S64(), atmelFlashClearGPNVM(), atmelFlashErase(), atmelFlashEraseAndProgram(), atmelFlashLock(), atmelFlashProgramOnly(), atmelFlashSetGPNVM(), atmelFlashUnlock(), changeWorkSpaceMode(), checkActionNext(), checkFlashCB_read_sector(), detectFlash(), doCmdSequence(), eraseFlashCB_sector(), ftdiBlinkStopCB(), gdb_action_continue(), gdb_action_step(), gdb_check_memory_block(), gdb_dcc_dummy(), gdb_flash_auto_programming(), gdb_handle_exception(), gdb_handle_fake_continue(), gdb_load_configfile(), gdb_main_loop(), gdb_monitor_Rcmd(), gdb_Q_query(), gdb_query(), gdb_query_rcmd(), gdb_query_symbol(), gdb_rcmd_console_output(), gdb_read_data_from_console(), gdb_read_mem(), gdb_vquery(), gdb_write_data_to_console(), gdb_write_mem(), gdb_writeback_memory_block(), gdb_writeback_Ram(), gdb_writeback_RamWorkspace(), gdbLookupArmInstr(), gdbLookupThumbInstr(), gdbSetupJtagTarget_Breakpoint(), getDebugChar(), getpacket(), InsertBreakpoint(), INTEL_28F004B3_B(), INTEL_28F004B3_T(), INTEL_28F008B3_B(), INTEL_28F008B3_T(), INTEL_28F016B3_B(), INTEL_28F016B3_T(), INTEL_28F128J3(), INTEL_28F160B3_B(), INTEL_28F160B3_T(), INTEL_28F256J3(), INTEL_28F320B3_B(), INTEL_28F320B3_T(), INTEL_28F320J3(), INTEL_28F400B3_B(), INTEL_28F400B3_T(), INTEL_28F640B3_B(), INTEL_28F640B3_T(), INTEL_28F640J3(), INTEL_28F800B3_B(), INTEL_28F800B3_T(), INTEL_2x_28F004B3_B(), INTEL_2x_28F004B3_T(), INTEL_2x_28F008B3_B(), INTEL_2x_28F008B3_T(), INTEL_2x_28F016B3_B(), INTEL_2x_28F016B3_T(), INTEL_2x_28F128J3(), INTEL_2x_28F256J3(), INTEL_2x_28F320J3(), INTEL_2x_28F640J3(), INTEL_4x_28F128J3(), INTEL_4x_28F256J3(), INTEL_4x_28F320J3(), INTEL_4x_28F640J3(), is_workspace_big_enough(), jlinkGetStatus(), jlinkGetVersion(), jt_amdflashEraseSectorHalfword(), jt_amdflashGetInfoByte(), jt_amdflashGetInfoHalfword(), jt_amdflashGetInfoWord(), jt_amdflashProgByte_faster(), jt_amdflashProgHalfword_faster(), jt_amdflashProgWord_faster(), jt_atmelflashGetInfo(), jt_flash_create_sector_info(), jt_info_idcode(), jt_intelflashGetInfoByte(), jt_intelflashGetInfoHalfword(), jt_philipsflashGetInfo(), jt_stflashGetInfo(), jt_stm32f10xflashEraseSector(), jt_stm32f10xOptionByteflashProgHalfword(), jt_str91xflash_EraseSector(), jt_str91xflash_ReadSector(), jt_str91xflash_SectorBlankCheck(), jt_str91xflash_WriteSector(), jtag_arm720_CP15_FlushCache(), jtag_arm720_CP15_ReadFCSEpidReg(), jtag_arm720_CP15_ReadMMUcontrolReg(), jtag_arm720_CP15_ReadTTB(), jtag_arm720_CP15_WriteMMUcontrolReg(), jtag_arm720_CP15_WriteTTB(), jtag_arm720_CP15DataExchange(), jtag_arm720_CP15InstrReg(), jtag_arm7_ReadByte(), jtag_arm7_ReadCP15Info(), jtag_arm7_ReadHalfword(), jtag_arm7_ReadWord(), jtag_arm7_ReadWordMemory(), jtag_arm7_Step(), jtag_arm920_CP15_CleanDcache(), jtag_arm920_CP15_DrainWriteBuffer(), jtag_arm920_CP15_InvalidateICache(), jtag_arm920_CP15_InvalidateTLB(), jtag_arm920_CP15_ReadDTTB(), jtag_arm920_CP15_ReadITTB(), jtag_arm920_CP15Interpret(), jtag_arm920_CP15PhysRegRead(), jtag_arm920_CP15PhysRegWrite(), jtag_arm926_CP15_CleanDcache(), jtag_arm926_CP15_ReadTTB(), jtag_arm926_CP15RegRead(), jtag_arm926_CP15RegWrite(), jtag_arm966_CP15_ReadFCSEpidReg(), jtag_arm966_CP15_ReadTCMcontrolReg(), jtag_arm966_CP15_WriteTCMcontrolReg(), jtag_arm966_CP15RegRead(), jtag_arm966_CP15RegWrite(), jtag_arm9_ReadByte(), jtag_arm9_ReadCP15Info(), jtag_arm9_ReadCpuRegs(), jtag_arm9_ReadHalfword(), jtag_arm9_ReadWord(), jtag_arm9_ReadWordMemory(), jtag_arm9_Step(), jtag_arm_chain1_sysspeed_restart(), jtag_arm_ClearAnyBreakPoint(), jtag_arm_enterMonitorMode(), jtag_arm_iceRT_PollDbgState(), jtag_arm_IceRT_PutAnyBreakPoint(), jtag_arm_IceRT_PutHWBreakPoint0(), jtag_arm_IceRT_PutHWBreakPoint1(), jtag_arm_IceRT_PutSWBreakPoint0(), jtag_arm_IceRT_PutSWBreakPoint1(), jtag_arm_IceRT_PutWatchPoint0(), jtag_arm_IceRT_PutWatchPoint1(), jtag_arm_IceRT_RegRead(), jtag_arm_IceRT_RegRead_Once(), jtag_arm_IceRT_RegWrite(), jtag_arm_IceRT_version(), jtag_arm_Mointor2DebugMode(), jtag_arm_PrepareExitDebug(), jtag_arm_ReadByte(), jtag_arm_ReadCP15Info(), jtag_arm_ReadCpuRegs(), jtag_arm_ReadHalfword(), jtag_arm_ReadWord(), jtag_arm_ReadWordMemory(), jtag_arm_ResynchStep(), jtag_arm_RunProgram(), jtag_arm_Step(), jtag_arm_WriteByte(), jtag_arm_WriteHalfword(), jtag_arm_WriteMemoryBuf(), jtag_arm_WriteWord(), jtag_cortex_AHB_ReadWordMemory(), jtag_cortex_AHB_WriteMemoryBuf(), jtag_cortex_apacc_RegRead(), jtag_cortex_apacc_RegWrite(), jtag_cortex_core_ApplicationInterruptResetControl_ReadRegister(), jtag_cortex_core_ApplicationInterruptResetControl_WriteRegister(), jtag_cortex_core_disable_Intr(), jtag_cortex_core_enable_Intr(), jtag_cortex_core_PollDbgState(), jtag_cortex_core_ReadCpuRegs(), jtag_cortex_core_restart(), jtag_cortex_core_StopRunningProgram(), jtag_cortex_core_WriteCpuRegs(), jtag_cortex_dpacc_RegRead(), jtag_cortex_dpacc_RegWrite(), jtag_cortex_dwt_comp_RegRead(), jtag_cortex_dwt_comp_RegWrite(), jtag_cortex_dwt_function_RegRead(), jtag_cortex_dwt_function_RegWrite(), jtag_cortex_dwt_mask_RegRead(), jtag_cortex_dwt_mask_RegWrite(), jtag_cortex_dwt_PutWatchPoint(), jtag_cortex_fpb_comp_RegRead(), jtag_cortex_fpb_comp_RegWrite(), jtag_cortex_fpb_PutHWBreakPoint(), jtag_cortex_PrepareLeaveDebugHalt(), jtag_cotrex_DpStat_RegRead(), jtag_identify_devices(), jtag_test(), libusbReadData(), main(), memCleanUpCB(), parseParameter(), PHILIPS_128K(), PHILIPS_256K(), philipsFlashEraseAllUnlocked(), philipsFlashLock(), philipsFlashProgram(), philipsFlashUnlock(), printmemMapCB_info(), prog_flash_amd16(), prog_flash_amd32(), prog_flash_amd8(), programFlashCB_write_sector(), RemoveAllBreakpoints(), RemoveBreakpoint(), STM32_HI_DENSE_PROG_MEM(), STM32_LOW_DENSE_PROG_MEM(), STM32_MED_DENSE_PROG_MEM(), STM32_OPTION_MEM(), stm32f10xOptionByteflashEraseSector(), stm32FlashErase(), stm32FlashProgram(), STM_2x_M29F400BB(), STM_2x_M29F400BT(), STM_2x_M29W400DB(), STM_2x_M29W400DT(), STM_2x_M29W800DB(), STM_2x_M29W800DT(), STM_4x_M29W400DB(), STM_4x_M29W400DT(), STM_4x_M29W800DB(), STM_4x_M29W800DT(), STM_M29F400BB(), STM_M29F400BT(), STM_M29W400DB(), STM_M29W400DT(), STM_M29W800DB(), STM_M29W800DT(), STR7_DATA_MEM_16K(), STR7_PROG_MEM_128K(), STR7_PROG_MEM_256K(), str7FlashErase(), str7FlashProgram(), STR9_DATA_MEM_32K(), STR9_PROG_MEM_256K(), STR9_PROG_MEM_512K(), str9FlashErase(), str9FlashProgram(), tap_data_usb_ftdi(), tap_discover_chain_usb_ftdi(), tap_discover_chain_usb_jlink(), tap_init_usb_ftdi(), tap_init_usb_jlink(), tap_instr_usb_ftdi(), tap_start(), tap_stop(), tap_usb_io_ftdi_cb(), tap_usb_io_jlink_cb(), transactionCreate(), updateMemMap(), useWorkspace(), and verifyFlashCB_read_sector().
enum VerboseLevel verbose = LESS_VERBOSE |
Referenced by gdb_flash_auto_programming(), gdb_monitor_Rcmd(), main(), and parseParameter().
uint32_t dbg_msg_msk = 0 |
Referenced by dbgPrintf(), gdb_monitor_Rcmd(), main(), and parseParameter().