From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 515 invoked by alias); 7 Dec 2009 14:24:42 -0000 Received: (qmail 497 invoked by uid 48); 7 Dec 2009 14:24:42 -0000 Date: Mon, 07 Dec 2009 14:24:00 -0000 From: "bschindler at inf dot ethz dot ch" To: gdb-prs@sourceware.org Message-ID: <20091207142439.11060.bschindler@inf.ethz.ch> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug python/11060] New: the template_argument function cannot handle value arguments X-Bugzilla-Reason: CC Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2009-q4/txt/msg00314.txt.bz2 having the type Eigen::Matrix Executing template_argument(1) on the type gdb object (when doing a pretty printer), I get the following: Traceback (most recent call last): File "/home/bschindl/software/gdb-printer/eigen/printers.py", line 53, in lookup_function return pretty_printers_dict[function](val) File "/home/bschindl/software/gdb-printer/eigen/printers.py", line 28, in pretty_printers_dict[re.compile('^Eigen::Matrix<.*>$')] = lambda val: EigenMatrixPrinter(val) File "/home/bschindl/software/gdb-printer/eigen/printers.py", line 18, in __init__ self.rows = self.type.template_argument(1) RuntimeError: No type named 4. -- Summary: the template_argument function cannot handle value arguments Product: gdb Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: python AssignedTo: unassigned at sourceware dot org ReportedBy: bschindler at inf dot ethz dot ch CC: gdb-prs at sourceware dot org 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.