This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mi/2085: Inconsistent variable formatting


>Number:         2085
>Category:       mi
>Synopsis:       Inconsistent variable formatting
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 17 11:58:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     ghost@cs.msu.su
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
Consider this session:
     (gdb)
     -thread-select 2
     ^done,new-thread-id="2",frame={......
      args=[{name="p",value="0x0"}],..........
     (gdb)
     -stack-list-arguments 1 0 0
     ^done,stack-args=[frame={level="0",
     args=[{name="p",value="(void *) 0x0"}]}]
 
Note that first output has "0x0" as value of 'p', and the second has "(void *)0x0".
>How-To-Repeat:

>Fix:

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]