Add leading zeros when printing the stackframe on __powerpc64__.

This commit is contained in:
Andreas Tobler 2011-06-23 09:43:53 +00:00
parent cd5bdbcb4d
commit f7688a4194
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223470

View file

@ -200,7 +200,7 @@ db_backtrace(struct thread *td, db_addr_t fp, int count)
}
#ifdef __powerpc64__
db_printf("0x%16lx: ", stackframe);
db_printf("0x%016lx: ", stackframe);
#else
db_printf("0x%08x: ", stackframe);
#endif