qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-1.5.0 gdb not working
@ 2013-06-15 18:37 Peter Cheung
  2013-06-15 18:56 ` Frederic Konrad
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Cheung @ 2013-06-15 18:37 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 974 bytes --]

qemu-1.5.0 gdb not working
In mac OSX, compile by :./configure --cc=/opt/local/bin/gcc-mp-4.8 --enable-cocoa --target-list=x86_64-softmmu --audio-drv-list=coreaudio --prefix=/Users/peter/qemu --enable-debug --disable-werror --extra-cflags=-O2 --enable-vnc 
start qemu by:~/qemu/bin/qemu-system-x86_64 -hda hd10meg.img -gdb tcp::1234 -k en-us -S -m 256m
i start gdb and insert two breakpoints at 0x7c00 and 0x7c01, after "c", it hit 0x7c00. Then i "c" again, it stay in 0x7c00, but it should execute 0x7c01.
[New thread 1]warning: Error 268435459 getting port names from mach_port_names[Switching to process 1 thread 0x0]0x0000fff0 in ?? ()Breakpoint 1 at 0x7c00Breakpoint 2 at 0x7c01(gdb) cContinuing.
Breakpoint 1, 0x00007c00 in ?? ()(gdb) cContinuing.
Breakpoint 1, 0x00007c00 in ?? ()(gdb) cContinuing.
Breakpoint 1, 0x00007c00 in ?? ()(gdb) cContinuing.
Breakpoint 1, 0x00007c00 in ?? ()(gdb) cContinuing.
Breakpoint 1, 0x00007c00 in ?? ()(gdb) 

 		 	   		  

[-- Attachment #2: Type: text/html, Size: 1641 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] qemu-1.5.0 gdb not working
  2013-06-15 18:37 [Qemu-devel] qemu-1.5.0 gdb not working Peter Cheung
@ 2013-06-15 18:56 ` Frederic Konrad
  2013-06-15 23:55   ` Peter Cheung
  0 siblings, 1 reply; 3+ messages in thread
From: Frederic Konrad @ 2013-06-15 18:56 UTC (permalink / raw)
  To: Peter Cheung; +Cc: qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 1127 bytes --]

On 15/06/2013 20:37, Peter Cheung wrote:
> qemu-1.5.0 gdb not working
>
> In mac OSX, compile by :
> ./configure --cc=/opt/local/bin/gcc-mp-4.8 --enable-cocoa
> --target-list=x86_64-softmmu --audio-drv-list=coreaudio
> --prefix=/Users/peter/qemu --enable-debug --disable-werror
> --extra-cflags=-O2 --enable-vnc
>
> start qemu by:
> ~/qemu/bin/qemu-system-x86_64 -hda hd10meg.img -gdb tcp::1234 -k en-us
> -S -m 256m
>
> i start gdb and insert two breakpoints at 0x7c00 and 0x7c01, after
> "c", it hit 0x7c00. Then i "c" again, it stay in 0x7c00, but it should
> execute 0x7c01.
>
> [New thread 1]
> warning: Error 268435459 getting port names from mach_port_names
> [Switching to process 1 thread 0x0]
> 0x0000fff0 in ?? ()
> Breakpoint 1 at 0x7c00
> Breakpoint 2 at 0x7c01
> (gdb) c
> Continuing.
>
> Breakpoint 1, 0x00007c00 in ?? ()
> (gdb) c
> Continuing.
Hi,

What if you type stepi?
>
> Breakpoint 1, 0x00007c00 in ?? ()
> (gdb) c
> Continuing.
>
> Breakpoint 1, 0x00007c00 in ?? ()
> (gdb) c
> Continuing.
>
> Breakpoint 1, 0x00007c00 in ?? ()
> (gdb) c
> Continuing.
>
> Breakpoint 1, 0x00007c00 in ?? ()
> (gdb)
>
>


[-- Attachment #2: Type: text/html, Size: 2764 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] qemu-1.5.0 gdb not working
  2013-06-15 18:56 ` Frederic Konrad
@ 2013-06-15 23:55   ` Peter Cheung
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Cheung @ 2013-06-15 23:55 UTC (permalink / raw)
  To: Frederic Konrad; +Cc: qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 1972 bytes --]

stepi is working.

Date: Sat, 15 Jun 2013 20:56:57 +0200
From: fred.konrad@greensocs.com
To: mcheung63@hotmail.com
CC: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu-1.5.0 gdb not working


  
    
  
  
    On 15/06/2013 20:37, Peter Cheung
      wrote:

    
    
      
      qemu-1.5.0 gdb not working
        

        
        In mac OSX, compile by :
        ./configure --cc=/opt/local/bin/gcc-mp-4.8 --enable-cocoa
          --target-list=x86_64-softmmu --audio-drv-list=coreaudio
          --prefix=/Users/peter/qemu --enable-debug --disable-werror
          --extra-cflags=-O2 --enable-vnc 
        

          start qemu by:
        ~/qemu/bin/qemu-system-x86_64 -hda hd10meg.img -gdb
          tcp::1234 -k en-us -S -m 256m
        

        
        i start gdb and insert two breakpoints at 0x7c00 and
          0x7c01, after "c", it hit 0x7c00. Then i "c" again, it stay in
          0x7c00, but it should execute 0x7c01.
        

        
        
          [New thread 1]
          warning: Error 268435459 getting port names from
            mach_port_names
          [Switching to process 1 thread 0x0]
          0x0000fff0 in ?? ()
          Breakpoint 1 at 0x7c00
          Breakpoint 2 at 0x7c01
          (gdb) c
          Continuing.
          

          
          Breakpoint 1, 0x00007c00 in ?? ()
          (gdb) c
          Continuing.
        
      
    
    Hi,

    

    What if you type stepi?

    
      
        
          

          
          Breakpoint 1, 0x00007c00 in ?? ()
          (gdb) c
          Continuing.
          

          
          Breakpoint 1, 0x00007c00 in ?? ()
          (gdb) c
          Continuing.
          

          
          Breakpoint 1, 0x00007c00 in ?? ()
          (gdb) c
          Continuing.
          

          
          Breakpoint 1, 0x00007c00 in ?? ()
          (gdb) 
          

          
          

          
        
      
    
    
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 3096 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-15 23:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-15 18:37 [Qemu-devel] qemu-1.5.0 gdb not working Peter Cheung
2013-06-15 18:56 ` Frederic Konrad
2013-06-15 23:55   ` Peter Cheung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).