Skip to content

Use add-symbol-file when loading multiple files with gdb#100

Merged
jreineckearm merged 1 commit into
mainfrom
gdb-symbols
Mar 19, 2026
Merged

Use add-symbol-file when loading multiple files with gdb#100
jreineckearm merged 1 commit into
mainfrom
gdb-symbols

Conversation

@RobertRostohar
Copy link
Copy Markdown
Collaborator

Symbols need to be added by using the "add-symbol-file" rather than "symbol-file" which replaces the previous loaded symbols.

This can be quickly seen when debugging combined projects (example: Bootloader + Application).

@jreineckearm jreineckearm self-requested a review March 19, 2026 09:18
Copy link
Copy Markdown
Collaborator

@jreineckearm jreineckearm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed https://sourceware.org/gdb/current/onlinedocs/gdb#Files and agree that it should have been add-symbol-file for more than one application file.
Good to merge.

@jreineckearm jreineckearm merged commit e5dd40e into main Mar 19, 2026
2 checks passed
@jreineckearm jreineckearm deleted the gdb-symbols branch March 19, 2026 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants