This is the mail archive of the gdb-patches@sourceware.org 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]

Re: [RFC][patch] Allow to disassemble line.


> Date: Fri, 16 Oct 2009 16:11:27 -0700
> From: Paul Pluzhnikov <ppluzhnikov@google.com>
> 
> (top) set disassemble-next-line on
> (top) ni
> 0x000000000054d225      510           val = func (func_args);
>   0x000000000054d221 <catch_errors+69>:  48 8b 7d d0    mov    -0x30(%rbp),%rdi
> * 0x000000000054d225 <catch_errors+73>:  48 8b 45 d8    mov    -0x28(%rbp),%rax
>   0x000000000054d229 <catch_errors+77>:  ff d0  callq  *%rax
>   0x000000000054d22b <catch_errors+79>:  89 45 fc       mov    %eax,-0x4(%rbp)
> (top) ni
> 0x000000000054d229      510           val = func (func_args);
>   0x000000000054d221 <catch_errors+69>:  48 8b 7d d0    mov    -0x30(%rbp),%rdi
>   0x000000000054d225 <catch_errors+73>:  48 8b 45 d8    mov    -0x28(%rbp),%rax
> * 0x000000000054d229 <catch_errors+77>:  ff d0  callq  *%rax
>   0x000000000054d22b <catch_errors+79>:  89 45 fc       mov    %eax,-0x4(%rbp)

The asterisk in both cases is on the same mnemonics, "callq  *%rax".
Is that a bug or a "feature"?


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