这是indexloc提供的服务,不要输入任何密码
Skip to content

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
@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