Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Dave Korn <dave.korn@artimi.com>
Cc: 'Shaun Jackman' <sjackman@gmail.com>, gdb@sources.redhat.com
Subject: Re: x/i 0x204c5ac. seg fault
Date: Fri, 28 Apr 2006 14:39:00 -0000	[thread overview]
Message-ID: <20060428131246.GA26671@nevyn.them.org> (raw)
In-Reply-To: <007101c66aae$0d32bac0$a501a8c0@CAM.ARTIMI.COM>

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


  parent reply	other threads:[~2006-04-28 13:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-28 13:12 Shaun Jackman
     [not found] ` <007101c66aae$0d32bac0$a501a8c0@CAM.ARTIMI.COM>
2006-04-28 14:39   ` Daniel Jacobowitz [this message]
2006-04-28 14:42     ` Dave Korn
2006-04-28 15:44     ` Andreas Schwab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060428131246.GA26671@nevyn.them.org \
    --to=drow@false.org \
    --cc=dave.korn@artimi.com \
    --cc=gdb@sources.redhat.com \
    --cc=sjackman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox