This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug cli/15842] New: extra ".." during startup
- From: "tromey at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 15 Aug 2013 16:51:16 +0000
- Subject: [Bug cli/15842] New: extra ".." during startup
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15842
Bug ID: 15842
Summary: extra ".." during startup
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: cli
Assignee: unassigned at sourceware dot org
Reporter: tromey at redhat dot com
If you run gdb on an executable you get:
barimba. ../gdb ../gdb
GNU gdb (GDB) 7.6.50.20130725-cvs
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
..
Reading symbols from /home/tromey/Space/SecondArcher/build/gdb/gdb...done.
Setting up the environment for debugging gdb.
That extra ".." comes from main.c:captured_main:
/* FIXME: cagney/2003-02-03: The big hack (part 1 of 2) that lets
GDB retain the old MI1 interpreter startup behavior. Output the
copyright message before the interpreter is installed. That way
it isn't encapsulated in MI output. */
if (!quiet && strcmp (interpreter_p, INTERP_MI1) == 0)
{
/* Print all the junk at the top, with trailing "..." if we are
about to read a symbol file (possibly slowly). */
print_gdb_version (gdb_stdout);
if (symarg)
printf_filtered ("..");
wrap_here ("");
printf_filtered ("\n");
gdb_flush (gdb_stdout); /* Force to screen during slow
operations. */
}
It looks to me that the new startup help printing was added in a way
incompatible with this code.
It should be fixed somehow.
--
You are receiving this mail because:
You are on the CC list for the bug.