Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jan 2001 12:35:10 -0800 (PST)
From:      jms@geriatrix.circlesquared.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/24132: gdb output is wrong (same as #13427 ?)
Message-ID:  <200101072035.f07KZA708908@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         24132
>Category:       misc
>Synopsis:       gdb output is wrong (same as #13427 ?)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 07 12:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jon Schneider
>Release:        4.2
>Organization:
>Environment:
FreeBSD gobshite.greenpark 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Sat Dec 16 22:59:
33 GMT 2000     jms@gobshite.greenpark:/usr/src/sys/compile/JON.isa.new  i386
>Description:
gdb 4.18 reports function arguments wrongly
>How-To-Repeat:
cc -g then gdb the following
void do_chunk(char *p, unsigned long sequence, unsigned long length, unsigned sadd, unsigned short sport, unsigned dadd, unsigned short dport)
{
}
main()
{
  do_chunk("ha ha", 1, 2, 3, 4, 5, 6);
}
Breakpoint 1, do_chunk (p=0x80484ef "ha ha", sequence=1, length=2, sadd=3, sport=10244, dadd=5, dport=47470)
    at bug.c:2
2       {

>Fix:


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101072035.f07KZA708908>