commit | 6ec7ee273a83d7b4bcc6d638a5d42aac00d134a7 | [log] [tgz] |
---|---|---|
author | Brett Wilson <brettw@google.com> | Fri Mar 22 23:13:49 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri Mar 22 23:13:49 2019 +0000 |
tree | 77445c0ceb2ce921f6c769d56c65985f61fedd69 | |
parent | 5e5086eb4adc094e1760d1e3e9d9c754ff711656 [diff] |
[debugger] Hook up basic types to casting. This hooks up the builtin types (int, char*, etc.) to the type parsing code such that things like "print (int*)foo" will work. Main symbol lookup is not yet hooked up. That will be done in a future pass. Adds "void" to the list of builtin types. This required some additions because of the weird way DWARF encodes these types (with no type reference at all) is not compatible with us building up a type hierarchy. This uses the "none" base type to represent void. Unit tests are added for the handling of this. Fixes C-style cast operator precedence. Previously "(void*)a[0]" would be parsed as converting a to a void* and then taking the 0th item. Change-Id: If8c3e1492241ac69f378dceed033d55fd184f744
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.