This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug build/11250] New: C files generated from XML have garbage
- From: "hjl dot tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 4 Feb 2010 14:22:17 -0000
- Subject: [Bug build/11250] New: C files generated from XML have garbage
- Reply-to: sourceware-bugzilla at sourceware dot org
When I ran
/export/build/gnu/gdb-avx/build-x86_64-linux/gdb/gdb -nx -q -batch -ex "set
tdesc filename i386/x86-64.xml" -ex 'maint print c-tdesc' > x86-64.c
I got
^[[?1034h/* THIS FILE IS GENERATED. Original: x86-64.xml */
at the beginning of the file. It is caused by:
#0 0x000000326a46dd70 in putc () from /lib64/libc.so.6
#1 0x0000003278c132d6 in tputs () from /lib64/libtinfo.so.5
#2 0x000000000066137d in readline_initialize_everything ()
at /export/gnu/import/git/gdb-avx/readline/readline.c:1038
#3 rl_initialize () at /export/gnu/import/git/gdb-avx/readline/readline.c:910
#4 0x00000000004d6530 in tui_initialize_readline ()
at /export/gnu/import/git/gdb-avx/gdb/tui/tui.c:312
#5 0x00000000004d6f74 in tui_init (top_level=1)
at /export/gnu/import/git/gdb-avx/gdb/tui/tui-interp.c:60
#6 0x000000000056319d in interp_set (interp=0xb66390, top_level=1)
at /export/gnu/import/git/gdb-avx/gdb/interps.c:189
#7 0x000000000044d245 in captured_main (data=0x7fffffffe250)
at /export/gnu/import/git/gdb-avx/gdb/main.c:744
#8 0x0000000000562def in catch_errors (func=0x44c777 <captured_main>,
func_args=0x7fffffffe250, errstring=0x7148e7 "", mask=6)
at /export/gnu/import/git/gdb-avx/gdb/exceptions.c:510
#9 0x000000000044d861 in gdb_main (args=0x7fffffffe250)
at /export/gnu/import/git/gdb-avx/gdb/main.c:914
#10 0x000000000044c452 in main (argc=8, argv=0x7fffffffe358)
at /export/gnu/import/git/gdb-avx/gdb/gdb.c:33
gdb tries to initialize readline which prints out chars only
valid for TUI.
--
Summary: C files generated from XML have garbage
Product: gdb
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build
AssignedTo: unassigned at sourceware dot org
ReportedBy: hjl dot tools at gmail dot com
CC: gdb-prs at sourceware dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11250
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.