From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12799 invoked by alias); 24 Jul 2014 17:17:31 -0000 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 Received: (qmail 12753 invoked by uid 48); 24 Jul 2014 17:17:29 -0000 From: "keiths at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug python/17136] 'info type-printers' causes an exception when there are per-objfile printers Date: Thu, 24 Jul 2014 17:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: 7.7 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: keiths at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q3/txt/msg00146.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17136 Keith Seitz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |keiths at redhat dot com --- Comment #1 from Keith Seitz --- I am unable to reproduce this with either 7.7.1.20140611-cvs or git HEAD. What does your gdb report as its version? Example of my attempt to reproduce: $ ./gdb -q -data-directory data-directory gdb Reading symbols from gdb...done. Setting up the environment for debugging gdb. Breakpoint 1 at 0x6f6390: file ../../src/gdb/utils.c, line 829. Breakpoint 2 at 0x4ead77: file ../../src/gdb/cli/cli-cmds.c, line 219. (top-gdb) start Temporary breakpoint 3 at 0x45bdff: file ../../src/gdb/gdb.c, line 29. Starting program: /home/keiths/sources/gdb/git/releases/7.7/linux/gdb/gdb During symbol reading, cannot get low and high bounds for subprogram DIE at 8088. During symbol reading, Child DIE 0x31a3 and its abstract origin 0x684d have different tags. During symbol reading, Child DIE 0x31a3 and its abstract origin 0x684d have different parents. During symbol reading, DW_AT_GNU_call_site_target target DIE has invalid low pc, for referencing DIE 0x4961 [in module /usr/lib/debug/lib64/ld-2.18.so.debug]. During symbol reading, Multiple children of DIE 0x6253 refer to DIE 0x5df3 as their abstract origin. During symbol reading, incomplete CFI data; unspecified registers (e.g., rax) at 0x3878e0397a. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". During symbol reading, incomplete CFI data; unspecified registers (e.g., rax) at 0x3878e0397a. Temporary breakpoint 3, main (argc=1, argv=0x7fffffffdce8) at ../../src/gdb/gdb.c:29 29 memset (&args, 0, sizeof args); (top-gdb) py execfile('/home/keiths/tmp/17136.py') (top-gdb) py gdb.types.register_type_printer (gdb.current_objfile(), Printer()) (top-gdb) info type-printers Global type printers: Printer (top-gdb) Do you have a different procedure which tickles the bug? -- You are receiving this mail because: You are on the CC list for the bug.