Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3214744
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:05:48+00:00 2026-05-17T15:05:48+00:00

suppose the following is the asm code 8048deb: e8 41 05 00 00 call

  • 0

suppose the following is the asm code

 8048deb:       e8 41 05 00 00          call   8049331 <explode_bomb>
 8048df0:       03 73 f4                add    -0xc(%ebx),%esi
 8048df3:       83 c3 04                add    $0x4,%ebx
 8048df6:       8d 45 f8                lea    -0x8(%ebp),%eax
 8048df9:       39 c3                   cmp    %eax,%ebx
 8048dfb:       75 e7                   jne    8048de4 <phase_2+0x22>

I set a breakpoint at the last line, by this time, i am expecting both %eax and %ebx to have something stored in them.

In gdb, i do

p/x $ebx

and get:

No registers.

What does this error mean? How can i get the current content stored in a register?

  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T15:05:49+00:00Added an answer on May 17, 2026 at 3:05 pm

    p/x $ebx works just fine for me. (Or rather, p/x $rbx, because i’m testing in a 64-bit OS, but I imagine that p/x $ebx would work in 32-bit.) The application must be running. If I try to do p/x $rbx when the application has not started or has already exited, I do get “no registers”. Are you sure that the breakpoint is hit?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suppose the following class public class Message { // some code } And a
Suppose I have following code package memoryleak; public class MemoryLeak { public static int
Suppose the following code (notice the commas inside the strings): >>> a = ['1',,2,3,]
suppose the following code: ActionMessages errors = f.validate(mapping, request); Iterator<ActionMessage> iter = errors.get(); while
Suppose the following piece of code struct S { S(int & value): value_(value) {}
Hey guys, suppose the following code: int main (int argc, const char * argv[])
I suppose the following code: jQuery(#mybutton).click(function(){ //do something }); How could I recall to
Suppose the following code is executed on the 22nd of August 2009 (a Saturday)
Suppose the following template definition (the code is meaningless): template<class X, class Y> bool
Suppose the following code declarations: itcl::class ObjectA { private variable m_ownedObject private variable m_someVariable

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.