public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "tromey at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug python/11060] the template_argument function cannot handle value arguments
Date: Wed, 28 Jul 2010 21:04:00 -0000	[thread overview]
Message-ID: <20100728210409.29364.qmail@sourceware.org> (raw)
In-Reply-To: <20091207142439.11060.bschindler@inf.ethz.ch>


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-07-28 20:50 -------
Subject: Bug 11060

CVSROOT:	/cvs/src
Module name:	src
Changes by:	tromey@sourceware.org	2010-07-28 20:50:17

Modified files:
	gdb            : ChangeLog 
	gdb/python     : py-type.c 
	gdb/testsuite  : ChangeLog 
	gdb/testsuite/gdb.python: py-type.c py-type.exp 

Log message:
	gdb
	PR python/11060:
	* python/py-type.c (typy_legacy_template_argument): New function,
	extracted from typy_template_argument.
	(typy_template_argument): Use TYPE_TEMPLATE_ARGUMENT.  Return a
	value when needed.
	gdb/testsuite
	PR python/11060:
	* gdb.python/py-type.c (Temargs): New template.
	(temvar): New variable.
	* gdb.python/py-type.exp (test_template): New proc.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12042&r2=1.12043
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/python/py-type.c.diff?cvsroot=src&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2395&r2=1.2396
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-type.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.python/py-type.exp.diff?cvsroot=src&r1=1.5&r2=1.6


------- Additional Comments From tromey at redhat dot com  2010-07-28 21:04 -------
I checked in a fix for this, but it only works if you have a new version of GCC.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11060

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


  parent reply	other threads:[~2010-07-28 21:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-07 14:24 [Bug python/11060] New: " bschindler at inf dot ethz dot ch
2009-12-07 18:04 ` [Bug python/11060] " ppluzhnikov at google dot com
2010-01-25 20:06 ` tromey at redhat dot com
2010-04-27 15:25 ` tromey at redhat dot com
2010-05-24  6:22 ` pmuldoon at redhat dot com
2010-05-25 17:48 ` tromey at redhat dot com
2010-05-26 15:27 ` tromey at redhat dot com
2010-07-28 16:25 ` tromey at redhat dot com
2010-07-28 18:10 ` tromey at redhat dot com
2010-07-28 21:04 ` tromey at redhat dot com [this message]
     [not found] <bug-11060-4717@http.sourceware.org/bugzilla/>
2011-09-15 12:42 ` andre.poenitz at nokia dot com
2011-10-10 19:20 ` tromey at redhat dot com

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=20100728210409.29364.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).