This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: multi-line disassembly output


Here's the disasm output:

/---red square here showing breakpoint that I set to get here.
|
+	0x1920	<_asm_test>:		
000001000 C0-I mnop                     pr1  u#0x0

-	0x1924	<_asm_test+4>:		
000001000 C0-I mnop                     pr1  u#0x0
000001000 C0-F mnop                     pr1  u#0x0

-	0x192c	<_asm_test+12>:		
000001000 C0-F mnop                     pr1  u#0x0

-	0x1930	<_asm_test+16>:		
000001000 C0-I mnop                     pr1  u#0x0
000001000 C1-I mnop                     pr1  u#0x0

-	0x1938	<_asm_test+24>:		
000001000 C1-I mnop                     pr1  u#0x0

-	0x193c	<_asm_test+28>:		
000001000 C0-I mnop                     pr1  u#0x0
000001000 C1-F mnop                     pr1  u#0x0

-	0x1944	<_asm_test+36>:		
000001000 C1-F mnop                     pr1  u#0x0

-	0x1948	<_asm_test+40>:		
0d400103f C0-I bra                      pr1  r63

-	0x194c	<_asm_test+44>:		
000001000 C0-I mnop                     pr1  u#0x0

-	0x1950	<_asm_test+48>:		
000001000 C0-I mnop                     pr1  u#0x0

And here's the output of my command shell:

(gdb) disp /x $pc
1: /x $epcr0 = 0x1920

(gdb) stepi
0x1924 in _asm_test ()
1: /x $epcr0 = 0x1924

(gdb) stepi
0x192c in _asm_test ()
1: /x $epcr0 = 0x192c

(gdb) stepi
0x1930 in _asm_test ()
1: /x $epcr0 = 0x1930

(gdb) stepi
0x1938 in _asm_test ()
1: /x $epcr0 = 0x1938

(gdb) stepi
0x193c in _asm_test ()
1: /x $epcr0 = 0x193c

As I step, the insight asm window just higlights the next line each
time.  Each 'stepi', the highlight moves one line.  

I'm not sure if it's any help, but running this under DDD, the machine
code window highlighting moves correctly as I stepi.

Thanks,
-kev-


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]