Re: Function address incoherence
Andreas Schwab <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Aug 24 2019, Andrea Cardaci <[email protected]> wrote: > As you can see, $pc points to 0xb7fdba20 and the disassemble commands > reports that it is part of _start, yet if I print the address of > _start I obtain a different value (0x80482e0). (Using the disassemble > command is just an example, simply printing $pc shows 0xb7fdba20 > <_start>.) The disassembler can chose the nearest symbols, but the expression evaluator needs to resolve it to a single address, so it can only chose one of the them. Andreas. -- Andreas Schwab, SUSE Labs, [email protected] GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."