This is the mail archive of the gdb-prs@sources.redhat.com 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]

Re: gdb/490: function parameters displayed incorrectly


The following reply was made to PR gdb/490; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@mvista.com>
To: jochen.erwied@mbs-software.de
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/490: function parameters displayed incorrectly
Date: Tue, 16 Apr 2002 12:58:29 -0400

 On Tue, Apr 16, 2002 at 09:14:16AM -0000, jochen.erwied@mbs-software.de wrote:
 > 
 > >Number:         490
 > >Category:       gdb
 > >Synopsis:       function parameters displayed incorrectly
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       medium
 > >Responsible:    unassigned
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Tue Apr 16 02:18:02 PDT 2002
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     jochen.erwied@mbs-software.de
 > >Release:        gdb-5.1.1
 > >Organization:
 > >Environment:
 > Linux x86, Debian Woody. GCC 2.95.4 20011002 (Debian prerelease)
 > >Description:
 > Functions with character-parameters are displayed wrong.
 > 
 > >How-To-Repeat:
 > $ gdb a.out
 > [...]
 > (gdb) break func
 > Breakpoint 1 at 0x80483f6: file test.c, line 6.
 > (gdb) run
 > Starting program: /home/joe/a.out
 > 
 > Breakpoint 1, func (a=1, b=64 '@', c=15992) at test.c:6
 > 6       {
 > (gdb) cont
 > Continuing.
 > a=1, b=98, c=3
 
 This is actually a bug in GCC 2.95.  Please try the version of GDB in
 Debian/unstable (sid) - it contains the workaround, which will be in
 the next release of GDB.
 
 Could you let us know if that version works for you?
 
 -- 
 Daniel Jacobowitz                           Carnegie Mellon University
 MontaVista Software                         Debian GNU/Linux Developer


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