[linedit-devel] maybe a possible bug?

james morris james at jwm-art.net
Wed Jun 3 13:13:03 UTC 2009


On 3/6/2009, "Nikodemus Siivola" <nikodemus at random-state.net> wrote:

>> (gdb) call backtrace_from_fp($rbp,100)
>> [Switching to Thread 0xb7e346b0 (LWP 2520)]
>
>This brought nothing up on the SBCL terminal?

ah, i see! i'm back on x86 - a quick google tells me to use $ebp instead:

   0: SB-IMPL::SUB-SUB-SERVE-EVENT
   1: SB-IMPL::SUB-SERVE-EVENT
   2: (SB-C::HAIRY-ARG-PROCESSOR SB-SYS::WAIT-UNTIL-FD-USABLE)
   3: SB-IMPL::REFILL-INPUT-BUFFER
   4: SB-IMPL::INPUT-CHAR/UTF-8
   5: (SB-C::HAIRY-ARG-PROCESSOR COMMON-LISP::READ-CHAR)
   6: (SB-C::HAIRY-ARG-PROCESSOR COMMON-LISP::READ-CHAR)
   7: (SB-PCL::FAST-METHOD LINEDIT::READ-CHORD (LINEDIT::TERMINAL))
   8: LINEDIT::NEXT-CHORD
   9: (SB-C::TL-XEP LINEDIT::LINEDIT)
  10: (SB-C::TL-XEP LINEDIT::FORMEDIT)
  11: (COMMON-LISP::FLET LINEDIT::REPL-READER)
  12: (COMMON-LISP::LAMBDA (LINEDIT::IN LINEDIT::OUT))
  13: SB-ACLREPL::REP-ONE
  14: (SB-C::TL-XEP SB-ACLREPL::REPL)
  15: (COMMON-LISP::LAMBDA (SB-ACLREPL::NOPRINT))
  16: (COMMON-LISP::LAMBDA ())
  17: (SB-C::XEP (COMMON-LISP::LAMBDA ()))
  18: SB-IMPL::%WITH-REBOUND-IO-SYNTAX
  19: SB-IMPL::TOPLEVEL-REPL
  20: SB-IMPL::TOPLEVEL-INIT
  21: (COMMON-LISP::LABELS SB-IMPL::RESTART-LISP)
  22: Foreign fp = 0xb79b1f88, ra = 0x807f850

hope that helps! now i'm not sure i did this on amd64 at all... i'll
try later when i've access.

james.




More information about the linedit-devel mailing list