Skip to main content
  • 产品
  • Evaluate our Software
  • 下载
  • Free Utilities
  • 购买
  • 支持
  • 关于我们
  • Search
    • Contact Us
    • Forum
    • Knowledge Base
    • Newsletter
    • RSS
  •   工作机会
  •   视频
  •   永续性
  • J-Link debug probes
  • About J-Link GDB Server
  • Technology
  • Accessories
  • Tools
  • Models

J-Link GDB Server
The remote server for GDB

The J-Link GDB Server is a remote server for the GDB which allows to use J-Link with GDB or any toolchain which uses GDB as debugging interface, such as Yagarto and Sourcery G++.

The GDB and GDB Server communicate via a TCP/IP connection, using the standard GDB remote serial protocol.

Contact us
Downloads
Documentation
SEGGER Debug & Trace Probes
  1. 1.Overview
  2. 2.Licensing
  3. 3.System requirements
  4. 4.GNU Project Debugger (GDB) Overview
  5. 5.Supported Cores
  6. 6.J-Link GDB Server
  7. 7.Setting up the J-Link GDB Server by Versions

Overview

The GDB supports a standard set of commands like open elf/bin files, reading/writing memory, etc. Beside this, the GDB also supports so called monitor commands which are passed to the GDB Server and interpreted by it, allowing it to implement J-Link specific commands like reading/writing CP15 registers, enabling flash download via J-Link, using Unlimited Flash Breakpoints, enabling semihosting, etc.

Licensing

The J-Link GDB Server is part of the J-Link Software and Documentation Package and is available in a GUI or command-line version. The software package is free for any J-Link or J-Trace device and can be downloaded here:

DownloadJ-Link Software and Documentation Pack

System requirements

Supported OS
WindowsMicrosoft Windows (x86/x64)
macOSmacOS (x86/Apple Silicon)
LinuxLinux (x86/x64/Arm)

GNU Project Debugger (GDB) Overview

The GNU Project Debugger (GDB) is a freely available debugger, distributed under the terms of the GNU Public license (GPL). It connects to an emulator via a TCP/IP connection. It can connect to every emulator for which a GDB server software is available. The latest Unix version of the GDB is freely available from the GNU committee under: http://www.gnu.org/software/gdb/download/

Availability: J-Link GDB Server comes with multi-platform support and is available for Windows, Linux and macOS.

Requirements: To use the J-Link GDB Server, you have to meet the following requirements:

  • J-Link / J-Trace for Cortex-M
  • Target hardware with supported CPU

Protocol Extensions:

  • SWO support

GDB Server supports transfer of SWO data (terminal output, instrumentation trace, PC samples, etc.)

Supported Cores

J-Link GDB Server supports a variety of different cores and devices.

List of supported devices

J-Link GDB Server

J-Link GDB Server (GUI Version): The J-Link GDB Server's user interface shows information about the debugging process and allows the user to configure some settings like target endianess, if memory reads should be cached in order to improve performance or if a logfile shall be generated.

GDB Server Overview

J-Link GDB Server (Command Line Version): The command line version of J-Link GDB Server is a special version of the J-Link GDB Server which does not provide any GUI interface and has been especially developed for J-Link Linux & MAC support.

It basically provides the same features as the GUI Version of J-Link GDB Server. The command line version of the J-Link GDB Server is also available for Windows and comes with the regular J-Link software and documentation package.

GDB Server CL Overview

Setting up the J-Link GDB Server by Versions

Typically, most of the GDB and target setup is done from GDB via remote commands (monitor) in the .gdbinit file. The commands used in the .gdbinit file are performed before the download of the application into the target memory is performed. This allows the user to perform initialization steps which might be necessary to enable the access to the target memory.

The .gdbinit file also allows to use download into flash memory via J-Link and Unlimited Flash Breakpoints. Nevertheless, some options need to be setup when starting the GDB Server (Target endianess, device name for devices which need a special connect sequence) since this information is needed to guarantee a proper target connection

Protocol Extension

  • SWO support

GDB Server supports transfer of SWO data (terminal output, instrumentation trace, PC samples, etc.)

全球总部

德国: SEGGER Microcontroller GmbH

地址: Ecolab-Allee 5
40789 Monheim am Rhein, Germany
电邮: info@segger.com
电话: +49-2173-99312-0
传真: +49-2173-99312-28

网点分布

中国:哲戈微系统科技(上海)有限公司

地址: 中国上海市闵行区秀涟路133号
大虹桥国际A 栋218室
邮编201199
电邮: china@segger.com
电话: +86-133-619-907-60

通过ISO 9001认证

ISO 9001

30多年的嵌入式行业经验

First-class embedded software tools since 1992
  • 版本说明
  • 免责声明
  • 隐私策略
  • 沪ICP备2022005181号
  • 沪公网安备 31011202014525号
© 2025 SEGGER - 版权所有.

您即将离开 segger.cn 而访问境外网站,是否继续?