commit | 0c1aa2a09531b3256c8134258a2c75b694c9bd70 | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Fri Jan 06 12:18:07 2023 -0700 |
committer | Tom Tromey <tromey@adacore.com> | Thu Jan 12 12:15:41 2023 -0700 |
tree | 1b732550517ebde923898ae7e3ce4710ebc5d23d | |
parent | 1a26a53a0dee39106ba58fcb15496c5f13074652 [diff] |
Disable ptype/o for dynamic types A user pointed out that "ptype/o" of a certain Ada type -- while in C mode -- caused gdb to crash. The bug here is that dynamic types can't really be printed this way. This patch avoids the bug by disabling the "/o" feature in this case. Note that using "ptype/o" in this way makes sense for the time being, because the Ada code doesn't support the "/o" feature (yet); and in any case gdb should not crash.