From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Beisert Date: Fri, 11 Jan 2013 09:40:10 +0100 References: <201301110909.59266.jbe@pengutronix.de> In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201301110940.10949.jbe@pengutronix.de> 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Ruben Louw Hi Ruben, Ruben Louw wrote: > > ("Computer! Find the bugs in my app right now!"?) ;) > > hehehe, I wish it was this simple. Maybe we should give it a try :)) > 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++. Hmm, then these helpers should run on your host. So, PTXdist and your target's gdbserver are not involved. When these helpers are using the gdb to collect the information they need, I would guess it should work out of the box. >> 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. I know this behaviour from DDD where you also can click through linked lists and so on. Very comfortable. Happy hacking. Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | -- ptxdist mailing list ptxdist@pengutronix.de