From: "Dave Korn" <dave.korn@artimi.com>
To: "'Daniel Jacobowitz'" <drow@false.org>
Cc: "'Shaun Jackman'" <sjackman@gmail.com>, <gdb@sources.redhat.com>
Subject: RE: x/i 0x204c5ac. seg fault
Date: Fri, 28 Apr 2006 14:42:00 -0000 [thread overview]
Message-ID: <008d01c66acf$039b4600$a501a8c0@CAM.ARTIMI.COM> (raw)
In-Reply-To: <20060428131246.GA26671@nevyn.them.org>
On 28 April 2006 14:13, Daniel Jacobowitz wrote:
> 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 ".".
Oooops! Copy'n'paste error -vs- word-selection. Nonetheless:
dk@rainbow /usr/build/obj-gdb/gdb> ./gdb
GNU gdb 6.4.50.20060329-cvs
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin".
Setting up the environment for debugging gdb.
No symbol table is loaded. Use the "file" command.
No symbol table is loaded. Use the "file" command.
/usr/build/obj-gdb/gdb/.gdbinit:8: Error in sourced command file:
No breakpoint number 0.
(gdb) x/i 0x204c5ac.
Invalid number "0x204c5ac.".
(gdb)
:-)
> 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.
That'll be the reason I can't reproduce it. I'm on cygwin, hence newlib
rather than glibc.
cheers,
DaveK
--
Can't think of a witty .sigline today....
next prev parent reply other threads:[~2006-04-28 14:21 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
2006-04-28 14:42 ` Dave Korn [this message]
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='008d01c66acf$039b4600$a501a8c0@CAM.ARTIMI.COM' \
--to=dave.korn@artimi.com \
--cc=drow@false.org \
--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