This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: x/i 0x204c5ac. seg fault
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