Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Monika Chaddha" <monika@acmet.com>
To: "'sevtov'" <sevtov@mail.ru>
Cc: <gdb@sources.redhat.com>
Subject: RE: debug in assembler
Date: Wed, 25 Aug 2004 09:49:00 -0000	[thread overview]
Message-ID: <001601c48a88$c22c6050$5100a8c0@monika> (raw)
In-Reply-To: <391992434.20040825113700@mail.ru>

Yes ... :-))

Use the following commands in the following series ...

1. target exec <filename>.out

2. target sim

3. load <filename>.out

4.  symbol-file <filename.out>

5.  b main   (put breakpoint to function main)

6. run

7. nexti

8. nexti ....

By doing this u can easily debug .... to see disassembly for ur assembly
code

Run the command :  disassemble <function name>

Monika

>-----Original Message-----
>From: gdb-owner@sources.redhat.com
[mailto:gdb-owner@sources.redhat.com] On
>Behalf Of sevtov
>Sent: Wednesday, August 25, 2004 1:07 PM
>To: gdb@sources.redhat.com
>Subject: debug in assembler
>
>Hello all!
>
>Is there a command to switch debugging to assembler level instead of
>source-level?
>
>
>Thank you.
>



  reply	other threads:[~2004-08-25  9:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-25  7:41 sevtov
2004-08-25  9:49 ` Monika Chaddha [this message]
2004-08-25 13:20   ` Kris Warkentin

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='001601c48a88$c22c6050$5100a8c0@monika' \
    --to=monika@acmet.com \
    --cc=gdb@sources.redhat.com \
    --cc=sevtov@mail.ru \
    /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