Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pierre Muller <muller@cerbere.u-strasbg.fr>
To: gdb-patches <gdb-patches@sources.redhat.com>
Subject: [RFA 3rd] tell in which register a register var is.
Date: Wed, 21 Nov 2001 13:43:00 -0000	[thread overview]
Message-ID: <4.2.0.58.20011130122722.00ac94b0@ics.u-strasbg.fr> (raw)
Message-ID: <20011121134300.hXmcBz9uVkE7md8rFX7l29oyu4YJpKNkAwwrnXd3WPA@z> (raw)

I simplified my patch as REGISTER_NAME is used without
any tests at several other location in gdb sources.

OK to commit?



2001-11-30 Pierre Muller  <muller@ics.u-strasbg.fr>
	* findvar.c (locate_var_value): Specify in which register a register
	variable is stored.


Index: findvar.c
===================================================================
RCS file: /cvs/src/src/gdb/findvar.c,v
retrieving revision 1.25
diff -r1.25 findvar.c
871a872,877
 >       error("Address requested for identifier "
 >           "\"%s\" which is in register $%s",
 >             SYMBOL_SOURCE_NAME (var),
 >           REGISTER_NAME (VALUE_REGNO (lazy_value)));
 >       break;
 >
873,874c879,882
<       error ("Address requested for identifier \"%s\" which is in a register.",
<            SYMBOL_SOURCE_NAME (var));
---
 >       error("Address requested for identifier "
 >           "\"%s\" which is in frame register $%s",
 >             SYMBOL_SOURCE_NAME (var),
 >           REGISTER_NAME (VALUE_FRAME_REGNUM (lazy_value)));



Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:muller@ics.u-strasbg.fr
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99


             reply	other threads:[~2001-11-30 11:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-30  3:31 Pierre Muller [this message]
2001-11-21 13:43 ` Pierre Muller
2001-11-21 19:37 ` Andrew Cagney
2001-11-30  8:52   ` Andrew Cagney
2001-12-03  0:42   ` Pierre Muller

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=4.2.0.58.20011130122722.00ac94b0@ics.u-strasbg.fr \
    --to=muller@cerbere.u-strasbg.fr \
    --cc=gdb-patches@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