From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from www.weihenstephan.org ([80.190.177.12]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Tta21-000814-WE for ptxdist@pengutronix.de; Fri, 11 Jan 2013 09:32:06 +0100 Received: from isonoe.hi.pengutronix.de (port-212-202-120-50.static.qsc.de [212.202.120.50]) by www.weihenstephan.org (Postfix) with ESMTPSA id F25C9480A30 for ; Fri, 11 Jan 2013 09:29:50 +0100 (CET) Resent-To: ptxdist@pengutronix.de Resent-Message-ID: <201301110931.18170.lfxciii@gmail.com> MIME-Version: 1.0 In-Reply-To: <201301110909.59266.jbe@pengutronix.de> References: <201301110909.59266.jbe@pengutronix.de> Date: Fri, 11 Jan 2013 10:22:30 +0200 Message-ID: From: Ruben Louw Subject: Re: [ptxdist] Gdb debugging helper Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0948292389==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: Juergen Beisert --===============0948292389== Content-Type: multipart/alternative; boundary=14dae9cfc8501f4d2204d2feff02 --14dae9cfc8501f4d2204d2feff02 Content-Type: text/plain; charset=ISO-8859-1 Hi Juergen > ("Computer! Find the bugs in my app right now!"?) ;) hehehe, I wish it was this simple. The debugging helper enables the viewing of complex objects in the IDE (Qt Creator in my case). so when gdbserver is started on the target, the IDE then starts gdb on the host and the to communicate with each other. As soon as a break point is reached, the variable types and values are displayed using a debug helper. from what I could gather, this helper is either python or normal c++. > Please keep always in mind the difference between your target and your host. Most of the time, only the small gdbserver runs >on your target and the main full blown/featured debugger on your host. this is also how I understand it, all the helper does is "Indetify" the types and its values, then you dont have to guess what the content of the variable or objects are. Maybe I'm missing something, but this makes sense to me. :) Thanks for the reply and any further help. Regards Ruben On Fri, Jan 11, 2013 at 10:09 AM, Juergen Beisert wrote: > Hi Ruben, > > Ruben Louw wrote: > > Does anyone know which debugging helper gdb uses? Could it be python? > > What is a 'debugging helper'??? .oO("Computer! Find the bugs in my app > right > now!"?) ;) > > > if so, I'd probably have to add it when I build my BSP, is this right? > > Please keep always in mind the difference between your target and your > host. > Most of the time, only the small gdbserver runs on your target and the main > full blown/featured debugger on your host. > > Regards, > Juergen > > -- > Pengutronix e.K. | Juergen Beisert > | > Linux Solutions for Science and Industry | http://www.pengutronix.de/ | > --14dae9cfc8501f4d2204d2feff02 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Juergen

> ("Computer! Find the bugs in my app right now!"?) ;)

hehehe, I wish it was this simple.

The debug= ging helper enables the viewing of complex objects in the IDE (Qt Creator i= n my case). so when gdbserver is started on the target, the IDE then starts= gdb on the host and the to communicate with each other. As soon as a break= point is reached, the variable types and values are displayed using a debu= g helper. from what I could gather, this helper is either python or normal = c++.

> Please keep always in mind the difference between your target and = your host. Most of the time, only the small gdbserver runs >on your targ= et and the main full blown/featured debugger on your host.

this is a= lso how I understand it, all the helper does is "Indetify" the ty= pes and its values, then you dont have to guess what the content of the var= iable or objects are.

Maybe I'm missing something, but this makes sense to me. :)

= Thanks for the reply and any further help.

Regards

Ruben
<= br>
On Fri, Jan 11, 2013 at 10:09 AM, Juergen= Beisert <jbe@pengutronix.de> wrote:
Hi Ruben,

Ruben Louw wrote:
> Does anyone know which debugging helper gdb uses? Could it be python?<= br>
What is a 'debugging helper'??? .oO("Computer! Find the = bugs in my app right
now!"?) ;)

> if so, I'd probably have to add it when I build my BSP, is this ri= ght?

Please keep always in mind the difference between your target and you= r host.
Most of the time, only the small gdbserver runs on your target and the main=
full blown/featured debugger on your host.

Regards,
Juergen

--
Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Beisert =A0 =A0 =A0 =A0 =A0 =A0 |
Linux Solutions for Science and Industry =A0 =A0 =A0| http://www.pengutronix.de/ =A0|

--14dae9cfc8501f4d2204d2feff02-- --===============0948292389== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0948292389==--