Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Is this a bug ?

7 views
Skip to first unread message

horse_rivers

unread,
Sep 27, 2012, 5:36:42 AM9/27/12
to emacs help list
hi:

   I  use  emacs  gdb  to  debug  ,and find  a  problem  when  I  use  the  gdb-disassembly-buffer   , which  is described  below :

   I stepi the  progremme, the  gdb-disassembly-buffer  should  follow  with  $ip  , but  I  find  it  changes to  another  function's 

  disassembly code  after  a  "mov"  instrution.  this means the  gdb-disassembly-buffer can not  follow  the $ip.
 
  or  amy other  reasons?


thanks!

Eli Zaretskii

unread,
Sep 27, 2012, 1:12:43 PM9/27/12
to help-gn...@gnu.org
> Date: Thu, 27 Sep 2012 17:36:42 +0800 (CST)
> From: horse_rivers <horse_...@126.com>
>
>    I  use  emacs  gdb  to  debug  ,and find  a  problem  when  I  use  the  gdb-disassembly-buffer   , which  is described  below :
>
>    I stepi the  progremme, the  gdb-disassembly-buffer  should  follow  with  $ip  , but  I  find  it  changes to  another  function's 
>
>   disassembly code  after  a  "mov"  instrution.  this means the  gdb-disassembly-buffer can not  follow  the $ip.

Does this happen if you run GDB outside Emacs, from the shell, with
the same program you debug? If it happens outside Emacs, then you
should ask this question on the GDB mailing list, g...@sourceware.org.

In any case, please show the details of the commands you type and what
you see as result in the disassembly buffer.


horse_rivers

unread,
Sep 27, 2012, 8:27:17 PM9/27/12
to help-gn...@gnu.org
oh,yes,I  run gdb  within  emacs 

Eli Zaretskii

unread,
Sep 28, 2012, 3:30:53 AM9/28/12
to help-gn...@gnu.org
> Date: Fri, 28 Sep 2012 08:27:17 +0800 (CST)
> From: horse_rivers <horse_...@126.com>
>
> oh,yes,I  run gdb  within  emacs 

I understand that. But I asked whether the same problem happens if
you try the same outside Emacs.


0 new messages