[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] powerpc-linux-gdb/gdbserver: breakpoint are set with offs

From: Alexander Graf
Subject: Re: [Qemu-ppc] powerpc-linux-gdb/gdbserver: breakpoint are set with offset while using Qemu
Date: Mon, 30 Jul 2012 13:15:45 +0200

On 09.07.2012, at 09:56, oshri yahav wrote:

> Hi all,
> I am developing a user space application on P1023RDS development board.
> To debug the application I’m using the powerpc-linux-gdb and gedserver
> on the board.
> When I debug in this way, break-points are placed in the correct
> places and I’m able to debug the application.
> The problem starts when I’m using Qemu to debug the application.
> Since Qemu does not have simulation for P1023RDS I’m using mpc8544ds
> as my board since both have e500v2 CPU (I have enabled mpc8544ds
> support in the kernel).
> To get network connectivity I have also enabled e1000 network card.
> When I try to debug in the same manner as described up, the
> break-points are being set with offset and the gdbserver never stop on
> main.
> Build environment:
> - Ubuntu 12.04 host.
> - buildroot-2012.02 to create the kernel image and the file system.
> - Qemu 1.1.0
> i have attached the log of gdbserver from both runs.
> I use the same debugging configuration and the same images in both ways.
> Does anyone have any idea what I’m doing wrong?

I don't think you're doing anything wrong. We just don't implement debug 
registers properly in the emulation model. You're more than welcome to 
implement them though!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]