gdb/2182: printf returns internal error when using %p specifier

ctornqvi@bea.com ctornqvi@bea.com
Fri Oct 6 13:58:00 GMT 2006


>Number:         2182
>Category:       gdb
>Synopsis:       printf returns internal error when using %p specifier
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 06 13:58:01 UTC 2006
>Closed-Date:
>Last-Modified:
>Originator:     ctornqvi@bea.com
>Release:        GNU gdb 6.5
>Organization:
>Environment:
OS: Red Hat Enterprise Linux AS release 4 (Nahant Update 4) ia32
Compiler version: gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)
GDB Config: "i686-pc-linux-gnu"
>Description:
Using %p specified with printf returns an "internal error in printf_command" error. This works in GDB 6.4 and I have verified that this occurs on a Solaris SPARC (64-bit) build of GDB 6.5 as well. 
>How-To-Repeat:
Type the following into a GDB session:
printf "%p",0 
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gdb-prs mailing list