Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@redhat.com>
To: Kip Walker <kwalker@broadcom.com>
Cc: gdb@sources.redhat.com
Subject: Re: add-symbol-file and CORE_ADDR
Date: Thu, 26 Sep 2002 17:00:00 -0000	[thread overview]
Message-ID: <3D939F8C.1060304@redhat.com> (raw)
In-Reply-To: <youlfzvy84ns.fsf@dt-sj3-158.sj.broadcom.com>

> It looks like there might be a problem with add-symbol-file's parsing
> of section addresses when CORE_ADDR is a 64-bit type, since 'strtoul'
> is used.  I haven't dug through the code to see if there are any
> locations that already handle address parsing that works whether
> CORE_ADDR is 32 or 64 bits.

Have a look at cli/cli-dump.c where it calls 
scan_expression_with_cleanup() and parse_and_eval_address().

Andrew



      parent reply	other threads:[~2002-09-27  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-25  8:34 Kip Walker
     [not found] ` <mailpost.1032968050.19721@news-sj1-1>
2002-09-25  8:37   ` Kip Walker
2002-09-26 17:00 ` Andrew Cagney [this message]

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=3D939F8C.1060304@redhat.com \
    --to=ac131313@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=kwalker@broadcom.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