How do you load symbols in a recording?

  • 2 June 2021
  • 1 reply
  • 86 views

Badge +1

In Recording without debugging symbols there are lots of descriptions of actual commands but there is no workflow description.

I found out that one of our customers does the following to load the symbols in their recordings:

 

set sysroot /
set debug-file-directory /standard/path/to/debug/build
set solib-search-path /standard/path/to/debug/build/lib
uload <your recording>
file /standard/path/to/debug/build/<executable>

 

How do you load the symbols in your recordings?


1 reply

If, like a lot of people, you keep your binaries and  source in the same place across different runs you may want to put some of these settings in your ~/.udbinit file, along with any set substitute-path settings to point to your source.

Reply