Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Daniel Jacobowitz <drow@false.org>, gdb@sources.redhat.com
Subject: Re: Variable "foo" is not available
Date: Mon, 04 Apr 2005 09:26:00 -0000	[thread overview]
Message-ID: <v9acoe7v0w.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <01c53768$Blat.v2.4$d52008a0@zahav.net.il> (Eli Zaretskii's message of "Sat, 02 Apr 2005 12:45:21 +0300")

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/


      parent reply	other threads:[~2005-04-04  9:26 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-01 16:40 Reiner Steib
2005-04-01 17:19 ` Daniel Jacobowitz
2005-04-02  9:49   ` Eli Zaretskii
2005-04-02 13:53     ` Reiner Steib
2005-04-02 14:27       ` Daniel Jacobowitz
2005-04-06 16:25         ` Reiner Steib
2005-04-02 14:26     ` Daniel Jacobowitz
2005-04-02 18:17       ` Eli Zaretskii
2005-04-02 18:40         ` Daniel Jacobowitz
2005-04-02 20:58           ` Eli Zaretskii
2005-04-02 21:05             ` Daniel Jacobowitz
2005-04-04  5:14               ` Eli Zaretskii
2005-04-04  6:00                 ` Mark Kettenis
2005-04-04  7:58                 ` Daniel THOMPSON
2005-04-04 19:28                   ` Eli Zaretskii
2005-04-04 13:37                 ` Daniel Jacobowitz
2005-04-04 19:35                   ` Eli Zaretskii
2005-04-04 19:41                     ` Daniel Jacobowitz
2005-04-03 18:16           ` Reiner Steib
2005-04-08 11:05       ` Eli Zaretskii
2005-04-04  9:26     ` Reiner Steib [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9acoe7v0w.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=drow@false.org \
    --cc=eliz@gnu.org \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox