public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/11250] New: C files generated from XML have garbage
@ 2010-02-04 14:22 hjl dot tools at gmail dot com
  2010-02-04 16:06 ` [Bug build/11250] " tromey at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-02-04 14:22 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug build/11250] C files generated from XML have garbage
  2010-02-04 14:22 [Bug build/11250] New: C files generated from XML have garbage hjl dot tools at gmail dot com
@ 2010-02-04 16:06 ` tromey at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at redhat dot com @ 2010-02-04 16:06 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2010-02-04 16:06 -------


*** This bug has been marked as a duplicate of 9622 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-04 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-04 14:22 [Bug build/11250] New: C files generated from XML have garbage hjl dot tools at gmail dot com
2010-02-04 16:06 ` [Bug build/11250] " tromey at redhat dot com

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).