From owner-freebsd-stable Tue Oct 23 23:54:48 2001 Delivered-To: freebsd-stable@freebsd.org Received: from host2.rila.bg (host2.rila.bg [194.141.1.21]) by hub.freebsd.org (Postfix) with ESMTP id 74ECB37B403 for ; Tue, 23 Oct 2001 23:54:45 -0700 (PDT) Received: from earth.rila.bg ([192.168.201.31]) by host2.rila.bg with Microsoft SMTPSVC(5.0.2195.2966); Wed, 24 Oct 2001 09:54:44 +0300 Received: from earth.rila.bg (mitko@localhost.rila.bg [127.0.0.1]) by earth.rila.bg (8.11.6/8.11.6) with ESMTP id f9O6u6X12318 for ; Wed, 24 Oct 2001 09:56:06 +0300 (EEST) (envelope-from mitko@earth.rila.bg) Message-Id: <200110240656.f9O6u6X12318@earth.rila.bg> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: stable@freebsd.org Reply-To: mitko@rila.bg From: "Dimitar Peikov" Subject: gdb and function arguments Content-type: text/plain; charset=windows-1251 Date: Wed, 24 Oct 2001 09:56:06 +0300 X-OriginalArrivalTime: 24 Oct 2001 06:54:44.0230 (UTC) FILETIME=[C30BEA60:01C15C58] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Any idea why gdb doesn't show properly function arguments when debugging? It seems that is buggy behaviour since few weeks I guess. I use GCC 2.95.3 and gdb 4.18 from yesterdays STABLE snapshot. <<<< gdb output <<<< (gdb) r Starting program: /usr/home/mitko/compile/fsa/src/fsm/examples/3state_automata Breakpoint 1, main (argc=671514624, argv=0x0) at 3state_automata.c:20 20 tspool = fsa_tempspool_new(3, ASCII_SIZE, FALSE); (gdb) s fsa_tempspool_new (in_statescount=671488704, in_letterscount=0, in_isdetermined=671426728) at src/tempspool.c:18 18 fsa_log(DEBUG_CLASS_TSPOOL, "entered fsa_tempspool_new\n"); (gdb) The program is running. Exit anyway? (y or n) y >>>> gdb output >>>> -- Dimitar Peikov Programmer Analyst Globalization Group "We Build e-Business" RILA Solutions 27 Building, Acad.G.Bonchev Str. 1113 Sofia, Bulgaria phone: (+359 2) 9797320 phone: (+359 2) 9797300 fax: (+359 2) 9733355 http://www.rila.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message