x/i 0x204c5ac. seg fault
Daniel Jacobowitz
drow@false.org
Fri Apr 28 14:39:00 GMT 2006
On Fri, Apr 28, 2006 at 11:25:20AM +0100, Dave Korn wrote:
> (gdb) x/i 0x204c5ac
> 0x204c5ac: Cannot access memory at address 0x204c5ac
You missed the trailing ".".
The problem arises for two reasons.
1. c-exp.y:parse_number fails to handle sscanf errors; it doesn't
issue an error, but leaves the type unset.
2. The system sscanf in glibc apparently rejects hex float.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list