All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Plantz <plantz@sonoma.edu>
To: Scott Sibley <sisibley@gmail.com>
Cc: linux-assembly@vger.kernel.org
Subject: Re: Troubles with JIT compiler
Date: Thu, 21 Jan 2010 23:01:09 -0800	[thread overview]
Message-ID: <1264143669.1983.38.camel@bob-desktop> (raw)
In-Reply-To: <cb4d391b1001212204u73bbda5cub4e36e88836a2972@mail.gmail.com>

Very big oops here! See below.


> >>
> >> Well, it appears to be crashing at the first instruction. Here are the
> >> values of ebp and esp.
> >>
> >> (gdb) x/x $ebp
> >> 0xbffff168:    0xbffff188
> >> (gdb) x/x $esp
> >> 0xbffff14c:    0x0804e481
> >>

I misread your gdb display. I'm used to using the i r command to look in
the registers.

You used the x/x command, which shows the contents of the register, then
what it is pointing to.

So the values in ebp and esp DO look reasonable. That's the range I
expect in 32-bit program, and they are reasonably close to each other.

I apologize for my error.

From what you have posted, I don't see any problems with the first few
instructions. So I have no idea why the program is crashing there.

Sorry...

--Bob



  reply	other threads:[~2010-01-22  7:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-22  4:12 Troubles with JIT compiler Scott Sibley
2010-01-22  5:26 ` Robert Plantz
2010-01-22  6:04   ` Scott Sibley
2010-01-22  7:01     ` Robert Plantz [this message]
2010-01-22  7:16       ` Scott Sibley
2010-01-22 10:45         ` Scott Sibley
2010-01-22 16:50           ` Robert Plantz
2010-01-22 17:19           ` Brian Raiter

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=1264143669.1983.38.camel@bob-desktop \
    --to=plantz@sonoma.edu \
    --cc=linux-assembly@vger.kernel.org \
    --cc=sisibley@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.