Your message dated Tue, 30 Jan 2007 16:32:04 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#233467: fixed in gdb 6.6.dfsg-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gdb
Version: 6.0-6
Severity: minor


There needs to be a new-line after a control-D is typed to start
the next command on the correct line.

Run gdb, then type quit(enter)
(gdb) quit
SpacedOut:~$ 

Run gdb, then type control-D,
This GDB was configured as "i386-linux".
(gdb) SpacedOut:~$ 

In the Control-D case it needs to print a new line before exiting,
it also needs a new line if it prints for exiting,

Breakpoint 1, 0x40054896 in exit () from /lib/libc.so.6
(gdb) quit
The program is running.  Exit anyway? (y or n) n

vs

Breakpoint 1, 0x40054896 in exit () from /lib/libc.so.6
(gdb) The program is running.  Exit anyway? (y or n) n

It is a simple patch anyway.  The only question I have is if
there are any cases were we absolutely don't want to output
another character.

Index: gdb/event-top.c
===================================================================
RCS file: /home/david/debian/gdb/cvs_root/gdb_cvs/gdb/event-top.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 event-top.c
--- gdb/event-top.c     16 Feb 2004 03:42:41 -0000      1.1.1.1
+++ gdb/event-top.c     18 Feb 2004 03:14:56 -0000
@@ -659,6 +659,9 @@
      and exit from gdb. */
   if (!rl || rl == (char *) EOF)
     {
+      /* start the next output on a new line since the command wasn't
+         terminated with a return. */
+      printf_unfiltered ("\n");
       got_eof = 1;
       command_handler (0);
     }



-- System Information:
Debian Release: 3.0
Architecture: i386
Kernel: Linux SpacedOut 2.4.25-rc2 #11 Wed Feb 11 20:14:28 CST 2004 i586
Locale: LANG=C, LC_CTYPE=C

Versions of packages gdb depends on:
ii  libc6                     2.3.2.ds1-10   GNU C Library: Shared libraries an
ii  libncurses5               5.3.20030719-1 Shared libraries for terminal hand
ii  libreadline4              4.3-5          GNU readline and history libraries

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: gdb
Source-Version: 6.6.dfsg-1

We believe that the bug you reported is fixed in the latest version of
gdb, which is due to be installed in the Debian FTP archive:

gdb_6.6.dfsg-1.diff.gz
  to pool/main/g/gdb/gdb_6.6.dfsg-1.diff.gz
gdb_6.6.dfsg-1.dsc
  to pool/main/g/gdb/gdb_6.6.dfsg-1.dsc
gdb_6.6.dfsg-1_amd64.deb
  to pool/main/g/gdb/gdb_6.6.dfsg-1_amd64.deb
gdb_6.6.dfsg.orig.tar.gz
  to pool/main/g/gdb/gdb_6.6.dfsg.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Jacobowitz <[EMAIL PROTECTED]> (supplier of updated gdb package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 27 Jan 2007 21:59:06 -0500
Source: gdb
Binary: gdb
Architecture: source amd64
Version: 6.6.dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Daniel Jacobowitz <[EMAIL PROTECTED]>
Changed-By: Daniel Jacobowitz <[EMAIL PROTECTED]>
Description: 
 gdb        - The GNU Debugger
Closes: 233467 313340 343419 373927 405116 408402
Changes: 
 gdb (6.6.dfsg-1) unstable; urgency=low
 .
   [ Matthias Klose ]
   * New upstream version.
     - Prints a newline after EOF (Closes: #233467).
   * sim-destdir.patch, gdbinit-ownership.patch, bfd-get-mtime-less.patch,
     pie-support.patch, thread-db-multiple-libraries.patch: Update.
   * thread-db-live-threads.patch, fork-context-switch.patch: Remove,
     applied upstream.
 .
   [ Daniel Jacobowitz ]
   * Merge changes from Matthias Klose (thanks).
   * Refresh all patches.
   * Fix "corrupted DWARF expression" error (Closes: #405116).
   * Do not crash if loading libthread_db failed (Closes: #408402).
   * Initial support for building cross-GDB packages, based on the work of
     Raphael Bossek and Kazuhiro Inaoka (Closes: #313340, #343419, #373927).
   * Change priority to optional (since ftpmaster did).
Files: 
 1a5e68a02a8d64c4133eb5e2e478daf9 1350 devel optional gdb_6.6.dfsg-1.dsc
 3c5f8de25ae53ffb4b949454c5e7ddaf 18114725 devel optional 
gdb_6.6.dfsg.orig.tar.gz
 a17539878db5cf03eb57d0b87783022e 35376 devel optional gdb_6.6.dfsg-1.diff.gz
 a9a2cb4110cf5eb3b113e1997bd1923c 2732174 devel optional 
gdb_6.6.dfsg-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFv265bgOPXuCjg3cRAg81AJ42WgFpO+h4Vz4a8bQFXyMil5VcPgCfTtDz
yiNBZqltFGnbkDqDAMXtQC8=
=nsIg
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to