public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: "Fred Young" <fred@nextnewgig.com>
To: <insight@sources.redhat.com>
Subject: Locals window empty with version 5.2.1 for MIPS
Date: Thu, 10 Oct 2002 12:42:00 -0000	[thread overview]
Message-ID: <121a01c27095$365567c0$6401c80a@waterloo.nextnewgig.com> (raw)

I'm running Insight version 5.2.1 under Cygwin targeted for MIPS.

When I open the Locals window, nothing is displayed even though the gdb
command "info locals" command does display the locals.

I've compared the behavior with version 5.1 and discovered that the
difference is in the function gdb_block_vars in the file
gdb/gdbtk/generic/gdbtk-stack.c

With version 5.1, the function parse_and_eval_address is used to set the
variables "start" and "end"; parse_and_eval_address returns values like
0xffffffff81000d2c.

With version 5.2.1 the function string_to_core_addr is used to set the
variables "start" and "end"; string_to_core_addr returns values like
0x0000000081000d2c, so that the line
      if (BLOCK_START (block) == start && BLOCK_END (block) == end)
always fails.

Fred Young
NNG Canada Inc.
519 880-8089

             reply	other threads:[~2002-10-10 19:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-10 12:42 Fred Young [this message]
2002-10-11 10:55 ` Martin M. Hunt

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='121a01c27095$365567c0$6401c80a@waterloo.nextnewgig.com' \
    --to=fred@nextnewgig.com \
    --cc=insight@sources.redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).