Skip to content

Install gdbserver if INSTALL_DEBUG_TOOLS=y#2448

Merged
lguohan merged 1 commit intosonic-net:masterfrom
stepanblyschak:debug_gdbserver
Jan 15, 2019
Merged

Install gdbserver if INSTALL_DEBUG_TOOLS=y#2448
lguohan merged 1 commit intosonic-net:masterfrom
stepanblyschak:debug_gdbserver

Conversation

@stepanblyschak
Copy link
Copy Markdown
Collaborator

Signed-off-by: Stepan Blyschak stepanb@mellanox.com

It is more convenient to debug remotely from build server instead of debugging locally on switch, e.g, no need to put source files on the switch and load source code in gdb

- What I did
Install gdbserver in docker-bash if INSTALL_DEBUG_TOOLS=y

- How I did it
Add a gdbserver to (DOCKER_BASE)_DBG_PACKAGES

- How to verify it
Run gdbserver inside containers

- Description for the changelog

Install gdbserver if INSTALL_DEBUG_TOOLS=y

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
@lguohan lguohan merged commit 878c523 into sonic-net:master Jan 15, 2019
@stepanblyschak stepanblyschak deleted the debug_gdbserver branch September 23, 2022 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants