Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDB pretty printers #1633

Merged
merged 12 commits into from
Apr 18, 2024
Merged

GDB pretty printers #1633

merged 12 commits into from
Apr 18, 2024

Conversation

heinezen
Copy link
Member

@heinezen heinezen commented Apr 6, 2024

Introduces custom GDB pretty printers. These will make fixed-point values, that were previously very hard to parse, human-readable:

  • curve::Keyframe
  • time::time_t
(gdb) p current_time
$1 = 2.593s = {raw_value = 169934}
  • util::FixedPoint
(gdb) p fp
$1 = 1.16888 = {raw_value = 76604, approx_precision = 5}
  • util::Vector

@heinezen heinezen added area: buildsystem Related to our cmake/python buildsystem nice new thing ☺ A new feature that was not there before lang: python Done in Python code code quality Does not alter behavior, but beauty of our code labels Apr 6, 2024
@heinezen heinezen marked this pull request as ready for review April 7, 2024 04:34
@heinezen heinezen force-pushed the feature/gdb-pretty branch from d280475 to d72de61 Compare April 7, 2024 04:37
@heinezen heinezen marked this pull request as draft April 7, 2024 04:45
@heinezen heinezen marked this pull request as ready for review April 7, 2024 07:29
@heinezen heinezen requested a review from TheJJ April 7, 2024 08:15
@TheJJ TheJJ merged commit efa919f into SFTtech:master Apr 18, 2024
13 checks passed
@heinezen heinezen deleted the feature/gdb-pretty branch September 7, 2024 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: buildsystem Related to our cmake/python buildsystem code quality Does not alter behavior, but beauty of our code lang: python Done in Python code nice new thing ☺ A new feature that was not there before
Projects
Development

Successfully merging this pull request may close these issues.

2 participants