This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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-----[mailto:gdb-owner@sources.redhat.com] On
From: gdb-owner@sources.redhat.com
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.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |