From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2223 invoked by alias); 4 Apr 2005 09:26:37 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1902 invoked from network); 4 Apr 2005 09:26:18 -0000 Received: from unknown (HELO mail.uni-ulm.de) (134.60.1.1) by sourceware.org with SMTP; 4 Apr 2005 09:26:18 -0000 Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.123]) by mail.uni-ulm.de (8.13.3/8.13.3) with ESMTP id j349Q7bV011938; Mon, 4 Apr 2005 11:26:08 +0200 (MEST) Received: by bridgekeeper.physik.uni-ulm.de (Postfix, from userid 170) id E6925101B4; Mon, 4 Apr 2005 11:26:07 +0200 (CEST) Mail-Followup-To: Eli Zaretskii , Daniel Jacobowitz , gdb@sources.redhat.com To: Eli Zaretskii Cc: Daniel Jacobowitz , gdb@sources.redhat.com Subject: Re: Variable "foo" is not available References: <20050401171947.GA19058@nevyn.them.org> <01c53768$Blat.v2.4$d52008a0@zahav.net.il> From: Reiner Steib Reply-To: Reiner Steib Date: Mon, 04 Apr 2005 09:26:00 -0000 In-Reply-To: <01c53768$Blat.v2.4$d52008a0@zahav.net.il> (Eli Zaretskii's message of "Sat, 02 Apr 2005 12:45:21 +0300") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-DCC-servers-Metrics: gemini 1049; Body=3 Fuz1=3 Fuz2=3 X-SW-Source: 2005-04/txt/msg00028.txt.bz2 On Sat, Apr 02 2005, Eli Zaretskii wrote: > Rainer, could you please use the GDB "up" command a few times, and > after each time type "info args" and see whether that does give you > the arguments of the function call in that frame? --8<---------------cut here---------------start------------->8--- (gdb) up #1 0x0000000000539245 in Fgarbage_collect () at [...]/emacs/src/alloc.c:4742 4742 stack_copy = (char *) xrealloc (stack_copy, (stack_copy_size = i)); (gdb) info args No arguments. (gdb) up #2 0x000000000057a1d4 in Fbyte_code (bytestr=9727377, vector=Variable "vector" is not available. ) at [...]/emacs/src/bytecode.c:531 531 break; (gdb) info args bytestr = 9727377 vector = Variable "vector" is not available. (gdb) up #3 0x000000000054d59d in funcall_lambda (fun=29850740, nargs=1, arg_vector=0x7fbfffb198) at [...]/emacs/src/eval.c:2974 2974 val = Fbyte_code (AREF (fun, COMPILED_BYTECODE), (gdb) info args fun = 29850740 nargs = 1 arg_vector = (long int *) 0x7fbfffb198 (gdb) up #4 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available. ) at [...]/emacs/src/eval.c:2843 2843 val = funcall_lambda (fun, numargs, args + 1); (gdb) info args nargs = Variable "nargs" is not available. (gdb) up #5 0x0000000000579cc9 in Fbyte_code (bytestr=9727377, vector=Variable "vector" is not available. ) at [...]/emacs/src/bytecode.c:686 686 TOP = Ffuncall (op + 1, &TOP); (gdb) info args bytestr = 9727377 vector = Variable "vector" is not available. (gdb) up #6 0x000000000054d150 in Feval (form=Variable "form" is not available. ) at [...]/emacs/src/eval.c:2138 2138 val = (*XSUBR (fun)->function) (argvals[0], argvals[1], (gdb) info args form = Variable "form" is not available. (gdb) up #7 0x000000000054fcb8 in Fcondition_case (args=Variable "args" is not available. ) at [...]/emacs/src/eval.c:1332 1332 val = Feval (bodyform); (gdb) info args args = Variable "args" is not available. (gdb) up #8 0x000000000057925f in Fbyte_code (bytestr=29655265, vector=Variable "vector" is not available. ) at [...]/emacs/src/bytecode.c:864 864 TOP = Fcondition_case (Fcons (TOP, v1)); (gdb) info args bytestr = 29655265 vector = Variable "vector" is not available. (gdb) up #9 0x000000000054d59d in funcall_lambda (fun=29688788, nargs=3, arg_vector=0x7fbfffb6f8) at [...]/emacs/src/eval.c:2974 2974 val = Fbyte_code (AREF (fun, COMPILED_BYTECODE), (gdb) info args nargs = Variable "nargs" is not available. (gdb) up #11 0x0000000000579cc9 in Fbyte_code (bytestr=11494737, vector=Variable "vector" is not available. ) at [...]/emacs/src/bytecode.c:686 686 TOP = Ffuncall (op + 1, &TOP); (gdb) info args bytestr = 11494737 vector = Variable "vector" is not available. (gdb) up #12 0x000000000054d59d in funcall_lambda (fun=29857172, nargs=3, arg_vector=0x7fbfffb8a8) at [...]/emacs/src/eval.c:2974 2974 val = Fbyte_code (AREF (fun, COMPILED_BYTECODE), (gdb) info args fun = 29857172 nargs = 3 arg_vector = (long int *) 0x7fbfffb8a8 (gdb) up #13 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available. ) at [...]/emacs/src/eval.c:2843 2843 val = funcall_lambda (fun, numargs, args + 1); (gdb) info args nargs = Variable "nargs" is not available. (gdb) up #14 0x0000000000579cc9 in Fbyte_code (bytestr=25161265, vector=Variable "vector" is not available. ) at [...]/emacs/src/bytecode.c:686 686 TOP = Ffuncall (op + 1, &TOP); (gdb) info args bytestr = 25161265 vector = Variable "vector" is not available. (gdb) up #15 0x000000000054d59d in funcall_lambda (fun=29855572, nargs=2, arg_vector=0x7fbfffba78) at [...]/emacs/src/eval.c:2974 2974 val = Fbyte_code (AREF (fun, COMPILED_BYTECODE), (gdb) info args fun = 29855572 nargs = 2 arg_vector = (long int *) 0x7fbfffba78 (gdb) up #16 0x000000000054daee in Ffuncall (nargs=Variable "nargs" is not available. ) at [...]/emacs/src/eval.c:2843 2843 val = funcall_lambda (fun, numargs, args + 1); (gdb) info args nargs = Variable "nargs" is not available. (gdb) up #17 0x0000000000579cc9 in Fbyte_code (bytestr=25161313, vector=Variable "vector" is not available. ) at [...]/emacs/src/bytecode.c:686 686 TOP = Ffuncall (op + 1, &TOP); --8<---------------cut here---------------end--------------->8--- Do you need more? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/