Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Vladimir Prus <vladimir@codesourcery.com>
To: gdb@sourceware.org
Subject: -data-list-register-names regression?
Date: Wed, 17 Mar 2010 10:45:00 -0000	[thread overview]
Message-ID: <201003171345.44000.vladimir@codesourcery.com> (raw)


Hello,

I've tried to use Eclipse CDT with GDB 7.0 today, and found that the registers
views is totally broken, as it in does not show any registers. The version
of Eclipse I have used is eclipse-cpp-galileo-SR1, which I believe is the
latest official release, and the problem reproduces with current CVS HEAD.
Everything works more or less fine with 6.8. The root problem is this:

	$ gdb/gdb -i=mi gdb/gdb
	...
	(gdb)
	-data-list-register-names
	^error,msg="No registers."
	(gdb)

It seems that -data-list-register-names does not work until the application
was started. In 6.8, it worked.

Is this change intentional, and if so, do we care about fixing it in
general or for 7.1 in particular?

Thanks,

-- 
Vladimir Prus
CodeSourcery
vladimir@codesourcery.com
(650) 331-3385 x722


             reply	other threads:[~2010-03-17 10:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-17 10:45 Vladimir Prus [this message]
2010-03-17 14:26 ` Joel Brobecker
2010-03-17 18:51   ` Daniel Jacobowitz
2010-03-17 21:38 ` [patch] " Ulrich Weigand
2010-03-17 22:37   ` Daniel Jacobowitz
2010-03-17 22:59     ` Joel Brobecker
2010-03-18  4:44       ` Dave Korn
2010-03-18 13:28       ` Ulrich Weigand
2010-03-18 13:55         ` Joel Brobecker
2010-03-18 15:53           ` Ulrich Weigand

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=201003171345.44000.vladimir@codesourcery.com \
    --to=vladimir@codesourcery.com \
    --cc=gdb@sourceware.org \
    /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