gdb: "internal error in printf_command" on printf "%p", 0

Johan Walles walles at mailblocks.com
Wed Nov 22 13:29:05 UTC 2006


Package: gdb
Version: 6.4.90.dfsg-1ubuntu3
Severity: normal


Gdb's printf command's %p is broken:

johan at transwarp:~$ gdb
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
(gdb) printf "%p", 0
internal error in printf_command
(gdb) printf "%p", 42
internal error in printf_command
(gdb) quit

-- System Information:
Debian Release: testing/unstable
  APT prefers edgy-updates
  APT policy: (500, 'edgy-updates'), (500, 'edgy-security'), (500, 'edgy')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-10-generic
Locale: LANG=swedish, LC_CTYPE=swedish (charmap=ISO-8859-1)

Versions of packages gdb depends on:
ii  libc6                      2.4-1ubuntu12 GNU C Library: Shared libraries
ii  libncurses5                5.5-2ubuntu1  Shared libraries for terminal hand
ii  libreadline5               5.1-7build1   GNU readline and history libraries

gdb recommends no packages.

-- no debconf information




More information about the ubuntu-users mailing list