Changeset da79d0fd in mainline for src/debug/print.c
- Timestamp:
- 2005-05-13T20:51:40Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 244f284
- Parents:
- f2ffad4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/debug/print.c
rf2ffad4 rda79d0fd 111 111 * and printed as a NULL terminated string. 112 112 * c The next variant argument is treated as a single char. 113 * p The next variant argument is treated as a maximum 114 * bit-width integer with respect to architecture 115 * and printed in full hexadecimal width. 116 * P As with 'p', but '0x' is prefixed. 117 * q The next variant argument is treated as a 64b integer 118 * and printed in full hexadecimal width. 119 * Q As with 'q', but '0x' is prefixed. 113 120 * l The next variant argument is treated as a 32b integer 114 121 * and printed in full hexadecimal width. … … 170 177 * Hexadecimal conversions with fixed width. 171 178 */ 179 case 'P': 180 print_str("0x"); 181 case 'p': 182 print_fixed_hex(va_arg(ap, __native), sizeof(__native)); 183 goto loop; 184 185 case 'Q': 186 print_str("0x"); 187 case 'q': 188 print_fixed_hex(va_arg(ap, __native), INT64); 189 goto loop; 190 172 191 case 'L': 173 192 print_str("0x");
Note:
See TracChangeset
for help on using the changeset viewer.