Project

General

Profile

Actions

Bug #4436

closed

::dis -b fails to separate address columns

Added by Josef Sipek over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
mdb - modular debugger
Start date:
2013-12-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

If the hex address is longer than 9 hex digits, it will not get separated from the pretty address. For example:

> membar_enter::dis -b
fffffffffb86d600membar_enter:                   mfence 
fffffffffb86d603membar_enter+3:                 ret

While short addresses print properly:

> main::dis -b
400d88    main:                                 pushq  %rbp
400d89    main+1:                               movq   %rsp,%rbp
400d8c    main+4:                               movl   %edi,-0x4(%rbp)
400d8f    main+7:                               movq   %rsi,-0x10(%rbp)
400d93    main+0xb:                             movl   $0x0,%eax
400d98    main+0x10:                            popq   %rbp
400d99    main+0x11:                            ret    

This is never an issue with 32-bit binaries because there addresses are always 8 hex digits or fewer.

Actions #1

Updated by Rich Lowe over 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 30 to 100
  • Tags deleted (needs-triage)

Resolved in 4cf7329

Actions

Also available in: Atom PDF