From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30737 invoked by alias); 28 Apr 2006 13:12:56 -0000 Received: (qmail 30724 invoked by uid 22791); 28 Apr 2006 13:12:54 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 28 Apr 2006 13:12:52 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FZSm7-00071m-BT; Fri, 28 Apr 2006 09:12:47 -0400 Date: Fri, 28 Apr 2006 14:39:00 -0000 From: Daniel Jacobowitz To: Dave Korn Cc: 'Shaun Jackman' , gdb@sources.redhat.com Subject: Re: x/i 0x204c5ac. seg fault Message-ID: <20060428131246.GA26671@nevyn.them.org> Mail-Followup-To: Dave Korn , 'Shaun Jackman' , gdb@sources.redhat.com References: <7f45d9390604271100meaec82ewe3b7182f4fe1ab40@mail.gmail.com> <007101c66aae$0d32bac0$a501a8c0@CAM.ARTIMI.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <007101c66aae$0d32bac0$a501a8c0@CAM.ARTIMI.COM> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00327.txt.bz2 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