Bug 198757 - /boot/loader: c-addr shows negative on the stack
Summary: /boot/loader: c-addr shows negative on the stack
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-21 00:43 UTC by Devin Teske
Modified: 2015-03-21 00:43 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Teske freebsd_committer 2015-03-21 00:43:52 UTC
When booted into the loader(8) interactive prompt (ok>), character addresses (c-addr) are showing up negative when using ".s" to display the stack contents.

Reproduce:

Press ESC at the boot loader menu to enter the loader(8) interactive prompt. Type the following at the "ok>" prompt:

s" hello, world!" .s

and then press ENTER. You'll notice that the first number is negative. Previous FreeBSD builds did not have this issue and it is confusing to see a negative number on the stack despite being a perfectly valid character address.